@shushed/helpers 0.0.199 → 0.0.200-v2-20251125135041
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/dist-dereferenced/asset.js +4 -0
- package/dist/cjs/dist-dereferenced/category.js +4 -0
- package/dist/cjs/dist-dereferenced/country.js +4 -0
- package/dist/cjs/dist-dereferenced/currency.js +4 -0
- package/dist/cjs/dist-dereferenced/customer-segment.js +4 -0
- package/dist/cjs/dist-dereferenced/development-colour.js +4 -0
- package/dist/cjs/dist-dereferenced/index.js +69 -0
- package/dist/cjs/dist-dereferenced/marketing-preferences.js +4 -0
- package/dist/cjs/dist-dereferenced/messages/ean-change.js +4 -0
- package/dist/cjs/dist-dereferenced/messages/index.js +50 -0
- package/dist/cjs/dist-dereferenced/messages/order/delivered.js +4 -0
- package/dist/cjs/dist-dereferenced/messages/order/index.js +18 -0
- package/dist/cjs/dist-dereferenced/messages/order/new.js +4 -0
- package/dist/cjs/dist-dereferenced/messages/order/processed.js +4 -0
- package/dist/cjs/dist-dereferenced/messages/order/return-initiated.js +4 -0
- package/dist/cjs/dist-dereferenced/messages/order/returned.js +4 -0
- package/dist/cjs/dist-dereferenced/messages/order/shipped.js +4 -0
- package/dist/cjs/dist-dereferenced/messages/price-change.js +4 -0
- package/dist/cjs/dist-dereferenced/messages/product-category.js +4 -0
- package/dist/cjs/dist-dereferenced/messages/product-draft.js +4 -0
- package/dist/cjs/dist-dereferenced/messages/product.js +4 -0
- package/dist/cjs/dist-dereferenced/money.js +4 -0
- package/dist/cjs/dist-dereferenced/order/address.js +4 -0
- package/dist/cjs/dist-dereferenced/order/customer.js +4 -0
- package/dist/cjs/dist-dereferenced/order/index.js +51 -0
- package/dist/cjs/dist-dereferenced/order/item.js +4 -0
- package/dist/cjs/dist-dereferenced/order/orderMain.js +4 -0
- package/dist/cjs/dist-dereferenced/order/payment.js +4 -0
- package/dist/cjs/dist-dereferenced/order/shipment/index.js +45 -0
- package/dist/cjs/dist-dereferenced/order/shipment/item/index.js +11 -0
- package/dist/cjs/dist-dereferenced/order/shipment/item/itemMain.js +4 -0
- package/dist/cjs/dist-dereferenced/order/shipment/item/returned.js +4 -0
- package/dist/cjs/dist-dereferenced/order/shipment/pos/index.js +13 -0
- package/dist/cjs/dist-dereferenced/order/shipment/pos/outbound.js +4 -0
- package/dist/cjs/dist-dereferenced/order/shipment/pos/posMain.js +4 -0
- package/dist/cjs/dist-dereferenced/order/shipment/pos/return.js +4 -0
- package/dist/cjs/dist-dereferenced/order/shipment/shipmentMain.js +4 -0
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/index.js +13 -0
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/outbound.js +4 -0
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/return.js +4 -0
- package/dist/cjs/dist-dereferenced/order/shipment/shipped/shippedMain.js +4 -0
- package/dist/cjs/dist-dereferenced/price.js +4 -0
- package/dist/cjs/dist-dereferenced/product-category.js +4 -0
- package/dist/cjs/dist-dereferenced/product-draft.js +4 -0
- package/dist/cjs/dist-dereferenced/product.js +4 -0
- package/dist/cjs/dist-dereferenced/stock.js +4 -0
- package/dist/cjs/dist-dereferenced/total.js +4 -0
- package/dist/cjs/dist-types/asset.js +2 -0
- package/dist/cjs/dist-types/category.js +2 -0
- package/dist/cjs/dist-types/country.js +2 -0
- package/dist/cjs/dist-types/currency.js +2 -0
- package/dist/cjs/dist-types/customer-segment.js +2 -0
- package/dist/cjs/dist-types/development-colour.js +2 -0
- package/dist/cjs/dist-types/index.js +38 -0
- package/dist/cjs/dist-types/marketing-preferences.js +2 -0
- package/dist/cjs/dist-types/messages/ean-change.js +2 -0
- package/dist/cjs/dist-types/messages/index.js +37 -0
- package/dist/cjs/dist-types/messages/order/delivered.js +2 -0
- package/dist/cjs/dist-types/messages/order/index.js +2 -0
- package/dist/cjs/dist-types/messages/order/new.js +2 -0
- package/dist/cjs/dist-types/messages/order/processed.js +2 -0
- package/dist/cjs/dist-types/messages/order/return-initiated.js +2 -0
- package/dist/cjs/dist-types/messages/order/returned.js +2 -0
- package/dist/cjs/dist-types/messages/order/shipped.js +2 -0
- package/dist/cjs/dist-types/messages/price-change.js +2 -0
- package/dist/cjs/dist-types/messages/product-category.js +2 -0
- package/dist/cjs/dist-types/messages/product-draft.js +2 -0
- package/dist/cjs/dist-types/messages/product.js +2 -0
- package/dist/cjs/dist-types/money.js +2 -0
- package/dist/cjs/dist-types/order/address.js +2 -0
- package/dist/cjs/dist-types/order/customer.js +2 -0
- package/dist/cjs/dist-types/order/index.js +37 -0
- package/dist/cjs/dist-types/order/item.js +2 -0
- package/dist/cjs/dist-types/order/orderMain.js +2 -0
- package/dist/cjs/dist-types/order/payment.js +2 -0
- package/dist/cjs/dist-types/order/shipment/index.js +39 -0
- package/dist/cjs/dist-types/order/shipment/item/index.js +2 -0
- package/dist/cjs/dist-types/order/shipment/item/itemMain.js +2 -0
- package/dist/cjs/dist-types/order/shipment/item/returned.js +2 -0
- package/dist/cjs/dist-types/order/shipment/pos/index.js +2 -0
- package/dist/cjs/dist-types/order/shipment/pos/outbound.js +2 -0
- package/dist/cjs/dist-types/order/shipment/pos/posMain.js +2 -0
- package/dist/cjs/dist-types/order/shipment/pos/return.js +2 -0
- package/dist/cjs/dist-types/order/shipment/shipmentMain.js +2 -0
- package/dist/cjs/dist-types/order/shipment/shipped/index.js +2 -0
- package/dist/cjs/dist-types/order/shipment/shipped/outbound.js +2 -0
- package/dist/cjs/dist-types/order/shipment/shipped/return.js +2 -0
- package/dist/cjs/dist-types/order/shipment/shipped/shippedMain.js +2 -0
- package/dist/cjs/dist-types/price.js +2 -0
- package/dist/cjs/dist-types/product-category.js +2 -0
- package/dist/cjs/dist-types/product-draft.js +2 -0
- package/dist/cjs/dist-types/product.js +2 -0
- package/dist/cjs/dist-types/stock.js +2 -0
- package/dist/cjs/dist-types/total.js +2 -0
- package/dist/cjs/index.js +39 -0
- package/dist/cjs/src-public/airtable.js +590 -0
- package/dist/cjs/src-public/bigquery.js +59 -0
- package/dist/cjs/src-public/cloudtasks.js +207 -0
- package/dist/cjs/src-public/dato.js +260 -0
- package/dist/cjs/src-public/env.js +897 -0
- package/dist/cjs/src-public/getEventTime.js +28 -0
- package/dist/cjs/src-public/index.js +50 -0
- package/dist/cjs/src-public/ipValidation.js +167 -0
- package/dist/cjs/src-public/jwks.js +108 -0
- package/dist/cjs/src-public/pubsub.js +423 -0
- package/dist/cjs/src-public/rateLimit.js +140 -0
- package/dist/cjs/src-public/redisClient.js +44 -0
- package/dist/cjs/src-public/runtime.js +135 -0
- package/dist/cjs/src-public/sanitize.js +25 -0
- package/dist/cjs/src-public/scheduler.js +247 -0
- package/dist/cjs/src-public/secret.js +16 -0
- package/dist/cjs/src-public/setHeaders.js +16 -0
- package/dist/cjs/src-public/types.js +2 -0
- package/dist/cjs/src-public/utils.js +454 -0
- package/dist/cjs/src-public/validate.js +40 -0
- package/dist/package.json +6 -3
- package/dist/types/dist-dereferenced/asset.d.ts +51 -0
- package/dist/types/dist-dereferenced/category.d.ts +58 -0
- package/dist/types/dist-dereferenced/country.d.ts +8 -0
- package/dist/types/dist-dereferenced/currency.d.ts +8 -0
- package/dist/types/dist-dereferenced/customer-segment.d.ts +26 -0
- package/dist/types/dist-dereferenced/development-colour.d.ts +114 -0
- package/dist/types/dist-dereferenced/index.d.ts +16 -0
- package/dist/types/dist-dereferenced/marketing-preferences.d.ts +31 -0
- package/dist/types/dist-dereferenced/messages/ean-change.d.ts +17 -0
- package/dist/types/dist-dereferenced/messages/index.d.ts +6 -0
- package/dist/types/dist-dereferenced/messages/order/delivered.d.ts +3414 -0
- package/dist/types/dist-dereferenced/messages/order/index.d.ts +6 -0
- package/dist/types/dist-dereferenced/messages/order/new.d.ts +3414 -0
- package/dist/types/dist-dereferenced/messages/order/processed.d.ts +3408 -0
- package/dist/types/dist-dereferenced/messages/order/return-initiated.d.ts +3414 -0
- package/dist/types/dist-dereferenced/messages/order/returned.d.ts +3413 -0
- package/dist/types/dist-dereferenced/messages/order/shipped.d.ts +3412 -0
- package/dist/types/dist-dereferenced/messages/price-change.d.ts +67 -0
- package/dist/types/dist-dereferenced/messages/product-category.d.ts +33 -0
- package/dist/types/dist-dereferenced/messages/product-draft.d.ts +589 -0
- package/dist/types/dist-dereferenced/messages/product.d.ts +628 -0
- package/dist/types/dist-dereferenced/money.d.ts +41 -0
- package/dist/types/dist-dereferenced/order/address.d.ts +98 -0
- package/dist/types/dist-dereferenced/order/customer.d.ts +309 -0
- package/dist/types/dist-dereferenced/order/index.d.ts +3404 -0
- package/dist/types/dist-dereferenced/order/item.d.ts +336 -0
- package/dist/types/dist-dereferenced/order/orderMain.d.ts +3399 -0
- package/dist/types/dist-dereferenced/order/payment.d.ts +94 -0
- package/dist/types/dist-dereferenced/order/shipment/index.d.ts +253 -0
- package/dist/types/dist-dereferenced/order/shipment/item/index.d.ts +19 -0
- package/dist/types/dist-dereferenced/order/shipment/item/itemMain.d.ts +18 -0
- package/dist/types/dist-dereferenced/order/shipment/item/returned.d.ts +34 -0
- package/dist/types/dist-dereferenced/order/shipment/pos/index.d.ts +282 -0
- package/dist/types/dist-dereferenced/order/shipment/pos/outbound.d.ts +320 -0
- package/dist/types/dist-dereferenced/order/shipment/pos/posMain.d.ts +280 -0
- package/dist/types/dist-dereferenced/order/shipment/pos/return.d.ts +331 -0
- package/dist/types/dist-dereferenced/order/shipment/shipmentMain.d.ts +250 -0
- package/dist/types/dist-dereferenced/order/shipment/shipped/index.d.ts +288 -0
- package/dist/types/dist-dereferenced/order/shipment/shipped/outbound.d.ts +286 -0
- package/dist/types/dist-dereferenced/order/shipment/shipped/return.d.ts +287 -0
- package/dist/types/dist-dereferenced/order/shipment/shipped/shippedMain.d.ts +286 -0
- package/dist/types/dist-dereferenced/price.d.ts +58 -0
- package/dist/types/dist-dereferenced/product-category.d.ts +24 -0
- package/dist/types/dist-dereferenced/product-draft.d.ts +580 -0
- package/dist/types/dist-dereferenced/product.d.ts +619 -0
- package/dist/types/dist-dereferenced/stock.d.ts +74 -0
- package/dist/types/dist-dereferenced/total.d.ts +172 -0
- package/dist/types/dist-types/asset.d.ts +16 -0
- package/dist/types/dist-types/category.d.ts +20 -0
- package/dist/types/dist-types/country.d.ts +2 -0
- package/dist/types/dist-types/currency.d.ts +2 -0
- package/dist/types/dist-types/customer-segment.d.ts +6 -0
- package/dist/types/dist-types/development-colour.d.ts +31 -0
- package/dist/types/dist-types/index.d.ts +16 -0
- package/dist/types/dist-types/marketing-preferences.d.ts +9 -0
- package/dist/types/dist-types/messages/ean-change.d.ts +5 -0
- package/dist/types/dist-types/messages/index.d.ts +6 -0
- package/dist/types/dist-types/messages/order/delivered.d.ts +292 -0
- package/dist/types/dist-types/messages/order/index.d.ts +6 -0
- package/dist/types/dist-types/messages/order/new.d.ts +292 -0
- package/dist/types/dist-types/messages/order/processed.d.ts +292 -0
- package/dist/types/dist-types/messages/order/return-initiated.d.ts +292 -0
- package/dist/types/dist-types/messages/order/returned.d.ts +293 -0
- package/dist/types/dist-types/messages/order/shipped.d.ts +293 -0
- package/dist/types/dist-types/messages/price-change.d.ts +16 -0
- package/dist/types/dist-types/messages/product-category.d.ts +7 -0
- package/dist/types/dist-types/messages/product-draft.d.ts +136 -0
- package/dist/types/dist-types/messages/product.d.ts +144 -0
- package/dist/types/dist-types/money.d.ts +11 -0
- package/dist/types/dist-types/order/address.d.ts +27 -0
- package/dist/types/dist-types/order/customer.d.ts +81 -0
- package/dist/types/dist-types/order/index.d.ts +8 -0
- package/dist/types/dist-types/order/item.d.ts +85 -0
- package/dist/types/dist-types/order/orderMain.d.ts +289 -0
- package/dist/types/dist-types/order/payment.d.ts +26 -0
- package/dist/types/dist-types/order/shipment/index.d.ts +6 -0
- package/dist/types/dist-types/order/shipment/item/index.d.ts +4 -0
- package/dist/types/dist-types/order/shipment/item/itemMain.d.ts +6 -0
- package/dist/types/dist-types/order/shipment/item/returned.d.ts +11 -0
- package/dist/types/dist-types/order/shipment/pos/index.d.ts +5 -0
- package/dist/types/dist-types/order/shipment/pos/outbound.d.ts +76 -0
- package/dist/types/dist-types/order/shipment/pos/posMain.d.ts +71 -0
- package/dist/types/dist-types/order/shipment/pos/return.d.ts +75 -0
- package/dist/types/dist-types/order/shipment/shipmentMain.d.ts +62 -0
- package/dist/types/dist-types/order/shipment/shipped/index.d.ts +5 -0
- package/dist/types/dist-types/order/shipment/shipped/outbound.d.ts +68 -0
- package/dist/types/dist-types/order/shipment/shipped/return.d.ts +68 -0
- package/dist/types/dist-types/order/shipment/shipped/shippedMain.d.ts +69 -0
- package/dist/types/dist-types/price.d.ts +15 -0
- package/dist/types/dist-types/product-category.d.ts +6 -0
- package/dist/types/dist-types/product-draft.d.ts +135 -0
- package/dist/types/dist-types/product.d.ts +143 -0
- package/dist/types/dist-types/stock.d.ts +19 -0
- package/dist/types/dist-types/total.d.ts +44 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/src-public/airtable.d.ts +220 -0
- package/dist/types/src-public/bigquery.d.ts +17 -0
- package/dist/types/src-public/cloudtasks.d.ts +74 -0
- package/dist/types/src-public/dato.d.ts +55 -0
- package/dist/types/src-public/env.d.ts +144 -0
- package/dist/types/src-public/getEventTime.d.ts +1 -0
- package/dist/types/src-public/index.d.ts +16 -0
- package/dist/types/src-public/ipValidation.d.ts +15 -0
- package/dist/types/src-public/jwks.d.ts +15 -0
- package/dist/types/src-public/pubsub.d.ts +95 -0
- package/dist/types/src-public/rateLimit.d.ts +21 -0
- package/dist/types/src-public/redisClient.d.ts +6 -0
- package/dist/types/src-public/runtime.d.ts +56 -0
- package/dist/types/src-public/sanitize.d.ts +4 -0
- package/dist/types/src-public/scheduler.d.ts +71 -0
- package/dist/types/src-public/secret.d.ts +6 -0
- package/dist/types/src-public/setHeaders.d.ts +13 -0
- package/dist/types/src-public/types.d.ts +264 -0
- package/dist/types/src-public/utils.d.ts +101 -0
- package/dist/types/src-public/validate.d.ts +9 -0
- package/package.json +7 -4
- package/dist/index.d.ts +0 -34970
- package/dist/index.js +0 -112969
|
@@ -0,0 +1,628 @@
|
|
|
1
|
+
declare const schema: {
|
|
2
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
3
|
+
readonly title: "ProductChange";
|
|
4
|
+
readonly additionalProperties: false;
|
|
5
|
+
readonly allOf: readonly [{
|
|
6
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
7
|
+
readonly title: "Product";
|
|
8
|
+
readonly additionalProperties: false;
|
|
9
|
+
readonly type: "object";
|
|
10
|
+
readonly properties: {
|
|
11
|
+
readonly product_id: {
|
|
12
|
+
readonly type: "string";
|
|
13
|
+
};
|
|
14
|
+
readonly slug: {
|
|
15
|
+
readonly type: readonly ["string"];
|
|
16
|
+
};
|
|
17
|
+
readonly style_slug: {
|
|
18
|
+
readonly type: readonly ["string"];
|
|
19
|
+
};
|
|
20
|
+
readonly style_id: {
|
|
21
|
+
readonly type: readonly ["string"];
|
|
22
|
+
};
|
|
23
|
+
readonly colour_id: {
|
|
24
|
+
readonly type: "string";
|
|
25
|
+
};
|
|
26
|
+
readonly style_name: {
|
|
27
|
+
readonly type: "string";
|
|
28
|
+
};
|
|
29
|
+
readonly product_name: {
|
|
30
|
+
readonly type: "string";
|
|
31
|
+
};
|
|
32
|
+
readonly display_name: {
|
|
33
|
+
readonly type: readonly ["string", "null"];
|
|
34
|
+
};
|
|
35
|
+
readonly buffer_quantity: {
|
|
36
|
+
readonly type: "integer";
|
|
37
|
+
readonly minimum: 0;
|
|
38
|
+
};
|
|
39
|
+
readonly display_type: {
|
|
40
|
+
readonly type: "string";
|
|
41
|
+
readonly enum: readonly ["Out-of-stock", "Permanently-unavailable"];
|
|
42
|
+
};
|
|
43
|
+
readonly available_to_sell_from: {
|
|
44
|
+
readonly type: readonly ["string", "null"];
|
|
45
|
+
readonly format: "date";
|
|
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
|
+
};
|
|
71
|
+
readonly created_at: {
|
|
72
|
+
readonly type: "string";
|
|
73
|
+
readonly format: "date-time";
|
|
74
|
+
};
|
|
75
|
+
readonly last_modified_at: {
|
|
76
|
+
readonly type: "string";
|
|
77
|
+
readonly format: "date-time";
|
|
78
|
+
};
|
|
79
|
+
readonly colour_family_name: {
|
|
80
|
+
readonly type: "string";
|
|
81
|
+
};
|
|
82
|
+
readonly colour_code: {
|
|
83
|
+
readonly type: "string";
|
|
84
|
+
};
|
|
85
|
+
readonly colour_name: {
|
|
86
|
+
readonly type: "string";
|
|
87
|
+
};
|
|
88
|
+
readonly display_tags: {
|
|
89
|
+
readonly type: "array";
|
|
90
|
+
readonly items: {
|
|
91
|
+
readonly type: "string";
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
readonly sizerange_code: {
|
|
95
|
+
readonly type: "string";
|
|
96
|
+
};
|
|
97
|
+
readonly sizerange_name: {
|
|
98
|
+
readonly type: "string";
|
|
99
|
+
};
|
|
100
|
+
readonly variants: {
|
|
101
|
+
readonly type: "array";
|
|
102
|
+
readonly items: {
|
|
103
|
+
readonly type: "object";
|
|
104
|
+
readonly properties: {
|
|
105
|
+
readonly code: {
|
|
106
|
+
readonly type: "string";
|
|
107
|
+
};
|
|
108
|
+
readonly name: {
|
|
109
|
+
readonly type: readonly ["string"];
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
readonly required: readonly ["code", "name"];
|
|
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";
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
readonly required: readonly ["type", "url"];
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
readonly vat_rate_uk: {
|
|
133
|
+
readonly type: readonly ["number", "null"];
|
|
134
|
+
readonly minimum: 0;
|
|
135
|
+
};
|
|
136
|
+
readonly supply_chain: {
|
|
137
|
+
readonly type: "object";
|
|
138
|
+
readonly properties: {
|
|
139
|
+
readonly hs_code: {
|
|
140
|
+
readonly type: readonly ["string", "null"];
|
|
141
|
+
};
|
|
142
|
+
readonly commodity_code_ref: {
|
|
143
|
+
readonly type: "string";
|
|
144
|
+
};
|
|
145
|
+
readonly country_of_origin: {
|
|
146
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
147
|
+
readonly title: "Country";
|
|
148
|
+
readonly type: "string";
|
|
149
|
+
readonly enum: readonly ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CD", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"];
|
|
150
|
+
};
|
|
151
|
+
readonly port_of_origin: {
|
|
152
|
+
readonly type: "string";
|
|
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
|
+
};
|
|
165
|
+
readonly packing_method: {
|
|
166
|
+
readonly type: readonly ["string", "null"];
|
|
167
|
+
readonly enum: readonly ["Standard", "Hanging"];
|
|
168
|
+
};
|
|
169
|
+
readonly is_bought_in_product: {
|
|
170
|
+
readonly type: "boolean";
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
readonly required: readonly [];
|
|
174
|
+
};
|
|
175
|
+
readonly merch: {
|
|
176
|
+
readonly type: "object";
|
|
177
|
+
readonly properties: {
|
|
178
|
+
readonly strategy_type: {
|
|
179
|
+
readonly type: "string";
|
|
180
|
+
};
|
|
181
|
+
readonly product_type: {
|
|
182
|
+
readonly type: "string";
|
|
183
|
+
};
|
|
184
|
+
readonly stock_type: {
|
|
185
|
+
readonly type: "string";
|
|
186
|
+
};
|
|
187
|
+
readonly category: {
|
|
188
|
+
readonly type: "string";
|
|
189
|
+
};
|
|
190
|
+
readonly subcategory: {
|
|
191
|
+
readonly type: "string";
|
|
192
|
+
};
|
|
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
|
+
readonly seasons: {
|
|
208
|
+
readonly type: readonly ["array"];
|
|
209
|
+
readonly items: {
|
|
210
|
+
readonly type: "string";
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
readonly drops: {
|
|
214
|
+
readonly type: readonly ["array"];
|
|
215
|
+
readonly items: {
|
|
216
|
+
readonly type: "string";
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
readonly fashionability: {
|
|
220
|
+
readonly type: readonly ["string", "null"];
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
readonly required: readonly [];
|
|
224
|
+
};
|
|
225
|
+
readonly attributes: {
|
|
226
|
+
readonly type: "object";
|
|
227
|
+
readonly properties: {
|
|
228
|
+
readonly seo_url_name: {
|
|
229
|
+
readonly type: "string";
|
|
230
|
+
readonly pattern: "^[a-z-]+$";
|
|
231
|
+
};
|
|
232
|
+
readonly embellishment: {
|
|
233
|
+
readonly type: readonly ["string", "null"];
|
|
234
|
+
};
|
|
235
|
+
readonly seo_title: {
|
|
236
|
+
readonly type: readonly ["string", "null"];
|
|
237
|
+
};
|
|
238
|
+
readonly seo_description: {
|
|
239
|
+
readonly type: readonly ["string", "null"];
|
|
240
|
+
};
|
|
241
|
+
readonly fit_description: {
|
|
242
|
+
readonly type: readonly ["string", "null"];
|
|
243
|
+
};
|
|
244
|
+
readonly fabric_care: {
|
|
245
|
+
readonly type: readonly ["string", "null"];
|
|
246
|
+
};
|
|
247
|
+
readonly delivery_returns: {
|
|
248
|
+
readonly type: readonly ["string", "null"];
|
|
249
|
+
};
|
|
250
|
+
readonly weight: {
|
|
251
|
+
readonly type: readonly ["number", "null"];
|
|
252
|
+
};
|
|
253
|
+
readonly weight_statement: {
|
|
254
|
+
readonly type: readonly ["string", "null"];
|
|
255
|
+
};
|
|
256
|
+
readonly main_fibre: {
|
|
257
|
+
readonly type: readonly ["string", "null"];
|
|
258
|
+
};
|
|
259
|
+
readonly main_metal: {
|
|
260
|
+
readonly type: readonly ["string", "null"];
|
|
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
|
+
};
|
|
289
|
+
readonly designer: {
|
|
290
|
+
readonly type: readonly ["string", "null"];
|
|
291
|
+
};
|
|
292
|
+
readonly fabric: {
|
|
293
|
+
readonly type: readonly ["string", "null"];
|
|
294
|
+
};
|
|
295
|
+
readonly fabric_composition: {
|
|
296
|
+
readonly type: readonly ["string", "null"];
|
|
297
|
+
};
|
|
298
|
+
readonly certificate_code: {
|
|
299
|
+
readonly type: readonly ["string", "null"];
|
|
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
|
+
};
|
|
316
|
+
readonly pattern_name: {
|
|
317
|
+
readonly type: readonly ["string", "null"];
|
|
318
|
+
};
|
|
319
|
+
readonly fit_type: {
|
|
320
|
+
readonly type: readonly ["string", "null"];
|
|
321
|
+
};
|
|
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: {
|
|
330
|
+
readonly type: readonly ["string", "null"];
|
|
331
|
+
readonly nullable: true;
|
|
332
|
+
};
|
|
333
|
+
readonly heel_height: {
|
|
334
|
+
readonly type: readonly ["string", "null"];
|
|
335
|
+
};
|
|
336
|
+
readonly heel_shape: {
|
|
337
|
+
readonly type: readonly ["string", "null"];
|
|
338
|
+
};
|
|
339
|
+
readonly toe_shape: {
|
|
340
|
+
readonly type: readonly ["string", "null"];
|
|
341
|
+
};
|
|
342
|
+
readonly trouser_fit: {
|
|
343
|
+
readonly type: readonly ["string", "null"];
|
|
344
|
+
readonly nullable: true;
|
|
345
|
+
};
|
|
346
|
+
readonly leg_length: {
|
|
347
|
+
readonly type: readonly ["string", "null"];
|
|
348
|
+
};
|
|
349
|
+
readonly handle_straps: {
|
|
350
|
+
readonly type: readonly ["string", "null"];
|
|
351
|
+
};
|
|
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: {
|
|
366
|
+
readonly type: readonly ["string", "null"];
|
|
367
|
+
};
|
|
368
|
+
readonly care_instructions: {
|
|
369
|
+
readonly type: "array";
|
|
370
|
+
readonly items: {
|
|
371
|
+
readonly type: "string";
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
readonly required: readonly [];
|
|
376
|
+
};
|
|
377
|
+
readonly presentations: {
|
|
378
|
+
readonly type: "object";
|
|
379
|
+
readonly additionalProperties: false;
|
|
380
|
+
readonly patternProperties: {
|
|
381
|
+
readonly ".*": {
|
|
382
|
+
readonly type: "object";
|
|
383
|
+
readonly additionalProperties: false;
|
|
384
|
+
readonly properties: {
|
|
385
|
+
readonly locale: {
|
|
386
|
+
readonly type: "string";
|
|
387
|
+
readonly pattern: "^[a-z]{2}-[A-Z]{2}$";
|
|
388
|
+
};
|
|
389
|
+
readonly presentation_type: {
|
|
390
|
+
readonly type: "string";
|
|
391
|
+
};
|
|
392
|
+
readonly slug: {
|
|
393
|
+
readonly type: readonly ["string"];
|
|
394
|
+
};
|
|
395
|
+
readonly style_slug: {
|
|
396
|
+
readonly type: readonly ["string"];
|
|
397
|
+
};
|
|
398
|
+
readonly style_name: {
|
|
399
|
+
readonly type: "string";
|
|
400
|
+
};
|
|
401
|
+
readonly display_name: {
|
|
402
|
+
readonly type: readonly ["string", "null"];
|
|
403
|
+
};
|
|
404
|
+
readonly display_type: {
|
|
405
|
+
readonly type: "string";
|
|
406
|
+
readonly enum: readonly ["Out-of-stock", "Permanently-unavailable"];
|
|
407
|
+
};
|
|
408
|
+
readonly available_to_sell_from: {
|
|
409
|
+
readonly type: readonly ["string", "null"];
|
|
410
|
+
readonly format: "date";
|
|
411
|
+
};
|
|
412
|
+
readonly online_from: {
|
|
413
|
+
readonly type: readonly ["string", "null"];
|
|
414
|
+
readonly format: "date-time";
|
|
415
|
+
};
|
|
416
|
+
readonly online_to: {
|
|
417
|
+
readonly type: readonly ["string", "null"];
|
|
418
|
+
readonly format: "date-time";
|
|
419
|
+
};
|
|
420
|
+
readonly last_online_at: {
|
|
421
|
+
readonly type: readonly ["string", "null"];
|
|
422
|
+
readonly format: "date-time";
|
|
423
|
+
};
|
|
424
|
+
readonly first_purchased_at: {
|
|
425
|
+
readonly type: "string";
|
|
426
|
+
readonly format: "date-time";
|
|
427
|
+
};
|
|
428
|
+
readonly first_markdown_at: {
|
|
429
|
+
readonly type: readonly ["string", "null"];
|
|
430
|
+
readonly format: "date-time";
|
|
431
|
+
};
|
|
432
|
+
readonly colour_family_name: {
|
|
433
|
+
readonly type: "string";
|
|
434
|
+
};
|
|
435
|
+
readonly colour_name: {
|
|
436
|
+
readonly type: "string";
|
|
437
|
+
};
|
|
438
|
+
readonly display_tags: {
|
|
439
|
+
readonly type: "array";
|
|
440
|
+
readonly items: {
|
|
441
|
+
readonly type: "string";
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
readonly sizerange_name: {
|
|
445
|
+
readonly type: "string";
|
|
446
|
+
};
|
|
447
|
+
readonly variants: {
|
|
448
|
+
readonly type: "array";
|
|
449
|
+
readonly items: {
|
|
450
|
+
readonly type: "object";
|
|
451
|
+
readonly properties: {
|
|
452
|
+
readonly code: {
|
|
453
|
+
readonly type: "string";
|
|
454
|
+
};
|
|
455
|
+
readonly name: {
|
|
456
|
+
readonly type: readonly ["string"];
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
readonly required: readonly ["code", "name"];
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
readonly attributes: {
|
|
463
|
+
readonly type: "object";
|
|
464
|
+
readonly properties: {
|
|
465
|
+
readonly seo_url_name: {
|
|
466
|
+
readonly type: "string";
|
|
467
|
+
readonly pattern: "^[a-z-]+$";
|
|
468
|
+
};
|
|
469
|
+
readonly embellishment: {
|
|
470
|
+
readonly type: readonly ["string", "null"];
|
|
471
|
+
};
|
|
472
|
+
readonly seo_title: {
|
|
473
|
+
readonly type: readonly ["string", "null"];
|
|
474
|
+
};
|
|
475
|
+
readonly seo_description: {
|
|
476
|
+
readonly type: readonly ["string", "null"];
|
|
477
|
+
};
|
|
478
|
+
readonly fit_description: {
|
|
479
|
+
readonly type: readonly ["string", "null"];
|
|
480
|
+
};
|
|
481
|
+
readonly fabric_care: {
|
|
482
|
+
readonly type: readonly ["string", "null"];
|
|
483
|
+
};
|
|
484
|
+
readonly delivery_returns: {
|
|
485
|
+
readonly type: readonly ["string", "null"];
|
|
486
|
+
};
|
|
487
|
+
readonly weight: {
|
|
488
|
+
readonly type: readonly ["number", "null"];
|
|
489
|
+
};
|
|
490
|
+
readonly weight_statement: {
|
|
491
|
+
readonly type: readonly ["string", "null"];
|
|
492
|
+
};
|
|
493
|
+
readonly main_fibre: {
|
|
494
|
+
readonly type: readonly ["string", "null"];
|
|
495
|
+
};
|
|
496
|
+
readonly main_metal: {
|
|
497
|
+
readonly type: readonly ["string", "null"];
|
|
498
|
+
};
|
|
499
|
+
readonly extra_selling_points: {
|
|
500
|
+
readonly type: "array";
|
|
501
|
+
readonly items: {
|
|
502
|
+
readonly type: "string";
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
readonly length_measurement: {
|
|
506
|
+
readonly type: readonly ["string", "null"];
|
|
507
|
+
};
|
|
508
|
+
readonly measurement_table_code: {
|
|
509
|
+
readonly type: readonly ["string"];
|
|
510
|
+
};
|
|
511
|
+
readonly fit: {
|
|
512
|
+
readonly type: readonly ["string", "null"];
|
|
513
|
+
};
|
|
514
|
+
readonly pockets: {
|
|
515
|
+
readonly type: readonly ["string", "null"];
|
|
516
|
+
};
|
|
517
|
+
readonly pleats_gathers: {
|
|
518
|
+
readonly type: readonly ["string", "null"];
|
|
519
|
+
};
|
|
520
|
+
readonly lining: {
|
|
521
|
+
readonly type: readonly ["string", "null"];
|
|
522
|
+
};
|
|
523
|
+
readonly bias_cut: {
|
|
524
|
+
readonly type: readonly ["string", "null"];
|
|
525
|
+
};
|
|
526
|
+
readonly designer: {
|
|
527
|
+
readonly type: readonly ["string", "null"];
|
|
528
|
+
};
|
|
529
|
+
readonly fabric: {
|
|
530
|
+
readonly type: readonly ["string", "null"];
|
|
531
|
+
};
|
|
532
|
+
readonly fabric_composition: {
|
|
533
|
+
readonly type: readonly ["string", "null"];
|
|
534
|
+
};
|
|
535
|
+
readonly certificate_code: {
|
|
536
|
+
readonly type: readonly ["string", "null"];
|
|
537
|
+
};
|
|
538
|
+
readonly shape: {
|
|
539
|
+
readonly type: readonly ["string", "null"];
|
|
540
|
+
};
|
|
541
|
+
readonly development_type: {
|
|
542
|
+
readonly type: "string";
|
|
543
|
+
};
|
|
544
|
+
readonly occasion: {
|
|
545
|
+
readonly type: readonly ["string", "null"];
|
|
546
|
+
};
|
|
547
|
+
readonly design: {
|
|
548
|
+
readonly type: readonly ["string", "null"];
|
|
549
|
+
};
|
|
550
|
+
readonly block: {
|
|
551
|
+
readonly type: readonly ["string", "null"];
|
|
552
|
+
};
|
|
553
|
+
readonly pattern_name: {
|
|
554
|
+
readonly type: readonly ["string", "null"];
|
|
555
|
+
};
|
|
556
|
+
readonly fit_type: {
|
|
557
|
+
readonly type: readonly ["string", "null"];
|
|
558
|
+
};
|
|
559
|
+
readonly neckline: {
|
|
560
|
+
readonly type: readonly ["string", "null"];
|
|
561
|
+
};
|
|
562
|
+
readonly sleeve_length: {
|
|
563
|
+
readonly type: readonly ["string", "null"];
|
|
564
|
+
readonly nullable: true;
|
|
565
|
+
};
|
|
566
|
+
readonly sleeve_type: {
|
|
567
|
+
readonly type: readonly ["string", "null"];
|
|
568
|
+
readonly nullable: true;
|
|
569
|
+
};
|
|
570
|
+
readonly heel_height: {
|
|
571
|
+
readonly type: readonly ["string", "null"];
|
|
572
|
+
};
|
|
573
|
+
readonly heel_shape: {
|
|
574
|
+
readonly type: readonly ["string", "null"];
|
|
575
|
+
};
|
|
576
|
+
readonly toe_shape: {
|
|
577
|
+
readonly type: readonly ["string", "null"];
|
|
578
|
+
};
|
|
579
|
+
readonly trouser_fit: {
|
|
580
|
+
readonly type: readonly ["string", "null"];
|
|
581
|
+
readonly nullable: true;
|
|
582
|
+
};
|
|
583
|
+
readonly leg_length: {
|
|
584
|
+
readonly type: readonly ["string", "null"];
|
|
585
|
+
};
|
|
586
|
+
readonly handle_straps: {
|
|
587
|
+
readonly type: readonly ["string", "null"];
|
|
588
|
+
};
|
|
589
|
+
readonly straps_features: {
|
|
590
|
+
readonly type: readonly ["string", "null"];
|
|
591
|
+
};
|
|
592
|
+
readonly fastening: {
|
|
593
|
+
readonly anyOf: readonly [{
|
|
594
|
+
readonly type: readonly ["array", "null"];
|
|
595
|
+
readonly items: {
|
|
596
|
+
readonly type: "string";
|
|
597
|
+
};
|
|
598
|
+
}, {
|
|
599
|
+
readonly type: "null";
|
|
600
|
+
}];
|
|
601
|
+
};
|
|
602
|
+
readonly sole_material: {
|
|
603
|
+
readonly type: readonly ["string", "null"];
|
|
604
|
+
};
|
|
605
|
+
readonly care_instructions: {
|
|
606
|
+
readonly type: "array";
|
|
607
|
+
readonly items: {
|
|
608
|
+
readonly type: "string";
|
|
609
|
+
};
|
|
610
|
+
};
|
|
611
|
+
};
|
|
612
|
+
readonly required: readonly [];
|
|
613
|
+
};
|
|
614
|
+
};
|
|
615
|
+
readonly required: readonly ["locale", "presentation_type"];
|
|
616
|
+
};
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
readonly required: readonly ["product_id", "style_id", "product_name", "online_from"];
|
|
621
|
+
}, {
|
|
622
|
+
readonly type: "object";
|
|
623
|
+
readonly additionalProperties: false;
|
|
624
|
+
readonly required: readonly ["product_id", "style_id", "product_name", "variants", "images", "attributes", "is_available_to_order", "created_at", "last_modified_at", "colour_family_name", "colour_label", "vat_amount"];
|
|
625
|
+
}];
|
|
626
|
+
readonly $id: "https://shushed.example.com/messages/product-change.schema.json";
|
|
627
|
+
};
|
|
628
|
+
export default schema;
|