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/api-specs@a98a876 #44

Closed
wants to merge 1 commit into from
Closed
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
14 changes: 0 additions & 14 deletions packages/bigrequest/src/generated/brands_catalog.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,6 @@ export interface operations {
};
path: {
brand_id: components["parameters"]["BrandIdParam"];
/** @description The ID of the `Brand` to which the resource belongs. */
brand_id: number;
};
};
responses: {
Expand Down Expand Up @@ -722,8 +720,6 @@ export interface operations {
};
path: {
brand_id: components["parameters"]["BrandIdParam"];
/** @description The ID of the `Brand` to which the resource belongs. */
brand_id: number;
};
};
requestBody: {
Expand Down Expand Up @@ -923,8 +919,6 @@ export interface operations {
};
path: {
brand_id: components["parameters"]["BrandIdParam"];
/** @description The ID of the `Brand` to which the resource belongs. */
brand_id: number;
};
};
responses: {
Expand Down Expand Up @@ -967,8 +961,6 @@ export interface operations {
};
path: {
brand_id: components["parameters"]["BrandIdParam"];
/** @description The ID of the `Brand` to which the resource belongs. */
brand_id: number;
};
};
responses: {
Expand Down Expand Up @@ -1018,8 +1010,6 @@ export interface operations {
};
path: {
brand_id: components["parameters"]["BrandIdParam"];
/** @description The ID of the `Brand` to which the resource belongs. */
brand_id: number;
};
};
requestBody: {
Expand Down Expand Up @@ -1231,8 +1221,6 @@ export interface operations {
};
path: {
brand_id: components["parameters"]["BrandIdParam"];
/** @description The ID of the `Brand` to which the resource belongs. */
brand_id: number;
};
};
requestBody?: {
Expand Down Expand Up @@ -1303,8 +1291,6 @@ export interface operations {
};
path: {
brand_id: components["parameters"]["BrandIdParam"];
/** @description The ID of the `Brand` to which the resource belongs. */
brand_id: number;
};
};
responses: {
Expand Down
40 changes: 10 additions & 30 deletions packages/bigrequest/src/generated/categories_catalog.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,16 @@ export interface operations {
include_fields?: string;
/** @description Fields to exclude, in a comma-separated list. The specified fields will be excluded from a response. The ID cannot be excluded. */
exclude_fields?: string;
/**
* @description Controls the sort order of the response, for example, `sort=name`.
*
* Allowed values:
* - `name`: sort categories in alphabetical order by category name.
* - `id`: sort in ascending order by category ID.
* - `parent_id`: sort in ascending order by the ID of the parent category.
* - `sort_order`: sort in ascending order by sort order value.
*/
sort?: string;
};
header: {
Accept: components["parameters"]["Accept"];
Expand Down Expand Up @@ -898,8 +908,6 @@ export interface operations {
};
path: {
category_id: components["parameters"]["CategoryIdParam"];
/** @description The ID of the `Category` to which the resource belongs. */
category_id: number;
};
};
responses: {
Expand Down Expand Up @@ -944,8 +952,6 @@ export interface operations {
};
path: {
category_id: components["parameters"]["CategoryIdParam"];
/** @description The ID of the `Category` to which the resource belongs. */
category_id: number;
};
};
requestBody: {
Expand Down Expand Up @@ -1195,8 +1201,6 @@ export interface operations {
};
path: {
category_id: components["parameters"]["CategoryIdParam"];
/** @description The ID of the `Category` to which the resource belongs. */
category_id: number;
};
};
responses: {
Expand Down Expand Up @@ -1239,8 +1243,6 @@ export interface operations {
};
path: {
category_id: components["parameters"]["CategoryIdParam"];
/** @description The ID of the `Category` to which the resource belongs. */
category_id: number;
};
};
responses: {
Expand Down Expand Up @@ -1290,8 +1292,6 @@ export interface operations {
};
path: {
category_id: components["parameters"]["CategoryIdParam"];
/** @description The ID of the `Category` to which the resource belongs. */
category_id: number;
};
};
requestBody: {
Expand Down Expand Up @@ -1362,10 +1362,6 @@ export interface operations {
path: {
category_id: components["parameters"]["CategoryIdParam"];
metafield_id: components["parameters"]["MetafieldIdParam"];
/** @description The ID of the `Metafield`. */
metafield_id: number;
/** @description The ID of the `Category` to which the resource belongs. */
category_id: number;
};
};
responses: {
Expand Down Expand Up @@ -1418,10 +1414,6 @@ export interface operations {
path: {
category_id: components["parameters"]["CategoryIdParam"];
metafield_id: components["parameters"]["MetafieldIdParam"];
/** @description The ID of the `Metafield`. */
metafield_id: number;
/** @description The ID of the `Category` to which the resource belongs. */
category_id: number;
};
};
requestBody: {
Expand Down Expand Up @@ -1465,10 +1457,6 @@ export interface operations {
path: {
category_id: components["parameters"]["CategoryIdParam"];
metafield_id: components["parameters"]["MetafieldIdParam"];
/** @description The ID of the `Metafield`. */
metafield_id: number;
/** @description The ID of the `Category` to which the resource belongs. */
category_id: number;
};
};
responses: {
Expand Down Expand Up @@ -1497,8 +1485,6 @@ export interface operations {
};
path: {
category_id: components["parameters"]["CategoryIdParam"];
/** @description The ID of the `Category` to which the resource belongs. */
category_id: number;
};
};
requestBody?: {
Expand Down Expand Up @@ -1569,8 +1555,6 @@ export interface operations {
};
path: {
category_id: components["parameters"]["CategoryIdParam"];
/** @description The ID of the `Category` to which the resource belongs. */
category_id: number;
};
};
responses: {
Expand Down Expand Up @@ -1600,8 +1584,6 @@ export interface operations {
};
path: {
category_id: components["parameters"]["CategoryIdParam"];
/** @description The ID of the `Category` to which the resource belongs. */
category_id: number;
};
};
responses: {
Expand Down Expand Up @@ -1633,8 +1615,6 @@ export interface operations {
};
path: {
category_id: components["parameters"]["CategoryIdParam"];
/** @description The ID of the `Category` to which the resource belongs. */
category_id: number;
};
};
requestBody?: {
Expand Down
6 changes: 6 additions & 0 deletions packages/bigrequest/src/generated/currencies.v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,12 @@ export interface operations {
*/
getAllCurrencies: {
parameters: {
query?: {
/** @description Specifies the page number in a limited (paginated) list of currencies. */
page?: number;
/** @description Controls the number of items per page in a limited (paginated) list of currencies. */
limit?: number;
};
header: {
Accept: components["parameters"]["Accept"];
};
Expand Down
8 changes: 3 additions & 5 deletions packages/bigrequest/src/generated/customers.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export interface paths {
* * attribute_value -- This is input as a string, regardless of the [Type](/docs/rest-management/customers/customer-attributes#create-a-customer-attribute).
*
* **Limits**
* * Limit of 10 concurrent requests
* * Create 20 customers over the span of an hour. Attempting to make more than 20 API calls will result in a `429` return status until the hour has lapsed.
*
* **Notes**
*
Expand Down Expand Up @@ -313,7 +313,7 @@ export interface paths {
put: operations["CustomersConsentByCustomerId_PUT"];
parameters: {
path: {
customerId: string;
customerId: components["parameters"]["customerId"];
};
};
};
Expand Down Expand Up @@ -1707,7 +1707,7 @@ export interface operations {
* * attribute_value -- This is input as a string, regardless of the [Type](/docs/rest-management/customers/customer-attributes#create-a-customer-attribute).
*
* **Limits**
* * Limit of 10 concurrent requests
* * Create 20 customers over the span of an hour. Attempting to make more than 20 API calls will result in a `429` return status until the hour has lapsed.
*
* **Notes**
*
Expand Down Expand Up @@ -2352,7 +2352,6 @@ export interface operations {
CustomersConsentByCustomerId_GET: {
parameters: {
path: {
customerId: string;
customerId: components["parameters"]["customerId"];
};
};
Expand Down Expand Up @@ -2388,7 +2387,6 @@ export interface operations {
"Content-Type"?: string;
};
path: {
customerId: string;
customerId: components["parameters"]["customerId"];
};
};
Expand Down
4 changes: 2 additions & 2 deletions packages/bigrequest/src/generated/form_fields.sf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ export interface components {
id?: string;
/** @description Field name */
name?: string;
/** @description Wether is a custom field or system built-in field. */
/** @description Whether this is a custom field or system built-in field. */
custom?: boolean;
/** @description User-friendly label */
label?: string;
/** @description Wether this field is required or not */
/** @description Whether this field is required or not */
required?: boolean;
/** @description The field unique ID */
default?: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/bigrequest/src/generated/pricing.sf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export interface components {
sale_price?: {
/** @description The price provided by the merchant as entered in their catalog/price list; may include or exclude tax. */
as_entered?: number;
/** @description Determines wether the `as_entered` price is inclusive or exclusive of tax, based on the stores tax jurisdiction. */
/** @description Determines whether the `as_entered` price is inclusive or exclusive of tax, based on the stores tax jurisdiction. */
entered_inclusive?: boolean;
/** @description The estimated tax exclusive price for this product based on the provided customer group. */
tax_exclusive?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1055,8 +1055,6 @@ export interface operations {
path: {
product_id: components["parameters"]["ProductIdParam"];
modifier_id: components["parameters"]["ModifierIdParam"];
/** @description The ID of the `Modifier`. */
modifier_id: number;
};
};
responses: {
Expand Down Expand Up @@ -1096,8 +1094,6 @@ export interface operations {
path: {
product_id: components["parameters"]["ProductIdParam"];
modifier_id: components["parameters"]["ModifierIdParam"];
/** @description The ID of the `Modifier`. */
modifier_id: number;
};
};
requestBody: {
Expand Down Expand Up @@ -1531,8 +1527,6 @@ export interface operations {
path: {
product_id: components["parameters"]["ProductIdParam"];
modifier_id: components["parameters"]["ModifierIdParam"];
/** @description The ID of the `Modifier`. */
modifier_id: number;
};
};
responses: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -938,8 +938,6 @@ export interface operations {
path: {
product_id: components["parameters"]["ProductIdParam"];
option_id: components["parameters"]["OptionIdParam"];
/** @description The ID of the `Option`. */
option_id: number;
};
};
responses: {
Expand Down Expand Up @@ -982,8 +980,6 @@ export interface operations {
path: {
product_id: components["parameters"]["ProductIdParam"];
option_id: components["parameters"]["OptionIdParam"];
/** @description The ID of the `Option`. */
option_id: number;
};
};
requestBody: {
Expand Down Expand Up @@ -1419,8 +1415,6 @@ export interface operations {
path: {
product_id: components["parameters"]["ProductIdParam"];
option_id: components["parameters"]["OptionIdParam"];
/** @description The ID of the `Option`. */
option_id: number;
};
};
responses: {
Expand Down
18 changes: 0 additions & 18 deletions packages/bigrequest/src/generated/product-variants_catalog.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -779,8 +779,6 @@ export interface operations {
path: {
product_id: components["parameters"]["ProductIdParam"];
variant_id: components["parameters"]["VariantIdParam"];
/** @description ID of the variant on a product, or on an associated Price List Record. */
variant_id: number;
};
};
responses: {
Expand Down Expand Up @@ -820,8 +818,6 @@ export interface operations {
path: {
product_id: components["parameters"]["ProductIdParam"];
variant_id: components["parameters"]["VariantIdParam"];
/** @description ID of the variant on a product, or on an associated Price List Record. */
variant_id: number;
};
};
requestBody: {
Expand Down Expand Up @@ -879,8 +875,6 @@ export interface operations {
path: {
product_id: components["parameters"]["ProductIdParam"];
variant_id: components["parameters"]["VariantIdParam"];
/** @description ID of the variant on a product, or on an associated Price List Record. */
variant_id: number;
};
};
responses: {
Expand Down Expand Up @@ -1041,10 +1035,6 @@ export interface operations {
product_id: components["parameters"]["ProductIdParam"];
variant_id: components["parameters"]["VariantIdParam"];
metafield_id: components["parameters"]["MetafieldIdParam"];
/** @description The ID of the `Metafield`. */
metafield_id: number;
/** @description ID of the variant on a product, or on an associated Price List Record. */
variant_id: number;
};
};
responses: {
Expand Down Expand Up @@ -1098,10 +1088,6 @@ export interface operations {
product_id: components["parameters"]["ProductIdParam"];
variant_id: components["parameters"]["VariantIdParam"];
metafield_id: components["parameters"]["MetafieldIdParam"];
/** @description The ID of the `Metafield`. */
metafield_id: number;
/** @description ID of the variant on a product, or on an associated Price List Record. */
variant_id: number;
};
};
requestBody: {
Expand Down Expand Up @@ -1146,10 +1132,6 @@ export interface operations {
product_id: components["parameters"]["ProductIdParam"];
variant_id: components["parameters"]["VariantIdParam"];
metafield_id: components["parameters"]["MetafieldIdParam"];
/** @description The ID of the `Metafield`. */
metafield_id: number;
/** @description ID of the variant on a product, or on an associated Price List Record. */
variant_id: number;
};
};
responses: {
Expand Down
Loading