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@a357783 #224

Merged
merged 1 commit into from
Mar 18, 2024
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
5 changes: 5 additions & 0 deletions .changeset/orange-months-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'bigrequest': patch
---

bigcommerce/docs#107,bigcommerce/docs#114,bigcommerce/docs#118,bigcommerce/docs#120,bigcommerce/docs#108,bigcommerce/docs#123,bigcommerce/docs#128,bigcommerce/docs#125,bigcommerce/docs#127,bigcommerce/docs#137,bigcommerce/docs#138,bigcommerce/docs#140,bigcommerce/docs#146,bigcommerce/docs#145,bigcommerce/docs#141,bigcommerce/docs#152,bigcommerce/docs#154,bigcommerce/docs#149,bigcommerce/docs#156,bigcommerce/docs#157,bigcommerce/docs#142,bigcommerce/docs#153,bigcommerce/docs#155,bigcommerce/docs#163,bigcommerce/docs#172,bigcommerce/docs#171
7 changes: 1 addition & 6 deletions src/generated/brands_catalog.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -819,10 +819,6 @@ export interface operations {
id?: number;
"id:in"?: number[];
"id:not_in"?: number[];
"id:min"?: number[];
"id:max"?: number[];
"id:greater"?: number[];
"id:less"?: number[];
/** @description Filter items by name. */
name?: string;
/** @description Filter items by part of a name. For example, `name:like=new` returns brands with names that include `new`. */
Expand Down Expand Up @@ -1559,7 +1555,6 @@ export interface operations {
parameters: {
header: {
Accept: components["parameters"]["Accept"];
"Content-Type": components["parameters"]["ContentType"];
};
path: {
brand_id: components["parameters"]["BrandIdParam"];
Expand All @@ -1572,7 +1567,7 @@ export interface operations {
};
requestBody: {
content: {
"application/json": components["schemas"]["metafield_Base"];
"application/json": components["schemas"]["MetafieldBase_Put"];
};
};
responses: {
Expand Down
14 changes: 14 additions & 0 deletions src/generated/carts.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export interface paths {
* * If your application requires URLs to be visited more than once, consider generating a fresh one each time you need to restore a cart, and redirecting to the URL from your own application.
* * Redirect URLs can be generated only from carts that were created using the **REST Management API**.
* * To restore a cart that was created on the storefront, either by a shopper or a Storefront API, first recreate the cart using the **REST Management API**.
* * When redirecting the shopper, you can add a set of `query_params` to the URL. The `query_params` feature allows passing additional information to the redirect URL.
*/
post: operations["createCartRedirectURL"];
parameters: {
Expand Down Expand Up @@ -1347,6 +1348,13 @@ export interface components {
})[];
custom_items?: components["schemas"]["cart_PostCustomItem"];
};
/** Redirect_urls_Post */
Redirect_urls_Post: {
query_params?: {
key?: string;
value?: string;
}[];
};
/** Cart_Line_Item_Update_Post */
Cart_Line_Item_Update_Post: {
line_items?: unknown;
Expand Down Expand Up @@ -2088,6 +2096,7 @@ export interface operations {
* * If your application requires URLs to be visited more than once, consider generating a fresh one each time you need to restore a cart, and redirecting to the URL from your own application.
* * Redirect URLs can be generated only from carts that were created using the **REST Management API**.
* * To restore a cart that was created on the storefront, either by a shopper or a Storefront API, first recreate the cart using the **REST Management API**.
* * When redirecting the shopper, you can add a set of `query_params` to the URL. The `query_params` feature allows passing additional information to the redirect URL.
*/
createCartRedirectURL: {
parameters: {
Expand All @@ -2099,6 +2108,11 @@ export interface operations {
cartId: components["parameters"]["cartId"];
};
};
requestBody?: {
content: {
"application/json": components["schemas"]["Redirect_urls_Post"];
};
};
responses: {
201: components["responses"]["CartRedirectResponse"];
};
Expand Down
9 changes: 5 additions & 4 deletions src/generated/category-trees_catalog.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export interface paths {
*
* Creating a category requires:
* - `name`
* - `url`
* - `tree_id` or `parent_id`
*/
post: operations["createCategories"];
Expand Down Expand Up @@ -120,7 +119,7 @@ export interface components {
/** Create Categories */
CreateCategories: ({
name: components["schemas"]["name"];
url: components["schemas"]["url"];
url?: components["schemas"]["url"];
parent_id: components["schemas"]["parent_id"];
tree_id: components["schemas"]["tree_id"];
} & components["schemas"]["CategoryBase"])[];
Expand Down Expand Up @@ -330,7 +329,10 @@ export interface components {
beta4ErrorResponse: components["schemas"]["BaseError"] & {
errors?: components["schemas"]["beta4DetailedErrors"];
};
/** URL */
/**
* URL
* @description If not provided, the URL is autogenerated from the category name.
*/
url: {
/** @example /bath/ */
path?: string;
Expand Down Expand Up @@ -500,7 +502,6 @@ export interface operations {
*
* Creating a category requires:
* - `name`
* - `url`
* - `tree_id` or `parent_id`
*/
createCategories: {
Expand Down
2 changes: 1 addition & 1 deletion src/generated/channels.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ export interface components {
ChannelIdForListing: number;
/**
* Format: int64
* @description The ID of the channel listing that has been created, returned, or updated.
* @description The ID of the channel listing that has been created, returned, or updated. In a 422 error, you may receive a response that references the `group_id`. The `group_id` in the Invalid Listing ID example refers to the `listing_id`. Please use `listing_id` instead of `group_id` in the request payload.
*/
ListingId: number;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/generated/checkouts.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export interface components {
channel_id?: number;
/**
* Format: double
* @description Order-based discounted amount only - Excludes coupon discounts and product-based discounts.
* @description The amount includes order-level automatic promotions plus manual discounts and excludes coupon and product-based discounts.
* @example 0.5
*/
discount_amount?: number;
Expand Down
Loading
Loading