@aimee.shop/sdk 0.16.0 → 0.18.0-dev.114
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/core/errors/checkout-refusal.d.ts +4 -0
- package/dist/core/errors/checkout-refusal.d.ts.map +1 -1
- package/dist/core/errors/checkout-refusal.js +2 -0
- package/dist/core/errors/checkout-refusal.js.map +1 -1
- package/dist/core/events/event-names.d.ts +144 -147
- package/dist/core/events/event-names.d.ts.map +1 -1
- package/dist/core/events/event-names.js +143 -146
- package/dist/core/events/event-names.js.map +1 -1
- package/dist/index.d.ts +16 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/services/core/assets.client.d.ts +2 -8
- package/dist/services/core/assets.client.d.ts.map +1 -1
- package/dist/services/core/assets.client.js.map +1 -1
- package/dist/services/core/base-resource.d.ts +7 -2
- package/dist/services/core/base-resource.d.ts.map +1 -1
- package/dist/services/core/base-resource.js +27 -20
- package/dist/services/core/base-resource.js.map +1 -1
- package/dist/services/core/cart-messages/cart-messages.client.d.ts +14 -4
- package/dist/services/core/cart-messages/cart-messages.client.d.ts.map +1 -1
- package/dist/services/core/cart-messages/cart-messages.client.js +37 -4
- package/dist/services/core/cart-messages/cart-messages.client.js.map +1 -1
- package/dist/services/core/cart-messages/index.d.ts +1 -1
- package/dist/services/core/cart-messages/index.d.ts.map +1 -1
- package/dist/services/core/cart-messages/types.d.ts +17 -0
- package/dist/services/core/cart-messages/types.d.ts.map +1 -1
- package/dist/services/core/carts.client.d.ts +25 -4
- package/dist/services/core/carts.client.d.ts.map +1 -1
- package/dist/services/core/carts.client.js +18 -0
- package/dist/services/core/carts.client.js.map +1 -1
- package/dist/services/core/categories.client.d.ts +13 -7
- package/dist/services/core/categories.client.d.ts.map +1 -1
- package/dist/services/core/categories.client.js.map +1 -1
- package/dist/services/core/checkout.client.d.ts +74 -35
- package/dist/services/core/checkout.client.d.ts.map +1 -1
- package/dist/services/core/checkout.client.js +3 -2
- package/dist/services/core/checkout.client.js.map +1 -1
- package/dist/services/core/cms/cms.client.d.ts +1 -1
- package/dist/services/core/cms/cms.client.js +1 -1
- package/dist/services/core/cms/entries.client.d.ts +4 -2
- package/dist/services/core/cms/entries.client.d.ts.map +1 -1
- package/dist/services/core/cms/entries.client.js +8 -2
- package/dist/services/core/cms/entries.client.js.map +1 -1
- package/dist/services/core/cms/types.d.ts +95 -53
- 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/customers.client.d.ts +79 -62
- package/dist/services/core/customers.client.d.ts.map +1 -1
- package/dist/services/core/customers.client.js +27 -13
- package/dist/services/core/customers.client.js.map +1 -1
- package/dist/services/core/discounts.client.d.ts +187 -79
- package/dist/services/core/discounts.client.d.ts.map +1 -1
- package/dist/services/core/discounts.client.js +80 -43
- package/dist/services/core/discounts.client.js.map +1 -1
- package/dist/services/core/exports/types.d.ts +1 -1
- package/dist/services/core/exports/types.d.ts.map +1 -1
- package/dist/services/core/exports/types.js +1 -0
- package/dist/services/core/exports/types.js.map +1 -1
- package/dist/services/core/facets.client.d.ts +6 -4
- package/dist/services/core/facets.client.d.ts.map +1 -1
- package/dist/services/core/facets.client.js.map +1 -1
- package/dist/services/core/fulfillments.client.d.ts +51 -27
- package/dist/services/core/fulfillments.client.d.ts.map +1 -1
- package/dist/services/core/fulfillments.client.js +30 -18
- package/dist/services/core/fulfillments.client.js.map +1 -1
- package/dist/services/core/inventory/adjustments.client.d.ts +12 -2
- package/dist/services/core/inventory/adjustments.client.d.ts.map +1 -1
- package/dist/services/core/inventory/adjustments.client.js.map +1 -1
- package/dist/services/core/inventory/index.d.ts +1 -1
- package/dist/services/core/inventory/index.d.ts.map +1 -1
- package/dist/services/core/inventory/reservations.client.d.ts +3 -3
- package/dist/services/core/inventory/reservations.client.d.ts.map +1 -1
- package/dist/services/core/inventory/reservations.client.js +2 -2
- package/dist/services/core/inventory/reservations.client.js.map +1 -1
- package/dist/services/core/inventory/types.d.ts +29 -6
- package/dist/services/core/inventory/types.d.ts.map +1 -1
- package/dist/services/core/inventory/types.js +1 -0
- package/dist/services/core/inventory/types.js.map +1 -1
- package/dist/services/core/invoices.client.d.ts +1 -6
- package/dist/services/core/invoices.client.d.ts.map +1 -1
- package/dist/services/core/invoices.client.js +1 -1
- package/dist/services/core/invoices.client.js.map +1 -1
- package/dist/services/core/openai-feed.client.d.ts +34 -3
- package/dist/services/core/openai-feed.client.d.ts.map +1 -1
- package/dist/services/core/openai-feed.client.js.map +1 -1
- package/dist/services/core/option-types.client.d.ts +6 -7
- package/dist/services/core/option-types.client.d.ts.map +1 -1
- package/dist/services/core/option-types.client.js +7 -8
- package/dist/services/core/option-types.client.js.map +1 -1
- package/dist/services/core/option-values.client.d.ts +2 -1
- package/dist/services/core/option-values.client.d.ts.map +1 -1
- package/dist/services/core/option-values.client.js +2 -1
- package/dist/services/core/option-values.client.js.map +1 -1
- package/dist/services/core/order-edits.client.d.ts +5 -7
- package/dist/services/core/order-edits.client.d.ts.map +1 -1
- package/dist/services/core/order-edits.client.js +1 -1
- package/dist/services/core/order-edits.client.js.map +1 -1
- package/dist/services/core/orders.client.d.ts +120 -40
- package/dist/services/core/orders.client.d.ts.map +1 -1
- package/dist/services/core/orders.client.js +41 -10
- package/dist/services/core/orders.client.js.map +1 -1
- package/dist/services/core/pricing/currencies.client.d.ts +9 -23
- package/dist/services/core/pricing/currencies.client.d.ts.map +1 -1
- package/dist/services/core/pricing/currencies.client.js +12 -30
- package/dist/services/core/pricing/currencies.client.js.map +1 -1
- package/dist/services/core/pricing/pricing.client.d.ts +1 -1
- package/dist/services/core/pricing/pricing.client.d.ts.map +1 -1
- package/dist/services/core/pricing/pricing.client.js.map +1 -1
- package/dist/services/core/pricing/store-markets.client.d.ts +2 -5
- package/dist/services/core/pricing/store-markets.client.d.ts.map +1 -1
- package/dist/services/core/pricing/store-markets.client.js +1 -7
- package/dist/services/core/pricing/store-markets.client.js.map +1 -1
- package/dist/services/core/pricing/types.d.ts +41 -57
- package/dist/services/core/pricing/types.d.ts.map +1 -1
- package/dist/services/core/pricing/variant-prices.client.d.ts +2 -2
- package/dist/services/core/pricing/variant-prices.client.d.ts.map +1 -1
- package/dist/services/core/pricing/variant-prices.client.js +2 -6
- package/dist/services/core/pricing/variant-prices.client.js.map +1 -1
- package/dist/services/core/products.client.d.ts +71 -13
- package/dist/services/core/products.client.d.ts.map +1 -1
- package/dist/services/core/products.client.js.map +1 -1
- package/dist/services/core/returns.client.d.ts +21 -6
- package/dist/services/core/returns.client.d.ts.map +1 -1
- package/dist/services/core/returns.client.js +12 -6
- package/dist/services/core/returns.client.js.map +1 -1
- package/dist/services/core/reviews.client.d.ts +17 -15
- package/dist/services/core/reviews.client.d.ts.map +1 -1
- package/dist/services/core/reviews.client.js.map +1 -1
- package/dist/services/core/search.client.d.ts +26 -11
- package/dist/services/core/search.client.d.ts.map +1 -1
- package/dist/services/core/search.client.js.map +1 -1
- package/dist/services/core/shipping/classes.client.d.ts +2 -5
- package/dist/services/core/shipping/classes.client.d.ts.map +1 -1
- package/dist/services/core/shipping/classes.client.js +4 -0
- package/dist/services/core/shipping/classes.client.js.map +1 -1
- package/dist/services/core/shipping/labels.client.d.ts +3 -6
- package/dist/services/core/shipping/labels.client.d.ts.map +1 -1
- package/dist/services/core/shipping/labels.client.js +5 -1
- package/dist/services/core/shipping/labels.client.js.map +1 -1
- package/dist/services/core/shipping/providers.client.d.ts +2 -5
- package/dist/services/core/shipping/providers.client.d.ts.map +1 -1
- package/dist/services/core/shipping/providers.client.js +6 -2
- package/dist/services/core/shipping/providers.client.js.map +1 -1
- package/dist/services/core/shipping/rules.client.d.ts +2 -5
- package/dist/services/core/shipping/rules.client.d.ts.map +1 -1
- package/dist/services/core/shipping/rules.client.js +4 -2
- package/dist/services/core/shipping/rules.client.js.map +1 -1
- package/dist/services/core/shipping/shipping.client.d.ts +4 -4
- package/dist/services/core/shipping/shipping.client.d.ts.map +1 -1
- package/dist/services/core/shipping/shipping.client.js +7 -5
- package/dist/services/core/shipping/shipping.client.js.map +1 -1
- package/dist/services/core/shipping/store-providers.client.d.ts +5 -5
- package/dist/services/core/shipping/store-providers.client.d.ts.map +1 -1
- package/dist/services/core/shipping/store-providers.client.js +1 -1
- package/dist/services/core/shipping/store-providers.client.js.map +1 -1
- package/dist/services/core/shipping/types.d.ts +192 -65
- package/dist/services/core/shipping/types.d.ts.map +1 -1
- package/dist/services/core/shipping/zones.client.d.ts +2 -5
- package/dist/services/core/shipping/zones.client.d.ts.map +1 -1
- package/dist/services/core/shipping/zones.client.js +4 -0
- package/dist/services/core/shipping/zones.client.js.map +1 -1
- package/dist/services/core/storefront/index.d.ts +1 -1
- package/dist/services/core/storefront/index.d.ts.map +1 -1
- package/dist/services/core/storefront/index.js.map +1 -1
- package/dist/services/core/storefront/storefront-auth.client.d.ts +9 -4
- package/dist/services/core/storefront/storefront-auth.client.d.ts.map +1 -1
- package/dist/services/core/storefront/storefront-auth.client.js +7 -2
- package/dist/services/core/storefront/storefront-auth.client.js.map +1 -1
- package/dist/services/core/storefront/storefront-subscriptions.client.d.ts +3 -1
- package/dist/services/core/storefront/storefront-subscriptions.client.d.ts.map +1 -1
- package/dist/services/core/storefront/storefront-subscriptions.client.js.map +1 -1
- package/dist/services/core/storefront/storefront.client.d.ts +4 -1
- package/dist/services/core/storefront/storefront.client.d.ts.map +1 -1
- package/dist/services/core/storefront/storefront.client.js +4 -1
- package/dist/services/core/storefront/storefront.client.js.map +1 -1
- package/dist/services/core/storefront/types.d.ts +10 -0
- package/dist/services/core/storefront/types.d.ts.map +1 -1
- package/dist/services/core/stores/configuration.client.d.ts +21 -18
- package/dist/services/core/stores/configuration.client.d.ts.map +1 -1
- package/dist/services/core/stores/configuration.client.js.map +1 -1
- package/dist/services/core/stores/index.d.ts +1 -1
- package/dist/services/core/stores/index.d.ts.map +1 -1
- package/dist/services/core/stores/index.js.map +1 -1
- package/dist/services/core/stores/stores.client.d.ts +42 -14
- package/dist/services/core/stores/stores.client.d.ts.map +1 -1
- package/dist/services/core/stores/stores.client.js +9 -5
- package/dist/services/core/stores/stores.client.js.map +1 -1
- package/dist/services/core/taxes/jurisdictions.client.d.ts +4 -4
- package/dist/services/core/taxes/jurisdictions.client.d.ts.map +1 -1
- package/dist/services/core/taxes/jurisdictions.client.js +7 -4
- package/dist/services/core/taxes/jurisdictions.client.js.map +1 -1
- package/dist/services/core/taxes/providers.client.d.ts +1 -1
- package/dist/services/core/taxes/providers.client.d.ts.map +1 -1
- package/dist/services/core/taxes/providers.client.js.map +1 -1
- package/dist/services/core/taxes/store-providers.client.d.ts +5 -5
- package/dist/services/core/taxes/store-providers.client.d.ts.map +1 -1
- package/dist/services/core/taxes/store-providers.client.js +1 -1
- package/dist/services/core/taxes/store-providers.client.js.map +1 -1
- package/dist/services/core/taxes/taxes.client.d.ts +6 -3
- package/dist/services/core/taxes/taxes.client.d.ts.map +1 -1
- package/dist/services/core/taxes/taxes.client.js +5 -2
- package/dist/services/core/taxes/taxes.client.js.map +1 -1
- package/dist/services/core/taxes/types.d.ts +238 -131
- package/dist/services/core/taxes/types.d.ts.map +1 -1
- package/dist/services/core/variants.client.d.ts +72 -9
- package/dist/services/core/variants.client.d.ts.map +1 -1
- package/dist/services/core/variants.client.js.map +1 -1
- package/dist/services/core/wishlists.client.d.ts +31 -25
- package/dist/services/core/wishlists.client.d.ts.map +1 -1
- package/dist/services/core/wishlists.client.js +4 -2
- package/dist/services/core/wishlists.client.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai-feed.client.d.ts","sourceRoot":"","sources":["../../../../../src/services/core/openai-feed.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,IAAI,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAMnF,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,
|
|
1
|
+
{"version":3,"file":"openai-feed.client.d.ts","sourceRoot":"","sources":["../../../../../src/services/core/openai-feed.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,IAAI,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAMnF,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,UAAU,GAAG,cAAc,GAAG,UAAU,CAAC;IACvD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,KAAK,GAAG,aAAa,GAAG,MAAM,CAAC;IAC3C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,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CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE;QACP,YAAY,EAAE,MAAM,CAAC;QACrB,cAAc,EAAE,MAAM,CAAC;QACvB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;CACH;AAID;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,gBAAgB;IAEzB,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBADP,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,MAAM;IAGlC;;OAEG;IACG,OAAO,CAAC,OAAO,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAYvE;;OAEG;IACG,WAAW,IAAI,OAAO,CAAC,kBAAkB,CAAC;IAIhD;;OAEG;IACG,aAAa,IAAI,OAAO,CAAC,gBAAgB,CAAC;IAOhD;;OAEG;IACG,cAAc,IAAI,OAAO,CAAC,iBAAiB,CAAC;CAMnD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai-feed.client.js","sourceRoot":"","sources":["../../../../../src/services/core/openai-feed.client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"openai-feed.client.js","sourceRoot":"","sources":["../../../../../src/services/core/openai-feed.client.ts"],"names":[],"mappings":"AA6FA,mDAAmD;AAEnD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,OAAO,gBAAgB;IAER;IACA;IAFnB,YACmB,IAAgB,EAChB,OAAe;QADf,SAAI,GAAJ,IAAI,CAAY;QAChB,YAAO,GAAP,OAAO,CAAQ;IAC/B,CAAC;IAEJ;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,OAA2B;QACvC,MAAM,MAAM,GAA8C,EAAE,CAAC;QAC7D,IAAI,OAAO,EAAE,IAAI,KAAK,SAAS;YAAE,MAAM,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QAC5D,IAAI,OAAO,EAAE,KAAK,KAAK,SAAS;YAAE,MAAM,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAC/D,IAAI,OAAO,EAAE,WAAW,KAAK,SAAS;YAAE,MAAM,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;QACjF,IAAI,OAAO,EAAE,YAAY,KAAK,SAAS;YAAE,MAAM,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QAEpF,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAqB,GAAG,IAAI,CAAC,OAAO,0BAA0B,EAAE;YAClF,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;SAC5D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW;QACf,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAqB,GAAG,IAAI,CAAC,OAAO,mCAAmC,CAAC,CAAC;IAC/F,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,aAAa;QACjB,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CACnB,GAAG,IAAI,CAAC,OAAO,oCAAoC,EACnD,EAAE,CACH,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,cAAc;QAClB,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CACnB,GAAG,IAAI,CAAC,OAAO,qCAAqC,EACpD,EAAE,CACH,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -7,7 +7,7 @@ export interface ProductOptionValue {
|
|
|
7
7
|
optionTypeId: string;
|
|
8
8
|
value: string;
|
|
9
9
|
sortOrder: number;
|
|
10
|
-
metadata
|
|
10
|
+
metadata: Record<string, unknown> | null;
|
|
11
11
|
createdAt: string;
|
|
12
12
|
updatedAt: string;
|
|
13
13
|
}
|
|
@@ -70,12 +70,12 @@ export interface UpdateProductOptionTypeDto {
|
|
|
70
70
|
* });
|
|
71
71
|
*
|
|
72
72
|
* // Update an option type
|
|
73
|
-
* await sdk.products.optionTypes.update(
|
|
73
|
+
* await sdk.products.optionTypes.update(colorOption.id, {
|
|
74
74
|
* name: 'Primary Color',
|
|
75
75
|
* });
|
|
76
76
|
*
|
|
77
77
|
* // Delete an option type (cascades to values)
|
|
78
|
-
* await sdk.products.optionTypes.delete(
|
|
78
|
+
* await sdk.products.optionTypes.delete(colorOption.id);
|
|
79
79
|
* ```
|
|
80
80
|
*/
|
|
81
81
|
export declare class ProductOptionTypesClient {
|
|
@@ -100,20 +100,19 @@ export declare class ProductOptionTypesClient {
|
|
|
100
100
|
/**
|
|
101
101
|
* Update an option type
|
|
102
102
|
*
|
|
103
|
-
* @param productId - Product UUID
|
|
104
103
|
* @param optionTypeId - Option type UUID
|
|
105
104
|
* @param data - Fields to update
|
|
106
105
|
* @returns Updated option type
|
|
107
106
|
*/
|
|
108
|
-
update(
|
|
107
|
+
update(optionTypeId: string, data: UpdateProductOptionTypeDto): Promise<ProductOptionType>;
|
|
109
108
|
/**
|
|
110
109
|
* Delete an option type
|
|
111
110
|
*
|
|
112
111
|
* Cascades to delete all associated values.
|
|
113
112
|
*
|
|
114
|
-
* @param productId - Product UUID
|
|
115
113
|
* @param optionTypeId - Option type UUID
|
|
114
|
+
* @returns The deleted option type
|
|
116
115
|
*/
|
|
117
|
-
delete(
|
|
116
|
+
delete(optionTypeId: string): Promise<ProductOptionType>;
|
|
118
117
|
}
|
|
119
118
|
//# sourceMappingURL=option-types.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option-types.client.d.ts","sourceRoot":"","sources":["../../../../../src/services/core/option-types.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,IAAI,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAInF;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,
|
|
1
|
+
{"version":3,"file":"option-types.client.d.ts","sourceRoot":"","sources":["../../../../../src/services/core/option-types.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,IAAI,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAInF;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,0BAA0B,EAAE,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAID;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,qBAAa,wBAAwB;IAEjC,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBADP,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,MAAM;IAGlC;;;;;OAKG;IACG,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAM3D;;;;;;OAMG;IACG,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,0BAA0B,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAO7F;;;;;;OAMG;IACG,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,0BAA0B,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAOhG;;;;;;;OAOG;IACG,MAAM,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAG/D"}
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
* });
|
|
22
22
|
*
|
|
23
23
|
* // Update an option type
|
|
24
|
-
* await sdk.products.optionTypes.update(
|
|
24
|
+
* await sdk.products.optionTypes.update(colorOption.id, {
|
|
25
25
|
* name: 'Primary Color',
|
|
26
26
|
* });
|
|
27
27
|
*
|
|
28
28
|
* // Delete an option type (cascades to values)
|
|
29
|
-
* await sdk.products.optionTypes.delete(
|
|
29
|
+
* await sdk.products.optionTypes.delete(colorOption.id);
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
32
|
export class ProductOptionTypesClient {
|
|
@@ -58,24 +58,23 @@ export class ProductOptionTypesClient {
|
|
|
58
58
|
/**
|
|
59
59
|
* Update an option type
|
|
60
60
|
*
|
|
61
|
-
* @param productId - Product UUID
|
|
62
61
|
* @param optionTypeId - Option type UUID
|
|
63
62
|
* @param data - Fields to update
|
|
64
63
|
* @returns Updated option type
|
|
65
64
|
*/
|
|
66
|
-
async update(
|
|
67
|
-
return this.http.patch(`${this.baseUrl}/v1/
|
|
65
|
+
async update(optionTypeId, data) {
|
|
66
|
+
return this.http.patch(`${this.baseUrl}/v1/option-types/${optionTypeId}`, data);
|
|
68
67
|
}
|
|
69
68
|
/**
|
|
70
69
|
* Delete an option type
|
|
71
70
|
*
|
|
72
71
|
* Cascades to delete all associated values.
|
|
73
72
|
*
|
|
74
|
-
* @param productId - Product UUID
|
|
75
73
|
* @param optionTypeId - Option type UUID
|
|
74
|
+
* @returns The deleted option type
|
|
76
75
|
*/
|
|
77
|
-
async delete(
|
|
78
|
-
|
|
76
|
+
async delete(optionTypeId) {
|
|
77
|
+
return this.http.delete(`${this.baseUrl}/v1/option-types/${optionTypeId}`);
|
|
79
78
|
}
|
|
80
79
|
}
|
|
81
80
|
//# sourceMappingURL=option-types.client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option-types.client.js","sourceRoot":"","sources":["../../../../../src/services/core/option-types.client.ts"],"names":[],"mappings":"AA0DA,mDAAmD;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,OAAO,wBAAwB;IAEhB;IACA;IAFnB,YACmB,IAAgB,EAChB,OAAe;QADf,SAAI,GAAJ,IAAI,CAAY;QAChB,YAAO,GAAP,OAAO,CAAQ;IAC/B,CAAC;IAEJ;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CAAC,SAAiB;QAC1B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAClB,GAAG,IAAI,CAAC,OAAO,gBAAgB,SAAS,eAAe,CACxD,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CAAC,SAAiB,EAAE,IAAgC;QAC9D,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CACnB,GAAG,IAAI,CAAC,OAAO,gBAAgB,SAAS,eAAe,EACvD,IAAI,CACL,CAAC;IACJ,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"option-types.client.js","sourceRoot":"","sources":["../../../../../src/services/core/option-types.client.ts"],"names":[],"mappings":"AA0DA,mDAAmD;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,OAAO,wBAAwB;IAEhB;IACA;IAFnB,YACmB,IAAgB,EAChB,OAAe;QADf,SAAI,GAAJ,IAAI,CAAY;QAChB,YAAO,GAAP,OAAO,CAAQ;IAC/B,CAAC;IAEJ;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CAAC,SAAiB;QAC1B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAClB,GAAG,IAAI,CAAC,OAAO,gBAAgB,SAAS,eAAe,CACxD,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CAAC,SAAiB,EAAE,IAAgC;QAC9D,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CACnB,GAAG,IAAI,CAAC,OAAO,gBAAgB,SAAS,eAAe,EACvD,IAAI,CACL,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CAAC,YAAoB,EAAE,IAAgC;QACjE,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CACpB,GAAG,IAAI,CAAC,OAAO,oBAAoB,YAAY,EAAE,EACjD,IAAI,CACL,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CAAC,YAAoB;QAC/B,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAoB,GAAG,IAAI,CAAC,OAAO,oBAAoB,YAAY,EAAE,CAAC,CAAC;IAChG,CAAC;CACF"}
|
|
@@ -66,7 +66,8 @@ export declare class OptionValuesClient {
|
|
|
66
66
|
* Removes the value and any variant-option links.
|
|
67
67
|
*
|
|
68
68
|
* @param valueId - Option value UUID
|
|
69
|
+
* @returns The deleted option value
|
|
69
70
|
*/
|
|
70
|
-
delete(valueId: string): Promise<
|
|
71
|
+
delete(valueId: string): Promise<ProductOptionValue>;
|
|
71
72
|
}
|
|
72
73
|
//# sourceMappingURL=option-values.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option-values.client.d.ts","sourceRoot":"","sources":["../../../../../src/services/core/option-values.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,IAAI,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAInE;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAID;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,qBAAa,kBAAkB;IAE3B,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBADP,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,MAAM;IAGlC;;;;;;OAMG;IACG,MAAM,CACV,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,2BAA2B,GAChC,OAAO,CAAC,kBAAkB,CAAC;IAO9B;;;;;;OAMG;IACG,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,2BAA2B,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAI7F
|
|
1
|
+
{"version":3,"file":"option-values.client.d.ts","sourceRoot":"","sources":["../../../../../src/services/core/option-values.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,IAAI,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAInE;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAID;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,qBAAa,kBAAkB;IAE3B,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBADP,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,MAAM;IAGlC;;;;;;OAMG;IACG,MAAM,CACV,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,2BAA2B,GAChC,OAAO,CAAC,kBAAkB,CAAC;IAO9B;;;;;;OAMG;IACG,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,2BAA2B,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAI7F;;;;;;;OAOG;IACG,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAG3D"}
|
|
@@ -56,9 +56,10 @@ export class OptionValuesClient {
|
|
|
56
56
|
* Removes the value and any variant-option links.
|
|
57
57
|
*
|
|
58
58
|
* @param valueId - Option value UUID
|
|
59
|
+
* @returns The deleted option value
|
|
59
60
|
*/
|
|
60
61
|
async delete(valueId) {
|
|
61
|
-
|
|
62
|
+
return this.http.delete(`${this.baseUrl}/v1/option-values/${valueId}`);
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
//# sourceMappingURL=option-values.client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option-values.client.js","sourceRoot":"","sources":["../../../../../src/services/core/option-values.client.ts"],"names":[],"mappings":"AAuBA,mDAAmD;AAEnD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,OAAO,kBAAkB;IAEV;IACA;IAFnB,YACmB,IAAgB,EAChB,OAAe;QADf,SAAI,GAAJ,IAAI,CAAY;QAChB,YAAO,GAAP,OAAO,CAAQ;IAC/B,CAAC;IAEJ;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CACV,YAAoB,EACpB,IAAiC;QAEjC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CACnB,GAAG,IAAI,CAAC,OAAO,oBAAoB,YAAY,SAAS,EACxD,IAAI,CACL,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,IAAiC;QAC7D,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAqB,GAAG,IAAI,CAAC,OAAO,qBAAqB,OAAO,EAAE,EAAE,IAAI,CAAC,CAAC;IAClG,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"option-values.client.js","sourceRoot":"","sources":["../../../../../src/services/core/option-values.client.ts"],"names":[],"mappings":"AAuBA,mDAAmD;AAEnD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,OAAO,kBAAkB;IAEV;IACA;IAFnB,YACmB,IAAgB,EAChB,OAAe;QADf,SAAI,GAAJ,IAAI,CAAY;QAChB,YAAO,GAAP,OAAO,CAAQ;IAC/B,CAAC;IAEJ;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CACV,YAAoB,EACpB,IAAiC;QAEjC,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CACnB,GAAG,IAAI,CAAC,OAAO,oBAAoB,YAAY,SAAS,EACxD,IAAI,CACL,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,IAAiC;QAC7D,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAqB,GAAG,IAAI,CAAC,OAAO,qBAAqB,OAAO,EAAE,EAAE,IAAI,CAAC,CAAC;IAClG,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CAAC,OAAe;QAC1B,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAqB,GAAG,IAAI,CAAC,OAAO,qBAAqB,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;CACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { HttpClientTransport as HttpClient } from '../../core/http-client.js';
|
|
2
2
|
export type OrderEditStatus = 'PENDING' | 'CONFIRMED' | 'CANCELLED';
|
|
3
|
-
export type OrderEditActionType = 'ITEM_UPDATE' | 'ITEM_ADD' | 'ITEM_REMOVE'
|
|
3
|
+
export type OrderEditActionType = 'ITEM_UPDATE' | 'ITEM_ADD' | 'ITEM_REMOVE';
|
|
4
4
|
export interface OrderEditAction {
|
|
5
5
|
id: string;
|
|
6
6
|
actionType: OrderEditActionType;
|
|
@@ -10,8 +10,6 @@ export interface OrderEditAction {
|
|
|
10
10
|
newQuantity?: number | null;
|
|
11
11
|
originalUnitPrice?: number | null;
|
|
12
12
|
newUnitPrice?: number | null;
|
|
13
|
-
customTitle?: string | null;
|
|
14
|
-
customPrice?: number | null;
|
|
15
13
|
createdAt: string;
|
|
16
14
|
}
|
|
17
15
|
export interface OrderEdit {
|
|
@@ -67,19 +65,19 @@ export declare class OrderEditsClient {
|
|
|
67
65
|
/**
|
|
68
66
|
* Cancel a pending edit session.
|
|
69
67
|
*/
|
|
70
|
-
cancel(orderId: string, editId: string): Promise<
|
|
68
|
+
cancel(orderId: string, editId: string): Promise<OrderEdit>;
|
|
71
69
|
/**
|
|
72
70
|
* Update the quantity of a line item within a pending edit.
|
|
73
71
|
*/
|
|
74
|
-
updateItem(orderId: string, editId: string, data: OrderEditUpdateItemDto): Promise<
|
|
72
|
+
updateItem(orderId: string, editId: string, data: OrderEditUpdateItemDto): Promise<OrderEditAction>;
|
|
75
73
|
/**
|
|
76
74
|
* Remove a line item within a pending edit.
|
|
77
75
|
*/
|
|
78
|
-
removeItem(orderId: string, editId: string, data: OrderEditRemoveItemDto): Promise<
|
|
76
|
+
removeItem(orderId: string, editId: string, data: OrderEditRemoveItemDto): Promise<OrderEditAction>;
|
|
79
77
|
/**
|
|
80
78
|
* Add a new line item within a pending edit.
|
|
81
79
|
*/
|
|
82
|
-
addItem(orderId: string, editId: string, data: OrderEditAddItemDto): Promise<
|
|
80
|
+
addItem(orderId: string, editId: string, data: OrderEditAddItemDto): Promise<OrderEditAction>;
|
|
83
81
|
/**
|
|
84
82
|
* Confirm and commit a pending edit, applying all actions to the order.
|
|
85
83
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order-edits.client.d.ts","sourceRoot":"","sources":["../../../../../src/services/core/order-edits.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,IAAI,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAInF,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,CAAC;AAEpE,MAAM,MAAM,mBAAmB,GAAG,aAAa,GAAG,UAAU,GAAG,aAAa,
|
|
1
|
+
{"version":3,"file":"order-edits.client.d.ts","sourceRoot":"","sources":["../../../../../src/services/core/order-edits.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,IAAI,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAInF,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,WAAW,GA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EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC;CAGnE"}
|
|
@@ -32,7 +32,7 @@ export class OrderEditsClient {
|
|
|
32
32
|
* Cancel a pending edit session.
|
|
33
33
|
*/
|
|
34
34
|
async cancel(orderId, editId) {
|
|
35
|
-
|
|
35
|
+
return this.http.delete(`${this.editsUrl(orderId)}/${editId}`);
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Update the quantity of a line item within a pending edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order-edits.client.js","sourceRoot":"","sources":["../../../../../src/services/core/order-edits.client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"order-edits.client.js","sourceRoot":"","sources":["../../../../../src/services/core/order-edits.client.ts"],"names":[],"mappings":"AAyDA,mDAAmD;AAEnD,MAAM,OAAO,gBAAgB;IACV,IAAI,CAAa;IACjB,OAAO,CAAS;IAEjC,YAAY,UAAsB,EAAE,OAAe;QACjD,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAEO,QAAQ,CAAC,OAAe;QAC9B,OAAO,GAAG,IAAI,CAAC,OAAO,cAAc,OAAO,QAAQ,CAAC;IACtD,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,KAAK,CAAC,OAAe,EAAE,IAAyB;QACpD,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAY,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAI,CAAC,OAAe;QACxB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAc,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,GAAG,CAAC,OAAe,EAAE,MAAc;QACvC,O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Transport as HttpClient } from '../../core/http-client.js';
|
|
2
2
|
import type { AddressSnapshot } from '../../core/types/address.js';
|
|
3
|
-
import type {
|
|
4
|
-
import { BaseResourceClient } from './base-resource.js';
|
|
3
|
+
import type { ListOptions } from '../../core/types/pagination.js';
|
|
5
4
|
import { OrderEditsClient } from './order-edits.client.js';
|
|
6
5
|
import { FulfillmentsClient } from './fulfillments.client.js';
|
|
7
6
|
import { InvoicesClient } from './invoices.client.js';
|
|
8
7
|
export type OrderStatus = 'pending' | 'confirmed' | 'processing' | 'partially_shipped' | 'shipped' | 'delivered' | 'completed' | 'cancelled' | 'refunded';
|
|
9
8
|
export type OrderWorkflowState = 'created' | 'paymentPending' | 'paymentConfirmed' | 'inventoryAllocated' | 'fulfillmentPending' | 'fulfillmentProcessing' | 'shipped' | 'delivered' | 'cancelled' | 'refunded' | 'completed';
|
|
10
|
-
export type OrderSource = 'checkout' | '
|
|
9
|
+
export type OrderSource = 'checkout' | 'api' | 'admin' | 'erp' | 'subscription';
|
|
10
|
+
export type OrderPaymentStatus = 'pending' | 'authorized' | 'captured' | 'failed' | 'refunded' | 'partially_refunded';
|
|
11
|
+
export type OrderFulfillmentStatus = 'unfulfilled' | 'processing' | 'partially_shipped' | 'shipped' | 'partially_delivered' | 'delivered';
|
|
12
|
+
/** Per-fulfillment carrier summary derived from the order's fulfillments. */
|
|
13
|
+
export interface OrderCarrierInformation {
|
|
14
|
+
carrier?: string;
|
|
15
|
+
serviceLevel?: string;
|
|
16
|
+
trackingNumber?: string;
|
|
17
|
+
trackingUrl?: string;
|
|
18
|
+
status: string;
|
|
19
|
+
shippedAt?: string;
|
|
20
|
+
deliveredAt?: string;
|
|
21
|
+
}
|
|
11
22
|
export interface OrderStatusHistoryEntry {
|
|
12
23
|
previousStatus?: OrderStatus;
|
|
13
24
|
newStatus: OrderStatus;
|
|
@@ -20,9 +31,13 @@ export interface OrderStatusHistoryEntry {
|
|
|
20
31
|
}
|
|
21
32
|
export interface Order {
|
|
22
33
|
id: string;
|
|
34
|
+
tenantId: string;
|
|
35
|
+
storeId: string;
|
|
23
36
|
customerId: string;
|
|
24
37
|
organizationId?: string;
|
|
38
|
+
email?: string | null;
|
|
25
39
|
purchaseOrderNumber?: string;
|
|
40
|
+
orderNumber: string;
|
|
26
41
|
status: OrderStatus;
|
|
27
42
|
workflowState: OrderWorkflowState;
|
|
28
43
|
totalAmount: number;
|
|
@@ -31,12 +46,23 @@ export interface Order {
|
|
|
31
46
|
shippingAmount: number;
|
|
32
47
|
discountAmount: number;
|
|
33
48
|
orderItems: OrderItem[];
|
|
49
|
+
paymentId?: string | null;
|
|
34
50
|
paymentIntentId?: string;
|
|
51
|
+
paymentMethodId?: string | null;
|
|
35
52
|
paymentStatus?: string;
|
|
53
|
+
paymentCapturedAt?: string | null;
|
|
54
|
+
paymentCurrency?: string | null;
|
|
55
|
+
refundStatus?: string | null;
|
|
36
56
|
fulfillmentStatus?: string;
|
|
57
|
+
/** Derived from fulfillments; present only when the order has tracked fulfillments. */
|
|
37
58
|
trackingNumbers?: string[];
|
|
59
|
+
/** Derived from fulfillments; present only when the order has fulfillments. */
|
|
60
|
+
carrierInformation?: OrderCarrierInformation[];
|
|
38
61
|
estimatedDeliveryDate?: string;
|
|
62
|
+
actualDeliveryDate?: string | null;
|
|
39
63
|
erpOrderId?: string;
|
|
64
|
+
checkoutSessionId?: string | null;
|
|
65
|
+
cartId?: string | null;
|
|
40
66
|
shippingAddress?: AddressSnapshot;
|
|
41
67
|
billingAddress?: AddressSnapshot;
|
|
42
68
|
shippingMethod?: string;
|
|
@@ -64,44 +90,39 @@ export interface Order {
|
|
|
64
90
|
exchangeRatesAt?: string | null;
|
|
65
91
|
metadata?: Record<string, unknown>;
|
|
66
92
|
version: number;
|
|
67
|
-
|
|
93
|
+
/** Present on list responses only. */
|
|
68
94
|
returnsCount?: number;
|
|
69
|
-
|
|
95
|
+
/** Declared in the API schema but not populated by order responses; use getTimeline(). */
|
|
96
|
+
statusHistory?: OrderStatusHistoryEntry[];
|
|
70
97
|
allowedTransitions?: string[];
|
|
71
98
|
allowedActions?: string[];
|
|
72
99
|
subscriptionId?: string;
|
|
73
100
|
source?: OrderSource;
|
|
74
|
-
orderNumber?: string;
|
|
75
101
|
createdAt: string;
|
|
76
102
|
updatedAt: string;
|
|
77
103
|
}
|
|
78
104
|
export interface OrderItem {
|
|
79
105
|
id: string;
|
|
106
|
+
orderId: string;
|
|
80
107
|
productId: string;
|
|
81
108
|
productVariantId?: string;
|
|
82
109
|
productName: string;
|
|
83
110
|
productSku?: string;
|
|
111
|
+
productSlug?: string | null;
|
|
84
112
|
unitPrice: number;
|
|
85
113
|
quantity: number;
|
|
86
114
|
totalPrice: number;
|
|
87
115
|
discountAmount: number;
|
|
88
116
|
taxAmount: number;
|
|
89
117
|
fulfillmentStatus: string;
|
|
90
|
-
|
|
91
|
-
|
|
118
|
+
/** Decimal serialized as a string. */
|
|
119
|
+
weight?: string | null;
|
|
120
|
+
weightUnit?: string | null;
|
|
121
|
+
metadata?: Record<string, unknown>;
|
|
122
|
+
productMetadata?: Record<string, unknown>;
|
|
92
123
|
createdAt: string;
|
|
93
124
|
updatedAt: string;
|
|
94
125
|
}
|
|
95
|
-
export interface CreateOrderDto {
|
|
96
|
-
customerId: string;
|
|
97
|
-
items: {
|
|
98
|
-
productId: string;
|
|
99
|
-
variantId?: string;
|
|
100
|
-
quantity: number;
|
|
101
|
-
}[];
|
|
102
|
-
shippingMethodId?: string;
|
|
103
|
-
discountCodes?: string[];
|
|
104
|
-
}
|
|
105
126
|
export interface UpdateOrderDto {
|
|
106
127
|
organizationId?: string;
|
|
107
128
|
purchaseOrderNumber?: string;
|
|
@@ -110,11 +131,9 @@ export interface UpdateOrderDto {
|
|
|
110
131
|
workflowState?: OrderWorkflowState;
|
|
111
132
|
statusChangeReason?: string;
|
|
112
133
|
changedBy?: string;
|
|
113
|
-
trackingNumbers?: string[];
|
|
114
|
-
fulfillmentLocations?: string[];
|
|
115
134
|
erpOrderId?: string;
|
|
116
|
-
paymentStatus?:
|
|
117
|
-
fulfillmentStatus?:
|
|
135
|
+
paymentStatus?: OrderPaymentStatus;
|
|
136
|
+
fulfillmentStatus?: OrderFulfillmentStatus;
|
|
118
137
|
estimatedDeliveryDate?: string;
|
|
119
138
|
shippingAddress?: AddressSnapshot;
|
|
120
139
|
billingAddress?: AddressSnapshot;
|
|
@@ -123,8 +142,8 @@ export interface UpdateOrderDto {
|
|
|
123
142
|
export interface OrderFilters extends Record<string, unknown> {
|
|
124
143
|
status?: OrderStatus;
|
|
125
144
|
workflowState?: OrderWorkflowState;
|
|
126
|
-
paymentStatus?:
|
|
127
|
-
fulfillmentStatus?:
|
|
145
|
+
paymentStatus?: OrderPaymentStatus;
|
|
146
|
+
fulfillmentStatus?: OrderFulfillmentStatus;
|
|
128
147
|
customerId?: string;
|
|
129
148
|
totalMin?: number;
|
|
130
149
|
totalMax?: number;
|
|
@@ -138,7 +157,7 @@ export interface OrderTransitionDto {
|
|
|
138
157
|
newStatus: OrderStatus;
|
|
139
158
|
newWorkflowState?: OrderWorkflowState;
|
|
140
159
|
reason?: string;
|
|
141
|
-
metadata?: Record<string,
|
|
160
|
+
metadata?: Record<string, string | number | boolean>;
|
|
142
161
|
}
|
|
143
162
|
export type NoteVisibility = 'internal' | 'customer';
|
|
144
163
|
export interface OrderNote {
|
|
@@ -158,25 +177,64 @@ export interface AddOrderNoteDto {
|
|
|
158
177
|
export interface OrderTimeline {
|
|
159
178
|
events: OrderTimelineEvent[];
|
|
160
179
|
}
|
|
180
|
+
export type OrderTimelineEventType = 'status_change' | 'modification' | 'payment' | 'shipping' | 'note';
|
|
161
181
|
export interface OrderTimelineEvent {
|
|
162
182
|
id: string;
|
|
163
|
-
type:
|
|
183
|
+
type: OrderTimelineEventType;
|
|
164
184
|
description: string;
|
|
165
185
|
createdAt: string;
|
|
166
186
|
createdBy?: string;
|
|
187
|
+
metadata?: Record<string, unknown>;
|
|
188
|
+
}
|
|
189
|
+
/** Response of GET /v1/orders (orders use `pagination`, not `meta`). */
|
|
190
|
+
export interface OrderListResponse {
|
|
191
|
+
data: Order[];
|
|
192
|
+
pagination: {
|
|
193
|
+
page: number;
|
|
194
|
+
limit: number;
|
|
195
|
+
total: number;
|
|
196
|
+
pages: number;
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
export interface CancelOrderDto {
|
|
200
|
+
reason: string;
|
|
201
|
+
refundAmount?: number;
|
|
202
|
+
refundMethod?: string;
|
|
203
|
+
}
|
|
204
|
+
export interface ShipOrderDto {
|
|
205
|
+
/** At least one tracking number is required. */
|
|
206
|
+
trackingNumbers: string[];
|
|
207
|
+
carrierInformation?: Record<string, string | number>;
|
|
208
|
+
estimatedDeliveryDate?: string;
|
|
209
|
+
}
|
|
210
|
+
export interface DeliverOrderDto {
|
|
211
|
+
/** Defaults to now. */
|
|
212
|
+
actualDeliveryDate?: string;
|
|
213
|
+
deliveryNotes?: string;
|
|
167
214
|
}
|
|
168
215
|
export interface UpdateFulfillmentDto {
|
|
169
|
-
fulfillmentStatus: 'pending' | '
|
|
216
|
+
fulfillmentStatus: 'pending' | 'shipped' | 'delivered' | 'cancelled';
|
|
170
217
|
trackingNumbers?: string[];
|
|
171
|
-
carrierInformation?: Record<string,
|
|
218
|
+
carrierInformation?: Record<string, string | number>;
|
|
172
219
|
estimatedDeliveryDate?: string;
|
|
173
|
-
fulfillmentLocations?: string[];
|
|
174
220
|
erpOrderId?: string;
|
|
175
221
|
}
|
|
176
222
|
export interface ForceOrderStatusDto {
|
|
177
223
|
status: OrderStatus;
|
|
178
224
|
reason: string;
|
|
179
225
|
}
|
|
226
|
+
export interface ErpFulfillmentSyncItem {
|
|
227
|
+
orderItemId: string;
|
|
228
|
+
quantity: number;
|
|
229
|
+
}
|
|
230
|
+
export interface ErpFulfillmentSync {
|
|
231
|
+
erpFulfillmentId: string;
|
|
232
|
+
items: ErpFulfillmentSyncItem[];
|
|
233
|
+
trackingNumber?: string;
|
|
234
|
+
carrier?: string;
|
|
235
|
+
shippedAt?: string;
|
|
236
|
+
locationId?: string;
|
|
237
|
+
}
|
|
180
238
|
export interface ErpOrderProviderIds {
|
|
181
239
|
internalId?: string;
|
|
182
240
|
externalId?: string;
|
|
@@ -201,6 +259,7 @@ export interface ErpOrderSyncDto {
|
|
|
201
259
|
status?: string;
|
|
202
260
|
trackingNumbers?: string[];
|
|
203
261
|
estimatedDeliveryDate?: string;
|
|
262
|
+
fulfillments?: ErpFulfillmentSync[];
|
|
204
263
|
lastModified?: string;
|
|
205
264
|
customerInternalId?: string;
|
|
206
265
|
tranDate?: string;
|
|
@@ -210,12 +269,36 @@ export interface ErpOrderSyncDto {
|
|
|
210
269
|
export interface ErpOrderSyncResponse {
|
|
211
270
|
orderId: string;
|
|
212
271
|
action: 'updated' | 'noop';
|
|
272
|
+
fulfillments?: Array<{
|
|
273
|
+
erpFulfillmentId: string;
|
|
274
|
+
fulfillmentId: string;
|
|
275
|
+
result: 'created' | 'replayed' | 'updated';
|
|
276
|
+
}>;
|
|
213
277
|
}
|
|
214
|
-
|
|
278
|
+
/**
|
|
279
|
+
* Orders are created only through checkout (`sdk.checkout.adminCreate` for admin-entered
|
|
280
|
+
* orders), so there is no `create`.
|
|
281
|
+
*/
|
|
282
|
+
export declare class OrdersClient {
|
|
283
|
+
private readonly http;
|
|
284
|
+
private readonly baseUrl;
|
|
215
285
|
private _edits?;
|
|
216
286
|
private _fulfillments?;
|
|
217
287
|
private _invoices?;
|
|
218
|
-
constructor(
|
|
288
|
+
constructor(http: HttpClient, baseUrl: string);
|
|
289
|
+
private get endpoint();
|
|
290
|
+
/**
|
|
291
|
+
* Get a single order by ID
|
|
292
|
+
*/
|
|
293
|
+
get(id: string): Promise<Order>;
|
|
294
|
+
/**
|
|
295
|
+
* List orders with optional pagination and filters
|
|
296
|
+
*/
|
|
297
|
+
list(options?: ListOptions<OrderFilters>): Promise<OrderListResponse>;
|
|
298
|
+
/**
|
|
299
|
+
* Delete an order by ID
|
|
300
|
+
*/
|
|
301
|
+
delete(id: string): Promise<void>;
|
|
219
302
|
/**
|
|
220
303
|
* Sub-client for order edit sessions (two-phase line item editing).
|
|
221
304
|
*
|
|
@@ -233,7 +316,7 @@ export declare class OrdersClient extends BaseResourceClient<Order, CreateOrderD
|
|
|
233
316
|
* @example
|
|
234
317
|
* ```typescript
|
|
235
318
|
* const fulfillment = await sdk.orders.fulfillments.create(orderId, {
|
|
236
|
-
* items: [{ orderItemId: 'item-uuid',
|
|
319
|
+
* items: [{ orderItemId: 'item-uuid', quantityFulfilled: 2 }],
|
|
237
320
|
* carrier: 'UPS',
|
|
238
321
|
* trackingNumber: '1Z999AA10123456784',
|
|
239
322
|
* });
|
|
@@ -264,22 +347,19 @@ export declare class OrdersClient extends BaseResourceClient<Order, CreateOrderD
|
|
|
264
347
|
/**
|
|
265
348
|
* Get orders for a specific customer
|
|
266
349
|
*/
|
|
267
|
-
listByCustomer(customerId: string): Promise<
|
|
350
|
+
listByCustomer(customerId: string): Promise<OrderListResponse>;
|
|
268
351
|
/**
|
|
269
|
-
* Cancel an order
|
|
352
|
+
* Cancel an order. The backend requires a reason.
|
|
270
353
|
*/
|
|
271
|
-
cancel(orderId: string, reason?:
|
|
354
|
+
cancel(orderId: string, reason: string, options?: Omit<CancelOrderDto, 'reason'>): Promise<Order>;
|
|
272
355
|
/**
|
|
273
356
|
* Mark order as shipped
|
|
274
357
|
*/
|
|
275
|
-
ship(orderId: string, shipment:
|
|
276
|
-
trackingNumber?: string;
|
|
277
|
-
carrier?: string;
|
|
278
|
-
}): Promise<Order>;
|
|
358
|
+
ship(orderId: string, shipment: ShipOrderDto): Promise<Order>;
|
|
279
359
|
/**
|
|
280
360
|
* Mark order as delivered
|
|
281
361
|
*/
|
|
282
|
-
deliver(orderId: string): Promise<Order>;
|
|
362
|
+
deliver(orderId: string, data?: DeliverOrderDto): Promise<Order>;
|
|
283
363
|
/**
|
|
284
364
|
* Recalculate order totals (shipping, tax, discounts).
|
|
285
365
|
* Only available for orders in pending, confirmed, or processing status
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orders.client.d.ts","sourceRoot":"","sources":["../../../../../src/services/core/orders.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,IAAI,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACnF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"orders.client.d.ts","sourceRoot":"","sources":["../../../../../src/services/core/orders.client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,IAAI,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACnF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAElE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAItD,MAAM,MAAM,WAAW,GACnB,SAAS,GACT,WAAW,GACX,YAAY,GACZ,mBAAmB,GACnB,SAAS,GACT,WAAW,GACX,WAAW,GACX,WAAW,GACX,UAAU,CAAC;AAEf,MAAM,MAAM,kBAAkB,GAC1B,SAAS,GACT,gBAAgB,GAChB,kBAAkB,GAClB,oBAAoB,GACpB,oBAAoB,GACpB,uBAAuB,GACvB,SAAS,GACT,WAAW,GACX,WAAW,GACX,UAAU,GACV,WAAW,CAAC;AAEhB,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,KAAK,GAAG,OAAO,GAAG,KAAK,GAAG,cAAc,CAAC;AAEhF,MAAM,MAAM,kBAAkB,GAC5B,SAAS,GAAG,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,oBAAoB,CAAC;AAEvF,MAAM,M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