Skip to content

Commit 2d11c74

Browse files
Merge pull request #25 from aligent/release/1.1.2
Release/1.1.2
2 parents cd0b89d + c1991bf commit 2d11c74

60 files changed

Lines changed: 4115 additions & 6204 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/changelog/1.1.1.md

Lines changed: 200 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,200 @@
1+
# Interface Change Summary: 1.1.1
2+
3+
## Modified files
4+
### `carts.v3.ts`
5+
6+
components.schemas.cart_PostCustomItem:
7+
```diff
8+
+ readonly image_url?: string;
9+
```
10+
11+
### `catalog/product_variants_catalog.v3.ts`
12+
13+
components.parameters:
14+
```diff
15+
+ readonly MetafieldResourceParam: string;
16+
```
17+
18+
operations.getProductVariantMetafields.parameters.query:
19+
```diff
20+
+ readonly "resource_id:in"?: components["parameters"]["MetafieldResourceParam"];
21+
```
22+
23+
### `catalog/products_catalog.v3.ts`
24+
25+
components.parameters:
26+
```diff
27+
+ readonly MetafieldResourceParam: string;
28+
+ readonly CustomFieldsIncludeFieldsParam: readonly ("name" | "value")[];
29+
+ readonly CustomFieldsExcludeFieldsParam: readonly ("name" | "value")[];
30+
```
31+
32+
operations.getProductCustomFields.parameters.query:
33+
```diff
34+
- readonly include_fields?: components["parameters"]["IncludeFieldsParam"];
35+
+ readonly include_fields?: components["parameters"]["CustomFieldsIncludeFieldsParam"];
36+
- readonly exclude_fields?: components["parameters"]["ExcludeFieldsParam"];
37+
+ readonly exclude_fields?: components["parameters"]["CustomFieldsExcludeFieldsParam"];
38+
```
39+
40+
operations.getProductCustomField.parameters.query:
41+
```diff
42+
- readonly include_fields?: components["parameters"]["IncludeFieldsParam"];
43+
+ readonly include_fields?: components["parameters"]["CustomFieldsIncludeFieldsParam"];
44+
- readonly exclude_fields?: components["parameters"]["ExcludeFieldsParam"];
45+
+ readonly exclude_fields?: components["parameters"]["CustomFieldsExcludeFieldsParam"];
46+
```
47+
48+
operations.getProductMetafields.parameters.query:
49+
```diff
50+
+ readonly "resource_id:in"?: components["parameters"]["MetafieldResourceParam"];
51+
```
52+
53+
### `marketing.v2.ts`
54+
55+
operations.getGiftCertificates.parameters.query:
56+
```diff
57+
+ readonly sort?: "id";
58+
+ readonly direction?: "asc" | "desc";
59+
```
60+
61+
### `orders.sf.ts`
62+
63+
components.schemas.Order:
64+
```diff
65+
+ readonly comparisonShippingCost?: number;
66+
```
67+
68+
components.schemas.ShippingConsignment:
69+
```diff
70+
+ readonly shippingCostBeforeDiscount?: number;
71+
+ readonly comparisonShippingCost?: number;
72+
```
73+
74+
### `orders.v2.oas2.ts`
75+
76+
components.schemas.orderTaxes_Base:
77+
```diff
78+
+ readonly sales_tax_id?: string;
79+
```
80+
81+
components.schemas.order_RespOnly:
82+
```diff
83+
- readonly consignments?: components["schemas"]["orderConsignments_Resource"];
84+
+ readonly consignments?: components["schemas"]["orderConsignments_Resource"] | components["schemas"]["orderConsignment_Get"];
85+
```
86+
87+
components.schemas.giftCertificateConsignment_Get:
88+
```diff
89+
- readonly line_items?: readonly components["schemas"]["products_Resource"][];
90+
+ readonly line_items?: readonly components["schemas"]["products_Resource"][] | readonly components["schemas"]["orderProducts"][];
91+
```
92+
93+
components.schemas.pickupConsignment_Get:
94+
```diff
95+
- readonly line_items?: readonly components["schemas"]["products_Resource"][];
96+
+ readonly line_items?: readonly components["schemas"]["products_Resource"][] | readonly components["schemas"]["orderProducts"][];
97+
```
98+
99+
components.schemas.shippingConsignment_Get:
100+
```diff
101+
- readonly line_items?: readonly components["schemas"]["products_Resource"][];
102+
+ readonly line_items?: readonly components["schemas"]["products_Resource"][] | readonly components["schemas"]["orderProducts"][];
103+
```
104+
105+
components.schemas.digitalConsignment_Get:
106+
```diff
107+
- readonly line_items?: readonly components["schemas"]["products_Resource"][];
108+
+ readonly line_items?: readonly components["schemas"]["products_Resource"][] | readonly components["schemas"]["orderProducts"][];
109+
```
110+
111+
### `orders.v3.ts`
112+
113+
components.schemas.MerchantOverride:
114+
```diff
115+
- readonly total_amount: components["schemas"]["Amount"];
116+
+ readonly total_amount: number;
117+
```
118+
119+
components.schemas.RefundQuote_ItemsRefund:
120+
```diff
121+
- readonly merchant_calculated_override?: components["schemas"]["MerchantOverride"];
122+
```
123+
124+
components.schemas.RefundQuote_TaxAdjustmentAmount:
125+
```diff
126+
- readonly merchant_calculated_override?: components["schemas"]["MerchantOverride"];
127+
```
128+
129+
### `promotions.v3.ts`
130+
131+
components.schemas.PatchCouponPromotion:
132+
```diff
133+
+ readonly coupon_type?: "SINGLE" | "BULK";
134+
```
135+
136+
components.schemas.DraftCouponPromotion:
137+
```diff
138+
+ readonly coupon_type: "SINGLE" | "BULK";
139+
```
140+
141+
components.schemas.SavedCouponPromotion:
142+
```diff
143+
+ readonly coupon_type: "SINGLE" | "BULK";
144+
```
145+
146+
components.schemas:
147+
```diff
148+
+ readonly ErrorResponse405: {
149+
+ readonly status?: string;
150+
+ readonly title?: string;
151+
+ readonly error?: string;
152+
+ };
153+
```
154+
155+
operations.createPromotionCode.responses:
156+
```diff
157+
- readonly 200: components["responses"]["PromotionCodeResponse"];
158+
+ readonly 201: components["responses"]["PromotionCodeResponse"];
159+
```
160+
161+
operations.generatePromotionCodesBatch.responses:
162+
```diff
163+
+ readonly 405: {
164+
+ headers: {
165+
+ readonly [name: string]: unknown;
166+
+ };
167+
+ content: {
168+
+ readonly "application/json": components["schemas"]["ErrorResponse405"];
169+
+ };
170+
+ };
171+
```
172+
173+
### `store_logs.v3.ts`
174+
175+
operations.getStoreSystemLogs.parameters.query:
176+
```diff
177+
+ readonly sort?: "date_created" | "type";
178+
+ readonly direction?: "asc" | "desc";
179+
```
180+
181+
### `storefront_tokens.v3.ts`
182+
183+
components.schemas:
184+
```diff
185+
- } & (components["schemas"]["Channels"] | components["schemas"]["Channel"]);
186+
+ } & components["schemas"]["Channels"] & components["schemas"]["Channel"];
187+
```
188+
189+
components.schemas.Channel:
190+
```diff
191+
- readonly channel_id: number;
192+
+ readonly channel_id?: number;
193+
```
194+
195+
components.schemas.Channels:
196+
```diff
197+
- readonly channel_ids: readonly number[];
198+
+ readonly channel_ids?: readonly number[];
199+
```
200+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aligent/bigcommerce-api",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"type": "module",
55
"scripts": {
66
"test": "tsd",

src/internal/reference/generated/abandoned_carts.v3.ts

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,11 @@ export interface paths {
5151
readonly Accept: components["parameters"]["Accept"];
5252
};
5353
readonly path: {
54-
/** @description Unique cart `UUID`.
54+
/**
55+
* @description Unique cart `UUID`.
5556
*
56-
* Unique cart `UUID` token that is generated for abandoned cart emails. */
57+
* Unique cart `UUID` token that is generated for abandoned cart emails.
58+
*/
5759
readonly token: string;
5860
};
5961
readonly cookie?: never;
@@ -83,11 +85,9 @@ export interface components {
8385
/**
8486
* Format: int32
8587
* @description The HTTP status code
86-
*
8788
*/
8889
readonly status?: number;
89-
/** @description The error title describing the particular error
90-
* */
90+
/** @description The error title describing the particular error */
9191
readonly title?: string;
9292
readonly type?: string;
9393
};
@@ -202,8 +202,10 @@ export interface components {
202202
readonly "application/json": components["schemas"]["errorDetailed_Full"];
203203
};
204204
};
205-
/** @description Malformed request syntax. Typically need to fix the JSON
206-
* Body to resend successfully. */
205+
/**
206+
* @description Malformed request syntax. Typically need to fix the JSON
207+
* Body to resend successfully.
208+
*/
207209
readonly "400_BadRequest": {
208210
headers: {
209211
readonly [name: string]: unknown;
@@ -433,9 +435,11 @@ export interface operations {
433435
readonly Accept?: components["parameters"]["Accept"];
434436
};
435437
readonly path: {
436-
/** @description Unique cart `UUID`.
438+
/**
439+
* @description Unique cart `UUID`.
437440
*
438-
* Unique cart `UUID` token that is generated for abandoned cart emails. */
441+
* Unique cart `UUID` token that is generated for abandoned cart emails.
442+
*/
439443
readonly token: string;
440444
};
441445
readonly cookie?: never;

0 commit comments

Comments
 (0)