@nomalism-com/types 1.3.47 → 1.3.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1150 -4703
- package/dist/index.d.ts +1 -0
- package/dist/index.js +995 -4704
- package/dist/main.d.ts +13 -123
- package/dist/modules/document/NRCL/interface.d.ts +1 -1
- package/dist/modules/document/adiantamento/interfaces.d.ts +24 -0
- package/dist/modules/document/billOfLading/interfaces.d.ts +1 -1
- package/dist/modules/document/faturaCredito/interfaces.d.ts +26 -0
- package/dist/modules/document/faturaRecibo/interfaces.d.ts +25 -0
- package/dist/modules/document/faturaSimplificada/interfaces.d.ts +24 -0
- package/dist/modules/document/notaCredito/interfaces.d.ts +29 -0
- package/dist/modules/document/notaCreditoAdiantamento/interfaces.d.ts +25 -0
- package/dist/modules/document/recibo/interfaces.d.ts +21 -0
- package/dist/modules/documentManagement/multimedia/interfaces.d.ts +2 -2
- package/dist/modules/integration/emailLog/interfaces.d.ts +5 -0
- package/dist/modules/integration/eupago/interfaces.d.ts +74 -0
- package/dist/modules/integration/googleSheets/interfaces.d.ts +1 -0
- package/dist/modules/integration/patchNotes/interfaces.d.ts +1 -1
- package/dist/modules/integration/personaMerge/interfaces.d.ts +11 -0
- package/dist/modules/llm/llm/interfaces.d.ts +10 -0
- package/dist/modules/print/printer/interfaces.d.ts +1 -1
- package/dist/modules/sms/allowedDevice/interfaces.d.ts +11 -2
- package/dist/modules/sms/smsSender/interfaces.d.ts +6 -6
- package/dist/modules/sms/smsTemplate/interfaces.d.ts +3 -0
- package/dist/modules/stock/chat/interfaces.d.ts +1 -0
- package/dist/modules/stock/displayLabel/interface.d.ts +14 -0
- package/dist/modules/stock/emailAccount/interface.d.ts +4 -0
- package/dist/modules/stock/gmails/interface.d.ts +4 -0
- package/dist/modules/stock/location/interface.d.ts +10 -8
- package/dist/modules/stock/mobilePrint/interface.d.ts +3 -0
- package/dist/modules/stock/productGoogleSheets/interface.d.ts +11 -10
- package/dist/modules/stock/queryList/interfaces.d.ts +1 -2
- package/dist/modules/stock/saft/interfaces.d.ts +19 -0
- package/dist/modules/stock/vatValidation/interfaces.d.ts +3 -0
- package/dist/modules/stock/workflow/interfaces.d.ts +0 -41
- package/dist/modules/supply/currentAccount/interface.d.ts +2 -0
- package/dist/modules/supply/documentHeader/interfaces.d.ts +24 -0
- package/dist/modules/supply/documentLine/interfaces.d.ts +3 -1
- package/dist/modules/supply/documentType/interfaces.d.ts +0 -51
- package/dist/modules/supply/externalDocumentHeader/interface.d.ts +5 -4
- package/dist/modules/supply/payment/interface.d.ts +3 -0
- package/dist/modules/supply/paymentBatch/interface.d.ts +5 -0
- package/dist/modules/tickets/channel/interfaces.d.ts +4 -3
- package/dist/modules/tickets/clt/interfaces.d.ts +4 -3
- package/dist/modules/tickets/language/interfaces.d.ts +4 -3
- package/dist/modules/user/clients/interface.d.ts +1 -1
- package/dist/modules/user/persona/interface.d.ts +60 -0
- package/dist/modules/user/providers/interface.d.ts +6 -6
- package/dist/modules/user/swift/interface.d.ts +1 -1
- package/dist/modules/user/systemModule/interface.d.ts +24 -21
- package/dist/modules/user/users/interface.d.ts +2 -2
- package/dist/modules/view/adminPanel/interfaces.d.ts +37 -0
- package/dist/modules/view/errorLog/interfaces.d.ts +13 -11
- package/dist/shared/entities/integration.d.ts +19 -0
- package/dist/shared/entities/stock.d.ts +11 -0
- package/dist/shared/entities/user.d.ts +3 -2
- package/dist/shared/interface.d.ts +46 -53
- package/package.json +12 -12
- package/dist/modules/document/CAT/route.schema.d.ts +0 -3
- package/dist/modules/document/NPF/route.schema.d.ts +0 -2
- package/dist/modules/document/NRCL/route.schema.d.ts +0 -2
- package/dist/modules/document/billOfLading/route.schema.d.ts +0 -3
- package/dist/modules/document/inventario/route.schema.d.ts +0 -3
- package/dist/modules/document/materialEntrance/route.schema.d.ts +0 -7
- package/dist/modules/document/order/route.schema.d.ts +0 -9
- package/dist/modules/document/productionOrder/route.schema.d.ts +0 -2
- package/dist/modules/document/proforma/route.schema.d.ts +0 -4
- package/dist/modules/document/propostaFornecedor/route.schema.d.ts +0 -2
- package/dist/modules/document/propostaSheets/route.schema.d.ts +0 -6
- package/dist/modules/document/providerCreditNoteFromReturn/route.schema.d.ts +0 -3
- package/dist/modules/document/providerFinancialCreditNote/route.schema.d.ts +0 -3
- package/dist/modules/document/providerServiceInvoice/route.schema.d.ts +0 -2
- package/dist/modules/document/purchase/route.schema.d.ts +0 -4
- package/dist/modules/document/quebra/route.schema.d.ts +0 -3
- package/dist/modules/document/returnToProvider/route.schema.d.ts +0 -2
- package/dist/modules/document/transformado/route.schema.d.ts +0 -3
- package/dist/modules/document/upfrontReturn/route.schema.d.ts +0 -2
- package/dist/modules/documentManagement/multimedia/route.schema.d.ts +0 -2
- package/dist/modules/integration/emailLog/route.schema.d.ts +0 -4
- package/dist/modules/integration/emailTemplate/route.schema.d.ts +0 -6
- package/dist/modules/integration/emailTemplateAttachment/route.schema.d.ts +0 -2
- package/dist/modules/integration/emailVerification/route.schema.d.ts +0 -5
- package/dist/modules/integration/googleFilePermission/route.schema.d.ts +0 -5
- package/dist/modules/integration/googleSheets/route.schema.d.ts +0 -4
- package/dist/modules/integration/observation/route.schema.d.ts +0 -5
- package/dist/modules/integration/observationType/route.schema.d.ts +0 -7
- package/dist/modules/integration/projectInfo/route.schema.d.ts +0 -2
- package/dist/modules/integration/settings/route.schema.d.ts +0 -4
- package/dist/modules/llm/llm/route.schema.d.ts +0 -4
- package/dist/modules/print/npc/route.schema.d.ts +0 -3
- package/dist/modules/print/printer/route.schema.d.ts +0 -4
- package/dist/modules/print/schedulePrintJob/route.schema.d.ts +0 -5
- package/dist/modules/sms/allowedDevice/route.schema.d.ts +0 -3
- package/dist/modules/sms/smsTemplate/route.schema.d.ts +0 -3
- package/dist/modules/stock/accountCode/route.schema.d.ts +0 -2
- package/dist/modules/stock/chat/route.schema.d.ts +0 -6
- package/dist/modules/stock/chatRapidMessage/route.schema.d.ts +0 -3
- package/dist/modules/stock/dashboard/route.schema.d.ts +0 -3
- package/dist/modules/stock/emailAccount/route.schema.d.ts +0 -3
- package/dist/modules/stock/file/route.schema.d.ts +0 -5
- package/dist/modules/stock/googleCalendar/route.schema.d.ts +0 -3
- package/dist/modules/stock/location/route.schema.d.ts +0 -5
- package/dist/modules/stock/mobilePrint/route.schema.d.ts +0 -2
- package/dist/modules/stock/prison/route.schema.d.ts +0 -4
- package/dist/modules/stock/productGoogleSheets/route.schema.d.ts +0 -14
- package/dist/modules/stock/productImage/route.schema.d.ts +0 -5
- package/dist/modules/stock/promotion/route.schema.d.ts +0 -5
- package/dist/modules/stock/promotionAssoc/interface.d.ts +0 -38
- package/dist/modules/stock/promotionAssoc/route.schema.d.ts +0 -5
- package/dist/modules/stock/queryList/route.schema.d.ts +0 -7
- package/dist/modules/stock/queryParameter/route.schema.d.ts +0 -3
- package/dist/modules/stock/returnReason/route.schema.d.ts +0 -3
- package/dist/modules/stock/savedEmPicking/route.schema.d.ts +0 -5
- package/dist/modules/stock/savedProviderProposal/route.schema.d.ts +0 -2
- package/dist/modules/stock/stockMovement/route.schema.d.ts +0 -3
- package/dist/modules/stock/tag/route.schema.d.ts +0 -3
- package/dist/modules/stock/task/route.schema.d.ts +0 -5
- package/dist/modules/stock/taskMessage/route.schema.d.ts +0 -3
- package/dist/modules/stock/taskRead/route.schema.d.ts +0 -3
- package/dist/modules/stock/typeOfLocation/route.schema.d.ts +0 -5
- package/dist/modules/stock/unitOfMeasure/route.schema.d.ts +0 -5
- package/dist/modules/stock/vatTax/route.schema.d.ts +0 -5
- package/dist/modules/stock/vatTaxZone/route.schema.d.ts +0 -5
- package/dist/modules/stock/vatValidation/route.schema.d.ts +0 -2
- package/dist/modules/stock/workflow/route.schema.d.ts +0 -4
- package/dist/modules/supply/currentAccount/route.schema.d.ts +0 -9
- package/dist/modules/supply/documentHeader/route.schema.d.ts +0 -15
- package/dist/modules/supply/documentHeaderSubscriber/route.schema.d.ts +0 -2
- package/dist/modules/supply/documentHeaderSurvey/route.schema.d.ts +0 -5
- package/dist/modules/supply/documentLine/route.schema.d.ts +0 -9
- package/dist/modules/supply/documentLineMT/route.schema.d.ts +0 -2
- package/dist/modules/supply/documentLineNote/route.schema.d.ts +0 -2
- package/dist/modules/supply/documentLineRM/route.schema.d.ts +0 -2
- package/dist/modules/supply/documentSet/route.schema.d.ts +0 -3
- package/dist/modules/supply/documentType/route.schema.d.ts +0 -3
- package/dist/modules/supply/externalDocumentHeader/route.schema.d.ts +0 -3
- package/dist/modules/supply/orderManagement/route.schema.d.ts +0 -0
- package/dist/modules/supply/payment/route.schema.d.ts +0 -5
- package/dist/modules/supply/paymentBatch/route.schema.d.ts +0 -4
- package/dist/modules/supply/preSale/route.schema.d.ts +0 -8
- package/dist/modules/supply/preSaleProduct/route.schema.d.ts +0 -2
- package/dist/modules/supply/schedule/route.schema.d.ts +0 -2
- package/dist/modules/tickets/channel/route.schema.d.ts +0 -3
- package/dist/modules/tickets/clt/route.schema.d.ts +0 -3
- package/dist/modules/tickets/language/route.schema.d.ts +0 -3
- package/dist/modules/tickets/tickets/route.schema.d.ts +0 -3
- package/dist/modules/ui/portal/route.schema.d.ts +0 -4
- package/dist/modules/ui/sideMenu/route.schema.d.ts +0 -3
- package/dist/modules/ui/sidemenuHighlight/route.schema.d.ts +0 -3
- package/dist/modules/user/bankData/route.schema.d.ts +0 -5
- package/dist/modules/user/chatSubscribers/route.schema.d.ts +0 -7
- package/dist/modules/user/clientType/route.schema.d.ts +0 -6
- package/dist/modules/user/clients/route.schema.d.ts +0 -5
- package/dist/modules/user/commissioner/route.schema.d.ts +0 -5
- package/dist/modules/user/country/route.schema.d.ts +0 -5
- package/dist/modules/user/deliveryMethods/route.schema.d.ts +0 -3
- package/dist/modules/user/favorites/route.schema.d.ts +0 -8
- package/dist/modules/user/language/route.schema.d.ts +0 -5
- package/dist/modules/user/maturityDates/route.schema.d.ts +0 -3
- package/dist/modules/user/password/route.schema.d.ts +0 -4
- package/dist/modules/user/paymentMethods/route.schema.d.ts +0 -3
- package/dist/modules/user/persona/route.schema.d.ts +0 -10
- package/dist/modules/user/providerType/route.schema.d.ts +0 -5
- package/dist/modules/user/providers/route.schema.d.ts +0 -7
- package/dist/modules/user/purchaseConditions/route.schema.d.ts +0 -5
- package/dist/modules/user/reasonForExemption/route.schema.d.ts +0 -5
- package/dist/modules/user/refreshToken/route.schema.d.ts +0 -2
- package/dist/modules/user/segmentsArea/route.schema.d.ts +0 -5
- package/dist/modules/user/sessions/route.schema.d.ts +0 -2
- package/dist/modules/user/shippings/route.schema.d.ts +0 -5
- package/dist/modules/user/storeOperator/route.schema.d.ts +0 -6
- package/dist/modules/user/swift/route.schema.d.ts +0 -5
- package/dist/modules/user/systemModule/route.schema.d.ts +0 -3
- package/dist/modules/user/tenant/route.schema.d.ts +0 -3
- package/dist/modules/user/theme/route.schema.d.ts +0 -2
- package/dist/modules/user/timeSheet/route.schema.d.ts +0 -6
- package/dist/modules/user/userPositions/route.schema.d.ts +0 -5
- package/dist/modules/user/userTokens/route.schema.d.ts +0 -3
- package/dist/modules/user/users/route.schema.d.ts +0 -7
- package/dist/modules/user/vehicles/route.schema.d.ts +0 -3
- package/dist/modules/view/errorLog/route.schema.d.ts +0 -2
- package/dist/shared/messages.d.ts +0 -2
|
@@ -96,6 +96,7 @@ export interface IFindByEmailResponse {
|
|
|
96
96
|
}
|
|
97
97
|
export interface IFindClientOrProviderRequest {
|
|
98
98
|
nif?: string | null;
|
|
99
|
+
country_id?: string | null;
|
|
99
100
|
email?: string | null;
|
|
100
101
|
telephone?: string | null;
|
|
101
102
|
user_type: "client" | "provider";
|
|
@@ -120,6 +121,61 @@ export interface IFindForGmailResponse {
|
|
|
120
121
|
export interface IPublicUpdateRequest {
|
|
121
122
|
language_id: string | null;
|
|
122
123
|
}
|
|
124
|
+
export interface IDuplicatedGroupMember {
|
|
125
|
+
client_id: string;
|
|
126
|
+
client_number: number | null;
|
|
127
|
+
nome: string | null;
|
|
128
|
+
nif: string | null;
|
|
129
|
+
email: string | null;
|
|
130
|
+
telefone: string | null;
|
|
131
|
+
}
|
|
132
|
+
export interface IDuplicatedGroupDocument {
|
|
133
|
+
document_number: number;
|
|
134
|
+
code: string;
|
|
135
|
+
created_at: string;
|
|
136
|
+
created_by: string;
|
|
137
|
+
seller: string;
|
|
138
|
+
}
|
|
139
|
+
export interface IDuplicatedGroupPersona {
|
|
140
|
+
id: string;
|
|
141
|
+
name: string | null;
|
|
142
|
+
nif: string | null;
|
|
143
|
+
email: string | null;
|
|
144
|
+
telephone: string | null;
|
|
145
|
+
main: boolean;
|
|
146
|
+
contact: boolean;
|
|
147
|
+
}
|
|
148
|
+
export type IDuplicatedGroupMergeError = {
|
|
149
|
+
client_id: string;
|
|
150
|
+
message: string;
|
|
151
|
+
};
|
|
152
|
+
export type IDuplicatedGroupData = {
|
|
153
|
+
documents?: Record<string, IDuplicatedGroupDocument[]>;
|
|
154
|
+
personas?: Record<string, IDuplicatedGroupPersona[]>;
|
|
155
|
+
merge_error?: IDuplicatedGroupMergeError | null;
|
|
156
|
+
};
|
|
157
|
+
export interface IDuplicatedGroupResponse {
|
|
158
|
+
id: string;
|
|
159
|
+
status: "pending" | "resolved" | "merged";
|
|
160
|
+
confidence_score: number;
|
|
161
|
+
target_client_id: string | null;
|
|
162
|
+
data?: IDuplicatedGroupData;
|
|
163
|
+
members: IDuplicatedGroupMember[];
|
|
164
|
+
}
|
|
165
|
+
export interface IResolveDuplicatedGroupRequest {
|
|
166
|
+
target_client_id: string;
|
|
167
|
+
}
|
|
168
|
+
export interface IExecuteMergeDuplicatedGroupRequest {
|
|
169
|
+
target_client_id: string;
|
|
170
|
+
source_client_ids: string[];
|
|
171
|
+
}
|
|
172
|
+
export interface IExecuteMergeDuplicatedGroupResponse {
|
|
173
|
+
group_id: string;
|
|
174
|
+
status: "merged" | "resolved";
|
|
175
|
+
merged_client_ids: string[];
|
|
176
|
+
failed_client_id: string | null;
|
|
177
|
+
error: string | null;
|
|
178
|
+
}
|
|
123
179
|
export interface IRepository {
|
|
124
180
|
findById(selector: IShared.IFindByIdRequest): Promise<IEntityExtended | null>;
|
|
125
181
|
findByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<IFindByOwnerIdResponse[]>;
|
|
@@ -132,5 +188,9 @@ export interface IRepository {
|
|
|
132
188
|
findClientOrProvider(data: IFindClientOrProviderRequest): Promise<IFindClientOrProviderResponse[]>;
|
|
133
189
|
findForGmail(data: IFindForGmailRequest): Promise<IFindForGmailResponse | null>;
|
|
134
190
|
publicUpdate(selector: IShared.IFindByIdRequest, data: IPublicUpdateRequest): Promise<void>;
|
|
191
|
+
findDuplicateds(): Promise<IDuplicatedGroupResponse[]>;
|
|
192
|
+
refreshDuplicateds(): Promise<void>;
|
|
193
|
+
resolveDuplicateds(selector: IShared.IFindByIdRequest, data: IResolveDuplicatedGroupRequest): Promise<void>;
|
|
194
|
+
executeMergeDuplicateds(selector: IShared.IFindByIdRequest, data: IExecuteMergeDuplicatedGroupRequest): Promise<IExecuteMergeDuplicatedGroupResponse>;
|
|
135
195
|
}
|
|
136
196
|
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
@@ -53,13 +53,13 @@ export interface IUpdateRequest {
|
|
|
53
53
|
default_discount?: number;
|
|
54
54
|
main_persona_id?: string;
|
|
55
55
|
contact_persona_id?: string;
|
|
56
|
-
country_id?: string;
|
|
57
|
-
language_id?: string;
|
|
56
|
+
country_id?: string | null;
|
|
57
|
+
language_id?: string | null;
|
|
58
58
|
support_language_id?: string | null;
|
|
59
|
-
provider_type_id?: string;
|
|
60
|
-
default_payment_method_id?: string;
|
|
61
|
-
default_maturity_date_id?: string;
|
|
62
|
-
default_delivery_method_id?: string;
|
|
59
|
+
provider_type_id?: string | null;
|
|
60
|
+
default_payment_method_id?: string | null;
|
|
61
|
+
default_maturity_date_id?: string | null;
|
|
62
|
+
default_delivery_method_id?: string | null;
|
|
63
63
|
default_vehicle_id?: string | null;
|
|
64
64
|
exemption_reason_id?: string | null;
|
|
65
65
|
default_account_code?: string | null;
|
|
@@ -2,38 +2,41 @@ import type { SystemModule } from "../../../shared/entities/user";
|
|
|
2
2
|
import type * as IShared from "../../../shared/interface";
|
|
3
3
|
export type Entity = SystemModule;
|
|
4
4
|
export declare const Route = "system_module";
|
|
5
|
-
export declare
|
|
6
|
-
encomendas_stock
|
|
7
|
-
entradas
|
|
8
|
-
compras
|
|
9
|
-
pagamentos
|
|
10
|
-
lotes
|
|
11
|
-
parcelas
|
|
12
|
-
obrigacoes_legais
|
|
13
|
-
dashboard
|
|
14
|
-
listagens
|
|
15
|
-
tasks
|
|
16
|
-
contas_corrente
|
|
17
|
-
rms
|
|
18
|
-
calendario
|
|
19
|
-
gestao_utilizadores
|
|
20
|
-
templates_email
|
|
21
|
-
audit
|
|
22
|
-
|
|
5
|
+
export declare const SystemModuleEnum: {
|
|
6
|
+
encomendas_stock: "encomendas_stock";
|
|
7
|
+
entradas: "entradas";
|
|
8
|
+
compras: "compras";
|
|
9
|
+
pagamentos: "pagamentos";
|
|
10
|
+
lotes: "lotes";
|
|
11
|
+
parcelas: "parcelas";
|
|
12
|
+
obrigacoes_legais: "obrigacoes_legais";
|
|
13
|
+
dashboard: "dashboard";
|
|
14
|
+
listagens: "listagens";
|
|
15
|
+
tasks: "tasks";
|
|
16
|
+
contas_corrente: "contas_corrente";
|
|
17
|
+
rms: "rms";
|
|
18
|
+
calendario: "calendario";
|
|
19
|
+
gestao_utilizadores: "gestao_utilizadores";
|
|
20
|
+
templates_email: "templates_email";
|
|
21
|
+
audit: "audit";
|
|
22
|
+
clientes_duplicados: "clientes_duplicados";
|
|
23
|
+
};
|
|
24
|
+
export type ISystemModule = (typeof SystemModuleEnum)[keyof typeof SystemModuleEnum];
|
|
25
|
+
export declare const systemModules: string[];
|
|
23
26
|
export interface IFindByStoreOperatorIdRequest {
|
|
24
27
|
store_operator_id: string;
|
|
25
28
|
}
|
|
26
29
|
export interface IFindByStoreOperatorIdResponse {
|
|
27
30
|
store_operator_id: string;
|
|
28
|
-
values:
|
|
31
|
+
values: ISystemModule[];
|
|
29
32
|
}
|
|
30
33
|
export interface IFindResponseItem {
|
|
31
34
|
store_operator_id: string;
|
|
32
|
-
values:
|
|
35
|
+
values: ISystemModule[];
|
|
33
36
|
}
|
|
34
37
|
export interface ISetStoreOperatorModulesRequest {
|
|
35
38
|
store_operator_id: string;
|
|
36
|
-
values:
|
|
39
|
+
values: ISystemModule[];
|
|
37
40
|
}
|
|
38
41
|
export interface IRepository {
|
|
39
42
|
find(): Promise<IFindResponseItem[]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Clients, ClientType, Commissioner, Country, DeliveryMethods, Language, MaturityDates, PaymentMethods, Persona, Providers, ProviderType, ReasonForExemption, SegmentsArea, StoreOperator, Theme, UserPositions, Users, Vehicles } from "../../../shared/entities/user";
|
|
2
2
|
import * as IShared from "../../../shared/interface";
|
|
3
|
-
import type {
|
|
3
|
+
import type { ISystemModule } from "../systemModule/interface";
|
|
4
4
|
export type Entity = Users;
|
|
5
5
|
export type EntityWithoutPassword = Omit<Users, "password">;
|
|
6
6
|
export declare const Route = "users";
|
|
@@ -11,7 +11,7 @@ interface IMainPersona extends Persona {
|
|
|
11
11
|
interface IStoreOperator extends Pick<StoreOperator, "id" | "superuser"> {
|
|
12
12
|
main_persona: Pick<Persona, "name" | "email">;
|
|
13
13
|
theme: Pick<Theme, "colors"> | null;
|
|
14
|
-
system_modules:
|
|
14
|
+
system_modules: ISystemModule[];
|
|
15
15
|
}
|
|
16
16
|
export interface IFindByEmailResponse extends Pick<Entity, "id"> {
|
|
17
17
|
store_operator: IStoreOperator;
|
|
@@ -103,8 +103,45 @@ export interface IKafka extends ICalendar {
|
|
|
103
103
|
count: number;
|
|
104
104
|
error_count: number;
|
|
105
105
|
}
|
|
106
|
+
export declare const IDataTypeEnum: {
|
|
107
|
+
server: "server";
|
|
108
|
+
googleSheets: "googleSheets";
|
|
109
|
+
services: "services";
|
|
110
|
+
all: "all";
|
|
111
|
+
};
|
|
112
|
+
export type IDataType = (typeof IDataTypeEnum)[keyof typeof IDataTypeEnum];
|
|
113
|
+
export declare const dataTypes: string[];
|
|
114
|
+
export declare const IServiceEnum: {
|
|
115
|
+
prints: "prints";
|
|
116
|
+
eventstores: "eventstores";
|
|
117
|
+
moloniRequests: "moloniRequests";
|
|
118
|
+
moloniErrors: "moloniErrors";
|
|
119
|
+
projectInfos: "projectInfos";
|
|
120
|
+
multimedias: "multimedias";
|
|
121
|
+
multimediaSummary: "multimediaSummary";
|
|
122
|
+
crons: "crons";
|
|
123
|
+
emails: "emails";
|
|
124
|
+
errors: "errors";
|
|
125
|
+
chats: "chats";
|
|
126
|
+
kafka: "kafka";
|
|
127
|
+
};
|
|
128
|
+
export type IService = (typeof IServiceEnum)[keyof typeof IServiceEnum];
|
|
129
|
+
export declare const adminPanelServices: string[];
|
|
130
|
+
export declare const IServerEnum: {
|
|
131
|
+
services: "services";
|
|
132
|
+
logs: "logs";
|
|
133
|
+
certificates: "certificates";
|
|
134
|
+
filesystem: "filesystem";
|
|
135
|
+
backups: "backups";
|
|
136
|
+
};
|
|
137
|
+
export type IServer = (typeof IServerEnum)[keyof typeof IServerEnum];
|
|
138
|
+
export declare const adminPanelServers: string[];
|
|
106
139
|
export interface IGetDataRequest {
|
|
107
140
|
token: string;
|
|
141
|
+
dataType: IDataType;
|
|
142
|
+
services?: IService;
|
|
143
|
+
server?: IServer;
|
|
144
|
+
logName?: string;
|
|
108
145
|
}
|
|
109
146
|
export interface IGetDataResponse {
|
|
110
147
|
server: {
|
|
@@ -9,20 +9,22 @@ export declare const IErrorTypeEnum: {
|
|
|
9
9
|
};
|
|
10
10
|
export type IErrorType = (typeof IErrorTypeEnum)[keyof typeof IErrorTypeEnum];
|
|
11
11
|
export declare const errorTypes: string[];
|
|
12
|
+
export type IErrorDetail = {
|
|
13
|
+
name: string;
|
|
14
|
+
message: string;
|
|
15
|
+
stack?: string;
|
|
16
|
+
};
|
|
17
|
+
export type IErrorRequestContext = {
|
|
18
|
+
url: string;
|
|
19
|
+
body?: unknown;
|
|
20
|
+
query?: unknown;
|
|
21
|
+
params?: unknown;
|
|
22
|
+
};
|
|
12
23
|
export interface ICreateRequest {
|
|
13
24
|
service: string;
|
|
14
25
|
type: IErrorType;
|
|
15
|
-
error:
|
|
16
|
-
|
|
17
|
-
message: string;
|
|
18
|
-
stack?: string;
|
|
19
|
-
};
|
|
20
|
-
request?: {
|
|
21
|
-
url: string;
|
|
22
|
-
body?: unknown;
|
|
23
|
-
query?: unknown;
|
|
24
|
-
params?: unknown;
|
|
25
|
-
};
|
|
26
|
+
error: IErrorDetail;
|
|
27
|
+
request?: IErrorRequestContext;
|
|
26
28
|
}
|
|
27
29
|
export interface IController {
|
|
28
30
|
create(data: ICreateRequest): Promise<void>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { EuPagoMethod, EuPagoStatus } from "../../modules/integration/eupago/interfaces";
|
|
1
2
|
import type { IBudgetOptionsType, IProjectInfoOriginType, IProjectInfoType } from "../../modules/integration/projectInfo/interfaces";
|
|
2
3
|
/**
|
|
3
4
|
* Model Observation
|
|
@@ -167,3 +168,21 @@ export type PatchNotes = {
|
|
|
167
168
|
created_at: string;
|
|
168
169
|
updated_at: string;
|
|
169
170
|
};
|
|
171
|
+
/**
|
|
172
|
+
* Model EuPagoTransaction
|
|
173
|
+
*
|
|
174
|
+
*/
|
|
175
|
+
export type EuPagoTransaction = {
|
|
176
|
+
id: string;
|
|
177
|
+
identifier: string | null;
|
|
178
|
+
method: EuPagoMethod | null;
|
|
179
|
+
status: EuPagoStatus;
|
|
180
|
+
reference: string | null;
|
|
181
|
+
transaction_id: string | null;
|
|
182
|
+
amount: number;
|
|
183
|
+
from_document_header_id: string;
|
|
184
|
+
confirmation_dispatched: boolean;
|
|
185
|
+
raw_payload: unknown;
|
|
186
|
+
created_at: Date;
|
|
187
|
+
updated_at: Date;
|
|
188
|
+
};
|
|
@@ -696,6 +696,8 @@ export type ProductSheet = {
|
|
|
696
696
|
compositions: string;
|
|
697
697
|
attributes: string;
|
|
698
698
|
location: string | null;
|
|
699
|
+
youtube_url: string | null;
|
|
700
|
+
short_description: string;
|
|
699
701
|
created_at: Date;
|
|
700
702
|
updated_at: Date;
|
|
701
703
|
created_by: string;
|
|
@@ -1130,3 +1132,12 @@ export type SidemenuHightlight = {
|
|
|
1130
1132
|
created_by: string;
|
|
1131
1133
|
updated_by: string;
|
|
1132
1134
|
};
|
|
1135
|
+
/**
|
|
1136
|
+
* Model DisplayLabels
|
|
1137
|
+
*
|
|
1138
|
+
*/
|
|
1139
|
+
export type DisplayLabels = {
|
|
1140
|
+
id: string;
|
|
1141
|
+
product_id: string;
|
|
1142
|
+
created_at: Date;
|
|
1143
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IPaymentMethodsSaftCodeEnum } from "../../modules/user/paymentMethods/interfaces";
|
|
2
2
|
import type { IReasonForExemptionType } from "../../modules/user/reasonForExemption/interface";
|
|
3
|
-
import type {
|
|
3
|
+
import type { ISystemModule } from "../../modules/user/systemModule/interface";
|
|
4
4
|
import { ITimeSheetRecordType, ITimeSheetRegistryType } from "../../modules/user/timeSheet/interfaces";
|
|
5
5
|
/**
|
|
6
6
|
* Model Users
|
|
@@ -414,6 +414,7 @@ export type Persona = {
|
|
|
414
414
|
postal_code: string | null;
|
|
415
415
|
locality: string | null;
|
|
416
416
|
country_id: string | null;
|
|
417
|
+
vat_taxpayer: boolean;
|
|
417
418
|
reason_for_exemption_id: string | null;
|
|
418
419
|
language_id: string | null;
|
|
419
420
|
provider_id: string | null;
|
|
@@ -458,7 +459,7 @@ export type ChatSubscriber = {
|
|
|
458
459
|
export type SystemModule = {
|
|
459
460
|
id: string;
|
|
460
461
|
store_operator_id: string;
|
|
461
|
-
value:
|
|
462
|
+
value: ISystemModule;
|
|
462
463
|
created_at: Date;
|
|
463
464
|
updated_at: Date;
|
|
464
465
|
created_by: string;
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { EuPagoMethod } from "../modules/integration/eupago/interfaces";
|
|
2
2
|
import type { IGetUserData } from "../modules/integration/googleSheets/interfaces";
|
|
3
3
|
import type { ITranslateRequest } from "../modules/stock/chat/interfaces";
|
|
4
4
|
import type { IWarningType } from "../modules/supply/documentHeader/interfaces";
|
|
5
5
|
import type { IDocumentTypeUserType } from "../modules/supply/documentType/interfaces";
|
|
6
6
|
import type { IAttachment } from "../modules/supply/externalDocumentHeader/interface";
|
|
7
7
|
import type { IScheduleType } from "../modules/supply/schedule/interface";
|
|
8
|
-
import type {
|
|
9
|
-
import type { IChat, IEmail, IEncomenda, IMultimedia, IMultimediaSummary,
|
|
8
|
+
import type { ISystemModule } from "../modules/user/systemModule/interface";
|
|
9
|
+
import type { IChat, IEmail, IEncomenda, IMultimedia, IMultimediaSummary, IPrint, IProjectInfo, IProposta, IServiceLogs, IServiceStatus, IStock, ITask } from "../modules/view/adminPanel/interfaces";
|
|
10
10
|
import type * as ErrorLog from "../modules/view/errorLog/interfaces";
|
|
11
11
|
import type { ChatSocketEvent, SupplyDocumentSocketEvent, TicketsSocketEvent } from "../modules/view/webSocket/interfaces";
|
|
12
12
|
import type { ProjectInfo } from "./entities/integration";
|
|
13
13
|
import type { File } from "./entities/stock";
|
|
14
14
|
import type { Persona } from "./entities/user";
|
|
15
|
-
import { messages } from "./messages";
|
|
16
|
-
export { messages };
|
|
17
15
|
type CreatedAt = "created_at";
|
|
18
16
|
type UpdatedAt = "updated_at";
|
|
19
17
|
export interface WithCreatedAt {
|
|
@@ -41,10 +39,19 @@ export type WithoutUserstamps<T> = Omit<T, CreatedBy | UpdatedBy>;
|
|
|
41
39
|
export interface IUserToken {
|
|
42
40
|
id: string;
|
|
43
41
|
superuser?: boolean;
|
|
44
|
-
system_modules?:
|
|
42
|
+
system_modules?: ISystemModule[];
|
|
43
|
+
}
|
|
44
|
+
export interface IJwtSub {
|
|
45
|
+
user_id: string;
|
|
46
|
+
superuser?: boolean;
|
|
47
|
+
system_modules?: ISystemModule[];
|
|
48
|
+
}
|
|
49
|
+
export interface ICachedUserTokens {
|
|
50
|
+
access_token?: string;
|
|
51
|
+
refresh_token?: string;
|
|
45
52
|
}
|
|
46
53
|
export type IEntityWithUserToken<T> = {
|
|
47
|
-
[K in keyof T]: T[K] extends (...params: infer U) =>
|
|
54
|
+
[K in keyof T]: T[K] extends (...params: infer U) => unknown ? (...params: [...U, IUserToken]) => ReturnType<T[K]> : T[K];
|
|
48
55
|
};
|
|
49
56
|
export type WithStamps = WithTimestamps & WithUserstamps;
|
|
50
57
|
export type WithStampsResponse<T> = T & WithStamps;
|
|
@@ -90,6 +97,9 @@ export interface ILogGoogleApiRequest {
|
|
|
90
97
|
info: string;
|
|
91
98
|
error?: string;
|
|
92
99
|
}
|
|
100
|
+
export interface ILastMoloniRequest {
|
|
101
|
+
stamp: string | number;
|
|
102
|
+
}
|
|
93
103
|
export declare const IDataTypeEnum: {
|
|
94
104
|
date: "date";
|
|
95
105
|
datetime: "datetime";
|
|
@@ -111,24 +121,6 @@ export declare const IDataTypeEnum: {
|
|
|
111
121
|
};
|
|
112
122
|
export type IDatatype = (typeof IDataTypeEnum)[keyof typeof IDataTypeEnum];
|
|
113
123
|
export declare const dataTypes: string[];
|
|
114
|
-
export type IRouteRequest<T> = Record<keyof WithoutStamps<T>, joi.AnySchema>;
|
|
115
|
-
export type IRouteRequestWithStamps<T> = Record<keyof T, joi.AnySchema>;
|
|
116
|
-
export type IRouteResponseWithStamp<T> = Record<keyof WithStampsResponse<T>, joi.AnySchema>;
|
|
117
|
-
export type IRouteResponseWithoutStamps<T> = Record<keyof WithoutStamps<T>, joi.AnySchema>;
|
|
118
|
-
export type IRouteResponsePagination<T> = Record<keyof IPaginationResponse<T>, joi.AnySchema>;
|
|
119
|
-
export declare const findMinifiedQuery: joi.ObjectSchema<any>;
|
|
120
|
-
export declare const findByOptionalOwnerIdQuery: joi.ObjectSchema<any>;
|
|
121
|
-
export declare const findByOwnerIdQueryKeys: IRouteRequest<IFindByOwnerIdRequest>;
|
|
122
|
-
export declare const findByOwnerIdQuery: joi.ObjectSchema<any>;
|
|
123
|
-
export declare const idParam: joi.ObjectSchema<any>;
|
|
124
|
-
export declare const idNumberParam: joi.ObjectSchema<any>;
|
|
125
|
-
export declare const findMinifiedReponse: joi.ArraySchema<{
|
|
126
|
-
id: unknown;
|
|
127
|
-
name: unknown;
|
|
128
|
-
group: unknown;
|
|
129
|
-
multimedia_id: unknown;
|
|
130
|
-
}[]>;
|
|
131
|
-
export declare const joiValidateStamps: IRouteResponseWithoutStamps<WithTimestampsOriginID>;
|
|
132
124
|
export declare const IUserSendEmailDocumentTemplateEnum: {
|
|
133
125
|
generic: "generic";
|
|
134
126
|
provider_payment_order: "provider_payment_order";
|
|
@@ -163,6 +155,7 @@ export declare enum IBrokerTopic {
|
|
|
163
155
|
send_email_client_survey = "send_email_client_survey",
|
|
164
156
|
perform_task = "perform_task",
|
|
165
157
|
create_site_proposal = "create_site_proposal",
|
|
158
|
+
eupago_payment_confirmed = "eupago_payment_confirmed",
|
|
166
159
|
translate_chat_message = "translate_chat_message",
|
|
167
160
|
persona_updated = "persona_updated",
|
|
168
161
|
persona_lang_change = "persona_lang_change",
|
|
@@ -171,7 +164,6 @@ export declare enum IBrokerTopic {
|
|
|
171
164
|
express_log = "express_log",
|
|
172
165
|
cron_log = "cron_log",
|
|
173
166
|
server_service_log = "server_service_log",
|
|
174
|
-
server_backup_log = "server_backup_log",
|
|
175
167
|
server_docker_log = "server_docker_log",
|
|
176
168
|
server_certificate_log = "server_certificate_log",
|
|
177
169
|
server_filesystem_log = "server_filesystem_log",
|
|
@@ -187,6 +179,21 @@ export declare enum IBrokerTopic {
|
|
|
187
179
|
googlesheet_encomenda_log = "googlesheet_encomenda_log",
|
|
188
180
|
log_google_api_request = "log_google_api_request"
|
|
189
181
|
}
|
|
182
|
+
export type IBrokerPasswordEmailUser = {
|
|
183
|
+
name: string | null;
|
|
184
|
+
email: string;
|
|
185
|
+
};
|
|
186
|
+
export type IBrokerDocumentEmailUser = {
|
|
187
|
+
name: string;
|
|
188
|
+
email: string;
|
|
189
|
+
};
|
|
190
|
+
export type IBrokerProviderOrderAttachment = Pick<File, "title" | "multimedia_id">;
|
|
191
|
+
export type IBrokerWarningDocumentLine = {
|
|
192
|
+
designation: string;
|
|
193
|
+
quantity: string;
|
|
194
|
+
state: string;
|
|
195
|
+
};
|
|
196
|
+
export type IBrokerChatMessageRecipient = Pick<Persona, "email" | "name" | "telephone">;
|
|
190
197
|
export type IBrokerTopicPayload = {
|
|
191
198
|
[IBrokerTopic.google_sheet_import]: {
|
|
192
199
|
google_sheet_import_id: string;
|
|
@@ -196,18 +203,12 @@ export type IBrokerTopicPayload = {
|
|
|
196
203
|
};
|
|
197
204
|
[IBrokerTopic.user_send_email_password]: {
|
|
198
205
|
token: string;
|
|
199
|
-
user:
|
|
200
|
-
name: string | null;
|
|
201
|
-
email: string;
|
|
202
|
-
};
|
|
206
|
+
user: IBrokerPasswordEmailUser;
|
|
203
207
|
};
|
|
204
208
|
[IBrokerTopic.user_send_email_document]: {
|
|
205
209
|
template: IUserSendEmailDocumentTemplate;
|
|
206
210
|
user_type: IDocumentTypeUserType;
|
|
207
|
-
user:
|
|
208
|
-
name: string;
|
|
209
|
-
email: string;
|
|
210
|
-
};
|
|
211
|
+
user: IBrokerDocumentEmailUser;
|
|
211
212
|
owner_id: string;
|
|
212
213
|
document_header_id: string;
|
|
213
214
|
start_document_name: string;
|
|
@@ -236,7 +237,7 @@ export type IBrokerTopicPayload = {
|
|
|
236
237
|
pf_number: string;
|
|
237
238
|
provider_name: string;
|
|
238
239
|
provider_email: string;
|
|
239
|
-
attachments:
|
|
240
|
+
attachments: IBrokerProviderOrderAttachment[];
|
|
240
241
|
};
|
|
241
242
|
[IBrokerTopic.undo_provider_order_schedule_email]: {
|
|
242
243
|
provider_id: string;
|
|
@@ -264,11 +265,7 @@ export type IBrokerTopicPayload = {
|
|
|
264
265
|
warning: IWarningType;
|
|
265
266
|
document_header_id: string;
|
|
266
267
|
document_number: number;
|
|
267
|
-
document_lines:
|
|
268
|
-
designation: string;
|
|
269
|
-
quantity: string;
|
|
270
|
-
state: string;
|
|
271
|
-
}[];
|
|
268
|
+
document_lines: IBrokerWarningDocumentLine[];
|
|
272
269
|
};
|
|
273
270
|
[IBrokerTopic.espera_devolver_catalogo_email]: {
|
|
274
271
|
owner_id: string;
|
|
@@ -283,7 +280,7 @@ export type IBrokerTopicPayload = {
|
|
|
283
280
|
warningErrors: string[];
|
|
284
281
|
};
|
|
285
282
|
[IBrokerTopic.dispatch_chat_message]: {
|
|
286
|
-
to: [
|
|
283
|
+
to: [IBrokerChatMessageRecipient];
|
|
287
284
|
reply_url: string;
|
|
288
285
|
owner_id: string;
|
|
289
286
|
document_header_id: string | null;
|
|
@@ -346,7 +343,6 @@ export type IBrokerTopicPayload = {
|
|
|
346
343
|
done: boolean;
|
|
347
344
|
};
|
|
348
345
|
[IBrokerTopic.server_service_log]: IServiceStatus;
|
|
349
|
-
[IBrokerTopic.server_backup_log]: IPostgresBackup;
|
|
350
346
|
[IBrokerTopic.server_docker_log]: IServiceLogs;
|
|
351
347
|
[IBrokerTopic.server_certificate_log]: string;
|
|
352
348
|
[IBrokerTopic.server_filesystem_log]: string;
|
|
@@ -402,19 +398,16 @@ export type IBrokerTopicPayload = {
|
|
|
402
398
|
owner_id: string;
|
|
403
399
|
event: SupplyDocumentSocketEvent;
|
|
404
400
|
};
|
|
401
|
+
[IBrokerTopic.eupago_payment_confirmed]: {
|
|
402
|
+
from_document_header_id: string;
|
|
403
|
+
amount: number;
|
|
404
|
+
method: EuPagoMethod;
|
|
405
|
+
transaction_id: string;
|
|
406
|
+
reference?: string;
|
|
407
|
+
};
|
|
405
408
|
};
|
|
406
409
|
export interface IBrokerMessage<T extends IBrokerTopic = IBrokerTopic> {
|
|
407
410
|
topic: T;
|
|
408
411
|
payload: IBrokerTopicPayload[T];
|
|
409
412
|
}
|
|
410
|
-
export
|
|
411
|
-
[K in Keys]-?: Required<Pick<T, K>> & Partial<Record<Exclude<Keys, K>, undefined>>;
|
|
412
|
-
}[Keys];
|
|
413
|
-
export type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & {
|
|
414
|
-
[K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>;
|
|
415
|
-
}[Keys];
|
|
416
|
-
type Impossible<K extends keyof any> = {
|
|
417
|
-
[P in K]: never;
|
|
418
|
-
};
|
|
419
|
-
export type NoExtraProperties<T, U extends T = T> = U & Impossible<Exclude<keyof U, keyof T>>;
|
|
420
|
-
export type ExactPromise<T> = Promise<NoExtraProperties<T>>;
|
|
413
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
3
|
"description": "A nomalism package with all necessary types and validations for developing APIs",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.49",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -20,28 +20,24 @@
|
|
|
20
20
|
"lint": "eslint . --fix && prettier --write . --log-level warn",
|
|
21
21
|
"prebuild": "rm -rf dist",
|
|
22
22
|
"build": "tsc --emitDeclarationOnly && tsup",
|
|
23
|
-
"postbuild": "cp dist/index.js dist/index.cjs",
|
|
24
23
|
"prepack": "npm run lint && npm run build",
|
|
25
24
|
"prepare": "husky"
|
|
26
25
|
},
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"joi": "^18.2.3"
|
|
29
|
-
},
|
|
30
26
|
"devDependencies": {
|
|
31
27
|
"@eslint/js": "^10.0.1",
|
|
32
|
-
"@swc/core": "^1.
|
|
33
|
-
"@types/node": "^26.
|
|
28
|
+
"@swc/core": "^1.16.2",
|
|
29
|
+
"@types/node": "^26.6.2",
|
|
34
30
|
"@typescript-eslint/eslint-plugin": "^8.62.0",
|
|
35
31
|
"@typescript-eslint/parser": "^8.62.0",
|
|
36
|
-
"eslint": "^10.
|
|
32
|
+
"eslint": "^10.11.0",
|
|
37
33
|
"eslint-config-prettier": "^10.1.8",
|
|
38
34
|
"eslint-plugin-simple-import-sort": "^14.0.0",
|
|
39
|
-
"globals": "^17.
|
|
35
|
+
"globals": "^17.12.0",
|
|
40
36
|
"husky": "^9.1.7",
|
|
41
|
-
"lint-staged": "^17.1
|
|
42
|
-
"prettier": "^3.9.
|
|
37
|
+
"lint-staged": "^17.5.1",
|
|
38
|
+
"prettier": "^3.9.9",
|
|
43
39
|
"tsup": "^8.5.1",
|
|
44
|
-
"typescript-eslint": "^8.
|
|
40
|
+
"typescript-eslint": "^8.70.1"
|
|
45
41
|
},
|
|
46
42
|
"repository": {
|
|
47
43
|
"type": "git",
|
|
@@ -60,5 +56,9 @@
|
|
|
60
56
|
"*.{json,jsonc,css,scss,md,html,yml,yaml}": [
|
|
61
57
|
"prettier --write"
|
|
62
58
|
]
|
|
59
|
+
},
|
|
60
|
+
"allowScripts": {
|
|
61
|
+
"esbuild@0.27.7": true,
|
|
62
|
+
"@swc/core@1.16.2": true
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import joi from "joi";
|
|
2
|
-
import { IPrintBulkLabelRequest } from "./interfaces";
|
|
3
|
-
export declare const finalizarEntradaDeMaterialBody: joi.ObjectSchema<any>;
|
|
4
|
-
export declare const undoEntradaDeMaterialBody: joi.ObjectSchema<any>;
|
|
5
|
-
export declare const printLabelParams: joi.ObjectSchema<any>;
|
|
6
|
-
export declare const printLabelQuery: joi.ObjectSchema<any>;
|
|
7
|
-
export declare const printBulkLabelQuery: joi.ObjectSchema<IPrintBulkLabelRequest>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import joi from "joi";
|
|
2
|
-
import { IConferirEncomendaClienteRequest, IFindByIdsRequest, IFindRequest } from "./interfaces";
|
|
3
|
-
export declare const undoProviderOrderBody: joi.ObjectSchema<any>;
|
|
4
|
-
export declare const createProviderOrderChatBody: joi.ObjectSchema<any>;
|
|
5
|
-
export declare const conferirEncomendaClienteBody: joi.ObjectSchema<IConferirEncomendaClienteRequest>;
|
|
6
|
-
export declare const setProviderBody: joi.ObjectSchema<any>;
|
|
7
|
-
export declare const unsetCativadoBody: joi.ObjectSchema<any>;
|
|
8
|
-
export declare const findQuery: joi.ObjectSchema<IFindRequest>;
|
|
9
|
-
export declare const findByIdsQuery: joi.ObjectSchema<IFindByIdsRequest>;
|