@shushed/helpers 0.0.245 → 0.0.247-cat-tree-schema-20260130105019
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/cjs/contracts/product-draft.schema.json +0 -14
- package/dist/cjs/contracts/product.schema.json +381 -117
- package/dist/cjs/dist-dereferenced/category-tree.js +4 -0
- package/dist/cjs/dist-dereferenced/gift-voucher.js +1 -1
- package/dist/cjs/dist-dereferenced/index.js +3 -1
- package/dist/cjs/dist-dereferenced/messages/order/delivered.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/new.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/processed.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/return-initiated.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/returned.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/order/shipped.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/product-draft.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/product.js +1 -1
- package/dist/cjs/dist-dereferenced/money.js +1 -1
- package/dist/cjs/dist-dereferenced/order/customer.js +1 -1
- package/dist/cjs/dist-dereferenced/order/item.js +1 -1
- package/dist/cjs/dist-dereferenced/order/orderMain.js +1 -1
- package/dist/cjs/dist-dereferenced/order/payment.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/pos/outbound.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/pos/posMain.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/pos/return.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipmentMain.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/outbound.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/return.js +1 -1
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/shippedMain.js +1 -1
- package/dist/cjs/dist-dereferenced/product-draft.js +1 -1
- package/dist/cjs/dist-dereferenced/product.js +1 -1
- package/dist/cjs/dist-dereferenced/purchase-orderline.js +1 -1
- package/dist/cjs/dist-dereferenced/stock-movement.js +1 -1
- package/dist/cjs/dist-dereferenced/stock.js +1 -1
- package/dist/cjs/dist-dereferenced/total.js +1 -1
- package/dist/cjs/dist-types/category-tree.js +2 -0
- package/dist/types/dist-dereferenced/category-tree.d.ts +59 -0
- package/dist/types/dist-dereferenced/gift-voucher.d.ts +1 -3
- package/dist/types/dist-dereferenced/index.d.ts +1 -0
- package/dist/types/dist-dereferenced/messages/order/delivered.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/new.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/processed.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/return-initiated.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/returned.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/order/shipped.d.ts +244 -2894
- package/dist/types/dist-dereferenced/messages/product-draft.d.ts +6 -194
- package/dist/types/dist-dereferenced/messages/product.d.ts +209 -174
- package/dist/types/dist-dereferenced/money.d.ts +1 -3
- package/dist/types/dist-dereferenced/order/customer.d.ts +1 -98
- package/dist/types/dist-dereferenced/order/index.d.ts +244 -2894
- package/dist/types/dist-dereferenced/order/item.d.ts +7 -221
- package/dist/types/dist-dereferenced/order/orderMain.d.ts +244 -2894
- package/dist/types/dist-dereferenced/order/payment.d.ts +1 -3
- package/dist/types/dist-dereferenced/order/shipment/index.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/pos/index.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/pos/outbound.d.ts +6 -139
- package/dist/types/dist-dereferenced/order/shipment/pos/posMain.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/pos/return.d.ts +6 -155
- package/dist/types/dist-dereferenced/order/shipment/shipmentMain.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/shipped/index.d.ts +5 -125
- package/dist/types/dist-dereferenced/order/shipment/shipped/outbound.d.ts +6 -139
- package/dist/types/dist-dereferenced/order/shipment/shipped/return.d.ts +6 -139
- package/dist/types/dist-dereferenced/order/shipment/shipped/shippedMain.d.ts +5 -125
- package/dist/types/dist-dereferenced/product-draft.d.ts +6 -194
- package/dist/types/dist-dereferenced/product.d.ts +209 -174
- package/dist/types/dist-dereferenced/purchase-orderline.d.ts +1 -3
- package/dist/types/dist-dereferenced/stock-movement.d.ts +1 -3
- package/dist/types/dist-dereferenced/stock.d.ts +1 -3
- package/dist/types/dist-dereferenced/total.d.ts +4 -111
- package/dist/types/dist-types/category-tree.d.ts +14 -0
- package/dist/types/dist-types/index.d.ts +1 -0
- package/dist/types/dist-types/messages/product-draft.d.ts +0 -2
- package/dist/types/dist-types/messages/product.d.ts +66 -28
- package/dist/types/dist-types/product-draft.d.ts +0 -2
- package/dist/types/dist-types/product.d.ts +66 -28
- package/package.json +1 -1
|
@@ -14,6 +14,9 @@ declare const schema: {
|
|
|
14
14
|
readonly slug: {
|
|
15
15
|
readonly type: readonly ["string"];
|
|
16
16
|
};
|
|
17
|
+
readonly style_slug: {
|
|
18
|
+
readonly type: readonly ["string"];
|
|
19
|
+
};
|
|
17
20
|
readonly style_id: {
|
|
18
21
|
readonly type: readonly ["string"];
|
|
19
22
|
};
|
|
@@ -23,8 +26,11 @@ declare const schema: {
|
|
|
23
26
|
readonly style_name: {
|
|
24
27
|
readonly type: "string";
|
|
25
28
|
};
|
|
29
|
+
readonly product_name: {
|
|
30
|
+
readonly type: "string";
|
|
31
|
+
};
|
|
26
32
|
readonly display_name: {
|
|
27
|
-
readonly type: readonly ["string"];
|
|
33
|
+
readonly type: readonly ["string", "null"];
|
|
28
34
|
};
|
|
29
35
|
readonly buffer_quantity: {
|
|
30
36
|
readonly type: "integer";
|
|
@@ -38,6 +44,30 @@ declare const schema: {
|
|
|
38
44
|
readonly type: readonly ["string", "null"];
|
|
39
45
|
readonly format: "date";
|
|
40
46
|
};
|
|
47
|
+
readonly online_from: {
|
|
48
|
+
readonly type: readonly ["string", "null"];
|
|
49
|
+
readonly format: "date-time";
|
|
50
|
+
};
|
|
51
|
+
readonly online_to: {
|
|
52
|
+
readonly type: readonly ["string", "null"];
|
|
53
|
+
readonly format: "date-time";
|
|
54
|
+
};
|
|
55
|
+
readonly first_online_at: {
|
|
56
|
+
readonly type: readonly ["string", "null"];
|
|
57
|
+
readonly format: "date-time";
|
|
58
|
+
};
|
|
59
|
+
readonly last_online_at: {
|
|
60
|
+
readonly type: readonly ["string", "null"];
|
|
61
|
+
readonly format: "date-time";
|
|
62
|
+
};
|
|
63
|
+
readonly first_purchased_at: {
|
|
64
|
+
readonly type: "string";
|
|
65
|
+
readonly format: "date-time";
|
|
66
|
+
};
|
|
67
|
+
readonly first_markdown_at: {
|
|
68
|
+
readonly type: readonly ["string", "null"];
|
|
69
|
+
readonly format: "date-time";
|
|
70
|
+
};
|
|
41
71
|
readonly created_at: {
|
|
42
72
|
readonly type: "string";
|
|
43
73
|
readonly format: "date-time";
|
|
@@ -49,6 +79,9 @@ declare const schema: {
|
|
|
49
79
|
readonly colour_family_name: {
|
|
50
80
|
readonly type: "string";
|
|
51
81
|
};
|
|
82
|
+
readonly colour_code: {
|
|
83
|
+
readonly type: "string";
|
|
84
|
+
};
|
|
52
85
|
readonly colour_name: {
|
|
53
86
|
readonly type: "string";
|
|
54
87
|
};
|
|
@@ -61,6 +94,9 @@ declare const schema: {
|
|
|
61
94
|
readonly sizerange_code: {
|
|
62
95
|
readonly type: "string";
|
|
63
96
|
};
|
|
97
|
+
readonly sizerange_name: {
|
|
98
|
+
readonly type: "string";
|
|
99
|
+
};
|
|
64
100
|
readonly variants: {
|
|
65
101
|
readonly type: "array";
|
|
66
102
|
readonly items: {
|
|
@@ -72,13 +108,27 @@ declare const schema: {
|
|
|
72
108
|
readonly name: {
|
|
73
109
|
readonly type: readonly ["string"];
|
|
74
110
|
};
|
|
75
|
-
readonly ean: {
|
|
76
|
-
readonly type: readonly ["string", "null"];
|
|
77
|
-
};
|
|
78
111
|
};
|
|
79
112
|
readonly required: readonly ["code", "name"];
|
|
80
113
|
};
|
|
81
114
|
};
|
|
115
|
+
readonly images: {
|
|
116
|
+
readonly type: "array";
|
|
117
|
+
readonly items: {
|
|
118
|
+
readonly type: "object";
|
|
119
|
+
readonly properties: {
|
|
120
|
+
readonly type: {
|
|
121
|
+
readonly type: "string";
|
|
122
|
+
readonly enum: readonly ["Campaign", "Ecom", "Flatlay", "UGC", "AI"];
|
|
123
|
+
};
|
|
124
|
+
readonly url: {
|
|
125
|
+
readonly type: "string";
|
|
126
|
+
readonly format: "uri";
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
readonly required: readonly ["type", "url"];
|
|
130
|
+
};
|
|
131
|
+
};
|
|
82
132
|
readonly vat_rate_uk: {
|
|
83
133
|
readonly type: readonly ["number", "null"];
|
|
84
134
|
readonly minimum: 0;
|
|
@@ -101,6 +151,17 @@ declare const schema: {
|
|
|
101
151
|
readonly port_of_origin: {
|
|
102
152
|
readonly type: "string";
|
|
103
153
|
};
|
|
154
|
+
readonly supplier_id: {
|
|
155
|
+
readonly type: "string";
|
|
156
|
+
readonly pattern: "^SUP\\d{5}$";
|
|
157
|
+
};
|
|
158
|
+
readonly supplier_name: {
|
|
159
|
+
readonly type: "string";
|
|
160
|
+
};
|
|
161
|
+
readonly factory_id: {
|
|
162
|
+
readonly type: "string";
|
|
163
|
+
readonly pattern: "^FAC\\d{5}$";
|
|
164
|
+
};
|
|
104
165
|
readonly packing_method: {
|
|
105
166
|
readonly type: readonly ["string", "null"];
|
|
106
167
|
readonly enum: readonly ["Standard", "Hanging"];
|
|
@@ -117,78 +178,60 @@ declare const schema: {
|
|
|
117
178
|
readonly strategy_type: {
|
|
118
179
|
readonly type: "string";
|
|
119
180
|
};
|
|
181
|
+
readonly product_type: {
|
|
182
|
+
readonly type: "string";
|
|
183
|
+
};
|
|
184
|
+
readonly stock_type: {
|
|
185
|
+
readonly type: "string";
|
|
186
|
+
};
|
|
120
187
|
readonly category: {
|
|
121
188
|
readonly type: "string";
|
|
122
189
|
};
|
|
123
190
|
readonly subcategory: {
|
|
124
191
|
readonly type: "string";
|
|
125
192
|
};
|
|
126
|
-
readonly
|
|
193
|
+
readonly range: {
|
|
194
|
+
readonly type: readonly ["string", "null"];
|
|
195
|
+
readonly enum: readonly ["Main Collection", "Seasonal"];
|
|
196
|
+
};
|
|
197
|
+
readonly channels_availability: {
|
|
127
198
|
readonly type: readonly ["array"];
|
|
128
199
|
readonly items: {
|
|
129
200
|
readonly type: "string";
|
|
201
|
+
readonly enum: readonly ["DIRECT-UK", "DIRECT-INT", "DIRECT-US", "JL-STORES", "JL-WEB", "NEXT", "MS", "FENWICK", "MORLEYS"];
|
|
130
202
|
};
|
|
131
203
|
};
|
|
132
|
-
readonly
|
|
204
|
+
readonly collections: {
|
|
205
|
+
readonly type: readonly ["string"];
|
|
206
|
+
};
|
|
207
|
+
readonly seasons: {
|
|
133
208
|
readonly type: readonly ["array"];
|
|
134
209
|
readonly items: {
|
|
135
210
|
readonly type: "string";
|
|
136
211
|
};
|
|
137
212
|
};
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
readonly category_assignments: {
|
|
142
|
-
readonly type: "array";
|
|
143
|
-
readonly items: {
|
|
144
|
-
readonly type: "object";
|
|
145
|
-
readonly properties: {
|
|
146
|
-
readonly display_path: {
|
|
147
|
-
readonly type: "array";
|
|
148
|
-
readonly items: {
|
|
149
|
-
readonly type: "string";
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
readonly path: {
|
|
153
|
-
readonly type: "array";
|
|
154
|
-
readonly items: {
|
|
155
|
-
readonly type: "string";
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
readonly name: {
|
|
159
|
-
readonly type: "string";
|
|
160
|
-
};
|
|
161
|
-
readonly id: {
|
|
213
|
+
readonly drops: {
|
|
214
|
+
readonly type: readonly ["array"];
|
|
215
|
+
readonly items: {
|
|
162
216
|
readonly type: "string";
|
|
163
217
|
};
|
|
164
218
|
};
|
|
219
|
+
readonly fashionability: {
|
|
220
|
+
readonly type: readonly ["string", "null"];
|
|
221
|
+
};
|
|
165
222
|
};
|
|
223
|
+
readonly required: readonly [];
|
|
166
224
|
};
|
|
167
225
|
readonly attributes: {
|
|
168
226
|
readonly type: "object";
|
|
169
227
|
readonly properties: {
|
|
170
|
-
readonly stock_quantity_score: {
|
|
171
|
-
readonly type: "number";
|
|
172
|
-
};
|
|
173
|
-
readonly stock_availability: {
|
|
174
|
-
readonly type: "number";
|
|
175
|
-
};
|
|
176
|
-
readonly measurement_chart: {
|
|
177
|
-
readonly type: readonly ["string", "null"];
|
|
178
|
-
};
|
|
179
|
-
readonly sizeguide_type: {
|
|
180
|
-
readonly type: readonly ["string", "null"];
|
|
181
|
-
};
|
|
182
|
-
readonly brand: {
|
|
183
|
-
readonly type: readonly ["string", "null"];
|
|
184
|
-
};
|
|
185
|
-
readonly shoes_type: {
|
|
186
|
-
readonly type: readonly ["string", "null"];
|
|
187
|
-
};
|
|
188
228
|
readonly seo_url_name: {
|
|
189
229
|
readonly type: "string";
|
|
190
230
|
readonly pattern: "^[a-z-]+$";
|
|
191
231
|
};
|
|
232
|
+
readonly embellishment: {
|
|
233
|
+
readonly type: readonly ["string", "null"];
|
|
234
|
+
};
|
|
192
235
|
readonly seo_title: {
|
|
193
236
|
readonly type: readonly ["string", "null"];
|
|
194
237
|
};
|
|
@@ -201,50 +244,125 @@ declare const schema: {
|
|
|
201
244
|
readonly fabric_care: {
|
|
202
245
|
readonly type: readonly ["string", "null"];
|
|
203
246
|
};
|
|
247
|
+
readonly delivery_returns: {
|
|
248
|
+
readonly type: readonly ["string", "null"];
|
|
249
|
+
};
|
|
204
250
|
readonly weight: {
|
|
205
251
|
readonly type: readonly ["number", "null"];
|
|
206
252
|
};
|
|
253
|
+
readonly weight_statement: {
|
|
254
|
+
readonly type: readonly ["string", "null"];
|
|
255
|
+
};
|
|
207
256
|
readonly main_fibre: {
|
|
208
257
|
readonly type: readonly ["string", "null"];
|
|
209
258
|
};
|
|
210
259
|
readonly main_metal: {
|
|
211
260
|
readonly type: readonly ["string", "null"];
|
|
212
261
|
};
|
|
262
|
+
readonly extra_selling_points: {
|
|
263
|
+
readonly type: "array";
|
|
264
|
+
readonly items: {
|
|
265
|
+
readonly type: "string";
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
readonly length_measurement: {
|
|
269
|
+
readonly type: readonly ["string", "null"];
|
|
270
|
+
};
|
|
271
|
+
readonly measurement_table_code: {
|
|
272
|
+
readonly type: readonly ["string"];
|
|
273
|
+
};
|
|
274
|
+
readonly fit: {
|
|
275
|
+
readonly type: readonly ["string", "null"];
|
|
276
|
+
};
|
|
277
|
+
readonly pockets: {
|
|
278
|
+
readonly type: readonly ["string", "null"];
|
|
279
|
+
};
|
|
280
|
+
readonly pleats_gathers: {
|
|
281
|
+
readonly type: readonly ["string", "null"];
|
|
282
|
+
};
|
|
283
|
+
readonly lining: {
|
|
284
|
+
readonly type: readonly ["string", "null"];
|
|
285
|
+
};
|
|
286
|
+
readonly bias_cut: {
|
|
287
|
+
readonly type: readonly ["string", "null"];
|
|
288
|
+
};
|
|
213
289
|
readonly designer: {
|
|
214
290
|
readonly type: readonly ["string", "null"];
|
|
215
291
|
};
|
|
292
|
+
readonly fabric: {
|
|
293
|
+
readonly type: readonly ["string", "null"];
|
|
294
|
+
};
|
|
295
|
+
readonly fabric_composition: {
|
|
296
|
+
readonly type: readonly ["string", "null"];
|
|
297
|
+
};
|
|
216
298
|
readonly certificate_code: {
|
|
217
299
|
readonly type: readonly ["string", "null"];
|
|
218
300
|
};
|
|
301
|
+
readonly shape: {
|
|
302
|
+
readonly type: readonly ["string", "null"];
|
|
303
|
+
};
|
|
304
|
+
readonly development_type: {
|
|
305
|
+
readonly type: "string";
|
|
306
|
+
};
|
|
307
|
+
readonly occasion: {
|
|
308
|
+
readonly type: readonly ["string", "null"];
|
|
309
|
+
};
|
|
310
|
+
readonly design: {
|
|
311
|
+
readonly type: readonly ["string", "null"];
|
|
312
|
+
};
|
|
313
|
+
readonly block: {
|
|
314
|
+
readonly type: readonly ["string", "null"];
|
|
315
|
+
};
|
|
219
316
|
readonly pattern_name: {
|
|
220
317
|
readonly type: readonly ["string", "null"];
|
|
221
318
|
};
|
|
222
319
|
readonly fit_type: {
|
|
223
320
|
readonly type: readonly ["string", "null"];
|
|
224
321
|
};
|
|
225
|
-
readonly
|
|
322
|
+
readonly neckline: {
|
|
323
|
+
readonly type: readonly ["string", "null"];
|
|
324
|
+
};
|
|
325
|
+
readonly sleeve_length: {
|
|
326
|
+
readonly type: readonly ["string", "null"];
|
|
327
|
+
readonly nullable: true;
|
|
328
|
+
};
|
|
329
|
+
readonly sleeve_type: {
|
|
226
330
|
readonly type: readonly ["string", "null"];
|
|
227
331
|
readonly nullable: true;
|
|
228
332
|
};
|
|
229
|
-
readonly
|
|
333
|
+
readonly heel_height: {
|
|
334
|
+
readonly type: readonly ["string", "null"];
|
|
335
|
+
};
|
|
336
|
+
readonly heel_shape: {
|
|
230
337
|
readonly type: readonly ["string", "null"];
|
|
231
338
|
};
|
|
232
|
-
readonly
|
|
339
|
+
readonly toe_shape: {
|
|
233
340
|
readonly type: readonly ["string", "null"];
|
|
234
341
|
};
|
|
235
|
-
readonly
|
|
342
|
+
readonly trouser_fit: {
|
|
236
343
|
readonly type: readonly ["string", "null"];
|
|
344
|
+
readonly nullable: true;
|
|
237
345
|
};
|
|
238
|
-
readonly
|
|
346
|
+
readonly leg_length: {
|
|
239
347
|
readonly type: readonly ["string", "null"];
|
|
240
348
|
};
|
|
241
|
-
readonly
|
|
349
|
+
readonly handle_straps: {
|
|
242
350
|
readonly type: readonly ["string", "null"];
|
|
243
351
|
};
|
|
244
|
-
readonly
|
|
352
|
+
readonly straps_features: {
|
|
245
353
|
readonly type: readonly ["string", "null"];
|
|
246
354
|
};
|
|
247
|
-
readonly
|
|
355
|
+
readonly fastening: {
|
|
356
|
+
readonly anyOf: readonly [{
|
|
357
|
+
readonly type: readonly ["array", "null"];
|
|
358
|
+
readonly items: {
|
|
359
|
+
readonly type: "string";
|
|
360
|
+
};
|
|
361
|
+
}, {
|
|
362
|
+
readonly type: "null";
|
|
363
|
+
}];
|
|
364
|
+
};
|
|
365
|
+
readonly sole_material: {
|
|
248
366
|
readonly type: readonly ["string", "null"];
|
|
249
367
|
};
|
|
250
368
|
readonly care_instructions: {
|
|
@@ -256,13 +374,7 @@ declare const schema: {
|
|
|
256
374
|
};
|
|
257
375
|
readonly required: readonly [];
|
|
258
376
|
};
|
|
259
|
-
readonly
|
|
260
|
-
readonly type: "array";
|
|
261
|
-
readonly items: {
|
|
262
|
-
readonly type: "string";
|
|
263
|
-
};
|
|
264
|
-
};
|
|
265
|
-
readonly markets_overrides: {
|
|
377
|
+
readonly presentations: {
|
|
266
378
|
readonly type: "object";
|
|
267
379
|
readonly additionalProperties: false;
|
|
268
380
|
readonly patternProperties: {
|
|
@@ -274,41 +386,53 @@ declare const schema: {
|
|
|
274
386
|
readonly type: "string";
|
|
275
387
|
readonly pattern: "^[a-z]{2}-[A-Z]{2}$";
|
|
276
388
|
};
|
|
277
|
-
readonly
|
|
389
|
+
readonly presentation_type: {
|
|
278
390
|
readonly type: "string";
|
|
279
391
|
};
|
|
280
392
|
readonly slug: {
|
|
281
|
-
readonly
|
|
393
|
+
readonly $ref: "#/allOf/0/properties/slug";
|
|
394
|
+
};
|
|
395
|
+
readonly style_slug: {
|
|
396
|
+
readonly $ref: "#/allOf/0/properties/style_slug";
|
|
282
397
|
};
|
|
283
398
|
readonly style_name: {
|
|
284
|
-
readonly
|
|
399
|
+
readonly $ref: "#/allOf/0/properties/style_name";
|
|
285
400
|
};
|
|
286
401
|
readonly display_name: {
|
|
287
|
-
readonly
|
|
402
|
+
readonly $ref: "#/allOf/0/properties/display_name";
|
|
288
403
|
};
|
|
289
404
|
readonly display_type: {
|
|
290
|
-
readonly
|
|
291
|
-
readonly enum: readonly ["Out-of-stock", "Permanently-unavailable"];
|
|
405
|
+
readonly $ref: "#/allOf/0/properties/display_type";
|
|
292
406
|
};
|
|
293
407
|
readonly available_to_sell_from: {
|
|
294
|
-
readonly
|
|
295
|
-
|
|
408
|
+
readonly $ref: "#/allOf/0/properties/available_to_sell_from";
|
|
409
|
+
};
|
|
410
|
+
readonly online_from: {
|
|
411
|
+
readonly $ref: "#/allOf/0/properties/online_from";
|
|
412
|
+
};
|
|
413
|
+
readonly online_to: {
|
|
414
|
+
readonly $ref: "#/allOf/0/properties/online_to";
|
|
415
|
+
};
|
|
416
|
+
readonly last_online_at: {
|
|
417
|
+
readonly $ref: "#/allOf/0/properties/last_online_at";
|
|
418
|
+
};
|
|
419
|
+
readonly first_purchased_at: {
|
|
420
|
+
readonly $ref: "#/allOf/0/properties/first_purchased_at";
|
|
421
|
+
};
|
|
422
|
+
readonly first_markdown_at: {
|
|
423
|
+
readonly $ref: "#/allOf/0/properties/first_markdown_at";
|
|
296
424
|
};
|
|
297
425
|
readonly colour_family_name: {
|
|
298
|
-
readonly
|
|
426
|
+
readonly $ref: "#/allOf/0/properties/colour_family_name";
|
|
299
427
|
};
|
|
300
428
|
readonly colour_name: {
|
|
301
|
-
readonly
|
|
429
|
+
readonly $ref: "#/allOf/0/properties/colour_name";
|
|
302
430
|
};
|
|
303
431
|
readonly display_tags: {
|
|
304
|
-
readonly
|
|
305
|
-
readonly items: {
|
|
306
|
-
readonly type: "string";
|
|
307
|
-
};
|
|
432
|
+
readonly $ref: "#/allOf/0/properties/display_tags";
|
|
308
433
|
};
|
|
309
|
-
readonly
|
|
310
|
-
readonly
|
|
311
|
-
readonly format: "date-time";
|
|
434
|
+
readonly sizerange_name: {
|
|
435
|
+
readonly $ref: "#/allOf/0/properties/sizerange_name";
|
|
312
436
|
};
|
|
313
437
|
readonly variants: {
|
|
314
438
|
readonly type: "array";
|
|
@@ -316,114 +440,25 @@ declare const schema: {
|
|
|
316
440
|
readonly type: "object";
|
|
317
441
|
readonly properties: {
|
|
318
442
|
readonly code: {
|
|
319
|
-
readonly
|
|
443
|
+
readonly $ref: "#/allOf/0/properties/variants/items/properties/code";
|
|
320
444
|
};
|
|
321
445
|
readonly name: {
|
|
322
|
-
readonly
|
|
446
|
+
readonly $ref: "#/allOf/0/properties/variants/items/properties/name";
|
|
323
447
|
};
|
|
324
448
|
};
|
|
325
449
|
readonly required: readonly ["code", "name"];
|
|
326
450
|
};
|
|
327
451
|
};
|
|
328
452
|
readonly attributes: {
|
|
329
|
-
readonly
|
|
330
|
-
readonly properties: {
|
|
331
|
-
readonly stock_quantity_score: {
|
|
332
|
-
readonly type: "number";
|
|
333
|
-
};
|
|
334
|
-
readonly stock_availability: {
|
|
335
|
-
readonly type: "number";
|
|
336
|
-
};
|
|
337
|
-
readonly measurement_chart: {
|
|
338
|
-
readonly type: readonly ["string", "null"];
|
|
339
|
-
};
|
|
340
|
-
readonly sizeguide_type: {
|
|
341
|
-
readonly type: readonly ["string", "null"];
|
|
342
|
-
};
|
|
343
|
-
readonly brand: {
|
|
344
|
-
readonly type: readonly ["string", "null"];
|
|
345
|
-
};
|
|
346
|
-
readonly shoes_type: {
|
|
347
|
-
readonly type: readonly ["string", "null"];
|
|
348
|
-
};
|
|
349
|
-
readonly seo_url_name: {
|
|
350
|
-
readonly type: "string";
|
|
351
|
-
readonly pattern: "^[a-z-]+$";
|
|
352
|
-
};
|
|
353
|
-
readonly seo_title: {
|
|
354
|
-
readonly type: readonly ["string", "null"];
|
|
355
|
-
};
|
|
356
|
-
readonly seo_description: {
|
|
357
|
-
readonly type: readonly ["string", "null"];
|
|
358
|
-
};
|
|
359
|
-
readonly fit_description: {
|
|
360
|
-
readonly type: readonly ["string", "null"];
|
|
361
|
-
};
|
|
362
|
-
readonly fabric_care: {
|
|
363
|
-
readonly type: readonly ["string", "null"];
|
|
364
|
-
};
|
|
365
|
-
readonly weight: {
|
|
366
|
-
readonly type: readonly ["number", "null"];
|
|
367
|
-
};
|
|
368
|
-
readonly main_fibre: {
|
|
369
|
-
readonly type: readonly ["string", "null"];
|
|
370
|
-
};
|
|
371
|
-
readonly main_metal: {
|
|
372
|
-
readonly type: readonly ["string", "null"];
|
|
373
|
-
};
|
|
374
|
-
readonly designer: {
|
|
375
|
-
readonly type: readonly ["string", "null"];
|
|
376
|
-
};
|
|
377
|
-
readonly certificate_code: {
|
|
378
|
-
readonly type: readonly ["string", "null"];
|
|
379
|
-
};
|
|
380
|
-
readonly pattern_name: {
|
|
381
|
-
readonly type: readonly ["string", "null"];
|
|
382
|
-
};
|
|
383
|
-
readonly fit_type: {
|
|
384
|
-
readonly type: readonly ["string", "null"];
|
|
385
|
-
};
|
|
386
|
-
readonly trousers_fit: {
|
|
387
|
-
readonly type: readonly ["string", "null"];
|
|
388
|
-
readonly nullable: true;
|
|
389
|
-
};
|
|
390
|
-
readonly trousers_length: {
|
|
391
|
-
readonly type: readonly ["string", "null"];
|
|
392
|
-
};
|
|
393
|
-
readonly dresses_skirts_length: {
|
|
394
|
-
readonly type: readonly ["string", "null"];
|
|
395
|
-
};
|
|
396
|
-
readonly coats_jackets_type: {
|
|
397
|
-
readonly type: readonly ["string", "null"];
|
|
398
|
-
};
|
|
399
|
-
readonly dresses_skirts_type: {
|
|
400
|
-
readonly type: readonly ["string", "null"];
|
|
401
|
-
};
|
|
402
|
-
readonly bag_type: {
|
|
403
|
-
readonly type: readonly ["string", "null"];
|
|
404
|
-
};
|
|
405
|
-
readonly product_category: {
|
|
406
|
-
readonly type: readonly ["string", "null"];
|
|
407
|
-
};
|
|
408
|
-
readonly product_type: {
|
|
409
|
-
readonly type: readonly ["string", "null"];
|
|
410
|
-
};
|
|
411
|
-
readonly care_instructions: {
|
|
412
|
-
readonly type: "array";
|
|
413
|
-
readonly items: {
|
|
414
|
-
readonly type: "string";
|
|
415
|
-
};
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
|
-
readonly required: readonly [];
|
|
453
|
+
readonly $ref: "#/allOf/0/properties/attributes";
|
|
419
454
|
};
|
|
420
455
|
};
|
|
421
|
-
readonly required: readonly ["locale", "
|
|
456
|
+
readonly required: readonly ["locale", "presentation_type"];
|
|
422
457
|
};
|
|
423
458
|
};
|
|
424
459
|
};
|
|
425
460
|
};
|
|
426
|
-
readonly required: readonly ["product_id", "style_id", "
|
|
461
|
+
readonly required: readonly ["product_id", "style_id", "product_name", "online_from"];
|
|
427
462
|
}, {
|
|
428
463
|
readonly type: "object";
|
|
429
464
|
readonly additionalProperties: false;
|
|
@@ -24,10 +24,8 @@ declare const schema: {
|
|
|
24
24
|
readonly minimum: 0;
|
|
25
25
|
};
|
|
26
26
|
readonly lcy_currency: {
|
|
27
|
+
readonly $ref: "#/properties/currency";
|
|
27
28
|
readonly title: "LCY Currency";
|
|
28
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
29
|
-
readonly type: "string";
|
|
30
|
-
readonly enum: readonly ["AFN", "ALL", "DZD", "USD", "EUR", "AOA", "XCD", "ARS", "AMD", "AWG", "AUD", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "XOF", "BMD", "BTN", "INR", "BOB", "BOV", "BAM", "BWP", "NOK", "BRL", "BND", "BGN", "BIF", "CVE", "KHR", "XAF", "CAD", "KYD", "CLF", "CLP", "CNY", "COP", "COU", "KMF", "CDF", "NZD", "CRC", "CUC", "CUP", "ANG", "CZK", "DKK", "DJF", "DOP", "EGP", "SVC", "ERN", "ETB", "FKP", "FJD", "XPF", "GMD", "GEL", "GHS", "GIP", "GTQ", "GBP", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "IDR", "XDR", "IRR", "IQD", "ILS", "JMD", "JPY", "JOD", "KZT", "KES", "KPW", "KRW", "KWD", "KGS", "LAK", "LBP", "LSL", "ZAR", "LRD", "LYD", "CHF", "MOP", "MGA", "MWK", "MYR", "MVR", "MRU", "MUR", "XUA", "MXN", "MXV", "MDL", "MNT", "MAD", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "OMR", "PKR", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "MKD", "RON", "RUB", "RWF", "SHP", "WST", "STN", "SAR", "RSD", "SCR", "SLE", "SGD", "XSU", "SBD", "SOS", "SSP", "LKR", "SDG", "SRD", "SZL", "SEK", "CHE", "CHW", "SYP", "TWD", "TJS", "TZS", "THB", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "USN", "UYI", "UYU", "UZS", "VUV", "VEF", "VED", "VND", "YER", "ZMW", "ZWL"];
|
|
31
29
|
};
|
|
32
30
|
readonly lcy_decimal_places: {
|
|
33
31
|
readonly type: "integer";
|