@shushed/helpers 0.0.185 → 0.0.186

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/index.d.ts CHANGED
@@ -974,9 +974,21 @@ declare const schema$m: {
974
974
  readonly product_id: {
975
975
  readonly type: "string";
976
976
  };
977
+ readonly slug: {
978
+ readonly type: readonly ["string"];
979
+ };
980
+ readonly style_slug: {
981
+ readonly type: readonly ["string"];
982
+ };
977
983
  readonly style_id: {
978
984
  readonly type: readonly ["string"];
979
985
  };
986
+ readonly colour_id: {
987
+ readonly type: "string";
988
+ };
989
+ readonly style_name: {
990
+ readonly type: "string";
991
+ };
980
992
  readonly product_name: {
981
993
  readonly type: "string";
982
994
  };
@@ -1190,7 +1202,7 @@ declare const schema$m: {
1190
1202
  readonly seo_description: {
1191
1203
  readonly type: readonly ["string", "null"];
1192
1204
  };
1193
- readonly product_details_and_fit: {
1205
+ readonly fit_description: {
1194
1206
  readonly type: readonly ["string", "null"];
1195
1207
  };
1196
1208
  readonly fabric_care: {
@@ -1344,6 +1356,15 @@ declare const schema$m: {
1344
1356
  readonly presentation_type: {
1345
1357
  readonly type: "string";
1346
1358
  };
1359
+ readonly slug: {
1360
+ readonly type: readonly ["string"];
1361
+ };
1362
+ readonly style_slug: {
1363
+ readonly type: readonly ["string"];
1364
+ };
1365
+ readonly style_name: {
1366
+ readonly type: "string";
1367
+ };
1347
1368
  readonly display_name: {
1348
1369
  readonly type: readonly ["string", "null"];
1349
1370
  };
@@ -1421,7 +1442,7 @@ declare const schema$m: {
1421
1442
  readonly seo_description: {
1422
1443
  readonly type: readonly ["string", "null"];
1423
1444
  };
1424
- readonly product_details_and_fit: {
1445
+ readonly fit_description: {
1425
1446
  readonly type: readonly ["string", "null"];
1426
1447
  };
1427
1448
  readonly fabric_care: {
@@ -2526,9 +2547,21 @@ declare const schema$f: {
2526
2547
  readonly product_id: {
2527
2548
  readonly type: "string";
2528
2549
  };
2550
+ readonly slug: {
2551
+ readonly type: readonly ["string"];
2552
+ };
2553
+ readonly style_slug: {
2554
+ readonly type: readonly ["string"];
2555
+ };
2529
2556
  readonly style_id: {
2530
2557
  readonly type: readonly ["string"];
2531
2558
  };
2559
+ readonly colour_id: {
2560
+ readonly type: "string";
2561
+ };
2562
+ readonly style_name: {
2563
+ readonly type: "string";
2564
+ };
2532
2565
  readonly product_name: {
2533
2566
  readonly type: "string";
2534
2567
  };
@@ -2742,7 +2775,7 @@ declare const schema$f: {
2742
2775
  readonly seo_description: {
2743
2776
  readonly type: readonly ["string", "null"];
2744
2777
  };
2745
- readonly product_details_and_fit: {
2778
+ readonly fit_description: {
2746
2779
  readonly type: readonly ["string", "null"];
2747
2780
  };
2748
2781
  readonly fabric_care: {
@@ -2896,6 +2929,15 @@ declare const schema$f: {
2896
2929
  readonly presentation_type: {
2897
2930
  readonly type: "string";
2898
2931
  };
2932
+ readonly slug: {
2933
+ readonly type: readonly ["string"];
2934
+ };
2935
+ readonly style_slug: {
2936
+ readonly type: readonly ["string"];
2937
+ };
2938
+ readonly style_name: {
2939
+ readonly type: "string";
2940
+ };
2899
2941
  readonly display_name: {
2900
2942
  readonly type: readonly ["string", "null"];
2901
2943
  };
@@ -2973,7 +3015,7 @@ declare const schema$f: {
2973
3015
  readonly seo_description: {
2974
3016
  readonly type: readonly ["string", "null"];
2975
3017
  };
2976
- readonly product_details_and_fit: {
3018
+ readonly fit_description: {
2977
3019
  readonly type: readonly ["string", "null"];
2978
3020
  };
2979
3021
  readonly fabric_care: {
@@ -30188,7 +30230,11 @@ type DisplayTags$1 = string[];
30188
30230
  type Country$b = ("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");
30189
30231
  interface __MainSchema$r {
30190
30232
  product_id: string;
30233
+ slug?: string;
30234
+ style_slug?: string;
30191
30235
  style_id: string;
30236
+ colour_id?: string;
30237
+ style_name?: string;
30192
30238
  product_name: string;
30193
30239
  display_name?: (string | null);
30194
30240
  buffer_quantity?: number;
@@ -30251,6 +30297,9 @@ interface __MainSchema$r {
30251
30297
  [k: string]: {
30252
30298
  locale: string;
30253
30299
  presentation_type: string;
30300
+ slug?: string;
30301
+ style_slug?: string;
30302
+ style_name?: string;
30254
30303
  display_name?: (string | null);
30255
30304
  display_type?: ("Out-of-stock" | "Permanently-unavailable");
30256
30305
  available_to_sell_from?: (string | null);
@@ -30277,7 +30326,7 @@ interface Attributes$1 {
30277
30326
  embellishment?: (string | null);
30278
30327
  seo_title?: (string | null);
30279
30328
  seo_description?: (string | null);
30280
- product_details_and_fit?: (string | null);
30329
+ fit_description?: (string | null);
30281
30330
  description?: (string | null);
30282
30331
  fabric_care?: (string | null);
30283
30332
  delivery_returns?: (string | null);
@@ -30551,7 +30600,11 @@ type DisplayTags = string[];
30551
30600
  type Country$9 = ("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");
30552
30601
  interface Product {
30553
30602
  product_id: string;
30603
+ slug?: string;
30604
+ style_slug?: string;
30554
30605
  style_id: string;
30606
+ colour_id?: string;
30607
+ style_name?: string;
30555
30608
  product_name: string;
30556
30609
  display_name?: (string | null);
30557
30610
  buffer_quantity?: number;
@@ -30614,6 +30667,9 @@ interface Product {
30614
30667
  [k: string]: {
30615
30668
  locale: string;
30616
30669
  presentation_type: string;
30670
+ slug?: string;
30671
+ style_slug?: string;
30672
+ style_name?: string;
30617
30673
  display_name?: (string | null);
30618
30674
  display_type?: ("Out-of-stock" | "Permanently-unavailable");
30619
30675
  available_to_sell_from?: (string | null);
@@ -30640,7 +30696,7 @@ interface Attributes {
30640
30696
  embellishment?: (string | null);
30641
30697
  seo_title?: (string | null);
30642
30698
  seo_description?: (string | null);
30643
- product_details_and_fit?: (string | null);
30699
+ fit_description?: (string | null);
30644
30700
  description?: (string | null);
30645
30701
  fabric_care?: (string | null);
30646
30702
  delivery_returns?: (string | null);
package/dist/index.js CHANGED
@@ -105885,7 +105885,7 @@ var schema11 = { "$schema": "http://json-schema.org/draft-07/schema#", "title":
105885
105885
  var product_draft_default = schema11;
105886
105886
 
105887
105887
  // dist-dereferenced/product.ts
105888
- var schema12 = { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Product", "additionalProperties": false, "type": "object", "properties": { "product_id": { "type": "string" }, "style_id": { "type": ["string"] }, "product_name": { "type": "string" }, "display_name": { "type": ["string", "null"] }, "buffer_quantity": { "type": "integer", "minimum": 0 }, "display_type": { "type": "string", "enum": ["Out-of-stock", "Permanently-unavailable"] }, "available_to_sell_from": { "type": ["string", "null"], "format": "date" }, "online_from": { "type": ["string", "null"], "format": "date-time" }, "online_to": { "type": ["string", "null"], "format": "date-time" }, "first_online_at": { "type": ["string", "null"], "format": "date-time" }, "last_online_at": { "type": ["string", "null"], "format": "date-time" }, "first_purchased_at": { "type": "string", "format": "date-time" }, "first_markdown_at": { "type": ["string", "null"], "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "last_modified_at": { "type": "string", "format": "date-time" }, "colour_family_name": { "type": "string" }, "colour_code": { "type": "string" }, "colour_name": { "type": "string" }, "display_tags": { "type": "array", "items": { "type": "string" } }, "sizerange_code": { "type": "string" }, "sizerange_name": { "type": "string" }, "variants": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "name": { "type": ["string"] } }, "required": ["code", "name"] } }, "images": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": ["Campaign", "Ecom", "Flatlay", "UGC", "AI"] }, "url": { "type": "string", "format": "uri" } }, "required": ["type", "url"] } }, "vat_rate_uk": { "type": ["number", "null"], "minimum": 0 }, "supply_chain": { "type": "object", "properties": { "hs_code": { "type": ["string", "null"] }, "commodity_code_ref": { "type": "string" }, "country_of_origin": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Country", "type": "string", "enum": ["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"] }, "port_of_origin": { "type": "string", "pattern": "^[A-Z]+$" }, "supplier_id": { "type": "string", "pattern": "^SUP\\d{5}$" }, "supplier_name": { "type": "string" }, "factory_id": { "type": "string", "pattern": "^FAC\\d{5}$" }, "packing_method": { "type": ["string", "null"], "enum": ["Standard", "Hanging"] }, "is_bought_in_product": { "type": "boolean" } }, "required": [] }, "merch": { "type": "object", "properties": { "strategy_type": { "type": "string" }, "product_type": { "type": "string" }, "stock_type": { "type": "string" }, "category": { "type": "string" }, "subcategory": { "type": "string" }, "range": { "type": ["string", "null"], "enum": ["Main Collection", "Seasonal"] }, "channels_availability": { "type": ["array"], "items": { "type": "string", "enum": ["DIRECT-UK", "DIRECT-INT", "DIRECT-US", "JL-STORES", "JL-WEB", "NEXT", "MS", "FENWICK", "MORLEYS"] } }, "collections": { "type": ["string"] }, "seasons": { "type": ["array"], "items": { "type": "string" } }, "drops": { "type": ["array"], "items": { "type": "string" } }, "fashionability": { "type": ["string", "null"] } }, "required": [] }, "attributes": { "type": "object", "properties": { "seo_url_name": { "type": "string", "pattern": "^[a-z-]+$" }, "embellishment": { "type": ["string", "null"] }, "seo_title": { "type": ["string", "null"] }, "seo_description": { "type": ["string", "null"] }, "product_details_and_fit": { "type": ["string", "null"] }, "fabric_care": { "type": ["string", "null"] }, "delivery_returns": { "type": ["string", "null"] }, "weight": { "type": ["number", "null"] }, "weight_statement": { "type": ["string", "null"] }, "main_fibre": { "type": ["string", "null"] }, "main_metal": { "type": ["string", "null"] }, "extra_selling_points": { "type": "array", "items": { "type": "string" } }, "length_measurement": { "type": ["string", "null"] }, "measurement_table_code": { "type": ["string"] }, "fit": { "type": ["string", "null"] }, "pockets": { "type": ["string", "null"] }, "pleats_gathers": { "type": ["string", "null"] }, "lining": { "type": ["string", "null"] }, "bias_cut": { "type": ["string", "null"] }, "designer": { "type": ["string", "null"] }, "fabric": { "type": ["string", "null"] }, "fabric_composition": { "type": "array", "items": { "type": "string" } }, "certificate_code": { "type": ["string", "null"] }, "shape": { "type": ["string", "null"] }, "development_type": { "type": "string" }, "occasion": { "type": ["string", "null"] }, "design": { "type": ["string", "null"] }, "block": { "type": ["string", "null"] }, "pattern_name": { "type": ["string", "null"] }, "fit_type": { "type": ["string", "null"] }, "neckline": { "type": ["string", "null"] }, "sleeve_length": { "type": ["string", "null"], "nullable": true }, "sleeve_type": { "type": ["string", "null"], "nullable": true }, "heel_height": { "type": ["string", "null"] }, "heel_shape": { "type": ["string", "null"] }, "toe_shape": { "type": ["string", "null"] }, "trouser_fit": { "type": ["string", "null"], "nullable": true }, "leg_length": { "type": ["string", "null"] }, "handle_straps": { "type": ["string", "null"] }, "straps_features": { "type": ["string", "null"] }, "fastening": { "anyOf": [{ "type": ["array", "null"], "items": { "type": "string" } }, { "type": "null" }] }, "sole_material": { "type": ["string", "null"] }, "care_instructions": { "type": "array", "items": { "type": "string" } } }, "required": [] }, "presentations": { "type": "object", "additionalProperties": false, "patternProperties": { ".*": { "type": "object", "additionalProperties": false, "properties": { "locale": { "type": "string", "pattern": "^[a-z]{2}-[A-Z]{2}$" }, "presentation_type": { "type": "string" }, "display_name": { "type": ["string", "null"] }, "display_type": { "type": "string", "enum": ["Out-of-stock", "Permanently-unavailable"] }, "available_to_sell_from": { "type": ["string", "null"], "format": "date" }, "online_from": { "type": ["string", "null"], "format": "date-time" }, "online_to": { "type": ["string", "null"], "format": "date-time" }, "last_online_at": { "type": ["string", "null"], "format": "date-time" }, "first_purchased_at": { "type": "string", "format": "date-time" }, "first_markdown_at": { "type": ["string", "null"], "format": "date-time" }, "colour_family_name": { "type": "string" }, "colour_name": { "type": "string" }, "display_tags": { "type": "array", "items": { "type": "string" } }, "sizerange_name": { "type": "string" }, "variants": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "name": { "type": ["string"] } }, "required": ["code", "name"] } }, "attributes": { "type": "object", "properties": { "seo_url_name": { "type": "string", "pattern": "^[a-z-]+$" }, "embellishment": { "type": ["string", "null"] }, "seo_title": { "type": ["string", "null"] }, "seo_description": { "type": ["string", "null"] }, "product_details_and_fit": { "type": ["string", "null"] }, "fabric_care": { "type": ["string", "null"] }, "delivery_returns": { "type": ["string", "null"] }, "weight": { "type": ["number", "null"] }, "weight_statement": { "type": ["string", "null"] }, "main_fibre": { "type": ["string", "null"] }, "main_metal": { "type": ["string", "null"] }, "extra_selling_points": { "type": "array", "items": { "type": "string" } }, "length_measurement": { "type": ["string", "null"] }, "measurement_table_code": { "type": ["string"] }, "fit": { "type": ["string", "null"] }, "pockets": { "type": ["string", "null"] }, "pleats_gathers": { "type": ["string", "null"] }, "lining": { "type": ["string", "null"] }, "bias_cut": { "type": ["string", "null"] }, "designer": { "type": ["string", "null"] }, "fabric": { "type": ["string", "null"] }, "fabric_composition": { "type": "array", "items": { "type": "string" } }, "certificate_code": { "type": ["string", "null"] }, "shape": { "type": ["string", "null"] }, "development_type": { "type": "string" }, "occasion": { "type": ["string", "null"] }, "design": { "type": ["string", "null"] }, "block": { "type": ["string", "null"] }, "pattern_name": { "type": ["string", "null"] }, "fit_type": { "type": ["string", "null"] }, "neckline": { "type": ["string", "null"] }, "sleeve_length": { "type": ["string", "null"], "nullable": true }, "sleeve_type": { "type": ["string", "null"], "nullable": true }, "heel_height": { "type": ["string", "null"] }, "heel_shape": { "type": ["string", "null"] }, "toe_shape": { "type": ["string", "null"] }, "trouser_fit": { "type": ["string", "null"], "nullable": true }, "leg_length": { "type": ["string", "null"] }, "handle_straps": { "type": ["string", "null"] }, "straps_features": { "type": ["string", "null"] }, "fastening": { "anyOf": [{ "type": ["array", "null"], "items": { "type": "string" } }, { "type": "null" }] }, "sole_material": { "type": ["string", "null"] }, "care_instructions": { "type": "array", "items": { "type": "string" } } }, "required": [] } }, "required": ["locale", "presentation_type"] } } } }, "required": ["product_id", "style_id", "product_name", "online_from"], "$id": "https://shushed.example.com/product.schema.json" };
105888
+ var schema12 = { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Product", "additionalProperties": false, "type": "object", "properties": { "product_id": { "type": "string" }, "slug": { "type": ["string"] }, "style_slug": { "type": ["string"] }, "style_id": { "type": ["string"] }, "colour_id": { "type": "string" }, "style_name": { "type": "string" }, "product_name": { "type": "string" }, "display_name": { "type": ["string", "null"] }, "buffer_quantity": { "type": "integer", "minimum": 0 }, "display_type": { "type": "string", "enum": ["Out-of-stock", "Permanently-unavailable"] }, "available_to_sell_from": { "type": ["string", "null"], "format": "date" }, "online_from": { "type": ["string", "null"], "format": "date-time" }, "online_to": { "type": ["string", "null"], "format": "date-time" }, "first_online_at": { "type": ["string", "null"], "format": "date-time" }, "last_online_at": { "type": ["string", "null"], "format": "date-time" }, "first_purchased_at": { "type": "string", "format": "date-time" }, "first_markdown_at": { "type": ["string", "null"], "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "last_modified_at": { "type": "string", "format": "date-time" }, "colour_family_name": { "type": "string" }, "colour_code": { "type": "string" }, "colour_name": { "type": "string" }, "display_tags": { "type": "array", "items": { "type": "string" } }, "sizerange_code": { "type": "string" }, "sizerange_name": { "type": "string" }, "variants": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "name": { "type": ["string"] } }, "required": ["code", "name"] } }, "images": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": ["Campaign", "Ecom", "Flatlay", "UGC", "AI"] }, "url": { "type": "string", "format": "uri" } }, "required": ["type", "url"] } }, "vat_rate_uk": { "type": ["number", "null"], "minimum": 0 }, "supply_chain": { "type": "object", "properties": { "hs_code": { "type": ["string", "null"] }, "commodity_code_ref": { "type": "string" }, "country_of_origin": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Country", "type": "string", "enum": ["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"] }, "port_of_origin": { "type": "string", "pattern": "^[A-Z]+$" }, "supplier_id": { "type": "string", "pattern": "^SUP\\d{5}$" }, "supplier_name": { "type": "string" }, "factory_id": { "type": "string", "pattern": "^FAC\\d{5}$" }, "packing_method": { "type": ["string", "null"], "enum": ["Standard", "Hanging"] }, "is_bought_in_product": { "type": "boolean" } }, "required": [] }, "merch": { "type": "object", "properties": { "strategy_type": { "type": "string" }, "product_type": { "type": "string" }, "stock_type": { "type": "string" }, "category": { "type": "string" }, "subcategory": { "type": "string" }, "range": { "type": ["string", "null"], "enum": ["Main Collection", "Seasonal"] }, "channels_availability": { "type": ["array"], "items": { "type": "string", "enum": ["DIRECT-UK", "DIRECT-INT", "DIRECT-US", "JL-STORES", "JL-WEB", "NEXT", "MS", "FENWICK", "MORLEYS"] } }, "collections": { "type": ["string"] }, "seasons": { "type": ["array"], "items": { "type": "string" } }, "drops": { "type": ["array"], "items": { "type": "string" } }, "fashionability": { "type": ["string", "null"] } }, "required": [] }, "attributes": { "type": "object", "properties": { "seo_url_name": { "type": "string", "pattern": "^[a-z-]+$" }, "embellishment": { "type": ["string", "null"] }, "seo_title": { "type": ["string", "null"] }, "seo_description": { "type": ["string", "null"] }, "fit_description": { "type": ["string", "null"] }, "fabric_care": { "type": ["string", "null"] }, "delivery_returns": { "type": ["string", "null"] }, "weight": { "type": ["number", "null"] }, "weight_statement": { "type": ["string", "null"] }, "main_fibre": { "type": ["string", "null"] }, "main_metal": { "type": ["string", "null"] }, "extra_selling_points": { "type": "array", "items": { "type": "string" } }, "length_measurement": { "type": ["string", "null"] }, "measurement_table_code": { "type": ["string"] }, "fit": { "type": ["string", "null"] }, "pockets": { "type": ["string", "null"] }, "pleats_gathers": { "type": ["string", "null"] }, "lining": { "type": ["string", "null"] }, "bias_cut": { "type": ["string", "null"] }, "designer": { "type": ["string", "null"] }, "fabric": { "type": ["string", "null"] }, "fabric_composition": { "type": "array", "items": { "type": "string" } }, "certificate_code": { "type": ["string", "null"] }, "shape": { "type": ["string", "null"] }, "development_type": { "type": "string" }, "occasion": { "type": ["string", "null"] }, "design": { "type": ["string", "null"] }, "block": { "type": ["string", "null"] }, "pattern_name": { "type": ["string", "null"] }, "fit_type": { "type": ["string", "null"] }, "neckline": { "type": ["string", "null"] }, "sleeve_length": { "type": ["string", "null"], "nullable": true }, "sleeve_type": { "type": ["string", "null"], "nullable": true }, "heel_height": { "type": ["string", "null"] }, "heel_shape": { "type": ["string", "null"] }, "toe_shape": { "type": ["string", "null"] }, "trouser_fit": { "type": ["string", "null"], "nullable": true }, "leg_length": { "type": ["string", "null"] }, "handle_straps": { "type": ["string", "null"] }, "straps_features": { "type": ["string", "null"] }, "fastening": { "anyOf": [{ "type": ["array", "null"], "items": { "type": "string" } }, { "type": "null" }] }, "sole_material": { "type": ["string", "null"] }, "care_instructions": { "type": "array", "items": { "type": "string" } } }, "required": [] }, "presentations": { "type": "object", "additionalProperties": false, "patternProperties": { ".*": { "type": "object", "additionalProperties": false, "properties": { "locale": { "type": "string", "pattern": "^[a-z]{2}-[A-Z]{2}$" }, "presentation_type": { "type": "string" }, "slug": { "type": ["string"] }, "style_slug": { "type": ["string"] }, "style_name": { "type": "string" }, "display_name": { "type": ["string", "null"] }, "display_type": { "type": "string", "enum": ["Out-of-stock", "Permanently-unavailable"] }, "available_to_sell_from": { "type": ["string", "null"], "format": "date" }, "online_from": { "type": ["string", "null"], "format": "date-time" }, "online_to": { "type": ["string", "null"], "format": "date-time" }, "last_online_at": { "type": ["string", "null"], "format": "date-time" }, "first_purchased_at": { "type": "string", "format": "date-time" }, "first_markdown_at": { "type": ["string", "null"], "format": "date-time" }, "colour_family_name": { "type": "string" }, "colour_name": { "type": "string" }, "display_tags": { "type": "array", "items": { "type": "string" } }, "sizerange_name": { "type": "string" }, "variants": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "name": { "type": ["string"] } }, "required": ["code", "name"] } }, "attributes": { "type": "object", "properties": { "seo_url_name": { "type": "string", "pattern": "^[a-z-]+$" }, "embellishment": { "type": ["string", "null"] }, "seo_title": { "type": ["string", "null"] }, "seo_description": { "type": ["string", "null"] }, "fit_description": { "type": ["string", "null"] }, "fabric_care": { "type": ["string", "null"] }, "delivery_returns": { "type": ["string", "null"] }, "weight": { "type": ["number", "null"] }, "weight_statement": { "type": ["string", "null"] }, "main_fibre": { "type": ["string", "null"] }, "main_metal": { "type": ["string", "null"] }, "extra_selling_points": { "type": "array", "items": { "type": "string" } }, "length_measurement": { "type": ["string", "null"] }, "measurement_table_code": { "type": ["string"] }, "fit": { "type": ["string", "null"] }, "pockets": { "type": ["string", "null"] }, "pleats_gathers": { "type": ["string", "null"] }, "lining": { "type": ["string", "null"] }, "bias_cut": { "type": ["string", "null"] }, "designer": { "type": ["string", "null"] }, "fabric": { "type": ["string", "null"] }, "fabric_composition": { "type": "array", "items": { "type": "string" } }, "certificate_code": { "type": ["string", "null"] }, "shape": { "type": ["string", "null"] }, "development_type": { "type": "string" }, "occasion": { "type": ["string", "null"] }, "design": { "type": ["string", "null"] }, "block": { "type": ["string", "null"] }, "pattern_name": { "type": ["string", "null"] }, "fit_type": { "type": ["string", "null"] }, "neckline": { "type": ["string", "null"] }, "sleeve_length": { "type": ["string", "null"], "nullable": true }, "sleeve_type": { "type": ["string", "null"], "nullable": true }, "heel_height": { "type": ["string", "null"] }, "heel_shape": { "type": ["string", "null"] }, "toe_shape": { "type": ["string", "null"] }, "trouser_fit": { "type": ["string", "null"], "nullable": true }, "leg_length": { "type": ["string", "null"] }, "handle_straps": { "type": ["string", "null"] }, "straps_features": { "type": ["string", "null"] }, "fastening": { "anyOf": [{ "type": ["array", "null"], "items": { "type": "string" } }, { "type": "null" }] }, "sole_material": { "type": ["string", "null"] }, "care_instructions": { "type": "array", "items": { "type": "string" } } }, "required": [] } }, "required": ["locale", "presentation_type"] } } } }, "required": ["product_id", "style_id", "product_name", "online_from"], "$id": "https://shushed.example.com/product.schema.json" };
105889
105889
  var product_default = schema12;
105890
105890
 
105891
105891
  // dist-dereferenced/stock.ts
@@ -105924,7 +105924,7 @@ var schema18 = { "$schema": "http://json-schema.org/draft-07/schema#", "title":
105924
105924
  var product_draft_default2 = schema18;
105925
105925
 
105926
105926
  // dist-dereferenced/messages/product.ts
105927
- var schema19 = { "$schema": "http://json-schema.org/draft-07/schema#", "title": "ProductChange", "additionalProperties": false, "allOf": [{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Product", "additionalProperties": false, "type": "object", "properties": { "product_id": { "type": "string" }, "style_id": { "type": ["string"] }, "product_name": { "type": "string" }, "display_name": { "type": ["string", "null"] }, "buffer_quantity": { "type": "integer", "minimum": 0 }, "display_type": { "type": "string", "enum": ["Out-of-stock", "Permanently-unavailable"] }, "available_to_sell_from": { "type": ["string", "null"], "format": "date" }, "online_from": { "type": ["string", "null"], "format": "date-time" }, "online_to": { "type": ["string", "null"], "format": "date-time" }, "first_online_at": { "type": ["string", "null"], "format": "date-time" }, "last_online_at": { "type": ["string", "null"], "format": "date-time" }, "first_purchased_at": { "type": "string", "format": "date-time" }, "first_markdown_at": { "type": ["string", "null"], "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "last_modified_at": { "type": "string", "format": "date-time" }, "colour_family_name": { "type": "string" }, "colour_code": { "type": "string" }, "colour_name": { "type": "string" }, "display_tags": { "type": "array", "items": { "type": "string" } }, "sizerange_code": { "type": "string" }, "sizerange_name": { "type": "string" }, "variants": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "name": { "type": ["string"] } }, "required": ["code", "name"] } }, "images": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": ["Campaign", "Ecom", "Flatlay", "UGC", "AI"] }, "url": { "type": "string", "format": "uri" } }, "required": ["type", "url"] } }, "vat_rate_uk": { "type": ["number", "null"], "minimum": 0 }, "supply_chain": { "type": "object", "properties": { "hs_code": { "type": ["string", "null"] }, "commodity_code_ref": { "type": "string" }, "country_of_origin": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Country", "type": "string", "enum": ["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"] }, "port_of_origin": { "type": "string", "pattern": "^[A-Z]+$" }, "supplier_id": { "type": "string", "pattern": "^SUP\\d{5}$" }, "supplier_name": { "type": "string" }, "factory_id": { "type": "string", "pattern": "^FAC\\d{5}$" }, "packing_method": { "type": ["string", "null"], "enum": ["Standard", "Hanging"] }, "is_bought_in_product": { "type": "boolean" } }, "required": [] }, "merch": { "type": "object", "properties": { "strategy_type": { "type": "string" }, "product_type": { "type": "string" }, "stock_type": { "type": "string" }, "category": { "type": "string" }, "subcategory": { "type": "string" }, "range": { "type": ["string", "null"], "enum": ["Main Collection", "Seasonal"] }, "channels_availability": { "type": ["array"], "items": { "type": "string", "enum": ["DIRECT-UK", "DIRECT-INT", "DIRECT-US", "JL-STORES", "JL-WEB", "NEXT", "MS", "FENWICK", "MORLEYS"] } }, "collections": { "type": ["string"] }, "seasons": { "type": ["array"], "items": { "type": "string" } }, "drops": { "type": ["array"], "items": { "type": "string" } }, "fashionability": { "type": ["string", "null"] } }, "required": [] }, "attributes": { "type": "object", "properties": { "seo_url_name": { "type": "string", "pattern": "^[a-z-]+$" }, "embellishment": { "type": ["string", "null"] }, "seo_title": { "type": ["string", "null"] }, "seo_description": { "type": ["string", "null"] }, "product_details_and_fit": { "type": ["string", "null"] }, "fabric_care": { "type": ["string", "null"] }, "delivery_returns": { "type": ["string", "null"] }, "weight": { "type": ["number", "null"] }, "weight_statement": { "type": ["string", "null"] }, "main_fibre": { "type": ["string", "null"] }, "main_metal": { "type": ["string", "null"] }, "extra_selling_points": { "type": "array", "items": { "type": "string" } }, "length_measurement": { "type": ["string", "null"] }, "measurement_table_code": { "type": ["string"] }, "fit": { "type": ["string", "null"] }, "pockets": { "type": ["string", "null"] }, "pleats_gathers": { "type": ["string", "null"] }, "lining": { "type": ["string", "null"] }, "bias_cut": { "type": ["string", "null"] }, "designer": { "type": ["string", "null"] }, "fabric": { "type": ["string", "null"] }, "fabric_composition": { "type": "array", "items": { "type": "string" } }, "certificate_code": { "type": ["string", "null"] }, "shape": { "type": ["string", "null"] }, "development_type": { "type": "string" }, "occasion": { "type": ["string", "null"] }, "design": { "type": ["string", "null"] }, "block": { "type": ["string", "null"] }, "pattern_name": { "type": ["string", "null"] }, "fit_type": { "type": ["string", "null"] }, "neckline": { "type": ["string", "null"] }, "sleeve_length": { "type": ["string", "null"], "nullable": true }, "sleeve_type": { "type": ["string", "null"], "nullable": true }, "heel_height": { "type": ["string", "null"] }, "heel_shape": { "type": ["string", "null"] }, "toe_shape": { "type": ["string", "null"] }, "trouser_fit": { "type": ["string", "null"], "nullable": true }, "leg_length": { "type": ["string", "null"] }, "handle_straps": { "type": ["string", "null"] }, "straps_features": { "type": ["string", "null"] }, "fastening": { "anyOf": [{ "type": ["array", "null"], "items": { "type": "string" } }, { "type": "null" }] }, "sole_material": { "type": ["string", "null"] }, "care_instructions": { "type": "array", "items": { "type": "string" } } }, "required": [] }, "presentations": { "type": "object", "additionalProperties": false, "patternProperties": { ".*": { "type": "object", "additionalProperties": false, "properties": { "locale": { "type": "string", "pattern": "^[a-z]{2}-[A-Z]{2}$" }, "presentation_type": { "type": "string" }, "display_name": { "type": ["string", "null"] }, "display_type": { "type": "string", "enum": ["Out-of-stock", "Permanently-unavailable"] }, "available_to_sell_from": { "type": ["string", "null"], "format": "date" }, "online_from": { "type": ["string", "null"], "format": "date-time" }, "online_to": { "type": ["string", "null"], "format": "date-time" }, "last_online_at": { "type": ["string", "null"], "format": "date-time" }, "first_purchased_at": { "type": "string", "format": "date-time" }, "first_markdown_at": { "type": ["string", "null"], "format": "date-time" }, "colour_family_name": { "type": "string" }, "colour_name": { "type": "string" }, "display_tags": { "type": "array", "items": { "type": "string" } }, "sizerange_name": { "type": "string" }, "variants": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "name": { "type": ["string"] } }, "required": ["code", "name"] } }, "attributes": { "type": "object", "properties": { "seo_url_name": { "type": "string", "pattern": "^[a-z-]+$" }, "embellishment": { "type": ["string", "null"] }, "seo_title": { "type": ["string", "null"] }, "seo_description": { "type": ["string", "null"] }, "product_details_and_fit": { "type": ["string", "null"] }, "fabric_care": { "type": ["string", "null"] }, "delivery_returns": { "type": ["string", "null"] }, "weight": { "type": ["number", "null"] }, "weight_statement": { "type": ["string", "null"] }, "main_fibre": { "type": ["string", "null"] }, "main_metal": { "type": ["string", "null"] }, "extra_selling_points": { "type": "array", "items": { "type": "string" } }, "length_measurement": { "type": ["string", "null"] }, "measurement_table_code": { "type": ["string"] }, "fit": { "type": ["string", "null"] }, "pockets": { "type": ["string", "null"] }, "pleats_gathers": { "type": ["string", "null"] }, "lining": { "type": ["string", "null"] }, "bias_cut": { "type": ["string", "null"] }, "designer": { "type": ["string", "null"] }, "fabric": { "type": ["string", "null"] }, "fabric_composition": { "type": "array", "items": { "type": "string" } }, "certificate_code": { "type": ["string", "null"] }, "shape": { "type": ["string", "null"] }, "development_type": { "type": "string" }, "occasion": { "type": ["string", "null"] }, "design": { "type": ["string", "null"] }, "block": { "type": ["string", "null"] }, "pattern_name": { "type": ["string", "null"] }, "fit_type": { "type": ["string", "null"] }, "neckline": { "type": ["string", "null"] }, "sleeve_length": { "type": ["string", "null"], "nullable": true }, "sleeve_type": { "type": ["string", "null"], "nullable": true }, "heel_height": { "type": ["string", "null"] }, "heel_shape": { "type": ["string", "null"] }, "toe_shape": { "type": ["string", "null"] }, "trouser_fit": { "type": ["string", "null"], "nullable": true }, "leg_length": { "type": ["string", "null"] }, "handle_straps": { "type": ["string", "null"] }, "straps_features": { "type": ["string", "null"] }, "fastening": { "anyOf": [{ "type": ["array", "null"], "items": { "type": "string" } }, { "type": "null" }] }, "sole_material": { "type": ["string", "null"] }, "care_instructions": { "type": "array", "items": { "type": "string" } } }, "required": [] } }, "required": ["locale", "presentation_type"] } } } }, "required": ["product_id", "style_id", "product_name", "online_from"] }, { "type": "object", "additionalProperties": false, "required": ["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"] }], "$id": "https://shushed.example.com/messages/product-change.schema.json" };
105927
+ var schema19 = { "$schema": "http://json-schema.org/draft-07/schema#", "title": "ProductChange", "additionalProperties": false, "allOf": [{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Product", "additionalProperties": false, "type": "object", "properties": { "product_id": { "type": "string" }, "slug": { "type": ["string"] }, "style_slug": { "type": ["string"] }, "style_id": { "type": ["string"] }, "colour_id": { "type": "string" }, "style_name": { "type": "string" }, "product_name": { "type": "string" }, "display_name": { "type": ["string", "null"] }, "buffer_quantity": { "type": "integer", "minimum": 0 }, "display_type": { "type": "string", "enum": ["Out-of-stock", "Permanently-unavailable"] }, "available_to_sell_from": { "type": ["string", "null"], "format": "date" }, "online_from": { "type": ["string", "null"], "format": "date-time" }, "online_to": { "type": ["string", "null"], "format": "date-time" }, "first_online_at": { "type": ["string", "null"], "format": "date-time" }, "last_online_at": { "type": ["string", "null"], "format": "date-time" }, "first_purchased_at": { "type": "string", "format": "date-time" }, "first_markdown_at": { "type": ["string", "null"], "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "last_modified_at": { "type": "string", "format": "date-time" }, "colour_family_name": { "type": "string" }, "colour_code": { "type": "string" }, "colour_name": { "type": "string" }, "display_tags": { "type": "array", "items": { "type": "string" } }, "sizerange_code": { "type": "string" }, "sizerange_name": { "type": "string" }, "variants": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "name": { "type": ["string"] } }, "required": ["code", "name"] } }, "images": { "type": "array", "items": { "type": "object", "properties": { "type": { "type": "string", "enum": ["Campaign", "Ecom", "Flatlay", "UGC", "AI"] }, "url": { "type": "string", "format": "uri" } }, "required": ["type", "url"] } }, "vat_rate_uk": { "type": ["number", "null"], "minimum": 0 }, "supply_chain": { "type": "object", "properties": { "hs_code": { "type": ["string", "null"] }, "commodity_code_ref": { "type": "string" }, "country_of_origin": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Country", "type": "string", "enum": ["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"] }, "port_of_origin": { "type": "string", "pattern": "^[A-Z]+$" }, "supplier_id": { "type": "string", "pattern": "^SUP\\d{5}$" }, "supplier_name": { "type": "string" }, "factory_id": { "type": "string", "pattern": "^FAC\\d{5}$" }, "packing_method": { "type": ["string", "null"], "enum": ["Standard", "Hanging"] }, "is_bought_in_product": { "type": "boolean" } }, "required": [] }, "merch": { "type": "object", "properties": { "strategy_type": { "type": "string" }, "product_type": { "type": "string" }, "stock_type": { "type": "string" }, "category": { "type": "string" }, "subcategory": { "type": "string" }, "range": { "type": ["string", "null"], "enum": ["Main Collection", "Seasonal"] }, "channels_availability": { "type": ["array"], "items": { "type": "string", "enum": ["DIRECT-UK", "DIRECT-INT", "DIRECT-US", "JL-STORES", "JL-WEB", "NEXT", "MS", "FENWICK", "MORLEYS"] } }, "collections": { "type": ["string"] }, "seasons": { "type": ["array"], "items": { "type": "string" } }, "drops": { "type": ["array"], "items": { "type": "string" } }, "fashionability": { "type": ["string", "null"] } }, "required": [] }, "attributes": { "type": "object", "properties": { "seo_url_name": { "type": "string", "pattern": "^[a-z-]+$" }, "embellishment": { "type": ["string", "null"] }, "seo_title": { "type": ["string", "null"] }, "seo_description": { "type": ["string", "null"] }, "fit_description": { "type": ["string", "null"] }, "fabric_care": { "type": ["string", "null"] }, "delivery_returns": { "type": ["string", "null"] }, "weight": { "type": ["number", "null"] }, "weight_statement": { "type": ["string", "null"] }, "main_fibre": { "type": ["string", "null"] }, "main_metal": { "type": ["string", "null"] }, "extra_selling_points": { "type": "array", "items": { "type": "string" } }, "length_measurement": { "type": ["string", "null"] }, "measurement_table_code": { "type": ["string"] }, "fit": { "type": ["string", "null"] }, "pockets": { "type": ["string", "null"] }, "pleats_gathers": { "type": ["string", "null"] }, "lining": { "type": ["string", "null"] }, "bias_cut": { "type": ["string", "null"] }, "designer": { "type": ["string", "null"] }, "fabric": { "type": ["string", "null"] }, "fabric_composition": { "type": "array", "items": { "type": "string" } }, "certificate_code": { "type": ["string", "null"] }, "shape": { "type": ["string", "null"] }, "development_type": { "type": "string" }, "occasion": { "type": ["string", "null"] }, "design": { "type": ["string", "null"] }, "block": { "type": ["string", "null"] }, "pattern_name": { "type": ["string", "null"] }, "fit_type": { "type": ["string", "null"] }, "neckline": { "type": ["string", "null"] }, "sleeve_length": { "type": ["string", "null"], "nullable": true }, "sleeve_type": { "type": ["string", "null"], "nullable": true }, "heel_height": { "type": ["string", "null"] }, "heel_shape": { "type": ["string", "null"] }, "toe_shape": { "type": ["string", "null"] }, "trouser_fit": { "type": ["string", "null"], "nullable": true }, "leg_length": { "type": ["string", "null"] }, "handle_straps": { "type": ["string", "null"] }, "straps_features": { "type": ["string", "null"] }, "fastening": { "anyOf": [{ "type": ["array", "null"], "items": { "type": "string" } }, { "type": "null" }] }, "sole_material": { "type": ["string", "null"] }, "care_instructions": { "type": "array", "items": { "type": "string" } } }, "required": [] }, "presentations": { "type": "object", "additionalProperties": false, "patternProperties": { ".*": { "type": "object", "additionalProperties": false, "properties": { "locale": { "type": "string", "pattern": "^[a-z]{2}-[A-Z]{2}$" }, "presentation_type": { "type": "string" }, "slug": { "type": ["string"] }, "style_slug": { "type": ["string"] }, "style_name": { "type": "string" }, "display_name": { "type": ["string", "null"] }, "display_type": { "type": "string", "enum": ["Out-of-stock", "Permanently-unavailable"] }, "available_to_sell_from": { "type": ["string", "null"], "format": "date" }, "online_from": { "type": ["string", "null"], "format": "date-time" }, "online_to": { "type": ["string", "null"], "format": "date-time" }, "last_online_at": { "type": ["string", "null"], "format": "date-time" }, "first_purchased_at": { "type": "string", "format": "date-time" }, "first_markdown_at": { "type": ["string", "null"], "format": "date-time" }, "colour_family_name": { "type": "string" }, "colour_name": { "type": "string" }, "display_tags": { "type": "array", "items": { "type": "string" } }, "sizerange_name": { "type": "string" }, "variants": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "name": { "type": ["string"] } }, "required": ["code", "name"] } }, "attributes": { "type": "object", "properties": { "seo_url_name": { "type": "string", "pattern": "^[a-z-]+$" }, "embellishment": { "type": ["string", "null"] }, "seo_title": { "type": ["string", "null"] }, "seo_description": { "type": ["string", "null"] }, "fit_description": { "type": ["string", "null"] }, "fabric_care": { "type": ["string", "null"] }, "delivery_returns": { "type": ["string", "null"] }, "weight": { "type": ["number", "null"] }, "weight_statement": { "type": ["string", "null"] }, "main_fibre": { "type": ["string", "null"] }, "main_metal": { "type": ["string", "null"] }, "extra_selling_points": { "type": "array", "items": { "type": "string" } }, "length_measurement": { "type": ["string", "null"] }, "measurement_table_code": { "type": ["string"] }, "fit": { "type": ["string", "null"] }, "pockets": { "type": ["string", "null"] }, "pleats_gathers": { "type": ["string", "null"] }, "lining": { "type": ["string", "null"] }, "bias_cut": { "type": ["string", "null"] }, "designer": { "type": ["string", "null"] }, "fabric": { "type": ["string", "null"] }, "fabric_composition": { "type": "array", "items": { "type": "string" } }, "certificate_code": { "type": ["string", "null"] }, "shape": { "type": ["string", "null"] }, "development_type": { "type": "string" }, "occasion": { "type": ["string", "null"] }, "design": { "type": ["string", "null"] }, "block": { "type": ["string", "null"] }, "pattern_name": { "type": ["string", "null"] }, "fit_type": { "type": ["string", "null"] }, "neckline": { "type": ["string", "null"] }, "sleeve_length": { "type": ["string", "null"], "nullable": true }, "sleeve_type": { "type": ["string", "null"], "nullable": true }, "heel_height": { "type": ["string", "null"] }, "heel_shape": { "type": ["string", "null"] }, "toe_shape": { "type": ["string", "null"] }, "trouser_fit": { "type": ["string", "null"], "nullable": true }, "leg_length": { "type": ["string", "null"] }, "handle_straps": { "type": ["string", "null"] }, "straps_features": { "type": ["string", "null"] }, "fastening": { "anyOf": [{ "type": ["array", "null"], "items": { "type": "string" } }, { "type": "null" }] }, "sole_material": { "type": ["string", "null"] }, "care_instructions": { "type": "array", "items": { "type": "string" } } }, "required": [] } }, "required": ["locale", "presentation_type"] } } } }, "required": ["product_id", "style_id", "product_name", "online_from"] }, { "type": "object", "additionalProperties": false, "required": ["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"] }], "$id": "https://shushed.example.com/messages/product-change.schema.json" };
105928
105928
  var product_default2 = schema19;
105929
105929
 
105930
105930
  // dist-dereferenced/messages/order/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shushed/helpers",
3
- "version": "0.0.185",
3
+ "version": "0.0.186",
4
4
  "author": "",
5
5
  "license": "UNLICENSED",
6
6
  "description": "",