@shushed/helpers 0.0.247-airtable-helper-views-20260130120550 → 0.0.247-airtable-helper-views-20260130125302
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/cjs/contracts/product-draft.schema.json +14 -0
- package/dist/cjs/contracts/product.schema.json +119 -376
- package/dist/cjs/dist-dereferenced/messages/product-draft.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/product.js +1 -1
- package/dist/cjs/dist-dereferenced/product-draft.js +1 -1
- package/dist/cjs/dist-dereferenced/product.js +1 -1
- package/dist/types/dist-dereferenced/messages/product-draft.d.ts +6 -0
- package/dist/types/dist-dereferenced/messages/product.d.ts +98 -286
- package/dist/types/dist-dereferenced/product-draft.d.ts +6 -0
- package/dist/types/dist-dereferenced/product.d.ts +98 -286
- package/dist/types/dist-types/messages/product-draft.d.ts +2 -0
- package/dist/types/dist-types/messages/product.d.ts +30 -67
- package/dist/types/dist-types/product-draft.d.ts +2 -0
- package/dist/types/dist-types/product.d.ts +30 -67
- package/package.json +1 -1
|
@@ -4,38 +4,23 @@ export type Country = ("AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "
|
|
|
4
4
|
export interface Product {
|
|
5
5
|
product_id: string;
|
|
6
6
|
slug?: string;
|
|
7
|
-
style_slug?: string;
|
|
8
7
|
style_id: string;
|
|
9
|
-
colour_id
|
|
8
|
+
colour_id: string;
|
|
10
9
|
style_name?: string;
|
|
11
|
-
|
|
12
|
-
display_name?: (string | null);
|
|
10
|
+
display_name: string;
|
|
13
11
|
buffer_quantity?: number;
|
|
14
12
|
display_type?: ("Out-of-stock" | "Permanently-unavailable");
|
|
15
13
|
available_to_sell_from?: (string | null);
|
|
16
|
-
online_from: (string | null);
|
|
17
|
-
online_to?: (string | null);
|
|
18
|
-
first_online_at?: (string | null);
|
|
19
|
-
last_online_at?: (string | null);
|
|
20
|
-
first_purchased_at?: string;
|
|
21
|
-
first_markdown_at?: (string | null);
|
|
22
14
|
created_at?: string;
|
|
23
15
|
last_modified_at?: string;
|
|
24
16
|
colour_family_name?: string;
|
|
25
|
-
colour_code?: string;
|
|
26
17
|
colour_name?: string;
|
|
27
18
|
display_tags?: DisplayTags;
|
|
28
19
|
sizerange_code?: string;
|
|
29
|
-
sizerange_name?: string;
|
|
30
20
|
variants?: {
|
|
31
21
|
code: string;
|
|
32
22
|
name: string;
|
|
33
|
-
|
|
34
|
-
}[];
|
|
35
|
-
images?: {
|
|
36
|
-
type: ("Campaign" | "Ecom" | "Flatlay" | "UGC" | "AI");
|
|
37
|
-
url: string;
|
|
38
|
-
description?: string;
|
|
23
|
+
ean?: (string | null);
|
|
39
24
|
[k: string]: unknown;
|
|
40
25
|
}[];
|
|
41
26
|
vat_rate_uk?: (number | null);
|
|
@@ -44,47 +29,40 @@ export interface Product {
|
|
|
44
29
|
commodity_code_ref?: string;
|
|
45
30
|
country_of_origin?: Country;
|
|
46
31
|
port_of_origin?: string;
|
|
47
|
-
supplier_id?: string;
|
|
48
|
-
supplier_name?: string;
|
|
49
|
-
factory_id?: string;
|
|
50
32
|
packing_method?: (("Standard" | "Hanging") | null);
|
|
51
33
|
is_bought_in_product?: boolean;
|
|
52
34
|
[k: string]: unknown;
|
|
53
35
|
};
|
|
54
36
|
merch?: {
|
|
55
37
|
strategy_type?: string;
|
|
56
|
-
product_type?: string;
|
|
57
|
-
stock_type?: string;
|
|
58
38
|
category?: string;
|
|
59
39
|
subcategory?: string;
|
|
60
|
-
range?: (("Main Collection" | "Seasonal") | null);
|
|
61
|
-
channels_availability?: ("DIRECT-UK" | "DIRECT-INT" | "DIRECT-US" | "JL-STORES" | "JL-WEB" | "NEXT" | "MS" | "FENWICK" | "MORLEYS")[];
|
|
62
|
-
collections?: string;
|
|
63
40
|
seasons?: string[];
|
|
64
41
|
drops?: string[];
|
|
65
|
-
fashionability?: (string | null);
|
|
66
42
|
[k: string]: unknown;
|
|
67
43
|
};
|
|
44
|
+
category_assignments?: {
|
|
45
|
+
display_path?: string[];
|
|
46
|
+
path?: string[];
|
|
47
|
+
name?: string;
|
|
48
|
+
id?: string;
|
|
49
|
+
[k: string]: unknown;
|
|
50
|
+
}[];
|
|
68
51
|
attributes?: Attributes;
|
|
69
|
-
|
|
52
|
+
markets?: string[];
|
|
53
|
+
markets_overrides?: {
|
|
70
54
|
[k: string]: {
|
|
71
55
|
locale: string;
|
|
72
|
-
|
|
56
|
+
market: string;
|
|
73
57
|
slug?: string;
|
|
74
|
-
style_slug?: string;
|
|
75
58
|
style_name?: string;
|
|
76
|
-
display_name?:
|
|
59
|
+
display_name?: string;
|
|
77
60
|
display_type?: ("Out-of-stock" | "Permanently-unavailable");
|
|
78
61
|
available_to_sell_from?: (string | null);
|
|
79
|
-
online_from?: (string | null);
|
|
80
|
-
online_to?: (string | null);
|
|
81
|
-
last_online_at?: (string | null);
|
|
82
|
-
first_purchased_at?: string;
|
|
83
|
-
first_markdown_at?: (string | null);
|
|
84
62
|
colour_family_name?: string;
|
|
85
63
|
colour_name?: string;
|
|
86
64
|
display_tags?: DisplayTags;
|
|
87
|
-
|
|
65
|
+
last_online_at?: (string | null);
|
|
88
66
|
variants?: {
|
|
89
67
|
code: string;
|
|
90
68
|
name: string;
|
|
@@ -95,49 +73,34 @@ export interface Product {
|
|
|
95
73
|
};
|
|
96
74
|
}
|
|
97
75
|
export interface Attributes {
|
|
76
|
+
stock_quantity_score?: number;
|
|
77
|
+
stock_availability?: number;
|
|
78
|
+
measurement_chart?: (string | null);
|
|
79
|
+
sizeguide_type?: (string | null);
|
|
80
|
+
brand?: (string | null);
|
|
81
|
+
shoes_type?: (string | null);
|
|
98
82
|
seo_url_name?: string;
|
|
99
|
-
embellishment?: (string | null);
|
|
100
83
|
seo_title?: (string | null);
|
|
101
84
|
seo_description?: (string | null);
|
|
102
85
|
fit_description?: (string | null);
|
|
103
86
|
description?: (string | null);
|
|
104
87
|
fabric_care?: (string | null);
|
|
105
|
-
delivery_returns?: (string | null);
|
|
106
88
|
weight?: (number | null);
|
|
107
|
-
weight_statement?: (string | null);
|
|
108
89
|
main_fibre?: (string | null);
|
|
109
90
|
main_metal?: (string | null);
|
|
110
|
-
extra_selling_points?: string[];
|
|
111
|
-
length_measurement?: (string | null);
|
|
112
|
-
measurement_table_code?: string;
|
|
113
|
-
fit?: (string | null);
|
|
114
|
-
pockets?: (string | null);
|
|
115
|
-
pleats_gathers?: (string | null);
|
|
116
|
-
lining?: (string | null);
|
|
117
|
-
bias_cut?: (string | null);
|
|
118
91
|
designer?: (string | null);
|
|
119
|
-
fabric?: (string | null);
|
|
120
|
-
fabric_composition?: (string | null);
|
|
121
92
|
certificate_code?: (string | null);
|
|
122
|
-
shape?: (string | null);
|
|
123
|
-
development_type?: string;
|
|
124
|
-
occasion?: (string | null);
|
|
125
|
-
design?: (string | null);
|
|
126
|
-
block?: (string | null);
|
|
127
93
|
pattern_name?: (string | null);
|
|
128
94
|
fit_type?: (string | null);
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
straps_features?: (string | null);
|
|
139
|
-
fastening?: ((string[] | null) | null);
|
|
140
|
-
sole_material?: (string | null);
|
|
95
|
+
trousers_fit?: (string | null);
|
|
96
|
+
trousers_length?: (string | null);
|
|
97
|
+
dresses_skirts_length?: (string | null);
|
|
98
|
+
coats_jackets_type?: (string | null);
|
|
99
|
+
dresses_skirts_type?: (string | null);
|
|
100
|
+
bag_type?: (string | null);
|
|
101
|
+
product_category?: (string | null);
|
|
102
|
+
product_type?: (string | null);
|
|
103
|
+
metal?: (string | null);
|
|
141
104
|
care_instructions?: string[];
|
|
142
105
|
[k: string]: unknown;
|
|
143
106
|
}
|
|
@@ -84,6 +84,7 @@ export interface __MainSchema {
|
|
|
84
84
|
strategy_type?: (string | null);
|
|
85
85
|
pattern_name?: (string | null);
|
|
86
86
|
neckline?: (string | null);
|
|
87
|
+
neckline_statement?: (string | null);
|
|
87
88
|
sleeve_length?: (string | null);
|
|
88
89
|
leg_length?: (string | null);
|
|
89
90
|
heel_height?: (string | null);
|
|
@@ -98,6 +99,7 @@ export interface __MainSchema {
|
|
|
98
99
|
weight_statement?: (string | null);
|
|
99
100
|
weight?: (number | null);
|
|
100
101
|
extra_selling_points?: string[];
|
|
102
|
+
length_statement?: (string | null);
|
|
101
103
|
length_measurement?: (string | null);
|
|
102
104
|
fabric_composition?: (string | null);
|
|
103
105
|
};
|
|
@@ -3,38 +3,23 @@ export type Country = ("AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "
|
|
|
3
3
|
export interface __MainSchema {
|
|
4
4
|
product_id: string;
|
|
5
5
|
slug?: string;
|
|
6
|
-
style_slug?: string;
|
|
7
6
|
style_id: string;
|
|
8
|
-
colour_id
|
|
7
|
+
colour_id: string;
|
|
9
8
|
style_name?: string;
|
|
10
|
-
|
|
11
|
-
display_name?: (string | null);
|
|
9
|
+
display_name: string;
|
|
12
10
|
buffer_quantity?: number;
|
|
13
11
|
display_type?: ("Out-of-stock" | "Permanently-unavailable");
|
|
14
12
|
available_to_sell_from?: (string | null);
|
|
15
|
-
online_from: (string | null);
|
|
16
|
-
online_to?: (string | null);
|
|
17
|
-
first_online_at?: (string | null);
|
|
18
|
-
last_online_at?: (string | null);
|
|
19
|
-
first_purchased_at?: string;
|
|
20
|
-
first_markdown_at?: (string | null);
|
|
21
13
|
created_at?: string;
|
|
22
14
|
last_modified_at?: string;
|
|
23
15
|
colour_family_name?: string;
|
|
24
|
-
colour_code?: string;
|
|
25
16
|
colour_name?: string;
|
|
26
17
|
display_tags?: DisplayTags;
|
|
27
18
|
sizerange_code?: string;
|
|
28
|
-
sizerange_name?: string;
|
|
29
19
|
variants?: {
|
|
30
20
|
code: string;
|
|
31
21
|
name: string;
|
|
32
|
-
|
|
33
|
-
}[];
|
|
34
|
-
images?: {
|
|
35
|
-
type: ("Campaign" | "Ecom" | "Flatlay" | "UGC" | "AI");
|
|
36
|
-
url: string;
|
|
37
|
-
description?: string;
|
|
22
|
+
ean?: (string | null);
|
|
38
23
|
[k: string]: unknown;
|
|
39
24
|
}[];
|
|
40
25
|
vat_rate_uk?: (number | null);
|
|
@@ -43,47 +28,40 @@ export interface __MainSchema {
|
|
|
43
28
|
commodity_code_ref?: string;
|
|
44
29
|
country_of_origin?: Country;
|
|
45
30
|
port_of_origin?: string;
|
|
46
|
-
supplier_id?: string;
|
|
47
|
-
supplier_name?: string;
|
|
48
|
-
factory_id?: string;
|
|
49
31
|
packing_method?: (("Standard" | "Hanging") | null);
|
|
50
32
|
is_bought_in_product?: boolean;
|
|
51
33
|
[k: string]: unknown;
|
|
52
34
|
};
|
|
53
35
|
merch?: {
|
|
54
36
|
strategy_type?: string;
|
|
55
|
-
product_type?: string;
|
|
56
|
-
stock_type?: string;
|
|
57
37
|
category?: string;
|
|
58
38
|
subcategory?: string;
|
|
59
|
-
range?: (("Main Collection" | "Seasonal") | null);
|
|
60
|
-
channels_availability?: ("DIRECT-UK" | "DIRECT-INT" | "DIRECT-US" | "JL-STORES" | "JL-WEB" | "NEXT" | "MS" | "FENWICK" | "MORLEYS")[];
|
|
61
|
-
collections?: string;
|
|
62
39
|
seasons?: string[];
|
|
63
40
|
drops?: string[];
|
|
64
|
-
fashionability?: (string | null);
|
|
65
41
|
[k: string]: unknown;
|
|
66
42
|
};
|
|
43
|
+
category_assignments?: {
|
|
44
|
+
display_path?: string[];
|
|
45
|
+
path?: string[];
|
|
46
|
+
name?: string;
|
|
47
|
+
id?: string;
|
|
48
|
+
[k: string]: unknown;
|
|
49
|
+
}[];
|
|
67
50
|
attributes?: Attributes;
|
|
68
|
-
|
|
51
|
+
markets?: string[];
|
|
52
|
+
markets_overrides?: {
|
|
69
53
|
[k: string]: {
|
|
70
54
|
locale: string;
|
|
71
|
-
|
|
55
|
+
market: string;
|
|
72
56
|
slug?: string;
|
|
73
|
-
style_slug?: string;
|
|
74
57
|
style_name?: string;
|
|
75
|
-
display_name?:
|
|
58
|
+
display_name?: string;
|
|
76
59
|
display_type?: ("Out-of-stock" | "Permanently-unavailable");
|
|
77
60
|
available_to_sell_from?: (string | null);
|
|
78
|
-
online_from?: (string | null);
|
|
79
|
-
online_to?: (string | null);
|
|
80
|
-
last_online_at?: (string | null);
|
|
81
|
-
first_purchased_at?: string;
|
|
82
|
-
first_markdown_at?: (string | null);
|
|
83
61
|
colour_family_name?: string;
|
|
84
62
|
colour_name?: string;
|
|
85
63
|
display_tags?: DisplayTags;
|
|
86
|
-
|
|
64
|
+
last_online_at?: (string | null);
|
|
87
65
|
variants?: {
|
|
88
66
|
code: string;
|
|
89
67
|
name: string;
|
|
@@ -94,49 +72,34 @@ export interface __MainSchema {
|
|
|
94
72
|
};
|
|
95
73
|
}
|
|
96
74
|
export interface Attributes {
|
|
75
|
+
stock_quantity_score?: number;
|
|
76
|
+
stock_availability?: number;
|
|
77
|
+
measurement_chart?: (string | null);
|
|
78
|
+
sizeguide_type?: (string | null);
|
|
79
|
+
brand?: (string | null);
|
|
80
|
+
shoes_type?: (string | null);
|
|
97
81
|
seo_url_name?: string;
|
|
98
|
-
embellishment?: (string | null);
|
|
99
82
|
seo_title?: (string | null);
|
|
100
83
|
seo_description?: (string | null);
|
|
101
84
|
fit_description?: (string | null);
|
|
102
85
|
description?: (string | null);
|
|
103
86
|
fabric_care?: (string | null);
|
|
104
|
-
delivery_returns?: (string | null);
|
|
105
87
|
weight?: (number | null);
|
|
106
|
-
weight_statement?: (string | null);
|
|
107
88
|
main_fibre?: (string | null);
|
|
108
89
|
main_metal?: (string | null);
|
|
109
|
-
extra_selling_points?: string[];
|
|
110
|
-
length_measurement?: (string | null);
|
|
111
|
-
measurement_table_code?: string;
|
|
112
|
-
fit?: (string | null);
|
|
113
|
-
pockets?: (string | null);
|
|
114
|
-
pleats_gathers?: (string | null);
|
|
115
|
-
lining?: (string | null);
|
|
116
|
-
bias_cut?: (string | null);
|
|
117
90
|
designer?: (string | null);
|
|
118
|
-
fabric?: (string | null);
|
|
119
|
-
fabric_composition?: (string | null);
|
|
120
91
|
certificate_code?: (string | null);
|
|
121
|
-
shape?: (string | null);
|
|
122
|
-
development_type?: string;
|
|
123
|
-
occasion?: (string | null);
|
|
124
|
-
design?: (string | null);
|
|
125
|
-
block?: (string | null);
|
|
126
92
|
pattern_name?: (string | null);
|
|
127
93
|
fit_type?: (string | null);
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
straps_features?: (string | null);
|
|
138
|
-
fastening?: ((string[] | null) | null);
|
|
139
|
-
sole_material?: (string | null);
|
|
94
|
+
trousers_fit?: (string | null);
|
|
95
|
+
trousers_length?: (string | null);
|
|
96
|
+
dresses_skirts_length?: (string | null);
|
|
97
|
+
coats_jackets_type?: (string | null);
|
|
98
|
+
dresses_skirts_type?: (string | null);
|
|
99
|
+
bag_type?: (string | null);
|
|
100
|
+
product_category?: (string | null);
|
|
101
|
+
product_type?: (string | null);
|
|
102
|
+
metal?: (string | null);
|
|
140
103
|
care_instructions?: string[];
|
|
141
104
|
[k: string]: unknown;
|
|
142
105
|
}
|