wildberries-sdk 0.1.117 → 0.1.118

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.
@@ -576,6 +576,12 @@ export interface DetailReportItem {
576
576
  * @memberof DetailReportItem
577
577
  */
578
578
  salePriceWholesaleDiscountPrc?: number;
579
+ /**
580
+ * ИНН B2B-покупателя
581
+ * @type {string}
582
+ * @memberof DetailReportItem
583
+ */
584
+ b2bCustomerTin?: string;
579
585
  }
580
586
  /**
581
587
  * @export
@@ -132,6 +132,7 @@ function DetailReportItemFromJSONTyped(json, ignoreDiscriminator) {
132
132
  'salePriceAffiliatedDiscountPrc': json['sale_price_affiliated_discount_prc'] == null ? undefined : json['sale_price_affiliated_discount_prc'],
133
133
  'agencyVat': json['agency_vat'] == null ? undefined : json['agency_vat'],
134
134
  'salePriceWholesaleDiscountPrc': json['sale_price_wholesale_discount_prc'] == null ? undefined : json['sale_price_wholesale_discount_prc'],
135
+ 'b2bCustomerTin': json['b2b_customer_tin'] == null ? undefined : json['b2b_customer_tin'],
135
136
  };
136
137
  }
137
138
  function DetailReportItemToJSON(json) {
@@ -234,5 +235,6 @@ function DetailReportItemToJSONTyped(value, ignoreDiscriminator) {
234
235
  'sale_price_affiliated_discount_prc': value['salePriceAffiliatedDiscountPrc'],
235
236
  'agency_vat': value['agencyVat'],
236
237
  'sale_price_wholesale_discount_prc': value['salePriceWholesaleDiscountPrc'],
238
+ 'b2b_customer_tin': value['b2bCustomerTin'],
237
239
  };
238
240
  }
@@ -548,6 +548,12 @@ export interface SalesReportsDetailedRes {
548
548
  * @memberof SalesReportsDetailedRes
549
549
  */
550
550
  salePriceWholesaleDiscountPrc: number;
551
+ /**
552
+ * ИНН B2B-покупателя
553
+ * @type {string}
554
+ * @memberof SalesReportsDetailedRes
555
+ */
556
+ b2bCustomerTin: string;
551
557
  /**
552
558
  * ID корзины заказа — транзакции.<br>Заказы в одной корзине покупателя будут иметь одинаковый `orderUid`
553
559
  *
@@ -199,6 +199,8 @@ function instanceOfSalesReportsDetailedRes(value) {
199
199
  return false;
200
200
  if (!('salePriceWholesaleDiscountPrc' in value) || value['salePriceWholesaleDiscountPrc'] === undefined)
201
201
  return false;
202
+ if (!('b2bCustomerTin' in value) || value['b2bCustomerTin'] === undefined)
203
+ return false;
202
204
  if (!('orderUid' in value) || value['orderUid'] === undefined)
203
205
  return false;
204
206
  if (!('srid' in value) || value['srid'] === undefined)
@@ -301,6 +303,7 @@ function SalesReportsDetailedResFromJSONTyped(json, ignoreDiscriminator) {
301
303
  'salePriceAffiliatedDiscountPrc': json['salePriceAffiliatedDiscountPrc'],
302
304
  'agencyVat': json['agencyVat'] == null ? undefined : json['agencyVat'],
303
305
  'salePriceWholesaleDiscountPrc': json['salePriceWholesaleDiscountPrc'],
306
+ 'b2bCustomerTin': json['b2bCustomerTin'],
304
307
  'orderUid': json['orderUid'],
305
308
  'srid': json['srid'],
306
309
  };
@@ -402,6 +405,7 @@ function SalesReportsDetailedResToJSONTyped(value, ignoreDiscriminator) {
402
405
  'salePriceAffiliatedDiscountPrc': value['salePriceAffiliatedDiscountPrc'],
403
406
  'agencyVat': value['agencyVat'],
404
407
  'salePriceWholesaleDiscountPrc': value['salePriceWholesaleDiscountPrc'],
408
+ 'b2bCustomerTin': value['b2bCustomerTin'],
405
409
  'orderUid': value['orderUid'],
406
410
  'srid': value['srid'],
407
411
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wildberries-sdk",
3
- "version": "0.1.117",
3
+ "version": "0.1.118",
4
4
  "description": "Wildberries OpenAPI clients (generated).",
5
5
  "keywords": [
6
6
  "wildberries",