@nomalism-com/types
Advanced tools
@@ -134,4 +134,10 @@ import type * as IShared from '../../../shared/interface'; | ||
| } | ||
| export interface IGetSmsData { | ||
| document_line_id: string; | ||
| document_header_id: string; | ||
| execution_date: string; | ||
| type: 'RM' | 'MT'; | ||
| } | ||
| export interface IRepository { | ||
| getSmsData(): Promise<void>; | ||
| getSmsData(): Promise<IGetSmsData[]>; | ||
| create(data: ICreateRequest[]): Promise<IDocumentLineAssoc.IEntityExtended[]>; | ||
@@ -138,0 +144,0 @@ update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<void>; |
@@ -1113,3 +1113,3 @@ import { IConflict } from '../../modules/document/propostaSheets/interface'; | ||
| status: 'confirmed' | 'tentative' | 'cancelled'; | ||
| ready_for_action: boolean; | ||
| color_id: string | null; | ||
| document_type: 'RM' | 'MT' | null; | ||
@@ -1116,0 +1116,0 @@ document_number: string | null; |
@@ -138,8 +138,2 @@ import joi from 'joi'; | ||
| export declare const IUserSendEmailDocumentTemplateTypes: string[]; | ||
| export interface ISmsSenderSelectLinesData { | ||
| document_line_id: string; | ||
| document_header_id: string; | ||
| execution_date: string; | ||
| type: 'RM' | 'MT'; | ||
| } | ||
| export declare enum IBrokerTopic { | ||
@@ -195,4 +189,3 @@ tickets_change = "tickets_change", | ||
| googlesheet_encomenda_log = "googlesheet_encomenda_log", | ||
| log_google_api_request = "log_google_api_request", | ||
| sms_sender_select_lines = "sms_sender_select_lines" | ||
| log_google_api_request = "log_google_api_request" | ||
| } | ||
@@ -414,5 +407,2 @@ export type IBrokerTopicPayload = { | ||
| }; | ||
| [IBrokerTopic.sms_sender_select_lines]: { | ||
| data: ISmsSenderSelectLinesData; | ||
| }; | ||
| }; | ||
@@ -419,0 +409,0 @@ export interface IBrokerMessage<T extends IBrokerTopic = IBrokerTopic> { |
+2
-2
| { | ||
| "name": "@nomalism-com/types", | ||
| "description": "A nomalism package with all necessary types and validations for developing APIs", | ||
| "version": "1.3.40", | ||
| "version": "1.3.41", | ||
| "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)", | ||
@@ -37,3 +37,3 @@ "license": "UNLICENSED", | ||
| "eslint-plugin-prettier": "^5.5.6", | ||
| "prettier": "^3.9.0", | ||
| "prettier": "^3.9.1", | ||
| "tsup": "^8.5.1" | ||
@@ -40,0 +40,0 @@ }, |
Sorry, the diff of this file is too big to display
581714
-0.04%15109
-0.03%