@aimee.shop/sdk 0.36.0-dev.379 → 0.36.0-dev.381
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/generated/core-api.d.ts +56 -9
- package/dist/generated/core-api.d.ts.map +1 -1
- package/dist/services/core/carts.client.d.ts +8 -2
- package/dist/services/core/carts.client.d.ts.map +1 -1
- package/dist/services/core/carts.client.js +20 -1
- package/dist/services/core/carts.client.js.map +1 -1
- package/package.json +1 -1
|
@@ -449,7 +449,7 @@ export interface paths {
|
|
|
449
449
|
};
|
|
450
450
|
/**
|
|
451
451
|
* Search products
|
|
452
|
-
* @description Text search over name, description, tags, meta keywords and meta description (stemmed, prefix terms), best match first. Every term must match; when no product matches them all, a multi-word query falls back to any term. Filters: categories, minPrice/maxPrice (minor units), inStock, onSale. An empty q lists products newest first.
|
|
452
|
+
* @description Text search over name, description, tags, meta keywords and meta description (stemmed, prefix terms), best match first. A query equal to or contained in a variant SKU also matches that product. Every term must match; when no product matches them all, a multi-word query falls back to any term. Filters: categories, minPrice/maxPrice (minor units), inStock, onSale. An empty q lists products newest first.
|
|
453
453
|
*/
|
|
454
454
|
get: operations['ProductsController_search'];
|
|
455
455
|
put?: never;
|
|
@@ -2720,6 +2720,23 @@ export interface paths {
|
|
|
2720
2720
|
patch?: never;
|
|
2721
2721
|
trace?: never;
|
|
2722
2722
|
};
|
|
2723
|
+
'/v1/users/me/store-memberships/{storeId}/default': {
|
|
2724
|
+
parameters: {
|
|
2725
|
+
query?: never;
|
|
2726
|
+
header?: never;
|
|
2727
|
+
path?: never;
|
|
2728
|
+
cookie?: never;
|
|
2729
|
+
};
|
|
2730
|
+
get?: never;
|
|
2731
|
+
put?: never;
|
|
2732
|
+
post?: never;
|
|
2733
|
+
delete?: never;
|
|
2734
|
+
options?: never;
|
|
2735
|
+
head?: never;
|
|
2736
|
+
/** Set a store as the caller default */
|
|
2737
|
+
patch: operations['MyStoreMembershipsController_setMyDefaultStore'];
|
|
2738
|
+
trace?: never;
|
|
2739
|
+
};
|
|
2723
2740
|
'/v1/users/{userId}/store-memberships': {
|
|
2724
2741
|
parameters: {
|
|
2725
2742
|
query?: never;
|
|
@@ -14503,7 +14520,7 @@ export interface components {
|
|
|
14503
14520
|
*/
|
|
14504
14521
|
updatedAt: string;
|
|
14505
14522
|
/**
|
|
14506
|
-
* @description SEO meta title (max
|
|
14523
|
+
* @description SEO meta title (max 60 chars)
|
|
14507
14524
|
* @example Premium Wireless Headphones | Store Name
|
|
14508
14525
|
*/
|
|
14509
14526
|
metaTitle?: string;
|
|
@@ -14739,7 +14756,7 @@ export interface components {
|
|
|
14739
14756
|
*/
|
|
14740
14757
|
isAvailable?: boolean;
|
|
14741
14758
|
/**
|
|
14742
|
-
* @description SEO meta title (max
|
|
14759
|
+
* @description SEO meta title (max 60 chars)
|
|
14743
14760
|
* @example Premium Wireless Headphones | Store Name
|
|
14744
14761
|
*/
|
|
14745
14762
|
metaTitle?: string;
|
|
@@ -15038,7 +15055,7 @@ export interface components {
|
|
|
15038
15055
|
*/
|
|
15039
15056
|
isReviewsEnabled?: boolean;
|
|
15040
15057
|
/**
|
|
15041
|
-
* @description SEO meta title (max
|
|
15058
|
+
* @description SEO meta title (max 60 chars)
|
|
15042
15059
|
* @example Premium Wireless Headphones | Store Name
|
|
15043
15060
|
*/
|
|
15044
15061
|
metaTitle?: string;
|
|
@@ -30442,11 +30459,6 @@ export interface components {
|
|
|
30442
30459
|
* @example 550e8400-e29b-41d4-a716-446655440001
|
|
30443
30460
|
*/
|
|
30444
30461
|
guestToken?: string;
|
|
30445
|
-
/**
|
|
30446
|
-
* @description When the cart should expire (defaults to tenant settings)
|
|
30447
|
-
* @example 2025-07-11T16:00:00.000Z
|
|
30448
|
-
*/
|
|
30449
|
-
expiresAt?: string;
|
|
30450
30462
|
/**
|
|
30451
30463
|
* @description Market ID for pricing context. Resolved at create and immutable thereafter. Prefer marketId or countryCode over currency alone.
|
|
30452
30464
|
* @example 550e8400-e29b-41d4-a716-446655440010
|
|
@@ -37301,6 +37313,9 @@ export interface components {
|
|
|
37301
37313
|
content: {
|
|
37302
37314
|
[key: string]: unknown;
|
|
37303
37315
|
};
|
|
37316
|
+
settings?: {
|
|
37317
|
+
[key: string]: unknown;
|
|
37318
|
+
};
|
|
37304
37319
|
sortOrder: number;
|
|
37305
37320
|
};
|
|
37306
37321
|
PublicContentCollectionRefDto: {
|
|
@@ -45645,6 +45660,36 @@ export interface operations {
|
|
|
45645
45660
|
};
|
|
45646
45661
|
};
|
|
45647
45662
|
};
|
|
45663
|
+
MyStoreMembershipsController_setMyDefaultStore: {
|
|
45664
|
+
parameters: {
|
|
45665
|
+
query?: never;
|
|
45666
|
+
header?: never;
|
|
45667
|
+
path: {
|
|
45668
|
+
/** @description Store ID */
|
|
45669
|
+
storeId: string;
|
|
45670
|
+
};
|
|
45671
|
+
cookie?: never;
|
|
45672
|
+
};
|
|
45673
|
+
requestBody?: never;
|
|
45674
|
+
responses: {
|
|
45675
|
+
/** @description Default store set successfully */
|
|
45676
|
+
200: {
|
|
45677
|
+
headers: {
|
|
45678
|
+
[name: string]: unknown;
|
|
45679
|
+
};
|
|
45680
|
+
content: {
|
|
45681
|
+
'application/json': components['schemas']['UserStoreMembershipDto'];
|
|
45682
|
+
};
|
|
45683
|
+
};
|
|
45684
|
+
/** @description Membership not found */
|
|
45685
|
+
404: {
|
|
45686
|
+
headers: {
|
|
45687
|
+
[name: string]: unknown;
|
|
45688
|
+
};
|
|
45689
|
+
content?: never;
|
|
45690
|
+
};
|
|
45691
|
+
};
|
|
45692
|
+
};
|
|
45648
45693
|
UserStoreMembershipController_getUserStoreMemberships: {
|
|
45649
45694
|
parameters: {
|
|
45650
45695
|
query?: {
|
|
@@ -53251,6 +53296,8 @@ export interface operations {
|
|
|
53251
53296
|
variantId?: string;
|
|
53252
53297
|
/** @description Filter by stock status */
|
|
53253
53298
|
status?: 'inStock' | 'lowStock' | 'outOfStock' | 'backorder';
|
|
53299
|
+
/** @description Search by variant SKU or product name (contains, any case) */
|
|
53300
|
+
search?: string;
|
|
53254
53301
|
/** @description Only return low stock items */
|
|
53255
53302
|
lowStockOnly?: boolean;
|
|
53256
53303
|
/** @description Comma-separated relations to include: variant, location */
|