@shushed/helpers 0.0.246 → 0.0.247-cat-tree-schema-20260130105151
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 +376 -119
- 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 +207 -178
- 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 +207 -178
- 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 -29
- package/dist/types/dist-types/product-draft.d.ts +0 -2
- package/dist/types/dist-types/product.d.ts +66 -29
- 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,53 +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: {
|
|
226
326
|
readonly type: readonly ["string", "null"];
|
|
227
327
|
readonly nullable: true;
|
|
228
328
|
};
|
|
229
|
-
readonly
|
|
329
|
+
readonly sleeve_type: {
|
|
230
330
|
readonly type: readonly ["string", "null"];
|
|
331
|
+
readonly nullable: true;
|
|
231
332
|
};
|
|
232
|
-
readonly
|
|
333
|
+
readonly heel_height: {
|
|
233
334
|
readonly type: readonly ["string", "null"];
|
|
234
335
|
};
|
|
235
|
-
readonly
|
|
336
|
+
readonly heel_shape: {
|
|
236
337
|
readonly type: readonly ["string", "null"];
|
|
237
338
|
};
|
|
238
|
-
readonly
|
|
339
|
+
readonly toe_shape: {
|
|
239
340
|
readonly type: readonly ["string", "null"];
|
|
240
341
|
};
|
|
241
|
-
readonly
|
|
342
|
+
readonly trouser_fit: {
|
|
242
343
|
readonly type: readonly ["string", "null"];
|
|
344
|
+
readonly nullable: true;
|
|
243
345
|
};
|
|
244
|
-
readonly
|
|
346
|
+
readonly leg_length: {
|
|
245
347
|
readonly type: readonly ["string", "null"];
|
|
246
348
|
};
|
|
247
|
-
readonly
|
|
349
|
+
readonly handle_straps: {
|
|
248
350
|
readonly type: readonly ["string", "null"];
|
|
249
351
|
};
|
|
250
|
-
readonly
|
|
352
|
+
readonly straps_features: {
|
|
353
|
+
readonly type: readonly ["string", "null"];
|
|
354
|
+
};
|
|
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: {
|
|
251
366
|
readonly type: readonly ["string", "null"];
|
|
252
367
|
};
|
|
253
368
|
readonly care_instructions: {
|
|
@@ -259,13 +374,7 @@ declare const schema: {
|
|
|
259
374
|
};
|
|
260
375
|
readonly required: readonly [];
|
|
261
376
|
};
|
|
262
|
-
readonly
|
|
263
|
-
readonly type: "array";
|
|
264
|
-
readonly items: {
|
|
265
|
-
readonly type: "string";
|
|
266
|
-
};
|
|
267
|
-
};
|
|
268
|
-
readonly markets_overrides: {
|
|
377
|
+
readonly presentations: {
|
|
269
378
|
readonly type: "object";
|
|
270
379
|
readonly additionalProperties: false;
|
|
271
380
|
readonly patternProperties: {
|
|
@@ -277,41 +386,53 @@ declare const schema: {
|
|
|
277
386
|
readonly type: "string";
|
|
278
387
|
readonly pattern: "^[a-z]{2}-[A-Z]{2}$";
|
|
279
388
|
};
|
|
280
|
-
readonly
|
|
389
|
+
readonly presentation_type: {
|
|
281
390
|
readonly type: "string";
|
|
282
391
|
};
|
|
283
392
|
readonly slug: {
|
|
284
|
-
readonly
|
|
393
|
+
readonly $ref: "#/allOf/0/properties/slug";
|
|
394
|
+
};
|
|
395
|
+
readonly style_slug: {
|
|
396
|
+
readonly $ref: "#/allOf/0/properties/style_slug";
|
|
285
397
|
};
|
|
286
398
|
readonly style_name: {
|
|
287
|
-
readonly
|
|
399
|
+
readonly $ref: "#/allOf/0/properties/style_name";
|
|
288
400
|
};
|
|
289
401
|
readonly display_name: {
|
|
290
|
-
readonly
|
|
402
|
+
readonly $ref: "#/allOf/0/properties/display_name";
|
|
291
403
|
};
|
|
292
404
|
readonly display_type: {
|
|
293
|
-
readonly
|
|
294
|
-
readonly enum: readonly ["Out-of-stock", "Permanently-unavailable"];
|
|
405
|
+
readonly $ref: "#/allOf/0/properties/display_type";
|
|
295
406
|
};
|
|
296
407
|
readonly available_to_sell_from: {
|
|
297
|
-
readonly
|
|
298
|
-
|
|
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";
|
|
299
424
|
};
|
|
300
425
|
readonly colour_family_name: {
|
|
301
|
-
readonly
|
|
426
|
+
readonly $ref: "#/allOf/0/properties/colour_family_name";
|
|
302
427
|
};
|
|
303
428
|
readonly colour_name: {
|
|
304
|
-
readonly
|
|
429
|
+
readonly $ref: "#/allOf/0/properties/colour_name";
|
|
305
430
|
};
|
|
306
431
|
readonly display_tags: {
|
|
307
|
-
readonly
|
|
308
|
-
readonly items: {
|
|
309
|
-
readonly type: "string";
|
|
310
|
-
};
|
|
432
|
+
readonly $ref: "#/allOf/0/properties/display_tags";
|
|
311
433
|
};
|
|
312
|
-
readonly
|
|
313
|
-
readonly
|
|
314
|
-
readonly format: "date-time";
|
|
434
|
+
readonly sizerange_name: {
|
|
435
|
+
readonly $ref: "#/allOf/0/properties/sizerange_name";
|
|
315
436
|
};
|
|
316
437
|
readonly variants: {
|
|
317
438
|
readonly type: "array";
|
|
@@ -319,117 +440,25 @@ declare const schema: {
|
|
|
319
440
|
readonly type: "object";
|
|
320
441
|
readonly properties: {
|
|
321
442
|
readonly code: {
|
|
322
|
-
readonly
|
|
443
|
+
readonly $ref: "#/allOf/0/properties/variants/items/properties/code";
|
|
323
444
|
};
|
|
324
445
|
readonly name: {
|
|
325
|
-
readonly
|
|
446
|
+
readonly $ref: "#/allOf/0/properties/variants/items/properties/name";
|
|
326
447
|
};
|
|
327
448
|
};
|
|
328
449
|
readonly required: readonly ["code", "name"];
|
|
329
450
|
};
|
|
330
451
|
};
|
|
331
452
|
readonly attributes: {
|
|
332
|
-
readonly
|
|
333
|
-
readonly properties: {
|
|
334
|
-
readonly stock_quantity_score: {
|
|
335
|
-
readonly type: "number";
|
|
336
|
-
};
|
|
337
|
-
readonly stock_availability: {
|
|
338
|
-
readonly type: "number";
|
|
339
|
-
};
|
|
340
|
-
readonly measurement_chart: {
|
|
341
|
-
readonly type: readonly ["string", "null"];
|
|
342
|
-
};
|
|
343
|
-
readonly sizeguide_type: {
|
|
344
|
-
readonly type: readonly ["string", "null"];
|
|
345
|
-
};
|
|
346
|
-
readonly brand: {
|
|
347
|
-
readonly type: readonly ["string", "null"];
|
|
348
|
-
};
|
|
349
|
-
readonly shoes_type: {
|
|
350
|
-
readonly type: readonly ["string", "null"];
|
|
351
|
-
};
|
|
352
|
-
readonly seo_url_name: {
|
|
353
|
-
readonly type: "string";
|
|
354
|
-
readonly pattern: "^[a-z-]+$";
|
|
355
|
-
};
|
|
356
|
-
readonly seo_title: {
|
|
357
|
-
readonly type: readonly ["string", "null"];
|
|
358
|
-
};
|
|
359
|
-
readonly seo_description: {
|
|
360
|
-
readonly type: readonly ["string", "null"];
|
|
361
|
-
};
|
|
362
|
-
readonly fit_description: {
|
|
363
|
-
readonly type: readonly ["string", "null"];
|
|
364
|
-
};
|
|
365
|
-
readonly fabric_care: {
|
|
366
|
-
readonly type: readonly ["string", "null"];
|
|
367
|
-
};
|
|
368
|
-
readonly weight: {
|
|
369
|
-
readonly type: readonly ["number", "null"];
|
|
370
|
-
};
|
|
371
|
-
readonly main_fibre: {
|
|
372
|
-
readonly type: readonly ["string", "null"];
|
|
373
|
-
};
|
|
374
|
-
readonly main_metal: {
|
|
375
|
-
readonly type: readonly ["string", "null"];
|
|
376
|
-
};
|
|
377
|
-
readonly designer: {
|
|
378
|
-
readonly type: readonly ["string", "null"];
|
|
379
|
-
};
|
|
380
|
-
readonly certificate_code: {
|
|
381
|
-
readonly type: readonly ["string", "null"];
|
|
382
|
-
};
|
|
383
|
-
readonly pattern_name: {
|
|
384
|
-
readonly type: readonly ["string", "null"];
|
|
385
|
-
};
|
|
386
|
-
readonly fit_type: {
|
|
387
|
-
readonly type: readonly ["string", "null"];
|
|
388
|
-
};
|
|
389
|
-
readonly trousers_fit: {
|
|
390
|
-
readonly type: readonly ["string", "null"];
|
|
391
|
-
readonly nullable: true;
|
|
392
|
-
};
|
|
393
|
-
readonly trousers_length: {
|
|
394
|
-
readonly type: readonly ["string", "null"];
|
|
395
|
-
};
|
|
396
|
-
readonly dresses_skirts_length: {
|
|
397
|
-
readonly type: readonly ["string", "null"];
|
|
398
|
-
};
|
|
399
|
-
readonly coats_jackets_type: {
|
|
400
|
-
readonly type: readonly ["string", "null"];
|
|
401
|
-
};
|
|
402
|
-
readonly dresses_skirts_type: {
|
|
403
|
-
readonly type: readonly ["string", "null"];
|
|
404
|
-
};
|
|
405
|
-
readonly bag_type: {
|
|
406
|
-
readonly type: readonly ["string", "null"];
|
|
407
|
-
};
|
|
408
|
-
readonly product_category: {
|
|
409
|
-
readonly type: readonly ["string", "null"];
|
|
410
|
-
};
|
|
411
|
-
readonly product_type: {
|
|
412
|
-
readonly type: readonly ["string", "null"];
|
|
413
|
-
};
|
|
414
|
-
readonly metal: {
|
|
415
|
-
readonly type: readonly ["string", "null"];
|
|
416
|
-
};
|
|
417
|
-
readonly care_instructions: {
|
|
418
|
-
readonly type: "array";
|
|
419
|
-
readonly items: {
|
|
420
|
-
readonly type: "string";
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
|
-
};
|
|
424
|
-
readonly required: readonly [];
|
|
453
|
+
readonly $ref: "#/allOf/0/properties/attributes";
|
|
425
454
|
};
|
|
426
455
|
};
|
|
427
|
-
readonly required: readonly ["locale", "
|
|
456
|
+
readonly required: readonly ["locale", "presentation_type"];
|
|
428
457
|
};
|
|
429
458
|
};
|
|
430
459
|
};
|
|
431
460
|
};
|
|
432
|
-
readonly required: readonly ["product_id", "style_id", "
|
|
461
|
+
readonly required: readonly ["product_id", "style_id", "product_name", "online_from"];
|
|
433
462
|
}, {
|
|
434
463
|
readonly type: "object";
|
|
435
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";
|