@epcc-sdk/sdks-cart-checkout-order 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client/sdk.gen.d.ts
CHANGED
|
@@ -1039,6 +1039,9 @@ export declare const getCustomerOrders: <ThrowOnError extends boolean = false>(o
|
|
|
1039
1039
|
*/
|
|
1040
1040
|
export declare const getAnOrder: <ThrowOnError extends boolean = false>(options: Options<GetAnOrderData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").ResponseData & {
|
|
1041
1041
|
data?: import("./types.gen").OrderResponse;
|
|
1042
|
+
included?: {
|
|
1043
|
+
items?: Array<import("./types.gen").OrderItemResponse>;
|
|
1044
|
+
};
|
|
1042
1045
|
}, import("./types.gen").ResponseError, ThrowOnError>;
|
|
1043
1046
|
/**
|
|
1044
1047
|
* Update an Order
|
|
@@ -1201,6 +1201,16 @@ export type OrderResponse = {
|
|
|
1201
1201
|
meta?: OrderMeta;
|
|
1202
1202
|
billing_address?: BillingAddress;
|
|
1203
1203
|
contact?: Contact;
|
|
1204
|
+
customer?: {
|
|
1205
|
+
/**
|
|
1206
|
+
* The name of the customer.
|
|
1207
|
+
*/
|
|
1208
|
+
name?: string;
|
|
1209
|
+
/**
|
|
1210
|
+
* The email address of the customer.
|
|
1211
|
+
*/
|
|
1212
|
+
email?: string;
|
|
1213
|
+
};
|
|
1204
1214
|
shipping_address?: ShippingAddress;
|
|
1205
1215
|
relationships?: {
|
|
1206
1216
|
items?: RelationshipArray;
|
|
@@ -2349,7 +2359,20 @@ export type GetAnOrderData = {
|
|
|
2349
2359
|
*/
|
|
2350
2360
|
orderID: string;
|
|
2351
2361
|
};
|
|
2352
|
-
query?:
|
|
2362
|
+
query?: {
|
|
2363
|
+
/**
|
|
2364
|
+
* The number of records to offset the results by.
|
|
2365
|
+
*/
|
|
2366
|
+
"page[offset]"?: BigInt;
|
|
2367
|
+
/**
|
|
2368
|
+
* The number of records per page. The maximum limit is 100.
|
|
2369
|
+
*/
|
|
2370
|
+
"page[limit]"?: BigInt;
|
|
2371
|
+
/**
|
|
2372
|
+
* A comma-separated list of resources to include. See [Characteristics of Include Parameter](/guides/Getting-Started/includes#characteristics-of-include-parameter).
|
|
2373
|
+
*/
|
|
2374
|
+
include?: string;
|
|
2375
|
+
};
|
|
2353
2376
|
url: "/v2/orders/{orderID}";
|
|
2354
2377
|
};
|
|
2355
2378
|
export type GetAnOrderErrors = {
|
|
@@ -2365,6 +2388,9 @@ export type GetAnOrderResponses = {
|
|
|
2365
2388
|
*/
|
|
2366
2389
|
200: ResponseData & {
|
|
2367
2390
|
data?: OrderResponse;
|
|
2391
|
+
included?: {
|
|
2392
|
+
items?: Array<OrderItemResponse>;
|
|
2393
|
+
};
|
|
2368
2394
|
};
|
|
2369
2395
|
};
|
|
2370
2396
|
export type GetAnOrderResponse = GetAnOrderResponses[keyof GetAnOrderResponses];
|