@nomalism-com/types 1.3.46 → 1.3.48
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 +1077 -4597
- package/dist/index.d.ts +1 -0
- package/dist/index.js +922 -4598
- package/dist/main.d.ts +14 -122
- 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/purchase/interfaces.d.ts +1 -1
- 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 -5
- 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 +74 -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/ui/portal/interface.d.ts +7 -1
- package/dist/modules/user/persona/interface.d.ts +59 -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/sms.d.ts +1 -0
- package/dist/shared/entities/stock.d.ts +11 -0
- package/dist/shared/entities/user.d.ts +2 -2
- package/dist/shared/interface.d.ts +45 -50
- package/package.json +14 -14
- 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/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
|
@@ -19,17 +19,23 @@ export interface IPublicDocument {
|
|
|
19
19
|
export interface IPublicOtherDocument {
|
|
20
20
|
chat_subscriber_id: string;
|
|
21
21
|
chat_document_header_id: string;
|
|
22
|
+
document_header_id: string;
|
|
22
23
|
label: string;
|
|
23
24
|
emission_date: Date;
|
|
24
25
|
pdf_link: string;
|
|
25
26
|
client_unread: number;
|
|
26
27
|
tags: ITags[];
|
|
28
|
+
document_name: string;
|
|
29
|
+
store_operator_name: string;
|
|
30
|
+
user_type: IDocumentTypeUserType;
|
|
31
|
+
document_total: number;
|
|
32
|
+
document_state: string;
|
|
33
|
+
other_personas: ChatSubscriber.IPersona[];
|
|
27
34
|
created_by: string;
|
|
28
35
|
closed: boolean;
|
|
29
36
|
}
|
|
30
37
|
export interface IPublicFindBySubscriberId {
|
|
31
38
|
owner_id: string;
|
|
32
|
-
document?: IPublicDocument;
|
|
33
39
|
persona?: ChatSubscriber.IPersona;
|
|
34
40
|
chat: IChatBalloon[];
|
|
35
41
|
documents: IPublicOtherDocument[];
|
|
@@ -120,6 +120,61 @@ export interface IFindForGmailResponse {
|
|
|
120
120
|
export interface IPublicUpdateRequest {
|
|
121
121
|
language_id: string | null;
|
|
122
122
|
}
|
|
123
|
+
export interface IDuplicatedGroupMember {
|
|
124
|
+
client_id: string;
|
|
125
|
+
client_number: number | null;
|
|
126
|
+
nome: string | null;
|
|
127
|
+
nif: string | null;
|
|
128
|
+
email: string | null;
|
|
129
|
+
telefone: string | null;
|
|
130
|
+
}
|
|
131
|
+
export interface IDuplicatedGroupDocument {
|
|
132
|
+
document_number: number;
|
|
133
|
+
code: string;
|
|
134
|
+
created_at: string;
|
|
135
|
+
created_by: string;
|
|
136
|
+
seller: string;
|
|
137
|
+
}
|
|
138
|
+
export interface IDuplicatedGroupPersona {
|
|
139
|
+
id: string;
|
|
140
|
+
name: string | null;
|
|
141
|
+
nif: string | null;
|
|
142
|
+
email: string | null;
|
|
143
|
+
telephone: string | null;
|
|
144
|
+
main: boolean;
|
|
145
|
+
contact: boolean;
|
|
146
|
+
}
|
|
147
|
+
export type IDuplicatedGroupMergeError = {
|
|
148
|
+
client_id: string;
|
|
149
|
+
message: string;
|
|
150
|
+
};
|
|
151
|
+
export type IDuplicatedGroupData = {
|
|
152
|
+
documents?: Record<string, IDuplicatedGroupDocument[]>;
|
|
153
|
+
personas?: Record<string, IDuplicatedGroupPersona[]>;
|
|
154
|
+
merge_error?: IDuplicatedGroupMergeError | null;
|
|
155
|
+
};
|
|
156
|
+
export interface IDuplicatedGroupResponse {
|
|
157
|
+
id: string;
|
|
158
|
+
status: "pending" | "resolved" | "merged";
|
|
159
|
+
confidence_score: number;
|
|
160
|
+
target_client_id: string | null;
|
|
161
|
+
data?: IDuplicatedGroupData;
|
|
162
|
+
members: IDuplicatedGroupMember[];
|
|
163
|
+
}
|
|
164
|
+
export interface IResolveDuplicatedGroupRequest {
|
|
165
|
+
target_client_id: string;
|
|
166
|
+
}
|
|
167
|
+
export interface IExecuteMergeDuplicatedGroupRequest {
|
|
168
|
+
target_client_id: string;
|
|
169
|
+
source_client_ids: string[];
|
|
170
|
+
}
|
|
171
|
+
export interface IExecuteMergeDuplicatedGroupResponse {
|
|
172
|
+
group_id: string;
|
|
173
|
+
status: "merged" | "resolved";
|
|
174
|
+
merged_client_ids: string[];
|
|
175
|
+
failed_client_id: string | null;
|
|
176
|
+
error: string | null;
|
|
177
|
+
}
|
|
123
178
|
export interface IRepository {
|
|
124
179
|
findById(selector: IShared.IFindByIdRequest): Promise<IEntityExtended | null>;
|
|
125
180
|
findByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<IFindByOwnerIdResponse[]>;
|
|
@@ -132,5 +187,9 @@ export interface IRepository {
|
|
|
132
187
|
findClientOrProvider(data: IFindClientOrProviderRequest): Promise<IFindClientOrProviderResponse[]>;
|
|
133
188
|
findForGmail(data: IFindForGmailRequest): Promise<IFindForGmailResponse | null>;
|
|
134
189
|
publicUpdate(selector: IShared.IFindByIdRequest, data: IPublicUpdateRequest): Promise<void>;
|
|
190
|
+
findDuplicateds(): Promise<IDuplicatedGroupResponse[]>;
|
|
191
|
+
refreshDuplicateds(): Promise<void>;
|
|
192
|
+
resolveDuplicateds(selector: IShared.IFindByIdRequest, data: IResolveDuplicatedGroupRequest): Promise<void>;
|
|
193
|
+
executeMergeDuplicateds(selector: IShared.IFindByIdRequest, data: IExecuteMergeDuplicatedGroupRequest): Promise<IExecuteMergeDuplicatedGroupResponse>;
|
|
135
194
|
}
|
|
136
195
|
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
|
|
@@ -458,7 +458,7 @@ export type ChatSubscriber = {
|
|
|
458
458
|
export type SystemModule = {
|
|
459
459
|
id: string;
|
|
460
460
|
store_operator_id: string;
|
|
461
|
-
value:
|
|
461
|
+
value: ISystemModule;
|
|
462
462
|
created_at: Date;
|
|
463
463
|
updated_at: Date;
|
|
464
464
|
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 {
|
|
8
|
+
import type { ISystemModule } from "../modules/user/systemModule/interface";
|
|
9
9
|
import type { IChat, IEmail, IEncomenda, IMultimedia, IMultimediaSummary, IPostgresBackup, 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",
|
|
@@ -187,6 +180,21 @@ export declare enum IBrokerTopic {
|
|
|
187
180
|
googlesheet_encomenda_log = "googlesheet_encomenda_log",
|
|
188
181
|
log_google_api_request = "log_google_api_request"
|
|
189
182
|
}
|
|
183
|
+
export type IBrokerPasswordEmailUser = {
|
|
184
|
+
name: string | null;
|
|
185
|
+
email: string;
|
|
186
|
+
};
|
|
187
|
+
export type IBrokerDocumentEmailUser = {
|
|
188
|
+
name: string;
|
|
189
|
+
email: string;
|
|
190
|
+
};
|
|
191
|
+
export type IBrokerProviderOrderAttachment = Pick<File, "title" | "multimedia_id">;
|
|
192
|
+
export type IBrokerWarningDocumentLine = {
|
|
193
|
+
designation: string;
|
|
194
|
+
quantity: string;
|
|
195
|
+
state: string;
|
|
196
|
+
};
|
|
197
|
+
export type IBrokerChatMessageRecipient = Pick<Persona, "email" | "name" | "telephone">;
|
|
190
198
|
export type IBrokerTopicPayload = {
|
|
191
199
|
[IBrokerTopic.google_sheet_import]: {
|
|
192
200
|
google_sheet_import_id: string;
|
|
@@ -196,18 +204,12 @@ export type IBrokerTopicPayload = {
|
|
|
196
204
|
};
|
|
197
205
|
[IBrokerTopic.user_send_email_password]: {
|
|
198
206
|
token: string;
|
|
199
|
-
user:
|
|
200
|
-
name: string | null;
|
|
201
|
-
email: string;
|
|
202
|
-
};
|
|
207
|
+
user: IBrokerPasswordEmailUser;
|
|
203
208
|
};
|
|
204
209
|
[IBrokerTopic.user_send_email_document]: {
|
|
205
210
|
template: IUserSendEmailDocumentTemplate;
|
|
206
211
|
user_type: IDocumentTypeUserType;
|
|
207
|
-
user:
|
|
208
|
-
name: string;
|
|
209
|
-
email: string;
|
|
210
|
-
};
|
|
212
|
+
user: IBrokerDocumentEmailUser;
|
|
211
213
|
owner_id: string;
|
|
212
214
|
document_header_id: string;
|
|
213
215
|
start_document_name: string;
|
|
@@ -236,7 +238,7 @@ export type IBrokerTopicPayload = {
|
|
|
236
238
|
pf_number: string;
|
|
237
239
|
provider_name: string;
|
|
238
240
|
provider_email: string;
|
|
239
|
-
attachments:
|
|
241
|
+
attachments: IBrokerProviderOrderAttachment[];
|
|
240
242
|
};
|
|
241
243
|
[IBrokerTopic.undo_provider_order_schedule_email]: {
|
|
242
244
|
provider_id: string;
|
|
@@ -264,11 +266,7 @@ export type IBrokerTopicPayload = {
|
|
|
264
266
|
warning: IWarningType;
|
|
265
267
|
document_header_id: string;
|
|
266
268
|
document_number: number;
|
|
267
|
-
document_lines:
|
|
268
|
-
designation: string;
|
|
269
|
-
quantity: string;
|
|
270
|
-
state: string;
|
|
271
|
-
}[];
|
|
269
|
+
document_lines: IBrokerWarningDocumentLine[];
|
|
272
270
|
};
|
|
273
271
|
[IBrokerTopic.espera_devolver_catalogo_email]: {
|
|
274
272
|
owner_id: string;
|
|
@@ -283,7 +281,7 @@ export type IBrokerTopicPayload = {
|
|
|
283
281
|
warningErrors: string[];
|
|
284
282
|
};
|
|
285
283
|
[IBrokerTopic.dispatch_chat_message]: {
|
|
286
|
-
to: [
|
|
284
|
+
to: [IBrokerChatMessageRecipient];
|
|
287
285
|
reply_url: string;
|
|
288
286
|
owner_id: string;
|
|
289
287
|
document_header_id: string | null;
|
|
@@ -402,19 +400,16 @@ export type IBrokerTopicPayload = {
|
|
|
402
400
|
owner_id: string;
|
|
403
401
|
event: SupplyDocumentSocketEvent;
|
|
404
402
|
};
|
|
403
|
+
[IBrokerTopic.eupago_payment_confirmed]: {
|
|
404
|
+
from_document_header_id: string;
|
|
405
|
+
amount: number;
|
|
406
|
+
method: EuPagoMethod;
|
|
407
|
+
transaction_id: string;
|
|
408
|
+
reference?: string;
|
|
409
|
+
};
|
|
405
410
|
};
|
|
406
411
|
export interface IBrokerMessage<T extends IBrokerTopic = IBrokerTopic> {
|
|
407
412
|
topic: T;
|
|
408
413
|
payload: IBrokerTopicPayload[T];
|
|
409
414
|
}
|
|
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>>;
|
|
415
|
+
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.48",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -17,31 +17,27 @@
|
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
19
|
"scripts": {
|
|
20
|
-
"lint": "eslint . --fix && prettier --write .",
|
|
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
|
-
"eslint-plugin-simple-import-sort": "^
|
|
39
|
-
"globals": "^17.
|
|
34
|
+
"eslint-plugin-simple-import-sort": "^14.0.0",
|
|
35
|
+
"globals": "^17.12.0",
|
|
40
36
|
"husky": "^9.1.7",
|
|
41
|
-
"lint-staged": "^17.
|
|
42
|
-
"prettier": "^3.9.
|
|
37
|
+
"lint-staged": "^17.5.1",
|
|
38
|
+
"prettier": "^3.9.8",
|
|
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>;
|