repzo 1.0.96 → 1.0.98

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,4 +1,6 @@
1
1
  import type {
2
+ Params,
3
+ Data,
2
4
  Service,
3
5
  Options,
4
6
  Headers,
@@ -89,11 +91,11 @@ export default class Repzo {
89
91
  client: {
90
92
  _path: "client";
91
93
  find: (
92
- params?: Service.Client.Find.Params
94
+ params?: Service.Client.Find.Params | undefined
93
95
  ) => Promise<Service.Client.Find.Result>;
94
96
  get: (
95
97
  id: Service.Client.Get.ID,
96
- params?: Service.Client.Get.Params
98
+ params?: Service.Client.Get.Params | undefined
97
99
  ) => Promise<Service.Client.Get.Result>;
98
100
  create: (
99
101
  body: Service.Client.Create.Body
@@ -109,11 +111,11 @@ export default class Repzo {
109
111
  product: {
110
112
  _path: "product";
111
113
  find: (
112
- params?: Service.Product.Find.Params
114
+ params?: Service.Product.Find.Params | undefined
113
115
  ) => Promise<Service.Product.Find.Result>;
114
116
  get: (
115
117
  id: Service.Product.Get.ID,
116
- params?: Service.Product.Get.Params
118
+ params?: Service.Product.Get.Params | undefined
117
119
  ) => Promise<Service.Product.Get.Result>;
118
120
  create: (
119
121
  body: Service.Product.Create.Body
@@ -129,11 +131,11 @@ export default class Repzo {
129
131
  variant: {
130
132
  _path: "variant";
131
133
  find: (
132
- params?: Service.Variant.Find.Params
134
+ params?: Service.Variant.Find.Params | undefined
133
135
  ) => Promise<Service.Variant.Find.Result>;
134
136
  get: (
135
137
  id: Service.Variant.Get.ID,
136
- params?: Service.Variant.Get.Params
138
+ params?: Service.Variant.Get.Params | undefined
137
139
  ) => Promise<Service.Variant.Get.Result>;
138
140
  create: (
139
141
  body: Service.Variant.Create.Body
@@ -149,7 +151,7 @@ export default class Repzo {
149
151
  category: {
150
152
  _path: "product-category";
151
153
  find: (
152
- params?: Service.Category.Find.Params
154
+ params?: Service.Category.Find.Params | undefined
153
155
  ) => Promise<Service.Category.Find.Result>;
154
156
  get: (id: Service.Category.Get.ID) => Promise<Service.Category.Get.Result>;
155
157
  create: (
@@ -166,11 +168,11 @@ export default class Repzo {
166
168
  sub_category: {
167
169
  _path: "product-sub-category";
168
170
  find: (
169
- params?: Service.SubCategory.Find.Params
171
+ params?: Service.SubCategory.Find.Params | undefined
170
172
  ) => Promise<Service.SubCategory.Find.Result>;
171
173
  get: (
172
174
  id: Service.SubCategory.Get.ID,
173
- params?: Service.SubCategory.Get.Params
175
+ params?: Service.SubCategory.Get.Params | undefined
174
176
  ) => Promise<Service.SubCategory.Get.Result>;
175
177
  create: (
176
178
  body: Service.SubCategory.Create.Body
@@ -186,7 +188,7 @@ export default class Repzo {
186
188
  brand: {
187
189
  _path: "product-brand";
188
190
  find: (
189
- params?: Service.Brand.Find.Params
191
+ params?: Service.Brand.Find.Params | undefined
190
192
  ) => Promise<Service.Brand.Find.Result>;
191
193
  get: (id: Service.Brand.Get.ID) => Promise<Service.Brand.Get.Result>;
192
194
  create: (
@@ -203,7 +205,7 @@ export default class Repzo {
203
205
  product_group: {
204
206
  _path: "product-group";
205
207
  find: (
206
- params?: Service.ProductGroup.Find.Params
208
+ params?: Service.ProductGroup.Find.Params | undefined
207
209
  ) => Promise<Service.ProductGroup.Find.Result>;
208
210
  get: (
209
211
  id: Service.ProductGroup.Get.ID
@@ -222,7 +224,7 @@ export default class Repzo {
222
224
  tax: {
223
225
  _path: "tax";
224
226
  find: (
225
- params?: Service.Tax.Find.Params
227
+ params?: Service.Tax.Find.Params | undefined
226
228
  ) => Promise<Service.Tax.Find.Result>;
227
229
  get: (id: Service.Tax.Get.ID) => Promise<Service.Tax.Get.Result>;
228
230
  create: (
@@ -237,7 +239,7 @@ export default class Repzo {
237
239
  measureunit: {
238
240
  _path: "measureunits";
239
241
  find: (
240
- params?: Service.MeasureUnit.Find.Params
242
+ params?: Service.MeasureUnit.Find.Params | undefined
241
243
  ) => Promise<Service.MeasureUnit.Find.Result>;
242
244
  get: (
243
245
  id: Service.MeasureUnit.Get.ID
@@ -256,7 +258,7 @@ export default class Repzo {
256
258
  measureunitFamily: {
257
259
  _path: "measureunit-family";
258
260
  find: (
259
- params?: Service.MeasureUnitFamily.Find.Params
261
+ params?: Service.MeasureUnitFamily.Find.Params | undefined
260
262
  ) => Promise<Service.MeasureUnitFamily.Find.Result>;
261
263
  get: (
262
264
  id: Service.MeasureUnitFamily.Get.ID
@@ -275,7 +277,7 @@ export default class Repzo {
275
277
  media: {
276
278
  _path: "media";
277
279
  find: (
278
- params?: Service.Media.Find.Params
280
+ params?: Service.Media.Find.Params | undefined
279
281
  ) => Promise<Service.Media.Find.Result>;
280
282
  get: (id: Service.Media.Get.ID) => Promise<Service.Media.Get.Result>;
281
283
  create: (
@@ -292,7 +294,7 @@ export default class Repzo {
292
294
  priceList: {
293
295
  _path: "pricelists";
294
296
  find: (
295
- params?: Service.PriceList.Find.Params
297
+ params?: Service.PriceList.Find.Params | undefined
296
298
  ) => Promise<Service.PriceList.Find.Result>;
297
299
  get: (
298
300
  id: Service.PriceList.Get.ID
@@ -311,7 +313,7 @@ export default class Repzo {
311
313
  priceListItem: {
312
314
  _path: "pricelistsitems";
313
315
  find: (
314
- params?: Service.PriceListItem.Find.Params
316
+ params?: Service.PriceListItem.Find.Params | undefined
315
317
  ) => Promise<Service.PriceListItem.Find.Result>;
316
318
  get: (
317
319
  id: Service.PriceListItem.Get.ID
@@ -330,7 +332,7 @@ export default class Repzo {
330
332
  team: {
331
333
  _path: "teams";
332
334
  find: (
333
- params?: Service.Team.Find.Params
335
+ params?: Service.Team.Find.Params | undefined
334
336
  ) => Promise<Service.Team.Find.Result>;
335
337
  get: (id: Service.Team.Get.ID) => Promise<Service.Team.Get.Result>;
336
338
  create: (
@@ -345,7 +347,7 @@ export default class Repzo {
345
347
  returnReason: {
346
348
  _path: "return-reason";
347
349
  find: (
348
- params?: Service.ReturnReason.Find.Params
350
+ params?: Service.ReturnReason.Find.Params | undefined
349
351
  ) => Promise<Service.ReturnReason.Find.Result>;
350
352
  get: (
351
353
  id: Service.ReturnReason.Get.ID
@@ -364,11 +366,11 @@ export default class Repzo {
364
366
  rep: {
365
367
  _path: "rep";
366
368
  find: (
367
- params?: Service.Rep.Find.Params
369
+ params?: Service.Rep.Find.Params | undefined
368
370
  ) => Promise<Service.Rep.Find.Result>;
369
371
  get: (
370
372
  id: Service.Rep.Get.ID,
371
- params?: Service.Client.Get.Params
373
+ params?: Service.Client.Get.Params | undefined
372
374
  ) => Promise<Service.Rep.Get.Result>;
373
375
  create: (
374
376
  body: Service.Rep.Create.Body
@@ -382,7 +384,7 @@ export default class Repzo {
382
384
  tag: {
383
385
  _path: "tag";
384
386
  find: (
385
- params?: Service.Tag.Find.Params
387
+ params?: Service.Tag.Find.Params | undefined
386
388
  ) => Promise<Service.Tag.Find.Result>;
387
389
  get: (id: Service.Tag.Get.ID) => Promise<Service.Tag.Get.Result>;
388
390
  create: (
@@ -397,7 +399,7 @@ export default class Repzo {
397
399
  warehouse: {
398
400
  _path: "warehouse";
399
401
  find: (
400
- params?: Service.Warehouse.Find.Params
402
+ params?: Service.Warehouse.Find.Params | undefined
401
403
  ) => Promise<Service.Warehouse.Find.Result>;
402
404
  get: (
403
405
  id: Service.Warehouse.Get.ID
@@ -416,7 +418,7 @@ export default class Repzo {
416
418
  route: {
417
419
  _path: "route";
418
420
  find: (
419
- params?: Service.Route.Find.Params
421
+ params?: Service.Route.Find.Params | undefined
420
422
  ) => Promise<Service.Route.Find.Result>;
421
423
  get: (id: Service.Route.Get.ID) => Promise<Service.Route.Get.Result>;
422
424
  create: (
@@ -433,7 +435,7 @@ export default class Repzo {
433
435
  productModifiersGroup: {
434
436
  _path: "product-modifiers-group";
435
437
  find: (
436
- params?: Service.ProductModifiersGroup.Find.Params
438
+ params?: Service.ProductModifiersGroup.Find.Params | undefined
437
439
  ) => Promise<Service.ProductModifiersGroup.Find.Result>;
438
440
  get: (
439
441
  id: Service.ProductModifiersGroup.Get.ID
@@ -452,7 +454,7 @@ export default class Repzo {
452
454
  channel: {
453
455
  _path: "client-channel";
454
456
  find: (
455
- params?: Service.Channel.Find.Params
457
+ params?: Service.Channel.Find.Params | undefined
456
458
  ) => Promise<Service.Channel.Find.Result>;
457
459
  get: (id: Service.Channel.Get.ID) => Promise<Service.Channel.Get.Result>;
458
460
  create: (
@@ -469,7 +471,7 @@ export default class Repzo {
469
471
  speciality: {
470
472
  _path: "speciality";
471
473
  find: (
472
- params?: Service.Speciality.Find.Params
474
+ params?: Service.Speciality.Find.Params | undefined
473
475
  ) => Promise<Service.Speciality.Find.Result>;
474
476
  get: (
475
477
  id: Service.Speciality.Get.ID
@@ -488,7 +490,7 @@ export default class Repzo {
488
490
  clientContact: {
489
491
  _path: "client-contact";
490
492
  find: (
491
- params?: Service.ClientContact.Find.Params
493
+ params?: Service.ClientContact.Find.Params | undefined
492
494
  ) => Promise<Service.ClientContact.Find.Result>;
493
495
  get: (
494
496
  id: Service.ClientContact.Get.ID
@@ -507,7 +509,7 @@ export default class Repzo {
507
509
  paymentTerm: {
508
510
  _path: "paymentterms";
509
511
  find: (
510
- params?: Service.PaymentTerm.Find.Params
512
+ params?: Service.PaymentTerm.Find.Params | undefined
511
513
  ) => Promise<Service.PaymentTerm.Find.Result>;
512
514
  get: (
513
515
  id: Service.PaymentTerm.Get.ID
@@ -526,7 +528,7 @@ export default class Repzo {
526
528
  bank: {
527
529
  _path: "banks";
528
530
  find: (
529
- params?: Service.Bank.Find.Params
531
+ params?: Service.Bank.Find.Params | undefined
530
532
  ) => Promise<Service.Bank.Find.Result>;
531
533
  get: (id: Service.Bank.Get.ID) => Promise<Service.Bank.Get.Result>;
532
534
  create: (
@@ -540,7 +542,7 @@ export default class Repzo {
540
542
  bank_list: {
541
543
  _path: "bankslists";
542
544
  find: (
543
- params?: Service.BankList.Find.Params
545
+ params?: Service.BankList.Find.Params | undefined
544
546
  ) => Promise<Service.BankList.Find.Result>;
545
547
  get: (id: Service.BankList.Get.ID) => Promise<Service.BankList.Get.Result>;
546
548
  create: (
@@ -554,7 +556,7 @@ export default class Repzo {
554
556
  customStatus: {
555
557
  _path: "custom-status";
556
558
  find: (
557
- params?: Service.CustomStatus.Find.Params
559
+ params?: Service.CustomStatus.Find.Params | undefined
558
560
  ) => Promise<Service.CustomStatus.Find.Result>;
559
561
  get: (
560
562
  id: Service.CustomStatus.Get.ID
@@ -573,11 +575,11 @@ export default class Repzo {
573
575
  customList: {
574
576
  _path: "custom-list";
575
577
  find: (
576
- params?: Service.CustomList.Find.Params
578
+ params?: Service.CustomList.Find.Params | undefined
577
579
  ) => Promise<Service.CustomList.Find.Result>;
578
580
  get: (
579
581
  id: Service.CustomList.Get.ID,
580
- params?: Service.CustomList.Get.Params
582
+ params?: Service.CustomList.Get.Params | undefined
581
583
  ) => Promise<Service.CustomList.Get.Result>;
582
584
  create: (
583
585
  body: Service.CustomList.Create.Body
@@ -593,11 +595,11 @@ export default class Repzo {
593
595
  customListItem: {
594
596
  _path: "custom-list-item";
595
597
  find: (
596
- params?: Service.CustomListItem.Find.Params
598
+ params?: Service.CustomListItem.Find.Params | undefined
597
599
  ) => Promise<Service.CustomListItem.Find.Result>;
598
600
  get: (
599
601
  id: Service.CustomListItem.Get.ID,
600
- params?: Service.CustomListItem.Get.Params
602
+ params?: Service.CustomListItem.Get.Params | undefined
601
603
  ) => Promise<Service.CustomListItem.Get.Result>;
602
604
  create: (
603
605
  body: Service.CustomListItem.Create.Body
@@ -613,7 +615,7 @@ export default class Repzo {
613
615
  inventoryAdjustmentReason: {
614
616
  _path: "inventory-adjustment-reason";
615
617
  find: (
616
- params?: Service.InventoryAdjustmentReason.Find.Params
618
+ params?: Service.InventoryAdjustmentReason.Find.Params | undefined
617
619
  ) => Promise<Service.InventoryAdjustmentReason.Find.Result>;
618
620
  get: (
619
621
  id: Service.InventoryAdjustmentReason.Get.ID
@@ -632,21 +634,21 @@ export default class Repzo {
632
634
  workorder: {
633
635
  _path: "workorder";
634
636
  find: (
635
- params?: Service.Workorder.Find.Params
637
+ params?: Service.Workorder.Find.Params | undefined
636
638
  ) => Promise<Service.Workorder.Find.Result>;
637
639
  get: (
638
640
  id: Service.Workorder.Get.ID,
639
- params?: Service.Workorder.Get.Params
641
+ params?: Service.Workorder.Get.Params | undefined
640
642
  ) => Promise<Service.Workorder.Get.Result>;
641
643
  };
642
644
  supplier: {
643
645
  _path: "supplier";
644
646
  find: (
645
- params?: Service.Supplier.Find.Params
647
+ params?: Service.Supplier.Find.Params | undefined
646
648
  ) => Promise<Service.Supplier.Find.Result>;
647
649
  get: (
648
650
  id: Service.Supplier.Get.ID,
649
- params?: Service.Supplier.Get.Params
651
+ params?: Service.Supplier.Get.Params | undefined
650
652
  ) => Promise<Service.Supplier.Get.Result>;
651
653
  create: (
652
654
  body: Service.Supplier.Create.Body
@@ -659,11 +661,11 @@ export default class Repzo {
659
661
  quickConvertToPdf: {
660
662
  _path: "quick-convert-to-pdf";
661
663
  find: (
662
- params?: Service.QuickConvertToPdf.Find.Params
664
+ params?: Service.QuickConvertToPdf.Find.Params | undefined
663
665
  ) => Promise<Service.QuickConvertToPdf.Find.Result>;
664
666
  get: (
665
667
  id: Service.QuickConvertToPdf.Get.ID,
666
- params?: Service.QuickConvertToPdf.Get.Params
668
+ params?: Service.QuickConvertToPdf.Get.Params | undefined
667
669
  ) => Promise<Service.QuickConvertToPdf.Get.Result>;
668
670
  create: (
669
671
  body: Service.QuickConvertToPdf.Create.Body
@@ -675,11 +677,11 @@ export default class Repzo {
675
677
  visit: {
676
678
  _path: "visit";
677
679
  find: (
678
- params?: Service.Visit.Find.Params
680
+ params?: Service.Visit.Find.Params | undefined
679
681
  ) => Promise<Service.Visit.Find.Result>;
680
682
  get: (
681
683
  id: Service.Visit.Get.ID,
682
- params?: Service.Visit.Get.Params
684
+ params?: Service.Visit.Get.Params | undefined
683
685
  ) => Promise<Service.Visit.Get.Result>;
684
686
  create: (
685
687
  body: Service.Visit.Create.Body
@@ -692,11 +694,11 @@ export default class Repzo {
692
694
  invoice: {
693
695
  _path: "fullinvoices";
694
696
  find: (
695
- params?: Service.FullInvoice.Find.Params
697
+ params?: Service.FullInvoice.Find.Params | undefined
696
698
  ) => Promise<Service.FullInvoice.Find.Result>;
697
699
  get: (
698
700
  id: Service.FullInvoice.Get.ID,
699
- params?: Service.FullInvoice.Get.Params
701
+ params?: Service.FullInvoice.Get.Params | undefined
700
702
  ) => Promise<Service.FullInvoice.Get.Result>;
701
703
  create: (
702
704
  body: Service.FullInvoice.Create.Body
@@ -709,11 +711,11 @@ export default class Repzo {
709
711
  proforma: {
710
712
  _path: "proforma";
711
713
  find: (
712
- params?: Service.Proforma.Find.Params
714
+ params?: Service.Proforma.Find.Params | undefined
713
715
  ) => Promise<Service.Proforma.Find.Result>;
714
716
  get: (
715
717
  id: Service.Proforma.Get.ID,
716
- params?: Service.Proforma.Get.Params
718
+ params?: Service.Proforma.Get.Params | undefined
717
719
  ) => Promise<Service.Proforma.Get.Result>;
718
720
  create: (
719
721
  body: Service.Proforma.Create.Body
@@ -726,11 +728,11 @@ export default class Repzo {
726
728
  payment: {
727
729
  _path: "payments";
728
730
  find: (
729
- params?: Service.Payment.Find.Params
731
+ params?: Service.Payment.Find.Params | undefined
730
732
  ) => Promise<Service.Payment.Find.Result>;
731
733
  get: (
732
734
  id: Service.Payment.Get.ID,
733
- params?: Service.Payment.Get.Params
735
+ params?: Service.Payment.Get.Params | undefined
734
736
  ) => Promise<Service.Payment.Get.Result>;
735
737
  create: (
736
738
  body: Service.Payment.Create.Body
@@ -743,11 +745,11 @@ export default class Repzo {
743
745
  refund: {
744
746
  _path: "refund";
745
747
  find: (
746
- params?: Service.Refund.Find.Params
748
+ params?: Service.Refund.Find.Params | undefined
747
749
  ) => Promise<Service.Refund.Find.Result>;
748
750
  get: (
749
751
  id: Service.Refund.Get.ID,
750
- params?: Service.Refund.Get.Params
752
+ params?: Service.Refund.Get.Params | undefined
751
753
  ) => Promise<Service.Refund.Get.Result>;
752
754
  create: (
753
755
  body: Service.Refund.Create.Body
@@ -760,11 +762,11 @@ export default class Repzo {
760
762
  settlement: {
761
763
  _path: "settlement";
762
764
  find: (
763
- params?: Service.Settlement.Find.Params
765
+ params?: Service.Settlement.Find.Params | undefined
764
766
  ) => Promise<Service.Settlement.Find.Result>;
765
767
  get: (
766
768
  id: Service.Settlement.Get.ID,
767
- params?: Service.Settlement.Get.Params
769
+ params?: Service.Settlement.Get.Params | undefined
768
770
  ) => Promise<Service.Settlement.Get.Result>;
769
771
  create: (
770
772
  body: Service.Settlement.Create.Body
@@ -773,11 +775,11 @@ export default class Repzo {
773
775
  check: {
774
776
  _path: "checks";
775
777
  find: (
776
- params?: Service.Check.Find.Params
778
+ params?: Service.Check.Find.Params | undefined
777
779
  ) => Promise<Service.Check.Find.Result>;
778
780
  get: (
779
781
  id: Service.Check.Get.ID,
780
- params?: Service.Check.Get.Params
782
+ params?: Service.Check.Get.Params | undefined
781
783
  ) => Promise<Service.Check.Get.Result>;
782
784
  create: (
783
785
  body: Service.Check.Create.Body
@@ -786,11 +788,11 @@ export default class Repzo {
786
788
  day: {
787
789
  _path: "day";
788
790
  find: (
789
- params?: Service.Day.Find.Params
791
+ params?: Service.Day.Find.Params | undefined
790
792
  ) => Promise<Service.Day.Find.Result>;
791
793
  get: (
792
794
  id: Service.Day.Get.ID,
793
- params?: Service.Day.Get.Params
795
+ params?: Service.Day.Get.Params | undefined
794
796
  ) => Promise<Service.Day.Get.Result>;
795
797
  create: (
796
798
  body: Service.Day.Create.Body
@@ -799,11 +801,11 @@ export default class Repzo {
799
801
  receivingMaterial: {
800
802
  _path: "receiving-material";
801
803
  find: (
802
- params?: Service.ReceivingMaterial.Find.Params
804
+ params?: Service.ReceivingMaterial.Find.Params | undefined
803
805
  ) => Promise<Service.ReceivingMaterial.Find.Result>;
804
806
  get: (
805
807
  id: Service.ReceivingMaterial.Get.ID,
806
- params?: Service.ReceivingMaterial.Get.Params
808
+ params?: Service.ReceivingMaterial.Get.Params | undefined
807
809
  ) => Promise<Service.ReceivingMaterial.Get.Result>;
808
810
  create: (
809
811
  body: Service.ReceivingMaterial.Create.Body
@@ -816,11 +818,11 @@ export default class Repzo {
816
818
  adjustAccount: {
817
819
  _path: "adjust-account";
818
820
  find: (
819
- params?: Service.AdjustAccount.Find.Params
821
+ params?: Service.AdjustAccount.Find.Params | undefined
820
822
  ) => Promise<Service.AdjustAccount.Find.Result>;
821
823
  get: (
822
824
  id: Service.AdjustAccount.Get.ID,
823
- params?: Service.AdjustAccount.Get.Params
825
+ params?: Service.AdjustAccount.Get.Params | undefined
824
826
  ) => Promise<Service.AdjustAccount.Get.Result>;
825
827
  create: (
826
828
  body: Service.AdjustAccount.Create.Body
@@ -829,11 +831,11 @@ export default class Repzo {
829
831
  transfer: {
830
832
  _path: "transfer";
831
833
  find: (
832
- params?: Service.Transfer.Find.Params
834
+ params?: Service.Transfer.Find.Params | undefined
833
835
  ) => Promise<Service.Transfer.Find.Result>;
834
836
  get: (
835
837
  id: Service.Transfer.Get.ID,
836
- params?: Service.Transfer.Get.Params
838
+ params?: Service.Transfer.Get.Params | undefined
837
839
  ) => Promise<Service.Transfer.Get.Result>;
838
840
  create: (
839
841
  body: Service.Transfer.Create.Body
@@ -846,11 +848,11 @@ export default class Repzo {
846
848
  msl: {
847
849
  _path: "msl";
848
850
  find: (
849
- params?: Service.Msl.Find.Params
851
+ params?: Service.Msl.Find.Params | undefined
850
852
  ) => Promise<Service.Msl.Find.Result>;
851
853
  get: (
852
854
  id: Service.Msl.Get.ID,
853
- params?: Service.Msl.Get.Params
855
+ params?: Service.Msl.Get.Params | undefined
854
856
  ) => Promise<Service.Msl.Get.Result>;
855
857
  create: (
856
858
  body: Service.Msl.Create.Body
@@ -864,11 +866,11 @@ export default class Repzo {
864
866
  mslProduct: {
865
867
  _path: "msl-products";
866
868
  find: (
867
- params?: Service.MslProduct.Find.Params
869
+ params?: Service.MslProduct.Find.Params | undefined
868
870
  ) => Promise<Service.MslProduct.Find.Result>;
869
871
  get: (
870
872
  id: Service.MslProduct.Get.ID,
871
- params?: Service.MslProduct.Get.Params
873
+ params?: Service.MslProduct.Get.Params | undefined
872
874
  ) => Promise<Service.MslProduct.Get.Result>;
873
875
  create: (
874
876
  body: Service.MslProduct.Create.Body
@@ -884,11 +886,11 @@ export default class Repzo {
884
886
  mediaStorage: {
885
887
  _path: "media-storage";
886
888
  find: (
887
- params?: Service.MediaStorage.Find.Params
889
+ params?: Service.MediaStorage.Find.Params | undefined
888
890
  ) => Promise<Service.MediaStorage.Find.Result>;
889
891
  get: (
890
892
  id: Service.MediaStorage.Get.ID,
891
- params?: Service.MediaStorage.Get.Params
893
+ params?: Service.MediaStorage.Get.Params | undefined
892
894
  ) => Promise<Service.MediaStorage.Get.Result>;
893
895
  create: (
894
896
  body: Service.MediaStorage.Create.Body
@@ -904,11 +906,11 @@ export default class Repzo {
904
906
  storecheckTemplate: {
905
907
  _path: "storecheck-template";
906
908
  find: (
907
- params?: Service.StorecheckTemplate.Find.Params
909
+ params?: Service.StorecheckTemplate.Find.Params | undefined
908
910
  ) => Promise<Service.StorecheckTemplate.Find.Result>;
909
911
  get: (
910
912
  id: Service.StorecheckTemplate.Get.ID,
911
- params?: Service.StorecheckTemplate.Get.Params
913
+ params?: Service.StorecheckTemplate.Get.Params | undefined
912
914
  ) => Promise<Service.StorecheckTemplate.Get.Result>;
913
915
  create: (
914
916
  body: Service.StorecheckTemplate.Create.Body
@@ -924,11 +926,11 @@ export default class Repzo {
924
926
  activityStorecheck: {
925
927
  _path: "activity-storecheck";
926
928
  find: (
927
- params?: Service.ActivityStorecheck.Find.Params
929
+ params?: Service.ActivityStorecheck.Find.Params | undefined
928
930
  ) => Promise<Service.ActivityStorecheck.Find.Result>;
929
931
  get: (
930
932
  id: Service.ActivityStorecheck.Get.ID,
931
- params?: Service.ActivityStorecheck.Get.Params
933
+ params?: Service.ActivityStorecheck.Get.Params | undefined
932
934
  ) => Promise<Service.ActivityStorecheck.Get.Result>;
933
935
  create: (
934
936
  body: Service.ActivityStorecheck.Create.Body
@@ -941,11 +943,11 @@ export default class Repzo {
941
943
  adjustInventory: {
942
944
  _path: "adjust-inventory";
943
945
  find: (
944
- params?: Service.AdjustInventory.Find.Params
946
+ params?: Service.AdjustInventory.Find.Params | undefined
945
947
  ) => Promise<Service.AdjustInventory.Find.Result>;
946
948
  get: (
947
949
  id: Service.AdjustInventory.Get.ID,
948
- params?: Service.AdjustInventory.Get.Params
950
+ params?: Service.AdjustInventory.Get.Params | undefined
949
951
  ) => Promise<Service.AdjustInventory.Get.Result>;
950
952
  create: (
951
953
  body: Service.AdjustInventory.Create.Body
@@ -954,17 +956,17 @@ export default class Repzo {
954
956
  inventory: {
955
957
  _path: "inventory";
956
958
  find: (
957
- params?: Service.Inventory.Find.Params
959
+ params?: Service.Inventory.Find.Params | undefined
958
960
  ) => Promise<Service.Inventory.Find.Result>;
959
961
  };
960
962
  integrationApp: {
961
963
  _path: "integration-app";
962
964
  find: (
963
- params?: Service.App.Find.Params
965
+ params?: Service.App.Find.Params | undefined
964
966
  ) => Promise<Service.App.Find.Result>;
965
967
  get: (
966
968
  id: Service.App.Get.ID,
967
- params?: Service.App.Find.Params
969
+ params?: Service.App.Find.Params | undefined
968
970
  ) => Promise<Service.App.Get.Result>;
969
971
  create: (
970
972
  body: Service.App.Create.Body
@@ -991,9 +993,9 @@ export default class Repzo {
991
993
  status: Service.ActionLogs.Status;
992
994
  error?: any;
993
995
  start_time: number;
994
- end_time?: number;
995
- total_time?: number;
996
- company_namespace?: NameSpaces;
996
+ end_time?: number | undefined;
997
+ total_time?: number | undefined;
998
+ company_namespace?: NameSpaces | undefined;
997
999
  body?: any;
998
1000
  meta?: any;
999
1001
  message: string;
@@ -1001,12 +1003,12 @@ export default class Repzo {
1001
1003
  sync_id: string;
1002
1004
  isOld: boolean;
1003
1005
  superThis: Repzo;
1004
- load(sync_id: string): Promise</*elided*/ any>;
1005
- setStatus(status: Service.ActionLogs.Status, error?: any): /*elided*/ any;
1006
- setBody(body: any): /*elided*/ any;
1007
- setMeta(meta: any): /*elided*/ any;
1008
- commit(): Promise</*elided*/ any>;
1009
- addDetail(detail: string, meta?: any): /*elided*/ any;
1006
+ load(sync_id: string): Promise<any>;
1007
+ setStatus(status: Service.ActionLogs.Status, error?: any): any;
1008
+ setBody(body: any): any;
1009
+ setMeta(meta: any): any;
1010
+ commit(): Promise<any>;
1011
+ addDetail(detail: string, meta?: any): any;
1010
1012
  };
1011
1013
  };
1012
1014
  static CommandLog: {
@@ -1014,7 +1016,7 @@ export default class Repzo {
1014
1016
  superThis: Repzo,
1015
1017
  app: Service.App.Schema_with_populated_AvailableApp,
1016
1018
  command: string,
1017
- trigger?: string
1019
+ trigger?: string | undefined
1018
1020
  ): {
1019
1021
  _path: string;
1020
1022
  available_app_name: string;
@@ -1024,8 +1026,8 @@ export default class Repzo {
1024
1026
  status: Service.CommandLog.Status;
1025
1027
  error?: any;
1026
1028
  start_time: number;
1027
- end_time?: number;
1028
- total_time?: number;
1029
+ end_time?: number | undefined;
1030
+ total_time?: number | undefined;
1029
1031
  company_namespace: NameSpaces;
1030
1032
  body?: any;
1031
1033
  sync_details: {
@@ -1045,31 +1047,34 @@ export default class Repzo {
1045
1047
  details: Service.CommandLog.Detail[];
1046
1048
  sync_id: string;
1047
1049
  isOld: boolean;
1048
- priority?: number;
1050
+ priority?: number | undefined;
1049
1051
  isPrioritized: boolean;
1050
1052
  retries: number;
1051
- queuedAt?: Date;
1052
- failedAt?: Date;
1053
- succeededAt?: Date;
1054
- skippedAt?: Date;
1055
- receivedAt?: Date;
1056
- processedAt?: Date;
1053
+ queuedAt?: Date | undefined;
1054
+ failedAt?: Date | undefined;
1055
+ succeededAt?: Date | undefined;
1056
+ skippedAt?: Date | undefined;
1057
+ receivedAt?: Date | undefined;
1058
+ processedAt?: Date | undefined;
1057
1059
  onGoing: boolean;
1058
- trigger?: string;
1060
+ trigger?: string | undefined;
1059
1061
  superThis: Repzo;
1060
- load(sync_id?: string, retries?: number): Promise</*elided*/ any>;
1061
- setStatus(status: Service.CommandLog.Status, error?: any): /*elided*/ any;
1062
- setBody(body: any): /*elided*/ any;
1063
- setMeta(meta: any): /*elided*/ any;
1064
- commit(): Promise</*elided*/ any>;
1065
- addDetail(detail: string, meta?: any): /*elided*/ any;
1062
+ load(
1063
+ sync_id?: string | undefined,
1064
+ retries?: number | undefined
1065
+ ): Promise<any>;
1066
+ setStatus(status: Service.CommandLog.Status, error?: any): any;
1067
+ setBody(body: any): any;
1068
+ setMeta(meta: any): any;
1069
+ commit(): Promise<any>;
1070
+ addDetail(detail: string, meta?: any): any;
1066
1071
  };
1067
1072
  };
1068
1073
  patchAction: {
1069
1074
  _path: "patch-action";
1070
1075
  create: (
1071
1076
  body: Service.PatchAction.Create.Body,
1072
- params?: Service.PatchAction.Create.Params
1077
+ params?: Service.PatchAction.Create.Params | undefined
1073
1078
  ) => Promise<Service.PatchAction.Create.Result>;
1074
1079
  update: (
1075
1080
  body: Service.PatchAction.Update.Body
@@ -1079,13 +1084,13 @@ export default class Repzo {
1079
1084
  _path: "update-integration-meta";
1080
1085
  create: (
1081
1086
  body: Service.UpdateIntegrationMeta.Create.Body,
1082
- params?: Service.UpdateIntegrationMeta.Create.Params
1087
+ params?: Service.UpdateIntegrationMeta.Create.Params | undefined
1083
1088
  ) => Promise<Service.UpdateIntegrationMeta.Create.Result>;
1084
1089
  };
1085
1090
  assetPartType: {
1086
1091
  _path: "asset-part-type";
1087
1092
  find: (
1088
- params?: Service.AssetPartType.Find.Params
1093
+ params?: Service.AssetPartType.Find.Params | undefined
1089
1094
  ) => Promise<Service.AssetPartType.Find.Result>;
1090
1095
  get: (
1091
1096
  id: Service.AssetPartType.Get.ID
@@ -1104,7 +1109,7 @@ export default class Repzo {
1104
1109
  assetPart: {
1105
1110
  _path: "asset-part";
1106
1111
  find: (
1107
- params?: Service.AssetPart.Find.Params
1112
+ params?: Service.AssetPart.Find.Params | undefined
1108
1113
  ) => Promise<Service.AssetPart.Find.Result>;
1109
1114
  get: (
1110
1115
  id: Service.AssetPart.Get.ID
@@ -1123,7 +1128,7 @@ export default class Repzo {
1123
1128
  assetPartUnit: {
1124
1129
  _path: "asset-part-unit";
1125
1130
  find: (
1126
- params?: Service.AssetPartUnit.Find.Params
1131
+ params?: Service.AssetPartUnit.Find.Params | undefined
1127
1132
  ) => Promise<Service.AssetPartUnit.Find.Result>;
1128
1133
  get: (
1129
1134
  id: Service.AssetPartUnit.Get.ID
@@ -1136,7 +1141,7 @@ export default class Repzo {
1136
1141
  assetPartReceival: {
1137
1142
  _path: "asset-part-receival";
1138
1143
  find: (
1139
- params?: Service.AssetPartReceival.Find.Params
1144
+ params?: Service.AssetPartReceival.Find.Params | undefined
1140
1145
  ) => Promise<Service.AssetPartReceival.Find.Result>;
1141
1146
  get: (
1142
1147
  id: Service.AssetPartReceival.Get.ID
@@ -1156,7 +1161,7 @@ export default class Repzo {
1156
1161
  assetPartTransfer: {
1157
1162
  _path: "asset-part-transfer";
1158
1163
  find: (
1159
- params?: Service.AssetPartTransfer.Find.Params
1164
+ params?: Service.AssetPartTransfer.Find.Params | undefined
1160
1165
  ) => Promise<Service.AssetPartTransfer.Find.Result>;
1161
1166
  get: (
1162
1167
  id: Service.AssetPartTransfer.Get.ID
@@ -1176,7 +1181,7 @@ export default class Repzo {
1176
1181
  returnAssetPartUnit: {
1177
1182
  _path: "return-asset-part-unit";
1178
1183
  find: (
1179
- params?: Service.ReturnAssetPartUnit.Find.Params
1184
+ params?: Service.ReturnAssetPartUnit.Find.Params | undefined
1180
1185
  ) => Promise<Service.ReturnAssetPartUnit.Find.Result>;
1181
1186
  get: (
1182
1187
  id: Service.ReturnAssetPartUnit.Get.ID
@@ -1196,7 +1201,7 @@ export default class Repzo {
1196
1201
  storeAssetPartUnit: {
1197
1202
  _path: "store-asset-part-unit";
1198
1203
  find: (
1199
- params?: Service.StoreAssetPartUnit.Find.Params
1204
+ params?: Service.StoreAssetPartUnit.Find.Params | undefined
1200
1205
  ) => Promise<Service.StoreAssetPartUnit.Find.Result>;
1201
1206
  get: (
1202
1207
  id: Service.StoreAssetPartUnit.Get.ID
@@ -1216,7 +1221,7 @@ export default class Repzo {
1216
1221
  ocrInvoiceJobTemplate: {
1217
1222
  _path: "ocr-invoice-job-template";
1218
1223
  find: (
1219
- params?: Service.OcrInvoiceJobTemplate.Find.Params
1224
+ params?: Service.OcrInvoiceJobTemplate.Find.Params | undefined
1220
1225
  ) => Promise<Service.OcrInvoiceJobTemplate.Find.Result>;
1221
1226
  get: (
1222
1227
  id: Service.OcrInvoiceJobTemplate.Get.ID
@@ -1232,7 +1237,7 @@ export default class Repzo {
1232
1237
  ocrInvoiceJobGroup: {
1233
1238
  _path: "ocr-invoice-job-group";
1234
1239
  find: (
1235
- params?: Service.OcrInvoiceJobGroup.Find.Params
1240
+ params?: Service.OcrInvoiceJobGroup.Find.Params | undefined
1236
1241
  ) => Promise<Service.OcrInvoiceJobGroup.Find.Result>;
1237
1242
  get: (
1238
1243
  id: Service.OcrInvoiceJobGroup.Get.ID
@@ -1244,7 +1249,7 @@ export default class Repzo {
1244
1249
  activityAiSalesOrder: {
1245
1250
  _path: "activity-ai-sales-order";
1246
1251
  find: (
1247
- params?: Service.ActivityAiSalesOrder.Find.Params
1252
+ params?: Service.ActivityAiSalesOrder.Find.Params | undefined
1248
1253
  ) => Promise<Service.ActivityAiSalesOrder.Find.Result>;
1249
1254
  get: (
1250
1255
  id: Service.ActivityAiSalesOrder.Get.ID
@@ -1256,7 +1261,7 @@ export default class Repzo {
1256
1261
  ocrInvoiceJob: {
1257
1262
  _path: "ocr-invoice-job";
1258
1263
  find: (
1259
- params?: Service.OcrInvoiceJob.Find.Params
1264
+ params?: Service.OcrInvoiceJob.Find.Params | undefined
1260
1265
  ) => Promise<Service.OcrInvoiceJob.Find.Result>;
1261
1266
  get: (
1262
1267
  id: Service.OcrInvoiceJob.Get.ID
@@ -1265,7 +1270,7 @@ export default class Repzo {
1265
1270
  ocrInvoiceJobPage: {
1266
1271
  _path: "ocr-invoice-job-page";
1267
1272
  find: (
1268
- params?: Service.OcrInvoiceJobPage.Find.Params
1273
+ params?: Service.OcrInvoiceJobPage.Find.Params | undefined
1269
1274
  ) => Promise<Service.OcrInvoiceJobPage.Find.Result>;
1270
1275
  get: (
1271
1276
  id: Service.OcrInvoiceJobPage.Get.ID