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 +164 -94
- package/lib/index.js +146 -73
- package/lib/types/index.d.ts +111 -17
- package/package.json +1 -1
- package/src/index.ts +144 -72
- package/src/types/index.ts +83 -5
package/src/index.ts
CHANGED
|
@@ -31,8 +31,80 @@ export default class Repzo {
|
|
|
31
31
|
if (options?.headers) Object.assign(this.headers, options.headers);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
private _end_points = {
|
|
35
|
+
CLIENT: "client",
|
|
36
|
+
PRODUCT: "product",
|
|
37
|
+
VARIANT: "variant",
|
|
38
|
+
CATEGORY: "product-category",
|
|
39
|
+
SUB_CATEGORY: "product-sub-category",
|
|
40
|
+
BRAND: "product-brand",
|
|
41
|
+
PRODUCT_GROUP: "product-group",
|
|
42
|
+
TAX: "tax",
|
|
43
|
+
MEASUREUNIT: "measureunits",
|
|
44
|
+
MEASUREUNIT_FAMILY: "measureunit-family",
|
|
45
|
+
MEDIA: "media",
|
|
46
|
+
PRICELIST: "pricelists",
|
|
47
|
+
PRICELIST_ITEM: "pricelistsitems",
|
|
48
|
+
TEAM: "teams",
|
|
49
|
+
RETURN_REASON: "return-reason",
|
|
50
|
+
REP: "rep",
|
|
51
|
+
TAG: "tag",
|
|
52
|
+
WAREHOUSE: "warehouse",
|
|
53
|
+
ROUTE: "route",
|
|
54
|
+
PRODUCT_MODIFIERS_GROUP: "product-modifiers-group",
|
|
55
|
+
CHANNEL: "client-channel",
|
|
56
|
+
SPECIALITY: "speciality",
|
|
57
|
+
CLIENT_CONTACT: "client-contact",
|
|
58
|
+
PAYMENT_TERM: "paymentterms",
|
|
59
|
+
BANK: "banks",
|
|
60
|
+
BANK_LIST: "bankslists",
|
|
61
|
+
CUSTOM_STATUS: "custom-status",
|
|
62
|
+
CUSTOM_LIST: "custom-list",
|
|
63
|
+
CUSTOM_LIST_ITEM: "custom-list-item",
|
|
64
|
+
INVENTORY_ADJUSTMENT_REASON: "inventory-adjustment-reason",
|
|
65
|
+
WORKORDER: "workorder",
|
|
66
|
+
SUPPLIER: "supplier",
|
|
67
|
+
QUICK_CONVERT_TO_PDF: "quick-convert-to-pdf",
|
|
68
|
+
VISIT: "visit",
|
|
69
|
+
INVOICE: "fullinvoices",
|
|
70
|
+
PROFORMA: "proforma",
|
|
71
|
+
PAYMENT: "payments",
|
|
72
|
+
REFUND: "refund",
|
|
73
|
+
SETTLEMENT: "settlement",
|
|
74
|
+
CHECK: "checks",
|
|
75
|
+
DAY: "day",
|
|
76
|
+
RECEIVING_MATERIAL: "receiving-material",
|
|
77
|
+
ADJUST_ACCOUNT: "adjust-account",
|
|
78
|
+
TRANSFER: "transfer",
|
|
79
|
+
MSL: "msl",
|
|
80
|
+
MSL_PRODUCT: "msl-products",
|
|
81
|
+
MEDIA_STORAGE: "media-storage",
|
|
82
|
+
STORECHECK_TEMPLATE: "storecheck-template",
|
|
83
|
+
ACTIVITY_STORECHECK: "activity-storecheck",
|
|
84
|
+
ADJUST_INVENTORY: "adjust-inventory",
|
|
85
|
+
INVENTORY: "inventory",
|
|
86
|
+
INTEGRATION_APP: "integration-app",
|
|
87
|
+
JOIN_ACTIONS_WEBHOOK: "svix-integration",
|
|
88
|
+
INTEGRATION_ACTION_LOG: "integration-action-log",
|
|
89
|
+
INTEGRATION_COMMAND_LOG: "integration-command-log",
|
|
90
|
+
PATCH_ACTION: "patch-action",
|
|
91
|
+
UPDATE_INTEGRATION_META: "update-integration-meta",
|
|
92
|
+
ASSET_PART_TYPE: "asset-part-type",
|
|
93
|
+
ASSET_PART: "asset-part",
|
|
94
|
+
ASSET_PART_UNIT: "asset-part-unit",
|
|
95
|
+
ASSET_PART_RECEIVAL: "asset-part-receival",
|
|
96
|
+
ASSET_PART_TRANSFER: "asset-part-transfer",
|
|
97
|
+
RETURN_ASSET_PART_UNIT: "return-asset-part-unit",
|
|
98
|
+
STORE_ASSET_PART_UNIT: "store-asset-part-unit",
|
|
99
|
+
OCR_INVOICE_JOB_TEMPLATE: "ocr-invoice-job-template",
|
|
100
|
+
OCR_INVOICE_JOB_GROUP: "ocr-invoice-job-group",
|
|
101
|
+
ACTIVITY_AI_SALES_ORDER: "activity-ai-sales-order",
|
|
102
|
+
OCR_INVOICE_JOB: "ocr-invoice-job",
|
|
103
|
+
OCR_INVOICE_JOB_PAGE: "ocr-invoice-job-page",
|
|
104
|
+
} as const;
|
|
105
|
+
public END_POINTS = this._end_points;
|
|
34
106
|
private async _fetch(baseUrl: string, path: string, params?: Params) {
|
|
35
|
-
let res = await axios.get(baseUrl
|
|
107
|
+
let res = await axios.get(`${baseUrl}/${path}`, {
|
|
36
108
|
params,
|
|
37
109
|
headers: this.headers,
|
|
38
110
|
});
|
|
@@ -45,7 +117,7 @@ export default class Repzo {
|
|
|
45
117
|
body: Data,
|
|
46
118
|
params?: Params
|
|
47
119
|
) {
|
|
48
|
-
let res = await axios.post(baseUrl
|
|
120
|
+
let res = await axios.post(`${baseUrl}/${path}`, body, {
|
|
49
121
|
params,
|
|
50
122
|
headers: this.headers,
|
|
51
123
|
});
|
|
@@ -58,7 +130,7 @@ export default class Repzo {
|
|
|
58
130
|
body: Data,
|
|
59
131
|
params?: Params
|
|
60
132
|
) {
|
|
61
|
-
let res = await axios.put(baseUrl
|
|
133
|
+
let res = await axios.put(`${baseUrl}/${path}`, body, {
|
|
62
134
|
params,
|
|
63
135
|
headers: this.headers,
|
|
64
136
|
});
|
|
@@ -71,7 +143,7 @@ export default class Repzo {
|
|
|
71
143
|
body: Data,
|
|
72
144
|
params?: Params
|
|
73
145
|
) {
|
|
74
|
-
let res = await axios.put(baseUrl
|
|
146
|
+
let res = await axios.put(`${baseUrl}/${path}`, body, {
|
|
75
147
|
params,
|
|
76
148
|
headers: this.headers,
|
|
77
149
|
});
|
|
@@ -79,7 +151,7 @@ export default class Repzo {
|
|
|
79
151
|
}
|
|
80
152
|
|
|
81
153
|
private async _delete(baseUrl: string, path: string, params?: Params) {
|
|
82
|
-
let res = await axios.delete(baseUrl
|
|
154
|
+
let res = await axios.delete(`${baseUrl}/${path}`, {
|
|
83
155
|
params,
|
|
84
156
|
headers: this.headers,
|
|
85
157
|
});
|
|
@@ -87,7 +159,7 @@ export default class Repzo {
|
|
|
87
159
|
}
|
|
88
160
|
|
|
89
161
|
client = {
|
|
90
|
-
_path:
|
|
162
|
+
_path: this._end_points.CLIENT,
|
|
91
163
|
find: async (
|
|
92
164
|
params?: Service.Client.Find.Params
|
|
93
165
|
): Promise<Service.Client.Find.Result> => {
|
|
@@ -141,7 +213,7 @@ export default class Repzo {
|
|
|
141
213
|
};
|
|
142
214
|
|
|
143
215
|
product = {
|
|
144
|
-
_path:
|
|
216
|
+
_path: this._end_points.PRODUCT,
|
|
145
217
|
find: async (
|
|
146
218
|
params?: Service.Product.Find.Params
|
|
147
219
|
): Promise<Service.Product.Find.Result> => {
|
|
@@ -199,7 +271,7 @@ export default class Repzo {
|
|
|
199
271
|
};
|
|
200
272
|
|
|
201
273
|
variant = {
|
|
202
|
-
_path:
|
|
274
|
+
_path: this._end_points.VARIANT,
|
|
203
275
|
find: async (
|
|
204
276
|
params?: Service.Variant.Find.Params
|
|
205
277
|
): Promise<Service.Variant.Find.Result> => {
|
|
@@ -257,7 +329,7 @@ export default class Repzo {
|
|
|
257
329
|
};
|
|
258
330
|
|
|
259
331
|
category = {
|
|
260
|
-
_path:
|
|
332
|
+
_path: this._end_points.CATEGORY,
|
|
261
333
|
find: async (
|
|
262
334
|
params?: Service.Category.Find.Params
|
|
263
335
|
): Promise<Service.Category.Find.Result> => {
|
|
@@ -313,7 +385,7 @@ export default class Repzo {
|
|
|
313
385
|
};
|
|
314
386
|
|
|
315
387
|
sub_category = {
|
|
316
|
-
_path:
|
|
388
|
+
_path: this._end_points.SUB_CATEGORY,
|
|
317
389
|
find: async (
|
|
318
390
|
params?: Service.SubCategory.Find.Params
|
|
319
391
|
): Promise<Service.SubCategory.Find.Result> => {
|
|
@@ -371,7 +443,7 @@ export default class Repzo {
|
|
|
371
443
|
};
|
|
372
444
|
|
|
373
445
|
brand = {
|
|
374
|
-
_path:
|
|
446
|
+
_path: this._end_points.BRAND,
|
|
375
447
|
find: async (
|
|
376
448
|
params?: Service.Brand.Find.Params
|
|
377
449
|
): Promise<Service.Brand.Find.Result> => {
|
|
@@ -420,7 +492,7 @@ export default class Repzo {
|
|
|
420
492
|
};
|
|
421
493
|
|
|
422
494
|
product_group = {
|
|
423
|
-
_path:
|
|
495
|
+
_path: this._end_points.PRODUCT_GROUP,
|
|
424
496
|
find: async (
|
|
425
497
|
params?: Service.ProductGroup.Find.Params
|
|
426
498
|
): Promise<Service.ProductGroup.Find.Result> => {
|
|
@@ -476,7 +548,7 @@ export default class Repzo {
|
|
|
476
548
|
};
|
|
477
549
|
|
|
478
550
|
tax = {
|
|
479
|
-
_path:
|
|
551
|
+
_path: this._end_points.TAX,
|
|
480
552
|
find: async (
|
|
481
553
|
params?: Service.Tax.Find.Params
|
|
482
554
|
): Promise<Service.Tax.Find.Result> => {
|
|
@@ -523,7 +595,7 @@ export default class Repzo {
|
|
|
523
595
|
};
|
|
524
596
|
|
|
525
597
|
measureunit = {
|
|
526
|
-
_path:
|
|
598
|
+
_path: this._end_points.MEASUREUNIT,
|
|
527
599
|
find: async (
|
|
528
600
|
params?: Service.MeasureUnit.Find.Params
|
|
529
601
|
): Promise<Service.MeasureUnit.Find.Result> => {
|
|
@@ -579,7 +651,7 @@ export default class Repzo {
|
|
|
579
651
|
};
|
|
580
652
|
|
|
581
653
|
measureunitFamily = {
|
|
582
|
-
_path:
|
|
654
|
+
_path: this._end_points.MEASUREUNIT_FAMILY,
|
|
583
655
|
find: async (
|
|
584
656
|
params?: Service.MeasureUnitFamily.Find.Params
|
|
585
657
|
): Promise<Service.MeasureUnitFamily.Find.Result> => {
|
|
@@ -635,7 +707,7 @@ export default class Repzo {
|
|
|
635
707
|
};
|
|
636
708
|
|
|
637
709
|
media = {
|
|
638
|
-
_path:
|
|
710
|
+
_path: this._end_points.MEDIA,
|
|
639
711
|
find: async (
|
|
640
712
|
params?: Service.Media.Find.Params
|
|
641
713
|
): Promise<Service.Media.Find.Result> => {
|
|
@@ -684,7 +756,7 @@ export default class Repzo {
|
|
|
684
756
|
};
|
|
685
757
|
|
|
686
758
|
priceList = {
|
|
687
|
-
_path:
|
|
759
|
+
_path: this._end_points.PRICELIST,
|
|
688
760
|
find: async (
|
|
689
761
|
params?: Service.PriceList.Find.Params
|
|
690
762
|
): Promise<Service.PriceList.Find.Result> => {
|
|
@@ -740,7 +812,7 @@ export default class Repzo {
|
|
|
740
812
|
};
|
|
741
813
|
|
|
742
814
|
priceListItem = {
|
|
743
|
-
_path:
|
|
815
|
+
_path: this._end_points.PRICELIST_ITEM,
|
|
744
816
|
find: async (
|
|
745
817
|
params?: Service.PriceListItem.Find.Params
|
|
746
818
|
): Promise<Service.PriceListItem.Find.Result> => {
|
|
@@ -796,7 +868,7 @@ export default class Repzo {
|
|
|
796
868
|
};
|
|
797
869
|
|
|
798
870
|
team = {
|
|
799
|
-
_path:
|
|
871
|
+
_path: this._end_points.TEAM,
|
|
800
872
|
find: async (
|
|
801
873
|
params?: Service.Team.Find.Params
|
|
802
874
|
): Promise<Service.Team.Find.Result> => {
|
|
@@ -843,7 +915,7 @@ export default class Repzo {
|
|
|
843
915
|
};
|
|
844
916
|
|
|
845
917
|
returnReason = {
|
|
846
|
-
_path:
|
|
918
|
+
_path: this._end_points.RETURN_REASON,
|
|
847
919
|
find: async (
|
|
848
920
|
params?: Service.ReturnReason.Find.Params
|
|
849
921
|
): Promise<Service.ReturnReason.Find.Result> => {
|
|
@@ -898,7 +970,7 @@ export default class Repzo {
|
|
|
898
970
|
};
|
|
899
971
|
|
|
900
972
|
rep = {
|
|
901
|
-
_path:
|
|
973
|
+
_path: this._end_points.REP,
|
|
902
974
|
find: async (
|
|
903
975
|
params?: Service.Rep.Find.Params
|
|
904
976
|
): Promise<Service.Rep.Find.Result> => {
|
|
@@ -952,7 +1024,7 @@ export default class Repzo {
|
|
|
952
1024
|
};
|
|
953
1025
|
|
|
954
1026
|
tag = {
|
|
955
|
-
_path:
|
|
1027
|
+
_path: this._end_points.TAG,
|
|
956
1028
|
find: async (
|
|
957
1029
|
params?: Service.Tag.Find.Params
|
|
958
1030
|
): Promise<Service.Tag.Find.Result> => {
|
|
@@ -999,7 +1071,7 @@ export default class Repzo {
|
|
|
999
1071
|
};
|
|
1000
1072
|
|
|
1001
1073
|
warehouse = {
|
|
1002
|
-
_path:
|
|
1074
|
+
_path: this._end_points.WAREHOUSE,
|
|
1003
1075
|
find: async (
|
|
1004
1076
|
params?: Service.Warehouse.Find.Params
|
|
1005
1077
|
): Promise<Service.Warehouse.Find.Result> => {
|
|
@@ -1055,7 +1127,7 @@ export default class Repzo {
|
|
|
1055
1127
|
};
|
|
1056
1128
|
|
|
1057
1129
|
route = {
|
|
1058
|
-
_path:
|
|
1130
|
+
_path: this._end_points.ROUTE,
|
|
1059
1131
|
find: async (
|
|
1060
1132
|
params?: Service.Route.Find.Params
|
|
1061
1133
|
): Promise<Service.Route.Find.Result> => {
|
|
@@ -1100,7 +1172,7 @@ export default class Repzo {
|
|
|
1100
1172
|
};
|
|
1101
1173
|
|
|
1102
1174
|
productModifiersGroup = {
|
|
1103
|
-
_path:
|
|
1175
|
+
_path: this._end_points.PRODUCT_MODIFIERS_GROUP,
|
|
1104
1176
|
find: async (
|
|
1105
1177
|
params?: Service.ProductModifiersGroup.Find.Params
|
|
1106
1178
|
): Promise<Service.ProductModifiersGroup.Find.Result> => {
|
|
@@ -1152,7 +1224,7 @@ export default class Repzo {
|
|
|
1152
1224
|
};
|
|
1153
1225
|
|
|
1154
1226
|
channel = {
|
|
1155
|
-
_path:
|
|
1227
|
+
_path: this._end_points.CHANNEL,
|
|
1156
1228
|
find: async (
|
|
1157
1229
|
params?: Service.Channel.Find.Params
|
|
1158
1230
|
): Promise<Service.Channel.Find.Result> => {
|
|
@@ -1207,7 +1279,7 @@ export default class Repzo {
|
|
|
1207
1279
|
},
|
|
1208
1280
|
};
|
|
1209
1281
|
speciality = {
|
|
1210
|
-
_path:
|
|
1282
|
+
_path: this._end_points.SPECIALITY,
|
|
1211
1283
|
find: async (
|
|
1212
1284
|
params?: Service.Speciality.Find.Params
|
|
1213
1285
|
): Promise<Service.Speciality.Find.Result> => {
|
|
@@ -1262,7 +1334,7 @@ export default class Repzo {
|
|
|
1262
1334
|
},
|
|
1263
1335
|
};
|
|
1264
1336
|
clientContact = {
|
|
1265
|
-
_path:
|
|
1337
|
+
_path: this._end_points.CLIENT_CONTACT,
|
|
1266
1338
|
find: async (
|
|
1267
1339
|
params?: Service.ClientContact.Find.Params
|
|
1268
1340
|
): Promise<Service.ClientContact.Find.Result> => {
|
|
@@ -1317,7 +1389,7 @@ export default class Repzo {
|
|
|
1317
1389
|
},
|
|
1318
1390
|
};
|
|
1319
1391
|
paymentTerm = {
|
|
1320
|
-
_path:
|
|
1392
|
+
_path: this._end_points.PAYMENT_TERM,
|
|
1321
1393
|
find: async (
|
|
1322
1394
|
params?: Service.PaymentTerm.Find.Params
|
|
1323
1395
|
): Promise<Service.PaymentTerm.Find.Result> => {
|
|
@@ -1373,7 +1445,7 @@ export default class Repzo {
|
|
|
1373
1445
|
};
|
|
1374
1446
|
|
|
1375
1447
|
bank = {
|
|
1376
|
-
_path:
|
|
1448
|
+
_path: this._end_points.BANK,
|
|
1377
1449
|
find: async (
|
|
1378
1450
|
params?: Service.Bank.Find.Params
|
|
1379
1451
|
): Promise<Service.Bank.Find.Result> => {
|
|
@@ -1410,7 +1482,7 @@ export default class Repzo {
|
|
|
1410
1482
|
};
|
|
1411
1483
|
|
|
1412
1484
|
bank_list = {
|
|
1413
|
-
_path:
|
|
1485
|
+
_path: this._end_points.BANK_LIST,
|
|
1414
1486
|
find: async (
|
|
1415
1487
|
params?: Service.BankList.Find.Params
|
|
1416
1488
|
): Promise<Service.BankList.Find.Result> => {
|
|
@@ -1456,7 +1528,7 @@ export default class Repzo {
|
|
|
1456
1528
|
};
|
|
1457
1529
|
|
|
1458
1530
|
customStatus = {
|
|
1459
|
-
_path:
|
|
1531
|
+
_path: this._end_points.CUSTOM_STATUS,
|
|
1460
1532
|
find: async (
|
|
1461
1533
|
params?: Service.CustomStatus.Find.Params
|
|
1462
1534
|
): Promise<Service.CustomStatus.Find.Result> => {
|
|
@@ -1512,7 +1584,7 @@ export default class Repzo {
|
|
|
1512
1584
|
};
|
|
1513
1585
|
|
|
1514
1586
|
customList = {
|
|
1515
|
-
_path:
|
|
1587
|
+
_path: this._end_points.CUSTOM_LIST,
|
|
1516
1588
|
find: async (
|
|
1517
1589
|
params?: Service.CustomList.Find.Params
|
|
1518
1590
|
): Promise<Service.CustomList.Find.Result> => {
|
|
@@ -1569,7 +1641,7 @@ export default class Repzo {
|
|
|
1569
1641
|
};
|
|
1570
1642
|
|
|
1571
1643
|
customListItem = {
|
|
1572
|
-
_path:
|
|
1644
|
+
_path: this._end_points.CUSTOM_LIST_ITEM,
|
|
1573
1645
|
find: async (
|
|
1574
1646
|
params?: Service.CustomListItem.Find.Params
|
|
1575
1647
|
): Promise<Service.CustomListItem.Find.Result> => {
|
|
@@ -1626,7 +1698,7 @@ export default class Repzo {
|
|
|
1626
1698
|
};
|
|
1627
1699
|
|
|
1628
1700
|
inventoryAdjustmentReason = {
|
|
1629
|
-
_path:
|
|
1701
|
+
_path: this._end_points.INVENTORY_ADJUSTMENT_REASON,
|
|
1630
1702
|
find: async (
|
|
1631
1703
|
params?: Service.InventoryAdjustmentReason.Find.Params
|
|
1632
1704
|
): Promise<Service.InventoryAdjustmentReason.Find.Result> => {
|
|
@@ -1680,7 +1752,7 @@ export default class Repzo {
|
|
|
1680
1752
|
};
|
|
1681
1753
|
|
|
1682
1754
|
workorder = {
|
|
1683
|
-
_path:
|
|
1755
|
+
_path: this._end_points.WORKORDER,
|
|
1684
1756
|
find: async (
|
|
1685
1757
|
params?: Service.Workorder.Find.Params
|
|
1686
1758
|
): Promise<Service.Workorder.Find.Result> => {
|
|
@@ -1704,7 +1776,7 @@ export default class Repzo {
|
|
|
1704
1776
|
};
|
|
1705
1777
|
|
|
1706
1778
|
supplier = {
|
|
1707
|
-
_path:
|
|
1779
|
+
_path: this._end_points.SUPPLIER,
|
|
1708
1780
|
find: async (
|
|
1709
1781
|
params?: Service.Supplier.Find.Params
|
|
1710
1782
|
): Promise<Service.Supplier.Find.Result> => {
|
|
@@ -1750,7 +1822,7 @@ export default class Repzo {
|
|
|
1750
1822
|
};
|
|
1751
1823
|
|
|
1752
1824
|
quickConvertToPdf = {
|
|
1753
|
-
_path:
|
|
1825
|
+
_path: this._end_points.QUICK_CONVERT_TO_PDF,
|
|
1754
1826
|
find: async (
|
|
1755
1827
|
params?: Service.QuickConvertToPdf.Find.Params
|
|
1756
1828
|
): Promise<Service.QuickConvertToPdf.Find.Result> => {
|
|
@@ -1792,7 +1864,7 @@ export default class Repzo {
|
|
|
1792
1864
|
},
|
|
1793
1865
|
};
|
|
1794
1866
|
visit = {
|
|
1795
|
-
_path:
|
|
1867
|
+
_path: this._end_points.VISIT,
|
|
1796
1868
|
find: async (
|
|
1797
1869
|
params?: Service.Visit.Find.Params
|
|
1798
1870
|
): Promise<Service.Visit.Find.Result> => {
|
|
@@ -1833,7 +1905,7 @@ export default class Repzo {
|
|
|
1833
1905
|
},
|
|
1834
1906
|
};
|
|
1835
1907
|
invoice = {
|
|
1836
|
-
_path:
|
|
1908
|
+
_path: this._end_points.INVOICE,
|
|
1837
1909
|
find: async (
|
|
1838
1910
|
params?: Service.FullInvoice.Find.Params
|
|
1839
1911
|
): Promise<Service.FullInvoice.Find.Result> => {
|
|
@@ -1881,7 +1953,7 @@ export default class Repzo {
|
|
|
1881
1953
|
};
|
|
1882
1954
|
|
|
1883
1955
|
proforma = {
|
|
1884
|
-
_path:
|
|
1956
|
+
_path: this._end_points.PROFORMA,
|
|
1885
1957
|
find: async (
|
|
1886
1958
|
params?: Service.Proforma.Find.Params
|
|
1887
1959
|
): Promise<Service.Proforma.Find.Result> => {
|
|
@@ -1929,7 +2001,7 @@ export default class Repzo {
|
|
|
1929
2001
|
};
|
|
1930
2002
|
|
|
1931
2003
|
payment = {
|
|
1932
|
-
_path:
|
|
2004
|
+
_path: this._end_points.PAYMENT,
|
|
1933
2005
|
find: async (
|
|
1934
2006
|
params?: Service.Payment.Find.Params
|
|
1935
2007
|
): Promise<Service.Payment.Find.Result> => {
|
|
@@ -1977,7 +2049,7 @@ export default class Repzo {
|
|
|
1977
2049
|
};
|
|
1978
2050
|
|
|
1979
2051
|
refund = {
|
|
1980
|
-
_path:
|
|
2052
|
+
_path: this._end_points.REFUND,
|
|
1981
2053
|
find: async (
|
|
1982
2054
|
params?: Service.Refund.Find.Params
|
|
1983
2055
|
): Promise<Service.Refund.Find.Result> => {
|
|
@@ -2021,7 +2093,7 @@ export default class Repzo {
|
|
|
2021
2093
|
};
|
|
2022
2094
|
|
|
2023
2095
|
settlement = {
|
|
2024
|
-
_path:
|
|
2096
|
+
_path: this._end_points.SETTLEMENT,
|
|
2025
2097
|
|
|
2026
2098
|
find: async (
|
|
2027
2099
|
params?: Service.Settlement.Find.Params
|
|
@@ -2058,7 +2130,7 @@ export default class Repzo {
|
|
|
2058
2130
|
};
|
|
2059
2131
|
|
|
2060
2132
|
check = {
|
|
2061
|
-
_path:
|
|
2133
|
+
_path: this._end_points.CHECK,
|
|
2062
2134
|
|
|
2063
2135
|
find: async (
|
|
2064
2136
|
params?: Service.Check.Find.Params
|
|
@@ -2091,7 +2163,7 @@ export default class Repzo {
|
|
|
2091
2163
|
};
|
|
2092
2164
|
|
|
2093
2165
|
day = {
|
|
2094
|
-
_path:
|
|
2166
|
+
_path: this._end_points.DAY,
|
|
2095
2167
|
|
|
2096
2168
|
find: async (
|
|
2097
2169
|
params?: Service.Day.Find.Params
|
|
@@ -2124,7 +2196,7 @@ export default class Repzo {
|
|
|
2124
2196
|
};
|
|
2125
2197
|
|
|
2126
2198
|
receivingMaterial = {
|
|
2127
|
-
_path:
|
|
2199
|
+
_path: this._end_points.RECEIVING_MATERIAL,
|
|
2128
2200
|
|
|
2129
2201
|
find: async (
|
|
2130
2202
|
params?: Service.ReceivingMaterial.Find.Params
|
|
@@ -2173,7 +2245,7 @@ export default class Repzo {
|
|
|
2173
2245
|
};
|
|
2174
2246
|
|
|
2175
2247
|
adjustAccount = {
|
|
2176
|
-
_path:
|
|
2248
|
+
_path: this._end_points.ADJUST_ACCOUNT,
|
|
2177
2249
|
find: async (
|
|
2178
2250
|
params?: Service.AdjustAccount.Find.Params
|
|
2179
2251
|
): Promise<Service.AdjustAccount.Find.Result> => {
|
|
@@ -2209,7 +2281,7 @@ export default class Repzo {
|
|
|
2209
2281
|
};
|
|
2210
2282
|
|
|
2211
2283
|
transfer = {
|
|
2212
|
-
_path:
|
|
2284
|
+
_path: this._end_points.TRANSFER,
|
|
2213
2285
|
find: async (
|
|
2214
2286
|
params?: Service.Transfer.Find.Params
|
|
2215
2287
|
): Promise<Service.Transfer.Find.Result> => {
|
|
@@ -2257,7 +2329,7 @@ export default class Repzo {
|
|
|
2257
2329
|
};
|
|
2258
2330
|
|
|
2259
2331
|
msl = {
|
|
2260
|
-
_path:
|
|
2332
|
+
_path: this._end_points.MSL,
|
|
2261
2333
|
find: async (
|
|
2262
2334
|
params?: Service.Msl.Find.Params
|
|
2263
2335
|
): Promise<Service.Msl.Find.Result> => {
|
|
@@ -2311,7 +2383,7 @@ export default class Repzo {
|
|
|
2311
2383
|
};
|
|
2312
2384
|
|
|
2313
2385
|
mslProduct = {
|
|
2314
|
-
_path:
|
|
2386
|
+
_path: this._end_points.MSL_PRODUCT,
|
|
2315
2387
|
find: async (
|
|
2316
2388
|
params?: Service.MslProduct.Find.Params
|
|
2317
2389
|
): Promise<Service.MslProduct.Find.Result> => {
|
|
@@ -2369,7 +2441,7 @@ export default class Repzo {
|
|
|
2369
2441
|
};
|
|
2370
2442
|
|
|
2371
2443
|
mediaStorage = {
|
|
2372
|
-
_path:
|
|
2444
|
+
_path: this._end_points.MEDIA_STORAGE,
|
|
2373
2445
|
find: async (
|
|
2374
2446
|
params?: Service.MediaStorage.Find.Params
|
|
2375
2447
|
): Promise<Service.MediaStorage.Find.Result> => {
|
|
@@ -2427,7 +2499,7 @@ export default class Repzo {
|
|
|
2427
2499
|
};
|
|
2428
2500
|
|
|
2429
2501
|
storecheckTemplate = {
|
|
2430
|
-
_path:
|
|
2502
|
+
_path: this._end_points.STORECHECK_TEMPLATE,
|
|
2431
2503
|
find: async (
|
|
2432
2504
|
params?: Service.StorecheckTemplate.Find.Params
|
|
2433
2505
|
): Promise<Service.StorecheckTemplate.Find.Result> => {
|
|
@@ -2485,7 +2557,7 @@ export default class Repzo {
|
|
|
2485
2557
|
};
|
|
2486
2558
|
|
|
2487
2559
|
activityStorecheck = {
|
|
2488
|
-
_path:
|
|
2560
|
+
_path: this._end_points.ACTIVITY_STORECHECK,
|
|
2489
2561
|
find: async (
|
|
2490
2562
|
params?: Service.ActivityStorecheck.Find.Params
|
|
2491
2563
|
): Promise<Service.ActivityStorecheck.Find.Result> => {
|
|
@@ -2533,7 +2605,7 @@ export default class Repzo {
|
|
|
2533
2605
|
};
|
|
2534
2606
|
|
|
2535
2607
|
adjustInventory = {
|
|
2536
|
-
_path:
|
|
2608
|
+
_path: this._end_points.ADJUST_INVENTORY,
|
|
2537
2609
|
find: async (
|
|
2538
2610
|
params?: Service.AdjustInventory.Find.Params
|
|
2539
2611
|
): Promise<Service.AdjustInventory.Find.Result> => {
|
|
@@ -2569,7 +2641,7 @@ export default class Repzo {
|
|
|
2569
2641
|
};
|
|
2570
2642
|
|
|
2571
2643
|
inventory = {
|
|
2572
|
-
_path:
|
|
2644
|
+
_path: this._end_points.INVENTORY,
|
|
2573
2645
|
find: async (
|
|
2574
2646
|
params?: Service.Inventory.Find.Params
|
|
2575
2647
|
): Promise<Service.Inventory.Find.Result> => {
|
|
@@ -2583,7 +2655,7 @@ export default class Repzo {
|
|
|
2583
2655
|
};
|
|
2584
2656
|
|
|
2585
2657
|
integrationApp = {
|
|
2586
|
-
_path:
|
|
2658
|
+
_path: this._end_points.INTEGRATION_APP,
|
|
2587
2659
|
find: async (
|
|
2588
2660
|
params?: Service.App.Find.Params
|
|
2589
2661
|
): Promise<Service.App.Find.Result> => {
|
|
@@ -2631,7 +2703,7 @@ export default class Repzo {
|
|
|
2631
2703
|
};
|
|
2632
2704
|
|
|
2633
2705
|
joinActionsWebHook = {
|
|
2634
|
-
_path:
|
|
2706
|
+
_path: this._end_points.JOIN_ACTIONS_WEBHOOK,
|
|
2635
2707
|
update: async (
|
|
2636
2708
|
id: null,
|
|
2637
2709
|
body: Service.JoinActionsWeHook.Data
|
|
@@ -2993,7 +3065,7 @@ export default class Repzo {
|
|
|
2993
3065
|
};
|
|
2994
3066
|
|
|
2995
3067
|
patchAction = {
|
|
2996
|
-
_path:
|
|
3068
|
+
_path: this._end_points.PATCH_ACTION,
|
|
2997
3069
|
create: async (
|
|
2998
3070
|
body: Service.PatchAction.Create.Body,
|
|
2999
3071
|
params?: Service.PatchAction.Create.Params
|
|
@@ -3020,7 +3092,7 @@ export default class Repzo {
|
|
|
3020
3092
|
};
|
|
3021
3093
|
|
|
3022
3094
|
updateIntegrationMeta = {
|
|
3023
|
-
_path:
|
|
3095
|
+
_path: this._end_points.UPDATE_INTEGRATION_META,
|
|
3024
3096
|
create: async (
|
|
3025
3097
|
body: Service.UpdateIntegrationMeta.Create.Body,
|
|
3026
3098
|
params?: Service.UpdateIntegrationMeta.Create.Params
|
|
@@ -3036,7 +3108,7 @@ export default class Repzo {
|
|
|
3036
3108
|
};
|
|
3037
3109
|
|
|
3038
3110
|
assetPartType = {
|
|
3039
|
-
_path:
|
|
3111
|
+
_path: this._end_points.ASSET_PART_TYPE,
|
|
3040
3112
|
find: async (
|
|
3041
3113
|
params?: Service.AssetPartType.Find.Params
|
|
3042
3114
|
): Promise<Service.AssetPartType.Find.Result> => {
|
|
@@ -3088,7 +3160,7 @@ export default class Repzo {
|
|
|
3088
3160
|
};
|
|
3089
3161
|
|
|
3090
3162
|
assetPart = {
|
|
3091
|
-
_path:
|
|
3163
|
+
_path: this._end_points.ASSET_PART,
|
|
3092
3164
|
find: async (
|
|
3093
3165
|
params?: Service.AssetPart.Find.Params
|
|
3094
3166
|
): Promise<Service.AssetPart.Find.Result> => {
|
|
@@ -3140,7 +3212,7 @@ export default class Repzo {
|
|
|
3140
3212
|
};
|
|
3141
3213
|
|
|
3142
3214
|
assetPartUnit = {
|
|
3143
|
-
_path:
|
|
3215
|
+
_path: this._end_points.ASSET_PART_UNIT,
|
|
3144
3216
|
find: async (
|
|
3145
3217
|
params?: Service.AssetPartUnit.Find.Params
|
|
3146
3218
|
): Promise<Service.AssetPartUnit.Find.Result> => {
|
|
@@ -3173,7 +3245,7 @@ export default class Repzo {
|
|
|
3173
3245
|
};
|
|
3174
3246
|
|
|
3175
3247
|
assetPartReceival = {
|
|
3176
|
-
_path:
|
|
3248
|
+
_path: this._end_points.ASSET_PART_RECEIVAL,
|
|
3177
3249
|
find: async (
|
|
3178
3250
|
params?: Service.AssetPartReceival.Find.Params
|
|
3179
3251
|
): Promise<Service.AssetPartReceival.Find.Result> => {
|
|
@@ -3228,7 +3300,7 @@ export default class Repzo {
|
|
|
3228
3300
|
};
|
|
3229
3301
|
|
|
3230
3302
|
assetPartTransfer = {
|
|
3231
|
-
_path:
|
|
3303
|
+
_path: this._end_points.ASSET_PART_TRANSFER,
|
|
3232
3304
|
find: async (
|
|
3233
3305
|
params?: Service.AssetPartTransfer.Find.Params
|
|
3234
3306
|
): Promise<Service.AssetPartTransfer.Find.Result> => {
|
|
@@ -3283,7 +3355,7 @@ export default class Repzo {
|
|
|
3283
3355
|
};
|
|
3284
3356
|
|
|
3285
3357
|
returnAssetPartUnit = {
|
|
3286
|
-
_path:
|
|
3358
|
+
_path: this._end_points.RETURN_ASSET_PART_UNIT,
|
|
3287
3359
|
find: async (
|
|
3288
3360
|
params?: Service.ReturnAssetPartUnit.Find.Params
|
|
3289
3361
|
): Promise<Service.ReturnAssetPartUnit.Find.Result> => {
|
|
@@ -3338,7 +3410,7 @@ export default class Repzo {
|
|
|
3338
3410
|
};
|
|
3339
3411
|
|
|
3340
3412
|
storeAssetPartUnit = {
|
|
3341
|
-
_path:
|
|
3413
|
+
_path: this._end_points.STORE_ASSET_PART_UNIT,
|
|
3342
3414
|
find: async (
|
|
3343
3415
|
params?: Service.StoreAssetPartUnit.Find.Params
|
|
3344
3416
|
): Promise<Service.StoreAssetPartUnit.Find.Result> => {
|
|
@@ -3393,7 +3465,7 @@ export default class Repzo {
|
|
|
3393
3465
|
};
|
|
3394
3466
|
|
|
3395
3467
|
ocrInvoiceJobTemplate = {
|
|
3396
|
-
_path:
|
|
3468
|
+
_path: this._end_points.OCR_INVOICE_JOB_TEMPLATE,
|
|
3397
3469
|
find: async (
|
|
3398
3470
|
params?: Service.OcrInvoiceJobTemplate.Find.Params
|
|
3399
3471
|
): Promise<Service.OcrInvoiceJobTemplate.Find.Result> => {
|
|
@@ -3436,7 +3508,7 @@ export default class Repzo {
|
|
|
3436
3508
|
};
|
|
3437
3509
|
|
|
3438
3510
|
ocrInvoiceJobGroup = {
|
|
3439
|
-
_path:
|
|
3511
|
+
_path: this._end_points.OCR_INVOICE_JOB_GROUP,
|
|
3440
3512
|
find: async (
|
|
3441
3513
|
params?: Service.OcrInvoiceJobGroup.Find.Params
|
|
3442
3514
|
): Promise<Service.OcrInvoiceJobGroup.Find.Result> => {
|
|
@@ -3468,7 +3540,7 @@ export default class Repzo {
|
|
|
3468
3540
|
};
|
|
3469
3541
|
|
|
3470
3542
|
activityAiSalesOrder = {
|
|
3471
|
-
_path:
|
|
3543
|
+
_path: this._end_points.ACTIVITY_AI_SALES_ORDER,
|
|
3472
3544
|
find: async (
|
|
3473
3545
|
params?: Service.ActivityAiSalesOrder.Find.Params
|
|
3474
3546
|
): Promise<Service.ActivityAiSalesOrder.Find.Result> => {
|
|
@@ -3500,7 +3572,7 @@ export default class Repzo {
|
|
|
3500
3572
|
};
|
|
3501
3573
|
|
|
3502
3574
|
ocrInvoiceJob = {
|
|
3503
|
-
_path:
|
|
3575
|
+
_path: this._end_points.OCR_INVOICE_JOB,
|
|
3504
3576
|
find: async (
|
|
3505
3577
|
params?: Service.OcrInvoiceJob.Find.Params
|
|
3506
3578
|
): Promise<Service.OcrInvoiceJob.Find.Result> => {
|
|
@@ -3522,7 +3594,7 @@ export default class Repzo {
|
|
|
3522
3594
|
};
|
|
3523
3595
|
|
|
3524
3596
|
ocrInvoiceJobPage = {
|
|
3525
|
-
_path:
|
|
3597
|
+
_path: this._end_points.OCR_INVOICE_JOB_PAGE,
|
|
3526
3598
|
find: async (
|
|
3527
3599
|
params?: Service.OcrInvoiceJobPage.Find.Params
|
|
3528
3600
|
): Promise<Service.OcrInvoiceJobPage.Find.Result> => {
|