@konversi/konversi-client 1.5.5 → 1.5.7
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.d.mts +418 -6
- package/dist/index.d.ts +418 -6
- package/dist/index.js +1805 -545
- package/dist/index.mjs +1805 -545
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -62,16 +62,27 @@ var axiosAPI_default = instance;
|
|
|
62
62
|
var crudEndpoints_exports = {};
|
|
63
63
|
__export(crudEndpoints_exports, {
|
|
64
64
|
ACCOUNT: () => ACCOUNT,
|
|
65
|
+
ACTIVITY: () => ACTIVITY,
|
|
65
66
|
ATTENDANCE: () => ATTENDANCE,
|
|
66
67
|
AUDIT_LOG: () => AUDIT_LOG,
|
|
67
68
|
AUTOMATION_JOB: () => AUTOMATION_JOB,
|
|
68
69
|
AUTOMATION_SCRIPT: () => AUTOMATION_SCRIPT,
|
|
70
|
+
BANK_ACCOUNT: () => BANK_ACCOUNT,
|
|
71
|
+
BANK_TRANSACTION: () => BANK_TRANSACTION,
|
|
72
|
+
BILL: () => BILL,
|
|
73
|
+
BILL_LINE: () => BILL_LINE,
|
|
69
74
|
BILL_OF_MATERIALS: () => BILL_OF_MATERIALS,
|
|
70
75
|
BOM_COMPONENT: () => BOM_COMPONENT,
|
|
71
76
|
BOM_OPERATION: () => BOM_OPERATION,
|
|
77
|
+
BUSINESS_INTELLIGENCE_REPORT: () => BUSINESS_INTELLIGENCE_REPORT,
|
|
78
|
+
CHAT_MESSAGE: () => CHAT_MESSAGE,
|
|
79
|
+
CHAT_SESSION: () => CHAT_SESSION,
|
|
72
80
|
COMPANY_ALIAS: () => COMPANY_ALIAS,
|
|
81
|
+
COMPANY_FEATURE: () => COMPANY_FEATURE,
|
|
73
82
|
COMPANY_OPTION: () => COMPANY_OPTION,
|
|
74
83
|
COMPANY_PERMISSION: () => COMPANY_PERMISSION,
|
|
84
|
+
CONVERSATION: () => CONVERSATION,
|
|
85
|
+
CONVERSATION_MESSAGE: () => CONVERSATION_MESSAGE,
|
|
75
86
|
CUSTOMER: () => CUSTOMER,
|
|
76
87
|
CUSTOM_DOCUMENT: () => CUSTOM_DOCUMENT,
|
|
77
88
|
CUSTOM_ENTITY_FIELD: () => CUSTOM_ENTITY_FIELD,
|
|
@@ -85,6 +96,7 @@ __export(crudEndpoints_exports, {
|
|
|
85
96
|
EXPENSE_LINE: () => EXPENSE_LINE,
|
|
86
97
|
FIXED_ASSET: () => FIXED_ASSET,
|
|
87
98
|
FORM: () => FORM,
|
|
99
|
+
FUEL_ENTRY: () => FUEL_ENTRY,
|
|
88
100
|
GEOFENCE: () => GEOFENCE,
|
|
89
101
|
IDENTIFIER_GROUP: () => IDENTIFIER_GROUP,
|
|
90
102
|
IDENTIFIER_TOKEN: () => IDENTIFIER_TOKEN,
|
|
@@ -96,31 +108,47 @@ __export(crudEndpoints_exports, {
|
|
|
96
108
|
INTERNAL_DELIVERY_LINE: () => INTERNAL_DELIVERY_LINE,
|
|
97
109
|
INVITATION: () => INVITATION,
|
|
98
110
|
INVOICE: () => INVOICE,
|
|
111
|
+
INVOICE_APPROVER: () => INVOICE_APPROVER,
|
|
99
112
|
INVOICE_LINE: () => INVOICE_LINE,
|
|
100
113
|
IOT_DEVICE: () => IOT_DEVICE,
|
|
114
|
+
IOT_HUB: () => IOT_HUB,
|
|
101
115
|
IOT_JOB: () => IOT_JOB,
|
|
102
116
|
JOB_CARD: () => JOB_CARD,
|
|
103
117
|
JOURNAL_ENTRY: () => JOURNAL_ENTRY,
|
|
104
118
|
JOURNAL_ENTRY_LINE: () => JOURNAL_ENTRY_LINE,
|
|
119
|
+
LEASE: () => LEASE,
|
|
120
|
+
MAINTENANCE_ORDER: () => MAINTENANCE_ORDER,
|
|
121
|
+
MAINTENANCE_ORDER_LINE: () => MAINTENANCE_ORDER_LINE,
|
|
105
122
|
NOTIFICATION: () => NOTIFICATION,
|
|
106
123
|
OUTGOING_DELIVERY: () => OUTGOING_DELIVERY,
|
|
107
124
|
OUTGOING_DELIVERY_LINE: () => OUTGOING_DELIVERY_LINE,
|
|
108
125
|
OUTGOING_SHIPMENT: () => OUTGOING_SHIPMENT,
|
|
109
126
|
PAYMENT: () => PAYMENT,
|
|
127
|
+
POINT_OF_SALE: () => POINT_OF_SALE,
|
|
128
|
+
PRICELIST: () => PRICELIST,
|
|
129
|
+
PRICELIST_LINE: () => PRICELIST_LINE,
|
|
110
130
|
PRINT_JOB: () => PRINT_JOB,
|
|
111
131
|
PRODUCT: () => PRODUCT,
|
|
112
132
|
PRODUCTION_ORDER: () => PRODUCTION_ORDER,
|
|
113
133
|
PRODUCTION_ORDER_LINE: () => PRODUCTION_ORDER_LINE,
|
|
114
134
|
PRODUCT_GROUP: () => PRODUCT_GROUP,
|
|
115
135
|
PRODUCT_ITEM: () => PRODUCT_ITEM,
|
|
136
|
+
PRODUCT_LOCATION: () => PRODUCT_LOCATION,
|
|
137
|
+
PRODUCT_LOCATION_TRANSFER: () => PRODUCT_LOCATION_TRANSFER,
|
|
116
138
|
PRODUCT_SUPPLIER: () => PRODUCT_SUPPLIER,
|
|
139
|
+
PROPERTY: () => PROPERTY,
|
|
140
|
+
PROPERTY_GROUP: () => PROPERTY_GROUP,
|
|
117
141
|
PURCHASE_ORDER: () => PURCHASE_ORDER,
|
|
118
142
|
PURCHASE_ORDER_APPROVER: () => PURCHASE_ORDER_APPROVER,
|
|
119
143
|
PURCHASE_ORDER_LINE: () => PURCHASE_ORDER_LINE,
|
|
144
|
+
QUALITY_CHECK: () => QUALITY_CHECK,
|
|
145
|
+
QUALITY_CHECKPOINT: () => QUALITY_CHECKPOINT,
|
|
120
146
|
QUOTE: () => QUOTE,
|
|
121
147
|
QUOTE_LINE: () => QUOTE_LINE,
|
|
122
148
|
RENTAL_ORDER: () => RENTAL_ORDER,
|
|
123
149
|
RENTAL_ORDER_LINE: () => RENTAL_ORDER_LINE,
|
|
150
|
+
RETURN_SALES_ORDER: () => RETURN_SALES_ORDER,
|
|
151
|
+
RULE: () => RULE,
|
|
124
152
|
SALES_ORDER: () => SALES_ORDER,
|
|
125
153
|
SALES_ORDER_APPROVER: () => SALES_ORDER_APPROVER,
|
|
126
154
|
SALES_ORDER_LINE: () => SALES_ORDER_LINE,
|
|
@@ -132,8 +160,11 @@ __export(crudEndpoints_exports, {
|
|
|
132
160
|
STORE_PRODUCT_ATTRIBUTE: () => STORE_PRODUCT_ATTRIBUTE,
|
|
133
161
|
STORE_PRODUCT_ATTRIBUTE_VALUE: () => STORE_PRODUCT_ATTRIBUTE_VALUE,
|
|
134
162
|
STORE_PRODUCT_GROUP: () => STORE_PRODUCT_GROUP,
|
|
163
|
+
STORE_PRODUCT_VARIANT: () => STORE_PRODUCT_VARIANT,
|
|
135
164
|
SUBSIDIARY: () => SUBSIDIARY,
|
|
136
165
|
SUPPLIER: () => SUPPLIER,
|
|
166
|
+
TELEMETRY_EVENT: () => TELEMETRY_EVENT,
|
|
167
|
+
UNIT_CONVERSION: () => UNIT_CONVERSION,
|
|
137
168
|
USER_ACTION: () => USER_ACTION,
|
|
138
169
|
USER_PERSONA: () => USER_PERSONA,
|
|
139
170
|
USER_PERSONA_CUSTOM_SCHEMA_PERMISSION: () => USER_PERSONA_CUSTOM_SCHEMA_PERMISSION,
|
|
@@ -141,7 +172,11 @@ __export(crudEndpoints_exports, {
|
|
|
141
172
|
USER_PERSONA_ENTITY_PERMISSION: () => USER_PERSONA_ENTITY_PERMISSION,
|
|
142
173
|
VEHICLE: () => VEHICLE,
|
|
143
174
|
WAREHOUSE: () => WAREHOUSE,
|
|
175
|
+
WEB_COMPONENT: () => WEB_COMPONENT,
|
|
176
|
+
WEB_COMPONENT_SLOT: () => WEB_COMPONENT_SLOT,
|
|
177
|
+
WHATSAPP_ACCOUNT: () => WHATSAPP_ACCOUNT,
|
|
144
178
|
WORKSTATION: () => WORKSTATION,
|
|
179
|
+
WORKSTATION_TRANSFER: () => WORKSTATION_TRANSFER,
|
|
145
180
|
WORK_ORDER: () => WORK_ORDER
|
|
146
181
|
});
|
|
147
182
|
var NOTIFICATION = "notification";
|
|
@@ -151,18 +186,24 @@ var USER_PERSONA_ENTITY_PERMISSION = "user/user-persona-entity-permission";
|
|
|
151
186
|
var USER_PERSONA_ENTITY_ACCESS_STATUS = "user/user-persona-entity-access-status";
|
|
152
187
|
var COMPANY_PERMISSION = "company-permission";
|
|
153
188
|
var COMPANY_OPTION = "company-option";
|
|
189
|
+
var COMPANY_FEATURE = "company-feature";
|
|
154
190
|
var INVITATION = "user/invitation";
|
|
155
191
|
var CUSTOMER = "contact/customer";
|
|
192
|
+
var ACTIVITY = "activity";
|
|
156
193
|
var PRODUCT = "product";
|
|
157
194
|
var PRODUCT_ITEM = "product/product-item";
|
|
158
195
|
var PRODUCT_GROUP = "product-group";
|
|
159
196
|
var PRODUCT_SUPPLIER = "product/product-supplier";
|
|
197
|
+
var UNIT_CONVERSION = "product/unit-conversion";
|
|
198
|
+
var PRICELIST = "pricelist";
|
|
199
|
+
var PRICELIST_LINE = "pricelist/pricelist-line";
|
|
160
200
|
var PURCHASE_ORDER = "order/purchase-order";
|
|
161
201
|
var PURCHASE_ORDER_LINE = "order/purchase-order-line";
|
|
162
202
|
var QUOTE = "order/quote";
|
|
163
203
|
var QUOTE_LINE = "order/quote-line";
|
|
164
204
|
var SALES_ORDER = "order/sales-order";
|
|
165
205
|
var SALES_ORDER_LINE = "order/sales-order-line";
|
|
206
|
+
var RETURN_SALES_ORDER = "order/return-sales-order";
|
|
166
207
|
var RENTAL_ORDER = "order/rental-order";
|
|
167
208
|
var RENTAL_ORDER_LINE = "order/rental-order-line";
|
|
168
209
|
var SUPPLIER = "contact/supplier";
|
|
@@ -177,17 +218,22 @@ var INVOICE = "invoice";
|
|
|
177
218
|
var INVOICE_LINE = "invoice/invoice-line";
|
|
178
219
|
var EXPENSE = "expense";
|
|
179
220
|
var EXPENSE_LINE = "expense/expense-line";
|
|
221
|
+
var BILL = "bill";
|
|
222
|
+
var BILL_LINE = "bill/bill-line";
|
|
180
223
|
var PAYMENT = "accounting/payment";
|
|
181
224
|
var INCOMING_PAYMENT_METHOD = "accounting/incoming-payment-method";
|
|
182
225
|
var FIXED_ASSET = "fixed-asset";
|
|
183
|
-
var STORE = "store";
|
|
184
|
-
var STORE_PRODUCT = "
|
|
185
|
-
var STORE_PRODUCT_GROUP = "
|
|
186
|
-
var STORE_PRODUCT_ATTRIBUTE = "
|
|
187
|
-
var STORE_PRODUCT_ATTRIBUTE_VALUE = "
|
|
226
|
+
var STORE = "ecommerce/store";
|
|
227
|
+
var STORE_PRODUCT = "ecommerce/store-product";
|
|
228
|
+
var STORE_PRODUCT_GROUP = "ecommerce/store-product-group";
|
|
229
|
+
var STORE_PRODUCT_ATTRIBUTE = "ecommerce/store-product-attribute";
|
|
230
|
+
var STORE_PRODUCT_ATTRIBUTE_VALUE = "ecommerce/store-product-attribute-value";
|
|
231
|
+
var STORE_PRODUCT_VARIANT = "ecommerce/store-product-variant";
|
|
188
232
|
var ACCOUNT = "accounting/account";
|
|
189
233
|
var JOURNAL_ENTRY = "accounting/journal-entry";
|
|
190
234
|
var JOURNAL_ENTRY_LINE = "accounting/journal-entry-line";
|
|
235
|
+
var BANK_ACCOUNT = "accounting/bank-account";
|
|
236
|
+
var BANK_TRANSACTION = "accounting/bank-transaction";
|
|
191
237
|
var BILL_OF_MATERIALS = "manufacturing/bill-of-materials";
|
|
192
238
|
var BOM_COMPONENT = "manufacturing/bom-component";
|
|
193
239
|
var BOM_OPERATION = "manufacturing/bom-operation";
|
|
@@ -195,6 +241,11 @@ var PRODUCTION_ORDER = "manufacturing/production-order";
|
|
|
195
241
|
var PRODUCTION_ORDER_LINE = "manufacturing/production-order-line";
|
|
196
242
|
var JOB_CARD = "manufacturing/job-card";
|
|
197
243
|
var WORKSTATION = "manufacturing/workstation";
|
|
244
|
+
var WORKSTATION_TRANSFER = "manufacturing/workstation-transfer";
|
|
245
|
+
var QUALITY_CHECK = "manufacturing/quality-check";
|
|
246
|
+
var QUALITY_CHECKPOINT = "manufacturing/quality-checkpoint";
|
|
247
|
+
var PRODUCT_LOCATION = "product-location";
|
|
248
|
+
var PRODUCT_LOCATION_TRANSFER = "product-location-transfer";
|
|
198
249
|
var SUBSIDIARY = "subsidiary";
|
|
199
250
|
var EMPLOYEE = "human-resources/employee";
|
|
200
251
|
var GEOFENCE = "geofence";
|
|
@@ -202,6 +253,9 @@ var SHIFT = "human-resources/employee/shift";
|
|
|
202
253
|
var ATTENDANCE = "human-resources/attendance";
|
|
203
254
|
var VEHICLE = "fleet/vehicle";
|
|
204
255
|
var DELIVERY_JOB = "fleet/delivery-job";
|
|
256
|
+
var MAINTENANCE_ORDER = "fleet/maintenance-order";
|
|
257
|
+
var MAINTENANCE_ORDER_LINE = "fleet/maintenance-order-line";
|
|
258
|
+
var FUEL_ENTRY = "fleet/fuel-entry";
|
|
205
259
|
var CUSTOM_ENTITY_SCHEMA = "custom-entity/schema";
|
|
206
260
|
var CUSTOM_ENTITY_OBJECT = "custom-entity/object";
|
|
207
261
|
var CUSTOM_ENTITY_FIELD = "custom-entity/field";
|
|
@@ -212,18 +266,34 @@ var AUTOMATION_SCRIPT = "automation/script";
|
|
|
212
266
|
var USER_ACTION = "automation/user-action";
|
|
213
267
|
var IOT_DEVICE = "iot/device";
|
|
214
268
|
var IOT_JOB = "iot/job";
|
|
269
|
+
var IOT_HUB = "iot/hub";
|
|
215
270
|
var STOCK_ADJUSTMENT = "stock-adjustment";
|
|
216
271
|
var PURCHASE_ORDER_APPROVER = "approval/approver/purchase-order";
|
|
217
272
|
var SALES_ORDER_APPROVER = "approval/approver/sales-order";
|
|
273
|
+
var INVOICE_APPROVER = "approval/approver/invoice";
|
|
218
274
|
var CUSTOM_DOCUMENT = "document-generator/custom-document";
|
|
219
275
|
var CUSTOM_FIELD = "custom-field";
|
|
220
276
|
var AUDIT_LOG = "audit-log";
|
|
277
|
+
var WEB_COMPONENT = "web-component";
|
|
278
|
+
var WEB_COMPONENT_SLOT = "web-component-slot";
|
|
221
279
|
var COMPANY_ALIAS = "company-alias";
|
|
222
280
|
var PRINT_JOB = "thermal-printer/print-job";
|
|
223
281
|
var WORK_ORDER = "order/sales-order?type=WORK_ORDER";
|
|
224
282
|
var SERVICE_ORDER = "order/sales-order?type=SERVICE_ORDER";
|
|
225
283
|
var IDENTIFIER_GROUP = "identifier/identifier-group";
|
|
226
284
|
var IDENTIFIER_TOKEN = "identifier/identifier-token";
|
|
285
|
+
var PROPERTY = "property-management/property";
|
|
286
|
+
var PROPERTY_GROUP = "property-management/property-group";
|
|
287
|
+
var LEASE = "property-management/lease";
|
|
288
|
+
var BUSINESS_INTELLIGENCE_REPORT = "business-intelligence/report";
|
|
289
|
+
var POINT_OF_SALE = "point-of-sale";
|
|
290
|
+
var TELEMETRY_EVENT = "telemetry/event";
|
|
291
|
+
var CHAT_SESSION = "artificial-intelligence/chat-session";
|
|
292
|
+
var CHAT_MESSAGE = "artificial-intelligence/chat-message";
|
|
293
|
+
var CONVERSATION = "customer-service/conversation";
|
|
294
|
+
var CONVERSATION_MESSAGE = "customer-service/conversation-message";
|
|
295
|
+
var WHATSAPP_ACCOUNT = "customer-service/whatsapp-account";
|
|
296
|
+
var RULE = "rules-engine/rule";
|
|
227
297
|
var INCOMING_SHIPMENT = "shipment/incoming-shipment";
|
|
228
298
|
var OUTGOING_SHIPMENT = "shipment/outgoing-shipment";
|
|
229
299
|
|
|
@@ -251,15 +321,26 @@ Caused by: ${filteredStack}`;
|
|
|
251
321
|
var modules_exports = {};
|
|
252
322
|
__export(modules_exports, {
|
|
253
323
|
account: () => account,
|
|
324
|
+
activity: () => activity,
|
|
254
325
|
attendance: () => attendance,
|
|
255
326
|
auditLog: () => auditLog,
|
|
256
327
|
automationJob: () => automationJob,
|
|
257
328
|
automationScript: () => automationScript,
|
|
329
|
+
bankAccount: () => bankAccount,
|
|
330
|
+
bankTransaction: () => bankTransaction,
|
|
331
|
+
bill: () => bill,
|
|
332
|
+
billLine: () => billLine,
|
|
258
333
|
bomComponent: () => bomComponent,
|
|
259
334
|
bomOperation: () => bomOperation,
|
|
335
|
+
businessIntelligenceReport: () => businessIntelligenceReport,
|
|
336
|
+
chatMessage: () => chatMessage,
|
|
337
|
+
chatSession: () => chatSession,
|
|
260
338
|
companyAlias: () => companyAlias,
|
|
339
|
+
companyFeature: () => companyFeature,
|
|
261
340
|
companyOption: () => companyOption,
|
|
262
341
|
companyPermission: () => companyPermission,
|
|
342
|
+
conversation: () => conversation,
|
|
343
|
+
conversationMessage: () => conversationMessage,
|
|
263
344
|
customDocument: () => customDocument,
|
|
264
345
|
customEntityField: () => customEntityField,
|
|
265
346
|
customEntityObject: () => customEntityObject,
|
|
@@ -273,6 +354,7 @@ __export(modules_exports, {
|
|
|
273
354
|
expenseLine: () => expenseLine,
|
|
274
355
|
fixedAsset: () => fixedAsset,
|
|
275
356
|
form: () => form,
|
|
357
|
+
fuelEntry: () => fuelEntry,
|
|
276
358
|
geofence: () => geofence,
|
|
277
359
|
identifierGroup: () => identifierGroup,
|
|
278
360
|
identifierToken: () => identifierToken,
|
|
@@ -286,28 +368,43 @@ __export(modules_exports, {
|
|
|
286
368
|
invoice: () => invoice,
|
|
287
369
|
invoiceLine: () => invoiceLine,
|
|
288
370
|
iotDevice: () => iotDevice,
|
|
371
|
+
iotHub: () => iotHub,
|
|
289
372
|
iotJob: () => iotJob,
|
|
290
373
|
jobCard: () => jobCard,
|
|
291
374
|
journalEntry: () => journalEntry,
|
|
292
375
|
journalEntryLine: () => journalEntryLine,
|
|
376
|
+
lease: () => lease,
|
|
377
|
+
maintenanceOrder: () => maintenanceOrder,
|
|
378
|
+
maintenanceOrderLine: () => maintenanceOrderLine,
|
|
293
379
|
notification: () => notification,
|
|
294
380
|
outgoingDelivery: () => outgoingDelivery,
|
|
295
381
|
outgoingDeliveryLine: () => outgoingDeliveryLine,
|
|
296
382
|
outgoingShipment: () => outgoingShipment,
|
|
297
383
|
payment: () => payment,
|
|
384
|
+
pointOfSale: () => pointOfSale,
|
|
385
|
+
pricelist: () => pricelist,
|
|
386
|
+
pricelistLine: () => pricelistLine,
|
|
298
387
|
printJob: () => printJob,
|
|
299
388
|
product: () => product,
|
|
300
389
|
productGroup: () => productGroup,
|
|
301
390
|
productItem: () => productItem,
|
|
391
|
+
productLocation: () => productLocation,
|
|
392
|
+
productLocationTransfer: () => productLocationTransfer,
|
|
302
393
|
productSupplier: () => productSupplier,
|
|
303
394
|
productionOrder: () => productionOrder,
|
|
304
395
|
productionOrderLine: () => productionOrderLine,
|
|
396
|
+
property: () => property,
|
|
397
|
+
propertyGroup: () => propertyGroup,
|
|
305
398
|
purchaseOrder: () => purchaseOrder,
|
|
306
399
|
purchaseOrderLine: () => purchaseOrderLine,
|
|
400
|
+
qualityCheck: () => qualityCheck,
|
|
401
|
+
qualityCheckpoint: () => qualityCheckpoint,
|
|
307
402
|
quote: () => quote,
|
|
308
403
|
quoteLine: () => quoteLine,
|
|
309
404
|
rentalOrder: () => rentalOrder,
|
|
310
405
|
rentalOrderLine: () => rentalOrderLine,
|
|
406
|
+
returnSalesOrder: () => returnSalesOrder,
|
|
407
|
+
rule: () => rule,
|
|
311
408
|
salesOrder: () => salesOrder,
|
|
312
409
|
salesOrderLine: () => salesOrderLine,
|
|
313
410
|
shift: () => shift,
|
|
@@ -317,8 +414,11 @@ __export(modules_exports, {
|
|
|
317
414
|
storeProductAttribute: () => storeProductAttribute,
|
|
318
415
|
storeProductAttributeValue: () => storeProductAttributeValue,
|
|
319
416
|
storeProductGroup: () => storeProductGroup,
|
|
417
|
+
storeProductVariant: () => storeProductVariant,
|
|
320
418
|
subsidiary: () => subsidiary,
|
|
321
419
|
supplier: () => supplier,
|
|
420
|
+
telemetryEvent: () => telemetryEvent,
|
|
421
|
+
unitConversion: () => unitConversion,
|
|
322
422
|
userAction: () => userAction,
|
|
323
423
|
userPersona: () => userPersona,
|
|
324
424
|
userPersonaCustomSchemaPermission: () => userPersonaCustomSchemaPermission,
|
|
@@ -326,36 +426,40 @@ __export(modules_exports, {
|
|
|
326
426
|
userPersonaEntityPermission: () => userPersonaEntityPermission,
|
|
327
427
|
vehicle: () => vehicle,
|
|
328
428
|
warehouse: () => warehouse,
|
|
329
|
-
|
|
429
|
+
webComponent: () => webComponent,
|
|
430
|
+
webComponentSlot: () => webComponentSlot,
|
|
431
|
+
whatsappAccount: () => whatsappAccount,
|
|
432
|
+
workstation: () => workstation,
|
|
433
|
+
workstationTransfer: () => workstationTransfer
|
|
330
434
|
});
|
|
331
435
|
|
|
332
|
-
// generated/modules/
|
|
436
|
+
// generated/modules/activity.ts
|
|
333
437
|
function findAll(options) {
|
|
334
438
|
return __async(this, null, function* () {
|
|
335
|
-
return yield getAllObjects(
|
|
439
|
+
return yield getAllObjects(ACTIVITY, options == null ? void 0 : options.where);
|
|
336
440
|
});
|
|
337
441
|
}
|
|
338
442
|
function findOne(id) {
|
|
339
443
|
return __async(this, null, function* () {
|
|
340
|
-
return yield getObjectById(
|
|
444
|
+
return yield getObjectById(ACTIVITY, id);
|
|
341
445
|
});
|
|
342
446
|
}
|
|
343
447
|
function create(data) {
|
|
344
448
|
return __async(this, null, function* () {
|
|
345
|
-
return yield createObject(
|
|
449
|
+
return yield createObject(ACTIVITY, data);
|
|
346
450
|
});
|
|
347
451
|
}
|
|
348
452
|
function update(id, newData) {
|
|
349
453
|
return __async(this, null, function* () {
|
|
350
|
-
return yield updateObject(
|
|
454
|
+
return yield updateObject(ACTIVITY, id, newData);
|
|
351
455
|
});
|
|
352
456
|
}
|
|
353
457
|
function remove(id) {
|
|
354
458
|
return __async(this, null, function* () {
|
|
355
|
-
return yield deleteObject(
|
|
459
|
+
return yield deleteObject(ACTIVITY, id);
|
|
356
460
|
});
|
|
357
461
|
}
|
|
358
|
-
var
|
|
462
|
+
var activity = {
|
|
359
463
|
findAll,
|
|
360
464
|
findOne,
|
|
361
465
|
create,
|
|
@@ -363,33 +467,33 @@ var notification = {
|
|
|
363
467
|
remove
|
|
364
468
|
};
|
|
365
469
|
|
|
366
|
-
// generated/modules/
|
|
470
|
+
// generated/modules/notification.ts
|
|
367
471
|
function findAll2(options) {
|
|
368
472
|
return __async(this, null, function* () {
|
|
369
|
-
return yield getAllObjects(
|
|
473
|
+
return yield getAllObjects(NOTIFICATION, options == null ? void 0 : options.where);
|
|
370
474
|
});
|
|
371
475
|
}
|
|
372
476
|
function findOne2(id) {
|
|
373
477
|
return __async(this, null, function* () {
|
|
374
|
-
return yield getObjectById(
|
|
478
|
+
return yield getObjectById(NOTIFICATION, id);
|
|
375
479
|
});
|
|
376
480
|
}
|
|
377
481
|
function create2(data) {
|
|
378
482
|
return __async(this, null, function* () {
|
|
379
|
-
return yield createObject(
|
|
483
|
+
return yield createObject(NOTIFICATION, data);
|
|
380
484
|
});
|
|
381
485
|
}
|
|
382
486
|
function update2(id, newData) {
|
|
383
487
|
return __async(this, null, function* () {
|
|
384
|
-
return yield updateObject(
|
|
488
|
+
return yield updateObject(NOTIFICATION, id, newData);
|
|
385
489
|
});
|
|
386
490
|
}
|
|
387
491
|
function remove2(id) {
|
|
388
492
|
return __async(this, null, function* () {
|
|
389
|
-
return yield deleteObject(
|
|
493
|
+
return yield deleteObject(NOTIFICATION, id);
|
|
390
494
|
});
|
|
391
495
|
}
|
|
392
|
-
var
|
|
496
|
+
var notification = {
|
|
393
497
|
findAll: findAll2,
|
|
394
498
|
findOne: findOne2,
|
|
395
499
|
create: create2,
|
|
@@ -397,33 +501,33 @@ var account = {
|
|
|
397
501
|
remove: remove2
|
|
398
502
|
};
|
|
399
503
|
|
|
400
|
-
// generated/modules/
|
|
504
|
+
// generated/modules/bank-account.ts
|
|
401
505
|
function findAll3(options) {
|
|
402
506
|
return __async(this, null, function* () {
|
|
403
|
-
return yield getAllObjects(
|
|
507
|
+
return yield getAllObjects(BANK_ACCOUNT, options == null ? void 0 : options.where);
|
|
404
508
|
});
|
|
405
509
|
}
|
|
406
510
|
function findOne3(id) {
|
|
407
511
|
return __async(this, null, function* () {
|
|
408
|
-
return yield getObjectById(
|
|
512
|
+
return yield getObjectById(BANK_ACCOUNT, id);
|
|
409
513
|
});
|
|
410
514
|
}
|
|
411
515
|
function create3(data) {
|
|
412
516
|
return __async(this, null, function* () {
|
|
413
|
-
return yield createObject(
|
|
517
|
+
return yield createObject(BANK_ACCOUNT, data);
|
|
414
518
|
});
|
|
415
519
|
}
|
|
416
520
|
function update3(id, newData) {
|
|
417
521
|
return __async(this, null, function* () {
|
|
418
|
-
return yield updateObject(
|
|
522
|
+
return yield updateObject(BANK_ACCOUNT, id, newData);
|
|
419
523
|
});
|
|
420
524
|
}
|
|
421
525
|
function remove3(id) {
|
|
422
526
|
return __async(this, null, function* () {
|
|
423
|
-
return yield deleteObject(
|
|
527
|
+
return yield deleteObject(BANK_ACCOUNT, id);
|
|
424
528
|
});
|
|
425
529
|
}
|
|
426
|
-
var
|
|
530
|
+
var bankAccount = {
|
|
427
531
|
findAll: findAll3,
|
|
428
532
|
findOne: findOne3,
|
|
429
533
|
create: create3,
|
|
@@ -431,33 +535,33 @@ var journalEntryLine = {
|
|
|
431
535
|
remove: remove3
|
|
432
536
|
};
|
|
433
537
|
|
|
434
|
-
// generated/modules/
|
|
538
|
+
// generated/modules/bank-transaction.ts
|
|
435
539
|
function findAll4(options) {
|
|
436
540
|
return __async(this, null, function* () {
|
|
437
|
-
return yield getAllObjects(
|
|
541
|
+
return yield getAllObjects(BANK_TRANSACTION, options == null ? void 0 : options.where);
|
|
438
542
|
});
|
|
439
543
|
}
|
|
440
544
|
function findOne4(id) {
|
|
441
545
|
return __async(this, null, function* () {
|
|
442
|
-
return yield getObjectById(
|
|
546
|
+
return yield getObjectById(BANK_TRANSACTION, id);
|
|
443
547
|
});
|
|
444
548
|
}
|
|
445
549
|
function create4(data) {
|
|
446
550
|
return __async(this, null, function* () {
|
|
447
|
-
return yield createObject(
|
|
551
|
+
return yield createObject(BANK_TRANSACTION, data);
|
|
448
552
|
});
|
|
449
553
|
}
|
|
450
554
|
function update4(id, newData) {
|
|
451
555
|
return __async(this, null, function* () {
|
|
452
|
-
return yield updateObject(
|
|
556
|
+
return yield updateObject(BANK_TRANSACTION, id, newData);
|
|
453
557
|
});
|
|
454
558
|
}
|
|
455
559
|
function remove4(id) {
|
|
456
560
|
return __async(this, null, function* () {
|
|
457
|
-
return yield deleteObject(
|
|
561
|
+
return yield deleteObject(BANK_TRANSACTION, id);
|
|
458
562
|
});
|
|
459
563
|
}
|
|
460
|
-
var
|
|
564
|
+
var bankTransaction = {
|
|
461
565
|
findAll: findAll4,
|
|
462
566
|
findOne: findOne4,
|
|
463
567
|
create: create4,
|
|
@@ -465,33 +569,33 @@ var journalEntry = {
|
|
|
465
569
|
remove: remove4
|
|
466
570
|
};
|
|
467
571
|
|
|
468
|
-
// generated/modules/
|
|
572
|
+
// generated/modules/account.ts
|
|
469
573
|
function findAll5(options) {
|
|
470
574
|
return __async(this, null, function* () {
|
|
471
|
-
return yield getAllObjects(
|
|
575
|
+
return yield getAllObjects(ACCOUNT, options == null ? void 0 : options.where);
|
|
472
576
|
});
|
|
473
577
|
}
|
|
474
578
|
function findOne5(id) {
|
|
475
579
|
return __async(this, null, function* () {
|
|
476
|
-
return yield getObjectById(
|
|
580
|
+
return yield getObjectById(ACCOUNT, id);
|
|
477
581
|
});
|
|
478
582
|
}
|
|
479
583
|
function create5(data) {
|
|
480
584
|
return __async(this, null, function* () {
|
|
481
|
-
return yield createObject(
|
|
585
|
+
return yield createObject(ACCOUNT, data);
|
|
482
586
|
});
|
|
483
587
|
}
|
|
484
588
|
function update5(id, newData) {
|
|
485
589
|
return __async(this, null, function* () {
|
|
486
|
-
return yield updateObject(
|
|
590
|
+
return yield updateObject(ACCOUNT, id, newData);
|
|
487
591
|
});
|
|
488
592
|
}
|
|
489
593
|
function remove5(id) {
|
|
490
594
|
return __async(this, null, function* () {
|
|
491
|
-
return yield deleteObject(
|
|
595
|
+
return yield deleteObject(ACCOUNT, id);
|
|
492
596
|
});
|
|
493
597
|
}
|
|
494
|
-
var
|
|
598
|
+
var account = {
|
|
495
599
|
findAll: findAll5,
|
|
496
600
|
findOne: findOne5,
|
|
497
601
|
create: create5,
|
|
@@ -499,33 +603,33 @@ var auditLog = {
|
|
|
499
603
|
remove: remove5
|
|
500
604
|
};
|
|
501
605
|
|
|
502
|
-
// generated/modules/
|
|
606
|
+
// generated/modules/journal-entry-line.ts
|
|
503
607
|
function findAll6(options) {
|
|
504
608
|
return __async(this, null, function* () {
|
|
505
|
-
return yield getAllObjects(
|
|
609
|
+
return yield getAllObjects(JOURNAL_ENTRY_LINE, options == null ? void 0 : options.where);
|
|
506
610
|
});
|
|
507
611
|
}
|
|
508
612
|
function findOne6(id) {
|
|
509
613
|
return __async(this, null, function* () {
|
|
510
|
-
return yield getObjectById(
|
|
614
|
+
return yield getObjectById(JOURNAL_ENTRY_LINE, id);
|
|
511
615
|
});
|
|
512
616
|
}
|
|
513
617
|
function create6(data) {
|
|
514
618
|
return __async(this, null, function* () {
|
|
515
|
-
return yield createObject(
|
|
619
|
+
return yield createObject(JOURNAL_ENTRY_LINE, data);
|
|
516
620
|
});
|
|
517
621
|
}
|
|
518
622
|
function update6(id, newData) {
|
|
519
623
|
return __async(this, null, function* () {
|
|
520
|
-
return yield updateObject(
|
|
624
|
+
return yield updateObject(JOURNAL_ENTRY_LINE, id, newData);
|
|
521
625
|
});
|
|
522
626
|
}
|
|
523
627
|
function remove6(id) {
|
|
524
628
|
return __async(this, null, function* () {
|
|
525
|
-
return yield deleteObject(
|
|
629
|
+
return yield deleteObject(JOURNAL_ENTRY_LINE, id);
|
|
526
630
|
});
|
|
527
631
|
}
|
|
528
|
-
var
|
|
632
|
+
var journalEntryLine = {
|
|
529
633
|
findAll: findAll6,
|
|
530
634
|
findOne: findOne6,
|
|
531
635
|
create: create6,
|
|
@@ -533,33 +637,33 @@ var subsidiary = {
|
|
|
533
637
|
remove: remove6
|
|
534
638
|
};
|
|
535
639
|
|
|
536
|
-
// generated/modules/
|
|
640
|
+
// generated/modules/journal-entry.ts
|
|
537
641
|
function findAll7(options) {
|
|
538
642
|
return __async(this, null, function* () {
|
|
539
|
-
return yield getAllObjects(
|
|
643
|
+
return yield getAllObjects(JOURNAL_ENTRY, options == null ? void 0 : options.where);
|
|
540
644
|
});
|
|
541
645
|
}
|
|
542
646
|
function findOne7(id) {
|
|
543
647
|
return __async(this, null, function* () {
|
|
544
|
-
return yield getObjectById(
|
|
648
|
+
return yield getObjectById(JOURNAL_ENTRY, id);
|
|
545
649
|
});
|
|
546
650
|
}
|
|
547
651
|
function create7(data) {
|
|
548
652
|
return __async(this, null, function* () {
|
|
549
|
-
return yield createObject(
|
|
653
|
+
return yield createObject(JOURNAL_ENTRY, data);
|
|
550
654
|
});
|
|
551
655
|
}
|
|
552
656
|
function update7(id, newData) {
|
|
553
657
|
return __async(this, null, function* () {
|
|
554
|
-
return yield updateObject(
|
|
658
|
+
return yield updateObject(JOURNAL_ENTRY, id, newData);
|
|
555
659
|
});
|
|
556
660
|
}
|
|
557
661
|
function remove7(id) {
|
|
558
662
|
return __async(this, null, function* () {
|
|
559
|
-
return yield deleteObject(
|
|
663
|
+
return yield deleteObject(JOURNAL_ENTRY, id);
|
|
560
664
|
});
|
|
561
665
|
}
|
|
562
|
-
var
|
|
666
|
+
var journalEntry = {
|
|
563
667
|
findAll: findAll7,
|
|
564
668
|
findOne: findOne7,
|
|
565
669
|
create: create7,
|
|
@@ -567,33 +671,33 @@ var companyOption = {
|
|
|
567
671
|
remove: remove7
|
|
568
672
|
};
|
|
569
673
|
|
|
570
|
-
// generated/modules/
|
|
674
|
+
// generated/modules/audit-log.ts
|
|
571
675
|
function findAll8(options) {
|
|
572
676
|
return __async(this, null, function* () {
|
|
573
|
-
return yield getAllObjects(
|
|
677
|
+
return yield getAllObjects(AUDIT_LOG, options == null ? void 0 : options.where);
|
|
574
678
|
});
|
|
575
679
|
}
|
|
576
680
|
function findOne8(id) {
|
|
577
681
|
return __async(this, null, function* () {
|
|
578
|
-
return yield getObjectById(
|
|
682
|
+
return yield getObjectById(AUDIT_LOG, id);
|
|
579
683
|
});
|
|
580
684
|
}
|
|
581
685
|
function create8(data) {
|
|
582
686
|
return __async(this, null, function* () {
|
|
583
|
-
return yield createObject(
|
|
687
|
+
return yield createObject(AUDIT_LOG, data);
|
|
584
688
|
});
|
|
585
689
|
}
|
|
586
690
|
function update8(id, newData) {
|
|
587
691
|
return __async(this, null, function* () {
|
|
588
|
-
return yield updateObject(
|
|
692
|
+
return yield updateObject(AUDIT_LOG, id, newData);
|
|
589
693
|
});
|
|
590
694
|
}
|
|
591
695
|
function remove8(id) {
|
|
592
696
|
return __async(this, null, function* () {
|
|
593
|
-
return yield deleteObject(
|
|
697
|
+
return yield deleteObject(AUDIT_LOG, id);
|
|
594
698
|
});
|
|
595
699
|
}
|
|
596
|
-
var
|
|
700
|
+
var auditLog = {
|
|
597
701
|
findAll: findAll8,
|
|
598
702
|
findOne: findOne8,
|
|
599
703
|
create: create8,
|
|
@@ -601,33 +705,33 @@ var companyPermission = {
|
|
|
601
705
|
remove: remove8
|
|
602
706
|
};
|
|
603
707
|
|
|
604
|
-
// generated/modules/
|
|
708
|
+
// generated/modules/subsidiary.ts
|
|
605
709
|
function findAll9(options) {
|
|
606
710
|
return __async(this, null, function* () {
|
|
607
|
-
return yield getAllObjects(
|
|
711
|
+
return yield getAllObjects(SUBSIDIARY, options == null ? void 0 : options.where);
|
|
608
712
|
});
|
|
609
713
|
}
|
|
610
714
|
function findOne9(id) {
|
|
611
715
|
return __async(this, null, function* () {
|
|
612
|
-
return yield getObjectById(
|
|
716
|
+
return yield getObjectById(SUBSIDIARY, id);
|
|
613
717
|
});
|
|
614
718
|
}
|
|
615
719
|
function create9(data) {
|
|
616
720
|
return __async(this, null, function* () {
|
|
617
|
-
return yield createObject(
|
|
721
|
+
return yield createObject(SUBSIDIARY, data);
|
|
618
722
|
});
|
|
619
723
|
}
|
|
620
724
|
function update9(id, newData) {
|
|
621
725
|
return __async(this, null, function* () {
|
|
622
|
-
return yield updateObject(
|
|
726
|
+
return yield updateObject(SUBSIDIARY, id, newData);
|
|
623
727
|
});
|
|
624
728
|
}
|
|
625
729
|
function remove9(id) {
|
|
626
730
|
return __async(this, null, function* () {
|
|
627
|
-
return yield deleteObject(
|
|
731
|
+
return yield deleteObject(SUBSIDIARY, id);
|
|
628
732
|
});
|
|
629
733
|
}
|
|
630
|
-
var
|
|
734
|
+
var subsidiary = {
|
|
631
735
|
findAll: findAll9,
|
|
632
736
|
findOne: findOne9,
|
|
633
737
|
create: create9,
|
|
@@ -635,33 +739,33 @@ var customer = {
|
|
|
635
739
|
remove: remove9
|
|
636
740
|
};
|
|
637
741
|
|
|
638
|
-
// generated/modules/
|
|
742
|
+
// generated/modules/company-feature.ts
|
|
639
743
|
function findAll10(options) {
|
|
640
744
|
return __async(this, null, function* () {
|
|
641
|
-
return yield getAllObjects(
|
|
745
|
+
return yield getAllObjects(COMPANY_FEATURE, options == null ? void 0 : options.where);
|
|
642
746
|
});
|
|
643
747
|
}
|
|
644
748
|
function findOne10(id) {
|
|
645
749
|
return __async(this, null, function* () {
|
|
646
|
-
return yield getObjectById(
|
|
750
|
+
return yield getObjectById(COMPANY_FEATURE, id);
|
|
647
751
|
});
|
|
648
752
|
}
|
|
649
753
|
function create10(data) {
|
|
650
754
|
return __async(this, null, function* () {
|
|
651
|
-
return yield createObject(
|
|
755
|
+
return yield createObject(COMPANY_FEATURE, data);
|
|
652
756
|
});
|
|
653
757
|
}
|
|
654
758
|
function update10(id, newData) {
|
|
655
759
|
return __async(this, null, function* () {
|
|
656
|
-
return yield updateObject(
|
|
760
|
+
return yield updateObject(COMPANY_FEATURE, id, newData);
|
|
657
761
|
});
|
|
658
762
|
}
|
|
659
763
|
function remove10(id) {
|
|
660
764
|
return __async(this, null, function* () {
|
|
661
|
-
return yield deleteObject(
|
|
765
|
+
return yield deleteObject(COMPANY_FEATURE, id);
|
|
662
766
|
});
|
|
663
767
|
}
|
|
664
|
-
var
|
|
768
|
+
var companyFeature = {
|
|
665
769
|
findAll: findAll10,
|
|
666
770
|
findOne: findOne10,
|
|
667
771
|
create: create10,
|
|
@@ -669,33 +773,33 @@ var supplier = {
|
|
|
669
773
|
remove: remove10
|
|
670
774
|
};
|
|
671
775
|
|
|
672
|
-
// generated/modules/
|
|
776
|
+
// generated/modules/company-option.ts
|
|
673
777
|
function findAll11(options) {
|
|
674
778
|
return __async(this, null, function* () {
|
|
675
|
-
return yield getAllObjects(
|
|
779
|
+
return yield getAllObjects(COMPANY_OPTION, options == null ? void 0 : options.where);
|
|
676
780
|
});
|
|
677
781
|
}
|
|
678
782
|
function findOne11(id) {
|
|
679
783
|
return __async(this, null, function* () {
|
|
680
|
-
return yield getObjectById(
|
|
784
|
+
return yield getObjectById(COMPANY_OPTION, id);
|
|
681
785
|
});
|
|
682
786
|
}
|
|
683
787
|
function create11(data) {
|
|
684
788
|
return __async(this, null, function* () {
|
|
685
|
-
return yield createObject(
|
|
789
|
+
return yield createObject(COMPANY_OPTION, data);
|
|
686
790
|
});
|
|
687
791
|
}
|
|
688
792
|
function update11(id, newData) {
|
|
689
793
|
return __async(this, null, function* () {
|
|
690
|
-
return yield updateObject(
|
|
794
|
+
return yield updateObject(COMPANY_OPTION, id, newData);
|
|
691
795
|
});
|
|
692
796
|
}
|
|
693
797
|
function remove11(id) {
|
|
694
798
|
return __async(this, null, function* () {
|
|
695
|
-
return yield deleteObject(
|
|
799
|
+
return yield deleteObject(COMPANY_OPTION, id);
|
|
696
800
|
});
|
|
697
801
|
}
|
|
698
|
-
var
|
|
802
|
+
var companyOption = {
|
|
699
803
|
findAll: findAll11,
|
|
700
804
|
findOne: findOne11,
|
|
701
805
|
create: create11,
|
|
@@ -703,33 +807,33 @@ var customEntityField = {
|
|
|
703
807
|
remove: remove11
|
|
704
808
|
};
|
|
705
809
|
|
|
706
|
-
// generated/modules/
|
|
810
|
+
// generated/modules/company-permission.ts
|
|
707
811
|
function findAll12(options) {
|
|
708
812
|
return __async(this, null, function* () {
|
|
709
|
-
return yield getAllObjects(
|
|
813
|
+
return yield getAllObjects(COMPANY_PERMISSION, options == null ? void 0 : options.where);
|
|
710
814
|
});
|
|
711
815
|
}
|
|
712
816
|
function findOne12(id) {
|
|
713
817
|
return __async(this, null, function* () {
|
|
714
|
-
return yield getObjectById(
|
|
818
|
+
return yield getObjectById(COMPANY_PERMISSION, id);
|
|
715
819
|
});
|
|
716
820
|
}
|
|
717
821
|
function create12(data) {
|
|
718
822
|
return __async(this, null, function* () {
|
|
719
|
-
return yield createObject(
|
|
823
|
+
return yield createObject(COMPANY_PERMISSION, data);
|
|
720
824
|
});
|
|
721
825
|
}
|
|
722
826
|
function update12(id, newData) {
|
|
723
827
|
return __async(this, null, function* () {
|
|
724
|
-
return yield updateObject(
|
|
828
|
+
return yield updateObject(COMPANY_PERMISSION, id, newData);
|
|
725
829
|
});
|
|
726
830
|
}
|
|
727
831
|
function remove12(id) {
|
|
728
832
|
return __async(this, null, function* () {
|
|
729
|
-
return yield deleteObject(
|
|
833
|
+
return yield deleteObject(COMPANY_PERMISSION, id);
|
|
730
834
|
});
|
|
731
835
|
}
|
|
732
|
-
var
|
|
836
|
+
var companyPermission = {
|
|
733
837
|
findAll: findAll12,
|
|
734
838
|
findOne: findOne12,
|
|
735
839
|
create: create12,
|
|
@@ -737,33 +841,33 @@ var customEntityObject = {
|
|
|
737
841
|
remove: remove12
|
|
738
842
|
};
|
|
739
843
|
|
|
740
|
-
// generated/modules/
|
|
844
|
+
// generated/modules/customer.ts
|
|
741
845
|
function findAll13(options) {
|
|
742
846
|
return __async(this, null, function* () {
|
|
743
|
-
return yield getAllObjects(
|
|
847
|
+
return yield getAllObjects(CUSTOMER, options == null ? void 0 : options.where);
|
|
744
848
|
});
|
|
745
849
|
}
|
|
746
850
|
function findOne13(id) {
|
|
747
851
|
return __async(this, null, function* () {
|
|
748
|
-
return yield getObjectById(
|
|
852
|
+
return yield getObjectById(CUSTOMER, id);
|
|
749
853
|
});
|
|
750
854
|
}
|
|
751
855
|
function create13(data) {
|
|
752
856
|
return __async(this, null, function* () {
|
|
753
|
-
return yield createObject(
|
|
857
|
+
return yield createObject(CUSTOMER, data);
|
|
754
858
|
});
|
|
755
859
|
}
|
|
756
860
|
function update13(id, newData) {
|
|
757
861
|
return __async(this, null, function* () {
|
|
758
|
-
return yield updateObject(
|
|
862
|
+
return yield updateObject(CUSTOMER, id, newData);
|
|
759
863
|
});
|
|
760
864
|
}
|
|
761
865
|
function remove13(id) {
|
|
762
866
|
return __async(this, null, function* () {
|
|
763
|
-
return yield deleteObject(
|
|
867
|
+
return yield deleteObject(CUSTOMER, id);
|
|
764
868
|
});
|
|
765
869
|
}
|
|
766
|
-
var
|
|
870
|
+
var customer = {
|
|
767
871
|
findAll: findAll13,
|
|
768
872
|
findOne: findOne13,
|
|
769
873
|
create: create13,
|
|
@@ -771,33 +875,33 @@ var customEntitySchema = {
|
|
|
771
875
|
remove: remove13
|
|
772
876
|
};
|
|
773
877
|
|
|
774
|
-
// generated/modules/
|
|
878
|
+
// generated/modules/supplier.ts
|
|
775
879
|
function findAll14(options) {
|
|
776
880
|
return __async(this, null, function* () {
|
|
777
|
-
return yield getAllObjects(
|
|
881
|
+
return yield getAllObjects(SUPPLIER, options == null ? void 0 : options.where);
|
|
778
882
|
});
|
|
779
883
|
}
|
|
780
884
|
function findOne14(id) {
|
|
781
885
|
return __async(this, null, function* () {
|
|
782
|
-
return yield getObjectById(
|
|
886
|
+
return yield getObjectById(SUPPLIER, id);
|
|
783
887
|
});
|
|
784
888
|
}
|
|
785
889
|
function create14(data) {
|
|
786
890
|
return __async(this, null, function* () {
|
|
787
|
-
return yield createObject(
|
|
891
|
+
return yield createObject(SUPPLIER, data);
|
|
788
892
|
});
|
|
789
893
|
}
|
|
790
894
|
function update14(id, newData) {
|
|
791
895
|
return __async(this, null, function* () {
|
|
792
|
-
return yield updateObject(
|
|
896
|
+
return yield updateObject(SUPPLIER, id, newData);
|
|
793
897
|
});
|
|
794
898
|
}
|
|
795
899
|
function remove14(id) {
|
|
796
900
|
return __async(this, null, function* () {
|
|
797
|
-
return yield deleteObject(
|
|
901
|
+
return yield deleteObject(SUPPLIER, id);
|
|
798
902
|
});
|
|
799
903
|
}
|
|
800
|
-
var
|
|
904
|
+
var supplier = {
|
|
801
905
|
findAll: findAll14,
|
|
802
906
|
findOne: findOne14,
|
|
803
907
|
create: create14,
|
|
@@ -805,33 +909,33 @@ var customField = {
|
|
|
805
909
|
remove: remove14
|
|
806
910
|
};
|
|
807
911
|
|
|
808
|
-
// generated/modules/
|
|
912
|
+
// generated/modules/custom-entity-field.ts
|
|
809
913
|
function findAll15(options) {
|
|
810
914
|
return __async(this, null, function* () {
|
|
811
|
-
return yield getAllObjects(
|
|
915
|
+
return yield getAllObjects(CUSTOM_ENTITY_FIELD, options == null ? void 0 : options.where);
|
|
812
916
|
});
|
|
813
917
|
}
|
|
814
918
|
function findOne15(id) {
|
|
815
919
|
return __async(this, null, function* () {
|
|
816
|
-
return yield getObjectById(
|
|
920
|
+
return yield getObjectById(CUSTOM_ENTITY_FIELD, id);
|
|
817
921
|
});
|
|
818
922
|
}
|
|
819
923
|
function create15(data) {
|
|
820
924
|
return __async(this, null, function* () {
|
|
821
|
-
return yield createObject(
|
|
925
|
+
return yield createObject(CUSTOM_ENTITY_FIELD, data);
|
|
822
926
|
});
|
|
823
927
|
}
|
|
824
928
|
function update15(id, newData) {
|
|
825
929
|
return __async(this, null, function* () {
|
|
826
|
-
return yield updateObject(
|
|
930
|
+
return yield updateObject(CUSTOM_ENTITY_FIELD, id, newData);
|
|
827
931
|
});
|
|
828
932
|
}
|
|
829
933
|
function remove15(id) {
|
|
830
934
|
return __async(this, null, function* () {
|
|
831
|
-
return yield deleteObject(
|
|
935
|
+
return yield deleteObject(CUSTOM_ENTITY_FIELD, id);
|
|
832
936
|
});
|
|
833
937
|
}
|
|
834
|
-
var
|
|
938
|
+
var customEntityField = {
|
|
835
939
|
findAll: findAll15,
|
|
836
940
|
findOne: findOne15,
|
|
837
941
|
create: create15,
|
|
@@ -839,33 +943,33 @@ var incomingDeliveryLine = {
|
|
|
839
943
|
remove: remove15
|
|
840
944
|
};
|
|
841
945
|
|
|
842
|
-
// generated/modules/
|
|
946
|
+
// generated/modules/custom-entity-object.ts
|
|
843
947
|
function findAll16(options) {
|
|
844
948
|
return __async(this, null, function* () {
|
|
845
|
-
return yield getAllObjects(
|
|
949
|
+
return yield getAllObjects(CUSTOM_ENTITY_OBJECT, options == null ? void 0 : options.where);
|
|
846
950
|
});
|
|
847
951
|
}
|
|
848
952
|
function findOne16(id) {
|
|
849
953
|
return __async(this, null, function* () {
|
|
850
|
-
return yield getObjectById(
|
|
954
|
+
return yield getObjectById(CUSTOM_ENTITY_OBJECT, id);
|
|
851
955
|
});
|
|
852
956
|
}
|
|
853
957
|
function create16(data) {
|
|
854
958
|
return __async(this, null, function* () {
|
|
855
|
-
return yield createObject(
|
|
959
|
+
return yield createObject(CUSTOM_ENTITY_OBJECT, data);
|
|
856
960
|
});
|
|
857
961
|
}
|
|
858
962
|
function update16(id, newData) {
|
|
859
963
|
return __async(this, null, function* () {
|
|
860
|
-
return yield updateObject(
|
|
964
|
+
return yield updateObject(CUSTOM_ENTITY_OBJECT, id, newData);
|
|
861
965
|
});
|
|
862
966
|
}
|
|
863
967
|
function remove16(id) {
|
|
864
968
|
return __async(this, null, function* () {
|
|
865
|
-
return yield deleteObject(
|
|
969
|
+
return yield deleteObject(CUSTOM_ENTITY_OBJECT, id);
|
|
866
970
|
});
|
|
867
971
|
}
|
|
868
|
-
var
|
|
972
|
+
var customEntityObject = {
|
|
869
973
|
findAll: findAll16,
|
|
870
974
|
findOne: findOne16,
|
|
871
975
|
create: create16,
|
|
@@ -873,33 +977,33 @@ var incomingDelivery = {
|
|
|
873
977
|
remove: remove16
|
|
874
978
|
};
|
|
875
979
|
|
|
876
|
-
// generated/modules/
|
|
980
|
+
// generated/modules/custom-entity-schema.ts
|
|
877
981
|
function findAll17(options) {
|
|
878
982
|
return __async(this, null, function* () {
|
|
879
|
-
return yield getAllObjects(
|
|
983
|
+
return yield getAllObjects(CUSTOM_ENTITY_SCHEMA, options == null ? void 0 : options.where);
|
|
880
984
|
});
|
|
881
985
|
}
|
|
882
986
|
function findOne17(id) {
|
|
883
987
|
return __async(this, null, function* () {
|
|
884
|
-
return yield getObjectById(
|
|
988
|
+
return yield getObjectById(CUSTOM_ENTITY_SCHEMA, id);
|
|
885
989
|
});
|
|
886
990
|
}
|
|
887
991
|
function create17(data) {
|
|
888
992
|
return __async(this, null, function* () {
|
|
889
|
-
return yield createObject(
|
|
993
|
+
return yield createObject(CUSTOM_ENTITY_SCHEMA, data);
|
|
890
994
|
});
|
|
891
995
|
}
|
|
892
996
|
function update17(id, newData) {
|
|
893
997
|
return __async(this, null, function* () {
|
|
894
|
-
return yield updateObject(
|
|
998
|
+
return yield updateObject(CUSTOM_ENTITY_SCHEMA, id, newData);
|
|
895
999
|
});
|
|
896
1000
|
}
|
|
897
1001
|
function remove17(id) {
|
|
898
1002
|
return __async(this, null, function* () {
|
|
899
|
-
return yield deleteObject(
|
|
1003
|
+
return yield deleteObject(CUSTOM_ENTITY_SCHEMA, id);
|
|
900
1004
|
});
|
|
901
1005
|
}
|
|
902
|
-
var
|
|
1006
|
+
var customEntitySchema = {
|
|
903
1007
|
findAll: findAll17,
|
|
904
1008
|
findOne: findOne17,
|
|
905
1009
|
create: create17,
|
|
@@ -907,33 +1011,33 @@ var internalDeliveryLine = {
|
|
|
907
1011
|
remove: remove17
|
|
908
1012
|
};
|
|
909
1013
|
|
|
910
|
-
// generated/modules/
|
|
1014
|
+
// generated/modules/custom-field.ts
|
|
911
1015
|
function findAll18(options) {
|
|
912
1016
|
return __async(this, null, function* () {
|
|
913
|
-
return yield getAllObjects(
|
|
1017
|
+
return yield getAllObjects(CUSTOM_FIELD, options == null ? void 0 : options.where);
|
|
914
1018
|
});
|
|
915
1019
|
}
|
|
916
1020
|
function findOne18(id) {
|
|
917
1021
|
return __async(this, null, function* () {
|
|
918
|
-
return yield getObjectById(
|
|
1022
|
+
return yield getObjectById(CUSTOM_FIELD, id);
|
|
919
1023
|
});
|
|
920
1024
|
}
|
|
921
1025
|
function create18(data) {
|
|
922
1026
|
return __async(this, null, function* () {
|
|
923
|
-
return yield createObject(
|
|
1027
|
+
return yield createObject(CUSTOM_FIELD, data);
|
|
924
1028
|
});
|
|
925
1029
|
}
|
|
926
1030
|
function update18(id, newData) {
|
|
927
1031
|
return __async(this, null, function* () {
|
|
928
|
-
return yield updateObject(
|
|
1032
|
+
return yield updateObject(CUSTOM_FIELD, id, newData);
|
|
929
1033
|
});
|
|
930
1034
|
}
|
|
931
1035
|
function remove18(id) {
|
|
932
1036
|
return __async(this, null, function* () {
|
|
933
|
-
return yield deleteObject(
|
|
1037
|
+
return yield deleteObject(CUSTOM_FIELD, id);
|
|
934
1038
|
});
|
|
935
1039
|
}
|
|
936
|
-
var
|
|
1040
|
+
var customField = {
|
|
937
1041
|
findAll: findAll18,
|
|
938
1042
|
findOne: findOne18,
|
|
939
1043
|
create: create18,
|
|
@@ -941,33 +1045,33 @@ var internalDelivery = {
|
|
|
941
1045
|
remove: remove18
|
|
942
1046
|
};
|
|
943
1047
|
|
|
944
|
-
// generated/modules/
|
|
1048
|
+
// generated/modules/incoming-delivery-line.ts
|
|
945
1049
|
function findAll19(options) {
|
|
946
1050
|
return __async(this, null, function* () {
|
|
947
|
-
return yield getAllObjects(
|
|
1051
|
+
return yield getAllObjects(INCOMING_DELIVERY_LINE, options == null ? void 0 : options.where);
|
|
948
1052
|
});
|
|
949
1053
|
}
|
|
950
1054
|
function findOne19(id) {
|
|
951
1055
|
return __async(this, null, function* () {
|
|
952
|
-
return yield getObjectById(
|
|
1056
|
+
return yield getObjectById(INCOMING_DELIVERY_LINE, id);
|
|
953
1057
|
});
|
|
954
1058
|
}
|
|
955
1059
|
function create19(data) {
|
|
956
1060
|
return __async(this, null, function* () {
|
|
957
|
-
return yield createObject(
|
|
1061
|
+
return yield createObject(INCOMING_DELIVERY_LINE, data);
|
|
958
1062
|
});
|
|
959
1063
|
}
|
|
960
1064
|
function update19(id, newData) {
|
|
961
1065
|
return __async(this, null, function* () {
|
|
962
|
-
return yield updateObject(
|
|
1066
|
+
return yield updateObject(INCOMING_DELIVERY_LINE, id, newData);
|
|
963
1067
|
});
|
|
964
1068
|
}
|
|
965
1069
|
function remove19(id) {
|
|
966
1070
|
return __async(this, null, function* () {
|
|
967
|
-
return yield deleteObject(
|
|
1071
|
+
return yield deleteObject(INCOMING_DELIVERY_LINE, id);
|
|
968
1072
|
});
|
|
969
1073
|
}
|
|
970
|
-
var
|
|
1074
|
+
var incomingDeliveryLine = {
|
|
971
1075
|
findAll: findAll19,
|
|
972
1076
|
findOne: findOne19,
|
|
973
1077
|
create: create19,
|
|
@@ -975,33 +1079,33 @@ var outgoingDeliveryLine = {
|
|
|
975
1079
|
remove: remove19
|
|
976
1080
|
};
|
|
977
1081
|
|
|
978
|
-
// generated/modules/
|
|
1082
|
+
// generated/modules/incoming-delivery.ts
|
|
979
1083
|
function findAll20(options) {
|
|
980
1084
|
return __async(this, null, function* () {
|
|
981
|
-
return yield getAllObjects(
|
|
1085
|
+
return yield getAllObjects(INCOMING_DELIVERY, options == null ? void 0 : options.where);
|
|
982
1086
|
});
|
|
983
1087
|
}
|
|
984
1088
|
function findOne20(id) {
|
|
985
1089
|
return __async(this, null, function* () {
|
|
986
|
-
return yield getObjectById(
|
|
1090
|
+
return yield getObjectById(INCOMING_DELIVERY, id);
|
|
987
1091
|
});
|
|
988
1092
|
}
|
|
989
1093
|
function create20(data) {
|
|
990
1094
|
return __async(this, null, function* () {
|
|
991
|
-
return yield createObject(
|
|
1095
|
+
return yield createObject(INCOMING_DELIVERY, data);
|
|
992
1096
|
});
|
|
993
1097
|
}
|
|
994
1098
|
function update20(id, newData) {
|
|
995
1099
|
return __async(this, null, function* () {
|
|
996
|
-
return yield updateObject(
|
|
1100
|
+
return yield updateObject(INCOMING_DELIVERY, id, newData);
|
|
997
1101
|
});
|
|
998
1102
|
}
|
|
999
1103
|
function remove20(id) {
|
|
1000
1104
|
return __async(this, null, function* () {
|
|
1001
|
-
return yield deleteObject(
|
|
1105
|
+
return yield deleteObject(INCOMING_DELIVERY, id);
|
|
1002
1106
|
});
|
|
1003
1107
|
}
|
|
1004
|
-
var
|
|
1108
|
+
var incomingDelivery = {
|
|
1005
1109
|
findAll: findAll20,
|
|
1006
1110
|
findOne: findOne20,
|
|
1007
1111
|
create: create20,
|
|
@@ -1009,33 +1113,33 @@ var outgoingDelivery = {
|
|
|
1009
1113
|
remove: remove20
|
|
1010
1114
|
};
|
|
1011
1115
|
|
|
1012
|
-
// generated/modules/
|
|
1116
|
+
// generated/modules/internal-delivery-line.ts
|
|
1013
1117
|
function findAll21(options) {
|
|
1014
1118
|
return __async(this, null, function* () {
|
|
1015
|
-
return yield getAllObjects(
|
|
1119
|
+
return yield getAllObjects(INTERNAL_DELIVERY_LINE, options == null ? void 0 : options.where);
|
|
1016
1120
|
});
|
|
1017
1121
|
}
|
|
1018
1122
|
function findOne21(id) {
|
|
1019
1123
|
return __async(this, null, function* () {
|
|
1020
|
-
return yield getObjectById(
|
|
1124
|
+
return yield getObjectById(INTERNAL_DELIVERY_LINE, id);
|
|
1021
1125
|
});
|
|
1022
1126
|
}
|
|
1023
1127
|
function create21(data) {
|
|
1024
1128
|
return __async(this, null, function* () {
|
|
1025
|
-
return yield createObject(
|
|
1129
|
+
return yield createObject(INTERNAL_DELIVERY_LINE, data);
|
|
1026
1130
|
});
|
|
1027
1131
|
}
|
|
1028
1132
|
function update21(id, newData) {
|
|
1029
1133
|
return __async(this, null, function* () {
|
|
1030
|
-
return yield updateObject(
|
|
1134
|
+
return yield updateObject(INTERNAL_DELIVERY_LINE, id, newData);
|
|
1031
1135
|
});
|
|
1032
1136
|
}
|
|
1033
1137
|
function remove21(id) {
|
|
1034
1138
|
return __async(this, null, function* () {
|
|
1035
|
-
return yield deleteObject(
|
|
1139
|
+
return yield deleteObject(INTERNAL_DELIVERY_LINE, id);
|
|
1036
1140
|
});
|
|
1037
1141
|
}
|
|
1038
|
-
var
|
|
1142
|
+
var internalDeliveryLine = {
|
|
1039
1143
|
findAll: findAll21,
|
|
1040
1144
|
findOne: findOne21,
|
|
1041
1145
|
create: create21,
|
|
@@ -1043,33 +1147,33 @@ var customDocument = {
|
|
|
1043
1147
|
remove: remove21
|
|
1044
1148
|
};
|
|
1045
1149
|
|
|
1046
|
-
// generated/modules/
|
|
1150
|
+
// generated/modules/internal-delivery.ts
|
|
1047
1151
|
function findAll22(options) {
|
|
1048
1152
|
return __async(this, null, function* () {
|
|
1049
|
-
return yield getAllObjects(
|
|
1153
|
+
return yield getAllObjects(INTERNAL_DELIVERY, options == null ? void 0 : options.where);
|
|
1050
1154
|
});
|
|
1051
1155
|
}
|
|
1052
1156
|
function findOne22(id) {
|
|
1053
1157
|
return __async(this, null, function* () {
|
|
1054
|
-
return yield getObjectById(
|
|
1158
|
+
return yield getObjectById(INTERNAL_DELIVERY, id);
|
|
1055
1159
|
});
|
|
1056
1160
|
}
|
|
1057
1161
|
function create22(data) {
|
|
1058
1162
|
return __async(this, null, function* () {
|
|
1059
|
-
return yield createObject(
|
|
1163
|
+
return yield createObject(INTERNAL_DELIVERY, data);
|
|
1060
1164
|
});
|
|
1061
1165
|
}
|
|
1062
1166
|
function update22(id, newData) {
|
|
1063
1167
|
return __async(this, null, function* () {
|
|
1064
|
-
return yield updateObject(
|
|
1168
|
+
return yield updateObject(INTERNAL_DELIVERY, id, newData);
|
|
1065
1169
|
});
|
|
1066
1170
|
}
|
|
1067
1171
|
function remove22(id) {
|
|
1068
1172
|
return __async(this, null, function* () {
|
|
1069
|
-
return yield deleteObject(
|
|
1173
|
+
return yield deleteObject(INTERNAL_DELIVERY, id);
|
|
1070
1174
|
});
|
|
1071
1175
|
}
|
|
1072
|
-
var
|
|
1176
|
+
var internalDelivery = {
|
|
1073
1177
|
findAll: findAll22,
|
|
1074
1178
|
findOne: findOne22,
|
|
1075
1179
|
create: create22,
|
|
@@ -1077,33 +1181,33 @@ var identifierGroup = {
|
|
|
1077
1181
|
remove: remove22
|
|
1078
1182
|
};
|
|
1079
1183
|
|
|
1080
|
-
// generated/modules/
|
|
1184
|
+
// generated/modules/outgoing-delivery-line.ts
|
|
1081
1185
|
function findAll23(options) {
|
|
1082
1186
|
return __async(this, null, function* () {
|
|
1083
|
-
return yield getAllObjects(
|
|
1187
|
+
return yield getAllObjects(OUTGOING_DELIVERY_LINE, options == null ? void 0 : options.where);
|
|
1084
1188
|
});
|
|
1085
1189
|
}
|
|
1086
1190
|
function findOne23(id) {
|
|
1087
1191
|
return __async(this, null, function* () {
|
|
1088
|
-
return yield getObjectById(
|
|
1192
|
+
return yield getObjectById(OUTGOING_DELIVERY_LINE, id);
|
|
1089
1193
|
});
|
|
1090
1194
|
}
|
|
1091
1195
|
function create23(data) {
|
|
1092
1196
|
return __async(this, null, function* () {
|
|
1093
|
-
return yield createObject(
|
|
1197
|
+
return yield createObject(OUTGOING_DELIVERY_LINE, data);
|
|
1094
1198
|
});
|
|
1095
1199
|
}
|
|
1096
1200
|
function update23(id, newData) {
|
|
1097
1201
|
return __async(this, null, function* () {
|
|
1098
|
-
return yield updateObject(
|
|
1202
|
+
return yield updateObject(OUTGOING_DELIVERY_LINE, id, newData);
|
|
1099
1203
|
});
|
|
1100
1204
|
}
|
|
1101
1205
|
function remove23(id) {
|
|
1102
1206
|
return __async(this, null, function* () {
|
|
1103
|
-
return yield deleteObject(
|
|
1207
|
+
return yield deleteObject(OUTGOING_DELIVERY_LINE, id);
|
|
1104
1208
|
});
|
|
1105
1209
|
}
|
|
1106
|
-
var
|
|
1210
|
+
var outgoingDeliveryLine = {
|
|
1107
1211
|
findAll: findAll23,
|
|
1108
1212
|
findOne: findOne23,
|
|
1109
1213
|
create: create23,
|
|
@@ -1111,33 +1215,33 @@ var identifierToken = {
|
|
|
1111
1215
|
remove: remove23
|
|
1112
1216
|
};
|
|
1113
1217
|
|
|
1114
|
-
// generated/modules/
|
|
1218
|
+
// generated/modules/outgoing-delivery.ts
|
|
1115
1219
|
function findAll24(options) {
|
|
1116
1220
|
return __async(this, null, function* () {
|
|
1117
|
-
return yield getAllObjects(
|
|
1221
|
+
return yield getAllObjects(OUTGOING_DELIVERY, options == null ? void 0 : options.where);
|
|
1118
1222
|
});
|
|
1119
1223
|
}
|
|
1120
1224
|
function findOne24(id) {
|
|
1121
1225
|
return __async(this, null, function* () {
|
|
1122
|
-
return yield getObjectById(
|
|
1226
|
+
return yield getObjectById(OUTGOING_DELIVERY, id);
|
|
1123
1227
|
});
|
|
1124
1228
|
}
|
|
1125
1229
|
function create24(data) {
|
|
1126
1230
|
return __async(this, null, function* () {
|
|
1127
|
-
return yield createObject(
|
|
1231
|
+
return yield createObject(OUTGOING_DELIVERY, data);
|
|
1128
1232
|
});
|
|
1129
1233
|
}
|
|
1130
1234
|
function update24(id, newData) {
|
|
1131
1235
|
return __async(this, null, function* () {
|
|
1132
|
-
return yield updateObject(
|
|
1236
|
+
return yield updateObject(OUTGOING_DELIVERY, id, newData);
|
|
1133
1237
|
});
|
|
1134
1238
|
}
|
|
1135
1239
|
function remove24(id) {
|
|
1136
1240
|
return __async(this, null, function* () {
|
|
1137
|
-
return yield deleteObject(
|
|
1241
|
+
return yield deleteObject(OUTGOING_DELIVERY, id);
|
|
1138
1242
|
});
|
|
1139
1243
|
}
|
|
1140
|
-
var
|
|
1244
|
+
var outgoingDelivery = {
|
|
1141
1245
|
findAll: findAll24,
|
|
1142
1246
|
findOne: findOne24,
|
|
1143
1247
|
create: create24,
|
|
@@ -1145,33 +1249,33 @@ var invoiceLine = {
|
|
|
1145
1249
|
remove: remove24
|
|
1146
1250
|
};
|
|
1147
1251
|
|
|
1148
|
-
// generated/modules/
|
|
1252
|
+
// generated/modules/custom-document.ts
|
|
1149
1253
|
function findAll25(options) {
|
|
1150
1254
|
return __async(this, null, function* () {
|
|
1151
|
-
return yield getAllObjects(
|
|
1255
|
+
return yield getAllObjects(CUSTOM_DOCUMENT, options == null ? void 0 : options.where);
|
|
1152
1256
|
});
|
|
1153
1257
|
}
|
|
1154
1258
|
function findOne25(id) {
|
|
1155
1259
|
return __async(this, null, function* () {
|
|
1156
|
-
return yield getObjectById(
|
|
1260
|
+
return yield getObjectById(CUSTOM_DOCUMENT, id);
|
|
1157
1261
|
});
|
|
1158
1262
|
}
|
|
1159
1263
|
function create25(data) {
|
|
1160
1264
|
return __async(this, null, function* () {
|
|
1161
|
-
return yield createObject(
|
|
1265
|
+
return yield createObject(CUSTOM_DOCUMENT, data);
|
|
1162
1266
|
});
|
|
1163
1267
|
}
|
|
1164
1268
|
function update25(id, newData) {
|
|
1165
1269
|
return __async(this, null, function* () {
|
|
1166
|
-
return yield updateObject(
|
|
1270
|
+
return yield updateObject(CUSTOM_DOCUMENT, id, newData);
|
|
1167
1271
|
});
|
|
1168
1272
|
}
|
|
1169
1273
|
function remove25(id) {
|
|
1170
1274
|
return __async(this, null, function* () {
|
|
1171
|
-
return yield deleteObject(
|
|
1275
|
+
return yield deleteObject(CUSTOM_DOCUMENT, id);
|
|
1172
1276
|
});
|
|
1173
1277
|
}
|
|
1174
|
-
var
|
|
1278
|
+
var customDocument = {
|
|
1175
1279
|
findAll: findAll25,
|
|
1176
1280
|
findOne: findOne25,
|
|
1177
1281
|
create: create25,
|
|
@@ -1179,33 +1283,33 @@ var invoice = {
|
|
|
1179
1283
|
remove: remove25
|
|
1180
1284
|
};
|
|
1181
1285
|
|
|
1182
|
-
// generated/modules/
|
|
1286
|
+
// generated/modules/identifier-group.ts
|
|
1183
1287
|
function findAll26(options) {
|
|
1184
1288
|
return __async(this, null, function* () {
|
|
1185
|
-
return yield getAllObjects(
|
|
1289
|
+
return yield getAllObjects(IDENTIFIER_GROUP, options == null ? void 0 : options.where);
|
|
1186
1290
|
});
|
|
1187
1291
|
}
|
|
1188
1292
|
function findOne26(id) {
|
|
1189
1293
|
return __async(this, null, function* () {
|
|
1190
|
-
return yield getObjectById(
|
|
1294
|
+
return yield getObjectById(IDENTIFIER_GROUP, id);
|
|
1191
1295
|
});
|
|
1192
1296
|
}
|
|
1193
1297
|
function create26(data) {
|
|
1194
1298
|
return __async(this, null, function* () {
|
|
1195
|
-
return yield createObject(
|
|
1299
|
+
return yield createObject(IDENTIFIER_GROUP, data);
|
|
1196
1300
|
});
|
|
1197
1301
|
}
|
|
1198
1302
|
function update26(id, newData) {
|
|
1199
1303
|
return __async(this, null, function* () {
|
|
1200
|
-
return yield updateObject(
|
|
1304
|
+
return yield updateObject(IDENTIFIER_GROUP, id, newData);
|
|
1201
1305
|
});
|
|
1202
1306
|
}
|
|
1203
1307
|
function remove26(id) {
|
|
1204
1308
|
return __async(this, null, function* () {
|
|
1205
|
-
return yield deleteObject(
|
|
1309
|
+
return yield deleteObject(IDENTIFIER_GROUP, id);
|
|
1206
1310
|
});
|
|
1207
1311
|
}
|
|
1208
|
-
var
|
|
1312
|
+
var identifierGroup = {
|
|
1209
1313
|
findAll: findAll26,
|
|
1210
1314
|
findOne: findOne26,
|
|
1211
1315
|
create: create26,
|
|
@@ -1213,33 +1317,33 @@ var purchaseOrderLine = {
|
|
|
1213
1317
|
remove: remove26
|
|
1214
1318
|
};
|
|
1215
1319
|
|
|
1216
|
-
// generated/modules/
|
|
1320
|
+
// generated/modules/identifier-token.ts
|
|
1217
1321
|
function findAll27(options) {
|
|
1218
1322
|
return __async(this, null, function* () {
|
|
1219
|
-
return yield getAllObjects(
|
|
1323
|
+
return yield getAllObjects(IDENTIFIER_TOKEN, options == null ? void 0 : options.where);
|
|
1220
1324
|
});
|
|
1221
1325
|
}
|
|
1222
1326
|
function findOne27(id) {
|
|
1223
1327
|
return __async(this, null, function* () {
|
|
1224
|
-
return yield getObjectById(
|
|
1328
|
+
return yield getObjectById(IDENTIFIER_TOKEN, id);
|
|
1225
1329
|
});
|
|
1226
1330
|
}
|
|
1227
1331
|
function create27(data) {
|
|
1228
1332
|
return __async(this, null, function* () {
|
|
1229
|
-
return yield createObject(
|
|
1333
|
+
return yield createObject(IDENTIFIER_TOKEN, data);
|
|
1230
1334
|
});
|
|
1231
1335
|
}
|
|
1232
1336
|
function update27(id, newData) {
|
|
1233
1337
|
return __async(this, null, function* () {
|
|
1234
|
-
return yield updateObject(
|
|
1338
|
+
return yield updateObject(IDENTIFIER_TOKEN, id, newData);
|
|
1235
1339
|
});
|
|
1236
1340
|
}
|
|
1237
1341
|
function remove27(id) {
|
|
1238
1342
|
return __async(this, null, function* () {
|
|
1239
|
-
return yield deleteObject(
|
|
1343
|
+
return yield deleteObject(IDENTIFIER_TOKEN, id);
|
|
1240
1344
|
});
|
|
1241
1345
|
}
|
|
1242
|
-
var
|
|
1346
|
+
var identifierToken = {
|
|
1243
1347
|
findAll: findAll27,
|
|
1244
1348
|
findOne: findOne27,
|
|
1245
1349
|
create: create27,
|
|
@@ -1247,33 +1351,33 @@ var purchaseOrder = {
|
|
|
1247
1351
|
remove: remove27
|
|
1248
1352
|
};
|
|
1249
1353
|
|
|
1250
|
-
// generated/modules/
|
|
1354
|
+
// generated/modules/invoice-line.ts
|
|
1251
1355
|
function findAll28(options) {
|
|
1252
1356
|
return __async(this, null, function* () {
|
|
1253
|
-
return yield getAllObjects(
|
|
1357
|
+
return yield getAllObjects(INVOICE_LINE, options == null ? void 0 : options.where);
|
|
1254
1358
|
});
|
|
1255
1359
|
}
|
|
1256
1360
|
function findOne28(id) {
|
|
1257
1361
|
return __async(this, null, function* () {
|
|
1258
|
-
return yield getObjectById(
|
|
1362
|
+
return yield getObjectById(INVOICE_LINE, id);
|
|
1259
1363
|
});
|
|
1260
1364
|
}
|
|
1261
1365
|
function create28(data) {
|
|
1262
1366
|
return __async(this, null, function* () {
|
|
1263
|
-
return yield createObject(
|
|
1367
|
+
return yield createObject(INVOICE_LINE, data);
|
|
1264
1368
|
});
|
|
1265
1369
|
}
|
|
1266
1370
|
function update28(id, newData) {
|
|
1267
1371
|
return __async(this, null, function* () {
|
|
1268
|
-
return yield updateObject(
|
|
1372
|
+
return yield updateObject(INVOICE_LINE, id, newData);
|
|
1269
1373
|
});
|
|
1270
1374
|
}
|
|
1271
1375
|
function remove28(id) {
|
|
1272
1376
|
return __async(this, null, function* () {
|
|
1273
|
-
return yield deleteObject(
|
|
1377
|
+
return yield deleteObject(INVOICE_LINE, id);
|
|
1274
1378
|
});
|
|
1275
1379
|
}
|
|
1276
|
-
var
|
|
1380
|
+
var invoiceLine = {
|
|
1277
1381
|
findAll: findAll28,
|
|
1278
1382
|
findOne: findOne28,
|
|
1279
1383
|
create: create28,
|
|
@@ -1281,33 +1385,33 @@ var salesOrderLine = {
|
|
|
1281
1385
|
remove: remove28
|
|
1282
1386
|
};
|
|
1283
1387
|
|
|
1284
|
-
// generated/modules/
|
|
1388
|
+
// generated/modules/invoice.ts
|
|
1285
1389
|
function findAll29(options) {
|
|
1286
1390
|
return __async(this, null, function* () {
|
|
1287
|
-
return yield getAllObjects(
|
|
1391
|
+
return yield getAllObjects(INVOICE, options == null ? void 0 : options.where);
|
|
1288
1392
|
});
|
|
1289
1393
|
}
|
|
1290
1394
|
function findOne29(id) {
|
|
1291
1395
|
return __async(this, null, function* () {
|
|
1292
|
-
return yield getObjectById(
|
|
1396
|
+
return yield getObjectById(INVOICE, id);
|
|
1293
1397
|
});
|
|
1294
1398
|
}
|
|
1295
1399
|
function create29(data) {
|
|
1296
1400
|
return __async(this, null, function* () {
|
|
1297
|
-
return yield createObject(
|
|
1401
|
+
return yield createObject(INVOICE, data);
|
|
1298
1402
|
});
|
|
1299
1403
|
}
|
|
1300
1404
|
function update29(id, newData) {
|
|
1301
1405
|
return __async(this, null, function* () {
|
|
1302
|
-
return yield updateObject(
|
|
1406
|
+
return yield updateObject(INVOICE, id, newData);
|
|
1303
1407
|
});
|
|
1304
1408
|
}
|
|
1305
1409
|
function remove29(id) {
|
|
1306
1410
|
return __async(this, null, function* () {
|
|
1307
|
-
return yield deleteObject(
|
|
1411
|
+
return yield deleteObject(INVOICE, id);
|
|
1308
1412
|
});
|
|
1309
1413
|
}
|
|
1310
|
-
var
|
|
1414
|
+
var invoice = {
|
|
1311
1415
|
findAll: findAll29,
|
|
1312
1416
|
findOne: findOne29,
|
|
1313
1417
|
create: create29,
|
|
@@ -1315,33 +1419,33 @@ var salesOrder = {
|
|
|
1315
1419
|
remove: remove29
|
|
1316
1420
|
};
|
|
1317
1421
|
|
|
1318
|
-
// generated/modules/
|
|
1422
|
+
// generated/modules/purchase-order-line.ts
|
|
1319
1423
|
function findAll30(options) {
|
|
1320
1424
|
return __async(this, null, function* () {
|
|
1321
|
-
return yield getAllObjects(
|
|
1425
|
+
return yield getAllObjects(PURCHASE_ORDER_LINE, options == null ? void 0 : options.where);
|
|
1322
1426
|
});
|
|
1323
1427
|
}
|
|
1324
1428
|
function findOne30(id) {
|
|
1325
1429
|
return __async(this, null, function* () {
|
|
1326
|
-
return yield getObjectById(
|
|
1430
|
+
return yield getObjectById(PURCHASE_ORDER_LINE, id);
|
|
1327
1431
|
});
|
|
1328
1432
|
}
|
|
1329
1433
|
function create30(data) {
|
|
1330
1434
|
return __async(this, null, function* () {
|
|
1331
|
-
return yield createObject(
|
|
1435
|
+
return yield createObject(PURCHASE_ORDER_LINE, data);
|
|
1332
1436
|
});
|
|
1333
1437
|
}
|
|
1334
1438
|
function update30(id, newData) {
|
|
1335
1439
|
return __async(this, null, function* () {
|
|
1336
|
-
return yield updateObject(
|
|
1440
|
+
return yield updateObject(PURCHASE_ORDER_LINE, id, newData);
|
|
1337
1441
|
});
|
|
1338
1442
|
}
|
|
1339
1443
|
function remove30(id) {
|
|
1340
1444
|
return __async(this, null, function* () {
|
|
1341
|
-
return yield deleteObject(
|
|
1445
|
+
return yield deleteObject(PURCHASE_ORDER_LINE, id);
|
|
1342
1446
|
});
|
|
1343
1447
|
}
|
|
1344
|
-
var
|
|
1448
|
+
var purchaseOrderLine = {
|
|
1345
1449
|
findAll: findAll30,
|
|
1346
1450
|
findOne: findOne30,
|
|
1347
1451
|
create: create30,
|
|
@@ -1349,33 +1453,33 @@ var productItem = {
|
|
|
1349
1453
|
remove: remove30
|
|
1350
1454
|
};
|
|
1351
1455
|
|
|
1352
|
-
// generated/modules/
|
|
1456
|
+
// generated/modules/purchase-order.ts
|
|
1353
1457
|
function findAll31(options) {
|
|
1354
1458
|
return __async(this, null, function* () {
|
|
1355
|
-
return yield getAllObjects(
|
|
1459
|
+
return yield getAllObjects(PURCHASE_ORDER, options == null ? void 0 : options.where);
|
|
1356
1460
|
});
|
|
1357
1461
|
}
|
|
1358
1462
|
function findOne31(id) {
|
|
1359
1463
|
return __async(this, null, function* () {
|
|
1360
|
-
return yield getObjectById(
|
|
1464
|
+
return yield getObjectById(PURCHASE_ORDER, id);
|
|
1361
1465
|
});
|
|
1362
1466
|
}
|
|
1363
1467
|
function create31(data) {
|
|
1364
1468
|
return __async(this, null, function* () {
|
|
1365
|
-
return yield createObject(
|
|
1469
|
+
return yield createObject(PURCHASE_ORDER, data);
|
|
1366
1470
|
});
|
|
1367
1471
|
}
|
|
1368
1472
|
function update31(id, newData) {
|
|
1369
1473
|
return __async(this, null, function* () {
|
|
1370
|
-
return yield updateObject(
|
|
1474
|
+
return yield updateObject(PURCHASE_ORDER, id, newData);
|
|
1371
1475
|
});
|
|
1372
1476
|
}
|
|
1373
1477
|
function remove31(id) {
|
|
1374
1478
|
return __async(this, null, function* () {
|
|
1375
|
-
return yield deleteObject(
|
|
1479
|
+
return yield deleteObject(PURCHASE_ORDER, id);
|
|
1376
1480
|
});
|
|
1377
1481
|
}
|
|
1378
|
-
var
|
|
1482
|
+
var purchaseOrder = {
|
|
1379
1483
|
findAll: findAll31,
|
|
1380
1484
|
findOne: findOne31,
|
|
1381
1485
|
create: create31,
|
|
@@ -1383,33 +1487,33 @@ var productSupplier = {
|
|
|
1383
1487
|
remove: remove31
|
|
1384
1488
|
};
|
|
1385
1489
|
|
|
1386
|
-
// generated/modules/
|
|
1490
|
+
// generated/modules/sales-order-line.ts
|
|
1387
1491
|
function findAll32(options) {
|
|
1388
1492
|
return __async(this, null, function* () {
|
|
1389
|
-
return yield getAllObjects(
|
|
1493
|
+
return yield getAllObjects(SALES_ORDER_LINE, options == null ? void 0 : options.where);
|
|
1390
1494
|
});
|
|
1391
1495
|
}
|
|
1392
1496
|
function findOne32(id) {
|
|
1393
1497
|
return __async(this, null, function* () {
|
|
1394
|
-
return yield getObjectById(
|
|
1498
|
+
return yield getObjectById(SALES_ORDER_LINE, id);
|
|
1395
1499
|
});
|
|
1396
1500
|
}
|
|
1397
1501
|
function create32(data) {
|
|
1398
1502
|
return __async(this, null, function* () {
|
|
1399
|
-
return yield createObject(
|
|
1503
|
+
return yield createObject(SALES_ORDER_LINE, data);
|
|
1400
1504
|
});
|
|
1401
1505
|
}
|
|
1402
1506
|
function update32(id, newData) {
|
|
1403
1507
|
return __async(this, null, function* () {
|
|
1404
|
-
return yield updateObject(
|
|
1508
|
+
return yield updateObject(SALES_ORDER_LINE, id, newData);
|
|
1405
1509
|
});
|
|
1406
1510
|
}
|
|
1407
1511
|
function remove32(id) {
|
|
1408
1512
|
return __async(this, null, function* () {
|
|
1409
|
-
return yield deleteObject(
|
|
1513
|
+
return yield deleteObject(SALES_ORDER_LINE, id);
|
|
1410
1514
|
});
|
|
1411
1515
|
}
|
|
1412
|
-
var
|
|
1516
|
+
var salesOrderLine = {
|
|
1413
1517
|
findAll: findAll32,
|
|
1414
1518
|
findOne: findOne32,
|
|
1415
1519
|
create: create32,
|
|
@@ -1417,33 +1521,33 @@ var product = {
|
|
|
1417
1521
|
remove: remove32
|
|
1418
1522
|
};
|
|
1419
1523
|
|
|
1420
|
-
// generated/modules/
|
|
1524
|
+
// generated/modules/sales-order.ts
|
|
1421
1525
|
function findAll33(options) {
|
|
1422
1526
|
return __async(this, null, function* () {
|
|
1423
|
-
return yield getAllObjects(
|
|
1527
|
+
return yield getAllObjects(SALES_ORDER, options == null ? void 0 : options.where);
|
|
1424
1528
|
});
|
|
1425
1529
|
}
|
|
1426
1530
|
function findOne33(id) {
|
|
1427
1531
|
return __async(this, null, function* () {
|
|
1428
|
-
return yield getObjectById(
|
|
1532
|
+
return yield getObjectById(SALES_ORDER, id);
|
|
1429
1533
|
});
|
|
1430
1534
|
}
|
|
1431
1535
|
function create33(data) {
|
|
1432
1536
|
return __async(this, null, function* () {
|
|
1433
|
-
return yield createObject(
|
|
1537
|
+
return yield createObject(SALES_ORDER, data);
|
|
1434
1538
|
});
|
|
1435
1539
|
}
|
|
1436
1540
|
function update33(id, newData) {
|
|
1437
1541
|
return __async(this, null, function* () {
|
|
1438
|
-
return yield updateObject(
|
|
1542
|
+
return yield updateObject(SALES_ORDER, id, newData);
|
|
1439
1543
|
});
|
|
1440
1544
|
}
|
|
1441
1545
|
function remove33(id) {
|
|
1442
1546
|
return __async(this, null, function* () {
|
|
1443
|
-
return yield deleteObject(
|
|
1547
|
+
return yield deleteObject(SALES_ORDER, id);
|
|
1444
1548
|
});
|
|
1445
1549
|
}
|
|
1446
|
-
var
|
|
1550
|
+
var salesOrder = {
|
|
1447
1551
|
findAll: findAll33,
|
|
1448
1552
|
findOne: findOne33,
|
|
1449
1553
|
create: create33,
|
|
@@ -1451,33 +1555,33 @@ var productGroup = {
|
|
|
1451
1555
|
remove: remove33
|
|
1452
1556
|
};
|
|
1453
1557
|
|
|
1454
|
-
// generated/modules/
|
|
1558
|
+
// generated/modules/point-of-sale.ts
|
|
1455
1559
|
function findAll34(options) {
|
|
1456
1560
|
return __async(this, null, function* () {
|
|
1457
|
-
return yield getAllObjects(
|
|
1561
|
+
return yield getAllObjects(POINT_OF_SALE, options == null ? void 0 : options.where);
|
|
1458
1562
|
});
|
|
1459
1563
|
}
|
|
1460
1564
|
function findOne34(id) {
|
|
1461
1565
|
return __async(this, null, function* () {
|
|
1462
|
-
return yield getObjectById(
|
|
1566
|
+
return yield getObjectById(POINT_OF_SALE, id);
|
|
1463
1567
|
});
|
|
1464
1568
|
}
|
|
1465
1569
|
function create34(data) {
|
|
1466
1570
|
return __async(this, null, function* () {
|
|
1467
|
-
return yield createObject(
|
|
1571
|
+
return yield createObject(POINT_OF_SALE, data);
|
|
1468
1572
|
});
|
|
1469
1573
|
}
|
|
1470
1574
|
function update34(id, newData) {
|
|
1471
1575
|
return __async(this, null, function* () {
|
|
1472
|
-
return yield updateObject(
|
|
1576
|
+
return yield updateObject(POINT_OF_SALE, id, newData);
|
|
1473
1577
|
});
|
|
1474
1578
|
}
|
|
1475
1579
|
function remove34(id) {
|
|
1476
1580
|
return __async(this, null, function* () {
|
|
1477
|
-
return yield deleteObject(
|
|
1581
|
+
return yield deleteObject(POINT_OF_SALE, id);
|
|
1478
1582
|
});
|
|
1479
1583
|
}
|
|
1480
|
-
var
|
|
1584
|
+
var pointOfSale = {
|
|
1481
1585
|
findAll: findAll34,
|
|
1482
1586
|
findOne: findOne34,
|
|
1483
1587
|
create: create34,
|
|
@@ -1485,33 +1589,33 @@ var quoteLine = {
|
|
|
1485
1589
|
remove: remove34
|
|
1486
1590
|
};
|
|
1487
1591
|
|
|
1488
|
-
// generated/modules/
|
|
1592
|
+
// generated/modules/pricelist.ts
|
|
1489
1593
|
function findAll35(options) {
|
|
1490
1594
|
return __async(this, null, function* () {
|
|
1491
|
-
return yield getAllObjects(
|
|
1595
|
+
return yield getAllObjects(PRICELIST, options == null ? void 0 : options.where);
|
|
1492
1596
|
});
|
|
1493
1597
|
}
|
|
1494
1598
|
function findOne35(id) {
|
|
1495
1599
|
return __async(this, null, function* () {
|
|
1496
|
-
return yield getObjectById(
|
|
1600
|
+
return yield getObjectById(PRICELIST, id);
|
|
1497
1601
|
});
|
|
1498
1602
|
}
|
|
1499
1603
|
function create35(data) {
|
|
1500
1604
|
return __async(this, null, function* () {
|
|
1501
|
-
return yield createObject(
|
|
1605
|
+
return yield createObject(PRICELIST, data);
|
|
1502
1606
|
});
|
|
1503
1607
|
}
|
|
1504
1608
|
function update35(id, newData) {
|
|
1505
1609
|
return __async(this, null, function* () {
|
|
1506
|
-
return yield updateObject(
|
|
1610
|
+
return yield updateObject(PRICELIST, id, newData);
|
|
1507
1611
|
});
|
|
1508
1612
|
}
|
|
1509
1613
|
function remove35(id) {
|
|
1510
1614
|
return __async(this, null, function* () {
|
|
1511
|
-
return yield deleteObject(
|
|
1615
|
+
return yield deleteObject(PRICELIST, id);
|
|
1512
1616
|
});
|
|
1513
1617
|
}
|
|
1514
|
-
var
|
|
1618
|
+
var pricelist = {
|
|
1515
1619
|
findAll: findAll35,
|
|
1516
1620
|
findOne: findOne35,
|
|
1517
1621
|
create: create35,
|
|
@@ -1519,33 +1623,33 @@ var quote = {
|
|
|
1519
1623
|
remove: remove35
|
|
1520
1624
|
};
|
|
1521
1625
|
|
|
1522
|
-
// generated/modules/
|
|
1626
|
+
// generated/modules/product-item.ts
|
|
1523
1627
|
function findAll36(options) {
|
|
1524
1628
|
return __async(this, null, function* () {
|
|
1525
|
-
return yield getAllObjects(
|
|
1629
|
+
return yield getAllObjects(PRODUCT_ITEM, options == null ? void 0 : options.where);
|
|
1526
1630
|
});
|
|
1527
1631
|
}
|
|
1528
1632
|
function findOne36(id) {
|
|
1529
1633
|
return __async(this, null, function* () {
|
|
1530
|
-
return yield getObjectById(
|
|
1634
|
+
return yield getObjectById(PRODUCT_ITEM, id);
|
|
1531
1635
|
});
|
|
1532
1636
|
}
|
|
1533
1637
|
function create36(data) {
|
|
1534
1638
|
return __async(this, null, function* () {
|
|
1535
|
-
return yield createObject(
|
|
1639
|
+
return yield createObject(PRODUCT_ITEM, data);
|
|
1536
1640
|
});
|
|
1537
1641
|
}
|
|
1538
1642
|
function update36(id, newData) {
|
|
1539
1643
|
return __async(this, null, function* () {
|
|
1540
|
-
return yield updateObject(
|
|
1644
|
+
return yield updateObject(PRODUCT_ITEM, id, newData);
|
|
1541
1645
|
});
|
|
1542
1646
|
}
|
|
1543
1647
|
function remove36(id) {
|
|
1544
1648
|
return __async(this, null, function* () {
|
|
1545
|
-
return yield deleteObject(
|
|
1649
|
+
return yield deleteObject(PRODUCT_ITEM, id);
|
|
1546
1650
|
});
|
|
1547
1651
|
}
|
|
1548
|
-
var
|
|
1652
|
+
var productItem = {
|
|
1549
1653
|
findAll: findAll36,
|
|
1550
1654
|
findOne: findOne36,
|
|
1551
1655
|
create: create36,
|
|
@@ -1553,33 +1657,33 @@ var customReport = {
|
|
|
1553
1657
|
remove: remove36
|
|
1554
1658
|
};
|
|
1555
1659
|
|
|
1556
|
-
// generated/modules/
|
|
1660
|
+
// generated/modules/product-supplier.ts
|
|
1557
1661
|
function findAll37(options) {
|
|
1558
1662
|
return __async(this, null, function* () {
|
|
1559
|
-
return yield getAllObjects(
|
|
1663
|
+
return yield getAllObjects(PRODUCT_SUPPLIER, options == null ? void 0 : options.where);
|
|
1560
1664
|
});
|
|
1561
1665
|
}
|
|
1562
1666
|
function findOne37(id) {
|
|
1563
1667
|
return __async(this, null, function* () {
|
|
1564
|
-
return yield getObjectById(
|
|
1668
|
+
return yield getObjectById(PRODUCT_SUPPLIER, id);
|
|
1565
1669
|
});
|
|
1566
1670
|
}
|
|
1567
1671
|
function create37(data) {
|
|
1568
1672
|
return __async(this, null, function* () {
|
|
1569
|
-
return yield createObject(
|
|
1673
|
+
return yield createObject(PRODUCT_SUPPLIER, data);
|
|
1570
1674
|
});
|
|
1571
1675
|
}
|
|
1572
1676
|
function update37(id, newData) {
|
|
1573
1677
|
return __async(this, null, function* () {
|
|
1574
|
-
return yield updateObject(
|
|
1678
|
+
return yield updateObject(PRODUCT_SUPPLIER, id, newData);
|
|
1575
1679
|
});
|
|
1576
1680
|
}
|
|
1577
1681
|
function remove37(id) {
|
|
1578
1682
|
return __async(this, null, function* () {
|
|
1579
|
-
return yield deleteObject(
|
|
1683
|
+
return yield deleteObject(PRODUCT_SUPPLIER, id);
|
|
1580
1684
|
});
|
|
1581
1685
|
}
|
|
1582
|
-
var
|
|
1686
|
+
var productSupplier = {
|
|
1583
1687
|
findAll: findAll37,
|
|
1584
1688
|
findOne: findOne37,
|
|
1585
1689
|
create: create37,
|
|
@@ -1587,33 +1691,33 @@ var incomingShipment = {
|
|
|
1587
1691
|
remove: remove37
|
|
1588
1692
|
};
|
|
1589
1693
|
|
|
1590
|
-
// generated/modules/
|
|
1694
|
+
// generated/modules/product.ts
|
|
1591
1695
|
function findAll38(options) {
|
|
1592
1696
|
return __async(this, null, function* () {
|
|
1593
|
-
return yield getAllObjects(
|
|
1697
|
+
return yield getAllObjects(PRODUCT, options == null ? void 0 : options.where);
|
|
1594
1698
|
});
|
|
1595
1699
|
}
|
|
1596
1700
|
function findOne38(id) {
|
|
1597
1701
|
return __async(this, null, function* () {
|
|
1598
|
-
return yield getObjectById(
|
|
1702
|
+
return yield getObjectById(PRODUCT, id);
|
|
1599
1703
|
});
|
|
1600
1704
|
}
|
|
1601
1705
|
function create38(data) {
|
|
1602
1706
|
return __async(this, null, function* () {
|
|
1603
|
-
return yield createObject(
|
|
1707
|
+
return yield createObject(PRODUCT, data);
|
|
1604
1708
|
});
|
|
1605
1709
|
}
|
|
1606
1710
|
function update38(id, newData) {
|
|
1607
1711
|
return __async(this, null, function* () {
|
|
1608
|
-
return yield updateObject(
|
|
1712
|
+
return yield updateObject(PRODUCT, id, newData);
|
|
1609
1713
|
});
|
|
1610
1714
|
}
|
|
1611
1715
|
function remove38(id) {
|
|
1612
1716
|
return __async(this, null, function* () {
|
|
1613
|
-
return yield deleteObject(
|
|
1717
|
+
return yield deleteObject(PRODUCT, id);
|
|
1614
1718
|
});
|
|
1615
1719
|
}
|
|
1616
|
-
var
|
|
1720
|
+
var product = {
|
|
1617
1721
|
findAll: findAll38,
|
|
1618
1722
|
findOne: findOne38,
|
|
1619
1723
|
create: create38,
|
|
@@ -1621,33 +1725,33 @@ var outgoingShipment = {
|
|
|
1621
1725
|
remove: remove38
|
|
1622
1726
|
};
|
|
1623
1727
|
|
|
1624
|
-
// generated/modules/
|
|
1728
|
+
// generated/modules/unit-conversion.ts
|
|
1625
1729
|
function findAll39(options) {
|
|
1626
1730
|
return __async(this, null, function* () {
|
|
1627
|
-
return yield getAllObjects(
|
|
1731
|
+
return yield getAllObjects(UNIT_CONVERSION, options == null ? void 0 : options.where);
|
|
1628
1732
|
});
|
|
1629
1733
|
}
|
|
1630
1734
|
function findOne39(id) {
|
|
1631
1735
|
return __async(this, null, function* () {
|
|
1632
|
-
return yield getObjectById(
|
|
1736
|
+
return yield getObjectById(UNIT_CONVERSION, id);
|
|
1633
1737
|
});
|
|
1634
1738
|
}
|
|
1635
1739
|
function create39(data) {
|
|
1636
1740
|
return __async(this, null, function* () {
|
|
1637
|
-
return yield createObject(
|
|
1741
|
+
return yield createObject(UNIT_CONVERSION, data);
|
|
1638
1742
|
});
|
|
1639
1743
|
}
|
|
1640
1744
|
function update39(id, newData) {
|
|
1641
1745
|
return __async(this, null, function* () {
|
|
1642
|
-
return yield updateObject(
|
|
1746
|
+
return yield updateObject(UNIT_CONVERSION, id, newData);
|
|
1643
1747
|
});
|
|
1644
1748
|
}
|
|
1645
1749
|
function remove39(id) {
|
|
1646
1750
|
return __async(this, null, function* () {
|
|
1647
|
-
return yield deleteObject(
|
|
1751
|
+
return yield deleteObject(UNIT_CONVERSION, id);
|
|
1648
1752
|
});
|
|
1649
1753
|
}
|
|
1650
|
-
var
|
|
1754
|
+
var unitConversion = {
|
|
1651
1755
|
findAll: findAll39,
|
|
1652
1756
|
findOne: findOne39,
|
|
1653
1757
|
create: create39,
|
|
@@ -1655,33 +1759,33 @@ var stockAdjustment = {
|
|
|
1655
1759
|
remove: remove39
|
|
1656
1760
|
};
|
|
1657
1761
|
|
|
1658
|
-
// generated/modules/
|
|
1762
|
+
// generated/modules/product-group.ts
|
|
1659
1763
|
function findAll40(options) {
|
|
1660
1764
|
return __async(this, null, function* () {
|
|
1661
|
-
return yield getAllObjects(
|
|
1765
|
+
return yield getAllObjects(PRODUCT_GROUP, options == null ? void 0 : options.where);
|
|
1662
1766
|
});
|
|
1663
1767
|
}
|
|
1664
1768
|
function findOne40(id) {
|
|
1665
1769
|
return __async(this, null, function* () {
|
|
1666
|
-
return yield getObjectById(
|
|
1770
|
+
return yield getObjectById(PRODUCT_GROUP, id);
|
|
1667
1771
|
});
|
|
1668
1772
|
}
|
|
1669
1773
|
function create40(data) {
|
|
1670
1774
|
return __async(this, null, function* () {
|
|
1671
|
-
return yield createObject(
|
|
1775
|
+
return yield createObject(PRODUCT_GROUP, data);
|
|
1672
1776
|
});
|
|
1673
1777
|
}
|
|
1674
1778
|
function update40(id, newData) {
|
|
1675
1779
|
return __async(this, null, function* () {
|
|
1676
|
-
return yield updateObject(
|
|
1780
|
+
return yield updateObject(PRODUCT_GROUP, id, newData);
|
|
1677
1781
|
});
|
|
1678
1782
|
}
|
|
1679
1783
|
function remove40(id) {
|
|
1680
1784
|
return __async(this, null, function* () {
|
|
1681
|
-
return yield deleteObject(
|
|
1785
|
+
return yield deleteObject(PRODUCT_GROUP, id);
|
|
1682
1786
|
});
|
|
1683
1787
|
}
|
|
1684
|
-
var
|
|
1788
|
+
var productGroup = {
|
|
1685
1789
|
findAll: findAll40,
|
|
1686
1790
|
findOne: findOne40,
|
|
1687
1791
|
create: create40,
|
|
@@ -1689,33 +1793,33 @@ var storeProductAttributeValue = {
|
|
|
1689
1793
|
remove: remove40
|
|
1690
1794
|
};
|
|
1691
1795
|
|
|
1692
|
-
// generated/modules/
|
|
1796
|
+
// generated/modules/product-location.ts
|
|
1693
1797
|
function findAll41(options) {
|
|
1694
1798
|
return __async(this, null, function* () {
|
|
1695
|
-
return yield getAllObjects(
|
|
1799
|
+
return yield getAllObjects(PRODUCT_LOCATION, options == null ? void 0 : options.where);
|
|
1696
1800
|
});
|
|
1697
1801
|
}
|
|
1698
1802
|
function findOne41(id) {
|
|
1699
1803
|
return __async(this, null, function* () {
|
|
1700
|
-
return yield getObjectById(
|
|
1804
|
+
return yield getObjectById(PRODUCT_LOCATION, id);
|
|
1701
1805
|
});
|
|
1702
1806
|
}
|
|
1703
1807
|
function create41(data) {
|
|
1704
1808
|
return __async(this, null, function* () {
|
|
1705
|
-
return yield createObject(
|
|
1809
|
+
return yield createObject(PRODUCT_LOCATION, data);
|
|
1706
1810
|
});
|
|
1707
1811
|
}
|
|
1708
1812
|
function update41(id, newData) {
|
|
1709
1813
|
return __async(this, null, function* () {
|
|
1710
|
-
return yield updateObject(
|
|
1814
|
+
return yield updateObject(PRODUCT_LOCATION, id, newData);
|
|
1711
1815
|
});
|
|
1712
1816
|
}
|
|
1713
1817
|
function remove41(id) {
|
|
1714
1818
|
return __async(this, null, function* () {
|
|
1715
|
-
return yield deleteObject(
|
|
1819
|
+
return yield deleteObject(PRODUCT_LOCATION, id);
|
|
1716
1820
|
});
|
|
1717
1821
|
}
|
|
1718
|
-
var
|
|
1822
|
+
var productLocation = {
|
|
1719
1823
|
findAll: findAll41,
|
|
1720
1824
|
findOne: findOne41,
|
|
1721
1825
|
create: create41,
|
|
@@ -1723,33 +1827,33 @@ var storeProductAttribute = {
|
|
|
1723
1827
|
remove: remove41
|
|
1724
1828
|
};
|
|
1725
1829
|
|
|
1726
|
-
// generated/modules/
|
|
1830
|
+
// generated/modules/product-location-transfer.ts
|
|
1727
1831
|
function findAll42(options) {
|
|
1728
1832
|
return __async(this, null, function* () {
|
|
1729
|
-
return yield getAllObjects(
|
|
1833
|
+
return yield getAllObjects(PRODUCT_LOCATION_TRANSFER, options == null ? void 0 : options.where);
|
|
1730
1834
|
});
|
|
1731
1835
|
}
|
|
1732
1836
|
function findOne42(id) {
|
|
1733
1837
|
return __async(this, null, function* () {
|
|
1734
|
-
return yield getObjectById(
|
|
1838
|
+
return yield getObjectById(PRODUCT_LOCATION_TRANSFER, id);
|
|
1735
1839
|
});
|
|
1736
1840
|
}
|
|
1737
1841
|
function create42(data) {
|
|
1738
1842
|
return __async(this, null, function* () {
|
|
1739
|
-
return yield createObject(
|
|
1843
|
+
return yield createObject(PRODUCT_LOCATION_TRANSFER, data);
|
|
1740
1844
|
});
|
|
1741
1845
|
}
|
|
1742
1846
|
function update42(id, newData) {
|
|
1743
1847
|
return __async(this, null, function* () {
|
|
1744
|
-
return yield updateObject(
|
|
1848
|
+
return yield updateObject(PRODUCT_LOCATION_TRANSFER, id, newData);
|
|
1745
1849
|
});
|
|
1746
1850
|
}
|
|
1747
1851
|
function remove42(id) {
|
|
1748
1852
|
return __async(this, null, function* () {
|
|
1749
|
-
return yield deleteObject(
|
|
1853
|
+
return yield deleteObject(PRODUCT_LOCATION_TRANSFER, id);
|
|
1750
1854
|
});
|
|
1751
1855
|
}
|
|
1752
|
-
var
|
|
1856
|
+
var productLocationTransfer = {
|
|
1753
1857
|
findAll: findAll42,
|
|
1754
1858
|
findOne: findOne42,
|
|
1755
1859
|
create: create42,
|
|
@@ -1757,33 +1861,33 @@ var storeProductGroup = {
|
|
|
1757
1861
|
remove: remove42
|
|
1758
1862
|
};
|
|
1759
1863
|
|
|
1760
|
-
// generated/modules/
|
|
1864
|
+
// generated/modules/quote-line.ts
|
|
1761
1865
|
function findAll43(options) {
|
|
1762
1866
|
return __async(this, null, function* () {
|
|
1763
|
-
return yield getAllObjects(
|
|
1867
|
+
return yield getAllObjects(QUOTE_LINE, options == null ? void 0 : options.where);
|
|
1764
1868
|
});
|
|
1765
1869
|
}
|
|
1766
1870
|
function findOne43(id) {
|
|
1767
1871
|
return __async(this, null, function* () {
|
|
1768
|
-
return yield getObjectById(
|
|
1872
|
+
return yield getObjectById(QUOTE_LINE, id);
|
|
1769
1873
|
});
|
|
1770
1874
|
}
|
|
1771
1875
|
function create43(data) {
|
|
1772
1876
|
return __async(this, null, function* () {
|
|
1773
|
-
return yield createObject(
|
|
1877
|
+
return yield createObject(QUOTE_LINE, data);
|
|
1774
1878
|
});
|
|
1775
1879
|
}
|
|
1776
1880
|
function update43(id, newData) {
|
|
1777
1881
|
return __async(this, null, function* () {
|
|
1778
|
-
return yield updateObject(
|
|
1882
|
+
return yield updateObject(QUOTE_LINE, id, newData);
|
|
1779
1883
|
});
|
|
1780
1884
|
}
|
|
1781
1885
|
function remove43(id) {
|
|
1782
1886
|
return __async(this, null, function* () {
|
|
1783
|
-
return yield deleteObject(
|
|
1887
|
+
return yield deleteObject(QUOTE_LINE, id);
|
|
1784
1888
|
});
|
|
1785
1889
|
}
|
|
1786
|
-
var
|
|
1890
|
+
var quoteLine = {
|
|
1787
1891
|
findAll: findAll43,
|
|
1788
1892
|
findOne: findOne43,
|
|
1789
1893
|
create: create43,
|
|
@@ -1791,33 +1895,33 @@ var storeProduct = {
|
|
|
1791
1895
|
remove: remove43
|
|
1792
1896
|
};
|
|
1793
1897
|
|
|
1794
|
-
// generated/modules/
|
|
1898
|
+
// generated/modules/quote.ts
|
|
1795
1899
|
function findAll44(options) {
|
|
1796
1900
|
return __async(this, null, function* () {
|
|
1797
|
-
return yield getAllObjects(
|
|
1901
|
+
return yield getAllObjects(QUOTE, options == null ? void 0 : options.where);
|
|
1798
1902
|
});
|
|
1799
1903
|
}
|
|
1800
1904
|
function findOne44(id) {
|
|
1801
1905
|
return __async(this, null, function* () {
|
|
1802
|
-
return yield getObjectById(
|
|
1906
|
+
return yield getObjectById(QUOTE, id);
|
|
1803
1907
|
});
|
|
1804
1908
|
}
|
|
1805
1909
|
function create44(data) {
|
|
1806
1910
|
return __async(this, null, function* () {
|
|
1807
|
-
return yield createObject(
|
|
1911
|
+
return yield createObject(QUOTE, data);
|
|
1808
1912
|
});
|
|
1809
1913
|
}
|
|
1810
1914
|
function update44(id, newData) {
|
|
1811
1915
|
return __async(this, null, function* () {
|
|
1812
|
-
return yield updateObject(
|
|
1916
|
+
return yield updateObject(QUOTE, id, newData);
|
|
1813
1917
|
});
|
|
1814
1918
|
}
|
|
1815
1919
|
function remove44(id) {
|
|
1816
1920
|
return __async(this, null, function* () {
|
|
1817
|
-
return yield deleteObject(
|
|
1921
|
+
return yield deleteObject(QUOTE, id);
|
|
1818
1922
|
});
|
|
1819
1923
|
}
|
|
1820
|
-
var
|
|
1924
|
+
var quote = {
|
|
1821
1925
|
findAll: findAll44,
|
|
1822
1926
|
findOne: findOne44,
|
|
1823
1927
|
create: create44,
|
|
@@ -1825,33 +1929,33 @@ var store = {
|
|
|
1825
1929
|
remove: remove44
|
|
1826
1930
|
};
|
|
1827
1931
|
|
|
1828
|
-
// generated/modules/
|
|
1932
|
+
// generated/modules/custom-report.ts
|
|
1829
1933
|
function findAll45(options) {
|
|
1830
1934
|
return __async(this, null, function* () {
|
|
1831
|
-
return yield getAllObjects(
|
|
1935
|
+
return yield getAllObjects(CUSTOM_REPORT, options == null ? void 0 : options.where);
|
|
1832
1936
|
});
|
|
1833
1937
|
}
|
|
1834
1938
|
function findOne45(id) {
|
|
1835
1939
|
return __async(this, null, function* () {
|
|
1836
|
-
return yield getObjectById(
|
|
1940
|
+
return yield getObjectById(CUSTOM_REPORT, id);
|
|
1837
1941
|
});
|
|
1838
1942
|
}
|
|
1839
1943
|
function create45(data) {
|
|
1840
1944
|
return __async(this, null, function* () {
|
|
1841
|
-
return yield createObject(
|
|
1945
|
+
return yield createObject(CUSTOM_REPORT, data);
|
|
1842
1946
|
});
|
|
1843
1947
|
}
|
|
1844
1948
|
function update45(id, newData) {
|
|
1845
1949
|
return __async(this, null, function* () {
|
|
1846
|
-
return yield updateObject(
|
|
1950
|
+
return yield updateObject(CUSTOM_REPORT, id, newData);
|
|
1847
1951
|
});
|
|
1848
1952
|
}
|
|
1849
1953
|
function remove45(id) {
|
|
1850
1954
|
return __async(this, null, function* () {
|
|
1851
|
-
return yield deleteObject(
|
|
1955
|
+
return yield deleteObject(CUSTOM_REPORT, id);
|
|
1852
1956
|
});
|
|
1853
1957
|
}
|
|
1854
|
-
var
|
|
1958
|
+
var customReport = {
|
|
1855
1959
|
findAll: findAll45,
|
|
1856
1960
|
findOne: findOne45,
|
|
1857
1961
|
create: create45,
|
|
@@ -1859,33 +1963,33 @@ var printJob = {
|
|
|
1859
1963
|
remove: remove45
|
|
1860
1964
|
};
|
|
1861
1965
|
|
|
1862
|
-
// generated/modules/
|
|
1966
|
+
// generated/modules/incoming-shipment.ts
|
|
1863
1967
|
function findAll46(options) {
|
|
1864
1968
|
return __async(this, null, function* () {
|
|
1865
|
-
return yield getAllObjects(
|
|
1969
|
+
return yield getAllObjects(INCOMING_SHIPMENT, options == null ? void 0 : options.where);
|
|
1866
1970
|
});
|
|
1867
1971
|
}
|
|
1868
1972
|
function findOne46(id) {
|
|
1869
1973
|
return __async(this, null, function* () {
|
|
1870
|
-
return yield getObjectById(
|
|
1974
|
+
return yield getObjectById(INCOMING_SHIPMENT, id);
|
|
1871
1975
|
});
|
|
1872
1976
|
}
|
|
1873
1977
|
function create46(data) {
|
|
1874
1978
|
return __async(this, null, function* () {
|
|
1875
|
-
return yield createObject(
|
|
1979
|
+
return yield createObject(INCOMING_SHIPMENT, data);
|
|
1876
1980
|
});
|
|
1877
1981
|
}
|
|
1878
1982
|
function update46(id, newData) {
|
|
1879
1983
|
return __async(this, null, function* () {
|
|
1880
|
-
return yield updateObject(
|
|
1984
|
+
return yield updateObject(INCOMING_SHIPMENT, id, newData);
|
|
1881
1985
|
});
|
|
1882
1986
|
}
|
|
1883
1987
|
function remove46(id) {
|
|
1884
1988
|
return __async(this, null, function* () {
|
|
1885
|
-
return yield deleteObject(
|
|
1989
|
+
return yield deleteObject(INCOMING_SHIPMENT, id);
|
|
1886
1990
|
});
|
|
1887
1991
|
}
|
|
1888
|
-
var
|
|
1992
|
+
var incomingShipment = {
|
|
1889
1993
|
findAll: findAll46,
|
|
1890
1994
|
findOne: findOne46,
|
|
1891
1995
|
create: create46,
|
|
@@ -1893,33 +1997,33 @@ var invitation = {
|
|
|
1893
1997
|
remove: remove46
|
|
1894
1998
|
};
|
|
1895
1999
|
|
|
1896
|
-
// generated/modules/
|
|
2000
|
+
// generated/modules/outgoing-shipment.ts
|
|
1897
2001
|
function findAll47(options) {
|
|
1898
2002
|
return __async(this, null, function* () {
|
|
1899
|
-
return yield getAllObjects(
|
|
2003
|
+
return yield getAllObjects(OUTGOING_SHIPMENT, options == null ? void 0 : options.where);
|
|
1900
2004
|
});
|
|
1901
2005
|
}
|
|
1902
2006
|
function findOne47(id) {
|
|
1903
2007
|
return __async(this, null, function* () {
|
|
1904
|
-
return yield getObjectById(
|
|
2008
|
+
return yield getObjectById(OUTGOING_SHIPMENT, id);
|
|
1905
2009
|
});
|
|
1906
2010
|
}
|
|
1907
2011
|
function create47(data) {
|
|
1908
2012
|
return __async(this, null, function* () {
|
|
1909
|
-
return yield createObject(
|
|
2013
|
+
return yield createObject(OUTGOING_SHIPMENT, data);
|
|
1910
2014
|
});
|
|
1911
2015
|
}
|
|
1912
2016
|
function update47(id, newData) {
|
|
1913
2017
|
return __async(this, null, function* () {
|
|
1914
|
-
return yield updateObject(
|
|
2018
|
+
return yield updateObject(OUTGOING_SHIPMENT, id, newData);
|
|
1915
2019
|
});
|
|
1916
2020
|
}
|
|
1917
2021
|
function remove47(id) {
|
|
1918
2022
|
return __async(this, null, function* () {
|
|
1919
|
-
return yield deleteObject(
|
|
2023
|
+
return yield deleteObject(OUTGOING_SHIPMENT, id);
|
|
1920
2024
|
});
|
|
1921
2025
|
}
|
|
1922
|
-
var
|
|
2026
|
+
var outgoingShipment = {
|
|
1923
2027
|
findAll: findAll47,
|
|
1924
2028
|
findOne: findOne47,
|
|
1925
2029
|
create: create47,
|
|
@@ -1927,33 +2031,33 @@ var warehouse = {
|
|
|
1927
2031
|
remove: remove47
|
|
1928
2032
|
};
|
|
1929
2033
|
|
|
1930
|
-
// generated/modules/
|
|
2034
|
+
// generated/modules/stock-adjustment.ts
|
|
1931
2035
|
function findAll48(options) {
|
|
1932
2036
|
return __async(this, null, function* () {
|
|
1933
|
-
return yield getAllObjects(
|
|
2037
|
+
return yield getAllObjects(STOCK_ADJUSTMENT, options == null ? void 0 : options.where);
|
|
1934
2038
|
});
|
|
1935
2039
|
}
|
|
1936
2040
|
function findOne48(id) {
|
|
1937
2041
|
return __async(this, null, function* () {
|
|
1938
|
-
return yield getObjectById(
|
|
2042
|
+
return yield getObjectById(STOCK_ADJUSTMENT, id);
|
|
1939
2043
|
});
|
|
1940
2044
|
}
|
|
1941
2045
|
function create48(data) {
|
|
1942
2046
|
return __async(this, null, function* () {
|
|
1943
|
-
return yield createObject(
|
|
2047
|
+
return yield createObject(STOCK_ADJUSTMENT, data);
|
|
1944
2048
|
});
|
|
1945
2049
|
}
|
|
1946
2050
|
function update48(id, newData) {
|
|
1947
2051
|
return __async(this, null, function* () {
|
|
1948
|
-
return yield updateObject(
|
|
2052
|
+
return yield updateObject(STOCK_ADJUSTMENT, id, newData);
|
|
1949
2053
|
});
|
|
1950
2054
|
}
|
|
1951
2055
|
function remove48(id) {
|
|
1952
2056
|
return __async(this, null, function* () {
|
|
1953
|
-
return yield deleteObject(
|
|
2057
|
+
return yield deleteObject(STOCK_ADJUSTMENT, id);
|
|
1954
2058
|
});
|
|
1955
2059
|
}
|
|
1956
|
-
var
|
|
2060
|
+
var stockAdjustment = {
|
|
1957
2061
|
findAll: findAll48,
|
|
1958
2062
|
findOne: findOne48,
|
|
1959
2063
|
create: create48,
|
|
@@ -1961,33 +2065,33 @@ var expenseLine = {
|
|
|
1961
2065
|
remove: remove48
|
|
1962
2066
|
};
|
|
1963
2067
|
|
|
1964
|
-
// generated/modules/
|
|
2068
|
+
// generated/modules/store-product-attribute-value.ts
|
|
1965
2069
|
function findAll49(options) {
|
|
1966
2070
|
return __async(this, null, function* () {
|
|
1967
|
-
return yield getAllObjects(
|
|
2071
|
+
return yield getAllObjects(STORE_PRODUCT_ATTRIBUTE_VALUE, options == null ? void 0 : options.where);
|
|
1968
2072
|
});
|
|
1969
2073
|
}
|
|
1970
2074
|
function findOne49(id) {
|
|
1971
2075
|
return __async(this, null, function* () {
|
|
1972
|
-
return yield getObjectById(
|
|
2076
|
+
return yield getObjectById(STORE_PRODUCT_ATTRIBUTE_VALUE, id);
|
|
1973
2077
|
});
|
|
1974
2078
|
}
|
|
1975
2079
|
function create49(data) {
|
|
1976
2080
|
return __async(this, null, function* () {
|
|
1977
|
-
return yield createObject(
|
|
2081
|
+
return yield createObject(STORE_PRODUCT_ATTRIBUTE_VALUE, data);
|
|
1978
2082
|
});
|
|
1979
2083
|
}
|
|
1980
2084
|
function update49(id, newData) {
|
|
1981
2085
|
return __async(this, null, function* () {
|
|
1982
|
-
return yield updateObject(
|
|
2086
|
+
return yield updateObject(STORE_PRODUCT_ATTRIBUTE_VALUE, id, newData);
|
|
1983
2087
|
});
|
|
1984
2088
|
}
|
|
1985
2089
|
function remove49(id) {
|
|
1986
2090
|
return __async(this, null, function* () {
|
|
1987
|
-
return yield deleteObject(
|
|
2091
|
+
return yield deleteObject(STORE_PRODUCT_ATTRIBUTE_VALUE, id);
|
|
1988
2092
|
});
|
|
1989
2093
|
}
|
|
1990
|
-
var
|
|
2094
|
+
var storeProductAttributeValue = {
|
|
1991
2095
|
findAll: findAll49,
|
|
1992
2096
|
findOne: findOne49,
|
|
1993
2097
|
create: create49,
|
|
@@ -1995,33 +2099,33 @@ var expense = {
|
|
|
1995
2099
|
remove: remove49
|
|
1996
2100
|
};
|
|
1997
2101
|
|
|
1998
|
-
// generated/modules/
|
|
2102
|
+
// generated/modules/store-product-attribute.ts
|
|
1999
2103
|
function findAll50(options) {
|
|
2000
2104
|
return __async(this, null, function* () {
|
|
2001
|
-
return yield getAllObjects(
|
|
2105
|
+
return yield getAllObjects(STORE_PRODUCT_ATTRIBUTE, options == null ? void 0 : options.where);
|
|
2002
2106
|
});
|
|
2003
2107
|
}
|
|
2004
2108
|
function findOne50(id) {
|
|
2005
2109
|
return __async(this, null, function* () {
|
|
2006
|
-
return yield getObjectById(
|
|
2110
|
+
return yield getObjectById(STORE_PRODUCT_ATTRIBUTE, id);
|
|
2007
2111
|
});
|
|
2008
2112
|
}
|
|
2009
2113
|
function create50(data) {
|
|
2010
2114
|
return __async(this, null, function* () {
|
|
2011
|
-
return yield createObject(
|
|
2115
|
+
return yield createObject(STORE_PRODUCT_ATTRIBUTE, data);
|
|
2012
2116
|
});
|
|
2013
2117
|
}
|
|
2014
2118
|
function update50(id, newData) {
|
|
2015
2119
|
return __async(this, null, function* () {
|
|
2016
|
-
return yield updateObject(
|
|
2120
|
+
return yield updateObject(STORE_PRODUCT_ATTRIBUTE, id, newData);
|
|
2017
2121
|
});
|
|
2018
2122
|
}
|
|
2019
2123
|
function remove50(id) {
|
|
2020
2124
|
return __async(this, null, function* () {
|
|
2021
|
-
return yield deleteObject(
|
|
2125
|
+
return yield deleteObject(STORE_PRODUCT_ATTRIBUTE, id);
|
|
2022
2126
|
});
|
|
2023
2127
|
}
|
|
2024
|
-
var
|
|
2128
|
+
var storeProductAttribute = {
|
|
2025
2129
|
findAll: findAll50,
|
|
2026
2130
|
findOne: findOne50,
|
|
2027
2131
|
create: create50,
|
|
@@ -2029,33 +2133,33 @@ var fixedAsset = {
|
|
|
2029
2133
|
remove: remove50
|
|
2030
2134
|
};
|
|
2031
2135
|
|
|
2032
|
-
// generated/modules/
|
|
2136
|
+
// generated/modules/store-product-group.ts
|
|
2033
2137
|
function findAll51(options) {
|
|
2034
2138
|
return __async(this, null, function* () {
|
|
2035
|
-
return yield getAllObjects(
|
|
2139
|
+
return yield getAllObjects(STORE_PRODUCT_GROUP, options == null ? void 0 : options.where);
|
|
2036
2140
|
});
|
|
2037
2141
|
}
|
|
2038
2142
|
function findOne51(id) {
|
|
2039
2143
|
return __async(this, null, function* () {
|
|
2040
|
-
return yield getObjectById(
|
|
2144
|
+
return yield getObjectById(STORE_PRODUCT_GROUP, id);
|
|
2041
2145
|
});
|
|
2042
2146
|
}
|
|
2043
2147
|
function create51(data) {
|
|
2044
2148
|
return __async(this, null, function* () {
|
|
2045
|
-
return yield createObject(
|
|
2149
|
+
return yield createObject(STORE_PRODUCT_GROUP, data);
|
|
2046
2150
|
});
|
|
2047
2151
|
}
|
|
2048
2152
|
function update51(id, newData) {
|
|
2049
2153
|
return __async(this, null, function* () {
|
|
2050
|
-
return yield updateObject(
|
|
2154
|
+
return yield updateObject(STORE_PRODUCT_GROUP, id, newData);
|
|
2051
2155
|
});
|
|
2052
2156
|
}
|
|
2053
2157
|
function remove51(id) {
|
|
2054
2158
|
return __async(this, null, function* () {
|
|
2055
|
-
return yield deleteObject(
|
|
2159
|
+
return yield deleteObject(STORE_PRODUCT_GROUP, id);
|
|
2056
2160
|
});
|
|
2057
2161
|
}
|
|
2058
|
-
var
|
|
2162
|
+
var storeProductGroup = {
|
|
2059
2163
|
findAll: findAll51,
|
|
2060
2164
|
findOne: findOne51,
|
|
2061
2165
|
create: create51,
|
|
@@ -2063,33 +2167,33 @@ var incomingPaymentMethod = {
|
|
|
2063
2167
|
remove: remove51
|
|
2064
2168
|
};
|
|
2065
2169
|
|
|
2066
|
-
// generated/modules/
|
|
2170
|
+
// generated/modules/store-product.ts
|
|
2067
2171
|
function findAll52(options) {
|
|
2068
2172
|
return __async(this, null, function* () {
|
|
2069
|
-
return yield getAllObjects(
|
|
2173
|
+
return yield getAllObjects(STORE_PRODUCT, options == null ? void 0 : options.where);
|
|
2070
2174
|
});
|
|
2071
2175
|
}
|
|
2072
2176
|
function findOne52(id) {
|
|
2073
2177
|
return __async(this, null, function* () {
|
|
2074
|
-
return yield getObjectById(
|
|
2178
|
+
return yield getObjectById(STORE_PRODUCT, id);
|
|
2075
2179
|
});
|
|
2076
2180
|
}
|
|
2077
2181
|
function create52(data) {
|
|
2078
2182
|
return __async(this, null, function* () {
|
|
2079
|
-
return yield createObject(
|
|
2183
|
+
return yield createObject(STORE_PRODUCT, data);
|
|
2080
2184
|
});
|
|
2081
2185
|
}
|
|
2082
2186
|
function update52(id, newData) {
|
|
2083
2187
|
return __async(this, null, function* () {
|
|
2084
|
-
return yield updateObject(
|
|
2188
|
+
return yield updateObject(STORE_PRODUCT, id, newData);
|
|
2085
2189
|
});
|
|
2086
2190
|
}
|
|
2087
2191
|
function remove52(id) {
|
|
2088
2192
|
return __async(this, null, function* () {
|
|
2089
|
-
return yield deleteObject(
|
|
2193
|
+
return yield deleteObject(STORE_PRODUCT, id);
|
|
2090
2194
|
});
|
|
2091
2195
|
}
|
|
2092
|
-
var
|
|
2196
|
+
var storeProduct = {
|
|
2093
2197
|
findAll: findAll52,
|
|
2094
2198
|
findOne: findOne52,
|
|
2095
2199
|
create: create52,
|
|
@@ -2097,33 +2201,33 @@ var payment = {
|
|
|
2097
2201
|
remove: remove52
|
|
2098
2202
|
};
|
|
2099
2203
|
|
|
2100
|
-
// generated/modules/
|
|
2204
|
+
// generated/modules/store.ts
|
|
2101
2205
|
function findAll53(options) {
|
|
2102
2206
|
return __async(this, null, function* () {
|
|
2103
|
-
return yield getAllObjects(
|
|
2207
|
+
return yield getAllObjects(STORE, options == null ? void 0 : options.where);
|
|
2104
2208
|
});
|
|
2105
2209
|
}
|
|
2106
2210
|
function findOne53(id) {
|
|
2107
2211
|
return __async(this, null, function* () {
|
|
2108
|
-
return yield getObjectById(
|
|
2212
|
+
return yield getObjectById(STORE, id);
|
|
2109
2213
|
});
|
|
2110
2214
|
}
|
|
2111
2215
|
function create53(data) {
|
|
2112
2216
|
return __async(this, null, function* () {
|
|
2113
|
-
return yield createObject(
|
|
2217
|
+
return yield createObject(STORE, data);
|
|
2114
2218
|
});
|
|
2115
2219
|
}
|
|
2116
2220
|
function update53(id, newData) {
|
|
2117
2221
|
return __async(this, null, function* () {
|
|
2118
|
-
return yield updateObject(
|
|
2222
|
+
return yield updateObject(STORE, id, newData);
|
|
2119
2223
|
});
|
|
2120
2224
|
}
|
|
2121
2225
|
function remove53(id) {
|
|
2122
2226
|
return __async(this, null, function* () {
|
|
2123
|
-
return yield deleteObject(
|
|
2227
|
+
return yield deleteObject(STORE, id);
|
|
2124
2228
|
});
|
|
2125
2229
|
}
|
|
2126
|
-
var
|
|
2230
|
+
var store = {
|
|
2127
2231
|
findAll: findAll53,
|
|
2128
2232
|
findOne: findOne53,
|
|
2129
2233
|
create: create53,
|
|
@@ -2131,33 +2235,33 @@ var automationJob = {
|
|
|
2131
2235
|
remove: remove53
|
|
2132
2236
|
};
|
|
2133
2237
|
|
|
2134
|
-
// generated/modules/
|
|
2238
|
+
// generated/modules/print-job.ts
|
|
2135
2239
|
function findAll54(options) {
|
|
2136
2240
|
return __async(this, null, function* () {
|
|
2137
|
-
return yield getAllObjects(
|
|
2241
|
+
return yield getAllObjects(PRINT_JOB, options == null ? void 0 : options.where);
|
|
2138
2242
|
});
|
|
2139
2243
|
}
|
|
2140
2244
|
function findOne54(id) {
|
|
2141
2245
|
return __async(this, null, function* () {
|
|
2142
|
-
return yield getObjectById(
|
|
2246
|
+
return yield getObjectById(PRINT_JOB, id);
|
|
2143
2247
|
});
|
|
2144
2248
|
}
|
|
2145
2249
|
function create54(data) {
|
|
2146
2250
|
return __async(this, null, function* () {
|
|
2147
|
-
return yield createObject(
|
|
2251
|
+
return yield createObject(PRINT_JOB, data);
|
|
2148
2252
|
});
|
|
2149
2253
|
}
|
|
2150
2254
|
function update54(id, newData) {
|
|
2151
2255
|
return __async(this, null, function* () {
|
|
2152
|
-
return yield updateObject(
|
|
2256
|
+
return yield updateObject(PRINT_JOB, id, newData);
|
|
2153
2257
|
});
|
|
2154
2258
|
}
|
|
2155
2259
|
function remove54(id) {
|
|
2156
2260
|
return __async(this, null, function* () {
|
|
2157
|
-
return yield deleteObject(
|
|
2261
|
+
return yield deleteObject(PRINT_JOB, id);
|
|
2158
2262
|
});
|
|
2159
2263
|
}
|
|
2160
|
-
var
|
|
2264
|
+
var printJob = {
|
|
2161
2265
|
findAll: findAll54,
|
|
2162
2266
|
findOne: findOne54,
|
|
2163
2267
|
create: create54,
|
|
@@ -2165,33 +2269,33 @@ var automationScript = {
|
|
|
2165
2269
|
remove: remove54
|
|
2166
2270
|
};
|
|
2167
2271
|
|
|
2168
|
-
// generated/modules/
|
|
2272
|
+
// generated/modules/invitation.ts
|
|
2169
2273
|
function findAll55(options) {
|
|
2170
2274
|
return __async(this, null, function* () {
|
|
2171
|
-
return yield getAllObjects(
|
|
2275
|
+
return yield getAllObjects(INVITATION, options == null ? void 0 : options.where);
|
|
2172
2276
|
});
|
|
2173
2277
|
}
|
|
2174
2278
|
function findOne55(id) {
|
|
2175
2279
|
return __async(this, null, function* () {
|
|
2176
|
-
return yield getObjectById(
|
|
2280
|
+
return yield getObjectById(INVITATION, id);
|
|
2177
2281
|
});
|
|
2178
2282
|
}
|
|
2179
2283
|
function create55(data) {
|
|
2180
2284
|
return __async(this, null, function* () {
|
|
2181
|
-
return yield createObject(
|
|
2285
|
+
return yield createObject(INVITATION, data);
|
|
2182
2286
|
});
|
|
2183
2287
|
}
|
|
2184
2288
|
function update55(id, newData) {
|
|
2185
2289
|
return __async(this, null, function* () {
|
|
2186
|
-
return yield updateObject(
|
|
2290
|
+
return yield updateObject(INVITATION, id, newData);
|
|
2187
2291
|
});
|
|
2188
2292
|
}
|
|
2189
2293
|
function remove55(id) {
|
|
2190
2294
|
return __async(this, null, function* () {
|
|
2191
|
-
return yield deleteObject(
|
|
2295
|
+
return yield deleteObject(INVITATION, id);
|
|
2192
2296
|
});
|
|
2193
2297
|
}
|
|
2194
|
-
var
|
|
2298
|
+
var invitation = {
|
|
2195
2299
|
findAll: findAll55,
|
|
2196
2300
|
findOne: findOne55,
|
|
2197
2301
|
create: create55,
|
|
@@ -2199,33 +2303,33 @@ var userAction = {
|
|
|
2199
2303
|
remove: remove55
|
|
2200
2304
|
};
|
|
2201
2305
|
|
|
2202
|
-
// generated/modules/
|
|
2306
|
+
// generated/modules/warehouse.ts
|
|
2203
2307
|
function findAll56(options) {
|
|
2204
2308
|
return __async(this, null, function* () {
|
|
2205
|
-
return yield getAllObjects(
|
|
2309
|
+
return yield getAllObjects(WAREHOUSE, options == null ? void 0 : options.where);
|
|
2206
2310
|
});
|
|
2207
2311
|
}
|
|
2208
2312
|
function findOne56(id) {
|
|
2209
2313
|
return __async(this, null, function* () {
|
|
2210
|
-
return yield getObjectById(
|
|
2314
|
+
return yield getObjectById(WAREHOUSE, id);
|
|
2211
2315
|
});
|
|
2212
2316
|
}
|
|
2213
2317
|
function create56(data) {
|
|
2214
2318
|
return __async(this, null, function* () {
|
|
2215
|
-
return yield createObject(
|
|
2319
|
+
return yield createObject(WAREHOUSE, data);
|
|
2216
2320
|
});
|
|
2217
2321
|
}
|
|
2218
2322
|
function update56(id, newData) {
|
|
2219
2323
|
return __async(this, null, function* () {
|
|
2220
|
-
return yield updateObject(
|
|
2324
|
+
return yield updateObject(WAREHOUSE, id, newData);
|
|
2221
2325
|
});
|
|
2222
2326
|
}
|
|
2223
2327
|
function remove56(id) {
|
|
2224
2328
|
return __async(this, null, function* () {
|
|
2225
|
-
return yield deleteObject(
|
|
2329
|
+
return yield deleteObject(WAREHOUSE, id);
|
|
2226
2330
|
});
|
|
2227
2331
|
}
|
|
2228
|
-
var
|
|
2332
|
+
var warehouse = {
|
|
2229
2333
|
findAll: findAll56,
|
|
2230
2334
|
findOne: findOne56,
|
|
2231
2335
|
create: create56,
|
|
@@ -2233,33 +2337,33 @@ var companyAlias = {
|
|
|
2233
2337
|
remove: remove56
|
|
2234
2338
|
};
|
|
2235
2339
|
|
|
2236
|
-
// generated/modules/
|
|
2340
|
+
// generated/modules/web-component-slot.ts
|
|
2237
2341
|
function findAll57(options) {
|
|
2238
2342
|
return __async(this, null, function* () {
|
|
2239
|
-
return yield getAllObjects(
|
|
2343
|
+
return yield getAllObjects(WEB_COMPONENT_SLOT, options == null ? void 0 : options.where);
|
|
2240
2344
|
});
|
|
2241
2345
|
}
|
|
2242
2346
|
function findOne57(id) {
|
|
2243
2347
|
return __async(this, null, function* () {
|
|
2244
|
-
return yield getObjectById(
|
|
2348
|
+
return yield getObjectById(WEB_COMPONENT_SLOT, id);
|
|
2245
2349
|
});
|
|
2246
2350
|
}
|
|
2247
2351
|
function create57(data) {
|
|
2248
2352
|
return __async(this, null, function* () {
|
|
2249
|
-
return yield createObject(
|
|
2353
|
+
return yield createObject(WEB_COMPONENT_SLOT, data);
|
|
2250
2354
|
});
|
|
2251
2355
|
}
|
|
2252
2356
|
function update57(id, newData) {
|
|
2253
2357
|
return __async(this, null, function* () {
|
|
2254
|
-
return yield updateObject(
|
|
2358
|
+
return yield updateObject(WEB_COMPONENT_SLOT, id, newData);
|
|
2255
2359
|
});
|
|
2256
2360
|
}
|
|
2257
2361
|
function remove57(id) {
|
|
2258
2362
|
return __async(this, null, function* () {
|
|
2259
|
-
return yield deleteObject(
|
|
2363
|
+
return yield deleteObject(WEB_COMPONENT_SLOT, id);
|
|
2260
2364
|
});
|
|
2261
2365
|
}
|
|
2262
|
-
var
|
|
2366
|
+
var webComponentSlot = {
|
|
2263
2367
|
findAll: findAll57,
|
|
2264
2368
|
findOne: findOne57,
|
|
2265
2369
|
create: create57,
|
|
@@ -2267,33 +2371,33 @@ var form = {
|
|
|
2267
2371
|
remove: remove57
|
|
2268
2372
|
};
|
|
2269
2373
|
|
|
2270
|
-
// generated/modules/
|
|
2374
|
+
// generated/modules/web-component.ts
|
|
2271
2375
|
function findAll58(options) {
|
|
2272
2376
|
return __async(this, null, function* () {
|
|
2273
|
-
return yield getAllObjects(
|
|
2377
|
+
return yield getAllObjects(WEB_COMPONENT, options == null ? void 0 : options.where);
|
|
2274
2378
|
});
|
|
2275
2379
|
}
|
|
2276
2380
|
function findOne58(id) {
|
|
2277
2381
|
return __async(this, null, function* () {
|
|
2278
|
-
return yield getObjectById(
|
|
2382
|
+
return yield getObjectById(WEB_COMPONENT, id);
|
|
2279
2383
|
});
|
|
2280
2384
|
}
|
|
2281
2385
|
function create58(data) {
|
|
2282
2386
|
return __async(this, null, function* () {
|
|
2283
|
-
return yield createObject(
|
|
2387
|
+
return yield createObject(WEB_COMPONENT, data);
|
|
2284
2388
|
});
|
|
2285
2389
|
}
|
|
2286
2390
|
function update58(id, newData) {
|
|
2287
2391
|
return __async(this, null, function* () {
|
|
2288
|
-
return yield updateObject(
|
|
2392
|
+
return yield updateObject(WEB_COMPONENT, id, newData);
|
|
2289
2393
|
});
|
|
2290
2394
|
}
|
|
2291
2395
|
function remove58(id) {
|
|
2292
2396
|
return __async(this, null, function* () {
|
|
2293
|
-
return yield deleteObject(
|
|
2397
|
+
return yield deleteObject(WEB_COMPONENT, id);
|
|
2294
2398
|
});
|
|
2295
2399
|
}
|
|
2296
|
-
var
|
|
2400
|
+
var webComponent = {
|
|
2297
2401
|
findAll: findAll58,
|
|
2298
2402
|
findOne: findOne58,
|
|
2299
2403
|
create: create58,
|
|
@@ -2301,33 +2405,33 @@ var deliveryJob = {
|
|
|
2301
2405
|
remove: remove58
|
|
2302
2406
|
};
|
|
2303
2407
|
|
|
2304
|
-
// generated/modules/
|
|
2408
|
+
// generated/modules/store-product-variant.ts
|
|
2305
2409
|
function findAll59(options) {
|
|
2306
2410
|
return __async(this, null, function* () {
|
|
2307
|
-
return yield getAllObjects(
|
|
2411
|
+
return yield getAllObjects(STORE_PRODUCT_VARIANT, options == null ? void 0 : options.where);
|
|
2308
2412
|
});
|
|
2309
2413
|
}
|
|
2310
2414
|
function findOne59(id) {
|
|
2311
2415
|
return __async(this, null, function* () {
|
|
2312
|
-
return yield getObjectById(
|
|
2416
|
+
return yield getObjectById(STORE_PRODUCT_VARIANT, id);
|
|
2313
2417
|
});
|
|
2314
2418
|
}
|
|
2315
2419
|
function create59(data) {
|
|
2316
2420
|
return __async(this, null, function* () {
|
|
2317
|
-
return yield createObject(
|
|
2421
|
+
return yield createObject(STORE_PRODUCT_VARIANT, data);
|
|
2318
2422
|
});
|
|
2319
2423
|
}
|
|
2320
2424
|
function update59(id, newData) {
|
|
2321
2425
|
return __async(this, null, function* () {
|
|
2322
|
-
return yield updateObject(
|
|
2426
|
+
return yield updateObject(STORE_PRODUCT_VARIANT, id, newData);
|
|
2323
2427
|
});
|
|
2324
2428
|
}
|
|
2325
2429
|
function remove59(id) {
|
|
2326
2430
|
return __async(this, null, function* () {
|
|
2327
|
-
return yield deleteObject(
|
|
2431
|
+
return yield deleteObject(STORE_PRODUCT_VARIANT, id);
|
|
2328
2432
|
});
|
|
2329
2433
|
}
|
|
2330
|
-
var
|
|
2434
|
+
var storeProductVariant = {
|
|
2331
2435
|
findAll: findAll59,
|
|
2332
2436
|
findOne: findOne59,
|
|
2333
2437
|
create: create59,
|
|
@@ -2335,33 +2439,33 @@ var vehicle = {
|
|
|
2335
2439
|
remove: remove59
|
|
2336
2440
|
};
|
|
2337
2441
|
|
|
2338
|
-
// generated/modules/
|
|
2442
|
+
// generated/modules/bill.ts
|
|
2339
2443
|
function findAll60(options) {
|
|
2340
2444
|
return __async(this, null, function* () {
|
|
2341
|
-
return yield getAllObjects(
|
|
2445
|
+
return yield getAllObjects(BILL, options == null ? void 0 : options.where);
|
|
2342
2446
|
});
|
|
2343
2447
|
}
|
|
2344
2448
|
function findOne60(id) {
|
|
2345
2449
|
return __async(this, null, function* () {
|
|
2346
|
-
return yield getObjectById(
|
|
2450
|
+
return yield getObjectById(BILL, id);
|
|
2347
2451
|
});
|
|
2348
2452
|
}
|
|
2349
2453
|
function create60(data) {
|
|
2350
2454
|
return __async(this, null, function* () {
|
|
2351
|
-
return yield createObject(
|
|
2455
|
+
return yield createObject(BILL, data);
|
|
2352
2456
|
});
|
|
2353
2457
|
}
|
|
2354
2458
|
function update60(id, newData) {
|
|
2355
2459
|
return __async(this, null, function* () {
|
|
2356
|
-
return yield updateObject(
|
|
2460
|
+
return yield updateObject(BILL, id, newData);
|
|
2357
2461
|
});
|
|
2358
2462
|
}
|
|
2359
2463
|
function remove60(id) {
|
|
2360
2464
|
return __async(this, null, function* () {
|
|
2361
|
-
return yield deleteObject(
|
|
2465
|
+
return yield deleteObject(BILL, id);
|
|
2362
2466
|
});
|
|
2363
2467
|
}
|
|
2364
|
-
var
|
|
2468
|
+
var bill = {
|
|
2365
2469
|
findAll: findAll60,
|
|
2366
2470
|
findOne: findOne60,
|
|
2367
2471
|
create: create60,
|
|
@@ -2369,33 +2473,33 @@ var attendance = {
|
|
|
2369
2473
|
remove: remove60
|
|
2370
2474
|
};
|
|
2371
2475
|
|
|
2372
|
-
// generated/modules/
|
|
2476
|
+
// generated/modules/expense-line.ts
|
|
2373
2477
|
function findAll61(options) {
|
|
2374
2478
|
return __async(this, null, function* () {
|
|
2375
|
-
return yield getAllObjects(
|
|
2479
|
+
return yield getAllObjects(EXPENSE_LINE, options == null ? void 0 : options.where);
|
|
2376
2480
|
});
|
|
2377
2481
|
}
|
|
2378
2482
|
function findOne61(id) {
|
|
2379
2483
|
return __async(this, null, function* () {
|
|
2380
|
-
return yield getObjectById(
|
|
2484
|
+
return yield getObjectById(EXPENSE_LINE, id);
|
|
2381
2485
|
});
|
|
2382
2486
|
}
|
|
2383
2487
|
function create61(data) {
|
|
2384
2488
|
return __async(this, null, function* () {
|
|
2385
|
-
return yield createObject(
|
|
2489
|
+
return yield createObject(EXPENSE_LINE, data);
|
|
2386
2490
|
});
|
|
2387
2491
|
}
|
|
2388
2492
|
function update61(id, newData) {
|
|
2389
2493
|
return __async(this, null, function* () {
|
|
2390
|
-
return yield updateObject(
|
|
2494
|
+
return yield updateObject(EXPENSE_LINE, id, newData);
|
|
2391
2495
|
});
|
|
2392
2496
|
}
|
|
2393
2497
|
function remove61(id) {
|
|
2394
2498
|
return __async(this, null, function* () {
|
|
2395
|
-
return yield deleteObject(
|
|
2499
|
+
return yield deleteObject(EXPENSE_LINE, id);
|
|
2396
2500
|
});
|
|
2397
2501
|
}
|
|
2398
|
-
var
|
|
2502
|
+
var expenseLine = {
|
|
2399
2503
|
findAll: findAll61,
|
|
2400
2504
|
findOne: findOne61,
|
|
2401
2505
|
create: create61,
|
|
@@ -2403,33 +2507,33 @@ var employee = {
|
|
|
2403
2507
|
remove: remove61
|
|
2404
2508
|
};
|
|
2405
2509
|
|
|
2406
|
-
// generated/modules/
|
|
2510
|
+
// generated/modules/expense.ts
|
|
2407
2511
|
function findAll62(options) {
|
|
2408
2512
|
return __async(this, null, function* () {
|
|
2409
|
-
return yield getAllObjects(
|
|
2513
|
+
return yield getAllObjects(EXPENSE, options == null ? void 0 : options.where);
|
|
2410
2514
|
});
|
|
2411
2515
|
}
|
|
2412
2516
|
function findOne62(id) {
|
|
2413
2517
|
return __async(this, null, function* () {
|
|
2414
|
-
return yield getObjectById(
|
|
2518
|
+
return yield getObjectById(EXPENSE, id);
|
|
2415
2519
|
});
|
|
2416
2520
|
}
|
|
2417
2521
|
function create62(data) {
|
|
2418
2522
|
return __async(this, null, function* () {
|
|
2419
|
-
return yield createObject(
|
|
2523
|
+
return yield createObject(EXPENSE, data);
|
|
2420
2524
|
});
|
|
2421
2525
|
}
|
|
2422
2526
|
function update62(id, newData) {
|
|
2423
2527
|
return __async(this, null, function* () {
|
|
2424
|
-
return yield updateObject(
|
|
2528
|
+
return yield updateObject(EXPENSE, id, newData);
|
|
2425
2529
|
});
|
|
2426
2530
|
}
|
|
2427
2531
|
function remove62(id) {
|
|
2428
2532
|
return __async(this, null, function* () {
|
|
2429
|
-
return yield deleteObject(
|
|
2533
|
+
return yield deleteObject(EXPENSE, id);
|
|
2430
2534
|
});
|
|
2431
2535
|
}
|
|
2432
|
-
var
|
|
2536
|
+
var expense = {
|
|
2433
2537
|
findAll: findAll62,
|
|
2434
2538
|
findOne: findOne62,
|
|
2435
2539
|
create: create62,
|
|
@@ -2437,33 +2541,33 @@ var geofence = {
|
|
|
2437
2541
|
remove: remove62
|
|
2438
2542
|
};
|
|
2439
2543
|
|
|
2440
|
-
// generated/modules/
|
|
2544
|
+
// generated/modules/fixed-asset.ts
|
|
2441
2545
|
function findAll63(options) {
|
|
2442
2546
|
return __async(this, null, function* () {
|
|
2443
|
-
return yield getAllObjects(
|
|
2547
|
+
return yield getAllObjects(FIXED_ASSET, options == null ? void 0 : options.where);
|
|
2444
2548
|
});
|
|
2445
2549
|
}
|
|
2446
2550
|
function findOne63(id) {
|
|
2447
2551
|
return __async(this, null, function* () {
|
|
2448
|
-
return yield getObjectById(
|
|
2552
|
+
return yield getObjectById(FIXED_ASSET, id);
|
|
2449
2553
|
});
|
|
2450
2554
|
}
|
|
2451
2555
|
function create63(data) {
|
|
2452
2556
|
return __async(this, null, function* () {
|
|
2453
|
-
return yield createObject(
|
|
2557
|
+
return yield createObject(FIXED_ASSET, data);
|
|
2454
2558
|
});
|
|
2455
2559
|
}
|
|
2456
2560
|
function update63(id, newData) {
|
|
2457
2561
|
return __async(this, null, function* () {
|
|
2458
|
-
return yield updateObject(
|
|
2562
|
+
return yield updateObject(FIXED_ASSET, id, newData);
|
|
2459
2563
|
});
|
|
2460
2564
|
}
|
|
2461
2565
|
function remove63(id) {
|
|
2462
2566
|
return __async(this, null, function* () {
|
|
2463
|
-
return yield deleteObject(
|
|
2567
|
+
return yield deleteObject(FIXED_ASSET, id);
|
|
2464
2568
|
});
|
|
2465
2569
|
}
|
|
2466
|
-
var
|
|
2570
|
+
var fixedAsset = {
|
|
2467
2571
|
findAll: findAll63,
|
|
2468
2572
|
findOne: findOne63,
|
|
2469
2573
|
create: create63,
|
|
@@ -2471,33 +2575,33 @@ var iotDevice = {
|
|
|
2471
2575
|
remove: remove63
|
|
2472
2576
|
};
|
|
2473
2577
|
|
|
2474
|
-
// generated/modules/
|
|
2578
|
+
// generated/modules/incoming-payment-method.ts
|
|
2475
2579
|
function findAll64(options) {
|
|
2476
2580
|
return __async(this, null, function* () {
|
|
2477
|
-
return yield getAllObjects(
|
|
2581
|
+
return yield getAllObjects(INCOMING_PAYMENT_METHOD, options == null ? void 0 : options.where);
|
|
2478
2582
|
});
|
|
2479
2583
|
}
|
|
2480
2584
|
function findOne64(id) {
|
|
2481
2585
|
return __async(this, null, function* () {
|
|
2482
|
-
return yield getObjectById(
|
|
2586
|
+
return yield getObjectById(INCOMING_PAYMENT_METHOD, id);
|
|
2483
2587
|
});
|
|
2484
2588
|
}
|
|
2485
2589
|
function create64(data) {
|
|
2486
2590
|
return __async(this, null, function* () {
|
|
2487
|
-
return yield createObject(
|
|
2591
|
+
return yield createObject(INCOMING_PAYMENT_METHOD, data);
|
|
2488
2592
|
});
|
|
2489
2593
|
}
|
|
2490
2594
|
function update64(id, newData) {
|
|
2491
2595
|
return __async(this, null, function* () {
|
|
2492
|
-
return yield updateObject(
|
|
2596
|
+
return yield updateObject(INCOMING_PAYMENT_METHOD, id, newData);
|
|
2493
2597
|
});
|
|
2494
2598
|
}
|
|
2495
2599
|
function remove64(id) {
|
|
2496
2600
|
return __async(this, null, function* () {
|
|
2497
|
-
return yield deleteObject(
|
|
2601
|
+
return yield deleteObject(INCOMING_PAYMENT_METHOD, id);
|
|
2498
2602
|
});
|
|
2499
2603
|
}
|
|
2500
|
-
var
|
|
2604
|
+
var incomingPaymentMethod = {
|
|
2501
2605
|
findAll: findAll64,
|
|
2502
2606
|
findOne: findOne64,
|
|
2503
2607
|
create: create64,
|
|
@@ -2505,33 +2609,33 @@ var iotJob = {
|
|
|
2505
2609
|
remove: remove64
|
|
2506
2610
|
};
|
|
2507
2611
|
|
|
2508
|
-
// generated/modules/
|
|
2612
|
+
// generated/modules/payment.ts
|
|
2509
2613
|
function findAll65(options) {
|
|
2510
2614
|
return __async(this, null, function* () {
|
|
2511
|
-
return yield getAllObjects(
|
|
2615
|
+
return yield getAllObjects(PAYMENT, options == null ? void 0 : options.where);
|
|
2512
2616
|
});
|
|
2513
2617
|
}
|
|
2514
2618
|
function findOne65(id) {
|
|
2515
2619
|
return __async(this, null, function* () {
|
|
2516
|
-
return yield getObjectById(
|
|
2620
|
+
return yield getObjectById(PAYMENT, id);
|
|
2517
2621
|
});
|
|
2518
2622
|
}
|
|
2519
2623
|
function create65(data) {
|
|
2520
2624
|
return __async(this, null, function* () {
|
|
2521
|
-
return yield createObject(
|
|
2625
|
+
return yield createObject(PAYMENT, data);
|
|
2522
2626
|
});
|
|
2523
2627
|
}
|
|
2524
2628
|
function update65(id, newData) {
|
|
2525
2629
|
return __async(this, null, function* () {
|
|
2526
|
-
return yield updateObject(
|
|
2630
|
+
return yield updateObject(PAYMENT, id, newData);
|
|
2527
2631
|
});
|
|
2528
2632
|
}
|
|
2529
2633
|
function remove65(id) {
|
|
2530
2634
|
return __async(this, null, function* () {
|
|
2531
|
-
return yield deleteObject(
|
|
2635
|
+
return yield deleteObject(PAYMENT, id);
|
|
2532
2636
|
});
|
|
2533
2637
|
}
|
|
2534
|
-
var
|
|
2638
|
+
var payment = {
|
|
2535
2639
|
findAll: findAll65,
|
|
2536
2640
|
findOne: findOne65,
|
|
2537
2641
|
create: create65,
|
|
@@ -2539,33 +2643,33 @@ var bomComponent = {
|
|
|
2539
2643
|
remove: remove65
|
|
2540
2644
|
};
|
|
2541
2645
|
|
|
2542
|
-
// generated/modules/
|
|
2646
|
+
// generated/modules/chat-message.ts
|
|
2543
2647
|
function findAll66(options) {
|
|
2544
2648
|
return __async(this, null, function* () {
|
|
2545
|
-
return yield getAllObjects(
|
|
2649
|
+
return yield getAllObjects(CHAT_MESSAGE, options == null ? void 0 : options.where);
|
|
2546
2650
|
});
|
|
2547
2651
|
}
|
|
2548
2652
|
function findOne66(id) {
|
|
2549
2653
|
return __async(this, null, function* () {
|
|
2550
|
-
return yield getObjectById(
|
|
2654
|
+
return yield getObjectById(CHAT_MESSAGE, id);
|
|
2551
2655
|
});
|
|
2552
2656
|
}
|
|
2553
2657
|
function create66(data) {
|
|
2554
2658
|
return __async(this, null, function* () {
|
|
2555
|
-
return yield createObject(
|
|
2659
|
+
return yield createObject(CHAT_MESSAGE, data);
|
|
2556
2660
|
});
|
|
2557
2661
|
}
|
|
2558
2662
|
function update66(id, newData) {
|
|
2559
2663
|
return __async(this, null, function* () {
|
|
2560
|
-
return yield updateObject(
|
|
2664
|
+
return yield updateObject(CHAT_MESSAGE, id, newData);
|
|
2561
2665
|
});
|
|
2562
2666
|
}
|
|
2563
2667
|
function remove66(id) {
|
|
2564
2668
|
return __async(this, null, function* () {
|
|
2565
|
-
return yield deleteObject(
|
|
2669
|
+
return yield deleteObject(CHAT_MESSAGE, id);
|
|
2566
2670
|
});
|
|
2567
2671
|
}
|
|
2568
|
-
var
|
|
2672
|
+
var chatMessage = {
|
|
2569
2673
|
findAll: findAll66,
|
|
2570
2674
|
findOne: findOne66,
|
|
2571
2675
|
create: create66,
|
|
@@ -2573,33 +2677,33 @@ var bomOperation = {
|
|
|
2573
2677
|
remove: remove66
|
|
2574
2678
|
};
|
|
2575
2679
|
|
|
2576
|
-
// generated/modules/
|
|
2680
|
+
// generated/modules/chat-session.ts
|
|
2577
2681
|
function findAll67(options) {
|
|
2578
2682
|
return __async(this, null, function* () {
|
|
2579
|
-
return yield getAllObjects(
|
|
2683
|
+
return yield getAllObjects(CHAT_SESSION, options == null ? void 0 : options.where);
|
|
2580
2684
|
});
|
|
2581
2685
|
}
|
|
2582
2686
|
function findOne67(id) {
|
|
2583
2687
|
return __async(this, null, function* () {
|
|
2584
|
-
return yield getObjectById(
|
|
2688
|
+
return yield getObjectById(CHAT_SESSION, id);
|
|
2585
2689
|
});
|
|
2586
2690
|
}
|
|
2587
2691
|
function create67(data) {
|
|
2588
2692
|
return __async(this, null, function* () {
|
|
2589
|
-
return yield createObject(
|
|
2693
|
+
return yield createObject(CHAT_SESSION, data);
|
|
2590
2694
|
});
|
|
2591
2695
|
}
|
|
2592
2696
|
function update67(id, newData) {
|
|
2593
2697
|
return __async(this, null, function* () {
|
|
2594
|
-
return yield updateObject(
|
|
2698
|
+
return yield updateObject(CHAT_SESSION, id, newData);
|
|
2595
2699
|
});
|
|
2596
2700
|
}
|
|
2597
2701
|
function remove67(id) {
|
|
2598
2702
|
return __async(this, null, function* () {
|
|
2599
|
-
return yield deleteObject(
|
|
2703
|
+
return yield deleteObject(CHAT_SESSION, id);
|
|
2600
2704
|
});
|
|
2601
2705
|
}
|
|
2602
|
-
var
|
|
2706
|
+
var chatSession = {
|
|
2603
2707
|
findAll: findAll67,
|
|
2604
2708
|
findOne: findOne67,
|
|
2605
2709
|
create: create67,
|
|
@@ -2607,33 +2711,33 @@ var jobCard = {
|
|
|
2607
2711
|
remove: remove67
|
|
2608
2712
|
};
|
|
2609
2713
|
|
|
2610
|
-
// generated/modules/
|
|
2714
|
+
// generated/modules/automation-job.ts
|
|
2611
2715
|
function findAll68(options) {
|
|
2612
2716
|
return __async(this, null, function* () {
|
|
2613
|
-
return yield getAllObjects(
|
|
2717
|
+
return yield getAllObjects(AUTOMATION_JOB, options == null ? void 0 : options.where);
|
|
2614
2718
|
});
|
|
2615
2719
|
}
|
|
2616
2720
|
function findOne68(id) {
|
|
2617
2721
|
return __async(this, null, function* () {
|
|
2618
|
-
return yield getObjectById(
|
|
2722
|
+
return yield getObjectById(AUTOMATION_JOB, id);
|
|
2619
2723
|
});
|
|
2620
2724
|
}
|
|
2621
2725
|
function create68(data) {
|
|
2622
2726
|
return __async(this, null, function* () {
|
|
2623
|
-
return yield createObject(
|
|
2727
|
+
return yield createObject(AUTOMATION_JOB, data);
|
|
2624
2728
|
});
|
|
2625
2729
|
}
|
|
2626
2730
|
function update68(id, newData) {
|
|
2627
2731
|
return __async(this, null, function* () {
|
|
2628
|
-
return yield updateObject(
|
|
2732
|
+
return yield updateObject(AUTOMATION_JOB, id, newData);
|
|
2629
2733
|
});
|
|
2630
2734
|
}
|
|
2631
2735
|
function remove68(id) {
|
|
2632
2736
|
return __async(this, null, function* () {
|
|
2633
|
-
return yield deleteObject(
|
|
2737
|
+
return yield deleteObject(AUTOMATION_JOB, id);
|
|
2634
2738
|
});
|
|
2635
2739
|
}
|
|
2636
|
-
var
|
|
2740
|
+
var automationJob = {
|
|
2637
2741
|
findAll: findAll68,
|
|
2638
2742
|
findOne: findOne68,
|
|
2639
2743
|
create: create68,
|
|
@@ -2641,33 +2745,33 @@ var productionOrder = {
|
|
|
2641
2745
|
remove: remove68
|
|
2642
2746
|
};
|
|
2643
2747
|
|
|
2644
|
-
// generated/modules/
|
|
2748
|
+
// generated/modules/automation-script.ts
|
|
2645
2749
|
function findAll69(options) {
|
|
2646
2750
|
return __async(this, null, function* () {
|
|
2647
|
-
return yield getAllObjects(
|
|
2751
|
+
return yield getAllObjects(AUTOMATION_SCRIPT, options == null ? void 0 : options.where);
|
|
2648
2752
|
});
|
|
2649
2753
|
}
|
|
2650
2754
|
function findOne69(id) {
|
|
2651
2755
|
return __async(this, null, function* () {
|
|
2652
|
-
return yield getObjectById(
|
|
2756
|
+
return yield getObjectById(AUTOMATION_SCRIPT, id);
|
|
2653
2757
|
});
|
|
2654
2758
|
}
|
|
2655
2759
|
function create69(data) {
|
|
2656
2760
|
return __async(this, null, function* () {
|
|
2657
|
-
return yield createObject(
|
|
2761
|
+
return yield createObject(AUTOMATION_SCRIPT, data);
|
|
2658
2762
|
});
|
|
2659
2763
|
}
|
|
2660
2764
|
function update69(id, newData) {
|
|
2661
2765
|
return __async(this, null, function* () {
|
|
2662
|
-
return yield updateObject(
|
|
2766
|
+
return yield updateObject(AUTOMATION_SCRIPT, id, newData);
|
|
2663
2767
|
});
|
|
2664
2768
|
}
|
|
2665
2769
|
function remove69(id) {
|
|
2666
2770
|
return __async(this, null, function* () {
|
|
2667
|
-
return yield deleteObject(
|
|
2771
|
+
return yield deleteObject(AUTOMATION_SCRIPT, id);
|
|
2668
2772
|
});
|
|
2669
2773
|
}
|
|
2670
|
-
var
|
|
2774
|
+
var automationScript = {
|
|
2671
2775
|
findAll: findAll69,
|
|
2672
2776
|
findOne: findOne69,
|
|
2673
2777
|
create: create69,
|
|
@@ -2675,33 +2779,33 @@ var productionOrderLine = {
|
|
|
2675
2779
|
remove: remove69
|
|
2676
2780
|
};
|
|
2677
2781
|
|
|
2678
|
-
// generated/modules/
|
|
2782
|
+
// generated/modules/user-action.ts
|
|
2679
2783
|
function findAll70(options) {
|
|
2680
2784
|
return __async(this, null, function* () {
|
|
2681
|
-
return yield getAllObjects(
|
|
2785
|
+
return yield getAllObjects(USER_ACTION, options == null ? void 0 : options.where);
|
|
2682
2786
|
});
|
|
2683
2787
|
}
|
|
2684
2788
|
function findOne70(id) {
|
|
2685
2789
|
return __async(this, null, function* () {
|
|
2686
|
-
return yield getObjectById(
|
|
2790
|
+
return yield getObjectById(USER_ACTION, id);
|
|
2687
2791
|
});
|
|
2688
2792
|
}
|
|
2689
2793
|
function create70(data) {
|
|
2690
2794
|
return __async(this, null, function* () {
|
|
2691
|
-
return yield createObject(
|
|
2795
|
+
return yield createObject(USER_ACTION, data);
|
|
2692
2796
|
});
|
|
2693
2797
|
}
|
|
2694
2798
|
function update70(id, newData) {
|
|
2695
2799
|
return __async(this, null, function* () {
|
|
2696
|
-
return yield updateObject(
|
|
2800
|
+
return yield updateObject(USER_ACTION, id, newData);
|
|
2697
2801
|
});
|
|
2698
2802
|
}
|
|
2699
2803
|
function remove70(id) {
|
|
2700
2804
|
return __async(this, null, function* () {
|
|
2701
|
-
return yield deleteObject(
|
|
2805
|
+
return yield deleteObject(USER_ACTION, id);
|
|
2702
2806
|
});
|
|
2703
2807
|
}
|
|
2704
|
-
var
|
|
2808
|
+
var userAction = {
|
|
2705
2809
|
findAll: findAll70,
|
|
2706
2810
|
findOne: findOne70,
|
|
2707
2811
|
create: create70,
|
|
@@ -2709,33 +2813,33 @@ var workstation = {
|
|
|
2709
2813
|
remove: remove70
|
|
2710
2814
|
};
|
|
2711
2815
|
|
|
2712
|
-
// generated/modules/
|
|
2816
|
+
// generated/modules/business-intelligence-report.ts
|
|
2713
2817
|
function findAll71(options) {
|
|
2714
2818
|
return __async(this, null, function* () {
|
|
2715
|
-
return yield getAllObjects(
|
|
2819
|
+
return yield getAllObjects(BUSINESS_INTELLIGENCE_REPORT, options == null ? void 0 : options.where);
|
|
2716
2820
|
});
|
|
2717
2821
|
}
|
|
2718
2822
|
function findOne71(id) {
|
|
2719
2823
|
return __async(this, null, function* () {
|
|
2720
|
-
return yield getObjectById(
|
|
2824
|
+
return yield getObjectById(BUSINESS_INTELLIGENCE_REPORT, id);
|
|
2721
2825
|
});
|
|
2722
2826
|
}
|
|
2723
2827
|
function create71(data) {
|
|
2724
2828
|
return __async(this, null, function* () {
|
|
2725
|
-
return yield createObject(
|
|
2829
|
+
return yield createObject(BUSINESS_INTELLIGENCE_REPORT, data);
|
|
2726
2830
|
});
|
|
2727
2831
|
}
|
|
2728
2832
|
function update71(id, newData) {
|
|
2729
2833
|
return __async(this, null, function* () {
|
|
2730
|
-
return yield updateObject(
|
|
2834
|
+
return yield updateObject(BUSINESS_INTELLIGENCE_REPORT, id, newData);
|
|
2731
2835
|
});
|
|
2732
2836
|
}
|
|
2733
2837
|
function remove71(id) {
|
|
2734
2838
|
return __async(this, null, function* () {
|
|
2735
|
-
return yield deleteObject(
|
|
2839
|
+
return yield deleteObject(BUSINESS_INTELLIGENCE_REPORT, id);
|
|
2736
2840
|
});
|
|
2737
2841
|
}
|
|
2738
|
-
var
|
|
2842
|
+
var businessIntelligenceReport = {
|
|
2739
2843
|
findAll: findAll71,
|
|
2740
2844
|
findOne: findOne71,
|
|
2741
2845
|
create: create71,
|
|
@@ -2743,33 +2847,33 @@ var rentalOrderLine = {
|
|
|
2743
2847
|
remove: remove71
|
|
2744
2848
|
};
|
|
2745
2849
|
|
|
2746
|
-
// generated/modules/
|
|
2850
|
+
// generated/modules/company-alias.ts
|
|
2747
2851
|
function findAll72(options) {
|
|
2748
2852
|
return __async(this, null, function* () {
|
|
2749
|
-
return yield getAllObjects(
|
|
2853
|
+
return yield getAllObjects(COMPANY_ALIAS, options == null ? void 0 : options.where);
|
|
2750
2854
|
});
|
|
2751
2855
|
}
|
|
2752
2856
|
function findOne72(id) {
|
|
2753
2857
|
return __async(this, null, function* () {
|
|
2754
|
-
return yield getObjectById(
|
|
2858
|
+
return yield getObjectById(COMPANY_ALIAS, id);
|
|
2755
2859
|
});
|
|
2756
2860
|
}
|
|
2757
2861
|
function create72(data) {
|
|
2758
2862
|
return __async(this, null, function* () {
|
|
2759
|
-
return yield createObject(
|
|
2863
|
+
return yield createObject(COMPANY_ALIAS, data);
|
|
2760
2864
|
});
|
|
2761
2865
|
}
|
|
2762
2866
|
function update72(id, newData) {
|
|
2763
2867
|
return __async(this, null, function* () {
|
|
2764
|
-
return yield updateObject(
|
|
2868
|
+
return yield updateObject(COMPANY_ALIAS, id, newData);
|
|
2765
2869
|
});
|
|
2766
2870
|
}
|
|
2767
2871
|
function remove72(id) {
|
|
2768
2872
|
return __async(this, null, function* () {
|
|
2769
|
-
return yield deleteObject(
|
|
2873
|
+
return yield deleteObject(COMPANY_ALIAS, id);
|
|
2770
2874
|
});
|
|
2771
2875
|
}
|
|
2772
|
-
var
|
|
2876
|
+
var companyAlias = {
|
|
2773
2877
|
findAll: findAll72,
|
|
2774
2878
|
findOne: findOne72,
|
|
2775
2879
|
create: create72,
|
|
@@ -2777,33 +2881,33 @@ var rentalOrder = {
|
|
|
2777
2881
|
remove: remove72
|
|
2778
2882
|
};
|
|
2779
2883
|
|
|
2780
|
-
// generated/modules/
|
|
2884
|
+
// generated/modules/form.ts
|
|
2781
2885
|
function findAll73(options) {
|
|
2782
2886
|
return __async(this, null, function* () {
|
|
2783
|
-
return yield getAllObjects(
|
|
2887
|
+
return yield getAllObjects(FORM, options == null ? void 0 : options.where);
|
|
2784
2888
|
});
|
|
2785
2889
|
}
|
|
2786
2890
|
function findOne73(id) {
|
|
2787
2891
|
return __async(this, null, function* () {
|
|
2788
|
-
return yield getObjectById(
|
|
2892
|
+
return yield getObjectById(FORM, id);
|
|
2789
2893
|
});
|
|
2790
2894
|
}
|
|
2791
2895
|
function create73(data) {
|
|
2792
2896
|
return __async(this, null, function* () {
|
|
2793
|
-
return yield createObject(
|
|
2897
|
+
return yield createObject(FORM, data);
|
|
2794
2898
|
});
|
|
2795
2899
|
}
|
|
2796
2900
|
function update73(id, newData) {
|
|
2797
2901
|
return __async(this, null, function* () {
|
|
2798
|
-
return yield updateObject(
|
|
2902
|
+
return yield updateObject(FORM, id, newData);
|
|
2799
2903
|
});
|
|
2800
2904
|
}
|
|
2801
2905
|
function remove73(id) {
|
|
2802
2906
|
return __async(this, null, function* () {
|
|
2803
|
-
return yield deleteObject(
|
|
2907
|
+
return yield deleteObject(FORM, id);
|
|
2804
2908
|
});
|
|
2805
2909
|
}
|
|
2806
|
-
var
|
|
2910
|
+
var form = {
|
|
2807
2911
|
findAll: findAll73,
|
|
2808
2912
|
findOne: findOne73,
|
|
2809
2913
|
create: create73,
|
|
@@ -2811,33 +2915,33 @@ var userPersonaCustomSchemaPermission = {
|
|
|
2811
2915
|
remove: remove73
|
|
2812
2916
|
};
|
|
2813
2917
|
|
|
2814
|
-
// generated/modules/
|
|
2918
|
+
// generated/modules/conversation.ts
|
|
2815
2919
|
function findAll74(options) {
|
|
2816
2920
|
return __async(this, null, function* () {
|
|
2817
|
-
return yield getAllObjects(
|
|
2921
|
+
return yield getAllObjects(CONVERSATION, options == null ? void 0 : options.where);
|
|
2818
2922
|
});
|
|
2819
2923
|
}
|
|
2820
2924
|
function findOne74(id) {
|
|
2821
2925
|
return __async(this, null, function* () {
|
|
2822
|
-
return yield getObjectById(
|
|
2926
|
+
return yield getObjectById(CONVERSATION, id);
|
|
2823
2927
|
});
|
|
2824
2928
|
}
|
|
2825
2929
|
function create74(data) {
|
|
2826
2930
|
return __async(this, null, function* () {
|
|
2827
|
-
return yield createObject(
|
|
2931
|
+
return yield createObject(CONVERSATION, data);
|
|
2828
2932
|
});
|
|
2829
2933
|
}
|
|
2830
2934
|
function update74(id, newData) {
|
|
2831
2935
|
return __async(this, null, function* () {
|
|
2832
|
-
return yield updateObject(
|
|
2936
|
+
return yield updateObject(CONVERSATION, id, newData);
|
|
2833
2937
|
});
|
|
2834
2938
|
}
|
|
2835
2939
|
function remove74(id) {
|
|
2836
2940
|
return __async(this, null, function* () {
|
|
2837
|
-
return yield deleteObject(
|
|
2941
|
+
return yield deleteObject(CONVERSATION, id);
|
|
2838
2942
|
});
|
|
2839
2943
|
}
|
|
2840
|
-
var
|
|
2944
|
+
var conversation = {
|
|
2841
2945
|
findAll: findAll74,
|
|
2842
2946
|
findOne: findOne74,
|
|
2843
2947
|
create: create74,
|
|
@@ -2845,33 +2949,33 @@ var userPersonaEntityAccessStatus = {
|
|
|
2845
2949
|
remove: remove74
|
|
2846
2950
|
};
|
|
2847
2951
|
|
|
2848
|
-
// generated/modules/
|
|
2952
|
+
// generated/modules/conversation-message.ts
|
|
2849
2953
|
function findAll75(options) {
|
|
2850
2954
|
return __async(this, null, function* () {
|
|
2851
|
-
return yield getAllObjects(
|
|
2955
|
+
return yield getAllObjects(CONVERSATION_MESSAGE, options == null ? void 0 : options.where);
|
|
2852
2956
|
});
|
|
2853
2957
|
}
|
|
2854
2958
|
function findOne75(id) {
|
|
2855
2959
|
return __async(this, null, function* () {
|
|
2856
|
-
return yield getObjectById(
|
|
2960
|
+
return yield getObjectById(CONVERSATION_MESSAGE, id);
|
|
2857
2961
|
});
|
|
2858
2962
|
}
|
|
2859
2963
|
function create75(data) {
|
|
2860
2964
|
return __async(this, null, function* () {
|
|
2861
|
-
return yield createObject(
|
|
2965
|
+
return yield createObject(CONVERSATION_MESSAGE, data);
|
|
2862
2966
|
});
|
|
2863
2967
|
}
|
|
2864
2968
|
function update75(id, newData) {
|
|
2865
2969
|
return __async(this, null, function* () {
|
|
2866
|
-
return yield updateObject(
|
|
2970
|
+
return yield updateObject(CONVERSATION_MESSAGE, id, newData);
|
|
2867
2971
|
});
|
|
2868
2972
|
}
|
|
2869
2973
|
function remove75(id) {
|
|
2870
2974
|
return __async(this, null, function* () {
|
|
2871
|
-
return yield deleteObject(
|
|
2975
|
+
return yield deleteObject(CONVERSATION_MESSAGE, id);
|
|
2872
2976
|
});
|
|
2873
2977
|
}
|
|
2874
|
-
var
|
|
2978
|
+
var conversationMessage = {
|
|
2875
2979
|
findAll: findAll75,
|
|
2876
2980
|
findOne: findOne75,
|
|
2877
2981
|
create: create75,
|
|
@@ -2879,33 +2983,33 @@ var userPersonaEntityPermission = {
|
|
|
2879
2983
|
remove: remove75
|
|
2880
2984
|
};
|
|
2881
2985
|
|
|
2882
|
-
// generated/modules/
|
|
2986
|
+
// generated/modules/whatsapp-account.ts
|
|
2883
2987
|
function findAll76(options) {
|
|
2884
2988
|
return __async(this, null, function* () {
|
|
2885
|
-
return yield getAllObjects(
|
|
2989
|
+
return yield getAllObjects(WHATSAPP_ACCOUNT, options == null ? void 0 : options.where);
|
|
2886
2990
|
});
|
|
2887
2991
|
}
|
|
2888
2992
|
function findOne76(id) {
|
|
2889
2993
|
return __async(this, null, function* () {
|
|
2890
|
-
return yield getObjectById(
|
|
2994
|
+
return yield getObjectById(WHATSAPP_ACCOUNT, id);
|
|
2891
2995
|
});
|
|
2892
2996
|
}
|
|
2893
2997
|
function create76(data) {
|
|
2894
2998
|
return __async(this, null, function* () {
|
|
2895
|
-
return yield createObject(
|
|
2999
|
+
return yield createObject(WHATSAPP_ACCOUNT, data);
|
|
2896
3000
|
});
|
|
2897
3001
|
}
|
|
2898
3002
|
function update76(id, newData) {
|
|
2899
3003
|
return __async(this, null, function* () {
|
|
2900
|
-
return yield updateObject(
|
|
3004
|
+
return yield updateObject(WHATSAPP_ACCOUNT, id, newData);
|
|
2901
3005
|
});
|
|
2902
3006
|
}
|
|
2903
3007
|
function remove76(id) {
|
|
2904
3008
|
return __async(this, null, function* () {
|
|
2905
|
-
return yield deleteObject(
|
|
3009
|
+
return yield deleteObject(WHATSAPP_ACCOUNT, id);
|
|
2906
3010
|
});
|
|
2907
3011
|
}
|
|
2908
|
-
var
|
|
3012
|
+
var whatsappAccount = {
|
|
2909
3013
|
findAll: findAll76,
|
|
2910
3014
|
findOne: findOne76,
|
|
2911
3015
|
create: create76,
|
|
@@ -2913,33 +3017,33 @@ var userPersona = {
|
|
|
2913
3017
|
remove: remove76
|
|
2914
3018
|
};
|
|
2915
3019
|
|
|
2916
|
-
// generated/modules/
|
|
3020
|
+
// generated/modules/delivery-job.ts
|
|
2917
3021
|
function findAll77(options) {
|
|
2918
3022
|
return __async(this, null, function* () {
|
|
2919
|
-
return yield getAllObjects(
|
|
3023
|
+
return yield getAllObjects(DELIVERY_JOB, options == null ? void 0 : options.where);
|
|
2920
3024
|
});
|
|
2921
3025
|
}
|
|
2922
3026
|
function findOne77(id) {
|
|
2923
3027
|
return __async(this, null, function* () {
|
|
2924
|
-
return yield getObjectById(
|
|
3028
|
+
return yield getObjectById(DELIVERY_JOB, id);
|
|
2925
3029
|
});
|
|
2926
3030
|
}
|
|
2927
3031
|
function create77(data) {
|
|
2928
3032
|
return __async(this, null, function* () {
|
|
2929
|
-
return yield createObject(
|
|
3033
|
+
return yield createObject(DELIVERY_JOB, data);
|
|
2930
3034
|
});
|
|
2931
3035
|
}
|
|
2932
3036
|
function update77(id, newData) {
|
|
2933
3037
|
return __async(this, null, function* () {
|
|
2934
|
-
return yield updateObject(
|
|
3038
|
+
return yield updateObject(DELIVERY_JOB, id, newData);
|
|
2935
3039
|
});
|
|
2936
3040
|
}
|
|
2937
3041
|
function remove77(id) {
|
|
2938
3042
|
return __async(this, null, function* () {
|
|
2939
|
-
return yield deleteObject(
|
|
3043
|
+
return yield deleteObject(DELIVERY_JOB, id);
|
|
2940
3044
|
});
|
|
2941
3045
|
}
|
|
2942
|
-
var
|
|
3046
|
+
var deliveryJob = {
|
|
2943
3047
|
findAll: findAll77,
|
|
2944
3048
|
findOne: findOne77,
|
|
2945
3049
|
create: create77,
|
|
@@ -2947,6 +3051,1162 @@ var shift = {
|
|
|
2947
3051
|
remove: remove77
|
|
2948
3052
|
};
|
|
2949
3053
|
|
|
3054
|
+
// generated/modules/fuel-entry.ts
|
|
3055
|
+
function findAll78(options) {
|
|
3056
|
+
return __async(this, null, function* () {
|
|
3057
|
+
return yield getAllObjects(FUEL_ENTRY, options == null ? void 0 : options.where);
|
|
3058
|
+
});
|
|
3059
|
+
}
|
|
3060
|
+
function findOne78(id) {
|
|
3061
|
+
return __async(this, null, function* () {
|
|
3062
|
+
return yield getObjectById(FUEL_ENTRY, id);
|
|
3063
|
+
});
|
|
3064
|
+
}
|
|
3065
|
+
function create78(data) {
|
|
3066
|
+
return __async(this, null, function* () {
|
|
3067
|
+
return yield createObject(FUEL_ENTRY, data);
|
|
3068
|
+
});
|
|
3069
|
+
}
|
|
3070
|
+
function update78(id, newData) {
|
|
3071
|
+
return __async(this, null, function* () {
|
|
3072
|
+
return yield updateObject(FUEL_ENTRY, id, newData);
|
|
3073
|
+
});
|
|
3074
|
+
}
|
|
3075
|
+
function remove78(id) {
|
|
3076
|
+
return __async(this, null, function* () {
|
|
3077
|
+
return yield deleteObject(FUEL_ENTRY, id);
|
|
3078
|
+
});
|
|
3079
|
+
}
|
|
3080
|
+
var fuelEntry = {
|
|
3081
|
+
findAll: findAll78,
|
|
3082
|
+
findOne: findOne78,
|
|
3083
|
+
create: create78,
|
|
3084
|
+
update: update78,
|
|
3085
|
+
remove: remove78
|
|
3086
|
+
};
|
|
3087
|
+
|
|
3088
|
+
// generated/modules/maintenance-order-line.ts
|
|
3089
|
+
function findAll79(options) {
|
|
3090
|
+
return __async(this, null, function* () {
|
|
3091
|
+
return yield getAllObjects(MAINTENANCE_ORDER_LINE, options == null ? void 0 : options.where);
|
|
3092
|
+
});
|
|
3093
|
+
}
|
|
3094
|
+
function findOne79(id) {
|
|
3095
|
+
return __async(this, null, function* () {
|
|
3096
|
+
return yield getObjectById(MAINTENANCE_ORDER_LINE, id);
|
|
3097
|
+
});
|
|
3098
|
+
}
|
|
3099
|
+
function create79(data) {
|
|
3100
|
+
return __async(this, null, function* () {
|
|
3101
|
+
return yield createObject(MAINTENANCE_ORDER_LINE, data);
|
|
3102
|
+
});
|
|
3103
|
+
}
|
|
3104
|
+
function update79(id, newData) {
|
|
3105
|
+
return __async(this, null, function* () {
|
|
3106
|
+
return yield updateObject(MAINTENANCE_ORDER_LINE, id, newData);
|
|
3107
|
+
});
|
|
3108
|
+
}
|
|
3109
|
+
function remove79(id) {
|
|
3110
|
+
return __async(this, null, function* () {
|
|
3111
|
+
return yield deleteObject(MAINTENANCE_ORDER_LINE, id);
|
|
3112
|
+
});
|
|
3113
|
+
}
|
|
3114
|
+
var maintenanceOrderLine = {
|
|
3115
|
+
findAll: findAll79,
|
|
3116
|
+
findOne: findOne79,
|
|
3117
|
+
create: create79,
|
|
3118
|
+
update: update79,
|
|
3119
|
+
remove: remove79
|
|
3120
|
+
};
|
|
3121
|
+
|
|
3122
|
+
// generated/modules/vehicle.ts
|
|
3123
|
+
function findAll80(options) {
|
|
3124
|
+
return __async(this, null, function* () {
|
|
3125
|
+
return yield getAllObjects(VEHICLE, options == null ? void 0 : options.where);
|
|
3126
|
+
});
|
|
3127
|
+
}
|
|
3128
|
+
function findOne80(id) {
|
|
3129
|
+
return __async(this, null, function* () {
|
|
3130
|
+
return yield getObjectById(VEHICLE, id);
|
|
3131
|
+
});
|
|
3132
|
+
}
|
|
3133
|
+
function create80(data) {
|
|
3134
|
+
return __async(this, null, function* () {
|
|
3135
|
+
return yield createObject(VEHICLE, data);
|
|
3136
|
+
});
|
|
3137
|
+
}
|
|
3138
|
+
function update80(id, newData) {
|
|
3139
|
+
return __async(this, null, function* () {
|
|
3140
|
+
return yield updateObject(VEHICLE, id, newData);
|
|
3141
|
+
});
|
|
3142
|
+
}
|
|
3143
|
+
function remove80(id) {
|
|
3144
|
+
return __async(this, null, function* () {
|
|
3145
|
+
return yield deleteObject(VEHICLE, id);
|
|
3146
|
+
});
|
|
3147
|
+
}
|
|
3148
|
+
var vehicle = {
|
|
3149
|
+
findAll: findAll80,
|
|
3150
|
+
findOne: findOne80,
|
|
3151
|
+
create: create80,
|
|
3152
|
+
update: update80,
|
|
3153
|
+
remove: remove80
|
|
3154
|
+
};
|
|
3155
|
+
|
|
3156
|
+
// generated/modules/attendance.ts
|
|
3157
|
+
function findAll81(options) {
|
|
3158
|
+
return __async(this, null, function* () {
|
|
3159
|
+
return yield getAllObjects(ATTENDANCE, options == null ? void 0 : options.where);
|
|
3160
|
+
});
|
|
3161
|
+
}
|
|
3162
|
+
function findOne81(id) {
|
|
3163
|
+
return __async(this, null, function* () {
|
|
3164
|
+
return yield getObjectById(ATTENDANCE, id);
|
|
3165
|
+
});
|
|
3166
|
+
}
|
|
3167
|
+
function create81(data) {
|
|
3168
|
+
return __async(this, null, function* () {
|
|
3169
|
+
return yield createObject(ATTENDANCE, data);
|
|
3170
|
+
});
|
|
3171
|
+
}
|
|
3172
|
+
function update81(id, newData) {
|
|
3173
|
+
return __async(this, null, function* () {
|
|
3174
|
+
return yield updateObject(ATTENDANCE, id, newData);
|
|
3175
|
+
});
|
|
3176
|
+
}
|
|
3177
|
+
function remove81(id) {
|
|
3178
|
+
return __async(this, null, function* () {
|
|
3179
|
+
return yield deleteObject(ATTENDANCE, id);
|
|
3180
|
+
});
|
|
3181
|
+
}
|
|
3182
|
+
var attendance = {
|
|
3183
|
+
findAll: findAll81,
|
|
3184
|
+
findOne: findOne81,
|
|
3185
|
+
create: create81,
|
|
3186
|
+
update: update81,
|
|
3187
|
+
remove: remove81
|
|
3188
|
+
};
|
|
3189
|
+
|
|
3190
|
+
// generated/modules/employee.ts
|
|
3191
|
+
function findAll82(options) {
|
|
3192
|
+
return __async(this, null, function* () {
|
|
3193
|
+
return yield getAllObjects(EMPLOYEE, options == null ? void 0 : options.where);
|
|
3194
|
+
});
|
|
3195
|
+
}
|
|
3196
|
+
function findOne82(id) {
|
|
3197
|
+
return __async(this, null, function* () {
|
|
3198
|
+
return yield getObjectById(EMPLOYEE, id);
|
|
3199
|
+
});
|
|
3200
|
+
}
|
|
3201
|
+
function create82(data) {
|
|
3202
|
+
return __async(this, null, function* () {
|
|
3203
|
+
return yield createObject(EMPLOYEE, data);
|
|
3204
|
+
});
|
|
3205
|
+
}
|
|
3206
|
+
function update82(id, newData) {
|
|
3207
|
+
return __async(this, null, function* () {
|
|
3208
|
+
return yield updateObject(EMPLOYEE, id, newData);
|
|
3209
|
+
});
|
|
3210
|
+
}
|
|
3211
|
+
function remove82(id) {
|
|
3212
|
+
return __async(this, null, function* () {
|
|
3213
|
+
return yield deleteObject(EMPLOYEE, id);
|
|
3214
|
+
});
|
|
3215
|
+
}
|
|
3216
|
+
var employee = {
|
|
3217
|
+
findAll: findAll82,
|
|
3218
|
+
findOne: findOne82,
|
|
3219
|
+
create: create82,
|
|
3220
|
+
update: update82,
|
|
3221
|
+
remove: remove82
|
|
3222
|
+
};
|
|
3223
|
+
|
|
3224
|
+
// generated/modules/geofence.ts
|
|
3225
|
+
function findAll83(options) {
|
|
3226
|
+
return __async(this, null, function* () {
|
|
3227
|
+
return yield getAllObjects(GEOFENCE, options == null ? void 0 : options.where);
|
|
3228
|
+
});
|
|
3229
|
+
}
|
|
3230
|
+
function findOne83(id) {
|
|
3231
|
+
return __async(this, null, function* () {
|
|
3232
|
+
return yield getObjectById(GEOFENCE, id);
|
|
3233
|
+
});
|
|
3234
|
+
}
|
|
3235
|
+
function create83(data) {
|
|
3236
|
+
return __async(this, null, function* () {
|
|
3237
|
+
return yield createObject(GEOFENCE, data);
|
|
3238
|
+
});
|
|
3239
|
+
}
|
|
3240
|
+
function update83(id, newData) {
|
|
3241
|
+
return __async(this, null, function* () {
|
|
3242
|
+
return yield updateObject(GEOFENCE, id, newData);
|
|
3243
|
+
});
|
|
3244
|
+
}
|
|
3245
|
+
function remove83(id) {
|
|
3246
|
+
return __async(this, null, function* () {
|
|
3247
|
+
return yield deleteObject(GEOFENCE, id);
|
|
3248
|
+
});
|
|
3249
|
+
}
|
|
3250
|
+
var geofence = {
|
|
3251
|
+
findAll: findAll83,
|
|
3252
|
+
findOne: findOne83,
|
|
3253
|
+
create: create83,
|
|
3254
|
+
update: update83,
|
|
3255
|
+
remove: remove83
|
|
3256
|
+
};
|
|
3257
|
+
|
|
3258
|
+
// generated/modules/iot-device.ts
|
|
3259
|
+
function findAll84(options) {
|
|
3260
|
+
return __async(this, null, function* () {
|
|
3261
|
+
return yield getAllObjects(IOT_DEVICE, options == null ? void 0 : options.where);
|
|
3262
|
+
});
|
|
3263
|
+
}
|
|
3264
|
+
function findOne84(id) {
|
|
3265
|
+
return __async(this, null, function* () {
|
|
3266
|
+
return yield getObjectById(IOT_DEVICE, id);
|
|
3267
|
+
});
|
|
3268
|
+
}
|
|
3269
|
+
function create84(data) {
|
|
3270
|
+
return __async(this, null, function* () {
|
|
3271
|
+
return yield createObject(IOT_DEVICE, data);
|
|
3272
|
+
});
|
|
3273
|
+
}
|
|
3274
|
+
function update84(id, newData) {
|
|
3275
|
+
return __async(this, null, function* () {
|
|
3276
|
+
return yield updateObject(IOT_DEVICE, id, newData);
|
|
3277
|
+
});
|
|
3278
|
+
}
|
|
3279
|
+
function remove84(id) {
|
|
3280
|
+
return __async(this, null, function* () {
|
|
3281
|
+
return yield deleteObject(IOT_DEVICE, id);
|
|
3282
|
+
});
|
|
3283
|
+
}
|
|
3284
|
+
var iotDevice = {
|
|
3285
|
+
findAll: findAll84,
|
|
3286
|
+
findOne: findOne84,
|
|
3287
|
+
create: create84,
|
|
3288
|
+
update: update84,
|
|
3289
|
+
remove: remove84
|
|
3290
|
+
};
|
|
3291
|
+
|
|
3292
|
+
// generated/modules/iot-hub.ts
|
|
3293
|
+
function findAll85(options) {
|
|
3294
|
+
return __async(this, null, function* () {
|
|
3295
|
+
return yield getAllObjects(IOT_HUB, options == null ? void 0 : options.where);
|
|
3296
|
+
});
|
|
3297
|
+
}
|
|
3298
|
+
function findOne85(id) {
|
|
3299
|
+
return __async(this, null, function* () {
|
|
3300
|
+
return yield getObjectById(IOT_HUB, id);
|
|
3301
|
+
});
|
|
3302
|
+
}
|
|
3303
|
+
function create85(data) {
|
|
3304
|
+
return __async(this, null, function* () {
|
|
3305
|
+
return yield createObject(IOT_HUB, data);
|
|
3306
|
+
});
|
|
3307
|
+
}
|
|
3308
|
+
function update85(id, newData) {
|
|
3309
|
+
return __async(this, null, function* () {
|
|
3310
|
+
return yield updateObject(IOT_HUB, id, newData);
|
|
3311
|
+
});
|
|
3312
|
+
}
|
|
3313
|
+
function remove85(id) {
|
|
3314
|
+
return __async(this, null, function* () {
|
|
3315
|
+
return yield deleteObject(IOT_HUB, id);
|
|
3316
|
+
});
|
|
3317
|
+
}
|
|
3318
|
+
var iotHub = {
|
|
3319
|
+
findAll: findAll85,
|
|
3320
|
+
findOne: findOne85,
|
|
3321
|
+
create: create85,
|
|
3322
|
+
update: update85,
|
|
3323
|
+
remove: remove85
|
|
3324
|
+
};
|
|
3325
|
+
|
|
3326
|
+
// generated/modules/iot-job.ts
|
|
3327
|
+
function findAll86(options) {
|
|
3328
|
+
return __async(this, null, function* () {
|
|
3329
|
+
return yield getAllObjects(IOT_JOB, options == null ? void 0 : options.where);
|
|
3330
|
+
});
|
|
3331
|
+
}
|
|
3332
|
+
function findOne86(id) {
|
|
3333
|
+
return __async(this, null, function* () {
|
|
3334
|
+
return yield getObjectById(IOT_JOB, id);
|
|
3335
|
+
});
|
|
3336
|
+
}
|
|
3337
|
+
function create86(data) {
|
|
3338
|
+
return __async(this, null, function* () {
|
|
3339
|
+
return yield createObject(IOT_JOB, data);
|
|
3340
|
+
});
|
|
3341
|
+
}
|
|
3342
|
+
function update86(id, newData) {
|
|
3343
|
+
return __async(this, null, function* () {
|
|
3344
|
+
return yield updateObject(IOT_JOB, id, newData);
|
|
3345
|
+
});
|
|
3346
|
+
}
|
|
3347
|
+
function remove86(id) {
|
|
3348
|
+
return __async(this, null, function* () {
|
|
3349
|
+
return yield deleteObject(IOT_JOB, id);
|
|
3350
|
+
});
|
|
3351
|
+
}
|
|
3352
|
+
var iotJob = {
|
|
3353
|
+
findAll: findAll86,
|
|
3354
|
+
findOne: findOne86,
|
|
3355
|
+
create: create86,
|
|
3356
|
+
update: update86,
|
|
3357
|
+
remove: remove86
|
|
3358
|
+
};
|
|
3359
|
+
|
|
3360
|
+
// generated/modules/bom-component.ts
|
|
3361
|
+
function findAll87(options) {
|
|
3362
|
+
return __async(this, null, function* () {
|
|
3363
|
+
return yield getAllObjects(BOM_COMPONENT, options == null ? void 0 : options.where);
|
|
3364
|
+
});
|
|
3365
|
+
}
|
|
3366
|
+
function findOne87(id) {
|
|
3367
|
+
return __async(this, null, function* () {
|
|
3368
|
+
return yield getObjectById(BOM_COMPONENT, id);
|
|
3369
|
+
});
|
|
3370
|
+
}
|
|
3371
|
+
function create87(data) {
|
|
3372
|
+
return __async(this, null, function* () {
|
|
3373
|
+
return yield createObject(BOM_COMPONENT, data);
|
|
3374
|
+
});
|
|
3375
|
+
}
|
|
3376
|
+
function update87(id, newData) {
|
|
3377
|
+
return __async(this, null, function* () {
|
|
3378
|
+
return yield updateObject(BOM_COMPONENT, id, newData);
|
|
3379
|
+
});
|
|
3380
|
+
}
|
|
3381
|
+
function remove87(id) {
|
|
3382
|
+
return __async(this, null, function* () {
|
|
3383
|
+
return yield deleteObject(BOM_COMPONENT, id);
|
|
3384
|
+
});
|
|
3385
|
+
}
|
|
3386
|
+
var bomComponent = {
|
|
3387
|
+
findAll: findAll87,
|
|
3388
|
+
findOne: findOne87,
|
|
3389
|
+
create: create87,
|
|
3390
|
+
update: update87,
|
|
3391
|
+
remove: remove87
|
|
3392
|
+
};
|
|
3393
|
+
|
|
3394
|
+
// generated/modules/bom-operation.ts
|
|
3395
|
+
function findAll88(options) {
|
|
3396
|
+
return __async(this, null, function* () {
|
|
3397
|
+
return yield getAllObjects(BOM_OPERATION, options == null ? void 0 : options.where);
|
|
3398
|
+
});
|
|
3399
|
+
}
|
|
3400
|
+
function findOne88(id) {
|
|
3401
|
+
return __async(this, null, function* () {
|
|
3402
|
+
return yield getObjectById(BOM_OPERATION, id);
|
|
3403
|
+
});
|
|
3404
|
+
}
|
|
3405
|
+
function create88(data) {
|
|
3406
|
+
return __async(this, null, function* () {
|
|
3407
|
+
return yield createObject(BOM_OPERATION, data);
|
|
3408
|
+
});
|
|
3409
|
+
}
|
|
3410
|
+
function update88(id, newData) {
|
|
3411
|
+
return __async(this, null, function* () {
|
|
3412
|
+
return yield updateObject(BOM_OPERATION, id, newData);
|
|
3413
|
+
});
|
|
3414
|
+
}
|
|
3415
|
+
function remove88(id) {
|
|
3416
|
+
return __async(this, null, function* () {
|
|
3417
|
+
return yield deleteObject(BOM_OPERATION, id);
|
|
3418
|
+
});
|
|
3419
|
+
}
|
|
3420
|
+
var bomOperation = {
|
|
3421
|
+
findAll: findAll88,
|
|
3422
|
+
findOne: findOne88,
|
|
3423
|
+
create: create88,
|
|
3424
|
+
update: update88,
|
|
3425
|
+
remove: remove88
|
|
3426
|
+
};
|
|
3427
|
+
|
|
3428
|
+
// generated/modules/job-card.ts
|
|
3429
|
+
function findAll89(options) {
|
|
3430
|
+
return __async(this, null, function* () {
|
|
3431
|
+
return yield getAllObjects(JOB_CARD, options == null ? void 0 : options.where);
|
|
3432
|
+
});
|
|
3433
|
+
}
|
|
3434
|
+
function findOne89(id) {
|
|
3435
|
+
return __async(this, null, function* () {
|
|
3436
|
+
return yield getObjectById(JOB_CARD, id);
|
|
3437
|
+
});
|
|
3438
|
+
}
|
|
3439
|
+
function create89(data) {
|
|
3440
|
+
return __async(this, null, function* () {
|
|
3441
|
+
return yield createObject(JOB_CARD, data);
|
|
3442
|
+
});
|
|
3443
|
+
}
|
|
3444
|
+
function update89(id, newData) {
|
|
3445
|
+
return __async(this, null, function* () {
|
|
3446
|
+
return yield updateObject(JOB_CARD, id, newData);
|
|
3447
|
+
});
|
|
3448
|
+
}
|
|
3449
|
+
function remove89(id) {
|
|
3450
|
+
return __async(this, null, function* () {
|
|
3451
|
+
return yield deleteObject(JOB_CARD, id);
|
|
3452
|
+
});
|
|
3453
|
+
}
|
|
3454
|
+
var jobCard = {
|
|
3455
|
+
findAll: findAll89,
|
|
3456
|
+
findOne: findOne89,
|
|
3457
|
+
create: create89,
|
|
3458
|
+
update: update89,
|
|
3459
|
+
remove: remove89
|
|
3460
|
+
};
|
|
3461
|
+
|
|
3462
|
+
// generated/modules/production-order.ts
|
|
3463
|
+
function findAll90(options) {
|
|
3464
|
+
return __async(this, null, function* () {
|
|
3465
|
+
return yield getAllObjects(PRODUCTION_ORDER, options == null ? void 0 : options.where);
|
|
3466
|
+
});
|
|
3467
|
+
}
|
|
3468
|
+
function findOne90(id) {
|
|
3469
|
+
return __async(this, null, function* () {
|
|
3470
|
+
return yield getObjectById(PRODUCTION_ORDER, id);
|
|
3471
|
+
});
|
|
3472
|
+
}
|
|
3473
|
+
function create90(data) {
|
|
3474
|
+
return __async(this, null, function* () {
|
|
3475
|
+
return yield createObject(PRODUCTION_ORDER, data);
|
|
3476
|
+
});
|
|
3477
|
+
}
|
|
3478
|
+
function update90(id, newData) {
|
|
3479
|
+
return __async(this, null, function* () {
|
|
3480
|
+
return yield updateObject(PRODUCTION_ORDER, id, newData);
|
|
3481
|
+
});
|
|
3482
|
+
}
|
|
3483
|
+
function remove90(id) {
|
|
3484
|
+
return __async(this, null, function* () {
|
|
3485
|
+
return yield deleteObject(PRODUCTION_ORDER, id);
|
|
3486
|
+
});
|
|
3487
|
+
}
|
|
3488
|
+
var productionOrder = {
|
|
3489
|
+
findAll: findAll90,
|
|
3490
|
+
findOne: findOne90,
|
|
3491
|
+
create: create90,
|
|
3492
|
+
update: update90,
|
|
3493
|
+
remove: remove90
|
|
3494
|
+
};
|
|
3495
|
+
|
|
3496
|
+
// generated/modules/production-order-line.ts
|
|
3497
|
+
function findAll91(options) {
|
|
3498
|
+
return __async(this, null, function* () {
|
|
3499
|
+
return yield getAllObjects(PRODUCTION_ORDER_LINE, options == null ? void 0 : options.where);
|
|
3500
|
+
});
|
|
3501
|
+
}
|
|
3502
|
+
function findOne91(id) {
|
|
3503
|
+
return __async(this, null, function* () {
|
|
3504
|
+
return yield getObjectById(PRODUCTION_ORDER_LINE, id);
|
|
3505
|
+
});
|
|
3506
|
+
}
|
|
3507
|
+
function create91(data) {
|
|
3508
|
+
return __async(this, null, function* () {
|
|
3509
|
+
return yield createObject(PRODUCTION_ORDER_LINE, data);
|
|
3510
|
+
});
|
|
3511
|
+
}
|
|
3512
|
+
function update91(id, newData) {
|
|
3513
|
+
return __async(this, null, function* () {
|
|
3514
|
+
return yield updateObject(PRODUCTION_ORDER_LINE, id, newData);
|
|
3515
|
+
});
|
|
3516
|
+
}
|
|
3517
|
+
function remove91(id) {
|
|
3518
|
+
return __async(this, null, function* () {
|
|
3519
|
+
return yield deleteObject(PRODUCTION_ORDER_LINE, id);
|
|
3520
|
+
});
|
|
3521
|
+
}
|
|
3522
|
+
var productionOrderLine = {
|
|
3523
|
+
findAll: findAll91,
|
|
3524
|
+
findOne: findOne91,
|
|
3525
|
+
create: create91,
|
|
3526
|
+
update: update91,
|
|
3527
|
+
remove: remove91
|
|
3528
|
+
};
|
|
3529
|
+
|
|
3530
|
+
// generated/modules/quality-check.ts
|
|
3531
|
+
function findAll92(options) {
|
|
3532
|
+
return __async(this, null, function* () {
|
|
3533
|
+
return yield getAllObjects(QUALITY_CHECK, options == null ? void 0 : options.where);
|
|
3534
|
+
});
|
|
3535
|
+
}
|
|
3536
|
+
function findOne92(id) {
|
|
3537
|
+
return __async(this, null, function* () {
|
|
3538
|
+
return yield getObjectById(QUALITY_CHECK, id);
|
|
3539
|
+
});
|
|
3540
|
+
}
|
|
3541
|
+
function create92(data) {
|
|
3542
|
+
return __async(this, null, function* () {
|
|
3543
|
+
return yield createObject(QUALITY_CHECK, data);
|
|
3544
|
+
});
|
|
3545
|
+
}
|
|
3546
|
+
function update92(id, newData) {
|
|
3547
|
+
return __async(this, null, function* () {
|
|
3548
|
+
return yield updateObject(QUALITY_CHECK, id, newData);
|
|
3549
|
+
});
|
|
3550
|
+
}
|
|
3551
|
+
function remove92(id) {
|
|
3552
|
+
return __async(this, null, function* () {
|
|
3553
|
+
return yield deleteObject(QUALITY_CHECK, id);
|
|
3554
|
+
});
|
|
3555
|
+
}
|
|
3556
|
+
var qualityCheck = {
|
|
3557
|
+
findAll: findAll92,
|
|
3558
|
+
findOne: findOne92,
|
|
3559
|
+
create: create92,
|
|
3560
|
+
update: update92,
|
|
3561
|
+
remove: remove92
|
|
3562
|
+
};
|
|
3563
|
+
|
|
3564
|
+
// generated/modules/quality-checkpoint.ts
|
|
3565
|
+
function findAll93(options) {
|
|
3566
|
+
return __async(this, null, function* () {
|
|
3567
|
+
return yield getAllObjects(QUALITY_CHECKPOINT, options == null ? void 0 : options.where);
|
|
3568
|
+
});
|
|
3569
|
+
}
|
|
3570
|
+
function findOne93(id) {
|
|
3571
|
+
return __async(this, null, function* () {
|
|
3572
|
+
return yield getObjectById(QUALITY_CHECKPOINT, id);
|
|
3573
|
+
});
|
|
3574
|
+
}
|
|
3575
|
+
function create93(data) {
|
|
3576
|
+
return __async(this, null, function* () {
|
|
3577
|
+
return yield createObject(QUALITY_CHECKPOINT, data);
|
|
3578
|
+
});
|
|
3579
|
+
}
|
|
3580
|
+
function update93(id, newData) {
|
|
3581
|
+
return __async(this, null, function* () {
|
|
3582
|
+
return yield updateObject(QUALITY_CHECKPOINT, id, newData);
|
|
3583
|
+
});
|
|
3584
|
+
}
|
|
3585
|
+
function remove93(id) {
|
|
3586
|
+
return __async(this, null, function* () {
|
|
3587
|
+
return yield deleteObject(QUALITY_CHECKPOINT, id);
|
|
3588
|
+
});
|
|
3589
|
+
}
|
|
3590
|
+
var qualityCheckpoint = {
|
|
3591
|
+
findAll: findAll93,
|
|
3592
|
+
findOne: findOne93,
|
|
3593
|
+
create: create93,
|
|
3594
|
+
update: update93,
|
|
3595
|
+
remove: remove93
|
|
3596
|
+
};
|
|
3597
|
+
|
|
3598
|
+
// generated/modules/workstation.ts
|
|
3599
|
+
function findAll94(options) {
|
|
3600
|
+
return __async(this, null, function* () {
|
|
3601
|
+
return yield getAllObjects(WORKSTATION, options == null ? void 0 : options.where);
|
|
3602
|
+
});
|
|
3603
|
+
}
|
|
3604
|
+
function findOne94(id) {
|
|
3605
|
+
return __async(this, null, function* () {
|
|
3606
|
+
return yield getObjectById(WORKSTATION, id);
|
|
3607
|
+
});
|
|
3608
|
+
}
|
|
3609
|
+
function create94(data) {
|
|
3610
|
+
return __async(this, null, function* () {
|
|
3611
|
+
return yield createObject(WORKSTATION, data);
|
|
3612
|
+
});
|
|
3613
|
+
}
|
|
3614
|
+
function update94(id, newData) {
|
|
3615
|
+
return __async(this, null, function* () {
|
|
3616
|
+
return yield updateObject(WORKSTATION, id, newData);
|
|
3617
|
+
});
|
|
3618
|
+
}
|
|
3619
|
+
function remove94(id) {
|
|
3620
|
+
return __async(this, null, function* () {
|
|
3621
|
+
return yield deleteObject(WORKSTATION, id);
|
|
3622
|
+
});
|
|
3623
|
+
}
|
|
3624
|
+
var workstation = {
|
|
3625
|
+
findAll: findAll94,
|
|
3626
|
+
findOne: findOne94,
|
|
3627
|
+
create: create94,
|
|
3628
|
+
update: update94,
|
|
3629
|
+
remove: remove94
|
|
3630
|
+
};
|
|
3631
|
+
|
|
3632
|
+
// generated/modules/workstation-transfer.ts
|
|
3633
|
+
function findAll95(options) {
|
|
3634
|
+
return __async(this, null, function* () {
|
|
3635
|
+
return yield getAllObjects(WORKSTATION_TRANSFER, options == null ? void 0 : options.where);
|
|
3636
|
+
});
|
|
3637
|
+
}
|
|
3638
|
+
function findOne95(id) {
|
|
3639
|
+
return __async(this, null, function* () {
|
|
3640
|
+
return yield getObjectById(WORKSTATION_TRANSFER, id);
|
|
3641
|
+
});
|
|
3642
|
+
}
|
|
3643
|
+
function create95(data) {
|
|
3644
|
+
return __async(this, null, function* () {
|
|
3645
|
+
return yield createObject(WORKSTATION_TRANSFER, data);
|
|
3646
|
+
});
|
|
3647
|
+
}
|
|
3648
|
+
function update95(id, newData) {
|
|
3649
|
+
return __async(this, null, function* () {
|
|
3650
|
+
return yield updateObject(WORKSTATION_TRANSFER, id, newData);
|
|
3651
|
+
});
|
|
3652
|
+
}
|
|
3653
|
+
function remove95(id) {
|
|
3654
|
+
return __async(this, null, function* () {
|
|
3655
|
+
return yield deleteObject(WORKSTATION_TRANSFER, id);
|
|
3656
|
+
});
|
|
3657
|
+
}
|
|
3658
|
+
var workstationTransfer = {
|
|
3659
|
+
findAll: findAll95,
|
|
3660
|
+
findOne: findOne95,
|
|
3661
|
+
create: create95,
|
|
3662
|
+
update: update95,
|
|
3663
|
+
remove: remove95
|
|
3664
|
+
};
|
|
3665
|
+
|
|
3666
|
+
// generated/modules/rental-order-line.ts
|
|
3667
|
+
function findAll96(options) {
|
|
3668
|
+
return __async(this, null, function* () {
|
|
3669
|
+
return yield getAllObjects(RENTAL_ORDER_LINE, options == null ? void 0 : options.where);
|
|
3670
|
+
});
|
|
3671
|
+
}
|
|
3672
|
+
function findOne96(id) {
|
|
3673
|
+
return __async(this, null, function* () {
|
|
3674
|
+
return yield getObjectById(RENTAL_ORDER_LINE, id);
|
|
3675
|
+
});
|
|
3676
|
+
}
|
|
3677
|
+
function create96(data) {
|
|
3678
|
+
return __async(this, null, function* () {
|
|
3679
|
+
return yield createObject(RENTAL_ORDER_LINE, data);
|
|
3680
|
+
});
|
|
3681
|
+
}
|
|
3682
|
+
function update96(id, newData) {
|
|
3683
|
+
return __async(this, null, function* () {
|
|
3684
|
+
return yield updateObject(RENTAL_ORDER_LINE, id, newData);
|
|
3685
|
+
});
|
|
3686
|
+
}
|
|
3687
|
+
function remove96(id) {
|
|
3688
|
+
return __async(this, null, function* () {
|
|
3689
|
+
return yield deleteObject(RENTAL_ORDER_LINE, id);
|
|
3690
|
+
});
|
|
3691
|
+
}
|
|
3692
|
+
var rentalOrderLine = {
|
|
3693
|
+
findAll: findAll96,
|
|
3694
|
+
findOne: findOne96,
|
|
3695
|
+
create: create96,
|
|
3696
|
+
update: update96,
|
|
3697
|
+
remove: remove96
|
|
3698
|
+
};
|
|
3699
|
+
|
|
3700
|
+
// generated/modules/rental-order.ts
|
|
3701
|
+
function findAll97(options) {
|
|
3702
|
+
return __async(this, null, function* () {
|
|
3703
|
+
return yield getAllObjects(RENTAL_ORDER, options == null ? void 0 : options.where);
|
|
3704
|
+
});
|
|
3705
|
+
}
|
|
3706
|
+
function findOne97(id) {
|
|
3707
|
+
return __async(this, null, function* () {
|
|
3708
|
+
return yield getObjectById(RENTAL_ORDER, id);
|
|
3709
|
+
});
|
|
3710
|
+
}
|
|
3711
|
+
function create97(data) {
|
|
3712
|
+
return __async(this, null, function* () {
|
|
3713
|
+
return yield createObject(RENTAL_ORDER, data);
|
|
3714
|
+
});
|
|
3715
|
+
}
|
|
3716
|
+
function update97(id, newData) {
|
|
3717
|
+
return __async(this, null, function* () {
|
|
3718
|
+
return yield updateObject(RENTAL_ORDER, id, newData);
|
|
3719
|
+
});
|
|
3720
|
+
}
|
|
3721
|
+
function remove97(id) {
|
|
3722
|
+
return __async(this, null, function* () {
|
|
3723
|
+
return yield deleteObject(RENTAL_ORDER, id);
|
|
3724
|
+
});
|
|
3725
|
+
}
|
|
3726
|
+
var rentalOrder = {
|
|
3727
|
+
findAll: findAll97,
|
|
3728
|
+
findOne: findOne97,
|
|
3729
|
+
create: create97,
|
|
3730
|
+
update: update97,
|
|
3731
|
+
remove: remove97
|
|
3732
|
+
};
|
|
3733
|
+
|
|
3734
|
+
// generated/modules/return-sales-order.ts
|
|
3735
|
+
function findAll98(options) {
|
|
3736
|
+
return __async(this, null, function* () {
|
|
3737
|
+
return yield getAllObjects(RETURN_SALES_ORDER, options == null ? void 0 : options.where);
|
|
3738
|
+
});
|
|
3739
|
+
}
|
|
3740
|
+
function findOne98(id) {
|
|
3741
|
+
return __async(this, null, function* () {
|
|
3742
|
+
return yield getObjectById(RETURN_SALES_ORDER, id);
|
|
3743
|
+
});
|
|
3744
|
+
}
|
|
3745
|
+
function create98(data) {
|
|
3746
|
+
return __async(this, null, function* () {
|
|
3747
|
+
return yield createObject(RETURN_SALES_ORDER, data);
|
|
3748
|
+
});
|
|
3749
|
+
}
|
|
3750
|
+
function update98(id, newData) {
|
|
3751
|
+
return __async(this, null, function* () {
|
|
3752
|
+
return yield updateObject(RETURN_SALES_ORDER, id, newData);
|
|
3753
|
+
});
|
|
3754
|
+
}
|
|
3755
|
+
function remove98(id) {
|
|
3756
|
+
return __async(this, null, function* () {
|
|
3757
|
+
return yield deleteObject(RETURN_SALES_ORDER, id);
|
|
3758
|
+
});
|
|
3759
|
+
}
|
|
3760
|
+
var returnSalesOrder = {
|
|
3761
|
+
findAll: findAll98,
|
|
3762
|
+
findOne: findOne98,
|
|
3763
|
+
create: create98,
|
|
3764
|
+
update: update98,
|
|
3765
|
+
remove: remove98
|
|
3766
|
+
};
|
|
3767
|
+
|
|
3768
|
+
// generated/modules/pricelist-line.ts
|
|
3769
|
+
function findAll99(options) {
|
|
3770
|
+
return __async(this, null, function* () {
|
|
3771
|
+
return yield getAllObjects(PRICELIST_LINE, options == null ? void 0 : options.where);
|
|
3772
|
+
});
|
|
3773
|
+
}
|
|
3774
|
+
function findOne99(id) {
|
|
3775
|
+
return __async(this, null, function* () {
|
|
3776
|
+
return yield getObjectById(PRICELIST_LINE, id);
|
|
3777
|
+
});
|
|
3778
|
+
}
|
|
3779
|
+
function create99(data) {
|
|
3780
|
+
return __async(this, null, function* () {
|
|
3781
|
+
return yield createObject(PRICELIST_LINE, data);
|
|
3782
|
+
});
|
|
3783
|
+
}
|
|
3784
|
+
function update99(id, newData) {
|
|
3785
|
+
return __async(this, null, function* () {
|
|
3786
|
+
return yield updateObject(PRICELIST_LINE, id, newData);
|
|
3787
|
+
});
|
|
3788
|
+
}
|
|
3789
|
+
function remove99(id) {
|
|
3790
|
+
return __async(this, null, function* () {
|
|
3791
|
+
return yield deleteObject(PRICELIST_LINE, id);
|
|
3792
|
+
});
|
|
3793
|
+
}
|
|
3794
|
+
var pricelistLine = {
|
|
3795
|
+
findAll: findAll99,
|
|
3796
|
+
findOne: findOne99,
|
|
3797
|
+
create: create99,
|
|
3798
|
+
update: update99,
|
|
3799
|
+
remove: remove99
|
|
3800
|
+
};
|
|
3801
|
+
|
|
3802
|
+
// generated/modules/lease.ts
|
|
3803
|
+
function findAll100(options) {
|
|
3804
|
+
return __async(this, null, function* () {
|
|
3805
|
+
return yield getAllObjects(LEASE, options == null ? void 0 : options.where);
|
|
3806
|
+
});
|
|
3807
|
+
}
|
|
3808
|
+
function findOne100(id) {
|
|
3809
|
+
return __async(this, null, function* () {
|
|
3810
|
+
return yield getObjectById(LEASE, id);
|
|
3811
|
+
});
|
|
3812
|
+
}
|
|
3813
|
+
function create100(data) {
|
|
3814
|
+
return __async(this, null, function* () {
|
|
3815
|
+
return yield createObject(LEASE, data);
|
|
3816
|
+
});
|
|
3817
|
+
}
|
|
3818
|
+
function update100(id, newData) {
|
|
3819
|
+
return __async(this, null, function* () {
|
|
3820
|
+
return yield updateObject(LEASE, id, newData);
|
|
3821
|
+
});
|
|
3822
|
+
}
|
|
3823
|
+
function remove100(id) {
|
|
3824
|
+
return __async(this, null, function* () {
|
|
3825
|
+
return yield deleteObject(LEASE, id);
|
|
3826
|
+
});
|
|
3827
|
+
}
|
|
3828
|
+
var lease = {
|
|
3829
|
+
findAll: findAll100,
|
|
3830
|
+
findOne: findOne100,
|
|
3831
|
+
create: create100,
|
|
3832
|
+
update: update100,
|
|
3833
|
+
remove: remove100
|
|
3834
|
+
};
|
|
3835
|
+
|
|
3836
|
+
// generated/modules/property.ts
|
|
3837
|
+
function findAll101(options) {
|
|
3838
|
+
return __async(this, null, function* () {
|
|
3839
|
+
return yield getAllObjects(PROPERTY, options == null ? void 0 : options.where);
|
|
3840
|
+
});
|
|
3841
|
+
}
|
|
3842
|
+
function findOne101(id) {
|
|
3843
|
+
return __async(this, null, function* () {
|
|
3844
|
+
return yield getObjectById(PROPERTY, id);
|
|
3845
|
+
});
|
|
3846
|
+
}
|
|
3847
|
+
function create101(data) {
|
|
3848
|
+
return __async(this, null, function* () {
|
|
3849
|
+
return yield createObject(PROPERTY, data);
|
|
3850
|
+
});
|
|
3851
|
+
}
|
|
3852
|
+
function update101(id, newData) {
|
|
3853
|
+
return __async(this, null, function* () {
|
|
3854
|
+
return yield updateObject(PROPERTY, id, newData);
|
|
3855
|
+
});
|
|
3856
|
+
}
|
|
3857
|
+
function remove101(id) {
|
|
3858
|
+
return __async(this, null, function* () {
|
|
3859
|
+
return yield deleteObject(PROPERTY, id);
|
|
3860
|
+
});
|
|
3861
|
+
}
|
|
3862
|
+
var property = {
|
|
3863
|
+
findAll: findAll101,
|
|
3864
|
+
findOne: findOne101,
|
|
3865
|
+
create: create101,
|
|
3866
|
+
update: update101,
|
|
3867
|
+
remove: remove101
|
|
3868
|
+
};
|
|
3869
|
+
|
|
3870
|
+
// generated/modules/property-group.ts
|
|
3871
|
+
function findAll102(options) {
|
|
3872
|
+
return __async(this, null, function* () {
|
|
3873
|
+
return yield getAllObjects(PROPERTY_GROUP, options == null ? void 0 : options.where);
|
|
3874
|
+
});
|
|
3875
|
+
}
|
|
3876
|
+
function findOne102(id) {
|
|
3877
|
+
return __async(this, null, function* () {
|
|
3878
|
+
return yield getObjectById(PROPERTY_GROUP, id);
|
|
3879
|
+
});
|
|
3880
|
+
}
|
|
3881
|
+
function create102(data) {
|
|
3882
|
+
return __async(this, null, function* () {
|
|
3883
|
+
return yield createObject(PROPERTY_GROUP, data);
|
|
3884
|
+
});
|
|
3885
|
+
}
|
|
3886
|
+
function update102(id, newData) {
|
|
3887
|
+
return __async(this, null, function* () {
|
|
3888
|
+
return yield updateObject(PROPERTY_GROUP, id, newData);
|
|
3889
|
+
});
|
|
3890
|
+
}
|
|
3891
|
+
function remove102(id) {
|
|
3892
|
+
return __async(this, null, function* () {
|
|
3893
|
+
return yield deleteObject(PROPERTY_GROUP, id);
|
|
3894
|
+
});
|
|
3895
|
+
}
|
|
3896
|
+
var propertyGroup = {
|
|
3897
|
+
findAll: findAll102,
|
|
3898
|
+
findOne: findOne102,
|
|
3899
|
+
create: create102,
|
|
3900
|
+
update: update102,
|
|
3901
|
+
remove: remove102
|
|
3902
|
+
};
|
|
3903
|
+
|
|
3904
|
+
// generated/modules/rule.ts
|
|
3905
|
+
function findAll103(options) {
|
|
3906
|
+
return __async(this, null, function* () {
|
|
3907
|
+
return yield getAllObjects(RULE, options == null ? void 0 : options.where);
|
|
3908
|
+
});
|
|
3909
|
+
}
|
|
3910
|
+
function findOne103(id) {
|
|
3911
|
+
return __async(this, null, function* () {
|
|
3912
|
+
return yield getObjectById(RULE, id);
|
|
3913
|
+
});
|
|
3914
|
+
}
|
|
3915
|
+
function create103(data) {
|
|
3916
|
+
return __async(this, null, function* () {
|
|
3917
|
+
return yield createObject(RULE, data);
|
|
3918
|
+
});
|
|
3919
|
+
}
|
|
3920
|
+
function update103(id, newData) {
|
|
3921
|
+
return __async(this, null, function* () {
|
|
3922
|
+
return yield updateObject(RULE, id, newData);
|
|
3923
|
+
});
|
|
3924
|
+
}
|
|
3925
|
+
function remove103(id) {
|
|
3926
|
+
return __async(this, null, function* () {
|
|
3927
|
+
return yield deleteObject(RULE, id);
|
|
3928
|
+
});
|
|
3929
|
+
}
|
|
3930
|
+
var rule = {
|
|
3931
|
+
findAll: findAll103,
|
|
3932
|
+
findOne: findOne103,
|
|
3933
|
+
create: create103,
|
|
3934
|
+
update: update103,
|
|
3935
|
+
remove: remove103
|
|
3936
|
+
};
|
|
3937
|
+
|
|
3938
|
+
// generated/modules/telemetry-event.ts
|
|
3939
|
+
function findAll104(options) {
|
|
3940
|
+
return __async(this, null, function* () {
|
|
3941
|
+
return yield getAllObjects(TELEMETRY_EVENT, options == null ? void 0 : options.where);
|
|
3942
|
+
});
|
|
3943
|
+
}
|
|
3944
|
+
function findOne104(id) {
|
|
3945
|
+
return __async(this, null, function* () {
|
|
3946
|
+
return yield getObjectById(TELEMETRY_EVENT, id);
|
|
3947
|
+
});
|
|
3948
|
+
}
|
|
3949
|
+
function create104(data) {
|
|
3950
|
+
return __async(this, null, function* () {
|
|
3951
|
+
return yield createObject(TELEMETRY_EVENT, data);
|
|
3952
|
+
});
|
|
3953
|
+
}
|
|
3954
|
+
function update104(id, newData) {
|
|
3955
|
+
return __async(this, null, function* () {
|
|
3956
|
+
return yield updateObject(TELEMETRY_EVENT, id, newData);
|
|
3957
|
+
});
|
|
3958
|
+
}
|
|
3959
|
+
function remove104(id) {
|
|
3960
|
+
return __async(this, null, function* () {
|
|
3961
|
+
return yield deleteObject(TELEMETRY_EVENT, id);
|
|
3962
|
+
});
|
|
3963
|
+
}
|
|
3964
|
+
var telemetryEvent = {
|
|
3965
|
+
findAll: findAll104,
|
|
3966
|
+
findOne: findOne104,
|
|
3967
|
+
create: create104,
|
|
3968
|
+
update: update104,
|
|
3969
|
+
remove: remove104
|
|
3970
|
+
};
|
|
3971
|
+
|
|
3972
|
+
// generated/modules/user-persona-custom-schema-permission.ts
|
|
3973
|
+
function findAll105(options) {
|
|
3974
|
+
return __async(this, null, function* () {
|
|
3975
|
+
return yield getAllObjects(USER_PERSONA_CUSTOM_SCHEMA_PERMISSION, options == null ? void 0 : options.where);
|
|
3976
|
+
});
|
|
3977
|
+
}
|
|
3978
|
+
function findOne105(id) {
|
|
3979
|
+
return __async(this, null, function* () {
|
|
3980
|
+
return yield getObjectById(USER_PERSONA_CUSTOM_SCHEMA_PERMISSION, id);
|
|
3981
|
+
});
|
|
3982
|
+
}
|
|
3983
|
+
function create105(data) {
|
|
3984
|
+
return __async(this, null, function* () {
|
|
3985
|
+
return yield createObject(USER_PERSONA_CUSTOM_SCHEMA_PERMISSION, data);
|
|
3986
|
+
});
|
|
3987
|
+
}
|
|
3988
|
+
function update105(id, newData) {
|
|
3989
|
+
return __async(this, null, function* () {
|
|
3990
|
+
return yield updateObject(USER_PERSONA_CUSTOM_SCHEMA_PERMISSION, id, newData);
|
|
3991
|
+
});
|
|
3992
|
+
}
|
|
3993
|
+
function remove105(id) {
|
|
3994
|
+
return __async(this, null, function* () {
|
|
3995
|
+
return yield deleteObject(USER_PERSONA_CUSTOM_SCHEMA_PERMISSION, id);
|
|
3996
|
+
});
|
|
3997
|
+
}
|
|
3998
|
+
var userPersonaCustomSchemaPermission = {
|
|
3999
|
+
findAll: findAll105,
|
|
4000
|
+
findOne: findOne105,
|
|
4001
|
+
create: create105,
|
|
4002
|
+
update: update105,
|
|
4003
|
+
remove: remove105
|
|
4004
|
+
};
|
|
4005
|
+
|
|
4006
|
+
// generated/modules/user-persona-entity-access-status.ts
|
|
4007
|
+
function findAll106(options) {
|
|
4008
|
+
return __async(this, null, function* () {
|
|
4009
|
+
return yield getAllObjects(USER_PERSONA_ENTITY_ACCESS_STATUS, options == null ? void 0 : options.where);
|
|
4010
|
+
});
|
|
4011
|
+
}
|
|
4012
|
+
function findOne106(id) {
|
|
4013
|
+
return __async(this, null, function* () {
|
|
4014
|
+
return yield getObjectById(USER_PERSONA_ENTITY_ACCESS_STATUS, id);
|
|
4015
|
+
});
|
|
4016
|
+
}
|
|
4017
|
+
function create106(data) {
|
|
4018
|
+
return __async(this, null, function* () {
|
|
4019
|
+
return yield createObject(USER_PERSONA_ENTITY_ACCESS_STATUS, data);
|
|
4020
|
+
});
|
|
4021
|
+
}
|
|
4022
|
+
function update106(id, newData) {
|
|
4023
|
+
return __async(this, null, function* () {
|
|
4024
|
+
return yield updateObject(USER_PERSONA_ENTITY_ACCESS_STATUS, id, newData);
|
|
4025
|
+
});
|
|
4026
|
+
}
|
|
4027
|
+
function remove106(id) {
|
|
4028
|
+
return __async(this, null, function* () {
|
|
4029
|
+
return yield deleteObject(USER_PERSONA_ENTITY_ACCESS_STATUS, id);
|
|
4030
|
+
});
|
|
4031
|
+
}
|
|
4032
|
+
var userPersonaEntityAccessStatus = {
|
|
4033
|
+
findAll: findAll106,
|
|
4034
|
+
findOne: findOne106,
|
|
4035
|
+
create: create106,
|
|
4036
|
+
update: update106,
|
|
4037
|
+
remove: remove106
|
|
4038
|
+
};
|
|
4039
|
+
|
|
4040
|
+
// generated/modules/user-persona-entity-permission.ts
|
|
4041
|
+
function findAll107(options) {
|
|
4042
|
+
return __async(this, null, function* () {
|
|
4043
|
+
return yield getAllObjects(USER_PERSONA_ENTITY_PERMISSION, options == null ? void 0 : options.where);
|
|
4044
|
+
});
|
|
4045
|
+
}
|
|
4046
|
+
function findOne107(id) {
|
|
4047
|
+
return __async(this, null, function* () {
|
|
4048
|
+
return yield getObjectById(USER_PERSONA_ENTITY_PERMISSION, id);
|
|
4049
|
+
});
|
|
4050
|
+
}
|
|
4051
|
+
function create107(data) {
|
|
4052
|
+
return __async(this, null, function* () {
|
|
4053
|
+
return yield createObject(USER_PERSONA_ENTITY_PERMISSION, data);
|
|
4054
|
+
});
|
|
4055
|
+
}
|
|
4056
|
+
function update107(id, newData) {
|
|
4057
|
+
return __async(this, null, function* () {
|
|
4058
|
+
return yield updateObject(USER_PERSONA_ENTITY_PERMISSION, id, newData);
|
|
4059
|
+
});
|
|
4060
|
+
}
|
|
4061
|
+
function remove107(id) {
|
|
4062
|
+
return __async(this, null, function* () {
|
|
4063
|
+
return yield deleteObject(USER_PERSONA_ENTITY_PERMISSION, id);
|
|
4064
|
+
});
|
|
4065
|
+
}
|
|
4066
|
+
var userPersonaEntityPermission = {
|
|
4067
|
+
findAll: findAll107,
|
|
4068
|
+
findOne: findOne107,
|
|
4069
|
+
create: create107,
|
|
4070
|
+
update: update107,
|
|
4071
|
+
remove: remove107
|
|
4072
|
+
};
|
|
4073
|
+
|
|
4074
|
+
// generated/modules/user-persona.ts
|
|
4075
|
+
function findAll108(options) {
|
|
4076
|
+
return __async(this, null, function* () {
|
|
4077
|
+
return yield getAllObjects(USER_PERSONA, options == null ? void 0 : options.where);
|
|
4078
|
+
});
|
|
4079
|
+
}
|
|
4080
|
+
function findOne108(id) {
|
|
4081
|
+
return __async(this, null, function* () {
|
|
4082
|
+
return yield getObjectById(USER_PERSONA, id);
|
|
4083
|
+
});
|
|
4084
|
+
}
|
|
4085
|
+
function create108(data) {
|
|
4086
|
+
return __async(this, null, function* () {
|
|
4087
|
+
return yield createObject(USER_PERSONA, data);
|
|
4088
|
+
});
|
|
4089
|
+
}
|
|
4090
|
+
function update108(id, newData) {
|
|
4091
|
+
return __async(this, null, function* () {
|
|
4092
|
+
return yield updateObject(USER_PERSONA, id, newData);
|
|
4093
|
+
});
|
|
4094
|
+
}
|
|
4095
|
+
function remove108(id) {
|
|
4096
|
+
return __async(this, null, function* () {
|
|
4097
|
+
return yield deleteObject(USER_PERSONA, id);
|
|
4098
|
+
});
|
|
4099
|
+
}
|
|
4100
|
+
var userPersona = {
|
|
4101
|
+
findAll: findAll108,
|
|
4102
|
+
findOne: findOne108,
|
|
4103
|
+
create: create108,
|
|
4104
|
+
update: update108,
|
|
4105
|
+
remove: remove108
|
|
4106
|
+
};
|
|
4107
|
+
|
|
4108
|
+
// generated/modules/bill-line.ts
|
|
4109
|
+
function findAll109(options) {
|
|
4110
|
+
return __async(this, null, function* () {
|
|
4111
|
+
return yield getAllObjects(BILL_LINE, options == null ? void 0 : options.where);
|
|
4112
|
+
});
|
|
4113
|
+
}
|
|
4114
|
+
function findOne109(id) {
|
|
4115
|
+
return __async(this, null, function* () {
|
|
4116
|
+
return yield getObjectById(BILL_LINE, id);
|
|
4117
|
+
});
|
|
4118
|
+
}
|
|
4119
|
+
function create109(data) {
|
|
4120
|
+
return __async(this, null, function* () {
|
|
4121
|
+
return yield createObject(BILL_LINE, data);
|
|
4122
|
+
});
|
|
4123
|
+
}
|
|
4124
|
+
function update109(id, newData) {
|
|
4125
|
+
return __async(this, null, function* () {
|
|
4126
|
+
return yield updateObject(BILL_LINE, id, newData);
|
|
4127
|
+
});
|
|
4128
|
+
}
|
|
4129
|
+
function remove109(id) {
|
|
4130
|
+
return __async(this, null, function* () {
|
|
4131
|
+
return yield deleteObject(BILL_LINE, id);
|
|
4132
|
+
});
|
|
4133
|
+
}
|
|
4134
|
+
var billLine = {
|
|
4135
|
+
findAll: findAll109,
|
|
4136
|
+
findOne: findOne109,
|
|
4137
|
+
create: create109,
|
|
4138
|
+
update: update109,
|
|
4139
|
+
remove: remove109
|
|
4140
|
+
};
|
|
4141
|
+
|
|
4142
|
+
// generated/modules/maintenance-order.ts
|
|
4143
|
+
function findAll110(options) {
|
|
4144
|
+
return __async(this, null, function* () {
|
|
4145
|
+
return yield getAllObjects(MAINTENANCE_ORDER, options == null ? void 0 : options.where);
|
|
4146
|
+
});
|
|
4147
|
+
}
|
|
4148
|
+
function findOne110(id) {
|
|
4149
|
+
return __async(this, null, function* () {
|
|
4150
|
+
return yield getObjectById(MAINTENANCE_ORDER, id);
|
|
4151
|
+
});
|
|
4152
|
+
}
|
|
4153
|
+
function create110(data) {
|
|
4154
|
+
return __async(this, null, function* () {
|
|
4155
|
+
return yield createObject(MAINTENANCE_ORDER, data);
|
|
4156
|
+
});
|
|
4157
|
+
}
|
|
4158
|
+
function update110(id, newData) {
|
|
4159
|
+
return __async(this, null, function* () {
|
|
4160
|
+
return yield updateObject(MAINTENANCE_ORDER, id, newData);
|
|
4161
|
+
});
|
|
4162
|
+
}
|
|
4163
|
+
function remove110(id) {
|
|
4164
|
+
return __async(this, null, function* () {
|
|
4165
|
+
return yield deleteObject(MAINTENANCE_ORDER, id);
|
|
4166
|
+
});
|
|
4167
|
+
}
|
|
4168
|
+
var maintenanceOrder = {
|
|
4169
|
+
findAll: findAll110,
|
|
4170
|
+
findOne: findOne110,
|
|
4171
|
+
create: create110,
|
|
4172
|
+
update: update110,
|
|
4173
|
+
remove: remove110
|
|
4174
|
+
};
|
|
4175
|
+
|
|
4176
|
+
// generated/modules/shift.ts
|
|
4177
|
+
function findAll111(options) {
|
|
4178
|
+
return __async(this, null, function* () {
|
|
4179
|
+
return yield getAllObjects(SHIFT, options == null ? void 0 : options.where);
|
|
4180
|
+
});
|
|
4181
|
+
}
|
|
4182
|
+
function findOne111(id) {
|
|
4183
|
+
return __async(this, null, function* () {
|
|
4184
|
+
return yield getObjectById(SHIFT, id);
|
|
4185
|
+
});
|
|
4186
|
+
}
|
|
4187
|
+
function create111(data) {
|
|
4188
|
+
return __async(this, null, function* () {
|
|
4189
|
+
return yield createObject(SHIFT, data);
|
|
4190
|
+
});
|
|
4191
|
+
}
|
|
4192
|
+
function update111(id, newData) {
|
|
4193
|
+
return __async(this, null, function* () {
|
|
4194
|
+
return yield updateObject(SHIFT, id, newData);
|
|
4195
|
+
});
|
|
4196
|
+
}
|
|
4197
|
+
function remove111(id) {
|
|
4198
|
+
return __async(this, null, function* () {
|
|
4199
|
+
return yield deleteObject(SHIFT, id);
|
|
4200
|
+
});
|
|
4201
|
+
}
|
|
4202
|
+
var shift = {
|
|
4203
|
+
findAll: findAll111,
|
|
4204
|
+
findOne: findOne111,
|
|
4205
|
+
create: create111,
|
|
4206
|
+
update: update111,
|
|
4207
|
+
remove: remove111
|
|
4208
|
+
};
|
|
4209
|
+
|
|
2950
4210
|
// index.ts
|
|
2951
4211
|
function call(axiosRequest) {
|
|
2952
4212
|
return __async(this, null, function* () {
|