@shushed/helpers 0.0.75 → 0.0.77
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 +800 -105
- package/dist/index.js +66 -51
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { CloudSchedulerClient } from '@google-cloud/scheduler';
|
|
|
9
9
|
import { SecretManagerServiceClient } from '@google-cloud/secret-manager';
|
|
10
10
|
import { BigQuery } from '@google-cloud/bigquery';
|
|
11
11
|
|
|
12
|
-
declare const schema$
|
|
12
|
+
declare const schema$p: {
|
|
13
13
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
14
14
|
readonly title: "Country";
|
|
15
15
|
readonly type: "string";
|
|
@@ -17,7 +17,7 @@ declare const schema$m: {
|
|
|
17
17
|
readonly $id: "https://shushed.example.com/country.schema.json";
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
declare const schema$
|
|
20
|
+
declare const schema$o: {
|
|
21
21
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
22
22
|
readonly title: "Currency";
|
|
23
23
|
readonly type: "string";
|
|
@@ -25,7 +25,7 @@ declare const schema$l: {
|
|
|
25
25
|
readonly $id: "https://shushed.example.com/currency.schema.json";
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
declare const schema$
|
|
28
|
+
declare const schema$n: {
|
|
29
29
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
30
30
|
readonly title: "Money";
|
|
31
31
|
readonly type: "object";
|
|
@@ -66,17 +66,17 @@ declare const schema$k: {
|
|
|
66
66
|
readonly $id: "https://shushed.example.com/money.schema.json";
|
|
67
67
|
};
|
|
68
68
|
|
|
69
|
-
declare const schema$
|
|
69
|
+
declare const schema$m: {
|
|
70
70
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
71
71
|
readonly title: "Price";
|
|
72
72
|
readonly type: "object";
|
|
73
73
|
readonly additionalProperties: false;
|
|
74
74
|
readonly properties: {
|
|
75
75
|
readonly style_id: {
|
|
76
|
-
readonly type: readonly ["string"];
|
|
76
|
+
readonly type: readonly ["string", "null"];
|
|
77
77
|
};
|
|
78
78
|
readonly colour_id: {
|
|
79
|
-
readonly type: readonly ["string"];
|
|
79
|
+
readonly type: readonly ["string", "null"];
|
|
80
80
|
};
|
|
81
81
|
readonly full_price: {
|
|
82
82
|
readonly type: "integer";
|
|
@@ -112,7 +112,7 @@ declare const schema$j: {
|
|
|
112
112
|
readonly $id: "https://shushed.example.com/price.schema.json";
|
|
113
113
|
};
|
|
114
114
|
|
|
115
|
-
declare const schema$
|
|
115
|
+
declare const schema$l: {
|
|
116
116
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
117
117
|
readonly title: "ProductDraft";
|
|
118
118
|
readonly type: "object";
|
|
@@ -618,7 +618,248 @@ declare const schema$i: {
|
|
|
618
618
|
readonly $id: "https://shushed.example.com/product-draft.schema.json";
|
|
619
619
|
};
|
|
620
620
|
|
|
621
|
-
declare const schema$
|
|
621
|
+
declare const schema$k: {
|
|
622
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
623
|
+
readonly title: "Product";
|
|
624
|
+
readonly additionalProperties: false;
|
|
625
|
+
readonly type: "object";
|
|
626
|
+
readonly properties: {
|
|
627
|
+
readonly product_id: {
|
|
628
|
+
readonly type: "string";
|
|
629
|
+
};
|
|
630
|
+
readonly style_id: {
|
|
631
|
+
readonly type: readonly ["string"];
|
|
632
|
+
};
|
|
633
|
+
readonly colour_code: {
|
|
634
|
+
readonly type: "string";
|
|
635
|
+
readonly pattern: "^[a-z]+(-[a-z]+)*$";
|
|
636
|
+
};
|
|
637
|
+
readonly product_name: {
|
|
638
|
+
readonly type: "string";
|
|
639
|
+
};
|
|
640
|
+
readonly is_available_to_order: {
|
|
641
|
+
readonly type: "boolean";
|
|
642
|
+
};
|
|
643
|
+
readonly created_at: {
|
|
644
|
+
readonly type: "string";
|
|
645
|
+
readonly format: "date-time";
|
|
646
|
+
};
|
|
647
|
+
readonly last_modified_at: {
|
|
648
|
+
readonly type: "string";
|
|
649
|
+
readonly format: "date-time";
|
|
650
|
+
};
|
|
651
|
+
readonly colour_family_name: {
|
|
652
|
+
readonly type: "string";
|
|
653
|
+
};
|
|
654
|
+
readonly colour_label: {
|
|
655
|
+
readonly type: "string";
|
|
656
|
+
readonly pattern: "^[A-Z][a-z]+( [A-Z][a-z]+)*$";
|
|
657
|
+
};
|
|
658
|
+
readonly variants: {
|
|
659
|
+
readonly type: "array";
|
|
660
|
+
readonly items: {
|
|
661
|
+
readonly type: "object";
|
|
662
|
+
readonly properties: {
|
|
663
|
+
readonly size: {
|
|
664
|
+
readonly type: "string";
|
|
665
|
+
};
|
|
666
|
+
readonly size_label: {
|
|
667
|
+
readonly type: readonly ["string"];
|
|
668
|
+
};
|
|
669
|
+
};
|
|
670
|
+
readonly required: readonly ["size", "size_label"];
|
|
671
|
+
};
|
|
672
|
+
};
|
|
673
|
+
readonly images: {
|
|
674
|
+
readonly type: "array";
|
|
675
|
+
readonly properties: {
|
|
676
|
+
readonly image_type: {
|
|
677
|
+
readonly type: "string";
|
|
678
|
+
readonly enum: readonly ["Campaign", "Ecom x 4", "Flat lay", "UGC (multiple)", "AI Images"];
|
|
679
|
+
};
|
|
680
|
+
readonly image_url: {
|
|
681
|
+
readonly type: "string";
|
|
682
|
+
readonly format: "uri";
|
|
683
|
+
};
|
|
684
|
+
readonly path: {
|
|
685
|
+
readonly type: "string";
|
|
686
|
+
};
|
|
687
|
+
readonly title: {
|
|
688
|
+
readonly type: "string";
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
readonly required: readonly ["image_type", "image_url", "path", "title"];
|
|
692
|
+
};
|
|
693
|
+
readonly vat_amount: {
|
|
694
|
+
readonly type: "number";
|
|
695
|
+
readonly minimum: 0;
|
|
696
|
+
};
|
|
697
|
+
readonly commodity_code_ref: {
|
|
698
|
+
readonly type: "string";
|
|
699
|
+
};
|
|
700
|
+
readonly attributes: {
|
|
701
|
+
readonly type: "object";
|
|
702
|
+
readonly properties: {
|
|
703
|
+
readonly product_type: {
|
|
704
|
+
readonly type: "string";
|
|
705
|
+
};
|
|
706
|
+
readonly main_fibre: {
|
|
707
|
+
readonly type: "string";
|
|
708
|
+
};
|
|
709
|
+
readonly merch_product_category: {
|
|
710
|
+
readonly type: "string";
|
|
711
|
+
};
|
|
712
|
+
readonly merch_product_subcategory: {
|
|
713
|
+
readonly type: "string";
|
|
714
|
+
};
|
|
715
|
+
readonly extra_selling_point: {
|
|
716
|
+
readonly type: "string";
|
|
717
|
+
};
|
|
718
|
+
readonly length_measurement: {
|
|
719
|
+
readonly type: readonly ["string", "null"];
|
|
720
|
+
};
|
|
721
|
+
readonly country_of_origin: {
|
|
722
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
723
|
+
readonly title: "Country";
|
|
724
|
+
readonly type: "string";
|
|
725
|
+
readonly enum: readonly ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CD", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"];
|
|
726
|
+
};
|
|
727
|
+
readonly port_of_origin: {
|
|
728
|
+
readonly type: "string";
|
|
729
|
+
readonly pattern: "^[A-Z]+$";
|
|
730
|
+
};
|
|
731
|
+
readonly supplier_id: {
|
|
732
|
+
readonly type: "string";
|
|
733
|
+
readonly pattern: "^SUP\\d{5}$";
|
|
734
|
+
};
|
|
735
|
+
readonly supplier_name: {
|
|
736
|
+
readonly type: "string";
|
|
737
|
+
};
|
|
738
|
+
readonly factory_id: {
|
|
739
|
+
readonly type: "string";
|
|
740
|
+
readonly pattern: "^FAC\\d{5}$";
|
|
741
|
+
};
|
|
742
|
+
readonly first_purchased_at: {
|
|
743
|
+
readonly type: "string";
|
|
744
|
+
readonly format: "date-time";
|
|
745
|
+
};
|
|
746
|
+
readonly range: {
|
|
747
|
+
readonly type: readonly ["string", "null"];
|
|
748
|
+
readonly enum: readonly ["Main Collection", "Seasonal"];
|
|
749
|
+
};
|
|
750
|
+
readonly channel_exclusivity: {
|
|
751
|
+
readonly type: readonly ["string", "null"];
|
|
752
|
+
};
|
|
753
|
+
readonly collections: {
|
|
754
|
+
readonly type: readonly ["string"];
|
|
755
|
+
};
|
|
756
|
+
readonly seasons: {
|
|
757
|
+
readonly type: readonly ["string"];
|
|
758
|
+
readonly pattern: "^(AW|SS|FW|SP)[0-9]{2}$";
|
|
759
|
+
};
|
|
760
|
+
readonly block: {
|
|
761
|
+
readonly type: "string";
|
|
762
|
+
};
|
|
763
|
+
readonly packing_method: {
|
|
764
|
+
readonly type: readonly ["string", "null"];
|
|
765
|
+
readonly enum: readonly ["Standard", "Hanging"];
|
|
766
|
+
};
|
|
767
|
+
readonly is_bought_in_product: {
|
|
768
|
+
readonly type: "boolean";
|
|
769
|
+
};
|
|
770
|
+
readonly division: {
|
|
771
|
+
readonly type: readonly ["string", "null"];
|
|
772
|
+
readonly enum: readonly ["Women"];
|
|
773
|
+
};
|
|
774
|
+
readonly drops: {
|
|
775
|
+
readonly type: readonly ["string"];
|
|
776
|
+
};
|
|
777
|
+
readonly first_markdown_at: {
|
|
778
|
+
readonly type: "string";
|
|
779
|
+
readonly format: "date-time";
|
|
780
|
+
};
|
|
781
|
+
readonly measurement_table: {
|
|
782
|
+
readonly type: readonly ["string"];
|
|
783
|
+
};
|
|
784
|
+
readonly stock_type: {
|
|
785
|
+
readonly type: "string";
|
|
786
|
+
};
|
|
787
|
+
readonly development_type: {
|
|
788
|
+
readonly type: "string";
|
|
789
|
+
readonly pattern: "^[A-Z]{2}\\d{2}[A-Z]{3}-\\d{6}$";
|
|
790
|
+
};
|
|
791
|
+
readonly occasion: {
|
|
792
|
+
readonly type: "string";
|
|
793
|
+
};
|
|
794
|
+
readonly strategy_type: {
|
|
795
|
+
readonly type: "string";
|
|
796
|
+
};
|
|
797
|
+
readonly pattern_name: {
|
|
798
|
+
readonly type: "string";
|
|
799
|
+
};
|
|
800
|
+
readonly fit_type: {
|
|
801
|
+
readonly type: "string";
|
|
802
|
+
};
|
|
803
|
+
readonly neckline: {
|
|
804
|
+
readonly type: "string";
|
|
805
|
+
};
|
|
806
|
+
readonly sleeve_length: {
|
|
807
|
+
readonly type: "string";
|
|
808
|
+
readonly nullable: true;
|
|
809
|
+
};
|
|
810
|
+
readonly heel_height: {
|
|
811
|
+
readonly type: readonly ["string", "null"];
|
|
812
|
+
};
|
|
813
|
+
readonly heel_shape: {
|
|
814
|
+
readonly type: "string";
|
|
815
|
+
};
|
|
816
|
+
readonly toe_shape: {
|
|
817
|
+
readonly type: "string";
|
|
818
|
+
};
|
|
819
|
+
readonly trouser_fit: {
|
|
820
|
+
readonly type: "string";
|
|
821
|
+
readonly nullable: true;
|
|
822
|
+
};
|
|
823
|
+
readonly leg_length: {
|
|
824
|
+
readonly type: "string";
|
|
825
|
+
readonly nullable: true;
|
|
826
|
+
};
|
|
827
|
+
readonly handle_straps: {
|
|
828
|
+
readonly type: "string";
|
|
829
|
+
};
|
|
830
|
+
readonly fastening: {
|
|
831
|
+
readonly type: "string";
|
|
832
|
+
};
|
|
833
|
+
readonly sole_code: {
|
|
834
|
+
readonly type: "string";
|
|
835
|
+
};
|
|
836
|
+
readonly fashionability: {
|
|
837
|
+
readonly type: readonly ["string", "null"];
|
|
838
|
+
readonly enum: readonly ["Core"];
|
|
839
|
+
};
|
|
840
|
+
readonly weight: {
|
|
841
|
+
readonly type: "number";
|
|
842
|
+
readonly minimum: 1;
|
|
843
|
+
};
|
|
844
|
+
readonly average_weight_grams: {
|
|
845
|
+
readonly type: "number";
|
|
846
|
+
readonly minimum: 1;
|
|
847
|
+
};
|
|
848
|
+
readonly care_instructions: {
|
|
849
|
+
readonly type: "string";
|
|
850
|
+
};
|
|
851
|
+
readonly size_guide: {
|
|
852
|
+
readonly type: "string";
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
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"];
|
|
856
|
+
};
|
|
857
|
+
};
|
|
858
|
+
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"];
|
|
859
|
+
readonly $id: "https://shushed.example.com/product.schema.json";
|
|
860
|
+
};
|
|
861
|
+
|
|
862
|
+
declare const schema$j: {
|
|
622
863
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
623
864
|
readonly title: "Total";
|
|
624
865
|
readonly type: "object";
|
|
@@ -791,7 +1032,7 @@ declare const schema$h: {
|
|
|
791
1032
|
readonly $id: "https://shushed.example.com/total.schema.json";
|
|
792
1033
|
};
|
|
793
1034
|
|
|
794
|
-
declare const schema$
|
|
1035
|
+
declare const schema$i: {
|
|
795
1036
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
796
1037
|
readonly title: "EANChange";
|
|
797
1038
|
readonly additionalProperties: false;
|
|
@@ -808,7 +1049,62 @@ declare const schema$g: {
|
|
|
808
1049
|
readonly $id: "https://shushed.example.com/messages/ean-change.schema.json";
|
|
809
1050
|
};
|
|
810
1051
|
|
|
811
|
-
declare const schema$
|
|
1052
|
+
declare const schema$h: {
|
|
1053
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1054
|
+
readonly title: "PriceChange";
|
|
1055
|
+
readonly additionalProperties: false;
|
|
1056
|
+
readonly allOf: readonly [{
|
|
1057
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1058
|
+
readonly title: "Price";
|
|
1059
|
+
readonly type: "object";
|
|
1060
|
+
readonly additionalProperties: false;
|
|
1061
|
+
readonly properties: {
|
|
1062
|
+
readonly style_id: {
|
|
1063
|
+
readonly type: readonly ["string", "null"];
|
|
1064
|
+
};
|
|
1065
|
+
readonly colour_id: {
|
|
1066
|
+
readonly type: readonly ["string", "null"];
|
|
1067
|
+
};
|
|
1068
|
+
readonly full_price: {
|
|
1069
|
+
readonly type: "integer";
|
|
1070
|
+
readonly minimum: 1;
|
|
1071
|
+
};
|
|
1072
|
+
readonly markdown: {
|
|
1073
|
+
readonly type: "integer";
|
|
1074
|
+
readonly minimum: 1;
|
|
1075
|
+
};
|
|
1076
|
+
readonly pos: {
|
|
1077
|
+
readonly type: "integer";
|
|
1078
|
+
readonly minimum: 1;
|
|
1079
|
+
};
|
|
1080
|
+
readonly currency: {
|
|
1081
|
+
readonly title: "Currency";
|
|
1082
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1083
|
+
readonly type: "string";
|
|
1084
|
+
readonly enum: readonly ["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"];
|
|
1085
|
+
};
|
|
1086
|
+
readonly effective_from: {
|
|
1087
|
+
readonly type: "string";
|
|
1088
|
+
readonly format: "date-time";
|
|
1089
|
+
readonly effective_until: {
|
|
1090
|
+
readonly type: "string";
|
|
1091
|
+
readonly format: "date-time";
|
|
1092
|
+
readonly channel: {
|
|
1093
|
+
readonly type: "string";
|
|
1094
|
+
};
|
|
1095
|
+
};
|
|
1096
|
+
readonly required: readonly ["style_id", "color_id", "full_price", "markdown", "pos", "currency", "effective_from", "channel"];
|
|
1097
|
+
};
|
|
1098
|
+
};
|
|
1099
|
+
}, {
|
|
1100
|
+
readonly type: "object";
|
|
1101
|
+
readonly additionalProperties: false;
|
|
1102
|
+
readonly required: readonly ["style_id", "colour_id", "full_price", "markdown", "pos", "currency", "effective_from", "channel"];
|
|
1103
|
+
}];
|
|
1104
|
+
readonly $id: "https://shushed.example.com/messages/price-change.schema.json";
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
declare const schema$g: {
|
|
812
1108
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
813
1109
|
readonly title: "OrderReturnInitiated";
|
|
814
1110
|
readonly additionalProperties: false;
|
|
@@ -1212,70 +1508,221 @@ declare const schema$f: {
|
|
|
1212
1508
|
readonly maximum: 4;
|
|
1213
1509
|
};
|
|
1214
1510
|
};
|
|
1215
|
-
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
1216
|
-
};
|
|
1217
|
-
readonly duty_rate: {
|
|
1218
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1219
|
-
readonly title: "Money";
|
|
1220
|
-
readonly type: "object";
|
|
1221
|
-
readonly additionalProperties: false;
|
|
1222
|
-
readonly properties: {
|
|
1223
|
-
readonly value: {
|
|
1224
|
-
readonly type: "integer";
|
|
1225
|
-
readonly minimum: 1;
|
|
1226
|
-
};
|
|
1227
|
-
readonly decimal_places: {
|
|
1228
|
-
readonly type: "integer";
|
|
1229
|
-
readonly minimum: 0;
|
|
1230
|
-
readonly maximum: 4;
|
|
1231
|
-
};
|
|
1232
|
-
readonly currency: {
|
|
1233
|
-
readonly title: "Currency";
|
|
1234
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1235
|
-
readonly type: "string";
|
|
1236
|
-
readonly enum: readonly ["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"];
|
|
1237
|
-
};
|
|
1238
|
-
readonly lcy_value: {
|
|
1239
|
-
readonly type: "integer";
|
|
1240
|
-
readonly minimum: 1;
|
|
1241
|
-
};
|
|
1242
|
-
readonly lcy_currency: {
|
|
1243
|
-
readonly title: "LCY Currency";
|
|
1244
|
-
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1245
|
-
readonly type: "string";
|
|
1246
|
-
readonly enum: readonly ["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"];
|
|
1247
|
-
};
|
|
1248
|
-
readonly lcy_decimal_places: {
|
|
1249
|
-
readonly type: "integer";
|
|
1250
|
-
readonly minimum: 0;
|
|
1251
|
-
readonly maximum: 4;
|
|
1252
|
-
};
|
|
1511
|
+
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
1512
|
+
};
|
|
1513
|
+
readonly duty_rate: {
|
|
1514
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1515
|
+
readonly title: "Money";
|
|
1516
|
+
readonly type: "object";
|
|
1517
|
+
readonly additionalProperties: false;
|
|
1518
|
+
readonly properties: {
|
|
1519
|
+
readonly value: {
|
|
1520
|
+
readonly type: "integer";
|
|
1521
|
+
readonly minimum: 1;
|
|
1522
|
+
};
|
|
1523
|
+
readonly decimal_places: {
|
|
1524
|
+
readonly type: "integer";
|
|
1525
|
+
readonly minimum: 0;
|
|
1526
|
+
readonly maximum: 4;
|
|
1527
|
+
};
|
|
1528
|
+
readonly currency: {
|
|
1529
|
+
readonly title: "Currency";
|
|
1530
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1531
|
+
readonly type: "string";
|
|
1532
|
+
readonly enum: readonly ["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"];
|
|
1533
|
+
};
|
|
1534
|
+
readonly lcy_value: {
|
|
1535
|
+
readonly type: "integer";
|
|
1536
|
+
readonly minimum: 1;
|
|
1537
|
+
};
|
|
1538
|
+
readonly lcy_currency: {
|
|
1539
|
+
readonly title: "LCY Currency";
|
|
1540
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1541
|
+
readonly type: "string";
|
|
1542
|
+
readonly enum: readonly ["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"];
|
|
1543
|
+
};
|
|
1544
|
+
readonly lcy_decimal_places: {
|
|
1545
|
+
readonly type: "integer";
|
|
1546
|
+
readonly minimum: 0;
|
|
1547
|
+
readonly maximum: 4;
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
1551
|
+
};
|
|
1552
|
+
readonly commodity_code_ref: {
|
|
1553
|
+
readonly type: "string";
|
|
1554
|
+
readonly pattern: "^C\\d+/\\d+\\|DutyRate$";
|
|
1555
|
+
};
|
|
1556
|
+
};
|
|
1557
|
+
};
|
|
1558
|
+
readonly payment_terms: {
|
|
1559
|
+
readonly type: "object";
|
|
1560
|
+
readonly additionalProperties: false;
|
|
1561
|
+
readonly properties: {
|
|
1562
|
+
readonly supplier_payment_terms: {
|
|
1563
|
+
readonly type: readonly ["string", "null"];
|
|
1564
|
+
};
|
|
1565
|
+
readonly supplier_inco_terms: {
|
|
1566
|
+
readonly type: readonly ["string", "null"];
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
};
|
|
1570
|
+
readonly supplier_data: {
|
|
1571
|
+
readonly type: "object";
|
|
1572
|
+
readonly additionalProperties: false;
|
|
1573
|
+
readonly required: readonly ["country_of_origin", "port_of_origin", "supplier_id", "factory_id"];
|
|
1574
|
+
readonly properties: {
|
|
1575
|
+
readonly country_of_origin: {
|
|
1576
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1577
|
+
readonly title: "Country";
|
|
1578
|
+
readonly type: "string";
|
|
1579
|
+
readonly enum: readonly ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CD", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"];
|
|
1580
|
+
};
|
|
1581
|
+
readonly port_of_origin: {
|
|
1582
|
+
readonly type: "string";
|
|
1583
|
+
};
|
|
1584
|
+
readonly supplier_id: {
|
|
1585
|
+
readonly type: "string";
|
|
1586
|
+
readonly pattern: "^SUP\\d{5}$";
|
|
1587
|
+
};
|
|
1588
|
+
readonly supplier_name: {
|
|
1589
|
+
readonly type: readonly ["string", "null"];
|
|
1590
|
+
};
|
|
1591
|
+
readonly factory_id: {
|
|
1592
|
+
readonly type: "string";
|
|
1593
|
+
readonly pattern: "^FAC\\d{5}$";
|
|
1594
|
+
};
|
|
1595
|
+
};
|
|
1596
|
+
};
|
|
1597
|
+
readonly buying_and_size_curve: {
|
|
1598
|
+
readonly type: "object";
|
|
1599
|
+
readonly additionalProperties: false;
|
|
1600
|
+
readonly properties: {
|
|
1601
|
+
readonly direct: {
|
|
1602
|
+
readonly type: readonly ["string", "null"];
|
|
1603
|
+
};
|
|
1604
|
+
readonly jl: {
|
|
1605
|
+
readonly type: readonly ["string", "null"];
|
|
1606
|
+
};
|
|
1607
|
+
readonly stores: {
|
|
1608
|
+
readonly type: readonly ["string", "null"];
|
|
1609
|
+
};
|
|
1610
|
+
};
|
|
1611
|
+
};
|
|
1612
|
+
};
|
|
1613
|
+
readonly required: readonly ["product_id", "product_name", "colour_label", "developement_colourway_id", "colour_id", "style_id", "season_name", "drop_name", "stock_type", "block", "packing_method", "is_bought_in_product", "is_carry_over", "image_url", "attributes", "cost", "supplier_data"];
|
|
1614
|
+
}, {
|
|
1615
|
+
readonly type: "object";
|
|
1616
|
+
readonly additionalProperties: false;
|
|
1617
|
+
readonly required: readonly ["product_name", "colour_label", "developement_colourway_id", "colour_id", "style_id", "season_id", "drop_name", "stock_type", "block", "packing_method", "is_bought_in_product", "is_carry_over", "image_url", "product_type", "product_category", "division", "care_instructions", "range", "main_fibre", "size_range", "sizes", "occasion", "strategy_type", "pattern_name", "neckline", "sleeve_length", "leg_length", "heel_height", "heel_shape", "toe_shape", "handle_straps", "fastening", "sole_code", "fashionability", "weight", "average_weight_grams", "length_measurement", "fabric_composition_footwear", "retail_price", "current_cost", "currency", "moq", "finishing_cost", "other_costs", "freight_rate", "duty_rate", "commodity_code_ref", "country_of_origin", "port_of_origin", "supplier_id", "factory_id"];
|
|
1618
|
+
}];
|
|
1619
|
+
readonly $id: "https://shushed.example.com/messages/product-draft.schema.json";
|
|
1620
|
+
};
|
|
1621
|
+
|
|
1622
|
+
declare const schema$f: {
|
|
1623
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1624
|
+
readonly title: "ProductChange";
|
|
1625
|
+
readonly additionalProperties: false;
|
|
1626
|
+
readonly allOf: readonly [{
|
|
1627
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1628
|
+
readonly title: "Product";
|
|
1629
|
+
readonly additionalProperties: false;
|
|
1630
|
+
readonly type: "object";
|
|
1631
|
+
readonly properties: {
|
|
1632
|
+
readonly product_id: {
|
|
1633
|
+
readonly type: "string";
|
|
1634
|
+
};
|
|
1635
|
+
readonly style_id: {
|
|
1636
|
+
readonly type: readonly ["string"];
|
|
1637
|
+
};
|
|
1638
|
+
readonly colour_code: {
|
|
1639
|
+
readonly type: "string";
|
|
1640
|
+
readonly pattern: "^[a-z]+(-[a-z]+)*$";
|
|
1641
|
+
};
|
|
1642
|
+
readonly product_name: {
|
|
1643
|
+
readonly type: "string";
|
|
1644
|
+
};
|
|
1645
|
+
readonly is_available_to_order: {
|
|
1646
|
+
readonly type: "boolean";
|
|
1647
|
+
};
|
|
1648
|
+
readonly created_at: {
|
|
1649
|
+
readonly type: "string";
|
|
1650
|
+
readonly format: "date-time";
|
|
1651
|
+
};
|
|
1652
|
+
readonly last_modified_at: {
|
|
1653
|
+
readonly type: "string";
|
|
1654
|
+
readonly format: "date-time";
|
|
1655
|
+
};
|
|
1656
|
+
readonly colour_family_name: {
|
|
1657
|
+
readonly type: "string";
|
|
1658
|
+
};
|
|
1659
|
+
readonly colour_label: {
|
|
1660
|
+
readonly type: "string";
|
|
1661
|
+
readonly pattern: "^[A-Z][a-z]+( [A-Z][a-z]+)*$";
|
|
1662
|
+
};
|
|
1663
|
+
readonly variants: {
|
|
1664
|
+
readonly type: "array";
|
|
1665
|
+
readonly items: {
|
|
1666
|
+
readonly type: "object";
|
|
1667
|
+
readonly properties: {
|
|
1668
|
+
readonly size: {
|
|
1669
|
+
readonly type: "string";
|
|
1670
|
+
};
|
|
1671
|
+
readonly size_label: {
|
|
1672
|
+
readonly type: readonly ["string"];
|
|
1253
1673
|
};
|
|
1254
|
-
readonly required: readonly ["value", "currency", "lcy_value", "lcy_currency", "decimal_places", "lcy_decimal_places"];
|
|
1255
|
-
};
|
|
1256
|
-
readonly commodity_code_ref: {
|
|
1257
|
-
readonly type: "string";
|
|
1258
|
-
readonly pattern: "^C\\d+/\\d+\\|DutyRate$";
|
|
1259
1674
|
};
|
|
1675
|
+
readonly required: readonly ["size", "size_label"];
|
|
1260
1676
|
};
|
|
1261
1677
|
};
|
|
1262
|
-
readonly
|
|
1263
|
-
readonly type: "
|
|
1264
|
-
readonly additionalProperties: false;
|
|
1678
|
+
readonly images: {
|
|
1679
|
+
readonly type: "array";
|
|
1265
1680
|
readonly properties: {
|
|
1266
|
-
readonly
|
|
1267
|
-
readonly type:
|
|
1681
|
+
readonly image_type: {
|
|
1682
|
+
readonly type: "string";
|
|
1683
|
+
readonly enum: readonly ["Campaign", "Ecom x 4", "Flat lay", "UGC (multiple)", "AI Images"];
|
|
1268
1684
|
};
|
|
1269
|
-
readonly
|
|
1270
|
-
readonly type:
|
|
1685
|
+
readonly image_url: {
|
|
1686
|
+
readonly type: "string";
|
|
1687
|
+
readonly format: "uri";
|
|
1688
|
+
};
|
|
1689
|
+
readonly path: {
|
|
1690
|
+
readonly type: "string";
|
|
1691
|
+
};
|
|
1692
|
+
readonly title: {
|
|
1693
|
+
readonly type: "string";
|
|
1271
1694
|
};
|
|
1272
1695
|
};
|
|
1696
|
+
readonly required: readonly ["image_type", "image_url", "path", "title"];
|
|
1273
1697
|
};
|
|
1274
|
-
readonly
|
|
1698
|
+
readonly vat_amount: {
|
|
1699
|
+
readonly type: "number";
|
|
1700
|
+
readonly minimum: 0;
|
|
1701
|
+
};
|
|
1702
|
+
readonly commodity_code_ref: {
|
|
1703
|
+
readonly type: "string";
|
|
1704
|
+
};
|
|
1705
|
+
readonly attributes: {
|
|
1275
1706
|
readonly type: "object";
|
|
1276
|
-
readonly additionalProperties: false;
|
|
1277
|
-
readonly required: readonly ["country_of_origin", "port_of_origin", "supplier_id", "factory_id"];
|
|
1278
1707
|
readonly properties: {
|
|
1708
|
+
readonly product_type: {
|
|
1709
|
+
readonly type: "string";
|
|
1710
|
+
};
|
|
1711
|
+
readonly main_fibre: {
|
|
1712
|
+
readonly type: "string";
|
|
1713
|
+
};
|
|
1714
|
+
readonly merch_product_category: {
|
|
1715
|
+
readonly type: "string";
|
|
1716
|
+
};
|
|
1717
|
+
readonly merch_product_subcategory: {
|
|
1718
|
+
readonly type: "string";
|
|
1719
|
+
};
|
|
1720
|
+
readonly extra_selling_point: {
|
|
1721
|
+
readonly type: "string";
|
|
1722
|
+
};
|
|
1723
|
+
readonly length_measurement: {
|
|
1724
|
+
readonly type: readonly ["string", "null"];
|
|
1725
|
+
};
|
|
1279
1726
|
readonly country_of_origin: {
|
|
1280
1727
|
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
1281
1728
|
readonly title: "Country";
|
|
@@ -1284,43 +1731,142 @@ declare const schema$f: {
|
|
|
1284
1731
|
};
|
|
1285
1732
|
readonly port_of_origin: {
|
|
1286
1733
|
readonly type: "string";
|
|
1734
|
+
readonly pattern: "^[A-Z]+$";
|
|
1287
1735
|
};
|
|
1288
1736
|
readonly supplier_id: {
|
|
1289
1737
|
readonly type: "string";
|
|
1290
1738
|
readonly pattern: "^SUP\\d{5}$";
|
|
1291
1739
|
};
|
|
1292
1740
|
readonly supplier_name: {
|
|
1293
|
-
readonly type:
|
|
1741
|
+
readonly type: "string";
|
|
1294
1742
|
};
|
|
1295
1743
|
readonly factory_id: {
|
|
1296
1744
|
readonly type: "string";
|
|
1297
1745
|
readonly pattern: "^FAC\\d{5}$";
|
|
1298
1746
|
};
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
readonly properties: {
|
|
1305
|
-
readonly direct: {
|
|
1747
|
+
readonly first_purchased_at: {
|
|
1748
|
+
readonly type: "string";
|
|
1749
|
+
readonly format: "date-time";
|
|
1750
|
+
};
|
|
1751
|
+
readonly range: {
|
|
1306
1752
|
readonly type: readonly ["string", "null"];
|
|
1753
|
+
readonly enum: readonly ["Main Collection", "Seasonal"];
|
|
1307
1754
|
};
|
|
1308
|
-
readonly
|
|
1755
|
+
readonly channel_exclusivity: {
|
|
1309
1756
|
readonly type: readonly ["string", "null"];
|
|
1310
1757
|
};
|
|
1311
|
-
readonly
|
|
1758
|
+
readonly collections: {
|
|
1759
|
+
readonly type: readonly ["string"];
|
|
1760
|
+
};
|
|
1761
|
+
readonly seasons: {
|
|
1762
|
+
readonly type: readonly ["string"];
|
|
1763
|
+
readonly pattern: "^(AW|SS|FW|SP)[0-9]{2}$";
|
|
1764
|
+
};
|
|
1765
|
+
readonly block: {
|
|
1766
|
+
readonly type: "string";
|
|
1767
|
+
};
|
|
1768
|
+
readonly packing_method: {
|
|
1769
|
+
readonly type: readonly ["string", "null"];
|
|
1770
|
+
readonly enum: readonly ["Standard", "Hanging"];
|
|
1771
|
+
};
|
|
1772
|
+
readonly is_bought_in_product: {
|
|
1773
|
+
readonly type: "boolean";
|
|
1774
|
+
};
|
|
1775
|
+
readonly division: {
|
|
1776
|
+
readonly type: readonly ["string", "null"];
|
|
1777
|
+
readonly enum: readonly ["Women"];
|
|
1778
|
+
};
|
|
1779
|
+
readonly drops: {
|
|
1780
|
+
readonly type: readonly ["string"];
|
|
1781
|
+
};
|
|
1782
|
+
readonly first_markdown_at: {
|
|
1783
|
+
readonly type: "string";
|
|
1784
|
+
readonly format: "date-time";
|
|
1785
|
+
};
|
|
1786
|
+
readonly measurement_table: {
|
|
1787
|
+
readonly type: readonly ["string"];
|
|
1788
|
+
};
|
|
1789
|
+
readonly stock_type: {
|
|
1790
|
+
readonly type: "string";
|
|
1791
|
+
};
|
|
1792
|
+
readonly development_type: {
|
|
1793
|
+
readonly type: "string";
|
|
1794
|
+
readonly pattern: "^[A-Z]{2}\\d{2}[A-Z]{3}-\\d{6}$";
|
|
1795
|
+
};
|
|
1796
|
+
readonly occasion: {
|
|
1797
|
+
readonly type: "string";
|
|
1798
|
+
};
|
|
1799
|
+
readonly strategy_type: {
|
|
1800
|
+
readonly type: "string";
|
|
1801
|
+
};
|
|
1802
|
+
readonly pattern_name: {
|
|
1803
|
+
readonly type: "string";
|
|
1804
|
+
};
|
|
1805
|
+
readonly fit_type: {
|
|
1806
|
+
readonly type: "string";
|
|
1807
|
+
};
|
|
1808
|
+
readonly neckline: {
|
|
1809
|
+
readonly type: "string";
|
|
1810
|
+
};
|
|
1811
|
+
readonly sleeve_length: {
|
|
1812
|
+
readonly type: "string";
|
|
1813
|
+
readonly nullable: true;
|
|
1814
|
+
};
|
|
1815
|
+
readonly heel_height: {
|
|
1816
|
+
readonly type: readonly ["string", "null"];
|
|
1817
|
+
};
|
|
1818
|
+
readonly heel_shape: {
|
|
1819
|
+
readonly type: "string";
|
|
1820
|
+
};
|
|
1821
|
+
readonly toe_shape: {
|
|
1822
|
+
readonly type: "string";
|
|
1823
|
+
};
|
|
1824
|
+
readonly trouser_fit: {
|
|
1825
|
+
readonly type: "string";
|
|
1826
|
+
readonly nullable: true;
|
|
1827
|
+
};
|
|
1828
|
+
readonly leg_length: {
|
|
1829
|
+
readonly type: "string";
|
|
1830
|
+
readonly nullable: true;
|
|
1831
|
+
};
|
|
1832
|
+
readonly handle_straps: {
|
|
1833
|
+
readonly type: "string";
|
|
1834
|
+
};
|
|
1835
|
+
readonly fastening: {
|
|
1836
|
+
readonly type: "string";
|
|
1837
|
+
};
|
|
1838
|
+
readonly sole_code: {
|
|
1839
|
+
readonly type: "string";
|
|
1840
|
+
};
|
|
1841
|
+
readonly fashionability: {
|
|
1312
1842
|
readonly type: readonly ["string", "null"];
|
|
1843
|
+
readonly enum: readonly ["Core"];
|
|
1844
|
+
};
|
|
1845
|
+
readonly weight: {
|
|
1846
|
+
readonly type: "number";
|
|
1847
|
+
readonly minimum: 1;
|
|
1848
|
+
};
|
|
1849
|
+
readonly average_weight_grams: {
|
|
1850
|
+
readonly type: "number";
|
|
1851
|
+
readonly minimum: 1;
|
|
1852
|
+
};
|
|
1853
|
+
readonly care_instructions: {
|
|
1854
|
+
readonly type: "string";
|
|
1855
|
+
};
|
|
1856
|
+
readonly size_guide: {
|
|
1857
|
+
readonly type: "string";
|
|
1313
1858
|
};
|
|
1314
1859
|
};
|
|
1860
|
+
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"];
|
|
1315
1861
|
};
|
|
1316
1862
|
};
|
|
1317
|
-
readonly required: readonly ["product_id", "
|
|
1863
|
+
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"];
|
|
1318
1864
|
}, {
|
|
1319
1865
|
readonly type: "object";
|
|
1320
1866
|
readonly additionalProperties: false;
|
|
1321
|
-
readonly required: readonly ["
|
|
1867
|
+
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"];
|
|
1322
1868
|
}];
|
|
1323
|
-
readonly $id: "https://shushed.example.com/messages/product-
|
|
1869
|
+
readonly $id: "https://shushed.example.com/messages/product-change.schema.json";
|
|
1324
1870
|
};
|
|
1325
1871
|
|
|
1326
1872
|
declare const schema$e: {
|
|
@@ -20582,7 +21128,7 @@ declare namespace index$g {
|
|
|
20582
21128
|
}
|
|
20583
21129
|
|
|
20584
21130
|
declare namespace index$f {
|
|
20585
|
-
export { schema$
|
|
21131
|
+
export { schema$i as EanChange, index$g as Order, schema$h as PriceChange, schema$f as Product, schema$g as ProductDraft };
|
|
20586
21132
|
}
|
|
20587
21133
|
|
|
20588
21134
|
declare const schema$8: {
|
|
@@ -26621,39 +27167,39 @@ declare namespace index$a {
|
|
|
26621
27167
|
}
|
|
26622
27168
|
|
|
26623
27169
|
declare namespace index$9 {
|
|
26624
|
-
export { schema$
|
|
27170
|
+
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 };
|
|
26625
27171
|
}
|
|
26626
27172
|
|
|
26627
|
-
type __MainSchema$
|
|
27173
|
+
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");
|
|
26628
27174
|
|
|
26629
|
-
type __MainSchema$
|
|
27175
|
+
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");
|
|
26630
27176
|
|
|
26631
|
-
type Currency$
|
|
27177
|
+
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");
|
|
26632
27178
|
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");
|
|
26633
|
-
interface __MainSchema$
|
|
27179
|
+
interface __MainSchema$s {
|
|
26634
27180
|
value: number;
|
|
26635
27181
|
decimal_places: number;
|
|
26636
|
-
currency: Currency$
|
|
27182
|
+
currency: Currency$l;
|
|
26637
27183
|
lcy_value: number;
|
|
26638
27184
|
lcy_currency: LCYCurrency$j;
|
|
26639
27185
|
lcy_decimal_places: number;
|
|
26640
27186
|
}
|
|
26641
27187
|
|
|
26642
|
-
type Currency$
|
|
26643
|
-
interface __MainSchema$
|
|
26644
|
-
style_id?: string;
|
|
26645
|
-
colour_id?: string;
|
|
27188
|
+
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");
|
|
27189
|
+
interface __MainSchema$r {
|
|
27190
|
+
style_id?: (string | null);
|
|
27191
|
+
colour_id?: (string | null);
|
|
26646
27192
|
full_price?: number;
|
|
26647
27193
|
markdown?: number;
|
|
26648
27194
|
pos?: number;
|
|
26649
|
-
currency?: Currency$
|
|
27195
|
+
currency?: Currency$k;
|
|
26650
27196
|
effective_from?: string;
|
|
26651
27197
|
}
|
|
26652
27198
|
|
|
26653
|
-
type Currency$
|
|
27199
|
+
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");
|
|
26654
27200
|
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");
|
|
26655
|
-
type Country$
|
|
26656
|
-
interface __MainSchema$
|
|
27201
|
+
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");
|
|
27202
|
+
interface __MainSchema$q {
|
|
26657
27203
|
product_id: string;
|
|
26658
27204
|
product_name: string;
|
|
26659
27205
|
colour_label: string;
|
|
@@ -26717,7 +27263,7 @@ interface __MainSchema$n {
|
|
|
26717
27263
|
supplier_inco_terms?: (string | null);
|
|
26718
27264
|
};
|
|
26719
27265
|
supplier_data: {
|
|
26720
|
-
country_of_origin: Country$
|
|
27266
|
+
country_of_origin: Country$b;
|
|
26721
27267
|
port_of_origin: string;
|
|
26722
27268
|
supplier_id: string;
|
|
26723
27269
|
supplier_name?: (string | null);
|
|
@@ -26732,16 +27278,84 @@ interface __MainSchema$n {
|
|
|
26732
27278
|
interface Money$a {
|
|
26733
27279
|
value: number;
|
|
26734
27280
|
decimal_places: number;
|
|
26735
|
-
currency: Currency$
|
|
27281
|
+
currency: Currency$j;
|
|
26736
27282
|
lcy_value: number;
|
|
26737
27283
|
lcy_currency: LCYCurrency$i;
|
|
26738
27284
|
lcy_decimal_places: number;
|
|
26739
27285
|
}
|
|
26740
27286
|
|
|
26741
|
-
type
|
|
27287
|
+
type Country$a = ("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");
|
|
27288
|
+
interface __MainSchema$p {
|
|
27289
|
+
product_id: string;
|
|
27290
|
+
style_id: string;
|
|
27291
|
+
colour_code?: string;
|
|
27292
|
+
product_name: string;
|
|
27293
|
+
is_available_to_order: boolean;
|
|
27294
|
+
created_at: string;
|
|
27295
|
+
last_modified_at: string;
|
|
27296
|
+
colour_family_name: string;
|
|
27297
|
+
colour_label: string;
|
|
27298
|
+
variants: {
|
|
27299
|
+
size: string;
|
|
27300
|
+
size_label: string;
|
|
27301
|
+
[k: string]: unknown;
|
|
27302
|
+
}[];
|
|
27303
|
+
images: unknown[];
|
|
27304
|
+
vat_amount: number;
|
|
27305
|
+
commodity_code_ref?: string;
|
|
27306
|
+
attributes: {
|
|
27307
|
+
product_type: string;
|
|
27308
|
+
main_fibre: string;
|
|
27309
|
+
merch_product_category: string;
|
|
27310
|
+
merch_product_subcategory: string;
|
|
27311
|
+
extra_selling_point?: string;
|
|
27312
|
+
length_measurement: (string | null);
|
|
27313
|
+
country_of_origin?: Country$a;
|
|
27314
|
+
port_of_origin?: string;
|
|
27315
|
+
supplier_id?: string;
|
|
27316
|
+
supplier_name?: string;
|
|
27317
|
+
factory_id?: string;
|
|
27318
|
+
first_purchased_at?: string;
|
|
27319
|
+
range: (("Main Collection" | "Seasonal") | null);
|
|
27320
|
+
channel_exclusivity?: (string | null);
|
|
27321
|
+
collections?: string;
|
|
27322
|
+
seasons?: string;
|
|
27323
|
+
block: string;
|
|
27324
|
+
packing_method: (("Standard" | "Hanging") | null);
|
|
27325
|
+
is_bought_in_product: boolean;
|
|
27326
|
+
division: ("Women" | null);
|
|
27327
|
+
drops?: string;
|
|
27328
|
+
first_markdown_at?: string;
|
|
27329
|
+
measurement_table?: string;
|
|
27330
|
+
stock_type: string;
|
|
27331
|
+
development_type?: string;
|
|
27332
|
+
occasion: string;
|
|
27333
|
+
strategy_type: string;
|
|
27334
|
+
pattern_name: string;
|
|
27335
|
+
fit_type: string;
|
|
27336
|
+
neckline: string;
|
|
27337
|
+
sleeve_length: string;
|
|
27338
|
+
heel_height: (string | null);
|
|
27339
|
+
heel_shape: string;
|
|
27340
|
+
toe_shape: string;
|
|
27341
|
+
trouser_fit?: string;
|
|
27342
|
+
leg_length: string;
|
|
27343
|
+
handle_straps: string;
|
|
27344
|
+
fastening: string;
|
|
27345
|
+
sole_code: string;
|
|
27346
|
+
fashionability: ("Core" | null);
|
|
27347
|
+
weight: number;
|
|
27348
|
+
average_weight_grams: number;
|
|
27349
|
+
care_instructions: string;
|
|
27350
|
+
size_guide: string;
|
|
27351
|
+
[k: string]: unknown;
|
|
27352
|
+
};
|
|
27353
|
+
}
|
|
27354
|
+
|
|
27355
|
+
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");
|
|
26742
27356
|
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");
|
|
26743
27357
|
type DiscountAmountPercent$f = number;
|
|
26744
|
-
interface __MainSchema$
|
|
27358
|
+
interface __MainSchema$o {
|
|
26745
27359
|
amount_net: AmountNet$8;
|
|
26746
27360
|
amount_gross: AmountGross$8;
|
|
26747
27361
|
discount_amount_net: DiscountAmountNet$8;
|
|
@@ -26751,7 +27365,7 @@ interface __MainSchema$m {
|
|
|
26751
27365
|
interface AmountNet$8 {
|
|
26752
27366
|
value: number;
|
|
26753
27367
|
decimal_places: number;
|
|
26754
|
-
currency: Currency$
|
|
27368
|
+
currency: Currency$i;
|
|
26755
27369
|
lcy_value: number;
|
|
26756
27370
|
lcy_currency: LCYCurrency$h;
|
|
26757
27371
|
lcy_decimal_places: number;
|
|
@@ -26759,7 +27373,7 @@ interface AmountNet$8 {
|
|
|
26759
27373
|
interface AmountGross$8 {
|
|
26760
27374
|
value: number;
|
|
26761
27375
|
decimal_places: number;
|
|
26762
|
-
currency: Currency$
|
|
27376
|
+
currency: Currency$i;
|
|
26763
27377
|
lcy_value: number;
|
|
26764
27378
|
lcy_currency: LCYCurrency$h;
|
|
26765
27379
|
lcy_decimal_places: number;
|
|
@@ -26767,7 +27381,7 @@ interface AmountGross$8 {
|
|
|
26767
27381
|
interface DiscountAmountNet$8 {
|
|
26768
27382
|
value: number;
|
|
26769
27383
|
decimal_places: number;
|
|
26770
|
-
currency: Currency$
|
|
27384
|
+
currency: Currency$i;
|
|
26771
27385
|
lcy_value: number;
|
|
26772
27386
|
lcy_currency: LCYCurrency$h;
|
|
26773
27387
|
lcy_decimal_places: number;
|
|
@@ -26775,21 +27389,33 @@ interface DiscountAmountNet$8 {
|
|
|
26775
27389
|
interface DiscountAmountGross$8 {
|
|
26776
27390
|
value: number;
|
|
26777
27391
|
decimal_places: number;
|
|
26778
|
-
currency: Currency$
|
|
27392
|
+
currency: Currency$i;
|
|
26779
27393
|
lcy_value: number;
|
|
26780
27394
|
lcy_currency: LCYCurrency$h;
|
|
26781
27395
|
lcy_decimal_places: number;
|
|
26782
27396
|
}
|
|
26783
27397
|
|
|
26784
|
-
interface __MainSchema$
|
|
27398
|
+
interface __MainSchema$n {
|
|
26785
27399
|
sku: string;
|
|
26786
27400
|
ean: string;
|
|
26787
27401
|
}
|
|
26788
27402
|
|
|
26789
|
-
type __MainSchema$
|
|
27403
|
+
type __MainSchema$m = (Price & {});
|
|
27404
|
+
type Currency$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");
|
|
27405
|
+
interface Price {
|
|
27406
|
+
style_id?: (string | null);
|
|
27407
|
+
colour_id?: (string | null);
|
|
27408
|
+
full_price?: number;
|
|
27409
|
+
markdown?: number;
|
|
27410
|
+
pos?: number;
|
|
27411
|
+
currency?: Currency$h;
|
|
27412
|
+
effective_from?: string;
|
|
27413
|
+
}
|
|
27414
|
+
|
|
27415
|
+
type __MainSchema$l = (ProductDraft & {});
|
|
26790
27416
|
type Currency$g = ("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");
|
|
26791
27417
|
type LCYCurrency$g = ("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");
|
|
26792
|
-
type Country$
|
|
27418
|
+
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");
|
|
26793
27419
|
interface ProductDraft {
|
|
26794
27420
|
product_id: string;
|
|
26795
27421
|
product_name: string;
|
|
@@ -26854,7 +27480,7 @@ interface ProductDraft {
|
|
|
26854
27480
|
supplier_inco_terms?: (string | null);
|
|
26855
27481
|
};
|
|
26856
27482
|
supplier_data: {
|
|
26857
|
-
country_of_origin: Country$
|
|
27483
|
+
country_of_origin: Country$9;
|
|
26858
27484
|
port_of_origin: string;
|
|
26859
27485
|
supplier_id: string;
|
|
26860
27486
|
supplier_name?: (string | null);
|
|
@@ -26875,6 +27501,75 @@ interface Money$9 {
|
|
|
26875
27501
|
lcy_decimal_places: number;
|
|
26876
27502
|
}
|
|
26877
27503
|
|
|
27504
|
+
type __MainSchema$k = (Product & {});
|
|
27505
|
+
type Country$8 = ("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");
|
|
27506
|
+
interface Product {
|
|
27507
|
+
product_id: string;
|
|
27508
|
+
style_id: string;
|
|
27509
|
+
colour_code?: string;
|
|
27510
|
+
product_name: string;
|
|
27511
|
+
is_available_to_order: boolean;
|
|
27512
|
+
created_at: string;
|
|
27513
|
+
last_modified_at: string;
|
|
27514
|
+
colour_family_name: string;
|
|
27515
|
+
colour_label: string;
|
|
27516
|
+
variants: {
|
|
27517
|
+
size: string;
|
|
27518
|
+
size_label: string;
|
|
27519
|
+
[k: string]: unknown;
|
|
27520
|
+
}[];
|
|
27521
|
+
images: unknown[];
|
|
27522
|
+
vat_amount: number;
|
|
27523
|
+
commodity_code_ref?: string;
|
|
27524
|
+
attributes: {
|
|
27525
|
+
product_type: string;
|
|
27526
|
+
main_fibre: string;
|
|
27527
|
+
merch_product_category: string;
|
|
27528
|
+
merch_product_subcategory: string;
|
|
27529
|
+
extra_selling_point?: string;
|
|
27530
|
+
length_measurement: (string | null);
|
|
27531
|
+
country_of_origin?: Country$8;
|
|
27532
|
+
port_of_origin?: string;
|
|
27533
|
+
supplier_id?: string;
|
|
27534
|
+
supplier_name?: string;
|
|
27535
|
+
factory_id?: string;
|
|
27536
|
+
first_purchased_at?: string;
|
|
27537
|
+
range: (("Main Collection" | "Seasonal") | null);
|
|
27538
|
+
channel_exclusivity?: (string | null);
|
|
27539
|
+
collections?: string;
|
|
27540
|
+
seasons?: string;
|
|
27541
|
+
block: string;
|
|
27542
|
+
packing_method: (("Standard" | "Hanging") | null);
|
|
27543
|
+
is_bought_in_product: boolean;
|
|
27544
|
+
division: ("Women" | null);
|
|
27545
|
+
drops?: string;
|
|
27546
|
+
first_markdown_at?: string;
|
|
27547
|
+
measurement_table?: string;
|
|
27548
|
+
stock_type: string;
|
|
27549
|
+
development_type?: string;
|
|
27550
|
+
occasion: string;
|
|
27551
|
+
strategy_type: string;
|
|
27552
|
+
pattern_name: string;
|
|
27553
|
+
fit_type: string;
|
|
27554
|
+
neckline: string;
|
|
27555
|
+
sleeve_length: string;
|
|
27556
|
+
heel_height: (string | null);
|
|
27557
|
+
heel_shape: string;
|
|
27558
|
+
toe_shape: string;
|
|
27559
|
+
trouser_fit?: string;
|
|
27560
|
+
leg_length: string;
|
|
27561
|
+
handle_straps: string;
|
|
27562
|
+
fastening: string;
|
|
27563
|
+
sole_code: string;
|
|
27564
|
+
fashionability: ("Core" | null);
|
|
27565
|
+
weight: number;
|
|
27566
|
+
average_weight_grams: number;
|
|
27567
|
+
care_instructions: string;
|
|
27568
|
+
size_guide: string;
|
|
27569
|
+
[k: string]: unknown;
|
|
27570
|
+
};
|
|
27571
|
+
}
|
|
27572
|
+
|
|
26878
27573
|
type __MainSchema$j = (Order$5 & {
|
|
26879
27574
|
status?: ("SHIPPED" | "PARTIALLY-SHIPPED" | "RETURNED" | "PARTIALLY-RETURNED" | "CANCELLED");
|
|
26880
27575
|
});
|
|
@@ -27946,7 +28641,7 @@ declare namespace index$8 {
|
|
|
27946
28641
|
}
|
|
27947
28642
|
|
|
27948
28643
|
declare namespace index$7 {
|
|
27949
|
-
export { type __MainSchema$
|
|
28644
|
+
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 };
|
|
27950
28645
|
}
|
|
27951
28646
|
|
|
27952
28647
|
type Country$1 = ("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");
|
|
@@ -28750,7 +29445,7 @@ declare namespace index$2 {
|
|
|
28750
29445
|
}
|
|
28751
29446
|
|
|
28752
29447
|
declare namespace index$1 {
|
|
28753
|
-
export { type __MainSchema$
|
|
29448
|
+
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 };
|
|
28754
29449
|
}
|
|
28755
29450
|
|
|
28756
29451
|
type Log = {
|