@thefittingroom/sdk 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/fetcher.d.ts +12 -0
  2. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/fetcher.js +49 -0
  3. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/fetcher.js.map +1 -0
  4. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/requests.d.ts +155 -0
  5. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/requests.js +3 -0
  6. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/requests.js.map +1 -0
  7. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/responses.d.ts +130 -0
  8. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/responses.js +2 -0
  9. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/responses.js.map +1 -0
  10. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/shop.d.ts +33 -0
  11. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/shop.js +261 -0
  12. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/shop.js.map +1 -0
  13. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/utils.d.ts +1 -0
  14. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/utils.js +9 -0
  15. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/api/utils.js.map +1 -0
  16. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/firebase/firebase-error.d.ts +2 -0
  17. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/firebase/firebase-error.js +10 -0
  18. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/firebase/firebase-error.js.map +1 -0
  19. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/firebase/firebase-user.d.ts +26 -0
  20. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/firebase/firebase-user.js +122 -0
  21. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/firebase/firebase-user.js.map +1 -0
  22. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/firebase/firebase.d.ts +15 -0
  23. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/firebase/firebase.js +40 -0
  24. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/firebase/firebase.js.map +1 -0
  25. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/helpers/async.d.ts +2 -0
  26. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/helpers/async.js +3 -0
  27. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/helpers/async.js.map +1 -0
  28. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/helpers/config.d.ts +22 -0
  29. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/helpers/config.js +70 -0
  30. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/helpers/config.js.map +1 -0
  31. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/helpers/date.d.ts +6 -0
  32. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/helpers/date.js +5 -0
  33. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/helpers/date.js.map +1 -0
  34. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/helpers/errors.d.ts +32 -0
  35. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/helpers/errors.js +47 -0
  36. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/helpers/errors.js.map +1 -0
  37. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/index.d.ts +8 -0
  38. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/index.js +6 -0
  39. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/index.js.map +1 -0
  40. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/types/index.d.ts +89 -0
  41. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/types/index.js +8 -0
  42. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/types/index.js.map +1 -0
  43. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/types/measurement.d.ts +292 -0
  44. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/types/measurement.js +377 -0
  45. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/esm/types/measurement.js.map +1 -0
  46. package/.rollup.cache/home/codeliger/code/thefittingroom/shop-sdk/dist/tsconfig.tsbuildinfo +1 -0
  47. package/LICENSE +373 -0
  48. package/README.md +67 -73
  49. package/dist/esm/firebase/firebase.d.ts +2 -2
  50. package/dist/esm/index.js +23044 -23183
  51. package/dist/esm/index.js.map +1 -1
  52. package/dist/esm/index.min.js +366 -265
  53. package/dist/esm/index.min.js.map +1 -1
  54. package/dist/tsconfig.tsbuildinfo +1 -0
  55. package/package.json +17 -24
@@ -0,0 +1,292 @@
1
+ export declare enum MeasurementLocation {
2
+ ACROSS_BACK = "across_back",
3
+ ACROSS_FRONT = "across_front",
4
+ ACROSS_SHOULDER = "across_shoulder",
5
+ ANKLE = "ankle",
6
+ ARMEYE = "arm_eye",
7
+ ARM_LENGTH_FROM_SHOULDER = "arm_length_from_shoulder",
8
+ BACK_CROTCH_LENGTH = "back_crotch_length",
9
+ BACK_NECK_TO_EBLOW = "back_neck_to_elbow",
10
+ BELOW_KNEE = "below_knee",
11
+ BICEP = "bicep",
12
+ BUST = "bust",
13
+ BUST_POINT_TO_BUST_POINT = "bust_point_to_bust_point",
14
+ CALF = "calf",
15
+ CB_NECK_TO_WAIST = "cb_neck_to_waist",
16
+ CB_NECK_TO_WRIST = "cb_neck_to_wrist",
17
+ CF_NECK_TO_WAIST = "cf_neck_to_waist",
18
+ ELBOW = "elbow",
19
+ FOREARM = "forearm",
20
+ FRONT_CROTCH_LENGTH = "front_crotch_length",
21
+ HIGH_HIP_PLACEMENT_FROM_WAIST = "high_hip_placement",
22
+ HIGH_HIP = "high_hip",
23
+ HSP_TO_ACROSS_BACK = "hsp_to_across_back",
24
+ HSP_TO_ACROSS_FRONT = "hsp_to_across_front",
25
+ HSP_TO_BUST_POINT = "hsp_to_bust_point",
26
+ HSP_TO_LOW_HIP_POSITION = "hsp_to_low_hip_position",
27
+ HSP_TO_WAIST_POSITION = "hsp_to_waist_position",
28
+ INSEAM = "inseam",
29
+ KNEE = "knee",
30
+ LOW_HIP = "low_hip",
31
+ LOW_HIP_PLACEMENT_FROM_WAIST = "low_hip_placement",
32
+ MID_NECK = "mid_neck",
33
+ NECK_AT_BASE = "neck_base",
34
+ SHOULDER_DROP = "shoulder_drop",
35
+ SHOULDER_TO_SHOULDER = "shoulder_to_shoulder",
36
+ SIDE_WAIST_TO_FLOOR = "side_waist_to_floor",
37
+ SIDE_WAIST_TO_KNEE = "side_waist_to_knee",
38
+ THIGH = "thigh",
39
+ TOTAL_RISE_LENGTH = "total_rise_length",
40
+ UNDER_BUST = "under_bust",
41
+ VERTICAL_TRUNK = "vertical_trunk",
42
+ WAIST = "waist",
43
+ WRIST = "wrist"
44
+ }
45
+ export declare const MeasurementLocationName: {
46
+ across_back: string;
47
+ across_front: string;
48
+ across_shoulder: string;
49
+ ankle: string;
50
+ arm_eye: string;
51
+ arm_length_from_shoulder: string;
52
+ back_crotch_length: string;
53
+ back_neck_to_elbow: string;
54
+ below_knee: string;
55
+ bicep: string;
56
+ bust: string;
57
+ bust_point_to_bust_point: string;
58
+ calf: string;
59
+ cb_neck_to_waist: string;
60
+ cb_neck_to_wrist: string;
61
+ cf_neck_to_waist: string;
62
+ elbow: string;
63
+ forearm: string;
64
+ front_crotch_length: string;
65
+ high_hip_placement: string;
66
+ high_hip: string;
67
+ hsp_to_across_back: string;
68
+ hsp_to_across_front: string;
69
+ hsp_to_bust_point: string;
70
+ hsp_to_low_hip_position: string;
71
+ hsp_to_waist_position: string;
72
+ inseam: string;
73
+ knee: string;
74
+ low_hip: string;
75
+ low_hip_placement: string;
76
+ mid_neck: string;
77
+ neck_base: string;
78
+ shoulder_drop: string;
79
+ shoulder_to_shoulder: string;
80
+ side_waist_to_floor: string;
81
+ side_waist_to_knee: string;
82
+ thigh: string;
83
+ total_rise_length: string;
84
+ under_bust: string;
85
+ vertical_trunk: string;
86
+ waist: string;
87
+ wrist: string;
88
+ };
89
+ export declare enum Classification {
90
+ BLOUSES = "blouses",
91
+ COATS = "coats",
92
+ DRESSES = "dresses",
93
+ JACKETS = "jackets",
94
+ PANTS = "pants",
95
+ PUFFERS_AND_PARKAS = "puffer_and_parkas",
96
+ SHORTS = "shorts",
97
+ SKIRTS = "skirts",
98
+ SWEATERS = "sweaters",
99
+ T_SHIRTS_AND_TANKS = "t_shirts_and_tanks"
100
+ }
101
+ export declare const ClassificationLocations: {
102
+ blouses: MeasurementLocation[];
103
+ coats: MeasurementLocation[];
104
+ dresses: MeasurementLocation[];
105
+ jackets: MeasurementLocation[];
106
+ pants: MeasurementLocation[];
107
+ puffer_and_parkas: MeasurementLocation[];
108
+ shorts: MeasurementLocation[];
109
+ skirts: MeasurementLocation[];
110
+ sweaters: MeasurementLocation[];
111
+ t_shirts_and_tanks: MeasurementLocation[];
112
+ };
113
+ export declare const enum Category {
114
+ ACTIVEWEAR = "activewear",
115
+ DRESSES = "dresses",
116
+ JACKETS_AND_COATS = "jackets_and_coats",
117
+ JEANS = "jeans",
118
+ JUMPSUITS_AND_ROMPERS = "jumpsuits_and_rompers",
119
+ PANTS_AND_SHORTS = "pants_and_shorts",
120
+ SKIRTS = "skirts",
121
+ SUITS_AND_TAILORING = "suits_and_tailoring",
122
+ SWEATERS = "sweaters",
123
+ TOPS = "tops"
124
+ }
125
+ export declare const CategoryNames: {
126
+ activewear: string;
127
+ dresses: string;
128
+ jackets_and_coats: string;
129
+ jeans: string;
130
+ jumpsuits_and_rompers: string;
131
+ pants_and_shorts: string;
132
+ skirts: string;
133
+ suits_and_tailoring: string;
134
+ sweaters: string;
135
+ tops: string;
136
+ };
137
+ export declare const Categories: Category[];
138
+ export declare const enum Subcategory {
139
+ A_LINE = "a_line",
140
+ A_LINE_FLARED = "a_line_flared",
141
+ BLAZERS = "blazers",
142
+ BODYCON = "bodycon",
143
+ BODYSUITS = "bodysuits",
144
+ BOILER_SUITS = "boiler_suits",
145
+ BOOTCUT = "bootcut",
146
+ CARDIGANS = "cardigans",
147
+ CIGARETTE = "cigarette",
148
+ CORSETS_AND_BUSTIERS = "corsets_and_bustiers",
149
+ CREWNECKS = "crewnecks",
150
+ CULOTTES = "culottes",
151
+ DENIM = "denim",
152
+ DENIM_JACKETS = "denim_jackets",
153
+ DENIM_SHORTS = "denim_shorts",
154
+ FIT_AND_FLARE = "fit_and_flare",
155
+ FLARED = "flared",
156
+ HOODIES_AND_ZIPUPS = "hoodies_and_zipups",
157
+ JOGGERS = "joggers",
158
+ JUMPSUITS = "jumpsuits",
159
+ KNIT = "knit",
160
+ LEGGINGS = "leggings",
161
+ MOM = "mom",
162
+ OVERALLS = "overalls",
163
+ PARKAS = "parkas",
164
+ PEACOATS = "peacoats",
165
+ PENCIL = "pencil",
166
+ PLEATED = "pleated",
167
+ POLOS = "polos",
168
+ PUFFER_JACKETS = "puffer_jackets",
169
+ RAINCOATS = "raincoats",
170
+ RELAXED = "relaxed",
171
+ ROMPERS = "rompers",
172
+ SHACKETS = "shackets",
173
+ SHIRT = "shirt",
174
+ SHIRTS_AND_BLOUSES = "shirts_and_blouses",
175
+ SKATER = "skater",
176
+ SKINNY = "skinny",
177
+ SLIM = "slim",
178
+ SLIP = "slip",
179
+ SPORTS_BRAS = "sports_bras",
180
+ STRAIGHT = "straight",
181
+ SUIT_JACKETS = "suit_jackets",
182
+ SUIT_SKIRTS = "suit_skirts",
183
+ SUIT_TROUSERS = "suit_trousers",
184
+ SUIT_VESTS = "suit_vests",
185
+ SWEATSHIRTS = "sweatshirts",
186
+ T_SHIRTS = "t_shirts",
187
+ TANK_TOPS_AND_CAMISOLES = "tank_tops_and_camisoles",
188
+ TAPERED = "tapered",
189
+ TRENCH_COATS = "trench_coats",
190
+ TROUSERS = "trousers",
191
+ TURTLENECKS = "turtlenecks",
192
+ UNITARDS = "unitards",
193
+ V_NECKS = "v_necks",
194
+ WIDE_LEG = "wide_leg",
195
+ WRAP = "wrap"
196
+ }
197
+ export declare const SubcategoryNames: {
198
+ a_line: string;
199
+ a_line_flared: string;
200
+ blazers: string;
201
+ bodycon: string;
202
+ bodysuits: string;
203
+ boiler_suits: string;
204
+ bootcut: string;
205
+ cardigans: string;
206
+ cigarette: string;
207
+ corsets_and_bustiers: string;
208
+ crewnecks: string;
209
+ culottes: string;
210
+ denim: string;
211
+ denim_jackets: string;
212
+ denim_shorts: string;
213
+ fit_and_flare: string;
214
+ flared: string;
215
+ hoodies_and_zipups: string;
216
+ joggers: string;
217
+ jumpsuits: string;
218
+ knit: string;
219
+ leggings: string;
220
+ mom: string;
221
+ overalls: string;
222
+ parkas: string;
223
+ peacoats: string;
224
+ pencil: string;
225
+ pleated: string;
226
+ polos: string;
227
+ puffer_jackets: string;
228
+ raincoats: string;
229
+ relaxed: string;
230
+ rompers: string;
231
+ shackets: string;
232
+ shirt: string;
233
+ shirts_and_blouses: string;
234
+ skater: string;
235
+ skinny: string;
236
+ slim: string;
237
+ slip: string;
238
+ sports_bras: string;
239
+ straight: string;
240
+ suit_jackets: string;
241
+ suit_skirts: string;
242
+ suit_trousers: string;
243
+ suit_vests: string;
244
+ sweatshirts: string;
245
+ t_shirts: string;
246
+ tank_tops_and_camisoles: string;
247
+ tapered: string;
248
+ trench_coats: string;
249
+ trousers: string;
250
+ turtlenecks: string;
251
+ unitards: string;
252
+ v_necks: string;
253
+ wide_leg: string;
254
+ wrap: string;
255
+ };
256
+ type Taxonomy = {
257
+ [key in Category]: {
258
+ [key in Subcategory]?: Classification;
259
+ };
260
+ };
261
+ export declare const Taxonomy: Taxonomy;
262
+ export declare enum Fit {
263
+ TOO_TIGHT = "too_tight",
264
+ TIGHT = "tight",
265
+ SLIGHTLY_TIGHT = "slightly_tight",
266
+ PERFECT_FIT = "perfect_fit",
267
+ SLIGHTLY_LOOSE = "slightly_loose",
268
+ LOOSE = "loose",
269
+ OVERSIZED = "oversized",
270
+ TOO_SHORT = "too_short",
271
+ SHORT = "short",
272
+ SLIGHTLY_SHORT = "slightly_short",
273
+ SLIGHTLY_LONG = "slightly_long",
274
+ LONG = "long",
275
+ TOO_LONG = "too_long"
276
+ }
277
+ export declare const FitNames: {
278
+ too_tight: string;
279
+ tight: string;
280
+ slightly_tight: string;
281
+ perfect_fit: string;
282
+ slightly_loose: string;
283
+ loose: string;
284
+ oversized: string;
285
+ too_short: string;
286
+ short: string;
287
+ slightly_short: string;
288
+ slightly_long: string;
289
+ long: string;
290
+ too_long: string;
291
+ };
292
+ export {};
@@ -0,0 +1,377 @@
1
+ export var MeasurementLocation;
2
+ (function (MeasurementLocation) {
3
+ MeasurementLocation["ACROSS_BACK"] = "across_back";
4
+ MeasurementLocation["ACROSS_FRONT"] = "across_front";
5
+ MeasurementLocation["ACROSS_SHOULDER"] = "across_shoulder";
6
+ MeasurementLocation["ANKLE"] = "ankle";
7
+ MeasurementLocation["ARMEYE"] = "arm_eye";
8
+ MeasurementLocation["ARM_LENGTH_FROM_SHOULDER"] = "arm_length_from_shoulder";
9
+ MeasurementLocation["BACK_CROTCH_LENGTH"] = "back_crotch_length";
10
+ MeasurementLocation["BACK_NECK_TO_EBLOW"] = "back_neck_to_elbow";
11
+ MeasurementLocation["BELOW_KNEE"] = "below_knee";
12
+ MeasurementLocation["BICEP"] = "bicep";
13
+ MeasurementLocation["BUST"] = "bust";
14
+ MeasurementLocation["BUST_POINT_TO_BUST_POINT"] = "bust_point_to_bust_point";
15
+ MeasurementLocation["CALF"] = "calf";
16
+ MeasurementLocation["CB_NECK_TO_WAIST"] = "cb_neck_to_waist";
17
+ MeasurementLocation["CB_NECK_TO_WRIST"] = "cb_neck_to_wrist";
18
+ MeasurementLocation["CF_NECK_TO_WAIST"] = "cf_neck_to_waist";
19
+ MeasurementLocation["ELBOW"] = "elbow";
20
+ MeasurementLocation["FOREARM"] = "forearm";
21
+ MeasurementLocation["FRONT_CROTCH_LENGTH"] = "front_crotch_length";
22
+ MeasurementLocation["HIGH_HIP_PLACEMENT_FROM_WAIST"] = "high_hip_placement";
23
+ MeasurementLocation["HIGH_HIP"] = "high_hip";
24
+ MeasurementLocation["HSP_TO_ACROSS_BACK"] = "hsp_to_across_back";
25
+ MeasurementLocation["HSP_TO_ACROSS_FRONT"] = "hsp_to_across_front";
26
+ MeasurementLocation["HSP_TO_BUST_POINT"] = "hsp_to_bust_point";
27
+ MeasurementLocation["HSP_TO_LOW_HIP_POSITION"] = "hsp_to_low_hip_position";
28
+ MeasurementLocation["HSP_TO_WAIST_POSITION"] = "hsp_to_waist_position";
29
+ MeasurementLocation["INSEAM"] = "inseam";
30
+ MeasurementLocation["KNEE"] = "knee";
31
+ MeasurementLocation["LOW_HIP"] = "low_hip";
32
+ MeasurementLocation["LOW_HIP_PLACEMENT_FROM_WAIST"] = "low_hip_placement";
33
+ MeasurementLocation["MID_NECK"] = "mid_neck";
34
+ MeasurementLocation["NECK_AT_BASE"] = "neck_base";
35
+ MeasurementLocation["SHOULDER_DROP"] = "shoulder_drop";
36
+ MeasurementLocation["SHOULDER_TO_SHOULDER"] = "shoulder_to_shoulder";
37
+ MeasurementLocation["SIDE_WAIST_TO_FLOOR"] = "side_waist_to_floor";
38
+ MeasurementLocation["SIDE_WAIST_TO_KNEE"] = "side_waist_to_knee";
39
+ MeasurementLocation["THIGH"] = "thigh";
40
+ MeasurementLocation["TOTAL_RISE_LENGTH"] = "total_rise_length";
41
+ MeasurementLocation["UNDER_BUST"] = "under_bust";
42
+ MeasurementLocation["VERTICAL_TRUNK"] = "vertical_trunk";
43
+ MeasurementLocation["WAIST"] = "waist";
44
+ MeasurementLocation["WRIST"] = "wrist";
45
+ })(MeasurementLocation || (MeasurementLocation = {}));
46
+ export const MeasurementLocationName = {
47
+ [MeasurementLocation.ACROSS_BACK]: 'Across back',
48
+ [MeasurementLocation.ACROSS_FRONT]: 'Across front',
49
+ [MeasurementLocation.ACROSS_SHOULDER]: 'Across shoulder',
50
+ [MeasurementLocation.ANKLE]: 'Ankle',
51
+ [MeasurementLocation.ARMEYE]: 'Armeye',
52
+ [MeasurementLocation.ARM_LENGTH_FROM_SHOULDER]: 'Arm length from shoulder',
53
+ [MeasurementLocation.BACK_CROTCH_LENGTH]: 'Back crotch length',
54
+ [MeasurementLocation.BACK_NECK_TO_EBLOW]: 'Back neck to eblow',
55
+ [MeasurementLocation.BELOW_KNEE]: 'Below knee',
56
+ [MeasurementLocation.BICEP]: 'Bicep',
57
+ [MeasurementLocation.BUST]: 'Chest/Bust',
58
+ [MeasurementLocation.BUST_POINT_TO_BUST_POINT]: 'Bust point to bust point',
59
+ [MeasurementLocation.CALF]: 'Calf',
60
+ [MeasurementLocation.CB_NECK_TO_WAIST]: 'Cb neck to waist',
61
+ [MeasurementLocation.CB_NECK_TO_WRIST]: 'Cb neck to wrist',
62
+ [MeasurementLocation.CF_NECK_TO_WAIST]: 'Cf neck to waist',
63
+ [MeasurementLocation.ELBOW]: 'Elbow',
64
+ [MeasurementLocation.FOREARM]: 'Forearm',
65
+ [MeasurementLocation.FRONT_CROTCH_LENGTH]: 'Front crotch length',
66
+ [MeasurementLocation.HIGH_HIP_PLACEMENT_FROM_WAIST]: 'High hip placement from waist',
67
+ [MeasurementLocation.HIGH_HIP]: 'High hip',
68
+ [MeasurementLocation.HSP_TO_ACROSS_BACK]: 'Hsp to across back',
69
+ [MeasurementLocation.HSP_TO_ACROSS_FRONT]: 'Hsp to across front',
70
+ [MeasurementLocation.HSP_TO_BUST_POINT]: 'Hsp to bust point',
71
+ [MeasurementLocation.HSP_TO_LOW_HIP_POSITION]: 'Hsp to low hip position',
72
+ [MeasurementLocation.HSP_TO_WAIST_POSITION]: 'Hsp to waist position',
73
+ [MeasurementLocation.INSEAM]: 'Inseam',
74
+ [MeasurementLocation.KNEE]: 'Knee',
75
+ [MeasurementLocation.LOW_HIP]: 'Low hip',
76
+ [MeasurementLocation.LOW_HIP_PLACEMENT_FROM_WAIST]: 'Low hip placement from waist',
77
+ [MeasurementLocation.MID_NECK]: 'Mid neck',
78
+ [MeasurementLocation.NECK_AT_BASE]: 'Neck at base',
79
+ [MeasurementLocation.SHOULDER_DROP]: 'Shoulder drop',
80
+ [MeasurementLocation.SHOULDER_TO_SHOULDER]: 'Shoulder to shoulder',
81
+ [MeasurementLocation.SIDE_WAIST_TO_FLOOR]: 'Side waist to floor',
82
+ [MeasurementLocation.SIDE_WAIST_TO_KNEE]: 'Side waist to knee',
83
+ [MeasurementLocation.THIGH]: 'Thigh',
84
+ [MeasurementLocation.TOTAL_RISE_LENGTH]: 'Total rise length',
85
+ [MeasurementLocation.UNDER_BUST]: 'Under bust',
86
+ [MeasurementLocation.VERTICAL_TRUNK]: 'Vertical trunk',
87
+ [MeasurementLocation.WAIST]: 'Waist',
88
+ [MeasurementLocation.WRIST]: 'Wrist',
89
+ };
90
+ export var Classification;
91
+ (function (Classification) {
92
+ Classification["BLOUSES"] = "blouses";
93
+ Classification["COATS"] = "coats";
94
+ Classification["DRESSES"] = "dresses";
95
+ Classification["JACKETS"] = "jackets";
96
+ Classification["PANTS"] = "pants";
97
+ Classification["PUFFERS_AND_PARKAS"] = "puffer_and_parkas";
98
+ Classification["SHORTS"] = "shorts";
99
+ Classification["SKIRTS"] = "skirts";
100
+ Classification["SWEATERS"] = "sweaters";
101
+ Classification["T_SHIRTS_AND_TANKS"] = "t_shirts_and_tanks";
102
+ })(Classification || (Classification = {}));
103
+ export const ClassificationLocations = {
104
+ [Classification.BLOUSES]: [
105
+ MeasurementLocation.BUST,
106
+ MeasurementLocation.ACROSS_SHOULDER,
107
+ MeasurementLocation.WAIST,
108
+ MeasurementLocation.LOW_HIP,
109
+ MeasurementLocation.HIGH_HIP,
110
+ ],
111
+ // prettier-ignore
112
+ [Classification.COATS]: [
113
+ MeasurementLocation.BUST,
114
+ MeasurementLocation.ACROSS_SHOULDER,
115
+ MeasurementLocation.WAIST,
116
+ MeasurementLocation.LOW_HIP,
117
+ MeasurementLocation.HIGH_HIP
118
+ ],
119
+ [Classification.DRESSES]: [
120
+ MeasurementLocation.LOW_HIP,
121
+ MeasurementLocation.BUST,
122
+ MeasurementLocation.ACROSS_SHOULDER,
123
+ MeasurementLocation.WAIST,
124
+ ],
125
+ [Classification.JACKETS]: [
126
+ MeasurementLocation.BUST,
127
+ MeasurementLocation.ACROSS_SHOULDER,
128
+ MeasurementLocation.WAIST,
129
+ MeasurementLocation.LOW_HIP,
130
+ MeasurementLocation.HIGH_HIP,
131
+ ],
132
+ [Classification.PANTS]: [
133
+ MeasurementLocation.LOW_HIP,
134
+ MeasurementLocation.WAIST,
135
+ MeasurementLocation.THIGH,
136
+ MeasurementLocation.INSEAM,
137
+ ],
138
+ [Classification.PUFFERS_AND_PARKAS]: [
139
+ MeasurementLocation.BUST,
140
+ MeasurementLocation.ACROSS_SHOULDER,
141
+ MeasurementLocation.WAIST,
142
+ MeasurementLocation.LOW_HIP,
143
+ MeasurementLocation.HIGH_HIP,
144
+ ],
145
+ [Classification.SHORTS]: [
146
+ MeasurementLocation.LOW_HIP,
147
+ MeasurementLocation.WAIST,
148
+ MeasurementLocation.THIGH,
149
+ MeasurementLocation.INSEAM,
150
+ ],
151
+ // prettier-ignore
152
+ [Classification.SKIRTS]: [
153
+ MeasurementLocation.LOW_HIP,
154
+ MeasurementLocation.WAIST
155
+ ],
156
+ // prettier-ignore
157
+ [Classification.SWEATERS]: [
158
+ MeasurementLocation.BUST,
159
+ MeasurementLocation.ACROSS_SHOULDER,
160
+ MeasurementLocation.WAIST,
161
+ MeasurementLocation.LOW_HIP,
162
+ MeasurementLocation.HIGH_HIP
163
+ ],
164
+ // prettier-ignore
165
+ [Classification.T_SHIRTS_AND_TANKS]: [
166
+ MeasurementLocation.BUST,
167
+ MeasurementLocation.ACROSS_SHOULDER,
168
+ MeasurementLocation.WAIST,
169
+ MeasurementLocation.LOW_HIP,
170
+ MeasurementLocation.HIGH_HIP
171
+ ],
172
+ };
173
+ export const CategoryNames = {
174
+ ["activewear" /* Category.ACTIVEWEAR */]: 'Active Wear',
175
+ ["dresses" /* Category.DRESSES */]: 'Dresses',
176
+ ["jackets_and_coats" /* Category.JACKETS_AND_COATS */]: 'Jackets and Coats',
177
+ ["jeans" /* Category.JEANS */]: 'Jeans',
178
+ ["jumpsuits_and_rompers" /* Category.JUMPSUITS_AND_ROMPERS */]: 'Jumpsuits and Rompers',
179
+ ["pants_and_shorts" /* Category.PANTS_AND_SHORTS */]: 'Pants and Shorts',
180
+ ["skirts" /* Category.SKIRTS */]: 'Skirts',
181
+ ["suits_and_tailoring" /* Category.SUITS_AND_TAILORING */]: 'Suits and Tailoring',
182
+ ["sweaters" /* Category.SWEATERS */]: 'Sweaters',
183
+ ["tops" /* Category.TOPS */]: 'Tops',
184
+ };
185
+ export const Categories = [
186
+ "activewear" /* Category.ACTIVEWEAR */,
187
+ "dresses" /* Category.DRESSES */,
188
+ "jackets_and_coats" /* Category.JACKETS_AND_COATS */,
189
+ "jeans" /* Category.JEANS */,
190
+ "jumpsuits_and_rompers" /* Category.JUMPSUITS_AND_ROMPERS */,
191
+ "pants_and_shorts" /* Category.PANTS_AND_SHORTS */,
192
+ "skirts" /* Category.SKIRTS */,
193
+ "suits_and_tailoring" /* Category.SUITS_AND_TAILORING */,
194
+ "sweaters" /* Category.SWEATERS */,
195
+ "tops" /* Category.TOPS */,
196
+ ];
197
+ export const SubcategoryNames = {
198
+ ["a_line" /* Subcategory.A_LINE */]: 'A Line',
199
+ ["a_line_flared" /* Subcategory.A_LINE_FLARED */]: 'A Line Flared',
200
+ ["blazers" /* Subcategory.BLAZERS */]: 'Blazers',
201
+ ["bodycon" /* Subcategory.BODYCON */]: 'Bodycon',
202
+ ["bodysuits" /* Subcategory.BODYSUITS */]: 'Bodysuits',
203
+ ["boiler_suits" /* Subcategory.BOILER_SUITS */]: 'Boiler Suits',
204
+ ["bootcut" /* Subcategory.BOOTCUT */]: 'Bootcut',
205
+ ["cardigans" /* Subcategory.CARDIGANS */]: 'Cardigans',
206
+ ["cigarette" /* Subcategory.CIGARETTE */]: 'Cigarette',
207
+ ["corsets_and_bustiers" /* Subcategory.CORSETS_AND_BUSTIERS */]: 'Corsets and Bustiers',
208
+ ["crewnecks" /* Subcategory.CREWNECKS */]: 'Crewnecks',
209
+ ["culottes" /* Subcategory.CULOTTES */]: 'Culottes',
210
+ ["denim" /* Subcategory.DENIM */]: 'Denim',
211
+ ["denim_jackets" /* Subcategory.DENIM_JACKETS */]: 'Denim Jackets',
212
+ ["denim_shorts" /* Subcategory.DENIM_SHORTS */]: 'Denim Shorts',
213
+ ["fit_and_flare" /* Subcategory.FIT_AND_FLARE */]: 'Fit and Flare',
214
+ ["flared" /* Subcategory.FLARED */]: 'Flared',
215
+ ["hoodies_and_zipups" /* Subcategory.HOODIES_AND_ZIPUPS */]: 'Hoodies and Zipups',
216
+ ["joggers" /* Subcategory.JOGGERS */]: 'Joggers',
217
+ ["jumpsuits" /* Subcategory.JUMPSUITS */]: 'Jumpsuits',
218
+ ["knit" /* Subcategory.KNIT */]: 'Knit',
219
+ ["leggings" /* Subcategory.LEGGINGS */]: 'Leggings',
220
+ ["mom" /* Subcategory.MOM */]: 'Mom',
221
+ ["overalls" /* Subcategory.OVERALLS */]: 'Overalls',
222
+ ["parkas" /* Subcategory.PARKAS */]: 'Parkas',
223
+ ["peacoats" /* Subcategory.PEACOATS */]: 'Peacoats',
224
+ ["pencil" /* Subcategory.PENCIL */]: 'Pencil',
225
+ ["pleated" /* Subcategory.PLEATED */]: 'Pleated',
226
+ ["polos" /* Subcategory.POLOS */]: 'Polos',
227
+ ["puffer_jackets" /* Subcategory.PUFFER_JACKETS */]: 'Puffer Jackets',
228
+ ["raincoats" /* Subcategory.RAINCOATS */]: 'Raincoats',
229
+ ["relaxed" /* Subcategory.RELAXED */]: 'Relaxed',
230
+ ["rompers" /* Subcategory.ROMPERS */]: 'Rompers',
231
+ ["shackets" /* Subcategory.SHACKETS */]: 'Shackets',
232
+ ["shirt" /* Subcategory.SHIRT */]: 'Shirt',
233
+ ["shirts_and_blouses" /* Subcategory.SHIRTS_AND_BLOUSES */]: 'Shirts and Blouses',
234
+ ["skater" /* Subcategory.SKATER */]: 'Skater',
235
+ ["skinny" /* Subcategory.SKINNY */]: 'Skinny',
236
+ ["slim" /* Subcategory.SLIM */]: 'Slim',
237
+ ["slip" /* Subcategory.SLIP */]: 'Slip',
238
+ ["sports_bras" /* Subcategory.SPORTS_BRAS */]: 'Sports Bras',
239
+ ["straight" /* Subcategory.STRAIGHT */]: 'Straight',
240
+ ["suit_jackets" /* Subcategory.SUIT_JACKETS */]: 'Suit Jackets',
241
+ ["suit_skirts" /* Subcategory.SUIT_SKIRTS */]: 'Suit Skirts',
242
+ ["suit_trousers" /* Subcategory.SUIT_TROUSERS */]: 'Suit Trousers',
243
+ ["suit_vests" /* Subcategory.SUIT_VESTS */]: 'Suit Vests',
244
+ ["sweatshirts" /* Subcategory.SWEATSHIRTS */]: 'Sweatshirts',
245
+ ["t_shirts" /* Subcategory.T_SHIRTS */]: 'T-Shirts',
246
+ ["tank_tops_and_camisoles" /* Subcategory.TANK_TOPS_AND_CAMISOLES */]: 'Tank Tops and Camisoles',
247
+ ["tapered" /* Subcategory.TAPERED */]: 'Tapered',
248
+ ["trench_coats" /* Subcategory.TRENCH_COATS */]: 'Trench Coats',
249
+ ["trousers" /* Subcategory.TROUSERS */]: 'Trousers',
250
+ ["turtlenecks" /* Subcategory.TURTLENECKS */]: 'Turtleneck',
251
+ ["unitards" /* Subcategory.UNITARDS */]: 'Unitards',
252
+ ["v_necks" /* Subcategory.V_NECKS */]: 'V-Necks',
253
+ ["wide_leg" /* Subcategory.WIDE_LEG */]: 'Wide Leg',
254
+ ["wrap" /* Subcategory.WRAP */]: 'Wrap',
255
+ };
256
+ export const Taxonomy = {
257
+ ["activewear" /* Category.ACTIVEWEAR */]: {
258
+ ["leggings" /* Subcategory.LEGGINGS */]: Classification.PANTS,
259
+ ["joggers" /* Subcategory.JOGGERS */]: Classification.PANTS,
260
+ ["sweatshirts" /* Subcategory.SWEATSHIRTS */]: Classification.SWEATERS,
261
+ },
262
+ ["dresses" /* Category.DRESSES */]: {
263
+ ["a_line" /* Subcategory.A_LINE */]: Classification.DRESSES,
264
+ ["bodycon" /* Subcategory.BODYCON */]: Classification.DRESSES,
265
+ ["fit_and_flare" /* Subcategory.FIT_AND_FLARE */]: Classification.DRESSES,
266
+ ["knit" /* Subcategory.KNIT */]: Classification.DRESSES,
267
+ ["shirt" /* Subcategory.SHIRT */]: Classification.DRESSES,
268
+ ["slip" /* Subcategory.SLIP */]: Classification.DRESSES,
269
+ ["straight" /* Subcategory.STRAIGHT */]: Classification.DRESSES,
270
+ ["wrap" /* Subcategory.WRAP */]: Classification.DRESSES,
271
+ },
272
+ ["jackets_and_coats" /* Category.JACKETS_AND_COATS */]: {
273
+ ["denim_jackets" /* Subcategory.DENIM_JACKETS */]: Classification.JACKETS,
274
+ ["parkas" /* Subcategory.PARKAS */]: Classification.PUFFERS_AND_PARKAS,
275
+ ["peacoats" /* Subcategory.PEACOATS */]: Classification.COATS,
276
+ ["puffer_jackets" /* Subcategory.PUFFER_JACKETS */]: Classification.PUFFERS_AND_PARKAS,
277
+ ["raincoats" /* Subcategory.RAINCOATS */]: Classification.COATS,
278
+ ["rompers" /* Subcategory.ROMPERS */]: Classification.COATS,
279
+ ["shackets" /* Subcategory.SHACKETS */]: Classification.JACKETS,
280
+ ["trench_coats" /* Subcategory.TRENCH_COATS */]: Classification.COATS,
281
+ },
282
+ ["jeans" /* Category.JEANS */]: {
283
+ ["bootcut" /* Subcategory.BOOTCUT */]: Classification.PANTS,
284
+ ["flared" /* Subcategory.FLARED */]: Classification.PANTS,
285
+ ["mom" /* Subcategory.MOM */]: Classification.PANTS,
286
+ ["relaxed" /* Subcategory.RELAXED */]: Classification.PANTS,
287
+ ["skinny" /* Subcategory.SKINNY */]: Classification.PANTS,
288
+ ["slim" /* Subcategory.SLIM */]: Classification.PANTS,
289
+ ["straight" /* Subcategory.STRAIGHT */]: Classification.PANTS,
290
+ ["tapered" /* Subcategory.TAPERED */]: Classification.PANTS,
291
+ ["wide_leg" /* Subcategory.WIDE_LEG */]: Classification.PANTS,
292
+ },
293
+ ["jumpsuits_and_rompers" /* Category.JUMPSUITS_AND_ROMPERS */]: {
294
+ ["boiler_suits" /* Subcategory.BOILER_SUITS */]: Classification.DRESSES,
295
+ ["denim" /* Subcategory.DENIM */]: Classification.DRESSES,
296
+ ["jumpsuits" /* Subcategory.JUMPSUITS */]: Classification.DRESSES,
297
+ ["overalls" /* Subcategory.OVERALLS */]: Classification.DRESSES,
298
+ ["rompers" /* Subcategory.ROMPERS */]: Classification.DRESSES,
299
+ ["unitards" /* Subcategory.UNITARDS */]: Classification.DRESSES,
300
+ },
301
+ ["pants_and_shorts" /* Category.PANTS_AND_SHORTS */]: {
302
+ ["cigarette" /* Subcategory.CIGARETTE */]: Classification.PANTS,
303
+ ["culottes" /* Subcategory.CULOTTES */]: Classification.SHORTS,
304
+ ["denim_shorts" /* Subcategory.DENIM_SHORTS */]: Classification.SHORTS,
305
+ ["flared" /* Subcategory.FLARED */]: Classification.PANTS,
306
+ ["joggers" /* Subcategory.JOGGERS */]: Classification.PANTS,
307
+ ["leggings" /* Subcategory.LEGGINGS */]: Classification.PANTS,
308
+ ["skinny" /* Subcategory.SKINNY */]: Classification.PANTS,
309
+ ["wide_leg" /* Subcategory.WIDE_LEG */]: Classification.PANTS,
310
+ },
311
+ ["skirts" /* Category.SKIRTS */]: {
312
+ ["a_line_flared" /* Subcategory.A_LINE_FLARED */]: Classification.SKIRTS,
313
+ ["denim" /* Subcategory.DENIM */]: Classification.SKIRTS,
314
+ ["knit" /* Subcategory.KNIT */]: Classification.SKIRTS,
315
+ ["pencil" /* Subcategory.PENCIL */]: Classification.SKIRTS,
316
+ ["pleated" /* Subcategory.PLEATED */]: Classification.SKIRTS,
317
+ ["skater" /* Subcategory.SKATER */]: Classification.SKIRTS,
318
+ ["slip" /* Subcategory.SLIP */]: Classification.SKIRTS,
319
+ ["wrap" /* Subcategory.WRAP */]: Classification.SKIRTS,
320
+ },
321
+ ["suits_and_tailoring" /* Category.SUITS_AND_TAILORING */]: {
322
+ ["blazers" /* Subcategory.BLAZERS */]: Classification.JACKETS,
323
+ ["suit_jackets" /* Subcategory.SUIT_JACKETS */]: Classification.JACKETS,
324
+ ["suit_skirts" /* Subcategory.SUIT_SKIRTS */]: Classification.SKIRTS,
325
+ ["suit_trousers" /* Subcategory.SUIT_TROUSERS */]: Classification.PANTS,
326
+ ["suit_vests" /* Subcategory.SUIT_VESTS */]: Classification.SWEATERS,
327
+ ["trousers" /* Subcategory.TROUSERS */]: Classification.PANTS,
328
+ },
329
+ ["sweaters" /* Category.SWEATERS */]: {
330
+ ["cardigans" /* Subcategory.CARDIGANS */]: Classification.SWEATERS,
331
+ ["crewnecks" /* Subcategory.CREWNECKS */]: Classification.SWEATERS,
332
+ ["hoodies_and_zipups" /* Subcategory.HOODIES_AND_ZIPUPS */]: Classification.SWEATERS,
333
+ ["sweatshirts" /* Subcategory.SWEATSHIRTS */]: Classification.SWEATERS,
334
+ ["turtlenecks" /* Subcategory.TURTLENECKS */]: Classification.SWEATERS,
335
+ ["v_necks" /* Subcategory.V_NECKS */]: Classification.SWEATERS,
336
+ },
337
+ ["tops" /* Category.TOPS */]: {
338
+ ["bodysuits" /* Subcategory.BODYSUITS */]: Classification.BLOUSES,
339
+ ["corsets_and_bustiers" /* Subcategory.CORSETS_AND_BUSTIERS */]: Classification.BLOUSES,
340
+ ["polos" /* Subcategory.POLOS */]: Classification.T_SHIRTS_AND_TANKS,
341
+ ["shirts_and_blouses" /* Subcategory.SHIRTS_AND_BLOUSES */]: Classification.BLOUSES,
342
+ ["t_shirts" /* Subcategory.T_SHIRTS */]: Classification.T_SHIRTS_AND_TANKS,
343
+ ["tank_tops_and_camisoles" /* Subcategory.TANK_TOPS_AND_CAMISOLES */]: Classification.T_SHIRTS_AND_TANKS,
344
+ },
345
+ };
346
+ export var Fit;
347
+ (function (Fit) {
348
+ Fit["TOO_TIGHT"] = "too_tight";
349
+ Fit["TIGHT"] = "tight";
350
+ Fit["SLIGHTLY_TIGHT"] = "slightly_tight";
351
+ Fit["PERFECT_FIT"] = "perfect_fit";
352
+ Fit["SLIGHTLY_LOOSE"] = "slightly_loose";
353
+ Fit["LOOSE"] = "loose";
354
+ Fit["OVERSIZED"] = "oversized";
355
+ Fit["TOO_SHORT"] = "too_short";
356
+ Fit["SHORT"] = "short";
357
+ Fit["SLIGHTLY_SHORT"] = "slightly_short";
358
+ Fit["SLIGHTLY_LONG"] = "slightly_long";
359
+ Fit["LONG"] = "long";
360
+ Fit["TOO_LONG"] = "too_long";
361
+ })(Fit || (Fit = {}));
362
+ export const FitNames = {
363
+ [Fit.TOO_TIGHT]: 'Too Tight',
364
+ [Fit.TIGHT]: 'Tight',
365
+ [Fit.SLIGHTLY_TIGHT]: 'Slightly Tight',
366
+ [Fit.PERFECT_FIT]: 'Perfect Fit',
367
+ [Fit.SLIGHTLY_LOOSE]: 'Slightly Loose',
368
+ [Fit.LOOSE]: 'Loose',
369
+ [Fit.OVERSIZED]: 'Oversized',
370
+ [Fit.TOO_SHORT]: 'Too Short',
371
+ [Fit.SHORT]: 'Short',
372
+ [Fit.SLIGHTLY_SHORT]: 'Slightly Short',
373
+ [Fit.SLIGHTLY_LONG]: 'Slightly Long',
374
+ [Fit.LONG]: 'Long',
375
+ [Fit.TOO_LONG]: 'Too Long',
376
+ };
377
+ //# sourceMappingURL=measurement.js.map