wildberries-sdk 0.1.36 → 0.1.37

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 (25) hide show
  1. package/dist/analytics/models/MainResponse.d.ts +6 -0
  2. package/dist/analytics/models/MainResponse.js +4 -0
  3. package/dist/analytics/models/PostSalesFunnelProducts200ResponseData.d.ts +6 -0
  4. package/dist/analytics/models/PostSalesFunnelProducts200ResponseData.js +4 -0
  5. package/dist/analytics/models/ProductHistoryResponseInner.d.ts +6 -0
  6. package/dist/analytics/models/ProductHistoryResponseInner.js +4 -0
  7. package/dist/analytics/models/ProductOrdersResponse.d.ts +6 -0
  8. package/dist/analytics/models/ProductOrdersResponse.js +4 -0
  9. package/dist/analytics/models/ProductSearchTextsResponse.d.ts +6 -0
  10. package/dist/analytics/models/ProductSearchTextsResponse.js +4 -0
  11. package/dist/analytics/models/ProductsResponse.d.ts +6 -0
  12. package/dist/analytics/models/ProductsResponse.js +4 -0
  13. package/dist/analytics/models/TableDetailsResponse.d.ts +6 -0
  14. package/dist/analytics/models/TableDetailsResponse.js +4 -0
  15. package/dist/analytics/models/TableGroupResponse.d.ts +6 -0
  16. package/dist/analytics/models/TableGroupResponse.js +4 -0
  17. package/dist/analytics/models/TableGroupResponseSt.d.ts +6 -0
  18. package/dist/analytics/models/TableGroupResponseSt.js +4 -0
  19. package/dist/analytics/models/TableProductResponse.d.ts +6 -0
  20. package/dist/analytics/models/TableProductResponse.js +4 -0
  21. package/dist/analytics/models/TableShippingOfficeResponse.d.ts +6 -0
  22. package/dist/analytics/models/TableShippingOfficeResponse.js +4 -0
  23. package/dist/analytics/models/TableSizeResponse.d.ts +6 -0
  24. package/dist/analytics/models/TableSizeResponse.js +4 -0
  25. package/package.json +1 -1
@@ -44,6 +44,12 @@ export interface MainResponse {
44
44
  * @memberof MainResponse
45
45
  */
46
46
  groups?: Array<TableGroupItem>;
47
+ /**
48
+ * Валюта отчёта
49
+ * @type {string}
50
+ * @memberof MainResponse
51
+ */
52
+ currency: string;
47
53
  }
48
54
  /**
49
55
  * Check if a given object implements the MainResponse interface.
@@ -32,6 +32,8 @@ function instanceOfMainResponse(value) {
32
32
  return false;
33
33
  if (!('visibilityInfo' in value) || value['visibilityInfo'] === undefined)
34
34
  return false;
35
+ if (!('currency' in value) || value['currency'] === undefined)
36
+ return false;
35
37
  return true;
36
38
  }
37
39
  function MainResponseFromJSON(json) {
@@ -46,6 +48,7 @@ function MainResponseFromJSONTyped(json, ignoreDiscriminator) {
46
48
  'positionInfo': (0, PositionInfo_1.PositionInfoFromJSON)(json['positionInfo']),
47
49
  'visibilityInfo': (0, VisibilityInfo_1.VisibilityInfoFromJSON)(json['visibilityInfo']),
48
50
  'groups': json['groups'] == null ? undefined : (json['groups'].map(TableGroupItem_1.TableGroupItemFromJSON)),
51
+ 'currency': json['currency'],
49
52
  };
50
53
  }
51
54
  function MainResponseToJSON(json) {
@@ -61,5 +64,6 @@ function MainResponseToJSONTyped(value, ignoreDiscriminator) {
61
64
  'positionInfo': (0, PositionInfo_1.PositionInfoToJSON)(value['positionInfo']),
62
65
  'visibilityInfo': (0, VisibilityInfo_1.VisibilityInfoToJSON)(value['visibilityInfo']),
63
66
  'groups': value['groups'] == null ? undefined : (value['groups'].map(TableGroupItem_1.TableGroupItemToJSON)),
67
+ 'currency': value['currency'],
64
68
  };
65
69
  }
@@ -22,6 +22,12 @@ export interface PostSalesFunnelProducts200ResponseData {
22
22
  * @memberof PostSalesFunnelProducts200ResponseData
23
23
  */
24
24
  products: Array<ProductsResponseProductsInner>;
25
+ /**
26
+ * Валюта отчёта
27
+ * @type {string}
28
+ * @memberof PostSalesFunnelProducts200ResponseData
29
+ */
30
+ currency: string;
25
31
  }
26
32
  /**
27
33
  * Check if a given object implements the PostSalesFunnelProducts200ResponseData interface.
@@ -25,6 +25,8 @@ var ProductsResponseProductsInner_1 = require("./ProductsResponseProductsInner")
25
25
  function instanceOfPostSalesFunnelProducts200ResponseData(value) {
26
26
  if (!('products' in value) || value['products'] === undefined)
27
27
  return false;
28
+ if (!('currency' in value) || value['currency'] === undefined)
29
+ return false;
28
30
  return true;
29
31
  }
30
32
  function PostSalesFunnelProducts200ResponseDataFromJSON(json) {
@@ -36,6 +38,7 @@ function PostSalesFunnelProducts200ResponseDataFromJSONTyped(json, ignoreDiscrim
36
38
  }
37
39
  return {
38
40
  'products': (json['products'].map(ProductsResponseProductsInner_1.ProductsResponseProductsInnerFromJSON)),
41
+ 'currency': json['currency'],
39
42
  };
40
43
  }
41
44
  function PostSalesFunnelProducts200ResponseDataToJSON(json) {
@@ -48,5 +51,6 @@ function PostSalesFunnelProducts200ResponseDataToJSONTyped(value, ignoreDiscrimi
48
51
  }
49
52
  return {
50
53
  'products': (value['products'].map(ProductsResponseProductsInner_1.ProductsResponseProductsInnerToJSON)),
54
+ 'currency': value['currency'],
51
55
  };
52
56
  }
@@ -29,6 +29,12 @@ export interface ProductHistoryResponseInner {
29
29
  * @memberof ProductHistoryResponseInner
30
30
  */
31
31
  history: Array<History>;
32
+ /**
33
+ * Валюта отчёта
34
+ * @type {string}
35
+ * @memberof ProductHistoryResponseInner
36
+ */
37
+ currency: string;
32
38
  }
33
39
  /**
34
40
  * Check if a given object implements the ProductHistoryResponseInner interface.
@@ -28,6 +28,8 @@ function instanceOfProductHistoryResponseInner(value) {
28
28
  return false;
29
29
  if (!('history' in value) || value['history'] === undefined)
30
30
  return false;
31
+ if (!('currency' in value) || value['currency'] === undefined)
32
+ return false;
31
33
  return true;
32
34
  }
33
35
  function ProductHistoryResponseInnerFromJSON(json) {
@@ -40,6 +42,7 @@ function ProductHistoryResponseInnerFromJSONTyped(json, ignoreDiscriminator) {
40
42
  return {
41
43
  'product': (0, ProductHistoryResponseInnerProduct_1.ProductHistoryResponseInnerProductFromJSON)(json['product']),
42
44
  'history': (json['history'].map(History_1.HistoryFromJSON)),
45
+ 'currency': json['currency'],
43
46
  };
44
47
  }
45
48
  function ProductHistoryResponseInnerToJSON(json) {
@@ -53,5 +56,6 @@ function ProductHistoryResponseInnerToJSONTyped(value, ignoreDiscriminator) {
53
56
  return {
54
57
  'product': (0, ProductHistoryResponseInnerProduct_1.ProductHistoryResponseInnerProductToJSON)(value['product']),
55
58
  'history': (value['history'].map(History_1.HistoryToJSON)),
59
+ 'currency': value['currency'],
56
60
  };
57
61
  }
@@ -29,6 +29,12 @@ export interface ProductOrdersResponse {
29
29
  * @memberof ProductOrdersResponse
30
30
  */
31
31
  items: Array<ProductOrdersTextItem>;
32
+ /**
33
+ * Валюта отчёта
34
+ * @type {string}
35
+ * @memberof ProductOrdersResponse
36
+ */
37
+ currency: string;
32
38
  }
33
39
  /**
34
40
  * Check if a given object implements the ProductOrdersResponse interface.
@@ -28,6 +28,8 @@ function instanceOfProductOrdersResponse(value) {
28
28
  return false;
29
29
  if (!('items' in value) || value['items'] === undefined)
30
30
  return false;
31
+ if (!('currency' in value) || value['currency'] === undefined)
32
+ return false;
31
33
  return true;
32
34
  }
33
35
  function ProductOrdersResponseFromJSON(json) {
@@ -40,6 +42,7 @@ function ProductOrdersResponseFromJSONTyped(json, ignoreDiscriminator) {
40
42
  return {
41
43
  'total': (json['total'].map(ProductOrdersMetrics_1.ProductOrdersMetricsFromJSON)),
42
44
  'items': (json['items'].map(ProductOrdersTextItem_1.ProductOrdersTextItemFromJSON)),
45
+ 'currency': json['currency'],
43
46
  };
44
47
  }
45
48
  function ProductOrdersResponseToJSON(json) {
@@ -53,5 +56,6 @@ function ProductOrdersResponseToJSONTyped(value, ignoreDiscriminator) {
53
56
  return {
54
57
  'total': (value['total'].map(ProductOrdersMetrics_1.ProductOrdersMetricsToJSON)),
55
58
  'items': (value['items'].map(ProductOrdersTextItem_1.ProductOrdersTextItemToJSON)),
59
+ 'currency': value['currency'],
56
60
  };
57
61
  }
@@ -22,6 +22,12 @@ export interface ProductSearchTextsResponse {
22
22
  * @memberof ProductSearchTextsResponse
23
23
  */
24
24
  items: Array<TableSearchTextItem>;
25
+ /**
26
+ * Валюта отчёта
27
+ * @type {string}
28
+ * @memberof ProductSearchTextsResponse
29
+ */
30
+ currency: string;
25
31
  }
26
32
  /**
27
33
  * Check if a given object implements the ProductSearchTextsResponse interface.
@@ -25,6 +25,8 @@ var TableSearchTextItem_1 = require("./TableSearchTextItem");
25
25
  function instanceOfProductSearchTextsResponse(value) {
26
26
  if (!('items' in value) || value['items'] === undefined)
27
27
  return false;
28
+ if (!('currency' in value) || value['currency'] === undefined)
29
+ return false;
28
30
  return true;
29
31
  }
30
32
  function ProductSearchTextsResponseFromJSON(json) {
@@ -36,6 +38,7 @@ function ProductSearchTextsResponseFromJSONTyped(json, ignoreDiscriminator) {
36
38
  }
37
39
  return {
38
40
  'items': (json['items'].map(TableSearchTextItem_1.TableSearchTextItemFromJSON)),
41
+ 'currency': json['currency'],
39
42
  };
40
43
  }
41
44
  function ProductSearchTextsResponseToJSON(json) {
@@ -48,5 +51,6 @@ function ProductSearchTextsResponseToJSONTyped(value, ignoreDiscriminator) {
48
51
  }
49
52
  return {
50
53
  'items': (value['items'].map(TableSearchTextItem_1.TableSearchTextItemToJSON)),
54
+ 'currency': value['currency'],
51
55
  };
52
56
  }
@@ -22,6 +22,12 @@ export interface ProductsResponse {
22
22
  * @memberof ProductsResponse
23
23
  */
24
24
  products: Array<ProductsResponseProductsInner>;
25
+ /**
26
+ * Валюта отчёта
27
+ * @type {string}
28
+ * @memberof ProductsResponse
29
+ */
30
+ currency: string;
25
31
  }
26
32
  /**
27
33
  * Check if a given object implements the ProductsResponse interface.
@@ -25,6 +25,8 @@ var ProductsResponseProductsInner_1 = require("./ProductsResponseProductsInner")
25
25
  function instanceOfProductsResponse(value) {
26
26
  if (!('products' in value) || value['products'] === undefined)
27
27
  return false;
28
+ if (!('currency' in value) || value['currency'] === undefined)
29
+ return false;
28
30
  return true;
29
31
  }
30
32
  function ProductsResponseFromJSON(json) {
@@ -36,6 +38,7 @@ function ProductsResponseFromJSONTyped(json, ignoreDiscriminator) {
36
38
  }
37
39
  return {
38
40
  'products': (json['products'].map(ProductsResponseProductsInner_1.ProductsResponseProductsInnerFromJSON)),
41
+ 'currency': json['currency'],
39
42
  };
40
43
  }
41
44
  function ProductsResponseToJSON(json) {
@@ -48,5 +51,6 @@ function ProductsResponseToJSONTyped(value, ignoreDiscriminator) {
48
51
  }
49
52
  return {
50
53
  'products': (value['products'].map(ProductsResponseProductsInner_1.ProductsResponseProductsInnerToJSON)),
54
+ 'currency': value['currency'],
51
55
  };
52
56
  }
@@ -23,6 +23,12 @@ export interface TableDetailsResponse {
23
23
  * @memberof TableDetailsResponse
24
24
  */
25
25
  products: Array<TableProductItem>;
26
+ /**
27
+ * Валюта отчёта
28
+ * @type {string}
29
+ * @memberof TableDetailsResponse
30
+ */
31
+ currency: string;
26
32
  }
27
33
  /**
28
34
  * Check if a given object implements the TableDetailsResponse interface.
@@ -25,6 +25,8 @@ var TableProductItem_1 = require("./TableProductItem");
25
25
  function instanceOfTableDetailsResponse(value) {
26
26
  if (!('products' in value) || value['products'] === undefined)
27
27
  return false;
28
+ if (!('currency' in value) || value['currency'] === undefined)
29
+ return false;
28
30
  return true;
29
31
  }
30
32
  function TableDetailsResponseFromJSON(json) {
@@ -36,6 +38,7 @@ function TableDetailsResponseFromJSONTyped(json, ignoreDiscriminator) {
36
38
  }
37
39
  return {
38
40
  'products': (json['products'].map(TableProductItem_1.TableProductItemFromJSON)),
41
+ 'currency': json['currency'],
39
42
  };
40
43
  }
41
44
  function TableDetailsResponseToJSON(json) {
@@ -48,5 +51,6 @@ function TableDetailsResponseToJSONTyped(value, ignoreDiscriminator) {
48
51
  }
49
52
  return {
50
53
  'products': (value['products'].map(TableProductItem_1.TableProductItemToJSON)),
54
+ 'currency': value['currency'],
51
55
  };
52
56
  }
@@ -23,6 +23,12 @@ export interface TableGroupResponse {
23
23
  * @memberof TableGroupResponse
24
24
  */
25
25
  groups: Array<TableGroupItem>;
26
+ /**
27
+ * Валюта отчёта
28
+ * @type {string}
29
+ * @memberof TableGroupResponse
30
+ */
31
+ currency: string;
26
32
  }
27
33
  /**
28
34
  * Check if a given object implements the TableGroupResponse interface.
@@ -25,6 +25,8 @@ var TableGroupItem_1 = require("./TableGroupItem");
25
25
  function instanceOfTableGroupResponse(value) {
26
26
  if (!('groups' in value) || value['groups'] === undefined)
27
27
  return false;
28
+ if (!('currency' in value) || value['currency'] === undefined)
29
+ return false;
28
30
  return true;
29
31
  }
30
32
  function TableGroupResponseFromJSON(json) {
@@ -36,6 +38,7 @@ function TableGroupResponseFromJSONTyped(json, ignoreDiscriminator) {
36
38
  }
37
39
  return {
38
40
  'groups': (json['groups'].map(TableGroupItem_1.TableGroupItemFromJSON)),
41
+ 'currency': json['currency'],
39
42
  };
40
43
  }
41
44
  function TableGroupResponseToJSON(json) {
@@ -48,5 +51,6 @@ function TableGroupResponseToJSONTyped(value, ignoreDiscriminator) {
48
51
  }
49
52
  return {
50
53
  'groups': (value['groups'].map(TableGroupItem_1.TableGroupItemToJSON)),
54
+ 'currency': value['currency'],
51
55
  };
52
56
  }
@@ -22,6 +22,12 @@ export interface TableGroupResponseSt {
22
22
  * @memberof TableGroupResponseSt
23
23
  */
24
24
  groups: Array<TableGroupItemSt>;
25
+ /**
26
+ * Валюта отчёта
27
+ * @type {string}
28
+ * @memberof TableGroupResponseSt
29
+ */
30
+ currency: string;
25
31
  }
26
32
  /**
27
33
  * Check if a given object implements the TableGroupResponseSt interface.
@@ -25,6 +25,8 @@ var TableGroupItemSt_1 = require("./TableGroupItemSt");
25
25
  function instanceOfTableGroupResponseSt(value) {
26
26
  if (!('groups' in value) || value['groups'] === undefined)
27
27
  return false;
28
+ if (!('currency' in value) || value['currency'] === undefined)
29
+ return false;
28
30
  return true;
29
31
  }
30
32
  function TableGroupResponseStFromJSON(json) {
@@ -36,6 +38,7 @@ function TableGroupResponseStFromJSONTyped(json, ignoreDiscriminator) {
36
38
  }
37
39
  return {
38
40
  'groups': (json['groups'].map(TableGroupItemSt_1.TableGroupItemStFromJSON)),
41
+ 'currency': json['currency'],
39
42
  };
40
43
  }
41
44
  function TableGroupResponseStToJSON(json) {
@@ -48,5 +51,6 @@ function TableGroupResponseStToJSONTyped(value, ignoreDiscriminator) {
48
51
  }
49
52
  return {
50
53
  'groups': (value['groups'].map(TableGroupItemSt_1.TableGroupItemStToJSON)),
54
+ 'currency': value['currency'],
51
55
  };
52
56
  }
@@ -22,6 +22,12 @@ export interface TableProductResponse {
22
22
  * @memberof TableProductResponse
23
23
  */
24
24
  items: Array<TableProductItemSt>;
25
+ /**
26
+ * Валюта отчёта
27
+ * @type {string}
28
+ * @memberof TableProductResponse
29
+ */
30
+ currency: string;
25
31
  }
26
32
  /**
27
33
  * Check if a given object implements the TableProductResponse interface.
@@ -25,6 +25,8 @@ var TableProductItemSt_1 = require("./TableProductItemSt");
25
25
  function instanceOfTableProductResponse(value) {
26
26
  if (!('items' in value) || value['items'] === undefined)
27
27
  return false;
28
+ if (!('currency' in value) || value['currency'] === undefined)
29
+ return false;
28
30
  return true;
29
31
  }
30
32
  function TableProductResponseFromJSON(json) {
@@ -36,6 +38,7 @@ function TableProductResponseFromJSONTyped(json, ignoreDiscriminator) {
36
38
  }
37
39
  return {
38
40
  'items': (json['items'].map(TableProductItemSt_1.TableProductItemStFromJSON)),
41
+ 'currency': json['currency'],
39
42
  };
40
43
  }
41
44
  function TableProductResponseToJSON(json) {
@@ -48,5 +51,6 @@ function TableProductResponseToJSONTyped(value, ignoreDiscriminator) {
48
51
  }
49
52
  return {
50
53
  'items': (value['items'].map(TableProductItemSt_1.TableProductItemStToJSON)),
54
+ 'currency': value['currency'],
51
55
  };
52
56
  }
@@ -22,6 +22,12 @@ export interface TableShippingOfficeResponse {
22
22
  * @memberof TableShippingOfficeResponse
23
23
  */
24
24
  regions?: Array<TableShippingOfficeItem>;
25
+ /**
26
+ * Валюта отчёта
27
+ * @type {string}
28
+ * @memberof TableShippingOfficeResponse
29
+ */
30
+ currency: string;
25
31
  }
26
32
  /**
27
33
  * Check if a given object implements the TableShippingOfficeResponse interface.
@@ -23,6 +23,8 @@ var TableShippingOfficeItem_1 = require("./TableShippingOfficeItem");
23
23
  * Check if a given object implements the TableShippingOfficeResponse interface.
24
24
  */
25
25
  function instanceOfTableShippingOfficeResponse(value) {
26
+ if (!('currency' in value) || value['currency'] === undefined)
27
+ return false;
26
28
  return true;
27
29
  }
28
30
  function TableShippingOfficeResponseFromJSON(json) {
@@ -34,6 +36,7 @@ function TableShippingOfficeResponseFromJSONTyped(json, ignoreDiscriminator) {
34
36
  }
35
37
  return {
36
38
  'regions': json['regions'] == null ? undefined : (json['regions'].map(TableShippingOfficeItem_1.TableShippingOfficeItemFromJSON)),
39
+ 'currency': json['currency'],
37
40
  };
38
41
  }
39
42
  function TableShippingOfficeResponseToJSON(json) {
@@ -46,5 +49,6 @@ function TableShippingOfficeResponseToJSONTyped(value, ignoreDiscriminator) {
46
49
  }
47
50
  return {
48
51
  'regions': value['regions'] == null ? undefined : (value['regions'].map(TableShippingOfficeItem_1.TableShippingOfficeItemToJSON)),
52
+ 'currency': value['currency'],
49
53
  };
50
54
  }
@@ -29,6 +29,12 @@ export interface TableSizeResponse {
29
29
  * @memberof TableSizeResponse
30
30
  */
31
31
  sizes?: Array<TableSizeResponseSizesInner>;
32
+ /**
33
+ * Валюта отчёта
34
+ * @type {string}
35
+ * @memberof TableSizeResponse
36
+ */
37
+ currency: string;
32
38
  }
33
39
  /**
34
40
  * Check if a given object implements the TableSizeResponse interface.
@@ -24,6 +24,8 @@ var TableOfficeItem_1 = require("./TableOfficeItem");
24
24
  * Check if a given object implements the TableSizeResponse interface.
25
25
  */
26
26
  function instanceOfTableSizeResponse(value) {
27
+ if (!('currency' in value) || value['currency'] === undefined)
28
+ return false;
27
29
  return true;
28
30
  }
29
31
  function TableSizeResponseFromJSON(json) {
@@ -36,6 +38,7 @@ function TableSizeResponseFromJSONTyped(json, ignoreDiscriminator) {
36
38
  return {
37
39
  'offices': json['offices'] == null ? undefined : (json['offices'].map(TableOfficeItem_1.TableOfficeItemFromJSON)),
38
40
  'sizes': json['sizes'] == null ? undefined : (json['sizes'].map(TableSizeResponseSizesInner_1.TableSizeResponseSizesInnerFromJSON)),
41
+ 'currency': json['currency'],
39
42
  };
40
43
  }
41
44
  function TableSizeResponseToJSON(json) {
@@ -49,5 +52,6 @@ function TableSizeResponseToJSONTyped(value, ignoreDiscriminator) {
49
52
  return {
50
53
  'offices': value['offices'] == null ? undefined : (value['offices'].map(TableOfficeItem_1.TableOfficeItemToJSON)),
51
54
  'sizes': value['sizes'] == null ? undefined : (value['sizes'].map(TableSizeResponseSizesInner_1.TableSizeResponseSizesInnerToJSON)),
55
+ 'currency': value['currency'],
52
56
  };
53
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wildberries-sdk",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "description": "Wildberries OpenAPI clients (generated).",
5
5
  "license": "MIT",
6
6
  "repository": {