@epcc-sdk/sdks-cart-checkout-order 0.0.2 → 0.0.3
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
|
@@ -1029,6 +1029,9 @@ export declare const getCustomerOrders: <ThrowOnError extends boolean = false>(o
|
|
|
1029
1029
|
data?: Array<import("./types.gen").OrderResponse>;
|
|
1030
1030
|
links?: import("./types.gen").ResponsePageLinks;
|
|
1031
1031
|
meta?: import("./types.gen").ResponseMetaOrders;
|
|
1032
|
+
included?: {
|
|
1033
|
+
items?: Array<import("./types.gen").OrderItemResponse>;
|
|
1034
|
+
};
|
|
1032
1035
|
}, import("./types.gen").ResponseError, ThrowOnError>;
|
|
1033
1036
|
/**
|
|
1034
1037
|
* Get an Order
|
|
@@ -2307,7 +2307,20 @@ export type GetCustomerOrdersData = {
|
|
|
2307
2307
|
"x-moltin-customer-token"?: string;
|
|
2308
2308
|
};
|
|
2309
2309
|
path?: never;
|
|
2310
|
-
query?:
|
|
2310
|
+
query?: {
|
|
2311
|
+
/**
|
|
2312
|
+
* The number of records to offset the results by.
|
|
2313
|
+
*/
|
|
2314
|
+
"page[offset]"?: BigInt;
|
|
2315
|
+
/**
|
|
2316
|
+
* The number of records per page. The maximum limit is 100.
|
|
2317
|
+
*/
|
|
2318
|
+
"page[limit]"?: BigInt;
|
|
2319
|
+
/**
|
|
2320
|
+
* A comma-separated list of resources to include. See [Characteristics of Include Parameter](/guides/Getting-Started/includes#characteristics-of-include-parameter).
|
|
2321
|
+
*/
|
|
2322
|
+
include?: string;
|
|
2323
|
+
};
|
|
2311
2324
|
url: "/v2/orders";
|
|
2312
2325
|
};
|
|
2313
2326
|
export type GetCustomerOrdersErrors = {
|
|
@@ -2322,6 +2335,9 @@ export type GetCustomerOrdersResponses = {
|
|
|
2322
2335
|
data?: Array<OrderResponse>;
|
|
2323
2336
|
links?: ResponsePageLinks;
|
|
2324
2337
|
meta?: ResponseMetaOrders;
|
|
2338
|
+
included?: {
|
|
2339
|
+
items?: Array<OrderItemResponse>;
|
|
2340
|
+
};
|
|
2325
2341
|
};
|
|
2326
2342
|
};
|
|
2327
2343
|
export type GetCustomerOrdersResponse = GetCustomerOrdersResponses[keyof GetCustomerOrdersResponses];
|