@aimee.shop/sdk 0.36.0-dev.379 → 0.36.0-dev.383
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 +112 -67
- package/dist/generated/core-api.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.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/dist/services/core/cms/types.d.ts +6 -0
- package/dist/services/core/cms/types.d.ts.map +1 -1
- package/dist/services/core/cms/types.js.map +1 -1
- package/dist/services/core/fulfillments.client.d.ts +10 -15
- package/dist/services/core/fulfillments.client.d.ts.map +1 -1
- package/dist/services/core/fulfillments.client.js +2 -3
- package/dist/services/core/fulfillments.client.js.map +1 -1
- package/dist/services/core/orders.client.d.ts +5 -19
- package/dist/services/core/orders.client.d.ts.map +1 -1
- package/dist/services/core/orders.client.js +1 -2
- package/dist/services/core/orders.client.js.map +1 -1
- package/dist/services/core/storefront/storefront-orders.client.d.ts +1 -9
- package/dist/services/core/storefront/storefront-orders.client.d.ts.map +1 -1
- package/dist/services/core/storefront/storefront-orders.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;
|
|
@@ -8454,7 +8471,7 @@ export interface paths {
|
|
|
8454
8471
|
put?: never;
|
|
8455
8472
|
/**
|
|
8456
8473
|
* Manually finalize platform invoices (system admin)
|
|
8457
|
-
* @description Idempotent finalization for a period (default: prior UTC month). Used by ops/tests
|
|
8474
|
+
* @description Idempotent finalization for a period (default: prior UTC month). Used by ops/tests.
|
|
8458
8475
|
*/
|
|
8459
8476
|
post: operations['PlatformInvoicesController_finalize'];
|
|
8460
8477
|
delete?: never;
|
|
@@ -8993,7 +9010,7 @@ export interface paths {
|
|
|
8993
9010
|
head?: never;
|
|
8994
9011
|
/**
|
|
8995
9012
|
* Update fulfillment tracking info
|
|
8996
|
-
* @description
|
|
9013
|
+
* @description Replace the tracking entries (number, URL, carrier each) and update other shipping details
|
|
8997
9014
|
*/
|
|
8998
9015
|
patch: operations['FulfillmentsController_updateFulfillment'];
|
|
8999
9016
|
trace?: 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
|
|
@@ -32316,12 +32328,29 @@ export interface components {
|
|
|
32316
32328
|
/** @description Units in this package */
|
|
32317
32329
|
quantity: number;
|
|
32318
32330
|
};
|
|
32331
|
+
TrackingEntryDto: {
|
|
32332
|
+
/**
|
|
32333
|
+
* @description Carrier tracking number
|
|
32334
|
+
* @example 1Z999AA10123456784
|
|
32335
|
+
*/
|
|
32336
|
+
trackingNumber: string;
|
|
32337
|
+
/**
|
|
32338
|
+
* @description Tracking URL
|
|
32339
|
+
* @example https://www.ups.com/track?tracknum=1Z999AA10123456784
|
|
32340
|
+
*/
|
|
32341
|
+
trackingUrl?: string;
|
|
32342
|
+
/**
|
|
32343
|
+
* @description Shipping carrier name
|
|
32344
|
+
* @example UPS
|
|
32345
|
+
*/
|
|
32346
|
+
carrier?: string;
|
|
32347
|
+
};
|
|
32319
32348
|
ErpFulfillmentDto: {
|
|
32320
32349
|
/** @description Provider fulfillment id; idempotency key */
|
|
32321
32350
|
erpFulfillmentId: string;
|
|
32322
32351
|
items: components['schemas']['ErpFulfillmentItemDto'][];
|
|
32323
|
-
|
|
32324
|
-
|
|
32352
|
+
/** @description Tracking numbers of this shipment, each with its carrier and URL */
|
|
32353
|
+
trackingEntries?: components['schemas']['TrackingEntryDto'][];
|
|
32325
32354
|
/** @description Provider ship timestamp (ISO date-time). Present = shipped, stored verbatim */
|
|
32326
32355
|
shippedAt?: string;
|
|
32327
32356
|
/** @description Aimee inventory location UUID */
|
|
@@ -32453,23 +32482,13 @@ export interface components {
|
|
|
32453
32482
|
updatedAt: string;
|
|
32454
32483
|
};
|
|
32455
32484
|
FulfillmentSummaryDto: {
|
|
32456
|
-
/**
|
|
32457
|
-
* @description Carrier name
|
|
32458
|
-
* @example UPS
|
|
32459
|
-
*/
|
|
32460
|
-
carrier?: string;
|
|
32461
32485
|
/**
|
|
32462
32486
|
* @description Service level
|
|
32463
32487
|
* @example Ground
|
|
32464
32488
|
*/
|
|
32465
32489
|
serviceLevel?: string;
|
|
32466
|
-
/**
|
|
32467
|
-
|
|
32468
|
-
* @example 1Z999AA1234567890
|
|
32469
|
-
*/
|
|
32470
|
-
trackingNumber?: string;
|
|
32471
|
-
/** @description Tracking URL */
|
|
32472
|
-
trackingUrl?: string;
|
|
32490
|
+
/** @description Tracking numbers of the shipment, in display order */
|
|
32491
|
+
trackingEntries: components['schemas']['TrackingEntryDto'][];
|
|
32473
32492
|
/**
|
|
32474
32493
|
* @description Fulfillment status
|
|
32475
32494
|
* @example shipped
|
|
@@ -32548,6 +32567,11 @@ export interface components {
|
|
|
32548
32567
|
* @example PO-2025-001
|
|
32549
32568
|
*/
|
|
32550
32569
|
purchaseOrderNumber?: string;
|
|
32570
|
+
/**
|
|
32571
|
+
* @description Shopper IP address at order creation. Admin responses only; null for staff-created orders.
|
|
32572
|
+
* @example 203.0.113.7
|
|
32573
|
+
*/
|
|
32574
|
+
ipAddress?: string | null;
|
|
32551
32575
|
/**
|
|
32552
32576
|
* @description Subscription ID (from payments service)
|
|
32553
32577
|
* @example sub_123e4567-e89b-12d3-a456-426614174000
|
|
@@ -32619,7 +32643,7 @@ export interface components {
|
|
|
32619
32643
|
*/
|
|
32620
32644
|
fulfillmentStatus?: 'unfulfilled' | 'processing' | 'partially_shipped' | 'shipped' | 'partially_delivered' | 'delivered';
|
|
32621
32645
|
/**
|
|
32622
|
-
* @description Tracking numbers
|
|
32646
|
+
* @description Tracking numbers of all fulfillments (flat list; see carrierInformation[].trackingEntries)
|
|
32623
32647
|
* @example [
|
|
32624
32648
|
* "1Z999AA1234567890"
|
|
32625
32649
|
* ]
|
|
@@ -33901,21 +33925,8 @@ export interface components {
|
|
|
33901
33925
|
orderId: string;
|
|
33902
33926
|
/** @description Items to include in this fulfillment */
|
|
33903
33927
|
items: components['schemas']['CreateFulfillmentItemDto'][];
|
|
33904
|
-
/**
|
|
33905
|
-
|
|
33906
|
-
* @example 1Z999AA10123456784
|
|
33907
|
-
*/
|
|
33908
|
-
trackingNumber?: string;
|
|
33909
|
-
/**
|
|
33910
|
-
* @description Tracking URL
|
|
33911
|
-
* @example https://www.ups.com/track?tracknum=1Z999AA10123456784
|
|
33912
|
-
*/
|
|
33913
|
-
trackingUrl?: string;
|
|
33914
|
-
/**
|
|
33915
|
-
* @description Shipping carrier name
|
|
33916
|
-
* @example UPS
|
|
33917
|
-
*/
|
|
33918
|
-
carrier?: string;
|
|
33928
|
+
/** @description Tracking numbers, each with its own carrier and URL */
|
|
33929
|
+
trackingEntries?: components['schemas']['TrackingEntryDto'][];
|
|
33919
33930
|
/**
|
|
33920
33931
|
* @description Service level (e.g., Ground, 2-Day, Overnight)
|
|
33921
33932
|
* @example Ground
|
|
@@ -33952,6 +33963,17 @@ export interface components {
|
|
|
33952
33963
|
/** Format: date-time */
|
|
33953
33964
|
createdAt: string;
|
|
33954
33965
|
};
|
|
33966
|
+
FulfillmentTrackingResponseDto: {
|
|
33967
|
+
id: string;
|
|
33968
|
+
fulfillmentId: string;
|
|
33969
|
+
trackingNumber: string;
|
|
33970
|
+
trackingUrl: string | null;
|
|
33971
|
+
carrier: string | null;
|
|
33972
|
+
/** @description 0 is the first number shown */
|
|
33973
|
+
position: number;
|
|
33974
|
+
/** Format: date-time */
|
|
33975
|
+
createdAt: string;
|
|
33976
|
+
};
|
|
33955
33977
|
FulfillmentResponseDto: {
|
|
33956
33978
|
id: string;
|
|
33957
33979
|
orderId: string;
|
|
@@ -33960,9 +33982,6 @@ export interface components {
|
|
|
33960
33982
|
locationId: string | null;
|
|
33961
33983
|
/** @enum {string} */
|
|
33962
33984
|
status: 'PENDING' | 'SHIPPED' | 'IN_TRANSIT' | 'DELIVERED' | 'FAILED' | 'CANCELLED';
|
|
33963
|
-
trackingNumber: string | null;
|
|
33964
|
-
trackingUrl: string | null;
|
|
33965
|
-
carrier: string | null;
|
|
33966
33985
|
serviceLevel: string | null;
|
|
33967
33986
|
/** Format: date-time */
|
|
33968
33987
|
estimatedDeliveryDate: string | null;
|
|
@@ -33978,23 +33997,12 @@ export interface components {
|
|
|
33978
33997
|
/** Format: date-time */
|
|
33979
33998
|
updatedAt: string;
|
|
33980
33999
|
fulfillmentItems: components['schemas']['FulfillmentItemResponseDto'][];
|
|
34000
|
+
/** @description Tracking numbers, ordered by position */
|
|
34001
|
+
trackingEntries: components['schemas']['FulfillmentTrackingResponseDto'][];
|
|
33981
34002
|
};
|
|
33982
34003
|
UpdateFulfillmentDto: {
|
|
33983
|
-
/**
|
|
33984
|
-
|
|
33985
|
-
* @example 1Z999AA10123456784
|
|
33986
|
-
*/
|
|
33987
|
-
trackingNumber?: string;
|
|
33988
|
-
/**
|
|
33989
|
-
* @description Tracking URL
|
|
33990
|
-
* @example https://www.ups.com/track?tracknum=1Z999AA10123456784
|
|
33991
|
-
*/
|
|
33992
|
-
trackingUrl?: string;
|
|
33993
|
-
/**
|
|
33994
|
-
* @description Shipping carrier name
|
|
33995
|
-
* @example UPS
|
|
33996
|
-
*/
|
|
33997
|
-
carrier?: string;
|
|
34004
|
+
/** @description Tracking numbers, each with its own carrier and URL. Replaces the whole list; send [] to clear */
|
|
34005
|
+
trackingEntries?: components['schemas']['TrackingEntryDto'][];
|
|
33998
34006
|
/**
|
|
33999
34007
|
* @description Service level (e.g., Ground, 2-Day, Overnight)
|
|
34000
34008
|
* @example Ground
|
|
@@ -35120,11 +35128,9 @@ export interface components {
|
|
|
35120
35128
|
* @enum {string}
|
|
35121
35129
|
*/
|
|
35122
35130
|
status: 'PENDING' | 'SHIPPED' | 'IN_TRANSIT' | 'DELIVERED' | 'FAILED' | 'CANCELLED';
|
|
35123
|
-
carrier?: string;
|
|
35124
35131
|
serviceLevel?: string;
|
|
35125
|
-
|
|
35126
|
-
|
|
35127
|
-
trackingUrl?: string;
|
|
35132
|
+
/** @description Tracking numbers of the shipment, in display order */
|
|
35133
|
+
trackingEntries: components['schemas']['TrackingEntryDto'][];
|
|
35128
35134
|
estimatedDeliveryDate?: string;
|
|
35129
35135
|
shippedAt?: string;
|
|
35130
35136
|
deliveredAt?: string;
|
|
@@ -35913,10 +35919,8 @@ export interface components {
|
|
|
35913
35919
|
OrderStatusTrackingDto: {
|
|
35914
35920
|
/** @example shipped */
|
|
35915
35921
|
status: string;
|
|
35916
|
-
/** @
|
|
35917
|
-
|
|
35918
|
-
trackingNumber?: string;
|
|
35919
|
-
trackingUrl?: string;
|
|
35922
|
+
/** @description Tracking numbers of the shipment, in display order */
|
|
35923
|
+
trackingEntries: components['schemas']['TrackingEntryDto'][];
|
|
35920
35924
|
shippedAt?: string;
|
|
35921
35925
|
deliveredAt?: string;
|
|
35922
35926
|
estimatedDeliveryDate?: string;
|
|
@@ -36523,6 +36527,8 @@ export interface components {
|
|
|
36523
36527
|
excerpt?: string;
|
|
36524
36528
|
/** @description Featured image object key (or absolute media URL — stored as key; responses return CDN delivery URL) */
|
|
36525
36529
|
featuredImageUrl?: string;
|
|
36530
|
+
/** @description Alt text for the featured image */
|
|
36531
|
+
featuredImageAlt?: string;
|
|
36526
36532
|
/** @description Schema-validated structured fields for the content type */
|
|
36527
36533
|
fields?: {
|
|
36528
36534
|
[key: string]: unknown;
|
|
@@ -36587,6 +36593,7 @@ export interface components {
|
|
|
36587
36593
|
title: string;
|
|
36588
36594
|
excerpt?: string | null;
|
|
36589
36595
|
featuredImageUrl?: string | null;
|
|
36596
|
+
featuredImageAlt?: string | null;
|
|
36590
36597
|
fields?: {
|
|
36591
36598
|
[key: string]: unknown;
|
|
36592
36599
|
};
|
|
@@ -36685,6 +36692,8 @@ export interface components {
|
|
|
36685
36692
|
excerpt?: string;
|
|
36686
36693
|
/** @description Featured image object key (or absolute media URL — stored as key; responses return CDN delivery URL) */
|
|
36687
36694
|
featuredImageUrl?: string;
|
|
36695
|
+
/** @description Alt text for the featured image */
|
|
36696
|
+
featuredImageAlt?: string;
|
|
36688
36697
|
/** @description Schema-validated structured fields for the content type */
|
|
36689
36698
|
fields?: {
|
|
36690
36699
|
[key: string]: unknown;
|
|
@@ -37301,6 +37310,9 @@ export interface components {
|
|
|
37301
37310
|
content: {
|
|
37302
37311
|
[key: string]: unknown;
|
|
37303
37312
|
};
|
|
37313
|
+
settings?: {
|
|
37314
|
+
[key: string]: unknown;
|
|
37315
|
+
};
|
|
37304
37316
|
sortOrder: number;
|
|
37305
37317
|
};
|
|
37306
37318
|
PublicContentCollectionRefDto: {
|
|
@@ -37314,6 +37326,7 @@ export interface components {
|
|
|
37314
37326
|
slug: string;
|
|
37315
37327
|
excerpt: string | null;
|
|
37316
37328
|
featuredImageUrl: string | null;
|
|
37329
|
+
featuredImageAlt: string | null;
|
|
37317
37330
|
/** @description Display byline: linked author name when set, else free-text author */
|
|
37318
37331
|
author: string | null;
|
|
37319
37332
|
authorProfile: components['schemas']['PublicAuthorProfileDto'] | null;
|
|
@@ -45645,6 +45658,36 @@ export interface operations {
|
|
|
45645
45658
|
};
|
|
45646
45659
|
};
|
|
45647
45660
|
};
|
|
45661
|
+
MyStoreMembershipsController_setMyDefaultStore: {
|
|
45662
|
+
parameters: {
|
|
45663
|
+
query?: never;
|
|
45664
|
+
header?: never;
|
|
45665
|
+
path: {
|
|
45666
|
+
/** @description Store ID */
|
|
45667
|
+
storeId: string;
|
|
45668
|
+
};
|
|
45669
|
+
cookie?: never;
|
|
45670
|
+
};
|
|
45671
|
+
requestBody?: never;
|
|
45672
|
+
responses: {
|
|
45673
|
+
/** @description Default store set successfully */
|
|
45674
|
+
200: {
|
|
45675
|
+
headers: {
|
|
45676
|
+
[name: string]: unknown;
|
|
45677
|
+
};
|
|
45678
|
+
content: {
|
|
45679
|
+
'application/json': components['schemas']['UserStoreMembershipDto'];
|
|
45680
|
+
};
|
|
45681
|
+
};
|
|
45682
|
+
/** @description Membership not found */
|
|
45683
|
+
404: {
|
|
45684
|
+
headers: {
|
|
45685
|
+
[name: string]: unknown;
|
|
45686
|
+
};
|
|
45687
|
+
content?: never;
|
|
45688
|
+
};
|
|
45689
|
+
};
|
|
45690
|
+
};
|
|
45648
45691
|
UserStoreMembershipController_getUserStoreMemberships: {
|
|
45649
45692
|
parameters: {
|
|
45650
45693
|
query?: {
|
|
@@ -53251,6 +53294,8 @@ export interface operations {
|
|
|
53251
53294
|
variantId?: string;
|
|
53252
53295
|
/** @description Filter by stock status */
|
|
53253
53296
|
status?: 'inStock' | 'lowStock' | 'outOfStock' | 'backorder';
|
|
53297
|
+
/** @description Search by variant SKU or product name (contains, any case) */
|
|
53298
|
+
search?: string;
|
|
53254
53299
|
/** @description Only return low stock items */
|
|
53255
53300
|
lowStockOnly?: boolean;
|
|
53256
53301
|
/** @description Comma-separated relations to include: variant, location */
|