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