repzo 1.0.143 → 1.0.145

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.
Files changed (182) hide show
  1. package/README.md +3 -1
  2. package/docs/api/activity-ai-sales-order-examples.md +3 -3
  3. package/docs/api/activity-ai-sales-order.md +0 -7
  4. package/docs/api/activity-feedback-examples.md +4 -4
  5. package/docs/api/activity-feedback-v2-examples.md +5 -5
  6. package/docs/api/activity-feedback-v2.md +0 -9
  7. package/docs/api/activity-feedback.md +0 -9
  8. package/docs/api/activity-storecheck-examples.md +3 -3
  9. package/docs/api/activity-storecheck.md +0 -6
  10. package/docs/api/adjust-account-examples.md +3 -3
  11. package/docs/api/adjust-account.md +0 -5
  12. package/docs/api/adjust-inventory-examples.md +3 -3
  13. package/docs/api/adjust-inventory.md +0 -7
  14. package/docs/api/approval-request-examples.md +3 -3
  15. package/docs/api/approval-request.md +0 -12
  16. package/docs/api/approvals-examples.md +3 -3
  17. package/docs/api/approvals.md +0 -12
  18. package/docs/api/asset-examples.md +2 -2
  19. package/docs/api/asset-part-examples.md +3 -3
  20. package/docs/api/asset-part-receival-examples.md +3 -3
  21. package/docs/api/asset-part-receival.md +0 -6
  22. package/docs/api/asset-part-transfer-examples.md +3 -3
  23. package/docs/api/asset-part-transfer.md +0 -7
  24. package/docs/api/asset-part-type-examples.md +3 -3
  25. package/docs/api/asset-part-type.md +0 -6
  26. package/docs/api/asset-part-unit-examples.md +3 -3
  27. package/docs/api/asset-part-unit.md +0 -6
  28. package/docs/api/asset-part.md +0 -6
  29. package/docs/api/asset-type-examples.md +3 -3
  30. package/docs/api/asset-type.md +0 -12
  31. package/docs/api/asset-unit-examples.md +3 -3
  32. package/docs/api/asset-unit.md +0 -9
  33. package/docs/api/asset.md +0 -12
  34. package/docs/api/banks-examples.md +2 -2
  35. package/docs/api/banks.md +0 -12
  36. package/docs/api/bankslists-examples.md +3 -3
  37. package/docs/api/bankslists.md +0 -12
  38. package/docs/api/brand-examples.md +3 -3
  39. package/docs/api/brand.md +0 -8
  40. package/docs/api/category-examples.md +3 -3
  41. package/docs/api/category.md +0 -8
  42. package/docs/api/checks-examples.md +2 -2
  43. package/docs/api/checks.md +0 -5
  44. package/docs/api/client-channel-examples.md +3 -3
  45. package/docs/api/client-channel.md +0 -8
  46. package/docs/api/client-contact-examples.md +3 -3
  47. package/docs/api/client-contact.md +0 -11
  48. package/docs/api/client-examples.md +2 -2
  49. package/docs/api/client-location-examples.md +3 -3
  50. package/docs/api/client-location.md +0 -9
  51. package/docs/api/client.md +0 -8
  52. package/docs/api/contract-examples.md +3 -3
  53. package/docs/api/contract-installment-examples.md +4 -4
  54. package/docs/api/contract-installment.md +0 -10
  55. package/docs/api/contract.md +0 -12
  56. package/docs/api/custom-list-examples.md +3 -3
  57. package/docs/api/custom-list-item-examples.md +3 -3
  58. package/docs/api/custom-list-item.md +0 -12
  59. package/docs/api/custom-list.md +0 -12
  60. package/docs/api/custom-status-examples.md +3 -3
  61. package/docs/api/custom-status.md +0 -12
  62. package/docs/api/day-examples.md +2 -2
  63. package/docs/api/day.md +0 -5
  64. package/docs/api/feedback-options-examples.md +5 -5
  65. package/docs/api/feedback-options.md +0 -11
  66. package/docs/api/fullinvoices-examples.md +3 -3
  67. package/docs/api/fullinvoices.md +0 -10
  68. package/docs/api/integration-action-log-examples.md +3 -3
  69. package/docs/api/integration-action-log.md +0 -6
  70. package/docs/api/integration-app-examples.md +3 -3
  71. package/docs/api/integration-app.md +0 -7
  72. package/docs/api/integration-command-log-examples.md +3 -3
  73. package/docs/api/integration-command-log.md +0 -6
  74. package/docs/api/inventory-adjustment-reason-examples.md +3 -3
  75. package/docs/api/inventory-adjustment-reason.md +0 -12
  76. package/docs/api/inventory-examples.md +2 -2
  77. package/docs/api/inventory.md +0 -3
  78. package/docs/api/mail-unsubscribe-examples.md +3 -3
  79. package/docs/api/mail-unsubscribe.md +0 -6
  80. package/docs/api/measureunit-examples.md +3 -3
  81. package/docs/api/measureunit-family-examples.md +3 -3
  82. package/docs/api/measureunit-family.md +0 -8
  83. package/docs/api/measureunit.md +0 -9
  84. package/docs/api/media-examples.md +2 -2
  85. package/docs/api/media-storage-examples.md +3 -3
  86. package/docs/api/media-storage.md +0 -8
  87. package/docs/api/media.md +0 -8
  88. package/docs/api/msl-examples.md +2 -2
  89. package/docs/api/msl-products-examples.md +3 -3
  90. package/docs/api/msl-products.md +0 -12
  91. package/docs/api/msl.md +0 -12
  92. package/docs/api/ocr-invoice-job-examples.md +4 -4
  93. package/docs/api/ocr-invoice-job-group-examples.md +4 -4
  94. package/docs/api/ocr-invoice-job-group.md +0 -7
  95. package/docs/api/ocr-invoice-job-page-examples.md +3 -3
  96. package/docs/api/ocr-invoice-job-page.md +0 -7
  97. package/docs/api/ocr-invoice-job-template-examples.md +3 -3
  98. package/docs/api/ocr-invoice-job-template.md +0 -6
  99. package/docs/api/ocr-invoice-job.md +0 -9
  100. package/docs/api/patch-action-examples.md +3 -3
  101. package/docs/api/patch-action.md +0 -7
  102. package/docs/api/payment-terms-examples.md +3 -3
  103. package/docs/api/payment-terms.md +0 -13
  104. package/docs/api/payments-examples.md +3 -3
  105. package/docs/api/payments.md +0 -10
  106. package/docs/api/pricelist-examples.md +3 -3
  107. package/docs/api/pricelist-item-examples.md +3 -3
  108. package/docs/api/pricelist-item.md +0 -11
  109. package/docs/api/pricelist.md +0 -8
  110. package/docs/api/product-examples.md +3 -3
  111. package/docs/api/product-group-examples.md +3 -3
  112. package/docs/api/product-group.md +0 -8
  113. package/docs/api/product-modifiers-group-examples.md +3 -3
  114. package/docs/api/product-modifiers-group.md +0 -9
  115. package/docs/api/product.md +0 -9
  116. package/docs/api/proforma-examples.md +3 -3
  117. package/docs/api/proforma.md +0 -10
  118. package/docs/api/quick-convert-to-pdf-examples.md +1 -1
  119. package/docs/api/quick-convert-to-pdf.md +0 -2
  120. package/docs/api/receiving-material-examples.md +3 -3
  121. package/docs/api/receiving-material.md +0 -7
  122. package/docs/api/refund-examples.md +2 -2
  123. package/docs/api/refund.md +0 -7
  124. package/docs/api/rep-balance-summary-examples.md +2 -2
  125. package/docs/api/rep-balance-summary.md +0 -2
  126. package/docs/api/rep-examples.md +2 -2
  127. package/docs/api/rep.md +0 -8
  128. package/docs/api/return-asset-part-unit-examples.md +3 -3
  129. package/docs/api/return-asset-part-unit.md +0 -6
  130. package/docs/api/return-reason-examples.md +3 -3
  131. package/docs/api/return-reason.md +0 -8
  132. package/docs/api/route-examples.md +2 -2
  133. package/docs/api/route.md +0 -8
  134. package/docs/api/safe-invoice-serial-counter-examples.md +3 -3
  135. package/docs/api/safe-invoice-serial-counter.md +0 -8
  136. package/docs/api/settings-examples.md +3 -3
  137. package/docs/api/settings.md +0 -8
  138. package/docs/api/settlement-examples.md +3 -3
  139. package/docs/api/settlement.md +0 -5
  140. package/docs/api/speciality-examples.md +3 -3
  141. package/docs/api/speciality.md +0 -8
  142. package/docs/api/store-asset-part-unit-examples.md +3 -3
  143. package/docs/api/store-asset-part-unit.md +0 -6
  144. package/docs/api/storecheck-template-examples.md +3 -3
  145. package/docs/api/storecheck-template.md +0 -8
  146. package/docs/api/subcategory-examples.md +3 -3
  147. package/docs/api/subcategory.md +0 -8
  148. package/docs/api/supplier-examples.md +3 -3
  149. package/docs/api/supplier.md +0 -12
  150. package/docs/api/svix-integration-examples.md +3 -3
  151. package/docs/api/svix-integration.md +0 -6
  152. package/docs/api/tag-examples.md +2 -2
  153. package/docs/api/tag.md +0 -8
  154. package/docs/api/tax-examples.md +2 -2
  155. package/docs/api/tax.md +0 -8
  156. package/docs/api/team-examples.md +2 -2
  157. package/docs/api/team.md +0 -8
  158. package/docs/api/transfer-examples.md +3 -3
  159. package/docs/api/transfer.md +0 -7
  160. package/docs/api/update-integration-meta-examples.md +3 -3
  161. package/docs/api/update-integration-meta.md +0 -7
  162. package/docs/api/variant-examples.md +3 -3
  163. package/docs/api/variant.md +0 -9
  164. package/docs/api/visit-examples.md +2 -2
  165. package/docs/api/visit.md +0 -10
  166. package/docs/api/warehouse-examples.md +3 -3
  167. package/docs/api/warehouse.md +0 -8
  168. package/docs/api/workorder-category-examples.md +3 -3
  169. package/docs/api/workorder-category.md +0 -9
  170. package/docs/api/workorder-examples.md +3 -3
  171. package/docs/api/workorder-portal-examples.md +3 -3
  172. package/docs/api/workorder-portal-link-examples.md +3 -3
  173. package/docs/api/workorder-portal-link.md +0 -11
  174. package/docs/api/workorder-portal.md +0 -9
  175. package/docs/api/workorder-request-examples.md +3 -3
  176. package/docs/api/workorder-request.md +0 -12
  177. package/docs/api/workorder.md +0 -12
  178. package/lib/index.d.ts +388 -387
  179. package/lib/index.js +366 -365
  180. package/lib/types/index.d.ts +14663 -13407
  181. package/package.json +8 -7
  182. package/src/types/index.ts +22 -18
package/lib/index.js CHANGED
@@ -180,7 +180,7 @@ const availableService = [
180
180
  "workorderPortalLink",
181
181
  "customField",
182
182
  ];
183
- export default class Repzo {
183
+ class Repzo {
184
184
  constructor(apiKey, options) {
185
185
  this.available_services = availableService;
186
186
  this.client = {
@@ -189,7 +189,7 @@ export default class Repzo {
189
189
  let res = await this._fetch(
190
190
  this.svAPIEndpoint,
191
191
  this.client._path,
192
- params
192
+ params,
193
193
  );
194
194
  return res;
195
195
  },
@@ -197,14 +197,14 @@ export default class Repzo {
197
197
  return await this._fetch(
198
198
  this.svAPIEndpoint,
199
199
  this.client._path + `/${id}`,
200
- params
200
+ params,
201
201
  );
202
202
  },
203
203
  create: async (body) => {
204
204
  let res = await this._create(
205
205
  this.svAPIEndpoint,
206
206
  this.client._path,
207
- body
207
+ body,
208
208
  );
209
209
  return res;
210
210
  },
@@ -212,14 +212,14 @@ export default class Repzo {
212
212
  let res = await this._update(
213
213
  this.svAPIEndpoint,
214
214
  this.client._path + `/${id}`,
215
- body
215
+ body,
216
216
  );
217
217
  return res;
218
218
  },
219
219
  remove: async (id) => {
220
220
  let res = await this._delete(
221
221
  this.svAPIEndpoint,
222
- this.client._path + `/${id}`
222
+ this.client._path + `/${id}`,
223
223
  );
224
224
  return res;
225
225
  },
@@ -230,7 +230,7 @@ export default class Repzo {
230
230
  let res = await this._fetch(
231
231
  this.svAPIEndpoint,
232
232
  this.product._path,
233
- params
233
+ params,
234
234
  );
235
235
  return res;
236
236
  },
@@ -238,14 +238,14 @@ export default class Repzo {
238
238
  return await this._fetch(
239
239
  this.svAPIEndpoint,
240
240
  this.product._path + `/${id}`,
241
- params
241
+ params,
242
242
  );
243
243
  },
244
244
  create: async (body) => {
245
245
  let res = await this._create(
246
246
  this.svAPIEndpoint,
247
247
  this.product._path,
248
- body
248
+ body,
249
249
  );
250
250
  return res;
251
251
  },
@@ -253,14 +253,14 @@ export default class Repzo {
253
253
  let res = await this._update(
254
254
  this.svAPIEndpoint,
255
255
  this.product._path + `/${id}`,
256
- body
256
+ body,
257
257
  );
258
258
  return res;
259
259
  },
260
260
  remove: async (id) => {
261
261
  let res = await this._delete(
262
262
  this.svAPIEndpoint,
263
- this.product._path + `/${id}`
263
+ this.product._path + `/${id}`,
264
264
  );
265
265
  return res;
266
266
  },
@@ -271,7 +271,7 @@ export default class Repzo {
271
271
  let res = await this._fetch(
272
272
  this.svAPIEndpoint,
273
273
  this.variant._path,
274
- params
274
+ params,
275
275
  );
276
276
  return res;
277
277
  },
@@ -279,14 +279,14 @@ export default class Repzo {
279
279
  return await this._fetch(
280
280
  this.svAPIEndpoint,
281
281
  this.variant._path + `/${id}`,
282
- params
282
+ params,
283
283
  );
284
284
  },
285
285
  create: async (body) => {
286
286
  let res = await this._create(
287
287
  this.svAPIEndpoint,
288
288
  this.variant._path,
289
- body
289
+ body,
290
290
  );
291
291
  return res;
292
292
  },
@@ -294,14 +294,14 @@ export default class Repzo {
294
294
  let res = await this._update(
295
295
  this.svAPIEndpoint,
296
296
  this.variant._path + `/${id}`,
297
- body
297
+ body,
298
298
  );
299
299
  return res;
300
300
  },
301
301
  remove: async (id) => {
302
302
  let res = await this._delete(
303
303
  this.svAPIEndpoint,
304
- this.variant._path + `/${id}`
304
+ this.variant._path + `/${id}`,
305
305
  );
306
306
  return res;
307
307
  },
@@ -312,21 +312,21 @@ export default class Repzo {
312
312
  let res = await this._fetch(
313
313
  this.svAPIEndpoint,
314
314
  this.category._path,
315
- params
315
+ params,
316
316
  );
317
317
  return res;
318
318
  },
319
319
  get: async (id) => {
320
320
  return await this._fetch(
321
321
  this.svAPIEndpoint,
322
- this.category._path + `/${id}`
322
+ this.category._path + `/${id}`,
323
323
  );
324
324
  },
325
325
  create: async (body) => {
326
326
  let res = await this._create(
327
327
  this.svAPIEndpoint,
328
328
  this.category._path,
329
- body
329
+ body,
330
330
  );
331
331
  return res;
332
332
  },
@@ -334,14 +334,14 @@ export default class Repzo {
334
334
  let res = await this._update(
335
335
  this.svAPIEndpoint,
336
336
  this.category._path + `/${id}`,
337
- body
337
+ body,
338
338
  );
339
339
  return res;
340
340
  },
341
341
  remove: async (id) => {
342
342
  let res = await this._delete(
343
343
  this.svAPIEndpoint,
344
- this.category._path + `/${id}`
344
+ this.category._path + `/${id}`,
345
345
  );
346
346
  return res;
347
347
  },
@@ -352,7 +352,7 @@ export default class Repzo {
352
352
  let res = await this._fetch(
353
353
  this.svAPIEndpoint,
354
354
  this.sub_category._path,
355
- params
355
+ params,
356
356
  );
357
357
  return res;
358
358
  },
@@ -360,14 +360,14 @@ export default class Repzo {
360
360
  return await this._fetch(
361
361
  this.svAPIEndpoint,
362
362
  this.sub_category._path + `/${id}`,
363
- params
363
+ params,
364
364
  );
365
365
  },
366
366
  create: async (body) => {
367
367
  let res = await this._create(
368
368
  this.svAPIEndpoint,
369
369
  this.sub_category._path,
370
- body
370
+ body,
371
371
  );
372
372
  return res;
373
373
  },
@@ -375,14 +375,14 @@ export default class Repzo {
375
375
  let res = await this._update(
376
376
  this.svAPIEndpoint,
377
377
  this.sub_category._path + `/${id}`,
378
- body
378
+ body,
379
379
  );
380
380
  return res;
381
381
  },
382
382
  remove: async (id) => {
383
383
  let res = await this._delete(
384
384
  this.svAPIEndpoint,
385
- this.sub_category._path + `/${id}`
385
+ this.sub_category._path + `/${id}`,
386
386
  );
387
387
  return res;
388
388
  },
@@ -393,21 +393,21 @@ export default class Repzo {
393
393
  let res = await this._fetch(
394
394
  this.svAPIEndpoint,
395
395
  this.brand._path,
396
- params
396
+ params,
397
397
  );
398
398
  return res;
399
399
  },
400
400
  get: async (id) => {
401
401
  return await this._fetch(
402
402
  this.svAPIEndpoint,
403
- this.brand._path + `/${id}`
403
+ this.brand._path + `/${id}`,
404
404
  );
405
405
  },
406
406
  create: async (body) => {
407
407
  let res = await this._create(
408
408
  this.svAPIEndpoint,
409
409
  this.brand._path,
410
- body
410
+ body,
411
411
  );
412
412
  return res;
413
413
  },
@@ -415,14 +415,14 @@ export default class Repzo {
415
415
  let res = await this._update(
416
416
  this.svAPIEndpoint,
417
417
  this.brand._path + `/${id}`,
418
- body
418
+ body,
419
419
  );
420
420
  return res;
421
421
  },
422
422
  remove: async (id) => {
423
423
  let res = await this._delete(
424
424
  this.svAPIEndpoint,
425
- this.brand._path + `/${id}`
425
+ this.brand._path + `/${id}`,
426
426
  );
427
427
  return res;
428
428
  },
@@ -433,21 +433,21 @@ export default class Repzo {
433
433
  let res = await this._fetch(
434
434
  this.svAPIEndpoint,
435
435
  this.product_group._path,
436
- params
436
+ params,
437
437
  );
438
438
  return res;
439
439
  },
440
440
  get: async (id) => {
441
441
  return await this._fetch(
442
442
  this.svAPIEndpoint,
443
- this.product_group._path + `/${id}`
443
+ this.product_group._path + `/${id}`,
444
444
  );
445
445
  },
446
446
  create: async (body) => {
447
447
  let res = await this._create(
448
448
  this.svAPIEndpoint,
449
449
  this.product_group._path,
450
- body
450
+ body,
451
451
  );
452
452
  return res;
453
453
  },
@@ -455,14 +455,14 @@ export default class Repzo {
455
455
  let res = await this._update(
456
456
  this.svAPIEndpoint,
457
457
  this.product_group._path + `/${id}`,
458
- body
458
+ body,
459
459
  );
460
460
  return res;
461
461
  },
462
462
  remove: async (id) => {
463
463
  let res = await this._delete(
464
464
  this.svAPIEndpoint,
465
- this.product_group._path + `/${id}`
465
+ this.product_group._path + `/${id}`,
466
466
  );
467
467
  return res;
468
468
  },
@@ -484,14 +484,14 @@ export default class Repzo {
484
484
  let res = await this._update(
485
485
  this.svAPIEndpoint,
486
486
  this.tax._path + `/${id}`,
487
- body
487
+ body,
488
488
  );
489
489
  return res;
490
490
  },
491
491
  remove: async (id) => {
492
492
  let res = await this._delete(
493
493
  this.svAPIEndpoint,
494
- this.tax._path + `/${id}`
494
+ this.tax._path + `/${id}`,
495
495
  );
496
496
  return res;
497
497
  },
@@ -502,21 +502,21 @@ export default class Repzo {
502
502
  let res = await this._fetch(
503
503
  this.svAPIEndpoint,
504
504
  this.measureunit._path,
505
- params
505
+ params,
506
506
  );
507
507
  return res;
508
508
  },
509
509
  get: async (id) => {
510
510
  return await this._fetch(
511
511
  this.svAPIEndpoint,
512
- this.measureunit._path + `/${id}`
512
+ this.measureunit._path + `/${id}`,
513
513
  );
514
514
  },
515
515
  create: async (body) => {
516
516
  let res = await this._create(
517
517
  this.svAPIEndpoint,
518
518
  this.measureunit._path,
519
- body
519
+ body,
520
520
  );
521
521
  return res;
522
522
  },
@@ -524,14 +524,14 @@ export default class Repzo {
524
524
  let res = await this._update(
525
525
  this.svAPIEndpoint,
526
526
  this.measureunit._path + `/${id}`,
527
- body
527
+ body,
528
528
  );
529
529
  return res;
530
530
  },
531
531
  remove: async (id) => {
532
532
  let res = await this._delete(
533
533
  this.svAPIEndpoint,
534
- this.measureunit._path + `/${id}`
534
+ this.measureunit._path + `/${id}`,
535
535
  );
536
536
  return res;
537
537
  },
@@ -542,21 +542,21 @@ export default class Repzo {
542
542
  let res = await this._fetch(
543
543
  this.svAPIEndpoint,
544
544
  this.measureunitFamily._path,
545
- params
545
+ params,
546
546
  );
547
547
  return res;
548
548
  },
549
549
  get: async (id) => {
550
550
  return await this._fetch(
551
551
  this.svAPIEndpoint,
552
- this.measureunitFamily._path + `/${id}`
552
+ this.measureunitFamily._path + `/${id}`,
553
553
  );
554
554
  },
555
555
  create: async (body) => {
556
556
  let res = await this._create(
557
557
  this.svAPIEndpoint,
558
558
  this.measureunitFamily._path,
559
- body
559
+ body,
560
560
  );
561
561
  return res;
562
562
  },
@@ -564,14 +564,14 @@ export default class Repzo {
564
564
  let res = await this._update(
565
565
  this.svAPIEndpoint,
566
566
  this.measureunitFamily._path + `/${id}`,
567
- body
567
+ body,
568
568
  );
569
569
  return res;
570
570
  },
571
571
  remove: async (id) => {
572
572
  let res = await this._delete(
573
573
  this.svAPIEndpoint,
574
- this.measureunitFamily._path + `/${id}`
574
+ this.measureunitFamily._path + `/${id}`,
575
575
  );
576
576
  return res;
577
577
  },
@@ -582,21 +582,21 @@ export default class Repzo {
582
582
  let res = await this._fetch(
583
583
  this.svAPIEndpoint,
584
584
  this.media._path,
585
- params
585
+ params,
586
586
  );
587
587
  return res;
588
588
  },
589
589
  get: async (id) => {
590
590
  return await this._fetch(
591
591
  this.svAPIEndpoint,
592
- this.media._path + `/${id}`
592
+ this.media._path + `/${id}`,
593
593
  );
594
594
  },
595
595
  create: async (body) => {
596
596
  let res = await this._create(
597
597
  this.svAPIEndpoint,
598
598
  this.media._path,
599
- body
599
+ body,
600
600
  );
601
601
  return res;
602
602
  },
@@ -604,14 +604,14 @@ export default class Repzo {
604
604
  let res = await this._update(
605
605
  this.svAPIEndpoint,
606
606
  this.media._path + `/${id}`,
607
- body
607
+ body,
608
608
  );
609
609
  return res;
610
610
  },
611
611
  remove: async (id) => {
612
612
  let res = await this._delete(
613
613
  this.svAPIEndpoint,
614
- this.media._path + `/${id}`
614
+ this.media._path + `/${id}`,
615
615
  );
616
616
  return res;
617
617
  },
@@ -622,21 +622,21 @@ export default class Repzo {
622
622
  let res = await this._fetch(
623
623
  this.svAPIEndpoint,
624
624
  this.priceList._path,
625
- params
625
+ params,
626
626
  );
627
627
  return res;
628
628
  },
629
629
  get: async (id) => {
630
630
  return await this._fetch(
631
631
  this.svAPIEndpoint,
632
- this.priceList._path + `/${id}`
632
+ this.priceList._path + `/${id}`,
633
633
  );
634
634
  },
635
635
  create: async (body) => {
636
636
  let res = await this._create(
637
637
  this.svAPIEndpoint,
638
638
  this.priceList._path,
639
- body
639
+ body,
640
640
  );
641
641
  return res;
642
642
  },
@@ -644,14 +644,14 @@ export default class Repzo {
644
644
  let res = await this._update(
645
645
  this.svAPIEndpoint,
646
646
  this.priceList._path + `/${id}`,
647
- body
647
+ body,
648
648
  );
649
649
  return res;
650
650
  },
651
651
  remove: async (id) => {
652
652
  let res = await this._delete(
653
653
  this.svAPIEndpoint,
654
- this.priceList._path + `/${id}`
654
+ this.priceList._path + `/${id}`,
655
655
  );
656
656
  return res;
657
657
  },
@@ -662,21 +662,21 @@ export default class Repzo {
662
662
  let res = await this._fetch(
663
663
  this.svAPIEndpoint,
664
664
  this.priceListItem._path,
665
- params
665
+ params,
666
666
  );
667
667
  return res;
668
668
  },
669
669
  get: async (id) => {
670
670
  return await this._fetch(
671
671
  this.svAPIEndpoint,
672
- this.priceListItem._path + `/${id}`
672
+ this.priceListItem._path + `/${id}`,
673
673
  );
674
674
  },
675
675
  create: async (body) => {
676
676
  let res = await this._create(
677
677
  this.svAPIEndpoint,
678
678
  this.priceListItem._path,
679
- body
679
+ body,
680
680
  );
681
681
  return res;
682
682
  },
@@ -684,14 +684,14 @@ export default class Repzo {
684
684
  let res = await this._update(
685
685
  this.svAPIEndpoint,
686
686
  this.priceListItem._path + `/${id}`,
687
- body
687
+ body,
688
688
  );
689
689
  return res;
690
690
  },
691
691
  remove: async (id) => {
692
692
  let res = await this._delete(
693
693
  this.svAPIEndpoint,
694
- this.priceListItem._path + `/${id}`
694
+ this.priceListItem._path + `/${id}`,
695
695
  );
696
696
  return res;
697
697
  },
@@ -702,14 +702,14 @@ export default class Repzo {
702
702
  let res = await this._fetch(
703
703
  this.svAPIEndpoint,
704
704
  this.team._path,
705
- params
705
+ params,
706
706
  );
707
707
  return res;
708
708
  },
709
709
  get: async (id) => {
710
710
  return await this._fetch(
711
711
  this.svAPIEndpoint,
712
- this.team._path + `/${id}`
712
+ this.team._path + `/${id}`,
713
713
  );
714
714
  },
715
715
  create: async (body) => {
@@ -720,14 +720,14 @@ export default class Repzo {
720
720
  let res = await this._update(
721
721
  this.svAPIEndpoint,
722
722
  this.team._path + `/${id}`,
723
- body
723
+ body,
724
724
  );
725
725
  return res;
726
726
  },
727
727
  remove: async (id) => {
728
728
  let res = await this._delete(
729
729
  this.svAPIEndpoint,
730
- this.team._path + `/${id}`
730
+ this.team._path + `/${id}`,
731
731
  );
732
732
  return res;
733
733
  },
@@ -738,21 +738,21 @@ export default class Repzo {
738
738
  let res = await this._fetch(
739
739
  this.svAPIEndpoint,
740
740
  this.returnReason._path,
741
- params
741
+ params,
742
742
  );
743
743
  return res;
744
744
  },
745
745
  get: async (id) => {
746
746
  return await this._fetch(
747
747
  this.svAPIEndpoint,
748
- this.returnReason._path + `/${id}`
748
+ this.returnReason._path + `/${id}`,
749
749
  );
750
750
  },
751
751
  create: async (body) => {
752
752
  let res = await this._create(
753
753
  this.svAPIEndpoint,
754
754
  this.returnReason._path,
755
- body
755
+ body,
756
756
  );
757
757
  return res;
758
758
  },
@@ -760,14 +760,14 @@ export default class Repzo {
760
760
  let res = await this._update(
761
761
  this.svAPIEndpoint,
762
762
  this.returnReason._path + `/${id}`,
763
- body
763
+ body,
764
764
  );
765
765
  return res;
766
766
  },
767
767
  remove: async (id) => {
768
768
  let res = await this._delete(
769
769
  this.svAPIEndpoint,
770
- this.returnReason._path + `/${id}`
770
+ this.returnReason._path + `/${id}`,
771
771
  );
772
772
  return res;
773
773
  },
@@ -782,7 +782,7 @@ export default class Repzo {
782
782
  return await this._fetch(
783
783
  this.svAPIEndpoint,
784
784
  this.rep._path + `/${id}`,
785
- params
785
+ params,
786
786
  );
787
787
  },
788
788
  create: async (body) => {
@@ -793,14 +793,14 @@ export default class Repzo {
793
793
  let res = await this._update(
794
794
  this.svAPIEndpoint,
795
795
  this.rep._path + `/${id}`,
796
- body
796
+ body,
797
797
  );
798
798
  return res;
799
799
  },
800
800
  remove: async (id) => {
801
801
  let res = await this._delete(
802
802
  this.svAPIEndpoint,
803
- this.rep._path + `/${id}`
803
+ this.rep._path + `/${id}`,
804
804
  );
805
805
  return res;
806
806
  },
@@ -822,14 +822,14 @@ export default class Repzo {
822
822
  let res = await this._update(
823
823
  this.svAPIEndpoint,
824
824
  this.tag._path + `/${id}`,
825
- body
825
+ body,
826
826
  );
827
827
  return res;
828
828
  },
829
829
  remove: async (id) => {
830
830
  let res = await this._delete(
831
831
  this.svAPIEndpoint,
832
- this.tag._path + `/${id}`
832
+ this.tag._path + `/${id}`,
833
833
  );
834
834
  return res;
835
835
  },
@@ -840,21 +840,21 @@ export default class Repzo {
840
840
  let res = await this._fetch(
841
841
  this.svAPIEndpoint,
842
842
  this.warehouse._path,
843
- params
843
+ params,
844
844
  );
845
845
  return res;
846
846
  },
847
847
  get: async (id) => {
848
848
  return await this._fetch(
849
849
  this.svAPIEndpoint,
850
- this.warehouse._path + `/${id}`
850
+ this.warehouse._path + `/${id}`,
851
851
  );
852
852
  },
853
853
  create: async (body) => {
854
854
  let res = await this._create(
855
855
  this.svAPIEndpoint,
856
856
  this.warehouse._path,
857
- body
857
+ body,
858
858
  );
859
859
  return res;
860
860
  },
@@ -862,14 +862,14 @@ export default class Repzo {
862
862
  let res = await this._update(
863
863
  this.svAPIEndpoint,
864
864
  this.warehouse._path + `/${id}`,
865
- body
865
+ body,
866
866
  );
867
867
  return res;
868
868
  },
869
869
  remove: async (id) => {
870
870
  let res = await this._delete(
871
871
  this.svAPIEndpoint,
872
- this.warehouse._path + `/${id}`
872
+ this.warehouse._path + `/${id}`,
873
873
  );
874
874
  return res;
875
875
  },
@@ -880,21 +880,21 @@ export default class Repzo {
880
880
  let res = await this._fetch(
881
881
  this.svAPIEndpoint,
882
882
  this.route._path,
883
- params
883
+ params,
884
884
  );
885
885
  return res;
886
886
  },
887
887
  get: async (id) => {
888
888
  return await this._fetch(
889
889
  this.svAPIEndpoint,
890
- this.route._path + `/${id}`
890
+ this.route._path + `/${id}`,
891
891
  );
892
892
  },
893
893
  create: async (body) => {
894
894
  let res = await this._create(
895
895
  this.svAPIEndpoint,
896
896
  this.route._path,
897
- body
897
+ body,
898
898
  );
899
899
  return res;
900
900
  },
@@ -902,14 +902,14 @@ export default class Repzo {
902
902
  let res = await this._update(
903
903
  this.svAPIEndpoint,
904
904
  this.route._path + `/${id}`,
905
- body
905
+ body,
906
906
  );
907
907
  return res;
908
908
  },
909
909
  remove: async (id) => {
910
910
  let res = await this._delete(
911
911
  this.svAPIEndpoint,
912
- this.route._path + `/${id}`
912
+ this.route._path + `/${id}`,
913
913
  );
914
914
  return res;
915
915
  },
@@ -920,21 +920,21 @@ export default class Repzo {
920
920
  let res = await this._fetch(
921
921
  this.svAPIEndpoint,
922
922
  this.productModifiersGroup._path,
923
- params
923
+ params,
924
924
  );
925
925
  return res;
926
926
  },
927
927
  get: async (id) => {
928
928
  return await this._fetch(
929
929
  this.svAPIEndpoint,
930
- this.productModifiersGroup._path + `/${id}`
930
+ this.productModifiersGroup._path + `/${id}`,
931
931
  );
932
932
  },
933
933
  create: async (body) => {
934
934
  let res = await this._create(
935
935
  this.svAPIEndpoint,
936
936
  this.productModifiersGroup._path,
937
- body
937
+ body,
938
938
  );
939
939
  return res;
940
940
  },
@@ -942,14 +942,14 @@ export default class Repzo {
942
942
  let res = await this._update(
943
943
  this.svAPIEndpoint,
944
944
  this.productModifiersGroup._path + `/${id}`,
945
- body
945
+ body,
946
946
  );
947
947
  return res;
948
948
  },
949
949
  remove: async (id) => {
950
950
  let res = await this._delete(
951
951
  this.svAPIEndpoint,
952
- this.productModifiersGroup._path + `/${id}`
952
+ this.productModifiersGroup._path + `/${id}`,
953
953
  );
954
954
  return res;
955
955
  },
@@ -960,21 +960,21 @@ export default class Repzo {
960
960
  let res = await this._fetch(
961
961
  this.svAPIEndpoint,
962
962
  this.channel._path,
963
- params
963
+ params,
964
964
  );
965
965
  return res;
966
966
  },
967
967
  get: async (id) => {
968
968
  return await this._fetch(
969
969
  this.svAPIEndpoint,
970
- this.channel._path + `/${id}`
970
+ this.channel._path + `/${id}`,
971
971
  );
972
972
  },
973
973
  create: async (body) => {
974
974
  let res = await this._create(
975
975
  this.svAPIEndpoint,
976
976
  this.channel._path,
977
- body
977
+ body,
978
978
  );
979
979
  return res;
980
980
  },
@@ -982,14 +982,14 @@ export default class Repzo {
982
982
  let res = await this._update(
983
983
  this.svAPIEndpoint,
984
984
  this.channel._path + `/${id}`,
985
- body
985
+ body,
986
986
  );
987
987
  return res;
988
988
  },
989
989
  remove: async (id) => {
990
990
  let res = await this._delete(
991
991
  this.svAPIEndpoint,
992
- this.channel._path + `/${id}`
992
+ this.channel._path + `/${id}`,
993
993
  );
994
994
  return res;
995
995
  },
@@ -1000,21 +1000,21 @@ export default class Repzo {
1000
1000
  let res = await this._fetch(
1001
1001
  this.svAPIEndpoint,
1002
1002
  this.speciality._path,
1003
- params
1003
+ params,
1004
1004
  );
1005
1005
  return res;
1006
1006
  },
1007
1007
  get: async (id) => {
1008
1008
  return await this._fetch(
1009
1009
  this.svAPIEndpoint,
1010
- this.speciality._path + `/${id}`
1010
+ this.speciality._path + `/${id}`,
1011
1011
  );
1012
1012
  },
1013
1013
  create: async (body) => {
1014
1014
  let res = await this._create(
1015
1015
  this.svAPIEndpoint,
1016
1016
  this.speciality._path,
1017
- body
1017
+ body,
1018
1018
  );
1019
1019
  return res;
1020
1020
  },
@@ -1022,14 +1022,14 @@ export default class Repzo {
1022
1022
  let res = await this._update(
1023
1023
  this.svAPIEndpoint,
1024
1024
  this.speciality._path + `/${id}`,
1025
- body
1025
+ body,
1026
1026
  );
1027
1027
  return res;
1028
1028
  },
1029
1029
  remove: async (id) => {
1030
1030
  let res = await this._delete(
1031
1031
  this.svAPIEndpoint,
1032
- this.speciality._path + `/${id}`
1032
+ this.speciality._path + `/${id}`,
1033
1033
  );
1034
1034
  return res;
1035
1035
  },
@@ -1040,21 +1040,21 @@ export default class Repzo {
1040
1040
  let res = await this._fetch(
1041
1041
  this.svAPIEndpoint,
1042
1042
  this.clientContact._path,
1043
- params
1043
+ params,
1044
1044
  );
1045
1045
  return res;
1046
1046
  },
1047
1047
  get: async (id) => {
1048
1048
  return await this._fetch(
1049
1049
  this.svAPIEndpoint,
1050
- this.clientContact._path + `/${id}`
1050
+ this.clientContact._path + `/${id}`,
1051
1051
  );
1052
1052
  },
1053
1053
  create: async (body) => {
1054
1054
  let res = await this._create(
1055
1055
  this.svAPIEndpoint,
1056
1056
  this.clientContact._path,
1057
- body
1057
+ body,
1058
1058
  );
1059
1059
  return res;
1060
1060
  },
@@ -1062,14 +1062,14 @@ export default class Repzo {
1062
1062
  let res = await this._update(
1063
1063
  this.svAPIEndpoint,
1064
1064
  this.clientContact._path + `/${id}`,
1065
- body
1065
+ body,
1066
1066
  );
1067
1067
  return res;
1068
1068
  },
1069
1069
  remove: async (id) => {
1070
1070
  let res = await this._delete(
1071
1071
  this.svAPIEndpoint,
1072
- this.clientContact._path + `/${id}`
1072
+ this.clientContact._path + `/${id}`,
1073
1073
  );
1074
1074
  return res;
1075
1075
  },
@@ -1080,21 +1080,21 @@ export default class Repzo {
1080
1080
  let res = await this._fetch(
1081
1081
  this.svAPIEndpoint,
1082
1082
  this.paymentTerm._path,
1083
- params
1083
+ params,
1084
1084
  );
1085
1085
  return res;
1086
1086
  },
1087
1087
  get: async (id) => {
1088
1088
  return await this._fetch(
1089
1089
  this.svAPIEndpoint,
1090
- this.paymentTerm._path + `/${id}`
1090
+ this.paymentTerm._path + `/${id}`,
1091
1091
  );
1092
1092
  },
1093
1093
  create: async (body) => {
1094
1094
  let res = await this._create(
1095
1095
  this.svAPIEndpoint,
1096
1096
  this.paymentTerm._path,
1097
- body
1097
+ body,
1098
1098
  );
1099
1099
  return res;
1100
1100
  },
@@ -1102,14 +1102,14 @@ export default class Repzo {
1102
1102
  let res = await this._update(
1103
1103
  this.svAPIEndpoint,
1104
1104
  this.paymentTerm._path + `/${id}`,
1105
- body
1105
+ body,
1106
1106
  );
1107
1107
  return res;
1108
1108
  },
1109
1109
  remove: async (id) => {
1110
1110
  let res = await this._delete(
1111
1111
  this.svAPIEndpoint,
1112
- this.paymentTerm._path + `/${id}`
1112
+ this.paymentTerm._path + `/${id}`,
1113
1113
  );
1114
1114
  return res;
1115
1115
  },
@@ -1120,14 +1120,14 @@ export default class Repzo {
1120
1120
  let res = await this._fetch(
1121
1121
  this.svAPIEndpoint,
1122
1122
  this.bank._path,
1123
- params
1123
+ params,
1124
1124
  );
1125
1125
  return res;
1126
1126
  },
1127
1127
  get: async (id) => {
1128
1128
  return await this._fetch(
1129
1129
  this.svAPIEndpoint,
1130
- this.bank._path + `/${id}`
1130
+ this.bank._path + `/${id}`,
1131
1131
  );
1132
1132
  },
1133
1133
  create: async (body) => {
@@ -1138,7 +1138,7 @@ export default class Repzo {
1138
1138
  let res = await this._update(
1139
1139
  this.svAPIEndpoint,
1140
1140
  this.bank._path + `/${id}`,
1141
- body
1141
+ body,
1142
1142
  );
1143
1143
  return res;
1144
1144
  },
@@ -1149,21 +1149,21 @@ export default class Repzo {
1149
1149
  let res = await this._fetch(
1150
1150
  this.svAPIEndpoint,
1151
1151
  this.bank_list._path,
1152
- params
1152
+ params,
1153
1153
  );
1154
1154
  return res;
1155
1155
  },
1156
1156
  get: async (id) => {
1157
1157
  return await this._fetch(
1158
1158
  this.svAPIEndpoint,
1159
- this.bank_list._path + `/${id}`
1159
+ this.bank_list._path + `/${id}`,
1160
1160
  );
1161
1161
  },
1162
1162
  create: async (body) => {
1163
1163
  let res = await this._create(
1164
1164
  this.svAPIEndpoint,
1165
1165
  this.bank_list._path,
1166
- body
1166
+ body,
1167
1167
  );
1168
1168
  return res;
1169
1169
  },
@@ -1171,7 +1171,7 @@ export default class Repzo {
1171
1171
  let res = await this._update(
1172
1172
  this.svAPIEndpoint,
1173
1173
  this.bank_list._path + `/${id}`,
1174
- body
1174
+ body,
1175
1175
  );
1176
1176
  return res;
1177
1177
  },
@@ -1182,21 +1182,21 @@ export default class Repzo {
1182
1182
  let res = await this._fetch(
1183
1183
  this.svAPIEndpoint,
1184
1184
  this.customStatus._path,
1185
- params
1185
+ params,
1186
1186
  );
1187
1187
  return res;
1188
1188
  },
1189
1189
  get: async (id) => {
1190
1190
  return await this._fetch(
1191
1191
  this.svAPIEndpoint,
1192
- this.customStatus._path + `/${id}`
1192
+ this.customStatus._path + `/${id}`,
1193
1193
  );
1194
1194
  },
1195
1195
  create: async (body) => {
1196
1196
  let res = await this._create(
1197
1197
  this.svAPIEndpoint,
1198
1198
  this.customStatus._path,
1199
- body
1199
+ body,
1200
1200
  );
1201
1201
  return res;
1202
1202
  },
@@ -1204,14 +1204,14 @@ export default class Repzo {
1204
1204
  let res = await this._update(
1205
1205
  this.svAPIEndpoint,
1206
1206
  this.customStatus._path + `/${id}`,
1207
- body
1207
+ body,
1208
1208
  );
1209
1209
  return res;
1210
1210
  },
1211
1211
  remove: async (id) => {
1212
1212
  let res = await this._delete(
1213
1213
  this.svAPIEndpoint,
1214
- this.customStatus._path + `/${id}`
1214
+ this.customStatus._path + `/${id}`,
1215
1215
  );
1216
1216
  return res;
1217
1217
  },
@@ -1222,7 +1222,7 @@ export default class Repzo {
1222
1222
  let res = await this._fetch(
1223
1223
  this.svAPIEndpoint,
1224
1224
  this.customList._path,
1225
- params
1225
+ params,
1226
1226
  );
1227
1227
  return res;
1228
1228
  },
@@ -1230,14 +1230,14 @@ export default class Repzo {
1230
1230
  return await this._fetch(
1231
1231
  this.svAPIEndpoint,
1232
1232
  this.customList._path + `/${id}`,
1233
- params
1233
+ params,
1234
1234
  );
1235
1235
  },
1236
1236
  create: async (body) => {
1237
1237
  let res = await this._create(
1238
1238
  this.svAPIEndpoint,
1239
1239
  this.customList._path,
1240
- body
1240
+ body,
1241
1241
  );
1242
1242
  return res;
1243
1243
  },
@@ -1245,14 +1245,14 @@ export default class Repzo {
1245
1245
  let res = await this._update(
1246
1246
  this.svAPIEndpoint,
1247
1247
  this.customList._path + `/${id}`,
1248
- body
1248
+ body,
1249
1249
  );
1250
1250
  return res;
1251
1251
  },
1252
1252
  remove: async (id) => {
1253
1253
  let res = await this._delete(
1254
1254
  this.svAPIEndpoint,
1255
- this.customList._path + `/${id}`
1255
+ this.customList._path + `/${id}`,
1256
1256
  );
1257
1257
  return res;
1258
1258
  },
@@ -1263,7 +1263,7 @@ export default class Repzo {
1263
1263
  let res = await this._fetch(
1264
1264
  this.svAPIEndpoint,
1265
1265
  this.customListItem._path,
1266
- params
1266
+ params,
1267
1267
  );
1268
1268
  return res;
1269
1269
  },
@@ -1271,14 +1271,14 @@ export default class Repzo {
1271
1271
  return await this._fetch(
1272
1272
  this.svAPIEndpoint,
1273
1273
  this.customListItem._path + `/${id}`,
1274
- params
1274
+ params,
1275
1275
  );
1276
1276
  },
1277
1277
  create: async (body) => {
1278
1278
  let res = await this._create(
1279
1279
  this.svAPIEndpoint,
1280
1280
  this.customListItem._path,
1281
- body
1281
+ body,
1282
1282
  );
1283
1283
  return res;
1284
1284
  },
@@ -1286,14 +1286,14 @@ export default class Repzo {
1286
1286
  let res = await this._update(
1287
1287
  this.svAPIEndpoint,
1288
1288
  this.customListItem._path + `/${id}`,
1289
- body
1289
+ body,
1290
1290
  );
1291
1291
  return res;
1292
1292
  },
1293
1293
  remove: async (id) => {
1294
1294
  let res = await this._delete(
1295
1295
  this.svAPIEndpoint,
1296
- this.customListItem._path + `/${id}`
1296
+ this.customListItem._path + `/${id}`,
1297
1297
  );
1298
1298
  return res;
1299
1299
  },
@@ -1304,21 +1304,21 @@ export default class Repzo {
1304
1304
  let res = await this._fetch(
1305
1305
  this.svAPIEndpoint,
1306
1306
  this.inventoryAdjustmentReason._path,
1307
- params
1307
+ params,
1308
1308
  );
1309
1309
  return res;
1310
1310
  },
1311
1311
  get: async (id) => {
1312
1312
  return await this._fetch(
1313
1313
  this.svAPIEndpoint,
1314
- this.inventoryAdjustmentReason._path + `/${id}`
1314
+ this.inventoryAdjustmentReason._path + `/${id}`,
1315
1315
  );
1316
1316
  },
1317
1317
  create: async (body) => {
1318
1318
  let res = await this._create(
1319
1319
  this.svAPIEndpoint,
1320
1320
  this.inventoryAdjustmentReason._path,
1321
- body
1321
+ body,
1322
1322
  );
1323
1323
  return res;
1324
1324
  },
@@ -1326,14 +1326,14 @@ export default class Repzo {
1326
1326
  let res = await this._update(
1327
1327
  this.svAPIEndpoint,
1328
1328
  this.customListItem._path + `/${id}`,
1329
- body
1329
+ body,
1330
1330
  );
1331
1331
  return res;
1332
1332
  },
1333
1333
  remove: async (id) => {
1334
1334
  let res = await this._delete(
1335
1335
  this.svAPIEndpoint,
1336
- this.inventoryAdjustmentReason._path + `/${id}`
1336
+ this.inventoryAdjustmentReason._path + `/${id}`,
1337
1337
  );
1338
1338
  return res;
1339
1339
  },
@@ -1344,7 +1344,7 @@ export default class Repzo {
1344
1344
  let res = await this._fetch(
1345
1345
  this.svAPIEndpoint,
1346
1346
  this.workorder._path,
1347
- params
1347
+ params,
1348
1348
  );
1349
1349
  return res;
1350
1350
  },
@@ -1352,14 +1352,14 @@ export default class Repzo {
1352
1352
  return await this._fetch(
1353
1353
  this.svAPIEndpoint,
1354
1354
  this.workorder._path + `/${id}`,
1355
- params
1355
+ params,
1356
1356
  );
1357
1357
  },
1358
1358
  create: async (body) => {
1359
1359
  let res = await this._create(
1360
1360
  this.svAPIEndpoint,
1361
1361
  this.workorder._path,
1362
- body
1362
+ body,
1363
1363
  );
1364
1364
  return res;
1365
1365
  },
@@ -1367,14 +1367,14 @@ export default class Repzo {
1367
1367
  let res = await this._update(
1368
1368
  this.svAPIEndpoint,
1369
1369
  this.workorder._path + `/${id}`,
1370
- body
1370
+ body,
1371
1371
  );
1372
1372
  return res;
1373
1373
  },
1374
1374
  remove: async (id) => {
1375
1375
  let res = await this._delete(
1376
1376
  this.svAPIEndpoint,
1377
- this.workorder._path + `/${id}`
1377
+ this.workorder._path + `/${id}`,
1378
1378
  );
1379
1379
  return res;
1380
1380
  },
@@ -1385,7 +1385,7 @@ export default class Repzo {
1385
1385
  let res = await this._fetch(
1386
1386
  this.svAPIEndpoint,
1387
1387
  this.workorderRequest._path,
1388
- params
1388
+ params,
1389
1389
  );
1390
1390
  return res;
1391
1391
  },
@@ -1393,14 +1393,14 @@ export default class Repzo {
1393
1393
  return await this._fetch(
1394
1394
  this.svAPIEndpoint,
1395
1395
  this.workorderRequest._path + `/${id}`,
1396
- params
1396
+ params,
1397
1397
  );
1398
1398
  },
1399
1399
  create: async (body) => {
1400
1400
  let res = await this._create(
1401
1401
  this.svAPIEndpoint,
1402
1402
  this.workorderRequest._path,
1403
- body
1403
+ body,
1404
1404
  );
1405
1405
  return res;
1406
1406
  },
@@ -1408,14 +1408,14 @@ export default class Repzo {
1408
1408
  let res = await this._update(
1409
1409
  this.svAPIEndpoint,
1410
1410
  this.workorderRequest._path + `/${id}`,
1411
- body
1411
+ body,
1412
1412
  );
1413
1413
  return res;
1414
1414
  },
1415
1415
  remove: async (id) => {
1416
1416
  let res = await this._delete(
1417
1417
  this.svAPIEndpoint,
1418
- this.workorderRequest._path + `/${id}`
1418
+ this.workorderRequest._path + `/${id}`,
1419
1419
  );
1420
1420
  return res;
1421
1421
  },
@@ -1426,7 +1426,7 @@ export default class Repzo {
1426
1426
  let res = await this._fetch(
1427
1427
  this.svAPIEndpoint,
1428
1428
  this.supplier._path,
1429
- params
1429
+ params,
1430
1430
  );
1431
1431
  return res;
1432
1432
  },
@@ -1434,14 +1434,14 @@ export default class Repzo {
1434
1434
  return await this._fetch(
1435
1435
  this.svAPIEndpoint,
1436
1436
  this.supplier._path + `/${id}`,
1437
- params
1437
+ params,
1438
1438
  );
1439
1439
  },
1440
1440
  create: async (body) => {
1441
1441
  let res = await this._create(
1442
1442
  this.svAPIEndpoint,
1443
1443
  this.supplier._path,
1444
- body
1444
+ body,
1445
1445
  );
1446
1446
  return res;
1447
1447
  },
@@ -1449,7 +1449,7 @@ export default class Repzo {
1449
1449
  let res = await this._update(
1450
1450
  this.svAPIEndpoint,
1451
1451
  this.supplier._path + `/${id}`,
1452
- body
1452
+ body,
1453
1453
  );
1454
1454
  return res;
1455
1455
  },
@@ -1460,7 +1460,7 @@ export default class Repzo {
1460
1460
  let res = await this._fetch(
1461
1461
  this.svAPIEndpoint,
1462
1462
  this.quickConvertToPdf._path,
1463
- params
1463
+ params,
1464
1464
  );
1465
1465
  return res;
1466
1466
  },
@@ -1468,21 +1468,21 @@ export default class Repzo {
1468
1468
  return await this._fetch(
1469
1469
  this.svAPIEndpoint,
1470
1470
  this.quickConvertToPdf._path + `/${id}`,
1471
- params
1471
+ params,
1472
1472
  );
1473
1473
  },
1474
1474
  create: async (body) => {
1475
1475
  let res = await this._create(
1476
1476
  this.svAPIEndpoint,
1477
1477
  this.quickConvertToPdf._path,
1478
- body
1478
+ body,
1479
1479
  );
1480
1480
  return res;
1481
1481
  },
1482
1482
  remove: async (id) => {
1483
1483
  let res = await this._delete(
1484
1484
  this.svAPIEndpoint,
1485
- this.quickConvertToPdf._path + `/${id}`
1485
+ this.quickConvertToPdf._path + `/${id}`,
1486
1486
  );
1487
1487
  return res;
1488
1488
  },
@@ -1493,7 +1493,7 @@ export default class Repzo {
1493
1493
  let res = await this._fetch(
1494
1494
  this.svAPIEndpoint,
1495
1495
  this.visit._path,
1496
- params
1496
+ params,
1497
1497
  );
1498
1498
  return res;
1499
1499
  },
@@ -1501,14 +1501,14 @@ export default class Repzo {
1501
1501
  return await this._fetch(
1502
1502
  this.svAPIEndpoint,
1503
1503
  this.visit._path + `/${id}`,
1504
- params
1504
+ params,
1505
1505
  );
1506
1506
  },
1507
1507
  create: async (body) => {
1508
1508
  let res = await this._create(
1509
1509
  this.svAPIEndpoint,
1510
1510
  this.visit._path,
1511
- body
1511
+ body,
1512
1512
  );
1513
1513
  return res;
1514
1514
  },
@@ -1516,7 +1516,7 @@ export default class Repzo {
1516
1516
  let res = await this._update(
1517
1517
  this.svAPIEndpoint,
1518
1518
  this.visit._path + `/${id}`,
1519
- body
1519
+ body,
1520
1520
  );
1521
1521
  return res;
1522
1522
  },
@@ -1527,7 +1527,7 @@ export default class Repzo {
1527
1527
  let res = await this._fetch(
1528
1528
  this.svAPIEndpoint,
1529
1529
  this.activityFeedback._path,
1530
- params
1530
+ params,
1531
1531
  );
1532
1532
  return res;
1533
1533
  },
@@ -1535,14 +1535,14 @@ export default class Repzo {
1535
1535
  return await this._fetch(
1536
1536
  this.svAPIEndpoint,
1537
1537
  this.activityFeedback._path + `/${id}`,
1538
- params
1538
+ params,
1539
1539
  );
1540
1540
  },
1541
1541
  create: async (body) => {
1542
1542
  let res = await this._create(
1543
1543
  this.svAPIEndpoint,
1544
1544
  this.activityFeedback._path,
1545
- body
1545
+ body,
1546
1546
  );
1547
1547
  return res;
1548
1548
  },
@@ -1550,7 +1550,7 @@ export default class Repzo {
1550
1550
  let res = await this._update(
1551
1551
  this.svAPIEndpoint,
1552
1552
  this.activityFeedback._path + `/${id}`,
1553
- body
1553
+ body,
1554
1554
  );
1555
1555
  return res;
1556
1556
  },
@@ -1561,7 +1561,7 @@ export default class Repzo {
1561
1561
  let res = await this._fetch(
1562
1562
  this.svAPIEndpoint,
1563
1563
  this.activityFeedbackV2._path,
1564
- params
1564
+ params,
1565
1565
  );
1566
1566
  return res;
1567
1567
  },
@@ -1569,14 +1569,14 @@ export default class Repzo {
1569
1569
  return await this._fetch(
1570
1570
  this.svAPIEndpoint,
1571
1571
  this.activityFeedbackV2._path + `/${id}`,
1572
- params
1572
+ params,
1573
1573
  );
1574
1574
  },
1575
1575
  create: async (body) => {
1576
1576
  let res = await this._create(
1577
1577
  this.svAPIEndpoint,
1578
1578
  this.activityFeedbackV2._path,
1579
- body
1579
+ body,
1580
1580
  );
1581
1581
  return res;
1582
1582
  },
@@ -1584,7 +1584,7 @@ export default class Repzo {
1584
1584
  let res = await this._update(
1585
1585
  this.svAPIEndpoint,
1586
1586
  this.activityFeedbackV2._path + `/${id}`,
1587
- body
1587
+ body,
1588
1588
  );
1589
1589
  return res;
1590
1590
  },
@@ -1595,7 +1595,7 @@ export default class Repzo {
1595
1595
  let res = await this._fetch(
1596
1596
  this.svAPIEndpoint,
1597
1597
  this.feedbackOption._path,
1598
- params
1598
+ params,
1599
1599
  );
1600
1600
  return res;
1601
1601
  },
@@ -1603,14 +1603,14 @@ export default class Repzo {
1603
1603
  return await this._fetch(
1604
1604
  this.svAPIEndpoint,
1605
1605
  this.feedbackOption._path + `/${id}`,
1606
- params
1606
+ params,
1607
1607
  );
1608
1608
  },
1609
1609
  create: async (body) => {
1610
1610
  let res = await this._create(
1611
1611
  this.svAPIEndpoint,
1612
1612
  this.feedbackOption._path,
1613
- body
1613
+ body,
1614
1614
  );
1615
1615
  return res;
1616
1616
  },
@@ -1618,7 +1618,7 @@ export default class Repzo {
1618
1618
  let res = await this._update(
1619
1619
  this.svAPIEndpoint,
1620
1620
  this.feedbackOption._path + `/${id}`,
1621
- body
1621
+ body,
1622
1622
  );
1623
1623
  return res;
1624
1624
  },
@@ -1629,7 +1629,7 @@ export default class Repzo {
1629
1629
  let res = await this._fetch(
1630
1630
  this.svAPIEndpoint,
1631
1631
  this.invoice._path,
1632
- params
1632
+ params,
1633
1633
  );
1634
1634
  return res;
1635
1635
  },
@@ -1637,14 +1637,14 @@ export default class Repzo {
1637
1637
  return await this._fetch(
1638
1638
  this.svAPIEndpoint,
1639
1639
  this.invoice._path + `/${id}`,
1640
- params
1640
+ params,
1641
1641
  );
1642
1642
  },
1643
1643
  create: async (body) => {
1644
1644
  let res = await this._create(
1645
1645
  this.svAPIEndpoint,
1646
1646
  this.invoice._path,
1647
- body
1647
+ body,
1648
1648
  );
1649
1649
  return res;
1650
1650
  },
@@ -1652,7 +1652,7 @@ export default class Repzo {
1652
1652
  let res = await this._update(
1653
1653
  this.svAPIEndpoint,
1654
1654
  this.invoice._path + `/${id}`,
1655
- body
1655
+ body,
1656
1656
  );
1657
1657
  return res;
1658
1658
  },
@@ -1663,7 +1663,7 @@ export default class Repzo {
1663
1663
  let res = await this._fetch(
1664
1664
  this.svAPIEndpoint,
1665
1665
  this.proforma._path,
1666
- params
1666
+ params,
1667
1667
  );
1668
1668
  return res;
1669
1669
  },
@@ -1671,14 +1671,14 @@ export default class Repzo {
1671
1671
  return await this._fetch(
1672
1672
  this.svAPIEndpoint,
1673
1673
  this.proforma._path + `/${id}`,
1674
- params
1674
+ params,
1675
1675
  );
1676
1676
  },
1677
1677
  create: async (body) => {
1678
1678
  let res = await this._create(
1679
1679
  this.svAPIEndpoint,
1680
1680
  this.proforma._path,
1681
- body
1681
+ body,
1682
1682
  );
1683
1683
  return res;
1684
1684
  },
@@ -1686,7 +1686,7 @@ export default class Repzo {
1686
1686
  let res = await this._update(
1687
1687
  this.svAPIEndpoint,
1688
1688
  this.proforma._path + `/${id}`,
1689
- body
1689
+ body,
1690
1690
  );
1691
1691
  return res;
1692
1692
  },
@@ -1697,7 +1697,7 @@ export default class Repzo {
1697
1697
  let res = await this._fetch(
1698
1698
  this.svAPIEndpoint,
1699
1699
  this.payment._path,
1700
- params
1700
+ params,
1701
1701
  );
1702
1702
  return res;
1703
1703
  },
@@ -1705,14 +1705,14 @@ export default class Repzo {
1705
1705
  return await this._fetch(
1706
1706
  this.svAPIEndpoint,
1707
1707
  this.payment._path + `/${id}`,
1708
- params
1708
+ params,
1709
1709
  );
1710
1710
  },
1711
1711
  create: async (body) => {
1712
1712
  let res = await this._create(
1713
1713
  this.svAPIEndpoint,
1714
1714
  this.payment._path,
1715
- body
1715
+ body,
1716
1716
  );
1717
1717
  return res;
1718
1718
  },
@@ -1720,7 +1720,7 @@ export default class Repzo {
1720
1720
  let res = await this._update(
1721
1721
  this.svAPIEndpoint,
1722
1722
  this.payment._path + `/${id}`,
1723
- body
1723
+ body,
1724
1724
  );
1725
1725
  return res;
1726
1726
  },
@@ -1731,7 +1731,7 @@ export default class Repzo {
1731
1731
  let res = await this._fetch(
1732
1732
  this.svAPIEndpoint,
1733
1733
  this.refund._path,
1734
- params
1734
+ params,
1735
1735
  );
1736
1736
  return res;
1737
1737
  },
@@ -1739,14 +1739,14 @@ export default class Repzo {
1739
1739
  return await this._fetch(
1740
1740
  this.svAPIEndpoint,
1741
1741
  this.refund._path + `/${id}`,
1742
- params
1742
+ params,
1743
1743
  );
1744
1744
  },
1745
1745
  create: async (body) => {
1746
1746
  let res = await this._create(
1747
1747
  this.svAPIEndpoint,
1748
1748
  this.refund._path,
1749
- body
1749
+ body,
1750
1750
  );
1751
1751
  return res;
1752
1752
  },
@@ -1754,7 +1754,7 @@ export default class Repzo {
1754
1754
  let res = await this._update(
1755
1755
  this.svAPIEndpoint,
1756
1756
  this.refund._path + `/${id}`,
1757
- body
1757
+ body,
1758
1758
  );
1759
1759
  return res;
1760
1760
  },
@@ -1765,7 +1765,7 @@ export default class Repzo {
1765
1765
  let res = await this._fetch(
1766
1766
  this.svAPIEndpoint,
1767
1767
  this.settlement._path,
1768
- params
1768
+ params,
1769
1769
  );
1770
1770
  return res;
1771
1771
  },
@@ -1773,14 +1773,14 @@ export default class Repzo {
1773
1773
  return await this._fetch(
1774
1774
  this.svAPIEndpoint,
1775
1775
  this.settlement._path + `/${id}`,
1776
- params
1776
+ params,
1777
1777
  );
1778
1778
  },
1779
1779
  create: async (body) => {
1780
1780
  let res = await this._create(
1781
1781
  this.svAPIEndpoint,
1782
1782
  this.settlement._path,
1783
- body
1783
+ body,
1784
1784
  );
1785
1785
  return res;
1786
1786
  },
@@ -1791,7 +1791,7 @@ export default class Repzo {
1791
1791
  let res = await this._fetch(
1792
1792
  this.svAPIEndpoint,
1793
1793
  this.check._path,
1794
- params
1794
+ params,
1795
1795
  );
1796
1796
  return res;
1797
1797
  },
@@ -1799,14 +1799,14 @@ export default class Repzo {
1799
1799
  return await this._fetch(
1800
1800
  this.svAPIEndpoint,
1801
1801
  this.check._path + `/${id}`,
1802
- params
1802
+ params,
1803
1803
  );
1804
1804
  },
1805
1805
  create: async (body) => {
1806
1806
  let res = await this._create(
1807
1807
  this.svAPIEndpoint,
1808
1808
  this.check._path,
1809
- body
1809
+ body,
1810
1810
  );
1811
1811
  return res;
1812
1812
  },
@@ -1821,7 +1821,7 @@ export default class Repzo {
1821
1821
  return await this._fetch(
1822
1822
  this.svAPIEndpoint,
1823
1823
  this.day._path + `/${id}`,
1824
- params
1824
+ params,
1825
1825
  );
1826
1826
  },
1827
1827
  create: async (body) => {
@@ -1835,7 +1835,7 @@ export default class Repzo {
1835
1835
  let res = await this._fetch(
1836
1836
  this.svAPIEndpoint,
1837
1837
  this.receivingMaterial._path,
1838
- params
1838
+ params,
1839
1839
  );
1840
1840
  return res;
1841
1841
  },
@@ -1843,14 +1843,14 @@ export default class Repzo {
1843
1843
  return await this._fetch(
1844
1844
  this.svAPIEndpoint,
1845
1845
  this.receivingMaterial._path + `/${id}`,
1846
- params
1846
+ params,
1847
1847
  );
1848
1848
  },
1849
1849
  create: async (body) => {
1850
1850
  let res = await this._create(
1851
1851
  this.svAPIEndpoint,
1852
1852
  this.receivingMaterial._path,
1853
- body
1853
+ body,
1854
1854
  );
1855
1855
  return res;
1856
1856
  },
@@ -1858,7 +1858,7 @@ export default class Repzo {
1858
1858
  let res = await this._update(
1859
1859
  this.svAPIEndpoint,
1860
1860
  this.receivingMaterial._path + `/${id}`,
1861
- body
1861
+ body,
1862
1862
  );
1863
1863
  return res;
1864
1864
  },
@@ -1869,7 +1869,7 @@ export default class Repzo {
1869
1869
  let res = await this._fetch(
1870
1870
  this.svAPIEndpoint,
1871
1871
  this.adjustAccount._path,
1872
- params
1872
+ params,
1873
1873
  );
1874
1874
  return res;
1875
1875
  },
@@ -1877,14 +1877,14 @@ export default class Repzo {
1877
1877
  return await this._fetch(
1878
1878
  this.svAPIEndpoint,
1879
1879
  this.adjustAccount._path + `/${id}`,
1880
- params
1880
+ params,
1881
1881
  );
1882
1882
  },
1883
1883
  create: async (body) => {
1884
1884
  let res = await this._create(
1885
1885
  this.svAPIEndpoint,
1886
1886
  this.adjustAccount._path,
1887
- body
1887
+ body,
1888
1888
  );
1889
1889
  return res;
1890
1890
  },
@@ -1895,7 +1895,7 @@ export default class Repzo {
1895
1895
  let res = await this._fetch(
1896
1896
  this.svAPIEndpoint,
1897
1897
  this.transfer._path,
1898
- params
1898
+ params,
1899
1899
  );
1900
1900
  return res;
1901
1901
  },
@@ -1903,14 +1903,14 @@ export default class Repzo {
1903
1903
  return await this._fetch(
1904
1904
  this.svAPIEndpoint,
1905
1905
  this.transfer._path + `/${id}`,
1906
- params
1906
+ params,
1907
1907
  );
1908
1908
  },
1909
1909
  create: async (body) => {
1910
1910
  let res = await this._create(
1911
1911
  this.svAPIEndpoint,
1912
1912
  this.transfer._path,
1913
- body
1913
+ body,
1914
1914
  );
1915
1915
  return res;
1916
1916
  },
@@ -1918,7 +1918,7 @@ export default class Repzo {
1918
1918
  let res = await this._update(
1919
1919
  this.svAPIEndpoint,
1920
1920
  this.transfer._path + `/${id}`,
1921
- body
1921
+ body,
1922
1922
  );
1923
1923
  return res;
1924
1924
  },
@@ -1933,7 +1933,7 @@ export default class Repzo {
1933
1933
  return await this._fetch(
1934
1934
  this.svAPIEndpoint,
1935
1935
  this.msl._path + `/${id}`,
1936
- params
1936
+ params,
1937
1937
  );
1938
1938
  },
1939
1939
  create: async (body) => {
@@ -1944,14 +1944,14 @@ export default class Repzo {
1944
1944
  let res = await this._update(
1945
1945
  this.svAPIEndpoint,
1946
1946
  this.msl._path + `/${id}`,
1947
- body
1947
+ body,
1948
1948
  );
1949
1949
  return res;
1950
1950
  },
1951
1951
  remove: async (id) => {
1952
1952
  let res = await this._delete(
1953
1953
  this.svAPIEndpoint,
1954
- this.msl._path + `/${id}`
1954
+ this.msl._path + `/${id}`,
1955
1955
  );
1956
1956
  return res;
1957
1957
  },
@@ -1962,7 +1962,7 @@ export default class Repzo {
1962
1962
  let res = await this._fetch(
1963
1963
  this.svAPIEndpoint,
1964
1964
  this.mslProduct._path,
1965
- params
1965
+ params,
1966
1966
  );
1967
1967
  return res;
1968
1968
  },
@@ -1970,14 +1970,14 @@ export default class Repzo {
1970
1970
  return await this._fetch(
1971
1971
  this.svAPIEndpoint,
1972
1972
  this.mslProduct._path + `/${id}`,
1973
- params
1973
+ params,
1974
1974
  );
1975
1975
  },
1976
1976
  create: async (body) => {
1977
1977
  let res = await this._create(
1978
1978
  this.svAPIEndpoint,
1979
1979
  this.mslProduct._path,
1980
- body
1980
+ body,
1981
1981
  );
1982
1982
  return res;
1983
1983
  },
@@ -1985,14 +1985,14 @@ export default class Repzo {
1985
1985
  let res = await this._update(
1986
1986
  this.svAPIEndpoint,
1987
1987
  this.mslProduct._path + `/${id}`,
1988
- body
1988
+ body,
1989
1989
  );
1990
1990
  return res;
1991
1991
  },
1992
1992
  remove: async (id) => {
1993
1993
  let res = await this._delete(
1994
1994
  this.svAPIEndpoint,
1995
- this.mslProduct._path + `/${id}`
1995
+ this.mslProduct._path + `/${id}`,
1996
1996
  );
1997
1997
  return res;
1998
1998
  },
@@ -2003,7 +2003,7 @@ export default class Repzo {
2003
2003
  let res = await this._fetch(
2004
2004
  this.svAPIEndpoint,
2005
2005
  this.mediaStorage._path,
2006
- params
2006
+ params,
2007
2007
  );
2008
2008
  return res;
2009
2009
  },
@@ -2011,14 +2011,14 @@ export default class Repzo {
2011
2011
  return await this._fetch(
2012
2012
  this.svAPIEndpoint,
2013
2013
  this.mediaStorage._path + `/${id}`,
2014
- params
2014
+ params,
2015
2015
  );
2016
2016
  },
2017
2017
  create: async (body) => {
2018
2018
  let res = await this._create(
2019
2019
  this.svAPIEndpoint,
2020
2020
  this.mediaStorage._path,
2021
- body
2021
+ body,
2022
2022
  );
2023
2023
  return res;
2024
2024
  },
@@ -2026,14 +2026,14 @@ export default class Repzo {
2026
2026
  let res = await this._update(
2027
2027
  this.svAPIEndpoint,
2028
2028
  this.mediaStorage._path + `/${id}`,
2029
- body
2029
+ body,
2030
2030
  );
2031
2031
  return res;
2032
2032
  },
2033
2033
  remove: async (id) => {
2034
2034
  let res = await this._delete(
2035
2035
  this.svAPIEndpoint,
2036
- this.mediaStorage._path + `/${id}`
2036
+ this.mediaStorage._path + `/${id}`,
2037
2037
  );
2038
2038
  return res;
2039
2039
  },
@@ -2044,7 +2044,7 @@ export default class Repzo {
2044
2044
  let res = await this._fetch(
2045
2045
  this.svAPIEndpoint,
2046
2046
  this.storecheckTemplate._path,
2047
- params
2047
+ params,
2048
2048
  );
2049
2049
  return res;
2050
2050
  },
@@ -2052,14 +2052,14 @@ export default class Repzo {
2052
2052
  return await this._fetch(
2053
2053
  this.svAPIEndpoint,
2054
2054
  this.storecheckTemplate._path + `/${id}`,
2055
- params
2055
+ params,
2056
2056
  );
2057
2057
  },
2058
2058
  create: async (body) => {
2059
2059
  let res = await this._create(
2060
2060
  this.svAPIEndpoint,
2061
2061
  this.storecheckTemplate._path,
2062
- body
2062
+ body,
2063
2063
  );
2064
2064
  return res;
2065
2065
  },
@@ -2067,14 +2067,14 @@ export default class Repzo {
2067
2067
  let res = await this._update(
2068
2068
  this.svAPIEndpoint,
2069
2069
  this.storecheckTemplate._path + `/${id}`,
2070
- body
2070
+ body,
2071
2071
  );
2072
2072
  return res;
2073
2073
  },
2074
2074
  remove: async (id) => {
2075
2075
  let res = await this._delete(
2076
2076
  this.svAPIEndpoint,
2077
- this.storecheckTemplate._path + `/${id}`
2077
+ this.storecheckTemplate._path + `/${id}`,
2078
2078
  );
2079
2079
  return res;
2080
2080
  },
@@ -2085,7 +2085,7 @@ export default class Repzo {
2085
2085
  let res = await this._fetch(
2086
2086
  this.svAPIEndpoint,
2087
2087
  this.activityStorecheck._path,
2088
- params
2088
+ params,
2089
2089
  );
2090
2090
  return res;
2091
2091
  },
@@ -2093,14 +2093,14 @@ export default class Repzo {
2093
2093
  return await this._fetch(
2094
2094
  this.svAPIEndpoint,
2095
2095
  this.activityStorecheck._path + `/${id}`,
2096
- params
2096
+ params,
2097
2097
  );
2098
2098
  },
2099
2099
  create: async (body) => {
2100
2100
  let res = await this._create(
2101
2101
  this.svAPIEndpoint,
2102
2102
  this.activityStorecheck._path,
2103
- body
2103
+ body,
2104
2104
  );
2105
2105
  return res;
2106
2106
  },
@@ -2108,7 +2108,7 @@ export default class Repzo {
2108
2108
  let res = await this._update(
2109
2109
  this.svAPIEndpoint,
2110
2110
  this.activityStorecheck._path + `/${id}`,
2111
- body
2111
+ body,
2112
2112
  );
2113
2113
  return res;
2114
2114
  },
@@ -2119,7 +2119,7 @@ export default class Repzo {
2119
2119
  let res = await this._fetch(
2120
2120
  this.svAPIEndpoint,
2121
2121
  this.adjustInventory._path,
2122
- params
2122
+ params,
2123
2123
  );
2124
2124
  return res;
2125
2125
  },
@@ -2127,14 +2127,14 @@ export default class Repzo {
2127
2127
  return await this._fetch(
2128
2128
  this.svAPIEndpoint,
2129
2129
  this.adjustInventory._path + `/${id}`,
2130
- params
2130
+ params,
2131
2131
  );
2132
2132
  },
2133
2133
  create: async (body) => {
2134
2134
  let res = await this._create(
2135
2135
  this.svAPIEndpoint,
2136
2136
  this.adjustInventory._path,
2137
- body
2137
+ body,
2138
2138
  );
2139
2139
  return res;
2140
2140
  },
@@ -2145,7 +2145,7 @@ export default class Repzo {
2145
2145
  let res = await this._fetch(
2146
2146
  this.svAPIEndpoint,
2147
2147
  this.inventory._path,
2148
- params
2148
+ params,
2149
2149
  );
2150
2150
  return res;
2151
2151
  },
@@ -2156,7 +2156,7 @@ export default class Repzo {
2156
2156
  let res = await this._fetch(
2157
2157
  this.svAPIEndpoint,
2158
2158
  this.integrationApp._path,
2159
- params
2159
+ params,
2160
2160
  );
2161
2161
  return res;
2162
2162
  },
@@ -2164,14 +2164,14 @@ export default class Repzo {
2164
2164
  return await this._fetch(
2165
2165
  this.svAPIEndpoint,
2166
2166
  this.integrationApp._path + `/${id}`,
2167
- params
2167
+ params,
2168
2168
  );
2169
2169
  },
2170
2170
  create: async (body) => {
2171
2171
  let res = await this._create(
2172
2172
  this.svAPIEndpoint,
2173
2173
  this.integrationApp._path,
2174
- body
2174
+ body,
2175
2175
  );
2176
2176
  return res;
2177
2177
  },
@@ -2179,7 +2179,7 @@ export default class Repzo {
2179
2179
  let res = await this._update(
2180
2180
  this.svAPIEndpoint,
2181
2181
  this.integrationApp._path + `/${id}`,
2182
- body
2182
+ body,
2183
2183
  );
2184
2184
  return res;
2185
2185
  },
@@ -2190,7 +2190,7 @@ export default class Repzo {
2190
2190
  let res = await this._update(
2191
2191
  this.svAPIEndpoint,
2192
2192
  this.joinActionsWebHook._path,
2193
- body
2193
+ body,
2194
2194
  );
2195
2195
  return res;
2196
2196
  },
@@ -2202,7 +2202,7 @@ export default class Repzo {
2202
2202
  this.svAPIEndpoint,
2203
2203
  this.patchAction._path,
2204
2204
  body,
2205
- params
2205
+ params,
2206
2206
  );
2207
2207
  return res;
2208
2208
  },
@@ -2210,7 +2210,7 @@ export default class Repzo {
2210
2210
  const res = await this._update(
2211
2211
  this.svAPIEndpoint,
2212
2212
  this.patchAction._path,
2213
- body
2213
+ body,
2214
2214
  );
2215
2215
  return res;
2216
2216
  },
@@ -2222,7 +2222,7 @@ export default class Repzo {
2222
2222
  this.svAPIEndpoint,
2223
2223
  this.updateIntegrationMeta._path,
2224
2224
  body,
2225
- params
2225
+ params,
2226
2226
  );
2227
2227
  return res;
2228
2228
  },
@@ -2233,21 +2233,21 @@ export default class Repzo {
2233
2233
  let res = await this._fetch(
2234
2234
  this.svAPIEndpoint,
2235
2235
  this.assetPartType._path,
2236
- params
2236
+ params,
2237
2237
  );
2238
2238
  return res;
2239
2239
  },
2240
2240
  get: async (id) => {
2241
2241
  return await this._fetch(
2242
2242
  this.svAPIEndpoint,
2243
- this.assetPartType._path + `/${id}`
2243
+ this.assetPartType._path + `/${id}`,
2244
2244
  );
2245
2245
  },
2246
2246
  create: async (body) => {
2247
2247
  let res = await this._create(
2248
2248
  this.svAPIEndpoint,
2249
2249
  this.assetPartType._path,
2250
- body
2250
+ body,
2251
2251
  );
2252
2252
  return res;
2253
2253
  },
@@ -2255,14 +2255,14 @@ export default class Repzo {
2255
2255
  let res = await this._update(
2256
2256
  this.svAPIEndpoint,
2257
2257
  this.assetPartType._path + `/${id}`,
2258
- body
2258
+ body,
2259
2259
  );
2260
2260
  return res;
2261
2261
  },
2262
2262
  remove: async (id) => {
2263
2263
  let res = await this._delete(
2264
2264
  this.svAPIEndpoint,
2265
- this.assetPartType._path + `/${id}`
2265
+ this.assetPartType._path + `/${id}`,
2266
2266
  );
2267
2267
  return res;
2268
2268
  },
@@ -2273,7 +2273,7 @@ export default class Repzo {
2273
2273
  let res = await this._fetch(
2274
2274
  this.svAPIEndpoint,
2275
2275
  this.assetPart._path,
2276
- params
2276
+ params,
2277
2277
  );
2278
2278
  return res;
2279
2279
  },
@@ -2281,14 +2281,14 @@ export default class Repzo {
2281
2281
  return await this._fetch(
2282
2282
  this.svAPIEndpoint,
2283
2283
  this.assetPart._path + `/${id}`,
2284
- params
2284
+ params,
2285
2285
  );
2286
2286
  },
2287
2287
  create: async (body) => {
2288
2288
  let res = await this._create(
2289
2289
  this.svAPIEndpoint,
2290
2290
  this.assetPart._path,
2291
- body
2291
+ body,
2292
2292
  );
2293
2293
  return res;
2294
2294
  },
@@ -2296,14 +2296,14 @@ export default class Repzo {
2296
2296
  let res = await this._update(
2297
2297
  this.svAPIEndpoint,
2298
2298
  this.assetPart._path + `/${id}`,
2299
- body
2299
+ body,
2300
2300
  );
2301
2301
  return res;
2302
2302
  },
2303
2303
  remove: async (id) => {
2304
2304
  let res = await this._delete(
2305
2305
  this.svAPIEndpoint,
2306
- this.assetPart._path + `/${id}`
2306
+ this.assetPart._path + `/${id}`,
2307
2307
  );
2308
2308
  return res;
2309
2309
  },
@@ -2314,7 +2314,7 @@ export default class Repzo {
2314
2314
  let res = await this._fetch(
2315
2315
  this.svAPIEndpoint,
2316
2316
  this.assetPartUnit._path,
2317
- params
2317
+ params,
2318
2318
  );
2319
2319
  return res;
2320
2320
  },
@@ -2322,14 +2322,14 @@ export default class Repzo {
2322
2322
  return await this._fetch(
2323
2323
  this.svAPIEndpoint,
2324
2324
  this.assetPartUnit._path + `/${id}`,
2325
- params
2325
+ params,
2326
2326
  );
2327
2327
  },
2328
2328
  update: async (id, body) => {
2329
2329
  let res = await this._update(
2330
2330
  this.svAPIEndpoint,
2331
2331
  this.assetPartUnit._path + `/${id}`,
2332
- body
2332
+ body,
2333
2333
  );
2334
2334
  return res;
2335
2335
  },
@@ -2340,7 +2340,7 @@ export default class Repzo {
2340
2340
  let res = await this._fetch(
2341
2341
  this.svAPIEndpoint,
2342
2342
  this.assetPartReceival._path,
2343
- params
2343
+ params,
2344
2344
  );
2345
2345
  return res;
2346
2346
  },
@@ -2348,14 +2348,14 @@ export default class Repzo {
2348
2348
  return await this._fetch(
2349
2349
  this.svAPIEndpoint,
2350
2350
  this.assetPartReceival._path + `/${id}`,
2351
- params
2351
+ params,
2352
2352
  );
2353
2353
  },
2354
2354
  create: async (body) => {
2355
2355
  let res = await this._create(
2356
2356
  this.svAPIEndpoint,
2357
2357
  this.assetPartReceival._path,
2358
- body
2358
+ body,
2359
2359
  );
2360
2360
  return res;
2361
2361
  },
@@ -2363,7 +2363,7 @@ export default class Repzo {
2363
2363
  let res = await this._update(
2364
2364
  this.svAPIEndpoint,
2365
2365
  this.assetPartReceival._path + `/${id}`,
2366
- body
2366
+ body,
2367
2367
  );
2368
2368
  return res;
2369
2369
  },
@@ -2372,7 +2372,7 @@ export default class Repzo {
2372
2372
  this.svAPIEndpoint,
2373
2373
  this.assetPartReceival._path,
2374
2374
  body,
2375
- params
2375
+ params,
2376
2376
  );
2377
2377
  return res;
2378
2378
  },
@@ -2383,7 +2383,7 @@ export default class Repzo {
2383
2383
  let res = await this._fetch(
2384
2384
  this.svAPIEndpoint,
2385
2385
  this.assetPartTransfer._path,
2386
- params
2386
+ params,
2387
2387
  );
2388
2388
  return res;
2389
2389
  },
@@ -2391,14 +2391,14 @@ export default class Repzo {
2391
2391
  return await this._fetch(
2392
2392
  this.svAPIEndpoint,
2393
2393
  this.assetPartTransfer._path + `/${id}`,
2394
- params
2394
+ params,
2395
2395
  );
2396
2396
  },
2397
2397
  create: async (body) => {
2398
2398
  let res = await this._create(
2399
2399
  this.svAPIEndpoint,
2400
2400
  this.assetPartTransfer._path,
2401
- body
2401
+ body,
2402
2402
  );
2403
2403
  return res;
2404
2404
  },
@@ -2406,7 +2406,7 @@ export default class Repzo {
2406
2406
  let res = await this._update(
2407
2407
  this.svAPIEndpoint,
2408
2408
  this.assetPartTransfer._path + `/${id}`,
2409
- body
2409
+ body,
2410
2410
  );
2411
2411
  return res;
2412
2412
  },
@@ -2415,7 +2415,7 @@ export default class Repzo {
2415
2415
  this.svAPIEndpoint,
2416
2416
  this.assetPartTransfer._path,
2417
2417
  body,
2418
- params
2418
+ params,
2419
2419
  );
2420
2420
  return res;
2421
2421
  },
@@ -2426,7 +2426,7 @@ export default class Repzo {
2426
2426
  let res = await this._fetch(
2427
2427
  this.svAPIEndpoint,
2428
2428
  this.returnAssetPartUnit._path,
2429
- params
2429
+ params,
2430
2430
  );
2431
2431
  return res;
2432
2432
  },
@@ -2434,14 +2434,14 @@ export default class Repzo {
2434
2434
  return await this._fetch(
2435
2435
  this.svAPIEndpoint,
2436
2436
  this.returnAssetPartUnit._path + `/${id}`,
2437
- params
2437
+ params,
2438
2438
  );
2439
2439
  },
2440
2440
  create: async (body) => {
2441
2441
  let res = await this._create(
2442
2442
  this.svAPIEndpoint,
2443
2443
  this.returnAssetPartUnit._path,
2444
- body
2444
+ body,
2445
2445
  );
2446
2446
  return res;
2447
2447
  },
@@ -2449,7 +2449,7 @@ export default class Repzo {
2449
2449
  let res = await this._update(
2450
2450
  this.svAPIEndpoint,
2451
2451
  this.returnAssetPartUnit._path + `/${id}`,
2452
- body
2452
+ body,
2453
2453
  );
2454
2454
  return res;
2455
2455
  },
@@ -2458,7 +2458,7 @@ export default class Repzo {
2458
2458
  this.svAPIEndpoint,
2459
2459
  this.returnAssetPartUnit._path,
2460
2460
  body,
2461
- params
2461
+ params,
2462
2462
  );
2463
2463
  return res;
2464
2464
  },
@@ -2469,7 +2469,7 @@ export default class Repzo {
2469
2469
  let res = await this._fetch(
2470
2470
  this.svAPIEndpoint,
2471
2471
  this.storeAssetPartUnit._path,
2472
- params
2472
+ params,
2473
2473
  );
2474
2474
  return res;
2475
2475
  },
@@ -2477,14 +2477,14 @@ export default class Repzo {
2477
2477
  return await this._fetch(
2478
2478
  this.svAPIEndpoint,
2479
2479
  this.storeAssetPartUnit._path + `/${id}`,
2480
- params
2480
+ params,
2481
2481
  );
2482
2482
  },
2483
2483
  create: async (body) => {
2484
2484
  let res = await this._create(
2485
2485
  this.svAPIEndpoint,
2486
2486
  this.storeAssetPartUnit._path,
2487
- body
2487
+ body,
2488
2488
  );
2489
2489
  return res;
2490
2490
  },
@@ -2492,7 +2492,7 @@ export default class Repzo {
2492
2492
  let res = await this._update(
2493
2493
  this.svAPIEndpoint,
2494
2494
  this.storeAssetPartUnit._path + `/${id}`,
2495
- body
2495
+ body,
2496
2496
  );
2497
2497
  return res;
2498
2498
  },
@@ -2501,7 +2501,7 @@ export default class Repzo {
2501
2501
  this.svAPIEndpoint,
2502
2502
  this.storeAssetPartUnit._path,
2503
2503
  body,
2504
- params
2504
+ params,
2505
2505
  );
2506
2506
  return res;
2507
2507
  },
@@ -2512,21 +2512,21 @@ export default class Repzo {
2512
2512
  let res = await this._fetch(
2513
2513
  this.svAPIEndpoint,
2514
2514
  this.ocrInvoiceJobTemplate._path,
2515
- params
2515
+ params,
2516
2516
  );
2517
2517
  return res;
2518
2518
  },
2519
2519
  get: async (id) => {
2520
2520
  return await this._fetch(
2521
2521
  this.svAPIEndpoint,
2522
- this.ocrInvoiceJobTemplate._path + `/${id}`
2522
+ this.ocrInvoiceJobTemplate._path + `/${id}`,
2523
2523
  );
2524
2524
  },
2525
2525
  create: async (body) => {
2526
2526
  let res = await this._create(
2527
2527
  this.svAPIEndpoint,
2528
2528
  this.ocrInvoiceJobTemplate._path,
2529
- body
2529
+ body,
2530
2530
  );
2531
2531
  return res;
2532
2532
  },
@@ -2534,7 +2534,7 @@ export default class Repzo {
2534
2534
  let res = await this._update(
2535
2535
  this.svAPIEndpoint,
2536
2536
  this.ocrInvoiceJobTemplate._path + `/${id}`,
2537
- body
2537
+ body,
2538
2538
  );
2539
2539
  return res;
2540
2540
  },
@@ -2545,21 +2545,21 @@ export default class Repzo {
2545
2545
  let res = await this._fetch(
2546
2546
  this.svAPIEndpoint,
2547
2547
  this.ocrInvoiceJobGroup._path,
2548
- params
2548
+ params,
2549
2549
  );
2550
2550
  return res;
2551
2551
  },
2552
2552
  get: async (id) => {
2553
2553
  return await this._fetch(
2554
2554
  this.svAPIEndpoint,
2555
- this.ocrInvoiceJobGroup._path + `/${id}`
2555
+ this.ocrInvoiceJobGroup._path + `/${id}`,
2556
2556
  );
2557
2557
  },
2558
2558
  create: async (body) => {
2559
2559
  let res = await this._create(
2560
2560
  this.svAPIEndpoint,
2561
2561
  this.ocrInvoiceJobGroup._path,
2562
- body
2562
+ body,
2563
2563
  );
2564
2564
  return res;
2565
2565
  },
@@ -2570,21 +2570,21 @@ export default class Repzo {
2570
2570
  let res = await this._fetch(
2571
2571
  this.svAPIEndpoint,
2572
2572
  this.activityAiSalesOrder._path,
2573
- params
2573
+ params,
2574
2574
  );
2575
2575
  return res;
2576
2576
  },
2577
2577
  get: async (id) => {
2578
2578
  return await this._fetch(
2579
2579
  this.svAPIEndpoint,
2580
- this.activityAiSalesOrder._path + `/${id}`
2580
+ this.activityAiSalesOrder._path + `/${id}`,
2581
2581
  );
2582
2582
  },
2583
2583
  create: async (body) => {
2584
2584
  let res = await this._create(
2585
2585
  this.svAPIEndpoint,
2586
2586
  this.activityAiSalesOrder._path,
2587
- body
2587
+ body,
2588
2588
  );
2589
2589
  return res;
2590
2590
  },
@@ -2595,14 +2595,14 @@ export default class Repzo {
2595
2595
  let res = await this._fetch(
2596
2596
  this.svAPIEndpoint,
2597
2597
  this.ocrInvoiceJob._path,
2598
- params
2598
+ params,
2599
2599
  );
2600
2600
  return res;
2601
2601
  },
2602
2602
  get: async (id) => {
2603
2603
  return await this._fetch(
2604
2604
  this.svAPIEndpoint,
2605
- this.ocrInvoiceJob._path + `/${id}`
2605
+ this.ocrInvoiceJob._path + `/${id}`,
2606
2606
  );
2607
2607
  },
2608
2608
  };
@@ -2612,21 +2612,21 @@ export default class Repzo {
2612
2612
  let res = await this._fetch(
2613
2613
  this.svAPIEndpoint,
2614
2614
  this.ocrInvoiceJobPage._path,
2615
- params
2615
+ params,
2616
2616
  );
2617
2617
  return res;
2618
2618
  },
2619
2619
  get: async (id) => {
2620
2620
  return await this._fetch(
2621
2621
  this.svAPIEndpoint,
2622
- this.ocrInvoiceJobPage._path + `/${id}`
2622
+ this.ocrInvoiceJobPage._path + `/${id}`,
2623
2623
  );
2624
2624
  },
2625
2625
  update: async (id, body) => {
2626
2626
  let res = await this._update(
2627
2627
  this.svAPIEndpoint,
2628
2628
  this.ocrInvoiceJobPage._path + `/${id}`,
2629
- body
2629
+ body,
2630
2630
  );
2631
2631
  return res;
2632
2632
  },
@@ -2637,21 +2637,21 @@ export default class Repzo {
2637
2637
  let res = await this._fetch(
2638
2638
  this.svAPIEndpoint,
2639
2639
  this.settings._path,
2640
- params
2640
+ params,
2641
2641
  );
2642
2642
  return res;
2643
2643
  },
2644
2644
  get: async (id) => {
2645
2645
  return await this._fetch(
2646
2646
  this.svAPIEndpoint,
2647
- this.settings._path + `/${id}`
2647
+ this.settings._path + `/${id}`,
2648
2648
  );
2649
2649
  },
2650
2650
  update: async (id, body) => {
2651
2651
  let res = await this._update(
2652
2652
  this.svAPIEndpoint,
2653
2653
  this.settings._path + `/${id}`,
2654
- body
2654
+ body,
2655
2655
  );
2656
2656
  return res;
2657
2657
  },
@@ -2661,7 +2661,7 @@ export default class Repzo {
2661
2661
  get: async (id) => {
2662
2662
  return await this._fetch(
2663
2663
  this.svAPIEndpoint,
2664
- this.ocrInvoiceJobPage._path + `/${id}`
2664
+ this.ocrInvoiceJobPage._path + `/${id}`,
2665
2665
  );
2666
2666
  },
2667
2667
  create: async (params) => {
@@ -2669,7 +2669,7 @@ export default class Repzo {
2669
2669
  this.svAPIEndpoint,
2670
2670
  this.activityAiSalesOrder._path,
2671
2671
  {},
2672
- params
2672
+ params,
2673
2673
  );
2674
2674
  return res;
2675
2675
  },
@@ -2680,7 +2680,7 @@ export default class Repzo {
2680
2680
  let res = await this._fetch(
2681
2681
  this.svAPIEndpoint,
2682
2682
  this.approvalRequest._path,
2683
- params
2683
+ params,
2684
2684
  );
2685
2685
  return res;
2686
2686
  },
@@ -2688,14 +2688,14 @@ export default class Repzo {
2688
2688
  return await this._fetch(
2689
2689
  this.svAPIEndpoint,
2690
2690
  this.approvalRequest._path + `/${id}`,
2691
- params
2691
+ params,
2692
2692
  );
2693
2693
  },
2694
2694
  create: async (body) => {
2695
2695
  let res = await this._create(
2696
2696
  this.svAPIEndpoint,
2697
2697
  this.approvalRequest._path,
2698
- body
2698
+ body,
2699
2699
  );
2700
2700
  return res;
2701
2701
  },
@@ -2703,7 +2703,7 @@ export default class Repzo {
2703
2703
  let res = await this._update(
2704
2704
  this.svAPIEndpoint,
2705
2705
  this.approvalRequest._path + `/${id}`,
2706
- body
2706
+ body,
2707
2707
  );
2708
2708
  return res;
2709
2709
  },
@@ -2711,7 +2711,7 @@ export default class Repzo {
2711
2711
  let res = await this._delete(
2712
2712
  this.svAPIEndpoint,
2713
2713
  this.approvalRequest._path + `/${id}`,
2714
- params
2714
+ params,
2715
2715
  );
2716
2716
  return res;
2717
2717
  },
@@ -2722,7 +2722,7 @@ export default class Repzo {
2722
2722
  let res = await this._update(
2723
2723
  this.svAPIEndpoint,
2724
2724
  this.safeInvoiceSerialCounter._path + `/${id}`,
2725
- body
2725
+ body,
2726
2726
  );
2727
2727
  return res;
2728
2728
  },
@@ -2733,7 +2733,7 @@ export default class Repzo {
2733
2733
  let res = await this._fetch(
2734
2734
  this.svAPIEndpoint,
2735
2735
  this.clientLocation._path,
2736
- params
2736
+ params,
2737
2737
  );
2738
2738
  return res;
2739
2739
  },
@@ -2741,14 +2741,14 @@ export default class Repzo {
2741
2741
  return await this._fetch(
2742
2742
  this.svAPIEndpoint,
2743
2743
  this.clientLocation._path + `/${id}`,
2744
- params
2744
+ params,
2745
2745
  );
2746
2746
  },
2747
2747
  create: async (body) => {
2748
2748
  let res = await this._create(
2749
2749
  this.svAPIEndpoint,
2750
2750
  this.clientLocation._path,
2751
- body
2751
+ body,
2752
2752
  );
2753
2753
  return res;
2754
2754
  },
@@ -2756,7 +2756,7 @@ export default class Repzo {
2756
2756
  let res = await this._update(
2757
2757
  this.svAPIEndpoint,
2758
2758
  this.clientLocation._path + `/${id}`,
2759
- body
2759
+ body,
2760
2760
  );
2761
2761
  return res;
2762
2762
  },
@@ -2764,7 +2764,7 @@ export default class Repzo {
2764
2764
  let res = await this._delete(
2765
2765
  this.svAPIEndpoint,
2766
2766
  this.clientLocation._path + `/${id}`,
2767
- params
2767
+ params,
2768
2768
  );
2769
2769
  return res;
2770
2770
  },
@@ -2775,21 +2775,21 @@ export default class Repzo {
2775
2775
  let res = await this._fetch(
2776
2776
  this.svAPIEndpoint,
2777
2777
  this.assetType._path,
2778
- params
2778
+ params,
2779
2779
  );
2780
2780
  return res;
2781
2781
  },
2782
2782
  get: async (id) => {
2783
2783
  return await this._fetch(
2784
2784
  this.svAPIEndpoint,
2785
- this.assetType._path + `/${id}`
2785
+ this.assetType._path + `/${id}`,
2786
2786
  );
2787
2787
  },
2788
2788
  create: async (body) => {
2789
2789
  let res = await this._create(
2790
2790
  this.svAPIEndpoint,
2791
2791
  this.assetType._path,
2792
- body
2792
+ body,
2793
2793
  );
2794
2794
  return res;
2795
2795
  },
@@ -2797,7 +2797,7 @@ export default class Repzo {
2797
2797
  let res = await this._update(
2798
2798
  this.svAPIEndpoint,
2799
2799
  this.assetType._path + `/${id}`,
2800
- body
2800
+ body,
2801
2801
  );
2802
2802
  return res;
2803
2803
  },
@@ -2805,7 +2805,7 @@ export default class Repzo {
2805
2805
  let res = await this._delete(
2806
2806
  this.svAPIEndpoint,
2807
2807
  this.assetType._path + `/${id}`,
2808
- params
2808
+ params,
2809
2809
  );
2810
2810
  return res;
2811
2811
  },
@@ -2816,7 +2816,7 @@ export default class Repzo {
2816
2816
  let res = await this._fetch(
2817
2817
  this.svAPIEndpoint,
2818
2818
  this.asset._path,
2819
- params
2819
+ params,
2820
2820
  );
2821
2821
  return res;
2822
2822
  },
@@ -2824,14 +2824,14 @@ export default class Repzo {
2824
2824
  return await this._fetch(
2825
2825
  this.svAPIEndpoint,
2826
2826
  this.asset._path + `/${id}`,
2827
- params
2827
+ params,
2828
2828
  );
2829
2829
  },
2830
2830
  create: async (body) => {
2831
2831
  let res = await this._create(
2832
2832
  this.svAPIEndpoint,
2833
2833
  this.asset._path,
2834
- body
2834
+ body,
2835
2835
  );
2836
2836
  return res;
2837
2837
  },
@@ -2839,7 +2839,7 @@ export default class Repzo {
2839
2839
  let res = await this._update(
2840
2840
  this.svAPIEndpoint,
2841
2841
  this.asset._path + `/${id}`,
2842
- body
2842
+ body,
2843
2843
  );
2844
2844
  return res;
2845
2845
  },
@@ -2847,7 +2847,7 @@ export default class Repzo {
2847
2847
  let res = await this._delete(
2848
2848
  this.svAPIEndpoint,
2849
2849
  this.asset._path + `/${id}`,
2850
- params
2850
+ params,
2851
2851
  );
2852
2852
  return res;
2853
2853
  },
@@ -2858,7 +2858,7 @@ export default class Repzo {
2858
2858
  let res = await this._fetch(
2859
2859
  this.svAPIEndpoint,
2860
2860
  this.assetUnit._path,
2861
- params
2861
+ params,
2862
2862
  );
2863
2863
  return res;
2864
2864
  },
@@ -2866,14 +2866,14 @@ export default class Repzo {
2866
2866
  return await this._fetch(
2867
2867
  this.svAPIEndpoint,
2868
2868
  this.assetUnit._path + `/${id}`,
2869
- params
2869
+ params,
2870
2870
  );
2871
2871
  },
2872
2872
  create: async (body) => {
2873
2873
  let res = await this._create(
2874
2874
  this.svAPIEndpoint,
2875
2875
  this.assetUnit._path,
2876
- body
2876
+ body,
2877
2877
  );
2878
2878
  return res;
2879
2879
  },
@@ -2881,7 +2881,7 @@ export default class Repzo {
2881
2881
  let res = await this._update(
2882
2882
  this.svAPIEndpoint,
2883
2883
  this.assetUnit._path + `/${id}`,
2884
- body
2884
+ body,
2885
2885
  );
2886
2886
  return res;
2887
2887
  },
@@ -2889,7 +2889,7 @@ export default class Repzo {
2889
2889
  let res = await this._delete(
2890
2890
  this.svAPIEndpoint,
2891
2891
  this.assetUnit._path + `/${id}`,
2892
- params
2892
+ params,
2893
2893
  );
2894
2894
  return res;
2895
2895
  },
@@ -2900,7 +2900,7 @@ export default class Repzo {
2900
2900
  let res = await this._fetch(
2901
2901
  this.svAPIEndpoint,
2902
2902
  this.workorderPortal._path,
2903
- params
2903
+ params,
2904
2904
  );
2905
2905
  return res;
2906
2906
  },
@@ -2908,14 +2908,14 @@ export default class Repzo {
2908
2908
  return await this._fetch(
2909
2909
  this.svAPIEndpoint,
2910
2910
  this.workorderPortal._path + `/${id}`,
2911
- params
2911
+ params,
2912
2912
  );
2913
2913
  },
2914
2914
  create: async (body) => {
2915
2915
  let res = await this._create(
2916
2916
  this.svAPIEndpoint,
2917
2917
  this.workorderPortal._path,
2918
- body
2918
+ body,
2919
2919
  );
2920
2920
  return res;
2921
2921
  },
@@ -2923,14 +2923,14 @@ export default class Repzo {
2923
2923
  let res = await this._update(
2924
2924
  this.svAPIEndpoint,
2925
2925
  this.workorderPortal._path + `/${id}`,
2926
- body
2926
+ body,
2927
2927
  );
2928
2928
  return res;
2929
2929
  },
2930
2930
  remove: async (id) => {
2931
2931
  let res = await this._delete(
2932
2932
  this.svAPIEndpoint,
2933
- this.workorderPortal._path + `/${id}`
2933
+ this.workorderPortal._path + `/${id}`,
2934
2934
  );
2935
2935
  return res;
2936
2936
  },
@@ -2941,7 +2941,7 @@ export default class Repzo {
2941
2941
  let res = await this._fetch(
2942
2942
  this.svAPIEndpoint,
2943
2943
  this.approval._path,
2944
- params
2944
+ params,
2945
2945
  );
2946
2946
  return res;
2947
2947
  },
@@ -2949,14 +2949,14 @@ export default class Repzo {
2949
2949
  return await this._fetch(
2950
2950
  this.svAPIEndpoint,
2951
2951
  this.approval._path + `/${id}`,
2952
- params
2952
+ params,
2953
2953
  );
2954
2954
  },
2955
2955
  create: async (body) => {
2956
2956
  let res = await this._create(
2957
2957
  this.svAPIEndpoint,
2958
2958
  this.approval._path,
2959
- body
2959
+ body,
2960
2960
  );
2961
2961
  return res;
2962
2962
  },
@@ -2964,14 +2964,14 @@ export default class Repzo {
2964
2964
  let res = await this._update(
2965
2965
  this.svAPIEndpoint,
2966
2966
  this.approval._path + `/${id}`,
2967
- body
2967
+ body,
2968
2968
  );
2969
2969
  return res;
2970
2970
  },
2971
2971
  remove: async (id) => {
2972
2972
  let res = await this._delete(
2973
2973
  this.svAPIEndpoint,
2974
- this.approval._path + `/${id}`
2974
+ this.approval._path + `/${id}`,
2975
2975
  );
2976
2976
  return res;
2977
2977
  },
@@ -2982,7 +2982,7 @@ export default class Repzo {
2982
2982
  let res = await this._fetch(
2983
2983
  this.svAPIEndpoint,
2984
2984
  this.workorderCategory._path,
2985
- params
2985
+ params,
2986
2986
  );
2987
2987
  return res;
2988
2988
  },
@@ -2990,14 +2990,14 @@ export default class Repzo {
2990
2990
  return await this._fetch(
2991
2991
  this.svAPIEndpoint,
2992
2992
  this.workorderCategory._path + `/${id}`,
2993
- params
2993
+ params,
2994
2994
  );
2995
2995
  },
2996
2996
  create: async (body) => {
2997
2997
  let res = await this._create(
2998
2998
  this.svAPIEndpoint,
2999
2999
  this.workorderCategory._path,
3000
- body
3000
+ body,
3001
3001
  );
3002
3002
  return res;
3003
3003
  },
@@ -3005,14 +3005,14 @@ export default class Repzo {
3005
3005
  let res = await this._update(
3006
3006
  this.svAPIEndpoint,
3007
3007
  this.workorderCategory._path + `/${id}`,
3008
- body
3008
+ body,
3009
3009
  );
3010
3010
  return res;
3011
3011
  },
3012
3012
  remove: async (id) => {
3013
3013
  let res = await this._delete(
3014
3014
  this.svAPIEndpoint,
3015
- this.workorderCategory._path + `/${id}`
3015
+ this.workorderCategory._path + `/${id}`,
3016
3016
  );
3017
3017
  return res;
3018
3018
  },
@@ -3023,7 +3023,7 @@ export default class Repzo {
3023
3023
  let res = await this._fetch(
3024
3024
  this.svAPIEndpoint,
3025
3025
  this.contract._path,
3026
- params
3026
+ params,
3027
3027
  );
3028
3028
  return res;
3029
3029
  },
@@ -3031,14 +3031,14 @@ export default class Repzo {
3031
3031
  return await this._fetch(
3032
3032
  this.svAPIEndpoint,
3033
3033
  this.contract._path + `/${id}`,
3034
- params
3034
+ params,
3035
3035
  );
3036
3036
  },
3037
3037
  create: async (body) => {
3038
3038
  let res = await this._create(
3039
3039
  this.svAPIEndpoint,
3040
3040
  this.contract._path,
3041
- body
3041
+ body,
3042
3042
  );
3043
3043
  return res;
3044
3044
  },
@@ -3046,14 +3046,14 @@ export default class Repzo {
3046
3046
  let res = await this._update(
3047
3047
  this.svAPIEndpoint,
3048
3048
  this.contract._path + `/${id}`,
3049
- body
3049
+ body,
3050
3050
  );
3051
3051
  return res;
3052
3052
  },
3053
3053
  remove: async (id) => {
3054
3054
  let res = await this._delete(
3055
3055
  this.svAPIEndpoint,
3056
- this.contract._path + `/${id}`
3056
+ this.contract._path + `/${id}`,
3057
3057
  );
3058
3058
  return res;
3059
3059
  },
@@ -3064,7 +3064,7 @@ export default class Repzo {
3064
3064
  let res = await this._fetch(
3065
3065
  this.svAPIEndpoint,
3066
3066
  this.contractInstallment._path,
3067
- params
3067
+ params,
3068
3068
  );
3069
3069
  return res;
3070
3070
  },
@@ -3072,14 +3072,14 @@ export default class Repzo {
3072
3072
  return await this._fetch(
3073
3073
  this.svAPIEndpoint,
3074
3074
  this.contractInstallment._path + `/${id}`,
3075
- params
3075
+ params,
3076
3076
  );
3077
3077
  },
3078
3078
  create: async (body) => {
3079
3079
  let res = await this._create(
3080
3080
  this.svAPIEndpoint,
3081
3081
  this.contractInstallment._path,
3082
- body
3082
+ body,
3083
3083
  );
3084
3084
  return res;
3085
3085
  },
@@ -3087,14 +3087,14 @@ export default class Repzo {
3087
3087
  let res = await this._update(
3088
3088
  this.svAPIEndpoint,
3089
3089
  this.contractInstallment._path + `/${id}`,
3090
- body
3090
+ body,
3091
3091
  );
3092
3092
  return res;
3093
3093
  },
3094
3094
  remove: async (id) => {
3095
3095
  let res = await this._delete(
3096
3096
  this.svAPIEndpoint,
3097
- this.contractInstallment._path + `/${id}`
3097
+ this.contractInstallment._path + `/${id}`,
3098
3098
  );
3099
3099
  return res;
3100
3100
  },
@@ -3105,7 +3105,7 @@ export default class Repzo {
3105
3105
  let res = await this._fetch(
3106
3106
  this.svAPIEndpoint,
3107
3107
  this.repBalanceSummary._path,
3108
- params
3108
+ params,
3109
3109
  );
3110
3110
  return res;
3111
3111
  },
@@ -3116,7 +3116,7 @@ export default class Repzo {
3116
3116
  let res = await this._fetch(
3117
3117
  this.svAPIEndpoint,
3118
3118
  this.workorderPortalLink._path,
3119
- params
3119
+ params,
3120
3120
  );
3121
3121
  return res;
3122
3122
  },
@@ -3124,14 +3124,14 @@ export default class Repzo {
3124
3124
  return await this._fetch(
3125
3125
  this.svAPIEndpoint,
3126
3126
  this.workorderPortalLink._path + `/${id}`,
3127
- params
3127
+ params,
3128
3128
  );
3129
3129
  },
3130
3130
  create: async (body) => {
3131
3131
  let res = await this._create(
3132
3132
  this.svAPIEndpoint,
3133
3133
  this.workorderPortalLink._path,
3134
- body
3134
+ body,
3135
3135
  );
3136
3136
  return res;
3137
3137
  },
@@ -3139,7 +3139,7 @@ export default class Repzo {
3139
3139
  let res = await this._update(
3140
3140
  this.svAPIEndpoint,
3141
3141
  this.workorderPortalLink._path + `/${id}`,
3142
- body
3142
+ body,
3143
3143
  );
3144
3144
  return res;
3145
3145
  },
@@ -3147,14 +3147,14 @@ export default class Repzo {
3147
3147
  let res = await this._patch(
3148
3148
  this.svAPIEndpoint,
3149
3149
  this.workorderPortalLink._path + `/${id}`,
3150
- body
3150
+ body,
3151
3151
  );
3152
3152
  return res;
3153
3153
  },
3154
3154
  remove: async (id) => {
3155
3155
  let res = await this._delete(
3156
3156
  this.svAPIEndpoint,
3157
- this.workorderPortalLink._path + `/${id}`
3157
+ this.workorderPortalLink._path + `/${id}`,
3158
3158
  );
3159
3159
  return res;
3160
3160
  },
@@ -3165,7 +3165,7 @@ export default class Repzo {
3165
3165
  let res = await this._fetch(
3166
3166
  this.svAPIEndpoint,
3167
3167
  this.customField._path,
3168
- params
3168
+ params,
3169
3169
  );
3170
3170
  return res;
3171
3171
  },
@@ -3173,14 +3173,14 @@ export default class Repzo {
3173
3173
  return await this._fetch(
3174
3174
  this.svAPIEndpoint,
3175
3175
  this.customField._path + `/${id}`,
3176
- params
3176
+ params,
3177
3177
  );
3178
3178
  },
3179
3179
  create: async (body) => {
3180
3180
  let res = await this._create(
3181
3181
  this.svAPIEndpoint,
3182
3182
  this.customField._path,
3183
- body
3183
+ body,
3184
3184
  );
3185
3185
  return res;
3186
3186
  },
@@ -3188,7 +3188,7 @@ export default class Repzo {
3188
3188
  let res = await this._update(
3189
3189
  this.svAPIEndpoint,
3190
3190
  this.customField._path + `/${id}`,
3191
- body
3191
+ body,
3192
3192
  );
3193
3193
  return res;
3194
3194
  },
@@ -3196,7 +3196,7 @@ export default class Repzo {
3196
3196
  let res = await this._delete(
3197
3197
  this.svAPIEndpoint,
3198
3198
  this.customField._path + `/${id}`,
3199
- params
3199
+ params,
3200
3200
  );
3201
3201
  return res;
3202
3202
  },
@@ -3205,10 +3205,10 @@ export default class Repzo {
3205
3205
  !options?.env || options?.env == "production"
3206
3206
  ? "https://sv.api.repzo.me"
3207
3207
  : options?.env == "staging"
3208
- ? "https://staging.sv.api.repzo.me"
3209
- : options?.env == "local"
3210
- ? "http://localhost:3030"
3211
- : "";
3208
+ ? "https://staging.sv.api.repzo.me"
3209
+ : options?.env == "local"
3210
+ ? "http://localhost:3030"
3211
+ : "";
3212
3212
  this.headers = {
3213
3213
  "api-key": apiKey,
3214
3214
  "Content-Type": "application/json",
@@ -3289,7 +3289,7 @@ Repzo.ActionLogs = class {
3289
3289
  const res = await this.superThis._fetch(
3290
3290
  this.superThis.svAPIEndpoint,
3291
3291
  this._path,
3292
- params
3292
+ params,
3293
3293
  );
3294
3294
  if (!res?.data?.length)
3295
3295
  throw new Error(`Action Log Not found, sync_id: ${sync_id}`);
@@ -3362,7 +3362,7 @@ Repzo.ActionLogs = class {
3362
3362
  const res = await this.superThis._create(
3363
3363
  this.superThis.svAPIEndpoint,
3364
3364
  this._path,
3365
- doc
3365
+ doc,
3366
3366
  );
3367
3367
  } catch (e) {
3368
3368
  console.error(e);
@@ -3408,7 +3408,7 @@ Repzo.CommandLog = class {
3408
3408
  const res = await this.superThis._fetch(
3409
3409
  this.superThis.svAPIEndpoint,
3410
3410
  this._path,
3411
- params
3411
+ params,
3412
3412
  );
3413
3413
  if (!res?.data?.length)
3414
3414
  throw new Error(`Command Log Not found, sync_id: ${sync_id}`);
@@ -3544,7 +3544,7 @@ Repzo.CommandLog = class {
3544
3544
  const res = await this.superThis._create(
3545
3545
  this.superThis.svAPIEndpoint,
3546
3546
  this._path,
3547
- doc
3547
+ doc,
3548
3548
  );
3549
3549
  this.isOld = true;
3550
3550
  } catch (e) {
@@ -3565,6 +3565,7 @@ Repzo.CommandLog = class {
3565
3565
  return this;
3566
3566
  }
3567
3567
  };
3568
+ export default Repzo;
3568
3569
  function normalizeParams(params) {
3569
3570
  const normalized = {};
3570
3571
  for (const key in params) {