@thefittingroom/sdk 0.0.14 → 1.0.1
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/esm/api/responses.d.ts +11 -1
- package/dist/esm/api/shop.d.ts +2 -14
- package/dist/esm/firebase/firebase.d.ts +1 -0
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.js +230 -153
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +189 -188
- package/dist/esm/index.min.js.map +1 -1
- package/dist/esm/types/index.d.ts +5 -0
- package/dist/esm/types/measurement.d.ts +192 -0
- package/package.json +1 -1
|
@@ -86,3 +86,195 @@ export declare const MeasurementLocationName: {
|
|
|
86
86
|
waist: string;
|
|
87
87
|
wrist: string;
|
|
88
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
|
+
}
|
|
271
|
+
export declare const FitNames: {
|
|
272
|
+
too_tight: string;
|
|
273
|
+
tight: string;
|
|
274
|
+
slightly_tight: string;
|
|
275
|
+
perfect_fit: string;
|
|
276
|
+
slightly_loose: string;
|
|
277
|
+
loose: string;
|
|
278
|
+
oversized: string;
|
|
279
|
+
};
|
|
280
|
+
export {};
|