repzo 1.0.91 → 1.0.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -1,6 +1,4 @@
1
1
  import type {
2
- Params,
3
- Data,
4
2
  Service,
5
3
  Options,
6
4
  Headers,
@@ -11,13 +9,85 @@ export default class Repzo {
11
9
  private svAPIEndpoint;
12
10
  headers: Headers;
13
11
  constructor(apiKey: string, options?: Options);
12
+ private _end_points;
13
+ END_POINTS: {
14
+ readonly CLIENT: "client";
15
+ readonly PRODUCT: "product";
16
+ readonly VARIANT: "variant";
17
+ readonly CATEGORY: "product-category";
18
+ readonly SUB_CATEGORY: "product-sub-category";
19
+ readonly BRAND: "product-brand";
20
+ readonly PRODUCT_GROUP: "product-group";
21
+ readonly TAX: "tax";
22
+ readonly MEASUREUNIT: "measureunits";
23
+ readonly MEASUREUNIT_FAMILY: "measureunit-family";
24
+ readonly MEDIA: "media";
25
+ readonly PRICELIST: "pricelists";
26
+ readonly PRICELIST_ITEM: "pricelistsitems";
27
+ readonly TEAM: "teams";
28
+ readonly RETURN_REASON: "return-reason";
29
+ readonly REP: "rep";
30
+ readonly TAG: "tag";
31
+ readonly WAREHOUSE: "warehouse";
32
+ readonly ROUTE: "route";
33
+ readonly PRODUCT_MODIFIERS_GROUP: "product-modifiers-group";
34
+ readonly CHANNEL: "client-channel";
35
+ readonly SPECIALITY: "speciality";
36
+ readonly CLIENT_CONTACT: "client-contact";
37
+ readonly PAYMENT_TERM: "paymentterms";
38
+ readonly BANK: "banks";
39
+ readonly BANK_LIST: "bankslists";
40
+ readonly CUSTOM_STATUS: "custom-status";
41
+ readonly CUSTOM_LIST: "custom-list";
42
+ readonly CUSTOM_LIST_ITEM: "custom-list-item";
43
+ readonly INVENTORY_ADJUSTMENT_REASON: "inventory-adjustment-reason";
44
+ readonly WORKORDER: "workorder";
45
+ readonly SUPPLIER: "supplier";
46
+ readonly QUICK_CONVERT_TO_PDF: "quick-convert-to-pdf";
47
+ readonly VISIT: "visit";
48
+ readonly INVOICE: "fullinvoices";
49
+ readonly PROFORMA: "proforma";
50
+ readonly PAYMENT: "payments";
51
+ readonly REFUND: "refund";
52
+ readonly SETTLEMENT: "settlement";
53
+ readonly CHECK: "checks";
54
+ readonly DAY: "day";
55
+ readonly RECEIVING_MATERIAL: "receiving-material";
56
+ readonly ADJUST_ACCOUNT: "adjust-account";
57
+ readonly TRANSFER: "transfer";
58
+ readonly MSL: "msl";
59
+ readonly MSL_PRODUCT: "msl-products";
60
+ readonly MEDIA_STORAGE: "media-storage";
61
+ readonly STORECHECK_TEMPLATE: "storecheck-template";
62
+ readonly ACTIVITY_STORECHECK: "activity-storecheck";
63
+ readonly ADJUST_INVENTORY: "adjust-inventory";
64
+ readonly INVENTORY: "inventory";
65
+ readonly INTEGRATION_APP: "integration-app";
66
+ readonly JOIN_ACTIONS_WEBHOOK: "svix-integration";
67
+ readonly INTEGRATION_ACTION_LOG: "integration-action-log";
68
+ readonly INTEGRATION_COMMAND_LOG: "integration-command-log";
69
+ readonly PATCH_ACTION: "patch-action";
70
+ readonly UPDATE_INTEGRATION_META: "update-integration-meta";
71
+ readonly ASSET_PART_TYPE: "asset-part-type";
72
+ readonly ASSET_PART: "asset-part";
73
+ readonly ASSET_PART_UNIT: "asset-part-unit";
74
+ readonly ASSET_PART_RECEIVAL: "asset-part-receival";
75
+ readonly ASSET_PART_TRANSFER: "asset-part-transfer";
76
+ readonly RETURN_ASSET_PART_UNIT: "return-asset-part-unit";
77
+ readonly STORE_ASSET_PART_UNIT: "store-asset-part-unit";
78
+ readonly OCR_INVOICE_JOB_TEMPLATE: "ocr-invoice-job-template";
79
+ readonly OCR_INVOICE_JOB_GROUP: "ocr-invoice-job-group";
80
+ readonly ACTIVITY_AI_SALES_ORDER: "activity-ai-sales-order";
81
+ readonly OCR_INVOICE_JOB: "ocr-invoice-job";
82
+ readonly OCR_INVOICE_JOB_PAGE: "ocr-invoice-job-page";
83
+ };
14
84
  private _fetch;
15
85
  private _create;
16
86
  private _update;
17
87
  private _patch;
18
88
  private _delete;
19
89
  client: {
20
- _path: string;
90
+ _path: "client";
21
91
  find: (
22
92
  params?: Service.Client.Find.Params
23
93
  ) => Promise<Service.Client.Find.Result>;
@@ -37,7 +107,7 @@ export default class Repzo {
37
107
  ) => Promise<Service.Client.Remove.Result>;
38
108
  };
39
109
  product: {
40
- _path: string;
110
+ _path: "product";
41
111
  find: (
42
112
  params?: Service.Product.Find.Params
43
113
  ) => Promise<Service.Product.Find.Result>;
@@ -57,7 +127,7 @@ export default class Repzo {
57
127
  ) => Promise<Service.Product.Remove.Result>;
58
128
  };
59
129
  variant: {
60
- _path: string;
130
+ _path: "variant";
61
131
  find: (
62
132
  params?: Service.Variant.Find.Params
63
133
  ) => Promise<Service.Variant.Find.Result>;
@@ -77,7 +147,7 @@ export default class Repzo {
77
147
  ) => Promise<Service.Variant.Remove.Result>;
78
148
  };
79
149
  category: {
80
- _path: string;
150
+ _path: "product-category";
81
151
  find: (
82
152
  params?: Service.Category.Find.Params
83
153
  ) => Promise<Service.Category.Find.Result>;
@@ -94,7 +164,7 @@ export default class Repzo {
94
164
  ) => Promise<Service.Category.Remove.Result>;
95
165
  };
96
166
  sub_category: {
97
- _path: string;
167
+ _path: "product-sub-category";
98
168
  find: (
99
169
  params?: Service.SubCategory.Find.Params
100
170
  ) => Promise<Service.SubCategory.Find.Result>;
@@ -114,7 +184,7 @@ export default class Repzo {
114
184
  ) => Promise<Service.SubCategory.Remove.Result>;
115
185
  };
116
186
  brand: {
117
- _path: string;
187
+ _path: "product-brand";
118
188
  find: (
119
189
  params?: Service.Brand.Find.Params
120
190
  ) => Promise<Service.Brand.Find.Result>;
@@ -131,7 +201,7 @@ export default class Repzo {
131
201
  ) => Promise<Service.Brand.Remove.Result>;
132
202
  };
133
203
  product_group: {
134
- _path: string;
204
+ _path: "product-group";
135
205
  find: (
136
206
  params?: Service.ProductGroup.Find.Params
137
207
  ) => Promise<Service.ProductGroup.Find.Result>;
@@ -150,7 +220,7 @@ export default class Repzo {
150
220
  ) => Promise<Service.ProductGroup.Remove.Result>;
151
221
  };
152
222
  tax: {
153
- _path: string;
223
+ _path: "tax";
154
224
  find: (
155
225
  params?: Service.Tax.Find.Params
156
226
  ) => Promise<Service.Tax.Find.Result>;
@@ -165,7 +235,7 @@ export default class Repzo {
165
235
  remove: (id: Service.Tax.Remove.ID) => Promise<Service.Tax.Remove.Result>;
166
236
  };
167
237
  measureunit: {
168
- _path: string;
238
+ _path: "measureunits";
169
239
  find: (
170
240
  params?: Service.MeasureUnit.Find.Params
171
241
  ) => Promise<Service.MeasureUnit.Find.Result>;
@@ -184,7 +254,7 @@ export default class Repzo {
184
254
  ) => Promise<Service.MeasureUnit.Remove.Result>;
185
255
  };
186
256
  measureunitFamily: {
187
- _path: string;
257
+ _path: "measureunit-family";
188
258
  find: (
189
259
  params?: Service.MeasureUnitFamily.Find.Params
190
260
  ) => Promise<Service.MeasureUnitFamily.Find.Result>;
@@ -203,7 +273,7 @@ export default class Repzo {
203
273
  ) => Promise<Service.MeasureUnitFamily.Remove.Result>;
204
274
  };
205
275
  media: {
206
- _path: string;
276
+ _path: "media";
207
277
  find: (
208
278
  params?: Service.Media.Find.Params
209
279
  ) => Promise<Service.Media.Find.Result>;
@@ -220,7 +290,7 @@ export default class Repzo {
220
290
  ) => Promise<Service.Media.Remove.Result>;
221
291
  };
222
292
  priceList: {
223
- _path: string;
293
+ _path: "pricelists";
224
294
  find: (
225
295
  params?: Service.PriceList.Find.Params
226
296
  ) => Promise<Service.PriceList.Find.Result>;
@@ -239,7 +309,7 @@ export default class Repzo {
239
309
  ) => Promise<Service.PriceList.Remove.Result>;
240
310
  };
241
311
  priceListItem: {
242
- _path: string;
312
+ _path: "pricelistsitems";
243
313
  find: (
244
314
  params?: Service.PriceListItem.Find.Params
245
315
  ) => Promise<Service.PriceListItem.Find.Result>;
@@ -258,7 +328,7 @@ export default class Repzo {
258
328
  ) => Promise<Service.PriceListItem.Remove.Result>;
259
329
  };
260
330
  team: {
261
- _path: string;
331
+ _path: "teams";
262
332
  find: (
263
333
  params?: Service.Team.Find.Params
264
334
  ) => Promise<Service.Team.Find.Result>;
@@ -273,7 +343,7 @@ export default class Repzo {
273
343
  remove: (id: Service.Team.Remove.ID) => Promise<Service.Team.Remove.Result>;
274
344
  };
275
345
  returnReason: {
276
- _path: string;
346
+ _path: "return-reason";
277
347
  find: (
278
348
  params?: Service.ReturnReason.Find.Params
279
349
  ) => Promise<Service.ReturnReason.Find.Result>;
@@ -292,7 +362,7 @@ export default class Repzo {
292
362
  ) => Promise<Service.ReturnReason.Remove.Result>;
293
363
  };
294
364
  rep: {
295
- _path: string;
365
+ _path: "rep";
296
366
  find: (
297
367
  params?: Service.Rep.Find.Params
298
368
  ) => Promise<Service.Rep.Find.Result>;
@@ -310,7 +380,7 @@ export default class Repzo {
310
380
  remove: (id: Service.Rep.Remove.ID) => Promise<Service.Rep.Remove.Result>;
311
381
  };
312
382
  tag: {
313
- _path: string;
383
+ _path: "tag";
314
384
  find: (
315
385
  params?: Service.Tag.Find.Params
316
386
  ) => Promise<Service.Tag.Find.Result>;
@@ -325,7 +395,7 @@ export default class Repzo {
325
395
  remove: (id: Service.Tag.Remove.ID) => Promise<Service.Tag.Remove.Result>;
326
396
  };
327
397
  warehouse: {
328
- _path: string;
398
+ _path: "warehouse";
329
399
  find: (
330
400
  params?: Service.Warehouse.Find.Params
331
401
  ) => Promise<Service.Warehouse.Find.Result>;
@@ -344,7 +414,7 @@ export default class Repzo {
344
414
  ) => Promise<Service.Warehouse.Remove.Result>;
345
415
  };
346
416
  route: {
347
- _path: string;
417
+ _path: "route";
348
418
  find: (
349
419
  params?: Service.Route.Find.Params
350
420
  ) => Promise<Service.Route.Find.Result>;
@@ -361,7 +431,7 @@ export default class Repzo {
361
431
  ) => Promise<Service.Route.Remove.Result>;
362
432
  };
363
433
  productModifiersGroup: {
364
- _path: string;
434
+ _path: "product-modifiers-group";
365
435
  find: (
366
436
  params?: Service.ProductModifiersGroup.Find.Params
367
437
  ) => Promise<Service.ProductModifiersGroup.Find.Result>;
@@ -380,7 +450,7 @@ export default class Repzo {
380
450
  ) => Promise<Service.ProductModifiersGroup.Remove.Result>;
381
451
  };
382
452
  channel: {
383
- _path: string;
453
+ _path: "client-channel";
384
454
  find: (
385
455
  params?: Service.Channel.Find.Params
386
456
  ) => Promise<Service.Channel.Find.Result>;
@@ -397,7 +467,7 @@ export default class Repzo {
397
467
  ) => Promise<Service.Channel.Remove.Result>;
398
468
  };
399
469
  speciality: {
400
- _path: string;
470
+ _path: "speciality";
401
471
  find: (
402
472
  params?: Service.Speciality.Find.Params
403
473
  ) => Promise<Service.Speciality.Find.Result>;
@@ -416,7 +486,7 @@ export default class Repzo {
416
486
  ) => Promise<Service.Speciality.Remove.Result>;
417
487
  };
418
488
  clientContact: {
419
- _path: string;
489
+ _path: "client-contact";
420
490
  find: (
421
491
  params?: Service.ClientContact.Find.Params
422
492
  ) => Promise<Service.ClientContact.Find.Result>;
@@ -435,7 +505,7 @@ export default class Repzo {
435
505
  ) => Promise<Service.ClientContact.Remove.Result>;
436
506
  };
437
507
  paymentTerm: {
438
- _path: string;
508
+ _path: "paymentterms";
439
509
  find: (
440
510
  params?: Service.PaymentTerm.Find.Params
441
511
  ) => Promise<Service.PaymentTerm.Find.Result>;
@@ -454,7 +524,7 @@ export default class Repzo {
454
524
  ) => Promise<Service.PaymentTerm.Remove.Result>;
455
525
  };
456
526
  bank: {
457
- _path: string;
527
+ _path: "banks";
458
528
  find: (
459
529
  params?: Service.Bank.Find.Params
460
530
  ) => Promise<Service.Bank.Find.Result>;
@@ -468,7 +538,7 @@ export default class Repzo {
468
538
  ) => Promise<Service.Bank.Update.Result>;
469
539
  };
470
540
  bank_list: {
471
- _path: string;
541
+ _path: "bankslists";
472
542
  find: (
473
543
  params?: Service.BankList.Find.Params
474
544
  ) => Promise<Service.BankList.Find.Result>;
@@ -482,7 +552,7 @@ export default class Repzo {
482
552
  ) => Promise<Service.BankList.Update.Result>;
483
553
  };
484
554
  customStatus: {
485
- _path: string;
555
+ _path: "custom-status";
486
556
  find: (
487
557
  params?: Service.CustomStatus.Find.Params
488
558
  ) => Promise<Service.CustomStatus.Find.Result>;
@@ -501,7 +571,7 @@ export default class Repzo {
501
571
  ) => Promise<Service.CustomStatus.Remove.Result>;
502
572
  };
503
573
  customList: {
504
- _path: string;
574
+ _path: "custom-list";
505
575
  find: (
506
576
  params?: Service.CustomList.Find.Params
507
577
  ) => Promise<Service.CustomList.Find.Result>;
@@ -521,7 +591,7 @@ export default class Repzo {
521
591
  ) => Promise<Service.CustomList.Remove.Result>;
522
592
  };
523
593
  customListItem: {
524
- _path: string;
594
+ _path: "custom-list-item";
525
595
  find: (
526
596
  params?: Service.CustomListItem.Find.Params
527
597
  ) => Promise<Service.CustomListItem.Find.Result>;
@@ -541,7 +611,7 @@ export default class Repzo {
541
611
  ) => Promise<Service.CustomListItem.Remove.Result>;
542
612
  };
543
613
  inventoryAdjustmentReason: {
544
- _path: string;
614
+ _path: "inventory-adjustment-reason";
545
615
  find: (
546
616
  params?: Service.InventoryAdjustmentReason.Find.Params
547
617
  ) => Promise<Service.InventoryAdjustmentReason.Find.Result>;
@@ -560,7 +630,7 @@ export default class Repzo {
560
630
  ) => Promise<Service.InventoryAdjustmentReason.Remove.Result>;
561
631
  };
562
632
  workorder: {
563
- _path: string;
633
+ _path: "workorder";
564
634
  find: (
565
635
  params?: Service.Workorder.Find.Params
566
636
  ) => Promise<Service.Workorder.Find.Result>;
@@ -570,7 +640,7 @@ export default class Repzo {
570
640
  ) => Promise<Service.Workorder.Get.Result>;
571
641
  };
572
642
  supplier: {
573
- _path: string;
643
+ _path: "supplier";
574
644
  find: (
575
645
  params?: Service.Supplier.Find.Params
576
646
  ) => Promise<Service.Supplier.Find.Result>;
@@ -587,7 +657,7 @@ export default class Repzo {
587
657
  ) => Promise<Service.Supplier.Update.Result>;
588
658
  };
589
659
  quickConvertToPdf: {
590
- _path: string;
660
+ _path: "quick-convert-to-pdf";
591
661
  find: (
592
662
  params?: Service.QuickConvertToPdf.Find.Params
593
663
  ) => Promise<Service.QuickConvertToPdf.Find.Result>;
@@ -603,7 +673,7 @@ export default class Repzo {
603
673
  ) => Promise<Service.QuickConvertToPdf.Remove.Result>;
604
674
  };
605
675
  visit: {
606
- _path: string;
676
+ _path: "visit";
607
677
  find: (
608
678
  params?: Service.Visit.Find.Params
609
679
  ) => Promise<Service.Visit.Find.Result>;
@@ -620,7 +690,7 @@ export default class Repzo {
620
690
  ) => Promise<Service.Visit.Update.Result>;
621
691
  };
622
692
  invoice: {
623
- _path: string;
693
+ _path: "fullinvoices";
624
694
  find: (
625
695
  params?: Service.FullInvoice.Find.Params
626
696
  ) => Promise<Service.FullInvoice.Find.Result>;
@@ -637,7 +707,7 @@ export default class Repzo {
637
707
  ) => Promise<Service.FullInvoice.Update.Result>;
638
708
  };
639
709
  proforma: {
640
- _path: string;
710
+ _path: "proforma";
641
711
  find: (
642
712
  params?: Service.Proforma.Find.Params
643
713
  ) => Promise<Service.Proforma.Find.Result>;
@@ -654,7 +724,7 @@ export default class Repzo {
654
724
  ) => Promise<Service.Proforma.Update.Result>;
655
725
  };
656
726
  payment: {
657
- _path: string;
727
+ _path: "payments";
658
728
  find: (
659
729
  params?: Service.Payment.Find.Params
660
730
  ) => Promise<Service.Payment.Find.Result>;
@@ -671,7 +741,7 @@ export default class Repzo {
671
741
  ) => Promise<Service.Payment.Update.Result>;
672
742
  };
673
743
  refund: {
674
- _path: string;
744
+ _path: "refund";
675
745
  find: (
676
746
  params?: Service.Refund.Find.Params
677
747
  ) => Promise<Service.Refund.Find.Result>;
@@ -688,7 +758,7 @@ export default class Repzo {
688
758
  ) => Promise<Service.Refund.Update.Result>;
689
759
  };
690
760
  settlement: {
691
- _path: string;
761
+ _path: "settlement";
692
762
  find: (
693
763
  params?: Service.Settlement.Find.Params
694
764
  ) => Promise<Service.Settlement.Find.Result>;
@@ -701,7 +771,7 @@ export default class Repzo {
701
771
  ) => Promise<Service.Settlement.Create.Result>;
702
772
  };
703
773
  check: {
704
- _path: string;
774
+ _path: "checks";
705
775
  find: (
706
776
  params?: Service.Check.Find.Params
707
777
  ) => Promise<Service.Check.Find.Result>;
@@ -714,7 +784,7 @@ export default class Repzo {
714
784
  ) => Promise<Service.Check.Create.Result>;
715
785
  };
716
786
  day: {
717
- _path: string;
787
+ _path: "day";
718
788
  find: (
719
789
  params?: Service.Day.Find.Params
720
790
  ) => Promise<Service.Day.Find.Result>;
@@ -727,7 +797,7 @@ export default class Repzo {
727
797
  ) => Promise<Service.Day.Create.Result>;
728
798
  };
729
799
  receivingMaterial: {
730
- _path: string;
800
+ _path: "receiving-material";
731
801
  find: (
732
802
  params?: Service.ReceivingMaterial.Find.Params
733
803
  ) => Promise<Service.ReceivingMaterial.Find.Result>;
@@ -744,7 +814,7 @@ export default class Repzo {
744
814
  ) => Promise<Service.ReceivingMaterial.Update.Result>;
745
815
  };
746
816
  adjustAccount: {
747
- _path: string;
817
+ _path: "adjust-account";
748
818
  find: (
749
819
  params?: Service.AdjustAccount.Find.Params
750
820
  ) => Promise<Service.AdjustAccount.Find.Result>;
@@ -757,7 +827,7 @@ export default class Repzo {
757
827
  ) => Promise<Service.AdjustAccount.Create.Result>;
758
828
  };
759
829
  transfer: {
760
- _path: string;
830
+ _path: "transfer";
761
831
  find: (
762
832
  params?: Service.Transfer.Find.Params
763
833
  ) => Promise<Service.Transfer.Find.Result>;
@@ -774,7 +844,7 @@ export default class Repzo {
774
844
  ) => Promise<Service.Transfer.Update.Result>;
775
845
  };
776
846
  msl: {
777
- _path: string;
847
+ _path: "msl";
778
848
  find: (
779
849
  params?: Service.Msl.Find.Params
780
850
  ) => Promise<Service.Msl.Find.Result>;
@@ -792,7 +862,7 @@ export default class Repzo {
792
862
  remove: (id: Service.Msl.Remove.ID) => Promise<Service.Msl.Remove.Result>;
793
863
  };
794
864
  mslProduct: {
795
- _path: string;
865
+ _path: "msl-products";
796
866
  find: (
797
867
  params?: Service.MslProduct.Find.Params
798
868
  ) => Promise<Service.MslProduct.Find.Result>;
@@ -812,7 +882,7 @@ export default class Repzo {
812
882
  ) => Promise<Service.MslProduct.Remove.Result>;
813
883
  };
814
884
  mediaStorage: {
815
- _path: string;
885
+ _path: "media-storage";
816
886
  find: (
817
887
  params?: Service.MediaStorage.Find.Params
818
888
  ) => Promise<Service.MediaStorage.Find.Result>;
@@ -832,7 +902,7 @@ export default class Repzo {
832
902
  ) => Promise<Service.MediaStorage.Remove.Result>;
833
903
  };
834
904
  storecheckTemplate: {
835
- _path: string;
905
+ _path: "storecheck-template";
836
906
  find: (
837
907
  params?: Service.StorecheckTemplate.Find.Params
838
908
  ) => Promise<Service.StorecheckTemplate.Find.Result>;
@@ -852,7 +922,7 @@ export default class Repzo {
852
922
  ) => Promise<Service.StorecheckTemplate.Remove.Result>;
853
923
  };
854
924
  activityStorecheck: {
855
- _path: string;
925
+ _path: "activity-storecheck";
856
926
  find: (
857
927
  params?: Service.ActivityStorecheck.Find.Params
858
928
  ) => Promise<Service.ActivityStorecheck.Find.Result>;
@@ -869,7 +939,7 @@ export default class Repzo {
869
939
  ) => Promise<Service.ActivityStorecheck.Update.Result>;
870
940
  };
871
941
  adjustInventory: {
872
- _path: string;
942
+ _path: "adjust-inventory";
873
943
  find: (
874
944
  params?: Service.AdjustInventory.Find.Params
875
945
  ) => Promise<Service.AdjustInventory.Find.Result>;
@@ -882,13 +952,13 @@ export default class Repzo {
882
952
  ) => Promise<Service.AdjustInventory.Create.Result>;
883
953
  };
884
954
  inventory: {
885
- _path: string;
955
+ _path: "inventory";
886
956
  find: (
887
957
  params?: Service.Inventory.Find.Params
888
958
  ) => Promise<Service.Inventory.Find.Result>;
889
959
  };
890
960
  integrationApp: {
891
- _path: string;
961
+ _path: "integration-app";
892
962
  find: (
893
963
  params?: Service.App.Find.Params
894
964
  ) => Promise<Service.App.Find.Result>;
@@ -905,7 +975,7 @@ export default class Repzo {
905
975
  ) => Promise<Service.App.Update.Result>;
906
976
  };
907
977
  joinActionsWebHook: {
908
- _path: string;
978
+ _path: "svix-integration";
909
979
  update: (
910
980
  id: null,
911
981
  body: Service.JoinActionsWeHook.Data
@@ -921,9 +991,9 @@ export default class Repzo {
921
991
  status: Service.ActionLogs.Status;
922
992
  error?: any;
923
993
  start_time: number;
924
- end_time?: number | undefined;
925
- total_time?: number | undefined;
926
- company_namespace?: NameSpaces | undefined;
994
+ end_time?: number;
995
+ total_time?: number;
996
+ company_namespace?: NameSpaces;
927
997
  body?: any;
928
998
  meta?: any;
929
999
  message: string;
@@ -931,12 +1001,12 @@ export default class Repzo {
931
1001
  sync_id: string;
932
1002
  isOld: boolean;
933
1003
  superThis: Repzo;
934
- load(sync_id: string): Promise<any>;
935
- setStatus(status: Service.ActionLogs.Status, error?: any): any;
936
- setBody(body: any): any;
937
- setMeta(meta: any): any;
938
- commit(): Promise<any>;
939
- addDetail(detail: string, meta?: any): any;
1004
+ load(sync_id: string): Promise</*elided*/ any>;
1005
+ setStatus(status: Service.ActionLogs.Status, error?: any): /*elided*/ any;
1006
+ setBody(body: any): /*elided*/ any;
1007
+ setMeta(meta: any): /*elided*/ any;
1008
+ commit(): Promise</*elided*/ any>;
1009
+ addDetail(detail: string, meta?: any): /*elided*/ any;
940
1010
  };
941
1011
  };
942
1012
  static CommandLog: {
@@ -954,8 +1024,8 @@ export default class Repzo {
954
1024
  status: Service.CommandLog.Status;
955
1025
  error?: any;
956
1026
  start_time: number;
957
- end_time?: number | undefined;
958
- total_time?: number | undefined;
1027
+ end_time?: number;
1028
+ total_time?: number;
959
1029
  company_namespace: NameSpaces;
960
1030
  body?: any;
961
1031
  sync_details: {
@@ -975,28 +1045,28 @@ export default class Repzo {
975
1045
  details: Service.CommandLog.Detail[];
976
1046
  sync_id: string;
977
1047
  isOld: boolean;
978
- priority?: number | undefined;
1048
+ priority?: number;
979
1049
  isPrioritized: boolean;
980
1050
  retries: number;
981
- queuedAt?: Date | undefined;
982
- failedAt?: Date | undefined;
983
- succeededAt?: Date | undefined;
984
- skippedAt?: Date | undefined;
985
- receivedAt?: Date | undefined;
986
- processedAt?: Date | undefined;
1051
+ queuedAt?: Date;
1052
+ failedAt?: Date;
1053
+ succeededAt?: Date;
1054
+ skippedAt?: Date;
1055
+ receivedAt?: Date;
1056
+ processedAt?: Date;
987
1057
  onGoing: boolean;
988
- trigger?: string | undefined;
1058
+ trigger?: string;
989
1059
  superThis: Repzo;
990
- load(sync_id?: string, retries?: number): Promise<any>;
991
- setStatus(status: Service.CommandLog.Status, error?: any): any;
992
- setBody(body: any): any;
993
- setMeta(meta: any): any;
994
- commit(): Promise<any>;
995
- addDetail(detail: string, meta?: any): any;
1060
+ load(sync_id?: string, retries?: number): Promise</*elided*/ any>;
1061
+ setStatus(status: Service.CommandLog.Status, error?: any): /*elided*/ any;
1062
+ setBody(body: any): /*elided*/ any;
1063
+ setMeta(meta: any): /*elided*/ any;
1064
+ commit(): Promise</*elided*/ any>;
1065
+ addDetail(detail: string, meta?: any): /*elided*/ any;
996
1066
  };
997
1067
  };
998
1068
  patchAction: {
999
- _path: string;
1069
+ _path: "patch-action";
1000
1070
  create: (
1001
1071
  body: Service.PatchAction.Create.Body,
1002
1072
  params?: Service.PatchAction.Create.Params
@@ -1006,14 +1076,14 @@ export default class Repzo {
1006
1076
  ) => Promise<Service.PatchAction.Update.Result>;
1007
1077
  };
1008
1078
  updateIntegrationMeta: {
1009
- _path: string;
1079
+ _path: "update-integration-meta";
1010
1080
  create: (
1011
1081
  body: Service.UpdateIntegrationMeta.Create.Body,
1012
1082
  params?: Service.UpdateIntegrationMeta.Create.Params
1013
1083
  ) => Promise<Service.UpdateIntegrationMeta.Create.Result>;
1014
1084
  };
1015
1085
  assetPartType: {
1016
- _path: string;
1086
+ _path: "asset-part-type";
1017
1087
  find: (
1018
1088
  params?: Service.AssetPartType.Find.Params
1019
1089
  ) => Promise<Service.AssetPartType.Find.Result>;
@@ -1032,7 +1102,7 @@ export default class Repzo {
1032
1102
  ) => Promise<Service.AssetPartType.Remove.Result>;
1033
1103
  };
1034
1104
  assetPart: {
1035
- _path: string;
1105
+ _path: "asset-part";
1036
1106
  find: (
1037
1107
  params?: Service.AssetPart.Find.Params
1038
1108
  ) => Promise<Service.AssetPart.Find.Result>;
@@ -1051,7 +1121,7 @@ export default class Repzo {
1051
1121
  ) => Promise<Service.AssetPart.Remove.Result>;
1052
1122
  };
1053
1123
  assetPartUnit: {
1054
- _path: string;
1124
+ _path: "asset-part-unit";
1055
1125
  find: (
1056
1126
  params?: Service.AssetPartUnit.Find.Params
1057
1127
  ) => Promise<Service.AssetPartUnit.Find.Result>;
@@ -1064,7 +1134,7 @@ export default class Repzo {
1064
1134
  ) => Promise<Service.AssetPartUnit.Update.Result>;
1065
1135
  };
1066
1136
  assetPartReceival: {
1067
- _path: string;
1137
+ _path: "asset-part-receival";
1068
1138
  find: (
1069
1139
  params?: Service.AssetPartReceival.Find.Params
1070
1140
  ) => Promise<Service.AssetPartReceival.Find.Result>;
@@ -1084,7 +1154,7 @@ export default class Repzo {
1084
1154
  ) => Promise<Service.AssetPartReceival.Patch.Result>;
1085
1155
  };
1086
1156
  assetPartTransfer: {
1087
- _path: string;
1157
+ _path: "asset-part-transfer";
1088
1158
  find: (
1089
1159
  params?: Service.AssetPartTransfer.Find.Params
1090
1160
  ) => Promise<Service.AssetPartTransfer.Find.Result>;
@@ -1104,7 +1174,7 @@ export default class Repzo {
1104
1174
  ) => Promise<Service.AssetPartTransfer.Patch.Result>;
1105
1175
  };
1106
1176
  returnAssetPartUnit: {
1107
- _path: string;
1177
+ _path: "return-asset-part-unit";
1108
1178
  find: (
1109
1179
  params?: Service.ReturnAssetPartUnit.Find.Params
1110
1180
  ) => Promise<Service.ReturnAssetPartUnit.Find.Result>;
@@ -1124,7 +1194,7 @@ export default class Repzo {
1124
1194
  ) => Promise<Service.ReturnAssetPartUnit.Patch.Result>;
1125
1195
  };
1126
1196
  storeAssetPartUnit: {
1127
- _path: string;
1197
+ _path: "store-asset-part-unit";
1128
1198
  find: (
1129
1199
  params?: Service.StoreAssetPartUnit.Find.Params
1130
1200
  ) => Promise<Service.StoreAssetPartUnit.Find.Result>;
@@ -1144,7 +1214,7 @@ export default class Repzo {
1144
1214
  ) => Promise<Service.StoreAssetPartUnit.Patch.Result>;
1145
1215
  };
1146
1216
  ocrInvoiceJobTemplate: {
1147
- _path: string;
1217
+ _path: "ocr-invoice-job-template";
1148
1218
  find: (
1149
1219
  params?: Service.OcrInvoiceJobTemplate.Find.Params
1150
1220
  ) => Promise<Service.OcrInvoiceJobTemplate.Find.Result>;
@@ -1160,7 +1230,7 @@ export default class Repzo {
1160
1230
  ) => Promise<Service.OcrInvoiceJobTemplate.Update.Result>;
1161
1231
  };
1162
1232
  ocrInvoiceJobGroup: {
1163
- _path: string;
1233
+ _path: "ocr-invoice-job-group";
1164
1234
  find: (
1165
1235
  params?: Service.OcrInvoiceJobGroup.Find.Params
1166
1236
  ) => Promise<Service.OcrInvoiceJobGroup.Find.Result>;
@@ -1172,7 +1242,7 @@ export default class Repzo {
1172
1242
  ) => Promise<Service.OcrInvoiceJobGroup.Create.Result>;
1173
1243
  };
1174
1244
  activityAiSalesOrder: {
1175
- _path: string;
1245
+ _path: "activity-ai-sales-order";
1176
1246
  find: (
1177
1247
  params?: Service.ActivityAiSalesOrder.Find.Params
1178
1248
  ) => Promise<Service.ActivityAiSalesOrder.Find.Result>;
@@ -1184,7 +1254,7 @@ export default class Repzo {
1184
1254
  ) => Promise<Service.ActivityAiSalesOrder.Create.Result>;
1185
1255
  };
1186
1256
  ocrInvoiceJob: {
1187
- _path: string;
1257
+ _path: "ocr-invoice-job";
1188
1258
  find: (
1189
1259
  params?: Service.OcrInvoiceJob.Find.Params
1190
1260
  ) => Promise<Service.OcrInvoiceJob.Find.Result>;
@@ -1193,7 +1263,7 @@ export default class Repzo {
1193
1263
  ) => Promise<Service.OcrInvoiceJob.Get.Result>;
1194
1264
  };
1195
1265
  ocrInvoiceJobPage: {
1196
- _path: string;
1266
+ _path: "ocr-invoice-job-page";
1197
1267
  find: (
1198
1268
  params?: Service.OcrInvoiceJobPage.Find.Params
1199
1269
  ) => Promise<Service.OcrInvoiceJobPage.Find.Result>;