Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions docs/changelog/0.0.1-alpha.3.md
Original file line number Diff line number Diff line change
@@ -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;
```

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -67,4 +67,4 @@
"query-string": "^9.1.1"
},
"packageManager": "yarn@4.9.1+sha512.f95ce356460e05be48d66401c1ae64ef84d163dd689964962c6888a9810865e39097a5e9de748876c2e0bf89b232d583c33982773e9903ae7a76257270986538"
}
}
2 changes: 2 additions & 0 deletions src/internal/reference/generated/checkouts.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/internal/reference/generated/orders.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
/**
Expand Down
4 changes: 3 additions & 1 deletion src/internal/reference/generated/pricing.sf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
2 changes: 1 addition & 1 deletion src/internal/reference/generated/widgets.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down