@shushed/helpers 0.0.202-v2-20251208085030 → 0.0.203-bug-erp-770-20251208112219

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 (236) hide show
  1. package/dist/index.d.ts +34970 -0
  2. package/dist/index.js +113321 -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 -625
  101. package/dist/cjs/src-public/bigquery.js +0 -59
  102. package/dist/cjs/src-public/centra.js +0 -1053
  103. package/dist/cjs/src-public/cloudtasks.js +0 -207
  104. package/dist/cjs/src-public/dato.js +0 -680
  105. package/dist/cjs/src-public/env.js +0 -900
  106. package/dist/cjs/src-public/getEventTime.js +0 -28
  107. package/dist/cjs/src-public/index.js +0 -52
  108. package/dist/cjs/src-public/ipValidation.js +0 -167
  109. package/dist/cjs/src-public/jwks.js +0 -108
  110. package/dist/cjs/src-public/pubsub.js +0 -423
  111. package/dist/cjs/src-public/rateLimit.js +0 -140
  112. package/dist/cjs/src-public/redisClient.js +0 -44
  113. package/dist/cjs/src-public/runtime.js +0 -145
  114. package/dist/cjs/src-public/sanitize.js +0 -25
  115. package/dist/cjs/src-public/scheduler.js +0 -247
  116. package/dist/cjs/src-public/secret.js +0 -16
  117. package/dist/cjs/src-public/setHeaders.js +0 -16
  118. package/dist/cjs/src-public/types.js +0 -2
  119. package/dist/cjs/src-public/utils.js +0 -457
  120. package/dist/cjs/src-public/validate.js +0 -40
  121. package/dist/types/dist-dereferenced/asset.d.ts +0 -51
  122. package/dist/types/dist-dereferenced/category.d.ts +0 -58
  123. package/dist/types/dist-dereferenced/country.d.ts +0 -8
  124. package/dist/types/dist-dereferenced/currency.d.ts +0 -8
  125. package/dist/types/dist-dereferenced/customer-segment.d.ts +0 -26
  126. package/dist/types/dist-dereferenced/development-colour.d.ts +0 -114
  127. package/dist/types/dist-dereferenced/index.d.ts +0 -16
  128. package/dist/types/dist-dereferenced/marketing-preferences.d.ts +0 -31
  129. package/dist/types/dist-dereferenced/messages/ean-change.d.ts +0 -17
  130. package/dist/types/dist-dereferenced/messages/index.d.ts +0 -6
  131. package/dist/types/dist-dereferenced/messages/order/delivered.d.ts +0 -3414
  132. package/dist/types/dist-dereferenced/messages/order/index.d.ts +0 -6
  133. package/dist/types/dist-dereferenced/messages/order/new.d.ts +0 -3414
  134. package/dist/types/dist-dereferenced/messages/order/processed.d.ts +0 -3408
  135. package/dist/types/dist-dereferenced/messages/order/return-initiated.d.ts +0 -3414
  136. package/dist/types/dist-dereferenced/messages/order/returned.d.ts +0 -3413
  137. package/dist/types/dist-dereferenced/messages/order/shipped.d.ts +0 -3412
  138. package/dist/types/dist-dereferenced/messages/price-change.d.ts +0 -67
  139. package/dist/types/dist-dereferenced/messages/product-category.d.ts +0 -33
  140. package/dist/types/dist-dereferenced/messages/product-draft.d.ts +0 -589
  141. package/dist/types/dist-dereferenced/messages/product.d.ts +0 -628
  142. package/dist/types/dist-dereferenced/money.d.ts +0 -41
  143. package/dist/types/dist-dereferenced/order/address.d.ts +0 -98
  144. package/dist/types/dist-dereferenced/order/customer.d.ts +0 -309
  145. package/dist/types/dist-dereferenced/order/index.d.ts +0 -3404
  146. package/dist/types/dist-dereferenced/order/item.d.ts +0 -336
  147. package/dist/types/dist-dereferenced/order/orderMain.d.ts +0 -3399
  148. package/dist/types/dist-dereferenced/order/payment.d.ts +0 -94
  149. package/dist/types/dist-dereferenced/order/shipment/index.d.ts +0 -253
  150. package/dist/types/dist-dereferenced/order/shipment/item/index.d.ts +0 -19
  151. package/dist/types/dist-dereferenced/order/shipment/item/itemMain.d.ts +0 -18
  152. package/dist/types/dist-dereferenced/order/shipment/item/returned.d.ts +0 -34
  153. package/dist/types/dist-dereferenced/order/shipment/pos/index.d.ts +0 -282
  154. package/dist/types/dist-dereferenced/order/shipment/pos/outbound.d.ts +0 -320
  155. package/dist/types/dist-dereferenced/order/shipment/pos/posMain.d.ts +0 -280
  156. package/dist/types/dist-dereferenced/order/shipment/pos/return.d.ts +0 -331
  157. package/dist/types/dist-dereferenced/order/shipment/shipmentMain.d.ts +0 -250
  158. package/dist/types/dist-dereferenced/order/shipment/shipped/index.d.ts +0 -288
  159. package/dist/types/dist-dereferenced/order/shipment/shipped/outbound.d.ts +0 -286
  160. package/dist/types/dist-dereferenced/order/shipment/shipped/return.d.ts +0 -287
  161. package/dist/types/dist-dereferenced/order/shipment/shipped/shippedMain.d.ts +0 -286
  162. package/dist/types/dist-dereferenced/price.d.ts +0 -58
  163. package/dist/types/dist-dereferenced/product-category.d.ts +0 -24
  164. package/dist/types/dist-dereferenced/product-draft.d.ts +0 -580
  165. package/dist/types/dist-dereferenced/product.d.ts +0 -619
  166. package/dist/types/dist-dereferenced/stock.d.ts +0 -74
  167. package/dist/types/dist-dereferenced/total.d.ts +0 -172
  168. package/dist/types/dist-types/asset.d.ts +0 -16
  169. package/dist/types/dist-types/category.d.ts +0 -20
  170. package/dist/types/dist-types/country.d.ts +0 -2
  171. package/dist/types/dist-types/currency.d.ts +0 -2
  172. package/dist/types/dist-types/customer-segment.d.ts +0 -6
  173. package/dist/types/dist-types/development-colour.d.ts +0 -31
  174. package/dist/types/dist-types/index.d.ts +0 -16
  175. package/dist/types/dist-types/marketing-preferences.d.ts +0 -9
  176. package/dist/types/dist-types/messages/ean-change.d.ts +0 -5
  177. package/dist/types/dist-types/messages/index.d.ts +0 -6
  178. package/dist/types/dist-types/messages/order/delivered.d.ts +0 -292
  179. package/dist/types/dist-types/messages/order/index.d.ts +0 -6
  180. package/dist/types/dist-types/messages/order/new.d.ts +0 -292
  181. package/dist/types/dist-types/messages/order/processed.d.ts +0 -292
  182. package/dist/types/dist-types/messages/order/return-initiated.d.ts +0 -292
  183. package/dist/types/dist-types/messages/order/returned.d.ts +0 -293
  184. package/dist/types/dist-types/messages/order/shipped.d.ts +0 -293
  185. package/dist/types/dist-types/messages/price-change.d.ts +0 -16
  186. package/dist/types/dist-types/messages/product-category.d.ts +0 -7
  187. package/dist/types/dist-types/messages/product-draft.d.ts +0 -136
  188. package/dist/types/dist-types/messages/product.d.ts +0 -144
  189. package/dist/types/dist-types/money.d.ts +0 -11
  190. package/dist/types/dist-types/order/address.d.ts +0 -27
  191. package/dist/types/dist-types/order/customer.d.ts +0 -81
  192. package/dist/types/dist-types/order/index.d.ts +0 -8
  193. package/dist/types/dist-types/order/item.d.ts +0 -85
  194. package/dist/types/dist-types/order/orderMain.d.ts +0 -289
  195. package/dist/types/dist-types/order/payment.d.ts +0 -26
  196. package/dist/types/dist-types/order/shipment/index.d.ts +0 -6
  197. package/dist/types/dist-types/order/shipment/item/index.d.ts +0 -4
  198. package/dist/types/dist-types/order/shipment/item/itemMain.d.ts +0 -6
  199. package/dist/types/dist-types/order/shipment/item/returned.d.ts +0 -11
  200. package/dist/types/dist-types/order/shipment/pos/index.d.ts +0 -5
  201. package/dist/types/dist-types/order/shipment/pos/outbound.d.ts +0 -76
  202. package/dist/types/dist-types/order/shipment/pos/posMain.d.ts +0 -71
  203. package/dist/types/dist-types/order/shipment/pos/return.d.ts +0 -75
  204. package/dist/types/dist-types/order/shipment/shipmentMain.d.ts +0 -62
  205. package/dist/types/dist-types/order/shipment/shipped/index.d.ts +0 -5
  206. package/dist/types/dist-types/order/shipment/shipped/outbound.d.ts +0 -68
  207. package/dist/types/dist-types/order/shipment/shipped/return.d.ts +0 -68
  208. package/dist/types/dist-types/order/shipment/shipped/shippedMain.d.ts +0 -69
  209. package/dist/types/dist-types/price.d.ts +0 -15
  210. package/dist/types/dist-types/product-category.d.ts +0 -6
  211. package/dist/types/dist-types/product-draft.d.ts +0 -135
  212. package/dist/types/dist-types/product.d.ts +0 -143
  213. package/dist/types/dist-types/stock.d.ts +0 -19
  214. package/dist/types/dist-types/total.d.ts +0 -44
  215. package/dist/types/index.d.ts +0 -3
  216. package/dist/types/src-public/airtable.d.ts +0 -227
  217. package/dist/types/src-public/bigquery.d.ts +0 -17
  218. package/dist/types/src-public/centra.d.ts +0 -176
  219. package/dist/types/src-public/cloudtasks.d.ts +0 -74
  220. package/dist/types/src-public/dato.d.ts +0 -95
  221. package/dist/types/src-public/env.d.ts +0 -144
  222. package/dist/types/src-public/getEventTime.d.ts +0 -1
  223. package/dist/types/src-public/index.d.ts +0 -18
  224. package/dist/types/src-public/ipValidation.d.ts +0 -15
  225. package/dist/types/src-public/jwks.d.ts +0 -15
  226. package/dist/types/src-public/pubsub.d.ts +0 -95
  227. package/dist/types/src-public/rateLimit.d.ts +0 -21
  228. package/dist/types/src-public/redisClient.d.ts +0 -6
  229. package/dist/types/src-public/runtime.d.ts +0 -58
  230. package/dist/types/src-public/sanitize.d.ts +0 -4
  231. package/dist/types/src-public/scheduler.d.ts +0 -71
  232. package/dist/types/src-public/secret.d.ts +0 -6
  233. package/dist/types/src-public/setHeaders.d.ts +0 -13
  234. package/dist/types/src-public/types.d.ts +0 -264
  235. package/dist/types/src-public/utils.d.ts +0 -101
  236. package/dist/types/src-public/validate.d.ts +0 -9
@@ -1,619 +0,0 @@
1
- declare const schema: {
2
- readonly $schema: "http://json-schema.org/draft-07/schema#";
3
- readonly title: "Product";
4
- readonly additionalProperties: false;
5
- readonly type: "object";
6
- readonly properties: {
7
- readonly product_id: {
8
- readonly type: "string";
9
- };
10
- readonly slug: {
11
- readonly type: readonly ["string"];
12
- };
13
- readonly style_slug: {
14
- readonly type: readonly ["string"];
15
- };
16
- readonly style_id: {
17
- readonly type: readonly ["string"];
18
- };
19
- readonly colour_id: {
20
- readonly type: "string";
21
- };
22
- readonly style_name: {
23
- readonly type: "string";
24
- };
25
- readonly product_name: {
26
- readonly type: "string";
27
- };
28
- readonly display_name: {
29
- readonly type: readonly ["string", "null"];
30
- };
31
- readonly buffer_quantity: {
32
- readonly type: "integer";
33
- readonly minimum: 0;
34
- };
35
- readonly display_type: {
36
- readonly type: "string";
37
- readonly enum: readonly ["Out-of-stock", "Permanently-unavailable"];
38
- };
39
- readonly available_to_sell_from: {
40
- readonly type: readonly ["string", "null"];
41
- readonly format: "date";
42
- };
43
- readonly online_from: {
44
- readonly type: readonly ["string", "null"];
45
- readonly format: "date-time";
46
- };
47
- readonly online_to: {
48
- readonly type: readonly ["string", "null"];
49
- readonly format: "date-time";
50
- };
51
- readonly first_online_at: {
52
- readonly type: readonly ["string", "null"];
53
- readonly format: "date-time";
54
- };
55
- readonly last_online_at: {
56
- readonly type: readonly ["string", "null"];
57
- readonly format: "date-time";
58
- };
59
- readonly first_purchased_at: {
60
- readonly type: "string";
61
- readonly format: "date-time";
62
- };
63
- readonly first_markdown_at: {
64
- readonly type: readonly ["string", "null"];
65
- readonly format: "date-time";
66
- };
67
- readonly created_at: {
68
- readonly type: "string";
69
- readonly format: "date-time";
70
- };
71
- readonly last_modified_at: {
72
- readonly type: "string";
73
- readonly format: "date-time";
74
- };
75
- readonly colour_family_name: {
76
- readonly type: "string";
77
- };
78
- readonly colour_code: {
79
- readonly type: "string";
80
- };
81
- readonly colour_name: {
82
- readonly type: "string";
83
- };
84
- readonly display_tags: {
85
- readonly type: "array";
86
- readonly items: {
87
- readonly type: "string";
88
- };
89
- };
90
- readonly sizerange_code: {
91
- readonly type: "string";
92
- };
93
- readonly sizerange_name: {
94
- readonly type: "string";
95
- };
96
- readonly variants: {
97
- readonly type: "array";
98
- readonly items: {
99
- readonly type: "object";
100
- readonly properties: {
101
- readonly code: {
102
- readonly type: "string";
103
- };
104
- readonly name: {
105
- readonly type: readonly ["string"];
106
- };
107
- };
108
- readonly required: readonly ["code", "name"];
109
- };
110
- };
111
- readonly images: {
112
- readonly type: "array";
113
- readonly items: {
114
- readonly type: "object";
115
- readonly properties: {
116
- readonly type: {
117
- readonly type: "string";
118
- readonly enum: readonly ["Campaign", "Ecom", "Flatlay", "UGC", "AI"];
119
- };
120
- readonly url: {
121
- readonly type: "string";
122
- readonly format: "uri";
123
- };
124
- };
125
- readonly required: readonly ["type", "url"];
126
- };
127
- };
128
- readonly vat_rate_uk: {
129
- readonly type: readonly ["number", "null"];
130
- readonly minimum: 0;
131
- };
132
- readonly supply_chain: {
133
- readonly type: "object";
134
- readonly properties: {
135
- readonly hs_code: {
136
- readonly type: readonly ["string", "null"];
137
- };
138
- readonly commodity_code_ref: {
139
- readonly type: "string";
140
- };
141
- readonly country_of_origin: {
142
- readonly $schema: "http://json-schema.org/draft-07/schema#";
143
- readonly title: "Country";
144
- readonly type: "string";
145
- 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"];
146
- };
147
- readonly port_of_origin: {
148
- readonly type: "string";
149
- };
150
- readonly supplier_id: {
151
- readonly type: "string";
152
- readonly pattern: "^SUP\\d{5}$";
153
- };
154
- readonly supplier_name: {
155
- readonly type: "string";
156
- };
157
- readonly factory_id: {
158
- readonly type: "string";
159
- readonly pattern: "^FAC\\d{5}$";
160
- };
161
- readonly packing_method: {
162
- readonly type: readonly ["string", "null"];
163
- readonly enum: readonly ["Standard", "Hanging"];
164
- };
165
- readonly is_bought_in_product: {
166
- readonly type: "boolean";
167
- };
168
- };
169
- readonly required: readonly [];
170
- };
171
- readonly merch: {
172
- readonly type: "object";
173
- readonly properties: {
174
- readonly strategy_type: {
175
- readonly type: "string";
176
- };
177
- readonly product_type: {
178
- readonly type: "string";
179
- };
180
- readonly stock_type: {
181
- readonly type: "string";
182
- };
183
- readonly category: {
184
- readonly type: "string";
185
- };
186
- readonly subcategory: {
187
- readonly type: "string";
188
- };
189
- readonly range: {
190
- readonly type: readonly ["string", "null"];
191
- readonly enum: readonly ["Main Collection", "Seasonal"];
192
- };
193
- readonly channels_availability: {
194
- readonly type: readonly ["array"];
195
- readonly items: {
196
- readonly type: "string";
197
- readonly enum: readonly ["DIRECT-UK", "DIRECT-INT", "DIRECT-US", "JL-STORES", "JL-WEB", "NEXT", "MS", "FENWICK", "MORLEYS"];
198
- };
199
- };
200
- readonly collections: {
201
- readonly type: readonly ["string"];
202
- };
203
- readonly seasons: {
204
- readonly type: readonly ["array"];
205
- readonly items: {
206
- readonly type: "string";
207
- };
208
- };
209
- readonly drops: {
210
- readonly type: readonly ["array"];
211
- readonly items: {
212
- readonly type: "string";
213
- };
214
- };
215
- readonly fashionability: {
216
- readonly type: readonly ["string", "null"];
217
- };
218
- };
219
- readonly required: readonly [];
220
- };
221
- readonly attributes: {
222
- readonly type: "object";
223
- readonly properties: {
224
- readonly seo_url_name: {
225
- readonly type: "string";
226
- readonly pattern: "^[a-z-]+$";
227
- };
228
- readonly embellishment: {
229
- readonly type: readonly ["string", "null"];
230
- };
231
- readonly seo_title: {
232
- readonly type: readonly ["string", "null"];
233
- };
234
- readonly seo_description: {
235
- readonly type: readonly ["string", "null"];
236
- };
237
- readonly fit_description: {
238
- readonly type: readonly ["string", "null"];
239
- };
240
- readonly fabric_care: {
241
- readonly type: readonly ["string", "null"];
242
- };
243
- readonly delivery_returns: {
244
- readonly type: readonly ["string", "null"];
245
- };
246
- readonly weight: {
247
- readonly type: readonly ["number", "null"];
248
- };
249
- readonly weight_statement: {
250
- readonly type: readonly ["string", "null"];
251
- };
252
- readonly main_fibre: {
253
- readonly type: readonly ["string", "null"];
254
- };
255
- readonly main_metal: {
256
- readonly type: readonly ["string", "null"];
257
- };
258
- readonly extra_selling_points: {
259
- readonly type: "array";
260
- readonly items: {
261
- readonly type: "string";
262
- };
263
- };
264
- readonly length_measurement: {
265
- readonly type: readonly ["string", "null"];
266
- };
267
- readonly measurement_table_code: {
268
- readonly type: readonly ["string"];
269
- };
270
- readonly fit: {
271
- readonly type: readonly ["string", "null"];
272
- };
273
- readonly pockets: {
274
- readonly type: readonly ["string", "null"];
275
- };
276
- readonly pleats_gathers: {
277
- readonly type: readonly ["string", "null"];
278
- };
279
- readonly lining: {
280
- readonly type: readonly ["string", "null"];
281
- };
282
- readonly bias_cut: {
283
- readonly type: readonly ["string", "null"];
284
- };
285
- readonly designer: {
286
- readonly type: readonly ["string", "null"];
287
- };
288
- readonly fabric: {
289
- readonly type: readonly ["string", "null"];
290
- };
291
- readonly fabric_composition: {
292
- readonly type: readonly ["string", "null"];
293
- };
294
- readonly certificate_code: {
295
- readonly type: readonly ["string", "null"];
296
- };
297
- readonly shape: {
298
- readonly type: readonly ["string", "null"];
299
- };
300
- readonly development_type: {
301
- readonly type: "string";
302
- };
303
- readonly occasion: {
304
- readonly type: readonly ["string", "null"];
305
- };
306
- readonly design: {
307
- readonly type: readonly ["string", "null"];
308
- };
309
- readonly block: {
310
- readonly type: readonly ["string", "null"];
311
- };
312
- readonly pattern_name: {
313
- readonly type: readonly ["string", "null"];
314
- };
315
- readonly fit_type: {
316
- readonly type: readonly ["string", "null"];
317
- };
318
- readonly neckline: {
319
- readonly type: readonly ["string", "null"];
320
- };
321
- readonly sleeve_length: {
322
- readonly type: readonly ["string", "null"];
323
- readonly nullable: true;
324
- };
325
- readonly sleeve_type: {
326
- readonly type: readonly ["string", "null"];
327
- readonly nullable: true;
328
- };
329
- readonly heel_height: {
330
- readonly type: readonly ["string", "null"];
331
- };
332
- readonly heel_shape: {
333
- readonly type: readonly ["string", "null"];
334
- };
335
- readonly toe_shape: {
336
- readonly type: readonly ["string", "null"];
337
- };
338
- readonly trouser_fit: {
339
- readonly type: readonly ["string", "null"];
340
- readonly nullable: true;
341
- };
342
- readonly leg_length: {
343
- readonly type: readonly ["string", "null"];
344
- };
345
- readonly handle_straps: {
346
- readonly type: readonly ["string", "null"];
347
- };
348
- readonly straps_features: {
349
- readonly type: readonly ["string", "null"];
350
- };
351
- readonly fastening: {
352
- readonly anyOf: readonly [{
353
- readonly type: readonly ["array", "null"];
354
- readonly items: {
355
- readonly type: "string";
356
- };
357
- }, {
358
- readonly type: "null";
359
- }];
360
- };
361
- readonly sole_material: {
362
- readonly type: readonly ["string", "null"];
363
- };
364
- readonly care_instructions: {
365
- readonly type: "array";
366
- readonly items: {
367
- readonly type: "string";
368
- };
369
- };
370
- };
371
- readonly required: readonly [];
372
- };
373
- readonly presentations: {
374
- readonly type: "object";
375
- readonly additionalProperties: false;
376
- readonly patternProperties: {
377
- readonly ".*": {
378
- readonly type: "object";
379
- readonly additionalProperties: false;
380
- readonly properties: {
381
- readonly locale: {
382
- readonly type: "string";
383
- readonly pattern: "^[a-z]{2}-[A-Z]{2}$";
384
- };
385
- readonly presentation_type: {
386
- readonly type: "string";
387
- };
388
- readonly slug: {
389
- readonly type: readonly ["string"];
390
- };
391
- readonly style_slug: {
392
- readonly type: readonly ["string"];
393
- };
394
- readonly style_name: {
395
- readonly type: "string";
396
- };
397
- readonly display_name: {
398
- readonly type: readonly ["string", "null"];
399
- };
400
- readonly display_type: {
401
- readonly type: "string";
402
- readonly enum: readonly ["Out-of-stock", "Permanently-unavailable"];
403
- };
404
- readonly available_to_sell_from: {
405
- readonly type: readonly ["string", "null"];
406
- readonly format: "date";
407
- };
408
- readonly online_from: {
409
- readonly type: readonly ["string", "null"];
410
- readonly format: "date-time";
411
- };
412
- readonly online_to: {
413
- readonly type: readonly ["string", "null"];
414
- readonly format: "date-time";
415
- };
416
- readonly last_online_at: {
417
- readonly type: readonly ["string", "null"];
418
- readonly format: "date-time";
419
- };
420
- readonly first_purchased_at: {
421
- readonly type: "string";
422
- readonly format: "date-time";
423
- };
424
- readonly first_markdown_at: {
425
- readonly type: readonly ["string", "null"];
426
- readonly format: "date-time";
427
- };
428
- readonly colour_family_name: {
429
- readonly type: "string";
430
- };
431
- readonly colour_name: {
432
- readonly type: "string";
433
- };
434
- readonly display_tags: {
435
- readonly type: "array";
436
- readonly items: {
437
- readonly type: "string";
438
- };
439
- };
440
- readonly sizerange_name: {
441
- readonly type: "string";
442
- };
443
- readonly variants: {
444
- readonly type: "array";
445
- readonly items: {
446
- readonly type: "object";
447
- readonly properties: {
448
- readonly code: {
449
- readonly type: "string";
450
- };
451
- readonly name: {
452
- readonly type: readonly ["string"];
453
- };
454
- };
455
- readonly required: readonly ["code", "name"];
456
- };
457
- };
458
- readonly attributes: {
459
- readonly type: "object";
460
- readonly properties: {
461
- readonly seo_url_name: {
462
- readonly type: "string";
463
- readonly pattern: "^[a-z-]+$";
464
- };
465
- readonly embellishment: {
466
- readonly type: readonly ["string", "null"];
467
- };
468
- readonly seo_title: {
469
- readonly type: readonly ["string", "null"];
470
- };
471
- readonly seo_description: {
472
- readonly type: readonly ["string", "null"];
473
- };
474
- readonly fit_description: {
475
- readonly type: readonly ["string", "null"];
476
- };
477
- readonly fabric_care: {
478
- readonly type: readonly ["string", "null"];
479
- };
480
- readonly delivery_returns: {
481
- readonly type: readonly ["string", "null"];
482
- };
483
- readonly weight: {
484
- readonly type: readonly ["number", "null"];
485
- };
486
- readonly weight_statement: {
487
- readonly type: readonly ["string", "null"];
488
- };
489
- readonly main_fibre: {
490
- readonly type: readonly ["string", "null"];
491
- };
492
- readonly main_metal: {
493
- readonly type: readonly ["string", "null"];
494
- };
495
- readonly extra_selling_points: {
496
- readonly type: "array";
497
- readonly items: {
498
- readonly type: "string";
499
- };
500
- };
501
- readonly length_measurement: {
502
- readonly type: readonly ["string", "null"];
503
- };
504
- readonly measurement_table_code: {
505
- readonly type: readonly ["string"];
506
- };
507
- readonly fit: {
508
- readonly type: readonly ["string", "null"];
509
- };
510
- readonly pockets: {
511
- readonly type: readonly ["string", "null"];
512
- };
513
- readonly pleats_gathers: {
514
- readonly type: readonly ["string", "null"];
515
- };
516
- readonly lining: {
517
- readonly type: readonly ["string", "null"];
518
- };
519
- readonly bias_cut: {
520
- readonly type: readonly ["string", "null"];
521
- };
522
- readonly designer: {
523
- readonly type: readonly ["string", "null"];
524
- };
525
- readonly fabric: {
526
- readonly type: readonly ["string", "null"];
527
- };
528
- readonly fabric_composition: {
529
- readonly type: readonly ["string", "null"];
530
- };
531
- readonly certificate_code: {
532
- readonly type: readonly ["string", "null"];
533
- };
534
- readonly shape: {
535
- readonly type: readonly ["string", "null"];
536
- };
537
- readonly development_type: {
538
- readonly type: "string";
539
- };
540
- readonly occasion: {
541
- readonly type: readonly ["string", "null"];
542
- };
543
- readonly design: {
544
- readonly type: readonly ["string", "null"];
545
- };
546
- readonly block: {
547
- readonly type: readonly ["string", "null"];
548
- };
549
- readonly pattern_name: {
550
- readonly type: readonly ["string", "null"];
551
- };
552
- readonly fit_type: {
553
- readonly type: readonly ["string", "null"];
554
- };
555
- readonly neckline: {
556
- readonly type: readonly ["string", "null"];
557
- };
558
- readonly sleeve_length: {
559
- readonly type: readonly ["string", "null"];
560
- readonly nullable: true;
561
- };
562
- readonly sleeve_type: {
563
- readonly type: readonly ["string", "null"];
564
- readonly nullable: true;
565
- };
566
- readonly heel_height: {
567
- readonly type: readonly ["string", "null"];
568
- };
569
- readonly heel_shape: {
570
- readonly type: readonly ["string", "null"];
571
- };
572
- readonly toe_shape: {
573
- readonly type: readonly ["string", "null"];
574
- };
575
- readonly trouser_fit: {
576
- readonly type: readonly ["string", "null"];
577
- readonly nullable: true;
578
- };
579
- readonly leg_length: {
580
- readonly type: readonly ["string", "null"];
581
- };
582
- readonly handle_straps: {
583
- readonly type: readonly ["string", "null"];
584
- };
585
- readonly straps_features: {
586
- readonly type: readonly ["string", "null"];
587
- };
588
- readonly fastening: {
589
- readonly anyOf: readonly [{
590
- readonly type: readonly ["array", "null"];
591
- readonly items: {
592
- readonly type: "string";
593
- };
594
- }, {
595
- readonly type: "null";
596
- }];
597
- };
598
- readonly sole_material: {
599
- readonly type: readonly ["string", "null"];
600
- };
601
- readonly care_instructions: {
602
- readonly type: "array";
603
- readonly items: {
604
- readonly type: "string";
605
- };
606
- };
607
- };
608
- readonly required: readonly [];
609
- };
610
- };
611
- readonly required: readonly ["locale", "presentation_type"];
612
- };
613
- };
614
- };
615
- };
616
- readonly required: readonly ["product_id", "style_id", "product_name", "online_from"];
617
- readonly $id: "https://shushed.example.com/product.schema.json";
618
- };
619
- export default schema;