wildberries-sdk 0.1.50 → 0.1.51

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 (29) hide show
  1. package/dist/analytics/models/PostSalesFunnelProducts402Response.d.ts +1 -1
  2. package/dist/communications/models/ApiV1NewFeedbacksQuestionsGet402Response.d.ts +1 -1
  3. package/dist/finances/models/ApiV1AccountBalanceGet402Response.d.ts +1 -1
  4. package/dist/general/models/ApiV1SellerInfoGet402Response.d.ts +1 -1
  5. package/dist/in_store_pickup/models/ApiV3ClickCollectOrdersNewGet402Response.d.ts +1 -1
  6. package/dist/orders_dbs/models/ApiV3DbsOrdersNewGet402Response.d.ts +1 -1
  7. package/dist/orders_dbw/models/ApiV3DbwOrdersNewGet402Response.d.ts +1 -1
  8. package/dist/orders_fbs/models/ApiV3PassesGet402Response.d.ts +1 -1
  9. package/dist/orders_fbw/models/ApiV1AcceptanceOptionsPost402Response.d.ts +1 -1
  10. package/dist/orders_fbw/models/index.d.ts +0 -1
  11. package/dist/orders_fbw/models/index.js +0 -1
  12. package/dist/products/models/ApiV3StocksWarehouseIdDeleteRequest.d.ts +0 -7
  13. package/dist/products/models/ApiV3StocksWarehouseIdDeleteRequest.js +0 -2
  14. package/dist/products/models/ApiV3StocksWarehouseIdPost200ResponseStocksInner.d.ts +0 -7
  15. package/dist/products/models/ApiV3StocksWarehouseIdPost200ResponseStocksInner.js +0 -2
  16. package/dist/products/models/ApiV3StocksWarehouseIdPostRequest.d.ts +0 -7
  17. package/dist/products/models/ApiV3StocksWarehouseIdPostRequest.js +0 -2
  18. package/dist/products/models/ApiV3StocksWarehouseIdPutRequest.d.ts +1 -1
  19. package/dist/products/models/ApiV3StocksWarehouseIdPutRequestStocksInner.d.ts +0 -7
  20. package/dist/products/models/ApiV3StocksWarehouseIdPutRequestStocksInner.js +0 -2
  21. package/dist/products/models/ContentV2TagsGet402Response.d.ts +1 -1
  22. package/dist/products/models/StocksWarehouseErrorInnerDataInner.d.ts +6 -0
  23. package/dist/products/models/StocksWarehouseErrorInnerDataInner.js +2 -0
  24. package/dist/promotion/apis/DefaultApi.d.ts +1 -13
  25. package/dist/promotion/apis/DefaultApi.js +1 -12
  26. package/dist/promotion/models/ApiV1CalendarPromotionsGet402Response.d.ts +1 -1
  27. package/dist/reports/models/ApiV1SupplierIncomesGet402Response.d.ts +1 -1
  28. package/dist/tariffs/models/ApiV1TariffsCommissionGet402Response.d.ts +1 -1
  29. package/package.json +1 -1
@@ -22,7 +22,7 @@ export interface PostSalesFunnelProducts402Response {
22
22
  */
23
23
  title?: string;
24
24
  /**
25
- * Детали ошибки
25
+ * Детали ошибки. Ошибка означает, что на балансе сервиса из [Каталога](https://dev.wildberries.ru/business-solutions) недостаточно средств
26
26
  * @type {string}
27
27
  * @memberof PostSalesFunnelProducts402Response
28
28
  */
@@ -22,7 +22,7 @@ export interface ApiV1NewFeedbacksQuestionsGet402Response {
22
22
  */
23
23
  title?: string;
24
24
  /**
25
- * Детали ошибки
25
+ * Детали ошибки. Ошибка означает, что на балансе сервиса из [Каталога](https://dev.wildberries.ru/business-solutions) недостаточно средств
26
26
  * @type {string}
27
27
  * @memberof ApiV1NewFeedbacksQuestionsGet402Response
28
28
  */
@@ -22,7 +22,7 @@ export interface ApiV1AccountBalanceGet402Response {
22
22
  */
23
23
  title?: string;
24
24
  /**
25
- * Детали ошибки
25
+ * Детали ошибки. Ошибка означает, что на балансе сервиса из [Каталога](https://dev.wildberries.ru/business-solutions) недостаточно средств
26
26
  * @type {string}
27
27
  * @memberof ApiV1AccountBalanceGet402Response
28
28
  */
@@ -22,7 +22,7 @@ export interface ApiV1SellerInfoGet402Response {
22
22
  */
23
23
  title?: string;
24
24
  /**
25
- * Детали ошибки
25
+ * Детали ошибки. Ошибка означает, что на балансе сервиса из [Каталога](https://dev.wildberries.ru/business-solutions) недостаточно средств
26
26
  * @type {string}
27
27
  * @memberof ApiV1SellerInfoGet402Response
28
28
  */
@@ -22,7 +22,7 @@ export interface ApiV3ClickCollectOrdersNewGet402Response {
22
22
  */
23
23
  title?: string;
24
24
  /**
25
- * Детали ошибки
25
+ * Детали ошибки. Ошибка означает, что на балансе сервиса из [Каталога](https://dev.wildberries.ru/business-solutions) недостаточно средств
26
26
  * @type {string}
27
27
  * @memberof ApiV3ClickCollectOrdersNewGet402Response
28
28
  */
@@ -22,7 +22,7 @@ export interface ApiV3DbsOrdersNewGet402Response {
22
22
  */
23
23
  title?: string;
24
24
  /**
25
- * Детали ошибки
25
+ * Детали ошибки. Ошибка означает, что на балансе сервиса из [Каталога](https://dev.wildberries.ru/business-solutions) недостаточно средств
26
26
  * @type {string}
27
27
  * @memberof ApiV3DbsOrdersNewGet402Response
28
28
  */
@@ -22,7 +22,7 @@ export interface ApiV3DbwOrdersNewGet402Response {
22
22
  */
23
23
  title?: string;
24
24
  /**
25
- * Детали ошибки
25
+ * Детали ошибки. Ошибка означает, что на балансе сервиса из [Каталога](https://dev.wildberries.ru/business-solutions) недостаточно средств
26
26
  * @type {string}
27
27
  * @memberof ApiV3DbwOrdersNewGet402Response
28
28
  */
@@ -22,7 +22,7 @@ export interface ApiV3PassesGet402Response {
22
22
  */
23
23
  title?: string;
24
24
  /**
25
- * Детали ошибки
25
+ * Детали ошибки. Ошибка означает, что на балансе сервиса из [Каталога](https://dev.wildberries.ru/business-solutions) недостаточно средств
26
26
  * @type {string}
27
27
  * @memberof ApiV3PassesGet402Response
28
28
  */
@@ -22,7 +22,7 @@ export interface ApiV1AcceptanceOptionsPost402Response {
22
22
  */
23
23
  title?: string;
24
24
  /**
25
- * Детали ошибки
25
+ * Детали ошибки. Ошибка означает, что на балансе сервиса из [Каталога](https://dev.wildberries.ru/business-solutions) недостаточно средств
26
26
  * @type {string}
27
27
  * @memberof ApiV1AcceptanceOptionsPost402Response
28
28
  */
@@ -1,6 +1,5 @@
1
1
  export * from './ApiV1AcceptanceOptionsPost401Response';
2
2
  export * from './ApiV1AcceptanceOptionsPost402Response';
3
- export * from './ModelsAcceptanceCoefficient';
4
3
  export * from './ModelsBox';
5
4
  export * from './ModelsDateFilterRequest';
6
5
  export * from './ModelsErrorModel';
@@ -18,7 +18,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  /* eslint-disable */
19
19
  __exportStar(require("./ApiV1AcceptanceOptionsPost401Response"), exports);
20
20
  __exportStar(require("./ApiV1AcceptanceOptionsPost402Response"), exports);
21
- __exportStar(require("./ModelsAcceptanceCoefficient"), exports);
22
21
  __exportStar(require("./ModelsBox"), exports);
23
22
  __exportStar(require("./ModelsDateFilterRequest"), exports);
24
23
  __exportStar(require("./ModelsErrorModel"), exports);
@@ -21,13 +21,6 @@ export interface ApiV3StocksWarehouseIdDeleteRequest {
21
21
  * @memberof ApiV3StocksWarehouseIdDeleteRequest
22
22
  */
23
23
  chrtIds: Array<number>;
24
- /**
25
- * Массив баркодов. Параметр будет отключен [9 февраля](https://dev.wildberries.ru/release-notes?id=386)
26
- * @type {Array<string>}
27
- * @memberof ApiV3StocksWarehouseIdDeleteRequest
28
- * @deprecated
29
- */
30
- skus?: Array<string>;
31
24
  }
32
25
  /**
33
26
  * Check if a given object implements the ApiV3StocksWarehouseIdDeleteRequest interface.
@@ -35,7 +35,6 @@ function ApiV3StocksWarehouseIdDeleteRequestFromJSONTyped(json, ignoreDiscrimina
35
35
  }
36
36
  return {
37
37
  'chrtIds': json['chrtIds'],
38
- 'skus': json['skus'] == null ? undefined : json['skus'],
39
38
  };
40
39
  }
41
40
  function ApiV3StocksWarehouseIdDeleteRequestToJSON(json) {
@@ -48,6 +47,5 @@ function ApiV3StocksWarehouseIdDeleteRequestToJSONTyped(value, ignoreDiscriminat
48
47
  }
49
48
  return {
50
49
  'chrtIds': value['chrtIds'],
51
- 'skus': value['skus'],
52
50
  };
53
51
  }
@@ -21,13 +21,6 @@ export interface ApiV3StocksWarehouseIdPost200ResponseStocksInner {
21
21
  * @memberof ApiV3StocksWarehouseIdPost200ResponseStocksInner
22
22
  */
23
23
  chrtId?: number;
24
- /**
25
- * Баркод. Поле будет отключено [9 февраля](https://dev.wildberries.ru/release-notes?id=386)
26
- * @type {string}
27
- * @memberof ApiV3StocksWarehouseIdPost200ResponseStocksInner
28
- * @deprecated
29
- */
30
- sku?: string;
31
24
  /**
32
25
  * Остаток
33
26
  * @type {number}
@@ -33,7 +33,6 @@ function ApiV3StocksWarehouseIdPost200ResponseStocksInnerFromJSONTyped(json, ign
33
33
  }
34
34
  return {
35
35
  'chrtId': json['chrtId'] == null ? undefined : json['chrtId'],
36
- 'sku': json['sku'] == null ? undefined : json['sku'],
37
36
  'amount': json['amount'] == null ? undefined : json['amount'],
38
37
  };
39
38
  }
@@ -47,7 +46,6 @@ function ApiV3StocksWarehouseIdPost200ResponseStocksInnerToJSONTyped(value, igno
47
46
  }
48
47
  return {
49
48
  'chrtId': value['chrtId'],
50
- 'sku': value['sku'],
51
49
  'amount': value['amount'],
52
50
  };
53
51
  }
@@ -21,13 +21,6 @@ export interface ApiV3StocksWarehouseIdPostRequest {
21
21
  * @memberof ApiV3StocksWarehouseIdPostRequest
22
22
  */
23
23
  chrtIds: Array<number>;
24
- /**
25
- * Массив баркодов. Параметр будет отключен [9 февраля](https://dev.wildberries.ru/release-notes?id=386)
26
- * @type {Array<string>}
27
- * @memberof ApiV3StocksWarehouseIdPostRequest
28
- * @deprecated
29
- */
30
- skus?: Array<string>;
31
24
  }
32
25
  /**
33
26
  * Check if a given object implements the ApiV3StocksWarehouseIdPostRequest interface.
@@ -35,7 +35,6 @@ function ApiV3StocksWarehouseIdPostRequestFromJSONTyped(json, ignoreDiscriminato
35
35
  }
36
36
  return {
37
37
  'chrtIds': json['chrtIds'],
38
- 'skus': json['skus'] == null ? undefined : json['skus'],
39
38
  };
40
39
  }
41
40
  function ApiV3StocksWarehouseIdPostRequestToJSON(json) {
@@ -48,6 +47,5 @@ function ApiV3StocksWarehouseIdPostRequestToJSONTyped(value, ignoreDiscriminator
48
47
  }
49
48
  return {
50
49
  'chrtIds': value['chrtIds'],
51
- 'skus': value['skus'],
52
50
  };
53
51
  }
@@ -17,7 +17,7 @@ import type { ApiV3StocksWarehouseIdPutRequestStocksInner } from './ApiV3StocksW
17
17
  */
18
18
  export interface ApiV3StocksWarehouseIdPutRequest {
19
19
  /**
20
- * Массив баркодов товаров и их остатков
20
+ * Массив ID размеров товаров и их остатков
21
21
  * @type {Array<ApiV3StocksWarehouseIdPutRequestStocksInner>}
22
22
  * @memberof ApiV3StocksWarehouseIdPutRequest
23
23
  */
@@ -21,13 +21,6 @@ export interface ApiV3StocksWarehouseIdPutRequestStocksInner {
21
21
  * @memberof ApiV3StocksWarehouseIdPutRequestStocksInner
22
22
  */
23
23
  chrtId?: number;
24
- /**
25
- * Баркод. Параметр будет отключен [9 февраля](https://dev.wildberries.ru/release-notes?id=386)
26
- * @type {string}
27
- * @memberof ApiV3StocksWarehouseIdPutRequestStocksInner
28
- * @deprecated
29
- */
30
- sku?: string;
31
24
  /**
32
25
  * Остаток
33
26
  * @type {number}
@@ -33,7 +33,6 @@ function ApiV3StocksWarehouseIdPutRequestStocksInnerFromJSONTyped(json, ignoreDi
33
33
  }
34
34
  return {
35
35
  'chrtId': json['chrtId'] == null ? undefined : json['chrtId'],
36
- 'sku': json['sku'] == null ? undefined : json['sku'],
37
36
  'amount': json['amount'] == null ? undefined : json['amount'],
38
37
  };
39
38
  }
@@ -47,7 +46,6 @@ function ApiV3StocksWarehouseIdPutRequestStocksInnerToJSONTyped(value, ignoreDis
47
46
  }
48
47
  return {
49
48
  'chrtId': value['chrtId'],
50
- 'sku': value['sku'],
51
49
  'amount': value['amount'],
52
50
  };
53
51
  }
@@ -22,7 +22,7 @@ export interface ContentV2TagsGet402Response {
22
22
  */
23
23
  title?: string;
24
24
  /**
25
- * Детали ошибки
25
+ * Детали ошибки. Ошибка означает, что на балансе сервиса из [Каталога](https://dev.wildberries.ru/business-solutions) недостаточно средств
26
26
  * @type {string}
27
27
  * @memberof ContentV2TagsGet402Response
28
28
  */
@@ -21,6 +21,12 @@ export interface StocksWarehouseErrorInnerDataInner {
21
21
  * @memberof StocksWarehouseErrorInnerDataInner
22
22
  */
23
23
  sku?: string;
24
+ /**
25
+ * ID размера товара
26
+ * @type {number}
27
+ * @memberof StocksWarehouseErrorInnerDataInner
28
+ */
29
+ chrtId?: number;
24
30
  /**
25
31
  * Остаток
26
32
  * @type {number}
@@ -33,6 +33,7 @@ function StocksWarehouseErrorInnerDataInnerFromJSONTyped(json, ignoreDiscriminat
33
33
  }
34
34
  return {
35
35
  'sku': json['sku'] == null ? undefined : json['sku'],
36
+ 'chrtId': json['chrtId'] == null ? undefined : json['chrtId'],
36
37
  'amount': json['amount'] == null ? undefined : json['amount'],
37
38
  };
38
39
  }
@@ -46,6 +47,7 @@ function StocksWarehouseErrorInnerDataInnerToJSONTyped(value, ignoreDiscriminato
46
47
  }
47
48
  return {
48
49
  'sku': value['sku'],
50
+ 'chrtId': value['chrtId'],
49
51
  'amount': value['amount'],
50
52
  };
51
53
  }
@@ -107,7 +107,7 @@ export interface ApiAdvertV1BidsPatchOperationRequest {
107
107
  }
108
108
  export interface ApiAdvertV2AdvertsGetRequest {
109
109
  ids?: string;
110
- statuses?: ApiAdvertV2AdvertsGetStatusesEnum;
110
+ statuses?: string;
111
111
  paymentType?: ApiAdvertV2AdvertsGetPaymentTypeEnum;
112
112
  }
113
113
  export interface ApiV1CalendarPromotionsDetailsGetRequest {
@@ -638,18 +638,6 @@ export declare class DefaultApi extends runtime.BaseAPI {
638
638
  */
639
639
  apiV1CalendarPromotionsUploadPost(requestParameters: ApiV1CalendarPromotionsUploadPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1CalendarPromotionsUploadPost200Response>;
640
640
  }
641
- /**
642
- * @export
643
- */
644
- export declare const ApiAdvertV2AdvertsGetStatusesEnum: {
645
- readonly _1: "-1";
646
- readonly _4: "4";
647
- readonly _7: "7";
648
- readonly _8: "8";
649
- readonly _9: "9";
650
- readonly _11: "11";
651
- };
652
- export type ApiAdvertV2AdvertsGetStatusesEnum = typeof ApiAdvertV2AdvertsGetStatusesEnum[keyof typeof ApiAdvertV2AdvertsGetStatusesEnum];
653
641
  /**
654
642
  * @export
655
643
  */
@@ -64,7 +64,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
64
64
  }
65
65
  };
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
- exports.ApiAdvertV2AdvertsGetPaymentTypeEnum = exports.ApiAdvertV2AdvertsGetStatusesEnum = exports.DefaultApi = void 0;
67
+ exports.ApiAdvertV2AdvertsGetPaymentTypeEnum = exports.DefaultApi = void 0;
68
68
  var runtime = require("../runtime");
69
69
  var index_1 = require("../models/index");
70
70
  /**
@@ -2785,17 +2785,6 @@ var DefaultApi = /** @class */ (function (_super) {
2785
2785
  return DefaultApi;
2786
2786
  }(runtime.BaseAPI));
2787
2787
  exports.DefaultApi = DefaultApi;
2788
- /**
2789
- * @export
2790
- */
2791
- exports.ApiAdvertV2AdvertsGetStatusesEnum = {
2792
- _1: '-1',
2793
- _4: '4',
2794
- _7: '7',
2795
- _8: '8',
2796
- _9: '9',
2797
- _11: '11'
2798
- };
2799
2788
  /**
2800
2789
  * @export
2801
2790
  */
@@ -22,7 +22,7 @@ export interface ApiV1CalendarPromotionsGet402Response {
22
22
  */
23
23
  title?: string;
24
24
  /**
25
- * Детали ошибки
25
+ * Детали ошибки. Ошибка означает, что на балансе сервиса из [Каталога](https://dev.wildberries.ru/business-solutions) недостаточно средств
26
26
  * @type {string}
27
27
  * @memberof ApiV1CalendarPromotionsGet402Response
28
28
  */
@@ -22,7 +22,7 @@ export interface ApiV1SupplierIncomesGet402Response {
22
22
  */
23
23
  title?: string;
24
24
  /**
25
- * Детали ошибки
25
+ * Детали ошибки. Ошибка означает, что на балансе сервиса из [Каталога](https://dev.wildberries.ru/business-solutions) недостаточно средств
26
26
  * @type {string}
27
27
  * @memberof ApiV1SupplierIncomesGet402Response
28
28
  */
@@ -22,7 +22,7 @@ export interface ApiV1TariffsCommissionGet402Response {
22
22
  */
23
23
  title?: string;
24
24
  /**
25
- * Детали ошибки
25
+ * Детали ошибки. Ошибка означает, что на балансе сервиса из [Каталога](https://dev.wildberries.ru/business-solutions) недостаточно средств
26
26
  * @type {string}
27
27
  * @memberof ApiV1TariffsCommissionGet402Response
28
28
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wildberries-sdk",
3
- "version": "0.1.50",
3
+ "version": "0.1.51",
4
4
  "description": "Wildberries OpenAPI clients (generated).",
5
5
  "license": "MIT",
6
6
  "repository": {