wildberries-sdk 0.1.54 → 0.1.55

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,13 +30,6 @@ export interface Chat {
30
30
  * @memberof Chat
31
31
  */
32
32
  replySign?: string;
33
- /**
34
- * ID покупателя. Поле будет отключено [2 февраля](https://dev.wildberries.ru/release-notes?id=466)
35
- * @type {string}
36
- * @memberof Chat
37
- * @deprecated
38
- */
39
- clientID?: string;
40
33
  /**
41
34
  * Имя покупателя
42
35
  * @type {string}
@@ -36,7 +36,6 @@ function ChatFromJSONTyped(json, ignoreDiscriminator) {
36
36
  return {
37
37
  'chatID': json['chatID'] == null ? undefined : json['chatID'],
38
38
  'replySign': json['replySign'] == null ? undefined : json['replySign'],
39
- 'clientID': json['clientID'] == null ? undefined : json['clientID'],
40
39
  'clientName': json['clientName'] == null ? undefined : json['clientName'],
41
40
  'goodCard': json['goodCard'] == null ? undefined : (0, GoodCard_1.GoodCardFromJSON)(json['goodCard']),
42
41
  'lastMessage': json['lastMessage'] == null ? undefined : (0, LastMessage_1.LastMessageFromJSON)(json['lastMessage']),
@@ -53,7 +52,6 @@ function ChatToJSONTyped(value, ignoreDiscriminator) {
53
52
  return {
54
53
  'chatID': value['chatID'],
55
54
  'replySign': value['replySign'],
56
- 'clientID': value['clientID'],
57
55
  'clientName': value['clientName'],
58
56
  'goodCard': (0, GoodCard_1.GoodCardToJSON)(value['goodCard']),
59
57
  'lastMessage': (0, LastMessage_1.LastMessageToJSON)(value['lastMessage']),
@@ -89,13 +89,6 @@ export interface Event {
89
89
  * @memberof Event
90
90
  */
91
91
  sender?: Sender;
92
- /**
93
- * ID покупателя. Поле будет отключено [2 февраля](https://dev.wildberries.ru/release-notes?id=466)
94
- * @type {string}
95
- * @memberof Event
96
- * @deprecated
97
- */
98
- clientID?: string;
99
92
  /**
100
93
  * Имя покупателя
101
94
  * @type {string}
@@ -45,7 +45,6 @@ function EventFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'addTime': json['addTime'] == null ? undefined : json['addTime'],
46
46
  'replySign': json['replySign'] == null ? undefined : json['replySign'],
47
47
  'sender': json['sender'] == null ? undefined : (0, Sender_1.SenderFromJSON)(json['sender']),
48
- 'clientID': json['clientID'] == null ? undefined : json['clientID'],
49
48
  'clientName': json['clientName'] == null ? undefined : json['clientName'],
50
49
  };
51
50
  }
@@ -68,7 +67,6 @@ function EventToJSONTyped(value, ignoreDiscriminator) {
68
67
  'addTime': value['addTime'],
69
68
  'replySign': value['replySign'],
70
69
  'sender': (0, Sender_1.SenderToJSON)(value['sender']),
71
- 'clientID': value['clientID'],
72
70
  'clientName': value['clientName'],
73
71
  };
74
72
  }
@@ -58,14 +58,6 @@ export interface GoodCard {
58
58
  * @memberof GoodCard
59
59
  */
60
60
  size?: string;
61
- /**
62
- * Поле будет отключено [10 февраля](https://dev.wildberries.ru/release-notes?id=469)
63
- *
64
- * @type {number}
65
- * @memberof GoodCard
66
- * @deprecated
67
- */
68
- statusID?: number;
69
61
  }
70
62
  /**
71
63
  * Check if a given object implements the GoodCard interface.
@@ -38,7 +38,6 @@ function GoodCardFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'priceCurrency': json['priceCurrency'] == null ? undefined : json['priceCurrency'],
39
39
  'rid': json['rid'] == null ? undefined : json['rid'],
40
40
  'size': json['size'] == null ? undefined : json['size'],
41
- 'statusID': json['statusID'] == null ? undefined : json['statusID'],
42
41
  };
43
42
  }
44
43
  function GoodCardToJSON(json) {
@@ -56,6 +55,5 @@ function GoodCardToJSONTyped(value, ignoreDiscriminator) {
56
55
  'priceCurrency': value['priceCurrency'],
57
56
  'rid': value['rid'],
58
57
  'size': value['size'],
59
- 'statusID': value['statusID'],
60
58
  };
61
59
  }
@@ -27,6 +27,12 @@ export interface ApiV1SellerInfoGet200Response {
27
27
  * @memberof ApiV1SellerInfoGet200Response
28
28
  */
29
29
  sid?: string;
30
+ /**
31
+ * ИНН
32
+ * @type {string}
33
+ * @memberof ApiV1SellerInfoGet200Response
34
+ */
35
+ tin?: string;
30
36
  /**
31
37
  * Торговое наименование продавца
32
38
  * @type {string}
@@ -34,6 +34,7 @@ function ApiV1SellerInfoGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
34
34
  return {
35
35
  'name': json['name'] == null ? undefined : json['name'],
36
36
  'sid': json['sid'] == null ? undefined : json['sid'],
37
+ 'tin': json['tin'] == null ? undefined : json['tin'],
37
38
  'tradeMark': json['tradeMark'] == null ? undefined : json['tradeMark'],
38
39
  };
39
40
  }
@@ -48,6 +49,7 @@ function ApiV1SellerInfoGet200ResponseToJSONTyped(value, ignoreDiscriminator) {
48
49
  return {
49
50
  'name': value['name'],
50
51
  'sid': value['sid'],
52
+ 'tin': value['tin'],
51
53
  'tradeMark': value['tradeMark'],
52
54
  };
53
55
  }