Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nightly] generate types against bigcommerce/docs@478d62c #509

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
6 changes: 4 additions & 2 deletions src/generated/orders.v2.oas2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1558,12 +1558,14 @@ export interface components {
*/
refunded_amount?: string;
/**
* @description The value of shipping cost, excluding tax. The value can't be negative. (Float, Float-As-String, Integer)
* @description The value of shipping cost, excluding tax. When specified in a POST or PUT request, the field `shipping_cost_inc_tax` is also required. The value can't be negative (Float, Float-As-String, Integer)
*
* @example 0.0000
*/
shipping_cost_ex_tax?: string;
/**
* @description The value of shipping cost, including tax. The value can't be negative. (Float, Float-As-String, Integer)
* @description The value of shipping cost, including tax. When specified in a POST or PUT request, the field `shipping_cost_ex_tax` is also required. The value can't be negative. (Float, Float-As-String, Integer)
*
* @example 0.0000
*/
shipping_cost_inc_tax?: string;
Expand Down
12 changes: 12 additions & 0 deletions src/generated/orders.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2309,6 +2309,18 @@ export interface operations {
};
};
};
/** @description Service Unavailable. */
503: {
content: {
"application/json": {
/** @description 503 HTTP status code. */
status?: number;
/** @description The error title describing the particular error. */
title?: string;
type?: string;
};
};
};
};
};
/**
Expand Down
7 changes: 5 additions & 2 deletions src/generated/tax_settings.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ export interface components {
tax_entered_with_prices?: boolean;
/** @description Settings that describe how prices display at the global level. */
price_display_settings?: {
/** @description Whether to show prices as tax inclusive or tax exclusive in the BigCommerce control panel. */
show_inclusive_in_control_panel?: boolean;
/**
* @description Whether to show prices as tax inclusive or tax exclusive in the BigCommerce control panel, or use the order's tax zone for price display.
* @enum {string}
*/
control_panel_price_display_strategy?: "ZONE" | "INCLUSIVE" | "EXCLUSIVE";
/**
* @description Whether to show prices as tax inclusive or tax exclusive across all invoices, or use the shopperʼs tax zone for price display on invoices.
* @default ZONE
Expand Down