repzo 1.0.83 → 1.0.85
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/changelog.md +1 -1
- package/lib/index.d.ts +122 -105
- package/lib/index.js +49 -7
- package/lib/types/index.d.ts +390 -37
- package/package.json +1 -1
- package/src/index.ts +77 -22
- package/src/types/index.ts +367 -37
package/lib/index.d.ts
CHANGED
|
@@ -19,11 +19,11 @@ export default class Repzo {
|
|
|
19
19
|
client: {
|
|
20
20
|
_path: string;
|
|
21
21
|
find: (
|
|
22
|
-
params?: Service.Client.Find.Params
|
|
22
|
+
params?: Service.Client.Find.Params
|
|
23
23
|
) => Promise<Service.Client.Find.Result>;
|
|
24
24
|
get: (
|
|
25
25
|
id: Service.Client.Get.ID,
|
|
26
|
-
params?: Service.Client.Get.Params
|
|
26
|
+
params?: Service.Client.Get.Params
|
|
27
27
|
) => Promise<Service.Client.Get.Result>;
|
|
28
28
|
create: (
|
|
29
29
|
body: Service.Client.Create.Body
|
|
@@ -39,11 +39,11 @@ export default class Repzo {
|
|
|
39
39
|
product: {
|
|
40
40
|
_path: string;
|
|
41
41
|
find: (
|
|
42
|
-
params?: Service.Product.Find.Params
|
|
42
|
+
params?: Service.Product.Find.Params
|
|
43
43
|
) => Promise<Service.Product.Find.Result>;
|
|
44
44
|
get: (
|
|
45
45
|
id: Service.Product.Get.ID,
|
|
46
|
-
params?: Service.Product.Get.Params
|
|
46
|
+
params?: Service.Product.Get.Params
|
|
47
47
|
) => Promise<Service.Product.Get.Result>;
|
|
48
48
|
create: (
|
|
49
49
|
body: Service.Product.Create.Body
|
|
@@ -59,11 +59,11 @@ export default class Repzo {
|
|
|
59
59
|
variant: {
|
|
60
60
|
_path: string;
|
|
61
61
|
find: (
|
|
62
|
-
params?: Service.Variant.Find.Params
|
|
62
|
+
params?: Service.Variant.Find.Params
|
|
63
63
|
) => Promise<Service.Variant.Find.Result>;
|
|
64
64
|
get: (
|
|
65
65
|
id: Service.Variant.Get.ID,
|
|
66
|
-
params?: Service.Variant.Get.Params
|
|
66
|
+
params?: Service.Variant.Get.Params
|
|
67
67
|
) => Promise<Service.Variant.Get.Result>;
|
|
68
68
|
create: (
|
|
69
69
|
body: Service.Variant.Create.Body
|
|
@@ -79,7 +79,7 @@ export default class Repzo {
|
|
|
79
79
|
category: {
|
|
80
80
|
_path: string;
|
|
81
81
|
find: (
|
|
82
|
-
params?: Service.Category.Find.Params
|
|
82
|
+
params?: Service.Category.Find.Params
|
|
83
83
|
) => Promise<Service.Category.Find.Result>;
|
|
84
84
|
get: (id: Service.Category.Get.ID) => Promise<Service.Category.Get.Result>;
|
|
85
85
|
create: (
|
|
@@ -96,11 +96,11 @@ export default class Repzo {
|
|
|
96
96
|
sub_category: {
|
|
97
97
|
_path: string;
|
|
98
98
|
find: (
|
|
99
|
-
params?: Service.SubCategory.Find.Params
|
|
99
|
+
params?: Service.SubCategory.Find.Params
|
|
100
100
|
) => Promise<Service.SubCategory.Find.Result>;
|
|
101
101
|
get: (
|
|
102
102
|
id: Service.SubCategory.Get.ID,
|
|
103
|
-
params?: Service.SubCategory.Get.Params
|
|
103
|
+
params?: Service.SubCategory.Get.Params
|
|
104
104
|
) => Promise<Service.SubCategory.Get.Result>;
|
|
105
105
|
create: (
|
|
106
106
|
body: Service.SubCategory.Create.Body
|
|
@@ -116,7 +116,7 @@ export default class Repzo {
|
|
|
116
116
|
brand: {
|
|
117
117
|
_path: string;
|
|
118
118
|
find: (
|
|
119
|
-
params?: Service.Brand.Find.Params
|
|
119
|
+
params?: Service.Brand.Find.Params
|
|
120
120
|
) => Promise<Service.Brand.Find.Result>;
|
|
121
121
|
get: (id: Service.Brand.Get.ID) => Promise<Service.Brand.Get.Result>;
|
|
122
122
|
create: (
|
|
@@ -133,7 +133,7 @@ export default class Repzo {
|
|
|
133
133
|
product_group: {
|
|
134
134
|
_path: string;
|
|
135
135
|
find: (
|
|
136
|
-
params?: Service.ProductGroup.Find.Params
|
|
136
|
+
params?: Service.ProductGroup.Find.Params
|
|
137
137
|
) => Promise<Service.ProductGroup.Find.Result>;
|
|
138
138
|
get: (
|
|
139
139
|
id: Service.ProductGroup.Get.ID
|
|
@@ -152,7 +152,7 @@ export default class Repzo {
|
|
|
152
152
|
tax: {
|
|
153
153
|
_path: string;
|
|
154
154
|
find: (
|
|
155
|
-
params?: Service.Tax.Find.Params
|
|
155
|
+
params?: Service.Tax.Find.Params
|
|
156
156
|
) => Promise<Service.Tax.Find.Result>;
|
|
157
157
|
get: (id: Service.Tax.Get.ID) => Promise<Service.Tax.Get.Result>;
|
|
158
158
|
create: (
|
|
@@ -167,7 +167,7 @@ export default class Repzo {
|
|
|
167
167
|
measureunit: {
|
|
168
168
|
_path: string;
|
|
169
169
|
find: (
|
|
170
|
-
params?: Service.MeasureUnit.Find.Params
|
|
170
|
+
params?: Service.MeasureUnit.Find.Params
|
|
171
171
|
) => Promise<Service.MeasureUnit.Find.Result>;
|
|
172
172
|
get: (
|
|
173
173
|
id: Service.MeasureUnit.Get.ID
|
|
@@ -186,7 +186,7 @@ export default class Repzo {
|
|
|
186
186
|
measureunitFamily: {
|
|
187
187
|
_path: string;
|
|
188
188
|
find: (
|
|
189
|
-
params?: Service.MeasureUnitFamily.Find.Params
|
|
189
|
+
params?: Service.MeasureUnitFamily.Find.Params
|
|
190
190
|
) => Promise<Service.MeasureUnitFamily.Find.Result>;
|
|
191
191
|
get: (
|
|
192
192
|
id: Service.MeasureUnitFamily.Get.ID
|
|
@@ -205,7 +205,7 @@ export default class Repzo {
|
|
|
205
205
|
media: {
|
|
206
206
|
_path: string;
|
|
207
207
|
find: (
|
|
208
|
-
params?: Service.Media.Find.Params
|
|
208
|
+
params?: Service.Media.Find.Params
|
|
209
209
|
) => Promise<Service.Media.Find.Result>;
|
|
210
210
|
get: (id: Service.Media.Get.ID) => Promise<Service.Media.Get.Result>;
|
|
211
211
|
create: (
|
|
@@ -222,7 +222,7 @@ export default class Repzo {
|
|
|
222
222
|
priceList: {
|
|
223
223
|
_path: string;
|
|
224
224
|
find: (
|
|
225
|
-
params?: Service.PriceList.Find.Params
|
|
225
|
+
params?: Service.PriceList.Find.Params
|
|
226
226
|
) => Promise<Service.PriceList.Find.Result>;
|
|
227
227
|
get: (
|
|
228
228
|
id: Service.PriceList.Get.ID
|
|
@@ -241,7 +241,7 @@ export default class Repzo {
|
|
|
241
241
|
priceListItem: {
|
|
242
242
|
_path: string;
|
|
243
243
|
find: (
|
|
244
|
-
params?: Service.PriceListItem.Find.Params
|
|
244
|
+
params?: Service.PriceListItem.Find.Params
|
|
245
245
|
) => Promise<Service.PriceListItem.Find.Result>;
|
|
246
246
|
get: (
|
|
247
247
|
id: Service.PriceListItem.Get.ID
|
|
@@ -260,7 +260,7 @@ export default class Repzo {
|
|
|
260
260
|
team: {
|
|
261
261
|
_path: string;
|
|
262
262
|
find: (
|
|
263
|
-
params?: Service.Team.Find.Params
|
|
263
|
+
params?: Service.Team.Find.Params
|
|
264
264
|
) => Promise<Service.Team.Find.Result>;
|
|
265
265
|
get: (id: Service.Team.Get.ID) => Promise<Service.Team.Get.Result>;
|
|
266
266
|
create: (
|
|
@@ -275,7 +275,7 @@ export default class Repzo {
|
|
|
275
275
|
returnReason: {
|
|
276
276
|
_path: string;
|
|
277
277
|
find: (
|
|
278
|
-
params?: Service.ReturnReason.Find.Params
|
|
278
|
+
params?: Service.ReturnReason.Find.Params
|
|
279
279
|
) => Promise<Service.ReturnReason.Find.Result>;
|
|
280
280
|
get: (
|
|
281
281
|
id: Service.ReturnReason.Get.ID
|
|
@@ -294,11 +294,11 @@ export default class Repzo {
|
|
|
294
294
|
rep: {
|
|
295
295
|
_path: string;
|
|
296
296
|
find: (
|
|
297
|
-
params?: Service.Rep.Find.Params
|
|
297
|
+
params?: Service.Rep.Find.Params
|
|
298
298
|
) => Promise<Service.Rep.Find.Result>;
|
|
299
299
|
get: (
|
|
300
300
|
id: Service.Rep.Get.ID,
|
|
301
|
-
params?: Service.Client.Get.Params
|
|
301
|
+
params?: Service.Client.Get.Params
|
|
302
302
|
) => Promise<Service.Rep.Get.Result>;
|
|
303
303
|
create: (
|
|
304
304
|
body: Service.Rep.Create.Body
|
|
@@ -312,7 +312,7 @@ export default class Repzo {
|
|
|
312
312
|
tag: {
|
|
313
313
|
_path: string;
|
|
314
314
|
find: (
|
|
315
|
-
params?: Service.Tag.Find.Params
|
|
315
|
+
params?: Service.Tag.Find.Params
|
|
316
316
|
) => Promise<Service.Tag.Find.Result>;
|
|
317
317
|
get: (id: Service.Tag.Get.ID) => Promise<Service.Tag.Get.Result>;
|
|
318
318
|
create: (
|
|
@@ -327,7 +327,7 @@ export default class Repzo {
|
|
|
327
327
|
warehouse: {
|
|
328
328
|
_path: string;
|
|
329
329
|
find: (
|
|
330
|
-
params?: Service.Warehouse.Find.Params
|
|
330
|
+
params?: Service.Warehouse.Find.Params
|
|
331
331
|
) => Promise<Service.Warehouse.Find.Result>;
|
|
332
332
|
get: (
|
|
333
333
|
id: Service.Warehouse.Get.ID
|
|
@@ -346,7 +346,7 @@ export default class Repzo {
|
|
|
346
346
|
route: {
|
|
347
347
|
_path: string;
|
|
348
348
|
find: (
|
|
349
|
-
params?: Service.Route.Find.Params
|
|
349
|
+
params?: Service.Route.Find.Params
|
|
350
350
|
) => Promise<Service.Route.Find.Result>;
|
|
351
351
|
get: (id: Service.Route.Get.ID) => Promise<Service.Route.Get.Result>;
|
|
352
352
|
create: (
|
|
@@ -363,7 +363,7 @@ export default class Repzo {
|
|
|
363
363
|
productModifiersGroup: {
|
|
364
364
|
_path: string;
|
|
365
365
|
find: (
|
|
366
|
-
params?: Service.ProductModifiersGroup.Find.Params
|
|
366
|
+
params?: Service.ProductModifiersGroup.Find.Params
|
|
367
367
|
) => Promise<Service.ProductModifiersGroup.Find.Result>;
|
|
368
368
|
get: (
|
|
369
369
|
id: Service.ProductModifiersGroup.Get.ID
|
|
@@ -382,7 +382,7 @@ export default class Repzo {
|
|
|
382
382
|
channel: {
|
|
383
383
|
_path: string;
|
|
384
384
|
find: (
|
|
385
|
-
params?: Service.Channel.Find.Params
|
|
385
|
+
params?: Service.Channel.Find.Params
|
|
386
386
|
) => Promise<Service.Channel.Find.Result>;
|
|
387
387
|
get: (id: Service.Channel.Get.ID) => Promise<Service.Channel.Get.Result>;
|
|
388
388
|
create: (
|
|
@@ -399,7 +399,7 @@ export default class Repzo {
|
|
|
399
399
|
speciality: {
|
|
400
400
|
_path: string;
|
|
401
401
|
find: (
|
|
402
|
-
params?: Service.Speciality.Find.Params
|
|
402
|
+
params?: Service.Speciality.Find.Params
|
|
403
403
|
) => Promise<Service.Speciality.Find.Result>;
|
|
404
404
|
get: (
|
|
405
405
|
id: Service.Speciality.Get.ID
|
|
@@ -418,7 +418,7 @@ export default class Repzo {
|
|
|
418
418
|
clientContact: {
|
|
419
419
|
_path: string;
|
|
420
420
|
find: (
|
|
421
|
-
params?: Service.ClientContact.Find.Params
|
|
421
|
+
params?: Service.ClientContact.Find.Params
|
|
422
422
|
) => Promise<Service.ClientContact.Find.Result>;
|
|
423
423
|
get: (
|
|
424
424
|
id: Service.ClientContact.Get.ID
|
|
@@ -437,7 +437,7 @@ export default class Repzo {
|
|
|
437
437
|
paymentTerm: {
|
|
438
438
|
_path: string;
|
|
439
439
|
find: (
|
|
440
|
-
params?: Service.PaymentTerm.Find.Params
|
|
440
|
+
params?: Service.PaymentTerm.Find.Params
|
|
441
441
|
) => Promise<Service.PaymentTerm.Find.Result>;
|
|
442
442
|
get: (
|
|
443
443
|
id: Service.PaymentTerm.Get.ID
|
|
@@ -456,7 +456,7 @@ export default class Repzo {
|
|
|
456
456
|
bank: {
|
|
457
457
|
_path: string;
|
|
458
458
|
find: (
|
|
459
|
-
params?: Service.Bank.Find.Params
|
|
459
|
+
params?: Service.Bank.Find.Params
|
|
460
460
|
) => Promise<Service.Bank.Find.Result>;
|
|
461
461
|
get: (id: Service.Bank.Get.ID) => Promise<Service.Bank.Get.Result>;
|
|
462
462
|
create: (
|
|
@@ -470,7 +470,7 @@ export default class Repzo {
|
|
|
470
470
|
bank_list: {
|
|
471
471
|
_path: string;
|
|
472
472
|
find: (
|
|
473
|
-
params?: Service.BankList.Find.Params
|
|
473
|
+
params?: Service.BankList.Find.Params
|
|
474
474
|
) => Promise<Service.BankList.Find.Result>;
|
|
475
475
|
get: (id: Service.BankList.Get.ID) => Promise<Service.BankList.Get.Result>;
|
|
476
476
|
create: (
|
|
@@ -484,7 +484,7 @@ export default class Repzo {
|
|
|
484
484
|
customStatus: {
|
|
485
485
|
_path: string;
|
|
486
486
|
find: (
|
|
487
|
-
params?: Service.CustomStatus.Find.Params
|
|
487
|
+
params?: Service.CustomStatus.Find.Params
|
|
488
488
|
) => Promise<Service.CustomStatus.Find.Result>;
|
|
489
489
|
get: (
|
|
490
490
|
id: Service.CustomStatus.Get.ID
|
|
@@ -503,11 +503,11 @@ export default class Repzo {
|
|
|
503
503
|
customList: {
|
|
504
504
|
_path: string;
|
|
505
505
|
find: (
|
|
506
|
-
params?: Service.CustomList.Find.Params
|
|
506
|
+
params?: Service.CustomList.Find.Params
|
|
507
507
|
) => Promise<Service.CustomList.Find.Result>;
|
|
508
508
|
get: (
|
|
509
509
|
id: Service.CustomList.Get.ID,
|
|
510
|
-
params?: Service.CustomList.Get.Params
|
|
510
|
+
params?: Service.CustomList.Get.Params
|
|
511
511
|
) => Promise<Service.CustomList.Get.Result>;
|
|
512
512
|
create: (
|
|
513
513
|
body: Service.CustomList.Create.Body
|
|
@@ -523,11 +523,11 @@ export default class Repzo {
|
|
|
523
523
|
customListItem: {
|
|
524
524
|
_path: string;
|
|
525
525
|
find: (
|
|
526
|
-
params?: Service.CustomListItem.Find.Params
|
|
526
|
+
params?: Service.CustomListItem.Find.Params
|
|
527
527
|
) => Promise<Service.CustomListItem.Find.Result>;
|
|
528
528
|
get: (
|
|
529
529
|
id: Service.CustomListItem.Get.ID,
|
|
530
|
-
params?: Service.CustomListItem.Get.Params
|
|
530
|
+
params?: Service.CustomListItem.Get.Params
|
|
531
531
|
) => Promise<Service.CustomListItem.Get.Result>;
|
|
532
532
|
create: (
|
|
533
533
|
body: Service.CustomListItem.Create.Body
|
|
@@ -543,7 +543,7 @@ export default class Repzo {
|
|
|
543
543
|
inventoryAdjustmentReason: {
|
|
544
544
|
_path: string;
|
|
545
545
|
find: (
|
|
546
|
-
params?: Service.InventoryAdjustmentReason.Find.Params
|
|
546
|
+
params?: Service.InventoryAdjustmentReason.Find.Params
|
|
547
547
|
) => Promise<Service.InventoryAdjustmentReason.Find.Result>;
|
|
548
548
|
get: (
|
|
549
549
|
id: Service.InventoryAdjustmentReason.Get.ID
|
|
@@ -562,21 +562,21 @@ export default class Repzo {
|
|
|
562
562
|
workorder: {
|
|
563
563
|
_path: string;
|
|
564
564
|
find: (
|
|
565
|
-
params?: Service.Workorder.Find.Params
|
|
565
|
+
params?: Service.Workorder.Find.Params
|
|
566
566
|
) => Promise<Service.Workorder.Find.Result>;
|
|
567
567
|
get: (
|
|
568
568
|
id: Service.Workorder.Get.ID,
|
|
569
|
-
params?: Service.Workorder.Get.Params
|
|
569
|
+
params?: Service.Workorder.Get.Params
|
|
570
570
|
) => Promise<Service.Workorder.Get.Result>;
|
|
571
571
|
};
|
|
572
572
|
supplier: {
|
|
573
573
|
_path: string;
|
|
574
574
|
find: (
|
|
575
|
-
params?: Service.Supplier.Find.Params
|
|
575
|
+
params?: Service.Supplier.Find.Params
|
|
576
576
|
) => Promise<Service.Supplier.Find.Result>;
|
|
577
577
|
get: (
|
|
578
578
|
id: Service.Supplier.Get.ID,
|
|
579
|
-
params?: Service.Supplier.Get.Params
|
|
579
|
+
params?: Service.Supplier.Get.Params
|
|
580
580
|
) => Promise<Service.Supplier.Get.Result>;
|
|
581
581
|
create: (
|
|
582
582
|
body: Service.Supplier.Create.Body
|
|
@@ -589,11 +589,11 @@ export default class Repzo {
|
|
|
589
589
|
quickConvertToPdf: {
|
|
590
590
|
_path: string;
|
|
591
591
|
find: (
|
|
592
|
-
params?: Service.QuickConvertToPdf.Find.Params
|
|
592
|
+
params?: Service.QuickConvertToPdf.Find.Params
|
|
593
593
|
) => Promise<Service.QuickConvertToPdf.Find.Result>;
|
|
594
594
|
get: (
|
|
595
595
|
id: Service.QuickConvertToPdf.Get.ID,
|
|
596
|
-
params?: Service.QuickConvertToPdf.Get.Params
|
|
596
|
+
params?: Service.QuickConvertToPdf.Get.Params
|
|
597
597
|
) => Promise<Service.QuickConvertToPdf.Get.Result>;
|
|
598
598
|
create: (
|
|
599
599
|
body: Service.QuickConvertToPdf.Create.Body
|
|
@@ -605,11 +605,11 @@ export default class Repzo {
|
|
|
605
605
|
visit: {
|
|
606
606
|
_path: string;
|
|
607
607
|
find: (
|
|
608
|
-
params?: Service.Visit.Find.Params
|
|
608
|
+
params?: Service.Visit.Find.Params
|
|
609
609
|
) => Promise<Service.Visit.Find.Result>;
|
|
610
610
|
get: (
|
|
611
611
|
id: Service.Visit.Get.ID,
|
|
612
|
-
params?: Service.Visit.Get.Params
|
|
612
|
+
params?: Service.Visit.Get.Params
|
|
613
613
|
) => Promise<Service.Visit.Get.Result>;
|
|
614
614
|
create: (
|
|
615
615
|
body: Service.Visit.Create.Body
|
|
@@ -622,11 +622,11 @@ export default class Repzo {
|
|
|
622
622
|
invoice: {
|
|
623
623
|
_path: string;
|
|
624
624
|
find: (
|
|
625
|
-
params?: Service.FullInvoice.Find.Params
|
|
625
|
+
params?: Service.FullInvoice.Find.Params
|
|
626
626
|
) => Promise<Service.FullInvoice.Find.Result>;
|
|
627
627
|
get: (
|
|
628
628
|
id: Service.FullInvoice.Get.ID,
|
|
629
|
-
params?: Service.FullInvoice.Get.Params
|
|
629
|
+
params?: Service.FullInvoice.Get.Params
|
|
630
630
|
) => Promise<Service.FullInvoice.Get.Result>;
|
|
631
631
|
create: (
|
|
632
632
|
body: Service.FullInvoice.Create.Body
|
|
@@ -639,11 +639,11 @@ export default class Repzo {
|
|
|
639
639
|
proforma: {
|
|
640
640
|
_path: string;
|
|
641
641
|
find: (
|
|
642
|
-
params?: Service.Proforma.Find.Params
|
|
642
|
+
params?: Service.Proforma.Find.Params
|
|
643
643
|
) => Promise<Service.Proforma.Find.Result>;
|
|
644
644
|
get: (
|
|
645
645
|
id: Service.Proforma.Get.ID,
|
|
646
|
-
params?: Service.Proforma.Get.Params
|
|
646
|
+
params?: Service.Proforma.Get.Params
|
|
647
647
|
) => Promise<Service.Proforma.Get.Result>;
|
|
648
648
|
create: (
|
|
649
649
|
body: Service.Proforma.Create.Body
|
|
@@ -656,11 +656,11 @@ export default class Repzo {
|
|
|
656
656
|
payment: {
|
|
657
657
|
_path: string;
|
|
658
658
|
find: (
|
|
659
|
-
params?: Service.Payment.Find.Params
|
|
659
|
+
params?: Service.Payment.Find.Params
|
|
660
660
|
) => Promise<Service.Payment.Find.Result>;
|
|
661
661
|
get: (
|
|
662
662
|
id: Service.Payment.Get.ID,
|
|
663
|
-
params?: Service.Payment.Get.Params
|
|
663
|
+
params?: Service.Payment.Get.Params
|
|
664
664
|
) => Promise<Service.Payment.Get.Result>;
|
|
665
665
|
create: (
|
|
666
666
|
body: Service.Payment.Create.Body
|
|
@@ -673,11 +673,11 @@ export default class Repzo {
|
|
|
673
673
|
refund: {
|
|
674
674
|
_path: string;
|
|
675
675
|
find: (
|
|
676
|
-
params?: Service.Refund.Find.Params
|
|
676
|
+
params?: Service.Refund.Find.Params
|
|
677
677
|
) => Promise<Service.Refund.Find.Result>;
|
|
678
678
|
get: (
|
|
679
679
|
id: Service.Refund.Get.ID,
|
|
680
|
-
params?: Service.Refund.Get.Params
|
|
680
|
+
params?: Service.Refund.Get.Params
|
|
681
681
|
) => Promise<Service.Refund.Get.Result>;
|
|
682
682
|
create: (
|
|
683
683
|
body: Service.Refund.Create.Body
|
|
@@ -690,11 +690,11 @@ export default class Repzo {
|
|
|
690
690
|
settlement: {
|
|
691
691
|
_path: string;
|
|
692
692
|
find: (
|
|
693
|
-
params?: Service.Settlement.Find.Params
|
|
693
|
+
params?: Service.Settlement.Find.Params
|
|
694
694
|
) => Promise<Service.Settlement.Find.Result>;
|
|
695
695
|
get: (
|
|
696
696
|
id: Service.Settlement.Get.ID,
|
|
697
|
-
params?: Service.Settlement.Get.Params
|
|
697
|
+
params?: Service.Settlement.Get.Params
|
|
698
698
|
) => Promise<Service.Settlement.Get.Result>;
|
|
699
699
|
create: (
|
|
700
700
|
body: Service.Settlement.Create.Body
|
|
@@ -707,11 +707,11 @@ export default class Repzo {
|
|
|
707
707
|
check: {
|
|
708
708
|
_path: string;
|
|
709
709
|
find: (
|
|
710
|
-
params?: Service.Check.Find.Params
|
|
710
|
+
params?: Service.Check.Find.Params
|
|
711
711
|
) => Promise<Service.Check.Find.Result>;
|
|
712
712
|
get: (
|
|
713
713
|
id: Service.Check.Get.ID,
|
|
714
|
-
params?: Service.Check.Get.Params
|
|
714
|
+
params?: Service.Check.Get.Params
|
|
715
715
|
) => Promise<Service.Check.Get.Result>;
|
|
716
716
|
create: (
|
|
717
717
|
body: Service.Check.Create.Body
|
|
@@ -720,11 +720,11 @@ export default class Repzo {
|
|
|
720
720
|
day: {
|
|
721
721
|
_path: string;
|
|
722
722
|
find: (
|
|
723
|
-
params?: Service.Day.Find.Params
|
|
723
|
+
params?: Service.Day.Find.Params
|
|
724
724
|
) => Promise<Service.Day.Find.Result>;
|
|
725
725
|
get: (
|
|
726
726
|
id: Service.Day.Get.ID,
|
|
727
|
-
params?: Service.Day.Get.Params
|
|
727
|
+
params?: Service.Day.Get.Params
|
|
728
728
|
) => Promise<Service.Day.Get.Result>;
|
|
729
729
|
create: (
|
|
730
730
|
body: Service.Day.Create.Body
|
|
@@ -733,11 +733,11 @@ export default class Repzo {
|
|
|
733
733
|
receivingMaterial: {
|
|
734
734
|
_path: string;
|
|
735
735
|
find: (
|
|
736
|
-
params?: Service.ReceivingMaterial.Find.Params
|
|
736
|
+
params?: Service.ReceivingMaterial.Find.Params
|
|
737
737
|
) => Promise<Service.ReceivingMaterial.Find.Result>;
|
|
738
738
|
get: (
|
|
739
739
|
id: Service.ReceivingMaterial.Get.ID,
|
|
740
|
-
params?: Service.ReceivingMaterial.Get.Params
|
|
740
|
+
params?: Service.ReceivingMaterial.Get.Params
|
|
741
741
|
) => Promise<Service.ReceivingMaterial.Get.Result>;
|
|
742
742
|
create: (
|
|
743
743
|
body: Service.ReceivingMaterial.Create.Body
|
|
@@ -750,11 +750,11 @@ export default class Repzo {
|
|
|
750
750
|
adjustAccount: {
|
|
751
751
|
_path: string;
|
|
752
752
|
find: (
|
|
753
|
-
params?: Service.AdjustAccount.Find.Params
|
|
753
|
+
params?: Service.AdjustAccount.Find.Params
|
|
754
754
|
) => Promise<Service.AdjustAccount.Find.Result>;
|
|
755
755
|
get: (
|
|
756
756
|
id: Service.AdjustAccount.Get.ID,
|
|
757
|
-
params?: Service.AdjustAccount.Get.Params
|
|
757
|
+
params?: Service.AdjustAccount.Get.Params
|
|
758
758
|
) => Promise<Service.AdjustAccount.Get.Result>;
|
|
759
759
|
create: (
|
|
760
760
|
body: Service.AdjustAccount.Create.Body
|
|
@@ -763,11 +763,11 @@ export default class Repzo {
|
|
|
763
763
|
transfer: {
|
|
764
764
|
_path: string;
|
|
765
765
|
find: (
|
|
766
|
-
params?: Service.Transfer.Find.Params
|
|
766
|
+
params?: Service.Transfer.Find.Params
|
|
767
767
|
) => Promise<Service.Transfer.Find.Result>;
|
|
768
768
|
get: (
|
|
769
769
|
id: Service.Transfer.Get.ID,
|
|
770
|
-
params?: Service.Transfer.Get.Params
|
|
770
|
+
params?: Service.Transfer.Get.Params
|
|
771
771
|
) => Promise<Service.Transfer.Get.Result>;
|
|
772
772
|
create: (
|
|
773
773
|
body: Service.Transfer.Create.Body
|
|
@@ -780,11 +780,11 @@ export default class Repzo {
|
|
|
780
780
|
msl: {
|
|
781
781
|
_path: string;
|
|
782
782
|
find: (
|
|
783
|
-
params?: Service.Msl.Find.Params
|
|
783
|
+
params?: Service.Msl.Find.Params
|
|
784
784
|
) => Promise<Service.Msl.Find.Result>;
|
|
785
785
|
get: (
|
|
786
786
|
id: Service.Msl.Get.ID,
|
|
787
|
-
params?: Service.Msl.Get.Params
|
|
787
|
+
params?: Service.Msl.Get.Params
|
|
788
788
|
) => Promise<Service.Msl.Get.Result>;
|
|
789
789
|
create: (
|
|
790
790
|
body: Service.Msl.Create.Body
|
|
@@ -798,11 +798,11 @@ export default class Repzo {
|
|
|
798
798
|
mslProduct: {
|
|
799
799
|
_path: string;
|
|
800
800
|
find: (
|
|
801
|
-
params?: Service.MslProduct.Find.Params
|
|
801
|
+
params?: Service.MslProduct.Find.Params
|
|
802
802
|
) => Promise<Service.MslProduct.Find.Result>;
|
|
803
803
|
get: (
|
|
804
804
|
id: Service.MslProduct.Get.ID,
|
|
805
|
-
params?: Service.MslProduct.Get.Params
|
|
805
|
+
params?: Service.MslProduct.Get.Params
|
|
806
806
|
) => Promise<Service.MslProduct.Get.Result>;
|
|
807
807
|
create: (
|
|
808
808
|
body: Service.MslProduct.Create.Body
|
|
@@ -818,11 +818,11 @@ export default class Repzo {
|
|
|
818
818
|
mediaStorage: {
|
|
819
819
|
_path: string;
|
|
820
820
|
find: (
|
|
821
|
-
params?: Service.MediaStorage.Find.Params
|
|
821
|
+
params?: Service.MediaStorage.Find.Params
|
|
822
822
|
) => Promise<Service.MediaStorage.Find.Result>;
|
|
823
823
|
get: (
|
|
824
824
|
id: Service.MediaStorage.Get.ID,
|
|
825
|
-
params?: Service.MediaStorage.Get.Params
|
|
825
|
+
params?: Service.MediaStorage.Get.Params
|
|
826
826
|
) => Promise<Service.MediaStorage.Get.Result>;
|
|
827
827
|
create: (
|
|
828
828
|
body: Service.MediaStorage.Create.Body
|
|
@@ -838,11 +838,11 @@ export default class Repzo {
|
|
|
838
838
|
storecheckTemplate: {
|
|
839
839
|
_path: string;
|
|
840
840
|
find: (
|
|
841
|
-
params?: Service.StorecheckTemplate.Find.Params
|
|
841
|
+
params?: Service.StorecheckTemplate.Find.Params
|
|
842
842
|
) => Promise<Service.StorecheckTemplate.Find.Result>;
|
|
843
843
|
get: (
|
|
844
844
|
id: Service.StorecheckTemplate.Get.ID,
|
|
845
|
-
params?: Service.StorecheckTemplate.Get.Params
|
|
845
|
+
params?: Service.StorecheckTemplate.Get.Params
|
|
846
846
|
) => Promise<Service.StorecheckTemplate.Get.Result>;
|
|
847
847
|
create: (
|
|
848
848
|
body: Service.StorecheckTemplate.Create.Body
|
|
@@ -858,11 +858,11 @@ export default class Repzo {
|
|
|
858
858
|
activityStorecheck: {
|
|
859
859
|
_path: string;
|
|
860
860
|
find: (
|
|
861
|
-
params?: Service.ActivityStorecheck.Find.Params
|
|
861
|
+
params?: Service.ActivityStorecheck.Find.Params
|
|
862
862
|
) => Promise<Service.ActivityStorecheck.Find.Result>;
|
|
863
863
|
get: (
|
|
864
864
|
id: Service.ActivityStorecheck.Get.ID,
|
|
865
|
-
params?: Service.ActivityStorecheck.Get.Params
|
|
865
|
+
params?: Service.ActivityStorecheck.Get.Params
|
|
866
866
|
) => Promise<Service.ActivityStorecheck.Get.Result>;
|
|
867
867
|
create: (
|
|
868
868
|
body: Service.ActivityStorecheck.Create.Body
|
|
@@ -875,11 +875,11 @@ export default class Repzo {
|
|
|
875
875
|
adjustInventory: {
|
|
876
876
|
_path: string;
|
|
877
877
|
find: (
|
|
878
|
-
params?: Service.AdjustInventory.Find.Params
|
|
878
|
+
params?: Service.AdjustInventory.Find.Params
|
|
879
879
|
) => Promise<Service.AdjustInventory.Find.Result>;
|
|
880
880
|
get: (
|
|
881
881
|
id: Service.AdjustInventory.Get.ID,
|
|
882
|
-
params?: Service.AdjustInventory.Get.Params
|
|
882
|
+
params?: Service.AdjustInventory.Get.Params
|
|
883
883
|
) => Promise<Service.AdjustInventory.Get.Result>;
|
|
884
884
|
create: (
|
|
885
885
|
body: Service.AdjustInventory.Create.Body
|
|
@@ -888,17 +888,17 @@ export default class Repzo {
|
|
|
888
888
|
inventory: {
|
|
889
889
|
_path: string;
|
|
890
890
|
find: (
|
|
891
|
-
params?: Service.Inventory.Find.Params
|
|
891
|
+
params?: Service.Inventory.Find.Params
|
|
892
892
|
) => Promise<Service.Inventory.Find.Result>;
|
|
893
893
|
};
|
|
894
894
|
integrationApp: {
|
|
895
895
|
_path: string;
|
|
896
896
|
find: (
|
|
897
|
-
params?: Service.App.Find.Params
|
|
897
|
+
params?: Service.App.Find.Params
|
|
898
898
|
) => Promise<Service.App.Find.Result>;
|
|
899
899
|
get: (
|
|
900
900
|
id: Service.App.Get.ID,
|
|
901
|
-
params?: Service.App.Find.Params
|
|
901
|
+
params?: Service.App.Find.Params
|
|
902
902
|
) => Promise<Service.App.Get.Result>;
|
|
903
903
|
create: (
|
|
904
904
|
body: Service.App.Create.Body
|
|
@@ -948,7 +948,7 @@ export default class Repzo {
|
|
|
948
948
|
superThis: Repzo,
|
|
949
949
|
app: Service.App.Schema_with_populated_AvailableApp,
|
|
950
950
|
command: string,
|
|
951
|
-
trigger?: string
|
|
951
|
+
trigger?: string
|
|
952
952
|
): {
|
|
953
953
|
_path: string;
|
|
954
954
|
available_app_name: string;
|
|
@@ -991,10 +991,7 @@ export default class Repzo {
|
|
|
991
991
|
onGoing: boolean;
|
|
992
992
|
trigger?: string | undefined;
|
|
993
993
|
superThis: Repzo;
|
|
994
|
-
load(
|
|
995
|
-
sync_id?: string | undefined,
|
|
996
|
-
retries?: number | undefined
|
|
997
|
-
): Promise<any>;
|
|
994
|
+
load(sync_id?: string, retries?: number): Promise<any>;
|
|
998
995
|
setStatus(status: Service.CommandLog.Status, error?: any): any;
|
|
999
996
|
setBody(body: any): any;
|
|
1000
997
|
setMeta(meta: any): any;
|
|
@@ -1006,7 +1003,7 @@ export default class Repzo {
|
|
|
1006
1003
|
_path: string;
|
|
1007
1004
|
create: (
|
|
1008
1005
|
body: Service.PatchAction.Create.Body,
|
|
1009
|
-
params?: Service.PatchAction.Create.Params
|
|
1006
|
+
params?: Service.PatchAction.Create.Params
|
|
1010
1007
|
) => Promise<Service.PatchAction.Create.Result>;
|
|
1011
1008
|
update: (
|
|
1012
1009
|
body: Service.PatchAction.Update.Body
|
|
@@ -1016,13 +1013,13 @@ export default class Repzo {
|
|
|
1016
1013
|
_path: string;
|
|
1017
1014
|
create: (
|
|
1018
1015
|
body: Service.UpdateIntegrationMeta.Create.Body,
|
|
1019
|
-
params?: Service.UpdateIntegrationMeta.Create.Params
|
|
1016
|
+
params?: Service.UpdateIntegrationMeta.Create.Params
|
|
1020
1017
|
) => Promise<Service.UpdateIntegrationMeta.Create.Result>;
|
|
1021
1018
|
};
|
|
1022
1019
|
assetPartType: {
|
|
1023
1020
|
_path: string;
|
|
1024
1021
|
find: (
|
|
1025
|
-
params?: Service.AssetPartType.Find.Params
|
|
1022
|
+
params?: Service.AssetPartType.Find.Params
|
|
1026
1023
|
) => Promise<Service.AssetPartType.Find.Result>;
|
|
1027
1024
|
get: (
|
|
1028
1025
|
id: Service.AssetPartType.Get.ID
|
|
@@ -1041,7 +1038,7 @@ export default class Repzo {
|
|
|
1041
1038
|
assetPart: {
|
|
1042
1039
|
_path: string;
|
|
1043
1040
|
find: (
|
|
1044
|
-
params?: Service.AssetPart.Find.Params
|
|
1041
|
+
params?: Service.AssetPart.Find.Params
|
|
1045
1042
|
) => Promise<Service.AssetPart.Find.Result>;
|
|
1046
1043
|
get: (
|
|
1047
1044
|
id: Service.AssetPart.Get.ID
|
|
@@ -1060,7 +1057,7 @@ export default class Repzo {
|
|
|
1060
1057
|
assetPartUnit: {
|
|
1061
1058
|
_path: string;
|
|
1062
1059
|
find: (
|
|
1063
|
-
params?: Service.AssetPartUnit.Find.Params
|
|
1060
|
+
params?: Service.AssetPartUnit.Find.Params
|
|
1064
1061
|
) => Promise<Service.AssetPartUnit.Find.Result>;
|
|
1065
1062
|
get: (
|
|
1066
1063
|
id: Service.AssetPartUnit.Get.ID
|
|
@@ -1073,7 +1070,7 @@ export default class Repzo {
|
|
|
1073
1070
|
assetPartReceival: {
|
|
1074
1071
|
_path: string;
|
|
1075
1072
|
find: (
|
|
1076
|
-
params?: Service.AssetPartReceival.Find.Params
|
|
1073
|
+
params?: Service.AssetPartReceival.Find.Params
|
|
1077
1074
|
) => Promise<Service.AssetPartReceival.Find.Result>;
|
|
1078
1075
|
get: (
|
|
1079
1076
|
id: Service.AssetPartReceival.Get.ID
|
|
@@ -1093,7 +1090,7 @@ export default class Repzo {
|
|
|
1093
1090
|
assetPartTransfer: {
|
|
1094
1091
|
_path: string;
|
|
1095
1092
|
find: (
|
|
1096
|
-
params?: Service.AssetPartTransfer.Find.Params
|
|
1093
|
+
params?: Service.AssetPartTransfer.Find.Params
|
|
1097
1094
|
) => Promise<Service.AssetPartTransfer.Find.Result>;
|
|
1098
1095
|
get: (
|
|
1099
1096
|
id: Service.AssetPartTransfer.Get.ID
|
|
@@ -1110,24 +1107,44 @@ export default class Repzo {
|
|
|
1110
1107
|
body: Service.AssetPartTransfer.Patch.Body
|
|
1111
1108
|
) => Promise<Service.AssetPartTransfer.Patch.Result>;
|
|
1112
1109
|
};
|
|
1113
|
-
|
|
1110
|
+
returnAssetPartUnit: {
|
|
1114
1111
|
_path: string;
|
|
1115
1112
|
find: (
|
|
1116
|
-
params?: Service.
|
|
1117
|
-
) => Promise<Service.
|
|
1113
|
+
params?: Service.ReturnAssetPartUnit.Find.Params
|
|
1114
|
+
) => Promise<Service.ReturnAssetPartUnit.Find.Result>;
|
|
1118
1115
|
get: (
|
|
1119
|
-
id: Service.
|
|
1120
|
-
) => Promise<Service.
|
|
1116
|
+
id: Service.ReturnAssetPartUnit.Get.ID
|
|
1117
|
+
) => Promise<Service.ReturnAssetPartUnit.Get.Result>;
|
|
1121
1118
|
create: (
|
|
1122
|
-
body: Service.
|
|
1123
|
-
) => Promise<Service.
|
|
1119
|
+
body: Service.ReturnAssetPartUnit.Create.Body
|
|
1120
|
+
) => Promise<Service.ReturnAssetPartUnit.Create.Result>;
|
|
1124
1121
|
update: (
|
|
1125
|
-
id: Service.
|
|
1126
|
-
body: Service.
|
|
1127
|
-
) => Promise<Service.
|
|
1122
|
+
id: Service.ReturnAssetPartUnit.Update.ID,
|
|
1123
|
+
body: Service.ReturnAssetPartUnit.Update.Body
|
|
1124
|
+
) => Promise<Service.ReturnAssetPartUnit.Update.Result>;
|
|
1128
1125
|
patch: (
|
|
1129
|
-
params: Service.
|
|
1130
|
-
body: Service.
|
|
1131
|
-
) => Promise<Service.
|
|
1126
|
+
params: Service.ReturnAssetPartUnit.Patch.Params,
|
|
1127
|
+
body: Service.ReturnAssetPartUnit.Patch.Body
|
|
1128
|
+
) => Promise<Service.ReturnAssetPartUnit.Patch.Result>;
|
|
1129
|
+
};
|
|
1130
|
+
storeAssetPartUnit: {
|
|
1131
|
+
_path: string;
|
|
1132
|
+
find: (
|
|
1133
|
+
params?: Service.StoreAssetPartUnit.Find.Params
|
|
1134
|
+
) => Promise<Service.StoreAssetPartUnit.Find.Result>;
|
|
1135
|
+
get: (
|
|
1136
|
+
id: Service.StoreAssetPartUnit.Get.ID
|
|
1137
|
+
) => Promise<Service.StoreAssetPartUnit.Get.Result>;
|
|
1138
|
+
create: (
|
|
1139
|
+
body: Service.StoreAssetPartUnit.Create.Body
|
|
1140
|
+
) => Promise<Service.StoreAssetPartUnit.Create.Result>;
|
|
1141
|
+
update: (
|
|
1142
|
+
id: Service.StoreAssetPartUnit.Update.ID,
|
|
1143
|
+
body: Service.StoreAssetPartUnit.Update.Body
|
|
1144
|
+
) => Promise<Service.StoreAssetPartUnit.Update.Result>;
|
|
1145
|
+
patch: (
|
|
1146
|
+
params: Service.StoreAssetPartUnit.Patch.Params,
|
|
1147
|
+
body: Service.StoreAssetPartUnit.Patch.Body
|
|
1148
|
+
) => Promise<Service.StoreAssetPartUnit.Patch.Result>;
|
|
1132
1149
|
};
|
|
1133
1150
|
}
|