idosell 0.4.27 → 0.4.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +7 -0
- package/dist/gates.js +10 -6
- package/dist/gateways.d.ts +151 -208
- package/dist/index.js +1 -1
- package/dist/methods/getProductsAttachmentsGetContent.js +5 -0
- package/dist/methods/getProductsMarketingPromotion.js +1 -0
- package/dist/methods/getRegulationsHistory.js +5 -0
- package/dist/methods/postProductsMarketingPromotion.js +1 -0
- package/dist/methods/putClientsExternalCode.js +6 -0
- package/dist/methods/putProductsMarketingPromotion.js +1 -0
- package/dist/reqparams.d.ts +18 -110
- package/dist/request.js +0 -1
- package/dist/responses.d.ts +52 -14
- package/package.json +1 -1
- package/tests/getProductsAttachmentsGetContent.test.js +7 -0
- package/tests/putClientsExternalCode.test.js +3 -3
package/changelog.md
CHANGED
|
@@ -5,11 +5,18 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.4.30] - 2025-04-06
|
|
9
|
+
### Changed
|
|
10
|
+
- Updated to Idosell Rest API v8.1
|
|
11
|
+
- Some methods removed from api v8.1, still availible through v7 enpoints - version is enforced for those enpoints
|
|
12
|
+
|
|
8
13
|
## [0.4.27] - 2025-04-06
|
|
14
|
+
### Changed
|
|
9
15
|
- Addded missing promotions types
|
|
10
16
|
- Fixed paging for promotions
|
|
11
17
|
|
|
12
18
|
## [0.4.25] - 2025-04-04
|
|
19
|
+
### Changed
|
|
13
20
|
- Updated to v7.19
|
|
14
21
|
- Added promotion routes
|
|
15
22
|
- Changed routes that have ProductsProducts to Products like getProductsToFacebookCatalog (before: getProductsProductsToFacebookCatalog)
|
package/dist/gates.js
CHANGED
|
@@ -146,6 +146,7 @@ import putPayments from "./methods/putPayments.js";
|
|
|
146
146
|
import getPaymentsProfiles from "./methods/getPaymentsProfiles.js";
|
|
147
147
|
import postPaymentsRepayment from "./methods/postPaymentsRepayment.js";
|
|
148
148
|
import getProductsSKUbyBarcode from "./methods/getProductsSKUbyBarcode.js";
|
|
149
|
+
import getProductsAttachmentsGetContent from "./methods/getProductsAttachmentsGetContent.js";
|
|
149
150
|
import putProductsAttachments from "./methods/putProductsAttachments.js";
|
|
150
151
|
import getProductsAuctions from "./methods/getProductsAuctions.js";
|
|
151
152
|
import deleteProductsBrands from "./methods/deleteProductsBrands.js";
|
|
@@ -178,9 +179,6 @@ import getProductsIdBySizecode from "./methods/getProductsIdBySizecode.js";
|
|
|
178
179
|
import deleteProductsImages from "./methods/deleteProductsImages.js";
|
|
179
180
|
import putProductsImages from "./methods/putProductsImages.js";
|
|
180
181
|
import getProductsMarketingAllFacebookCatalogIds from "./methods/getProductsMarketingAllFacebookCatalogIds.js";
|
|
181
|
-
import getProductsMarketingPromotion from "./methods/getProductsMarketingPromotion.js";
|
|
182
|
-
import postProductsMarketingPromotion from "./methods/postProductsMarketingPromotion.js";
|
|
183
|
-
import putProductsMarketingPromotion from "./methods/putProductsMarketingPromotion.js";
|
|
184
182
|
import getProductsMarketingZones from "./methods/getProductsMarketingZones.js";
|
|
185
183
|
import putProductsMarketingZones from "./methods/putProductsMarketingZones.js";
|
|
186
184
|
import getProductsOmnibusPrices from "./methods/getProductsOmnibusPrices.js";
|
|
@@ -249,6 +247,7 @@ import getRefundsGetPossibleAutoRefunds from "./methods/getRefundsGetPossibleAut
|
|
|
249
247
|
import getRefundsGetRefundStatus from "./methods/getRefundsGetRefundStatus.js";
|
|
250
248
|
import getRefundsRetrieveRefundsList from "./methods/getRefundsRetrieveRefundsList.js";
|
|
251
249
|
import putRefundsUpdateRefund from "./methods/putRefundsUpdateRefund.js";
|
|
250
|
+
import getRegulationsHistory from "./methods/getRegulationsHistory.js";
|
|
252
251
|
import getResponsibilityEntities from "./methods/getResponsibilityEntities.js";
|
|
253
252
|
import postResponsibilityEntities from "./methods/postResponsibilityEntities.js";
|
|
254
253
|
import putResponsibilityEntities from "./methods/putResponsibilityEntities.js";
|
|
@@ -333,6 +332,9 @@ import putWmsStocksdocumentsRejectMM from "./methods/putWmsStocksdocumentsReject
|
|
|
333
332
|
import deleteWmsSuppliers from "./methods/deleteWmsSuppliers.js";
|
|
334
333
|
import getWmsSuppliers from "./methods/getWmsSuppliers.js";
|
|
335
334
|
import putWmsSuppliers from "./methods/putWmsSuppliers.js";
|
|
335
|
+
import getProductsMarketingPromotion from "./methods/getProductsMarketingPromotion.js";
|
|
336
|
+
import postProductsMarketingPromotion from "./methods/postProductsMarketingPromotion.js";
|
|
337
|
+
import putProductsMarketingPromotion from "./methods/putProductsMarketingPromotion.js";
|
|
336
338
|
const gates = {
|
|
337
339
|
getClientsBalance,
|
|
338
340
|
postClientsBalance,
|
|
@@ -482,6 +484,7 @@ const gates = {
|
|
|
482
484
|
getPaymentsProfiles,
|
|
483
485
|
postPaymentsRepayment,
|
|
484
486
|
getProductsSKUbyBarcode,
|
|
487
|
+
getProductsAttachmentsGetContent,
|
|
485
488
|
putProductsAttachments,
|
|
486
489
|
getProductsAuctions,
|
|
487
490
|
deleteProductsBrands,
|
|
@@ -514,9 +517,6 @@ const gates = {
|
|
|
514
517
|
deleteProductsImages,
|
|
515
518
|
putProductsImages,
|
|
516
519
|
getProductsMarketingAllFacebookCatalogIds,
|
|
517
|
-
getProductsMarketingPromotion,
|
|
518
|
-
postProductsMarketingPromotion,
|
|
519
|
-
putProductsMarketingPromotion,
|
|
520
520
|
getProductsMarketingZones,
|
|
521
521
|
putProductsMarketingZones,
|
|
522
522
|
getProductsOmnibusPrices,
|
|
@@ -585,6 +585,7 @@ const gates = {
|
|
|
585
585
|
getRefundsGetRefundStatus,
|
|
586
586
|
getRefundsRetrieveRefundsList,
|
|
587
587
|
putRefundsUpdateRefund,
|
|
588
|
+
getRegulationsHistory,
|
|
588
589
|
getResponsibilityEntities,
|
|
589
590
|
postResponsibilityEntities,
|
|
590
591
|
putResponsibilityEntities,
|
|
@@ -669,6 +670,9 @@ const gates = {
|
|
|
669
670
|
deleteWmsSuppliers,
|
|
670
671
|
getWmsSuppliers,
|
|
671
672
|
putWmsSuppliers,
|
|
673
|
+
getProductsMarketingPromotion,
|
|
674
|
+
postProductsMarketingPromotion,
|
|
675
|
+
putProductsMarketingPromotion,
|
|
672
676
|
listProducts: searchProducts,
|
|
673
677
|
listOrders: searchOrders,
|
|
674
678
|
listOrdersUnfinished: searchOrdersUnfinished,
|