@shushed/helpers 0.0.200-v2-20251127150547 → 0.0.200

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.
Files changed (234) hide show
  1. package/dist/index.d.ts +34970 -0
  2. package/dist/index.js +113017 -0
  3. package/dist/package.json +3 -6
  4. package/package.json +4 -7
  5. package/dist/cjs/dist-dereferenced/asset.js +0 -4
  6. package/dist/cjs/dist-dereferenced/category.js +0 -4
  7. package/dist/cjs/dist-dereferenced/country.js +0 -4
  8. package/dist/cjs/dist-dereferenced/currency.js +0 -4
  9. package/dist/cjs/dist-dereferenced/customer-segment.js +0 -4
  10. package/dist/cjs/dist-dereferenced/development-colour.js +0 -4
  11. package/dist/cjs/dist-dereferenced/index.js +0 -69
  12. package/dist/cjs/dist-dereferenced/marketing-preferences.js +0 -4
  13. package/dist/cjs/dist-dereferenced/messages/ean-change.js +0 -4
  14. package/dist/cjs/dist-dereferenced/messages/index.js +0 -50
  15. package/dist/cjs/dist-dereferenced/messages/order/delivered.js +0 -4
  16. package/dist/cjs/dist-dereferenced/messages/order/index.js +0 -18
  17. package/dist/cjs/dist-dereferenced/messages/order/new.js +0 -4
  18. package/dist/cjs/dist-dereferenced/messages/order/processed.js +0 -4
  19. package/dist/cjs/dist-dereferenced/messages/order/return-initiated.js +0 -4
  20. package/dist/cjs/dist-dereferenced/messages/order/returned.js +0 -4
  21. package/dist/cjs/dist-dereferenced/messages/order/shipped.js +0 -4
  22. package/dist/cjs/dist-dereferenced/messages/price-change.js +0 -4
  23. package/dist/cjs/dist-dereferenced/messages/product-category.js +0 -4
  24. package/dist/cjs/dist-dereferenced/messages/product-draft.js +0 -4
  25. package/dist/cjs/dist-dereferenced/messages/product.js +0 -4
  26. package/dist/cjs/dist-dereferenced/money.js +0 -4
  27. package/dist/cjs/dist-dereferenced/order/address.js +0 -4
  28. package/dist/cjs/dist-dereferenced/order/customer.js +0 -4
  29. package/dist/cjs/dist-dereferenced/order/index.js +0 -51
  30. package/dist/cjs/dist-dereferenced/order/item.js +0 -4
  31. package/dist/cjs/dist-dereferenced/order/orderMain.js +0 -4
  32. package/dist/cjs/dist-dereferenced/order/payment.js +0 -4
  33. package/dist/cjs/dist-dereferenced/order/shipment/index.js +0 -45
  34. package/dist/cjs/dist-dereferenced/order/shipment/item/index.js +0 -11
  35. package/dist/cjs/dist-dereferenced/order/shipment/item/itemMain.js +0 -4
  36. package/dist/cjs/dist-dereferenced/order/shipment/item/returned.js +0 -4
  37. package/dist/cjs/dist-dereferenced/order/shipment/pos/index.js +0 -13
  38. package/dist/cjs/dist-dereferenced/order/shipment/pos/outbound.js +0 -4
  39. package/dist/cjs/dist-dereferenced/order/shipment/pos/posMain.js +0 -4
  40. package/dist/cjs/dist-dereferenced/order/shipment/pos/return.js +0 -4
  41. package/dist/cjs/dist-dereferenced/order/shipment/shipmentMain.js +0 -4
  42. package/dist/cjs/dist-dereferenced/order/shipment/shipped/index.js +0 -13
  43. package/dist/cjs/dist-dereferenced/order/shipment/shipped/outbound.js +0 -4
  44. package/dist/cjs/dist-dereferenced/order/shipment/shipped/return.js +0 -4
  45. package/dist/cjs/dist-dereferenced/order/shipment/shipped/shippedMain.js +0 -4
  46. package/dist/cjs/dist-dereferenced/price.js +0 -4
  47. package/dist/cjs/dist-dereferenced/product-category.js +0 -4
  48. package/dist/cjs/dist-dereferenced/product-draft.js +0 -4
  49. package/dist/cjs/dist-dereferenced/product.js +0 -4
  50. package/dist/cjs/dist-dereferenced/stock.js +0 -4
  51. package/dist/cjs/dist-dereferenced/total.js +0 -4
  52. package/dist/cjs/dist-types/asset.js +0 -2
  53. package/dist/cjs/dist-types/category.js +0 -2
  54. package/dist/cjs/dist-types/country.js +0 -2
  55. package/dist/cjs/dist-types/currency.js +0 -2
  56. package/dist/cjs/dist-types/customer-segment.js +0 -2
  57. package/dist/cjs/dist-types/development-colour.js +0 -2
  58. package/dist/cjs/dist-types/index.js +0 -38
  59. package/dist/cjs/dist-types/marketing-preferences.js +0 -2
  60. package/dist/cjs/dist-types/messages/ean-change.js +0 -2
  61. package/dist/cjs/dist-types/messages/index.js +0 -37
  62. package/dist/cjs/dist-types/messages/order/delivered.js +0 -2
  63. package/dist/cjs/dist-types/messages/order/index.js +0 -2
  64. package/dist/cjs/dist-types/messages/order/new.js +0 -2
  65. package/dist/cjs/dist-types/messages/order/processed.js +0 -2
  66. package/dist/cjs/dist-types/messages/order/return-initiated.js +0 -2
  67. package/dist/cjs/dist-types/messages/order/returned.js +0 -2
  68. package/dist/cjs/dist-types/messages/order/shipped.js +0 -2
  69. package/dist/cjs/dist-types/messages/price-change.js +0 -2
  70. package/dist/cjs/dist-types/messages/product-category.js +0 -2
  71. package/dist/cjs/dist-types/messages/product-draft.js +0 -2
  72. package/dist/cjs/dist-types/messages/product.js +0 -2
  73. package/dist/cjs/dist-types/money.js +0 -2
  74. package/dist/cjs/dist-types/order/address.js +0 -2
  75. package/dist/cjs/dist-types/order/customer.js +0 -2
  76. package/dist/cjs/dist-types/order/index.js +0 -37
  77. package/dist/cjs/dist-types/order/item.js +0 -2
  78. package/dist/cjs/dist-types/order/orderMain.js +0 -2
  79. package/dist/cjs/dist-types/order/payment.js +0 -2
  80. package/dist/cjs/dist-types/order/shipment/index.js +0 -39
  81. package/dist/cjs/dist-types/order/shipment/item/index.js +0 -2
  82. package/dist/cjs/dist-types/order/shipment/item/itemMain.js +0 -2
  83. package/dist/cjs/dist-types/order/shipment/item/returned.js +0 -2
  84. package/dist/cjs/dist-types/order/shipment/pos/index.js +0 -2
  85. package/dist/cjs/dist-types/order/shipment/pos/outbound.js +0 -2
  86. package/dist/cjs/dist-types/order/shipment/pos/posMain.js +0 -2
  87. package/dist/cjs/dist-types/order/shipment/pos/return.js +0 -2
  88. package/dist/cjs/dist-types/order/shipment/shipmentMain.js +0 -2
  89. package/dist/cjs/dist-types/order/shipment/shipped/index.js +0 -2
  90. package/dist/cjs/dist-types/order/shipment/shipped/outbound.js +0 -2
  91. package/dist/cjs/dist-types/order/shipment/shipped/return.js +0 -2
  92. package/dist/cjs/dist-types/order/shipment/shipped/shippedMain.js +0 -2
  93. package/dist/cjs/dist-types/price.js +0 -2
  94. package/dist/cjs/dist-types/product-category.js +0 -2
  95. package/dist/cjs/dist-types/product-draft.js +0 -2
  96. package/dist/cjs/dist-types/product.js +0 -2
  97. package/dist/cjs/dist-types/stock.js +0 -2
  98. package/dist/cjs/dist-types/total.js +0 -2
  99. package/dist/cjs/index.js +0 -39
  100. package/dist/cjs/src-public/airtable.js +0 -590
  101. package/dist/cjs/src-public/bigquery.js +0 -59
  102. package/dist/cjs/src-public/cloudtasks.js +0 -207
  103. package/dist/cjs/src-public/dato.js +0 -656
  104. package/dist/cjs/src-public/env.js +0 -897
  105. package/dist/cjs/src-public/getEventTime.js +0 -28
  106. package/dist/cjs/src-public/index.js +0 -50
  107. package/dist/cjs/src-public/ipValidation.js +0 -167
  108. package/dist/cjs/src-public/jwks.js +0 -108
  109. package/dist/cjs/src-public/pubsub.js +0 -423
  110. package/dist/cjs/src-public/rateLimit.js +0 -140
  111. package/dist/cjs/src-public/redisClient.js +0 -44
  112. package/dist/cjs/src-public/runtime.js +0 -141
  113. package/dist/cjs/src-public/sanitize.js +0 -25
  114. package/dist/cjs/src-public/scheduler.js +0 -247
  115. package/dist/cjs/src-public/secret.js +0 -16
  116. package/dist/cjs/src-public/setHeaders.js +0 -16
  117. package/dist/cjs/src-public/types.js +0 -2
  118. package/dist/cjs/src-public/utils.js +0 -454
  119. package/dist/cjs/src-public/validate.js +0 -40
  120. package/dist/types/dist-dereferenced/asset.d.ts +0 -51
  121. package/dist/types/dist-dereferenced/category.d.ts +0 -58
  122. package/dist/types/dist-dereferenced/country.d.ts +0 -8
  123. package/dist/types/dist-dereferenced/currency.d.ts +0 -8
  124. package/dist/types/dist-dereferenced/customer-segment.d.ts +0 -26
  125. package/dist/types/dist-dereferenced/development-colour.d.ts +0 -114
  126. package/dist/types/dist-dereferenced/index.d.ts +0 -16
  127. package/dist/types/dist-dereferenced/marketing-preferences.d.ts +0 -31
  128. package/dist/types/dist-dereferenced/messages/ean-change.d.ts +0 -17
  129. package/dist/types/dist-dereferenced/messages/index.d.ts +0 -6
  130. package/dist/types/dist-dereferenced/messages/order/delivered.d.ts +0 -3414
  131. package/dist/types/dist-dereferenced/messages/order/index.d.ts +0 -6
  132. package/dist/types/dist-dereferenced/messages/order/new.d.ts +0 -3414
  133. package/dist/types/dist-dereferenced/messages/order/processed.d.ts +0 -3408
  134. package/dist/types/dist-dereferenced/messages/order/return-initiated.d.ts +0 -3414
  135. package/dist/types/dist-dereferenced/messages/order/returned.d.ts +0 -3413
  136. package/dist/types/dist-dereferenced/messages/order/shipped.d.ts +0 -3412
  137. package/dist/types/dist-dereferenced/messages/price-change.d.ts +0 -67
  138. package/dist/types/dist-dereferenced/messages/product-category.d.ts +0 -33
  139. package/dist/types/dist-dereferenced/messages/product-draft.d.ts +0 -589
  140. package/dist/types/dist-dereferenced/messages/product.d.ts +0 -628
  141. package/dist/types/dist-dereferenced/money.d.ts +0 -41
  142. package/dist/types/dist-dereferenced/order/address.d.ts +0 -98
  143. package/dist/types/dist-dereferenced/order/customer.d.ts +0 -309
  144. package/dist/types/dist-dereferenced/order/index.d.ts +0 -3404
  145. package/dist/types/dist-dereferenced/order/item.d.ts +0 -336
  146. package/dist/types/dist-dereferenced/order/orderMain.d.ts +0 -3399
  147. package/dist/types/dist-dereferenced/order/payment.d.ts +0 -94
  148. package/dist/types/dist-dereferenced/order/shipment/index.d.ts +0 -253
  149. package/dist/types/dist-dereferenced/order/shipment/item/index.d.ts +0 -19
  150. package/dist/types/dist-dereferenced/order/shipment/item/itemMain.d.ts +0 -18
  151. package/dist/types/dist-dereferenced/order/shipment/item/returned.d.ts +0 -34
  152. package/dist/types/dist-dereferenced/order/shipment/pos/index.d.ts +0 -282
  153. package/dist/types/dist-dereferenced/order/shipment/pos/outbound.d.ts +0 -320
  154. package/dist/types/dist-dereferenced/order/shipment/pos/posMain.d.ts +0 -280
  155. package/dist/types/dist-dereferenced/order/shipment/pos/return.d.ts +0 -331
  156. package/dist/types/dist-dereferenced/order/shipment/shipmentMain.d.ts +0 -250
  157. package/dist/types/dist-dereferenced/order/shipment/shipped/index.d.ts +0 -288
  158. package/dist/types/dist-dereferenced/order/shipment/shipped/outbound.d.ts +0 -286
  159. package/dist/types/dist-dereferenced/order/shipment/shipped/return.d.ts +0 -287
  160. package/dist/types/dist-dereferenced/order/shipment/shipped/shippedMain.d.ts +0 -286
  161. package/dist/types/dist-dereferenced/price.d.ts +0 -58
  162. package/dist/types/dist-dereferenced/product-category.d.ts +0 -24
  163. package/dist/types/dist-dereferenced/product-draft.d.ts +0 -580
  164. package/dist/types/dist-dereferenced/product.d.ts +0 -619
  165. package/dist/types/dist-dereferenced/stock.d.ts +0 -74
  166. package/dist/types/dist-dereferenced/total.d.ts +0 -172
  167. package/dist/types/dist-types/asset.d.ts +0 -16
  168. package/dist/types/dist-types/category.d.ts +0 -20
  169. package/dist/types/dist-types/country.d.ts +0 -2
  170. package/dist/types/dist-types/currency.d.ts +0 -2
  171. package/dist/types/dist-types/customer-segment.d.ts +0 -6
  172. package/dist/types/dist-types/development-colour.d.ts +0 -31
  173. package/dist/types/dist-types/index.d.ts +0 -16
  174. package/dist/types/dist-types/marketing-preferences.d.ts +0 -9
  175. package/dist/types/dist-types/messages/ean-change.d.ts +0 -5
  176. package/dist/types/dist-types/messages/index.d.ts +0 -6
  177. package/dist/types/dist-types/messages/order/delivered.d.ts +0 -292
  178. package/dist/types/dist-types/messages/order/index.d.ts +0 -6
  179. package/dist/types/dist-types/messages/order/new.d.ts +0 -292
  180. package/dist/types/dist-types/messages/order/processed.d.ts +0 -292
  181. package/dist/types/dist-types/messages/order/return-initiated.d.ts +0 -292
  182. package/dist/types/dist-types/messages/order/returned.d.ts +0 -293
  183. package/dist/types/dist-types/messages/order/shipped.d.ts +0 -293
  184. package/dist/types/dist-types/messages/price-change.d.ts +0 -16
  185. package/dist/types/dist-types/messages/product-category.d.ts +0 -7
  186. package/dist/types/dist-types/messages/product-draft.d.ts +0 -136
  187. package/dist/types/dist-types/messages/product.d.ts +0 -144
  188. package/dist/types/dist-types/money.d.ts +0 -11
  189. package/dist/types/dist-types/order/address.d.ts +0 -27
  190. package/dist/types/dist-types/order/customer.d.ts +0 -81
  191. package/dist/types/dist-types/order/index.d.ts +0 -8
  192. package/dist/types/dist-types/order/item.d.ts +0 -85
  193. package/dist/types/dist-types/order/orderMain.d.ts +0 -289
  194. package/dist/types/dist-types/order/payment.d.ts +0 -26
  195. package/dist/types/dist-types/order/shipment/index.d.ts +0 -6
  196. package/dist/types/dist-types/order/shipment/item/index.d.ts +0 -4
  197. package/dist/types/dist-types/order/shipment/item/itemMain.d.ts +0 -6
  198. package/dist/types/dist-types/order/shipment/item/returned.d.ts +0 -11
  199. package/dist/types/dist-types/order/shipment/pos/index.d.ts +0 -5
  200. package/dist/types/dist-types/order/shipment/pos/outbound.d.ts +0 -76
  201. package/dist/types/dist-types/order/shipment/pos/posMain.d.ts +0 -71
  202. package/dist/types/dist-types/order/shipment/pos/return.d.ts +0 -75
  203. package/dist/types/dist-types/order/shipment/shipmentMain.d.ts +0 -62
  204. package/dist/types/dist-types/order/shipment/shipped/index.d.ts +0 -5
  205. package/dist/types/dist-types/order/shipment/shipped/outbound.d.ts +0 -68
  206. package/dist/types/dist-types/order/shipment/shipped/return.d.ts +0 -68
  207. package/dist/types/dist-types/order/shipment/shipped/shippedMain.d.ts +0 -69
  208. package/dist/types/dist-types/price.d.ts +0 -15
  209. package/dist/types/dist-types/product-category.d.ts +0 -6
  210. package/dist/types/dist-types/product-draft.d.ts +0 -135
  211. package/dist/types/dist-types/product.d.ts +0 -143
  212. package/dist/types/dist-types/stock.d.ts +0 -19
  213. package/dist/types/dist-types/total.d.ts +0 -44
  214. package/dist/types/index.d.ts +0 -3
  215. package/dist/types/src-public/airtable.d.ts +0 -220
  216. package/dist/types/src-public/bigquery.d.ts +0 -17
  217. package/dist/types/src-public/cloudtasks.d.ts +0 -74
  218. package/dist/types/src-public/dato.d.ts +0 -94
  219. package/dist/types/src-public/env.d.ts +0 -144
  220. package/dist/types/src-public/getEventTime.d.ts +0 -1
  221. package/dist/types/src-public/index.d.ts +0 -16
  222. package/dist/types/src-public/ipValidation.d.ts +0 -15
  223. package/dist/types/src-public/jwks.d.ts +0 -15
  224. package/dist/types/src-public/pubsub.d.ts +0 -95
  225. package/dist/types/src-public/rateLimit.d.ts +0 -21
  226. package/dist/types/src-public/redisClient.d.ts +0 -6
  227. package/dist/types/src-public/runtime.d.ts +0 -57
  228. package/dist/types/src-public/sanitize.d.ts +0 -4
  229. package/dist/types/src-public/scheduler.d.ts +0 -71
  230. package/dist/types/src-public/secret.d.ts +0 -6
  231. package/dist/types/src-public/setHeaders.d.ts +0 -13
  232. package/dist/types/src-public/types.d.ts +0 -264
  233. package/dist/types/src-public/utils.d.ts +0 -101
  234. package/dist/types/src-public/validate.d.ts +0 -9
@@ -1,628 +0,0 @@
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;