@shushed/helpers 0.0.96 → 0.0.97

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 (3) hide show
  1. package/dist/index.d.ts +514 -313
  2. package/dist/index.js +94 -71
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,14 +1,37 @@
1
1
  import { JSONSchemaType } from 'ajv';
2
2
  import { DeepRedact } from '@hackylabs/deep-redact';
3
3
  import { Firestore, DocumentReference } from '@google-cloud/firestore';
4
- import { PubSub, Topic, Subscription } from '@google-cloud/pubsub';
4
+ import { PubSub, Message as Message$1, Topic, Subscription } from '@google-cloud/pubsub';
5
5
  import { Context } from 'co-body';
6
6
  import * as _google_cloud_scheduler_build_protos_protos from '@google-cloud/scheduler/build/protos/protos';
7
7
  import { CloudSchedulerClient } from '@google-cloud/scheduler';
8
8
  import { SecretManagerServiceClient } from '@google-cloud/secret-manager';
9
9
  import { BigQuery } from '@google-cloud/bigquery';
10
10
 
11
- declare const schema$p: {
11
+ declare const schema$r: {
12
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
13
+ readonly title: "CategoryAssigned";
14
+ readonly type: "object";
15
+ readonly additionalProperties: false;
16
+ readonly properties: {
17
+ readonly product_id: {
18
+ readonly type: "string";
19
+ };
20
+ readonly category_id: {
21
+ readonly type: "string";
22
+ };
23
+ readonly site_id: {
24
+ readonly type: "string";
25
+ };
26
+ readonly is_assigned: {
27
+ readonly type: "boolean";
28
+ };
29
+ };
30
+ readonly required: readonly ["product_id", "category_id", "site_id", "is_assigned"];
31
+ readonly $id: "https://shushed.example.com/category-assigned.schema.json";
32
+ };
33
+
34
+ declare const schema$q: {
12
35
  readonly $schema: "http://json-schema.org/draft-07/schema#";
13
36
  readonly title: "Country";
14
37
  readonly type: "string";
@@ -16,7 +39,7 @@ declare const schema$p: {
16
39
  readonly $id: "https://shushed.example.com/country.schema.json";
17
40
  };
18
41
 
19
- declare const schema$o: {
42
+ declare const schema$p: {
20
43
  readonly $schema: "http://json-schema.org/draft-07/schema#";
21
44
  readonly title: "Currency";
22
45
  readonly type: "string";
@@ -24,7 +47,7 @@ declare const schema$o: {
24
47
  readonly $id: "https://shushed.example.com/currency.schema.json";
25
48
  };
26
49
 
27
- declare const schema$n: {
50
+ declare const schema$o: {
28
51
  readonly $schema: "http://json-schema.org/draft-07/schema#";
29
52
  readonly title: "Money";
30
53
  readonly type: "object";
@@ -65,7 +88,7 @@ declare const schema$n: {
65
88
  readonly $id: "https://shushed.example.com/money.schema.json";
66
89
  };
67
90
 
68
- declare const schema$m: {
91
+ declare const schema$n: {
69
92
  readonly $schema: "http://json-schema.org/draft-07/schema#";
70
93
  readonly title: "Price";
71
94
  readonly type: "object";
@@ -77,6 +100,9 @@ declare const schema$m: {
77
100
  readonly colour_id: {
78
101
  readonly type: readonly ["string", "null"];
79
102
  };
103
+ readonly pricelist_code: {
104
+ readonly type: "string";
105
+ };
80
106
  readonly full_price: {
81
107
  readonly type: "integer";
82
108
  readonly minimum: 0;
@@ -107,11 +133,11 @@ declare const schema$m: {
107
133
  readonly type: "string";
108
134
  };
109
135
  };
110
- readonly required: readonly ["style_id", "colour_id", "full_price", "markdown", "pos", "currency", "effective_from", "channel"];
136
+ readonly required: readonly ["style_id", "colour_id", "pricelist_code", "full_price", "markdown", "pos", "currency", "effective_from", "channel"];
111
137
  readonly $id: "https://shushed.example.com/price.schema.json";
112
138
  };
113
139
 
114
- declare const schema$l: {
140
+ declare const schema$m: {
115
141
  readonly $schema: "http://json-schema.org/draft-07/schema#";
116
142
  readonly title: "ProductDraft";
117
143
  readonly type: "object";
@@ -616,7 +642,7 @@ declare const schema$l: {
616
642
  readonly $id: "https://shushed.example.com/product-draft.schema.json";
617
643
  };
618
644
 
619
- declare const schema$k: {
645
+ declare const schema$l: {
620
646
  readonly $schema: "http://json-schema.org/draft-07/schema#";
621
647
  readonly title: "Product";
622
648
  readonly additionalProperties: false;
@@ -628,15 +654,60 @@ declare const schema$k: {
628
654
  readonly style_id: {
629
655
  readonly type: readonly ["string"];
630
656
  };
631
- readonly colour_code: {
657
+ readonly product_name: {
632
658
  readonly type: "string";
633
- readonly pattern: "^[a-z]+(-[a-z]+)*$";
634
659
  };
635
- readonly product_name: {
660
+ readonly display_types: {
661
+ readonly type: "array";
662
+ readonly items: {
663
+ readonly type: "object";
664
+ readonly properties: {
665
+ readonly channel: {
666
+ readonly type: "string";
667
+ readonly enum: readonly ["DIRECT-UK", "DIRECT-INT", "DIRECT-US"];
668
+ };
669
+ readonly display_type: {
670
+ readonly type: "string";
671
+ readonly enum: readonly ["Out-of-stock", "Permanently-unavailable"];
672
+ };
673
+ };
674
+ };
675
+ };
676
+ readonly seo: {
677
+ readonly type: "object";
678
+ readonly properties: {
679
+ readonly url_name: {
680
+ readonly pattern: "^[a-z-]+$";
681
+ };
682
+ readonly title: {
683
+ readonly type: readonly ["string", "null"];
684
+ };
685
+ };
686
+ readonly required: readonly ["url_name", "title", "description"];
687
+ };
688
+ readonly available_to_sell_from: {
689
+ readonly type: readonly ["string", "null"];
690
+ readonly format: "date";
691
+ };
692
+ readonly online_from: {
636
693
  readonly type: "string";
694
+ readonly format: "date-time";
637
695
  };
638
- readonly is_available_to_order: {
639
- readonly type: "boolean";
696
+ readonly online_to: {
697
+ readonly type: readonly ["string", "null"];
698
+ readonly format: "date-time";
699
+ };
700
+ readonly last_online_at: {
701
+ readonly type: readonly ["string", "null"];
702
+ readonly format: "date-time";
703
+ };
704
+ readonly first_purchased_at: {
705
+ readonly type: "string";
706
+ readonly format: "date-time";
707
+ };
708
+ readonly first_markdown_at: {
709
+ readonly type: "string";
710
+ readonly format: "date-time";
640
711
  };
641
712
  readonly created_at: {
642
713
  readonly type: "string";
@@ -649,73 +720,52 @@ declare const schema$k: {
649
720
  readonly colour_family_name: {
650
721
  readonly type: "string";
651
722
  };
652
- readonly colour_label: {
723
+ readonly colour_code: {
724
+ readonly type: "string";
725
+ readonly pattern: "^[a-z]+(-[a-z]+)*$";
726
+ };
727
+ readonly colour_name: {
653
728
  readonly type: "string";
654
- readonly pattern: "^[A-Z][a-z]+( [A-Z][a-z]+)*$";
655
729
  };
656
730
  readonly variants: {
657
731
  readonly type: "array";
658
732
  readonly items: {
659
733
  readonly type: "object";
660
734
  readonly properties: {
661
- readonly size: {
735
+ readonly code: {
662
736
  readonly type: "string";
663
737
  };
664
- readonly size_label: {
738
+ readonly name: {
665
739
  readonly type: readonly ["string"];
666
740
  };
667
741
  };
668
- readonly required: readonly ["size", "size_label"];
742
+ readonly required: readonly ["code", "name"];
669
743
  };
670
744
  };
671
745
  readonly images: {
672
746
  readonly type: "array";
673
747
  readonly properties: {
674
- readonly image_type: {
748
+ readonly type: {
675
749
  readonly type: "string";
676
- readonly enum: readonly ["Campaign", "Ecom x 4", "Flat lay", "UGC (multiple)", "AI Images"];
750
+ readonly enum: readonly ["Campaign", "Ecom", "Flatlay", "UGC", "AI"];
677
751
  };
678
- readonly image_url: {
752
+ readonly url: {
679
753
  readonly type: "string";
680
754
  readonly format: "uri";
681
755
  };
682
- readonly path: {
683
- readonly type: "string";
684
- };
685
- readonly title: {
686
- readonly type: "string";
687
- };
688
756
  };
689
- readonly required: readonly ["image_type", "image_url", "path", "title"];
757
+ readonly required: readonly ["type", "url"];
690
758
  };
691
- readonly vat_amount: {
759
+ readonly vat_rate_uk: {
692
760
  readonly type: "number";
693
761
  readonly minimum: 0;
694
762
  };
695
- readonly commodity_code_ref: {
696
- readonly type: "string";
697
- };
698
- readonly attributes: {
763
+ readonly supply_chain: {
699
764
  readonly type: "object";
700
765
  readonly properties: {
701
- readonly product_type: {
702
- readonly type: "string";
703
- };
704
- readonly main_fibre: {
705
- readonly type: "string";
706
- };
707
- readonly merch_product_category: {
708
- readonly type: "string";
709
- };
710
- readonly merch_product_subcategory: {
711
- readonly type: "string";
712
- };
713
- readonly extra_selling_point: {
766
+ readonly commodity_code_ref: {
714
767
  readonly type: "string";
715
768
  };
716
- readonly length_measurement: {
717
- readonly type: readonly ["string", "null"];
718
- };
719
769
  readonly country_of_origin: {
720
770
  readonly $schema: "http://json-schema.org/draft-07/schema#";
721
771
  readonly title: "Country";
@@ -737,127 +787,146 @@ declare const schema$k: {
737
787
  readonly type: "string";
738
788
  readonly pattern: "^FAC\\d{5}$";
739
789
  };
740
- readonly first_purchased_at: {
790
+ readonly packing_method: {
791
+ readonly type: readonly ["string", "null"];
792
+ readonly enum: readonly ["Standard", "Hanging"];
793
+ };
794
+ readonly is_bought_in_product: {
795
+ readonly type: "boolean";
796
+ };
797
+ };
798
+ readonly required: readonly ["commodity_code_ref", "country_of_origin", "port_of_origin", "supplier_id", "supplier_name", "factory_id", "packing_method", "is_bought_in_product"];
799
+ };
800
+ readonly merch: {
801
+ readonly type: "object";
802
+ readonly properties: {
803
+ readonly strategy_type: {
804
+ readonly type: "string";
805
+ };
806
+ readonly product_type: {
807
+ readonly type: "string";
808
+ };
809
+ readonly category: {
810
+ readonly type: "string";
811
+ };
812
+ readonly subcategory: {
741
813
  readonly type: "string";
742
- readonly format: "date-time";
743
814
  };
744
815
  readonly range: {
745
816
  readonly type: readonly ["string", "null"];
746
817
  readonly enum: readonly ["Main Collection", "Seasonal"];
747
818
  };
748
- readonly channel_exclusivity: {
749
- readonly type: readonly ["string", "null"];
819
+ readonly channels_availability: {
820
+ readonly type: readonly ["array"];
821
+ readonly items: {
822
+ readonly type: "string";
823
+ readonly enum: readonly ["DIRECT-UK", "DIRECT-INT", "DIRECT-US", "JL-STORES", "JL-WEB", "NEXT", "MS", "FENWICK", "MORLEYS"];
824
+ };
750
825
  };
751
826
  readonly collections: {
752
827
  readonly type: readonly ["string"];
753
828
  };
754
829
  readonly seasons: {
755
- readonly type: readonly ["string"];
756
- readonly pattern: "^(AW|SS|FW|SP)[0-9]{2}$";
830
+ readonly type: readonly ["array"];
831
+ readonly items: {
832
+ readonly type: "string";
833
+ readonly pattern: "^(AW|SS|FW|SP)[0-9]{2}$";
834
+ };
757
835
  };
758
- readonly block: {
759
- readonly type: "string";
836
+ readonly drops: {
837
+ readonly type: readonly ["array"];
838
+ readonly items: {
839
+ readonly type: "string";
840
+ readonly pattern: "^(AW|SS|FW|SP)[0-9]{2} - .+";
841
+ };
760
842
  };
761
- readonly packing_method: {
843
+ readonly fashionability: {
762
844
  readonly type: readonly ["string", "null"];
763
- readonly enum: readonly ["Standard", "Hanging"];
764
845
  };
765
- readonly is_bought_in_product: {
766
- readonly type: "boolean";
846
+ };
847
+ readonly required: readonly ["strategy_type", "product_type", "category", "subcategory", "range", "channels_availability", "collections", "seasons", "drops", "fashionability"];
848
+ };
849
+ readonly attributes: {
850
+ readonly type: "object";
851
+ readonly properties: {
852
+ readonly main_fibre: {
853
+ readonly type: readonly ["string", "null"];
767
854
  };
768
- readonly division: {
855
+ readonly main_metal: {
769
856
  readonly type: readonly ["string", "null"];
770
- readonly enum: readonly ["Women"];
771
857
  };
772
- readonly drops: {
773
- readonly type: readonly ["string"];
858
+ readonly extra_selling_points: {
859
+ readonly type: "array";
860
+ readonly items: {
861
+ readonly type: "string";
862
+ };
774
863
  };
775
- readonly first_markdown_at: {
776
- readonly type: "string";
777
- readonly format: "date-time";
864
+ readonly length_measurement: {
865
+ readonly type: readonly ["string", "null"];
778
866
  };
779
- readonly measurement_table: {
867
+ readonly measurement_table_code: {
780
868
  readonly type: readonly ["string"];
781
869
  };
782
- readonly stock_type: {
783
- readonly type: "string";
784
- };
785
870
  readonly development_type: {
786
871
  readonly type: "string";
787
872
  readonly enum: readonly ["Update", "Repeat", "Re-Colour", "New"];
788
873
  };
789
874
  readonly occasion: {
790
- readonly type: "string";
791
- };
792
- readonly strategy_type: {
793
- readonly type: "string";
875
+ readonly type: readonly ["string", "null"];
794
876
  };
795
877
  readonly pattern_name: {
796
- readonly type: "string";
878
+ readonly type: readonly ["string", "null"];
797
879
  };
798
880
  readonly fit_type: {
799
- readonly type: "string";
881
+ readonly type: readonly ["string", "null"];
800
882
  };
801
883
  readonly neckline: {
802
- readonly type: "string";
884
+ readonly type: readonly ["string", "null"];
803
885
  };
804
886
  readonly sleeve_length: {
805
- readonly type: "string";
887
+ readonly type: readonly ["string", "null"];
806
888
  readonly nullable: true;
807
889
  };
808
890
  readonly heel_height: {
809
891
  readonly type: readonly ["string", "null"];
810
892
  };
811
893
  readonly heel_shape: {
812
- readonly type: "string";
894
+ readonly type: readonly ["string", "null"];
813
895
  };
814
896
  readonly toe_shape: {
815
- readonly type: "string";
897
+ readonly type: readonly ["string", "null"];
816
898
  };
817
899
  readonly trouser_fit: {
818
- readonly type: "string";
900
+ readonly type: readonly ["string", "null"];
819
901
  readonly nullable: true;
820
902
  };
821
903
  readonly leg_length: {
822
- readonly type: "string";
823
- readonly nullable: true;
904
+ readonly type: readonly ["string", "null"];
824
905
  };
825
906
  readonly handle_straps: {
826
- readonly type: "string";
907
+ readonly type: readonly ["string", "null"];
827
908
  };
828
909
  readonly fastening: {
829
- readonly type: "string";
830
- };
831
- readonly sole_code: {
832
- readonly type: "string";
833
- };
834
- readonly fashionability: {
835
910
  readonly type: readonly ["string", "null"];
836
- readonly enum: readonly ["Core"];
837
911
  };
838
- readonly weight: {
839
- readonly type: "number";
840
- readonly minimum: 1;
841
- };
842
- readonly average_weight_grams: {
843
- readonly type: "number";
844
- readonly minimum: 1;
912
+ readonly sole_material: {
913
+ readonly type: readonly ["string", "null"];
845
914
  };
846
915
  readonly care_instructions: {
847
- readonly type: "string";
848
- };
849
- readonly size_guide: {
850
- readonly type: "string";
916
+ readonly type: "array";
917
+ readonly items: {
918
+ readonly type: "string";
919
+ };
851
920
  };
852
921
  };
853
- readonly required: readonly ["main_fibre", "merch_product_category", "product_type", "pattern_name", "fit_type", "care_instructions", "size_guide", "block", "stock_type", "packing_method", "is_bought_in_product", "merch_product_subcategory", "division", "range", "occasion", "strategy_type", "neckline", "sleeve_length", "leg_length", "heel_height", "heel_shape", "toe_shape", "handle_straps", "fastening", "sole_code", "fashionability", "weight", "average_weight_grams", "length_measurement"];
922
+ readonly required: readonly ["main_fibre", "main_metal", "extra_selling_points", "length_measurement", "measurement_table_code", "development_type", "occasion", "pattern_name", "fit_type", "neckline", "sleeve_length", "heel_height", "heel_shape", "toe_shape", "trouser_fit", "leg_length", "handle_straps", "fastening", "sole_material", "care_instructions"];
854
923
  };
855
924
  };
856
- 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"];
925
+ readonly required: readonly ["product_id", "style_id", "product_name", "seo", "available_to_sell_from", "display_types", "online_from", "online_to", "last_online_at", "first_purchased_at", "first_markdown_at", "created_at", "last_modified_at", "colour_family_name", "colour_code", "colour_name", "variants", "images", "vat_rate_uk", "supply_chain", "merch", "attributes"];
857
926
  readonly $id: "https://shushed.example.com/product.schema.json";
858
927
  };
859
928
 
860
- declare const schema$j: {
929
+ declare const schema$k: {
861
930
  readonly $schema: "http://json-schema.org/draft-07/schema#";
862
931
  readonly title: "Total";
863
932
  readonly type: "object";
@@ -1030,6 +1099,38 @@ declare const schema$j: {
1030
1099
  readonly $id: "https://shushed.example.com/total.schema.json";
1031
1100
  };
1032
1101
 
1102
+ declare const schema$j: {
1103
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
1104
+ readonly title: "CategoryAssigned";
1105
+ readonly additionalProperties: false;
1106
+ readonly allOf: readonly [{
1107
+ readonly $schema: "http://json-schema.org/draft-07/schema#";
1108
+ readonly title: "CategoryAssigned";
1109
+ readonly type: "object";
1110
+ readonly additionalProperties: false;
1111
+ readonly properties: {
1112
+ readonly product_id: {
1113
+ readonly type: "string";
1114
+ };
1115
+ readonly category_id: {
1116
+ readonly type: "string";
1117
+ };
1118
+ readonly site_id: {
1119
+ readonly type: "string";
1120
+ };
1121
+ readonly is_assigned: {
1122
+ readonly type: "boolean";
1123
+ };
1124
+ };
1125
+ readonly required: readonly ["product_id", "category_id", "site_id", "is_assigned"];
1126
+ }, {
1127
+ readonly type: "object";
1128
+ readonly additionalProperties: false;
1129
+ readonly required: readonly ["product_id", "category_id", "site_id", "is_assigned"];
1130
+ }];
1131
+ readonly $id: "https://shushed.example.com/messages/category-assigned-message.schema.json";
1132
+ };
1133
+
1033
1134
  declare const schema$i: {
1034
1135
  readonly $schema: "http://json-schema.org/draft-07/schema#";
1035
1136
  readonly title: "EANChange";
@@ -1063,6 +1164,9 @@ declare const schema$h: {
1063
1164
  readonly colour_id: {
1064
1165
  readonly type: readonly ["string", "null"];
1065
1166
  };
1167
+ readonly pricelist_code: {
1168
+ readonly type: "string";
1169
+ };
1066
1170
  readonly full_price: {
1067
1171
  readonly type: "integer";
1068
1172
  readonly minimum: 0;
@@ -1093,7 +1197,7 @@ declare const schema$h: {
1093
1197
  readonly type: "string";
1094
1198
  };
1095
1199
  };
1096
- readonly required: readonly ["style_id", "colour_id", "full_price", "markdown", "pos", "currency", "effective_from", "channel"];
1200
+ readonly required: readonly ["style_id", "colour_id", "pricelist_code", "full_price", "markdown", "pos", "currency", "effective_from", "channel"];
1097
1201
  }, {
1098
1202
  readonly type: "object";
1099
1203
  readonly additionalProperties: false;
@@ -1632,15 +1736,60 @@ declare const schema$f: {
1632
1736
  readonly style_id: {
1633
1737
  readonly type: readonly ["string"];
1634
1738
  };
1635
- readonly colour_code: {
1739
+ readonly product_name: {
1636
1740
  readonly type: "string";
1637
- readonly pattern: "^[a-z]+(-[a-z]+)*$";
1638
1741
  };
1639
- readonly product_name: {
1742
+ readonly display_types: {
1743
+ readonly type: "array";
1744
+ readonly items: {
1745
+ readonly type: "object";
1746
+ readonly properties: {
1747
+ readonly channel: {
1748
+ readonly type: "string";
1749
+ readonly enum: readonly ["DIRECT-UK", "DIRECT-INT", "DIRECT-US"];
1750
+ };
1751
+ readonly display_type: {
1752
+ readonly type: "string";
1753
+ readonly enum: readonly ["Out-of-stock", "Permanently-unavailable"];
1754
+ };
1755
+ };
1756
+ };
1757
+ };
1758
+ readonly seo: {
1759
+ readonly type: "object";
1760
+ readonly properties: {
1761
+ readonly url_name: {
1762
+ readonly pattern: "^[a-z-]+$";
1763
+ };
1764
+ readonly title: {
1765
+ readonly type: readonly ["string", "null"];
1766
+ };
1767
+ };
1768
+ readonly required: readonly ["url_name", "title", "description"];
1769
+ };
1770
+ readonly available_to_sell_from: {
1771
+ readonly type: readonly ["string", "null"];
1772
+ readonly format: "date";
1773
+ };
1774
+ readonly online_from: {
1640
1775
  readonly type: "string";
1776
+ readonly format: "date-time";
1641
1777
  };
1642
- readonly is_available_to_order: {
1643
- readonly type: "boolean";
1778
+ readonly online_to: {
1779
+ readonly type: readonly ["string", "null"];
1780
+ readonly format: "date-time";
1781
+ };
1782
+ readonly last_online_at: {
1783
+ readonly type: readonly ["string", "null"];
1784
+ readonly format: "date-time";
1785
+ };
1786
+ readonly first_purchased_at: {
1787
+ readonly type: "string";
1788
+ readonly format: "date-time";
1789
+ };
1790
+ readonly first_markdown_at: {
1791
+ readonly type: "string";
1792
+ readonly format: "date-time";
1644
1793
  };
1645
1794
  readonly created_at: {
1646
1795
  readonly type: "string";
@@ -1653,73 +1802,52 @@ declare const schema$f: {
1653
1802
  readonly colour_family_name: {
1654
1803
  readonly type: "string";
1655
1804
  };
1656
- readonly colour_label: {
1805
+ readonly colour_code: {
1806
+ readonly type: "string";
1807
+ readonly pattern: "^[a-z]+(-[a-z]+)*$";
1808
+ };
1809
+ readonly colour_name: {
1657
1810
  readonly type: "string";
1658
- readonly pattern: "^[A-Z][a-z]+( [A-Z][a-z]+)*$";
1659
1811
  };
1660
1812
  readonly variants: {
1661
1813
  readonly type: "array";
1662
1814
  readonly items: {
1663
1815
  readonly type: "object";
1664
1816
  readonly properties: {
1665
- readonly size: {
1817
+ readonly code: {
1666
1818
  readonly type: "string";
1667
1819
  };
1668
- readonly size_label: {
1820
+ readonly name: {
1669
1821
  readonly type: readonly ["string"];
1670
1822
  };
1671
1823
  };
1672
- readonly required: readonly ["size", "size_label"];
1824
+ readonly required: readonly ["code", "name"];
1673
1825
  };
1674
1826
  };
1675
1827
  readonly images: {
1676
1828
  readonly type: "array";
1677
1829
  readonly properties: {
1678
- readonly image_type: {
1830
+ readonly type: {
1679
1831
  readonly type: "string";
1680
- readonly enum: readonly ["Campaign", "Ecom x 4", "Flat lay", "UGC (multiple)", "AI Images"];
1832
+ readonly enum: readonly ["Campaign", "Ecom", "Flatlay", "UGC", "AI"];
1681
1833
  };
1682
- readonly image_url: {
1834
+ readonly url: {
1683
1835
  readonly type: "string";
1684
1836
  readonly format: "uri";
1685
1837
  };
1686
- readonly path: {
1687
- readonly type: "string";
1688
- };
1689
- readonly title: {
1690
- readonly type: "string";
1691
- };
1692
1838
  };
1693
- readonly required: readonly ["image_type", "image_url", "path", "title"];
1839
+ readonly required: readonly ["type", "url"];
1694
1840
  };
1695
- readonly vat_amount: {
1841
+ readonly vat_rate_uk: {
1696
1842
  readonly type: "number";
1697
1843
  readonly minimum: 0;
1698
1844
  };
1699
- readonly commodity_code_ref: {
1700
- readonly type: "string";
1701
- };
1702
- readonly attributes: {
1845
+ readonly supply_chain: {
1703
1846
  readonly type: "object";
1704
1847
  readonly properties: {
1705
- readonly product_type: {
1706
- readonly type: "string";
1707
- };
1708
- readonly main_fibre: {
1709
- readonly type: "string";
1710
- };
1711
- readonly merch_product_category: {
1712
- readonly type: "string";
1713
- };
1714
- readonly merch_product_subcategory: {
1715
- readonly type: "string";
1716
- };
1717
- readonly extra_selling_point: {
1848
+ readonly commodity_code_ref: {
1718
1849
  readonly type: "string";
1719
1850
  };
1720
- readonly length_measurement: {
1721
- readonly type: readonly ["string", "null"];
1722
- };
1723
1851
  readonly country_of_origin: {
1724
1852
  readonly $schema: "http://json-schema.org/draft-07/schema#";
1725
1853
  readonly title: "Country";
@@ -1741,123 +1869,142 @@ declare const schema$f: {
1741
1869
  readonly type: "string";
1742
1870
  readonly pattern: "^FAC\\d{5}$";
1743
1871
  };
1744
- readonly first_purchased_at: {
1872
+ readonly packing_method: {
1873
+ readonly type: readonly ["string", "null"];
1874
+ readonly enum: readonly ["Standard", "Hanging"];
1875
+ };
1876
+ readonly is_bought_in_product: {
1877
+ readonly type: "boolean";
1878
+ };
1879
+ };
1880
+ readonly required: readonly ["commodity_code_ref", "country_of_origin", "port_of_origin", "supplier_id", "supplier_name", "factory_id", "packing_method", "is_bought_in_product"];
1881
+ };
1882
+ readonly merch: {
1883
+ readonly type: "object";
1884
+ readonly properties: {
1885
+ readonly strategy_type: {
1886
+ readonly type: "string";
1887
+ };
1888
+ readonly product_type: {
1889
+ readonly type: "string";
1890
+ };
1891
+ readonly category: {
1892
+ readonly type: "string";
1893
+ };
1894
+ readonly subcategory: {
1745
1895
  readonly type: "string";
1746
- readonly format: "date-time";
1747
1896
  };
1748
1897
  readonly range: {
1749
1898
  readonly type: readonly ["string", "null"];
1750
1899
  readonly enum: readonly ["Main Collection", "Seasonal"];
1751
1900
  };
1752
- readonly channel_exclusivity: {
1753
- readonly type: readonly ["string", "null"];
1901
+ readonly channels_availability: {
1902
+ readonly type: readonly ["array"];
1903
+ readonly items: {
1904
+ readonly type: "string";
1905
+ readonly enum: readonly ["DIRECT-UK", "DIRECT-INT", "DIRECT-US", "JL-STORES", "JL-WEB", "NEXT", "MS", "FENWICK", "MORLEYS"];
1906
+ };
1754
1907
  };
1755
1908
  readonly collections: {
1756
1909
  readonly type: readonly ["string"];
1757
1910
  };
1758
1911
  readonly seasons: {
1759
- readonly type: readonly ["string"];
1760
- readonly pattern: "^(AW|SS|FW|SP)[0-9]{2}$";
1912
+ readonly type: readonly ["array"];
1913
+ readonly items: {
1914
+ readonly type: "string";
1915
+ readonly pattern: "^(AW|SS|FW|SP)[0-9]{2}$";
1916
+ };
1761
1917
  };
1762
- readonly block: {
1763
- readonly type: "string";
1918
+ readonly drops: {
1919
+ readonly type: readonly ["array"];
1920
+ readonly items: {
1921
+ readonly type: "string";
1922
+ readonly pattern: "^(AW|SS|FW|SP)[0-9]{2} - .+";
1923
+ };
1764
1924
  };
1765
- readonly packing_method: {
1925
+ readonly fashionability: {
1766
1926
  readonly type: readonly ["string", "null"];
1767
- readonly enum: readonly ["Standard", "Hanging"];
1768
1927
  };
1769
- readonly is_bought_in_product: {
1770
- readonly type: "boolean";
1928
+ };
1929
+ readonly required: readonly ["strategy_type", "product_type", "category", "subcategory", "range", "channels_availability", "collections", "seasons", "drops", "fashionability"];
1930
+ };
1931
+ readonly attributes: {
1932
+ readonly type: "object";
1933
+ readonly properties: {
1934
+ readonly main_fibre: {
1935
+ readonly type: readonly ["string", "null"];
1771
1936
  };
1772
- readonly division: {
1937
+ readonly main_metal: {
1773
1938
  readonly type: readonly ["string", "null"];
1774
- readonly enum: readonly ["Women"];
1775
1939
  };
1776
- readonly drops: {
1777
- readonly type: readonly ["string"];
1940
+ readonly extra_selling_points: {
1941
+ readonly type: "array";
1942
+ readonly items: {
1943
+ readonly type: "string";
1944
+ };
1778
1945
  };
1779
- readonly first_markdown_at: {
1780
- readonly type: "string";
1781
- readonly format: "date-time";
1946
+ readonly length_measurement: {
1947
+ readonly type: readonly ["string", "null"];
1782
1948
  };
1783
- readonly measurement_table: {
1949
+ readonly measurement_table_code: {
1784
1950
  readonly type: readonly ["string"];
1785
1951
  };
1786
- readonly stock_type: {
1787
- readonly type: "string";
1788
- };
1789
1952
  readonly development_type: {
1790
1953
  readonly type: "string";
1791
1954
  readonly enum: readonly ["Update", "Repeat", "Re-Colour", "New"];
1792
1955
  };
1793
1956
  readonly occasion: {
1794
- readonly type: "string";
1795
- };
1796
- readonly strategy_type: {
1797
- readonly type: "string";
1957
+ readonly type: readonly ["string", "null"];
1798
1958
  };
1799
1959
  readonly pattern_name: {
1800
- readonly type: "string";
1960
+ readonly type: readonly ["string", "null"];
1801
1961
  };
1802
1962
  readonly fit_type: {
1803
- readonly type: "string";
1963
+ readonly type: readonly ["string", "null"];
1804
1964
  };
1805
1965
  readonly neckline: {
1806
- readonly type: "string";
1966
+ readonly type: readonly ["string", "null"];
1807
1967
  };
1808
1968
  readonly sleeve_length: {
1809
- readonly type: "string";
1969
+ readonly type: readonly ["string", "null"];
1810
1970
  readonly nullable: true;
1811
1971
  };
1812
1972
  readonly heel_height: {
1813
1973
  readonly type: readonly ["string", "null"];
1814
1974
  };
1815
1975
  readonly heel_shape: {
1816
- readonly type: "string";
1976
+ readonly type: readonly ["string", "null"];
1817
1977
  };
1818
1978
  readonly toe_shape: {
1819
- readonly type: "string";
1979
+ readonly type: readonly ["string", "null"];
1820
1980
  };
1821
1981
  readonly trouser_fit: {
1822
- readonly type: "string";
1982
+ readonly type: readonly ["string", "null"];
1823
1983
  readonly nullable: true;
1824
1984
  };
1825
1985
  readonly leg_length: {
1826
- readonly type: "string";
1827
- readonly nullable: true;
1986
+ readonly type: readonly ["string", "null"];
1828
1987
  };
1829
1988
  readonly handle_straps: {
1830
- readonly type: "string";
1989
+ readonly type: readonly ["string", "null"];
1831
1990
  };
1832
1991
  readonly fastening: {
1833
- readonly type: "string";
1834
- };
1835
- readonly sole_code: {
1836
- readonly type: "string";
1837
- };
1838
- readonly fashionability: {
1839
1992
  readonly type: readonly ["string", "null"];
1840
- readonly enum: readonly ["Core"];
1841
1993
  };
1842
- readonly weight: {
1843
- readonly type: "number";
1844
- readonly minimum: 1;
1845
- };
1846
- readonly average_weight_grams: {
1847
- readonly type: "number";
1848
- readonly minimum: 1;
1994
+ readonly sole_material: {
1995
+ readonly type: readonly ["string", "null"];
1849
1996
  };
1850
1997
  readonly care_instructions: {
1851
- readonly type: "string";
1852
- };
1853
- readonly size_guide: {
1854
- readonly type: "string";
1998
+ readonly type: "array";
1999
+ readonly items: {
2000
+ readonly type: "string";
2001
+ };
1855
2002
  };
1856
2003
  };
1857
- readonly required: readonly ["main_fibre", "merch_product_category", "product_type", "pattern_name", "fit_type", "care_instructions", "size_guide", "block", "stock_type", "packing_method", "is_bought_in_product", "merch_product_subcategory", "division", "range", "occasion", "strategy_type", "neckline", "sleeve_length", "leg_length", "heel_height", "heel_shape", "toe_shape", "handle_straps", "fastening", "sole_code", "fashionability", "weight", "average_weight_grams", "length_measurement"];
2004
+ readonly required: readonly ["main_fibre", "main_metal", "extra_selling_points", "length_measurement", "measurement_table_code", "development_type", "occasion", "pattern_name", "fit_type", "neckline", "sleeve_length", "heel_height", "heel_shape", "toe_shape", "trouser_fit", "leg_length", "handle_straps", "fastening", "sole_material", "care_instructions"];
1858
2005
  };
1859
2006
  };
1860
- 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"];
2007
+ readonly required: readonly ["product_id", "style_id", "product_name", "seo", "available_to_sell_from", "display_types", "online_from", "online_to", "last_online_at", "first_purchased_at", "first_markdown_at", "created_at", "last_modified_at", "colour_family_name", "colour_code", "colour_name", "variants", "images", "vat_rate_uk", "supply_chain", "merch", "attributes"];
1861
2008
  }, {
1862
2009
  readonly type: "object";
1863
2010
  readonly additionalProperties: false;
@@ -22949,7 +23096,7 @@ declare namespace index$g {
22949
23096
  }
22950
23097
 
22951
23098
  declare namespace index$f {
22952
- export { schema$i as EanChange, index$g as Order, schema$h as PriceChange, schema$f as Product, schema$g as ProductDraft };
23099
+ export { schema$j as CategoryAssigned, schema$i as EanChange, index$g as Order, schema$h as PriceChange, schema$f as Product, schema$g as ProductDraft };
22953
23100
  }
22954
23101
 
22955
23102
  declare const schema$8: {
@@ -29514,16 +29661,23 @@ declare namespace index$a {
29514
29661
  }
29515
29662
 
29516
29663
  declare namespace index$9 {
29517
- export { schema$p as Country, schema$o as Currency, index$f as Messages, schema$n as Money, index$a as Order, schema$m as Price, schema$k as Product, schema$l as ProductDraft, schema$j as Total };
29664
+ export { schema$r as CategoryAssigned, schema$q as Country, schema$p as Currency, index$f as Messages, schema$o as Money, index$a as Order, schema$n as Price, schema$l as Product, schema$m as ProductDraft, schema$k as Total };
29518
29665
  }
29519
29666
 
29520
- type __MainSchema$u = ("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");
29667
+ interface __MainSchema$w {
29668
+ product_id: string;
29669
+ category_id: string;
29670
+ site_id: string;
29671
+ is_assigned: boolean;
29672
+ }
29673
+
29674
+ type __MainSchema$v = ("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");
29521
29675
 
29522
- type __MainSchema$t = ("AFN" | "ALL" | "DZD" | "USD" | "EUR" | "AOA" | "XCD" | "ARS" | "AMD" | "AWG" | "AUD" | "AZN" | "BSD" | "BHD" | "BDT" | "BBD" | "BYN" | "BZD" | "XOF" | "BMD" | "BTN" | "INR" | "BOB" | "BOV" | "BAM" | "BWP" | "NOK" | "BRL" | "BND" | "BGN" | "BIF" | "CVE" | "KHR" | "XAF" | "CAD" | "KYD" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "KMF" | "CDF" | "NZD" | "CRC" | "CUC" | "CUP" | "ANG" | "CZK" | "DKK" | "DJF" | "DOP" | "EGP" | "SVC" | "ERN" | "ETB" | "FKP" | "FJD" | "XPF" | "GMD" | "GEL" | "GHS" | "GIP" | "GTQ" | "GBP" | "GNF" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "IDR" | "XDR" | "IRR" | "IQD" | "ILS" | "JMD" | "JPY" | "JOD" | "KZT" | "KES" | "KPW" | "KRW" | "KWD" | "KGS" | "LAK" | "LBP" | "LSL" | "ZAR" | "LRD" | "LYD" | "CHF" | "MOP" | "MGA" | "MWK" | "MYR" | "MVR" | "MRU" | "MUR" | "XUA" | "MXN" | "MXV" | "MDL" | "MNT" | "MAD" | "MZN" | "MMK" | "NAD" | "NPR" | "NIO" | "NGN" | "OMR" | "PKR" | "PAB" | "PGK" | "PYG" | "PEN" | "PHP" | "PLN" | "QAR" | "MKD" | "RON" | "RUB" | "RWF" | "SHP" | "WST" | "STN" | "SAR" | "RSD" | "SCR" | "SLE" | "SGD" | "XSU" | "SBD" | "SOS" | "SSP" | "LKR" | "SDG" | "SRD" | "SZL" | "SEK" | "CHE" | "CHW" | "SYP" | "TWD" | "TJS" | "TZS" | "THB" | "TOP" | "TTD" | "TND" | "TRY" | "TMT" | "UGX" | "UAH" | "AED" | "USN" | "UYI" | "UYU" | "UZS" | "VUV" | "VEF" | "VED" | "VND" | "YER" | "ZMW" | "ZWL");
29676
+ type __MainSchema$u = ("AFN" | "ALL" | "DZD" | "USD" | "EUR" | "AOA" | "XCD" | "ARS" | "AMD" | "AWG" | "AUD" | "AZN" | "BSD" | "BHD" | "BDT" | "BBD" | "BYN" | "BZD" | "XOF" | "BMD" | "BTN" | "INR" | "BOB" | "BOV" | "BAM" | "BWP" | "NOK" | "BRL" | "BND" | "BGN" | "BIF" | "CVE" | "KHR" | "XAF" | "CAD" | "KYD" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "KMF" | "CDF" | "NZD" | "CRC" | "CUC" | "CUP" | "ANG" | "CZK" | "DKK" | "DJF" | "DOP" | "EGP" | "SVC" | "ERN" | "ETB" | "FKP" | "FJD" | "XPF" | "GMD" | "GEL" | "GHS" | "GIP" | "GTQ" | "GBP" | "GNF" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "IDR" | "XDR" | "IRR" | "IQD" | "ILS" | "JMD" | "JPY" | "JOD" | "KZT" | "KES" | "KPW" | "KRW" | "KWD" | "KGS" | "LAK" | "LBP" | "LSL" | "ZAR" | "LRD" | "LYD" | "CHF" | "MOP" | "MGA" | "MWK" | "MYR" | "MVR" | "MRU" | "MUR" | "XUA" | "MXN" | "MXV" | "MDL" | "MNT" | "MAD" | "MZN" | "MMK" | "NAD" | "NPR" | "NIO" | "NGN" | "OMR" | "PKR" | "PAB" | "PGK" | "PYG" | "PEN" | "PHP" | "PLN" | "QAR" | "MKD" | "RON" | "RUB" | "RWF" | "SHP" | "WST" | "STN" | "SAR" | "RSD" | "SCR" | "SLE" | "SGD" | "XSU" | "SBD" | "SOS" | "SSP" | "LKR" | "SDG" | "SRD" | "SZL" | "SEK" | "CHE" | "CHW" | "SYP" | "TWD" | "TJS" | "TZS" | "THB" | "TOP" | "TTD" | "TND" | "TRY" | "TMT" | "UGX" | "UAH" | "AED" | "USN" | "UYI" | "UYU" | "UZS" | "VUV" | "VEF" | "VED" | "VND" | "YER" | "ZMW" | "ZWL");
29523
29677
 
29524
29678
  type Currency$l = ("AFN" | "ALL" | "DZD" | "USD" | "EUR" | "AOA" | "XCD" | "ARS" | "AMD" | "AWG" | "AUD" | "AZN" | "BSD" | "BHD" | "BDT" | "BBD" | "BYN" | "BZD" | "XOF" | "BMD" | "BTN" | "INR" | "BOB" | "BOV" | "BAM" | "BWP" | "NOK" | "BRL" | "BND" | "BGN" | "BIF" | "CVE" | "KHR" | "XAF" | "CAD" | "KYD" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "KMF" | "CDF" | "NZD" | "CRC" | "CUC" | "CUP" | "ANG" | "CZK" | "DKK" | "DJF" | "DOP" | "EGP" | "SVC" | "ERN" | "ETB" | "FKP" | "FJD" | "XPF" | "GMD" | "GEL" | "GHS" | "GIP" | "GTQ" | "GBP" | "GNF" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "IDR" | "XDR" | "IRR" | "IQD" | "ILS" | "JMD" | "JPY" | "JOD" | "KZT" | "KES" | "KPW" | "KRW" | "KWD" | "KGS" | "LAK" | "LBP" | "LSL" | "ZAR" | "LRD" | "LYD" | "CHF" | "MOP" | "MGA" | "MWK" | "MYR" | "MVR" | "MRU" | "MUR" | "XUA" | "MXN" | "MXV" | "MDL" | "MNT" | "MAD" | "MZN" | "MMK" | "NAD" | "NPR" | "NIO" | "NGN" | "OMR" | "PKR" | "PAB" | "PGK" | "PYG" | "PEN" | "PHP" | "PLN" | "QAR" | "MKD" | "RON" | "RUB" | "RWF" | "SHP" | "WST" | "STN" | "SAR" | "RSD" | "SCR" | "SLE" | "SGD" | "XSU" | "SBD" | "SOS" | "SSP" | "LKR" | "SDG" | "SRD" | "SZL" | "SEK" | "CHE" | "CHW" | "SYP" | "TWD" | "TJS" | "TZS" | "THB" | "TOP" | "TTD" | "TND" | "TRY" | "TMT" | "UGX" | "UAH" | "AED" | "USN" | "UYI" | "UYU" | "UZS" | "VUV" | "VEF" | "VED" | "VND" | "YER" | "ZMW" | "ZWL");
29525
29679
  type LCYCurrency$j = ("AFN" | "ALL" | "DZD" | "USD" | "EUR" | "AOA" | "XCD" | "ARS" | "AMD" | "AWG" | "AUD" | "AZN" | "BSD" | "BHD" | "BDT" | "BBD" | "BYN" | "BZD" | "XOF" | "BMD" | "BTN" | "INR" | "BOB" | "BOV" | "BAM" | "BWP" | "NOK" | "BRL" | "BND" | "BGN" | "BIF" | "CVE" | "KHR" | "XAF" | "CAD" | "KYD" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "KMF" | "CDF" | "NZD" | "CRC" | "CUC" | "CUP" | "ANG" | "CZK" | "DKK" | "DJF" | "DOP" | "EGP" | "SVC" | "ERN" | "ETB" | "FKP" | "FJD" | "XPF" | "GMD" | "GEL" | "GHS" | "GIP" | "GTQ" | "GBP" | "GNF" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "IDR" | "XDR" | "IRR" | "IQD" | "ILS" | "JMD" | "JPY" | "JOD" | "KZT" | "KES" | "KPW" | "KRW" | "KWD" | "KGS" | "LAK" | "LBP" | "LSL" | "ZAR" | "LRD" | "LYD" | "CHF" | "MOP" | "MGA" | "MWK" | "MYR" | "MVR" | "MRU" | "MUR" | "XUA" | "MXN" | "MXV" | "MDL" | "MNT" | "MAD" | "MZN" | "MMK" | "NAD" | "NPR" | "NIO" | "NGN" | "OMR" | "PKR" | "PAB" | "PGK" | "PYG" | "PEN" | "PHP" | "PLN" | "QAR" | "MKD" | "RON" | "RUB" | "RWF" | "SHP" | "WST" | "STN" | "SAR" | "RSD" | "SCR" | "SLE" | "SGD" | "XSU" | "SBD" | "SOS" | "SSP" | "LKR" | "SDG" | "SRD" | "SZL" | "SEK" | "CHE" | "CHW" | "SYP" | "TWD" | "TJS" | "TZS" | "THB" | "TOP" | "TTD" | "TND" | "TRY" | "TMT" | "UGX" | "UAH" | "AED" | "USN" | "UYI" | "UYU" | "UZS" | "VUV" | "VEF" | "VED" | "VND" | "YER" | "ZMW" | "ZWL");
29526
- interface __MainSchema$s {
29680
+ interface __MainSchema$t {
29527
29681
  value: number;
29528
29682
  decimal_places: number;
29529
29683
  currency: Currency$l;
@@ -29533,9 +29687,10 @@ interface __MainSchema$s {
29533
29687
  }
29534
29688
 
29535
29689
  type Currency$k = ("AFN" | "ALL" | "DZD" | "USD" | "EUR" | "AOA" | "XCD" | "ARS" | "AMD" | "AWG" | "AUD" | "AZN" | "BSD" | "BHD" | "BDT" | "BBD" | "BYN" | "BZD" | "XOF" | "BMD" | "BTN" | "INR" | "BOB" | "BOV" | "BAM" | "BWP" | "NOK" | "BRL" | "BND" | "BGN" | "BIF" | "CVE" | "KHR" | "XAF" | "CAD" | "KYD" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "KMF" | "CDF" | "NZD" | "CRC" | "CUC" | "CUP" | "ANG" | "CZK" | "DKK" | "DJF" | "DOP" | "EGP" | "SVC" | "ERN" | "ETB" | "FKP" | "FJD" | "XPF" | "GMD" | "GEL" | "GHS" | "GIP" | "GTQ" | "GBP" | "GNF" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "IDR" | "XDR" | "IRR" | "IQD" | "ILS" | "JMD" | "JPY" | "JOD" | "KZT" | "KES" | "KPW" | "KRW" | "KWD" | "KGS" | "LAK" | "LBP" | "LSL" | "ZAR" | "LRD" | "LYD" | "CHF" | "MOP" | "MGA" | "MWK" | "MYR" | "MVR" | "MRU" | "MUR" | "XUA" | "MXN" | "MXV" | "MDL" | "MNT" | "MAD" | "MZN" | "MMK" | "NAD" | "NPR" | "NIO" | "NGN" | "OMR" | "PKR" | "PAB" | "PGK" | "PYG" | "PEN" | "PHP" | "PLN" | "QAR" | "MKD" | "RON" | "RUB" | "RWF" | "SHP" | "WST" | "STN" | "SAR" | "RSD" | "SCR" | "SLE" | "SGD" | "XSU" | "SBD" | "SOS" | "SSP" | "LKR" | "SDG" | "SRD" | "SZL" | "SEK" | "CHE" | "CHW" | "SYP" | "TWD" | "TJS" | "TZS" | "THB" | "TOP" | "TTD" | "TND" | "TRY" | "TMT" | "UGX" | "UAH" | "AED" | "USN" | "UYI" | "UYU" | "UZS" | "VUV" | "VEF" | "VED" | "VND" | "YER" | "ZMW" | "ZWL");
29536
- interface __MainSchema$r {
29690
+ interface __MainSchema$s {
29537
29691
  style_id: (string | null);
29538
29692
  colour_id: (string | null);
29693
+ pricelist_code: string;
29539
29694
  full_price: number;
29540
29695
  markdown: number;
29541
29696
  pos: number;
@@ -29548,7 +29703,7 @@ interface __MainSchema$r {
29548
29703
  type Currency$j = ("AFN" | "ALL" | "DZD" | "USD" | "EUR" | "AOA" | "XCD" | "ARS" | "AMD" | "AWG" | "AUD" | "AZN" | "BSD" | "BHD" | "BDT" | "BBD" | "BYN" | "BZD" | "XOF" | "BMD" | "BTN" | "INR" | "BOB" | "BOV" | "BAM" | "BWP" | "NOK" | "BRL" | "BND" | "BGN" | "BIF" | "CVE" | "KHR" | "XAF" | "CAD" | "KYD" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "KMF" | "CDF" | "NZD" | "CRC" | "CUC" | "CUP" | "ANG" | "CZK" | "DKK" | "DJF" | "DOP" | "EGP" | "SVC" | "ERN" | "ETB" | "FKP" | "FJD" | "XPF" | "GMD" | "GEL" | "GHS" | "GIP" | "GTQ" | "GBP" | "GNF" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "IDR" | "XDR" | "IRR" | "IQD" | "ILS" | "JMD" | "JPY" | "JOD" | "KZT" | "KES" | "KPW" | "KRW" | "KWD" | "KGS" | "LAK" | "LBP" | "LSL" | "ZAR" | "LRD" | "LYD" | "CHF" | "MOP" | "MGA" | "MWK" | "MYR" | "MVR" | "MRU" | "MUR" | "XUA" | "MXN" | "MXV" | "MDL" | "MNT" | "MAD" | "MZN" | "MMK" | "NAD" | "NPR" | "NIO" | "NGN" | "OMR" | "PKR" | "PAB" | "PGK" | "PYG" | "PEN" | "PHP" | "PLN" | "QAR" | "MKD" | "RON" | "RUB" | "RWF" | "SHP" | "WST" | "STN" | "SAR" | "RSD" | "SCR" | "SLE" | "SGD" | "XSU" | "SBD" | "SOS" | "SSP" | "LKR" | "SDG" | "SRD" | "SZL" | "SEK" | "CHE" | "CHW" | "SYP" | "TWD" | "TJS" | "TZS" | "THB" | "TOP" | "TTD" | "TND" | "TRY" | "TMT" | "UGX" | "UAH" | "AED" | "USN" | "UYI" | "UYU" | "UZS" | "VUV" | "VEF" | "VED" | "VND" | "YER" | "ZMW" | "ZWL");
29549
29704
  type LCYCurrency$i = ("AFN" | "ALL" | "DZD" | "USD" | "EUR" | "AOA" | "XCD" | "ARS" | "AMD" | "AWG" | "AUD" | "AZN" | "BSD" | "BHD" | "BDT" | "BBD" | "BYN" | "BZD" | "XOF" | "BMD" | "BTN" | "INR" | "BOB" | "BOV" | "BAM" | "BWP" | "NOK" | "BRL" | "BND" | "BGN" | "BIF" | "CVE" | "KHR" | "XAF" | "CAD" | "KYD" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "KMF" | "CDF" | "NZD" | "CRC" | "CUC" | "CUP" | "ANG" | "CZK" | "DKK" | "DJF" | "DOP" | "EGP" | "SVC" | "ERN" | "ETB" | "FKP" | "FJD" | "XPF" | "GMD" | "GEL" | "GHS" | "GIP" | "GTQ" | "GBP" | "GNF" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "IDR" | "XDR" | "IRR" | "IQD" | "ILS" | "JMD" | "JPY" | "JOD" | "KZT" | "KES" | "KPW" | "KRW" | "KWD" | "KGS" | "LAK" | "LBP" | "LSL" | "ZAR" | "LRD" | "LYD" | "CHF" | "MOP" | "MGA" | "MWK" | "MYR" | "MVR" | "MRU" | "MUR" | "XUA" | "MXN" | "MXV" | "MDL" | "MNT" | "MAD" | "MZN" | "MMK" | "NAD" | "NPR" | "NIO" | "NGN" | "OMR" | "PKR" | "PAB" | "PGK" | "PYG" | "PEN" | "PHP" | "PLN" | "QAR" | "MKD" | "RON" | "RUB" | "RWF" | "SHP" | "WST" | "STN" | "SAR" | "RSD" | "SCR" | "SLE" | "SGD" | "XSU" | "SBD" | "SOS" | "SSP" | "LKR" | "SDG" | "SRD" | "SZL" | "SEK" | "CHE" | "CHW" | "SYP" | "TWD" | "TJS" | "TZS" | "THB" | "TOP" | "TTD" | "TND" | "TRY" | "TMT" | "UGX" | "UAH" | "AED" | "USN" | "UYI" | "UYU" | "UZS" | "VUV" | "VEF" | "VED" | "VND" | "YER" | "ZMW" | "ZWL");
29550
29705
  type Country$c = ("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");
29551
- interface __MainSchema$q {
29706
+ interface __MainSchema$r {
29552
29707
  product_id: string;
29553
29708
  product_name: string;
29554
29709
  colour_label: string;
@@ -29634,69 +29789,87 @@ interface Money$a {
29634
29789
  }
29635
29790
 
29636
29791
  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");
29637
- interface __MainSchema$p {
29792
+ interface __MainSchema$q {
29638
29793
  product_id: string;
29794
+ description?: string;
29639
29795
  style_id: string;
29640
- colour_code?: string;
29641
29796
  product_name: string;
29642
- is_available_to_order: boolean;
29797
+ display_types: {
29798
+ channel?: ("DIRECT-UK" | "DIRECT-INT" | "DIRECT-US");
29799
+ display_type?: ("Out-of-stock" | "Permanently-unavailable");
29800
+ [k: string]: unknown;
29801
+ }[];
29802
+ seo: {
29803
+ url_name: {
29804
+ [k: string]: unknown;
29805
+ };
29806
+ title: (string | null);
29807
+ description: (string | null);
29808
+ [k: string]: unknown;
29809
+ };
29810
+ available_to_sell_from: (string | null);
29811
+ online_from: string;
29812
+ online_to: (string | null);
29813
+ last_online_at: (string | null);
29814
+ first_purchased_at: string;
29815
+ first_markdown_at: string;
29643
29816
  created_at: string;
29644
29817
  last_modified_at: string;
29645
29818
  colour_family_name: string;
29646
- colour_label: string;
29819
+ colour_code: string;
29820
+ colour_name: string;
29647
29821
  variants: {
29648
- size: string;
29649
- size_label: string;
29822
+ code: string;
29823
+ name: string;
29650
29824
  [k: string]: unknown;
29651
29825
  }[];
29652
29826
  images: unknown[];
29653
- vat_amount: number;
29654
- commodity_code_ref?: string;
29655
- attributes: {
29656
- product_type: string;
29657
- main_fibre: string;
29658
- merch_product_category: string;
29659
- merch_product_subcategory: string;
29660
- extra_selling_point?: string;
29661
- length_measurement: (string | null);
29662
- country_of_origin?: Country$b;
29663
- port_of_origin?: string;
29664
- supplier_id?: string;
29665
- supplier_name?: string;
29666
- factory_id?: string;
29667
- first_purchased_at?: string;
29668
- range: (("Main Collection" | "Seasonal") | null);
29669
- channel_exclusivity?: (string | null);
29670
- collections?: string;
29671
- seasons?: string;
29672
- block: string;
29827
+ vat_rate_uk: number;
29828
+ supply_chain: {
29829
+ commodity_code_ref: string;
29830
+ country_of_origin: Country$b;
29831
+ port_of_origin: string;
29832
+ supplier_id: string;
29833
+ supplier_name: string;
29834
+ factory_id: string;
29673
29835
  packing_method: (("Standard" | "Hanging") | null);
29674
29836
  is_bought_in_product: boolean;
29675
- division: ("Women" | null);
29676
- drops?: string;
29677
- first_markdown_at?: string;
29678
- measurement_table?: string;
29679
- stock_type: string;
29680
- development_type?: ("Update" | "Repeat" | "Re-Colour" | "New");
29681
- occasion: string;
29837
+ [k: string]: unknown;
29838
+ };
29839
+ merch: {
29682
29840
  strategy_type: string;
29683
- pattern_name: string;
29684
- fit_type: string;
29685
- neckline: string;
29686
- sleeve_length: string;
29841
+ product_type: string;
29842
+ category: string;
29843
+ subcategory: string;
29844
+ range: (("Main Collection" | "Seasonal") | null);
29845
+ channels_availability: ("DIRECT-UK" | "DIRECT-INT" | "DIRECT-US" | "JL-STORES" | "JL-WEB" | "NEXT" | "MS" | "FENWICK" | "MORLEYS")[];
29846
+ collections: string;
29847
+ seasons: string[];
29848
+ drops: string[];
29849
+ fashionability: (string | null);
29850
+ [k: string]: unknown;
29851
+ };
29852
+ attributes: {
29853
+ main_fibre: (string | null);
29854
+ main_metal: (string | null);
29855
+ extra_selling_points: string[];
29856
+ length_measurement: (string | null);
29857
+ measurement_table_code: string;
29858
+ development_type: ("Update" | "Repeat" | "Re-Colour" | "New");
29859
+ occasion: (string | null);
29860
+ pattern_name: (string | null);
29861
+ fit_type: (string | null);
29862
+ neckline: (string | null);
29863
+ sleeve_length: (string | null);
29687
29864
  heel_height: (string | null);
29688
- heel_shape: string;
29689
- toe_shape: string;
29690
- trouser_fit?: string;
29691
- leg_length: string;
29692
- handle_straps: string;
29693
- fastening: string;
29694
- sole_code: string;
29695
- fashionability: ("Core" | null);
29696
- weight: number;
29697
- average_weight_grams: number;
29698
- care_instructions: string;
29699
- size_guide: string;
29865
+ heel_shape: (string | null);
29866
+ toe_shape: (string | null);
29867
+ trouser_fit: (string | null);
29868
+ leg_length: (string | null);
29869
+ handle_straps: (string | null);
29870
+ fastening: (string | null);
29871
+ sole_material: (string | null);
29872
+ care_instructions: string[];
29700
29873
  [k: string]: unknown;
29701
29874
  };
29702
29875
  }
@@ -29704,7 +29877,7 @@ interface __MainSchema$p {
29704
29877
  type Currency$i = ("AFN" | "ALL" | "DZD" | "USD" | "EUR" | "AOA" | "XCD" | "ARS" | "AMD" | "AWG" | "AUD" | "AZN" | "BSD" | "BHD" | "BDT" | "BBD" | "BYN" | "BZD" | "XOF" | "BMD" | "BTN" | "INR" | "BOB" | "BOV" | "BAM" | "BWP" | "NOK" | "BRL" | "BND" | "BGN" | "BIF" | "CVE" | "KHR" | "XAF" | "CAD" | "KYD" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "KMF" | "CDF" | "NZD" | "CRC" | "CUC" | "CUP" | "ANG" | "CZK" | "DKK" | "DJF" | "DOP" | "EGP" | "SVC" | "ERN" | "ETB" | "FKP" | "FJD" | "XPF" | "GMD" | "GEL" | "GHS" | "GIP" | "GTQ" | "GBP" | "GNF" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "IDR" | "XDR" | "IRR" | "IQD" | "ILS" | "JMD" | "JPY" | "JOD" | "KZT" | "KES" | "KPW" | "KRW" | "KWD" | "KGS" | "LAK" | "LBP" | "LSL" | "ZAR" | "LRD" | "LYD" | "CHF" | "MOP" | "MGA" | "MWK" | "MYR" | "MVR" | "MRU" | "MUR" | "XUA" | "MXN" | "MXV" | "MDL" | "MNT" | "MAD" | "MZN" | "MMK" | "NAD" | "NPR" | "NIO" | "NGN" | "OMR" | "PKR" | "PAB" | "PGK" | "PYG" | "PEN" | "PHP" | "PLN" | "QAR" | "MKD" | "RON" | "RUB" | "RWF" | "SHP" | "WST" | "STN" | "SAR" | "RSD" | "SCR" | "SLE" | "SGD" | "XSU" | "SBD" | "SOS" | "SSP" | "LKR" | "SDG" | "SRD" | "SZL" | "SEK" | "CHE" | "CHW" | "SYP" | "TWD" | "TJS" | "TZS" | "THB" | "TOP" | "TTD" | "TND" | "TRY" | "TMT" | "UGX" | "UAH" | "AED" | "USN" | "UYI" | "UYU" | "UZS" | "VUV" | "VEF" | "VED" | "VND" | "YER" | "ZMW" | "ZWL");
29705
29878
  type LCYCurrency$h = ("AFN" | "ALL" | "DZD" | "USD" | "EUR" | "AOA" | "XCD" | "ARS" | "AMD" | "AWG" | "AUD" | "AZN" | "BSD" | "BHD" | "BDT" | "BBD" | "BYN" | "BZD" | "XOF" | "BMD" | "BTN" | "INR" | "BOB" | "BOV" | "BAM" | "BWP" | "NOK" | "BRL" | "BND" | "BGN" | "BIF" | "CVE" | "KHR" | "XAF" | "CAD" | "KYD" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "KMF" | "CDF" | "NZD" | "CRC" | "CUC" | "CUP" | "ANG" | "CZK" | "DKK" | "DJF" | "DOP" | "EGP" | "SVC" | "ERN" | "ETB" | "FKP" | "FJD" | "XPF" | "GMD" | "GEL" | "GHS" | "GIP" | "GTQ" | "GBP" | "GNF" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "IDR" | "XDR" | "IRR" | "IQD" | "ILS" | "JMD" | "JPY" | "JOD" | "KZT" | "KES" | "KPW" | "KRW" | "KWD" | "KGS" | "LAK" | "LBP" | "LSL" | "ZAR" | "LRD" | "LYD" | "CHF" | "MOP" | "MGA" | "MWK" | "MYR" | "MVR" | "MRU" | "MUR" | "XUA" | "MXN" | "MXV" | "MDL" | "MNT" | "MAD" | "MZN" | "MMK" | "NAD" | "NPR" | "NIO" | "NGN" | "OMR" | "PKR" | "PAB" | "PGK" | "PYG" | "PEN" | "PHP" | "PLN" | "QAR" | "MKD" | "RON" | "RUB" | "RWF" | "SHP" | "WST" | "STN" | "SAR" | "RSD" | "SCR" | "SLE" | "SGD" | "XSU" | "SBD" | "SOS" | "SSP" | "LKR" | "SDG" | "SRD" | "SZL" | "SEK" | "CHE" | "CHW" | "SYP" | "TWD" | "TJS" | "TZS" | "THB" | "TOP" | "TTD" | "TND" | "TRY" | "TMT" | "UGX" | "UAH" | "AED" | "USN" | "UYI" | "UYU" | "UZS" | "VUV" | "VEF" | "VED" | "VND" | "YER" | "ZMW" | "ZWL");
29706
29879
  type DiscountAmountPercent$f = number;
29707
- interface __MainSchema$o {
29880
+ interface __MainSchema$p {
29708
29881
  amount_net: AmountNet$f;
29709
29882
  amount_gross: AmountGross$f;
29710
29883
  discount_amount_net: DiscountAmountNet$f;
@@ -29744,6 +29917,14 @@ interface DiscountAmountGross$f {
29744
29917
  lcy_decimal_places: number;
29745
29918
  }
29746
29919
 
29920
+ type __MainSchema$o = (CategoryAssigned & {});
29921
+ interface CategoryAssigned {
29922
+ product_id: string;
29923
+ category_id: string;
29924
+ site_id: string;
29925
+ is_assigned: boolean;
29926
+ }
29927
+
29747
29928
  interface __MainSchema$n {
29748
29929
  sku: string;
29749
29930
  ean: string;
@@ -29754,6 +29935,7 @@ type Currency$h = ("AFN" | "ALL" | "DZD" | "USD" | "EUR" | "AOA" | "XCD" | "ARS"
29754
29935
  interface Price {
29755
29936
  style_id: (string | null);
29756
29937
  colour_id: (string | null);
29938
+ pricelist_code: string;
29757
29939
  full_price: number;
29758
29940
  markdown: number;
29759
29941
  pos: number;
@@ -29856,67 +30038,85 @@ type __MainSchema$k = (Product & {});
29856
30038
  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");
29857
30039
  interface Product {
29858
30040
  product_id: string;
30041
+ description?: string;
29859
30042
  style_id: string;
29860
- colour_code?: string;
29861
30043
  product_name: string;
29862
- is_available_to_order: boolean;
30044
+ display_types: {
30045
+ channel?: ("DIRECT-UK" | "DIRECT-INT" | "DIRECT-US");
30046
+ display_type?: ("Out-of-stock" | "Permanently-unavailable");
30047
+ [k: string]: unknown;
30048
+ }[];
30049
+ seo: {
30050
+ url_name: {
30051
+ [k: string]: unknown;
30052
+ };
30053
+ title: (string | null);
30054
+ description: (string | null);
30055
+ [k: string]: unknown;
30056
+ };
30057
+ available_to_sell_from: (string | null);
30058
+ online_from: string;
30059
+ online_to: (string | null);
30060
+ last_online_at: (string | null);
30061
+ first_purchased_at: string;
30062
+ first_markdown_at: string;
29863
30063
  created_at: string;
29864
30064
  last_modified_at: string;
29865
30065
  colour_family_name: string;
29866
- colour_label: string;
30066
+ colour_code: string;
30067
+ colour_name: string;
29867
30068
  variants: {
29868
- size: string;
29869
- size_label: string;
30069
+ code: string;
30070
+ name: string;
29870
30071
  [k: string]: unknown;
29871
30072
  }[];
29872
30073
  images: unknown[];
29873
- vat_amount: number;
29874
- commodity_code_ref?: string;
29875
- attributes: {
29876
- product_type: string;
29877
- main_fibre: string;
29878
- merch_product_category: string;
29879
- merch_product_subcategory: string;
29880
- extra_selling_point?: string;
29881
- length_measurement: (string | null);
29882
- country_of_origin?: Country$9;
29883
- port_of_origin?: string;
29884
- supplier_id?: string;
29885
- supplier_name?: string;
29886
- factory_id?: string;
29887
- first_purchased_at?: string;
29888
- range: (("Main Collection" | "Seasonal") | null);
29889
- channel_exclusivity?: (string | null);
29890
- collections?: string;
29891
- seasons?: string;
29892
- block: string;
30074
+ vat_rate_uk: number;
30075
+ supply_chain: {
30076
+ commodity_code_ref: string;
30077
+ country_of_origin: Country$9;
30078
+ port_of_origin: string;
30079
+ supplier_id: string;
30080
+ supplier_name: string;
30081
+ factory_id: string;
29893
30082
  packing_method: (("Standard" | "Hanging") | null);
29894
30083
  is_bought_in_product: boolean;
29895
- division: ("Women" | null);
29896
- drops?: string;
29897
- first_markdown_at?: string;
29898
- measurement_table?: string;
29899
- stock_type: string;
29900
- development_type?: ("Update" | "Repeat" | "Re-Colour" | "New");
29901
- occasion: string;
30084
+ [k: string]: unknown;
30085
+ };
30086
+ merch: {
29902
30087
  strategy_type: string;
29903
- pattern_name: string;
29904
- fit_type: string;
29905
- neckline: string;
29906
- sleeve_length: string;
30088
+ product_type: string;
30089
+ category: string;
30090
+ subcategory: string;
30091
+ range: (("Main Collection" | "Seasonal") | null);
30092
+ channels_availability: ("DIRECT-UK" | "DIRECT-INT" | "DIRECT-US" | "JL-STORES" | "JL-WEB" | "NEXT" | "MS" | "FENWICK" | "MORLEYS")[];
30093
+ collections: string;
30094
+ seasons: string[];
30095
+ drops: string[];
30096
+ fashionability: (string | null);
30097
+ [k: string]: unknown;
30098
+ };
30099
+ attributes: {
30100
+ main_fibre: (string | null);
30101
+ main_metal: (string | null);
30102
+ extra_selling_points: string[];
30103
+ length_measurement: (string | null);
30104
+ measurement_table_code: string;
30105
+ development_type: ("Update" | "Repeat" | "Re-Colour" | "New");
30106
+ occasion: (string | null);
30107
+ pattern_name: (string | null);
30108
+ fit_type: (string | null);
30109
+ neckline: (string | null);
30110
+ sleeve_length: (string | null);
29907
30111
  heel_height: (string | null);
29908
- heel_shape: string;
29909
- toe_shape: string;
29910
- trouser_fit?: string;
29911
- leg_length: string;
29912
- handle_straps: string;
29913
- fastening: string;
29914
- sole_code: string;
29915
- fashionability: ("Core" | null);
29916
- weight: number;
29917
- average_weight_grams: number;
29918
- care_instructions: string;
29919
- size_guide: string;
30112
+ heel_shape: (string | null);
30113
+ toe_shape: (string | null);
30114
+ trouser_fit: (string | null);
30115
+ leg_length: (string | null);
30116
+ handle_straps: (string | null);
30117
+ fastening: (string | null);
30118
+ sole_material: (string | null);
30119
+ care_instructions: string[];
29920
30120
  [k: string]: unknown;
29921
30121
  };
29922
30122
  }
@@ -31574,7 +31774,7 @@ declare namespace index$8 {
31574
31774
  }
31575
31775
 
31576
31776
  declare namespace index$7 {
31577
- export { type __MainSchema$n as EanChange, index$8 as Order, type __MainSchema$m as PriceChange, type __MainSchema$k as Product, type __MainSchema$l as ProductDraft };
31777
+ export { type __MainSchema$o as CategoryAssigned, type __MainSchema$n as EanChange, index$8 as Order, type __MainSchema$m as PriceChange, type __MainSchema$k as Product, type __MainSchema$l as ProductDraft };
31578
31778
  }
31579
31779
 
31580
31780
  type Country$2 = ("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");
@@ -32555,7 +32755,7 @@ declare namespace index$2 {
32555
32755
  }
32556
32756
 
32557
32757
  declare namespace index$1 {
32558
- export { type __MainSchema$u as Country, type __MainSchema$t as Currency, index$7 as Messages, type __MainSchema$s as Money, index$2 as Order, type __MainSchema$r as Price, type __MainSchema$p as Product, type __MainSchema$q as ProductDraft, type __MainSchema$o as Total };
32758
+ export { type __MainSchema$w as CategoryAssigned, type __MainSchema$v as Country, type __MainSchema$u as Currency, index$7 as Messages, type __MainSchema$t as Money, index$2 as Order, type __MainSchema$s as Price, type __MainSchema$q as Product, type __MainSchema$r as ProductDraft, type __MainSchema$p as Total };
32559
32759
  }
32560
32760
 
32561
32761
  type Log = {
@@ -32660,6 +32860,7 @@ declare class PubSubHelper extends Runtime {
32660
32860
  constructor(opts: Opts & {
32661
32861
  serviceAccountEmail: string;
32662
32862
  }, pubSub: PubSub);
32863
+ static decodeMessageFromRequest(req: Message$1): Promise<Message>;
32663
32864
  static decodeMessageFromRequest(req: Context): Promise<Message>;
32664
32865
  publish(options: Partial<Message> & {
32665
32866
  topicName: string;