@nomalism-com/types 0.45.39 → 0.45.40
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 +316 -278
- package/dist/index.js +316 -278
- package/dist/main.d.ts +3 -1
- package/dist/modules/ui/sidemenuHighlight/interface.d.ts +33 -0
- package/dist/modules/ui/sidemenuHighlight/route.schema.d.ts +3 -0
- package/dist/modules/user/storeOperator/interface.d.ts +1 -0
- package/dist/modules/view/webSocket/interfaces.d.ts +7 -1
- package/dist/shared/entities/stock.d.ts +13 -0
- package/dist/shared/interface.d.ts +6 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -7,8 +7,8 @@ var __export = (target, all) => {
|
|
|
7
7
|
// src/main.ts
|
|
8
8
|
var main_exports = {};
|
|
9
9
|
__export(main_exports, {
|
|
10
|
-
AccountCode: () =>
|
|
11
|
-
AccountCodeRoutes: () =>
|
|
10
|
+
AccountCode: () => interface_exports67,
|
|
11
|
+
AccountCodeRoutes: () => route_schema_exports112,
|
|
12
12
|
AdminPanel: () => interfaces_exports54,
|
|
13
13
|
BankData: () => interface_exports2,
|
|
14
14
|
BankDataRoutes: () => route_schema_exports,
|
|
@@ -23,7 +23,7 @@ __export(main_exports, {
|
|
|
23
23
|
ChatRapidMessageRoutes: () => route_schema_exports99,
|
|
24
24
|
ChatRoutes: () => route_schema_exports5,
|
|
25
25
|
ChatSubscriber: () => interfaces_exports56,
|
|
26
|
-
ChatSubscriberRoutes: () =>
|
|
26
|
+
ChatSubscriberRoutes: () => route_schema_exports105,
|
|
27
27
|
Client: () => interface_exports3,
|
|
28
28
|
ClientRoutes: () => route_schema_exports2,
|
|
29
29
|
ClientType: () => interface_exports4,
|
|
@@ -33,8 +33,8 @@ __export(main_exports, {
|
|
|
33
33
|
ConferirEncomenda: () => interface_exports44,
|
|
34
34
|
Country: () => interface_exports6,
|
|
35
35
|
CountryRoutes: () => route_schema_exports7,
|
|
36
|
-
CurrentAccount: () =>
|
|
37
|
-
CurrentAccountRoutes: () =>
|
|
36
|
+
CurrentAccount: () => interface_exports63,
|
|
37
|
+
CurrentAccountRoutes: () => route_schema_exports109,
|
|
38
38
|
Dashboard: () => interface_exports53,
|
|
39
39
|
DashboardRoutes: () => route_schema_exports98,
|
|
40
40
|
DeliveryMethods: () => interfaces_exports3,
|
|
@@ -42,18 +42,18 @@ __export(main_exports, {
|
|
|
42
42
|
DocumentHeader: () => interfaces_exports4,
|
|
43
43
|
DocumentHeaderHistory: () => interfaces_exports7,
|
|
44
44
|
DocumentHeaderRoutes: () => route_schema_exports9,
|
|
45
|
-
DocumentHeaderSubscriber: () =>
|
|
46
|
-
DocumentHeaderSubscriberRoutes: () =>
|
|
45
|
+
DocumentHeaderSubscriber: () => interface_exports68,
|
|
46
|
+
DocumentHeaderSubscriberRoutes: () => route_schema_exports115,
|
|
47
47
|
DocumentHeaderSurvey: () => interfaces_exports59,
|
|
48
|
-
DocumentHeaderSurveyRoutes: () =>
|
|
48
|
+
DocumentHeaderSurveyRoutes: () => route_schema_exports114,
|
|
49
49
|
DocumentLine: () => interfaces_exports15,
|
|
50
50
|
DocumentLineAssoc: () => interfaces_exports16,
|
|
51
|
-
DocumentLineMt: () =>
|
|
52
|
-
DocumentLineMtRoutes: () =>
|
|
51
|
+
DocumentLineMt: () => interface_exports58,
|
|
52
|
+
DocumentLineMtRoutes: () => route_schema_exports104,
|
|
53
53
|
DocumentLineNote: () => interfaces_exports51,
|
|
54
54
|
DocumentLineNoteRoutes: () => route_schema_exports91,
|
|
55
|
-
DocumentLineRm: () =>
|
|
56
|
-
DocumentLineRmRoutes: () =>
|
|
55
|
+
DocumentLineRm: () => interface_exports57,
|
|
56
|
+
DocumentLineRmRoutes: () => route_schema_exports103,
|
|
57
57
|
DocumentLineRoutes: () => route_schema_exports17,
|
|
58
58
|
DocumentSet: () => interface_exports7,
|
|
59
59
|
DocumentSetRoutes: () => route_schema_exports18,
|
|
@@ -68,7 +68,7 @@ __export(main_exports, {
|
|
|
68
68
|
EmailVerification: () => interfaces_exports40,
|
|
69
69
|
EmailVerificationRoutes: () => route_schema_exports77,
|
|
70
70
|
ErrorLog: () => interfaces_exports55,
|
|
71
|
-
ErrorLogRoutes: () =>
|
|
71
|
+
ErrorLogRoutes: () => route_schema_exports102,
|
|
72
72
|
ExternalDocumentHeader: () => interface_exports9,
|
|
73
73
|
ExternalDocumentHeaderRoutes: () => route_schema_exports20,
|
|
74
74
|
ExternalDocumentType: () => interface_exports8,
|
|
@@ -76,18 +76,18 @@ __export(main_exports, {
|
|
|
76
76
|
FavoritesRoutes: () => route_schema_exports21,
|
|
77
77
|
File: () => interface_exports10,
|
|
78
78
|
FileRoutes: () => route_schema_exports22,
|
|
79
|
-
Gmails: () =>
|
|
80
|
-
GoogleCalendar: () =>
|
|
81
|
-
GoogleCalendarRoutes: () =>
|
|
79
|
+
Gmails: () => interface_exports60,
|
|
80
|
+
GoogleCalendar: () => interface_exports69,
|
|
81
|
+
GoogleCalendarRoutes: () => route_schema_exports116,
|
|
82
82
|
GoogleFilePermission: () => interfaces_exports34,
|
|
83
83
|
GoogleFilePermissionRoutes: () => route_schema_exports69,
|
|
84
|
-
GoogleSheetPool: () =>
|
|
84
|
+
GoogleSheetPool: () => interface_exports66,
|
|
85
85
|
GoogleSheets: () => interfaces_exports18,
|
|
86
86
|
GoogleSheetsRoutes: () => route_schema_exports23,
|
|
87
87
|
Inventario: () => interface_exports45,
|
|
88
88
|
InventarioRoutes: () => route_schema_exports88,
|
|
89
89
|
LLM: () => interfaces_exports57,
|
|
90
|
-
LLMRoutes: () =>
|
|
90
|
+
LLMRoutes: () => route_schema_exports113,
|
|
91
91
|
Language: () => interface_exports11,
|
|
92
92
|
LanguageRoutes: () => route_schema_exports24,
|
|
93
93
|
Location: () => interface_exports12,
|
|
@@ -98,10 +98,10 @@ __export(main_exports, {
|
|
|
98
98
|
MaturityDatesRoutes: () => route_schema_exports26,
|
|
99
99
|
Multimedia: () => interfaces_exports20,
|
|
100
100
|
MultimediaRoutes: () => route_schema_exports27,
|
|
101
|
-
NPF: () =>
|
|
102
|
-
NPFRoutes: () =>
|
|
103
|
-
NRCL: () =>
|
|
104
|
-
NRCLRoutes: () =>
|
|
101
|
+
NPF: () => interface_exports61,
|
|
102
|
+
NPFRoutes: () => route_schema_exports107,
|
|
103
|
+
NRCL: () => interface_exports62,
|
|
104
|
+
NRCLRoutes: () => route_schema_exports108,
|
|
105
105
|
Npc: () => interfaces_exports28,
|
|
106
106
|
NpcRoutes: () => route_schema_exports61,
|
|
107
107
|
Observation: () => interfaces_exports21,
|
|
@@ -115,15 +115,15 @@ __export(main_exports, {
|
|
|
115
115
|
PasswordRoutes: () => route_schema_exports30,
|
|
116
116
|
PatchNotes: () => interfaces_exports58,
|
|
117
117
|
Payment: () => interface_exports14,
|
|
118
|
-
PaymentBatch: () =>
|
|
119
|
-
PaymentBatchRoutes: () =>
|
|
118
|
+
PaymentBatch: () => interface_exports64,
|
|
119
|
+
PaymentBatchRoutes: () => route_schema_exports110,
|
|
120
120
|
PaymentMethods: () => interfaces_exports24,
|
|
121
121
|
PaymentMethodsRoutes: () => route_schema_exports32,
|
|
122
122
|
PaymentRoutes: () => route_schema_exports31,
|
|
123
123
|
Persona: () => interface_exports43,
|
|
124
124
|
PersonaRoutes: () => route_schema_exports75,
|
|
125
|
-
Portal: () =>
|
|
126
|
-
PortalRoutes: () =>
|
|
125
|
+
Portal: () => interface_exports65,
|
|
126
|
+
PortalRoutes: () => route_schema_exports111,
|
|
127
127
|
PreSale: () => interface_exports38,
|
|
128
128
|
PreSaleProduct: () => interface_exports39,
|
|
129
129
|
PreSaleProductRoutes: () => route_schema_exports60,
|
|
@@ -136,7 +136,7 @@ __export(main_exports, {
|
|
|
136
136
|
ProductGoogleSheetsRoutes: () => route_schema_exports93,
|
|
137
137
|
ProductImage: () => interface_exports15,
|
|
138
138
|
ProductImageRoutes: () => route_schema_exports33,
|
|
139
|
-
ProductLocation: () =>
|
|
139
|
+
ProductLocation: () => interface_exports70,
|
|
140
140
|
ProductionOrder: () => interfaces_exports9,
|
|
141
141
|
ProductionOrderRoutes: () => route_schema_exports11,
|
|
142
142
|
Proforma: () => interfaces_exports10,
|
|
@@ -198,6 +198,8 @@ __export(main_exports, {
|
|
|
198
198
|
ShippingsRoutes: () => route_schema_exports43,
|
|
199
199
|
SideMenu: () => interface_exports55,
|
|
200
200
|
SideMenuRoutes: () => route_schema_exports100,
|
|
201
|
+
SidemenuHighlight: () => interface_exports56,
|
|
202
|
+
SidemenuHighlightRoutes: () => route_schema_exports101,
|
|
201
203
|
StartDocumentHeaderLastUpdate: () => interface_exports42,
|
|
202
204
|
StockMovement: () => interface_exports36,
|
|
203
205
|
StockMovementRoutes: () => route_schema_exports57,
|
|
@@ -207,8 +209,8 @@ __export(main_exports, {
|
|
|
207
209
|
SwiftRoutes: () => route_schema_exports46,
|
|
208
210
|
SystemModule: () => interface_exports27,
|
|
209
211
|
SystemModuleRoutes: () => route_schema_exports45,
|
|
210
|
-
Tag: () =>
|
|
211
|
-
TagRoutes: () =>
|
|
212
|
+
Tag: () => interface_exports59,
|
|
213
|
+
TagRoutes: () => route_schema_exports106,
|
|
212
214
|
Task: () => interface_exports49,
|
|
213
215
|
TaskMessage: () => interface_exports50,
|
|
214
216
|
TaskMessageRoutes: () => route_schema_exports95,
|
|
@@ -461,6 +463,7 @@ var IBrokerTopic = /* @__PURE__ */ ((IBrokerTopic2) => {
|
|
|
461
463
|
IBrokerTopic2["tickets_change"] = "tickets_change";
|
|
462
464
|
IBrokerTopic2["push_notification"] = "push_notification";
|
|
463
465
|
IBrokerTopic2["portal_subscriber_events"] = "portal_subscriber_events";
|
|
466
|
+
IBrokerTopic2["sidemenu_highlight_changed"] = "sidemenu_highlight_changed";
|
|
464
467
|
IBrokerTopic2["user_send_email_password"] = "user_send_email_password";
|
|
465
468
|
IBrokerTopic2["grant_access"] = "grant_access";
|
|
466
469
|
IBrokerTopic2["remove_access"] = "remove_access";
|
|
@@ -5241,21 +5244,56 @@ var findByStateQueryKeys = {
|
|
|
5241
5244
|
};
|
|
5242
5245
|
var findByStateQuery = joi101.object().keys(findByStateQueryKeys).messages(messages);
|
|
5243
5246
|
|
|
5247
|
+
// src/modules/ui/sidemenuHighlight/interface.ts
|
|
5248
|
+
var interface_exports56 = {};
|
|
5249
|
+
__export(interface_exports56, {
|
|
5250
|
+
Route: () => Route107,
|
|
5251
|
+
buildHighlightValue: () => buildHighlightValue,
|
|
5252
|
+
parseHighlightValue: () => parseHighlightValue
|
|
5253
|
+
});
|
|
5254
|
+
var Route107 = "sidemenu_highlight";
|
|
5255
|
+
var buildHighlightValue = (item) => `${item.user_type}|:|${item.state}`;
|
|
5256
|
+
var parseHighlightValue = (value) => {
|
|
5257
|
+
const idx = value.indexOf("|:|");
|
|
5258
|
+
if (idx < 0) return null;
|
|
5259
|
+
return {
|
|
5260
|
+
user_type: value.slice(0, idx),
|
|
5261
|
+
state: value.slice(idx + 1)
|
|
5262
|
+
};
|
|
5263
|
+
};
|
|
5264
|
+
|
|
5265
|
+
// src/modules/ui/sidemenuHighlight/route.schema.ts
|
|
5266
|
+
var route_schema_exports101 = {};
|
|
5267
|
+
__export(route_schema_exports101, {
|
|
5268
|
+
findByStoreOperatorIdParam: () => findByStoreOperatorIdParam2,
|
|
5269
|
+
setStoreOperatorHighlightsBody: () => setStoreOperatorHighlightsBody
|
|
5270
|
+
});
|
|
5271
|
+
import joi102 from "joi";
|
|
5272
|
+
var findByStoreOperatorIdParamKeys2 = {
|
|
5273
|
+
store_operator_id: joi102.string().uuid().required()
|
|
5274
|
+
};
|
|
5275
|
+
var findByStoreOperatorIdParam2 = joi102.object().keys(findByStoreOperatorIdParamKeys2).messages(messages);
|
|
5276
|
+
var setStoreOperatorHighlightsBodyKeys = {
|
|
5277
|
+
store_operator_id: joi102.string().uuid().required(),
|
|
5278
|
+
values: joi102.array().items(joi102.string().min(1)).required()
|
|
5279
|
+
};
|
|
5280
|
+
var setStoreOperatorHighlightsBody = joi102.object().keys(setStoreOperatorHighlightsBodyKeys).messages(messages);
|
|
5281
|
+
|
|
5244
5282
|
// src/modules/view/adminPanel/interfaces.ts
|
|
5245
5283
|
var interfaces_exports54 = {};
|
|
5246
5284
|
__export(interfaces_exports54, {
|
|
5247
|
-
Route: () =>
|
|
5285
|
+
Route: () => Route108
|
|
5248
5286
|
});
|
|
5249
|
-
var
|
|
5287
|
+
var Route108 = "admin_panel";
|
|
5250
5288
|
|
|
5251
5289
|
// src/modules/view/errorLog/interfaces.ts
|
|
5252
5290
|
var interfaces_exports55 = {};
|
|
5253
5291
|
__export(interfaces_exports55, {
|
|
5254
5292
|
IErrorTypeEnum: () => IErrorTypeEnum,
|
|
5255
|
-
Route: () =>
|
|
5293
|
+
Route: () => Route109,
|
|
5256
5294
|
errorTypes: () => errorTypes
|
|
5257
5295
|
});
|
|
5258
|
-
var
|
|
5296
|
+
var Route109 = "error_log";
|
|
5259
5297
|
var IErrorTypeEnum = {
|
|
5260
5298
|
prisma: "prisma",
|
|
5261
5299
|
unhandled: "unhandled",
|
|
@@ -5268,124 +5306,124 @@ var IErrorTypeEnum = {
|
|
|
5268
5306
|
var errorTypes = Object.keys(IErrorTypeEnum);
|
|
5269
5307
|
|
|
5270
5308
|
// src/modules/view/errorLog/route.schema.ts
|
|
5271
|
-
var
|
|
5272
|
-
__export(
|
|
5309
|
+
var route_schema_exports102 = {};
|
|
5310
|
+
__export(route_schema_exports102, {
|
|
5273
5311
|
createBody: () => createBody62
|
|
5274
5312
|
});
|
|
5275
|
-
import
|
|
5313
|
+
import joi103 from "joi";
|
|
5276
5314
|
var createBodyKeys61 = {
|
|
5277
|
-
error:
|
|
5278
|
-
name:
|
|
5279
|
-
message:
|
|
5280
|
-
stack:
|
|
5315
|
+
error: joi103.object({
|
|
5316
|
+
name: joi103.string().required(),
|
|
5317
|
+
message: joi103.string().required(),
|
|
5318
|
+
stack: joi103.string().optional()
|
|
5281
5319
|
}),
|
|
5282
|
-
request:
|
|
5283
|
-
url:
|
|
5284
|
-
body:
|
|
5285
|
-
query:
|
|
5286
|
-
params:
|
|
5320
|
+
request: joi103.object({
|
|
5321
|
+
url: joi103.string().required(),
|
|
5322
|
+
body: joi103.any().optional(),
|
|
5323
|
+
query: joi103.any().optional(),
|
|
5324
|
+
params: joi103.any().optional()
|
|
5287
5325
|
}),
|
|
5288
|
-
service:
|
|
5289
|
-
type:
|
|
5326
|
+
service: joi103.string().required(),
|
|
5327
|
+
type: joi103.string().valid(...errorTypes).required()
|
|
5290
5328
|
};
|
|
5291
|
-
var createBody62 =
|
|
5329
|
+
var createBody62 = joi103.object().keys(createBodyKeys61).messages(messages);
|
|
5292
5330
|
|
|
5293
5331
|
// src/modules/supply/documentLineRM/interface.ts
|
|
5294
|
-
var
|
|
5295
|
-
__export(
|
|
5296
|
-
Route: () =>
|
|
5332
|
+
var interface_exports57 = {};
|
|
5333
|
+
__export(interface_exports57, {
|
|
5334
|
+
Route: () => Route110
|
|
5297
5335
|
});
|
|
5298
|
-
var
|
|
5336
|
+
var Route110 = "document_line_rm";
|
|
5299
5337
|
|
|
5300
5338
|
// src/modules/supply/documentLineRM/route.schema.ts
|
|
5301
|
-
var
|
|
5302
|
-
__export(
|
|
5339
|
+
var route_schema_exports103 = {};
|
|
5340
|
+
__export(route_schema_exports103, {
|
|
5303
5341
|
updateBody: () => updateBody54
|
|
5304
5342
|
});
|
|
5305
|
-
import
|
|
5343
|
+
import joi104 from "joi";
|
|
5306
5344
|
var updateKeys = {
|
|
5307
|
-
document_line_ids:
|
|
5308
|
-
rm_order_by:
|
|
5309
|
-
rm_order_date:
|
|
5310
|
-
rm_execution_by:
|
|
5311
|
-
rm_execution_date:
|
|
5312
|
-
rm_execution_when:
|
|
5313
|
-
rm_sent_by:
|
|
5314
|
-
rm_sent_date:
|
|
5315
|
-
rm_done_by:
|
|
5316
|
-
rm_done_date:
|
|
5317
|
-
rm_checked_by:
|
|
5318
|
-
rm_checked_date:
|
|
5319
|
-
};
|
|
5320
|
-
var updateBody54 =
|
|
5345
|
+
document_line_ids: joi104.array().items(joi104.string().uuid().required()).required(),
|
|
5346
|
+
rm_order_by: joi104.string().uuid().optional().allow(null),
|
|
5347
|
+
rm_order_date: joi104.date().optional().allow(null),
|
|
5348
|
+
rm_execution_by: joi104.string().uuid().optional().allow(null),
|
|
5349
|
+
rm_execution_date: joi104.date().optional().allow(null),
|
|
5350
|
+
rm_execution_when: joi104.date().optional().allow(null),
|
|
5351
|
+
rm_sent_by: joi104.string().uuid().optional().allow(null),
|
|
5352
|
+
rm_sent_date: joi104.date().optional().allow(null),
|
|
5353
|
+
rm_done_by: joi104.string().uuid().optional().allow(null),
|
|
5354
|
+
rm_done_date: joi104.date().optional().allow(null),
|
|
5355
|
+
rm_checked_by: joi104.string().uuid().optional().allow(null),
|
|
5356
|
+
rm_checked_date: joi104.date().optional().allow(null)
|
|
5357
|
+
};
|
|
5358
|
+
var updateBody54 = joi104.object().keys(updateKeys).messages(messages);
|
|
5321
5359
|
|
|
5322
5360
|
// src/modules/supply/documentLineMT/interface.ts
|
|
5323
|
-
var
|
|
5324
|
-
__export(
|
|
5325
|
-
Route: () =>
|
|
5361
|
+
var interface_exports58 = {};
|
|
5362
|
+
__export(interface_exports58, {
|
|
5363
|
+
Route: () => Route111
|
|
5326
5364
|
});
|
|
5327
|
-
var
|
|
5365
|
+
var Route111 = "document_line_mt";
|
|
5328
5366
|
|
|
5329
5367
|
// src/modules/supply/documentLineMT/route.schema.ts
|
|
5330
|
-
var
|
|
5331
|
-
__export(
|
|
5368
|
+
var route_schema_exports104 = {};
|
|
5369
|
+
__export(route_schema_exports104, {
|
|
5332
5370
|
updateBody: () => updateBody55
|
|
5333
5371
|
});
|
|
5334
|
-
import
|
|
5372
|
+
import joi105 from "joi";
|
|
5335
5373
|
var updateKeys2 = {
|
|
5336
|
-
document_line_ids:
|
|
5337
|
-
mt_order_by:
|
|
5338
|
-
mt_order_date:
|
|
5339
|
-
mt_execution_by:
|
|
5340
|
-
mt_execution_date:
|
|
5341
|
-
mt_execution_when:
|
|
5342
|
-
mt_order_with_notification:
|
|
5374
|
+
document_line_ids: joi105.array().items(joi105.string().uuid().required()).required(),
|
|
5375
|
+
mt_order_by: joi105.string().uuid().optional().allow(null),
|
|
5376
|
+
mt_order_date: joi105.date().optional().allow(null),
|
|
5377
|
+
mt_execution_by: joi105.string().uuid().optional().allow(null),
|
|
5378
|
+
mt_execution_date: joi105.date().optional().allow(null),
|
|
5379
|
+
mt_execution_when: joi105.date().optional().allow(null),
|
|
5380
|
+
mt_order_with_notification: joi105.boolean().optional().default(false)
|
|
5343
5381
|
};
|
|
5344
|
-
var updateBody55 =
|
|
5382
|
+
var updateBody55 = joi105.object().keys(updateKeys2).messages(messages);
|
|
5345
5383
|
|
|
5346
5384
|
// src/modules/user/chatSubscribers/interfaces.ts
|
|
5347
5385
|
var interfaces_exports56 = {};
|
|
5348
5386
|
__export(interfaces_exports56, {
|
|
5349
|
-
Route: () =>
|
|
5387
|
+
Route: () => Route112
|
|
5350
5388
|
});
|
|
5351
|
-
var
|
|
5389
|
+
var Route112 = "chat_subscriber";
|
|
5352
5390
|
|
|
5353
5391
|
// src/modules/user/chatSubscribers/route.schema.ts
|
|
5354
|
-
var
|
|
5355
|
-
__export(
|
|
5392
|
+
var route_schema_exports105 = {};
|
|
5393
|
+
__export(route_schema_exports105, {
|
|
5356
5394
|
createOrUpdateBody: () => createOrUpdateBody2,
|
|
5357
5395
|
findDocumentHeaderSubscribersByLanguageQuery: () => findDocumentHeaderSubscribersByLanguageQuery,
|
|
5358
5396
|
findDocumentHeaderSubscribersQuery: () => findDocumentHeaderSubscribersQuery,
|
|
5359
5397
|
findSubscribedDocumentHeadersQuery: () => findSubscribedDocumentHeadersQuery
|
|
5360
5398
|
});
|
|
5361
|
-
import
|
|
5399
|
+
import joi106 from "joi";
|
|
5362
5400
|
var createOrUpdateBodyKeys2 = {
|
|
5363
|
-
chat_document_header_id:
|
|
5364
|
-
personas_ids:
|
|
5401
|
+
chat_document_header_id: joi106.string().uuid().required(),
|
|
5402
|
+
personas_ids: joi106.array().items(joi106.string().optional()).required()
|
|
5365
5403
|
};
|
|
5366
|
-
var createOrUpdateBody2 =
|
|
5404
|
+
var createOrUpdateBody2 = joi106.object().keys(createOrUpdateBodyKeys2).messages(messages);
|
|
5367
5405
|
var findDocumentHeaderSubscribersQueryKeys = {
|
|
5368
|
-
owner_id:
|
|
5369
|
-
chat_document_header_id:
|
|
5406
|
+
owner_id: joi106.string().uuid().optional(),
|
|
5407
|
+
chat_document_header_id: joi106.string().uuid().required()
|
|
5370
5408
|
};
|
|
5371
|
-
var findDocumentHeaderSubscribersQuery =
|
|
5372
|
-
var findDocumentHeaderSubscribersByLanguageQuery =
|
|
5373
|
-
chat_document_header_id:
|
|
5374
|
-
language_id:
|
|
5409
|
+
var findDocumentHeaderSubscribersQuery = joi106.object().keys(findDocumentHeaderSubscribersQueryKeys).messages(messages);
|
|
5410
|
+
var findDocumentHeaderSubscribersByLanguageQuery = joi106.object().keys({
|
|
5411
|
+
chat_document_header_id: joi106.string().uuid().required(),
|
|
5412
|
+
language_id: joi106.string().uuid().required()
|
|
5375
5413
|
}).messages(messages);
|
|
5376
5414
|
var findSubscribedDocumentHeadersQueryKeys = {
|
|
5377
|
-
owner_id:
|
|
5415
|
+
owner_id: joi106.string().uuid().required()
|
|
5378
5416
|
};
|
|
5379
|
-
var findSubscribedDocumentHeadersQuery =
|
|
5417
|
+
var findSubscribedDocumentHeadersQuery = joi106.object().keys(findSubscribedDocumentHeadersQueryKeys).messages(messages);
|
|
5380
5418
|
|
|
5381
5419
|
// src/modules/stock/tag/interface.ts
|
|
5382
|
-
var
|
|
5383
|
-
__export(
|
|
5420
|
+
var interface_exports59 = {};
|
|
5421
|
+
__export(interface_exports59, {
|
|
5384
5422
|
ITagType: () => ITagType,
|
|
5385
5423
|
ITagTypeEnum: () => ITagTypeEnum,
|
|
5386
|
-
Route: () =>
|
|
5424
|
+
Route: () => Route113
|
|
5387
5425
|
});
|
|
5388
|
-
var
|
|
5426
|
+
var Route113 = "tag";
|
|
5389
5427
|
var ITagTypeEnum = {
|
|
5390
5428
|
private: "private",
|
|
5391
5429
|
public: "public"
|
|
@@ -5393,102 +5431,102 @@ var ITagTypeEnum = {
|
|
|
5393
5431
|
var ITagType = Object.keys(ITagTypeEnum);
|
|
5394
5432
|
|
|
5395
5433
|
// src/modules/stock/tag/route.schema.ts
|
|
5396
|
-
var
|
|
5397
|
-
__export(
|
|
5434
|
+
var route_schema_exports106 = {};
|
|
5435
|
+
__export(route_schema_exports106, {
|
|
5398
5436
|
createBody: () => createBody63,
|
|
5399
5437
|
updateManyBody: () => updateManyBody3
|
|
5400
5438
|
});
|
|
5401
|
-
import
|
|
5439
|
+
import joi107 from "joi";
|
|
5402
5440
|
var createBodyKeys62 = {
|
|
5403
|
-
document_header_id:
|
|
5404
|
-
index:
|
|
5405
|
-
text:
|
|
5406
|
-
type:
|
|
5441
|
+
document_header_id: joi107.string().uuid().required(),
|
|
5442
|
+
index: joi107.number().allow(0).required(),
|
|
5443
|
+
text: joi107.string().required(),
|
|
5444
|
+
type: joi107.string().valid(...ITagType).required()
|
|
5407
5445
|
};
|
|
5408
|
-
var createBody63 =
|
|
5446
|
+
var createBody63 = joi107.object().keys(createBodyKeys62).messages(messages);
|
|
5409
5447
|
var updateManyBodyKeys2 = {
|
|
5410
|
-
id:
|
|
5411
|
-
index:
|
|
5412
|
-
type:
|
|
5448
|
+
id: joi107.string().uuid().required(),
|
|
5449
|
+
index: joi107.number().allow(0).optional(),
|
|
5450
|
+
type: joi107.string().valid(...ITagType).optional()
|
|
5413
5451
|
};
|
|
5414
|
-
var updateManyBody3 =
|
|
5452
|
+
var updateManyBody3 = joi107.array().items(joi107.object().keys(updateManyBodyKeys2)).messages(messages);
|
|
5415
5453
|
|
|
5416
5454
|
// src/modules/stock/gmails/interface.ts
|
|
5417
|
-
var interface_exports59 = {};
|
|
5418
|
-
__export(interface_exports59, {
|
|
5419
|
-
Route: () => Route113
|
|
5420
|
-
});
|
|
5421
|
-
var Route113 = "gmail";
|
|
5422
|
-
|
|
5423
|
-
// src/modules/document/NPF/interface.ts
|
|
5424
5455
|
var interface_exports60 = {};
|
|
5425
5456
|
__export(interface_exports60, {
|
|
5426
5457
|
Route: () => Route114
|
|
5427
5458
|
});
|
|
5428
|
-
var Route114 = "
|
|
5459
|
+
var Route114 = "gmail";
|
|
5460
|
+
|
|
5461
|
+
// src/modules/document/NPF/interface.ts
|
|
5462
|
+
var interface_exports61 = {};
|
|
5463
|
+
__export(interface_exports61, {
|
|
5464
|
+
Route: () => Route115
|
|
5465
|
+
});
|
|
5466
|
+
var Route115 = "npf";
|
|
5429
5467
|
|
|
5430
5468
|
// src/modules/document/NPF/route.schema.ts
|
|
5431
|
-
var
|
|
5432
|
-
__export(
|
|
5469
|
+
var route_schema_exports107 = {};
|
|
5470
|
+
__export(route_schema_exports107, {
|
|
5433
5471
|
providerPaymentBody: () => providerPaymentBody
|
|
5434
5472
|
});
|
|
5435
|
-
import
|
|
5473
|
+
import joi108 from "joi";
|
|
5436
5474
|
var providerPaymentDocumentKeys = {
|
|
5437
|
-
document_header_id:
|
|
5438
|
-
value:
|
|
5439
|
-
discount_value:
|
|
5440
|
-
is:
|
|
5441
|
-
then:
|
|
5442
|
-
otherwise:
|
|
5475
|
+
document_header_id: joi108.string().uuid().required(),
|
|
5476
|
+
value: joi108.number().required(),
|
|
5477
|
+
discount_value: joi108.number().optional().allow(0, "", null).when("value", {
|
|
5478
|
+
is: joi108.number().positive(),
|
|
5479
|
+
then: joi108.number().max(joi108.ref("value")),
|
|
5480
|
+
otherwise: joi108.number().min(joi108.ref("value"))
|
|
5443
5481
|
})
|
|
5444
5482
|
};
|
|
5445
|
-
var providerPaymentDocument =
|
|
5483
|
+
var providerPaymentDocument = joi108.object().keys(providerPaymentDocumentKeys).required();
|
|
5446
5484
|
var providerPaymentBodyKeys = {
|
|
5447
|
-
provider_id:
|
|
5448
|
-
client_id:
|
|
5449
|
-
documents:
|
|
5450
|
-
total:
|
|
5485
|
+
provider_id: joi108.string().uuid().required(),
|
|
5486
|
+
client_id: joi108.string().uuid().allow(null).optional(),
|
|
5487
|
+
documents: joi108.array().items(providerPaymentDocument).required(),
|
|
5488
|
+
total: joi108.number().positive().allow(0).required()
|
|
5451
5489
|
};
|
|
5452
|
-
var providerPaymentBody =
|
|
5490
|
+
var providerPaymentBody = joi108.array().items(joi108.object().keys(providerPaymentBodyKeys)).messages(messages);
|
|
5453
5491
|
|
|
5454
5492
|
// src/modules/document/NRCL/interface.ts
|
|
5455
|
-
var
|
|
5456
|
-
__export(
|
|
5457
|
-
Route: () =>
|
|
5493
|
+
var interface_exports62 = {};
|
|
5494
|
+
__export(interface_exports62, {
|
|
5495
|
+
Route: () => Route116
|
|
5458
5496
|
});
|
|
5459
|
-
var
|
|
5497
|
+
var Route116 = "document_header";
|
|
5460
5498
|
|
|
5461
5499
|
// src/modules/document/NRCL/route.schema.ts
|
|
5462
|
-
var
|
|
5463
|
-
__export(
|
|
5500
|
+
var route_schema_exports108 = {};
|
|
5501
|
+
__export(route_schema_exports108, {
|
|
5464
5502
|
regularizarMultiplosBody: () => regularizarMultiplosBody
|
|
5465
5503
|
});
|
|
5466
|
-
import
|
|
5504
|
+
import joi109 from "joi";
|
|
5467
5505
|
var multipleDocumentsBodyKeys = {
|
|
5468
|
-
owner_id:
|
|
5469
|
-
document_header_id:
|
|
5470
|
-
type:
|
|
5471
|
-
value:
|
|
5506
|
+
owner_id: joi109.string().uuid().required(),
|
|
5507
|
+
document_header_id: joi109.string().uuid().required(),
|
|
5508
|
+
type: joi109.string().valid("credit", "debit").required(),
|
|
5509
|
+
value: joi109.number().positive().required()
|
|
5472
5510
|
};
|
|
5473
5511
|
var multiplePaymentsBodyKeys = {
|
|
5474
|
-
value:
|
|
5475
|
-
payment_method_id:
|
|
5476
|
-
payment_method:
|
|
5512
|
+
value: joi109.number().positive().required(),
|
|
5513
|
+
payment_method_id: joi109.string().uuid().required(),
|
|
5514
|
+
payment_method: joi109.string().required()
|
|
5477
5515
|
};
|
|
5478
5516
|
var regularizarMultiplosBodyKeys = {
|
|
5479
|
-
documents:
|
|
5480
|
-
payments:
|
|
5517
|
+
documents: joi109.array().items(multipleDocumentsBodyKeys).required(),
|
|
5518
|
+
payments: joi109.array().items(multiplePaymentsBodyKeys).optional()
|
|
5481
5519
|
};
|
|
5482
|
-
var regularizarMultiplosBody =
|
|
5520
|
+
var regularizarMultiplosBody = joi109.object().keys(regularizarMultiplosBodyKeys).messages(messages);
|
|
5483
5521
|
|
|
5484
5522
|
// src/modules/supply/currentAccount/interface.ts
|
|
5485
|
-
var
|
|
5486
|
-
__export(
|
|
5523
|
+
var interface_exports63 = {};
|
|
5524
|
+
__export(interface_exports63, {
|
|
5487
5525
|
IExportCurrentAccountOutputEnum: () => IExportCurrentAccountOutputEnum,
|
|
5488
5526
|
IExportCurrentAccountOutputOptions: () => IExportCurrentAccountOutputOptions,
|
|
5489
|
-
Route: () =>
|
|
5527
|
+
Route: () => Route117
|
|
5490
5528
|
});
|
|
5491
|
-
var
|
|
5529
|
+
var Route117 = "current_account";
|
|
5492
5530
|
var IExportCurrentAccountOutputEnum = {
|
|
5493
5531
|
csv: "csv",
|
|
5494
5532
|
pdf: "pdf"
|
|
@@ -5496,8 +5534,8 @@ var IExportCurrentAccountOutputEnum = {
|
|
|
5496
5534
|
var IExportCurrentAccountOutputOptions = Object.keys(IExportCurrentAccountOutputEnum);
|
|
5497
5535
|
|
|
5498
5536
|
// src/modules/supply/currentAccount/route.schema.ts
|
|
5499
|
-
var
|
|
5500
|
-
__export(
|
|
5537
|
+
var route_schema_exports109 = {};
|
|
5538
|
+
__export(route_schema_exports109, {
|
|
5501
5539
|
exportCurrentAccountBetweenDatesQuery: () => exportCurrentAccountBetweenDatesQuery,
|
|
5502
5540
|
exportPaymentsBody: () => exportPaymentsBody,
|
|
5503
5541
|
findPaymentsNotExportedQuery: () => findPaymentsNotExportedQuery,
|
|
@@ -5506,72 +5544,72 @@ __export(route_schema_exports108, {
|
|
|
5506
5544
|
findSettledMaterialEntranceQuery: () => findSettledMaterialEntranceQuery2,
|
|
5507
5545
|
findWithPaginationQuery: () => findWithPaginationQuery27
|
|
5508
5546
|
});
|
|
5509
|
-
import
|
|
5547
|
+
import joi110 from "joi";
|
|
5510
5548
|
var findQueryKeys31 = {};
|
|
5511
|
-
var findQuery33 =
|
|
5549
|
+
var findQuery33 = joi110.object().keys(findQueryKeys31).messages(messages);
|
|
5512
5550
|
var findWithPaginationQueryKeys28 = {
|
|
5513
|
-
per_page:
|
|
5514
|
-
current_page:
|
|
5551
|
+
per_page: joi110.number().integer().positive().default(10).optional(),
|
|
5552
|
+
current_page: joi110.number().integer().positive().default(1).optional()
|
|
5515
5553
|
};
|
|
5516
|
-
var findWithPaginationQuery27 =
|
|
5554
|
+
var findWithPaginationQuery27 = joi110.object().keys(findWithPaginationQueryKeys28).messages(messages);
|
|
5517
5555
|
var findSettledMaterialEntranceQueryKeys2 = {
|
|
5518
|
-
provider_id:
|
|
5519
|
-
client_id:
|
|
5556
|
+
provider_id: joi110.string().uuid().required(),
|
|
5557
|
+
client_id: joi110.string().uuid().allow(null).required()
|
|
5520
5558
|
};
|
|
5521
|
-
var findSettledMaterialEntranceQuery2 =
|
|
5559
|
+
var findSettledMaterialEntranceQuery2 = joi110.object().keys(findSettledMaterialEntranceQueryKeys2).messages(messages);
|
|
5522
5560
|
var exportPaymentsBodyKeys = {
|
|
5523
|
-
value:
|
|
5524
|
-
provider:
|
|
5525
|
-
npf_ids:
|
|
5561
|
+
value: joi110.number().positive().required(),
|
|
5562
|
+
provider: joi110.string().required(),
|
|
5563
|
+
npf_ids: joi110.array().items(joi110.string().uuid().required()).optional()
|
|
5526
5564
|
};
|
|
5527
|
-
var exportPaymentsBody =
|
|
5565
|
+
var exportPaymentsBody = joi110.array().items(joi110.object().keys(exportPaymentsBodyKeys)).messages(messages);
|
|
5528
5566
|
var exportCurrentAccountBetweenDatesQueryKeys = {
|
|
5529
|
-
owner_id:
|
|
5530
|
-
output:
|
|
5531
|
-
start_date:
|
|
5532
|
-
end_date:
|
|
5533
|
-
token:
|
|
5567
|
+
owner_id: joi110.string().required(),
|
|
5568
|
+
output: joi110.string().valid(...IExportCurrentAccountOutputOptions).required(),
|
|
5569
|
+
start_date: joi110.string().optional(),
|
|
5570
|
+
end_date: joi110.string().optional(),
|
|
5571
|
+
token: joi110.string().required()
|
|
5534
5572
|
};
|
|
5535
|
-
var exportCurrentAccountBetweenDatesQuery =
|
|
5573
|
+
var exportCurrentAccountBetweenDatesQuery = joi110.object().keys(exportCurrentAccountBetweenDatesQueryKeys).messages(messages);
|
|
5536
5574
|
var findSettledMaterialEntranceBuDateParamsKeys2 = {
|
|
5537
|
-
due_date:
|
|
5575
|
+
due_date: joi110.string().optional()
|
|
5538
5576
|
};
|
|
5539
|
-
var findSettledMaterialEntranceBuDateParams2 =
|
|
5540
|
-
var findPaymentsNotExportedQuery =
|
|
5541
|
-
whiteList:
|
|
5577
|
+
var findSettledMaterialEntranceBuDateParams2 = joi110.object().keys(findSettledMaterialEntranceBuDateParamsKeys2).messages(messages);
|
|
5578
|
+
var findPaymentsNotExportedQuery = joi110.object().keys({
|
|
5579
|
+
whiteList: joi110.array().items(joi110.string().uuid().required()).optional()
|
|
5542
5580
|
}).messages(messages);
|
|
5543
5581
|
|
|
5544
5582
|
// src/modules/supply/paymentBatch/interface.ts
|
|
5545
|
-
var
|
|
5546
|
-
__export(
|
|
5547
|
-
Route: () =>
|
|
5583
|
+
var interface_exports64 = {};
|
|
5584
|
+
__export(interface_exports64, {
|
|
5585
|
+
Route: () => Route118
|
|
5548
5586
|
});
|
|
5549
|
-
var
|
|
5587
|
+
var Route118 = "payment_batch";
|
|
5550
5588
|
|
|
5551
5589
|
// src/modules/supply/paymentBatch/route.schema.ts
|
|
5552
|
-
var
|
|
5553
|
-
__export(
|
|
5590
|
+
var route_schema_exports110 = {};
|
|
5591
|
+
__export(route_schema_exports110, {
|
|
5554
5592
|
exportPaymentsBody: () => exportPaymentsBody2,
|
|
5555
5593
|
findPaymentsNotExportedQuery: () => findPaymentsNotExportedQuery2
|
|
5556
5594
|
});
|
|
5557
|
-
import
|
|
5595
|
+
import joi111 from "joi";
|
|
5558
5596
|
var exportPaymentsBodyKeys2 = {
|
|
5559
|
-
value:
|
|
5560
|
-
provider:
|
|
5561
|
-
npf_ids:
|
|
5597
|
+
value: joi111.number().positive().required(),
|
|
5598
|
+
provider: joi111.string().required(),
|
|
5599
|
+
npf_ids: joi111.array().items(joi111.string().uuid().required()).optional()
|
|
5562
5600
|
};
|
|
5563
|
-
var exportPaymentsBody2 =
|
|
5564
|
-
var findPaymentsNotExportedQuery2 =
|
|
5565
|
-
whiteList:
|
|
5601
|
+
var exportPaymentsBody2 = joi111.array().items(joi111.object().keys(exportPaymentsBodyKeys2)).messages(messages);
|
|
5602
|
+
var findPaymentsNotExportedQuery2 = joi111.object().keys({
|
|
5603
|
+
whiteList: joi111.array().items(joi111.string().uuid().required()).optional()
|
|
5566
5604
|
}).messages(messages);
|
|
5567
5605
|
|
|
5568
5606
|
// src/modules/ui/portal/interface.ts
|
|
5569
|
-
var
|
|
5570
|
-
__export(
|
|
5607
|
+
var interface_exports65 = {};
|
|
5608
|
+
__export(interface_exports65, {
|
|
5571
5609
|
IPublicDocumentHeaderNoteType: () => IPublicDocumentHeaderNoteType,
|
|
5572
|
-
Route: () =>
|
|
5610
|
+
Route: () => Route119
|
|
5573
5611
|
});
|
|
5574
|
-
var
|
|
5612
|
+
var Route119 = "portal";
|
|
5575
5613
|
var IPublicDocumentHeaderNoteType = /* @__PURE__ */ ((IPublicDocumentHeaderNoteType2) => {
|
|
5576
5614
|
IPublicDocumentHeaderNoteType2["Provider"] = "Provider";
|
|
5577
5615
|
IPublicDocumentHeaderNoteType2["Client"] = "Client";
|
|
@@ -5579,161 +5617,161 @@ var IPublicDocumentHeaderNoteType = /* @__PURE__ */ ((IPublicDocumentHeaderNoteT
|
|
|
5579
5617
|
})(IPublicDocumentHeaderNoteType || {});
|
|
5580
5618
|
|
|
5581
5619
|
// src/modules/ui/portal/route.schema.ts
|
|
5582
|
-
var
|
|
5583
|
-
__export(
|
|
5620
|
+
var route_schema_exports111 = {};
|
|
5621
|
+
__export(route_schema_exports111, {
|
|
5584
5622
|
createNoteBody: () => createNoteBody,
|
|
5585
5623
|
updateNoteBody: () => updateNoteBody
|
|
5586
5624
|
});
|
|
5587
|
-
import
|
|
5625
|
+
import joi112 from "joi";
|
|
5588
5626
|
var createNoteBodyKeys = {
|
|
5589
|
-
document_header_id:
|
|
5590
|
-
note:
|
|
5591
|
-
type:
|
|
5627
|
+
document_header_id: joi112.string().uuid().required(),
|
|
5628
|
+
note: joi112.string().required(),
|
|
5629
|
+
type: joi112.string().required().valid("Client", "Provider")
|
|
5592
5630
|
};
|
|
5593
|
-
var createNoteBody =
|
|
5631
|
+
var createNoteBody = joi112.object().keys(createNoteBodyKeys).messages(messages);
|
|
5594
5632
|
var updateNoteBodyKeys = {
|
|
5595
|
-
note:
|
|
5633
|
+
note: joi112.string().required().allow("")
|
|
5596
5634
|
};
|
|
5597
|
-
var updateNoteBody =
|
|
5635
|
+
var updateNoteBody = joi112.object().keys(updateNoteBodyKeys).messages(messages);
|
|
5598
5636
|
|
|
5599
5637
|
// src/modules/stock/googleSheetPool/interface.ts
|
|
5600
|
-
var interface_exports65 = {};
|
|
5601
|
-
__export(interface_exports65, {
|
|
5602
|
-
Route: () => Route119
|
|
5603
|
-
});
|
|
5604
|
-
var Route119 = "google_sheet_pool";
|
|
5605
|
-
|
|
5606
|
-
// src/modules/stock/accountCode/interface.ts
|
|
5607
5638
|
var interface_exports66 = {};
|
|
5608
5639
|
__export(interface_exports66, {
|
|
5609
5640
|
Route: () => Route120
|
|
5610
5641
|
});
|
|
5611
|
-
var Route120 = "
|
|
5642
|
+
var Route120 = "google_sheet_pool";
|
|
5643
|
+
|
|
5644
|
+
// src/modules/stock/accountCode/interface.ts
|
|
5645
|
+
var interface_exports67 = {};
|
|
5646
|
+
__export(interface_exports67, {
|
|
5647
|
+
Route: () => Route121
|
|
5648
|
+
});
|
|
5649
|
+
var Route121 = "account_code";
|
|
5612
5650
|
|
|
5613
5651
|
// src/modules/stock/accountCode/route.schema.ts
|
|
5614
|
-
var
|
|
5615
|
-
__export(
|
|
5652
|
+
var route_schema_exports112 = {};
|
|
5653
|
+
__export(route_schema_exports112, {
|
|
5616
5654
|
findByCode: () => findByCode
|
|
5617
5655
|
});
|
|
5618
|
-
import
|
|
5656
|
+
import joi113 from "joi";
|
|
5619
5657
|
var findByCodeParams = {
|
|
5620
|
-
code:
|
|
5658
|
+
code: joi113.string().required()
|
|
5621
5659
|
};
|
|
5622
|
-
var findByCode =
|
|
5660
|
+
var findByCode = joi113.object().keys(findByCodeParams).messages(messages);
|
|
5623
5661
|
|
|
5624
5662
|
// src/modules/llm/llm/interfaces.ts
|
|
5625
5663
|
var interfaces_exports57 = {};
|
|
5626
5664
|
__export(interfaces_exports57, {
|
|
5627
|
-
Route: () =>
|
|
5665
|
+
Route: () => Route122
|
|
5628
5666
|
});
|
|
5629
|
-
var
|
|
5667
|
+
var Route122 = "llm";
|
|
5630
5668
|
|
|
5631
5669
|
// src/modules/llm/llm/route.schema.ts
|
|
5632
|
-
var
|
|
5633
|
-
__export(
|
|
5670
|
+
var route_schema_exports113 = {};
|
|
5671
|
+
__export(route_schema_exports113, {
|
|
5634
5672
|
identifyLanguageSchema: () => identifyLanguageSchema,
|
|
5635
5673
|
promptBody: () => promptBody,
|
|
5636
5674
|
translateSchema: () => translateSchema
|
|
5637
5675
|
});
|
|
5638
|
-
import
|
|
5676
|
+
import joi114 from "joi";
|
|
5639
5677
|
var promptBodyKeys = {
|
|
5640
|
-
prompt:
|
|
5641
|
-
owner_id:
|
|
5642
|
-
document_header_id:
|
|
5678
|
+
prompt: joi114.string().required(),
|
|
5679
|
+
owner_id: joi114.string().required(),
|
|
5680
|
+
document_header_id: joi114.string().required()
|
|
5643
5681
|
};
|
|
5644
|
-
var promptBody =
|
|
5645
|
-
var translateSchema =
|
|
5646
|
-
message:
|
|
5647
|
-
target_language:
|
|
5682
|
+
var promptBody = joi114.object().keys(promptBodyKeys).messages(messages);
|
|
5683
|
+
var translateSchema = joi114.object({
|
|
5684
|
+
message: joi114.string().required(),
|
|
5685
|
+
target_language: joi114.string().required()
|
|
5648
5686
|
});
|
|
5649
|
-
var identifyLanguageSchema =
|
|
5650
|
-
message:
|
|
5687
|
+
var identifyLanguageSchema = joi114.object({
|
|
5688
|
+
message: joi114.string().required()
|
|
5651
5689
|
});
|
|
5652
5690
|
|
|
5653
5691
|
// src/modules/integration/patchNotes/interfaces.ts
|
|
5654
5692
|
var interfaces_exports58 = {};
|
|
5655
5693
|
__export(interfaces_exports58, {
|
|
5656
|
-
Route: () =>
|
|
5694
|
+
Route: () => Route123
|
|
5657
5695
|
});
|
|
5658
|
-
var
|
|
5696
|
+
var Route123 = "patch_notes";
|
|
5659
5697
|
|
|
5660
5698
|
// src/modules/supply/documentHeaderSurvey/interfaces.ts
|
|
5661
5699
|
var interfaces_exports59 = {};
|
|
5662
5700
|
__export(interfaces_exports59, {
|
|
5663
|
-
Route: () =>
|
|
5701
|
+
Route: () => Route124
|
|
5664
5702
|
});
|
|
5665
|
-
var
|
|
5703
|
+
var Route124 = "document_header_survey";
|
|
5666
5704
|
|
|
5667
5705
|
// src/modules/supply/documentHeaderSurvey/route.schema.ts
|
|
5668
|
-
var
|
|
5669
|
-
__export(
|
|
5706
|
+
var route_schema_exports114 = {};
|
|
5707
|
+
__export(route_schema_exports114, {
|
|
5670
5708
|
updateSentBody: () => updateSentBody,
|
|
5671
5709
|
updateSurveyBody: () => updateSurveyBody
|
|
5672
5710
|
});
|
|
5673
|
-
import
|
|
5711
|
+
import joi115 from "joi";
|
|
5674
5712
|
var updateSentBodyKeys = {
|
|
5675
|
-
document_header_id:
|
|
5676
|
-
persona_id:
|
|
5713
|
+
document_header_id: joi115.string().uuid().required(),
|
|
5714
|
+
persona_id: joi115.string().uuid().required()
|
|
5677
5715
|
};
|
|
5678
|
-
var updateSentBody =
|
|
5716
|
+
var updateSentBody = joi115.object().keys(updateSentBodyKeys).messages(messages);
|
|
5679
5717
|
var updateSurveyBodyKeys = {
|
|
5680
|
-
document_header_id:
|
|
5681
|
-
persona_id:
|
|
5682
|
-
data:
|
|
5718
|
+
document_header_id: joi115.string().uuid().required(),
|
|
5719
|
+
persona_id: joi115.string().uuid().required(),
|
|
5720
|
+
data: joi115.object().keys({}).required()
|
|
5683
5721
|
};
|
|
5684
|
-
var updateSurveyBody =
|
|
5722
|
+
var updateSurveyBody = joi115.object().keys(updateSurveyBodyKeys).messages(messages);
|
|
5685
5723
|
|
|
5686
5724
|
// src/modules/supply/documentHeaderSubscriber/interface.ts
|
|
5687
|
-
var
|
|
5688
|
-
__export(
|
|
5689
|
-
Route: () =>
|
|
5725
|
+
var interface_exports68 = {};
|
|
5726
|
+
__export(interface_exports68, {
|
|
5727
|
+
Route: () => Route125
|
|
5690
5728
|
});
|
|
5691
|
-
var
|
|
5729
|
+
var Route125 = "document_header_subscriber";
|
|
5692
5730
|
|
|
5693
5731
|
// src/modules/supply/documentHeaderSubscriber/route.schema.ts
|
|
5694
|
-
var
|
|
5695
|
-
__export(
|
|
5732
|
+
var route_schema_exports115 = {};
|
|
5733
|
+
__export(route_schema_exports115, {
|
|
5696
5734
|
createBody: () => createBody64
|
|
5697
5735
|
});
|
|
5698
|
-
import
|
|
5736
|
+
import joi116 from "joi";
|
|
5699
5737
|
var createBodyKeys63 = {
|
|
5700
|
-
document_header_id:
|
|
5701
|
-
store_operator_id:
|
|
5738
|
+
document_header_id: joi116.string().uuid().required(),
|
|
5739
|
+
store_operator_id: joi116.string().uuid().required()
|
|
5702
5740
|
};
|
|
5703
|
-
var createBody64 =
|
|
5741
|
+
var createBody64 = joi116.object().keys(createBodyKeys63).messages(messages);
|
|
5704
5742
|
|
|
5705
5743
|
// src/modules/stock/googleCalendar/interface.ts
|
|
5706
|
-
var
|
|
5707
|
-
__export(
|
|
5708
|
-
Route: () =>
|
|
5744
|
+
var interface_exports69 = {};
|
|
5745
|
+
__export(interface_exports69, {
|
|
5746
|
+
Route: () => Route126
|
|
5709
5747
|
});
|
|
5710
|
-
var
|
|
5748
|
+
var Route126 = "google_calendar";
|
|
5711
5749
|
|
|
5712
5750
|
// src/modules/stock/googleCalendar/route.schema.ts
|
|
5713
|
-
var
|
|
5714
|
-
__export(
|
|
5751
|
+
var route_schema_exports116 = {};
|
|
5752
|
+
__export(route_schema_exports116, {
|
|
5715
5753
|
listEventsInRangeQuery: () => listEventsInRangeQuery
|
|
5716
5754
|
});
|
|
5717
|
-
import
|
|
5718
|
-
var listEventsInRangeQuery =
|
|
5719
|
-
calendarId:
|
|
5720
|
-
from:
|
|
5721
|
-
to:
|
|
5755
|
+
import joi117 from "joi";
|
|
5756
|
+
var listEventsInRangeQuery = joi117.object().keys({
|
|
5757
|
+
calendarId: joi117.string().required(),
|
|
5758
|
+
from: joi117.string().required(),
|
|
5759
|
+
to: joi117.string().required()
|
|
5722
5760
|
}).messages(messages);
|
|
5723
5761
|
|
|
5724
5762
|
// src/modules/view/webSocket/interfaces.ts
|
|
5725
5763
|
var interfaces_exports60 = {};
|
|
5726
5764
|
__export(interfaces_exports60, {
|
|
5727
|
-
Route: () =>
|
|
5765
|
+
Route: () => Route127
|
|
5728
5766
|
});
|
|
5729
|
-
var
|
|
5767
|
+
var Route127 = "ws";
|
|
5730
5768
|
|
|
5731
5769
|
// src/modules/stock/productLocation/interface.ts
|
|
5732
|
-
var
|
|
5733
|
-
__export(
|
|
5734
|
-
Route: () =>
|
|
5770
|
+
var interface_exports70 = {};
|
|
5771
|
+
__export(interface_exports70, {
|
|
5772
|
+
Route: () => Route128
|
|
5735
5773
|
});
|
|
5736
|
-
var
|
|
5774
|
+
var Route128 = "product_location";
|
|
5737
5775
|
|
|
5738
5776
|
// src/index.ts
|
|
5739
5777
|
var index_default = main_exports;
|