Skip to content

Commit

Permalink
[nightly] generate types against bigcommerce/docs@5bfc83e (#228)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
matthewvolk and github-actions[bot] authored Mar 21, 2024
1 parent 7ffb823 commit 36ac23b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-bikes-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'bigrequest': patch
---

bigcommerce/docs#179, bigcommerce/docs#182, bigcommerce/docs#177
15 changes: 1 addition & 14 deletions src/generated/orders.v2.oas2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1425,11 +1425,6 @@ export interface components {
* @example 2001:db8:3333:4444:5555:6666:7777:8888
*/
ip_address_v6?: string;
/**
* @description Indicates whether the order was deleted (archived). Set to to true, to archive an order.
* @example false
*/
is_deleted?: boolean;
/**
* @description The number of items that have been shipped.
* @example 0
Expand Down Expand Up @@ -1917,7 +1912,7 @@ export interface components {
price_inc_tax?: number;
price_ex_tax?: number;
upc?: string;
/** @description "" */
/** @description Products `variant_id`. PUT or POST. This field is not available for custom products. */
variant_id?: number;
/** @description ID of the gift wrapping that will be used for this product. If provided, then `wrapping_cost_ex_tax` and `wrapping_cost_inc_tax` are required. When updating an order product line item, if `wrapping_id` is set to `0` and no other wrapping fields are provided,then the wrapping will be removed from the order product. */
wrapping_id?: number;
Expand Down Expand Up @@ -2061,11 +2056,6 @@ export interface components {
* @example 2001:db8:3333:4444:5555:6666:7777:8888
*/
ip_address_v6?: string;
/**
* @description Indicates whether the order was deleted (archived). Set to to true, to archive an order.
* @example false
*/
is_deleted?: boolean;
/**
* @description The number of items that have been shipped.
* @example 0
Expand Down Expand Up @@ -2589,8 +2579,6 @@ export interface components {
status_id_path: number;
/** @description The cart ID of the order. */
cart_id?: string;
/** @description If the order was deleted or archived. */
is_deleted?: boolean;
/** @description The display name of the payment method used on the order. */
payment_method?: "Manual" | "Cash on Delivery" | "Credit Card" | "Test Payment Gateway" | "Pay In Store";
/**
Expand Down Expand Up @@ -2785,7 +2773,6 @@ export interface operations {
page?: components["parameters"]["page"];
limit?: components["parameters"]["limit"];
sort?: components["parameters"]["sort"];
is_deleted?: components["parameters"]["is_deleted"];
channel_id?: components["parameters"]["channel_id"];
include?: components["parameters"]["order_includes"];
external_order_id?: components["parameters"]["external_order_id"];
Expand Down
9 changes: 8 additions & 1 deletion src/generated/subscribers.v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ export interface components {
* @description The date of which the subscriber was created.
*/
date_created?: string;
/**
* @description Shows what active subscriptions a shopper may have. If the consents array is empty, the user has unsubscribed or didn’t enable the newsletter subscription checkbox during checkout.
* @example [
* "marketing_newsletter"
* ]
*/
consents?: unknown[];
};
/**
* subscriber_Base
Expand Down Expand Up @@ -291,7 +298,7 @@ export interface components {
};
};
responses: {
subrscriberCollection_Resp: {
subscriberCollection_Resp: {
content: {
"application/json": {
data?: components["schemas"]["subscriber_Full"][];
Expand Down

0 comments on commit 36ac23b

Please sign in to comment.