repzo 1.0.142 → 1.0.144

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