wildberries-sdk 0.1.62 → 0.1.63

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.
@@ -30,6 +30,17 @@ export interface ContentV2CardsUpdatePostRequestInner {
30
30
  * @memberof ContentV2CardsUpdatePostRequestInner
31
31
  */
32
32
  vendorCode: string;
33
+ /**
34
+ * Подтверждение, что на товар нанесён обязательный [код маркировки](https://честныйзнак.рф/):
35
+ * - `true` — продавец подтверждает, что на товар нанесён обязательный код маркировки.
36
+ * - `false` — продавец подтверждает, что на товар нанесён обязательный код маркировки. Передайте в запросе `true`, чтобы подтвердить наличие на товаре обязательного кода маркировки. Карточка товара не пройдёт модерацию, если нет подтверждения продавца о том, что обязательный код маркировки нанесён на товар.
37
+ *
38
+ * Чтобы проверить, является ли код маркировки обязательным, используйте метод [Список карточек товаров](./work-with-products/#tag/Kartochki-tovarov/paths/~1content~1v2~1get~1cards~1list/post), поле ответа `needKiz`
39
+ *
40
+ * @type {boolean}
41
+ * @memberof ContentV2CardsUpdatePostRequestInner
42
+ */
43
+ kizMarked?: boolean;
33
44
  /**
34
45
  * Бренд
35
46
  * @type {string}
@@ -43,6 +43,7 @@ function ContentV2CardsUpdatePostRequestInnerFromJSONTyped(json, ignoreDiscrimin
43
43
  return {
44
44
  'nmID': json['nmID'],
45
45
  'vendorCode': json['vendorCode'],
46
+ 'kizMarked': json['kizMarked'] == null ? undefined : json['kizMarked'],
46
47
  'brand': json['brand'] == null ? undefined : json['brand'],
47
48
  'title': json['title'] == null ? undefined : json['title'],
48
49
  'description': json['description'] == null ? undefined : json['description'],
@@ -62,6 +63,7 @@ function ContentV2CardsUpdatePostRequestInnerToJSONTyped(value, ignoreDiscrimina
62
63
  return {
63
64
  'nmID': value['nmID'],
64
65
  'vendorCode': value['vendorCode'],
66
+ 'kizMarked': value['kizMarked'],
65
67
  'brand': value['brand'],
66
68
  'title': value['title'],
67
69
  'description': value['description'],
@@ -31,6 +31,17 @@ export interface ContentV2CardsUploadAddPostRequestCardsToAddInner {
31
31
  * @memberof ContentV2CardsUploadAddPostRequestCardsToAddInner
32
32
  */
33
33
  vendorCode: string;
34
+ /**
35
+ * Подтверждение, что на товар нанесён обязательный [код маркировки](https://честныйзнак.рф/):
36
+ * - `true` — продавец подтверждает, что на товар нанесён обязательный код маркировки.
37
+ * - `false` — продавец не подтверждает, что на товар нанесён обязательный код маркировки. Передайте в запросе `true`, чтобы подтвердить наличие на товаре обязательного кода маркировки. Карточка товара не пройдёт модерацию, если нет подтверждения продавца о том, что обязательный код маркировки нанесён на товар.
38
+ *
39
+ * Чтобы проверить, является ли код маркировки обязательным, используйте метод [Список карточек товаров](./work-with-products/#tag/Kartochki-tovarov/paths/~1content~1v2~1get~1cards~1list/post), поле ответа `needKiz`
40
+ *
41
+ * @type {boolean}
42
+ * @memberof ContentV2CardsUploadAddPostRequestCardsToAddInner
43
+ */
44
+ kizMarked?: boolean;
34
45
  /**
35
46
  *
36
47
  * @type {ContentV2GetCardsListPost200ResponseCardsInnerWholesale}
@@ -40,6 +40,7 @@ function ContentV2CardsUploadAddPostRequestCardsToAddInnerFromJSONTyped(json, ig
40
40
  return {
41
41
  'brand': json['brand'] == null ? undefined : json['brand'],
42
42
  'vendorCode': json['vendorCode'],
43
+ 'kizMarked': json['kizMarked'] == null ? undefined : json['kizMarked'],
43
44
  'wholesale': json['wholesale'] == null ? undefined : (0, ContentV2GetCardsListPost200ResponseCardsInnerWholesale_1.ContentV2GetCardsListPost200ResponseCardsInnerWholesaleFromJSON)(json['wholesale']),
44
45
  'title': json['title'] == null ? undefined : json['title'],
45
46
  'description': json['description'] == null ? undefined : json['description'],
@@ -59,6 +60,7 @@ function ContentV2CardsUploadAddPostRequestCardsToAddInnerToJSONTyped(value, ign
59
60
  return {
60
61
  'brand': value['brand'],
61
62
  'vendorCode': value['vendorCode'],
63
+ 'kizMarked': value['kizMarked'],
62
64
  'wholesale': (0, ContentV2GetCardsListPost200ResponseCardsInnerWholesale_1.ContentV2GetCardsListPost200ResponseCardsInnerWholesaleToJSON)(value['wholesale']),
63
65
  'title': value['title'],
64
66
  'description': value['description'],
@@ -47,6 +47,17 @@ export interface ContentV2CardsUploadPostRequestInnerVariantsInner {
47
47
  * @memberof ContentV2CardsUploadPostRequestInnerVariantsInner
48
48
  */
49
49
  vendorCode: string;
50
+ /**
51
+ * Подтверждение, что на товар нанесён обязательный [код маркировки](https://честныйзнак.рф/):
52
+ * - `true` — продавец подтверждает, что на товар нанесён обязательный код маркировки.
53
+ * - `false` — продавец не подтверждает, что на товар нанесён обязательный код маркировки. Передайте в запросе `true`, чтобы подтвердить наличие на товаре обязательного кода маркировки. Карточка товара не пройдёт модерацию, если нет подтверждения продавца о том, что обязательный код маркировки нанесён на товар.
54
+ *
55
+ * Чтобы проверить, является ли код маркировки обязательным, используйте метод [Список карточек товаров](./work-with-products/#tag/Kartochki-tovarov/paths/~1content~1v2~1get~1cards~1list/post), поле ответа `needKiz`
56
+ *
57
+ * @type {boolean}
58
+ * @memberof ContentV2CardsUploadPostRequestInnerVariantsInner
59
+ */
60
+ kizMarked?: boolean;
50
61
  /**
51
62
  *
52
63
  * @type {ContentV2GetCardsListPost200ResponseCardsInnerWholesale}
@@ -42,6 +42,7 @@ function ContentV2CardsUploadPostRequestInnerVariantsInnerFromJSONTyped(json, ig
42
42
  'title': json['title'] == null ? undefined : json['title'],
43
43
  'description': json['description'] == null ? undefined : json['description'],
44
44
  'vendorCode': json['vendorCode'],
45
+ 'kizMarked': json['kizMarked'] == null ? undefined : json['kizMarked'],
45
46
  'wholesale': json['wholesale'] == null ? undefined : (0, ContentV2GetCardsListPost200ResponseCardsInnerWholesale_1.ContentV2GetCardsListPost200ResponseCardsInnerWholesaleFromJSON)(json['wholesale']),
46
47
  'dimensions': json['dimensions'] == null ? undefined : (0, ContentV2CardsUploadPostRequestInnerVariantsInnerDimensions_1.ContentV2CardsUploadPostRequestInnerVariantsInnerDimensionsFromJSON)(json['dimensions']),
47
48
  'sizes': json['sizes'] == null ? undefined : (json['sizes'].map(ContentV2CardsUploadPostRequestInnerVariantsInnerSizesInner_1.ContentV2CardsUploadPostRequestInnerVariantsInnerSizesInnerFromJSON)),
@@ -61,6 +62,7 @@ function ContentV2CardsUploadPostRequestInnerVariantsInnerToJSONTyped(value, ign
61
62
  'title': value['title'],
62
63
  'description': value['description'],
63
64
  'vendorCode': value['vendorCode'],
65
+ 'kizMarked': value['kizMarked'],
64
66
  'wholesale': (0, ContentV2GetCardsListPost200ResponseCardsInnerWholesale_1.ContentV2GetCardsListPost200ResponseCardsInnerWholesaleToJSON)(value['wholesale']),
65
67
  'dimensions': (0, ContentV2CardsUploadPostRequestInnerVariantsInnerDimensions_1.ContentV2CardsUploadPostRequestInnerVariantsInnerDimensionsToJSON)(value['dimensions']),
66
68
  'sizes': value['sizes'] == null ? undefined : (value['sizes'].map(ContentV2CardsUploadPostRequestInnerVariantsInnerSizesInner_1.ContentV2CardsUploadPostRequestInnerVariantsInnerSizesInnerToJSON)),
@@ -76,16 +76,27 @@ export interface ContentV2GetCardsListPost200ResponseCardsInner {
76
76
  */
77
77
  description?: string;
78
78
  /**
79
- * Требуется ли [код маркировки](https://честныйзнак.рф/) для этого товара
79
+ * Требуется ли [код маркировки](https://честныйзнак.рф/) для этого товара:
80
80
  * <br>
81
- * * `false` — не требуется
81
+ * - `false` — не требуется
82
82
  * <br>
83
- * * `true` — требуется
83
+ * - `true` — требуется
84
84
  *
85
85
  * @type {boolean}
86
86
  * @memberof ContentV2GetCardsListPost200ResponseCardsInner
87
87
  */
88
88
  needKiz?: boolean;
89
+ /**
90
+ * Есть ли подтверждение от продавца, что обязательный [код маркировки](https://честныйзнак.рф/) нанесён на товар:
91
+ * - `true` — да
92
+ * - `false` — нет
93
+ *
94
+ * Является ли код маркировки обязательным, указано в поле `needKiz`
95
+ *
96
+ * @type {boolean}
97
+ * @memberof ContentV2GetCardsListPost200ResponseCardsInner
98
+ */
99
+ kizMarked?: boolean;
89
100
  /**
90
101
  * Массив фото
91
102
  * @type {Array<ContentV2GetCardsListPost200ResponseCardsInnerPhotosInner>}
@@ -48,6 +48,7 @@ function ContentV2GetCardsListPost200ResponseCardsInnerFromJSONTyped(json, ignor
48
48
  'title': json['title'] == null ? undefined : json['title'],
49
49
  'description': json['description'] == null ? undefined : json['description'],
50
50
  'needKiz': json['needKiz'] == null ? undefined : json['needKiz'],
51
+ 'kizMarked': json['kizMarked'] == null ? undefined : json['kizMarked'],
51
52
  'photos': json['photos'] == null ? undefined : (json['photos'].map(ContentV2GetCardsListPost200ResponseCardsInnerPhotosInner_1.ContentV2GetCardsListPost200ResponseCardsInnerPhotosInnerFromJSON)),
52
53
  'video': json['video'] == null ? undefined : json['video'],
53
54
  'wholesale': json['wholesale'] == null ? undefined : (0, ContentV2GetCardsListPost200ResponseCardsInnerWholesale_1.ContentV2GetCardsListPost200ResponseCardsInnerWholesaleFromJSON)(json['wholesale']),
@@ -78,6 +79,7 @@ function ContentV2GetCardsListPost200ResponseCardsInnerToJSONTyped(value, ignore
78
79
  'title': value['title'],
79
80
  'description': value['description'],
80
81
  'needKiz': value['needKiz'],
82
+ 'kizMarked': value['kizMarked'],
81
83
  'photos': value['photos'] == null ? undefined : (value['photos'].map(ContentV2GetCardsListPost200ResponseCardsInnerPhotosInner_1.ContentV2GetCardsListPost200ResponseCardsInnerPhotosInnerToJSON)),
82
84
  'video': value['video'],
83
85
  'wholesale': (0, ContentV2GetCardsListPost200ResponseCardsInnerWholesale_1.ContentV2GetCardsListPost200ResponseCardsInnerWholesaleToJSON)(value['wholesale']),
@@ -32,6 +32,17 @@ export interface ContentV2GetCardsTrashPost200ResponseCardsInner {
32
32
  * @memberof ContentV2GetCardsTrashPost200ResponseCardsInner
33
33
  */
34
34
  vendorCode?: string;
35
+ /**
36
+ * Есть ли подтверждение от продавца, что обязательный [код маркировки](https://честныйзнак.рф/) нанесён на товар:
37
+ * - `true` — да
38
+ * - `false` — нет
39
+ *
40
+ * Чтобы проверить, является ли код маркировки обязательным, используйте метод [Список карточек товаров](./work-with-products/#tag/Kartochki-tovarov/paths/~1content~1v2~1get~1cards~1list/post), поле ответа `needKiz`
41
+ *
42
+ * @type {boolean}
43
+ * @memberof ContentV2GetCardsTrashPost200ResponseCardsInner
44
+ */
45
+ kizMarked?: boolean;
35
46
  /**
36
47
  * ID предмета
37
48
  * @type {number}
@@ -39,6 +39,7 @@ function ContentV2GetCardsTrashPost200ResponseCardsInnerFromJSONTyped(json, igno
39
39
  return {
40
40
  'nmID': json['nmID'] == null ? undefined : json['nmID'],
41
41
  'vendorCode': json['vendorCode'] == null ? undefined : json['vendorCode'],
42
+ 'kizMarked': json['kizMarked'] == null ? undefined : json['kizMarked'],
42
43
  'subjectID': json['subjectID'] == null ? undefined : json['subjectID'],
43
44
  'subjectName': json['subjectName'] == null ? undefined : json['subjectName'],
44
45
  'photos': json['photos'] == null ? undefined : (json['photos'].map(ContentV2GetCardsListPost200ResponseCardsInnerPhotosInner_1.ContentV2GetCardsListPost200ResponseCardsInnerPhotosInnerFromJSON)),
@@ -62,6 +63,7 @@ function ContentV2GetCardsTrashPost200ResponseCardsInnerToJSONTyped(value, ignor
62
63
  return {
63
64
  'nmID': value['nmID'],
64
65
  'vendorCode': value['vendorCode'],
66
+ 'kizMarked': value['kizMarked'],
65
67
  'subjectID': value['subjectID'],
66
68
  'subjectName': value['subjectName'],
67
69
  'photos': value['photos'] == null ? undefined : (value['photos'].map(ContentV2GetCardsListPost200ResponseCardsInnerPhotosInner_1.ContentV2GetCardsListPost200ResponseCardsInnerPhotosInnerToJSON)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wildberries-sdk",
3
- "version": "0.1.62",
3
+ "version": "0.1.63",
4
4
  "description": "Wildberries OpenAPI clients (generated).",
5
5
  "license": "MIT",
6
6
  "repository": {