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.
- package/dist/types/Product.d.ts +117 -116
- package/package.json +1 -1
package/dist/types/Product.d.ts
CHANGED
|
@@ -57,130 +57,131 @@ export declare namespace Product {
|
|
|
57
57
|
sku: number[];
|
|
58
58
|
}
|
|
59
59
|
interface GetPlatformProductDetailList {
|
|
60
|
-
"items":
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
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
|
-
"
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
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
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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
|
-
"
|
|
143
|
-
|
|
144
|
-
"
|
|
145
|
-
"
|
|
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
|
-
"
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
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
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
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[];
|