diff --git a/docs/changelog/0.0.1-alpha.3.md b/docs/changelog/0.0.1-alpha.3.md new file mode 100644 index 0000000..04f27b2 --- /dev/null +++ b/docs/changelog/0.0.1-alpha.3.md @@ -0,0 +1,27 @@ +# Interface Change Summary: 0.0.1-alpha.3 + +## Modified files +### `checkouts.v3.ts` + +components.schemas.Checkout.cart: +```diff ++ readonly tax_included?: boolean; +``` + +### `orders.v3.ts` + +components.schemas: +```diff +- readonly ItemsRefund: components["schemas"]["AmountBoundItem"] | components["schemas"]["QuantityBoundItem"] | components["schemas"]["TaxExemptItem"] | components["schemas"]["FeeItem"]; ++ readonly ItemsRefund: components["schemas"]["QuantityBoundItem"] | components["schemas"]["AmountBoundItem"] | components["schemas"]["TaxExemptItem"] | components["schemas"]["FeeItem"]; +``` + +### `pricing.sf.ts` + +operations.getPrices.requestBody.content."application/json": +```diff +- readonly customer_group_id: number; ++ readonly customer_group_id?: number; ++ readonly customer_id?: number; +``` + diff --git a/package.json b/package.json index 5e898aa..508f228 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aligent/bigcommerce-api", - "version": "0.0.1-alpha.2", + "version": "0.0.1-alpha.3", "type": "module", "scripts": { "test": "tsd", @@ -67,4 +67,4 @@ "query-string": "^9.1.1" }, "packageManager": "yarn@4.9.1+sha512.f95ce356460e05be48d66401c1ae64ef84d163dd689964962c6888a9810865e39097a5e9de748876c2e0bf89b232d583c33982773e9903ae7a76257270986538" -} +} \ No newline at end of file diff --git a/src/internal/reference/generated/checkouts.v3.ts b/src/internal/reference/generated/checkouts.v3.ts index f9e8c1a..35566c6 100644 --- a/src/internal/reference/generated/checkouts.v3.ts +++ b/src/internal/reference/generated/checkouts.v3.ts @@ -327,6 +327,8 @@ export interface components { */ readonly code?: string; }; + /** @description Indicates whether product prices are shown inclusive of sales tax. */ + readonly tax_included?: boolean; /** * Format: double * @description Sum of cart line-item amounts before cart-level discounts, coupons, or taxes are applied. diff --git a/src/internal/reference/generated/orders.v3.ts b/src/internal/reference/generated/orders.v3.ts index edcc66d..a0fbe6e 100644 --- a/src/internal/reference/generated/orders.v3.ts +++ b/src/internal/reference/generated/orders.v3.ts @@ -1416,7 +1416,7 @@ export interface components { readonly error?: string; }; /** ItemsRefund */ - readonly ItemsRefund: components["schemas"]["AmountBoundItem"] | components["schemas"]["QuantityBoundItem"] | components["schemas"]["TaxExemptItem"] | components["schemas"]["FeeItem"]; + readonly ItemsRefund: components["schemas"]["QuantityBoundItem"] | components["schemas"]["AmountBoundItem"] | components["schemas"]["TaxExemptItem"] | components["schemas"]["FeeItem"]; /** Payment Request */ readonly PaymentRequest: { /** diff --git a/src/internal/reference/generated/pricing.sf.ts b/src/internal/reference/generated/pricing.sf.ts index 5892e6f..a8e0ff1 100644 --- a/src/internal/reference/generated/pricing.sf.ts +++ b/src/internal/reference/generated/pricing.sf.ts @@ -444,7 +444,9 @@ export interface operations { */ readonly country_code?: string; /** @description The customer group ID that's relevant for any customer group pricing, tax values, etc. */ - readonly customer_group_id: number; + readonly customer_group_id?: number; + /** @description The ID of the customer for whom to fetch prices. */ + readonly customer_id?: number; /** @description The items for which to fetch prices. */ readonly items: readonly { /** @description The (required) product ID of the item. */ diff --git a/src/internal/reference/generated/widgets.v3.ts b/src/internal/reference/generated/widgets.v3.ts index 1e35926..bf1661d 100644 --- a/src/internal/reference/generated/widgets.v3.ts +++ b/src/internal/reference/generated/widgets.v3.ts @@ -19,7 +19,7 @@ export interface paths { * Create a Widget Template * @description Creates a **Widget Template**. * - * ***Note:*** *There is a limit of 1000 custom widget templates per store.* + * ***Note:*** *There is a limit of 1000 custom widget templates per channel, and a limit of 5000 across all channels.* * * **Required Fields** * * name