wildberries-sdk 0.1.59 → 0.1.60

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.
@@ -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.60",
4
4
  "description": "Wildberries OpenAPI clients (generated).",
5
5
  "license": "MIT",
6
6
  "repository": {