repzo 1.0.104 → 1.0.106

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/lib/index.d.ts CHANGED
@@ -1,1284 +1,646 @@
1
- import type {
2
- Service,
3
- Options,
4
- Headers,
5
- StringId,
6
- NameSpaces,
7
- } from "./types/index";
1
+ import type { Service, Options, Headers, StringId, NameSpaces } from "./types/index";
8
2
  export default class Repzo {
9
- private svAPIEndpoint;
10
- headers: Headers;
11
- constructor(apiKey: string, options?: Options);
12
- private _end_points;
13
- END_POINTS: {
14
- readonly CLIENT: "client";
15
- readonly PRODUCT: "product";
16
- readonly VARIANT: "variant";
17
- readonly CATEGORY: "product-category";
18
- readonly SUB_CATEGORY: "product-sub-category";
19
- readonly BRAND: "product-brand";
20
- readonly PRODUCT_GROUP: "product-group";
21
- readonly TAX: "tax";
22
- readonly MEASUREUNIT: "measureunits";
23
- readonly MEASUREUNIT_FAMILY: "measureunit-family";
24
- readonly MEDIA: "media";
25
- readonly PRICELIST: "pricelists";
26
- readonly PRICELIST_ITEM: "pricelistsitems";
27
- readonly TEAM: "teams";
28
- readonly RETURN_REASON: "return-reason";
29
- readonly REP: "rep";
30
- readonly TAG: "tag";
31
- readonly WAREHOUSE: "warehouse";
32
- readonly ROUTE: "route";
33
- readonly PRODUCT_MODIFIERS_GROUP: "product-modifiers-group";
34
- readonly CHANNEL: "client-channel";
35
- readonly SPECIALITY: "speciality";
36
- readonly CLIENT_CONTACT: "client-contact";
37
- readonly PAYMENT_TERM: "paymentterms";
38
- readonly BANK: "banks";
39
- readonly BANK_LIST: "bankslists";
40
- readonly CUSTOM_STATUS: "custom-status";
41
- readonly CUSTOM_LIST: "custom-list";
42
- readonly CUSTOM_LIST_ITEM: "custom-list-item";
43
- readonly INVENTORY_ADJUSTMENT_REASON: "inventory-adjustment-reason";
44
- readonly WORKORDER: "workorder";
45
- readonly SUPPLIER: "supplier";
46
- readonly QUICK_CONVERT_TO_PDF: "quick-convert-to-pdf";
47
- readonly VISIT: "visit";
48
- readonly INVOICE: "fullinvoices";
49
- readonly PROFORMA: "proforma";
50
- readonly PAYMENT: "payments";
51
- readonly REFUND: "refund";
52
- readonly SETTLEMENT: "settlement";
53
- readonly CHECK: "checks";
54
- readonly DAY: "day";
55
- readonly RECEIVING_MATERIAL: "receiving-material";
56
- readonly ADJUST_ACCOUNT: "adjust-account";
57
- readonly TRANSFER: "transfer";
58
- readonly MSL: "msl";
59
- readonly MSL_PRODUCT: "msl-products";
60
- readonly MEDIA_STORAGE: "media-storage";
61
- readonly STORECHECK_TEMPLATE: "storecheck-template";
62
- readonly ACTIVITY_STORECHECK: "activity-storecheck";
63
- readonly ADJUST_INVENTORY: "adjust-inventory";
64
- readonly INVENTORY: "inventory";
65
- readonly INTEGRATION_APP: "integration-app";
66
- readonly JOIN_ACTIONS_WEBHOOK: "svix-integration";
67
- readonly INTEGRATION_ACTION_LOG: "integration-action-log";
68
- readonly INTEGRATION_COMMAND_LOG: "integration-command-log";
69
- readonly PATCH_ACTION: "patch-action";
70
- readonly UPDATE_INTEGRATION_META: "update-integration-meta";
71
- readonly ASSET_PART_TYPE: "asset-part-type";
72
- readonly ASSET_PART: "asset-part";
73
- readonly ASSET_PART_UNIT: "asset-part-unit";
74
- readonly ASSET_PART_RECEIVAL: "asset-part-receival";
75
- readonly ASSET_PART_TRANSFER: "asset-part-transfer";
76
- readonly RETURN_ASSET_PART_UNIT: "return-asset-part-unit";
77
- readonly STORE_ASSET_PART_UNIT: "store-asset-part-unit";
78
- readonly OCR_INVOICE_JOB_TEMPLATE: "ocr-invoice-job-template";
79
- readonly OCR_INVOICE_JOB_GROUP: "ocr-invoice-job-group";
80
- readonly ACTIVITY_AI_SALES_ORDER: "activity-ai-sales-order";
81
- readonly OCR_INVOICE_JOB: "ocr-invoice-job";
82
- readonly OCR_INVOICE_JOB_PAGE: "ocr-invoice-job-page";
83
- };
84
- private _fetch;
85
- private _create;
86
- private _update;
87
- private _patch;
88
- private _delete;
89
- client: {
90
- _path: "client";
91
- find: (
92
- params?: Service.Client.Find.Params
93
- ) => Promise<Service.Client.Find.Result>;
94
- get: (
95
- id: Service.Client.Get.ID,
96
- params?: Service.Client.Get.Params
97
- ) => Promise<Service.Client.Get.Result>;
98
- create: (
99
- body: Service.Client.Create.Body
100
- ) => Promise<Service.Client.Create.Result>;
101
- update: (
102
- id: Service.Client.Update.ID,
103
- body: Service.Client.Update.Body
104
- ) => Promise<Service.Client.Update.Result>;
105
- remove: (
106
- id: Service.Client.Remove.ID
107
- ) => Promise<Service.Client.Remove.Result>;
108
- };
109
- product: {
110
- _path: "product";
111
- find: (
112
- params?: Service.Product.Find.Params
113
- ) => Promise<Service.Product.Find.Result>;
114
- get: (
115
- id: Service.Product.Get.ID,
116
- params?: Service.Product.Get.Params
117
- ) => Promise<Service.Product.Get.Result>;
118
- create: (
119
- body: Service.Product.Create.Body
120
- ) => Promise<Service.Product.Create.Result>;
121
- update: (
122
- id: Service.Product.Update.ID,
123
- body: Service.Product.Update.Body
124
- ) => Promise<Service.Product.Update.Result>;
125
- remove: (
126
- id: Service.Product.Remove.ID
127
- ) => Promise<Service.Product.Remove.Result>;
128
- };
129
- variant: {
130
- _path: "variant";
131
- find: (
132
- params?: Service.Variant.Find.Params
133
- ) => Promise<Service.Variant.Find.Result>;
134
- get: (
135
- id: Service.Variant.Get.ID,
136
- params?: Service.Variant.Get.Params
137
- ) => Promise<Service.Variant.Get.Result>;
138
- create: (
139
- body: Service.Variant.Create.Body
140
- ) => Promise<Service.Variant.Create.Result>;
141
- update: (
142
- id: Service.Variant.Update.ID,
143
- body: Service.Variant.Update.Body
144
- ) => Promise<Service.Variant.Update.Result>;
145
- remove: (
146
- id: Service.Variant.Remove.ID
147
- ) => Promise<Service.Variant.Remove.Result>;
148
- };
149
- category: {
150
- _path: "product-category";
151
- find: (
152
- params?: Service.Category.Find.Params
153
- ) => Promise<Service.Category.Find.Result>;
154
- get: (id: Service.Category.Get.ID) => Promise<Service.Category.Get.Result>;
155
- create: (
156
- body: Service.Category.Create.Body
157
- ) => Promise<Service.Category.Create.Result>;
158
- update: (
159
- id: Service.Category.Update.ID,
160
- body: Service.Category.Update.Body
161
- ) => Promise<Service.Category.Update.Result>;
162
- remove: (
163
- id: Service.Category.Remove.ID
164
- ) => Promise<Service.Category.Remove.Result>;
165
- };
166
- sub_category: {
167
- _path: "product-sub-category";
168
- find: (
169
- params?: Service.SubCategory.Find.Params
170
- ) => Promise<Service.SubCategory.Find.Result>;
171
- get: (
172
- id: Service.SubCategory.Get.ID,
173
- params?: Service.SubCategory.Get.Params
174
- ) => Promise<Service.SubCategory.Get.Result>;
175
- create: (
176
- body: Service.SubCategory.Create.Body
177
- ) => Promise<Service.SubCategory.Create.Result>;
178
- update: (
179
- id: Service.SubCategory.Update.ID,
180
- body: Service.SubCategory.Update.Body
181
- ) => Promise<Service.SubCategory.Update.Result>;
182
- remove: (
183
- id: Service.SubCategory.Remove.ID
184
- ) => Promise<Service.SubCategory.Remove.Result>;
185
- };
186
- brand: {
187
- _path: "product-brand";
188
- find: (
189
- params?: Service.Brand.Find.Params
190
- ) => Promise<Service.Brand.Find.Result>;
191
- get: (id: Service.Brand.Get.ID) => Promise<Service.Brand.Get.Result>;
192
- create: (
193
- body: Service.Brand.Create.Body
194
- ) => Promise<Service.Brand.Create.Result>;
195
- update: (
196
- id: Service.Brand.Update.ID,
197
- body: Service.Brand.Update.Body
198
- ) => Promise<Service.Brand.Update.Result>;
199
- remove: (
200
- id: Service.Brand.Remove.ID
201
- ) => Promise<Service.Brand.Remove.Result>;
202
- };
203
- product_group: {
204
- _path: "product-group";
205
- find: (
206
- params?: Service.ProductGroup.Find.Params
207
- ) => Promise<Service.ProductGroup.Find.Result>;
208
- get: (
209
- id: Service.ProductGroup.Get.ID
210
- ) => Promise<Service.ProductGroup.Get.Result>;
211
- create: (
212
- body: Service.ProductGroup.Create.Body
213
- ) => Promise<Service.ProductGroup.Create.Result>;
214
- update: (
215
- id: Service.ProductGroup.Update.ID,
216
- body: Service.ProductGroup.Update.Body
217
- ) => Promise<Service.ProductGroup.Update.Result>;
218
- remove: (
219
- id: Service.ProductGroup.Remove.ID
220
- ) => Promise<Service.ProductGroup.Remove.Result>;
221
- };
222
- tax: {
223
- _path: "tax";
224
- find: (
225
- params?: Service.Tax.Find.Params
226
- ) => Promise<Service.Tax.Find.Result>;
227
- get: (id: Service.Tax.Get.ID) => Promise<Service.Tax.Get.Result>;
228
- create: (
229
- body: Service.Tax.Create.Body
230
- ) => Promise<Service.Tax.Create.Result>;
231
- update: (
232
- id: Service.Tax.Update.ID,
233
- body: Service.Tax.Update.Body
234
- ) => Promise<Service.Tax.Update.Result>;
235
- remove: (id: Service.Tax.Remove.ID) => Promise<Service.Tax.Remove.Result>;
236
- };
237
- measureunit: {
238
- _path: "measureunits";
239
- find: (
240
- params?: Service.MeasureUnit.Find.Params
241
- ) => Promise<Service.MeasureUnit.Find.Result>;
242
- get: (
243
- id: Service.MeasureUnit.Get.ID
244
- ) => Promise<Service.MeasureUnit.Get.Result>;
245
- create: (
246
- body: Service.MeasureUnit.Create.Body
247
- ) => Promise<Service.MeasureUnit.Create.Result>;
248
- update: (
249
- id: Service.MeasureUnit.Update.ID,
250
- body: Service.MeasureUnit.Update.Body
251
- ) => Promise<Service.MeasureUnit.Update.Result>;
252
- remove: (
253
- id: Service.MeasureUnit.Remove.ID
254
- ) => Promise<Service.MeasureUnit.Remove.Result>;
255
- };
256
- measureunitFamily: {
257
- _path: "measureunit-family";
258
- find: (
259
- params?: Service.MeasureUnitFamily.Find.Params
260
- ) => Promise<Service.MeasureUnitFamily.Find.Result>;
261
- get: (
262
- id: Service.MeasureUnitFamily.Get.ID
263
- ) => Promise<Service.MeasureUnitFamily.Get.Result>;
264
- create: (
265
- body: Service.MeasureUnitFamily.Create.Body
266
- ) => Promise<Service.MeasureUnitFamily.Create.Result>;
267
- update: (
268
- id: Service.MeasureUnitFamily.Update.ID,
269
- body: Service.MeasureUnitFamily.Update.Body
270
- ) => Promise<Service.MeasureUnitFamily.Update.Result>;
271
- remove: (
272
- id: Service.MeasureUnitFamily.Remove.ID
273
- ) => Promise<Service.MeasureUnitFamily.Remove.Result>;
274
- };
275
- media: {
276
- _path: "media";
277
- find: (
278
- params?: Service.Media.Find.Params
279
- ) => Promise<Service.Media.Find.Result>;
280
- get: (id: Service.Media.Get.ID) => Promise<Service.Media.Get.Result>;
281
- create: (
282
- body: Service.Media.Create.Body
283
- ) => Promise<Service.Media.Create.Result>;
284
- update: (
285
- id: Service.Media.Update.ID,
286
- body: Service.Media.Update.Body
287
- ) => Promise<Service.Media.Update.Result>;
288
- remove: (
289
- id: Service.Media.Remove.ID
290
- ) => Promise<Service.Media.Remove.Result>;
291
- };
292
- priceList: {
293
- _path: "pricelists";
294
- find: (
295
- params?: Service.PriceList.Find.Params
296
- ) => Promise<Service.PriceList.Find.Result>;
297
- get: (
298
- id: Service.PriceList.Get.ID
299
- ) => Promise<Service.PriceList.Get.Result>;
300
- create: (
301
- body: Service.PriceList.Create.Body
302
- ) => Promise<Service.PriceList.Create.Result>;
303
- update: (
304
- id: Service.PriceList.Update.ID,
305
- body: Service.PriceList.Update.Body
306
- ) => Promise<Service.PriceList.Update.Result>;
307
- remove: (
308
- id: Service.PriceList.Remove.ID
309
- ) => Promise<Service.PriceList.Remove.Result>;
310
- };
311
- priceListItem: {
312
- _path: "pricelistsitems";
313
- find: (
314
- params?: Service.PriceListItem.Find.Params
315
- ) => Promise<Service.PriceListItem.Find.Result>;
316
- get: (
317
- id: Service.PriceListItem.Get.ID
318
- ) => Promise<Service.PriceListItem.Get.Result>;
319
- create: (
320
- body: Service.PriceListItem.Create.Body
321
- ) => Promise<Service.PriceListItem.Create.Result>;
322
- update: (
323
- id: Service.PriceListItem.Update.ID,
324
- body: Service.PriceListItem.Update.Body
325
- ) => Promise<Service.PriceListItem.Update.Result>;
326
- remove: (
327
- id: Service.PriceListItem.Remove.ID
328
- ) => Promise<Service.PriceListItem.Remove.Result>;
329
- };
330
- team: {
331
- _path: "teams";
332
- find: (
333
- params?: Service.Team.Find.Params
334
- ) => Promise<Service.Team.Find.Result>;
335
- get: (id: Service.Team.Get.ID) => Promise<Service.Team.Get.Result>;
336
- create: (
337
- body: Service.Team.Create.Body
338
- ) => Promise<Service.Team.Create.Result>;
339
- update: (
340
- id: Service.Team.Update.ID,
341
- body: Service.Team.Update.Body
342
- ) => Promise<Service.Team.Update.Result>;
343
- remove: (id: Service.Team.Remove.ID) => Promise<Service.Team.Remove.Result>;
344
- };
345
- returnReason: {
346
- _path: "return-reason";
347
- find: (
348
- params?: Service.ReturnReason.Find.Params
349
- ) => Promise<Service.ReturnReason.Find.Result>;
350
- get: (
351
- id: Service.ReturnReason.Get.ID
352
- ) => Promise<Service.ReturnReason.Get.Result>;
353
- create: (
354
- body: Service.ReturnReason.Create.Body
355
- ) => Promise<Service.ReturnReason.Create.Result>;
356
- update: (
357
- id: Service.ReturnReason.Update.ID,
358
- body: Service.ReturnReason.Update.Body
359
- ) => Promise<Service.ReturnReason.Update.Result>;
360
- remove: (
361
- id: Service.ReturnReason.Remove.ID
362
- ) => Promise<Service.ReturnReason.Remove.Result>;
363
- };
364
- rep: {
365
- _path: "rep";
366
- find: (
367
- params?: Service.Rep.Find.Params
368
- ) => Promise<Service.Rep.Find.Result>;
369
- get: (
370
- id: Service.Rep.Get.ID,
371
- params?: Service.Client.Get.Params
372
- ) => Promise<Service.Rep.Get.Result>;
373
- create: (
374
- body: Service.Rep.Create.Body
375
- ) => Promise<Service.Rep.Create.Result>;
376
- update: (
377
- id: Service.Rep.Update.ID,
378
- body: Service.Rep.Update.Body
379
- ) => Promise<Service.Rep.Update.Result>;
380
- remove: (id: Service.Rep.Remove.ID) => Promise<Service.Rep.Remove.Result>;
381
- };
382
- tag: {
383
- _path: "tag";
384
- find: (
385
- params?: Service.Tag.Find.Params
386
- ) => Promise<Service.Tag.Find.Result>;
387
- get: (id: Service.Tag.Get.ID) => Promise<Service.Tag.Get.Result>;
388
- create: (
389
- body: Service.Tag.Create.Body
390
- ) => Promise<Service.Tag.Create.Result>;
391
- update: (
392
- id: Service.Tag.Update.ID,
393
- body: Service.Tag.Update.Body
394
- ) => Promise<Service.Tag.Update.Result>;
395
- remove: (id: Service.Tag.Remove.ID) => Promise<Service.Tag.Remove.Result>;
396
- };
397
- warehouse: {
398
- _path: "warehouse";
399
- find: (
400
- params?: Service.Warehouse.Find.Params
401
- ) => Promise<Service.Warehouse.Find.Result>;
402
- get: (
403
- id: Service.Warehouse.Get.ID
404
- ) => Promise<Service.Warehouse.Get.Result>;
405
- create: (
406
- body: Service.Warehouse.Create.Body
407
- ) => Promise<Service.Warehouse.Create.Result>;
408
- update: (
409
- id: Service.Warehouse.Update.ID,
410
- body: Service.Warehouse.Update.Body
411
- ) => Promise<Service.Warehouse.Update.Result>;
412
- remove: (
413
- id: Service.Warehouse.Remove.ID
414
- ) => Promise<Service.Warehouse.Remove.Result>;
415
- };
416
- route: {
417
- _path: "route";
418
- find: (
419
- params?: Service.Route.Find.Params
420
- ) => Promise<Service.Route.Find.Result>;
421
- get: (id: Service.Route.Get.ID) => Promise<Service.Route.Get.Result>;
422
- create: (
423
- body: Service.Route.Create.Body
424
- ) => Promise<Service.Route.Create.Result>;
425
- update: (
426
- id: Service.Route.Update.ID,
427
- body: Service.Route.Update.Body
428
- ) => Promise<Service.Route.Update.Result>;
429
- remove: (
430
- id: Service.Route.Remove.ID
431
- ) => Promise<Service.Route.Remove.Result>;
432
- };
433
- productModifiersGroup: {
434
- _path: "product-modifiers-group";
435
- find: (
436
- params?: Service.ProductModifiersGroup.Find.Params
437
- ) => Promise<Service.ProductModifiersGroup.Find.Result>;
438
- get: (
439
- id: Service.ProductModifiersGroup.Get.ID
440
- ) => Promise<Service.ProductModifiersGroup.Get.Result>;
441
- create: (
442
- body: Service.ProductModifiersGroup.Create.Body
443
- ) => Promise<Service.ProductModifiersGroup.Create.Result>;
444
- update: (
445
- id: Service.ProductModifiersGroup.Update.ID,
446
- body: Service.ProductModifiersGroup.Update.Body
447
- ) => Promise<Service.ProductModifiersGroup.Update.Result>;
448
- remove: (
449
- id: Service.ProductModifiersGroup.Remove.ID
450
- ) => Promise<Service.ProductModifiersGroup.Remove.Result>;
451
- };
452
- channel: {
453
- _path: "client-channel";
454
- find: (
455
- params?: Service.Channel.Find.Params
456
- ) => Promise<Service.Channel.Find.Result>;
457
- get: (id: Service.Channel.Get.ID) => Promise<Service.Channel.Get.Result>;
458
- create: (
459
- body: Service.Channel.Create.Body
460
- ) => Promise<Service.Channel.Create.Result>;
461
- update: (
462
- id: Service.Channel.Update.ID,
463
- body: Service.Channel.Update.Body
464
- ) => Promise<Service.Channel.Update.Result>;
465
- remove: (
466
- id: Service.Channel.Remove.ID
467
- ) => Promise<Service.Channel.Remove.Result>;
468
- };
469
- speciality: {
470
- _path: "speciality";
471
- find: (
472
- params?: Service.Speciality.Find.Params
473
- ) => Promise<Service.Speciality.Find.Result>;
474
- get: (
475
- id: Service.Speciality.Get.ID
476
- ) => Promise<Service.Speciality.Get.Result>;
477
- create: (
478
- body: Service.Speciality.Create.Body
479
- ) => Promise<Service.Speciality.Create.Result>;
480
- update: (
481
- id: Service.Speciality.Update.ID,
482
- body: Service.Speciality.Update.Body
483
- ) => Promise<Service.Speciality.Update.Result>;
484
- remove: (
485
- id: Service.Speciality.Remove.ID
486
- ) => Promise<Service.Speciality.Remove.Result>;
487
- };
488
- clientContact: {
489
- _path: "client-contact";
490
- find: (
491
- params?: Service.ClientContact.Find.Params
492
- ) => Promise<Service.ClientContact.Find.Result>;
493
- get: (
494
- id: Service.ClientContact.Get.ID
495
- ) => Promise<Service.ClientContact.Get.Result>;
496
- create: (
497
- body: Service.ClientContact.Create.Body
498
- ) => Promise<Service.ClientContact.Create.Result>;
499
- update: (
500
- id: Service.ClientContact.Update.ID,
501
- body: Service.ClientContact.Update.Body
502
- ) => Promise<Service.ClientContact.Update.Result>;
503
- remove: (
504
- id: Service.ClientContact.Remove.ID
505
- ) => Promise<Service.ClientContact.Remove.Result>;
506
- };
507
- paymentTerm: {
508
- _path: "paymentterms";
509
- find: (
510
- params?: Service.PaymentTerm.Find.Params
511
- ) => Promise<Service.PaymentTerm.Find.Result>;
512
- get: (
513
- id: Service.PaymentTerm.Get.ID
514
- ) => Promise<Service.PaymentTerm.Get.Result>;
515
- create: (
516
- body: Service.PaymentTerm.Create.Body
517
- ) => Promise<Service.PaymentTerm.Create.Result>;
518
- update: (
519
- id: Service.PaymentTerm.Update.ID,
520
- body: Service.PaymentTerm.Update.Body
521
- ) => Promise<Service.PaymentTerm.Update.Result>;
522
- remove: (
523
- id: Service.PaymentTerm.Remove.ID
524
- ) => Promise<Service.PaymentTerm.Remove.Result>;
525
- };
526
- bank: {
527
- _path: "banks";
528
- find: (
529
- params?: Service.Bank.Find.Params
530
- ) => Promise<Service.Bank.Find.Result>;
531
- get: (id: Service.Bank.Get.ID) => Promise<Service.Bank.Get.Result>;
532
- create: (
533
- body: Service.Bank.Create.Body
534
- ) => Promise<Service.Bank.Create.Result>;
535
- update: (
536
- id: Service.Bank.Update.ID,
537
- body: Service.Bank.Update.Body
538
- ) => Promise<Service.Bank.Update.Result>;
539
- };
540
- bank_list: {
541
- _path: "bankslists";
542
- find: (
543
- params?: Service.BankList.Find.Params
544
- ) => Promise<Service.BankList.Find.Result>;
545
- get: (id: Service.BankList.Get.ID) => Promise<Service.BankList.Get.Result>;
546
- create: (
547
- body: Service.BankList.Create.Body
548
- ) => Promise<Service.BankList.Create.Result>;
549
- update: (
550
- id: Service.BankList.Update.ID,
551
- body: Service.BankList.Update.Body
552
- ) => Promise<Service.BankList.Update.Result>;
553
- };
554
- customStatus: {
555
- _path: "custom-status";
556
- find: (
557
- params?: Service.CustomStatus.Find.Params
558
- ) => Promise<Service.CustomStatus.Find.Result>;
559
- get: (
560
- id: Service.CustomStatus.Get.ID
561
- ) => Promise<Service.CustomStatus.Get.Result>;
562
- create: (
563
- body: Service.CustomStatus.Create.Body
564
- ) => Promise<Service.CustomStatus.Create.Result>;
565
- update: (
566
- id: Service.CustomStatus.Update.ID,
567
- body: Service.CustomStatus.Update.Body
568
- ) => Promise<Service.CustomStatus.Update.Result>;
569
- remove: (
570
- id: Service.CustomStatus.Remove.ID
571
- ) => Promise<Service.CustomStatus.Remove.Result>;
572
- };
573
- customList: {
574
- _path: "custom-list";
575
- find: (
576
- params?: Service.CustomList.Find.Params
577
- ) => Promise<Service.CustomList.Find.Result>;
578
- get: (
579
- id: Service.CustomList.Get.ID,
580
- params?: Service.CustomList.Get.Params
581
- ) => Promise<Service.CustomList.Get.Result>;
582
- create: (
583
- body: Service.CustomList.Create.Body
584
- ) => Promise<Service.CustomList.Create.Result>;
585
- update: (
586
- id: Service.CustomList.Update.ID,
587
- body: Service.CustomList.Update.Body
588
- ) => Promise<Service.CustomList.Update.Result>;
589
- remove: (
590
- id: Service.CustomList.Remove.ID
591
- ) => Promise<Service.CustomList.Remove.Result>;
592
- };
593
- customListItem: {
594
- _path: "custom-list-item";
595
- find: (
596
- params?: Service.CustomListItem.Find.Params
597
- ) => Promise<Service.CustomListItem.Find.Result>;
598
- get: (
599
- id: Service.CustomListItem.Get.ID,
600
- params?: Service.CustomListItem.Get.Params
601
- ) => Promise<Service.CustomListItem.Get.Result>;
602
- create: (
603
- body: Service.CustomListItem.Create.Body
604
- ) => Promise<Service.CustomListItem.Create.Result>;
605
- update: (
606
- id: Service.CustomListItem.Update.ID,
607
- body: Service.CustomListItem.Update.Body
608
- ) => Promise<Service.CustomListItem.Update.Result>;
609
- remove: (
610
- id: Service.CustomListItem.Remove.ID
611
- ) => Promise<Service.CustomListItem.Remove.Result>;
612
- };
613
- inventoryAdjustmentReason: {
614
- _path: "inventory-adjustment-reason";
615
- find: (
616
- params?: Service.InventoryAdjustmentReason.Find.Params
617
- ) => Promise<Service.InventoryAdjustmentReason.Find.Result>;
618
- get: (
619
- id: Service.InventoryAdjustmentReason.Get.ID
620
- ) => Promise<Service.InventoryAdjustmentReason.Get.Result>;
621
- create: (
622
- body: Service.InventoryAdjustmentReason.Create.Body
623
- ) => Promise<Service.InventoryAdjustmentReason.Create.Result>;
624
- update: (
625
- id: Service.InventoryAdjustmentReason.Update.ID,
626
- body: Service.InventoryAdjustmentReason.Update.Body
627
- ) => Promise<Service.InventoryAdjustmentReason.Update.Result>;
628
- remove: (
629
- id: Service.InventoryAdjustmentReason.Remove.ID
630
- ) => Promise<Service.InventoryAdjustmentReason.Remove.Result>;
631
- };
632
- workorder: {
633
- _path: "workorder";
634
- find: (
635
- params?: Service.Workorder.Find.Params
636
- ) => Promise<Service.Workorder.Find.Result>;
637
- get: (
638
- id: Service.Workorder.Get.ID,
639
- params?: Service.Workorder.Get.Params
640
- ) => Promise<Service.Workorder.Get.Result>;
641
- };
642
- supplier: {
643
- _path: "supplier";
644
- find: (
645
- params?: Service.Supplier.Find.Params
646
- ) => Promise<Service.Supplier.Find.Result>;
647
- get: (
648
- id: Service.Supplier.Get.ID,
649
- params?: Service.Supplier.Get.Params
650
- ) => Promise<Service.Supplier.Get.Result>;
651
- create: (
652
- body: Service.Supplier.Create.Body
653
- ) => Promise<Service.Supplier.Create.Result>;
654
- update: (
655
- id: Service.Supplier.Update.ID,
656
- body: Service.Supplier.Update.Body
657
- ) => Promise<Service.Supplier.Update.Result>;
658
- };
659
- quickConvertToPdf: {
660
- _path: "quick-convert-to-pdf";
661
- find: (
662
- params?: Service.QuickConvertToPdf.Find.Params
663
- ) => Promise<Service.QuickConvertToPdf.Find.Result>;
664
- get: (
665
- id: Service.QuickConvertToPdf.Get.ID,
666
- params?: Service.QuickConvertToPdf.Get.Params
667
- ) => Promise<Service.QuickConvertToPdf.Get.Result>;
668
- create: (
669
- body: Service.QuickConvertToPdf.Create.Body
670
- ) => Promise<Service.QuickConvertToPdf.Create.Result>;
671
- remove: (
672
- id: Service.QuickConvertToPdf.Remove.ID
673
- ) => Promise<Service.QuickConvertToPdf.Remove.Result>;
674
- };
675
- visit: {
676
- _path: "visit";
677
- find: (
678
- params?: Service.Visit.Find.Params
679
- ) => Promise<Service.Visit.Find.Result>;
680
- get: (
681
- id: Service.Visit.Get.ID,
682
- params?: Service.Visit.Get.Params
683
- ) => Promise<Service.Visit.Get.Result>;
684
- create: (
685
- body: Service.Visit.Create.Body
686
- ) => Promise<Service.Visit.Create.Result>;
687
- update: (
688
- id: Service.Visit.Update.ID,
689
- body: Service.Visit.Update.Body
690
- ) => Promise<Service.Visit.Update.Result>;
691
- };
692
- invoice: {
693
- _path: "fullinvoices";
694
- find: (
695
- params?: Service.FullInvoice.Find.Params
696
- ) => Promise<Service.FullInvoice.Find.Result>;
697
- get: (
698
- id: Service.FullInvoice.Get.ID,
699
- params?: Service.FullInvoice.Get.Params
700
- ) => Promise<Service.FullInvoice.Get.Result>;
701
- create: (
702
- body: Service.FullInvoice.Create.Body
703
- ) => Promise<Service.FullInvoice.Create.Result>;
704
- update: (
705
- id: Service.FullInvoice.Update.ID,
706
- body: Service.FullInvoice.Update.Body
707
- ) => Promise<Service.FullInvoice.Update.Result>;
708
- };
709
- proforma: {
710
- _path: "proforma";
711
- find: (
712
- params?: Service.Proforma.Find.Params
713
- ) => Promise<Service.Proforma.Find.Result>;
714
- get: (
715
- id: Service.Proforma.Get.ID,
716
- params?: Service.Proforma.Get.Params
717
- ) => Promise<Service.Proforma.Get.Result>;
718
- create: (
719
- body: Service.Proforma.Create.Body
720
- ) => Promise<Service.Proforma.Create.Result>;
721
- update: (
722
- id: Service.Proforma.Update.ID,
723
- body: Service.Proforma.Update.Body
724
- ) => Promise<Service.Proforma.Update.Result>;
725
- };
726
- payment: {
727
- _path: "payments";
728
- find: (
729
- params?: Service.Payment.Find.Params
730
- ) => Promise<Service.Payment.Find.Result>;
731
- get: (
732
- id: Service.Payment.Get.ID,
733
- params?: Service.Payment.Get.Params
734
- ) => Promise<Service.Payment.Get.Result>;
735
- create: (
736
- body: Service.Payment.Create.Body
737
- ) => Promise<Service.Payment.Create.Result>;
738
- update: (
739
- id: Service.Payment.Update.ID,
740
- body: Service.Payment.Update.Body
741
- ) => Promise<Service.Payment.Update.Result>;
742
- };
743
- refund: {
744
- _path: "refund";
745
- find: (
746
- params?: Service.Refund.Find.Params
747
- ) => Promise<Service.Refund.Find.Result>;
748
- get: (
749
- id: Service.Refund.Get.ID,
750
- params?: Service.Refund.Get.Params
751
- ) => Promise<Service.Refund.Get.Result>;
752
- create: (
753
- body: Service.Refund.Create.Body
754
- ) => Promise<Service.Refund.Create.Result>;
755
- update: (
756
- id: Service.Refund.Update.ID,
757
- body: Service.Refund.Update.Body
758
- ) => Promise<Service.Refund.Update.Result>;
759
- };
760
- settlement: {
761
- _path: "settlement";
762
- find: (
763
- params?: Service.Settlement.Find.Params
764
- ) => Promise<Service.Settlement.Find.Result>;
765
- get: (
766
- id: Service.Settlement.Get.ID,
767
- params?: Service.Settlement.Get.Params
768
- ) => Promise<Service.Settlement.Get.Result>;
769
- create: (
770
- body: Service.Settlement.Create.Body
771
- ) => Promise<Service.Settlement.Create.Result>;
772
- };
773
- check: {
774
- _path: "checks";
775
- find: (
776
- params?: Service.Check.Find.Params
777
- ) => Promise<Service.Check.Find.Result>;
778
- get: (
779
- id: Service.Check.Get.ID,
780
- params?: Service.Check.Get.Params
781
- ) => Promise<Service.Check.Get.Result>;
782
- create: (
783
- body: Service.Check.Create.Body
784
- ) => Promise<Service.Check.Create.Result>;
785
- };
786
- day: {
787
- _path: "day";
788
- find: (
789
- params?: Service.Day.Find.Params
790
- ) => Promise<Service.Day.Find.Result>;
791
- get: (
792
- id: Service.Day.Get.ID,
793
- params?: Service.Day.Get.Params
794
- ) => Promise<Service.Day.Get.Result>;
795
- create: (
796
- body: Service.Day.Create.Body
797
- ) => Promise<Service.Day.Create.Result>;
798
- };
799
- receivingMaterial: {
800
- _path: "receiving-material";
801
- find: (
802
- params?: Service.ReceivingMaterial.Find.Params
803
- ) => Promise<Service.ReceivingMaterial.Find.Result>;
804
- get: (
805
- id: Service.ReceivingMaterial.Get.ID,
806
- params?: Service.ReceivingMaterial.Get.Params
807
- ) => Promise<Service.ReceivingMaterial.Get.Result>;
808
- create: (
809
- body: Service.ReceivingMaterial.Create.Body
810
- ) => Promise<Service.ReceivingMaterial.Create.Result>;
811
- update: (
812
- id: Service.ReceivingMaterial.Update.ID,
813
- body: Service.ReceivingMaterial.Update.Body
814
- ) => Promise<Service.ReceivingMaterial.Update.Result>;
815
- };
816
- adjustAccount: {
817
- _path: "adjust-account";
818
- find: (
819
- params?: Service.AdjustAccount.Find.Params
820
- ) => Promise<Service.AdjustAccount.Find.Result>;
821
- get: (
822
- id: Service.AdjustAccount.Get.ID,
823
- params?: Service.AdjustAccount.Get.Params
824
- ) => Promise<Service.AdjustAccount.Get.Result>;
825
- create: (
826
- body: Service.AdjustAccount.Create.Body
827
- ) => Promise<Service.AdjustAccount.Create.Result>;
828
- };
829
- transfer: {
830
- _path: "transfer";
831
- find: (
832
- params?: Service.Transfer.Find.Params
833
- ) => Promise<Service.Transfer.Find.Result>;
834
- get: (
835
- id: Service.Transfer.Get.ID,
836
- params?: Service.Transfer.Get.Params
837
- ) => Promise<Service.Transfer.Get.Result>;
838
- create: (
839
- body: Service.Transfer.Create.Body
840
- ) => Promise<Service.Transfer.Create.Result>;
841
- update: (
842
- id: Service.Transfer.Update.ID,
843
- body: Service.Transfer.Update.Body
844
- ) => Promise<Service.Transfer.Update.Result>;
845
- };
846
- msl: {
847
- _path: "msl";
848
- find: (
849
- params?: Service.Msl.Find.Params
850
- ) => Promise<Service.Msl.Find.Result>;
851
- get: (
852
- id: Service.Msl.Get.ID,
853
- params?: Service.Msl.Get.Params
854
- ) => Promise<Service.Msl.Get.Result>;
855
- create: (
856
- body: Service.Msl.Create.Body
857
- ) => Promise<Service.Msl.Create.Result>;
858
- update: (
859
- id: Service.Msl.Update.ID,
860
- body: Service.Msl.Update.Body
861
- ) => Promise<Service.Msl.Update.Result>;
862
- remove: (id: Service.Msl.Remove.ID) => Promise<Service.Msl.Remove.Result>;
863
- };
864
- mslProduct: {
865
- _path: "msl-products";
866
- find: (
867
- params?: Service.MslProduct.Find.Params
868
- ) => Promise<Service.MslProduct.Find.Result>;
869
- get: (
870
- id: Service.MslProduct.Get.ID,
871
- params?: Service.MslProduct.Get.Params
872
- ) => Promise<Service.MslProduct.Get.Result>;
873
- create: (
874
- body: Service.MslProduct.Create.Body
875
- ) => Promise<Service.MslProduct.Create.Result>;
876
- update: (
877
- id: Service.MslProduct.Update.ID,
878
- body: Service.MslProduct.Update.Body
879
- ) => Promise<Service.MslProduct.Update.Result>;
880
- remove: (
881
- id: Service.MslProduct.Remove.ID
882
- ) => Promise<Service.MslProduct.Remove.Result>;
883
- };
884
- mediaStorage: {
885
- _path: "media-storage";
886
- find: (
887
- params?: Service.MediaStorage.Find.Params
888
- ) => Promise<Service.MediaStorage.Find.Result>;
889
- get: (
890
- id: Service.MediaStorage.Get.ID,
891
- params?: Service.MediaStorage.Get.Params
892
- ) => Promise<Service.MediaStorage.Get.Result>;
893
- create: (
894
- body: Service.MediaStorage.Create.Body
895
- ) => Promise<Service.MediaStorage.Create.Result>;
896
- update: (
897
- id: Service.MediaStorage.Update.ID,
898
- body: Service.MediaStorage.Update.Body
899
- ) => Promise<Service.MediaStorage.Update.Result>;
900
- remove: (
901
- id: Service.MediaStorage.Remove.ID
902
- ) => Promise<Service.MediaStorage.Remove.Result>;
903
- };
904
- storecheckTemplate: {
905
- _path: "storecheck-template";
906
- find: (
907
- params?: Service.StorecheckTemplate.Find.Params
908
- ) => Promise<Service.StorecheckTemplate.Find.Result>;
909
- get: (
910
- id: Service.StorecheckTemplate.Get.ID,
911
- params?: Service.StorecheckTemplate.Get.Params
912
- ) => Promise<Service.StorecheckTemplate.Get.Result>;
913
- create: (
914
- body: Service.StorecheckTemplate.Create.Body
915
- ) => Promise<Service.StorecheckTemplate.Create.Result>;
916
- update: (
917
- id: Service.StorecheckTemplate.Update.ID,
918
- body: Service.StorecheckTemplate.Update.Body
919
- ) => Promise<Service.StorecheckTemplate.Update.Result>;
920
- remove: (
921
- id: Service.StorecheckTemplate.Remove.ID
922
- ) => Promise<Service.StorecheckTemplate.Remove.Result>;
923
- };
924
- activityStorecheck: {
925
- _path: "activity-storecheck";
926
- find: (
927
- params?: Service.ActivityStorecheck.Find.Params
928
- ) => Promise<Service.ActivityStorecheck.Find.Result>;
929
- get: (
930
- id: Service.ActivityStorecheck.Get.ID,
931
- params?: Service.ActivityStorecheck.Get.Params
932
- ) => Promise<Service.ActivityStorecheck.Get.Result>;
933
- create: (
934
- body: Service.ActivityStorecheck.Create.Body
935
- ) => Promise<Service.ActivityStorecheck.Create.Result>;
936
- update: (
937
- id: Service.ActivityStorecheck.Update.ID,
938
- body: Service.ActivityStorecheck.Update.Body
939
- ) => Promise<Service.ActivityStorecheck.Update.Result>;
940
- };
941
- adjustInventory: {
942
- _path: "adjust-inventory";
943
- find: (
944
- params?: Service.AdjustInventory.Find.Params
945
- ) => Promise<Service.AdjustInventory.Find.Result>;
946
- get: (
947
- id: Service.AdjustInventory.Get.ID,
948
- params?: Service.AdjustInventory.Get.Params
949
- ) => Promise<Service.AdjustInventory.Get.Result>;
950
- create: (
951
- body: Service.AdjustInventory.Create.Body
952
- ) => Promise<Service.AdjustInventory.Create.Result>;
953
- };
954
- inventory: {
955
- _path: "inventory";
956
- find: (
957
- params?: Service.Inventory.Find.Params
958
- ) => Promise<Service.Inventory.Find.Result>;
959
- };
960
- integrationApp: {
961
- _path: "integration-app";
962
- find: (
963
- params?: Service.App.Find.Params
964
- ) => Promise<Service.App.Find.Result>;
965
- get: (
966
- id: Service.App.Get.ID,
967
- params?: Service.App.Find.Params
968
- ) => Promise<Service.App.Get.Result>;
969
- create: (
970
- body: Service.App.Create.Body
971
- ) => Promise<Service.App.Create.Result>;
972
- update: (
973
- id: Service.App.Update.ID,
974
- body: Service.App.Update.Body
975
- ) => Promise<Service.App.Update.Result>;
976
- };
977
- joinActionsWebHook: {
978
- _path: "svix-integration";
979
- update: (
980
- id: null,
981
- body: Service.JoinActionsWeHook.Data
982
- ) => Promise<Service.JoinActionsWeHook.Result>;
983
- };
984
- static ActionLogs: {
985
- new (superThis: Repzo, sync_id: string): {
986
- _path: string;
987
- available_app_name: string;
988
- available_app_id: StringId;
989
- app_id: StringId;
990
- action: string;
991
- status: Service.ActionLogs.Status;
992
- error?: any;
993
- start_time: number;
994
- end_time?: number;
995
- total_time?: number;
996
- company_namespace?: NameSpaces;
997
- body?: any;
998
- meta?: any;
999
- message: string;
1000
- details: Service.ActionLogs.Detail[];
1001
- sync_id: string;
1002
- isOld: boolean;
1003
- superThis: Repzo;
1004
- load(sync_id: string): Promise</*elided*/ any>;
1005
- setStatus(status: Service.ActionLogs.Status, error?: any): /*elided*/ any;
1006
- setBody(body: any): /*elided*/ any;
1007
- setMeta(meta: any): /*elided*/ any;
1008
- commit(): Promise</*elided*/ any>;
1009
- addDetail(detail: string, meta?: any): /*elided*/ any;
1010
- };
1011
- };
1012
- static CommandLog: {
1013
- new (
1014
- superThis: Repzo,
1015
- app: Service.App.Schema_with_populated_AvailableApp,
1016
- command: string,
1017
- trigger?: string
1018
- ): {
1019
- _path: string;
1020
- available_app_name: string;
1021
- available_app_id: StringId;
1022
- app_id: StringId;
1023
- command: string;
1024
- status: Service.CommandLog.Status;
1025
- error?: any;
1026
- start_time: number;
1027
- end_time?: number;
1028
- total_time?: number;
1029
- company_namespace: NameSpaces;
1030
- body?: any;
1031
- sync_details: {
1032
- timestamp: number;
1033
- body: {
1034
- [key: string]: any;
3
+ private svAPIEndpoint;
4
+ headers: Headers;
5
+ private timeout;
6
+ constructor(apiKey: string, options?: Options);
7
+ private _end_points;
8
+ END_POINTS: {
9
+ readonly CLIENT: "client";
10
+ readonly PRODUCT: "product";
11
+ readonly VARIANT: "variant";
12
+ readonly CATEGORY: "product-category";
13
+ readonly SUB_CATEGORY: "product-sub-category";
14
+ readonly BRAND: "product-brand";
15
+ readonly PRODUCT_GROUP: "product-group";
16
+ readonly TAX: "tax";
17
+ readonly MEASUREUNIT: "measureunits";
18
+ readonly MEASUREUNIT_FAMILY: "measureunit-family";
19
+ readonly MEDIA: "media";
20
+ readonly PRICELIST: "pricelists";
21
+ readonly PRICELIST_ITEM: "pricelistsitems";
22
+ readonly TEAM: "teams";
23
+ readonly RETURN_REASON: "return-reason";
24
+ readonly REP: "rep";
25
+ readonly TAG: "tag";
26
+ readonly WAREHOUSE: "warehouse";
27
+ readonly ROUTE: "route";
28
+ readonly PRODUCT_MODIFIERS_GROUP: "product-modifiers-group";
29
+ readonly CHANNEL: "client-channel";
30
+ readonly SPECIALITY: "speciality";
31
+ readonly CLIENT_CONTACT: "client-contact";
32
+ readonly PAYMENT_TERM: "paymentterms";
33
+ readonly BANK: "banks";
34
+ readonly BANK_LIST: "bankslists";
35
+ readonly CUSTOM_STATUS: "custom-status";
36
+ readonly CUSTOM_LIST: "custom-list";
37
+ readonly CUSTOM_LIST_ITEM: "custom-list-item";
38
+ readonly INVENTORY_ADJUSTMENT_REASON: "inventory-adjustment-reason";
39
+ readonly WORKORDER: "workorder";
40
+ readonly SUPPLIER: "supplier";
41
+ readonly QUICK_CONVERT_TO_PDF: "quick-convert-to-pdf";
42
+ readonly VISIT: "visit";
43
+ readonly INVOICE: "fullinvoices";
44
+ readonly PROFORMA: "proforma";
45
+ readonly PAYMENT: "payments";
46
+ readonly REFUND: "refund";
47
+ readonly SETTLEMENT: "settlement";
48
+ readonly CHECK: "checks";
49
+ readonly DAY: "day";
50
+ readonly RECEIVING_MATERIAL: "receiving-material";
51
+ readonly ADJUST_ACCOUNT: "adjust-account";
52
+ readonly TRANSFER: "transfer";
53
+ readonly MSL: "msl";
54
+ readonly MSL_PRODUCT: "msl-products";
55
+ readonly MEDIA_STORAGE: "media-storage";
56
+ readonly STORECHECK_TEMPLATE: "storecheck-template";
57
+ readonly ACTIVITY_STORECHECK: "activity-storecheck";
58
+ readonly ADJUST_INVENTORY: "adjust-inventory";
59
+ readonly INVENTORY: "inventory";
60
+ readonly INTEGRATION_APP: "integration-app";
61
+ readonly JOIN_ACTIONS_WEBHOOK: "svix-integration";
62
+ readonly INTEGRATION_ACTION_LOG: "integration-action-log";
63
+ readonly INTEGRATION_COMMAND_LOG: "integration-command-log";
64
+ readonly PATCH_ACTION: "patch-action";
65
+ readonly UPDATE_INTEGRATION_META: "update-integration-meta";
66
+ readonly ASSET_PART_TYPE: "asset-part-type";
67
+ readonly ASSET_PART: "asset-part";
68
+ readonly ASSET_PART_UNIT: "asset-part-unit";
69
+ readonly ASSET_PART_RECEIVAL: "asset-part-receival";
70
+ readonly ASSET_PART_TRANSFER: "asset-part-transfer";
71
+ readonly RETURN_ASSET_PART_UNIT: "return-asset-part-unit";
72
+ readonly STORE_ASSET_PART_UNIT: "store-asset-part-unit";
73
+ readonly OCR_INVOICE_JOB_TEMPLATE: "ocr-invoice-job-template";
74
+ readonly OCR_INVOICE_JOB_GROUP: "ocr-invoice-job-group";
75
+ readonly ACTIVITY_AI_SALES_ORDER: "activity-ai-sales-order";
76
+ readonly OCR_INVOICE_JOB: "ocr-invoice-job";
77
+ readonly OCR_INVOICE_JOB_PAGE: "ocr-invoice-job-page";
78
+ };
79
+ private _fetch;
80
+ private _create;
81
+ private _update;
82
+ private _patch;
83
+ private _delete;
84
+ client: {
85
+ _path: "client";
86
+ find: (params?: Service.Client.Find.Params) => Promise<Service.Client.Find.Result>;
87
+ get: (id: Service.Client.Get.ID, params?: Service.Client.Get.Params) => Promise<Service.Client.Get.Result>;
88
+ create: (body: Service.Client.Create.Body) => Promise<Service.Client.Create.Result>;
89
+ update: (id: Service.Client.Update.ID, body: Service.Client.Update.Body) => Promise<Service.Client.Update.Result>;
90
+ remove: (id: Service.Client.Remove.ID) => Promise<Service.Client.Remove.Result>;
91
+ };
92
+ product: {
93
+ _path: "product";
94
+ find: (params?: Service.Product.Find.Params) => Promise<Service.Product.Find.Result>;
95
+ get: (id: Service.Product.Get.ID, params?: Service.Product.Get.Params) => Promise<Service.Product.Get.Result>;
96
+ create: (body: Service.Product.Create.Body) => Promise<Service.Product.Create.Result>;
97
+ update: (id: Service.Product.Update.ID, body: Service.Product.Update.Body) => Promise<Service.Product.Update.Result>;
98
+ remove: (id: Service.Product.Remove.ID) => Promise<Service.Product.Remove.Result>;
99
+ };
100
+ variant: {
101
+ _path: "variant";
102
+ find: (params?: Service.Variant.Find.Params) => Promise<Service.Variant.Find.Result>;
103
+ get: (id: Service.Variant.Get.ID, params?: Service.Variant.Get.Params) => Promise<Service.Variant.Get.Result>;
104
+ create: (body: Service.Variant.Create.Body) => Promise<Service.Variant.Create.Result>;
105
+ update: (id: Service.Variant.Update.ID, body: Service.Variant.Update.Body) => Promise<Service.Variant.Update.Result>;
106
+ remove: (id: Service.Variant.Remove.ID) => Promise<Service.Variant.Remove.Result>;
107
+ };
108
+ category: {
109
+ _path: "product-category";
110
+ find: (params?: Service.Category.Find.Params) => Promise<Service.Category.Find.Result>;
111
+ get: (id: Service.Category.Get.ID) => Promise<Service.Category.Get.Result>;
112
+ create: (body: Service.Category.Create.Body) => Promise<Service.Category.Create.Result>;
113
+ update: (id: Service.Category.Update.ID, body: Service.Category.Update.Body) => Promise<Service.Category.Update.Result>;
114
+ remove: (id: Service.Category.Remove.ID) => Promise<Service.Category.Remove.Result>;
115
+ };
116
+ sub_category: {
117
+ _path: "product-sub-category";
118
+ find: (params?: Service.SubCategory.Find.Params) => Promise<Service.SubCategory.Find.Result>;
119
+ get: (id: Service.SubCategory.Get.ID, params?: Service.SubCategory.Get.Params) => Promise<Service.SubCategory.Get.Result>;
120
+ create: (body: Service.SubCategory.Create.Body) => Promise<Service.SubCategory.Create.Result>;
121
+ update: (id: Service.SubCategory.Update.ID, body: Service.SubCategory.Update.Body) => Promise<Service.SubCategory.Update.Result>;
122
+ remove: (id: Service.SubCategory.Remove.ID) => Promise<Service.SubCategory.Remove.Result>;
123
+ };
124
+ brand: {
125
+ _path: "product-brand";
126
+ find: (params?: Service.Brand.Find.Params) => Promise<Service.Brand.Find.Result>;
127
+ get: (id: Service.Brand.Get.ID) => Promise<Service.Brand.Get.Result>;
128
+ create: (body: Service.Brand.Create.Body) => Promise<Service.Brand.Create.Result>;
129
+ update: (id: Service.Brand.Update.ID, body: Service.Brand.Update.Body) => Promise<Service.Brand.Update.Result>;
130
+ remove: (id: Service.Brand.Remove.ID) => Promise<Service.Brand.Remove.Result>;
131
+ };
132
+ product_group: {
133
+ _path: "product-group";
134
+ find: (params?: Service.ProductGroup.Find.Params) => Promise<Service.ProductGroup.Find.Result>;
135
+ get: (id: Service.ProductGroup.Get.ID) => Promise<Service.ProductGroup.Get.Result>;
136
+ create: (body: Service.ProductGroup.Create.Body) => Promise<Service.ProductGroup.Create.Result>;
137
+ update: (id: Service.ProductGroup.Update.ID, body: Service.ProductGroup.Update.Body) => Promise<Service.ProductGroup.Update.Result>;
138
+ remove: (id: Service.ProductGroup.Remove.ID) => Promise<Service.ProductGroup.Remove.Result>;
139
+ };
140
+ tax: {
141
+ _path: "tax";
142
+ find: (params?: Service.Tax.Find.Params) => Promise<Service.Tax.Find.Result>;
143
+ get: (id: Service.Tax.Get.ID) => Promise<Service.Tax.Get.Result>;
144
+ create: (body: Service.Tax.Create.Body) => Promise<Service.Tax.Create.Result>;
145
+ update: (id: Service.Tax.Update.ID, body: Service.Tax.Update.Body) => Promise<Service.Tax.Update.Result>;
146
+ remove: (id: Service.Tax.Remove.ID) => Promise<Service.Tax.Remove.Result>;
147
+ };
148
+ measureunit: {
149
+ _path: "measureunits";
150
+ find: (params?: Service.MeasureUnit.Find.Params) => Promise<Service.MeasureUnit.Find.Result>;
151
+ get: (id: Service.MeasureUnit.Get.ID) => Promise<Service.MeasureUnit.Get.Result>;
152
+ create: (body: Service.MeasureUnit.Create.Body) => Promise<Service.MeasureUnit.Create.Result>;
153
+ update: (id: Service.MeasureUnit.Update.ID, body: Service.MeasureUnit.Update.Body) => Promise<Service.MeasureUnit.Update.Result>;
154
+ remove: (id: Service.MeasureUnit.Remove.ID) => Promise<Service.MeasureUnit.Remove.Result>;
155
+ };
156
+ measureunitFamily: {
157
+ _path: "measureunit-family";
158
+ find: (params?: Service.MeasureUnitFamily.Find.Params) => Promise<Service.MeasureUnitFamily.Find.Result>;
159
+ get: (id: Service.MeasureUnitFamily.Get.ID) => Promise<Service.MeasureUnitFamily.Get.Result>;
160
+ create: (body: Service.MeasureUnitFamily.Create.Body) => Promise<Service.MeasureUnitFamily.Create.Result>;
161
+ update: (id: Service.MeasureUnitFamily.Update.ID, body: Service.MeasureUnitFamily.Update.Body) => Promise<Service.MeasureUnitFamily.Update.Result>;
162
+ remove: (id: Service.MeasureUnitFamily.Remove.ID) => Promise<Service.MeasureUnitFamily.Remove.Result>;
163
+ };
164
+ media: {
165
+ _path: "media";
166
+ find: (params?: Service.Media.Find.Params) => Promise<Service.Media.Find.Result>;
167
+ get: (id: Service.Media.Get.ID) => Promise<Service.Media.Get.Result>;
168
+ create: (body: Service.Media.Create.Body) => Promise<Service.Media.Create.Result>;
169
+ update: (id: Service.Media.Update.ID, body: Service.Media.Update.Body) => Promise<Service.Media.Update.Result>;
170
+ remove: (id: Service.Media.Remove.ID) => Promise<Service.Media.Remove.Result>;
171
+ };
172
+ priceList: {
173
+ _path: "pricelists";
174
+ find: (params?: Service.PriceList.Find.Params) => Promise<Service.PriceList.Find.Result>;
175
+ get: (id: Service.PriceList.Get.ID) => Promise<Service.PriceList.Get.Result>;
176
+ create: (body: Service.PriceList.Create.Body) => Promise<Service.PriceList.Create.Result>;
177
+ update: (id: Service.PriceList.Update.ID, body: Service.PriceList.Update.Body) => Promise<Service.PriceList.Update.Result>;
178
+ remove: (id: Service.PriceList.Remove.ID) => Promise<Service.PriceList.Remove.Result>;
179
+ };
180
+ priceListItem: {
181
+ _path: "pricelistsitems";
182
+ find: (params?: Service.PriceListItem.Find.Params) => Promise<Service.PriceListItem.Find.Result>;
183
+ get: (id: Service.PriceListItem.Get.ID) => Promise<Service.PriceListItem.Get.Result>;
184
+ create: (body: Service.PriceListItem.Create.Body) => Promise<Service.PriceListItem.Create.Result>;
185
+ update: (id: Service.PriceListItem.Update.ID, body: Service.PriceListItem.Update.Body) => Promise<Service.PriceListItem.Update.Result>;
186
+ remove: (id: Service.PriceListItem.Remove.ID) => Promise<Service.PriceListItem.Remove.Result>;
187
+ };
188
+ team: {
189
+ _path: "teams";
190
+ find: (params?: Service.Team.Find.Params) => Promise<Service.Team.Find.Result>;
191
+ get: (id: Service.Team.Get.ID) => Promise<Service.Team.Get.Result>;
192
+ create: (body: Service.Team.Create.Body) => Promise<Service.Team.Create.Result>;
193
+ update: (id: Service.Team.Update.ID, body: Service.Team.Update.Body) => Promise<Service.Team.Update.Result>;
194
+ remove: (id: Service.Team.Remove.ID) => Promise<Service.Team.Remove.Result>;
195
+ };
196
+ returnReason: {
197
+ _path: "return-reason";
198
+ find: (params?: Service.ReturnReason.Find.Params) => Promise<Service.ReturnReason.Find.Result>;
199
+ get: (id: Service.ReturnReason.Get.ID) => Promise<Service.ReturnReason.Get.Result>;
200
+ create: (body: Service.ReturnReason.Create.Body) => Promise<Service.ReturnReason.Create.Result>;
201
+ update: (id: Service.ReturnReason.Update.ID, body: Service.ReturnReason.Update.Body) => Promise<Service.ReturnReason.Update.Result>;
202
+ remove: (id: Service.ReturnReason.Remove.ID) => Promise<Service.ReturnReason.Remove.Result>;
203
+ };
204
+ rep: {
205
+ _path: "rep";
206
+ find: (params?: Service.Rep.Find.Params) => Promise<Service.Rep.Find.Result>;
207
+ get: (id: Service.Rep.Get.ID, params?: Service.Client.Get.Params) => Promise<Service.Rep.Get.Result>;
208
+ create: (body: Service.Rep.Create.Body) => Promise<Service.Rep.Create.Result>;
209
+ update: (id: Service.Rep.Update.ID, body: Service.Rep.Update.Body) => Promise<Service.Rep.Update.Result>;
210
+ remove: (id: Service.Rep.Remove.ID) => Promise<Service.Rep.Remove.Result>;
211
+ };
212
+ tag: {
213
+ _path: "tag";
214
+ find: (params?: Service.Tag.Find.Params) => Promise<Service.Tag.Find.Result>;
215
+ get: (id: Service.Tag.Get.ID) => Promise<Service.Tag.Get.Result>;
216
+ create: (body: Service.Tag.Create.Body) => Promise<Service.Tag.Create.Result>;
217
+ update: (id: Service.Tag.Update.ID, body: Service.Tag.Update.Body) => Promise<Service.Tag.Update.Result>;
218
+ remove: (id: Service.Tag.Remove.ID) => Promise<Service.Tag.Remove.Result>;
219
+ };
220
+ warehouse: {
221
+ _path: "warehouse";
222
+ find: (params?: Service.Warehouse.Find.Params) => Promise<Service.Warehouse.Find.Result>;
223
+ get: (id: Service.Warehouse.Get.ID) => Promise<Service.Warehouse.Get.Result>;
224
+ create: (body: Service.Warehouse.Create.Body) => Promise<Service.Warehouse.Create.Result>;
225
+ update: (id: Service.Warehouse.Update.ID, body: Service.Warehouse.Update.Body) => Promise<Service.Warehouse.Update.Result>;
226
+ remove: (id: Service.Warehouse.Remove.ID) => Promise<Service.Warehouse.Remove.Result>;
227
+ };
228
+ route: {
229
+ _path: "route";
230
+ find: (params?: Service.Route.Find.Params) => Promise<Service.Route.Find.Result>;
231
+ get: (id: Service.Route.Get.ID) => Promise<Service.Route.Get.Result>;
232
+ create: (body: Service.Route.Create.Body) => Promise<Service.Route.Create.Result>;
233
+ update: (id: Service.Route.Update.ID, body: Service.Route.Update.Body) => Promise<Service.Route.Update.Result>;
234
+ remove: (id: Service.Route.Remove.ID) => Promise<Service.Route.Remove.Result>;
235
+ };
236
+ productModifiersGroup: {
237
+ _path: "product-modifiers-group";
238
+ find: (params?: Service.ProductModifiersGroup.Find.Params) => Promise<Service.ProductModifiersGroup.Find.Result>;
239
+ get: (id: Service.ProductModifiersGroup.Get.ID) => Promise<Service.ProductModifiersGroup.Get.Result>;
240
+ create: (body: Service.ProductModifiersGroup.Create.Body) => Promise<Service.ProductModifiersGroup.Create.Result>;
241
+ update: (id: Service.ProductModifiersGroup.Update.ID, body: Service.ProductModifiersGroup.Update.Body) => Promise<Service.ProductModifiersGroup.Update.Result>;
242
+ remove: (id: Service.ProductModifiersGroup.Remove.ID) => Promise<Service.ProductModifiersGroup.Remove.Result>;
243
+ };
244
+ channel: {
245
+ _path: "client-channel";
246
+ find: (params?: Service.Channel.Find.Params) => Promise<Service.Channel.Find.Result>;
247
+ get: (id: Service.Channel.Get.ID) => Promise<Service.Channel.Get.Result>;
248
+ create: (body: Service.Channel.Create.Body) => Promise<Service.Channel.Create.Result>;
249
+ update: (id: Service.Channel.Update.ID, body: Service.Channel.Update.Body) => Promise<Service.Channel.Update.Result>;
250
+ remove: (id: Service.Channel.Remove.ID) => Promise<Service.Channel.Remove.Result>;
251
+ };
252
+ speciality: {
253
+ _path: "speciality";
254
+ find: (params?: Service.Speciality.Find.Params) => Promise<Service.Speciality.Find.Result>;
255
+ get: (id: Service.Speciality.Get.ID) => Promise<Service.Speciality.Get.Result>;
256
+ create: (body: Service.Speciality.Create.Body) => Promise<Service.Speciality.Create.Result>;
257
+ update: (id: Service.Speciality.Update.ID, body: Service.Speciality.Update.Body) => Promise<Service.Speciality.Update.Result>;
258
+ remove: (id: Service.Speciality.Remove.ID) => Promise<Service.Speciality.Remove.Result>;
259
+ };
260
+ clientContact: {
261
+ _path: "client-contact";
262
+ find: (params?: Service.ClientContact.Find.Params) => Promise<Service.ClientContact.Find.Result>;
263
+ get: (id: Service.ClientContact.Get.ID) => Promise<Service.ClientContact.Get.Result>;
264
+ create: (body: Service.ClientContact.Create.Body) => Promise<Service.ClientContact.Create.Result>;
265
+ update: (id: Service.ClientContact.Update.ID, body: Service.ClientContact.Update.Body) => Promise<Service.ClientContact.Update.Result>;
266
+ remove: (id: Service.ClientContact.Remove.ID) => Promise<Service.ClientContact.Remove.Result>;
267
+ };
268
+ paymentTerm: {
269
+ _path: "paymentterms";
270
+ find: (params?: Service.PaymentTerm.Find.Params) => Promise<Service.PaymentTerm.Find.Result>;
271
+ get: (id: Service.PaymentTerm.Get.ID) => Promise<Service.PaymentTerm.Get.Result>;
272
+ create: (body: Service.PaymentTerm.Create.Body) => Promise<Service.PaymentTerm.Create.Result>;
273
+ update: (id: Service.PaymentTerm.Update.ID, body: Service.PaymentTerm.Update.Body) => Promise<Service.PaymentTerm.Update.Result>;
274
+ remove: (id: Service.PaymentTerm.Remove.ID) => Promise<Service.PaymentTerm.Remove.Result>;
275
+ };
276
+ bank: {
277
+ _path: "banks";
278
+ find: (params?: Service.Bank.Find.Params) => Promise<Service.Bank.Find.Result>;
279
+ get: (id: Service.Bank.Get.ID) => Promise<Service.Bank.Get.Result>;
280
+ create: (body: Service.Bank.Create.Body) => Promise<Service.Bank.Create.Result>;
281
+ update: (id: Service.Bank.Update.ID, body: Service.Bank.Update.Body) => Promise<Service.Bank.Update.Result>;
282
+ };
283
+ bank_list: {
284
+ _path: "bankslists";
285
+ find: (params?: Service.BankList.Find.Params) => Promise<Service.BankList.Find.Result>;
286
+ get: (id: Service.BankList.Get.ID) => Promise<Service.BankList.Get.Result>;
287
+ create: (body: Service.BankList.Create.Body) => Promise<Service.BankList.Create.Result>;
288
+ update: (id: Service.BankList.Update.ID, body: Service.BankList.Update.Body) => Promise<Service.BankList.Update.Result>;
289
+ };
290
+ customStatus: {
291
+ _path: "custom-status";
292
+ find: (params?: Service.CustomStatus.Find.Params) => Promise<Service.CustomStatus.Find.Result>;
293
+ get: (id: Service.CustomStatus.Get.ID) => Promise<Service.CustomStatus.Get.Result>;
294
+ create: (body: Service.CustomStatus.Create.Body) => Promise<Service.CustomStatus.Create.Result>;
295
+ update: (id: Service.CustomStatus.Update.ID, body: Service.CustomStatus.Update.Body) => Promise<Service.CustomStatus.Update.Result>;
296
+ remove: (id: Service.CustomStatus.Remove.ID) => Promise<Service.CustomStatus.Remove.Result>;
297
+ };
298
+ customList: {
299
+ _path: "custom-list";
300
+ find: (params?: Service.CustomList.Find.Params) => Promise<Service.CustomList.Find.Result>;
301
+ get: (id: Service.CustomList.Get.ID, params?: Service.CustomList.Get.Params) => Promise<Service.CustomList.Get.Result>;
302
+ create: (body: Service.CustomList.Create.Body) => Promise<Service.CustomList.Create.Result>;
303
+ update: (id: Service.CustomList.Update.ID, body: Service.CustomList.Update.Body) => Promise<Service.CustomList.Update.Result>;
304
+ remove: (id: Service.CustomList.Remove.ID) => Promise<Service.CustomList.Remove.Result>;
305
+ };
306
+ customListItem: {
307
+ _path: "custom-list-item";
308
+ find: (params?: Service.CustomListItem.Find.Params) => Promise<Service.CustomListItem.Find.Result>;
309
+ get: (id: Service.CustomListItem.Get.ID, params?: Service.CustomListItem.Get.Params) => Promise<Service.CustomListItem.Get.Result>;
310
+ create: (body: Service.CustomListItem.Create.Body) => Promise<Service.CustomListItem.Create.Result>;
311
+ update: (id: Service.CustomListItem.Update.ID, body: Service.CustomListItem.Update.Body) => Promise<Service.CustomListItem.Update.Result>;
312
+ remove: (id: Service.CustomListItem.Remove.ID) => Promise<Service.CustomListItem.Remove.Result>;
313
+ };
314
+ inventoryAdjustmentReason: {
315
+ _path: "inventory-adjustment-reason";
316
+ find: (params?: Service.InventoryAdjustmentReason.Find.Params) => Promise<Service.InventoryAdjustmentReason.Find.Result>;
317
+ get: (id: Service.InventoryAdjustmentReason.Get.ID) => Promise<Service.InventoryAdjustmentReason.Get.Result>;
318
+ create: (body: Service.InventoryAdjustmentReason.Create.Body) => Promise<Service.InventoryAdjustmentReason.Create.Result>;
319
+ update: (id: Service.InventoryAdjustmentReason.Update.ID, body: Service.InventoryAdjustmentReason.Update.Body) => Promise<Service.InventoryAdjustmentReason.Update.Result>;
320
+ remove: (id: Service.InventoryAdjustmentReason.Remove.ID) => Promise<Service.InventoryAdjustmentReason.Remove.Result>;
321
+ };
322
+ workorder: {
323
+ _path: "workorder";
324
+ find: (params?: Service.Workorder.Find.Params) => Promise<Service.Workorder.Find.Result>;
325
+ get: (id: Service.Workorder.Get.ID, params?: Service.Workorder.Get.Params) => Promise<Service.Workorder.Get.Result>;
326
+ };
327
+ supplier: {
328
+ _path: "supplier";
329
+ find: (params?: Service.Supplier.Find.Params) => Promise<Service.Supplier.Find.Result>;
330
+ get: (id: Service.Supplier.Get.ID, params?: Service.Supplier.Get.Params) => Promise<Service.Supplier.Get.Result>;
331
+ create: (body: Service.Supplier.Create.Body) => Promise<Service.Supplier.Create.Result>;
332
+ update: (id: Service.Supplier.Update.ID, body: Service.Supplier.Update.Body) => Promise<Service.Supplier.Update.Result>;
333
+ };
334
+ quickConvertToPdf: {
335
+ _path: "quick-convert-to-pdf";
336
+ find: (params?: Service.QuickConvertToPdf.Find.Params) => Promise<Service.QuickConvertToPdf.Find.Result>;
337
+ get: (id: Service.QuickConvertToPdf.Get.ID, params?: Service.QuickConvertToPdf.Get.Params) => Promise<Service.QuickConvertToPdf.Get.Result>;
338
+ create: (body: Service.QuickConvertToPdf.Create.Body) => Promise<Service.QuickConvertToPdf.Create.Result>;
339
+ remove: (id: Service.QuickConvertToPdf.Remove.ID) => Promise<Service.QuickConvertToPdf.Remove.Result>;
340
+ };
341
+ visit: {
342
+ _path: "visit";
343
+ find: (params?: Service.Visit.Find.Params) => Promise<Service.Visit.Find.Result>;
344
+ get: (id: Service.Visit.Get.ID, params?: Service.Visit.Get.Params) => Promise<Service.Visit.Get.Result>;
345
+ create: (body: Service.Visit.Create.Body) => Promise<Service.Visit.Create.Result>;
346
+ update: (id: Service.Visit.Update.ID, body: Service.Visit.Update.Body) => Promise<Service.Visit.Update.Result>;
347
+ };
348
+ invoice: {
349
+ _path: "fullinvoices";
350
+ find: (params?: Service.FullInvoice.Find.Params) => Promise<Service.FullInvoice.Find.Result>;
351
+ get: (id: Service.FullInvoice.Get.ID, params?: Service.FullInvoice.Get.Params) => Promise<Service.FullInvoice.Get.Result>;
352
+ create: (body: Service.FullInvoice.Create.Body) => Promise<Service.FullInvoice.Create.Result>;
353
+ update: (id: Service.FullInvoice.Update.ID, body: Service.FullInvoice.Update.Body) => Promise<Service.FullInvoice.Update.Result>;
354
+ };
355
+ proforma: {
356
+ _path: "proforma";
357
+ find: (params?: Service.Proforma.Find.Params) => Promise<Service.Proforma.Find.Result>;
358
+ get: (id: Service.Proforma.Get.ID, params?: Service.Proforma.Get.Params) => Promise<Service.Proforma.Get.Result>;
359
+ create: (body: Service.Proforma.Create.Body) => Promise<Service.Proforma.Create.Result>;
360
+ update: (id: Service.Proforma.Update.ID, body: Service.Proforma.Update.Body) => Promise<Service.Proforma.Update.Result>;
361
+ };
362
+ payment: {
363
+ _path: "payments";
364
+ find: (params?: Service.Payment.Find.Params) => Promise<Service.Payment.Find.Result>;
365
+ get: (id: Service.Payment.Get.ID, params?: Service.Payment.Get.Params) => Promise<Service.Payment.Get.Result>;
366
+ create: (body: Service.Payment.Create.Body) => Promise<Service.Payment.Create.Result>;
367
+ update: (id: Service.Payment.Update.ID, body: Service.Payment.Update.Body) => Promise<Service.Payment.Update.Result>;
368
+ };
369
+ refund: {
370
+ _path: "refund";
371
+ find: (params?: Service.Refund.Find.Params) => Promise<Service.Refund.Find.Result>;
372
+ get: (id: Service.Refund.Get.ID, params?: Service.Refund.Get.Params) => Promise<Service.Refund.Get.Result>;
373
+ create: (body: Service.Refund.Create.Body) => Promise<Service.Refund.Create.Result>;
374
+ update: (id: Service.Refund.Update.ID, body: Service.Refund.Update.Body) => Promise<Service.Refund.Update.Result>;
375
+ };
376
+ settlement: {
377
+ _path: "settlement";
378
+ find: (params?: Service.Settlement.Find.Params) => Promise<Service.Settlement.Find.Result>;
379
+ get: (id: Service.Settlement.Get.ID, params?: Service.Settlement.Get.Params) => Promise<Service.Settlement.Get.Result>;
380
+ create: (body: Service.Settlement.Create.Body) => Promise<Service.Settlement.Create.Result>;
381
+ };
382
+ check: {
383
+ _path: "checks";
384
+ find: (params?: Service.Check.Find.Params) => Promise<Service.Check.Find.Result>;
385
+ get: (id: Service.Check.Get.ID, params?: Service.Check.Get.Params) => Promise<Service.Check.Get.Result>;
386
+ create: (body: Service.Check.Create.Body) => Promise<Service.Check.Create.Result>;
387
+ };
388
+ day: {
389
+ _path: "day";
390
+ find: (params?: Service.Day.Find.Params) => Promise<Service.Day.Find.Result>;
391
+ get: (id: Service.Day.Get.ID, params?: Service.Day.Get.Params) => Promise<Service.Day.Get.Result>;
392
+ create: (body: Service.Day.Create.Body) => Promise<Service.Day.Create.Result>;
393
+ };
394
+ receivingMaterial: {
395
+ _path: "receiving-material";
396
+ find: (params?: Service.ReceivingMaterial.Find.Params) => Promise<Service.ReceivingMaterial.Find.Result>;
397
+ get: (id: Service.ReceivingMaterial.Get.ID, params?: Service.ReceivingMaterial.Get.Params) => Promise<Service.ReceivingMaterial.Get.Result>;
398
+ create: (body: Service.ReceivingMaterial.Create.Body) => Promise<Service.ReceivingMaterial.Create.Result>;
399
+ update: (id: Service.ReceivingMaterial.Update.ID, body: Service.ReceivingMaterial.Update.Body) => Promise<Service.ReceivingMaterial.Update.Result>;
400
+ };
401
+ adjustAccount: {
402
+ _path: "adjust-account";
403
+ find: (params?: Service.AdjustAccount.Find.Params) => Promise<Service.AdjustAccount.Find.Result>;
404
+ get: (id: Service.AdjustAccount.Get.ID, params?: Service.AdjustAccount.Get.Params) => Promise<Service.AdjustAccount.Get.Result>;
405
+ create: (body: Service.AdjustAccount.Create.Body) => Promise<Service.AdjustAccount.Create.Result>;
406
+ };
407
+ transfer: {
408
+ _path: "transfer";
409
+ find: (params?: Service.Transfer.Find.Params) => Promise<Service.Transfer.Find.Result>;
410
+ get: (id: Service.Transfer.Get.ID, params?: Service.Transfer.Get.Params) => Promise<Service.Transfer.Get.Result>;
411
+ create: (body: Service.Transfer.Create.Body) => Promise<Service.Transfer.Create.Result>;
412
+ update: (id: Service.Transfer.Update.ID, body: Service.Transfer.Update.Body) => Promise<Service.Transfer.Update.Result>;
413
+ };
414
+ msl: {
415
+ _path: "msl";
416
+ find: (params?: Service.Msl.Find.Params) => Promise<Service.Msl.Find.Result>;
417
+ get: (id: Service.Msl.Get.ID, params?: Service.Msl.Get.Params) => Promise<Service.Msl.Get.Result>;
418
+ create: (body: Service.Msl.Create.Body) => Promise<Service.Msl.Create.Result>;
419
+ update: (id: Service.Msl.Update.ID, body: Service.Msl.Update.Body) => Promise<Service.Msl.Update.Result>;
420
+ remove: (id: Service.Msl.Remove.ID) => Promise<Service.Msl.Remove.Result>;
421
+ };
422
+ mslProduct: {
423
+ _path: "msl-products";
424
+ find: (params?: Service.MslProduct.Find.Params) => Promise<Service.MslProduct.Find.Result>;
425
+ get: (id: Service.MslProduct.Get.ID, params?: Service.MslProduct.Get.Params) => Promise<Service.MslProduct.Get.Result>;
426
+ create: (body: Service.MslProduct.Create.Body) => Promise<Service.MslProduct.Create.Result>;
427
+ update: (id: Service.MslProduct.Update.ID, body: Service.MslProduct.Update.Body) => Promise<Service.MslProduct.Update.Result>;
428
+ remove: (id: Service.MslProduct.Remove.ID) => Promise<Service.MslProduct.Remove.Result>;
429
+ };
430
+ mediaStorage: {
431
+ _path: "media-storage";
432
+ find: (params?: Service.MediaStorage.Find.Params) => Promise<Service.MediaStorage.Find.Result>;
433
+ get: (id: Service.MediaStorage.Get.ID, params?: Service.MediaStorage.Get.Params) => Promise<Service.MediaStorage.Get.Result>;
434
+ create: (body: Service.MediaStorage.Create.Body) => Promise<Service.MediaStorage.Create.Result>;
435
+ update: (id: Service.MediaStorage.Update.ID, body: Service.MediaStorage.Update.Body) => Promise<Service.MediaStorage.Update.Result>;
436
+ remove: (id: Service.MediaStorage.Remove.ID) => Promise<Service.MediaStorage.Remove.Result>;
437
+ };
438
+ storecheckTemplate: {
439
+ _path: "storecheck-template";
440
+ find: (params?: Service.StorecheckTemplate.Find.Params) => Promise<Service.StorecheckTemplate.Find.Result>;
441
+ get: (id: Service.StorecheckTemplate.Get.ID, params?: Service.StorecheckTemplate.Get.Params) => Promise<Service.StorecheckTemplate.Get.Result>;
442
+ create: (body: Service.StorecheckTemplate.Create.Body) => Promise<Service.StorecheckTemplate.Create.Result>;
443
+ update: (id: Service.StorecheckTemplate.Update.ID, body: Service.StorecheckTemplate.Update.Body) => Promise<Service.StorecheckTemplate.Update.Result>;
444
+ remove: (id: Service.StorecheckTemplate.Remove.ID) => Promise<Service.StorecheckTemplate.Remove.Result>;
445
+ };
446
+ activityStorecheck: {
447
+ _path: "activity-storecheck";
448
+ find: (params?: Service.ActivityStorecheck.Find.Params) => Promise<Service.ActivityStorecheck.Find.Result>;
449
+ get: (id: Service.ActivityStorecheck.Get.ID, params?: Service.ActivityStorecheck.Get.Params) => Promise<Service.ActivityStorecheck.Get.Result>;
450
+ create: (body: Service.ActivityStorecheck.Create.Body) => Promise<Service.ActivityStorecheck.Create.Result>;
451
+ update: (id: Service.ActivityStorecheck.Update.ID, body: Service.ActivityStorecheck.Update.Body) => Promise<Service.ActivityStorecheck.Update.Result>;
452
+ };
453
+ adjustInventory: {
454
+ _path: "adjust-inventory";
455
+ find: (params?: Service.AdjustInventory.Find.Params) => Promise<Service.AdjustInventory.Find.Result>;
456
+ get: (id: Service.AdjustInventory.Get.ID, params?: Service.AdjustInventory.Get.Params) => Promise<Service.AdjustInventory.Get.Result>;
457
+ create: (body: Service.AdjustInventory.Create.Body) => Promise<Service.AdjustInventory.Create.Result>;
458
+ };
459
+ inventory: {
460
+ _path: "inventory";
461
+ find: (params?: Service.Inventory.Find.Params) => Promise<Service.Inventory.Find.Result>;
462
+ };
463
+ integrationApp: {
464
+ _path: "integration-app";
465
+ find: (params?: Service.App.Find.Params) => Promise<Service.App.Find.Result>;
466
+ get: (id: Service.App.Get.ID, params?: Service.App.Find.Params) => Promise<Service.App.Get.Result>;
467
+ create: (body: Service.App.Create.Body) => Promise<Service.App.Create.Result>;
468
+ update: (id: Service.App.Update.ID, body: Service.App.Update.Body) => Promise<Service.App.Update.Result>;
469
+ };
470
+ joinActionsWebHook: {
471
+ _path: "svix-integration";
472
+ update: (id: null, body: Service.JoinActionsWeHook.Data) => Promise<Service.JoinActionsWeHook.Result>;
473
+ };
474
+ static ActionLogs: {
475
+ new (superThis: Repzo, sync_id: string): {
476
+ _path: string;
477
+ available_app_name: string;
478
+ available_app_id: StringId;
479
+ app_id: StringId;
480
+ action: string;
481
+ status: Service.ActionLogs.Status;
482
+ error?: any;
483
+ start_time: number;
484
+ end_time?: number;
485
+ total_time?: number;
486
+ company_namespace?: NameSpaces;
487
+ body?: any;
488
+ meta?: any;
489
+ message: string;
490
+ details: Service.ActionLogs.Detail[];
491
+ sync_id: string;
492
+ isOld: boolean;
493
+ superThis: Repzo;
494
+ load(sync_id: string): Promise</*elided*/ any>;
495
+ setStatus(status: Service.ActionLogs.Status, error?: any): /*elided*/ any;
496
+ setBody(body: any): /*elided*/ any;
497
+ setMeta(meta: any): /*elided*/ any;
498
+ commit(): Promise</*elided*/ any>;
499
+ addDetail(detail: string, meta?: any): /*elided*/ any;
1035
500
  };
1036
- }[];
1037
- error_details: {
1038
- timestamp: number;
1039
- error: {
1040
- [key: string]: any;
501
+ };
502
+ static CommandLog: {
503
+ new (superThis: Repzo, app: Service.App.Schema_with_populated_AvailableApp, command: string, trigger?: string): {
504
+ _path: string;
505
+ available_app_name: string;
506
+ available_app_id: StringId;
507
+ app_id: StringId;
508
+ command: string;
509
+ status: Service.CommandLog.Status;
510
+ error?: any;
511
+ start_time: number;
512
+ end_time?: number;
513
+ total_time?: number;
514
+ company_namespace: NameSpaces;
515
+ body?: any;
516
+ sync_details: {
517
+ timestamp: number;
518
+ body: {
519
+ [key: string]: any;
520
+ };
521
+ }[];
522
+ error_details: {
523
+ timestamp: number;
524
+ error: {
525
+ [key: string]: any;
526
+ };
527
+ }[];
528
+ meta?: any;
529
+ message: string;
530
+ details: Service.CommandLog.Detail[];
531
+ sync_id: string;
532
+ isOld: boolean;
533
+ priority?: number;
534
+ isPrioritized: boolean;
535
+ retries: number;
536
+ queuedAt?: Date;
537
+ failedAt?: Date;
538
+ succeededAt?: Date;
539
+ skippedAt?: Date;
540
+ receivedAt?: Date;
541
+ processedAt?: Date;
542
+ onGoing: boolean;
543
+ trigger?: string;
544
+ superThis: Repzo;
545
+ load(sync_id?: string, retries?: number): Promise</*elided*/ any>;
546
+ setStatus(status: Service.CommandLog.Status, error?: any): /*elided*/ any;
547
+ setBody(body: any): /*elided*/ any;
548
+ setMeta(meta: any): /*elided*/ any;
549
+ commit(): Promise</*elided*/ any>;
550
+ addDetail(detail: string, meta?: any): /*elided*/ any;
1041
551
  };
1042
- }[];
1043
- meta?: any;
1044
- message: string;
1045
- details: Service.CommandLog.Detail[];
1046
- sync_id: string;
1047
- isOld: boolean;
1048
- priority?: number;
1049
- isPrioritized: boolean;
1050
- retries: number;
1051
- queuedAt?: Date;
1052
- failedAt?: Date;
1053
- succeededAt?: Date;
1054
- skippedAt?: Date;
1055
- receivedAt?: Date;
1056
- processedAt?: Date;
1057
- onGoing: boolean;
1058
- trigger?: string;
1059
- superThis: Repzo;
1060
- load(sync_id?: string, retries?: number): Promise</*elided*/ any>;
1061
- setStatus(status: Service.CommandLog.Status, error?: any): /*elided*/ any;
1062
- setBody(body: any): /*elided*/ any;
1063
- setMeta(meta: any): /*elided*/ any;
1064
- commit(): Promise</*elided*/ any>;
1065
- addDetail(detail: string, meta?: any): /*elided*/ any;
1066
- };
1067
- };
1068
- patchAction: {
1069
- _path: "patch-action";
1070
- create: (
1071
- body: Service.PatchAction.Create.Body,
1072
- params?: Service.PatchAction.Create.Params
1073
- ) => Promise<Service.PatchAction.Create.Result>;
1074
- update: (
1075
- body: Service.PatchAction.Update.Body
1076
- ) => Promise<Service.PatchAction.Update.Result>;
1077
- };
1078
- updateIntegrationMeta: {
1079
- _path: "update-integration-meta";
1080
- create: (
1081
- body: Service.UpdateIntegrationMeta.Create.Body,
1082
- params?: Service.UpdateIntegrationMeta.Create.Params
1083
- ) => Promise<Service.UpdateIntegrationMeta.Create.Result>;
1084
- };
1085
- assetPartType: {
1086
- _path: "asset-part-type";
1087
- find: (
1088
- params?: Service.AssetPartType.Find.Params
1089
- ) => Promise<Service.AssetPartType.Find.Result>;
1090
- get: (
1091
- id: Service.AssetPartType.Get.ID
1092
- ) => Promise<Service.AssetPartType.Get.Result>;
1093
- create: (
1094
- body: Service.AssetPartType.Create.Body
1095
- ) => Promise<Service.AssetPartType.Create.Result>;
1096
- update: (
1097
- id: Service.AssetPartType.Update.ID,
1098
- body: Service.AssetPartType.Update.Body
1099
- ) => Promise<Service.AssetPartType.Update.Result>;
1100
- remove: (
1101
- id: Service.AssetPartType.Remove.ID
1102
- ) => Promise<Service.AssetPartType.Remove.Result>;
1103
- };
1104
- assetPart: {
1105
- _path: "asset-part";
1106
- find: (
1107
- params?: Service.AssetPart.Find.Params
1108
- ) => Promise<Service.AssetPart.Find.Result>;
1109
- get: (
1110
- id: Service.AssetPart.Get.ID,
1111
- params?: Service.AssetPart.Get.Params
1112
- ) => Promise<Service.AssetPart.Get.Result>;
1113
- create: (
1114
- body: Service.AssetPart.Create.Body
1115
- ) => Promise<Service.AssetPart.Create.Result>;
1116
- update: (
1117
- id: Service.AssetPart.Update.ID,
1118
- body: Service.AssetPart.Update.Body
1119
- ) => Promise<Service.AssetPart.Update.Result>;
1120
- remove: (
1121
- id: Service.AssetPart.Remove.ID
1122
- ) => Promise<Service.AssetPart.Remove.Result>;
1123
- };
1124
- assetPartUnit: {
1125
- _path: "asset-part-unit";
1126
- find: (
1127
- params?: Service.AssetPartUnit.Find.Params
1128
- ) => Promise<Service.AssetPartUnit.Find.Result>;
1129
- get: (
1130
- id: Service.AssetPartUnit.Get.ID,
1131
- params?: Service.AssetPartUnit.Get.Params
1132
- ) => Promise<Service.AssetPartUnit.Get.Result>;
1133
- update: (
1134
- id: Service.AssetPartUnit.Update.ID,
1135
- body: Service.AssetPartUnit.Update.Body
1136
- ) => Promise<Service.AssetPartUnit.Update.Result>;
1137
- };
1138
- assetPartReceival: {
1139
- _path: "asset-part-receival";
1140
- find: (
1141
- params?: Service.AssetPartReceival.Find.Params
1142
- ) => Promise<Service.AssetPartReceival.Find.Result>;
1143
- get: (
1144
- id: Service.AssetPartReceival.Get.ID,
1145
- params?: Service.AssetPartReceival.Get.Params
1146
- ) => Promise<Service.AssetPartReceival.Get.Result>;
1147
- create: (
1148
- body: Service.AssetPartReceival.Create.Body
1149
- ) => Promise<Service.AssetPartReceival.Create.Result>;
1150
- update: (
1151
- id: Service.AssetPartReceival.Update.ID,
1152
- body: Service.AssetPartReceival.Update.Body
1153
- ) => Promise<Service.AssetPartReceival.Update.Result>;
1154
- patch: (
1155
- params: Service.AssetPartReceival.Patch.Params,
1156
- body: Service.AssetPartReceival.Patch.Body
1157
- ) => Promise<Service.AssetPartReceival.Patch.Result>;
1158
- };
1159
- assetPartTransfer: {
1160
- _path: "asset-part-transfer";
1161
- find: (
1162
- params?: Service.AssetPartTransfer.Find.Params
1163
- ) => Promise<Service.AssetPartTransfer.Find.Result>;
1164
- get: (
1165
- id: Service.AssetPartTransfer.Get.ID,
1166
- params?: Service.AssetPartTransfer.Get.Params
1167
- ) => Promise<Service.AssetPartTransfer.Get.Result>;
1168
- create: (
1169
- body: Service.AssetPartTransfer.Create.Body
1170
- ) => Promise<Service.AssetPartTransfer.Create.Result>;
1171
- update: (
1172
- id: Service.AssetPartTransfer.Update.ID,
1173
- body: Service.AssetPartTransfer.Update.Body
1174
- ) => Promise<Service.AssetPartTransfer.Update.Result>;
1175
- patch: (
1176
- params: Service.AssetPartTransfer.Patch.Params,
1177
- body: Service.AssetPartTransfer.Patch.Body
1178
- ) => Promise<Service.AssetPartTransfer.Patch.Result>;
1179
- };
1180
- returnAssetPartUnit: {
1181
- _path: "return-asset-part-unit";
1182
- find: (
1183
- params?: Service.ReturnAssetPartUnit.Find.Params
1184
- ) => Promise<Service.ReturnAssetPartUnit.Find.Result>;
1185
- get: (
1186
- id: Service.ReturnAssetPartUnit.Get.ID,
1187
- params?: Service.ReturnAssetPartUnit.Get.Params
1188
- ) => Promise<Service.ReturnAssetPartUnit.Get.Result>;
1189
- create: (
1190
- body: Service.ReturnAssetPartUnit.Create.Body
1191
- ) => Promise<Service.ReturnAssetPartUnit.Create.Result>;
1192
- update: (
1193
- id: Service.ReturnAssetPartUnit.Update.ID,
1194
- body: Service.ReturnAssetPartUnit.Update.Body
1195
- ) => Promise<Service.ReturnAssetPartUnit.Update.Result>;
1196
- patch: (
1197
- params: Service.ReturnAssetPartUnit.Patch.Params,
1198
- body: Service.ReturnAssetPartUnit.Patch.Body
1199
- ) => Promise<Service.ReturnAssetPartUnit.Patch.Result>;
1200
- };
1201
- storeAssetPartUnit: {
1202
- _path: "store-asset-part-unit";
1203
- find: (
1204
- params?: Service.StoreAssetPartUnit.Find.Params
1205
- ) => Promise<Service.StoreAssetPartUnit.Find.Result>;
1206
- get: (
1207
- id: Service.StoreAssetPartUnit.Get.ID,
1208
- params?: Service.StoreAssetPartUnit.Get.Params
1209
- ) => Promise<Service.StoreAssetPartUnit.Get.Result>;
1210
- create: (
1211
- body: Service.StoreAssetPartUnit.Create.Body
1212
- ) => Promise<Service.StoreAssetPartUnit.Create.Result>;
1213
- update: (
1214
- id: Service.StoreAssetPartUnit.Update.ID,
1215
- body: Service.StoreAssetPartUnit.Update.Body
1216
- ) => Promise<Service.StoreAssetPartUnit.Update.Result>;
1217
- patch: (
1218
- params: Service.StoreAssetPartUnit.Patch.Params,
1219
- body: Service.StoreAssetPartUnit.Patch.Body
1220
- ) => Promise<Service.StoreAssetPartUnit.Patch.Result>;
1221
- };
1222
- ocrInvoiceJobTemplate: {
1223
- _path: "ocr-invoice-job-template";
1224
- find: (
1225
- params?: Service.OcrInvoiceJobTemplate.Find.Params
1226
- ) => Promise<Service.OcrInvoiceJobTemplate.Find.Result>;
1227
- get: (
1228
- id: Service.OcrInvoiceJobTemplate.Get.ID
1229
- ) => Promise<Service.OcrInvoiceJobTemplate.Get.Result>;
1230
- create: (
1231
- body: Service.OcrInvoiceJobTemplate.Create.Body
1232
- ) => Promise<Service.OcrInvoiceJobTemplate.Create.Result>;
1233
- update: (
1234
- id: Service.OcrInvoiceJobTemplate.Update.ID,
1235
- body: Service.OcrInvoiceJobTemplate.Update.Body
1236
- ) => Promise<Service.OcrInvoiceJobTemplate.Update.Result>;
1237
- };
1238
- ocrInvoiceJobGroup: {
1239
- _path: "ocr-invoice-job-group";
1240
- find: (
1241
- params?: Service.OcrInvoiceJobGroup.Find.Params
1242
- ) => Promise<Service.OcrInvoiceJobGroup.Find.Result>;
1243
- get: (
1244
- id: Service.OcrInvoiceJobGroup.Get.ID
1245
- ) => Promise<Service.OcrInvoiceJobGroup.Get.Result>;
1246
- create: (
1247
- body: Service.OcrInvoiceJobGroup.Create.Body
1248
- ) => Promise<Service.OcrInvoiceJobGroup.Create.Result>;
1249
- };
1250
- activityAiSalesOrder: {
1251
- _path: "activity-ai-sales-order";
1252
- find: (
1253
- params?: Service.ActivityAiSalesOrder.Find.Params
1254
- ) => Promise<Service.ActivityAiSalesOrder.Find.Result>;
1255
- get: (
1256
- id: Service.ActivityAiSalesOrder.Get.ID
1257
- ) => Promise<Service.ActivityAiSalesOrder.Get.Result>;
1258
- create: (
1259
- body: Service.ActivityAiSalesOrder.Create.Body
1260
- ) => Promise<Service.ActivityAiSalesOrder.Create.Result>;
1261
- };
1262
- ocrInvoiceJob: {
1263
- _path: "ocr-invoice-job";
1264
- find: (
1265
- params?: Service.OcrInvoiceJob.Find.Params
1266
- ) => Promise<Service.OcrInvoiceJob.Find.Result>;
1267
- get: (
1268
- id: Service.OcrInvoiceJob.Get.ID
1269
- ) => Promise<Service.OcrInvoiceJob.Get.Result>;
1270
- };
1271
- ocrInvoiceJobPage: {
1272
- _path: "ocr-invoice-job-page";
1273
- find: (
1274
- params?: Service.OcrInvoiceJobPage.Find.Params
1275
- ) => Promise<Service.OcrInvoiceJobPage.Find.Result>;
1276
- get: (
1277
- id: Service.OcrInvoiceJobPage.Get.ID
1278
- ) => Promise<Service.OcrInvoiceJobPage.Get.Result>;
1279
- update: (
1280
- id: Service.OcrInvoiceJobPage.Update.ID,
1281
- body: Service.OcrInvoiceJobPage.Update.Body
1282
- ) => Promise<Service.OcrInvoiceJobPage.Update.Result>;
1283
- };
552
+ };
553
+ patchAction: {
554
+ _path: "patch-action";
555
+ create: (body: Service.PatchAction.Create.Body, params?: Service.PatchAction.Create.Params) => Promise<Service.PatchAction.Create.Result>;
556
+ update: (body: Service.PatchAction.Update.Body) => Promise<Service.PatchAction.Update.Result>;
557
+ };
558
+ updateIntegrationMeta: {
559
+ _path: "update-integration-meta";
560
+ create: (body: Service.UpdateIntegrationMeta.Create.Body, params?: Service.UpdateIntegrationMeta.Create.Params) => Promise<Service.UpdateIntegrationMeta.Create.Result>;
561
+ };
562
+ assetPartType: {
563
+ _path: "asset-part-type";
564
+ find: (params?: Service.AssetPartType.Find.Params) => Promise<Service.AssetPartType.Find.Result>;
565
+ get: (id: Service.AssetPartType.Get.ID) => Promise<Service.AssetPartType.Get.Result>;
566
+ create: (body: Service.AssetPartType.Create.Body) => Promise<Service.AssetPartType.Create.Result>;
567
+ update: (id: Service.AssetPartType.Update.ID, body: Service.AssetPartType.Update.Body) => Promise<Service.AssetPartType.Update.Result>;
568
+ remove: (id: Service.AssetPartType.Remove.ID) => Promise<Service.AssetPartType.Remove.Result>;
569
+ };
570
+ assetPart: {
571
+ _path: "asset-part";
572
+ find: (params?: Service.AssetPart.Find.Params) => Promise<Service.AssetPart.Find.Result>;
573
+ get: (id: Service.AssetPart.Get.ID, params?: Service.AssetPart.Get.Params) => Promise<Service.AssetPart.Get.Result>;
574
+ create: (body: Service.AssetPart.Create.Body) => Promise<Service.AssetPart.Create.Result>;
575
+ update: (id: Service.AssetPart.Update.ID, body: Service.AssetPart.Update.Body) => Promise<Service.AssetPart.Update.Result>;
576
+ remove: (id: Service.AssetPart.Remove.ID) => Promise<Service.AssetPart.Remove.Result>;
577
+ };
578
+ assetPartUnit: {
579
+ _path: "asset-part-unit";
580
+ find: (params?: Service.AssetPartUnit.Find.Params) => Promise<Service.AssetPartUnit.Find.Result>;
581
+ get: (id: Service.AssetPartUnit.Get.ID, params?: Service.AssetPartUnit.Get.Params) => Promise<Service.AssetPartUnit.Get.Result>;
582
+ update: (id: Service.AssetPartUnit.Update.ID, body: Service.AssetPartUnit.Update.Body) => Promise<Service.AssetPartUnit.Update.Result>;
583
+ };
584
+ assetPartReceival: {
585
+ _path: "asset-part-receival";
586
+ find: (params?: Service.AssetPartReceival.Find.Params) => Promise<Service.AssetPartReceival.Find.Result>;
587
+ get: (id: Service.AssetPartReceival.Get.ID, params?: Service.AssetPartReceival.Get.Params) => Promise<Service.AssetPartReceival.Get.Result>;
588
+ create: (body: Service.AssetPartReceival.Create.Body) => Promise<Service.AssetPartReceival.Create.Result>;
589
+ update: (id: Service.AssetPartReceival.Update.ID, body: Service.AssetPartReceival.Update.Body) => Promise<Service.AssetPartReceival.Update.Result>;
590
+ patch: (params: Service.AssetPartReceival.Patch.Params, body: Service.AssetPartReceival.Patch.Body) => Promise<Service.AssetPartReceival.Patch.Result>;
591
+ };
592
+ assetPartTransfer: {
593
+ _path: "asset-part-transfer";
594
+ find: (params?: Service.AssetPartTransfer.Find.Params) => Promise<Service.AssetPartTransfer.Find.Result>;
595
+ get: (id: Service.AssetPartTransfer.Get.ID, params?: Service.AssetPartTransfer.Get.Params) => Promise<Service.AssetPartTransfer.Get.Result>;
596
+ create: (body: Service.AssetPartTransfer.Create.Body) => Promise<Service.AssetPartTransfer.Create.Result>;
597
+ update: (id: Service.AssetPartTransfer.Update.ID, body: Service.AssetPartTransfer.Update.Body) => Promise<Service.AssetPartTransfer.Update.Result>;
598
+ patch: (params: Service.AssetPartTransfer.Patch.Params, body: Service.AssetPartTransfer.Patch.Body) => Promise<Service.AssetPartTransfer.Patch.Result>;
599
+ };
600
+ returnAssetPartUnit: {
601
+ _path: "return-asset-part-unit";
602
+ find: (params?: Service.ReturnAssetPartUnit.Find.Params) => Promise<Service.ReturnAssetPartUnit.Find.Result>;
603
+ get: (id: Service.ReturnAssetPartUnit.Get.ID, params?: Service.ReturnAssetPartUnit.Get.Params) => Promise<Service.ReturnAssetPartUnit.Get.Result>;
604
+ create: (body: Service.ReturnAssetPartUnit.Create.Body) => Promise<Service.ReturnAssetPartUnit.Create.Result>;
605
+ update: (id: Service.ReturnAssetPartUnit.Update.ID, body: Service.ReturnAssetPartUnit.Update.Body) => Promise<Service.ReturnAssetPartUnit.Update.Result>;
606
+ patch: (params: Service.ReturnAssetPartUnit.Patch.Params, body: Service.ReturnAssetPartUnit.Patch.Body) => Promise<Service.ReturnAssetPartUnit.Patch.Result>;
607
+ };
608
+ storeAssetPartUnit: {
609
+ _path: "store-asset-part-unit";
610
+ find: (params?: Service.StoreAssetPartUnit.Find.Params) => Promise<Service.StoreAssetPartUnit.Find.Result>;
611
+ get: (id: Service.StoreAssetPartUnit.Get.ID, params?: Service.StoreAssetPartUnit.Get.Params) => Promise<Service.StoreAssetPartUnit.Get.Result>;
612
+ create: (body: Service.StoreAssetPartUnit.Create.Body) => Promise<Service.StoreAssetPartUnit.Create.Result>;
613
+ update: (id: Service.StoreAssetPartUnit.Update.ID, body: Service.StoreAssetPartUnit.Update.Body) => Promise<Service.StoreAssetPartUnit.Update.Result>;
614
+ patch: (params: Service.StoreAssetPartUnit.Patch.Params, body: Service.StoreAssetPartUnit.Patch.Body) => Promise<Service.StoreAssetPartUnit.Patch.Result>;
615
+ };
616
+ ocrInvoiceJobTemplate: {
617
+ _path: "ocr-invoice-job-template";
618
+ find: (params?: Service.OcrInvoiceJobTemplate.Find.Params) => Promise<Service.OcrInvoiceJobTemplate.Find.Result>;
619
+ get: (id: Service.OcrInvoiceJobTemplate.Get.ID) => Promise<Service.OcrInvoiceJobTemplate.Get.Result>;
620
+ create: (body: Service.OcrInvoiceJobTemplate.Create.Body) => Promise<Service.OcrInvoiceJobTemplate.Create.Result>;
621
+ update: (id: Service.OcrInvoiceJobTemplate.Update.ID, body: Service.OcrInvoiceJobTemplate.Update.Body) => Promise<Service.OcrInvoiceJobTemplate.Update.Result>;
622
+ };
623
+ ocrInvoiceJobGroup: {
624
+ _path: "ocr-invoice-job-group";
625
+ find: (params?: Service.OcrInvoiceJobGroup.Find.Params) => Promise<Service.OcrInvoiceJobGroup.Find.Result>;
626
+ get: (id: Service.OcrInvoiceJobGroup.Get.ID) => Promise<Service.OcrInvoiceJobGroup.Get.Result>;
627
+ create: (body: Service.OcrInvoiceJobGroup.Create.Body) => Promise<Service.OcrInvoiceJobGroup.Create.Result>;
628
+ };
629
+ activityAiSalesOrder: {
630
+ _path: "activity-ai-sales-order";
631
+ find: (params?: Service.ActivityAiSalesOrder.Find.Params) => Promise<Service.ActivityAiSalesOrder.Find.Result>;
632
+ get: (id: Service.ActivityAiSalesOrder.Get.ID) => Promise<Service.ActivityAiSalesOrder.Get.Result>;
633
+ create: (body: Service.ActivityAiSalesOrder.Create.Body) => Promise<Service.ActivityAiSalesOrder.Create.Result>;
634
+ };
635
+ ocrInvoiceJob: {
636
+ _path: "ocr-invoice-job";
637
+ find: (params?: Service.OcrInvoiceJob.Find.Params) => Promise<Service.OcrInvoiceJob.Find.Result>;
638
+ get: (id: Service.OcrInvoiceJob.Get.ID) => Promise<Service.OcrInvoiceJob.Get.Result>;
639
+ };
640
+ ocrInvoiceJobPage: {
641
+ _path: "ocr-invoice-job-page";
642
+ find: (params?: Service.OcrInvoiceJobPage.Find.Params) => Promise<Service.OcrInvoiceJobPage.Find.Result>;
643
+ get: (id: Service.OcrInvoiceJobPage.Get.ID) => Promise<Service.OcrInvoiceJobPage.Get.Result>;
644
+ update: (id: Service.OcrInvoiceJobPage.Update.ID, body: Service.OcrInvoiceJobPage.Update.Body) => Promise<Service.OcrInvoiceJobPage.Update.Result>;
645
+ };
1284
646
  }