@aimee.shop/sdk 0.36.0-dev.381 → 0.36.0-dev.385
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 -58
- 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/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
|
@@ -8471,7 +8471,7 @@ export interface paths {
|
|
|
8471
8471
|
put?: never;
|
|
8472
8472
|
/**
|
|
8473
8473
|
* Manually finalize platform invoices (system admin)
|
|
8474
|
-
* @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.
|
|
8475
8475
|
*/
|
|
8476
8476
|
post: operations['PlatformInvoicesController_finalize'];
|
|
8477
8477
|
delete?: never;
|
|
@@ -9010,7 +9010,7 @@ export interface paths {
|
|
|
9010
9010
|
head?: never;
|
|
9011
9011
|
/**
|
|
9012
9012
|
* Update fulfillment tracking info
|
|
9013
|
-
* @description
|
|
9013
|
+
* @description Replace the tracking entries (number, URL, carrier each) and update other shipping details
|
|
9014
9014
|
*/
|
|
9015
9015
|
patch: operations['FulfillmentsController_updateFulfillment'];
|
|
9016
9016
|
trace?: never;
|
|
@@ -32328,12 +32328,29 @@ export interface components {
|
|
|
32328
32328
|
/** @description Units in this package */
|
|
32329
32329
|
quantity: number;
|
|
32330
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
|
+
};
|
|
32331
32348
|
ErpFulfillmentDto: {
|
|
32332
32349
|
/** @description Provider fulfillment id; idempotency key */
|
|
32333
32350
|
erpFulfillmentId: string;
|
|
32334
32351
|
items: components['schemas']['ErpFulfillmentItemDto'][];
|
|
32335
|
-
|
|
32336
|
-
|
|
32352
|
+
/** @description Tracking numbers of this shipment, each with its carrier and URL */
|
|
32353
|
+
trackingEntries?: components['schemas']['TrackingEntryDto'][];
|
|
32337
32354
|
/** @description Provider ship timestamp (ISO date-time). Present = shipped, stored verbatim */
|
|
32338
32355
|
shippedAt?: string;
|
|
32339
32356
|
/** @description Aimee inventory location UUID */
|
|
@@ -32465,23 +32482,13 @@ export interface components {
|
|
|
32465
32482
|
updatedAt: string;
|
|
32466
32483
|
};
|
|
32467
32484
|
FulfillmentSummaryDto: {
|
|
32468
|
-
/**
|
|
32469
|
-
* @description Carrier name
|
|
32470
|
-
* @example UPS
|
|
32471
|
-
*/
|
|
32472
|
-
carrier?: string;
|
|
32473
32485
|
/**
|
|
32474
32486
|
* @description Service level
|
|
32475
32487
|
* @example Ground
|
|
32476
32488
|
*/
|
|
32477
32489
|
serviceLevel?: string;
|
|
32478
|
-
/**
|
|
32479
|
-
|
|
32480
|
-
* @example 1Z999AA1234567890
|
|
32481
|
-
*/
|
|
32482
|
-
trackingNumber?: string;
|
|
32483
|
-
/** @description Tracking URL */
|
|
32484
|
-
trackingUrl?: string;
|
|
32490
|
+
/** @description Tracking numbers of the shipment, in display order */
|
|
32491
|
+
trackingEntries: components['schemas']['TrackingEntryDto'][];
|
|
32485
32492
|
/**
|
|
32486
32493
|
* @description Fulfillment status
|
|
32487
32494
|
* @example shipped
|
|
@@ -32560,6 +32567,11 @@ export interface components {
|
|
|
32560
32567
|
* @example PO-2025-001
|
|
32561
32568
|
*/
|
|
32562
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;
|
|
32563
32575
|
/**
|
|
32564
32576
|
* @description Subscription ID (from payments service)
|
|
32565
32577
|
* @example sub_123e4567-e89b-12d3-a456-426614174000
|
|
@@ -32631,7 +32643,7 @@ export interface components {
|
|
|
32631
32643
|
*/
|
|
32632
32644
|
fulfillmentStatus?: 'unfulfilled' | 'processing' | 'partially_shipped' | 'shipped' | 'partially_delivered' | 'delivered';
|
|
32633
32645
|
/**
|
|
32634
|
-
* @description Tracking numbers
|
|
32646
|
+
* @description Tracking numbers of all fulfillments (flat list; see carrierInformation[].trackingEntries)
|
|
32635
32647
|
* @example [
|
|
32636
32648
|
* "1Z999AA1234567890"
|
|
32637
32649
|
* ]
|
|
@@ -33913,21 +33925,8 @@ export interface components {
|
|
|
33913
33925
|
orderId: string;
|
|
33914
33926
|
/** @description Items to include in this fulfillment */
|
|
33915
33927
|
items: components['schemas']['CreateFulfillmentItemDto'][];
|
|
33916
|
-
/**
|
|
33917
|
-
|
|
33918
|
-
* @example 1Z999AA10123456784
|
|
33919
|
-
*/
|
|
33920
|
-
trackingNumber?: string;
|
|
33921
|
-
/**
|
|
33922
|
-
* @description Tracking URL
|
|
33923
|
-
* @example https://www.ups.com/track?tracknum=1Z999AA10123456784
|
|
33924
|
-
*/
|
|
33925
|
-
trackingUrl?: string;
|
|
33926
|
-
/**
|
|
33927
|
-
* @description Shipping carrier name
|
|
33928
|
-
* @example UPS
|
|
33929
|
-
*/
|
|
33930
|
-
carrier?: string;
|
|
33928
|
+
/** @description Tracking numbers, each with its own carrier and URL */
|
|
33929
|
+
trackingEntries?: components['schemas']['TrackingEntryDto'][];
|
|
33931
33930
|
/**
|
|
33932
33931
|
* @description Service level (e.g., Ground, 2-Day, Overnight)
|
|
33933
33932
|
* @example Ground
|
|
@@ -33964,6 +33963,17 @@ export interface components {
|
|
|
33964
33963
|
/** Format: date-time */
|
|
33965
33964
|
createdAt: string;
|
|
33966
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
|
+
};
|
|
33967
33977
|
FulfillmentResponseDto: {
|
|
33968
33978
|
id: string;
|
|
33969
33979
|
orderId: string;
|
|
@@ -33972,9 +33982,6 @@ export interface components {
|
|
|
33972
33982
|
locationId: string | null;
|
|
33973
33983
|
/** @enum {string} */
|
|
33974
33984
|
status: 'PENDING' | 'SHIPPED' | 'IN_TRANSIT' | 'DELIVERED' | 'FAILED' | 'CANCELLED';
|
|
33975
|
-
trackingNumber: string | null;
|
|
33976
|
-
trackingUrl: string | null;
|
|
33977
|
-
carrier: string | null;
|
|
33978
33985
|
serviceLevel: string | null;
|
|
33979
33986
|
/** Format: date-time */
|
|
33980
33987
|
estimatedDeliveryDate: string | null;
|
|
@@ -33990,23 +33997,12 @@ export interface components {
|
|
|
33990
33997
|
/** Format: date-time */
|
|
33991
33998
|
updatedAt: string;
|
|
33992
33999
|
fulfillmentItems: components['schemas']['FulfillmentItemResponseDto'][];
|
|
34000
|
+
/** @description Tracking numbers, ordered by position */
|
|
34001
|
+
trackingEntries: components['schemas']['FulfillmentTrackingResponseDto'][];
|
|
33993
34002
|
};
|
|
33994
34003
|
UpdateFulfillmentDto: {
|
|
33995
|
-
/**
|
|
33996
|
-
|
|
33997
|
-
* @example 1Z999AA10123456784
|
|
33998
|
-
*/
|
|
33999
|
-
trackingNumber?: string;
|
|
34000
|
-
/**
|
|
34001
|
-
* @description Tracking URL
|
|
34002
|
-
* @example https://www.ups.com/track?tracknum=1Z999AA10123456784
|
|
34003
|
-
*/
|
|
34004
|
-
trackingUrl?: string;
|
|
34005
|
-
/**
|
|
34006
|
-
* @description Shipping carrier name
|
|
34007
|
-
* @example UPS
|
|
34008
|
-
*/
|
|
34009
|
-
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'][];
|
|
34010
34006
|
/**
|
|
34011
34007
|
* @description Service level (e.g., Ground, 2-Day, Overnight)
|
|
34012
34008
|
* @example Ground
|
|
@@ -35132,11 +35128,9 @@ export interface components {
|
|
|
35132
35128
|
* @enum {string}
|
|
35133
35129
|
*/
|
|
35134
35130
|
status: 'PENDING' | 'SHIPPED' | 'IN_TRANSIT' | 'DELIVERED' | 'FAILED' | 'CANCELLED';
|
|
35135
|
-
carrier?: string;
|
|
35136
35131
|
serviceLevel?: string;
|
|
35137
|
-
|
|
35138
|
-
|
|
35139
|
-
trackingUrl?: string;
|
|
35132
|
+
/** @description Tracking numbers of the shipment, in display order */
|
|
35133
|
+
trackingEntries: components['schemas']['TrackingEntryDto'][];
|
|
35140
35134
|
estimatedDeliveryDate?: string;
|
|
35141
35135
|
shippedAt?: string;
|
|
35142
35136
|
deliveredAt?: string;
|
|
@@ -35925,10 +35919,8 @@ export interface components {
|
|
|
35925
35919
|
OrderStatusTrackingDto: {
|
|
35926
35920
|
/** @example shipped */
|
|
35927
35921
|
status: string;
|
|
35928
|
-
/** @
|
|
35929
|
-
|
|
35930
|
-
trackingNumber?: string;
|
|
35931
|
-
trackingUrl?: string;
|
|
35922
|
+
/** @description Tracking numbers of the shipment, in display order */
|
|
35923
|
+
trackingEntries: components['schemas']['TrackingEntryDto'][];
|
|
35932
35924
|
shippedAt?: string;
|
|
35933
35925
|
deliveredAt?: string;
|
|
35934
35926
|
estimatedDeliveryDate?: string;
|
|
@@ -36535,6 +36527,8 @@ export interface components {
|
|
|
36535
36527
|
excerpt?: string;
|
|
36536
36528
|
/** @description Featured image object key (or absolute media URL — stored as key; responses return CDN delivery URL) */
|
|
36537
36529
|
featuredImageUrl?: string;
|
|
36530
|
+
/** @description Alt text for the featured image */
|
|
36531
|
+
featuredImageAlt?: string;
|
|
36538
36532
|
/** @description Schema-validated structured fields for the content type */
|
|
36539
36533
|
fields?: {
|
|
36540
36534
|
[key: string]: unknown;
|
|
@@ -36599,6 +36593,7 @@ export interface components {
|
|
|
36599
36593
|
title: string;
|
|
36600
36594
|
excerpt?: string | null;
|
|
36601
36595
|
featuredImageUrl?: string | null;
|
|
36596
|
+
featuredImageAlt?: string | null;
|
|
36602
36597
|
fields?: {
|
|
36603
36598
|
[key: string]: unknown;
|
|
36604
36599
|
};
|
|
@@ -36697,6 +36692,8 @@ export interface components {
|
|
|
36697
36692
|
excerpt?: string;
|
|
36698
36693
|
/** @description Featured image object key (or absolute media URL — stored as key; responses return CDN delivery URL) */
|
|
36699
36694
|
featuredImageUrl?: string;
|
|
36695
|
+
/** @description Alt text for the featured image */
|
|
36696
|
+
featuredImageAlt?: string;
|
|
36700
36697
|
/** @description Schema-validated structured fields for the content type */
|
|
36701
36698
|
fields?: {
|
|
36702
36699
|
[key: string]: unknown;
|
|
@@ -37329,6 +37326,7 @@ export interface components {
|
|
|
37329
37326
|
slug: string;
|
|
37330
37327
|
excerpt: string | null;
|
|
37331
37328
|
featuredImageUrl: string | null;
|
|
37329
|
+
featuredImageAlt: string | null;
|
|
37332
37330
|
/** @description Display byline: linked author name when set, else free-text author */
|
|
37333
37331
|
author: string | null;
|
|
37334
37332
|
authorProfile: components['schemas']['PublicAuthorProfileDto'] | null;
|