repzo 1.0.145 → 1.0.146

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.
Files changed (4) hide show
  1. package/lib/index.d.ts +816 -1849
  2. package/lib/index.js +2200 -3560
  3. package/lib/types/index.d.ts +13393 -14649
  4. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1,199 +1,5 @@
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 declare const 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 REP_BALANCE_SUMMARY: "rep-balance-summary";
26
- readonly TAG: "tag";
27
- readonly WAREHOUSE: "warehouse";
28
- readonly ROUTE: "route";
29
- readonly PRODUCT_MODIFIERS_GROUP: "product-modifiers-group";
30
- readonly CHANNEL: "client-channel";
31
- readonly SPECIALITY: "speciality";
32
- readonly CLIENT_CONTACT: "client-contact";
33
- readonly PAYMENT_TERM: "paymentterms";
34
- readonly BANK: "banks";
35
- readonly BANK_LIST: "bankslists";
36
- readonly CUSTOM_STATUS: "custom-status";
37
- readonly CUSTOM_LIST: "custom-list";
38
- readonly CUSTOM_LIST_ITEM: "custom-list-item";
39
- readonly INVENTORY_ADJUSTMENT_REASON: "inventory-adjustment-reason";
40
- readonly WORKORDER: "workorder";
41
- readonly WORKORDER_REQUEST: "workorder-request";
42
- readonly SUPPLIER: "supplier";
43
- readonly QUICK_CONVERT_TO_PDF: "quick-convert-to-pdf";
44
- readonly VISIT: "visit";
45
- readonly INVOICE: "fullinvoices";
46
- readonly PROFORMA: "proforma";
47
- readonly PAYMENT: "payments";
48
- readonly REFUND: "refund";
49
- readonly SETTLEMENT: "settlement";
50
- readonly CHECK: "checks";
51
- readonly DAY: "day";
52
- readonly RECEIVING_MATERIAL: "receiving-material";
53
- readonly ADJUST_ACCOUNT: "adjust-account";
54
- readonly TRANSFER: "transfer";
55
- readonly MSL: "msl";
56
- readonly MSL_PRODUCT: "msl-products";
57
- readonly MEDIA_STORAGE: "media-storage";
58
- readonly STORECHECK_TEMPLATE: "storecheck-template";
59
- readonly ACTIVITY_STORECHECK: "activity-storecheck";
60
- readonly ADJUST_INVENTORY: "adjust-inventory";
61
- readonly INVENTORY: "inventory";
62
- readonly INTEGRATION_APP: "integration-app";
63
- readonly JOIN_ACTIONS_WEBHOOK: "svix-integration";
64
- readonly INTEGRATION_ACTION_LOG: "integration-action-log";
65
- readonly INTEGRATION_COMMAND_LOG: "integration-command-log";
66
- readonly PATCH_ACTION: "patch-action";
67
- readonly UPDATE_INTEGRATION_META: "update-integration-meta";
68
- readonly ASSET_PART_TYPE: "asset-part-type";
69
- readonly ASSET_PART: "asset-part";
70
- readonly ASSET_PART_UNIT: "asset-part-unit";
71
- readonly ASSET_PART_RECEIVAL: "asset-part-receival";
72
- readonly ASSET_PART_TRANSFER: "asset-part-transfer";
73
- readonly RETURN_ASSET_PART_UNIT: "return-asset-part-unit";
74
- readonly STORE_ASSET_PART_UNIT: "store-asset-part-unit";
75
- readonly OCR_INVOICE_JOB_TEMPLATE: "ocr-invoice-job-template";
76
- readonly OCR_INVOICE_JOB_GROUP: "ocr-invoice-job-group";
77
- readonly ACTIVITY_AI_SALES_ORDER: "activity-ai-sales-order";
78
- readonly OCR_INVOICE_JOB: "ocr-invoice-job";
79
- readonly OCR_INVOICE_JOB_PAGE: "ocr-invoice-job-page";
80
- readonly SETTINGS: "settings";
81
- readonly MAIL_UNSUBSCRIBE: "mail-unsubscribe";
82
- readonly APPROVAL_REQUEST: "approval-request";
83
- readonly SAFE_INVOICE_SERIAL_COUNTER: "safe-invoice-serial-counter";
84
- readonly CLIENT_LOCATION: "client-location";
85
- readonly ASSET_TYPE: "asset-type";
86
- readonly ASSET: "asset";
87
- readonly ASSET_UNIT: "asset-unit";
88
- readonly WORKORDER_PORTAL: "workorder-portal";
89
- readonly APPROVAL: "approvals";
90
- readonly ACTIVITY_FEEDBACK: "activity-feedback";
91
- readonly ACTIVITY_FEEDBACKV2: "activity-feedback-v2";
92
- readonly FEEDBACK_OPTION: "feedback-options";
93
- readonly WORKORDER_CATEGORY: "workorder-category";
94
- readonly CONTRACT: "contract";
95
- readonly CONTRACT_INSTALLMENT: "contract-installment";
96
- readonly WORKORDER_PORTAL_LINK: "workorder-portal-link";
97
- readonly CUSTOM_FIELD: "customfields";
98
- };
99
- export type EndPoints = (typeof end_points)[keyof typeof end_points];
100
- declare const availableService: readonly [
101
- "client",
102
- "product",
103
- "variant",
104
- "category",
105
- "sub_category",
106
- "brand",
107
- "product_group",
108
- "tax",
109
- "measureunit",
110
- "measureunitFamily",
111
- "media",
112
- "priceList",
113
- "priceListItem",
114
- "team",
115
- "returnReason",
116
- "rep",
117
- "tag",
118
- "warehouse",
119
- "route",
120
- "productModifiersGroup",
121
- "channel",
122
- "speciality",
123
- "clientContact",
124
- "paymentTerm",
125
- "bank",
126
- "bank_list",
127
- "customStatus",
128
- "customList",
129
- "customListItem",
130
- "inventoryAdjustmentReason",
131
- "workorder",
132
- "workorderRequest",
133
- "supplier",
134
- "quickConvertToPdf",
135
- "visit",
136
- "activityFeedback",
137
- "activityFeedbackV2",
138
- "feedbackOption",
139
- "invoice",
140
- "proforma",
141
- "payment",
142
- "refund",
143
- "settlement",
144
- "check",
145
- "day",
146
- "receivingMaterial",
147
- "adjustAccount",
148
- "transfer",
149
- "msl",
150
- "mslProduct",
151
- "mediaStorage",
152
- "storecheckTemplate",
153
- "activityStorecheck",
154
- "adjustInventory",
155
- "inventory",
156
- "integrationApp",
157
- "joinActionsWebHook",
158
- "patchAction",
159
- "updateIntegrationMeta",
160
- "assetPartType",
161
- "assetPart",
162
- "assetPartUnit",
163
- "assetPartReceival",
164
- "assetPartTransfer",
165
- "returnAssetPartUnit",
166
- "storeAssetPartUnit",
167
- "ocrInvoiceJobTemplate",
168
- "ocrInvoiceJobGroup",
169
- "activityAiSalesOrder",
170
- "ocrInvoiceJob",
171
- "ocrInvoiceJobPage",
172
- "settings",
173
- "mailUnsubscribe",
174
- "approvalRequest",
175
- "safeInvoiceSerialCounter",
176
- "clientLocation",
177
- "assetType",
178
- "asset",
179
- "assetUnit",
180
- "workorderPortal",
181
- "approval",
182
- "workorderCategory",
183
- "contract",
184
- "contractInstallment",
185
- "repBalanceSummary",
186
- "workorderPortalLink",
187
- "customField",
188
- ];
189
- export type AvailableService = (typeof availableService)[number];
190
- export default class Repzo {
191
- private svAPIEndpoint;
192
- headers: Headers;
193
- private timeout;
194
- constructor(apiKey: string, options?: Options);
195
- private static _end_points;
196
- static get END_POINTS(): {
197
3
  readonly CLIENT: "client";
198
4
  readonly PRODUCT: "product";
199
5
  readonly VARIANT: "variant";
@@ -283,1661 +89,822 @@ export default class Repzo {
283
89
  readonly CONTRACT_INSTALLMENT: "contract-installment";
284
90
  readonly WORKORDER_PORTAL_LINK: "workorder-portal-link";
285
91
  readonly CUSTOM_FIELD: "customfields";
286
- };
287
- private _fetch;
288
- private _create;
289
- private _update;
290
- private _patch;
291
- private _delete;
292
- available_services: readonly [
293
- "client",
294
- "product",
295
- "variant",
296
- "category",
297
- "sub_category",
298
- "brand",
299
- "product_group",
300
- "tax",
301
- "measureunit",
302
- "measureunitFamily",
303
- "media",
304
- "priceList",
305
- "priceListItem",
306
- "team",
307
- "returnReason",
308
- "rep",
309
- "tag",
310
- "warehouse",
311
- "route",
312
- "productModifiersGroup",
313
- "channel",
314
- "speciality",
315
- "clientContact",
316
- "paymentTerm",
317
- "bank",
318
- "bank_list",
319
- "customStatus",
320
- "customList",
321
- "customListItem",
322
- "inventoryAdjustmentReason",
323
- "workorder",
324
- "workorderRequest",
325
- "supplier",
326
- "quickConvertToPdf",
327
- "visit",
328
- "activityFeedback",
329
- "activityFeedbackV2",
330
- "feedbackOption",
331
- "invoice",
332
- "proforma",
333
- "payment",
334
- "refund",
335
- "settlement",
336
- "check",
337
- "day",
338
- "receivingMaterial",
339
- "adjustAccount",
340
- "transfer",
341
- "msl",
342
- "mslProduct",
343
- "mediaStorage",
344
- "storecheckTemplate",
345
- "activityStorecheck",
346
- "adjustInventory",
347
- "inventory",
348
- "integrationApp",
349
- "joinActionsWebHook",
350
- "patchAction",
351
- "updateIntegrationMeta",
352
- "assetPartType",
353
- "assetPart",
354
- "assetPartUnit",
355
- "assetPartReceival",
356
- "assetPartTransfer",
357
- "returnAssetPartUnit",
358
- "storeAssetPartUnit",
359
- "ocrInvoiceJobTemplate",
360
- "ocrInvoiceJobGroup",
361
- "activityAiSalesOrder",
362
- "ocrInvoiceJob",
363
- "ocrInvoiceJobPage",
364
- "settings",
365
- "mailUnsubscribe",
366
- "approvalRequest",
367
- "safeInvoiceSerialCounter",
368
- "clientLocation",
369
- "assetType",
370
- "asset",
371
- "assetUnit",
372
- "workorderPortal",
373
- "approval",
374
- "workorderCategory",
375
- "contract",
376
- "contractInstallment",
377
- "repBalanceSummary",
378
- "workorderPortalLink",
379
- "customField",
380
- ];
381
- client: {
382
- _path: "client";
383
- find: (
384
- params?: Service.Client.Find.Params,
385
- ) => Promise<Service.Client.Find.Result>;
386
- get: (
387
- id: Service.Client.Get.ID,
388
- params?: Service.Client.Get.Params,
389
- ) => Promise<Service.Client.Get.Result>;
390
- create: (
391
- body: Service.Client.Create.Body,
392
- ) => Promise<Service.Client.Create.Result>;
393
- update: (
394
- id: Service.Client.Update.ID,
395
- body: Service.Client.Update.Body,
396
- ) => Promise<Service.Client.Update.Result>;
397
- remove: (
398
- id: Service.Client.Remove.ID,
399
- ) => Promise<Service.Client.Remove.Result>;
400
- };
401
- product: {
402
- _path: "product";
403
- find: (
404
- params?: Service.Product.Find.Params,
405
- ) => Promise<Service.Product.Find.Result>;
406
- get: (
407
- id: Service.Product.Get.ID,
408
- params?: Service.Product.Get.Params,
409
- ) => Promise<Service.Product.Get.Result>;
410
- create: (
411
- body: Service.Product.Create.Body,
412
- ) => Promise<Service.Product.Create.Result>;
413
- update: (
414
- id: Service.Product.Update.ID,
415
- body: Service.Product.Update.Body,
416
- ) => Promise<Service.Product.Update.Result>;
417
- remove: (
418
- id: Service.Product.Remove.ID,
419
- ) => Promise<Service.Product.Remove.Result>;
420
- };
421
- variant: {
422
- _path: "variant";
423
- find: (
424
- params?: Service.Variant.Find.Params,
425
- ) => Promise<Service.Variant.Find.Result>;
426
- get: (
427
- id: Service.Variant.Get.ID,
428
- params?: Service.Variant.Get.Params,
429
- ) => Promise<Service.Variant.Get.Result>;
430
- create: (
431
- body: Service.Variant.Create.Body,
432
- ) => Promise<Service.Variant.Create.Result>;
433
- update: (
434
- id: Service.Variant.Update.ID,
435
- body: Service.Variant.Update.Body,
436
- ) => Promise<Service.Variant.Update.Result>;
437
- remove: (
438
- id: Service.Variant.Remove.ID,
439
- ) => Promise<Service.Variant.Remove.Result>;
440
- };
441
- category: {
442
- _path: "product-category";
443
- find: (
444
- params?: Service.Category.Find.Params,
445
- ) => Promise<Service.Category.Find.Result>;
446
- get: (id: Service.Category.Get.ID) => Promise<Service.Category.Get.Result>;
447
- create: (
448
- body: Service.Category.Create.Body,
449
- ) => Promise<Service.Category.Create.Result>;
450
- update: (
451
- id: Service.Category.Update.ID,
452
- body: Service.Category.Update.Body,
453
- ) => Promise<Service.Category.Update.Result>;
454
- remove: (
455
- id: Service.Category.Remove.ID,
456
- ) => Promise<Service.Category.Remove.Result>;
457
- };
458
- sub_category: {
459
- _path: "product-sub-category";
460
- find: (
461
- params?: Service.SubCategory.Find.Params,
462
- ) => Promise<Service.SubCategory.Find.Result>;
463
- get: (
464
- id: Service.SubCategory.Get.ID,
465
- params?: Service.SubCategory.Get.Params,
466
- ) => Promise<Service.SubCategory.Get.Result>;
467
- create: (
468
- body: Service.SubCategory.Create.Body,
469
- ) => Promise<Service.SubCategory.Create.Result>;
470
- update: (
471
- id: Service.SubCategory.Update.ID,
472
- body: Service.SubCategory.Update.Body,
473
- ) => Promise<Service.SubCategory.Update.Result>;
474
- remove: (
475
- id: Service.SubCategory.Remove.ID,
476
- ) => Promise<Service.SubCategory.Remove.Result>;
477
- };
478
- brand: {
479
- _path: "product-brand";
480
- find: (
481
- params?: Service.Brand.Find.Params,
482
- ) => Promise<Service.Brand.Find.Result>;
483
- get: (id: Service.Brand.Get.ID) => Promise<Service.Brand.Get.Result>;
484
- create: (
485
- body: Service.Brand.Create.Body,
486
- ) => Promise<Service.Brand.Create.Result>;
487
- update: (
488
- id: Service.Brand.Update.ID,
489
- body: Service.Brand.Update.Body,
490
- ) => Promise<Service.Brand.Update.Result>;
491
- remove: (
492
- id: Service.Brand.Remove.ID,
493
- ) => Promise<Service.Brand.Remove.Result>;
494
- };
495
- product_group: {
496
- _path: "product-group";
497
- find: (
498
- params?: Service.ProductGroup.Find.Params,
499
- ) => Promise<Service.ProductGroup.Find.Result>;
500
- get: (
501
- id: Service.ProductGroup.Get.ID,
502
- ) => Promise<Service.ProductGroup.Get.Result>;
503
- create: (
504
- body: Service.ProductGroup.Create.Body,
505
- ) => Promise<Service.ProductGroup.Create.Result>;
506
- update: (
507
- id: Service.ProductGroup.Update.ID,
508
- body: Service.ProductGroup.Update.Body,
509
- ) => Promise<Service.ProductGroup.Update.Result>;
510
- remove: (
511
- id: Service.ProductGroup.Remove.ID,
512
- ) => Promise<Service.ProductGroup.Remove.Result>;
513
- };
514
- tax: {
515
- _path: "tax";
516
- find: (
517
- params?: Service.Tax.Find.Params,
518
- ) => Promise<Service.Tax.Find.Result>;
519
- get: (id: Service.Tax.Get.ID) => Promise<Service.Tax.Get.Result>;
520
- create: (
521
- body: Service.Tax.Create.Body,
522
- ) => Promise<Service.Tax.Create.Result>;
523
- update: (
524
- id: Service.Tax.Update.ID,
525
- body: Service.Tax.Update.Body,
526
- ) => Promise<Service.Tax.Update.Result>;
527
- remove: (id: Service.Tax.Remove.ID) => Promise<Service.Tax.Remove.Result>;
528
- };
529
- measureunit: {
530
- _path: "measureunits";
531
- find: (
532
- params?: Service.MeasureUnit.Find.Params,
533
- ) => Promise<Service.MeasureUnit.Find.Result>;
534
- get: (
535
- id: Service.MeasureUnit.Get.ID,
536
- ) => Promise<Service.MeasureUnit.Get.Result>;
537
- create: (
538
- body: Service.MeasureUnit.Create.Body,
539
- ) => Promise<Service.MeasureUnit.Create.Result>;
540
- update: (
541
- id: Service.MeasureUnit.Update.ID,
542
- body: Service.MeasureUnit.Update.Body,
543
- ) => Promise<Service.MeasureUnit.Update.Result>;
544
- remove: (
545
- id: Service.MeasureUnit.Remove.ID,
546
- ) => Promise<Service.MeasureUnit.Remove.Result>;
547
- };
548
- measureunitFamily: {
549
- _path: "measureunit-family";
550
- find: (
551
- params?: Service.MeasureUnitFamily.Find.Params,
552
- ) => Promise<Service.MeasureUnitFamily.Find.Result>;
553
- get: (
554
- id: Service.MeasureUnitFamily.Get.ID,
555
- ) => Promise<Service.MeasureUnitFamily.Get.Result>;
556
- create: (
557
- body: Service.MeasureUnitFamily.Create.Body,
558
- ) => Promise<Service.MeasureUnitFamily.Create.Result>;
559
- update: (
560
- id: Service.MeasureUnitFamily.Update.ID,
561
- body: Service.MeasureUnitFamily.Update.Body,
562
- ) => Promise<Service.MeasureUnitFamily.Update.Result>;
563
- remove: (
564
- id: Service.MeasureUnitFamily.Remove.ID,
565
- ) => Promise<Service.MeasureUnitFamily.Remove.Result>;
566
- };
567
- media: {
568
- _path: "media";
569
- find: (
570
- params?: Service.Media.Find.Params,
571
- ) => Promise<Service.Media.Find.Result>;
572
- get: (id: Service.Media.Get.ID) => Promise<Service.Media.Get.Result>;
573
- create: (
574
- body: Service.Media.Create.Body,
575
- ) => Promise<Service.Media.Create.Result>;
576
- update: (
577
- id: Service.Media.Update.ID,
578
- body: Service.Media.Update.Body,
579
- ) => Promise<Service.Media.Update.Result>;
580
- remove: (
581
- id: Service.Media.Remove.ID,
582
- ) => Promise<Service.Media.Remove.Result>;
583
- };
584
- priceList: {
585
- _path: "pricelists";
586
- find: (
587
- params?: Service.PriceList.Find.Params,
588
- ) => Promise<Service.PriceList.Find.Result>;
589
- get: (
590
- id: Service.PriceList.Get.ID,
591
- ) => Promise<Service.PriceList.Get.Result>;
592
- create: (
593
- body: Service.PriceList.Create.Body,
594
- ) => Promise<Service.PriceList.Create.Result>;
595
- update: (
596
- id: Service.PriceList.Update.ID,
597
- body: Service.PriceList.Update.Body,
598
- ) => Promise<Service.PriceList.Update.Result>;
599
- remove: (
600
- id: Service.PriceList.Remove.ID,
601
- ) => Promise<Service.PriceList.Remove.Result>;
602
- };
603
- priceListItem: {
604
- _path: "pricelistsitems";
605
- find: (
606
- params?: Service.PriceListItem.Find.Params,
607
- ) => Promise<Service.PriceListItem.Find.Result>;
608
- get: (
609
- id: Service.PriceListItem.Get.ID,
610
- ) => Promise<Service.PriceListItem.Get.Result>;
611
- create: (
612
- body: Service.PriceListItem.Create.Body,
613
- ) => Promise<Service.PriceListItem.Create.Result>;
614
- update: (
615
- id: Service.PriceListItem.Update.ID,
616
- body: Service.PriceListItem.Update.Body,
617
- ) => Promise<Service.PriceListItem.Update.Result>;
618
- remove: (
619
- id: Service.PriceListItem.Remove.ID,
620
- ) => Promise<Service.PriceListItem.Remove.Result>;
621
- };
622
- team: {
623
- _path: "teams";
624
- find: (
625
- params?: Service.Team.Find.Params,
626
- ) => Promise<Service.Team.Find.Result>;
627
- get: (id: Service.Team.Get.ID) => Promise<Service.Team.Get.Result>;
628
- create: (
629
- body: Service.Team.Create.Body,
630
- ) => Promise<Service.Team.Create.Result>;
631
- update: (
632
- id: Service.Team.Update.ID,
633
- body: Service.Team.Update.Body,
634
- ) => Promise<Service.Team.Update.Result>;
635
- remove: (id: Service.Team.Remove.ID) => Promise<Service.Team.Remove.Result>;
636
- };
637
- returnReason: {
638
- _path: "return-reason";
639
- find: (
640
- params?: Service.ReturnReason.Find.Params,
641
- ) => Promise<Service.ReturnReason.Find.Result>;
642
- get: (
643
- id: Service.ReturnReason.Get.ID,
644
- ) => Promise<Service.ReturnReason.Get.Result>;
645
- create: (
646
- body: Service.ReturnReason.Create.Body,
647
- ) => Promise<Service.ReturnReason.Create.Result>;
648
- update: (
649
- id: Service.ReturnReason.Update.ID,
650
- body: Service.ReturnReason.Update.Body,
651
- ) => Promise<Service.ReturnReason.Update.Result>;
652
- remove: (
653
- id: Service.ReturnReason.Remove.ID,
654
- ) => Promise<Service.ReturnReason.Remove.Result>;
655
- };
656
- rep: {
657
- _path: "rep";
658
- find: (
659
- params?: Service.Rep.Find.Params,
660
- ) => Promise<Service.Rep.Find.Result>;
661
- get: (
662
- id: Service.Rep.Get.ID,
663
- params?: Service.Client.Get.Params,
664
- ) => Promise<Service.Rep.Get.Result>;
665
- create: (
666
- body: Service.Rep.Create.Body,
667
- ) => Promise<Service.Rep.Create.Result>;
668
- update: (
669
- id: Service.Rep.Update.ID,
670
- body: Service.Rep.Update.Body,
671
- ) => Promise<Service.Rep.Update.Result>;
672
- remove: (id: Service.Rep.Remove.ID) => Promise<Service.Rep.Remove.Result>;
673
- };
674
- tag: {
675
- _path: "tag";
676
- find: (
677
- params?: Service.Tag.Find.Params,
678
- ) => Promise<Service.Tag.Find.Result>;
679
- get: (id: Service.Tag.Get.ID) => Promise<Service.Tag.Get.Result>;
680
- create: (
681
- body: Service.Tag.Create.Body,
682
- ) => Promise<Service.Tag.Create.Result>;
683
- update: (
684
- id: Service.Tag.Update.ID,
685
- body: Service.Tag.Update.Body,
686
- ) => Promise<Service.Tag.Update.Result>;
687
- remove: (id: Service.Tag.Remove.ID) => Promise<Service.Tag.Remove.Result>;
688
- };
689
- warehouse: {
690
- _path: "warehouse";
691
- find: (
692
- params?: Service.Warehouse.Find.Params,
693
- ) => Promise<Service.Warehouse.Find.Result>;
694
- get: (
695
- id: Service.Warehouse.Get.ID,
696
- ) => Promise<Service.Warehouse.Get.Result>;
697
- create: (
698
- body: Service.Warehouse.Create.Body,
699
- ) => Promise<Service.Warehouse.Create.Result>;
700
- update: (
701
- id: Service.Warehouse.Update.ID,
702
- body: Service.Warehouse.Update.Body,
703
- ) => Promise<Service.Warehouse.Update.Result>;
704
- remove: (
705
- id: Service.Warehouse.Remove.ID,
706
- ) => Promise<Service.Warehouse.Remove.Result>;
707
- };
708
- route: {
709
- _path: "route";
710
- find: (
711
- params?: Service.Route.Find.Params,
712
- ) => Promise<Service.Route.Find.Result>;
713
- get: (id: Service.Route.Get.ID) => Promise<Service.Route.Get.Result>;
714
- create: (
715
- body: Service.Route.Create.Body,
716
- ) => Promise<Service.Route.Create.Result>;
717
- update: (
718
- id: Service.Route.Update.ID,
719
- body: Service.Route.Update.Body,
720
- ) => Promise<Service.Route.Update.Result>;
721
- remove: (
722
- id: Service.Route.Remove.ID,
723
- ) => Promise<Service.Route.Remove.Result>;
724
- };
725
- productModifiersGroup: {
726
- _path: "product-modifiers-group";
727
- find: (
728
- params?: Service.ProductModifiersGroup.Find.Params,
729
- ) => Promise<Service.ProductModifiersGroup.Find.Result>;
730
- get: (
731
- id: Service.ProductModifiersGroup.Get.ID,
732
- ) => Promise<Service.ProductModifiersGroup.Get.Result>;
733
- create: (
734
- body: Service.ProductModifiersGroup.Create.Body,
735
- ) => Promise<Service.ProductModifiersGroup.Create.Result>;
736
- update: (
737
- id: Service.ProductModifiersGroup.Update.ID,
738
- body: Service.ProductModifiersGroup.Update.Body,
739
- ) => Promise<Service.ProductModifiersGroup.Update.Result>;
740
- remove: (
741
- id: Service.ProductModifiersGroup.Remove.ID,
742
- ) => Promise<Service.ProductModifiersGroup.Remove.Result>;
743
- };
744
- channel: {
745
- _path: "client-channel";
746
- find: (
747
- params?: Service.Channel.Find.Params,
748
- ) => Promise<Service.Channel.Find.Result>;
749
- get: (id: Service.Channel.Get.ID) => Promise<Service.Channel.Get.Result>;
750
- create: (
751
- body: Service.Channel.Create.Body,
752
- ) => Promise<Service.Channel.Create.Result>;
753
- update: (
754
- id: Service.Channel.Update.ID,
755
- body: Service.Channel.Update.Body,
756
- ) => Promise<Service.Channel.Update.Result>;
757
- remove: (
758
- id: Service.Channel.Remove.ID,
759
- ) => Promise<Service.Channel.Remove.Result>;
760
- };
761
- speciality: {
762
- _path: "speciality";
763
- find: (
764
- params?: Service.Speciality.Find.Params,
765
- ) => Promise<Service.Speciality.Find.Result>;
766
- get: (
767
- id: Service.Speciality.Get.ID,
768
- ) => Promise<Service.Speciality.Get.Result>;
769
- create: (
770
- body: Service.Speciality.Create.Body,
771
- ) => Promise<Service.Speciality.Create.Result>;
772
- update: (
773
- id: Service.Speciality.Update.ID,
774
- body: Service.Speciality.Update.Body,
775
- ) => Promise<Service.Speciality.Update.Result>;
776
- remove: (
777
- id: Service.Speciality.Remove.ID,
778
- ) => Promise<Service.Speciality.Remove.Result>;
779
- };
780
- clientContact: {
781
- _path: "client-contact";
782
- find: (
783
- params?: Service.ClientContact.Find.Params,
784
- ) => Promise<Service.ClientContact.Find.Result>;
785
- get: (
786
- id: Service.ClientContact.Get.ID,
787
- ) => Promise<Service.ClientContact.Get.Result>;
788
- create: (
789
- body: Service.ClientContact.Create.Body,
790
- ) => Promise<Service.ClientContact.Create.Result>;
791
- update: (
792
- id: Service.ClientContact.Update.ID,
793
- body: Service.ClientContact.Update.Body,
794
- ) => Promise<Service.ClientContact.Update.Result>;
795
- remove: (
796
- id: Service.ClientContact.Remove.ID,
797
- ) => Promise<Service.ClientContact.Remove.Result>;
798
- };
799
- paymentTerm: {
800
- _path: "paymentterms";
801
- find: (
802
- params?: Service.PaymentTerm.Find.Params,
803
- ) => Promise<Service.PaymentTerm.Find.Result>;
804
- get: (
805
- id: Service.PaymentTerm.Get.ID,
806
- ) => Promise<Service.PaymentTerm.Get.Result>;
807
- create: (
808
- body: Service.PaymentTerm.Create.Body,
809
- ) => Promise<Service.PaymentTerm.Create.Result>;
810
- update: (
811
- id: Service.PaymentTerm.Update.ID,
812
- body: Service.PaymentTerm.Update.Body,
813
- ) => Promise<Service.PaymentTerm.Update.Result>;
814
- remove: (
815
- id: Service.PaymentTerm.Remove.ID,
816
- ) => Promise<Service.PaymentTerm.Remove.Result>;
817
- };
818
- bank: {
819
- _path: "banks";
820
- find: (
821
- params?: Service.Bank.Find.Params,
822
- ) => Promise<Service.Bank.Find.Result>;
823
- get: (id: Service.Bank.Get.ID) => Promise<Service.Bank.Get.Result>;
824
- create: (
825
- body: Service.Bank.Create.Body,
826
- ) => Promise<Service.Bank.Create.Result>;
827
- update: (
828
- id: Service.Bank.Update.ID,
829
- body: Service.Bank.Update.Body,
830
- ) => Promise<Service.Bank.Update.Result>;
831
- };
832
- bank_list: {
833
- _path: "bankslists";
834
- find: (
835
- params?: Service.BankList.Find.Params,
836
- ) => Promise<Service.BankList.Find.Result>;
837
- get: (id: Service.BankList.Get.ID) => Promise<Service.BankList.Get.Result>;
838
- create: (
839
- body: Service.BankList.Create.Body,
840
- ) => Promise<Service.BankList.Create.Result>;
841
- update: (
842
- id: Service.BankList.Update.ID,
843
- body: Service.BankList.Update.Body,
844
- ) => Promise<Service.BankList.Update.Result>;
845
- };
846
- customStatus: {
847
- _path: "custom-status";
848
- find: (
849
- params?: Service.CustomStatus.Find.Params,
850
- ) => Promise<Service.CustomStatus.Find.Result>;
851
- get: (
852
- id: Service.CustomStatus.Get.ID,
853
- ) => Promise<Service.CustomStatus.Get.Result>;
854
- create: (
855
- body: Service.CustomStatus.Create.Body,
856
- ) => Promise<Service.CustomStatus.Create.Result>;
857
- update: (
858
- id: Service.CustomStatus.Update.ID,
859
- body: Service.CustomStatus.Update.Body,
860
- ) => Promise<Service.CustomStatus.Update.Result>;
861
- remove: (
862
- id: Service.CustomStatus.Remove.ID,
863
- ) => Promise<Service.CustomStatus.Remove.Result>;
864
- };
865
- customList: {
866
- _path: "custom-list";
867
- find: (
868
- params?: Service.CustomList.Find.Params,
869
- ) => Promise<Service.CustomList.Find.Result>;
870
- get: (
871
- id: Service.CustomList.Get.ID,
872
- params?: Service.CustomList.Get.Params,
873
- ) => Promise<Service.CustomList.Get.Result>;
874
- create: (
875
- body: Service.CustomList.Create.Body,
876
- ) => Promise<Service.CustomList.Create.Result>;
877
- update: (
878
- id: Service.CustomList.Update.ID,
879
- body: Service.CustomList.Update.Body,
880
- ) => Promise<Service.CustomList.Update.Result>;
881
- remove: (
882
- id: Service.CustomList.Remove.ID,
883
- ) => Promise<Service.CustomList.Remove.Result>;
884
- };
885
- customListItem: {
886
- _path: "custom-list-item";
887
- find: (
888
- params?: Service.CustomListItem.Find.Params,
889
- ) => Promise<Service.CustomListItem.Find.Result>;
890
- get: (
891
- id: Service.CustomListItem.Get.ID,
892
- params?: Service.CustomListItem.Get.Params,
893
- ) => Promise<Service.CustomListItem.Get.Result>;
894
- create: (
895
- body: Service.CustomListItem.Create.Body,
896
- ) => Promise<Service.CustomListItem.Create.Result>;
897
- update: (
898
- id: Service.CustomListItem.Update.ID,
899
- body: Service.CustomListItem.Update.Body,
900
- ) => Promise<Service.CustomListItem.Update.Result>;
901
- remove: (
902
- id: Service.CustomListItem.Remove.ID,
903
- ) => Promise<Service.CustomListItem.Remove.Result>;
904
- };
905
- inventoryAdjustmentReason: {
906
- _path: "inventory-adjustment-reason";
907
- find: (
908
- params?: Service.InventoryAdjustmentReason.Find.Params,
909
- ) => Promise<Service.InventoryAdjustmentReason.Find.Result>;
910
- get: (
911
- id: Service.InventoryAdjustmentReason.Get.ID,
912
- ) => Promise<Service.InventoryAdjustmentReason.Get.Result>;
913
- create: (
914
- body: Service.InventoryAdjustmentReason.Create.Body,
915
- ) => Promise<Service.InventoryAdjustmentReason.Create.Result>;
916
- update: (
917
- id: Service.InventoryAdjustmentReason.Update.ID,
918
- body: Service.InventoryAdjustmentReason.Update.Body,
919
- ) => Promise<Service.InventoryAdjustmentReason.Update.Result>;
920
- remove: (
921
- id: Service.InventoryAdjustmentReason.Remove.ID,
922
- ) => Promise<Service.InventoryAdjustmentReason.Remove.Result>;
923
- };
924
- workorder: {
925
- _path: "workorder";
926
- find: (
927
- params?: Service.Workorder.Find.Params,
928
- ) => Promise<Service.Workorder.Find.Result>;
929
- get: (
930
- id: Service.Workorder.Get.ID,
931
- params?: Service.Workorder.Get.Params,
932
- ) => Promise<Service.Workorder.Get.Result>;
933
- create: (
934
- body: Service.Workorder.Create.Body,
935
- ) => Promise<Service.Workorder.Create.Result>;
936
- update: (
937
- id: Service.Workorder.Update.ID,
938
- body: Service.Workorder.Update.Body,
939
- ) => Promise<Service.Workorder.Update.Result>;
940
- remove: (
941
- id: Service.Workorder.Remove.ID,
942
- ) => Promise<Service.Workorder.Remove.Result>;
943
- };
944
- workorderRequest: {
945
- _path: "workorder-request";
946
- find: (
947
- params?: Service.WorkorderRequest.Find.Params,
948
- ) => Promise<Service.WorkorderRequest.Find.Result>;
949
- get: (
950
- id: Service.WorkorderRequest.Get.ID,
951
- params?: Service.WorkorderRequest.Get.Params,
952
- ) => Promise<Service.WorkorderRequest.Get.Result>;
953
- create: (
954
- body: Service.WorkorderRequest.Create.Body,
955
- ) => Promise<Service.WorkorderRequest.Create.Result>;
956
- update: (
957
- id: Service.WorkorderRequest.Update.ID,
958
- body: Service.WorkorderRequest.Update.Body,
959
- ) => Promise<Service.WorkorderRequest.Update.Result>;
960
- remove: (
961
- id: Service.WorkorderRequest.Remove.ID,
962
- ) => Promise<Service.WorkorderRequest.Remove.Result>;
963
- };
964
- supplier: {
965
- _path: "supplier";
966
- find: (
967
- params?: Service.Supplier.Find.Params,
968
- ) => Promise<Service.Supplier.Find.Result>;
969
- get: (
970
- id: Service.Supplier.Get.ID,
971
- params?: Service.Supplier.Get.Params,
972
- ) => Promise<Service.Supplier.Get.Result>;
973
- create: (
974
- body: Service.Supplier.Create.Body,
975
- ) => Promise<Service.Supplier.Create.Result>;
976
- update: (
977
- id: Service.Supplier.Update.ID,
978
- body: Service.Supplier.Update.Body,
979
- ) => Promise<Service.Supplier.Update.Result>;
980
- };
981
- quickConvertToPdf: {
982
- _path: "quick-convert-to-pdf";
983
- find: (
984
- params?: Service.QuickConvertToPdf.Find.Params,
985
- ) => Promise<Service.QuickConvertToPdf.Find.Result>;
986
- get: (
987
- id: Service.QuickConvertToPdf.Get.ID,
988
- params?: Service.QuickConvertToPdf.Get.Params,
989
- ) => Promise<Service.QuickConvertToPdf.Get.Result>;
990
- create: (
991
- body: Service.QuickConvertToPdf.Create.Body,
992
- ) => Promise<Service.QuickConvertToPdf.Create.Result>;
993
- remove: (
994
- id: Service.QuickConvertToPdf.Remove.ID,
995
- ) => Promise<Service.QuickConvertToPdf.Remove.Result>;
996
- };
997
- visit: {
998
- _path: "visit";
999
- find: (
1000
- params?: Service.Visit.Find.Params,
1001
- ) => Promise<Service.Visit.Find.Result>;
1002
- get: (
1003
- id: Service.Visit.Get.ID,
1004
- params?: Service.Visit.Get.Params,
1005
- ) => Promise<Service.Visit.Get.Result>;
1006
- create: (
1007
- body: Service.Visit.Create.Body,
1008
- ) => Promise<Service.Visit.Create.Result>;
1009
- update: (
1010
- id: Service.Visit.Update.ID,
1011
- body: Service.Visit.Update.Body,
1012
- ) => Promise<Service.Visit.Update.Result>;
1013
- };
1014
- activityFeedback: {
1015
- _path: "activity-feedback";
1016
- find: (
1017
- params?: Service.ActivityFeedback.Find.Params,
1018
- ) => Promise<Service.ActivityFeedback.Find.Result>;
1019
- get: (
1020
- id: Service.ActivityFeedback.Get.ID,
1021
- params?: Service.ActivityFeedback.Get.Params,
1022
- ) => Promise<Service.ActivityFeedback.Get.Result>;
1023
- create: (
1024
- body: Service.ActivityFeedback.Create.Body,
1025
- ) => Promise<Service.ActivityFeedback.Create.Result>;
1026
- update: (
1027
- id: Service.ActivityFeedback.Update.ID,
1028
- body: Service.ActivityFeedback.Update.Body,
1029
- ) => Promise<Service.ActivityFeedback.Update.Result>;
1030
- };
1031
- activityFeedbackV2: {
1032
- _path: "activity-feedback-v2";
1033
- find: (
1034
- params?: Service.ActivityFeedbackV2.Find.Params,
1035
- ) => Promise<Service.ActivityFeedbackV2.Find.Result>;
1036
- get: (
1037
- id: Service.ActivityFeedbackV2.Get.ID,
1038
- params?: Service.ActivityFeedbackV2.Get.Params,
1039
- ) => Promise<Service.ActivityFeedbackV2.Get.Result>;
1040
- create: (
1041
- body: Service.ActivityFeedbackV2.Create.Body,
1042
- ) => Promise<Service.ActivityFeedbackV2.Create.Result>;
1043
- update: (
1044
- id: Service.ActivityFeedbackV2.Update.ID,
1045
- body: Service.ActivityFeedbackV2.Update.Body,
1046
- ) => Promise<Service.ActivityFeedbackV2.Update.Result>;
1047
- };
1048
- feedbackOption: {
1049
- _path: "feedback-options";
1050
- find: (
1051
- params?: Service.FeedbackOption.Find.Params,
1052
- ) => Promise<Service.FeedbackOption.Find.Result>;
1053
- get: (
1054
- id: Service.FeedbackOption.Get.ID,
1055
- params?: Service.FeedbackOption.Get.Params,
1056
- ) => Promise<Service.FeedbackOption.Get.Result>;
1057
- create: (
1058
- body: Service.FeedbackOption.Create.Body,
1059
- ) => Promise<Service.FeedbackOption.Create.Result>;
1060
- update: (
1061
- id: Service.FeedbackOption.Update.ID,
1062
- body: Service.FeedbackOption.Update.Body,
1063
- ) => Promise<Service.FeedbackOption.Update.Result>;
1064
- };
1065
- invoice: {
1066
- _path: "fullinvoices";
1067
- find: (
1068
- params?: Service.FullInvoice.Find.Params,
1069
- ) => Promise<Service.FullInvoice.Find.Result>;
1070
- get: (
1071
- id: Service.FullInvoice.Get.ID,
1072
- params?: Service.FullInvoice.Get.Params,
1073
- ) => Promise<Service.FullInvoice.Get.Result>;
1074
- create: (
1075
- body: Service.FullInvoice.Create.Body,
1076
- ) => Promise<Service.FullInvoice.Create.Result>;
1077
- update: (
1078
- id: Service.FullInvoice.Update.ID,
1079
- body: Service.FullInvoice.Update.Body,
1080
- ) => Promise<Service.FullInvoice.Update.Result>;
1081
- };
1082
- proforma: {
1083
- _path: "proforma";
1084
- find: (
1085
- params?: Service.Proforma.Find.Params,
1086
- ) => Promise<Service.Proforma.Find.Result>;
1087
- get: (
1088
- id: Service.Proforma.Get.ID,
1089
- params?: Service.Proforma.Get.Params,
1090
- ) => Promise<Service.Proforma.Get.Result>;
1091
- create: (
1092
- body: Service.Proforma.Create.Body,
1093
- ) => Promise<Service.Proforma.Create.Result>;
1094
- update: (
1095
- id: Service.Proforma.Update.ID,
1096
- body: Service.Proforma.Update.Body,
1097
- ) => Promise<Service.Proforma.Update.Result>;
1098
- };
1099
- payment: {
1100
- _path: "payments";
1101
- find: (
1102
- params?: Service.Payment.Find.Params,
1103
- ) => Promise<Service.Payment.Find.Result>;
1104
- get: (
1105
- id: Service.Payment.Get.ID,
1106
- params?: Service.Payment.Get.Params,
1107
- ) => Promise<Service.Payment.Get.Result>;
1108
- create: (
1109
- body: Service.Payment.Create.Body,
1110
- ) => Promise<Service.Payment.Create.Result>;
1111
- update: (
1112
- id: Service.Payment.Update.ID,
1113
- body: Service.Payment.Update.Body,
1114
- ) => Promise<Service.Payment.Update.Result>;
1115
- };
1116
- refund: {
1117
- _path: "refund";
1118
- find: (
1119
- params?: Service.Refund.Find.Params,
1120
- ) => Promise<Service.Refund.Find.Result>;
1121
- get: (
1122
- id: Service.Refund.Get.ID,
1123
- params?: Service.Refund.Get.Params,
1124
- ) => Promise<Service.Refund.Get.Result>;
1125
- create: (
1126
- body: Service.Refund.Create.Body,
1127
- ) => Promise<Service.Refund.Create.Result>;
1128
- update: (
1129
- id: Service.Refund.Update.ID,
1130
- body: Service.Refund.Update.Body,
1131
- ) => Promise<Service.Refund.Update.Result>;
1132
- };
1133
- settlement: {
1134
- _path: "settlement";
1135
- find: (
1136
- params?: Service.Settlement.Find.Params,
1137
- ) => Promise<Service.Settlement.Find.Result>;
1138
- get: (
1139
- id: Service.Settlement.Get.ID,
1140
- params?: Service.Settlement.Get.Params,
1141
- ) => Promise<Service.Settlement.Get.Result>;
1142
- create: (
1143
- body: Service.Settlement.Create.Body,
1144
- ) => Promise<Service.Settlement.Create.Result>;
1145
- };
1146
- check: {
1147
- _path: "checks";
1148
- find: (
1149
- params?: Service.Check.Find.Params,
1150
- ) => Promise<Service.Check.Find.Result>;
1151
- get: (
1152
- id: Service.Check.Get.ID,
1153
- params?: Service.Check.Get.Params,
1154
- ) => Promise<Service.Check.Get.Result>;
1155
- create: (
1156
- body: Service.Check.Create.Body,
1157
- ) => Promise<Service.Check.Create.Result>;
1158
- };
1159
- day: {
1160
- _path: "day";
1161
- find: (
1162
- params?: Service.Day.Find.Params,
1163
- ) => Promise<Service.Day.Find.Result>;
1164
- get: (
1165
- id: Service.Day.Get.ID,
1166
- params?: Service.Day.Get.Params,
1167
- ) => Promise<Service.Day.Get.Result>;
1168
- create: (
1169
- body: Service.Day.Create.Body,
1170
- ) => Promise<Service.Day.Create.Result>;
1171
- };
1172
- receivingMaterial: {
1173
- _path: "receiving-material";
1174
- find: (
1175
- params?: Service.ReceivingMaterial.Find.Params,
1176
- ) => Promise<Service.ReceivingMaterial.Find.Result>;
1177
- get: (
1178
- id: Service.ReceivingMaterial.Get.ID,
1179
- params?: Service.ReceivingMaterial.Get.Params,
1180
- ) => Promise<Service.ReceivingMaterial.Get.Result>;
1181
- create: (
1182
- body: Service.ReceivingMaterial.Create.Body,
1183
- ) => Promise<Service.ReceivingMaterial.Create.Result>;
1184
- update: (
1185
- id: Service.ReceivingMaterial.Update.ID,
1186
- body: Service.ReceivingMaterial.Update.Body,
1187
- ) => Promise<Service.ReceivingMaterial.Update.Result>;
1188
- };
1189
- adjustAccount: {
1190
- _path: "adjust-account";
1191
- find: (
1192
- params?: Service.AdjustAccount.Find.Params,
1193
- ) => Promise<Service.AdjustAccount.Find.Result>;
1194
- get: (
1195
- id: Service.AdjustAccount.Get.ID,
1196
- params?: Service.AdjustAccount.Get.Params,
1197
- ) => Promise<Service.AdjustAccount.Get.Result>;
1198
- create: (
1199
- body: Service.AdjustAccount.Create.Body,
1200
- ) => Promise<Service.AdjustAccount.Create.Result>;
1201
- };
1202
- transfer: {
1203
- _path: "transfer";
1204
- find: (
1205
- params?: Service.Transfer.Find.Params,
1206
- ) => Promise<Service.Transfer.Find.Result>;
1207
- get: (
1208
- id: Service.Transfer.Get.ID,
1209
- params?: Service.Transfer.Get.Params,
1210
- ) => Promise<Service.Transfer.Get.Result>;
1211
- create: (
1212
- body: Service.Transfer.Create.Body,
1213
- ) => Promise<Service.Transfer.Create.Result>;
1214
- update: (
1215
- id: Service.Transfer.Update.ID,
1216
- body: Service.Transfer.Update.Body,
1217
- ) => Promise<Service.Transfer.Update.Result>;
1218
- };
1219
- msl: {
1220
- _path: "msl";
1221
- find: (
1222
- params?: Service.Msl.Find.Params,
1223
- ) => Promise<Service.Msl.Find.Result>;
1224
- get: (
1225
- id: Service.Msl.Get.ID,
1226
- params?: Service.Msl.Get.Params,
1227
- ) => Promise<Service.Msl.Get.Result>;
1228
- create: (
1229
- body: Service.Msl.Create.Body,
1230
- ) => Promise<Service.Msl.Create.Result>;
1231
- update: (
1232
- id: Service.Msl.Update.ID,
1233
- body: Service.Msl.Update.Body,
1234
- ) => Promise<Service.Msl.Update.Result>;
1235
- remove: (id: Service.Msl.Remove.ID) => Promise<Service.Msl.Remove.Result>;
1236
- };
1237
- mslProduct: {
1238
- _path: "msl-products";
1239
- find: (
1240
- params?: Service.MslProduct.Find.Params,
1241
- ) => Promise<Service.MslProduct.Find.Result>;
1242
- get: (
1243
- id: Service.MslProduct.Get.ID,
1244
- params?: Service.MslProduct.Get.Params,
1245
- ) => Promise<Service.MslProduct.Get.Result>;
1246
- create: (
1247
- body: Service.MslProduct.Create.Body,
1248
- ) => Promise<Service.MslProduct.Create.Result>;
1249
- update: (
1250
- id: Service.MslProduct.Update.ID,
1251
- body: Service.MslProduct.Update.Body,
1252
- ) => Promise<Service.MslProduct.Update.Result>;
1253
- remove: (
1254
- id: Service.MslProduct.Remove.ID,
1255
- ) => Promise<Service.MslProduct.Remove.Result>;
1256
- };
1257
- mediaStorage: {
1258
- _path: "media-storage";
1259
- find: (
1260
- params?: Service.MediaStorage.Find.Params,
1261
- ) => Promise<Service.MediaStorage.Find.Result>;
1262
- get: (
1263
- id: Service.MediaStorage.Get.ID,
1264
- params?: Service.MediaStorage.Get.Params,
1265
- ) => Promise<Service.MediaStorage.Get.Result>;
1266
- create: (
1267
- body: Service.MediaStorage.Create.Body,
1268
- ) => Promise<Service.MediaStorage.Create.Result>;
1269
- update: (
1270
- id: Service.MediaStorage.Update.ID,
1271
- body: Service.MediaStorage.Update.Body,
1272
- ) => Promise<Service.MediaStorage.Update.Result>;
1273
- remove: (
1274
- id: Service.MediaStorage.Remove.ID,
1275
- ) => Promise<Service.MediaStorage.Remove.Result>;
1276
- };
1277
- storecheckTemplate: {
1278
- _path: "storecheck-template";
1279
- find: (
1280
- params?: Service.StorecheckTemplate.Find.Params,
1281
- ) => Promise<Service.StorecheckTemplate.Find.Result>;
1282
- get: (
1283
- id: Service.StorecheckTemplate.Get.ID,
1284
- params?: Service.StorecheckTemplate.Get.Params,
1285
- ) => Promise<Service.StorecheckTemplate.Get.Result>;
1286
- create: (
1287
- body: Service.StorecheckTemplate.Create.Body,
1288
- ) => Promise<Service.StorecheckTemplate.Create.Result>;
1289
- update: (
1290
- id: Service.StorecheckTemplate.Update.ID,
1291
- body: Service.StorecheckTemplate.Update.Body,
1292
- ) => Promise<Service.StorecheckTemplate.Update.Result>;
1293
- remove: (
1294
- id: Service.StorecheckTemplate.Remove.ID,
1295
- ) => Promise<Service.StorecheckTemplate.Remove.Result>;
1296
- };
1297
- activityStorecheck: {
1298
- _path: "activity-storecheck";
1299
- find: (
1300
- params?: Service.ActivityStorecheck.Find.Params,
1301
- ) => Promise<Service.ActivityStorecheck.Find.Result>;
1302
- get: (
1303
- id: Service.ActivityStorecheck.Get.ID,
1304
- params?: Service.ActivityStorecheck.Get.Params,
1305
- ) => Promise<Service.ActivityStorecheck.Get.Result>;
1306
- create: (
1307
- body: Service.ActivityStorecheck.Create.Body,
1308
- ) => Promise<Service.ActivityStorecheck.Create.Result>;
1309
- update: (
1310
- id: Service.ActivityStorecheck.Update.ID,
1311
- body: Service.ActivityStorecheck.Update.Body,
1312
- ) => Promise<Service.ActivityStorecheck.Update.Result>;
1313
- };
1314
- adjustInventory: {
1315
- _path: "adjust-inventory";
1316
- find: (
1317
- params?: Service.AdjustInventory.Find.Params,
1318
- ) => Promise<Service.AdjustInventory.Find.Result>;
1319
- get: (
1320
- id: Service.AdjustInventory.Get.ID,
1321
- params?: Service.AdjustInventory.Get.Params,
1322
- ) => Promise<Service.AdjustInventory.Get.Result>;
1323
- create: (
1324
- body: Service.AdjustInventory.Create.Body,
1325
- ) => Promise<Service.AdjustInventory.Create.Result>;
1326
- };
1327
- inventory: {
1328
- _path: "inventory";
1329
- find: (
1330
- params?: Service.Inventory.Find.Params,
1331
- ) => Promise<Service.Inventory.Find.Result>;
1332
- };
1333
- integrationApp: {
1334
- _path: "integration-app";
1335
- find: (
1336
- params?: Service.App.Find.Params,
1337
- ) => Promise<Service.App.Find.Result>;
1338
- get: (
1339
- id: Service.App.Get.ID,
1340
- params?: Service.App.Find.Params,
1341
- ) => Promise<Service.App.Get.Result>;
1342
- create: (
1343
- body: Service.App.Create.Body,
1344
- ) => Promise<Service.App.Create.Result>;
1345
- update: (
1346
- id: Service.App.Update.ID,
1347
- body: Service.App.Update.Body,
1348
- ) => Promise<Service.App.Update.Result>;
1349
- };
1350
- joinActionsWebHook: {
1351
- _path: "svix-integration";
1352
- update: (
1353
- id: null,
1354
- body: Service.JoinActionsWeHook.Data,
1355
- ) => Promise<Service.JoinActionsWeHook.Result>;
1356
- };
1357
- static ActionLogs: {
1358
- new (
1359
- superThis: Repzo,
1360
- sync_id: string,
1361
- ): {
1362
- _path: string;
1363
- available_app_name: string;
1364
- available_app_id: StringId;
1365
- app_id: StringId;
1366
- action: string;
1367
- status: Service.ActionLogs.Status;
1368
- error?: any;
1369
- start_time: number;
1370
- end_time?: number;
1371
- total_time?: number;
1372
- company_namespace?: NameSpaces;
1373
- body?: any;
1374
- meta?: any;
1375
- message: string;
1376
- details: Service.ActionLogs.Detail[];
1377
- sync_id: string;
1378
- isOld: boolean;
1379
- superThis: Repzo;
1380
- load(sync_id: string): Promise</*elided*/ any>;
1381
- setStatus(status: Service.ActionLogs.Status, error?: any): /*elided*/ any;
1382
- setBody(body: any): /*elided*/ any;
1383
- setMeta(meta: any): /*elided*/ any;
1384
- commit(): Promise</*elided*/ any>;
1385
- addDetail(detail: string, meta?: any): /*elided*/ any;
1386
- };
1387
- };
1388
- static CommandLog: {
1389
- new (
1390
- superThis: Repzo,
1391
- app: Service.App.Schema_with_populated_AvailableApp,
1392
- command: string,
1393
- trigger?: string,
1394
- ): {
1395
- _path: string;
1396
- available_app_name: string;
1397
- available_app_id: StringId;
1398
- app_id: StringId;
1399
- command: string;
1400
- status: Service.CommandLog.Status;
1401
- error?: any;
1402
- start_time: number;
1403
- end_time?: number;
1404
- total_time?: number;
1405
- company_namespace: NameSpaces;
1406
- body?: any;
1407
- sync_details: {
1408
- timestamp: number;
1409
- body: {
1410
- [key: string]: any;
92
+ };
93
+ export type EndPoints = (typeof end_points)[keyof typeof end_points];
94
+ declare const availableService: readonly ["client", "product", "variant", "category", "sub_category", "brand", "product_group", "tax", "measureunit", "measureunitFamily", "media", "priceList", "priceListItem", "team", "returnReason", "rep", "tag", "warehouse", "route", "productModifiersGroup", "channel", "speciality", "clientContact", "paymentTerm", "bank", "bank_list", "customStatus", "customList", "customListItem", "inventoryAdjustmentReason", "workorder", "workorderRequest", "supplier", "quickConvertToPdf", "visit", "activityFeedback", "activityFeedbackV2", "feedbackOption", "invoice", "proforma", "payment", "refund", "settlement", "check", "day", "receivingMaterial", "adjustAccount", "transfer", "msl", "mslProduct", "mediaStorage", "storecheckTemplate", "activityStorecheck", "adjustInventory", "inventory", "integrationApp", "joinActionsWebHook", "patchAction", "updateIntegrationMeta", "assetPartType", "assetPart", "assetPartUnit", "assetPartReceival", "assetPartTransfer", "returnAssetPartUnit", "storeAssetPartUnit", "ocrInvoiceJobTemplate", "ocrInvoiceJobGroup", "activityAiSalesOrder", "ocrInvoiceJob", "ocrInvoiceJobPage", "settings", "mailUnsubscribe", "approvalRequest", "safeInvoiceSerialCounter", "clientLocation", "assetType", "asset", "assetUnit", "workorderPortal", "approval", "workorderCategory", "contract", "contractInstallment", "repBalanceSummary", "workorderPortalLink", "customField"];
95
+ export type AvailableService = (typeof availableService)[number];
96
+ export default class Repzo {
97
+ private svAPIEndpoint;
98
+ headers: Headers;
99
+ private timeout;
100
+ constructor(apiKey: string, options?: Options);
101
+ private static _end_points;
102
+ static get END_POINTS(): {
103
+ readonly CLIENT: "client";
104
+ readonly PRODUCT: "product";
105
+ readonly VARIANT: "variant";
106
+ readonly CATEGORY: "product-category";
107
+ readonly SUB_CATEGORY: "product-sub-category";
108
+ readonly BRAND: "product-brand";
109
+ readonly PRODUCT_GROUP: "product-group";
110
+ readonly TAX: "tax";
111
+ readonly MEASUREUNIT: "measureunits";
112
+ readonly MEASUREUNIT_FAMILY: "measureunit-family";
113
+ readonly MEDIA: "media";
114
+ readonly PRICELIST: "pricelists";
115
+ readonly PRICELIST_ITEM: "pricelistsitems";
116
+ readonly TEAM: "teams";
117
+ readonly RETURN_REASON: "return-reason";
118
+ readonly REP: "rep";
119
+ readonly REP_BALANCE_SUMMARY: "rep-balance-summary";
120
+ readonly TAG: "tag";
121
+ readonly WAREHOUSE: "warehouse";
122
+ readonly ROUTE: "route";
123
+ readonly PRODUCT_MODIFIERS_GROUP: "product-modifiers-group";
124
+ readonly CHANNEL: "client-channel";
125
+ readonly SPECIALITY: "speciality";
126
+ readonly CLIENT_CONTACT: "client-contact";
127
+ readonly PAYMENT_TERM: "paymentterms";
128
+ readonly BANK: "banks";
129
+ readonly BANK_LIST: "bankslists";
130
+ readonly CUSTOM_STATUS: "custom-status";
131
+ readonly CUSTOM_LIST: "custom-list";
132
+ readonly CUSTOM_LIST_ITEM: "custom-list-item";
133
+ readonly INVENTORY_ADJUSTMENT_REASON: "inventory-adjustment-reason";
134
+ readonly WORKORDER: "workorder";
135
+ readonly WORKORDER_REQUEST: "workorder-request";
136
+ readonly SUPPLIER: "supplier";
137
+ readonly QUICK_CONVERT_TO_PDF: "quick-convert-to-pdf";
138
+ readonly VISIT: "visit";
139
+ readonly INVOICE: "fullinvoices";
140
+ readonly PROFORMA: "proforma";
141
+ readonly PAYMENT: "payments";
142
+ readonly REFUND: "refund";
143
+ readonly SETTLEMENT: "settlement";
144
+ readonly CHECK: "checks";
145
+ readonly DAY: "day";
146
+ readonly RECEIVING_MATERIAL: "receiving-material";
147
+ readonly ADJUST_ACCOUNT: "adjust-account";
148
+ readonly TRANSFER: "transfer";
149
+ readonly MSL: "msl";
150
+ readonly MSL_PRODUCT: "msl-products";
151
+ readonly MEDIA_STORAGE: "media-storage";
152
+ readonly STORECHECK_TEMPLATE: "storecheck-template";
153
+ readonly ACTIVITY_STORECHECK: "activity-storecheck";
154
+ readonly ADJUST_INVENTORY: "adjust-inventory";
155
+ readonly INVENTORY: "inventory";
156
+ readonly INTEGRATION_APP: "integration-app";
157
+ readonly JOIN_ACTIONS_WEBHOOK: "svix-integration";
158
+ readonly INTEGRATION_ACTION_LOG: "integration-action-log";
159
+ readonly INTEGRATION_COMMAND_LOG: "integration-command-log";
160
+ readonly PATCH_ACTION: "patch-action";
161
+ readonly UPDATE_INTEGRATION_META: "update-integration-meta";
162
+ readonly ASSET_PART_TYPE: "asset-part-type";
163
+ readonly ASSET_PART: "asset-part";
164
+ readonly ASSET_PART_UNIT: "asset-part-unit";
165
+ readonly ASSET_PART_RECEIVAL: "asset-part-receival";
166
+ readonly ASSET_PART_TRANSFER: "asset-part-transfer";
167
+ readonly RETURN_ASSET_PART_UNIT: "return-asset-part-unit";
168
+ readonly STORE_ASSET_PART_UNIT: "store-asset-part-unit";
169
+ readonly OCR_INVOICE_JOB_TEMPLATE: "ocr-invoice-job-template";
170
+ readonly OCR_INVOICE_JOB_GROUP: "ocr-invoice-job-group";
171
+ readonly ACTIVITY_AI_SALES_ORDER: "activity-ai-sales-order";
172
+ readonly OCR_INVOICE_JOB: "ocr-invoice-job";
173
+ readonly OCR_INVOICE_JOB_PAGE: "ocr-invoice-job-page";
174
+ readonly SETTINGS: "settings";
175
+ readonly MAIL_UNSUBSCRIBE: "mail-unsubscribe";
176
+ readonly APPROVAL_REQUEST: "approval-request";
177
+ readonly SAFE_INVOICE_SERIAL_COUNTER: "safe-invoice-serial-counter";
178
+ readonly CLIENT_LOCATION: "client-location";
179
+ readonly ASSET_TYPE: "asset-type";
180
+ readonly ASSET: "asset";
181
+ readonly ASSET_UNIT: "asset-unit";
182
+ readonly WORKORDER_PORTAL: "workorder-portal";
183
+ readonly APPROVAL: "approvals";
184
+ readonly ACTIVITY_FEEDBACK: "activity-feedback";
185
+ readonly ACTIVITY_FEEDBACKV2: "activity-feedback-v2";
186
+ readonly FEEDBACK_OPTION: "feedback-options";
187
+ readonly WORKORDER_CATEGORY: "workorder-category";
188
+ readonly CONTRACT: "contract";
189
+ readonly CONTRACT_INSTALLMENT: "contract-installment";
190
+ readonly WORKORDER_PORTAL_LINK: "workorder-portal-link";
191
+ readonly CUSTOM_FIELD: "customfields";
192
+ };
193
+ private _fetch;
194
+ private _create;
195
+ private _update;
196
+ private _patch;
197
+ private _delete;
198
+ available_services: readonly ["client", "product", "variant", "category", "sub_category", "brand", "product_group", "tax", "measureunit", "measureunitFamily", "media", "priceList", "priceListItem", "team", "returnReason", "rep", "tag", "warehouse", "route", "productModifiersGroup", "channel", "speciality", "clientContact", "paymentTerm", "bank", "bank_list", "customStatus", "customList", "customListItem", "inventoryAdjustmentReason", "workorder", "workorderRequest", "supplier", "quickConvertToPdf", "visit", "activityFeedback", "activityFeedbackV2", "feedbackOption", "invoice", "proforma", "payment", "refund", "settlement", "check", "day", "receivingMaterial", "adjustAccount", "transfer", "msl", "mslProduct", "mediaStorage", "storecheckTemplate", "activityStorecheck", "adjustInventory", "inventory", "integrationApp", "joinActionsWebHook", "patchAction", "updateIntegrationMeta", "assetPartType", "assetPart", "assetPartUnit", "assetPartReceival", "assetPartTransfer", "returnAssetPartUnit", "storeAssetPartUnit", "ocrInvoiceJobTemplate", "ocrInvoiceJobGroup", "activityAiSalesOrder", "ocrInvoiceJob", "ocrInvoiceJobPage", "settings", "mailUnsubscribe", "approvalRequest", "safeInvoiceSerialCounter", "clientLocation", "assetType", "asset", "assetUnit", "workorderPortal", "approval", "workorderCategory", "contract", "contractInstallment", "repBalanceSummary", "workorderPortalLink", "customField"];
199
+ client: {
200
+ _path: "client";
201
+ find: (params?: Service.Client.Find.Params) => Promise<Service.Client.Find.Result>;
202
+ get: (id: Service.Client.Get.ID, params?: Service.Client.Get.Params) => Promise<Service.Client.Get.Result>;
203
+ create: (body: Service.Client.Create.Body) => Promise<Service.Client.Create.Result>;
204
+ update: (id: Service.Client.Update.ID, body: Service.Client.Update.Body) => Promise<Service.Client.Update.Result>;
205
+ remove: (id: Service.Client.Remove.ID) => Promise<Service.Client.Remove.Result>;
206
+ };
207
+ product: {
208
+ _path: "product";
209
+ find: (params?: Service.Product.Find.Params) => Promise<Service.Product.Find.Result>;
210
+ get: (id: Service.Product.Get.ID, params?: Service.Product.Get.Params) => Promise<Service.Product.Get.Result>;
211
+ create: (body: Service.Product.Create.Body) => Promise<Service.Product.Create.Result>;
212
+ update: (id: Service.Product.Update.ID, body: Service.Product.Update.Body) => Promise<Service.Product.Update.Result>;
213
+ remove: (id: Service.Product.Remove.ID) => Promise<Service.Product.Remove.Result>;
214
+ };
215
+ variant: {
216
+ _path: "variant";
217
+ find: (params?: Service.Variant.Find.Params) => Promise<Service.Variant.Find.Result>;
218
+ get: (id: Service.Variant.Get.ID, params?: Service.Variant.Get.Params) => Promise<Service.Variant.Get.Result>;
219
+ create: (body: Service.Variant.Create.Body) => Promise<Service.Variant.Create.Result>;
220
+ update: (id: Service.Variant.Update.ID, body: Service.Variant.Update.Body) => Promise<Service.Variant.Update.Result>;
221
+ remove: (id: Service.Variant.Remove.ID) => Promise<Service.Variant.Remove.Result>;
222
+ };
223
+ category: {
224
+ _path: "product-category";
225
+ find: (params?: Service.Category.Find.Params) => Promise<Service.Category.Find.Result>;
226
+ get: (id: Service.Category.Get.ID) => Promise<Service.Category.Get.Result>;
227
+ create: (body: Service.Category.Create.Body) => Promise<Service.Category.Create.Result>;
228
+ update: (id: Service.Category.Update.ID, body: Service.Category.Update.Body) => Promise<Service.Category.Update.Result>;
229
+ remove: (id: Service.Category.Remove.ID) => Promise<Service.Category.Remove.Result>;
230
+ };
231
+ sub_category: {
232
+ _path: "product-sub-category";
233
+ find: (params?: Service.SubCategory.Find.Params) => Promise<Service.SubCategory.Find.Result>;
234
+ get: (id: Service.SubCategory.Get.ID, params?: Service.SubCategory.Get.Params) => Promise<Service.SubCategory.Get.Result>;
235
+ create: (body: Service.SubCategory.Create.Body) => Promise<Service.SubCategory.Create.Result>;
236
+ update: (id: Service.SubCategory.Update.ID, body: Service.SubCategory.Update.Body) => Promise<Service.SubCategory.Update.Result>;
237
+ remove: (id: Service.SubCategory.Remove.ID) => Promise<Service.SubCategory.Remove.Result>;
238
+ };
239
+ brand: {
240
+ _path: "product-brand";
241
+ find: (params?: Service.Brand.Find.Params) => Promise<Service.Brand.Find.Result>;
242
+ get: (id: Service.Brand.Get.ID) => Promise<Service.Brand.Get.Result>;
243
+ create: (body: Service.Brand.Create.Body) => Promise<Service.Brand.Create.Result>;
244
+ update: (id: Service.Brand.Update.ID, body: Service.Brand.Update.Body) => Promise<Service.Brand.Update.Result>;
245
+ remove: (id: Service.Brand.Remove.ID) => Promise<Service.Brand.Remove.Result>;
246
+ };
247
+ product_group: {
248
+ _path: "product-group";
249
+ find: (params?: Service.ProductGroup.Find.Params) => Promise<Service.ProductGroup.Find.Result>;
250
+ get: (id: Service.ProductGroup.Get.ID) => Promise<Service.ProductGroup.Get.Result>;
251
+ create: (body: Service.ProductGroup.Create.Body) => Promise<Service.ProductGroup.Create.Result>;
252
+ update: (id: Service.ProductGroup.Update.ID, body: Service.ProductGroup.Update.Body) => Promise<Service.ProductGroup.Update.Result>;
253
+ remove: (id: Service.ProductGroup.Remove.ID) => Promise<Service.ProductGroup.Remove.Result>;
254
+ };
255
+ tax: {
256
+ _path: "tax";
257
+ find: (params?: Service.Tax.Find.Params) => Promise<Service.Tax.Find.Result>;
258
+ get: (id: Service.Tax.Get.ID) => Promise<Service.Tax.Get.Result>;
259
+ create: (body: Service.Tax.Create.Body) => Promise<Service.Tax.Create.Result>;
260
+ update: (id: Service.Tax.Update.ID, body: Service.Tax.Update.Body) => Promise<Service.Tax.Update.Result>;
261
+ remove: (id: Service.Tax.Remove.ID) => Promise<Service.Tax.Remove.Result>;
262
+ };
263
+ measureunit: {
264
+ _path: "measureunits";
265
+ find: (params?: Service.MeasureUnit.Find.Params) => Promise<Service.MeasureUnit.Find.Result>;
266
+ get: (id: Service.MeasureUnit.Get.ID) => Promise<Service.MeasureUnit.Get.Result>;
267
+ create: (body: Service.MeasureUnit.Create.Body) => Promise<Service.MeasureUnit.Create.Result>;
268
+ update: (id: Service.MeasureUnit.Update.ID, body: Service.MeasureUnit.Update.Body) => Promise<Service.MeasureUnit.Update.Result>;
269
+ remove: (id: Service.MeasureUnit.Remove.ID) => Promise<Service.MeasureUnit.Remove.Result>;
270
+ };
271
+ measureunitFamily: {
272
+ _path: "measureunit-family";
273
+ find: (params?: Service.MeasureUnitFamily.Find.Params) => Promise<Service.MeasureUnitFamily.Find.Result>;
274
+ get: (id: Service.MeasureUnitFamily.Get.ID) => Promise<Service.MeasureUnitFamily.Get.Result>;
275
+ create: (body: Service.MeasureUnitFamily.Create.Body) => Promise<Service.MeasureUnitFamily.Create.Result>;
276
+ update: (id: Service.MeasureUnitFamily.Update.ID, body: Service.MeasureUnitFamily.Update.Body) => Promise<Service.MeasureUnitFamily.Update.Result>;
277
+ remove: (id: Service.MeasureUnitFamily.Remove.ID) => Promise<Service.MeasureUnitFamily.Remove.Result>;
278
+ };
279
+ media: {
280
+ _path: "media";
281
+ find: (params?: Service.Media.Find.Params) => Promise<Service.Media.Find.Result>;
282
+ get: (id: Service.Media.Get.ID) => Promise<Service.Media.Get.Result>;
283
+ create: (body: Service.Media.Create.Body) => Promise<Service.Media.Create.Result>;
284
+ update: (id: Service.Media.Update.ID, body: Service.Media.Update.Body) => Promise<Service.Media.Update.Result>;
285
+ remove: (id: Service.Media.Remove.ID) => Promise<Service.Media.Remove.Result>;
286
+ };
287
+ priceList: {
288
+ _path: "pricelists";
289
+ find: (params?: Service.PriceList.Find.Params) => Promise<Service.PriceList.Find.Result>;
290
+ get: (id: Service.PriceList.Get.ID) => Promise<Service.PriceList.Get.Result>;
291
+ create: (body: Service.PriceList.Create.Body) => Promise<Service.PriceList.Create.Result>;
292
+ update: (id: Service.PriceList.Update.ID, body: Service.PriceList.Update.Body) => Promise<Service.PriceList.Update.Result>;
293
+ remove: (id: Service.PriceList.Remove.ID) => Promise<Service.PriceList.Remove.Result>;
294
+ };
295
+ priceListItem: {
296
+ _path: "pricelistsitems";
297
+ find: (params?: Service.PriceListItem.Find.Params) => Promise<Service.PriceListItem.Find.Result>;
298
+ get: (id: Service.PriceListItem.Get.ID) => Promise<Service.PriceListItem.Get.Result>;
299
+ create: (body: Service.PriceListItem.Create.Body) => Promise<Service.PriceListItem.Create.Result>;
300
+ update: (id: Service.PriceListItem.Update.ID, body: Service.PriceListItem.Update.Body) => Promise<Service.PriceListItem.Update.Result>;
301
+ remove: (id: Service.PriceListItem.Remove.ID) => Promise<Service.PriceListItem.Remove.Result>;
302
+ };
303
+ team: {
304
+ _path: "teams";
305
+ find: (params?: Service.Team.Find.Params) => Promise<Service.Team.Find.Result>;
306
+ get: (id: Service.Team.Get.ID) => Promise<Service.Team.Get.Result>;
307
+ create: (body: Service.Team.Create.Body) => Promise<Service.Team.Create.Result>;
308
+ update: (id: Service.Team.Update.ID, body: Service.Team.Update.Body) => Promise<Service.Team.Update.Result>;
309
+ remove: (id: Service.Team.Remove.ID) => Promise<Service.Team.Remove.Result>;
310
+ };
311
+ returnReason: {
312
+ _path: "return-reason";
313
+ find: (params?: Service.ReturnReason.Find.Params) => Promise<Service.ReturnReason.Find.Result>;
314
+ get: (id: Service.ReturnReason.Get.ID) => Promise<Service.ReturnReason.Get.Result>;
315
+ create: (body: Service.ReturnReason.Create.Body) => Promise<Service.ReturnReason.Create.Result>;
316
+ update: (id: Service.ReturnReason.Update.ID, body: Service.ReturnReason.Update.Body) => Promise<Service.ReturnReason.Update.Result>;
317
+ remove: (id: Service.ReturnReason.Remove.ID) => Promise<Service.ReturnReason.Remove.Result>;
318
+ };
319
+ rep: {
320
+ _path: "rep";
321
+ find: (params?: Service.Rep.Find.Params) => Promise<Service.Rep.Find.Result>;
322
+ get: (id: Service.Rep.Get.ID, params?: Service.Client.Get.Params) => Promise<Service.Rep.Get.Result>;
323
+ create: (body: Service.Rep.Create.Body) => Promise<Service.Rep.Create.Result>;
324
+ update: (id: Service.Rep.Update.ID, body: Service.Rep.Update.Body) => Promise<Service.Rep.Update.Result>;
325
+ remove: (id: Service.Rep.Remove.ID) => Promise<Service.Rep.Remove.Result>;
326
+ };
327
+ tag: {
328
+ _path: "tag";
329
+ find: (params?: Service.Tag.Find.Params) => Promise<Service.Tag.Find.Result>;
330
+ get: (id: Service.Tag.Get.ID) => Promise<Service.Tag.Get.Result>;
331
+ create: (body: Service.Tag.Create.Body) => Promise<Service.Tag.Create.Result>;
332
+ update: (id: Service.Tag.Update.ID, body: Service.Tag.Update.Body) => Promise<Service.Tag.Update.Result>;
333
+ remove: (id: Service.Tag.Remove.ID) => Promise<Service.Tag.Remove.Result>;
334
+ };
335
+ warehouse: {
336
+ _path: "warehouse";
337
+ find: (params?: Service.Warehouse.Find.Params) => Promise<Service.Warehouse.Find.Result>;
338
+ get: (id: Service.Warehouse.Get.ID) => Promise<Service.Warehouse.Get.Result>;
339
+ create: (body: Service.Warehouse.Create.Body) => Promise<Service.Warehouse.Create.Result>;
340
+ update: (id: Service.Warehouse.Update.ID, body: Service.Warehouse.Update.Body) => Promise<Service.Warehouse.Update.Result>;
341
+ remove: (id: Service.Warehouse.Remove.ID) => Promise<Service.Warehouse.Remove.Result>;
342
+ };
343
+ route: {
344
+ _path: "route";
345
+ find: (params?: Service.Route.Find.Params) => Promise<Service.Route.Find.Result>;
346
+ get: (id: Service.Route.Get.ID) => Promise<Service.Route.Get.Result>;
347
+ create: (body: Service.Route.Create.Body) => Promise<Service.Route.Create.Result>;
348
+ update: (id: Service.Route.Update.ID, body: Service.Route.Update.Body) => Promise<Service.Route.Update.Result>;
349
+ remove: (id: Service.Route.Remove.ID) => Promise<Service.Route.Remove.Result>;
350
+ };
351
+ productModifiersGroup: {
352
+ _path: "product-modifiers-group";
353
+ find: (params?: Service.ProductModifiersGroup.Find.Params) => Promise<Service.ProductModifiersGroup.Find.Result>;
354
+ get: (id: Service.ProductModifiersGroup.Get.ID) => Promise<Service.ProductModifiersGroup.Get.Result>;
355
+ create: (body: Service.ProductModifiersGroup.Create.Body) => Promise<Service.ProductModifiersGroup.Create.Result>;
356
+ update: (id: Service.ProductModifiersGroup.Update.ID, body: Service.ProductModifiersGroup.Update.Body) => Promise<Service.ProductModifiersGroup.Update.Result>;
357
+ remove: (id: Service.ProductModifiersGroup.Remove.ID) => Promise<Service.ProductModifiersGroup.Remove.Result>;
358
+ };
359
+ channel: {
360
+ _path: "client-channel";
361
+ find: (params?: Service.Channel.Find.Params) => Promise<Service.Channel.Find.Result>;
362
+ get: (id: Service.Channel.Get.ID) => Promise<Service.Channel.Get.Result>;
363
+ create: (body: Service.Channel.Create.Body) => Promise<Service.Channel.Create.Result>;
364
+ update: (id: Service.Channel.Update.ID, body: Service.Channel.Update.Body) => Promise<Service.Channel.Update.Result>;
365
+ remove: (id: Service.Channel.Remove.ID) => Promise<Service.Channel.Remove.Result>;
366
+ };
367
+ speciality: {
368
+ _path: "speciality";
369
+ find: (params?: Service.Speciality.Find.Params) => Promise<Service.Speciality.Find.Result>;
370
+ get: (id: Service.Speciality.Get.ID) => Promise<Service.Speciality.Get.Result>;
371
+ create: (body: Service.Speciality.Create.Body) => Promise<Service.Speciality.Create.Result>;
372
+ update: (id: Service.Speciality.Update.ID, body: Service.Speciality.Update.Body) => Promise<Service.Speciality.Update.Result>;
373
+ remove: (id: Service.Speciality.Remove.ID) => Promise<Service.Speciality.Remove.Result>;
374
+ };
375
+ clientContact: {
376
+ _path: "client-contact";
377
+ find: (params?: Service.ClientContact.Find.Params) => Promise<Service.ClientContact.Find.Result>;
378
+ get: (id: Service.ClientContact.Get.ID) => Promise<Service.ClientContact.Get.Result>;
379
+ create: (body: Service.ClientContact.Create.Body) => Promise<Service.ClientContact.Create.Result>;
380
+ update: (id: Service.ClientContact.Update.ID, body: Service.ClientContact.Update.Body) => Promise<Service.ClientContact.Update.Result>;
381
+ remove: (id: Service.ClientContact.Remove.ID) => Promise<Service.ClientContact.Remove.Result>;
382
+ };
383
+ paymentTerm: {
384
+ _path: "paymentterms";
385
+ find: (params?: Service.PaymentTerm.Find.Params) => Promise<Service.PaymentTerm.Find.Result>;
386
+ get: (id: Service.PaymentTerm.Get.ID) => Promise<Service.PaymentTerm.Get.Result>;
387
+ create: (body: Service.PaymentTerm.Create.Body) => Promise<Service.PaymentTerm.Create.Result>;
388
+ update: (id: Service.PaymentTerm.Update.ID, body: Service.PaymentTerm.Update.Body) => Promise<Service.PaymentTerm.Update.Result>;
389
+ remove: (id: Service.PaymentTerm.Remove.ID) => Promise<Service.PaymentTerm.Remove.Result>;
390
+ };
391
+ bank: {
392
+ _path: "banks";
393
+ find: (params?: Service.Bank.Find.Params) => Promise<Service.Bank.Find.Result>;
394
+ get: (id: Service.Bank.Get.ID) => Promise<Service.Bank.Get.Result>;
395
+ create: (body: Service.Bank.Create.Body) => Promise<Service.Bank.Create.Result>;
396
+ update: (id: Service.Bank.Update.ID, body: Service.Bank.Update.Body) => Promise<Service.Bank.Update.Result>;
397
+ };
398
+ bank_list: {
399
+ _path: "bankslists";
400
+ find: (params?: Service.BankList.Find.Params) => Promise<Service.BankList.Find.Result>;
401
+ get: (id: Service.BankList.Get.ID) => Promise<Service.BankList.Get.Result>;
402
+ create: (body: Service.BankList.Create.Body) => Promise<Service.BankList.Create.Result>;
403
+ update: (id: Service.BankList.Update.ID, body: Service.BankList.Update.Body) => Promise<Service.BankList.Update.Result>;
404
+ };
405
+ customStatus: {
406
+ _path: "custom-status";
407
+ find: (params?: Service.CustomStatus.Find.Params) => Promise<Service.CustomStatus.Find.Result>;
408
+ get: (id: Service.CustomStatus.Get.ID) => Promise<Service.CustomStatus.Get.Result>;
409
+ create: (body: Service.CustomStatus.Create.Body) => Promise<Service.CustomStatus.Create.Result>;
410
+ update: (id: Service.CustomStatus.Update.ID, body: Service.CustomStatus.Update.Body) => Promise<Service.CustomStatus.Update.Result>;
411
+ remove: (id: Service.CustomStatus.Remove.ID) => Promise<Service.CustomStatus.Remove.Result>;
412
+ };
413
+ customList: {
414
+ _path: "custom-list";
415
+ find: (params?: Service.CustomList.Find.Params) => Promise<Service.CustomList.Find.Result>;
416
+ get: (id: Service.CustomList.Get.ID, params?: Service.CustomList.Get.Params) => Promise<Service.CustomList.Get.Result>;
417
+ create: (body: Service.CustomList.Create.Body) => Promise<Service.CustomList.Create.Result>;
418
+ update: (id: Service.CustomList.Update.ID, body: Service.CustomList.Update.Body) => Promise<Service.CustomList.Update.Result>;
419
+ remove: (id: Service.CustomList.Remove.ID) => Promise<Service.CustomList.Remove.Result>;
420
+ };
421
+ customListItem: {
422
+ _path: "custom-list-item";
423
+ find: (params?: Service.CustomListItem.Find.Params) => Promise<Service.CustomListItem.Find.Result>;
424
+ get: (id: Service.CustomListItem.Get.ID, params?: Service.CustomListItem.Get.Params) => Promise<Service.CustomListItem.Get.Result>;
425
+ create: (body: Service.CustomListItem.Create.Body) => Promise<Service.CustomListItem.Create.Result>;
426
+ update: (id: Service.CustomListItem.Update.ID, body: Service.CustomListItem.Update.Body) => Promise<Service.CustomListItem.Update.Result>;
427
+ remove: (id: Service.CustomListItem.Remove.ID) => Promise<Service.CustomListItem.Remove.Result>;
428
+ };
429
+ inventoryAdjustmentReason: {
430
+ _path: "inventory-adjustment-reason";
431
+ find: (params?: Service.InventoryAdjustmentReason.Find.Params) => Promise<Service.InventoryAdjustmentReason.Find.Result>;
432
+ get: (id: Service.InventoryAdjustmentReason.Get.ID) => Promise<Service.InventoryAdjustmentReason.Get.Result>;
433
+ create: (body: Service.InventoryAdjustmentReason.Create.Body) => Promise<Service.InventoryAdjustmentReason.Create.Result>;
434
+ update: (id: Service.InventoryAdjustmentReason.Update.ID, body: Service.InventoryAdjustmentReason.Update.Body) => Promise<Service.InventoryAdjustmentReason.Update.Result>;
435
+ remove: (id: Service.InventoryAdjustmentReason.Remove.ID) => Promise<Service.InventoryAdjustmentReason.Remove.Result>;
436
+ };
437
+ workorder: {
438
+ _path: "workorder";
439
+ find: (params?: Service.Workorder.Find.Params) => Promise<Service.Workorder.Find.Result>;
440
+ get: (id: Service.Workorder.Get.ID, params?: Service.Workorder.Get.Params) => Promise<Service.Workorder.Get.Result>;
441
+ create: (body: Service.Workorder.Create.Body) => Promise<Service.Workorder.Create.Result>;
442
+ update: (id: Service.Workorder.Update.ID, body: Service.Workorder.Update.Body) => Promise<Service.Workorder.Update.Result>;
443
+ remove: (id: Service.Workorder.Remove.ID) => Promise<Service.Workorder.Remove.Result>;
444
+ };
445
+ workorderRequest: {
446
+ _path: "workorder-request";
447
+ find: (params?: Service.WorkorderRequest.Find.Params) => Promise<Service.WorkorderRequest.Find.Result>;
448
+ get: (id: Service.WorkorderRequest.Get.ID, params?: Service.WorkorderRequest.Get.Params) => Promise<Service.WorkorderRequest.Get.Result>;
449
+ create: (body: Service.WorkorderRequest.Create.Body) => Promise<Service.WorkorderRequest.Create.Result>;
450
+ update: (id: Service.WorkorderRequest.Update.ID, body: Service.WorkorderRequest.Update.Body) => Promise<Service.WorkorderRequest.Update.Result>;
451
+ remove: (id: Service.WorkorderRequest.Remove.ID) => Promise<Service.WorkorderRequest.Remove.Result>;
452
+ };
453
+ supplier: {
454
+ _path: "supplier";
455
+ find: (params?: Service.Supplier.Find.Params) => Promise<Service.Supplier.Find.Result>;
456
+ get: (id: Service.Supplier.Get.ID, params?: Service.Supplier.Get.Params) => Promise<Service.Supplier.Get.Result>;
457
+ create: (body: Service.Supplier.Create.Body) => Promise<Service.Supplier.Create.Result>;
458
+ update: (id: Service.Supplier.Update.ID, body: Service.Supplier.Update.Body) => Promise<Service.Supplier.Update.Result>;
459
+ };
460
+ quickConvertToPdf: {
461
+ _path: "quick-convert-to-pdf";
462
+ find: (params?: Service.QuickConvertToPdf.Find.Params) => Promise<Service.QuickConvertToPdf.Find.Result>;
463
+ get: (id: Service.QuickConvertToPdf.Get.ID, params?: Service.QuickConvertToPdf.Get.Params) => Promise<Service.QuickConvertToPdf.Get.Result>;
464
+ create: (body: Service.QuickConvertToPdf.Create.Body) => Promise<Service.QuickConvertToPdf.Create.Result>;
465
+ remove: (id: Service.QuickConvertToPdf.Remove.ID) => Promise<Service.QuickConvertToPdf.Remove.Result>;
466
+ };
467
+ visit: {
468
+ _path: "visit";
469
+ find: (params?: Service.Visit.Find.Params) => Promise<Service.Visit.Find.Result>;
470
+ get: (id: Service.Visit.Get.ID, params?: Service.Visit.Get.Params) => Promise<Service.Visit.Get.Result>;
471
+ create: (body: Service.Visit.Create.Body) => Promise<Service.Visit.Create.Result>;
472
+ update: (id: Service.Visit.Update.ID, body: Service.Visit.Update.Body) => Promise<Service.Visit.Update.Result>;
473
+ };
474
+ activityFeedback: {
475
+ _path: "activity-feedback";
476
+ find: (params?: Service.ActivityFeedback.Find.Params) => Promise<Service.ActivityFeedback.Find.Result>;
477
+ get: (id: Service.ActivityFeedback.Get.ID, params?: Service.ActivityFeedback.Get.Params) => Promise<Service.ActivityFeedback.Get.Result>;
478
+ create: (body: Service.ActivityFeedback.Create.Body) => Promise<Service.ActivityFeedback.Create.Result>;
479
+ update: (id: Service.ActivityFeedback.Update.ID, body: Service.ActivityFeedback.Update.Body) => Promise<Service.ActivityFeedback.Update.Result>;
480
+ };
481
+ activityFeedbackV2: {
482
+ _path: "activity-feedback-v2";
483
+ find: (params?: Service.ActivityFeedbackV2.Find.Params) => Promise<Service.ActivityFeedbackV2.Find.Result>;
484
+ get: (id: Service.ActivityFeedbackV2.Get.ID, params?: Service.ActivityFeedbackV2.Get.Params) => Promise<Service.ActivityFeedbackV2.Get.Result>;
485
+ create: (body: Service.ActivityFeedbackV2.Create.Body) => Promise<Service.ActivityFeedbackV2.Create.Result>;
486
+ update: (id: Service.ActivityFeedbackV2.Update.ID, body: Service.ActivityFeedbackV2.Update.Body) => Promise<Service.ActivityFeedbackV2.Update.Result>;
487
+ };
488
+ feedbackOption: {
489
+ _path: "feedback-options";
490
+ find: (params?: Service.FeedbackOption.Find.Params) => Promise<Service.FeedbackOption.Find.Result>;
491
+ get: (id: Service.FeedbackOption.Get.ID, params?: Service.FeedbackOption.Get.Params) => Promise<Service.FeedbackOption.Get.Result>;
492
+ create: (body: Service.FeedbackOption.Create.Body) => Promise<Service.FeedbackOption.Create.Result>;
493
+ update: (id: Service.FeedbackOption.Update.ID, body: Service.FeedbackOption.Update.Body) => Promise<Service.FeedbackOption.Update.Result>;
494
+ };
495
+ invoice: {
496
+ _path: "fullinvoices";
497
+ find: (params?: Service.FullInvoice.Find.Params) => Promise<Service.FullInvoice.Find.Result>;
498
+ get: (id: Service.FullInvoice.Get.ID, params?: Service.FullInvoice.Get.Params) => Promise<Service.FullInvoice.Get.Result>;
499
+ create: (body: Service.FullInvoice.Create.Body) => Promise<Service.FullInvoice.Create.Result>;
500
+ update: (id: Service.FullInvoice.Update.ID, body: Service.FullInvoice.Update.Body) => Promise<Service.FullInvoice.Update.Result>;
501
+ };
502
+ proforma: {
503
+ _path: "proforma";
504
+ find: (params?: Service.Proforma.Find.Params) => Promise<Service.Proforma.Find.Result>;
505
+ get: (id: Service.Proforma.Get.ID, params?: Service.Proforma.Get.Params) => Promise<Service.Proforma.Get.Result>;
506
+ create: (body: Service.Proforma.Create.Body) => Promise<Service.Proforma.Create.Result>;
507
+ update: (id: Service.Proforma.Update.ID, body: Service.Proforma.Update.Body) => Promise<Service.Proforma.Update.Result>;
508
+ };
509
+ payment: {
510
+ _path: "payments";
511
+ find: (params?: Service.Payment.Find.Params) => Promise<Service.Payment.Find.Result>;
512
+ get: (id: Service.Payment.Get.ID, params?: Service.Payment.Get.Params) => Promise<Service.Payment.Get.Result>;
513
+ create: (body: Service.Payment.Create.Body) => Promise<Service.Payment.Create.Result>;
514
+ update: (id: Service.Payment.Update.ID, body: Service.Payment.Update.Body) => Promise<Service.Payment.Update.Result>;
515
+ };
516
+ refund: {
517
+ _path: "refund";
518
+ find: (params?: Service.Refund.Find.Params) => Promise<Service.Refund.Find.Result>;
519
+ get: (id: Service.Refund.Get.ID, params?: Service.Refund.Get.Params) => Promise<Service.Refund.Get.Result>;
520
+ create: (body: Service.Refund.Create.Body) => Promise<Service.Refund.Create.Result>;
521
+ update: (id: Service.Refund.Update.ID, body: Service.Refund.Update.Body) => Promise<Service.Refund.Update.Result>;
522
+ };
523
+ settlement: {
524
+ _path: "settlement";
525
+ find: (params?: Service.Settlement.Find.Params) => Promise<Service.Settlement.Find.Result>;
526
+ get: (id: Service.Settlement.Get.ID, params?: Service.Settlement.Get.Params) => Promise<Service.Settlement.Get.Result>;
527
+ create: (body: Service.Settlement.Create.Body) => Promise<Service.Settlement.Create.Result>;
528
+ };
529
+ check: {
530
+ _path: "checks";
531
+ find: (params?: Service.Check.Find.Params) => Promise<Service.Check.Find.Result>;
532
+ get: (id: Service.Check.Get.ID, params?: Service.Check.Get.Params) => Promise<Service.Check.Get.Result>;
533
+ create: (body: Service.Check.Create.Body) => Promise<Service.Check.Create.Result>;
534
+ };
535
+ day: {
536
+ _path: "day";
537
+ find: (params?: Service.Day.Find.Params) => Promise<Service.Day.Find.Result>;
538
+ get: (id: Service.Day.Get.ID, params?: Service.Day.Get.Params) => Promise<Service.Day.Get.Result>;
539
+ create: (body: Service.Day.Create.Body) => Promise<Service.Day.Create.Result>;
540
+ };
541
+ receivingMaterial: {
542
+ _path: "receiving-material";
543
+ find: (params?: Service.ReceivingMaterial.Find.Params) => Promise<Service.ReceivingMaterial.Find.Result>;
544
+ get: (id: Service.ReceivingMaterial.Get.ID, params?: Service.ReceivingMaterial.Get.Params) => Promise<Service.ReceivingMaterial.Get.Result>;
545
+ create: (body: Service.ReceivingMaterial.Create.Body) => Promise<Service.ReceivingMaterial.Create.Result>;
546
+ update: (id: Service.ReceivingMaterial.Update.ID, body: Service.ReceivingMaterial.Update.Body) => Promise<Service.ReceivingMaterial.Update.Result>;
547
+ };
548
+ adjustAccount: {
549
+ _path: "adjust-account";
550
+ find: (params?: Service.AdjustAccount.Find.Params) => Promise<Service.AdjustAccount.Find.Result>;
551
+ get: (id: Service.AdjustAccount.Get.ID, params?: Service.AdjustAccount.Get.Params) => Promise<Service.AdjustAccount.Get.Result>;
552
+ create: (body: Service.AdjustAccount.Create.Body) => Promise<Service.AdjustAccount.Create.Result>;
553
+ };
554
+ transfer: {
555
+ _path: "transfer";
556
+ find: (params?: Service.Transfer.Find.Params) => Promise<Service.Transfer.Find.Result>;
557
+ get: (id: Service.Transfer.Get.ID, params?: Service.Transfer.Get.Params) => Promise<Service.Transfer.Get.Result>;
558
+ create: (body: Service.Transfer.Create.Body) => Promise<Service.Transfer.Create.Result>;
559
+ update: (id: Service.Transfer.Update.ID, body: Service.Transfer.Update.Body) => Promise<Service.Transfer.Update.Result>;
560
+ };
561
+ msl: {
562
+ _path: "msl";
563
+ find: (params?: Service.Msl.Find.Params) => Promise<Service.Msl.Find.Result>;
564
+ get: (id: Service.Msl.Get.ID, params?: Service.Msl.Get.Params) => Promise<Service.Msl.Get.Result>;
565
+ create: (body: Service.Msl.Create.Body) => Promise<Service.Msl.Create.Result>;
566
+ update: (id: Service.Msl.Update.ID, body: Service.Msl.Update.Body) => Promise<Service.Msl.Update.Result>;
567
+ remove: (id: Service.Msl.Remove.ID) => Promise<Service.Msl.Remove.Result>;
568
+ };
569
+ mslProduct: {
570
+ _path: "msl-products";
571
+ find: (params?: Service.MslProduct.Find.Params) => Promise<Service.MslProduct.Find.Result>;
572
+ get: (id: Service.MslProduct.Get.ID, params?: Service.MslProduct.Get.Params) => Promise<Service.MslProduct.Get.Result>;
573
+ create: (body: Service.MslProduct.Create.Body) => Promise<Service.MslProduct.Create.Result>;
574
+ update: (id: Service.MslProduct.Update.ID, body: Service.MslProduct.Update.Body) => Promise<Service.MslProduct.Update.Result>;
575
+ remove: (id: Service.MslProduct.Remove.ID) => Promise<Service.MslProduct.Remove.Result>;
576
+ };
577
+ mediaStorage: {
578
+ _path: "media-storage";
579
+ find: (params?: Service.MediaStorage.Find.Params) => Promise<Service.MediaStorage.Find.Result>;
580
+ get: (id: Service.MediaStorage.Get.ID, params?: Service.MediaStorage.Get.Params) => Promise<Service.MediaStorage.Get.Result>;
581
+ create: (body: Service.MediaStorage.Create.Body) => Promise<Service.MediaStorage.Create.Result>;
582
+ update: (id: Service.MediaStorage.Update.ID, body: Service.MediaStorage.Update.Body) => Promise<Service.MediaStorage.Update.Result>;
583
+ remove: (id: Service.MediaStorage.Remove.ID) => Promise<Service.MediaStorage.Remove.Result>;
584
+ };
585
+ storecheckTemplate: {
586
+ _path: "storecheck-template";
587
+ find: (params?: Service.StorecheckTemplate.Find.Params) => Promise<Service.StorecheckTemplate.Find.Result>;
588
+ get: (id: Service.StorecheckTemplate.Get.ID, params?: Service.StorecheckTemplate.Get.Params) => Promise<Service.StorecheckTemplate.Get.Result>;
589
+ create: (body: Service.StorecheckTemplate.Create.Body) => Promise<Service.StorecheckTemplate.Create.Result>;
590
+ update: (id: Service.StorecheckTemplate.Update.ID, body: Service.StorecheckTemplate.Update.Body) => Promise<Service.StorecheckTemplate.Update.Result>;
591
+ remove: (id: Service.StorecheckTemplate.Remove.ID) => Promise<Service.StorecheckTemplate.Remove.Result>;
592
+ };
593
+ activityStorecheck: {
594
+ _path: "activity-storecheck";
595
+ find: (params?: Service.ActivityStorecheck.Find.Params) => Promise<Service.ActivityStorecheck.Find.Result>;
596
+ get: (id: Service.ActivityStorecheck.Get.ID, params?: Service.ActivityStorecheck.Get.Params) => Promise<Service.ActivityStorecheck.Get.Result>;
597
+ create: (body: Service.ActivityStorecheck.Create.Body) => Promise<Service.ActivityStorecheck.Create.Result>;
598
+ update: (id: Service.ActivityStorecheck.Update.ID, body: Service.ActivityStorecheck.Update.Body) => Promise<Service.ActivityStorecheck.Update.Result>;
599
+ };
600
+ adjustInventory: {
601
+ _path: "adjust-inventory";
602
+ find: (params?: Service.AdjustInventory.Find.Params) => Promise<Service.AdjustInventory.Find.Result>;
603
+ get: (id: Service.AdjustInventory.Get.ID, params?: Service.AdjustInventory.Get.Params) => Promise<Service.AdjustInventory.Get.Result>;
604
+ create: (body: Service.AdjustInventory.Create.Body) => Promise<Service.AdjustInventory.Create.Result>;
605
+ };
606
+ inventory: {
607
+ _path: "inventory";
608
+ find: (params?: Service.Inventory.Find.Params) => Promise<Service.Inventory.Find.Result>;
609
+ };
610
+ integrationApp: {
611
+ _path: "integration-app";
612
+ find: (params?: Service.App.Find.Params) => Promise<Service.App.Find.Result>;
613
+ get: (id: Service.App.Get.ID, params?: Service.App.Find.Params) => Promise<Service.App.Get.Result>;
614
+ create: (body: Service.App.Create.Body) => Promise<Service.App.Create.Result>;
615
+ update: (id: Service.App.Update.ID, body: Service.App.Update.Body) => Promise<Service.App.Update.Result>;
616
+ };
617
+ joinActionsWebHook: {
618
+ _path: "svix-integration";
619
+ update: (id: null, body: Service.JoinActionsWeHook.Data) => Promise<Service.JoinActionsWeHook.Result>;
620
+ };
621
+ static ActionLogs: {
622
+ new (superThis: Repzo, sync_id: string): {
623
+ _path: string;
624
+ available_app_name: string;
625
+ available_app_id: StringId;
626
+ app_id: StringId;
627
+ action: string;
628
+ status: Service.ActionLogs.Status;
629
+ error?: any;
630
+ start_time: number;
631
+ end_time?: number;
632
+ total_time?: number;
633
+ company_namespace?: NameSpaces;
634
+ body?: any;
635
+ meta?: any;
636
+ message: string;
637
+ details: Service.ActionLogs.Detail[];
638
+ sync_id: string;
639
+ isOld: boolean;
640
+ superThis: Repzo;
641
+ load(sync_id: string): Promise</*elided*/ any>;
642
+ setStatus(status: Service.ActionLogs.Status, error?: any): /*elided*/ any;
643
+ setBody(body: any): /*elided*/ any;
644
+ setMeta(meta: any): /*elided*/ any;
645
+ commit(): Promise</*elided*/ any>;
646
+ addDetail(detail: string, meta?: any): /*elided*/ any;
1411
647
  };
1412
- }[];
1413
- error_details: {
1414
- timestamp: number;
1415
- error: {
1416
- [key: string]: any;
648
+ };
649
+ static CommandLog: {
650
+ new (superThis: Repzo, app: Service.App.Schema_with_populated_AvailableApp, command: string, trigger?: string): {
651
+ _path: string;
652
+ available_app_name: string;
653
+ available_app_id: StringId;
654
+ app_id: StringId;
655
+ command: string;
656
+ status: Service.CommandLog.Status;
657
+ error?: any;
658
+ start_time: number;
659
+ end_time?: number;
660
+ total_time?: number;
661
+ company_namespace: NameSpaces;
662
+ body?: any;
663
+ sync_details: {
664
+ timestamp: number;
665
+ body: {
666
+ [key: string]: any;
667
+ };
668
+ }[];
669
+ error_details: {
670
+ timestamp: number;
671
+ error: {
672
+ [key: string]: any;
673
+ };
674
+ }[];
675
+ meta?: any;
676
+ message: string;
677
+ details: Service.CommandLog.Detail[];
678
+ sync_id: string;
679
+ isOld: boolean;
680
+ priority?: number;
681
+ isPrioritized: boolean;
682
+ retries: number;
683
+ queuedAt?: Date;
684
+ failedAt?: Date;
685
+ succeededAt?: Date;
686
+ skippedAt?: Date;
687
+ receivedAt?: Date;
688
+ processedAt?: Date;
689
+ onGoing: boolean;
690
+ trigger?: string;
691
+ superThis: Repzo;
692
+ load(sync_id?: string, retries?: number): Promise</*elided*/ any>;
693
+ setStatus(status: Service.CommandLog.Status, error?: any): /*elided*/ any;
694
+ setBody(body: any): /*elided*/ any;
695
+ setMeta(meta: any): /*elided*/ any;
696
+ commit(): Promise</*elided*/ any>;
697
+ addDetail(detail: string, meta?: any): /*elided*/ any;
1417
698
  };
1418
- }[];
1419
- meta?: any;
1420
- message: string;
1421
- details: Service.CommandLog.Detail[];
1422
- sync_id: string;
1423
- isOld: boolean;
1424
- priority?: number;
1425
- isPrioritized: boolean;
1426
- retries: number;
1427
- queuedAt?: Date;
1428
- failedAt?: Date;
1429
- succeededAt?: Date;
1430
- skippedAt?: Date;
1431
- receivedAt?: Date;
1432
- processedAt?: Date;
1433
- onGoing: boolean;
1434
- trigger?: string;
1435
- superThis: Repzo;
1436
- load(sync_id?: string, retries?: number): Promise</*elided*/ any>;
1437
- setStatus(status: Service.CommandLog.Status, error?: any): /*elided*/ any;
1438
- setBody(body: any): /*elided*/ any;
1439
- setMeta(meta: any): /*elided*/ any;
1440
- commit(): Promise</*elided*/ any>;
1441
- addDetail(detail: string, meta?: any): /*elided*/ any;
1442
- };
1443
- };
1444
- patchAction: {
1445
- _path: "patch-action";
1446
- create: (
1447
- body: Service.PatchAction.Create.Body,
1448
- params?: Service.PatchAction.Create.Params,
1449
- ) => Promise<Service.PatchAction.Create.Result>;
1450
- update: (
1451
- body: Service.PatchAction.Update.Body,
1452
- ) => Promise<Service.PatchAction.Update.Result>;
1453
- };
1454
- updateIntegrationMeta: {
1455
- _path: "update-integration-meta";
1456
- create: (
1457
- body: Service.UpdateIntegrationMeta.Create.Body,
1458
- params?: Service.UpdateIntegrationMeta.Create.Params,
1459
- ) => Promise<Service.UpdateIntegrationMeta.Create.Result>;
1460
- };
1461
- assetPartType: {
1462
- _path: "asset-part-type";
1463
- find: (
1464
- params?: Service.AssetPartType.Find.Params,
1465
- ) => Promise<Service.AssetPartType.Find.Result>;
1466
- get: (
1467
- id: Service.AssetPartType.Get.ID,
1468
- ) => Promise<Service.AssetPartType.Get.Result>;
1469
- create: (
1470
- body: Service.AssetPartType.Create.Body,
1471
- ) => Promise<Service.AssetPartType.Create.Result>;
1472
- update: (
1473
- id: Service.AssetPartType.Update.ID,
1474
- body: Service.AssetPartType.Update.Body,
1475
- ) => Promise<Service.AssetPartType.Update.Result>;
1476
- remove: (
1477
- id: Service.AssetPartType.Remove.ID,
1478
- ) => Promise<Service.AssetPartType.Remove.Result>;
1479
- };
1480
- assetPart: {
1481
- _path: "asset-part";
1482
- find: (
1483
- params?: Service.AssetPart.Find.Params,
1484
- ) => Promise<Service.AssetPart.Find.Result>;
1485
- get: (
1486
- id: Service.AssetPart.Get.ID,
1487
- params?: Service.AssetPart.Get.Params,
1488
- ) => Promise<Service.AssetPart.Get.Result>;
1489
- create: (
1490
- body: Service.AssetPart.Create.Body,
1491
- ) => Promise<Service.AssetPart.Create.Result>;
1492
- update: (
1493
- id: Service.AssetPart.Update.ID,
1494
- body: Service.AssetPart.Update.Body,
1495
- ) => Promise<Service.AssetPart.Update.Result>;
1496
- remove: (
1497
- id: Service.AssetPart.Remove.ID,
1498
- ) => Promise<Service.AssetPart.Remove.Result>;
1499
- };
1500
- assetPartUnit: {
1501
- _path: "asset-part-unit";
1502
- find: (
1503
- params?: Service.AssetPartUnit.Find.Params,
1504
- ) => Promise<Service.AssetPartUnit.Find.Result>;
1505
- get: (
1506
- id: Service.AssetPartUnit.Get.ID,
1507
- params?: Service.AssetPartUnit.Get.Params,
1508
- ) => Promise<Service.AssetPartUnit.Get.Result>;
1509
- update: (
1510
- id: Service.AssetPartUnit.Update.ID,
1511
- body: Service.AssetPartUnit.Update.Body,
1512
- ) => Promise<Service.AssetPartUnit.Update.Result>;
1513
- };
1514
- assetPartReceival: {
1515
- _path: "asset-part-receival";
1516
- find: (
1517
- params?: Service.AssetPartReceival.Find.Params,
1518
- ) => Promise<Service.AssetPartReceival.Find.Result>;
1519
- get: (
1520
- id: Service.AssetPartReceival.Get.ID,
1521
- params?: Service.AssetPartReceival.Get.Params,
1522
- ) => Promise<Service.AssetPartReceival.Get.Result>;
1523
- create: (
1524
- body: Service.AssetPartReceival.Create.Body,
1525
- ) => Promise<Service.AssetPartReceival.Create.Result>;
1526
- update: (
1527
- id: Service.AssetPartReceival.Update.ID,
1528
- body: Service.AssetPartReceival.Update.Body,
1529
- ) => Promise<Service.AssetPartReceival.Update.Result>;
1530
- patch: (
1531
- params: Service.AssetPartReceival.Patch.Params,
1532
- body: Service.AssetPartReceival.Patch.Body,
1533
- ) => Promise<Service.AssetPartReceival.Patch.Result>;
1534
- };
1535
- assetPartTransfer: {
1536
- _path: "asset-part-transfer";
1537
- find: (
1538
- params?: Service.AssetPartTransfer.Find.Params,
1539
- ) => Promise<Service.AssetPartTransfer.Find.Result>;
1540
- get: (
1541
- id: Service.AssetPartTransfer.Get.ID,
1542
- params?: Service.AssetPartTransfer.Get.Params,
1543
- ) => Promise<Service.AssetPartTransfer.Get.Result>;
1544
- create: (
1545
- body: Service.AssetPartTransfer.Create.Body,
1546
- ) => Promise<Service.AssetPartTransfer.Create.Result>;
1547
- update: (
1548
- id: Service.AssetPartTransfer.Update.ID,
1549
- body: Service.AssetPartTransfer.Update.Body,
1550
- ) => Promise<Service.AssetPartTransfer.Update.Result>;
1551
- patch: (
1552
- params: Service.AssetPartTransfer.Patch.Params,
1553
- body: Service.AssetPartTransfer.Patch.Body,
1554
- ) => Promise<Service.AssetPartTransfer.Patch.Result>;
1555
- };
1556
- returnAssetPartUnit: {
1557
- _path: "return-asset-part-unit";
1558
- find: (
1559
- params?: Service.ReturnAssetPartUnit.Find.Params,
1560
- ) => Promise<Service.ReturnAssetPartUnit.Find.Result>;
1561
- get: (
1562
- id: Service.ReturnAssetPartUnit.Get.ID,
1563
- params?: Service.ReturnAssetPartUnit.Get.Params,
1564
- ) => Promise<Service.ReturnAssetPartUnit.Get.Result>;
1565
- create: (
1566
- body: Service.ReturnAssetPartUnit.Create.Body,
1567
- ) => Promise<Service.ReturnAssetPartUnit.Create.Result>;
1568
- update: (
1569
- id: Service.ReturnAssetPartUnit.Update.ID,
1570
- body: Service.ReturnAssetPartUnit.Update.Body,
1571
- ) => Promise<Service.ReturnAssetPartUnit.Update.Result>;
1572
- patch: (
1573
- params: Service.ReturnAssetPartUnit.Patch.Params,
1574
- body: Service.ReturnAssetPartUnit.Patch.Body,
1575
- ) => Promise<Service.ReturnAssetPartUnit.Patch.Result>;
1576
- };
1577
- storeAssetPartUnit: {
1578
- _path: "store-asset-part-unit";
1579
- find: (
1580
- params?: Service.StoreAssetPartUnit.Find.Params,
1581
- ) => Promise<Service.StoreAssetPartUnit.Find.Result>;
1582
- get: (
1583
- id: Service.StoreAssetPartUnit.Get.ID,
1584
- params?: Service.StoreAssetPartUnit.Get.Params,
1585
- ) => Promise<Service.StoreAssetPartUnit.Get.Result>;
1586
- create: (
1587
- body: Service.StoreAssetPartUnit.Create.Body,
1588
- ) => Promise<Service.StoreAssetPartUnit.Create.Result>;
1589
- update: (
1590
- id: Service.StoreAssetPartUnit.Update.ID,
1591
- body: Service.StoreAssetPartUnit.Update.Body,
1592
- ) => Promise<Service.StoreAssetPartUnit.Update.Result>;
1593
- patch: (
1594
- params: Service.StoreAssetPartUnit.Patch.Params,
1595
- body: Service.StoreAssetPartUnit.Patch.Body,
1596
- ) => Promise<Service.StoreAssetPartUnit.Patch.Result>;
1597
- };
1598
- ocrInvoiceJobTemplate: {
1599
- _path: "ocr-invoice-job-template";
1600
- find: (
1601
- params?: Service.OcrInvoiceJobTemplate.Find.Params,
1602
- ) => Promise<Service.OcrInvoiceJobTemplate.Find.Result>;
1603
- get: (
1604
- id: Service.OcrInvoiceJobTemplate.Get.ID,
1605
- ) => Promise<Service.OcrInvoiceJobTemplate.Get.Result>;
1606
- create: (
1607
- body: Service.OcrInvoiceJobTemplate.Create.Body,
1608
- ) => Promise<Service.OcrInvoiceJobTemplate.Create.Result>;
1609
- update: (
1610
- id: Service.OcrInvoiceJobTemplate.Update.ID,
1611
- body: Service.OcrInvoiceJobTemplate.Update.Body,
1612
- ) => Promise<Service.OcrInvoiceJobTemplate.Update.Result>;
1613
- };
1614
- ocrInvoiceJobGroup: {
1615
- _path: "ocr-invoice-job-group";
1616
- find: (
1617
- params?: Service.OcrInvoiceJobGroup.Find.Params,
1618
- ) => Promise<Service.OcrInvoiceJobGroup.Find.Result>;
1619
- get: (
1620
- id: Service.OcrInvoiceJobGroup.Get.ID,
1621
- ) => Promise<Service.OcrInvoiceJobGroup.Get.Result>;
1622
- create: (
1623
- body: Service.OcrInvoiceJobGroup.Create.Body,
1624
- ) => Promise<Service.OcrInvoiceJobGroup.Create.Result>;
1625
- };
1626
- activityAiSalesOrder: {
1627
- _path: "activity-ai-sales-order";
1628
- find: (
1629
- params?: Service.ActivityAiSalesOrder.Find.Params,
1630
- ) => Promise<Service.ActivityAiSalesOrder.Find.Result>;
1631
- get: (
1632
- id: Service.ActivityAiSalesOrder.Get.ID,
1633
- ) => Promise<Service.ActivityAiSalesOrder.Get.Result>;
1634
- create: (
1635
- body: Service.ActivityAiSalesOrder.Create.Body,
1636
- ) => Promise<Service.ActivityAiSalesOrder.Create.Result>;
1637
- };
1638
- ocrInvoiceJob: {
1639
- _path: "ocr-invoice-job";
1640
- find: (
1641
- params?: Service.OcrInvoiceJob.Find.Params,
1642
- ) => Promise<Service.OcrInvoiceJob.Find.Result>;
1643
- get: (
1644
- id: Service.OcrInvoiceJob.Get.ID,
1645
- ) => Promise<Service.OcrInvoiceJob.Get.Result>;
1646
- };
1647
- ocrInvoiceJobPage: {
1648
- _path: "ocr-invoice-job-page";
1649
- find: (
1650
- params?: Service.OcrInvoiceJobPage.Find.Params,
1651
- ) => Promise<Service.OcrInvoiceJobPage.Find.Result>;
1652
- get: (
1653
- id: Service.OcrInvoiceJobPage.Get.ID,
1654
- ) => Promise<Service.OcrInvoiceJobPage.Get.Result>;
1655
- update: (
1656
- id: Service.OcrInvoiceJobPage.Update.ID,
1657
- body: Service.OcrInvoiceJobPage.Update.Body,
1658
- ) => Promise<Service.OcrInvoiceJobPage.Update.Result>;
1659
- };
1660
- settings: {
1661
- _path: "settings";
1662
- find: (
1663
- params?: Service.Settings.Find.Params,
1664
- ) => Promise<Service.Settings.Find.Result>;
1665
- get: (id: Service.Settings.Get.ID) => Promise<Service.Settings.Get.Result>;
1666
- update: (
1667
- id: Service.Settings.Update.ID,
1668
- body: Service.Settings.Update.Body,
1669
- ) => Promise<Service.Settings.Update.Result>;
1670
- };
1671
- mailUnsubscribe: {
1672
- _path: "mail-unsubscribe";
1673
- get: (
1674
- id: Service.MailUnsubsrcibe.Get.ID,
1675
- ) => Promise<Service.MailUnsubsrcibe.Get.Result>;
1676
- create: (
1677
- params: Service.MailUnsubsrcibe.Create.Params,
1678
- ) => Promise<Service.MailUnsubsrcibe.Create.Result>;
1679
- };
1680
- approvalRequest: {
1681
- _path: "approval-request";
1682
- find: (
1683
- params?: Service.ApprovalRequest.Find.Params,
1684
- ) => Promise<Service.ApprovalRequest.Find.Result>;
1685
- get: (
1686
- id: Service.ApprovalRequest.Get.ID,
1687
- params?: Service.ApprovalRequest.Get.Params,
1688
- ) => Promise<Service.ApprovalRequest.Get.Result>;
1689
- create: (
1690
- body: Service.ApprovalRequest.Create.Body,
1691
- ) => Promise<Service.ApprovalRequest.Create.Result>;
1692
- update: (
1693
- id: Service.ApprovalRequest.Update.ID,
1694
- body: Service.ApprovalRequest.Update.Body,
1695
- ) => Promise<Service.ApprovalRequest.Update.Result>;
1696
- remove: (
1697
- id: Service.ApprovalRequest.Update.ID,
1698
- params: Service.ApprovalRequest.Remove.Params,
1699
- ) => Promise<Service.ApprovalRequest.Remove.Result>;
1700
- };
1701
- safeInvoiceSerialCounter: {
1702
- _path: "safe-invoice-serial-counter";
1703
- update: (
1704
- id: Service.SafeInvoiceSerialCounter.Update.ID,
1705
- body: Service.SafeInvoiceSerialCounter.Update.Body,
1706
- ) => Promise<Service.SafeInvoiceSerialCounter.Update.Result>;
1707
- };
1708
- clientLocation: {
1709
- _path: "client-location";
1710
- find: (
1711
- params?: Service.ClientLocation.Find.Params,
1712
- ) => Promise<Service.ClientLocation.Find.Result>;
1713
- get: (
1714
- id: Service.ClientLocation.Get.ID,
1715
- params?: Service.ClientLocation.Get.Params,
1716
- ) => Promise<Service.ClientLocation.Get.Result>;
1717
- create: (
1718
- body: Service.ClientLocation.Create.Body,
1719
- ) => Promise<Service.ClientLocation.Create.Result>;
1720
- update: (
1721
- id: Service.ClientLocation.Update.ID,
1722
- body: Service.ClientLocation.Update.Body,
1723
- ) => Promise<Service.ClientLocation.Update.Result>;
1724
- remove: (
1725
- id: Service.ClientLocation.Update.ID,
1726
- params: Service.ClientLocation.Remove.Params,
1727
- ) => Promise<Service.ClientLocation.Remove.Result>;
1728
- };
1729
- assetType: {
1730
- _path: "asset-type";
1731
- find: (
1732
- params?: Service.AssetType.Find.Params,
1733
- ) => Promise<Service.AssetType.Find.Result>;
1734
- get: (
1735
- id: Service.AssetType.Get.ID,
1736
- ) => Promise<Service.AssetType.Get.Result>;
1737
- create: (
1738
- body: Service.AssetType.Create.Body,
1739
- ) => Promise<Service.AssetType.Create.Result>;
1740
- update: (
1741
- id: Service.AssetType.Update.ID,
1742
- body: Service.AssetType.Update.Body,
1743
- ) => Promise<Service.AssetType.Update.Result>;
1744
- remove: (
1745
- id: Service.AssetType.Update.ID,
1746
- params: Service.AssetType.Remove.Params,
1747
- ) => Promise<Service.AssetType.Remove.Result>;
1748
- };
1749
- asset: {
1750
- _path: "asset";
1751
- find: (
1752
- params?: Service.Asset.Find.Params,
1753
- ) => Promise<Service.Asset.Find.Result>;
1754
- get: (
1755
- id: Service.Asset.Get.ID,
1756
- params?: Service.Asset.Get.Params,
1757
- ) => Promise<Service.Asset.Get.Result>;
1758
- create: (
1759
- body: Service.Asset.Create.Body,
1760
- ) => Promise<Service.Asset.Create.Result>;
1761
- update: (
1762
- id: Service.Asset.Update.ID,
1763
- body: Service.Asset.Update.Body,
1764
- ) => Promise<Service.Asset.Update.Result>;
1765
- remove: (
1766
- id: Service.Asset.Update.ID,
1767
- params: Service.Asset.Remove.Params,
1768
- ) => Promise<Service.Asset.Remove.Result>;
1769
- };
1770
- assetUnit: {
1771
- _path: "asset-unit";
1772
- find: (
1773
- params?: Service.AssetUnit.Find.Params,
1774
- ) => Promise<Service.AssetUnit.Find.Result>;
1775
- get: (
1776
- id: Service.AssetUnit.Get.ID,
1777
- params?: Service.AssetUnit.Get.Params,
1778
- ) => Promise<Service.AssetUnit.Get.Result>;
1779
- create: (
1780
- body: Service.AssetUnit.Create.Body,
1781
- ) => Promise<Service.AssetUnit.Create.Result>;
1782
- update: (
1783
- id: Service.AssetUnit.Update.ID,
1784
- body: Service.AssetUnit.Update.Body,
1785
- ) => Promise<Service.AssetUnit.Update.Result>;
1786
- remove: (
1787
- id: Service.AssetUnit.Update.ID,
1788
- params: Service.AssetUnit.Remove.Params,
1789
- ) => Promise<Service.AssetUnit.Remove.Result>;
1790
- };
1791
- workorderPortal: {
1792
- _path: "workorder-portal";
1793
- find: (
1794
- params?: Service.WorkorderPortal.Find.Params,
1795
- ) => Promise<Service.WorkorderPortal.Find.Result>;
1796
- get: (
1797
- id: Service.WorkorderPortal.Get.ID,
1798
- params?: Service.WorkorderPortal.Get.Params,
1799
- ) => Promise<Service.WorkorderPortal.Get.Result>;
1800
- create: (
1801
- body: Service.WorkorderPortal.Create.Body,
1802
- ) => Promise<Service.WorkorderPortal.Create.Result>;
1803
- update: (
1804
- id: Service.WorkorderPortal.Update.ID,
1805
- body: Service.WorkorderPortal.Update.Body,
1806
- ) => Promise<Service.WorkorderPortal.Update.Result>;
1807
- remove: (
1808
- id: Service.WorkorderPortal.Update.ID,
1809
- ) => Promise<Service.WorkorderPortal.Remove.Result>;
1810
- };
1811
- approval: {
1812
- _path: "approvals";
1813
- find: (
1814
- params?: Service.Approval.Find.Params,
1815
- ) => Promise<Service.Approval.Find.Result>;
1816
- get: (
1817
- id: Service.Approval.Get.ID,
1818
- params?: Service.Approval.Get.Params,
1819
- ) => Promise<Service.Approval.Get.Result>;
1820
- create: (
1821
- body: Service.Approval.Create.Body,
1822
- ) => Promise<Service.Approval.Create.Result>;
1823
- update: (
1824
- id: Service.Approval.Update.ID,
1825
- body: Service.Approval.Update.Body,
1826
- ) => Promise<Service.Approval.Update.Result>;
1827
- remove: (
1828
- id: Service.Approval.Remove.ID,
1829
- ) => Promise<Service.Approval.Remove.Result>;
1830
- };
1831
- workorderCategory: {
1832
- _path: "workorder-category";
1833
- find: (
1834
- params?: Service.WorkorderCategory.Find.Params,
1835
- ) => Promise<Service.WorkorderCategory.Find.Result>;
1836
- get: (
1837
- id: Service.WorkorderCategory.Get.ID,
1838
- params?: Service.WorkorderCategory.Get.Params,
1839
- ) => Promise<Service.WorkorderCategory.Get.Result>;
1840
- create: (
1841
- body: Service.WorkorderCategory.Create.Body,
1842
- ) => Promise<Service.WorkorderCategory.Create.Result>;
1843
- update: (
1844
- id: Service.WorkorderCategory.Update.ID,
1845
- body: Service.WorkorderCategory.Update.Body,
1846
- ) => Promise<Service.WorkorderCategory.Update.Result>;
1847
- remove: (
1848
- id: Service.WorkorderCategory.Remove.ID,
1849
- ) => Promise<Service.WorkorderCategory.Remove.Result>;
1850
- };
1851
- contract: {
1852
- _path: "contract";
1853
- find: (
1854
- params?: Service.Contract.Find.Params,
1855
- ) => Promise<Service.Contract.Find.Result>;
1856
- get: (
1857
- id: Service.Contract.Get.ID,
1858
- params?: Service.Contract.Get.Params,
1859
- ) => Promise<Service.Contract.Get.Result>;
1860
- create: (
1861
- body: Service.Contract.Create.Body,
1862
- ) => Promise<Service.Contract.Create.Result>;
1863
- update: (
1864
- id: Service.Contract.Update.ID,
1865
- body: Service.Contract.Update.Body,
1866
- ) => Promise<Service.Contract.Update.Result>;
1867
- remove: (
1868
- id: Service.Contract.Remove.ID,
1869
- ) => Promise<Service.Contract.Remove.Result>;
1870
- };
1871
- contractInstallment: {
1872
- _path: "contract-installment";
1873
- find: (
1874
- params?: Service.ContractInstallment.Find.Params,
1875
- ) => Promise<Service.ContractInstallment.Find.Result>;
1876
- get: (
1877
- id: Service.ContractInstallment.Get.ID,
1878
- params?: Service.ContractInstallment.Get.Params,
1879
- ) => Promise<Service.ContractInstallment.Get.Result>;
1880
- create: (
1881
- body: Service.ContractInstallment.Create.Body,
1882
- ) => Promise<Service.ContractInstallment.Create.Result>;
1883
- update: (
1884
- id: Service.ContractInstallment.Update.ID,
1885
- body: Service.ContractInstallment.Update.Body,
1886
- ) => Promise<Service.ContractInstallment.Update.Result>;
1887
- remove: (
1888
- id: Service.ContractInstallment.Remove.ID,
1889
- ) => Promise<Service.ContractInstallment.Remove.Result>;
1890
- };
1891
- repBalanceSummary: {
1892
- _path: "rep-balance-summary";
1893
- find: (
1894
- params: Service.RepBalanceSummary.Find.Params,
1895
- ) => Promise<Service.RepBalanceSummary.Find.Result>;
1896
- };
1897
- workorderPortalLink: {
1898
- _path: "workorder-portal-link";
1899
- find: (
1900
- params?: Service.WorkorderPortalLink.Find.Params,
1901
- ) => Promise<Service.WorkorderPortalLink.Find.Result>;
1902
- get: (
1903
- id: Service.WorkorderPortalLink.Get.ID,
1904
- params?: Service.WorkorderPortalLink.Get.Params,
1905
- ) => Promise<Service.WorkorderPortalLink.Get.Result>;
1906
- create: (
1907
- body: Service.WorkorderPortalLink.Create.Body,
1908
- ) => Promise<Service.WorkorderPortalLink.Create.Result>;
1909
- update: (
1910
- id: Service.WorkorderPortalLink.Update.ID,
1911
- body: Service.WorkorderPortalLink.Update.Body,
1912
- ) => Promise<Service.WorkorderPortalLink.Update.Result>;
1913
- patch: (
1914
- id: Service.WorkorderPortalLink.Patch.ID,
1915
- body: Service.WorkorderPortalLink.Patch.Body,
1916
- ) => Promise<Service.WorkorderPortalLink.Patch.Result>;
1917
- remove: (
1918
- id: Service.WorkorderPortalLink.Remove.ID,
1919
- ) => Promise<Service.WorkorderPortalLink.Remove.Result>;
1920
- };
1921
- customField: {
1922
- _path: "customfields";
1923
- find: (
1924
- params?: Service.CustomField.Find.Params,
1925
- ) => Promise<Service.CustomField.Find.Result>;
1926
- get: (
1927
- id: Service.CustomField.Get.ID,
1928
- params?: Service.CustomField.Get.Params,
1929
- ) => Promise<Service.CustomField.Get.Result>;
1930
- create: (
1931
- body: Service.CustomField.Create.Body,
1932
- ) => Promise<Service.CustomField.Create.Result>;
1933
- update: (
1934
- id: Service.CustomField.Update.ID,
1935
- body: Service.CustomField.Update.Body,
1936
- ) => Promise<Service.CustomField.Update.Result>;
1937
- remove: (
1938
- id: Service.CustomField.Update.ID,
1939
- params: Service.CustomField.Remove.Params,
1940
- ) => Promise<Service.CustomField.Remove.Result>;
1941
- };
699
+ };
700
+ patchAction: {
701
+ _path: "patch-action";
702
+ create: (body: Service.PatchAction.Create.Body, params?: Service.PatchAction.Create.Params) => Promise<Service.PatchAction.Create.Result>;
703
+ update: (body: Service.PatchAction.Update.Body) => Promise<Service.PatchAction.Update.Result>;
704
+ };
705
+ updateIntegrationMeta: {
706
+ _path: "update-integration-meta";
707
+ create: (body: Service.UpdateIntegrationMeta.Create.Body, params?: Service.UpdateIntegrationMeta.Create.Params) => Promise<Service.UpdateIntegrationMeta.Create.Result>;
708
+ };
709
+ assetPartType: {
710
+ _path: "asset-part-type";
711
+ find: (params?: Service.AssetPartType.Find.Params) => Promise<Service.AssetPartType.Find.Result>;
712
+ get: (id: Service.AssetPartType.Get.ID) => Promise<Service.AssetPartType.Get.Result>;
713
+ create: (body: Service.AssetPartType.Create.Body) => Promise<Service.AssetPartType.Create.Result>;
714
+ update: (id: Service.AssetPartType.Update.ID, body: Service.AssetPartType.Update.Body) => Promise<Service.AssetPartType.Update.Result>;
715
+ remove: (id: Service.AssetPartType.Remove.ID) => Promise<Service.AssetPartType.Remove.Result>;
716
+ };
717
+ assetPart: {
718
+ _path: "asset-part";
719
+ find: (params?: Service.AssetPart.Find.Params) => Promise<Service.AssetPart.Find.Result>;
720
+ get: (id: Service.AssetPart.Get.ID, params?: Service.AssetPart.Get.Params) => Promise<Service.AssetPart.Get.Result>;
721
+ create: (body: Service.AssetPart.Create.Body) => Promise<Service.AssetPart.Create.Result>;
722
+ update: (id: Service.AssetPart.Update.ID, body: Service.AssetPart.Update.Body) => Promise<Service.AssetPart.Update.Result>;
723
+ remove: (id: Service.AssetPart.Remove.ID) => Promise<Service.AssetPart.Remove.Result>;
724
+ };
725
+ assetPartUnit: {
726
+ _path: "asset-part-unit";
727
+ find: (params?: Service.AssetPartUnit.Find.Params) => Promise<Service.AssetPartUnit.Find.Result>;
728
+ get: (id: Service.AssetPartUnit.Get.ID, params?: Service.AssetPartUnit.Get.Params) => Promise<Service.AssetPartUnit.Get.Result>;
729
+ update: (id: Service.AssetPartUnit.Update.ID, body: Service.AssetPartUnit.Update.Body) => Promise<Service.AssetPartUnit.Update.Result>;
730
+ };
731
+ assetPartReceival: {
732
+ _path: "asset-part-receival";
733
+ find: (params?: Service.AssetPartReceival.Find.Params) => Promise<Service.AssetPartReceival.Find.Result>;
734
+ get: (id: Service.AssetPartReceival.Get.ID, params?: Service.AssetPartReceival.Get.Params) => Promise<Service.AssetPartReceival.Get.Result>;
735
+ create: (body: Service.AssetPartReceival.Create.Body) => Promise<Service.AssetPartReceival.Create.Result>;
736
+ update: (id: Service.AssetPartReceival.Update.ID, body: Service.AssetPartReceival.Update.Body) => Promise<Service.AssetPartReceival.Update.Result>;
737
+ patch: (params: Service.AssetPartReceival.Patch.Params, body: Service.AssetPartReceival.Patch.Body) => Promise<Service.AssetPartReceival.Patch.Result>;
738
+ };
739
+ assetPartTransfer: {
740
+ _path: "asset-part-transfer";
741
+ find: (params?: Service.AssetPartTransfer.Find.Params) => Promise<Service.AssetPartTransfer.Find.Result>;
742
+ get: (id: Service.AssetPartTransfer.Get.ID, params?: Service.AssetPartTransfer.Get.Params) => Promise<Service.AssetPartTransfer.Get.Result>;
743
+ create: (body: Service.AssetPartTransfer.Create.Body) => Promise<Service.AssetPartTransfer.Create.Result>;
744
+ update: (id: Service.AssetPartTransfer.Update.ID, body: Service.AssetPartTransfer.Update.Body) => Promise<Service.AssetPartTransfer.Update.Result>;
745
+ patch: (params: Service.AssetPartTransfer.Patch.Params, body: Service.AssetPartTransfer.Patch.Body) => Promise<Service.AssetPartTransfer.Patch.Result>;
746
+ };
747
+ returnAssetPartUnit: {
748
+ _path: "return-asset-part-unit";
749
+ find: (params?: Service.ReturnAssetPartUnit.Find.Params) => Promise<Service.ReturnAssetPartUnit.Find.Result>;
750
+ get: (id: Service.ReturnAssetPartUnit.Get.ID, params?: Service.ReturnAssetPartUnit.Get.Params) => Promise<Service.ReturnAssetPartUnit.Get.Result>;
751
+ create: (body: Service.ReturnAssetPartUnit.Create.Body) => Promise<Service.ReturnAssetPartUnit.Create.Result>;
752
+ update: (id: Service.ReturnAssetPartUnit.Update.ID, body: Service.ReturnAssetPartUnit.Update.Body) => Promise<Service.ReturnAssetPartUnit.Update.Result>;
753
+ patch: (params: Service.ReturnAssetPartUnit.Patch.Params, body: Service.ReturnAssetPartUnit.Patch.Body) => Promise<Service.ReturnAssetPartUnit.Patch.Result>;
754
+ };
755
+ storeAssetPartUnit: {
756
+ _path: "store-asset-part-unit";
757
+ find: (params?: Service.StoreAssetPartUnit.Find.Params) => Promise<Service.StoreAssetPartUnit.Find.Result>;
758
+ get: (id: Service.StoreAssetPartUnit.Get.ID, params?: Service.StoreAssetPartUnit.Get.Params) => Promise<Service.StoreAssetPartUnit.Get.Result>;
759
+ create: (body: Service.StoreAssetPartUnit.Create.Body) => Promise<Service.StoreAssetPartUnit.Create.Result>;
760
+ update: (id: Service.StoreAssetPartUnit.Update.ID, body: Service.StoreAssetPartUnit.Update.Body) => Promise<Service.StoreAssetPartUnit.Update.Result>;
761
+ patch: (params: Service.StoreAssetPartUnit.Patch.Params, body: Service.StoreAssetPartUnit.Patch.Body) => Promise<Service.StoreAssetPartUnit.Patch.Result>;
762
+ };
763
+ ocrInvoiceJobTemplate: {
764
+ _path: "ocr-invoice-job-template";
765
+ find: (params?: Service.OcrInvoiceJobTemplate.Find.Params) => Promise<Service.OcrInvoiceJobTemplate.Find.Result>;
766
+ get: (id: Service.OcrInvoiceJobTemplate.Get.ID) => Promise<Service.OcrInvoiceJobTemplate.Get.Result>;
767
+ create: (body: Service.OcrInvoiceJobTemplate.Create.Body) => Promise<Service.OcrInvoiceJobTemplate.Create.Result>;
768
+ update: (id: Service.OcrInvoiceJobTemplate.Update.ID, body: Service.OcrInvoiceJobTemplate.Update.Body) => Promise<Service.OcrInvoiceJobTemplate.Update.Result>;
769
+ };
770
+ ocrInvoiceJobGroup: {
771
+ _path: "ocr-invoice-job-group";
772
+ find: (params?: Service.OcrInvoiceJobGroup.Find.Params) => Promise<Service.OcrInvoiceJobGroup.Find.Result>;
773
+ get: (id: Service.OcrInvoiceJobGroup.Get.ID) => Promise<Service.OcrInvoiceJobGroup.Get.Result>;
774
+ create: (body: Service.OcrInvoiceJobGroup.Create.Body) => Promise<Service.OcrInvoiceJobGroup.Create.Result>;
775
+ };
776
+ activityAiSalesOrder: {
777
+ _path: "activity-ai-sales-order";
778
+ find: (params?: Service.ActivityAiSalesOrder.Find.Params) => Promise<Service.ActivityAiSalesOrder.Find.Result>;
779
+ get: (id: Service.ActivityAiSalesOrder.Get.ID) => Promise<Service.ActivityAiSalesOrder.Get.Result>;
780
+ create: (body: Service.ActivityAiSalesOrder.Create.Body) => Promise<Service.ActivityAiSalesOrder.Create.Result>;
781
+ };
782
+ ocrInvoiceJob: {
783
+ _path: "ocr-invoice-job";
784
+ find: (params?: Service.OcrInvoiceJob.Find.Params) => Promise<Service.OcrInvoiceJob.Find.Result>;
785
+ get: (id: Service.OcrInvoiceJob.Get.ID) => Promise<Service.OcrInvoiceJob.Get.Result>;
786
+ };
787
+ ocrInvoiceJobPage: {
788
+ _path: "ocr-invoice-job-page";
789
+ find: (params?: Service.OcrInvoiceJobPage.Find.Params) => Promise<Service.OcrInvoiceJobPage.Find.Result>;
790
+ get: (id: Service.OcrInvoiceJobPage.Get.ID) => Promise<Service.OcrInvoiceJobPage.Get.Result>;
791
+ update: (id: Service.OcrInvoiceJobPage.Update.ID, body: Service.OcrInvoiceJobPage.Update.Body) => Promise<Service.OcrInvoiceJobPage.Update.Result>;
792
+ };
793
+ settings: {
794
+ _path: "settings";
795
+ find: (params?: Service.Settings.Find.Params) => Promise<Service.Settings.Find.Result>;
796
+ get: (id: Service.Settings.Get.ID) => Promise<Service.Settings.Get.Result>;
797
+ update: (id: Service.Settings.Update.ID, body: Service.Settings.Update.Body) => Promise<Service.Settings.Update.Result>;
798
+ };
799
+ mailUnsubscribe: {
800
+ _path: "mail-unsubscribe";
801
+ get: (id: Service.MailUnsubsrcibe.Get.ID) => Promise<Service.MailUnsubsrcibe.Get.Result>;
802
+ create: (params: Service.MailUnsubsrcibe.Create.Params) => Promise<Service.MailUnsubsrcibe.Create.Result>;
803
+ };
804
+ approvalRequest: {
805
+ _path: "approval-request";
806
+ find: (params?: Service.ApprovalRequest.Find.Params) => Promise<Service.ApprovalRequest.Find.Result>;
807
+ get: (id: Service.ApprovalRequest.Get.ID, params?: Service.ApprovalRequest.Get.Params) => Promise<Service.ApprovalRequest.Get.Result>;
808
+ create: (body: Service.ApprovalRequest.Create.Body) => Promise<Service.ApprovalRequest.Create.Result>;
809
+ update: (id: Service.ApprovalRequest.Update.ID, body: Service.ApprovalRequest.Update.Body) => Promise<Service.ApprovalRequest.Update.Result>;
810
+ remove: (id: Service.ApprovalRequest.Update.ID, params: Service.ApprovalRequest.Remove.Params) => Promise<Service.ApprovalRequest.Remove.Result>;
811
+ };
812
+ safeInvoiceSerialCounter: {
813
+ _path: "safe-invoice-serial-counter";
814
+ update: (id: Service.SafeInvoiceSerialCounter.Update.ID, body: Service.SafeInvoiceSerialCounter.Update.Body) => Promise<Service.SafeInvoiceSerialCounter.Update.Result>;
815
+ };
816
+ clientLocation: {
817
+ _path: "client-location";
818
+ find: (params?: Service.ClientLocation.Find.Params) => Promise<Service.ClientLocation.Find.Result>;
819
+ get: (id: Service.ClientLocation.Get.ID, params?: Service.ClientLocation.Get.Params) => Promise<Service.ClientLocation.Get.Result>;
820
+ create: (body: Service.ClientLocation.Create.Body) => Promise<Service.ClientLocation.Create.Result>;
821
+ update: (id: Service.ClientLocation.Update.ID, body: Service.ClientLocation.Update.Body) => Promise<Service.ClientLocation.Update.Result>;
822
+ remove: (id: Service.ClientLocation.Update.ID, params: Service.ClientLocation.Remove.Params) => Promise<Service.ClientLocation.Remove.Result>;
823
+ };
824
+ assetType: {
825
+ _path: "asset-type";
826
+ find: (params?: Service.AssetType.Find.Params) => Promise<Service.AssetType.Find.Result>;
827
+ get: (id: Service.AssetType.Get.ID) => Promise<Service.AssetType.Get.Result>;
828
+ create: (body: Service.AssetType.Create.Body) => Promise<Service.AssetType.Create.Result>;
829
+ update: (id: Service.AssetType.Update.ID, body: Service.AssetType.Update.Body) => Promise<Service.AssetType.Update.Result>;
830
+ remove: (id: Service.AssetType.Update.ID, params: Service.AssetType.Remove.Params) => Promise<Service.AssetType.Remove.Result>;
831
+ };
832
+ asset: {
833
+ _path: "asset";
834
+ find: (params?: Service.Asset.Find.Params) => Promise<Service.Asset.Find.Result>;
835
+ get: (id: Service.Asset.Get.ID, params?: Service.Asset.Get.Params) => Promise<Service.Asset.Get.Result>;
836
+ create: (body: Service.Asset.Create.Body) => Promise<Service.Asset.Create.Result>;
837
+ update: (id: Service.Asset.Update.ID, body: Service.Asset.Update.Body) => Promise<Service.Asset.Update.Result>;
838
+ remove: (id: Service.Asset.Update.ID, params: Service.Asset.Remove.Params) => Promise<Service.Asset.Remove.Result>;
839
+ };
840
+ assetUnit: {
841
+ _path: "asset-unit";
842
+ find: (params?: Service.AssetUnit.Find.Params) => Promise<Service.AssetUnit.Find.Result>;
843
+ get: (id: Service.AssetUnit.Get.ID, params?: Service.AssetUnit.Get.Params) => Promise<Service.AssetUnit.Get.Result>;
844
+ create: (body: Service.AssetUnit.Create.Body) => Promise<Service.AssetUnit.Create.Result>;
845
+ update: (id: Service.AssetUnit.Update.ID, body: Service.AssetUnit.Update.Body) => Promise<Service.AssetUnit.Update.Result>;
846
+ remove: (id: Service.AssetUnit.Update.ID, params: Service.AssetUnit.Remove.Params) => Promise<Service.AssetUnit.Remove.Result>;
847
+ };
848
+ workorderPortal: {
849
+ _path: "workorder-portal";
850
+ find: (params?: Service.WorkorderPortal.Find.Params) => Promise<Service.WorkorderPortal.Find.Result>;
851
+ get: (id: Service.WorkorderPortal.Get.ID, params?: Service.WorkorderPortal.Get.Params) => Promise<Service.WorkorderPortal.Get.Result>;
852
+ create: (body: Service.WorkorderPortal.Create.Body) => Promise<Service.WorkorderPortal.Create.Result>;
853
+ update: (id: Service.WorkorderPortal.Update.ID, body: Service.WorkorderPortal.Update.Body) => Promise<Service.WorkorderPortal.Update.Result>;
854
+ remove: (id: Service.WorkorderPortal.Update.ID) => Promise<Service.WorkorderPortal.Remove.Result>;
855
+ };
856
+ approval: {
857
+ _path: "approvals";
858
+ find: (params?: Service.Approval.Find.Params) => Promise<Service.Approval.Find.Result>;
859
+ get: (id: Service.Approval.Get.ID, params?: Service.Approval.Get.Params) => Promise<Service.Approval.Get.Result>;
860
+ create: (body: Service.Approval.Create.Body) => Promise<Service.Approval.Create.Result>;
861
+ update: (id: Service.Approval.Update.ID, body: Service.Approval.Update.Body) => Promise<Service.Approval.Update.Result>;
862
+ remove: (id: Service.Approval.Remove.ID) => Promise<Service.Approval.Remove.Result>;
863
+ };
864
+ workorderCategory: {
865
+ _path: "workorder-category";
866
+ find: (params?: Service.WorkorderCategory.Find.Params) => Promise<Service.WorkorderCategory.Find.Result>;
867
+ get: (id: Service.WorkorderCategory.Get.ID, params?: Service.WorkorderCategory.Get.Params) => Promise<Service.WorkorderCategory.Get.Result>;
868
+ create: (body: Service.WorkorderCategory.Create.Body) => Promise<Service.WorkorderCategory.Create.Result>;
869
+ update: (id: Service.WorkorderCategory.Update.ID, body: Service.WorkorderCategory.Update.Body) => Promise<Service.WorkorderCategory.Update.Result>;
870
+ remove: (id: Service.WorkorderCategory.Remove.ID) => Promise<Service.WorkorderCategory.Remove.Result>;
871
+ };
872
+ contract: {
873
+ _path: "contract";
874
+ find: (params?: Service.Contract.Find.Params) => Promise<Service.Contract.Find.Result>;
875
+ get: (id: Service.Contract.Get.ID, params?: Service.Contract.Get.Params) => Promise<Service.Contract.Get.Result>;
876
+ create: (body: Service.Contract.Create.Body) => Promise<Service.Contract.Create.Result>;
877
+ update: (id: Service.Contract.Update.ID, body: Service.Contract.Update.Body) => Promise<Service.Contract.Update.Result>;
878
+ remove: (id: Service.Contract.Remove.ID) => Promise<Service.Contract.Remove.Result>;
879
+ };
880
+ contractInstallment: {
881
+ _path: "contract-installment";
882
+ find: (params?: Service.ContractInstallment.Find.Params) => Promise<Service.ContractInstallment.Find.Result>;
883
+ get: (id: Service.ContractInstallment.Get.ID, params?: Service.ContractInstallment.Get.Params) => Promise<Service.ContractInstallment.Get.Result>;
884
+ create: (body: Service.ContractInstallment.Create.Body) => Promise<Service.ContractInstallment.Create.Result>;
885
+ update: (id: Service.ContractInstallment.Update.ID, body: Service.ContractInstallment.Update.Body) => Promise<Service.ContractInstallment.Update.Result>;
886
+ remove: (id: Service.ContractInstallment.Remove.ID) => Promise<Service.ContractInstallment.Remove.Result>;
887
+ };
888
+ repBalanceSummary: {
889
+ _path: "rep-balance-summary";
890
+ find: (params: Service.RepBalanceSummary.Find.Params) => Promise<Service.RepBalanceSummary.Find.Result>;
891
+ };
892
+ workorderPortalLink: {
893
+ _path: "workorder-portal-link";
894
+ find: (params?: Service.WorkorderPortalLink.Find.Params) => Promise<Service.WorkorderPortalLink.Find.Result>;
895
+ get: (id: Service.WorkorderPortalLink.Get.ID, params?: Service.WorkorderPortalLink.Get.Params) => Promise<Service.WorkorderPortalLink.Get.Result>;
896
+ create: (body: Service.WorkorderPortalLink.Create.Body) => Promise<Service.WorkorderPortalLink.Create.Result>;
897
+ update: (id: Service.WorkorderPortalLink.Update.ID, body: Service.WorkorderPortalLink.Update.Body) => Promise<Service.WorkorderPortalLink.Update.Result>;
898
+ patch: (id: Service.WorkorderPortalLink.Patch.ID, body: Service.WorkorderPortalLink.Patch.Body) => Promise<Service.WorkorderPortalLink.Patch.Result>;
899
+ remove: (id: Service.WorkorderPortalLink.Remove.ID) => Promise<Service.WorkorderPortalLink.Remove.Result>;
900
+ };
901
+ customField: {
902
+ _path: "customfields";
903
+ find: (params?: Service.CustomField.Find.Params) => Promise<Service.CustomField.Find.Result>;
904
+ get: (id: Service.CustomField.Get.ID, params?: Service.CustomField.Get.Params) => Promise<Service.CustomField.Get.Result>;
905
+ create: (body: Service.CustomField.Create.Body) => Promise<Service.CustomField.Create.Result>;
906
+ update: (id: Service.CustomField.Update.ID, body: Service.CustomField.Update.Body) => Promise<Service.CustomField.Update.Result>;
907
+ remove: (id: Service.CustomField.Update.ID, params: Service.CustomField.Remove.Params) => Promise<Service.CustomField.Remove.Result>;
908
+ };
1942
909
  }
1943
910
  export {};