sizebay-core-sdk 1.16.2 → 1.18.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/README.md CHANGED
@@ -441,12 +441,15 @@ Get grouped looks with optional filters and pagination (Public endpoint).
441
441
  | `offset` | number | No | Number of looks to skip before returning results.<br>Use with limit to implement pagination: page 2 = offset 50 (if limit is 50). |
442
442
  | `order` | SortOrder | No | Sort order by creation date.<br>Use 'desc' to show newest looks first, 'asc' for oldest first. |
443
443
  | `permalink` | string | No | Filter by product permalink.<br>Find all looks that include this specific product. Useful for showing<br>styling suggestions when a user views a product page. |
444
+ | `productId` | string | No | Filter by product id.<br>Find all looks that include this specific product. Useful for showing<br>styling suggestions when a user views a product page. |
444
445
  | `gender` | Gender | No | Filter by target gender.<br>Show only looks designed for MALE or FEMALE audiences. |
445
446
  | `ageGroup` | AgeGroup | No | Filter by target age group.<br>Show only looks appropriate for the specified age range. |
446
447
  | `style` | Style | No | Filter by style category.<br>Show only looks matching the desired style (casual, formal, party, etc.). |
447
448
  | `collection` | Collection | No | Filter by seasonal collection.<br>Show only looks from a specific season (spring, summer, fall, winter). |
448
449
  | `language` | Language | No | Language/locale for filtering localizations.<br>Use this to get product information in the specified language. |
449
450
  | `currency` | string | No | Currency code for pricing (e.g., EUR, USD, BRL). |
451
+ | `personaHash` | string | No | Persona hash for size-based filtering.<br>Returns only grouped looks whose garments fit the persona's size profile. |
452
+ | `sizeSystem` | string | No | Size system to use when matching catalog sizes against persona recommendations<br>(e.g., BR, US, EU). When provided, only sizes from this system are compared. |
450
453
  <!-- /DOCGEN -->
451
454
 
452
455
  #### Returns
@@ -11,10 +11,13 @@ export interface GetGroupedLooksParams {
11
11
  offset?: number;
12
12
  order?: SortOrder;
13
13
  permalink?: string;
14
+ productId?: string;
14
15
  gender?: Gender;
15
16
  ageGroup?: AgeGroup;
16
17
  style?: Style;
17
18
  collection?: Collection;
18
19
  language?: Language;
19
20
  currency?: string;
21
+ personaHash?: string;
22
+ sizeSystem?: string;
20
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sizebay-core-sdk",
3
- "version": "1.16.2",
3
+ "version": "1.18.0",
4
4
  "description": "A SDK designed for integrating multiple services (such as event tracking, AI services, etc.) into your application.",
5
5
  "main": "dist/sizebay-core-sdk.umd.js",
6
6
  "module": "dist/sizebay-core-sdk.es.js",