wildberries-sdk 0.1.59 → 0.1.61

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.
@@ -550,6 +550,32 @@ export interface DetailReportItem {
550
550
  * @memberof DetailReportItem
551
551
  */
552
552
  salePricePromocodeDiscountPrc?: number;
553
+ /**
554
+ * ID подменного артикула
555
+ * @type {string}
556
+ * @memberof DetailReportItem
557
+ */
558
+ articleSubstitution?: string;
559
+ /**
560
+ * Скидка по подменному артикулу, %
561
+ * @type {number}
562
+ * @memberof DetailReportItem
563
+ */
564
+ salePriceAffiliatedDiscountPrc?: number;
565
+ /**
566
+ * Удержание Агентского НДС, %. Только для продавцов из Кыргызстана.<br>
567
+ * Поле будет в ответе при наличии значения
568
+ *
569
+ * @type {number}
570
+ * @memberof DetailReportItem
571
+ */
572
+ agencyVat?: number;
573
+ /**
574
+ * Оптовая скидка для бизнеса, %
575
+ * @type {number}
576
+ * @memberof DetailReportItem
577
+ */
578
+ salePriceWholesaleDiscountPrc?: number;
553
579
  }
554
580
  /**
555
581
  * @export
@@ -129,6 +129,10 @@ function DetailReportItemFromJSONTyped(json, ignoreDiscriminator) {
129
129
  'loyaltyDiscount': json['loyalty_discount'] == null ? undefined : json['loyalty_discount'],
130
130
  'uuidPromocode': json['uuid_promocode'] == null ? undefined : json['uuid_promocode'],
131
131
  'salePricePromocodeDiscountPrc': json['sale_price_promocode_discount_prc'] == null ? undefined : json['sale_price_promocode_discount_prc'],
132
+ 'articleSubstitution': json['article_substitution'] == null ? undefined : json['article_substitution'],
133
+ 'salePriceAffiliatedDiscountPrc': json['sale_price_affiliated_discount_prc'] == null ? undefined : json['sale_price_affiliated_discount_prc'],
134
+ 'agencyVat': json['agency_vat'] == null ? undefined : json['agency_vat'],
135
+ 'salePriceWholesaleDiscountPrc': json['sale_price_wholesale_discount_prc'] == null ? undefined : json['sale_price_wholesale_discount_prc'],
132
136
  };
133
137
  }
134
138
  function DetailReportItemToJSON(json) {
@@ -227,5 +231,9 @@ function DetailReportItemToJSONTyped(value, ignoreDiscriminator) {
227
231
  'loyalty_discount': value['loyaltyDiscount'],
228
232
  'uuid_promocode': value['uuidPromocode'],
229
233
  'sale_price_promocode_discount_prc': value['salePricePromocodeDiscountPrc'],
234
+ 'article_substitution': value['articleSubstitution'],
235
+ 'sale_price_affiliated_discount_prc': value['salePriceAffiliatedDiscountPrc'],
236
+ 'agency_vat': value['agencyVat'],
237
+ 'sale_price_wholesale_discount_prc': value['salePriceWholesaleDiscountPrc'],
230
238
  };
231
239
  }
@@ -53,6 +53,12 @@ export interface ModelsErrorTableListPublicRespV2Item {
53
53
  errors: {
54
54
  [key: string]: Array<string>;
55
55
  };
56
+ /**
57
+ * Дата и время создания или редактирования пакета
58
+ * @type {Date}
59
+ * @memberof ModelsErrorTableListPublicRespV2Item
60
+ */
61
+ updatedAt: Date;
56
62
  }
57
63
  /**
58
64
  * Check if a given object implements the ModelsErrorTableListPublicRespV2Item interface.
@@ -35,6 +35,8 @@ function instanceOfModelsErrorTableListPublicRespV2Item(value) {
35
35
  return false;
36
36
  if (!('errors' in value) || value['errors'] === undefined)
37
37
  return false;
38
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
39
+ return false;
38
40
  return true;
39
41
  }
40
42
  function ModelsErrorTableListPublicRespV2ItemFromJSON(json) {
@@ -50,6 +52,7 @@ function ModelsErrorTableListPublicRespV2ItemFromJSONTyped(json, ignoreDiscrimin
50
52
  'brands': ((0, runtime_1.mapValues)(json['brands'], ModelsErrorBrand_1.ModelsErrorBrandFromJSON)),
51
53
  'vendorCodes': json['vendorCodes'],
52
54
  'errors': json['errors'],
55
+ 'updatedAt': (new Date(json['updatedAt'])),
53
56
  };
54
57
  }
55
58
  function ModelsErrorTableListPublicRespV2ItemToJSON(json) {
@@ -66,5 +69,6 @@ function ModelsErrorTableListPublicRespV2ItemToJSONTyped(value, ignoreDiscrimina
66
69
  'brands': ((0, runtime_1.mapValues)(value['brands'], ModelsErrorBrand_1.ModelsErrorBrandToJSON)),
67
70
  'vendorCodes': value['vendorCodes'],
68
71
  'errors': value['errors'],
72
+ 'updatedAt': value['updatedAt'].toISOString(),
69
73
  };
70
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wildberries-sdk",
3
- "version": "0.1.59",
3
+ "version": "0.1.61",
4
4
  "description": "Wildberries OpenAPI clients (generated).",
5
5
  "license": "MIT",
6
6
  "repository": {