wildberries-sdk 0.1.39 → 0.1.40

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.
@@ -28,7 +28,7 @@ export interface Order {
28
28
  * @type {number}
29
29
  * @memberof Order
30
30
  */
31
- scanPrice?: number;
31
+ scanPrice?: number | null;
32
32
  /**
33
33
  * Тип доставки:
34
34
  * - `fbs` — доставка на склад Wildberries (FBS)
@@ -18,6 +18,7 @@ exports.V3OrderMetaAPIFromJSON = V3OrderMetaAPIFromJSON;
18
18
  exports.V3OrderMetaAPIFromJSONTyped = V3OrderMetaAPIFromJSONTyped;
19
19
  exports.V3OrderMetaAPIToJSON = V3OrderMetaAPIToJSON;
20
20
  exports.V3OrderMetaAPIToJSONTyped = V3OrderMetaAPIToJSONTyped;
21
+ var Meta_1 = require("./Meta");
21
22
  /**
22
23
  * Check if a given object implements the V3OrderMetaAPI interface.
23
24
  */
@@ -33,7 +34,7 @@ function V3OrderMetaAPIFromJSONTyped(json, ignoreDiscriminator) {
33
34
  }
34
35
  return {
35
36
  'id': json['id'] == null ? undefined : json['id'],
36
- 'meta': json['meta'] == null ? undefined : json['meta'],
37
+ 'meta': json['meta'] == null ? undefined : (0, Meta_1.MetaFromJSON)(json['meta']),
37
38
  };
38
39
  }
39
40
  function V3OrderMetaAPIToJSON(json) {
@@ -46,6 +47,6 @@ function V3OrderMetaAPIToJSONTyped(value, ignoreDiscriminator) {
46
47
  }
47
48
  return {
48
49
  'id': value['id'],
49
- 'meta': value['meta'],
50
+ 'meta': (0, Meta_1.MetaToJSON)(value['meta']),
50
51
  };
51
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wildberries-sdk",
3
- "version": "0.1.39",
3
+ "version": "0.1.40",
4
4
  "description": "Wildberries OpenAPI clients (generated).",
5
5
  "license": "MIT",
6
6
  "repository": {