repzo 1.0.97 → 1.0.99

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