@nomalism-com/types 0.45.39 → 0.45.41
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 +318 -278
- package/dist/index.js +318 -278
- package/dist/main.d.ts +3 -1
- package/dist/modules/ui/sidemenuHighlight/interface.d.ts +34 -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.cjs
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,58 @@ 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
|
+
highlightValueSeparator: () => highlightValueSeparator,
|
|
5253
|
+
parseHighlightValue: () => parseHighlightValue
|
|
5254
|
+
});
|
|
5255
|
+
var Route107 = "sidemenu_highlight";
|
|
5256
|
+
var highlightValueSeparator = "|:|";
|
|
5257
|
+
var buildHighlightValue = (item) => `${item.user_type}${highlightValueSeparator}${item.state}`;
|
|
5258
|
+
var parseHighlightValue = (value) => {
|
|
5259
|
+
const idx = value.indexOf(highlightValueSeparator);
|
|
5260
|
+
if (idx < 0) return null;
|
|
5261
|
+
return {
|
|
5262
|
+
user_type: value.slice(0, idx),
|
|
5263
|
+
state: value.slice(idx + highlightValueSeparator.length)
|
|
5264
|
+
};
|
|
5265
|
+
};
|
|
5266
|
+
|
|
5267
|
+
// src/modules/ui/sidemenuHighlight/route.schema.ts
|
|
5268
|
+
var route_schema_exports101 = {};
|
|
5269
|
+
__export(route_schema_exports101, {
|
|
5270
|
+
findByStoreOperatorIdParam: () => findByStoreOperatorIdParam2,
|
|
5271
|
+
setStoreOperatorHighlightsBody: () => setStoreOperatorHighlightsBody
|
|
5272
|
+
});
|
|
5273
|
+
import joi102 from "joi";
|
|
5274
|
+
var findByStoreOperatorIdParamKeys2 = {
|
|
5275
|
+
store_operator_id: joi102.string().uuid().required()
|
|
5276
|
+
};
|
|
5277
|
+
var findByStoreOperatorIdParam2 = joi102.object().keys(findByStoreOperatorIdParamKeys2).messages(messages);
|
|
5278
|
+
var setStoreOperatorHighlightsBodyKeys = {
|
|
5279
|
+
store_operator_id: joi102.string().uuid().required(),
|
|
5280
|
+
values: joi102.array().items(joi102.string().min(1)).required()
|
|
5281
|
+
};
|
|
5282
|
+
var setStoreOperatorHighlightsBody = joi102.object().keys(setStoreOperatorHighlightsBodyKeys).messages(messages);
|
|
5283
|
+
|
|
5244
5284
|
// src/modules/view/adminPanel/interfaces.ts
|
|
5245
5285
|
var interfaces_exports54 = {};
|
|
5246
5286
|
__export(interfaces_exports54, {
|
|
5247
|
-
Route: () =>
|
|
5287
|
+
Route: () => Route108
|
|
5248
5288
|
});
|
|
5249
|
-
var
|
|
5289
|
+
var Route108 = "admin_panel";
|
|
5250
5290
|
|
|
5251
5291
|
// src/modules/view/errorLog/interfaces.ts
|
|
5252
5292
|
var interfaces_exports55 = {};
|
|
5253
5293
|
__export(interfaces_exports55, {
|
|
5254
5294
|
IErrorTypeEnum: () => IErrorTypeEnum,
|
|
5255
|
-
Route: () =>
|
|
5295
|
+
Route: () => Route109,
|
|
5256
5296
|
errorTypes: () => errorTypes
|
|
5257
5297
|
});
|
|
5258
|
-
var
|
|
5298
|
+
var Route109 = "error_log";
|
|
5259
5299
|
var IErrorTypeEnum = {
|
|
5260
5300
|
prisma: "prisma",
|
|
5261
5301
|
unhandled: "unhandled",
|
|
@@ -5268,124 +5308,124 @@ var IErrorTypeEnum = {
|
|
|
5268
5308
|
var errorTypes = Object.keys(IErrorTypeEnum);
|
|
5269
5309
|
|
|
5270
5310
|
// src/modules/view/errorLog/route.schema.ts
|
|
5271
|
-
var
|
|
5272
|
-
__export(
|
|
5311
|
+
var route_schema_exports102 = {};
|
|
5312
|
+
__export(route_schema_exports102, {
|
|
5273
5313
|
createBody: () => createBody62
|
|
5274
5314
|
});
|
|
5275
|
-
import
|
|
5315
|
+
import joi103 from "joi";
|
|
5276
5316
|
var createBodyKeys61 = {
|
|
5277
|
-
error:
|
|
5278
|
-
name:
|
|
5279
|
-
message:
|
|
5280
|
-
stack:
|
|
5317
|
+
error: joi103.object({
|
|
5318
|
+
name: joi103.string().required(),
|
|
5319
|
+
message: joi103.string().required(),
|
|
5320
|
+
stack: joi103.string().optional()
|
|
5281
5321
|
}),
|
|
5282
|
-
request:
|
|
5283
|
-
url:
|
|
5284
|
-
body:
|
|
5285
|
-
query:
|
|
5286
|
-
params:
|
|
5322
|
+
request: joi103.object({
|
|
5323
|
+
url: joi103.string().required(),
|
|
5324
|
+
body: joi103.any().optional(),
|
|
5325
|
+
query: joi103.any().optional(),
|
|
5326
|
+
params: joi103.any().optional()
|
|
5287
5327
|
}),
|
|
5288
|
-
service:
|
|
5289
|
-
type:
|
|
5328
|
+
service: joi103.string().required(),
|
|
5329
|
+
type: joi103.string().valid(...errorTypes).required()
|
|
5290
5330
|
};
|
|
5291
|
-
var createBody62 =
|
|
5331
|
+
var createBody62 = joi103.object().keys(createBodyKeys61).messages(messages);
|
|
5292
5332
|
|
|
5293
5333
|
// src/modules/supply/documentLineRM/interface.ts
|
|
5294
|
-
var
|
|
5295
|
-
__export(
|
|
5296
|
-
Route: () =>
|
|
5334
|
+
var interface_exports57 = {};
|
|
5335
|
+
__export(interface_exports57, {
|
|
5336
|
+
Route: () => Route110
|
|
5297
5337
|
});
|
|
5298
|
-
var
|
|
5338
|
+
var Route110 = "document_line_rm";
|
|
5299
5339
|
|
|
5300
5340
|
// src/modules/supply/documentLineRM/route.schema.ts
|
|
5301
|
-
var
|
|
5302
|
-
__export(
|
|
5341
|
+
var route_schema_exports103 = {};
|
|
5342
|
+
__export(route_schema_exports103, {
|
|
5303
5343
|
updateBody: () => updateBody54
|
|
5304
5344
|
});
|
|
5305
|
-
import
|
|
5345
|
+
import joi104 from "joi";
|
|
5306
5346
|
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 =
|
|
5347
|
+
document_line_ids: joi104.array().items(joi104.string().uuid().required()).required(),
|
|
5348
|
+
rm_order_by: joi104.string().uuid().optional().allow(null),
|
|
5349
|
+
rm_order_date: joi104.date().optional().allow(null),
|
|
5350
|
+
rm_execution_by: joi104.string().uuid().optional().allow(null),
|
|
5351
|
+
rm_execution_date: joi104.date().optional().allow(null),
|
|
5352
|
+
rm_execution_when: joi104.date().optional().allow(null),
|
|
5353
|
+
rm_sent_by: joi104.string().uuid().optional().allow(null),
|
|
5354
|
+
rm_sent_date: joi104.date().optional().allow(null),
|
|
5355
|
+
rm_done_by: joi104.string().uuid().optional().allow(null),
|
|
5356
|
+
rm_done_date: joi104.date().optional().allow(null),
|
|
5357
|
+
rm_checked_by: joi104.string().uuid().optional().allow(null),
|
|
5358
|
+
rm_checked_date: joi104.date().optional().allow(null)
|
|
5359
|
+
};
|
|
5360
|
+
var updateBody54 = joi104.object().keys(updateKeys).messages(messages);
|
|
5321
5361
|
|
|
5322
5362
|
// src/modules/supply/documentLineMT/interface.ts
|
|
5323
|
-
var
|
|
5324
|
-
__export(
|
|
5325
|
-
Route: () =>
|
|
5363
|
+
var interface_exports58 = {};
|
|
5364
|
+
__export(interface_exports58, {
|
|
5365
|
+
Route: () => Route111
|
|
5326
5366
|
});
|
|
5327
|
-
var
|
|
5367
|
+
var Route111 = "document_line_mt";
|
|
5328
5368
|
|
|
5329
5369
|
// src/modules/supply/documentLineMT/route.schema.ts
|
|
5330
|
-
var
|
|
5331
|
-
__export(
|
|
5370
|
+
var route_schema_exports104 = {};
|
|
5371
|
+
__export(route_schema_exports104, {
|
|
5332
5372
|
updateBody: () => updateBody55
|
|
5333
5373
|
});
|
|
5334
|
-
import
|
|
5374
|
+
import joi105 from "joi";
|
|
5335
5375
|
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:
|
|
5376
|
+
document_line_ids: joi105.array().items(joi105.string().uuid().required()).required(),
|
|
5377
|
+
mt_order_by: joi105.string().uuid().optional().allow(null),
|
|
5378
|
+
mt_order_date: joi105.date().optional().allow(null),
|
|
5379
|
+
mt_execution_by: joi105.string().uuid().optional().allow(null),
|
|
5380
|
+
mt_execution_date: joi105.date().optional().allow(null),
|
|
5381
|
+
mt_execution_when: joi105.date().optional().allow(null),
|
|
5382
|
+
mt_order_with_notification: joi105.boolean().optional().default(false)
|
|
5343
5383
|
};
|
|
5344
|
-
var updateBody55 =
|
|
5384
|
+
var updateBody55 = joi105.object().keys(updateKeys2).messages(messages);
|
|
5345
5385
|
|
|
5346
5386
|
// src/modules/user/chatSubscribers/interfaces.ts
|
|
5347
5387
|
var interfaces_exports56 = {};
|
|
5348
5388
|
__export(interfaces_exports56, {
|
|
5349
|
-
Route: () =>
|
|
5389
|
+
Route: () => Route112
|
|
5350
5390
|
});
|
|
5351
|
-
var
|
|
5391
|
+
var Route112 = "chat_subscriber";
|
|
5352
5392
|
|
|
5353
5393
|
// src/modules/user/chatSubscribers/route.schema.ts
|
|
5354
|
-
var
|
|
5355
|
-
__export(
|
|
5394
|
+
var route_schema_exports105 = {};
|
|
5395
|
+
__export(route_schema_exports105, {
|
|
5356
5396
|
createOrUpdateBody: () => createOrUpdateBody2,
|
|
5357
5397
|
findDocumentHeaderSubscribersByLanguageQuery: () => findDocumentHeaderSubscribersByLanguageQuery,
|
|
5358
5398
|
findDocumentHeaderSubscribersQuery: () => findDocumentHeaderSubscribersQuery,
|
|
5359
5399
|
findSubscribedDocumentHeadersQuery: () => findSubscribedDocumentHeadersQuery
|
|
5360
5400
|
});
|
|
5361
|
-
import
|
|
5401
|
+
import joi106 from "joi";
|
|
5362
5402
|
var createOrUpdateBodyKeys2 = {
|
|
5363
|
-
chat_document_header_id:
|
|
5364
|
-
personas_ids:
|
|
5403
|
+
chat_document_header_id: joi106.string().uuid().required(),
|
|
5404
|
+
personas_ids: joi106.array().items(joi106.string().optional()).required()
|
|
5365
5405
|
};
|
|
5366
|
-
var createOrUpdateBody2 =
|
|
5406
|
+
var createOrUpdateBody2 = joi106.object().keys(createOrUpdateBodyKeys2).messages(messages);
|
|
5367
5407
|
var findDocumentHeaderSubscribersQueryKeys = {
|
|
5368
|
-
owner_id:
|
|
5369
|
-
chat_document_header_id:
|
|
5408
|
+
owner_id: joi106.string().uuid().optional(),
|
|
5409
|
+
chat_document_header_id: joi106.string().uuid().required()
|
|
5370
5410
|
};
|
|
5371
|
-
var findDocumentHeaderSubscribersQuery =
|
|
5372
|
-
var findDocumentHeaderSubscribersByLanguageQuery =
|
|
5373
|
-
chat_document_header_id:
|
|
5374
|
-
language_id:
|
|
5411
|
+
var findDocumentHeaderSubscribersQuery = joi106.object().keys(findDocumentHeaderSubscribersQueryKeys).messages(messages);
|
|
5412
|
+
var findDocumentHeaderSubscribersByLanguageQuery = joi106.object().keys({
|
|
5413
|
+
chat_document_header_id: joi106.string().uuid().required(),
|
|
5414
|
+
language_id: joi106.string().uuid().required()
|
|
5375
5415
|
}).messages(messages);
|
|
5376
5416
|
var findSubscribedDocumentHeadersQueryKeys = {
|
|
5377
|
-
owner_id:
|
|
5417
|
+
owner_id: joi106.string().uuid().required()
|
|
5378
5418
|
};
|
|
5379
|
-
var findSubscribedDocumentHeadersQuery =
|
|
5419
|
+
var findSubscribedDocumentHeadersQuery = joi106.object().keys(findSubscribedDocumentHeadersQueryKeys).messages(messages);
|
|
5380
5420
|
|
|
5381
5421
|
// src/modules/stock/tag/interface.ts
|
|
5382
|
-
var
|
|
5383
|
-
__export(
|
|
5422
|
+
var interface_exports59 = {};
|
|
5423
|
+
__export(interface_exports59, {
|
|
5384
5424
|
ITagType: () => ITagType,
|
|
5385
5425
|
ITagTypeEnum: () => ITagTypeEnum,
|
|
5386
|
-
Route: () =>
|
|
5426
|
+
Route: () => Route113
|
|
5387
5427
|
});
|
|
5388
|
-
var
|
|
5428
|
+
var Route113 = "tag";
|
|
5389
5429
|
var ITagTypeEnum = {
|
|
5390
5430
|
private: "private",
|
|
5391
5431
|
public: "public"
|
|
@@ -5393,102 +5433,102 @@ var ITagTypeEnum = {
|
|
|
5393
5433
|
var ITagType = Object.keys(ITagTypeEnum);
|
|
5394
5434
|
|
|
5395
5435
|
// src/modules/stock/tag/route.schema.ts
|
|
5396
|
-
var
|
|
5397
|
-
__export(
|
|
5436
|
+
var route_schema_exports106 = {};
|
|
5437
|
+
__export(route_schema_exports106, {
|
|
5398
5438
|
createBody: () => createBody63,
|
|
5399
5439
|
updateManyBody: () => updateManyBody3
|
|
5400
5440
|
});
|
|
5401
|
-
import
|
|
5441
|
+
import joi107 from "joi";
|
|
5402
5442
|
var createBodyKeys62 = {
|
|
5403
|
-
document_header_id:
|
|
5404
|
-
index:
|
|
5405
|
-
text:
|
|
5406
|
-
type:
|
|
5443
|
+
document_header_id: joi107.string().uuid().required(),
|
|
5444
|
+
index: joi107.number().allow(0).required(),
|
|
5445
|
+
text: joi107.string().required(),
|
|
5446
|
+
type: joi107.string().valid(...ITagType).required()
|
|
5407
5447
|
};
|
|
5408
|
-
var createBody63 =
|
|
5448
|
+
var createBody63 = joi107.object().keys(createBodyKeys62).messages(messages);
|
|
5409
5449
|
var updateManyBodyKeys2 = {
|
|
5410
|
-
id:
|
|
5411
|
-
index:
|
|
5412
|
-
type:
|
|
5450
|
+
id: joi107.string().uuid().required(),
|
|
5451
|
+
index: joi107.number().allow(0).optional(),
|
|
5452
|
+
type: joi107.string().valid(...ITagType).optional()
|
|
5413
5453
|
};
|
|
5414
|
-
var updateManyBody3 =
|
|
5454
|
+
var updateManyBody3 = joi107.array().items(joi107.object().keys(updateManyBodyKeys2)).messages(messages);
|
|
5415
5455
|
|
|
5416
5456
|
// 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
5457
|
var interface_exports60 = {};
|
|
5425
5458
|
__export(interface_exports60, {
|
|
5426
5459
|
Route: () => Route114
|
|
5427
5460
|
});
|
|
5428
|
-
var Route114 = "
|
|
5461
|
+
var Route114 = "gmail";
|
|
5462
|
+
|
|
5463
|
+
// src/modules/document/NPF/interface.ts
|
|
5464
|
+
var interface_exports61 = {};
|
|
5465
|
+
__export(interface_exports61, {
|
|
5466
|
+
Route: () => Route115
|
|
5467
|
+
});
|
|
5468
|
+
var Route115 = "npf";
|
|
5429
5469
|
|
|
5430
5470
|
// src/modules/document/NPF/route.schema.ts
|
|
5431
|
-
var
|
|
5432
|
-
__export(
|
|
5471
|
+
var route_schema_exports107 = {};
|
|
5472
|
+
__export(route_schema_exports107, {
|
|
5433
5473
|
providerPaymentBody: () => providerPaymentBody
|
|
5434
5474
|
});
|
|
5435
|
-
import
|
|
5475
|
+
import joi108 from "joi";
|
|
5436
5476
|
var providerPaymentDocumentKeys = {
|
|
5437
|
-
document_header_id:
|
|
5438
|
-
value:
|
|
5439
|
-
discount_value:
|
|
5440
|
-
is:
|
|
5441
|
-
then:
|
|
5442
|
-
otherwise:
|
|
5477
|
+
document_header_id: joi108.string().uuid().required(),
|
|
5478
|
+
value: joi108.number().required(),
|
|
5479
|
+
discount_value: joi108.number().optional().allow(0, "", null).when("value", {
|
|
5480
|
+
is: joi108.number().positive(),
|
|
5481
|
+
then: joi108.number().max(joi108.ref("value")),
|
|
5482
|
+
otherwise: joi108.number().min(joi108.ref("value"))
|
|
5443
5483
|
})
|
|
5444
5484
|
};
|
|
5445
|
-
var providerPaymentDocument =
|
|
5485
|
+
var providerPaymentDocument = joi108.object().keys(providerPaymentDocumentKeys).required();
|
|
5446
5486
|
var providerPaymentBodyKeys = {
|
|
5447
|
-
provider_id:
|
|
5448
|
-
client_id:
|
|
5449
|
-
documents:
|
|
5450
|
-
total:
|
|
5487
|
+
provider_id: joi108.string().uuid().required(),
|
|
5488
|
+
client_id: joi108.string().uuid().allow(null).optional(),
|
|
5489
|
+
documents: joi108.array().items(providerPaymentDocument).required(),
|
|
5490
|
+
total: joi108.number().positive().allow(0).required()
|
|
5451
5491
|
};
|
|
5452
|
-
var providerPaymentBody =
|
|
5492
|
+
var providerPaymentBody = joi108.array().items(joi108.object().keys(providerPaymentBodyKeys)).messages(messages);
|
|
5453
5493
|
|
|
5454
5494
|
// src/modules/document/NRCL/interface.ts
|
|
5455
|
-
var
|
|
5456
|
-
__export(
|
|
5457
|
-
Route: () =>
|
|
5495
|
+
var interface_exports62 = {};
|
|
5496
|
+
__export(interface_exports62, {
|
|
5497
|
+
Route: () => Route116
|
|
5458
5498
|
});
|
|
5459
|
-
var
|
|
5499
|
+
var Route116 = "document_header";
|
|
5460
5500
|
|
|
5461
5501
|
// src/modules/document/NRCL/route.schema.ts
|
|
5462
|
-
var
|
|
5463
|
-
__export(
|
|
5502
|
+
var route_schema_exports108 = {};
|
|
5503
|
+
__export(route_schema_exports108, {
|
|
5464
5504
|
regularizarMultiplosBody: () => regularizarMultiplosBody
|
|
5465
5505
|
});
|
|
5466
|
-
import
|
|
5506
|
+
import joi109 from "joi";
|
|
5467
5507
|
var multipleDocumentsBodyKeys = {
|
|
5468
|
-
owner_id:
|
|
5469
|
-
document_header_id:
|
|
5470
|
-
type:
|
|
5471
|
-
value:
|
|
5508
|
+
owner_id: joi109.string().uuid().required(),
|
|
5509
|
+
document_header_id: joi109.string().uuid().required(),
|
|
5510
|
+
type: joi109.string().valid("credit", "debit").required(),
|
|
5511
|
+
value: joi109.number().positive().required()
|
|
5472
5512
|
};
|
|
5473
5513
|
var multiplePaymentsBodyKeys = {
|
|
5474
|
-
value:
|
|
5475
|
-
payment_method_id:
|
|
5476
|
-
payment_method:
|
|
5514
|
+
value: joi109.number().positive().required(),
|
|
5515
|
+
payment_method_id: joi109.string().uuid().required(),
|
|
5516
|
+
payment_method: joi109.string().required()
|
|
5477
5517
|
};
|
|
5478
5518
|
var regularizarMultiplosBodyKeys = {
|
|
5479
|
-
documents:
|
|
5480
|
-
payments:
|
|
5519
|
+
documents: joi109.array().items(multipleDocumentsBodyKeys).required(),
|
|
5520
|
+
payments: joi109.array().items(multiplePaymentsBodyKeys).optional()
|
|
5481
5521
|
};
|
|
5482
|
-
var regularizarMultiplosBody =
|
|
5522
|
+
var regularizarMultiplosBody = joi109.object().keys(regularizarMultiplosBodyKeys).messages(messages);
|
|
5483
5523
|
|
|
5484
5524
|
// src/modules/supply/currentAccount/interface.ts
|
|
5485
|
-
var
|
|
5486
|
-
__export(
|
|
5525
|
+
var interface_exports63 = {};
|
|
5526
|
+
__export(interface_exports63, {
|
|
5487
5527
|
IExportCurrentAccountOutputEnum: () => IExportCurrentAccountOutputEnum,
|
|
5488
5528
|
IExportCurrentAccountOutputOptions: () => IExportCurrentAccountOutputOptions,
|
|
5489
|
-
Route: () =>
|
|
5529
|
+
Route: () => Route117
|
|
5490
5530
|
});
|
|
5491
|
-
var
|
|
5531
|
+
var Route117 = "current_account";
|
|
5492
5532
|
var IExportCurrentAccountOutputEnum = {
|
|
5493
5533
|
csv: "csv",
|
|
5494
5534
|
pdf: "pdf"
|
|
@@ -5496,8 +5536,8 @@ var IExportCurrentAccountOutputEnum = {
|
|
|
5496
5536
|
var IExportCurrentAccountOutputOptions = Object.keys(IExportCurrentAccountOutputEnum);
|
|
5497
5537
|
|
|
5498
5538
|
// src/modules/supply/currentAccount/route.schema.ts
|
|
5499
|
-
var
|
|
5500
|
-
__export(
|
|
5539
|
+
var route_schema_exports109 = {};
|
|
5540
|
+
__export(route_schema_exports109, {
|
|
5501
5541
|
exportCurrentAccountBetweenDatesQuery: () => exportCurrentAccountBetweenDatesQuery,
|
|
5502
5542
|
exportPaymentsBody: () => exportPaymentsBody,
|
|
5503
5543
|
findPaymentsNotExportedQuery: () => findPaymentsNotExportedQuery,
|
|
@@ -5506,72 +5546,72 @@ __export(route_schema_exports108, {
|
|
|
5506
5546
|
findSettledMaterialEntranceQuery: () => findSettledMaterialEntranceQuery2,
|
|
5507
5547
|
findWithPaginationQuery: () => findWithPaginationQuery27
|
|
5508
5548
|
});
|
|
5509
|
-
import
|
|
5549
|
+
import joi110 from "joi";
|
|
5510
5550
|
var findQueryKeys31 = {};
|
|
5511
|
-
var findQuery33 =
|
|
5551
|
+
var findQuery33 = joi110.object().keys(findQueryKeys31).messages(messages);
|
|
5512
5552
|
var findWithPaginationQueryKeys28 = {
|
|
5513
|
-
per_page:
|
|
5514
|
-
current_page:
|
|
5553
|
+
per_page: joi110.number().integer().positive().default(10).optional(),
|
|
5554
|
+
current_page: joi110.number().integer().positive().default(1).optional()
|
|
5515
5555
|
};
|
|
5516
|
-
var findWithPaginationQuery27 =
|
|
5556
|
+
var findWithPaginationQuery27 = joi110.object().keys(findWithPaginationQueryKeys28).messages(messages);
|
|
5517
5557
|
var findSettledMaterialEntranceQueryKeys2 = {
|
|
5518
|
-
provider_id:
|
|
5519
|
-
client_id:
|
|
5558
|
+
provider_id: joi110.string().uuid().required(),
|
|
5559
|
+
client_id: joi110.string().uuid().allow(null).required()
|
|
5520
5560
|
};
|
|
5521
|
-
var findSettledMaterialEntranceQuery2 =
|
|
5561
|
+
var findSettledMaterialEntranceQuery2 = joi110.object().keys(findSettledMaterialEntranceQueryKeys2).messages(messages);
|
|
5522
5562
|
var exportPaymentsBodyKeys = {
|
|
5523
|
-
value:
|
|
5524
|
-
provider:
|
|
5525
|
-
npf_ids:
|
|
5563
|
+
value: joi110.number().positive().required(),
|
|
5564
|
+
provider: joi110.string().required(),
|
|
5565
|
+
npf_ids: joi110.array().items(joi110.string().uuid().required()).optional()
|
|
5526
5566
|
};
|
|
5527
|
-
var exportPaymentsBody =
|
|
5567
|
+
var exportPaymentsBody = joi110.array().items(joi110.object().keys(exportPaymentsBodyKeys)).messages(messages);
|
|
5528
5568
|
var exportCurrentAccountBetweenDatesQueryKeys = {
|
|
5529
|
-
owner_id:
|
|
5530
|
-
output:
|
|
5531
|
-
start_date:
|
|
5532
|
-
end_date:
|
|
5533
|
-
token:
|
|
5569
|
+
owner_id: joi110.string().required(),
|
|
5570
|
+
output: joi110.string().valid(...IExportCurrentAccountOutputOptions).required(),
|
|
5571
|
+
start_date: joi110.string().optional(),
|
|
5572
|
+
end_date: joi110.string().optional(),
|
|
5573
|
+
token: joi110.string().required()
|
|
5534
5574
|
};
|
|
5535
|
-
var exportCurrentAccountBetweenDatesQuery =
|
|
5575
|
+
var exportCurrentAccountBetweenDatesQuery = joi110.object().keys(exportCurrentAccountBetweenDatesQueryKeys).messages(messages);
|
|
5536
5576
|
var findSettledMaterialEntranceBuDateParamsKeys2 = {
|
|
5537
|
-
due_date:
|
|
5577
|
+
due_date: joi110.string().optional()
|
|
5538
5578
|
};
|
|
5539
|
-
var findSettledMaterialEntranceBuDateParams2 =
|
|
5540
|
-
var findPaymentsNotExportedQuery =
|
|
5541
|
-
whiteList:
|
|
5579
|
+
var findSettledMaterialEntranceBuDateParams2 = joi110.object().keys(findSettledMaterialEntranceBuDateParamsKeys2).messages(messages);
|
|
5580
|
+
var findPaymentsNotExportedQuery = joi110.object().keys({
|
|
5581
|
+
whiteList: joi110.array().items(joi110.string().uuid().required()).optional()
|
|
5542
5582
|
}).messages(messages);
|
|
5543
5583
|
|
|
5544
5584
|
// src/modules/supply/paymentBatch/interface.ts
|
|
5545
|
-
var
|
|
5546
|
-
__export(
|
|
5547
|
-
Route: () =>
|
|
5585
|
+
var interface_exports64 = {};
|
|
5586
|
+
__export(interface_exports64, {
|
|
5587
|
+
Route: () => Route118
|
|
5548
5588
|
});
|
|
5549
|
-
var
|
|
5589
|
+
var Route118 = "payment_batch";
|
|
5550
5590
|
|
|
5551
5591
|
// src/modules/supply/paymentBatch/route.schema.ts
|
|
5552
|
-
var
|
|
5553
|
-
__export(
|
|
5592
|
+
var route_schema_exports110 = {};
|
|
5593
|
+
__export(route_schema_exports110, {
|
|
5554
5594
|
exportPaymentsBody: () => exportPaymentsBody2,
|
|
5555
5595
|
findPaymentsNotExportedQuery: () => findPaymentsNotExportedQuery2
|
|
5556
5596
|
});
|
|
5557
|
-
import
|
|
5597
|
+
import joi111 from "joi";
|
|
5558
5598
|
var exportPaymentsBodyKeys2 = {
|
|
5559
|
-
value:
|
|
5560
|
-
provider:
|
|
5561
|
-
npf_ids:
|
|
5599
|
+
value: joi111.number().positive().required(),
|
|
5600
|
+
provider: joi111.string().required(),
|
|
5601
|
+
npf_ids: joi111.array().items(joi111.string().uuid().required()).optional()
|
|
5562
5602
|
};
|
|
5563
|
-
var exportPaymentsBody2 =
|
|
5564
|
-
var findPaymentsNotExportedQuery2 =
|
|
5565
|
-
whiteList:
|
|
5603
|
+
var exportPaymentsBody2 = joi111.array().items(joi111.object().keys(exportPaymentsBodyKeys2)).messages(messages);
|
|
5604
|
+
var findPaymentsNotExportedQuery2 = joi111.object().keys({
|
|
5605
|
+
whiteList: joi111.array().items(joi111.string().uuid().required()).optional()
|
|
5566
5606
|
}).messages(messages);
|
|
5567
5607
|
|
|
5568
5608
|
// src/modules/ui/portal/interface.ts
|
|
5569
|
-
var
|
|
5570
|
-
__export(
|
|
5609
|
+
var interface_exports65 = {};
|
|
5610
|
+
__export(interface_exports65, {
|
|
5571
5611
|
IPublicDocumentHeaderNoteType: () => IPublicDocumentHeaderNoteType,
|
|
5572
|
-
Route: () =>
|
|
5612
|
+
Route: () => Route119
|
|
5573
5613
|
});
|
|
5574
|
-
var
|
|
5614
|
+
var Route119 = "portal";
|
|
5575
5615
|
var IPublicDocumentHeaderNoteType = /* @__PURE__ */ ((IPublicDocumentHeaderNoteType2) => {
|
|
5576
5616
|
IPublicDocumentHeaderNoteType2["Provider"] = "Provider";
|
|
5577
5617
|
IPublicDocumentHeaderNoteType2["Client"] = "Client";
|
|
@@ -5579,161 +5619,161 @@ var IPublicDocumentHeaderNoteType = /* @__PURE__ */ ((IPublicDocumentHeaderNoteT
|
|
|
5579
5619
|
})(IPublicDocumentHeaderNoteType || {});
|
|
5580
5620
|
|
|
5581
5621
|
// src/modules/ui/portal/route.schema.ts
|
|
5582
|
-
var
|
|
5583
|
-
__export(
|
|
5622
|
+
var route_schema_exports111 = {};
|
|
5623
|
+
__export(route_schema_exports111, {
|
|
5584
5624
|
createNoteBody: () => createNoteBody,
|
|
5585
5625
|
updateNoteBody: () => updateNoteBody
|
|
5586
5626
|
});
|
|
5587
|
-
import
|
|
5627
|
+
import joi112 from "joi";
|
|
5588
5628
|
var createNoteBodyKeys = {
|
|
5589
|
-
document_header_id:
|
|
5590
|
-
note:
|
|
5591
|
-
type:
|
|
5629
|
+
document_header_id: joi112.string().uuid().required(),
|
|
5630
|
+
note: joi112.string().required(),
|
|
5631
|
+
type: joi112.string().required().valid("Client", "Provider")
|
|
5592
5632
|
};
|
|
5593
|
-
var createNoteBody =
|
|
5633
|
+
var createNoteBody = joi112.object().keys(createNoteBodyKeys).messages(messages);
|
|
5594
5634
|
var updateNoteBodyKeys = {
|
|
5595
|
-
note:
|
|
5635
|
+
note: joi112.string().required().allow("")
|
|
5596
5636
|
};
|
|
5597
|
-
var updateNoteBody =
|
|
5637
|
+
var updateNoteBody = joi112.object().keys(updateNoteBodyKeys).messages(messages);
|
|
5598
5638
|
|
|
5599
5639
|
// 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
5640
|
var interface_exports66 = {};
|
|
5608
5641
|
__export(interface_exports66, {
|
|
5609
5642
|
Route: () => Route120
|
|
5610
5643
|
});
|
|
5611
|
-
var Route120 = "
|
|
5644
|
+
var Route120 = "google_sheet_pool";
|
|
5645
|
+
|
|
5646
|
+
// src/modules/stock/accountCode/interface.ts
|
|
5647
|
+
var interface_exports67 = {};
|
|
5648
|
+
__export(interface_exports67, {
|
|
5649
|
+
Route: () => Route121
|
|
5650
|
+
});
|
|
5651
|
+
var Route121 = "account_code";
|
|
5612
5652
|
|
|
5613
5653
|
// src/modules/stock/accountCode/route.schema.ts
|
|
5614
|
-
var
|
|
5615
|
-
__export(
|
|
5654
|
+
var route_schema_exports112 = {};
|
|
5655
|
+
__export(route_schema_exports112, {
|
|
5616
5656
|
findByCode: () => findByCode
|
|
5617
5657
|
});
|
|
5618
|
-
import
|
|
5658
|
+
import joi113 from "joi";
|
|
5619
5659
|
var findByCodeParams = {
|
|
5620
|
-
code:
|
|
5660
|
+
code: joi113.string().required()
|
|
5621
5661
|
};
|
|
5622
|
-
var findByCode =
|
|
5662
|
+
var findByCode = joi113.object().keys(findByCodeParams).messages(messages);
|
|
5623
5663
|
|
|
5624
5664
|
// src/modules/llm/llm/interfaces.ts
|
|
5625
5665
|
var interfaces_exports57 = {};
|
|
5626
5666
|
__export(interfaces_exports57, {
|
|
5627
|
-
Route: () =>
|
|
5667
|
+
Route: () => Route122
|
|
5628
5668
|
});
|
|
5629
|
-
var
|
|
5669
|
+
var Route122 = "llm";
|
|
5630
5670
|
|
|
5631
5671
|
// src/modules/llm/llm/route.schema.ts
|
|
5632
|
-
var
|
|
5633
|
-
__export(
|
|
5672
|
+
var route_schema_exports113 = {};
|
|
5673
|
+
__export(route_schema_exports113, {
|
|
5634
5674
|
identifyLanguageSchema: () => identifyLanguageSchema,
|
|
5635
5675
|
promptBody: () => promptBody,
|
|
5636
5676
|
translateSchema: () => translateSchema
|
|
5637
5677
|
});
|
|
5638
|
-
import
|
|
5678
|
+
import joi114 from "joi";
|
|
5639
5679
|
var promptBodyKeys = {
|
|
5640
|
-
prompt:
|
|
5641
|
-
owner_id:
|
|
5642
|
-
document_header_id:
|
|
5680
|
+
prompt: joi114.string().required(),
|
|
5681
|
+
owner_id: joi114.string().required(),
|
|
5682
|
+
document_header_id: joi114.string().required()
|
|
5643
5683
|
};
|
|
5644
|
-
var promptBody =
|
|
5645
|
-
var translateSchema =
|
|
5646
|
-
message:
|
|
5647
|
-
target_language:
|
|
5684
|
+
var promptBody = joi114.object().keys(promptBodyKeys).messages(messages);
|
|
5685
|
+
var translateSchema = joi114.object({
|
|
5686
|
+
message: joi114.string().required(),
|
|
5687
|
+
target_language: joi114.string().required()
|
|
5648
5688
|
});
|
|
5649
|
-
var identifyLanguageSchema =
|
|
5650
|
-
message:
|
|
5689
|
+
var identifyLanguageSchema = joi114.object({
|
|
5690
|
+
message: joi114.string().required()
|
|
5651
5691
|
});
|
|
5652
5692
|
|
|
5653
5693
|
// src/modules/integration/patchNotes/interfaces.ts
|
|
5654
5694
|
var interfaces_exports58 = {};
|
|
5655
5695
|
__export(interfaces_exports58, {
|
|
5656
|
-
Route: () =>
|
|
5696
|
+
Route: () => Route123
|
|
5657
5697
|
});
|
|
5658
|
-
var
|
|
5698
|
+
var Route123 = "patch_notes";
|
|
5659
5699
|
|
|
5660
5700
|
// src/modules/supply/documentHeaderSurvey/interfaces.ts
|
|
5661
5701
|
var interfaces_exports59 = {};
|
|
5662
5702
|
__export(interfaces_exports59, {
|
|
5663
|
-
Route: () =>
|
|
5703
|
+
Route: () => Route124
|
|
5664
5704
|
});
|
|
5665
|
-
var
|
|
5705
|
+
var Route124 = "document_header_survey";
|
|
5666
5706
|
|
|
5667
5707
|
// src/modules/supply/documentHeaderSurvey/route.schema.ts
|
|
5668
|
-
var
|
|
5669
|
-
__export(
|
|
5708
|
+
var route_schema_exports114 = {};
|
|
5709
|
+
__export(route_schema_exports114, {
|
|
5670
5710
|
updateSentBody: () => updateSentBody,
|
|
5671
5711
|
updateSurveyBody: () => updateSurveyBody
|
|
5672
5712
|
});
|
|
5673
|
-
import
|
|
5713
|
+
import joi115 from "joi";
|
|
5674
5714
|
var updateSentBodyKeys = {
|
|
5675
|
-
document_header_id:
|
|
5676
|
-
persona_id:
|
|
5715
|
+
document_header_id: joi115.string().uuid().required(),
|
|
5716
|
+
persona_id: joi115.string().uuid().required()
|
|
5677
5717
|
};
|
|
5678
|
-
var updateSentBody =
|
|
5718
|
+
var updateSentBody = joi115.object().keys(updateSentBodyKeys).messages(messages);
|
|
5679
5719
|
var updateSurveyBodyKeys = {
|
|
5680
|
-
document_header_id:
|
|
5681
|
-
persona_id:
|
|
5682
|
-
data:
|
|
5720
|
+
document_header_id: joi115.string().uuid().required(),
|
|
5721
|
+
persona_id: joi115.string().uuid().required(),
|
|
5722
|
+
data: joi115.object().keys({}).required()
|
|
5683
5723
|
};
|
|
5684
|
-
var updateSurveyBody =
|
|
5724
|
+
var updateSurveyBody = joi115.object().keys(updateSurveyBodyKeys).messages(messages);
|
|
5685
5725
|
|
|
5686
5726
|
// src/modules/supply/documentHeaderSubscriber/interface.ts
|
|
5687
|
-
var
|
|
5688
|
-
__export(
|
|
5689
|
-
Route: () =>
|
|
5727
|
+
var interface_exports68 = {};
|
|
5728
|
+
__export(interface_exports68, {
|
|
5729
|
+
Route: () => Route125
|
|
5690
5730
|
});
|
|
5691
|
-
var
|
|
5731
|
+
var Route125 = "document_header_subscriber";
|
|
5692
5732
|
|
|
5693
5733
|
// src/modules/supply/documentHeaderSubscriber/route.schema.ts
|
|
5694
|
-
var
|
|
5695
|
-
__export(
|
|
5734
|
+
var route_schema_exports115 = {};
|
|
5735
|
+
__export(route_schema_exports115, {
|
|
5696
5736
|
createBody: () => createBody64
|
|
5697
5737
|
});
|
|
5698
|
-
import
|
|
5738
|
+
import joi116 from "joi";
|
|
5699
5739
|
var createBodyKeys63 = {
|
|
5700
|
-
document_header_id:
|
|
5701
|
-
store_operator_id:
|
|
5740
|
+
document_header_id: joi116.string().uuid().required(),
|
|
5741
|
+
store_operator_id: joi116.string().uuid().required()
|
|
5702
5742
|
};
|
|
5703
|
-
var createBody64 =
|
|
5743
|
+
var createBody64 = joi116.object().keys(createBodyKeys63).messages(messages);
|
|
5704
5744
|
|
|
5705
5745
|
// src/modules/stock/googleCalendar/interface.ts
|
|
5706
|
-
var
|
|
5707
|
-
__export(
|
|
5708
|
-
Route: () =>
|
|
5746
|
+
var interface_exports69 = {};
|
|
5747
|
+
__export(interface_exports69, {
|
|
5748
|
+
Route: () => Route126
|
|
5709
5749
|
});
|
|
5710
|
-
var
|
|
5750
|
+
var Route126 = "google_calendar";
|
|
5711
5751
|
|
|
5712
5752
|
// src/modules/stock/googleCalendar/route.schema.ts
|
|
5713
|
-
var
|
|
5714
|
-
__export(
|
|
5753
|
+
var route_schema_exports116 = {};
|
|
5754
|
+
__export(route_schema_exports116, {
|
|
5715
5755
|
listEventsInRangeQuery: () => listEventsInRangeQuery
|
|
5716
5756
|
});
|
|
5717
|
-
import
|
|
5718
|
-
var listEventsInRangeQuery =
|
|
5719
|
-
calendarId:
|
|
5720
|
-
from:
|
|
5721
|
-
to:
|
|
5757
|
+
import joi117 from "joi";
|
|
5758
|
+
var listEventsInRangeQuery = joi117.object().keys({
|
|
5759
|
+
calendarId: joi117.string().required(),
|
|
5760
|
+
from: joi117.string().required(),
|
|
5761
|
+
to: joi117.string().required()
|
|
5722
5762
|
}).messages(messages);
|
|
5723
5763
|
|
|
5724
5764
|
// src/modules/view/webSocket/interfaces.ts
|
|
5725
5765
|
var interfaces_exports60 = {};
|
|
5726
5766
|
__export(interfaces_exports60, {
|
|
5727
|
-
Route: () =>
|
|
5767
|
+
Route: () => Route127
|
|
5728
5768
|
});
|
|
5729
|
-
var
|
|
5769
|
+
var Route127 = "ws";
|
|
5730
5770
|
|
|
5731
5771
|
// src/modules/stock/productLocation/interface.ts
|
|
5732
|
-
var
|
|
5733
|
-
__export(
|
|
5734
|
-
Route: () =>
|
|
5772
|
+
var interface_exports70 = {};
|
|
5773
|
+
__export(interface_exports70, {
|
|
5774
|
+
Route: () => Route128
|
|
5735
5775
|
});
|
|
5736
|
-
var
|
|
5776
|
+
var Route128 = "product_location";
|
|
5737
5777
|
|
|
5738
5778
|
// src/index.ts
|
|
5739
5779
|
var index_default = main_exports;
|