idosell 0.3.6 → 0.3.7

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 (151) hide show
  1. package/changelog.md +6 -0
  2. package/dist/app.d.ts +8 -2
  3. package/dist/gateways.d.ts +195 -191
  4. package/dist/methods/deleteClientsTags.js +1 -1
  5. package/dist/methods/deleteDiscountsRebatesCard.js +1 -1
  6. package/dist/methods/deleteDiscountsRebatesCode.js +1 -1
  7. package/dist/methods/deleteProductsBundlesProducts.js +1 -1
  8. package/dist/methods/deleteProductsCollectionsProducts.js +1 -1
  9. package/dist/methods/deleteProductsImages.js +1 -1
  10. package/dist/methods/getClientsMembershipCards.js +1 -0
  11. package/dist/methods/postClients.js +1 -0
  12. package/dist/methods/postClientsBalance.js +1 -0
  13. package/dist/methods/postClientsDeliveryAddress.js +1 -0
  14. package/dist/methods/postClientsGiftcards.js +1 -0
  15. package/dist/methods/postClientsPayerAddress.js +1 -0
  16. package/dist/methods/postClientsPricelists.js +1 -0
  17. package/dist/methods/postClientsProfitPoints.js +1 -0
  18. package/dist/methods/postClientsTags.js +2 -1
  19. package/dist/methods/postCouriersPickupPoints.js +1 -0
  20. package/dist/methods/postCpa.js +1 -0
  21. package/dist/methods/postCpaCampaign.js +1 -0
  22. package/dist/methods/postDeliveriesRegions.js +1 -0
  23. package/dist/methods/postDiscountsGroups.js +1 -0
  24. package/dist/methods/postDiscountsRebatesCard.js +1 -0
  25. package/dist/methods/postDiscountsRebatesCode.js +1 -0
  26. package/dist/methods/postEntries.js +5 -0
  27. package/dist/methods/postMenu.js +1 -0
  28. package/dist/methods/postOrders.js +1 -0
  29. package/dist/methods/postOrdersDocuments.js +1 -0
  30. package/dist/methods/postOrdersDocumentsCreate.js +1 -0
  31. package/dist/methods/postOrdersImages.js +1 -0
  32. package/dist/methods/postOrdersPackages.js +1 -0
  33. package/dist/methods/postPackages.js +1 -0
  34. package/dist/methods/postPackagesLabels.js +1 -0
  35. package/dist/methods/postPayments.js +1 -0
  36. package/dist/methods/postPaymentsCancel.js +1 -0
  37. package/dist/methods/postPaymentsRepayment.js +1 -0
  38. package/dist/methods/postProducts.js +1 -0
  39. package/dist/methods/postProductsBrands.js +1 -0
  40. package/dist/methods/postProductsBundles.js +1 -1
  41. package/dist/methods/postProductsBundlesProducts.js +1 -1
  42. package/dist/methods/postProductsCollections.js +1 -1
  43. package/dist/methods/postProductsCollectionsProducts.js +1 -1
  44. package/dist/methods/postProductsMarketingPromotion.js +1 -0
  45. package/dist/methods/postProductsOpinions.js +1 -0
  46. package/dist/methods/postProductsRestore.js +2 -1
  47. package/dist/methods/postResponsibilityEntities.js +1 -0
  48. package/dist/methods/postReturns.js +1 -0
  49. package/dist/methods/postSnippets.js +1 -0
  50. package/dist/methods/postSnippetsCampaign.js +1 -0
  51. package/dist/methods/postSnippetsCookies.js +1 -0
  52. package/dist/methods/postVouchers.js +1 -0
  53. package/dist/methods/postWarranties.js +1 -0
  54. package/dist/methods/postWmsStocksdocumentsDocuments.js +1 -0
  55. package/dist/methods/postWmsStocksdocumentsProducts.js +1 -0
  56. package/dist/methods/putClients.js +1 -0
  57. package/dist/methods/putClientsDeliveryAddress.js +1 -0
  58. package/dist/methods/putClientsExternalCode.js +1 -0
  59. package/dist/methods/putClientsGiftcards.js +1 -0
  60. package/dist/methods/putClientsGiftcardsBlock.js +1 -0
  61. package/dist/methods/putClientsGiftcardsUnblock.js +1 -0
  62. package/dist/methods/putClientsPayerAddress.js +1 -0
  63. package/dist/methods/putClientsPricelists.js +1 -0
  64. package/dist/methods/putClientsPricelistsClients.js +1 -0
  65. package/dist/methods/putClientsPricelistsProducts.js +1 -0
  66. package/dist/methods/putClientsPricelistsRename.js +1 -0
  67. package/dist/methods/putConfigVariables.js +1 -0
  68. package/dist/methods/putCouriersPickupPoints.js +1 -0
  69. package/dist/methods/putCpa.js +1 -0
  70. package/dist/methods/putCpaCampaign.js +1 -0
  71. package/dist/methods/putDeliveriesDefaultProfiles.js +1 -0
  72. package/dist/methods/putDiscountsGroups.js +1 -0
  73. package/dist/methods/putDiscountsGroupsProducts.js +1 -0
  74. package/dist/methods/putDiscountsRebatesBlockCard.js +2 -1
  75. package/dist/methods/putDiscountsRebatesUnblockCard.js +2 -1
  76. package/dist/methods/putEntries.js +1 -0
  77. package/dist/methods/putMenu.js +1 -0
  78. package/dist/methods/putMenuFilter.js +1 -0
  79. package/dist/methods/putMenuSort.js +1 -0
  80. package/dist/methods/putOrders.js +1 -0
  81. package/dist/methods/putOrdersCourier.js +1 -0
  82. package/dist/methods/putOrdersDeliveryAddress.js +1 -0
  83. package/dist/methods/putOrdersDevide.js +1 -0
  84. package/dist/methods/putOrdersHandler.js +1 -0
  85. package/dist/methods/putOrdersPackages.js +1 -0
  86. package/dist/methods/putOrdersPickupPoint.js +1 -0
  87. package/dist/methods/putOrdersProductsSerialNumbers.js +1 -0
  88. package/dist/methods/putOrdersShippingCosts.js +1 -0
  89. package/dist/methods/putOrdersWarehouse.js +1 -0
  90. package/dist/methods/putPayments.js +1 -0
  91. package/dist/methods/putPaymentsConfirm.js +1 -0
  92. package/dist/methods/putProducts.js +1 -0
  93. package/dist/methods/putProductsBrands.js +1 -0
  94. package/dist/methods/putProductsBrandsFilter.js +1 -0
  95. package/dist/methods/putProductsBundlesProductsQuantity.js +1 -1
  96. package/dist/methods/putProductsBundlesRenew.js +1 -1
  97. package/dist/methods/putProductsCategories.js +1 -0
  98. package/dist/methods/putProductsCollectionsProducts.js +2 -1
  99. package/dist/methods/putProductsCollectionsRenew.js +2 -1
  100. package/dist/methods/putProductsDescriptions.js +1 -0
  101. package/dist/methods/putProductsGroupsMainProduct.js +1 -0
  102. package/dist/methods/putProductsGroupsOrder.js +1 -0
  103. package/dist/methods/putProductsGroupsSettings.js +1 -0
  104. package/dist/methods/putProductsImages.js +1 -0
  105. package/dist/methods/putProductsMarketingPromotion.js +1 -0
  106. package/dist/methods/putProductsMarketingZones.js +1 -0
  107. package/dist/methods/putProductsOmnibusPrices.js +1 -0
  108. package/dist/methods/putProductsOpinions.js +1 -0
  109. package/dist/methods/putProductsParameters.js +1 -0
  110. package/dist/methods/putProductsSeries.js +1 -0
  111. package/dist/methods/putProductsSeriesFilter.js +1 -0
  112. package/dist/methods/putProductsSizes.js +1 -0
  113. package/dist/methods/putProductsStockQuantity.js +1 -0
  114. package/dist/methods/putProductsStocks.js +1 -0
  115. package/dist/methods/putProductsStrikethroughPrices.js +1 -0
  116. package/dist/methods/putProductsSupplierCode.js +1 -0
  117. package/dist/methods/putProductsSupplierProductData.js +1 -0
  118. package/dist/methods/putRefundsCancelRefund.js +1 -0
  119. package/dist/methods/putRefundsConfirmRefund.js +1 -0
  120. package/dist/methods/putRefundsUpdateRefund.js +1 -0
  121. package/dist/methods/putResponsibilityEntities.js +1 -0
  122. package/dist/methods/putReturns.js +1 -0
  123. package/dist/methods/putReturnsSerialNumber.js +1 -0
  124. package/dist/methods/putRma.js +1 -0
  125. package/dist/methods/putSizecharts.js +1 -0
  126. package/dist/methods/putSizes.js +1 -0
  127. package/dist/methods/putSnippets.js +1 -0
  128. package/dist/methods/putSnippetsCampaign.js +1 -0
  129. package/dist/methods/putSnippetsCookies.js +1 -0
  130. package/dist/methods/putSystemConfig.js +1 -0
  131. package/dist/methods/putSystemCurrencies.js +2 -1
  132. package/dist/methods/putSystemProcessesAutomation.js +1 -0
  133. package/dist/methods/putSystemUnits.js +1 -0
  134. package/dist/methods/putVouchers.js +1 -0
  135. package/dist/methods/putVouchersBlock.js +1 -0
  136. package/dist/methods/putVouchersUnblock.js +1 -0
  137. package/dist/methods/putWarranties.js +1 -0
  138. package/dist/methods/putWarrantiesLanguageData.js +1 -0
  139. package/dist/methods/putWmsStocksdocumentsAcceptMM.js +1 -0
  140. package/dist/methods/putWmsStocksdocumentsClose.js +1 -0
  141. package/dist/methods/putWmsStocksdocumentsDocuments.js +1 -0
  142. package/dist/methods/putWmsStocksdocumentsProducts.js +1 -0
  143. package/dist/methods/putWmsStocksdocumentsRejectMM.js +1 -0
  144. package/dist/methods/putWmsSuppliers.js +1 -0
  145. package/dist/methods/searchPackages.js +1 -1
  146. package/dist/params.js +14 -7
  147. package/dist/request.js +44 -0
  148. package/package.json +1 -1
  149. package/tests/postEntries.test.js +5 -0
  150. package/tests/putRefundsConfirmRefund.test.js +3 -3
  151. package/tests/searchPackages.test.js +5 -0
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/deliveries/defaultProfiles' };
4
+ object.req = ["regionId", "shopId", { "any": ["retailProfileId", "wholesaleProfileId"] }];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/discounts/groups' };
4
+ object.req = ["discountGroupId", "discountGroupName"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -1,6 +1,7 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/discounts/groups/products' };
4
+ object.req = ["discountGroupId"];
4
5
  object.arrays = ["products", "producers", "series", "categories", "menuItems"];
5
6
  return new Proxy(object, paramsProxy);
6
7
  };
@@ -1,6 +1,7 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/discounts/rebates/blockCard' };
4
- object.rootparams = "card_number";
4
+ object.rootparams = true;
5
+ object.req = ["card_number"];
5
6
  return new Proxy(object, paramsProxy);
6
7
  };
@@ -1,6 +1,7 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/discounts/rebates/unblockCard' };
4
- object.rootparams = "card_number";
4
+ object.rootparams = true;
5
+ object.req = ["card_number"];
5
6
  return new Proxy(object, paramsProxy);
6
7
  };
@@ -1,6 +1,7 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/entries/entries' };
4
+ object.req = ["entryId", "shopId"];
4
5
  object.arrays = ["visibleOnSitesList", "products", "langs"];
5
6
  return new Proxy(object, paramsProxy);
6
7
  };
@@ -7,6 +7,7 @@ export default (object) => {
7
7
  arrayNode: "menu_list",
8
8
  index: 0
9
9
  };
10
+ object.req = ["shop_id", "menu_id", "item_id"];
10
11
  object.arrays = ["menu_list"];
11
12
  return new Proxy(object, paramsProxy);
12
13
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "menuFiltersActive",
7
7
  index: 0
8
8
  };
9
+ object.req = ["shopId", "productMenuTreeId", "languageId", "productMenuNodeId"];
9
10
  object.arrays = ["menuFiltersActive"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -7,6 +7,7 @@ export default (object) => {
7
7
  arrayNode: "menu_list",
8
8
  index: 0
9
9
  };
10
+ object.req = ["shop_id", "menu_id", "lang_id"];
10
11
  object.arrays = ["menu_list"];
11
12
  return new Proxy(object, paramsProxy);
12
13
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "orders",
7
7
  index: 0
8
8
  };
9
+ object.req = [{ "any": ["orderId", "orderSerialNumber"] }];
9
10
  object.arrays = ["orders"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/orders/courier' };
4
+ object.req = ["orderSerialNumber", "courierId"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/orders/deliveryAddress' };
4
+ object.req = ["orderSerialNumber", "clientDeliveryAddressId", "clientLogin"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "products",
7
7
  index: 0
8
8
  };
9
+ object.req = ["orderSerialNumber", "basketPosition"];
9
10
  object.arrays = ["products"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/orders/handler' };
4
+ object.req = ["orderSerialNumber", "orderOperatorLogin"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "orderPackages",
7
7
  index: 0
8
8
  };
9
+ object.req = ["eventId", "eventType"];
9
10
  object.arrays = ["orderPackages"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/orders/pickupPoint' };
4
+ object.req = ["orderSerialNumber", "pickupPointId"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "orders",
7
7
  index: 0
8
8
  };
9
+ object.req = ["orderSerialNumber", "orderProducts"];
9
10
  object.arrays = ["orders"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/orders/shippingCosts' };
4
+ object.req = ["orderSerialNumber", "deliveryCost"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/orders/warehouse' };
4
+ object.req = ["orderSerialNumber", "stockId"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/payments/payments' };
4
+ object.req = ["sourceType", "paymentNumber", "value"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/payments/confirm' };
4
+ object.req = ["sourceType", "paymentNumber"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -23,6 +23,7 @@ export default (object) => {
23
23
  arrayNode: "products",
24
24
  index: 0
25
25
  };
26
+ object.req = [{ "any": ["productSizeCodeExternal", "productId", "productIndex", "productSizeCodeProducer"] }];
26
27
  object.arrays = ["products"];
27
28
  return new Proxy(object, paramsProxy);
28
29
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "producers",
7
7
  index: 0
8
8
  };
9
+ object.req = ["id", { "any": ["languagesConfigurations", "nameInPanel"] }];
9
10
  object.arrays = ["producers"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "filtersActive",
7
7
  index: 0
8
8
  };
9
+ object.req = ["producerId"];
9
10
  object.arrays = ["filtersActive"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -1,7 +1,7 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/products/bundles/productsQuantity' };
4
- object.rootparams = "params";
4
+ object.rootparams = true;
5
5
  object.appendable = {
6
6
  except: [],
7
7
  arrayNode: "params",
@@ -1,7 +1,7 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/products/bundles/renew' };
4
- object.rootparams = "params";
4
+ object.rootparams = true;
5
5
  object.appendable = {
6
6
  except: [],
7
7
  arrayNode: "params",
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "categories",
7
7
  index: 0
8
8
  };
9
+ object.req = ["id"];
9
10
  object.arrays = ["categories"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -1,12 +1,13 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/products/collections/products' };
4
- object.rootparams = "params";
4
+ object.rootparams = true;
5
5
  object.appendable = {
6
6
  except: [],
7
7
  arrayNode: "params",
8
8
  index: 0
9
9
  };
10
+ object.req = ["collectionId", "products"];
10
11
  object.arrays = ["params"];
11
12
  return new Proxy(object, paramsProxy);
12
13
  };
@@ -1,12 +1,13 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/products/collections/renew' };
4
- object.rootparams = "params";
4
+ object.rootparams = true;
5
5
  object.appendable = {
6
6
  except: [],
7
7
  arrayNode: "params",
8
8
  index: 0
9
9
  };
10
+ object.req = ["products", "collectionIdent"];
10
11
  object.arrays = ["params"];
11
12
  return new Proxy(object, paramsProxy);
12
13
  };
@@ -10,6 +10,7 @@ export default (object) => {
10
10
  arrayNode: "products",
11
11
  index: 0
12
12
  };
13
+ object.req = ["productIdent"];
13
14
  object.arrays = ["products"];
14
15
  return new Proxy(object, paramsProxy);
15
16
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "groups",
7
7
  index: 0
8
8
  };
9
+ object.req = ["productIdent"];
9
10
  object.arrays = ["groups"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -11,6 +11,7 @@ export default (object) => {
11
11
  arrayNode: "groups",
12
12
  index: 0
13
13
  };
14
+ object.req = ["productsInOrder"];
14
15
  object.arrays = ["groups"];
15
16
  return new Proxy(object, paramsProxy);
16
17
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "groups",
7
7
  index: 0
8
8
  };
9
+ object.req = ["productIdent"];
9
10
  object.arrays = ["groups"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -19,6 +19,7 @@ export default (object) => {
19
19
  arrayNode: "productsImages",
20
20
  index: 0
21
21
  };
22
+ object.req = ["productIdent"];
22
23
  object.arrays = ["productsImages"];
23
24
  return new Proxy(object, paramsProxy);
24
25
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "promotionElements",
7
7
  index: 0
8
8
  };
9
+ object.req = ["promotionId"];
9
10
  object.arrays = ["shopsIds", "promotionElements"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "shops",
7
7
  index: 0
8
8
  };
9
+ object.req = ["ident"];
9
10
  object.arrays = ["products", "shops"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "products",
7
7
  index: 0
8
8
  };
9
+ object.req = ["ident"];
9
10
  object.arrays = ["products"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/products/opinions/opinions' };
4
+ object.req = ["id"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -7,6 +7,7 @@ export default (object) => {
7
7
  arrayNode: "items",
8
8
  index: 0
9
9
  };
10
+ object.req = ["id"];
10
11
  object.arrays = ["items"];
11
12
  return new Proxy(object, paramsProxy);
12
13
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "series",
7
7
  index: 0
8
8
  };
9
+ object.req = ["id"];
9
10
  object.arrays = ["series"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "filtersActive",
7
7
  index: 0
8
8
  };
9
+ object.req = ["serieId", "languageId", "shopId"];
9
10
  object.arrays = ["filtersActive"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -7,6 +7,7 @@ export default (object) => {
7
7
  arrayNode: "sizesProductsData",
8
8
  index: 0
9
9
  };
10
+ object.req = ["productId", "sizes"];
10
11
  object.arrays = ["sizesProductsData", "indexesData"];
11
12
  return new Proxy(object, paramsProxy);
12
13
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "products",
7
7
  index: 0
8
8
  };
9
+ object.req = ["productSizeCodeExternal", "stockId"];
9
10
  object.arrays = ["products"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "products",
7
7
  index: 0
8
8
  };
9
+ object.req = ["ident", "ident", "sizes"];
9
10
  object.arrays = ["products"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "products",
7
7
  index: 0
8
8
  };
9
+ object.req = ["ident", "sizes"];
9
10
  object.arrays = ["products"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "products",
7
7
  index: 0
8
8
  };
9
+ object.req = ["productId", "productDeliverers"];
9
10
  object.arrays = ["products"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "products",
7
7
  index: 0
8
8
  };
9
+ object.req = ["productId"];
9
10
  object.arrays = ["products"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/refunds/cancelRefund' };
4
+ object.req = ["sourceType", "sourceId", "paymentId"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/refunds/confirmRefund' };
4
+ object.req = ["sourceType", "sourceId", "paymentId"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/refunds/updateRefund' };
4
+ object.req = ["sourceType", "sourceId", "paymentId", "refundValue", "refundCurrency"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "entities",
7
7
  index: 0
8
8
  };
9
+ object.req = ["type", "code"];
9
10
  object.arrays = ["entities"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "returns",
7
7
  index: 0
8
8
  };
9
+ object.req = ["id"];
9
10
  object.arrays = ["returns"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "products",
7
7
  index: 0
8
8
  };
9
+ object.req = ["id", "return_id", "size", "serialNumbers"];
9
10
  object.arrays = ["products"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "rmas",
7
7
  index: 0
8
8
  };
9
+ object.req = ["rmaId"];
9
10
  object.arrays = ["rmas"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "sizeCharts",
7
7
  index: 0
8
8
  };
9
+ object.req = ["id", "displayMode"];
9
10
  object.arrays = ["sizeCharts"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "sizes",
7
7
  index: 0
8
8
  };
9
+ object.req = ["id", "operation"];
9
10
  object.arrays = ["sizes"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "snippets",
7
7
  index: 0
8
8
  };
9
+ object.req = ["id"];
9
10
  object.arrays = ["snippets"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "campaigns",
7
7
  index: 0
8
8
  };
9
+ object.req = ["id"];
9
10
  object.arrays = ["campaigns"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "cookies",
7
7
  index: 0
8
8
  };
9
+ object.req = ["id"];
9
10
  object.arrays = ["cookies"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/system/config' };
4
+ object.req = ["panelSettings"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -1,12 +1,13 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/system/currencies' };
4
- object.rootparams = "currencies";
4
+ object.rootparams = true;
5
5
  object.appendable = {
6
6
  except: [],
7
7
  arrayNode: "currencies",
8
8
  index: 0
9
9
  };
10
+ object.req = ["id", "rate", "scale"];
10
11
  object.arrays = ["currencies"];
11
12
  return new Proxy(object, paramsProxy);
12
13
  };
@@ -1,5 +1,6 @@
1
1
  import { paramsProxy } from "../params.js";
2
2
  export default (object) => {
3
3
  object.gate = { method: 'put', node: '/system/processesAutomation' };
4
+ object.req = ["orders"];
4
5
  return new Proxy(object, paramsProxy);
5
6
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "units",
7
7
  index: 0
8
8
  };
9
+ object.req = ["id"];
9
10
  object.arrays = ["units"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "vouchers",
7
7
  index: 0
8
8
  };
9
+ object.req = ["id"];
9
10
  object.arrays = ["vouchers"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "vouchers",
7
7
  index: 0
8
8
  };
9
+ object.req = [{ "any": ["id", "number"] }];
9
10
  object.arrays = ["vouchers"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "vouchers",
7
7
  index: 0
8
8
  };
9
+ object.req = [{ "any": ["id", "number"] }];
9
10
  object.arrays = ["vouchers"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "warranties",
7
7
  index: 0
8
8
  };
9
+ object.req = ["id"];
9
10
  object.arrays = ["warranties"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };
@@ -6,6 +6,7 @@ export default (object) => {
6
6
  arrayNode: "lang_data",
7
7
  index: 0
8
8
  };
9
+ object.req = ["warranty_id", "lang"];
9
10
  object.arrays = ["lang_data"];
10
11
  return new Proxy(object, paramsProxy);
11
12
  };