repzo 1.0.105 → 1.0.107

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,646 +1,1287 @@
1
- import type { Service, Options, Headers, StringId, NameSpaces } from "./types/index";
1
+ import type {
2
+ Params,
3
+ Data,
4
+ Service,
5
+ Options,
6
+ Headers,
7
+ StringId,
8
+ NameSpaces,
9
+ } from "./types/index";
2
10
  export default class Repzo {
3
- private svAPIEndpoint;
4
- headers: Headers;
5
- private timeout;
6
- constructor(apiKey: string, options?: Options);
7
- private _end_points;
8
- END_POINTS: {
9
- readonly CLIENT: "client";
10
- readonly PRODUCT: "product";
11
- readonly VARIANT: "variant";
12
- readonly CATEGORY: "product-category";
13
- readonly SUB_CATEGORY: "product-sub-category";
14
- readonly BRAND: "product-brand";
15
- readonly PRODUCT_GROUP: "product-group";
16
- readonly TAX: "tax";
17
- readonly MEASUREUNIT: "measureunits";
18
- readonly MEASUREUNIT_FAMILY: "measureunit-family";
19
- readonly MEDIA: "media";
20
- readonly PRICELIST: "pricelists";
21
- readonly PRICELIST_ITEM: "pricelistsitems";
22
- readonly TEAM: "teams";
23
- readonly RETURN_REASON: "return-reason";
24
- readonly REP: "rep";
25
- readonly TAG: "tag";
26
- readonly WAREHOUSE: "warehouse";
27
- readonly ROUTE: "route";
28
- readonly PRODUCT_MODIFIERS_GROUP: "product-modifiers-group";
29
- readonly CHANNEL: "client-channel";
30
- readonly SPECIALITY: "speciality";
31
- readonly CLIENT_CONTACT: "client-contact";
32
- readonly PAYMENT_TERM: "paymentterms";
33
- readonly BANK: "banks";
34
- readonly BANK_LIST: "bankslists";
35
- readonly CUSTOM_STATUS: "custom-status";
36
- readonly CUSTOM_LIST: "custom-list";
37
- readonly CUSTOM_LIST_ITEM: "custom-list-item";
38
- readonly INVENTORY_ADJUSTMENT_REASON: "inventory-adjustment-reason";
39
- readonly WORKORDER: "workorder";
40
- readonly SUPPLIER: "supplier";
41
- readonly QUICK_CONVERT_TO_PDF: "quick-convert-to-pdf";
42
- readonly VISIT: "visit";
43
- readonly INVOICE: "fullinvoices";
44
- readonly PROFORMA: "proforma";
45
- readonly PAYMENT: "payments";
46
- readonly REFUND: "refund";
47
- readonly SETTLEMENT: "settlement";
48
- readonly CHECK: "checks";
49
- readonly DAY: "day";
50
- readonly RECEIVING_MATERIAL: "receiving-material";
51
- readonly ADJUST_ACCOUNT: "adjust-account";
52
- readonly TRANSFER: "transfer";
53
- readonly MSL: "msl";
54
- readonly MSL_PRODUCT: "msl-products";
55
- readonly MEDIA_STORAGE: "media-storage";
56
- readonly STORECHECK_TEMPLATE: "storecheck-template";
57
- readonly ACTIVITY_STORECHECK: "activity-storecheck";
58
- readonly ADJUST_INVENTORY: "adjust-inventory";
59
- readonly INVENTORY: "inventory";
60
- readonly INTEGRATION_APP: "integration-app";
61
- readonly JOIN_ACTIONS_WEBHOOK: "svix-integration";
62
- readonly INTEGRATION_ACTION_LOG: "integration-action-log";
63
- readonly INTEGRATION_COMMAND_LOG: "integration-command-log";
64
- readonly PATCH_ACTION: "patch-action";
65
- readonly UPDATE_INTEGRATION_META: "update-integration-meta";
66
- readonly ASSET_PART_TYPE: "asset-part-type";
67
- readonly ASSET_PART: "asset-part";
68
- readonly ASSET_PART_UNIT: "asset-part-unit";
69
- readonly ASSET_PART_RECEIVAL: "asset-part-receival";
70
- readonly ASSET_PART_TRANSFER: "asset-part-transfer";
71
- readonly RETURN_ASSET_PART_UNIT: "return-asset-part-unit";
72
- readonly STORE_ASSET_PART_UNIT: "store-asset-part-unit";
73
- readonly OCR_INVOICE_JOB_TEMPLATE: "ocr-invoice-job-template";
74
- readonly OCR_INVOICE_JOB_GROUP: "ocr-invoice-job-group";
75
- readonly ACTIVITY_AI_SALES_ORDER: "activity-ai-sales-order";
76
- readonly OCR_INVOICE_JOB: "ocr-invoice-job";
77
- readonly OCR_INVOICE_JOB_PAGE: "ocr-invoice-job-page";
78
- };
79
- private _fetch;
80
- private _create;
81
- private _update;
82
- private _patch;
83
- private _delete;
84
- client: {
85
- _path: "client";
86
- find: (params?: Service.Client.Find.Params) => Promise<Service.Client.Find.Result>;
87
- get: (id: Service.Client.Get.ID, params?: Service.Client.Get.Params) => Promise<Service.Client.Get.Result>;
88
- create: (body: Service.Client.Create.Body) => Promise<Service.Client.Create.Result>;
89
- update: (id: Service.Client.Update.ID, body: Service.Client.Update.Body) => Promise<Service.Client.Update.Result>;
90
- remove: (id: Service.Client.Remove.ID) => Promise<Service.Client.Remove.Result>;
91
- };
92
- product: {
93
- _path: "product";
94
- find: (params?: Service.Product.Find.Params) => Promise<Service.Product.Find.Result>;
95
- get: (id: Service.Product.Get.ID, params?: Service.Product.Get.Params) => Promise<Service.Product.Get.Result>;
96
- create: (body: Service.Product.Create.Body) => Promise<Service.Product.Create.Result>;
97
- update: (id: Service.Product.Update.ID, body: Service.Product.Update.Body) => Promise<Service.Product.Update.Result>;
98
- remove: (id: Service.Product.Remove.ID) => Promise<Service.Product.Remove.Result>;
99
- };
100
- variant: {
101
- _path: "variant";
102
- find: (params?: Service.Variant.Find.Params) => Promise<Service.Variant.Find.Result>;
103
- get: (id: Service.Variant.Get.ID, params?: Service.Variant.Get.Params) => Promise<Service.Variant.Get.Result>;
104
- create: (body: Service.Variant.Create.Body) => Promise<Service.Variant.Create.Result>;
105
- update: (id: Service.Variant.Update.ID, body: Service.Variant.Update.Body) => Promise<Service.Variant.Update.Result>;
106
- remove: (id: Service.Variant.Remove.ID) => Promise<Service.Variant.Remove.Result>;
107
- };
108
- category: {
109
- _path: "product-category";
110
- find: (params?: Service.Category.Find.Params) => Promise<Service.Category.Find.Result>;
111
- get: (id: Service.Category.Get.ID) => Promise<Service.Category.Get.Result>;
112
- create: (body: Service.Category.Create.Body) => Promise<Service.Category.Create.Result>;
113
- update: (id: Service.Category.Update.ID, body: Service.Category.Update.Body) => Promise<Service.Category.Update.Result>;
114
- remove: (id: Service.Category.Remove.ID) => Promise<Service.Category.Remove.Result>;
115
- };
116
- sub_category: {
117
- _path: "product-sub-category";
118
- find: (params?: Service.SubCategory.Find.Params) => Promise<Service.SubCategory.Find.Result>;
119
- get: (id: Service.SubCategory.Get.ID, params?: Service.SubCategory.Get.Params) => Promise<Service.SubCategory.Get.Result>;
120
- create: (body: Service.SubCategory.Create.Body) => Promise<Service.SubCategory.Create.Result>;
121
- update: (id: Service.SubCategory.Update.ID, body: Service.SubCategory.Update.Body) => Promise<Service.SubCategory.Update.Result>;
122
- remove: (id: Service.SubCategory.Remove.ID) => Promise<Service.SubCategory.Remove.Result>;
123
- };
124
- brand: {
125
- _path: "product-brand";
126
- find: (params?: Service.Brand.Find.Params) => Promise<Service.Brand.Find.Result>;
127
- get: (id: Service.Brand.Get.ID) => Promise<Service.Brand.Get.Result>;
128
- create: (body: Service.Brand.Create.Body) => Promise<Service.Brand.Create.Result>;
129
- update: (id: Service.Brand.Update.ID, body: Service.Brand.Update.Body) => Promise<Service.Brand.Update.Result>;
130
- remove: (id: Service.Brand.Remove.ID) => Promise<Service.Brand.Remove.Result>;
131
- };
132
- product_group: {
133
- _path: "product-group";
134
- find: (params?: Service.ProductGroup.Find.Params) => Promise<Service.ProductGroup.Find.Result>;
135
- get: (id: Service.ProductGroup.Get.ID) => Promise<Service.ProductGroup.Get.Result>;
136
- create: (body: Service.ProductGroup.Create.Body) => Promise<Service.ProductGroup.Create.Result>;
137
- update: (id: Service.ProductGroup.Update.ID, body: Service.ProductGroup.Update.Body) => Promise<Service.ProductGroup.Update.Result>;
138
- remove: (id: Service.ProductGroup.Remove.ID) => Promise<Service.ProductGroup.Remove.Result>;
139
- };
140
- tax: {
141
- _path: "tax";
142
- find: (params?: Service.Tax.Find.Params) => Promise<Service.Tax.Find.Result>;
143
- get: (id: Service.Tax.Get.ID) => Promise<Service.Tax.Get.Result>;
144
- create: (body: Service.Tax.Create.Body) => Promise<Service.Tax.Create.Result>;
145
- update: (id: Service.Tax.Update.ID, body: Service.Tax.Update.Body) => Promise<Service.Tax.Update.Result>;
146
- remove: (id: Service.Tax.Remove.ID) => Promise<Service.Tax.Remove.Result>;
147
- };
148
- measureunit: {
149
- _path: "measureunits";
150
- find: (params?: Service.MeasureUnit.Find.Params) => Promise<Service.MeasureUnit.Find.Result>;
151
- get: (id: Service.MeasureUnit.Get.ID) => Promise<Service.MeasureUnit.Get.Result>;
152
- create: (body: Service.MeasureUnit.Create.Body) => Promise<Service.MeasureUnit.Create.Result>;
153
- update: (id: Service.MeasureUnit.Update.ID, body: Service.MeasureUnit.Update.Body) => Promise<Service.MeasureUnit.Update.Result>;
154
- remove: (id: Service.MeasureUnit.Remove.ID) => Promise<Service.MeasureUnit.Remove.Result>;
155
- };
156
- measureunitFamily: {
157
- _path: "measureunit-family";
158
- find: (params?: Service.MeasureUnitFamily.Find.Params) => Promise<Service.MeasureUnitFamily.Find.Result>;
159
- get: (id: Service.MeasureUnitFamily.Get.ID) => Promise<Service.MeasureUnitFamily.Get.Result>;
160
- create: (body: Service.MeasureUnitFamily.Create.Body) => Promise<Service.MeasureUnitFamily.Create.Result>;
161
- update: (id: Service.MeasureUnitFamily.Update.ID, body: Service.MeasureUnitFamily.Update.Body) => Promise<Service.MeasureUnitFamily.Update.Result>;
162
- remove: (id: Service.MeasureUnitFamily.Remove.ID) => Promise<Service.MeasureUnitFamily.Remove.Result>;
163
- };
164
- media: {
165
- _path: "media";
166
- find: (params?: Service.Media.Find.Params) => Promise<Service.Media.Find.Result>;
167
- get: (id: Service.Media.Get.ID) => Promise<Service.Media.Get.Result>;
168
- create: (body: Service.Media.Create.Body) => Promise<Service.Media.Create.Result>;
169
- update: (id: Service.Media.Update.ID, body: Service.Media.Update.Body) => Promise<Service.Media.Update.Result>;
170
- remove: (id: Service.Media.Remove.ID) => Promise<Service.Media.Remove.Result>;
171
- };
172
- priceList: {
173
- _path: "pricelists";
174
- find: (params?: Service.PriceList.Find.Params) => Promise<Service.PriceList.Find.Result>;
175
- get: (id: Service.PriceList.Get.ID) => Promise<Service.PriceList.Get.Result>;
176
- create: (body: Service.PriceList.Create.Body) => Promise<Service.PriceList.Create.Result>;
177
- update: (id: Service.PriceList.Update.ID, body: Service.PriceList.Update.Body) => Promise<Service.PriceList.Update.Result>;
178
- remove: (id: Service.PriceList.Remove.ID) => Promise<Service.PriceList.Remove.Result>;
179
- };
180
- priceListItem: {
181
- _path: "pricelistsitems";
182
- find: (params?: Service.PriceListItem.Find.Params) => Promise<Service.PriceListItem.Find.Result>;
183
- get: (id: Service.PriceListItem.Get.ID) => Promise<Service.PriceListItem.Get.Result>;
184
- create: (body: Service.PriceListItem.Create.Body) => Promise<Service.PriceListItem.Create.Result>;
185
- update: (id: Service.PriceListItem.Update.ID, body: Service.PriceListItem.Update.Body) => Promise<Service.PriceListItem.Update.Result>;
186
- remove: (id: Service.PriceListItem.Remove.ID) => Promise<Service.PriceListItem.Remove.Result>;
187
- };
188
- team: {
189
- _path: "teams";
190
- find: (params?: Service.Team.Find.Params) => Promise<Service.Team.Find.Result>;
191
- get: (id: Service.Team.Get.ID) => Promise<Service.Team.Get.Result>;
192
- create: (body: Service.Team.Create.Body) => Promise<Service.Team.Create.Result>;
193
- update: (id: Service.Team.Update.ID, body: Service.Team.Update.Body) => Promise<Service.Team.Update.Result>;
194
- remove: (id: Service.Team.Remove.ID) => Promise<Service.Team.Remove.Result>;
195
- };
196
- returnReason: {
197
- _path: "return-reason";
198
- find: (params?: Service.ReturnReason.Find.Params) => Promise<Service.ReturnReason.Find.Result>;
199
- get: (id: Service.ReturnReason.Get.ID) => Promise<Service.ReturnReason.Get.Result>;
200
- create: (body: Service.ReturnReason.Create.Body) => Promise<Service.ReturnReason.Create.Result>;
201
- update: (id: Service.ReturnReason.Update.ID, body: Service.ReturnReason.Update.Body) => Promise<Service.ReturnReason.Update.Result>;
202
- remove: (id: Service.ReturnReason.Remove.ID) => Promise<Service.ReturnReason.Remove.Result>;
203
- };
204
- rep: {
205
- _path: "rep";
206
- find: (params?: Service.Rep.Find.Params) => Promise<Service.Rep.Find.Result>;
207
- get: (id: Service.Rep.Get.ID, params?: Service.Client.Get.Params) => Promise<Service.Rep.Get.Result>;
208
- create: (body: Service.Rep.Create.Body) => Promise<Service.Rep.Create.Result>;
209
- update: (id: Service.Rep.Update.ID, body: Service.Rep.Update.Body) => Promise<Service.Rep.Update.Result>;
210
- remove: (id: Service.Rep.Remove.ID) => Promise<Service.Rep.Remove.Result>;
211
- };
212
- tag: {
213
- _path: "tag";
214
- find: (params?: Service.Tag.Find.Params) => Promise<Service.Tag.Find.Result>;
215
- get: (id: Service.Tag.Get.ID) => Promise<Service.Tag.Get.Result>;
216
- create: (body: Service.Tag.Create.Body) => Promise<Service.Tag.Create.Result>;
217
- update: (id: Service.Tag.Update.ID, body: Service.Tag.Update.Body) => Promise<Service.Tag.Update.Result>;
218
- remove: (id: Service.Tag.Remove.ID) => Promise<Service.Tag.Remove.Result>;
219
- };
220
- warehouse: {
221
- _path: "warehouse";
222
- find: (params?: Service.Warehouse.Find.Params) => Promise<Service.Warehouse.Find.Result>;
223
- get: (id: Service.Warehouse.Get.ID) => Promise<Service.Warehouse.Get.Result>;
224
- create: (body: Service.Warehouse.Create.Body) => Promise<Service.Warehouse.Create.Result>;
225
- update: (id: Service.Warehouse.Update.ID, body: Service.Warehouse.Update.Body) => Promise<Service.Warehouse.Update.Result>;
226
- remove: (id: Service.Warehouse.Remove.ID) => Promise<Service.Warehouse.Remove.Result>;
227
- };
228
- route: {
229
- _path: "route";
230
- find: (params?: Service.Route.Find.Params) => Promise<Service.Route.Find.Result>;
231
- get: (id: Service.Route.Get.ID) => Promise<Service.Route.Get.Result>;
232
- create: (body: Service.Route.Create.Body) => Promise<Service.Route.Create.Result>;
233
- update: (id: Service.Route.Update.ID, body: Service.Route.Update.Body) => Promise<Service.Route.Update.Result>;
234
- remove: (id: Service.Route.Remove.ID) => Promise<Service.Route.Remove.Result>;
235
- };
236
- productModifiersGroup: {
237
- _path: "product-modifiers-group";
238
- find: (params?: Service.ProductModifiersGroup.Find.Params) => Promise<Service.ProductModifiersGroup.Find.Result>;
239
- get: (id: Service.ProductModifiersGroup.Get.ID) => Promise<Service.ProductModifiersGroup.Get.Result>;
240
- create: (body: Service.ProductModifiersGroup.Create.Body) => Promise<Service.ProductModifiersGroup.Create.Result>;
241
- update: (id: Service.ProductModifiersGroup.Update.ID, body: Service.ProductModifiersGroup.Update.Body) => Promise<Service.ProductModifiersGroup.Update.Result>;
242
- remove: (id: Service.ProductModifiersGroup.Remove.ID) => Promise<Service.ProductModifiersGroup.Remove.Result>;
243
- };
244
- channel: {
245
- _path: "client-channel";
246
- find: (params?: Service.Channel.Find.Params) => Promise<Service.Channel.Find.Result>;
247
- get: (id: Service.Channel.Get.ID) => Promise<Service.Channel.Get.Result>;
248
- create: (body: Service.Channel.Create.Body) => Promise<Service.Channel.Create.Result>;
249
- update: (id: Service.Channel.Update.ID, body: Service.Channel.Update.Body) => Promise<Service.Channel.Update.Result>;
250
- remove: (id: Service.Channel.Remove.ID) => Promise<Service.Channel.Remove.Result>;
251
- };
252
- speciality: {
253
- _path: "speciality";
254
- find: (params?: Service.Speciality.Find.Params) => Promise<Service.Speciality.Find.Result>;
255
- get: (id: Service.Speciality.Get.ID) => Promise<Service.Speciality.Get.Result>;
256
- create: (body: Service.Speciality.Create.Body) => Promise<Service.Speciality.Create.Result>;
257
- update: (id: Service.Speciality.Update.ID, body: Service.Speciality.Update.Body) => Promise<Service.Speciality.Update.Result>;
258
- remove: (id: Service.Speciality.Remove.ID) => Promise<Service.Speciality.Remove.Result>;
259
- };
260
- clientContact: {
261
- _path: "client-contact";
262
- find: (params?: Service.ClientContact.Find.Params) => Promise<Service.ClientContact.Find.Result>;
263
- get: (id: Service.ClientContact.Get.ID) => Promise<Service.ClientContact.Get.Result>;
264
- create: (body: Service.ClientContact.Create.Body) => Promise<Service.ClientContact.Create.Result>;
265
- update: (id: Service.ClientContact.Update.ID, body: Service.ClientContact.Update.Body) => Promise<Service.ClientContact.Update.Result>;
266
- remove: (id: Service.ClientContact.Remove.ID) => Promise<Service.ClientContact.Remove.Result>;
267
- };
268
- paymentTerm: {
269
- _path: "paymentterms";
270
- find: (params?: Service.PaymentTerm.Find.Params) => Promise<Service.PaymentTerm.Find.Result>;
271
- get: (id: Service.PaymentTerm.Get.ID) => Promise<Service.PaymentTerm.Get.Result>;
272
- create: (body: Service.PaymentTerm.Create.Body) => Promise<Service.PaymentTerm.Create.Result>;
273
- update: (id: Service.PaymentTerm.Update.ID, body: Service.PaymentTerm.Update.Body) => Promise<Service.PaymentTerm.Update.Result>;
274
- remove: (id: Service.PaymentTerm.Remove.ID) => Promise<Service.PaymentTerm.Remove.Result>;
275
- };
276
- bank: {
277
- _path: "banks";
278
- find: (params?: Service.Bank.Find.Params) => Promise<Service.Bank.Find.Result>;
279
- get: (id: Service.Bank.Get.ID) => Promise<Service.Bank.Get.Result>;
280
- create: (body: Service.Bank.Create.Body) => Promise<Service.Bank.Create.Result>;
281
- update: (id: Service.Bank.Update.ID, body: Service.Bank.Update.Body) => Promise<Service.Bank.Update.Result>;
282
- };
283
- bank_list: {
284
- _path: "bankslists";
285
- find: (params?: Service.BankList.Find.Params) => Promise<Service.BankList.Find.Result>;
286
- get: (id: Service.BankList.Get.ID) => Promise<Service.BankList.Get.Result>;
287
- create: (body: Service.BankList.Create.Body) => Promise<Service.BankList.Create.Result>;
288
- update: (id: Service.BankList.Update.ID, body: Service.BankList.Update.Body) => Promise<Service.BankList.Update.Result>;
289
- };
290
- customStatus: {
291
- _path: "custom-status";
292
- find: (params?: Service.CustomStatus.Find.Params) => Promise<Service.CustomStatus.Find.Result>;
293
- get: (id: Service.CustomStatus.Get.ID) => Promise<Service.CustomStatus.Get.Result>;
294
- create: (body: Service.CustomStatus.Create.Body) => Promise<Service.CustomStatus.Create.Result>;
295
- update: (id: Service.CustomStatus.Update.ID, body: Service.CustomStatus.Update.Body) => Promise<Service.CustomStatus.Update.Result>;
296
- remove: (id: Service.CustomStatus.Remove.ID) => Promise<Service.CustomStatus.Remove.Result>;
297
- };
298
- customList: {
299
- _path: "custom-list";
300
- find: (params?: Service.CustomList.Find.Params) => Promise<Service.CustomList.Find.Result>;
301
- get: (id: Service.CustomList.Get.ID, params?: Service.CustomList.Get.Params) => Promise<Service.CustomList.Get.Result>;
302
- create: (body: Service.CustomList.Create.Body) => Promise<Service.CustomList.Create.Result>;
303
- update: (id: Service.CustomList.Update.ID, body: Service.CustomList.Update.Body) => Promise<Service.CustomList.Update.Result>;
304
- remove: (id: Service.CustomList.Remove.ID) => Promise<Service.CustomList.Remove.Result>;
305
- };
306
- customListItem: {
307
- _path: "custom-list-item";
308
- find: (params?: Service.CustomListItem.Find.Params) => Promise<Service.CustomListItem.Find.Result>;
309
- get: (id: Service.CustomListItem.Get.ID, params?: Service.CustomListItem.Get.Params) => Promise<Service.CustomListItem.Get.Result>;
310
- create: (body: Service.CustomListItem.Create.Body) => Promise<Service.CustomListItem.Create.Result>;
311
- update: (id: Service.CustomListItem.Update.ID, body: Service.CustomListItem.Update.Body) => Promise<Service.CustomListItem.Update.Result>;
312
- remove: (id: Service.CustomListItem.Remove.ID) => Promise<Service.CustomListItem.Remove.Result>;
313
- };
314
- inventoryAdjustmentReason: {
315
- _path: "inventory-adjustment-reason";
316
- find: (params?: Service.InventoryAdjustmentReason.Find.Params) => Promise<Service.InventoryAdjustmentReason.Find.Result>;
317
- get: (id: Service.InventoryAdjustmentReason.Get.ID) => Promise<Service.InventoryAdjustmentReason.Get.Result>;
318
- create: (body: Service.InventoryAdjustmentReason.Create.Body) => Promise<Service.InventoryAdjustmentReason.Create.Result>;
319
- update: (id: Service.InventoryAdjustmentReason.Update.ID, body: Service.InventoryAdjustmentReason.Update.Body) => Promise<Service.InventoryAdjustmentReason.Update.Result>;
320
- remove: (id: Service.InventoryAdjustmentReason.Remove.ID) => Promise<Service.InventoryAdjustmentReason.Remove.Result>;
321
- };
322
- workorder: {
323
- _path: "workorder";
324
- find: (params?: Service.Workorder.Find.Params) => Promise<Service.Workorder.Find.Result>;
325
- get: (id: Service.Workorder.Get.ID, params?: Service.Workorder.Get.Params) => Promise<Service.Workorder.Get.Result>;
326
- };
327
- supplier: {
328
- _path: "supplier";
329
- find: (params?: Service.Supplier.Find.Params) => Promise<Service.Supplier.Find.Result>;
330
- get: (id: Service.Supplier.Get.ID, params?: Service.Supplier.Get.Params) => Promise<Service.Supplier.Get.Result>;
331
- create: (body: Service.Supplier.Create.Body) => Promise<Service.Supplier.Create.Result>;
332
- update: (id: Service.Supplier.Update.ID, body: Service.Supplier.Update.Body) => Promise<Service.Supplier.Update.Result>;
333
- };
334
- quickConvertToPdf: {
335
- _path: "quick-convert-to-pdf";
336
- find: (params?: Service.QuickConvertToPdf.Find.Params) => Promise<Service.QuickConvertToPdf.Find.Result>;
337
- get: (id: Service.QuickConvertToPdf.Get.ID, params?: Service.QuickConvertToPdf.Get.Params) => Promise<Service.QuickConvertToPdf.Get.Result>;
338
- create: (body: Service.QuickConvertToPdf.Create.Body) => Promise<Service.QuickConvertToPdf.Create.Result>;
339
- remove: (id: Service.QuickConvertToPdf.Remove.ID) => Promise<Service.QuickConvertToPdf.Remove.Result>;
340
- };
341
- visit: {
342
- _path: "visit";
343
- find: (params?: Service.Visit.Find.Params) => Promise<Service.Visit.Find.Result>;
344
- get: (id: Service.Visit.Get.ID, params?: Service.Visit.Get.Params) => Promise<Service.Visit.Get.Result>;
345
- create: (body: Service.Visit.Create.Body) => Promise<Service.Visit.Create.Result>;
346
- update: (id: Service.Visit.Update.ID, body: Service.Visit.Update.Body) => Promise<Service.Visit.Update.Result>;
347
- };
348
- invoice: {
349
- _path: "fullinvoices";
350
- find: (params?: Service.FullInvoice.Find.Params) => Promise<Service.FullInvoice.Find.Result>;
351
- get: (id: Service.FullInvoice.Get.ID, params?: Service.FullInvoice.Get.Params) => Promise<Service.FullInvoice.Get.Result>;
352
- create: (body: Service.FullInvoice.Create.Body) => Promise<Service.FullInvoice.Create.Result>;
353
- update: (id: Service.FullInvoice.Update.ID, body: Service.FullInvoice.Update.Body) => Promise<Service.FullInvoice.Update.Result>;
354
- };
355
- proforma: {
356
- _path: "proforma";
357
- find: (params?: Service.Proforma.Find.Params) => Promise<Service.Proforma.Find.Result>;
358
- get: (id: Service.Proforma.Get.ID, params?: Service.Proforma.Get.Params) => Promise<Service.Proforma.Get.Result>;
359
- create: (body: Service.Proforma.Create.Body) => Promise<Service.Proforma.Create.Result>;
360
- update: (id: Service.Proforma.Update.ID, body: Service.Proforma.Update.Body) => Promise<Service.Proforma.Update.Result>;
361
- };
362
- payment: {
363
- _path: "payments";
364
- find: (params?: Service.Payment.Find.Params) => Promise<Service.Payment.Find.Result>;
365
- get: (id: Service.Payment.Get.ID, params?: Service.Payment.Get.Params) => Promise<Service.Payment.Get.Result>;
366
- create: (body: Service.Payment.Create.Body) => Promise<Service.Payment.Create.Result>;
367
- update: (id: Service.Payment.Update.ID, body: Service.Payment.Update.Body) => Promise<Service.Payment.Update.Result>;
368
- };
369
- refund: {
370
- _path: "refund";
371
- find: (params?: Service.Refund.Find.Params) => Promise<Service.Refund.Find.Result>;
372
- get: (id: Service.Refund.Get.ID, params?: Service.Refund.Get.Params) => Promise<Service.Refund.Get.Result>;
373
- create: (body: Service.Refund.Create.Body) => Promise<Service.Refund.Create.Result>;
374
- update: (id: Service.Refund.Update.ID, body: Service.Refund.Update.Body) => Promise<Service.Refund.Update.Result>;
375
- };
376
- settlement: {
377
- _path: "settlement";
378
- find: (params?: Service.Settlement.Find.Params) => Promise<Service.Settlement.Find.Result>;
379
- get: (id: Service.Settlement.Get.ID, params?: Service.Settlement.Get.Params) => Promise<Service.Settlement.Get.Result>;
380
- create: (body: Service.Settlement.Create.Body) => Promise<Service.Settlement.Create.Result>;
381
- };
382
- check: {
383
- _path: "checks";
384
- find: (params?: Service.Check.Find.Params) => Promise<Service.Check.Find.Result>;
385
- get: (id: Service.Check.Get.ID, params?: Service.Check.Get.Params) => Promise<Service.Check.Get.Result>;
386
- create: (body: Service.Check.Create.Body) => Promise<Service.Check.Create.Result>;
387
- };
388
- day: {
389
- _path: "day";
390
- find: (params?: Service.Day.Find.Params) => Promise<Service.Day.Find.Result>;
391
- get: (id: Service.Day.Get.ID, params?: Service.Day.Get.Params) => Promise<Service.Day.Get.Result>;
392
- create: (body: Service.Day.Create.Body) => Promise<Service.Day.Create.Result>;
393
- };
394
- receivingMaterial: {
395
- _path: "receiving-material";
396
- find: (params?: Service.ReceivingMaterial.Find.Params) => Promise<Service.ReceivingMaterial.Find.Result>;
397
- get: (id: Service.ReceivingMaterial.Get.ID, params?: Service.ReceivingMaterial.Get.Params) => Promise<Service.ReceivingMaterial.Get.Result>;
398
- create: (body: Service.ReceivingMaterial.Create.Body) => Promise<Service.ReceivingMaterial.Create.Result>;
399
- update: (id: Service.ReceivingMaterial.Update.ID, body: Service.ReceivingMaterial.Update.Body) => Promise<Service.ReceivingMaterial.Update.Result>;
400
- };
401
- adjustAccount: {
402
- _path: "adjust-account";
403
- find: (params?: Service.AdjustAccount.Find.Params) => Promise<Service.AdjustAccount.Find.Result>;
404
- get: (id: Service.AdjustAccount.Get.ID, params?: Service.AdjustAccount.Get.Params) => Promise<Service.AdjustAccount.Get.Result>;
405
- create: (body: Service.AdjustAccount.Create.Body) => Promise<Service.AdjustAccount.Create.Result>;
406
- };
407
- transfer: {
408
- _path: "transfer";
409
- find: (params?: Service.Transfer.Find.Params) => Promise<Service.Transfer.Find.Result>;
410
- get: (id: Service.Transfer.Get.ID, params?: Service.Transfer.Get.Params) => Promise<Service.Transfer.Get.Result>;
411
- create: (body: Service.Transfer.Create.Body) => Promise<Service.Transfer.Create.Result>;
412
- update: (id: Service.Transfer.Update.ID, body: Service.Transfer.Update.Body) => Promise<Service.Transfer.Update.Result>;
413
- };
414
- msl: {
415
- _path: "msl";
416
- find: (params?: Service.Msl.Find.Params) => Promise<Service.Msl.Find.Result>;
417
- get: (id: Service.Msl.Get.ID, params?: Service.Msl.Get.Params) => Promise<Service.Msl.Get.Result>;
418
- create: (body: Service.Msl.Create.Body) => Promise<Service.Msl.Create.Result>;
419
- update: (id: Service.Msl.Update.ID, body: Service.Msl.Update.Body) => Promise<Service.Msl.Update.Result>;
420
- remove: (id: Service.Msl.Remove.ID) => Promise<Service.Msl.Remove.Result>;
421
- };
422
- mslProduct: {
423
- _path: "msl-products";
424
- find: (params?: Service.MslProduct.Find.Params) => Promise<Service.MslProduct.Find.Result>;
425
- get: (id: Service.MslProduct.Get.ID, params?: Service.MslProduct.Get.Params) => Promise<Service.MslProduct.Get.Result>;
426
- create: (body: Service.MslProduct.Create.Body) => Promise<Service.MslProduct.Create.Result>;
427
- update: (id: Service.MslProduct.Update.ID, body: Service.MslProduct.Update.Body) => Promise<Service.MslProduct.Update.Result>;
428
- remove: (id: Service.MslProduct.Remove.ID) => Promise<Service.MslProduct.Remove.Result>;
429
- };
430
- mediaStorage: {
431
- _path: "media-storage";
432
- find: (params?: Service.MediaStorage.Find.Params) => Promise<Service.MediaStorage.Find.Result>;
433
- get: (id: Service.MediaStorage.Get.ID, params?: Service.MediaStorage.Get.Params) => Promise<Service.MediaStorage.Get.Result>;
434
- create: (body: Service.MediaStorage.Create.Body) => Promise<Service.MediaStorage.Create.Result>;
435
- update: (id: Service.MediaStorage.Update.ID, body: Service.MediaStorage.Update.Body) => Promise<Service.MediaStorage.Update.Result>;
436
- remove: (id: Service.MediaStorage.Remove.ID) => Promise<Service.MediaStorage.Remove.Result>;
437
- };
438
- storecheckTemplate: {
439
- _path: "storecheck-template";
440
- find: (params?: Service.StorecheckTemplate.Find.Params) => Promise<Service.StorecheckTemplate.Find.Result>;
441
- get: (id: Service.StorecheckTemplate.Get.ID, params?: Service.StorecheckTemplate.Get.Params) => Promise<Service.StorecheckTemplate.Get.Result>;
442
- create: (body: Service.StorecheckTemplate.Create.Body) => Promise<Service.StorecheckTemplate.Create.Result>;
443
- update: (id: Service.StorecheckTemplate.Update.ID, body: Service.StorecheckTemplate.Update.Body) => Promise<Service.StorecheckTemplate.Update.Result>;
444
- remove: (id: Service.StorecheckTemplate.Remove.ID) => Promise<Service.StorecheckTemplate.Remove.Result>;
445
- };
446
- activityStorecheck: {
447
- _path: "activity-storecheck";
448
- find: (params?: Service.ActivityStorecheck.Find.Params) => Promise<Service.ActivityStorecheck.Find.Result>;
449
- get: (id: Service.ActivityStorecheck.Get.ID, params?: Service.ActivityStorecheck.Get.Params) => Promise<Service.ActivityStorecheck.Get.Result>;
450
- create: (body: Service.ActivityStorecheck.Create.Body) => Promise<Service.ActivityStorecheck.Create.Result>;
451
- update: (id: Service.ActivityStorecheck.Update.ID, body: Service.ActivityStorecheck.Update.Body) => Promise<Service.ActivityStorecheck.Update.Result>;
452
- };
453
- adjustInventory: {
454
- _path: "adjust-inventory";
455
- find: (params?: Service.AdjustInventory.Find.Params) => Promise<Service.AdjustInventory.Find.Result>;
456
- get: (id: Service.AdjustInventory.Get.ID, params?: Service.AdjustInventory.Get.Params) => Promise<Service.AdjustInventory.Get.Result>;
457
- create: (body: Service.AdjustInventory.Create.Body) => Promise<Service.AdjustInventory.Create.Result>;
458
- };
459
- inventory: {
460
- _path: "inventory";
461
- find: (params?: Service.Inventory.Find.Params) => Promise<Service.Inventory.Find.Result>;
462
- };
463
- integrationApp: {
464
- _path: "integration-app";
465
- find: (params?: Service.App.Find.Params) => Promise<Service.App.Find.Result>;
466
- get: (id: Service.App.Get.ID, params?: Service.App.Find.Params) => Promise<Service.App.Get.Result>;
467
- create: (body: Service.App.Create.Body) => Promise<Service.App.Create.Result>;
468
- update: (id: Service.App.Update.ID, body: Service.App.Update.Body) => Promise<Service.App.Update.Result>;
469
- };
470
- joinActionsWebHook: {
471
- _path: "svix-integration";
472
- update: (id: null, body: Service.JoinActionsWeHook.Data) => Promise<Service.JoinActionsWeHook.Result>;
473
- };
474
- static ActionLogs: {
475
- new (superThis: Repzo, sync_id: string): {
476
- _path: string;
477
- available_app_name: string;
478
- available_app_id: StringId;
479
- app_id: StringId;
480
- action: string;
481
- status: Service.ActionLogs.Status;
482
- error?: any;
483
- start_time: number;
484
- end_time?: number;
485
- total_time?: number;
486
- company_namespace?: NameSpaces;
487
- body?: any;
488
- meta?: any;
489
- message: string;
490
- details: Service.ActionLogs.Detail[];
491
- sync_id: string;
492
- isOld: boolean;
493
- superThis: Repzo;
494
- load(sync_id: string): Promise</*elided*/ any>;
495
- setStatus(status: Service.ActionLogs.Status, error?: any): /*elided*/ any;
496
- setBody(body: any): /*elided*/ any;
497
- setMeta(meta: any): /*elided*/ any;
498
- commit(): Promise</*elided*/ any>;
499
- addDetail(detail: string, meta?: any): /*elided*/ any;
11
+ private svAPIEndpoint;
12
+ headers: Headers;
13
+ private timeout;
14
+ constructor(apiKey: string, options?: Options);
15
+ private _end_points;
16
+ END_POINTS: {
17
+ readonly CLIENT: "client";
18
+ readonly PRODUCT: "product";
19
+ readonly VARIANT: "variant";
20
+ readonly CATEGORY: "product-category";
21
+ readonly SUB_CATEGORY: "product-sub-category";
22
+ readonly BRAND: "product-brand";
23
+ readonly PRODUCT_GROUP: "product-group";
24
+ readonly TAX: "tax";
25
+ readonly MEASUREUNIT: "measureunits";
26
+ readonly MEASUREUNIT_FAMILY: "measureunit-family";
27
+ readonly MEDIA: "media";
28
+ readonly PRICELIST: "pricelists";
29
+ readonly PRICELIST_ITEM: "pricelistsitems";
30
+ readonly TEAM: "teams";
31
+ readonly RETURN_REASON: "return-reason";
32
+ readonly REP: "rep";
33
+ readonly TAG: "tag";
34
+ readonly WAREHOUSE: "warehouse";
35
+ readonly ROUTE: "route";
36
+ readonly PRODUCT_MODIFIERS_GROUP: "product-modifiers-group";
37
+ readonly CHANNEL: "client-channel";
38
+ readonly SPECIALITY: "speciality";
39
+ readonly CLIENT_CONTACT: "client-contact";
40
+ readonly PAYMENT_TERM: "paymentterms";
41
+ readonly BANK: "banks";
42
+ readonly BANK_LIST: "bankslists";
43
+ readonly CUSTOM_STATUS: "custom-status";
44
+ readonly CUSTOM_LIST: "custom-list";
45
+ readonly CUSTOM_LIST_ITEM: "custom-list-item";
46
+ readonly INVENTORY_ADJUSTMENT_REASON: "inventory-adjustment-reason";
47
+ readonly WORKORDER: "workorder";
48
+ readonly SUPPLIER: "supplier";
49
+ readonly QUICK_CONVERT_TO_PDF: "quick-convert-to-pdf";
50
+ readonly VISIT: "visit";
51
+ readonly INVOICE: "fullinvoices";
52
+ readonly PROFORMA: "proforma";
53
+ readonly PAYMENT: "payments";
54
+ readonly REFUND: "refund";
55
+ readonly SETTLEMENT: "settlement";
56
+ readonly CHECK: "checks";
57
+ readonly DAY: "day";
58
+ readonly RECEIVING_MATERIAL: "receiving-material";
59
+ readonly ADJUST_ACCOUNT: "adjust-account";
60
+ readonly TRANSFER: "transfer";
61
+ readonly MSL: "msl";
62
+ readonly MSL_PRODUCT: "msl-products";
63
+ readonly MEDIA_STORAGE: "media-storage";
64
+ readonly STORECHECK_TEMPLATE: "storecheck-template";
65
+ readonly ACTIVITY_STORECHECK: "activity-storecheck";
66
+ readonly ADJUST_INVENTORY: "adjust-inventory";
67
+ readonly INVENTORY: "inventory";
68
+ readonly INTEGRATION_APP: "integration-app";
69
+ readonly JOIN_ACTIONS_WEBHOOK: "svix-integration";
70
+ readonly INTEGRATION_ACTION_LOG: "integration-action-log";
71
+ readonly INTEGRATION_COMMAND_LOG: "integration-command-log";
72
+ readonly PATCH_ACTION: "patch-action";
73
+ readonly UPDATE_INTEGRATION_META: "update-integration-meta";
74
+ readonly ASSET_PART_TYPE: "asset-part-type";
75
+ readonly ASSET_PART: "asset-part";
76
+ readonly ASSET_PART_UNIT: "asset-part-unit";
77
+ readonly ASSET_PART_RECEIVAL: "asset-part-receival";
78
+ readonly ASSET_PART_TRANSFER: "asset-part-transfer";
79
+ readonly RETURN_ASSET_PART_UNIT: "return-asset-part-unit";
80
+ readonly STORE_ASSET_PART_UNIT: "store-asset-part-unit";
81
+ readonly OCR_INVOICE_JOB_TEMPLATE: "ocr-invoice-job-template";
82
+ readonly OCR_INVOICE_JOB_GROUP: "ocr-invoice-job-group";
83
+ readonly ACTIVITY_AI_SALES_ORDER: "activity-ai-sales-order";
84
+ readonly OCR_INVOICE_JOB: "ocr-invoice-job";
85
+ readonly OCR_INVOICE_JOB_PAGE: "ocr-invoice-job-page";
86
+ };
87
+ private _fetch;
88
+ private _create;
89
+ private _update;
90
+ private _patch;
91
+ private _delete;
92
+ client: {
93
+ _path: "client";
94
+ find: (
95
+ params?: Service.Client.Find.Params
96
+ ) => Promise<Service.Client.Find.Result>;
97
+ get: (
98
+ id: Service.Client.Get.ID,
99
+ params?: Service.Client.Get.Params
100
+ ) => Promise<Service.Client.Get.Result>;
101
+ create: (
102
+ body: Service.Client.Create.Body
103
+ ) => Promise<Service.Client.Create.Result>;
104
+ update: (
105
+ id: Service.Client.Update.ID,
106
+ body: Service.Client.Update.Body
107
+ ) => Promise<Service.Client.Update.Result>;
108
+ remove: (
109
+ id: Service.Client.Remove.ID
110
+ ) => Promise<Service.Client.Remove.Result>;
111
+ };
112
+ product: {
113
+ _path: "product";
114
+ find: (
115
+ params?: Service.Product.Find.Params
116
+ ) => Promise<Service.Product.Find.Result>;
117
+ get: (
118
+ id: Service.Product.Get.ID,
119
+ params?: Service.Product.Get.Params
120
+ ) => Promise<Service.Product.Get.Result>;
121
+ create: (
122
+ body: Service.Product.Create.Body
123
+ ) => Promise<Service.Product.Create.Result>;
124
+ update: (
125
+ id: Service.Product.Update.ID,
126
+ body: Service.Product.Update.Body
127
+ ) => Promise<Service.Product.Update.Result>;
128
+ remove: (
129
+ id: Service.Product.Remove.ID
130
+ ) => Promise<Service.Product.Remove.Result>;
131
+ };
132
+ variant: {
133
+ _path: "variant";
134
+ find: (
135
+ params?: Service.Variant.Find.Params
136
+ ) => Promise<Service.Variant.Find.Result>;
137
+ get: (
138
+ id: Service.Variant.Get.ID,
139
+ params?: Service.Variant.Get.Params
140
+ ) => Promise<Service.Variant.Get.Result>;
141
+ create: (
142
+ body: Service.Variant.Create.Body
143
+ ) => Promise<Service.Variant.Create.Result>;
144
+ update: (
145
+ id: Service.Variant.Update.ID,
146
+ body: Service.Variant.Update.Body
147
+ ) => Promise<Service.Variant.Update.Result>;
148
+ remove: (
149
+ id: Service.Variant.Remove.ID
150
+ ) => Promise<Service.Variant.Remove.Result>;
151
+ };
152
+ category: {
153
+ _path: "product-category";
154
+ find: (
155
+ params?: Service.Category.Find.Params
156
+ ) => Promise<Service.Category.Find.Result>;
157
+ get: (id: Service.Category.Get.ID) => Promise<Service.Category.Get.Result>;
158
+ create: (
159
+ body: Service.Category.Create.Body
160
+ ) => Promise<Service.Category.Create.Result>;
161
+ update: (
162
+ id: Service.Category.Update.ID,
163
+ body: Service.Category.Update.Body
164
+ ) => Promise<Service.Category.Update.Result>;
165
+ remove: (
166
+ id: Service.Category.Remove.ID
167
+ ) => Promise<Service.Category.Remove.Result>;
168
+ };
169
+ sub_category: {
170
+ _path: "product-sub-category";
171
+ find: (
172
+ params?: Service.SubCategory.Find.Params
173
+ ) => Promise<Service.SubCategory.Find.Result>;
174
+ get: (
175
+ id: Service.SubCategory.Get.ID,
176
+ params?: Service.SubCategory.Get.Params
177
+ ) => Promise<Service.SubCategory.Get.Result>;
178
+ create: (
179
+ body: Service.SubCategory.Create.Body
180
+ ) => Promise<Service.SubCategory.Create.Result>;
181
+ update: (
182
+ id: Service.SubCategory.Update.ID,
183
+ body: Service.SubCategory.Update.Body
184
+ ) => Promise<Service.SubCategory.Update.Result>;
185
+ remove: (
186
+ id: Service.SubCategory.Remove.ID
187
+ ) => Promise<Service.SubCategory.Remove.Result>;
188
+ };
189
+ brand: {
190
+ _path: "product-brand";
191
+ find: (
192
+ params?: Service.Brand.Find.Params
193
+ ) => Promise<Service.Brand.Find.Result>;
194
+ get: (id: Service.Brand.Get.ID) => Promise<Service.Brand.Get.Result>;
195
+ create: (
196
+ body: Service.Brand.Create.Body
197
+ ) => Promise<Service.Brand.Create.Result>;
198
+ update: (
199
+ id: Service.Brand.Update.ID,
200
+ body: Service.Brand.Update.Body
201
+ ) => Promise<Service.Brand.Update.Result>;
202
+ remove: (
203
+ id: Service.Brand.Remove.ID
204
+ ) => Promise<Service.Brand.Remove.Result>;
205
+ };
206
+ product_group: {
207
+ _path: "product-group";
208
+ find: (
209
+ params?: Service.ProductGroup.Find.Params
210
+ ) => Promise<Service.ProductGroup.Find.Result>;
211
+ get: (
212
+ id: Service.ProductGroup.Get.ID
213
+ ) => Promise<Service.ProductGroup.Get.Result>;
214
+ create: (
215
+ body: Service.ProductGroup.Create.Body
216
+ ) => Promise<Service.ProductGroup.Create.Result>;
217
+ update: (
218
+ id: Service.ProductGroup.Update.ID,
219
+ body: Service.ProductGroup.Update.Body
220
+ ) => Promise<Service.ProductGroup.Update.Result>;
221
+ remove: (
222
+ id: Service.ProductGroup.Remove.ID
223
+ ) => Promise<Service.ProductGroup.Remove.Result>;
224
+ };
225
+ tax: {
226
+ _path: "tax";
227
+ find: (
228
+ params?: Service.Tax.Find.Params
229
+ ) => Promise<Service.Tax.Find.Result>;
230
+ get: (id: Service.Tax.Get.ID) => Promise<Service.Tax.Get.Result>;
231
+ create: (
232
+ body: Service.Tax.Create.Body
233
+ ) => Promise<Service.Tax.Create.Result>;
234
+ update: (
235
+ id: Service.Tax.Update.ID,
236
+ body: Service.Tax.Update.Body
237
+ ) => Promise<Service.Tax.Update.Result>;
238
+ remove: (id: Service.Tax.Remove.ID) => Promise<Service.Tax.Remove.Result>;
239
+ };
240
+ measureunit: {
241
+ _path: "measureunits";
242
+ find: (
243
+ params?: Service.MeasureUnit.Find.Params
244
+ ) => Promise<Service.MeasureUnit.Find.Result>;
245
+ get: (
246
+ id: Service.MeasureUnit.Get.ID
247
+ ) => Promise<Service.MeasureUnit.Get.Result>;
248
+ create: (
249
+ body: Service.MeasureUnit.Create.Body
250
+ ) => Promise<Service.MeasureUnit.Create.Result>;
251
+ update: (
252
+ id: Service.MeasureUnit.Update.ID,
253
+ body: Service.MeasureUnit.Update.Body
254
+ ) => Promise<Service.MeasureUnit.Update.Result>;
255
+ remove: (
256
+ id: Service.MeasureUnit.Remove.ID
257
+ ) => Promise<Service.MeasureUnit.Remove.Result>;
258
+ };
259
+ measureunitFamily: {
260
+ _path: "measureunit-family";
261
+ find: (
262
+ params?: Service.MeasureUnitFamily.Find.Params
263
+ ) => Promise<Service.MeasureUnitFamily.Find.Result>;
264
+ get: (
265
+ id: Service.MeasureUnitFamily.Get.ID
266
+ ) => Promise<Service.MeasureUnitFamily.Get.Result>;
267
+ create: (
268
+ body: Service.MeasureUnitFamily.Create.Body
269
+ ) => Promise<Service.MeasureUnitFamily.Create.Result>;
270
+ update: (
271
+ id: Service.MeasureUnitFamily.Update.ID,
272
+ body: Service.MeasureUnitFamily.Update.Body
273
+ ) => Promise<Service.MeasureUnitFamily.Update.Result>;
274
+ remove: (
275
+ id: Service.MeasureUnitFamily.Remove.ID
276
+ ) => Promise<Service.MeasureUnitFamily.Remove.Result>;
277
+ };
278
+ media: {
279
+ _path: "media";
280
+ find: (
281
+ params?: Service.Media.Find.Params
282
+ ) => Promise<Service.Media.Find.Result>;
283
+ get: (id: Service.Media.Get.ID) => Promise<Service.Media.Get.Result>;
284
+ create: (
285
+ body: Service.Media.Create.Body
286
+ ) => Promise<Service.Media.Create.Result>;
287
+ update: (
288
+ id: Service.Media.Update.ID,
289
+ body: Service.Media.Update.Body
290
+ ) => Promise<Service.Media.Update.Result>;
291
+ remove: (
292
+ id: Service.Media.Remove.ID
293
+ ) => Promise<Service.Media.Remove.Result>;
294
+ };
295
+ priceList: {
296
+ _path: "pricelists";
297
+ find: (
298
+ params?: Service.PriceList.Find.Params
299
+ ) => Promise<Service.PriceList.Find.Result>;
300
+ get: (
301
+ id: Service.PriceList.Get.ID
302
+ ) => Promise<Service.PriceList.Get.Result>;
303
+ create: (
304
+ body: Service.PriceList.Create.Body
305
+ ) => Promise<Service.PriceList.Create.Result>;
306
+ update: (
307
+ id: Service.PriceList.Update.ID,
308
+ body: Service.PriceList.Update.Body
309
+ ) => Promise<Service.PriceList.Update.Result>;
310
+ remove: (
311
+ id: Service.PriceList.Remove.ID
312
+ ) => Promise<Service.PriceList.Remove.Result>;
313
+ };
314
+ priceListItem: {
315
+ _path: "pricelistsitems";
316
+ find: (
317
+ params?: Service.PriceListItem.Find.Params
318
+ ) => Promise<Service.PriceListItem.Find.Result>;
319
+ get: (
320
+ id: Service.PriceListItem.Get.ID
321
+ ) => Promise<Service.PriceListItem.Get.Result>;
322
+ create: (
323
+ body: Service.PriceListItem.Create.Body
324
+ ) => Promise<Service.PriceListItem.Create.Result>;
325
+ update: (
326
+ id: Service.PriceListItem.Update.ID,
327
+ body: Service.PriceListItem.Update.Body
328
+ ) => Promise<Service.PriceListItem.Update.Result>;
329
+ remove: (
330
+ id: Service.PriceListItem.Remove.ID
331
+ ) => Promise<Service.PriceListItem.Remove.Result>;
332
+ };
333
+ team: {
334
+ _path: "teams";
335
+ find: (
336
+ params?: Service.Team.Find.Params
337
+ ) => Promise<Service.Team.Find.Result>;
338
+ get: (id: Service.Team.Get.ID) => Promise<Service.Team.Get.Result>;
339
+ create: (
340
+ body: Service.Team.Create.Body
341
+ ) => Promise<Service.Team.Create.Result>;
342
+ update: (
343
+ id: Service.Team.Update.ID,
344
+ body: Service.Team.Update.Body
345
+ ) => Promise<Service.Team.Update.Result>;
346
+ remove: (id: Service.Team.Remove.ID) => Promise<Service.Team.Remove.Result>;
347
+ };
348
+ returnReason: {
349
+ _path: "return-reason";
350
+ find: (
351
+ params?: Service.ReturnReason.Find.Params
352
+ ) => Promise<Service.ReturnReason.Find.Result>;
353
+ get: (
354
+ id: Service.ReturnReason.Get.ID
355
+ ) => Promise<Service.ReturnReason.Get.Result>;
356
+ create: (
357
+ body: Service.ReturnReason.Create.Body
358
+ ) => Promise<Service.ReturnReason.Create.Result>;
359
+ update: (
360
+ id: Service.ReturnReason.Update.ID,
361
+ body: Service.ReturnReason.Update.Body
362
+ ) => Promise<Service.ReturnReason.Update.Result>;
363
+ remove: (
364
+ id: Service.ReturnReason.Remove.ID
365
+ ) => Promise<Service.ReturnReason.Remove.Result>;
366
+ };
367
+ rep: {
368
+ _path: "rep";
369
+ find: (
370
+ params?: Service.Rep.Find.Params
371
+ ) => Promise<Service.Rep.Find.Result>;
372
+ get: (
373
+ id: Service.Rep.Get.ID,
374
+ params?: Service.Client.Get.Params
375
+ ) => Promise<Service.Rep.Get.Result>;
376
+ create: (
377
+ body: Service.Rep.Create.Body
378
+ ) => Promise<Service.Rep.Create.Result>;
379
+ update: (
380
+ id: Service.Rep.Update.ID,
381
+ body: Service.Rep.Update.Body
382
+ ) => Promise<Service.Rep.Update.Result>;
383
+ remove: (id: Service.Rep.Remove.ID) => Promise<Service.Rep.Remove.Result>;
384
+ };
385
+ tag: {
386
+ _path: "tag";
387
+ find: (
388
+ params?: Service.Tag.Find.Params
389
+ ) => Promise<Service.Tag.Find.Result>;
390
+ get: (id: Service.Tag.Get.ID) => Promise<Service.Tag.Get.Result>;
391
+ create: (
392
+ body: Service.Tag.Create.Body
393
+ ) => Promise<Service.Tag.Create.Result>;
394
+ update: (
395
+ id: Service.Tag.Update.ID,
396
+ body: Service.Tag.Update.Body
397
+ ) => Promise<Service.Tag.Update.Result>;
398
+ remove: (id: Service.Tag.Remove.ID) => Promise<Service.Tag.Remove.Result>;
399
+ };
400
+ warehouse: {
401
+ _path: "warehouse";
402
+ find: (
403
+ params?: Service.Warehouse.Find.Params
404
+ ) => Promise<Service.Warehouse.Find.Result>;
405
+ get: (
406
+ id: Service.Warehouse.Get.ID
407
+ ) => Promise<Service.Warehouse.Get.Result>;
408
+ create: (
409
+ body: Service.Warehouse.Create.Body
410
+ ) => Promise<Service.Warehouse.Create.Result>;
411
+ update: (
412
+ id: Service.Warehouse.Update.ID,
413
+ body: Service.Warehouse.Update.Body
414
+ ) => Promise<Service.Warehouse.Update.Result>;
415
+ remove: (
416
+ id: Service.Warehouse.Remove.ID
417
+ ) => Promise<Service.Warehouse.Remove.Result>;
418
+ };
419
+ route: {
420
+ _path: "route";
421
+ find: (
422
+ params?: Service.Route.Find.Params
423
+ ) => Promise<Service.Route.Find.Result>;
424
+ get: (id: Service.Route.Get.ID) => Promise<Service.Route.Get.Result>;
425
+ create: (
426
+ body: Service.Route.Create.Body
427
+ ) => Promise<Service.Route.Create.Result>;
428
+ update: (
429
+ id: Service.Route.Update.ID,
430
+ body: Service.Route.Update.Body
431
+ ) => Promise<Service.Route.Update.Result>;
432
+ remove: (
433
+ id: Service.Route.Remove.ID
434
+ ) => Promise<Service.Route.Remove.Result>;
435
+ };
436
+ productModifiersGroup: {
437
+ _path: "product-modifiers-group";
438
+ find: (
439
+ params?: Service.ProductModifiersGroup.Find.Params
440
+ ) => Promise<Service.ProductModifiersGroup.Find.Result>;
441
+ get: (
442
+ id: Service.ProductModifiersGroup.Get.ID
443
+ ) => Promise<Service.ProductModifiersGroup.Get.Result>;
444
+ create: (
445
+ body: Service.ProductModifiersGroup.Create.Body
446
+ ) => Promise<Service.ProductModifiersGroup.Create.Result>;
447
+ update: (
448
+ id: Service.ProductModifiersGroup.Update.ID,
449
+ body: Service.ProductModifiersGroup.Update.Body
450
+ ) => Promise<Service.ProductModifiersGroup.Update.Result>;
451
+ remove: (
452
+ id: Service.ProductModifiersGroup.Remove.ID
453
+ ) => Promise<Service.ProductModifiersGroup.Remove.Result>;
454
+ };
455
+ channel: {
456
+ _path: "client-channel";
457
+ find: (
458
+ params?: Service.Channel.Find.Params
459
+ ) => Promise<Service.Channel.Find.Result>;
460
+ get: (id: Service.Channel.Get.ID) => Promise<Service.Channel.Get.Result>;
461
+ create: (
462
+ body: Service.Channel.Create.Body
463
+ ) => Promise<Service.Channel.Create.Result>;
464
+ update: (
465
+ id: Service.Channel.Update.ID,
466
+ body: Service.Channel.Update.Body
467
+ ) => Promise<Service.Channel.Update.Result>;
468
+ remove: (
469
+ id: Service.Channel.Remove.ID
470
+ ) => Promise<Service.Channel.Remove.Result>;
471
+ };
472
+ speciality: {
473
+ _path: "speciality";
474
+ find: (
475
+ params?: Service.Speciality.Find.Params
476
+ ) => Promise<Service.Speciality.Find.Result>;
477
+ get: (
478
+ id: Service.Speciality.Get.ID
479
+ ) => Promise<Service.Speciality.Get.Result>;
480
+ create: (
481
+ body: Service.Speciality.Create.Body
482
+ ) => Promise<Service.Speciality.Create.Result>;
483
+ update: (
484
+ id: Service.Speciality.Update.ID,
485
+ body: Service.Speciality.Update.Body
486
+ ) => Promise<Service.Speciality.Update.Result>;
487
+ remove: (
488
+ id: Service.Speciality.Remove.ID
489
+ ) => Promise<Service.Speciality.Remove.Result>;
490
+ };
491
+ clientContact: {
492
+ _path: "client-contact";
493
+ find: (
494
+ params?: Service.ClientContact.Find.Params
495
+ ) => Promise<Service.ClientContact.Find.Result>;
496
+ get: (
497
+ id: Service.ClientContact.Get.ID
498
+ ) => Promise<Service.ClientContact.Get.Result>;
499
+ create: (
500
+ body: Service.ClientContact.Create.Body
501
+ ) => Promise<Service.ClientContact.Create.Result>;
502
+ update: (
503
+ id: Service.ClientContact.Update.ID,
504
+ body: Service.ClientContact.Update.Body
505
+ ) => Promise<Service.ClientContact.Update.Result>;
506
+ remove: (
507
+ id: Service.ClientContact.Remove.ID
508
+ ) => Promise<Service.ClientContact.Remove.Result>;
509
+ };
510
+ paymentTerm: {
511
+ _path: "paymentterms";
512
+ find: (
513
+ params?: Service.PaymentTerm.Find.Params
514
+ ) => Promise<Service.PaymentTerm.Find.Result>;
515
+ get: (
516
+ id: Service.PaymentTerm.Get.ID
517
+ ) => Promise<Service.PaymentTerm.Get.Result>;
518
+ create: (
519
+ body: Service.PaymentTerm.Create.Body
520
+ ) => Promise<Service.PaymentTerm.Create.Result>;
521
+ update: (
522
+ id: Service.PaymentTerm.Update.ID,
523
+ body: Service.PaymentTerm.Update.Body
524
+ ) => Promise<Service.PaymentTerm.Update.Result>;
525
+ remove: (
526
+ id: Service.PaymentTerm.Remove.ID
527
+ ) => Promise<Service.PaymentTerm.Remove.Result>;
528
+ };
529
+ bank: {
530
+ _path: "banks";
531
+ find: (
532
+ params?: Service.Bank.Find.Params
533
+ ) => Promise<Service.Bank.Find.Result>;
534
+ get: (id: Service.Bank.Get.ID) => Promise<Service.Bank.Get.Result>;
535
+ create: (
536
+ body: Service.Bank.Create.Body
537
+ ) => Promise<Service.Bank.Create.Result>;
538
+ update: (
539
+ id: Service.Bank.Update.ID,
540
+ body: Service.Bank.Update.Body
541
+ ) => Promise<Service.Bank.Update.Result>;
542
+ };
543
+ bank_list: {
544
+ _path: "bankslists";
545
+ find: (
546
+ params?: Service.BankList.Find.Params
547
+ ) => Promise<Service.BankList.Find.Result>;
548
+ get: (id: Service.BankList.Get.ID) => Promise<Service.BankList.Get.Result>;
549
+ create: (
550
+ body: Service.BankList.Create.Body
551
+ ) => Promise<Service.BankList.Create.Result>;
552
+ update: (
553
+ id: Service.BankList.Update.ID,
554
+ body: Service.BankList.Update.Body
555
+ ) => Promise<Service.BankList.Update.Result>;
556
+ };
557
+ customStatus: {
558
+ _path: "custom-status";
559
+ find: (
560
+ params?: Service.CustomStatus.Find.Params
561
+ ) => Promise<Service.CustomStatus.Find.Result>;
562
+ get: (
563
+ id: Service.CustomStatus.Get.ID
564
+ ) => Promise<Service.CustomStatus.Get.Result>;
565
+ create: (
566
+ body: Service.CustomStatus.Create.Body
567
+ ) => Promise<Service.CustomStatus.Create.Result>;
568
+ update: (
569
+ id: Service.CustomStatus.Update.ID,
570
+ body: Service.CustomStatus.Update.Body
571
+ ) => Promise<Service.CustomStatus.Update.Result>;
572
+ remove: (
573
+ id: Service.CustomStatus.Remove.ID
574
+ ) => Promise<Service.CustomStatus.Remove.Result>;
575
+ };
576
+ customList: {
577
+ _path: "custom-list";
578
+ find: (
579
+ params?: Service.CustomList.Find.Params
580
+ ) => Promise<Service.CustomList.Find.Result>;
581
+ get: (
582
+ id: Service.CustomList.Get.ID,
583
+ params?: Service.CustomList.Get.Params
584
+ ) => Promise<Service.CustomList.Get.Result>;
585
+ create: (
586
+ body: Service.CustomList.Create.Body
587
+ ) => Promise<Service.CustomList.Create.Result>;
588
+ update: (
589
+ id: Service.CustomList.Update.ID,
590
+ body: Service.CustomList.Update.Body
591
+ ) => Promise<Service.CustomList.Update.Result>;
592
+ remove: (
593
+ id: Service.CustomList.Remove.ID
594
+ ) => Promise<Service.CustomList.Remove.Result>;
595
+ };
596
+ customListItem: {
597
+ _path: "custom-list-item";
598
+ find: (
599
+ params?: Service.CustomListItem.Find.Params
600
+ ) => Promise<Service.CustomListItem.Find.Result>;
601
+ get: (
602
+ id: Service.CustomListItem.Get.ID,
603
+ params?: Service.CustomListItem.Get.Params
604
+ ) => Promise<Service.CustomListItem.Get.Result>;
605
+ create: (
606
+ body: Service.CustomListItem.Create.Body
607
+ ) => Promise<Service.CustomListItem.Create.Result>;
608
+ update: (
609
+ id: Service.CustomListItem.Update.ID,
610
+ body: Service.CustomListItem.Update.Body
611
+ ) => Promise<Service.CustomListItem.Update.Result>;
612
+ remove: (
613
+ id: Service.CustomListItem.Remove.ID
614
+ ) => Promise<Service.CustomListItem.Remove.Result>;
615
+ };
616
+ inventoryAdjustmentReason: {
617
+ _path: "inventory-adjustment-reason";
618
+ find: (
619
+ params?: Service.InventoryAdjustmentReason.Find.Params
620
+ ) => Promise<Service.InventoryAdjustmentReason.Find.Result>;
621
+ get: (
622
+ id: Service.InventoryAdjustmentReason.Get.ID
623
+ ) => Promise<Service.InventoryAdjustmentReason.Get.Result>;
624
+ create: (
625
+ body: Service.InventoryAdjustmentReason.Create.Body
626
+ ) => Promise<Service.InventoryAdjustmentReason.Create.Result>;
627
+ update: (
628
+ id: Service.InventoryAdjustmentReason.Update.ID,
629
+ body: Service.InventoryAdjustmentReason.Update.Body
630
+ ) => Promise<Service.InventoryAdjustmentReason.Update.Result>;
631
+ remove: (
632
+ id: Service.InventoryAdjustmentReason.Remove.ID
633
+ ) => Promise<Service.InventoryAdjustmentReason.Remove.Result>;
634
+ };
635
+ workorder: {
636
+ _path: "workorder";
637
+ find: (
638
+ params?: Service.Workorder.Find.Params
639
+ ) => Promise<Service.Workorder.Find.Result>;
640
+ get: (
641
+ id: Service.Workorder.Get.ID,
642
+ params?: Service.Workorder.Get.Params
643
+ ) => Promise<Service.Workorder.Get.Result>;
644
+ };
645
+ supplier: {
646
+ _path: "supplier";
647
+ find: (
648
+ params?: Service.Supplier.Find.Params
649
+ ) => Promise<Service.Supplier.Find.Result>;
650
+ get: (
651
+ id: Service.Supplier.Get.ID,
652
+ params?: Service.Supplier.Get.Params
653
+ ) => Promise<Service.Supplier.Get.Result>;
654
+ create: (
655
+ body: Service.Supplier.Create.Body
656
+ ) => Promise<Service.Supplier.Create.Result>;
657
+ update: (
658
+ id: Service.Supplier.Update.ID,
659
+ body: Service.Supplier.Update.Body
660
+ ) => Promise<Service.Supplier.Update.Result>;
661
+ };
662
+ quickConvertToPdf: {
663
+ _path: "quick-convert-to-pdf";
664
+ find: (
665
+ params?: Service.QuickConvertToPdf.Find.Params
666
+ ) => Promise<Service.QuickConvertToPdf.Find.Result>;
667
+ get: (
668
+ id: Service.QuickConvertToPdf.Get.ID,
669
+ params?: Service.QuickConvertToPdf.Get.Params
670
+ ) => Promise<Service.QuickConvertToPdf.Get.Result>;
671
+ create: (
672
+ body: Service.QuickConvertToPdf.Create.Body
673
+ ) => Promise<Service.QuickConvertToPdf.Create.Result>;
674
+ remove: (
675
+ id: Service.QuickConvertToPdf.Remove.ID
676
+ ) => Promise<Service.QuickConvertToPdf.Remove.Result>;
677
+ };
678
+ visit: {
679
+ _path: "visit";
680
+ find: (
681
+ params?: Service.Visit.Find.Params
682
+ ) => Promise<Service.Visit.Find.Result>;
683
+ get: (
684
+ id: Service.Visit.Get.ID,
685
+ params?: Service.Visit.Get.Params
686
+ ) => Promise<Service.Visit.Get.Result>;
687
+ create: (
688
+ body: Service.Visit.Create.Body
689
+ ) => Promise<Service.Visit.Create.Result>;
690
+ update: (
691
+ id: Service.Visit.Update.ID,
692
+ body: Service.Visit.Update.Body
693
+ ) => Promise<Service.Visit.Update.Result>;
694
+ };
695
+ invoice: {
696
+ _path: "fullinvoices";
697
+ find: (
698
+ params?: Service.FullInvoice.Find.Params
699
+ ) => Promise<Service.FullInvoice.Find.Result>;
700
+ get: (
701
+ id: Service.FullInvoice.Get.ID,
702
+ params?: Service.FullInvoice.Get.Params
703
+ ) => Promise<Service.FullInvoice.Get.Result>;
704
+ create: (
705
+ body: Service.FullInvoice.Create.Body
706
+ ) => Promise<Service.FullInvoice.Create.Result>;
707
+ update: (
708
+ id: Service.FullInvoice.Update.ID,
709
+ body: Service.FullInvoice.Update.Body
710
+ ) => Promise<Service.FullInvoice.Update.Result>;
711
+ };
712
+ proforma: {
713
+ _path: "proforma";
714
+ find: (
715
+ params?: Service.Proforma.Find.Params
716
+ ) => Promise<Service.Proforma.Find.Result>;
717
+ get: (
718
+ id: Service.Proforma.Get.ID,
719
+ params?: Service.Proforma.Get.Params
720
+ ) => Promise<Service.Proforma.Get.Result>;
721
+ create: (
722
+ body: Service.Proforma.Create.Body
723
+ ) => Promise<Service.Proforma.Create.Result>;
724
+ update: (
725
+ id: Service.Proforma.Update.ID,
726
+ body: Service.Proforma.Update.Body
727
+ ) => Promise<Service.Proforma.Update.Result>;
728
+ };
729
+ payment: {
730
+ _path: "payments";
731
+ find: (
732
+ params?: Service.Payment.Find.Params
733
+ ) => Promise<Service.Payment.Find.Result>;
734
+ get: (
735
+ id: Service.Payment.Get.ID,
736
+ params?: Service.Payment.Get.Params
737
+ ) => Promise<Service.Payment.Get.Result>;
738
+ create: (
739
+ body: Service.Payment.Create.Body
740
+ ) => Promise<Service.Payment.Create.Result>;
741
+ update: (
742
+ id: Service.Payment.Update.ID,
743
+ body: Service.Payment.Update.Body
744
+ ) => Promise<Service.Payment.Update.Result>;
745
+ };
746
+ refund: {
747
+ _path: "refund";
748
+ find: (
749
+ params?: Service.Refund.Find.Params
750
+ ) => Promise<Service.Refund.Find.Result>;
751
+ get: (
752
+ id: Service.Refund.Get.ID,
753
+ params?: Service.Refund.Get.Params
754
+ ) => Promise<Service.Refund.Get.Result>;
755
+ create: (
756
+ body: Service.Refund.Create.Body
757
+ ) => Promise<Service.Refund.Create.Result>;
758
+ update: (
759
+ id: Service.Refund.Update.ID,
760
+ body: Service.Refund.Update.Body
761
+ ) => Promise<Service.Refund.Update.Result>;
762
+ };
763
+ settlement: {
764
+ _path: "settlement";
765
+ find: (
766
+ params?: Service.Settlement.Find.Params
767
+ ) => Promise<Service.Settlement.Find.Result>;
768
+ get: (
769
+ id: Service.Settlement.Get.ID,
770
+ params?: Service.Settlement.Get.Params
771
+ ) => Promise<Service.Settlement.Get.Result>;
772
+ create: (
773
+ body: Service.Settlement.Create.Body
774
+ ) => Promise<Service.Settlement.Create.Result>;
775
+ };
776
+ check: {
777
+ _path: "checks";
778
+ find: (
779
+ params?: Service.Check.Find.Params
780
+ ) => Promise<Service.Check.Find.Result>;
781
+ get: (
782
+ id: Service.Check.Get.ID,
783
+ params?: Service.Check.Get.Params
784
+ ) => Promise<Service.Check.Get.Result>;
785
+ create: (
786
+ body: Service.Check.Create.Body
787
+ ) => Promise<Service.Check.Create.Result>;
788
+ };
789
+ day: {
790
+ _path: "day";
791
+ find: (
792
+ params?: Service.Day.Find.Params
793
+ ) => Promise<Service.Day.Find.Result>;
794
+ get: (
795
+ id: Service.Day.Get.ID,
796
+ params?: Service.Day.Get.Params
797
+ ) => Promise<Service.Day.Get.Result>;
798
+ create: (
799
+ body: Service.Day.Create.Body
800
+ ) => Promise<Service.Day.Create.Result>;
801
+ };
802
+ receivingMaterial: {
803
+ _path: "receiving-material";
804
+ find: (
805
+ params?: Service.ReceivingMaterial.Find.Params
806
+ ) => Promise<Service.ReceivingMaterial.Find.Result>;
807
+ get: (
808
+ id: Service.ReceivingMaterial.Get.ID,
809
+ params?: Service.ReceivingMaterial.Get.Params
810
+ ) => Promise<Service.ReceivingMaterial.Get.Result>;
811
+ create: (
812
+ body: Service.ReceivingMaterial.Create.Body
813
+ ) => Promise<Service.ReceivingMaterial.Create.Result>;
814
+ update: (
815
+ id: Service.ReceivingMaterial.Update.ID,
816
+ body: Service.ReceivingMaterial.Update.Body
817
+ ) => Promise<Service.ReceivingMaterial.Update.Result>;
818
+ };
819
+ adjustAccount: {
820
+ _path: "adjust-account";
821
+ find: (
822
+ params?: Service.AdjustAccount.Find.Params
823
+ ) => Promise<Service.AdjustAccount.Find.Result>;
824
+ get: (
825
+ id: Service.AdjustAccount.Get.ID,
826
+ params?: Service.AdjustAccount.Get.Params
827
+ ) => Promise<Service.AdjustAccount.Get.Result>;
828
+ create: (
829
+ body: Service.AdjustAccount.Create.Body
830
+ ) => Promise<Service.AdjustAccount.Create.Result>;
831
+ };
832
+ transfer: {
833
+ _path: "transfer";
834
+ find: (
835
+ params?: Service.Transfer.Find.Params
836
+ ) => Promise<Service.Transfer.Find.Result>;
837
+ get: (
838
+ id: Service.Transfer.Get.ID,
839
+ params?: Service.Transfer.Get.Params
840
+ ) => Promise<Service.Transfer.Get.Result>;
841
+ create: (
842
+ body: Service.Transfer.Create.Body
843
+ ) => Promise<Service.Transfer.Create.Result>;
844
+ update: (
845
+ id: Service.Transfer.Update.ID,
846
+ body: Service.Transfer.Update.Body
847
+ ) => Promise<Service.Transfer.Update.Result>;
848
+ };
849
+ msl: {
850
+ _path: "msl";
851
+ find: (
852
+ params?: Service.Msl.Find.Params
853
+ ) => Promise<Service.Msl.Find.Result>;
854
+ get: (
855
+ id: Service.Msl.Get.ID,
856
+ params?: Service.Msl.Get.Params
857
+ ) => Promise<Service.Msl.Get.Result>;
858
+ create: (
859
+ body: Service.Msl.Create.Body
860
+ ) => Promise<Service.Msl.Create.Result>;
861
+ update: (
862
+ id: Service.Msl.Update.ID,
863
+ body: Service.Msl.Update.Body
864
+ ) => Promise<Service.Msl.Update.Result>;
865
+ remove: (id: Service.Msl.Remove.ID) => Promise<Service.Msl.Remove.Result>;
866
+ };
867
+ mslProduct: {
868
+ _path: "msl-products";
869
+ find: (
870
+ params?: Service.MslProduct.Find.Params
871
+ ) => Promise<Service.MslProduct.Find.Result>;
872
+ get: (
873
+ id: Service.MslProduct.Get.ID,
874
+ params?: Service.MslProduct.Get.Params
875
+ ) => Promise<Service.MslProduct.Get.Result>;
876
+ create: (
877
+ body: Service.MslProduct.Create.Body
878
+ ) => Promise<Service.MslProduct.Create.Result>;
879
+ update: (
880
+ id: Service.MslProduct.Update.ID,
881
+ body: Service.MslProduct.Update.Body
882
+ ) => Promise<Service.MslProduct.Update.Result>;
883
+ remove: (
884
+ id: Service.MslProduct.Remove.ID
885
+ ) => Promise<Service.MslProduct.Remove.Result>;
886
+ };
887
+ mediaStorage: {
888
+ _path: "media-storage";
889
+ find: (
890
+ params?: Service.MediaStorage.Find.Params
891
+ ) => Promise<Service.MediaStorage.Find.Result>;
892
+ get: (
893
+ id: Service.MediaStorage.Get.ID,
894
+ params?: Service.MediaStorage.Get.Params
895
+ ) => Promise<Service.MediaStorage.Get.Result>;
896
+ create: (
897
+ body: Service.MediaStorage.Create.Body
898
+ ) => Promise<Service.MediaStorage.Create.Result>;
899
+ update: (
900
+ id: Service.MediaStorage.Update.ID,
901
+ body: Service.MediaStorage.Update.Body
902
+ ) => Promise<Service.MediaStorage.Update.Result>;
903
+ remove: (
904
+ id: Service.MediaStorage.Remove.ID
905
+ ) => Promise<Service.MediaStorage.Remove.Result>;
906
+ };
907
+ storecheckTemplate: {
908
+ _path: "storecheck-template";
909
+ find: (
910
+ params?: Service.StorecheckTemplate.Find.Params
911
+ ) => Promise<Service.StorecheckTemplate.Find.Result>;
912
+ get: (
913
+ id: Service.StorecheckTemplate.Get.ID,
914
+ params?: Service.StorecheckTemplate.Get.Params
915
+ ) => Promise<Service.StorecheckTemplate.Get.Result>;
916
+ create: (
917
+ body: Service.StorecheckTemplate.Create.Body
918
+ ) => Promise<Service.StorecheckTemplate.Create.Result>;
919
+ update: (
920
+ id: Service.StorecheckTemplate.Update.ID,
921
+ body: Service.StorecheckTemplate.Update.Body
922
+ ) => Promise<Service.StorecheckTemplate.Update.Result>;
923
+ remove: (
924
+ id: Service.StorecheckTemplate.Remove.ID
925
+ ) => Promise<Service.StorecheckTemplate.Remove.Result>;
926
+ };
927
+ activityStorecheck: {
928
+ _path: "activity-storecheck";
929
+ find: (
930
+ params?: Service.ActivityStorecheck.Find.Params
931
+ ) => Promise<Service.ActivityStorecheck.Find.Result>;
932
+ get: (
933
+ id: Service.ActivityStorecheck.Get.ID,
934
+ params?: Service.ActivityStorecheck.Get.Params
935
+ ) => Promise<Service.ActivityStorecheck.Get.Result>;
936
+ create: (
937
+ body: Service.ActivityStorecheck.Create.Body
938
+ ) => Promise<Service.ActivityStorecheck.Create.Result>;
939
+ update: (
940
+ id: Service.ActivityStorecheck.Update.ID,
941
+ body: Service.ActivityStorecheck.Update.Body
942
+ ) => Promise<Service.ActivityStorecheck.Update.Result>;
943
+ };
944
+ adjustInventory: {
945
+ _path: "adjust-inventory";
946
+ find: (
947
+ params?: Service.AdjustInventory.Find.Params
948
+ ) => Promise<Service.AdjustInventory.Find.Result>;
949
+ get: (
950
+ id: Service.AdjustInventory.Get.ID,
951
+ params?: Service.AdjustInventory.Get.Params
952
+ ) => Promise<Service.AdjustInventory.Get.Result>;
953
+ create: (
954
+ body: Service.AdjustInventory.Create.Body
955
+ ) => Promise<Service.AdjustInventory.Create.Result>;
956
+ };
957
+ inventory: {
958
+ _path: "inventory";
959
+ find: (
960
+ params?: Service.Inventory.Find.Params
961
+ ) => Promise<Service.Inventory.Find.Result>;
962
+ };
963
+ integrationApp: {
964
+ _path: "integration-app";
965
+ find: (
966
+ params?: Service.App.Find.Params
967
+ ) => Promise<Service.App.Find.Result>;
968
+ get: (
969
+ id: Service.App.Get.ID,
970
+ params?: Service.App.Find.Params
971
+ ) => Promise<Service.App.Get.Result>;
972
+ create: (
973
+ body: Service.App.Create.Body
974
+ ) => Promise<Service.App.Create.Result>;
975
+ update: (
976
+ id: Service.App.Update.ID,
977
+ body: Service.App.Update.Body
978
+ ) => Promise<Service.App.Update.Result>;
979
+ };
980
+ joinActionsWebHook: {
981
+ _path: "svix-integration";
982
+ update: (
983
+ id: null,
984
+ body: Service.JoinActionsWeHook.Data
985
+ ) => Promise<Service.JoinActionsWeHook.Result>;
986
+ };
987
+ static ActionLogs: {
988
+ new (superThis: Repzo, sync_id: string): {
989
+ _path: string;
990
+ available_app_name: string;
991
+ available_app_id: StringId;
992
+ app_id: StringId;
993
+ action: string;
994
+ status: Service.ActionLogs.Status;
995
+ error?: any;
996
+ start_time: number;
997
+ end_time?: number | undefined;
998
+ total_time?: number | undefined;
999
+ company_namespace?: NameSpaces | undefined;
1000
+ body?: any;
1001
+ meta?: any;
1002
+ message: string;
1003
+ details: Service.ActionLogs.Detail[];
1004
+ sync_id: string;
1005
+ isOld: boolean;
1006
+ superThis: Repzo;
1007
+ load(sync_id: string): Promise<any>;
1008
+ setStatus(status: Service.ActionLogs.Status, error?: any): any;
1009
+ setBody(body: any): any;
1010
+ setMeta(meta: any): any;
1011
+ commit(): Promise<any>;
1012
+ addDetail(detail: string, meta?: any): any;
1013
+ };
1014
+ };
1015
+ static CommandLog: {
1016
+ new (
1017
+ superThis: Repzo,
1018
+ app: Service.App.Schema_with_populated_AvailableApp,
1019
+ command: string,
1020
+ trigger?: string
1021
+ ): {
1022
+ _path: string;
1023
+ available_app_name: string;
1024
+ available_app_id: StringId;
1025
+ app_id: StringId;
1026
+ command: string;
1027
+ status: Service.CommandLog.Status;
1028
+ error?: any;
1029
+ start_time: number;
1030
+ end_time?: number | undefined;
1031
+ total_time?: number | undefined;
1032
+ company_namespace: NameSpaces;
1033
+ body?: any;
1034
+ sync_details: {
1035
+ timestamp: number;
1036
+ body: {
1037
+ [key: string]: any;
500
1038
  };
501
- };
502
- static CommandLog: {
503
- new (superThis: Repzo, app: Service.App.Schema_with_populated_AvailableApp, command: string, trigger?: string): {
504
- _path: string;
505
- available_app_name: string;
506
- available_app_id: StringId;
507
- app_id: StringId;
508
- command: string;
509
- status: Service.CommandLog.Status;
510
- error?: any;
511
- start_time: number;
512
- end_time?: number;
513
- total_time?: number;
514
- company_namespace: NameSpaces;
515
- body?: any;
516
- sync_details: {
517
- timestamp: number;
518
- body: {
519
- [key: string]: any;
520
- };
521
- }[];
522
- error_details: {
523
- timestamp: number;
524
- error: {
525
- [key: string]: any;
526
- };
527
- }[];
528
- meta?: any;
529
- message: string;
530
- details: Service.CommandLog.Detail[];
531
- sync_id: string;
532
- isOld: boolean;
533
- priority?: number;
534
- isPrioritized: boolean;
535
- retries: number;
536
- queuedAt?: Date;
537
- failedAt?: Date;
538
- succeededAt?: Date;
539
- skippedAt?: Date;
540
- receivedAt?: Date;
541
- processedAt?: Date;
542
- onGoing: boolean;
543
- trigger?: string;
544
- superThis: Repzo;
545
- load(sync_id?: string, retries?: number): Promise</*elided*/ any>;
546
- setStatus(status: Service.CommandLog.Status, error?: any): /*elided*/ any;
547
- setBody(body: any): /*elided*/ any;
548
- setMeta(meta: any): /*elided*/ any;
549
- commit(): Promise</*elided*/ any>;
550
- addDetail(detail: string, meta?: any): /*elided*/ any;
1039
+ }[];
1040
+ error_details: {
1041
+ timestamp: number;
1042
+ error: {
1043
+ [key: string]: any;
551
1044
  };
552
- };
553
- patchAction: {
554
- _path: "patch-action";
555
- create: (body: Service.PatchAction.Create.Body, params?: Service.PatchAction.Create.Params) => Promise<Service.PatchAction.Create.Result>;
556
- update: (body: Service.PatchAction.Update.Body) => Promise<Service.PatchAction.Update.Result>;
557
- };
558
- updateIntegrationMeta: {
559
- _path: "update-integration-meta";
560
- create: (body: Service.UpdateIntegrationMeta.Create.Body, params?: Service.UpdateIntegrationMeta.Create.Params) => Promise<Service.UpdateIntegrationMeta.Create.Result>;
561
- };
562
- assetPartType: {
563
- _path: "asset-part-type";
564
- find: (params?: Service.AssetPartType.Find.Params) => Promise<Service.AssetPartType.Find.Result>;
565
- get: (id: Service.AssetPartType.Get.ID) => Promise<Service.AssetPartType.Get.Result>;
566
- create: (body: Service.AssetPartType.Create.Body) => Promise<Service.AssetPartType.Create.Result>;
567
- update: (id: Service.AssetPartType.Update.ID, body: Service.AssetPartType.Update.Body) => Promise<Service.AssetPartType.Update.Result>;
568
- remove: (id: Service.AssetPartType.Remove.ID) => Promise<Service.AssetPartType.Remove.Result>;
569
- };
570
- assetPart: {
571
- _path: "asset-part";
572
- find: (params?: Service.AssetPart.Find.Params) => Promise<Service.AssetPart.Find.Result>;
573
- get: (id: Service.AssetPart.Get.ID, params?: Service.AssetPart.Get.Params) => Promise<Service.AssetPart.Get.Result>;
574
- create: (body: Service.AssetPart.Create.Body) => Promise<Service.AssetPart.Create.Result>;
575
- update: (id: Service.AssetPart.Update.ID, body: Service.AssetPart.Update.Body) => Promise<Service.AssetPart.Update.Result>;
576
- remove: (id: Service.AssetPart.Remove.ID) => Promise<Service.AssetPart.Remove.Result>;
577
- };
578
- assetPartUnit: {
579
- _path: "asset-part-unit";
580
- find: (params?: Service.AssetPartUnit.Find.Params) => Promise<Service.AssetPartUnit.Find.Result>;
581
- get: (id: Service.AssetPartUnit.Get.ID, params?: Service.AssetPartUnit.Get.Params) => Promise<Service.AssetPartUnit.Get.Result>;
582
- update: (id: Service.AssetPartUnit.Update.ID, body: Service.AssetPartUnit.Update.Body) => Promise<Service.AssetPartUnit.Update.Result>;
583
- };
584
- assetPartReceival: {
585
- _path: "asset-part-receival";
586
- find: (params?: Service.AssetPartReceival.Find.Params) => Promise<Service.AssetPartReceival.Find.Result>;
587
- get: (id: Service.AssetPartReceival.Get.ID, params?: Service.AssetPartReceival.Get.Params) => Promise<Service.AssetPartReceival.Get.Result>;
588
- create: (body: Service.AssetPartReceival.Create.Body) => Promise<Service.AssetPartReceival.Create.Result>;
589
- update: (id: Service.AssetPartReceival.Update.ID, body: Service.AssetPartReceival.Update.Body) => Promise<Service.AssetPartReceival.Update.Result>;
590
- patch: (params: Service.AssetPartReceival.Patch.Params, body: Service.AssetPartReceival.Patch.Body) => Promise<Service.AssetPartReceival.Patch.Result>;
591
- };
592
- assetPartTransfer: {
593
- _path: "asset-part-transfer";
594
- find: (params?: Service.AssetPartTransfer.Find.Params) => Promise<Service.AssetPartTransfer.Find.Result>;
595
- get: (id: Service.AssetPartTransfer.Get.ID, params?: Service.AssetPartTransfer.Get.Params) => Promise<Service.AssetPartTransfer.Get.Result>;
596
- create: (body: Service.AssetPartTransfer.Create.Body) => Promise<Service.AssetPartTransfer.Create.Result>;
597
- update: (id: Service.AssetPartTransfer.Update.ID, body: Service.AssetPartTransfer.Update.Body) => Promise<Service.AssetPartTransfer.Update.Result>;
598
- patch: (params: Service.AssetPartTransfer.Patch.Params, body: Service.AssetPartTransfer.Patch.Body) => Promise<Service.AssetPartTransfer.Patch.Result>;
599
- };
600
- returnAssetPartUnit: {
601
- _path: "return-asset-part-unit";
602
- find: (params?: Service.ReturnAssetPartUnit.Find.Params) => Promise<Service.ReturnAssetPartUnit.Find.Result>;
603
- get: (id: Service.ReturnAssetPartUnit.Get.ID, params?: Service.ReturnAssetPartUnit.Get.Params) => Promise<Service.ReturnAssetPartUnit.Get.Result>;
604
- create: (body: Service.ReturnAssetPartUnit.Create.Body) => Promise<Service.ReturnAssetPartUnit.Create.Result>;
605
- update: (id: Service.ReturnAssetPartUnit.Update.ID, body: Service.ReturnAssetPartUnit.Update.Body) => Promise<Service.ReturnAssetPartUnit.Update.Result>;
606
- patch: (params: Service.ReturnAssetPartUnit.Patch.Params, body: Service.ReturnAssetPartUnit.Patch.Body) => Promise<Service.ReturnAssetPartUnit.Patch.Result>;
607
- };
608
- storeAssetPartUnit: {
609
- _path: "store-asset-part-unit";
610
- find: (params?: Service.StoreAssetPartUnit.Find.Params) => Promise<Service.StoreAssetPartUnit.Find.Result>;
611
- get: (id: Service.StoreAssetPartUnit.Get.ID, params?: Service.StoreAssetPartUnit.Get.Params) => Promise<Service.StoreAssetPartUnit.Get.Result>;
612
- create: (body: Service.StoreAssetPartUnit.Create.Body) => Promise<Service.StoreAssetPartUnit.Create.Result>;
613
- update: (id: Service.StoreAssetPartUnit.Update.ID, body: Service.StoreAssetPartUnit.Update.Body) => Promise<Service.StoreAssetPartUnit.Update.Result>;
614
- patch: (params: Service.StoreAssetPartUnit.Patch.Params, body: Service.StoreAssetPartUnit.Patch.Body) => Promise<Service.StoreAssetPartUnit.Patch.Result>;
615
- };
616
- ocrInvoiceJobTemplate: {
617
- _path: "ocr-invoice-job-template";
618
- find: (params?: Service.OcrInvoiceJobTemplate.Find.Params) => Promise<Service.OcrInvoiceJobTemplate.Find.Result>;
619
- get: (id: Service.OcrInvoiceJobTemplate.Get.ID) => Promise<Service.OcrInvoiceJobTemplate.Get.Result>;
620
- create: (body: Service.OcrInvoiceJobTemplate.Create.Body) => Promise<Service.OcrInvoiceJobTemplate.Create.Result>;
621
- update: (id: Service.OcrInvoiceJobTemplate.Update.ID, body: Service.OcrInvoiceJobTemplate.Update.Body) => Promise<Service.OcrInvoiceJobTemplate.Update.Result>;
622
- };
623
- ocrInvoiceJobGroup: {
624
- _path: "ocr-invoice-job-group";
625
- find: (params?: Service.OcrInvoiceJobGroup.Find.Params) => Promise<Service.OcrInvoiceJobGroup.Find.Result>;
626
- get: (id: Service.OcrInvoiceJobGroup.Get.ID) => Promise<Service.OcrInvoiceJobGroup.Get.Result>;
627
- create: (body: Service.OcrInvoiceJobGroup.Create.Body) => Promise<Service.OcrInvoiceJobGroup.Create.Result>;
628
- };
629
- activityAiSalesOrder: {
630
- _path: "activity-ai-sales-order";
631
- find: (params?: Service.ActivityAiSalesOrder.Find.Params) => Promise<Service.ActivityAiSalesOrder.Find.Result>;
632
- get: (id: Service.ActivityAiSalesOrder.Get.ID) => Promise<Service.ActivityAiSalesOrder.Get.Result>;
633
- create: (body: Service.ActivityAiSalesOrder.Create.Body) => Promise<Service.ActivityAiSalesOrder.Create.Result>;
634
- };
635
- ocrInvoiceJob: {
636
- _path: "ocr-invoice-job";
637
- find: (params?: Service.OcrInvoiceJob.Find.Params) => Promise<Service.OcrInvoiceJob.Find.Result>;
638
- get: (id: Service.OcrInvoiceJob.Get.ID) => Promise<Service.OcrInvoiceJob.Get.Result>;
639
- };
640
- ocrInvoiceJobPage: {
641
- _path: "ocr-invoice-job-page";
642
- find: (params?: Service.OcrInvoiceJobPage.Find.Params) => Promise<Service.OcrInvoiceJobPage.Find.Result>;
643
- get: (id: Service.OcrInvoiceJobPage.Get.ID) => Promise<Service.OcrInvoiceJobPage.Get.Result>;
644
- update: (id: Service.OcrInvoiceJobPage.Update.ID, body: Service.OcrInvoiceJobPage.Update.Body) => Promise<Service.OcrInvoiceJobPage.Update.Result>;
645
- };
1045
+ }[];
1046
+ meta?: any;
1047
+ message: string;
1048
+ details: Service.CommandLog.Detail[];
1049
+ sync_id: string;
1050
+ isOld: boolean;
1051
+ priority?: number | undefined;
1052
+ isPrioritized: boolean;
1053
+ retries: number;
1054
+ queuedAt?: Date | undefined;
1055
+ failedAt?: Date | undefined;
1056
+ succeededAt?: Date | undefined;
1057
+ skippedAt?: Date | undefined;
1058
+ receivedAt?: Date | undefined;
1059
+ processedAt?: Date | undefined;
1060
+ onGoing: boolean;
1061
+ trigger?: string | undefined;
1062
+ superThis: Repzo;
1063
+ load(sync_id?: string, retries?: number): Promise<any>;
1064
+ setStatus(status: Service.CommandLog.Status, error?: any): any;
1065
+ setBody(body: any): any;
1066
+ setMeta(meta: any): any;
1067
+ commit(): Promise<any>;
1068
+ addDetail(detail: string, meta?: any): any;
1069
+ };
1070
+ };
1071
+ patchAction: {
1072
+ _path: "patch-action";
1073
+ create: (
1074
+ body: Service.PatchAction.Create.Body,
1075
+ params?: Service.PatchAction.Create.Params
1076
+ ) => Promise<Service.PatchAction.Create.Result>;
1077
+ update: (
1078
+ body: Service.PatchAction.Update.Body
1079
+ ) => Promise<Service.PatchAction.Update.Result>;
1080
+ };
1081
+ updateIntegrationMeta: {
1082
+ _path: "update-integration-meta";
1083
+ create: (
1084
+ body: Service.UpdateIntegrationMeta.Create.Body,
1085
+ params?: Service.UpdateIntegrationMeta.Create.Params
1086
+ ) => Promise<Service.UpdateIntegrationMeta.Create.Result>;
1087
+ };
1088
+ assetPartType: {
1089
+ _path: "asset-part-type";
1090
+ find: (
1091
+ params?: Service.AssetPartType.Find.Params
1092
+ ) => Promise<Service.AssetPartType.Find.Result>;
1093
+ get: (
1094
+ id: Service.AssetPartType.Get.ID
1095
+ ) => Promise<Service.AssetPartType.Get.Result>;
1096
+ create: (
1097
+ body: Service.AssetPartType.Create.Body
1098
+ ) => Promise<Service.AssetPartType.Create.Result>;
1099
+ update: (
1100
+ id: Service.AssetPartType.Update.ID,
1101
+ body: Service.AssetPartType.Update.Body
1102
+ ) => Promise<Service.AssetPartType.Update.Result>;
1103
+ remove: (
1104
+ id: Service.AssetPartType.Remove.ID
1105
+ ) => Promise<Service.AssetPartType.Remove.Result>;
1106
+ };
1107
+ assetPart: {
1108
+ _path: "asset-part";
1109
+ find: (
1110
+ params?: Service.AssetPart.Find.Params
1111
+ ) => Promise<Service.AssetPart.Find.Result>;
1112
+ get: (
1113
+ id: Service.AssetPart.Get.ID,
1114
+ params?: Service.AssetPart.Get.Params
1115
+ ) => Promise<Service.AssetPart.Get.Result>;
1116
+ create: (
1117
+ body: Service.AssetPart.Create.Body
1118
+ ) => Promise<Service.AssetPart.Create.Result>;
1119
+ update: (
1120
+ id: Service.AssetPart.Update.ID,
1121
+ body: Service.AssetPart.Update.Body
1122
+ ) => Promise<Service.AssetPart.Update.Result>;
1123
+ remove: (
1124
+ id: Service.AssetPart.Remove.ID
1125
+ ) => Promise<Service.AssetPart.Remove.Result>;
1126
+ };
1127
+ assetPartUnit: {
1128
+ _path: "asset-part-unit";
1129
+ find: (
1130
+ params?: Service.AssetPartUnit.Find.Params
1131
+ ) => Promise<Service.AssetPartUnit.Find.Result>;
1132
+ get: (
1133
+ id: Service.AssetPartUnit.Get.ID,
1134
+ params?: Service.AssetPartUnit.Get.Params
1135
+ ) => Promise<Service.AssetPartUnit.Get.Result>;
1136
+ update: (
1137
+ id: Service.AssetPartUnit.Update.ID,
1138
+ body: Service.AssetPartUnit.Update.Body
1139
+ ) => Promise<Service.AssetPartUnit.Update.Result>;
1140
+ };
1141
+ assetPartReceival: {
1142
+ _path: "asset-part-receival";
1143
+ find: (
1144
+ params?: Service.AssetPartReceival.Find.Params
1145
+ ) => Promise<Service.AssetPartReceival.Find.Result>;
1146
+ get: (
1147
+ id: Service.AssetPartReceival.Get.ID,
1148
+ params?: Service.AssetPartReceival.Get.Params
1149
+ ) => Promise<Service.AssetPartReceival.Get.Result>;
1150
+ create: (
1151
+ body: Service.AssetPartReceival.Create.Body
1152
+ ) => Promise<Service.AssetPartReceival.Create.Result>;
1153
+ update: (
1154
+ id: Service.AssetPartReceival.Update.ID,
1155
+ body: Service.AssetPartReceival.Update.Body
1156
+ ) => Promise<Service.AssetPartReceival.Update.Result>;
1157
+ patch: (
1158
+ params: Service.AssetPartReceival.Patch.Params,
1159
+ body: Service.AssetPartReceival.Patch.Body
1160
+ ) => Promise<Service.AssetPartReceival.Patch.Result>;
1161
+ };
1162
+ assetPartTransfer: {
1163
+ _path: "asset-part-transfer";
1164
+ find: (
1165
+ params?: Service.AssetPartTransfer.Find.Params
1166
+ ) => Promise<Service.AssetPartTransfer.Find.Result>;
1167
+ get: (
1168
+ id: Service.AssetPartTransfer.Get.ID,
1169
+ params?: Service.AssetPartTransfer.Get.Params
1170
+ ) => Promise<Service.AssetPartTransfer.Get.Result>;
1171
+ create: (
1172
+ body: Service.AssetPartTransfer.Create.Body
1173
+ ) => Promise<Service.AssetPartTransfer.Create.Result>;
1174
+ update: (
1175
+ id: Service.AssetPartTransfer.Update.ID,
1176
+ body: Service.AssetPartTransfer.Update.Body
1177
+ ) => Promise<Service.AssetPartTransfer.Update.Result>;
1178
+ patch: (
1179
+ params: Service.AssetPartTransfer.Patch.Params,
1180
+ body: Service.AssetPartTransfer.Patch.Body
1181
+ ) => Promise<Service.AssetPartTransfer.Patch.Result>;
1182
+ };
1183
+ returnAssetPartUnit: {
1184
+ _path: "return-asset-part-unit";
1185
+ find: (
1186
+ params?: Service.ReturnAssetPartUnit.Find.Params
1187
+ ) => Promise<Service.ReturnAssetPartUnit.Find.Result>;
1188
+ get: (
1189
+ id: Service.ReturnAssetPartUnit.Get.ID,
1190
+ params?: Service.ReturnAssetPartUnit.Get.Params
1191
+ ) => Promise<Service.ReturnAssetPartUnit.Get.Result>;
1192
+ create: (
1193
+ body: Service.ReturnAssetPartUnit.Create.Body
1194
+ ) => Promise<Service.ReturnAssetPartUnit.Create.Result>;
1195
+ update: (
1196
+ id: Service.ReturnAssetPartUnit.Update.ID,
1197
+ body: Service.ReturnAssetPartUnit.Update.Body
1198
+ ) => Promise<Service.ReturnAssetPartUnit.Update.Result>;
1199
+ patch: (
1200
+ params: Service.ReturnAssetPartUnit.Patch.Params,
1201
+ body: Service.ReturnAssetPartUnit.Patch.Body
1202
+ ) => Promise<Service.ReturnAssetPartUnit.Patch.Result>;
1203
+ };
1204
+ storeAssetPartUnit: {
1205
+ _path: "store-asset-part-unit";
1206
+ find: (
1207
+ params?: Service.StoreAssetPartUnit.Find.Params
1208
+ ) => Promise<Service.StoreAssetPartUnit.Find.Result>;
1209
+ get: (
1210
+ id: Service.StoreAssetPartUnit.Get.ID,
1211
+ params?: Service.StoreAssetPartUnit.Get.Params
1212
+ ) => Promise<Service.StoreAssetPartUnit.Get.Result>;
1213
+ create: (
1214
+ body: Service.StoreAssetPartUnit.Create.Body
1215
+ ) => Promise<Service.StoreAssetPartUnit.Create.Result>;
1216
+ update: (
1217
+ id: Service.StoreAssetPartUnit.Update.ID,
1218
+ body: Service.StoreAssetPartUnit.Update.Body
1219
+ ) => Promise<Service.StoreAssetPartUnit.Update.Result>;
1220
+ patch: (
1221
+ params: Service.StoreAssetPartUnit.Patch.Params,
1222
+ body: Service.StoreAssetPartUnit.Patch.Body
1223
+ ) => Promise<Service.StoreAssetPartUnit.Patch.Result>;
1224
+ };
1225
+ ocrInvoiceJobTemplate: {
1226
+ _path: "ocr-invoice-job-template";
1227
+ find: (
1228
+ params?: Service.OcrInvoiceJobTemplate.Find.Params
1229
+ ) => Promise<Service.OcrInvoiceJobTemplate.Find.Result>;
1230
+ get: (
1231
+ id: Service.OcrInvoiceJobTemplate.Get.ID
1232
+ ) => Promise<Service.OcrInvoiceJobTemplate.Get.Result>;
1233
+ create: (
1234
+ body: Service.OcrInvoiceJobTemplate.Create.Body
1235
+ ) => Promise<Service.OcrInvoiceJobTemplate.Create.Result>;
1236
+ update: (
1237
+ id: Service.OcrInvoiceJobTemplate.Update.ID,
1238
+ body: Service.OcrInvoiceJobTemplate.Update.Body
1239
+ ) => Promise<Service.OcrInvoiceJobTemplate.Update.Result>;
1240
+ };
1241
+ ocrInvoiceJobGroup: {
1242
+ _path: "ocr-invoice-job-group";
1243
+ find: (
1244
+ params?: Service.OcrInvoiceJobGroup.Find.Params
1245
+ ) => Promise<Service.OcrInvoiceJobGroup.Find.Result>;
1246
+ get: (
1247
+ id: Service.OcrInvoiceJobGroup.Get.ID
1248
+ ) => Promise<Service.OcrInvoiceJobGroup.Get.Result>;
1249
+ create: (
1250
+ body: Service.OcrInvoiceJobGroup.Create.Body
1251
+ ) => Promise<Service.OcrInvoiceJobGroup.Create.Result>;
1252
+ };
1253
+ activityAiSalesOrder: {
1254
+ _path: "activity-ai-sales-order";
1255
+ find: (
1256
+ params?: Service.ActivityAiSalesOrder.Find.Params
1257
+ ) => Promise<Service.ActivityAiSalesOrder.Find.Result>;
1258
+ get: (
1259
+ id: Service.ActivityAiSalesOrder.Get.ID
1260
+ ) => Promise<Service.ActivityAiSalesOrder.Get.Result>;
1261
+ create: (
1262
+ body: Service.ActivityAiSalesOrder.Create.Body
1263
+ ) => Promise<Service.ActivityAiSalesOrder.Create.Result>;
1264
+ };
1265
+ ocrInvoiceJob: {
1266
+ _path: "ocr-invoice-job";
1267
+ find: (
1268
+ params?: Service.OcrInvoiceJob.Find.Params
1269
+ ) => Promise<Service.OcrInvoiceJob.Find.Result>;
1270
+ get: (
1271
+ id: Service.OcrInvoiceJob.Get.ID
1272
+ ) => Promise<Service.OcrInvoiceJob.Get.Result>;
1273
+ };
1274
+ ocrInvoiceJobPage: {
1275
+ _path: "ocr-invoice-job-page";
1276
+ find: (
1277
+ params?: Service.OcrInvoiceJobPage.Find.Params
1278
+ ) => Promise<Service.OcrInvoiceJobPage.Find.Result>;
1279
+ get: (
1280
+ id: Service.OcrInvoiceJobPage.Get.ID
1281
+ ) => Promise<Service.OcrInvoiceJobPage.Get.Result>;
1282
+ update: (
1283
+ id: Service.OcrInvoiceJobPage.Update.ID,
1284
+ body: Service.OcrInvoiceJobPage.Update.Body
1285
+ ) => Promise<Service.OcrInvoiceJobPage.Update.Result>;
1286
+ };
646
1287
  }