@shushed/helpers 0.0.247-cat-tree-schema-20260130105151 → 0.0.247-main-20260130130323
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 +14 -0
- package/dist/cjs/contracts/product.schema.json +119 -376
- package/dist/cjs/dist-dereferenced/gift-voucher.js +1 -1
- package/dist/cjs/dist-dereferenced/index.js +1 -3
- 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/src-public/airtable.js +17 -7
- package/dist/types/dist-dereferenced/gift-voucher.d.ts +3 -1
- package/dist/types/dist-dereferenced/index.d.ts +0 -1
- package/dist/types/dist-dereferenced/messages/order/delivered.d.ts +2903 -253
- package/dist/types/dist-dereferenced/messages/order/new.d.ts +2903 -253
- package/dist/types/dist-dereferenced/messages/order/processed.d.ts +2903 -253
- package/dist/types/dist-dereferenced/messages/order/return-initiated.d.ts +2903 -253
- package/dist/types/dist-dereferenced/messages/order/returned.d.ts +2903 -253
- package/dist/types/dist-dereferenced/messages/order/shipped.d.ts +2903 -253
- package/dist/types/dist-dereferenced/messages/product-draft.d.ts +194 -6
- package/dist/types/dist-dereferenced/messages/product.d.ts +178 -207
- package/dist/types/dist-dereferenced/money.d.ts +3 -1
- package/dist/types/dist-dereferenced/order/customer.d.ts +98 -1
- package/dist/types/dist-dereferenced/order/index.d.ts +2903 -253
- package/dist/types/dist-dereferenced/order/item.d.ts +221 -7
- package/dist/types/dist-dereferenced/order/orderMain.d.ts +2903 -253
- package/dist/types/dist-dereferenced/order/payment.d.ts +3 -1
- package/dist/types/dist-dereferenced/order/shipment/index.d.ts +125 -5
- package/dist/types/dist-dereferenced/order/shipment/pos/index.d.ts +125 -5
- package/dist/types/dist-dereferenced/order/shipment/pos/outbound.d.ts +139 -6
- package/dist/types/dist-dereferenced/order/shipment/pos/posMain.d.ts +125 -5
- package/dist/types/dist-dereferenced/order/shipment/pos/return.d.ts +155 -6
- package/dist/types/dist-dereferenced/order/shipment/shipmentMain.d.ts +125 -5
- package/dist/types/dist-dereferenced/order/shipment/shipped/index.d.ts +125 -5
- package/dist/types/dist-dereferenced/order/shipment/shipped/outbound.d.ts +139 -6
- package/dist/types/dist-dereferenced/order/shipment/shipped/return.d.ts +139 -6
- package/dist/types/dist-dereferenced/order/shipment/shipped/shippedMain.d.ts +125 -5
- package/dist/types/dist-dereferenced/product-draft.d.ts +194 -6
- package/dist/types/dist-dereferenced/product.d.ts +178 -207
- package/dist/types/dist-dereferenced/purchase-orderline.d.ts +3 -1
- package/dist/types/dist-dereferenced/stock-movement.d.ts +3 -1
- package/dist/types/dist-dereferenced/stock.d.ts +3 -1
- package/dist/types/dist-dereferenced/total.d.ts +111 -4
- package/dist/types/dist-types/index.d.ts +0 -1
- package/dist/types/dist-types/messages/product-draft.d.ts +2 -0
- package/dist/types/dist-types/messages/product.d.ts +30 -67
- package/dist/types/dist-types/product-draft.d.ts +2 -0
- package/dist/types/dist-types/product.d.ts +30 -67
- package/dist/types/src-public/airtable.d.ts +3 -3
- package/package.json +1 -1
- package/dist/cjs/dist-dereferenced/category-tree.js +0 -4
- package/dist/cjs/dist-types/category-tree.js +0 -2
- package/dist/types/dist-dereferenced/category-tree.d.ts +0 -59
- package/dist/types/dist-types/category-tree.d.ts +0 -14
|
@@ -14,9 +14,6 @@ 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
|
-
};
|
|
20
17
|
readonly style_id: {
|
|
21
18
|
readonly type: readonly ["string"];
|
|
22
19
|
};
|
|
@@ -26,11 +23,8 @@ declare const schema: {
|
|
|
26
23
|
readonly style_name: {
|
|
27
24
|
readonly type: "string";
|
|
28
25
|
};
|
|
29
|
-
readonly product_name: {
|
|
30
|
-
readonly type: "string";
|
|
31
|
-
};
|
|
32
26
|
readonly display_name: {
|
|
33
|
-
readonly type: readonly ["string"
|
|
27
|
+
readonly type: readonly ["string"];
|
|
34
28
|
};
|
|
35
29
|
readonly buffer_quantity: {
|
|
36
30
|
readonly type: "integer";
|
|
@@ -44,30 +38,6 @@ declare const schema: {
|
|
|
44
38
|
readonly type: readonly ["string", "null"];
|
|
45
39
|
readonly format: "date";
|
|
46
40
|
};
|
|
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
|
-
};
|
|
71
41
|
readonly created_at: {
|
|
72
42
|
readonly type: "string";
|
|
73
43
|
readonly format: "date-time";
|
|
@@ -79,9 +49,6 @@ declare const schema: {
|
|
|
79
49
|
readonly colour_family_name: {
|
|
80
50
|
readonly type: "string";
|
|
81
51
|
};
|
|
82
|
-
readonly colour_code: {
|
|
83
|
-
readonly type: "string";
|
|
84
|
-
};
|
|
85
52
|
readonly colour_name: {
|
|
86
53
|
readonly type: "string";
|
|
87
54
|
};
|
|
@@ -94,9 +61,6 @@ declare const schema: {
|
|
|
94
61
|
readonly sizerange_code: {
|
|
95
62
|
readonly type: "string";
|
|
96
63
|
};
|
|
97
|
-
readonly sizerange_name: {
|
|
98
|
-
readonly type: "string";
|
|
99
|
-
};
|
|
100
64
|
readonly variants: {
|
|
101
65
|
readonly type: "array";
|
|
102
66
|
readonly items: {
|
|
@@ -108,25 +72,11 @@ declare const schema: {
|
|
|
108
72
|
readonly name: {
|
|
109
73
|
readonly type: readonly ["string"];
|
|
110
74
|
};
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
};
|
|
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";
|
|
75
|
+
readonly ean: {
|
|
76
|
+
readonly type: readonly ["string", "null"];
|
|
127
77
|
};
|
|
128
78
|
};
|
|
129
|
-
readonly required: readonly ["
|
|
79
|
+
readonly required: readonly ["code", "name"];
|
|
130
80
|
};
|
|
131
81
|
};
|
|
132
82
|
readonly vat_rate_uk: {
|
|
@@ -151,17 +101,6 @@ declare const schema: {
|
|
|
151
101
|
readonly port_of_origin: {
|
|
152
102
|
readonly type: "string";
|
|
153
103
|
};
|
|
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
|
-
};
|
|
165
104
|
readonly packing_method: {
|
|
166
105
|
readonly type: readonly ["string", "null"];
|
|
167
106
|
readonly enum: readonly ["Standard", "Hanging"];
|
|
@@ -178,32 +117,12 @@ declare const schema: {
|
|
|
178
117
|
readonly strategy_type: {
|
|
179
118
|
readonly type: "string";
|
|
180
119
|
};
|
|
181
|
-
readonly product_type: {
|
|
182
|
-
readonly type: "string";
|
|
183
|
-
};
|
|
184
|
-
readonly stock_type: {
|
|
185
|
-
readonly type: "string";
|
|
186
|
-
};
|
|
187
120
|
readonly category: {
|
|
188
121
|
readonly type: "string";
|
|
189
122
|
};
|
|
190
123
|
readonly subcategory: {
|
|
191
124
|
readonly type: "string";
|
|
192
125
|
};
|
|
193
|
-
readonly range: {
|
|
194
|
-
readonly type: readonly ["string", "null"];
|
|
195
|
-
readonly enum: readonly ["Main Collection", "Seasonal"];
|
|
196
|
-
};
|
|
197
|
-
readonly channels_availability: {
|
|
198
|
-
readonly type: readonly ["array"];
|
|
199
|
-
readonly items: {
|
|
200
|
-
readonly type: "string";
|
|
201
|
-
readonly enum: readonly ["DIRECT-UK", "DIRECT-INT", "DIRECT-US", "JL-STORES", "JL-WEB", "NEXT", "MS", "FENWICK", "MORLEYS"];
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
|
-
readonly collections: {
|
|
205
|
-
readonly type: readonly ["string"];
|
|
206
|
-
};
|
|
207
126
|
readonly seasons: {
|
|
208
127
|
readonly type: readonly ["array"];
|
|
209
128
|
readonly items: {
|
|
@@ -216,22 +135,60 @@ declare const schema: {
|
|
|
216
135
|
readonly type: "string";
|
|
217
136
|
};
|
|
218
137
|
};
|
|
219
|
-
readonly fashionability: {
|
|
220
|
-
readonly type: readonly ["string", "null"];
|
|
221
|
-
};
|
|
222
138
|
};
|
|
223
139
|
readonly required: readonly [];
|
|
224
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: {
|
|
162
|
+
readonly type: "string";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
};
|
|
225
167
|
readonly attributes: {
|
|
226
168
|
readonly type: "object";
|
|
227
169
|
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
|
+
};
|
|
228
188
|
readonly seo_url_name: {
|
|
229
189
|
readonly type: "string";
|
|
230
190
|
readonly pattern: "^[a-z-]+$";
|
|
231
191
|
};
|
|
232
|
-
readonly embellishment: {
|
|
233
|
-
readonly type: readonly ["string", "null"];
|
|
234
|
-
};
|
|
235
192
|
readonly seo_title: {
|
|
236
193
|
readonly type: readonly ["string", "null"];
|
|
237
194
|
};
|
|
@@ -244,125 +201,53 @@ declare const schema: {
|
|
|
244
201
|
readonly fabric_care: {
|
|
245
202
|
readonly type: readonly ["string", "null"];
|
|
246
203
|
};
|
|
247
|
-
readonly delivery_returns: {
|
|
248
|
-
readonly type: readonly ["string", "null"];
|
|
249
|
-
};
|
|
250
204
|
readonly weight: {
|
|
251
205
|
readonly type: readonly ["number", "null"];
|
|
252
206
|
};
|
|
253
|
-
readonly weight_statement: {
|
|
254
|
-
readonly type: readonly ["string", "null"];
|
|
255
|
-
};
|
|
256
207
|
readonly main_fibre: {
|
|
257
208
|
readonly type: readonly ["string", "null"];
|
|
258
209
|
};
|
|
259
210
|
readonly main_metal: {
|
|
260
211
|
readonly type: readonly ["string", "null"];
|
|
261
212
|
};
|
|
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
|
-
};
|
|
289
213
|
readonly designer: {
|
|
290
214
|
readonly type: readonly ["string", "null"];
|
|
291
215
|
};
|
|
292
|
-
readonly fabric: {
|
|
293
|
-
readonly type: readonly ["string", "null"];
|
|
294
|
-
};
|
|
295
|
-
readonly fabric_composition: {
|
|
296
|
-
readonly type: readonly ["string", "null"];
|
|
297
|
-
};
|
|
298
216
|
readonly certificate_code: {
|
|
299
217
|
readonly type: readonly ["string", "null"];
|
|
300
218
|
};
|
|
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
|
-
};
|
|
316
219
|
readonly pattern_name: {
|
|
317
220
|
readonly type: readonly ["string", "null"];
|
|
318
221
|
};
|
|
319
222
|
readonly fit_type: {
|
|
320
223
|
readonly type: readonly ["string", "null"];
|
|
321
224
|
};
|
|
322
|
-
readonly
|
|
323
|
-
readonly type: readonly ["string", "null"];
|
|
324
|
-
};
|
|
325
|
-
readonly sleeve_length: {
|
|
225
|
+
readonly trousers_fit: {
|
|
326
226
|
readonly type: readonly ["string", "null"];
|
|
327
227
|
readonly nullable: true;
|
|
328
228
|
};
|
|
329
|
-
readonly
|
|
330
|
-
readonly type: readonly ["string", "null"];
|
|
331
|
-
readonly nullable: true;
|
|
332
|
-
};
|
|
333
|
-
readonly heel_height: {
|
|
229
|
+
readonly trousers_length: {
|
|
334
230
|
readonly type: readonly ["string", "null"];
|
|
335
231
|
};
|
|
336
|
-
readonly
|
|
232
|
+
readonly dresses_skirts_length: {
|
|
337
233
|
readonly type: readonly ["string", "null"];
|
|
338
234
|
};
|
|
339
|
-
readonly
|
|
235
|
+
readonly coats_jackets_type: {
|
|
340
236
|
readonly type: readonly ["string", "null"];
|
|
341
237
|
};
|
|
342
|
-
readonly
|
|
238
|
+
readonly dresses_skirts_type: {
|
|
343
239
|
readonly type: readonly ["string", "null"];
|
|
344
|
-
readonly nullable: true;
|
|
345
240
|
};
|
|
346
|
-
readonly
|
|
241
|
+
readonly bag_type: {
|
|
347
242
|
readonly type: readonly ["string", "null"];
|
|
348
243
|
};
|
|
349
|
-
readonly
|
|
244
|
+
readonly product_category: {
|
|
350
245
|
readonly type: readonly ["string", "null"];
|
|
351
246
|
};
|
|
352
|
-
readonly
|
|
247
|
+
readonly product_type: {
|
|
353
248
|
readonly type: readonly ["string", "null"];
|
|
354
249
|
};
|
|
355
|
-
readonly
|
|
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: {
|
|
250
|
+
readonly metal: {
|
|
366
251
|
readonly type: readonly ["string", "null"];
|
|
367
252
|
};
|
|
368
253
|
readonly care_instructions: {
|
|
@@ -374,7 +259,13 @@ declare const schema: {
|
|
|
374
259
|
};
|
|
375
260
|
readonly required: readonly [];
|
|
376
261
|
};
|
|
377
|
-
readonly
|
|
262
|
+
readonly markets: {
|
|
263
|
+
readonly type: "array";
|
|
264
|
+
readonly items: {
|
|
265
|
+
readonly type: "string";
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
readonly markets_overrides: {
|
|
378
269
|
readonly type: "object";
|
|
379
270
|
readonly additionalProperties: false;
|
|
380
271
|
readonly patternProperties: {
|
|
@@ -386,53 +277,41 @@ declare const schema: {
|
|
|
386
277
|
readonly type: "string";
|
|
387
278
|
readonly pattern: "^[a-z]{2}-[A-Z]{2}$";
|
|
388
279
|
};
|
|
389
|
-
readonly
|
|
280
|
+
readonly market: {
|
|
390
281
|
readonly type: "string";
|
|
391
282
|
};
|
|
392
283
|
readonly slug: {
|
|
393
|
-
readonly
|
|
394
|
-
};
|
|
395
|
-
readonly style_slug: {
|
|
396
|
-
readonly $ref: "#/allOf/0/properties/style_slug";
|
|
284
|
+
readonly type: readonly ["string"];
|
|
397
285
|
};
|
|
398
286
|
readonly style_name: {
|
|
399
|
-
readonly
|
|
287
|
+
readonly type: "string";
|
|
400
288
|
};
|
|
401
289
|
readonly display_name: {
|
|
402
|
-
readonly
|
|
290
|
+
readonly type: readonly ["string"];
|
|
403
291
|
};
|
|
404
292
|
readonly display_type: {
|
|
405
|
-
readonly
|
|
293
|
+
readonly type: "string";
|
|
294
|
+
readonly enum: readonly ["Out-of-stock", "Permanently-unavailable"];
|
|
406
295
|
};
|
|
407
296
|
readonly available_to_sell_from: {
|
|
408
|
-
readonly
|
|
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";
|
|
297
|
+
readonly type: readonly ["string", "null"];
|
|
298
|
+
readonly format: "date";
|
|
424
299
|
};
|
|
425
300
|
readonly colour_family_name: {
|
|
426
|
-
readonly
|
|
301
|
+
readonly type: "string";
|
|
427
302
|
};
|
|
428
303
|
readonly colour_name: {
|
|
429
|
-
readonly
|
|
304
|
+
readonly type: "string";
|
|
430
305
|
};
|
|
431
306
|
readonly display_tags: {
|
|
432
|
-
readonly
|
|
307
|
+
readonly type: "array";
|
|
308
|
+
readonly items: {
|
|
309
|
+
readonly type: "string";
|
|
310
|
+
};
|
|
433
311
|
};
|
|
434
|
-
readonly
|
|
435
|
-
readonly
|
|
312
|
+
readonly last_online_at: {
|
|
313
|
+
readonly type: readonly ["string", "null"];
|
|
314
|
+
readonly format: "date-time";
|
|
436
315
|
};
|
|
437
316
|
readonly variants: {
|
|
438
317
|
readonly type: "array";
|
|
@@ -440,25 +319,117 @@ declare const schema: {
|
|
|
440
319
|
readonly type: "object";
|
|
441
320
|
readonly properties: {
|
|
442
321
|
readonly code: {
|
|
443
|
-
readonly
|
|
322
|
+
readonly type: "string";
|
|
444
323
|
};
|
|
445
324
|
readonly name: {
|
|
446
|
-
readonly
|
|
325
|
+
readonly type: readonly ["string"];
|
|
447
326
|
};
|
|
448
327
|
};
|
|
449
328
|
readonly required: readonly ["code", "name"];
|
|
450
329
|
};
|
|
451
330
|
};
|
|
452
331
|
readonly attributes: {
|
|
453
|
-
readonly
|
|
332
|
+
readonly type: "object";
|
|
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 [];
|
|
454
425
|
};
|
|
455
426
|
};
|
|
456
|
-
readonly required: readonly ["locale", "
|
|
427
|
+
readonly required: readonly ["locale", "market"];
|
|
457
428
|
};
|
|
458
429
|
};
|
|
459
430
|
};
|
|
460
431
|
};
|
|
461
|
-
readonly required: readonly ["product_id", "style_id", "
|
|
432
|
+
readonly required: readonly ["product_id", "style_id", "colour_id", "display_name"];
|
|
462
433
|
}, {
|
|
463
434
|
readonly type: "object";
|
|
464
435
|
readonly additionalProperties: false;
|
|
@@ -24,8 +24,10 @@ declare const schema: {
|
|
|
24
24
|
readonly minimum: 0;
|
|
25
25
|
};
|
|
26
26
|
readonly lcy_currency: {
|
|
27
|
-
readonly $ref: "#/properties/currency";
|
|
28
27
|
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"];
|
|
29
31
|
};
|
|
30
32
|
readonly lcy_decimal_places: {
|
|
31
33
|
readonly type: "integer";
|