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@a9b1bbf #41

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
30 changes: 0 additions & 30 deletions packages/bigrequest/src/generated/categories_catalog.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -898,8 +898,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 +942,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 +1191,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 +1233,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 +1282,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 +1352,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 +1404,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 +1447,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 +1475,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 +1545,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 +1574,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 +1605,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
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