ozon-api 0.0.11 → 0.0.12

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.
@@ -57,130 +57,131 @@ export declare namespace Product {
57
57
  sku: number[];
58
58
  }
59
59
  interface GetPlatformProductDetailList {
60
- "items": {
61
- "availabilities": {
62
- "availability": string;
63
- "reasons": {
64
- "human_text": {
65
- "text": string;
66
- };
67
- "id": number;
68
- }[];
69
- "sku": number;
70
- "source": string;
71
- }[];
72
- "barcodes": string[];
73
- "color_image": string[];
74
- "commissions": {
75
- "delivery_amount": number;
76
- "percent": number;
77
- "return_amount": number;
78
- "sale_schema": string;
79
- "value": number;
80
- }[];
81
- "created_at": string;
82
- "currency_code": string;
83
- "description_category_id": number;
84
- "discounted_fbo_stocks": number;
85
- "errors": {
86
- "attribute_id": 0;
87
- "code": string;
88
- "field": string;
89
- "level": "ERROR_LEVEL_UNSPECIFIED";
90
- "state": string;
91
- "texts": {
92
- "attribute_name": string;
93
- "description": string;
94
- "hint_code": string;
95
- "message": string;
96
- "params": [
97
- {
98
- "name": string;
99
- "value": string;
100
- }
101
- ];
102
- "short_description": string;
60
+ "items": GetPlatformProductDetailListItems[];
61
+ }
62
+ interface GetPlatformProductDetailListItems {
63
+ "availabilities": {
64
+ "availability": string;
65
+ "reasons": {
66
+ "human_text": {
67
+ "text": string;
103
68
  };
69
+ "id": number;
104
70
  }[];
105
- "has_discounted_fbo_item": boolean;
106
- "id": number;
107
- "images": string[];
108
- "images360": string[];
109
- "is_archived": boolean;
110
- "is_autoarchived": boolean;
111
- "is_discounted": boolean;
112
- "is_kgt": boolean;
113
- "is_prepayment_allowed": boolean;
114
- "is_super": boolean;
115
- "min_price": string;
116
- "model_info": {
117
- "count": number;
118
- "model_id": number;
71
+ "sku": number;
72
+ "source": string;
73
+ }[];
74
+ "barcodes": string[];
75
+ "color_image": string[];
76
+ "commissions": {
77
+ "delivery_amount": number;
78
+ "percent": number;
79
+ "return_amount": number;
80
+ "sale_schema": string;
81
+ "value": number;
82
+ }[];
83
+ "created_at": string;
84
+ "currency_code": string;
85
+ "description_category_id": number;
86
+ "discounted_fbo_stocks": number;
87
+ "errors": {
88
+ "attribute_id": 0;
89
+ "code": string;
90
+ "field": string;
91
+ "level": "ERROR_LEVEL_UNSPECIFIED";
92
+ "state": string;
93
+ "texts": {
94
+ "attribute_name": string;
95
+ "description": string;
96
+ "hint_code": string;
97
+ "message": string;
98
+ "params": [
99
+ {
100
+ "name": string;
101
+ "value": string;
102
+ }
103
+ ];
104
+ "short_description": string;
119
105
  };
120
- "name": string;
121
- "offer_id": string;
122
- "old_price": string;
123
- "price": string;
124
- "price_indexes": {
125
- "color_index": "COLOR_INDEX_UNSPECIFIED";
126
- "external_index_data": {
127
- "minimal_price": string;
128
- "minimal_price_currency": string;
129
- "price_index_value": 0;
130
- };
131
- "ozon_index_data": {
132
- "minimal_price": string;
133
- "minimal_price_currency": string;
134
- "price_index_value": number;
135
- };
136
- "self_marketplaces_index_data": {
137
- "minimal_price": string;
138
- "minimal_price_currency": string;
139
- "price_index_value": number;
140
- };
106
+ }[];
107
+ "has_discounted_fbo_item": boolean;
108
+ "id": number;
109
+ "images": string[];
110
+ "images360": string[];
111
+ "is_archived": boolean;
112
+ "is_autoarchived": boolean;
113
+ "is_discounted": boolean;
114
+ "is_kgt": boolean;
115
+ "is_prepayment_allowed": boolean;
116
+ "is_super": boolean;
117
+ "min_price": string;
118
+ "model_info": {
119
+ "count": number;
120
+ "model_id": number;
121
+ };
122
+ "name": string;
123
+ "offer_id": string;
124
+ "old_price": string;
125
+ "price": string;
126
+ "price_indexes": {
127
+ "color_index": "COLOR_INDEX_UNSPECIFIED";
128
+ "external_index_data": {
129
+ "minimal_price": string;
130
+ "minimal_price_currency": string;
131
+ "price_index_value": 0;
141
132
  };
142
- "primary_image": string[];
143
- "promotions": {
144
- "is_enabled": boolean;
145
- "type": "UNSPECIFIED";
146
- }[];
133
+ "ozon_index_data": {
134
+ "minimal_price": string;
135
+ "minimal_price_currency": string;
136
+ "price_index_value": number;
137
+ };
138
+ "self_marketplaces_index_data": {
139
+ "minimal_price": string;
140
+ "minimal_price_currency": string;
141
+ "price_index_value": number;
142
+ };
143
+ };
144
+ "primary_image": string[];
145
+ "promotions": {
146
+ "is_enabled": boolean;
147
+ "type": "UNSPECIFIED";
148
+ }[];
149
+ "sku": number;
150
+ "sources": {
151
+ "created_at": string;
152
+ "quant_code": string;
153
+ "shipment_type": "SHIPMENT_TYPE_UNSPECIFIED";
147
154
  "sku": number;
148
- "sources": {
149
- "created_at": string;
150
- "quant_code": string;
151
- "shipment_type": "SHIPMENT_TYPE_UNSPECIFIED";
155
+ "source": string;
156
+ }[];
157
+ "statuses": {
158
+ "is_created": boolean;
159
+ "moderate_status": string;
160
+ "status": string;
161
+ "status_description": string;
162
+ "status_failed": string;
163
+ "status_name": string;
164
+ "status_tooltip": string;
165
+ "status_updated_at": string;
166
+ "validation_status": string;
167
+ };
168
+ "stocks": {
169
+ "has_stock": boolean;
170
+ "stocks": {
171
+ "present": number;
172
+ "reserved": number;
152
173
  "sku": number;
153
174
  "source": string;
154
175
  }[];
155
- "statuses": {
156
- "is_created": boolean;
157
- "moderate_status": string;
158
- "status": string;
159
- "status_description": string;
160
- "status_failed": string;
161
- "status_name": string;
162
- "status_tooltip": string;
163
- "status_updated_at": string;
164
- "validation_status": string;
165
- };
166
- "stocks": {
167
- "has_stock": boolean;
168
- "stocks": {
169
- "present": number;
170
- "reserved": number;
171
- "sku": number;
172
- "source": string;
173
- }[];
174
- };
175
- "type_id": number;
176
- "updated_at": string;
177
- "vat": string;
178
- "visibility_details": {
179
- "has_price": boolean;
180
- "has_stock": boolean;
181
- };
182
- "volume_weight": number;
183
- }[];
176
+ };
177
+ "type_id": number;
178
+ "updated_at": string;
179
+ "vat": string;
180
+ "visibility_details": {
181
+ "has_price": boolean;
182
+ "has_stock": boolean;
183
+ };
184
+ "volume_weight": number;
184
185
  }
185
186
  interface ProductImportQuery {
186
187
  items: ProductImportQueryItems[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ozon-api",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "OZON API",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",