@teez-sdk/teez-b2c-api 2.2.0 → 3.0.0

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.cts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as z from "zod/mini";
2
+ import { ZodMiniType, output } from "zod/mini";
2
3
 
3
4
  //#region src/common/constants.d.ts
4
5
  /**
@@ -33,6 +34,54 @@ type Language = (typeof LANGUAGES)[keyof typeof LANGUAGES] | (string & {});
33
34
  */
34
35
  type BaseParams = Record<string, unknown>;
35
36
  //#endregion
37
+ //#region src/http/types.d.ts
38
+ /**
39
+ * Type representing URL query parameters.
40
+ */
41
+ type QueryParams = Record<string, unknown>;
42
+ /**
43
+ * Type representing HTTP headers initialization.
44
+ */
45
+ type HeadersInit = NonNullable<ConstructorParameters<typeof Headers>[0]>;
46
+ /**
47
+ * Options for making a generic HTTP request.
48
+ */
49
+ interface HttpRequestOptions extends Omit<RequestInit, "headers" | "signal" | "body"> {
50
+ /**
51
+ * Relative path to the resource.
52
+ */
53
+ path: string;
54
+ /**
55
+ * Query parameters to append to the URL.
56
+ */
57
+ params?: QueryParams;
58
+ /**
59
+ * Additional headers for this specific request.
60
+ */
61
+ headers?: HeadersInit;
62
+ /**
63
+ * Request body to send.
64
+ * It will be strictly serialized to JSON.
65
+ */
66
+ body?: unknown;
67
+ }
68
+ /**
69
+ * Options for making a GET request.
70
+ */
71
+ type HttpGetOptions = Omit<HttpRequestOptions, "method" | "body">;
72
+ /**
73
+ * Options for making a POST request.
74
+ */
75
+ type HttpPostOptions = Omit<HttpRequestOptions, "method">;
76
+ /**
77
+ * Options for making a PATCH request.
78
+ */
79
+ type HttpPatchOptions = Omit<HttpRequestOptions, "method">;
80
+ /**
81
+ * Options for making a DELETE request.
82
+ */
83
+ type HttpDeleteOptions = Omit<HttpRequestOptions, "method">;
84
+ //#endregion
36
85
  //#region src/config.d.ts
37
86
  /**
38
87
  * Configuration options for the Teez client.
@@ -65,7 +114,7 @@ interface TeezClientConfig {
65
114
  /**
66
115
  * Custom headers to include in all requests.
67
116
  */
68
- headers?: Record<string, string>;
117
+ headers?: HeadersInit;
69
118
  }
70
119
  /**
71
120
  * Fully resolved configuration with defaults applied.
@@ -92,9 +141,9 @@ interface ResolvedTeezClientConfig {
92
141
  */
93
142
  readonly timeout: number;
94
143
  /**
95
- * Custom headers included in requests.
144
+ * Resolved headers as Headers object for efficient manipulation.
96
145
  */
97
- readonly headers: Readonly<Record<string, string>>;
146
+ readonly headers: Headers;
98
147
  }
99
148
  /**
100
149
  * Default configuration values.
@@ -111,90 +160,7 @@ declare function buildUserAgent(appVersion: string): string;
111
160
  /**
112
161
  * Builds the headers object for API requests based on configuration.
113
162
  */
114
- declare function buildHeaders(config: ResolvedTeezClientConfig): Record<string, string>;
115
- //#endregion
116
- //#region src/http/types.d.ts
117
- /**
118
- * Type representing URL query parameters.
119
- */
120
- type QueryParams = Record<string, unknown>;
121
- /**
122
- * Options for making a generic HTTP request.
123
- */
124
- interface HttpRequestOptions extends Omit<RequestInit, "headers" | "signal"> {
125
- /**
126
- * Full URL for the request.
127
- */
128
- url: string;
129
- /**
130
- * Additional headers for this specific request.
131
- */
132
- headers?: Record<string, string>;
133
- }
134
- /**
135
- * Options for making a GET request.
136
- */
137
- interface HttpGetOptions<T extends z.ZodMiniType> extends Omit<HttpRequestOptions, "url" | "method" | "body"> {
138
- /**
139
- * Relative path to the resource.
140
- */
141
- path: string;
142
- /**
143
- * Query parameters to append to the URL.
144
- */
145
- params?: QueryParams;
146
- /**
147
- * Zod schema to validate the response.
148
- */
149
- schema: T;
150
- }
151
- /**
152
- * Options for making a POST request.
153
- */
154
- interface HttpPostOptions extends Omit<HttpRequestOptions, "url" | "method" | "body"> {
155
- /**
156
- * Relative path to the resource.
157
- */
158
- path: string;
159
- /**
160
- * Request body to send (will be JSON-serialized).
161
- */
162
- body?: unknown;
163
- /**
164
- * Query parameters to append to the URL.
165
- */
166
- params?: QueryParams;
167
- }
168
- /**
169
- * Options for making a PATCH request.
170
- */
171
- interface HttpPatchOptions extends Omit<HttpRequestOptions, "url" | "method" | "body"> {
172
- /**
173
- * Relative path to the resource.
174
- */
175
- path: string;
176
- /**
177
- * Request body to send (will be JSON-serialized).
178
- */
179
- body?: unknown;
180
- /**
181
- * Query parameters to append to the URL.
182
- */
183
- params?: QueryParams;
184
- }
185
- /**
186
- * Options for making a DELETE request.
187
- */
188
- interface HttpDeleteOptions extends Omit<HttpRequestOptions, "url" | "method" | "body"> {
189
- /**
190
- * Relative path to the resource.
191
- */
192
- path: string;
193
- /**
194
- * Query parameters to append to the URL.
195
- */
196
- params?: QueryParams;
197
- }
163
+ declare function buildHeaders(config: ResolvedTeezClientConfig): Headers;
198
164
  //#endregion
199
165
  //#region src/http/client.d.ts
200
166
  /**
@@ -211,32 +177,47 @@ declare class HttpClient {
211
177
  private readonly headers;
212
178
  /**
213
179
  * Initializes a new instance of the HttpClient.
214
- *
215
- * @param config Resolved client configuration.
216
180
  */
217
181
  constructor(config: ResolvedTeezClientConfig);
218
182
  /**
219
183
  * Performs a low-level HTTP request.
220
- *
221
- * @param options Request options.
222
184
  */
223
185
  request(options: HttpRequestOptions): Promise<unknown>;
224
186
  /**
225
- * Performs a GET request and validates the response.
187
+ * Performs a low-level HTTP request with schema validation.
226
188
  */
227
- get<T extends z.ZodMiniType>(options: HttpGetOptions<T>): Promise<z.output<T>>;
189
+ request<T extends ZodMiniType>(options: HttpRequestOptions, schema: T): Promise<output<T>>;
190
+ /**
191
+ * Performs a GET request.
192
+ */
193
+ get(options: HttpGetOptions): Promise<unknown>;
194
+ /**
195
+ * Performs a GET request with schema validation.
196
+ */
197
+ get<T extends ZodMiniType>(options: HttpGetOptions, schema: T): Promise<output<T>>;
228
198
  /**
229
199
  * Performs a POST request.
230
200
  */
231
- post(options: HttpPostOptions): Promise<unknown>;
201
+ /**
202
+ * Performs a POST request with schema validation.
203
+ */
204
+ post<T extends ZodMiniType>(options: HttpPostOptions, schema: T): Promise<output<T>>;
232
205
  /**
233
206
  * Performs a PATCH request.
234
207
  */
235
208
  patch(options: HttpPatchOptions): Promise<unknown>;
209
+ /**
210
+ * Performs a PATCH request with schema validation.
211
+ */
212
+ patch<T extends ZodMiniType>(options: HttpPatchOptions, schema: T): Promise<output<T>>;
236
213
  /**
237
214
  * Performs a DELETE request.
238
215
  */
239
216
  delete(options: HttpDeleteOptions): Promise<unknown>;
217
+ /**
218
+ * Performs a DELETE request with schema validation.
219
+ */
220
+ delete<T extends ZodMiniType>(options: HttpDeleteOptions, schema: T): Promise<output<T>>;
240
221
  }
241
222
  //#endregion
242
223
  //#region src/api/auth/schema-types.d.ts
@@ -950,10 +931,6 @@ interface ProductsApiGetReviewsResponse {
950
931
  * Schema for a product badge.
951
932
  */
952
933
  interface ProductsApiBadge {
953
- /**
954
- * Background color code
955
- */
956
- backgroundColor: number;
957
934
  /**
958
935
  * Text label of the badge
959
936
  */
@@ -962,6 +939,10 @@ interface ProductsApiBadge {
962
939
  * Text color code
963
940
  */
964
941
  textColor: number;
942
+ /**
943
+ * Background color code
944
+ */
945
+ backgroundColor?: (number | null) | undefined;
965
946
  }
966
947
  /**
967
948
  * Type literal for products stock availability type
@@ -1043,7 +1024,7 @@ interface ProductsApiProductItem {
1043
1024
  /**
1044
1025
  * Name of the promotion
1045
1026
  */
1046
- promoName: string;
1027
+ promoName?: (string | null) | undefined;
1047
1028
  /**
1048
1029
  * List of applicable promocodes
1049
1030
  */
@@ -1063,7 +1044,7 @@ interface ProductsApiProductItem {
1063
1044
  /**
1064
1045
  * Badge information for the product
1065
1046
  */
1066
- badge: ProductsApiBadge;
1047
+ badge?: (ProductsApiBadge | null) | undefined;
1067
1048
  /**
1068
1049
  * Moderation status code
1069
1050
  */
@@ -1204,147 +1185,385 @@ declare class CollectionsApi {
1204
1185
  get(params: CollectionsApiGetParams): Promise<CollectionsApiGetResponse>;
1205
1186
  }
1206
1187
  //#endregion
1207
- //#region src/api/feature-flags/schema-types.d.ts
1188
+ //#region src/api/favorites/schema-types.d.ts
1208
1189
  /**
1209
1190
  * ⚠️ This file is auto-generated. Do not edit manually.
1210
1191
  * Run `npm run generate:schema-types` to regenerate.
1211
1192
  * Generated from: schemas.ts
1212
1193
  */
1213
1194
  /**
1214
- * Schema for a feature flag item.
1195
+ * Schema for a product badge.
1215
1196
  */
1216
- interface FeatureFlagsApiItem {
1197
+ interface FavoritesApiBadge {
1217
1198
  /**
1218
- * Name of the feature flag
1199
+ * Text label of the badge
1219
1200
  */
1220
- name: string;
1201
+ label: string;
1221
1202
  /**
1222
- * Indicates if the feature flag is currently active
1203
+ * Background color code
1223
1204
  */
1224
- isActive: boolean;
1205
+ backgroundColor?: (number | null) | undefined;
1206
+ /**
1207
+ * Text color code
1208
+ */
1209
+ textColor: number;
1225
1210
  }
1226
1211
  /**
1227
- * Response schema for the list of feature flags.
1228
- */
1229
- type FeatureFlagsApiListResponse = FeatureFlagsApiItem[];
1230
- //#endregion
1231
- //#region src/api/feature-flags/types.d.ts
1232
- /**
1233
- * Parameters for fetching feature flags.
1212
+ * Type literal for stock availability type
1234
1213
  */
1235
- type FeatureFlagsApiListParams = BaseParams;
1236
- //#endregion
1237
- //#region src/api/feature-flags/api.d.ts
1214
+ type FavoritesStockAvailabilityType = "stock";
1238
1215
  /**
1239
- * API for retrieving feature flags configuration.
1216
+ * Schema for stock availability information.
1240
1217
  */
1241
- declare class FeatureFlagsApi {
1242
- private http;
1218
+ interface FavoritesApiStockAvailability {
1243
1219
  /**
1244
- * Initializes a new instance of the FeatureFlagsApi.
1245
- *
1246
- * @param http HTTP client instance.
1220
+ * Type of stock status (known value: "stock")
1247
1221
  */
1248
- constructor(http: HttpClient);
1222
+ type: FavoritesStockAvailabilityType;
1249
1223
  /**
1250
- * Retrieves all active feature flags.
1251
- *
1252
- * @example
1253
- * const flags = await client.featureFlags.list();
1224
+ * SVG icon representing stock status
1254
1225
  */
1255
- list(params?: FeatureFlagsApiListParams): Promise<FeatureFlagsApiListResponse>;
1256
- }
1257
- //#endregion
1258
- //#region src/api/products/types.d.ts
1259
- /**
1260
- * Parameters for fetching product sort options.
1261
- */
1262
- interface ProductsApiGetSortOptionsParams extends BaseParams {
1226
+ svg?: (string | null) | undefined;
1263
1227
  /**
1264
- * Indicates if the context is a search result
1228
+ * Localized text describing stock status
1265
1229
  */
1266
- IsSearch?: boolean;
1230
+ text: string;
1267
1231
  /**
1268
- * Indicates if the context is a promotional listing
1232
+ * Maximum quantity available
1269
1233
  */
1270
- IsPromo?: boolean;
1234
+ maxQty: number;
1235
+ /**
1236
+ * Localized reason text for quantity limit
1237
+ */
1238
+ maxQtyReason: string;
1271
1239
  }
1272
1240
  /**
1273
- * Parameters for fetching product reviews.
1241
+ * Schema for a favorited item (SKU).
1274
1242
  */
1275
- interface ProductsApiGetReviewsParams extends BaseParams {
1243
+ interface FavoritesApiItem {
1276
1244
  /**
1277
- * Unique identifier of the product
1245
+ * Unique product identifier
1278
1246
  */
1279
1247
  productId: number;
1280
1248
  /**
1281
- * Number of the page to retrieve
1249
+ * Unique stock keeping unit identifier
1282
1250
  */
1283
- pageNumber?: number;
1251
+ skuId: number;
1284
1252
  /**
1285
- * Number of reviews per page
1253
+ * URL for the full-size image
1286
1254
  */
1287
- pageSize?: number;
1288
- }
1289
- /**
1290
- * Parameters for fetching a filtered list of products.
1291
- */
1292
- interface ProductsApiListParams extends BaseParams {
1255
+ imageUrl: string;
1293
1256
  /**
1294
- * Random seed for consistent pagination
1257
+ * Full display name of the product
1295
1258
  */
1296
- seed?: number;
1259
+ name: string;
1297
1260
  /**
1298
- * Number of the page to retrieve
1261
+ * Brief description of the product
1299
1262
  */
1300
- pageNumber?: number;
1263
+ shortDescription: string;
1301
1264
  /**
1302
- * Number of products per page
1265
+ * URL for the small preview image
1303
1266
  */
1304
- pageSize?: number;
1267
+ thumbnailUrl: string;
1305
1268
  /**
1306
- * Filter products by category ID
1269
+ * Original price before discounts
1307
1270
  */
1308
- categoryId?: number;
1271
+ originalPrice: number;
1309
1272
  /**
1310
- * Criteria to sort products by
1273
+ * Current selling price
1311
1274
  */
1312
- sortBy?: ProductSortKey;
1275
+ price: number;
1313
1276
  /**
1314
- * Filter products by brand ID
1277
+ * Quantity available in stock
1315
1278
  */
1316
- brandIds?: number;
1279
+ qty: number;
1317
1280
  /**
1318
- * Minimum price filter
1281
+ * Stock availability details
1319
1282
  */
1320
- minPrice?: number;
1283
+ stockAvailability?: (FavoritesApiStockAvailability | null) | undefined;
1321
1284
  /**
1322
- * Maximum price filter
1285
+ * Indicates if the product is on promotion
1323
1286
  */
1324
- maxPrice?: number;
1325
- }
1326
- //#endregion
1327
- //#region src/api/products/api.d.ts
1328
- /**
1329
- * API for retrieving product listings, details, and reviews.
1330
- */
1331
- declare class ProductsApi {
1332
- private http;
1287
+ isPromo: boolean;
1333
1288
  /**
1334
- * Initializes a new instance of the ProductsApi.
1335
- *
1336
- * @param http HTTP client instance.
1289
+ * Name of the promotion
1337
1290
  */
1338
- constructor(http: HttpClient);
1291
+ promoName?: (string | null) | undefined;
1339
1292
  /**
1340
- * Retrieves available sorting options for product lists.
1341
- *
1342
- * @example
1343
- * const sortOptions = await client.products.getSortOptions();
1293
+ * List of applicable promocodes
1344
1294
  */
1345
- getSortOptions(params?: ProductsApiGetSortOptionsParams): Promise<ProductsApiGetSortOptionsResponse>;
1295
+ promocodes: string[];
1346
1296
  /**
1347
- * Retrieves a list of products with optional filtering and pagination.
1297
+ * Popularity text indicating purchase frequency
1298
+ */
1299
+ qtyPurchasedInfo?: (string | null) | undefined;
1300
+ /**
1301
+ * Average rating score
1302
+ */
1303
+ rating?: (number | null) | undefined;
1304
+ /**
1305
+ * Total number of ratings
1306
+ */
1307
+ scoreQuantity?: (number | null) | undefined;
1308
+ /**
1309
+ * Badge information for the product
1310
+ */
1311
+ badge?: (FavoritesApiBadge | null) | undefined;
1312
+ /**
1313
+ * Moderation status code
1314
+ */
1315
+ moderationStatus: number;
1316
+ }
1317
+ /**
1318
+ * Response schema for the favorites list.
1319
+ */
1320
+ interface FavoritesApiListResponse {
1321
+ /**
1322
+ * List of favorited items
1323
+ */
1324
+ items: FavoritesApiItem[];
1325
+ }
1326
+ /**
1327
+ * Response schema for retrieving favorite SKU IDs.
1328
+ */
1329
+ interface FavoritesApiGetIdsResponse {
1330
+ /**
1331
+ * List of favorited SKU IDs
1332
+ */
1333
+ skuIds: number[];
1334
+ }
1335
+ /**
1336
+ * Response schema for adding a SKU to favorites.
1337
+ */
1338
+ type FavoritesApiAddResponse = (null | null) | undefined;
1339
+ /**
1340
+ * Response schema for removing a SKU from favorites.
1341
+ */
1342
+ type FavoritesApiRemoveResponse = (null | null) | undefined;
1343
+ //#endregion
1344
+ //#region src/api/favorites/types.d.ts
1345
+ /**
1346
+ * Parameters for retrieving the favorites list.
1347
+ */
1348
+ interface FavoritesApiListParams extends BaseParams {
1349
+ /**
1350
+ * Page number for pagination.
1351
+ */
1352
+ pageNumber?: number;
1353
+ /**
1354
+ * Number of items per page.
1355
+ */
1356
+ pageSize?: number;
1357
+ }
1358
+ /**
1359
+ * Parameters for retrieving favorite SKU IDs.
1360
+ */
1361
+ type FavoritesApiGetIdsParams = BaseParams;
1362
+ /**
1363
+ * Parameters for adding items to favorites.
1364
+ */
1365
+ interface FavoritesApiAddParams extends BaseParams {
1366
+ /**
1367
+ * Unique identifiers of the SKUs to add.
1368
+ */
1369
+ skuIds: number[];
1370
+ }
1371
+ /**
1372
+ * Parameters for removing items from favorites.
1373
+ */
1374
+ interface FavoritesApiRemoveParams extends BaseParams {
1375
+ /**
1376
+ * Unique identifiers of the SKUs to remove.
1377
+ */
1378
+ skuIds: number[];
1379
+ }
1380
+ //#endregion
1381
+ //#region src/api/favorites/api.d.ts
1382
+ /**
1383
+ * API for managing user favorites.
1384
+ */
1385
+ declare class FavoritesApi {
1386
+ private http;
1387
+ /**
1388
+ * Initializes a new instance of the FavoritesApi.
1389
+ *
1390
+ * @param http HTTP client instance.
1391
+ */
1392
+ constructor(http: HttpClient);
1393
+ /**
1394
+ * Retrieves a paginated list of favorited items.
1395
+ *
1396
+ * @example
1397
+ * const favorites = await client.favorites.list({
1398
+ * pageNumber: 1,
1399
+ * pageSize: 20
1400
+ * });
1401
+ */
1402
+ list(params?: FavoritesApiListParams): Promise<FavoritesApiListResponse>;
1403
+ /**
1404
+ * Retrieves the list of IDs of favorited SKUs.
1405
+ *
1406
+ * @example
1407
+ * const { skuIds } = await client.favorites.getIds();
1408
+ */
1409
+ getIds(params?: FavoritesApiGetIdsParams): Promise<FavoritesApiGetIdsResponse>;
1410
+ /**
1411
+ * Adds SKUs to favorites.
1412
+ *
1413
+ * @example
1414
+ * await client.favorites.add({ skuIds: [12345, 67890] });
1415
+ */
1416
+ add(params: FavoritesApiAddParams): Promise<FavoritesApiAddResponse>;
1417
+ /**
1418
+ * Removes SKUs from favorites.
1419
+ *
1420
+ * @example
1421
+ * await client.favorites.remove({ skuIds: [12345, 67890] });
1422
+ */
1423
+ remove(params: FavoritesApiRemoveParams): Promise<FavoritesApiRemoveResponse>;
1424
+ }
1425
+ //#endregion
1426
+ //#region src/api/feature-flags/schema-types.d.ts
1427
+ /**
1428
+ * ⚠️ This file is auto-generated. Do not edit manually.
1429
+ * Run `npm run generate:schema-types` to regenerate.
1430
+ * Generated from: schemas.ts
1431
+ */
1432
+ /**
1433
+ * Schema for a feature flag item.
1434
+ */
1435
+ interface FeatureFlagsApiItem {
1436
+ /**
1437
+ * Name of the feature flag
1438
+ */
1439
+ name: string;
1440
+ /**
1441
+ * Indicates if the feature flag is currently active
1442
+ */
1443
+ isActive: boolean;
1444
+ }
1445
+ /**
1446
+ * Response schema for the list of feature flags.
1447
+ */
1448
+ type FeatureFlagsApiListResponse = FeatureFlagsApiItem[];
1449
+ //#endregion
1450
+ //#region src/api/feature-flags/types.d.ts
1451
+ /**
1452
+ * Parameters for fetching feature flags.
1453
+ */
1454
+ type FeatureFlagsApiListParams = BaseParams;
1455
+ //#endregion
1456
+ //#region src/api/feature-flags/api.d.ts
1457
+ /**
1458
+ * API for retrieving feature flags configuration.
1459
+ */
1460
+ declare class FeatureFlagsApi {
1461
+ private http;
1462
+ /**
1463
+ * Initializes a new instance of the FeatureFlagsApi.
1464
+ *
1465
+ * @param http HTTP client instance.
1466
+ */
1467
+ constructor(http: HttpClient);
1468
+ /**
1469
+ * Retrieves all active feature flags.
1470
+ *
1471
+ * @example
1472
+ * const flags = await client.featureFlags.list();
1473
+ */
1474
+ list(params?: FeatureFlagsApiListParams): Promise<FeatureFlagsApiListResponse>;
1475
+ }
1476
+ //#endregion
1477
+ //#region src/api/products/types.d.ts
1478
+ /**
1479
+ * Parameters for fetching product sort options.
1480
+ */
1481
+ interface ProductsApiGetSortOptionsParams extends BaseParams {
1482
+ /**
1483
+ * Indicates if the context is a search result
1484
+ */
1485
+ IsSearch?: boolean;
1486
+ /**
1487
+ * Indicates if the context is a promotional listing
1488
+ */
1489
+ IsPromo?: boolean;
1490
+ }
1491
+ /**
1492
+ * Parameters for fetching product reviews.
1493
+ */
1494
+ interface ProductsApiGetReviewsParams extends BaseParams {
1495
+ /**
1496
+ * Unique identifier of the product
1497
+ */
1498
+ productId: number;
1499
+ /**
1500
+ * Number of the page to retrieve
1501
+ */
1502
+ pageNumber?: number;
1503
+ /**
1504
+ * Number of reviews per page
1505
+ */
1506
+ pageSize?: number;
1507
+ }
1508
+ /**
1509
+ * Parameters for fetching a filtered list of products.
1510
+ */
1511
+ interface ProductsApiListParams extends BaseParams {
1512
+ /**
1513
+ * Random seed for consistent pagination
1514
+ */
1515
+ seed?: number;
1516
+ /**
1517
+ * Number of the page to retrieve
1518
+ */
1519
+ pageNumber?: number;
1520
+ /**
1521
+ * Number of products per page
1522
+ */
1523
+ pageSize?: number;
1524
+ /**
1525
+ * Filter products by category ID
1526
+ */
1527
+ categoryId?: number;
1528
+ /**
1529
+ * Criteria to sort products by
1530
+ */
1531
+ sortBy?: ProductSortKey;
1532
+ /**
1533
+ * Filter products by brand ID
1534
+ */
1535
+ brandIds?: number;
1536
+ /**
1537
+ * Minimum price filter
1538
+ */
1539
+ minPrice?: number;
1540
+ /**
1541
+ * Maximum price filter
1542
+ */
1543
+ maxPrice?: number;
1544
+ }
1545
+ //#endregion
1546
+ //#region src/api/products/api.d.ts
1547
+ /**
1548
+ * API for retrieving product listings, details, and reviews.
1549
+ */
1550
+ declare class ProductsApi {
1551
+ private http;
1552
+ /**
1553
+ * Initializes a new instance of the ProductsApi.
1554
+ *
1555
+ * @param http HTTP client instance.
1556
+ */
1557
+ constructor(http: HttpClient);
1558
+ /**
1559
+ * Retrieves available sorting options for product lists.
1560
+ *
1561
+ * @example
1562
+ * const sortOptions = await client.products.getSortOptions();
1563
+ */
1564
+ getSortOptions(params?: ProductsApiGetSortOptionsParams): Promise<ProductsApiGetSortOptionsResponse>;
1565
+ /**
1566
+ * Retrieves a list of products with optional filtering and pagination.
1348
1567
  *
1349
1568
  * @example
1350
1569
  * const products = await client.products.list({
@@ -2508,6 +2727,10 @@ declare class TeezClient {
2508
2727
  * API for retrieving collections.
2509
2728
  */
2510
2729
  readonly collections: CollectionsApi;
2730
+ /**
2731
+ * API for managing user favorites.
2732
+ */
2733
+ readonly favorites: FavoritesApi;
2511
2734
  /**
2512
2735
  * API for retrieving feature flags.
2513
2736
  */
@@ -2560,7 +2783,7 @@ interface TeezApiErrorOptions extends ErrorOptions {
2560
2783
  /**
2561
2784
  * URL of the request that failed.
2562
2785
  */
2563
- url: string;
2786
+ url: URL;
2564
2787
  /**
2565
2788
  * HTTP status code.
2566
2789
  */
@@ -2579,6 +2802,10 @@ interface TeezApiErrorOptions extends ErrorOptions {
2579
2802
  */
2580
2803
  declare class TeezApiError extends TeezError {
2581
2804
  name: string;
2805
+ /**
2806
+ * URL of the request that failed.
2807
+ */
2808
+ readonly url: URL;
2582
2809
  /**
2583
2810
  * HTTP status code.
2584
2811
  */
@@ -2587,10 +2814,6 @@ declare class TeezApiError extends TeezError {
2587
2814
  * HTTP status text.
2588
2815
  */
2589
2816
  readonly statusText: string;
2590
- /**
2591
- * URL of the request that failed.
2592
- */
2593
- readonly url: string;
2594
2817
  /**
2595
2818
  * Response body, if available.
2596
2819
  */
@@ -2624,7 +2847,7 @@ interface TeezNetworkErrorOptions extends ErrorOptions {
2624
2847
  /**
2625
2848
  * URL of the request that failed.
2626
2849
  */
2627
- url: string;
2850
+ url: URL;
2628
2851
  }
2629
2852
  /**
2630
2853
  * Error thrown when a network request fails (e.g., DNS resolution, connection refused).
@@ -2634,7 +2857,7 @@ declare class TeezNetworkError extends TeezError {
2634
2857
  /**
2635
2858
  * URL of the request that failed.
2636
2859
  */
2637
- readonly url: string;
2860
+ readonly url: URL;
2638
2861
  constructor(message: string, {
2639
2862
  url,
2640
2863
  ...errorOptions
@@ -2649,7 +2872,7 @@ interface TeezTimeoutErrorOptions extends ErrorOptions {
2649
2872
  /**
2650
2873
  * URL of the request that timed out.
2651
2874
  */
2652
- url: string;
2875
+ url: URL;
2653
2876
  /**
2654
2877
  * Timeout duration in milliseconds.
2655
2878
  */
@@ -2663,7 +2886,7 @@ declare class TeezTimeoutError extends TeezError {
2663
2886
  /**
2664
2887
  * URL of the request that timed out.
2665
2888
  */
2666
- readonly url: string;
2889
+ readonly url: URL;
2667
2890
  /**
2668
2891
  * Timeout duration in milliseconds.
2669
2892
  */
@@ -3385,26 +3608,318 @@ declare const CollectionsApiGetResponseSchema: z.ZodMiniObject<{
3385
3608
  priority: z.ZodMiniNumber<number>;
3386
3609
  }, z.core.$strip>;
3387
3610
  //#endregion
3388
- //#region src/api/feature-flags/schemas.d.ts
3611
+ //#region src/api/favorites/schemas.d.ts
3389
3612
  /**
3390
- * Schema for a feature flag item.
3613
+ * Schema for a product badge.
3391
3614
  */
3392
- declare const FeatureFlagsApiItemSchema: z.ZodMiniObject<{
3615
+ declare const FavoritesApiBadgeSchema: z.ZodMiniObject<{
3393
3616
  /**
3394
- * Name of the feature flag
3617
+ * Text label of the badge
3395
3618
  */
3396
- name: z.ZodMiniString<string>;
3619
+ label: z.ZodMiniString<string>;
3397
3620
  /**
3398
- * Indicates if the feature flag is currently active
3621
+ * Background color code
3399
3622
  */
3400
- isActive: z.ZodMiniBoolean<boolean>;
3623
+ backgroundColor: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
3624
+ /**
3625
+ * Text color code
3626
+ */
3627
+ textColor: z.ZodMiniNumber<number>;
3401
3628
  }, z.core.$strip>;
3402
3629
  /**
3403
- * Response schema for the list of feature flags.
3630
+ * Type literal for stock availability type
3404
3631
  */
3405
- declare const FeatureFlagsApiListResponseSchema: z.ZodMiniArray<z.ZodMiniObject<{
3632
+ declare const FavoritesStockAvailabilityTypeSchema: z.ZodMiniLiteral<"stock">;
3633
+ /**
3634
+ * Schema for stock availability information.
3635
+ */
3636
+ declare const FavoritesApiStockAvailabilitySchema: z.ZodMiniObject<{
3406
3637
  /**
3407
- * Name of the feature flag
3638
+ * Type of stock status (known value: "stock")
3639
+ */
3640
+ type: z.ZodMiniLiteral<"stock">;
3641
+ /**
3642
+ * SVG icon representing stock status
3643
+ */
3644
+ svg: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3645
+ /**
3646
+ * Localized text describing stock status
3647
+ */
3648
+ text: z.ZodMiniString<string>;
3649
+ /**
3650
+ * Maximum quantity available
3651
+ */
3652
+ maxQty: z.ZodMiniNumber<number>;
3653
+ /**
3654
+ * Localized reason text for quantity limit
3655
+ */
3656
+ maxQtyReason: z.ZodMiniString<string>;
3657
+ }, z.core.$strip>;
3658
+ /**
3659
+ * Schema for a favorited item (SKU).
3660
+ */
3661
+ declare const FavoritesApiItemSchema: z.ZodMiniObject<{
3662
+ /**
3663
+ * Unique product identifier
3664
+ */
3665
+ productId: z.ZodMiniNumber<number>;
3666
+ /**
3667
+ * Unique stock keeping unit identifier
3668
+ */
3669
+ skuId: z.ZodMiniNumber<number>;
3670
+ /**
3671
+ * URL for the full-size image
3672
+ */
3673
+ imageUrl: z.ZodMiniString<string>;
3674
+ /**
3675
+ * Full display name of the product
3676
+ */
3677
+ name: z.ZodMiniString<string>;
3678
+ /**
3679
+ * Brief description of the product
3680
+ */
3681
+ shortDescription: z.ZodMiniString<string>;
3682
+ /**
3683
+ * URL for the small preview image
3684
+ */
3685
+ thumbnailUrl: z.ZodMiniString<string>;
3686
+ /**
3687
+ * Original price before discounts
3688
+ */
3689
+ originalPrice: z.ZodMiniNumber<number>;
3690
+ /**
3691
+ * Current selling price
3692
+ */
3693
+ price: z.ZodMiniNumber<number>;
3694
+ /**
3695
+ * Quantity available in stock
3696
+ */
3697
+ qty: z.ZodMiniNumber<number>;
3698
+ /**
3699
+ * Stock availability details
3700
+ */
3701
+ stockAvailability: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
3702
+ /**
3703
+ * Type of stock status (known value: "stock")
3704
+ */
3705
+ type: z.ZodMiniLiteral<"stock">;
3706
+ /**
3707
+ * SVG icon representing stock status
3708
+ */
3709
+ svg: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3710
+ /**
3711
+ * Localized text describing stock status
3712
+ */
3713
+ text: z.ZodMiniString<string>;
3714
+ /**
3715
+ * Maximum quantity available
3716
+ */
3717
+ maxQty: z.ZodMiniNumber<number>;
3718
+ /**
3719
+ * Localized reason text for quantity limit
3720
+ */
3721
+ maxQtyReason: z.ZodMiniString<string>;
3722
+ }, z.core.$strip>>>;
3723
+ /**
3724
+ * Indicates if the product is on promotion
3725
+ */
3726
+ isPromo: z.ZodMiniBoolean<boolean>;
3727
+ /**
3728
+ * Name of the promotion
3729
+ */
3730
+ promoName: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3731
+ /**
3732
+ * List of applicable promocodes
3733
+ */
3734
+ promocodes: z.ZodMiniArray<z.ZodMiniString<string>>;
3735
+ /**
3736
+ * Popularity text indicating purchase frequency
3737
+ */
3738
+ qtyPurchasedInfo: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3739
+ /**
3740
+ * Average rating score
3741
+ */
3742
+ rating: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
3743
+ /**
3744
+ * Total number of ratings
3745
+ */
3746
+ scoreQuantity: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
3747
+ /**
3748
+ * Badge information for the product
3749
+ */
3750
+ badge: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
3751
+ /**
3752
+ * Text label of the badge
3753
+ */
3754
+ label: z.ZodMiniString<string>;
3755
+ /**
3756
+ * Background color code
3757
+ */
3758
+ backgroundColor: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
3759
+ /**
3760
+ * Text color code
3761
+ */
3762
+ textColor: z.ZodMiniNumber<number>;
3763
+ }, z.core.$strip>>>;
3764
+ /**
3765
+ * Moderation status code
3766
+ */
3767
+ moderationStatus: z.ZodMiniNumber<number>;
3768
+ }, z.core.$strip>;
3769
+ /**
3770
+ * Response schema for the favorites list.
3771
+ */
3772
+ declare const FavoritesApiListResponseSchema: z.ZodMiniObject<{
3773
+ /**
3774
+ * List of favorited items
3775
+ */
3776
+ items: z.ZodMiniArray<z.ZodMiniObject<{
3777
+ /**
3778
+ * Unique product identifier
3779
+ */
3780
+ productId: z.ZodMiniNumber<number>;
3781
+ /**
3782
+ * Unique stock keeping unit identifier
3783
+ */
3784
+ skuId: z.ZodMiniNumber<number>;
3785
+ /**
3786
+ * URL for the full-size image
3787
+ */
3788
+ imageUrl: z.ZodMiniString<string>;
3789
+ /**
3790
+ * Full display name of the product
3791
+ */
3792
+ name: z.ZodMiniString<string>;
3793
+ /**
3794
+ * Brief description of the product
3795
+ */
3796
+ shortDescription: z.ZodMiniString<string>;
3797
+ /**
3798
+ * URL for the small preview image
3799
+ */
3800
+ thumbnailUrl: z.ZodMiniString<string>;
3801
+ /**
3802
+ * Original price before discounts
3803
+ */
3804
+ originalPrice: z.ZodMiniNumber<number>;
3805
+ /**
3806
+ * Current selling price
3807
+ */
3808
+ price: z.ZodMiniNumber<number>;
3809
+ /**
3810
+ * Quantity available in stock
3811
+ */
3812
+ qty: z.ZodMiniNumber<number>;
3813
+ /**
3814
+ * Stock availability details
3815
+ */
3816
+ stockAvailability: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
3817
+ /**
3818
+ * Type of stock status (known value: "stock")
3819
+ */
3820
+ type: z.ZodMiniLiteral<"stock">;
3821
+ /**
3822
+ * SVG icon representing stock status
3823
+ */
3824
+ svg: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3825
+ /**
3826
+ * Localized text describing stock status
3827
+ */
3828
+ text: z.ZodMiniString<string>;
3829
+ /**
3830
+ * Maximum quantity available
3831
+ */
3832
+ maxQty: z.ZodMiniNumber<number>;
3833
+ /**
3834
+ * Localized reason text for quantity limit
3835
+ */
3836
+ maxQtyReason: z.ZodMiniString<string>;
3837
+ }, z.core.$strip>>>;
3838
+ /**
3839
+ * Indicates if the product is on promotion
3840
+ */
3841
+ isPromo: z.ZodMiniBoolean<boolean>;
3842
+ /**
3843
+ * Name of the promotion
3844
+ */
3845
+ promoName: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3846
+ /**
3847
+ * List of applicable promocodes
3848
+ */
3849
+ promocodes: z.ZodMiniArray<z.ZodMiniString<string>>;
3850
+ /**
3851
+ * Popularity text indicating purchase frequency
3852
+ */
3853
+ qtyPurchasedInfo: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3854
+ /**
3855
+ * Average rating score
3856
+ */
3857
+ rating: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
3858
+ /**
3859
+ * Total number of ratings
3860
+ */
3861
+ scoreQuantity: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
3862
+ /**
3863
+ * Badge information for the product
3864
+ */
3865
+ badge: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
3866
+ /**
3867
+ * Text label of the badge
3868
+ */
3869
+ label: z.ZodMiniString<string>;
3870
+ /**
3871
+ * Background color code
3872
+ */
3873
+ backgroundColor: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
3874
+ /**
3875
+ * Text color code
3876
+ */
3877
+ textColor: z.ZodMiniNumber<number>;
3878
+ }, z.core.$strip>>>;
3879
+ /**
3880
+ * Moderation status code
3881
+ */
3882
+ moderationStatus: z.ZodMiniNumber<number>;
3883
+ }, z.core.$strip>>;
3884
+ }, z.core.$strip>;
3885
+ /**
3886
+ * Response schema for retrieving favorite SKU IDs.
3887
+ */
3888
+ declare const FavoritesApiGetIdsResponseSchema: z.ZodMiniObject<{
3889
+ /**
3890
+ * List of favorited SKU IDs
3891
+ */
3892
+ skuIds: z.ZodMiniArray<z.ZodMiniNumber<number>>;
3893
+ }, z.core.$strip>;
3894
+ /**
3895
+ * Response schema for adding a SKU to favorites.
3896
+ */
3897
+ declare const FavoritesApiAddResponseSchema: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNull>>;
3898
+ /**
3899
+ * Response schema for removing a SKU from favorites.
3900
+ */
3901
+ declare const FavoritesApiRemoveResponseSchema: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNull>>;
3902
+ //#endregion
3903
+ //#region src/api/feature-flags/schemas.d.ts
3904
+ /**
3905
+ * Schema for a feature flag item.
3906
+ */
3907
+ declare const FeatureFlagsApiItemSchema: z.ZodMiniObject<{
3908
+ /**
3909
+ * Name of the feature flag
3910
+ */
3911
+ name: z.ZodMiniString<string>;
3912
+ /**
3913
+ * Indicates if the feature flag is currently active
3914
+ */
3915
+ isActive: z.ZodMiniBoolean<boolean>;
3916
+ }, z.core.$strip>;
3917
+ /**
3918
+ * Response schema for the list of feature flags.
3919
+ */
3920
+ declare const FeatureFlagsApiListResponseSchema: z.ZodMiniArray<z.ZodMiniObject<{
3921
+ /**
3922
+ * Name of the feature flag
3408
3923
  */
3409
3924
  name: z.ZodMiniString<string>;
3410
3925
  /**
@@ -3523,10 +4038,6 @@ declare const ProductsApiGetReviewsResponseSchema: z.ZodMiniObject<{
3523
4038
  * Schema for a product badge.
3524
4039
  */
3525
4040
  declare const ProductsApiBadgeSchema: z.ZodMiniObject<{
3526
- /**
3527
- * Background color code
3528
- */
3529
- backgroundColor: z.ZodMiniNumber<number>;
3530
4041
  /**
3531
4042
  * Text label of the badge
3532
4043
  */
@@ -3535,6 +4046,10 @@ declare const ProductsApiBadgeSchema: z.ZodMiniObject<{
3535
4046
  * Text color code
3536
4047
  */
3537
4048
  textColor: z.ZodMiniNumber<number>;
4049
+ /**
4050
+ * Background color code
4051
+ */
4052
+ backgroundColor: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
3538
4053
  }, z.core.$strip>;
3539
4054
  /**
3540
4055
  * Type literal for products stock availability type
@@ -3637,7 +4152,7 @@ declare const ProductsApiProductItemSchema: z.ZodMiniObject<{
3637
4152
  /**
3638
4153
  * Name of the promotion
3639
4154
  */
3640
- promoName: z.ZodMiniString<string>;
4155
+ promoName: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3641
4156
  /**
3642
4157
  * List of applicable promocodes
3643
4158
  */
@@ -3657,11 +4172,7 @@ declare const ProductsApiProductItemSchema: z.ZodMiniObject<{
3657
4172
  /**
3658
4173
  * Badge information for the product
3659
4174
  */
3660
- badge: z.ZodMiniObject<{
3661
- /**
3662
- * Background color code
3663
- */
3664
- backgroundColor: z.ZodMiniNumber<number>;
4175
+ badge: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
3665
4176
  /**
3666
4177
  * Text label of the badge
3667
4178
  */
@@ -3670,7 +4181,11 @@ declare const ProductsApiProductItemSchema: z.ZodMiniObject<{
3670
4181
  * Text color code
3671
4182
  */
3672
4183
  textColor: z.ZodMiniNumber<number>;
3673
- }, z.core.$strip>;
4184
+ /**
4185
+ * Background color code
4186
+ */
4187
+ backgroundColor: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
4188
+ }, z.core.$strip>>>;
3674
4189
  /**
3675
4190
  * Moderation status code
3676
4191
  */
@@ -3772,7 +4287,7 @@ declare const ProductsApiListResponseSchema: z.ZodMiniObject<{
3772
4287
  /**
3773
4288
  * Name of the promotion
3774
4289
  */
3775
- promoName: z.ZodMiniString<string>;
4290
+ promoName: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
3776
4291
  /**
3777
4292
  * List of applicable promocodes
3778
4293
  */
@@ -3792,11 +4307,7 @@ declare const ProductsApiListResponseSchema: z.ZodMiniObject<{
3792
4307
  /**
3793
4308
  * Badge information for the product
3794
4309
  */
3795
- badge: z.ZodMiniObject<{
3796
- /**
3797
- * Background color code
3798
- */
3799
- backgroundColor: z.ZodMiniNumber<number>;
4310
+ badge: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
3800
4311
  /**
3801
4312
  * Text label of the badge
3802
4313
  */
@@ -3805,7 +4316,11 @@ declare const ProductsApiListResponseSchema: z.ZodMiniObject<{
3805
4316
  * Text color code
3806
4317
  */
3807
4318
  textColor: z.ZodMiniNumber<number>;
3808
- }, z.core.$strip>;
4319
+ /**
4320
+ * Background color code
4321
+ */
4322
+ backgroundColor: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
4323
+ }, z.core.$strip>>>;
3809
4324
  /**
3810
4325
  * Moderation status code
3811
4326
  */
@@ -5052,5 +5567,5 @@ declare const UsersApiUpdateLanguageResponseSchema: z.ZodMiniObject<{
5052
5567
  */
5053
5568
  declare const UsersApiRegisterDeviceResponseSchema: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNull>>;
5054
5569
  //#endregion
5055
- export { AuthApi, AuthApiCheckTokenParams, AuthApiCheckTokenResponse, AuthApiCheckTokenResponseSchema, AuthApiLoginParams, AuthApiLoginResponse, AuthApiLoginResponseSchema, AuthApiVerifyParams, AuthApiVerifyResponse, AuthApiVerifyResponseSchema, BASE_URL, BannerActionTypes, BannerActionTypesSchema, BannerImageType, BannerImageTypeSchema, BannersApi, BannersApiAction, BannersApiActionSchema, BannersApiBannerItem, BannersApiBannerItemSchema, BannersApiImage, BannersApiImageSchema, BannersApiListParams, BannersApiListResponse, BannersApiListResponseSchema, BaseParams, CategoriesApi, CategoriesApiGetParams, CategoriesApiGetParentsParams, CategoriesApiGetParentsResponse, CategoriesApiGetParentsResponseItem, CategoriesApiGetParentsResponseItemSchema, CategoriesApiGetParentsResponseSchema, CategoriesApiGetResponse, CategoriesApiGetResponseSchema, CategoriesApiListParams, CategoriesApiListResponse, CategoriesApiListResponseItem, CategoriesApiListResponseItemSchema, CategoriesApiListResponseSchema, CollectionType, CollectionTypeSchema, CollectionsApi, CollectionsApiGetParams, CollectionsApiGetResponse, CollectionsApiGetResponseSchema, CollectionsApiGetSkusParams, CollectionsApiGetSkusResponse, CollectionsApiGetSkusResponseSchema, CollectionsApiListItem, CollectionsApiListItemSchema, CollectionsApiListParams, CollectionsApiListResponse, CollectionsApiListResponseSchema, CollectionsApiSkuItem, CollectionsApiSkuItemSchema, CollectionsApiStockAvailability, CollectionsApiStockAvailabilitySchema, CollectionsStockAvailabilityType, CollectionsStockAvailabilityTypeSchema, DEFAULT_APP_VERSION, DEFAULT_CONFIG, FeatureFlagsApi, FeatureFlagsApiItem, FeatureFlagsApiItemSchema, FeatureFlagsApiListParams, FeatureFlagsApiListResponse, FeatureFlagsApiListResponseSchema, LANGUAGES, Language, ProductSortKey, ProductSortKeySchema, ProductsApi, ProductsApiBadge, ProductsApiBadgeSchema, ProductsApiGetReviewsParams, ProductsApiGetReviewsResponse, ProductsApiGetReviewsResponseSchema, ProductsApiGetSortOptionsParams, ProductsApiGetSortOptionsResponse, ProductsApiGetSortOptionsResponseSchema, ProductsApiListParams, ProductsApiListResponse, ProductsApiListResponseSchema, ProductsApiProductItem, ProductsApiProductItemSchema, ProductsApiReviewItem, ProductsApiReviewItemSchema, ProductsApiSortOption, ProductsApiSortOptionSchema, ProductsApiStockAvailability, ProductsApiStockAvailabilitySchema, ProductsStockAvailabilityType, ProductsStockAvailabilityTypeSchema, PromoApi, PromoApiItem, PromoApiItemSchema, PromoApiListParams, PromoApiListResponse, PromoApiListResponseSchema, ResolvedTeezClientConfig, ShopsApi, ShopsApiContactInfo, ShopsApiContactInfoSchema, ShopsApiGetMonobrandParams, ShopsApiGetMonobrandResponse, ShopsApiGetMonobrandResponseSchema, ShopsApiGetParams, ShopsApiGetProductsParams, ShopsApiGetProductsResponse, ShopsApiGetProductsResponseSchema, ShopsApiGetResponse, ShopsApiGetResponseSchema, ShopsApiProductItem, ShopsApiProductItemSchema, ShopsApiShopItem, ShopsApiShopItemSchema, ShopsApiStockAvailability, ShopsApiStockAvailabilitySchema, ShopsApiTag, ShopsApiTagSchema, ShopsStockAvailabilityType, ShopsStockAvailabilityTypeSchema, SkuApi, SkuApiAttribute, SkuApiAttributeProperty, SkuApiAttributePropertySchema, SkuApiAttributePropertyValue, SkuApiAttributePropertyValueSchema, SkuApiAttributeSchema, SkuApiBrand, SkuApiBrandSchema, SkuApiCategory, SkuApiCategorySchema, SkuApiCollectionItem, SkuApiCollectionItemSchema, SkuApiGetCollectionsParams, SkuApiGetCollectionsResponse, SkuApiGetCollectionsResponseSchema, SkuApiGetParams, SkuApiGetResponse, SkuApiGetResponseSchema, SkuApiGetReviewAvailableParams, SkuApiGetReviewAvailableResponse, SkuApiGetReviewAvailableResponseSchema, SkuApiGetSimilarParams, SkuApiGetSimilarResponse, SkuApiGetSimilarResponseSchema, SkuApiInstallment, SkuApiInstallmentSchema, SkuApiShop, SkuApiShopSchema, SkuApiSimilarItem, SkuApiSimilarItemSchema, SkuApiStockAvailability, SkuApiStockAvailabilitySchema, SkuApiTag, SkuApiTagSchema, SkuStockAvailabilityType, SkuStockAvailabilityTypeSchema, TeezApiError, TeezApiErrorOptions, TeezClient, TeezClientConfig, TeezError, TeezNetworkError, TeezNetworkErrorOptions, TeezTimeoutError, TeezTimeoutErrorOptions, TeezValidationError, TeezValidationErrorOptions, TeezValidationIssue, UsersApi, UsersApiDeviceIdentity, UsersApiDeviceSdkInformation, UsersApiLanguageEnum, UsersApiLanguageEnumSchema, UsersApiRegisterDeviceParams, UsersApiRegisterDeviceResponse, UsersApiRegisterDeviceResponseSchema, UsersApiUpdateLanguageParams, UsersApiUpdateLanguageResponse, UsersApiUpdateLanguageResponseSchema, buildHeaders, buildUserAgent, resolveConfig };
5570
+ export { AuthApi, AuthApiCheckTokenParams, AuthApiCheckTokenResponse, AuthApiCheckTokenResponseSchema, AuthApiLoginParams, AuthApiLoginResponse, AuthApiLoginResponseSchema, AuthApiVerifyParams, AuthApiVerifyResponse, AuthApiVerifyResponseSchema, BASE_URL, BannerActionTypes, BannerActionTypesSchema, BannerImageType, BannerImageTypeSchema, BannersApi, BannersApiAction, BannersApiActionSchema, BannersApiBannerItem, BannersApiBannerItemSchema, BannersApiImage, BannersApiImageSchema, BannersApiListParams, BannersApiListResponse, BannersApiListResponseSchema, BaseParams, CategoriesApi, CategoriesApiGetParams, CategoriesApiGetParentsParams, CategoriesApiGetParentsResponse, CategoriesApiGetParentsResponseItem, CategoriesApiGetParentsResponseItemSchema, CategoriesApiGetParentsResponseSchema, CategoriesApiGetResponse, CategoriesApiGetResponseSchema, CategoriesApiListParams, CategoriesApiListResponse, CategoriesApiListResponseItem, CategoriesApiListResponseItemSchema, CategoriesApiListResponseSchema, CollectionType, CollectionTypeSchema, CollectionsApi, CollectionsApiGetParams, CollectionsApiGetResponse, CollectionsApiGetResponseSchema, CollectionsApiGetSkusParams, CollectionsApiGetSkusResponse, CollectionsApiGetSkusResponseSchema, CollectionsApiListItem, CollectionsApiListItemSchema, CollectionsApiListParams, CollectionsApiListResponse, CollectionsApiListResponseSchema, CollectionsApiSkuItem, CollectionsApiSkuItemSchema, CollectionsApiStockAvailability, CollectionsApiStockAvailabilitySchema, CollectionsStockAvailabilityType, CollectionsStockAvailabilityTypeSchema, DEFAULT_APP_VERSION, DEFAULT_CONFIG, FavoritesApi, FavoritesApiAddParams, FavoritesApiAddResponse, FavoritesApiAddResponseSchema, FavoritesApiBadge, FavoritesApiBadgeSchema, FavoritesApiGetIdsParams, FavoritesApiGetIdsResponse, FavoritesApiGetIdsResponseSchema, FavoritesApiItem, FavoritesApiItemSchema, FavoritesApiListParams, FavoritesApiListResponse, FavoritesApiListResponseSchema, FavoritesApiRemoveParams, FavoritesApiRemoveResponse, FavoritesApiRemoveResponseSchema, FavoritesApiStockAvailability, FavoritesApiStockAvailabilitySchema, FavoritesStockAvailabilityType, FavoritesStockAvailabilityTypeSchema, FeatureFlagsApi, FeatureFlagsApiItem, FeatureFlagsApiItemSchema, FeatureFlagsApiListParams, FeatureFlagsApiListResponse, FeatureFlagsApiListResponseSchema, LANGUAGES, Language, ProductSortKey, ProductSortKeySchema, ProductsApi, ProductsApiBadge, ProductsApiBadgeSchema, ProductsApiGetReviewsParams, ProductsApiGetReviewsResponse, ProductsApiGetReviewsResponseSchema, ProductsApiGetSortOptionsParams, ProductsApiGetSortOptionsResponse, ProductsApiGetSortOptionsResponseSchema, ProductsApiListParams, ProductsApiListResponse, ProductsApiListResponseSchema, ProductsApiProductItem, ProductsApiProductItemSchema, ProductsApiReviewItem, ProductsApiReviewItemSchema, ProductsApiSortOption, ProductsApiSortOptionSchema, ProductsApiStockAvailability, ProductsApiStockAvailabilitySchema, ProductsStockAvailabilityType, ProductsStockAvailabilityTypeSchema, PromoApi, PromoApiItem, PromoApiItemSchema, PromoApiListParams, PromoApiListResponse, PromoApiListResponseSchema, ResolvedTeezClientConfig, ShopsApi, ShopsApiContactInfo, ShopsApiContactInfoSchema, ShopsApiGetMonobrandParams, ShopsApiGetMonobrandResponse, ShopsApiGetMonobrandResponseSchema, ShopsApiGetParams, ShopsApiGetProductsParams, ShopsApiGetProductsResponse, ShopsApiGetProductsResponseSchema, ShopsApiGetResponse, ShopsApiGetResponseSchema, ShopsApiProductItem, ShopsApiProductItemSchema, ShopsApiShopItem, ShopsApiShopItemSchema, ShopsApiStockAvailability, ShopsApiStockAvailabilitySchema, ShopsApiTag, ShopsApiTagSchema, ShopsStockAvailabilityType, ShopsStockAvailabilityTypeSchema, SkuApi, SkuApiAttribute, SkuApiAttributeProperty, SkuApiAttributePropertySchema, SkuApiAttributePropertyValue, SkuApiAttributePropertyValueSchema, SkuApiAttributeSchema, SkuApiBrand, SkuApiBrandSchema, SkuApiCategory, SkuApiCategorySchema, SkuApiCollectionItem, SkuApiCollectionItemSchema, SkuApiGetCollectionsParams, SkuApiGetCollectionsResponse, SkuApiGetCollectionsResponseSchema, SkuApiGetParams, SkuApiGetResponse, SkuApiGetResponseSchema, SkuApiGetReviewAvailableParams, SkuApiGetReviewAvailableResponse, SkuApiGetReviewAvailableResponseSchema, SkuApiGetSimilarParams, SkuApiGetSimilarResponse, SkuApiGetSimilarResponseSchema, SkuApiInstallment, SkuApiInstallmentSchema, SkuApiShop, SkuApiShopSchema, SkuApiSimilarItem, SkuApiSimilarItemSchema, SkuApiStockAvailability, SkuApiStockAvailabilitySchema, SkuApiTag, SkuApiTagSchema, SkuStockAvailabilityType, SkuStockAvailabilityTypeSchema, TeezApiError, TeezApiErrorOptions, TeezClient, TeezClientConfig, TeezError, TeezNetworkError, TeezNetworkErrorOptions, TeezTimeoutError, TeezTimeoutErrorOptions, TeezValidationError, TeezValidationErrorOptions, TeezValidationIssue, UsersApi, UsersApiDeviceIdentity, UsersApiDeviceSdkInformation, UsersApiLanguageEnum, UsersApiLanguageEnumSchema, UsersApiRegisterDeviceParams, UsersApiRegisterDeviceResponse, UsersApiRegisterDeviceResponseSchema, UsersApiUpdateLanguageParams, UsersApiUpdateLanguageResponse, UsersApiUpdateLanguageResponseSchema, buildHeaders, buildUserAgent, resolveConfig };
5056
5571
  //# sourceMappingURL=index.d.cts.map