@epcc-sdk/sdks-shopper 0.0.23 → 0.0.24

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.
@@ -1227,14 +1227,23 @@ export declare const getAnOrderQueryKey: (options: Options<GetAnOrderData>) => (
1227
1227
  })[];
1228
1228
  export declare const getAnOrderOptions: (options: Options<GetAnOrderData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").ResponseData & {
1229
1229
  data?: import("../types.gen").OrderResponse;
1230
+ included?: {
1231
+ items?: Array<import("../types.gen").OrderItemResponse>;
1232
+ };
1230
1233
  }, Error, import("../types.gen").ResponseData & {
1231
1234
  data?: import("../types.gen").OrderResponse;
1235
+ included?: {
1236
+ items?: Array<import("../types.gen").OrderItemResponse>;
1237
+ };
1232
1238
  }, (Pick<Options<GetAnOrderData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
1233
1239
  _id: string;
1234
1240
  _infinite?: boolean;
1235
1241
  })[]>, "queryFn"> & {
1236
1242
  queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").ResponseData & {
1237
1243
  data?: import("../types.gen").OrderResponse;
1244
+ included?: {
1245
+ items?: Array<import("../types.gen").OrderItemResponse>;
1246
+ };
1238
1247
  }, (Pick<Options<GetAnOrderData>, "body" | "headers" | "path" | "query" | "baseUrl"> & {
1239
1248
  _id: string;
1240
1249
  _infinite?: boolean;
@@ -1246,6 +1255,9 @@ export declare const getAnOrderOptions: (options: Options<GetAnOrderData>) => im
1246
1255
  })[] & {
1247
1256
  [dataTagSymbol]: import("../types.gen").ResponseData & {
1248
1257
  data?: import("../types.gen").OrderResponse;
1258
+ included?: {
1259
+ items?: Array<import("../types.gen").OrderItemResponse>;
1260
+ };
1249
1261
  };
1250
1262
  [dataTagErrorSymbol]: Error;
1251
1263
  };
@@ -2057,6 +2057,9 @@ export declare const getCustomerOrders: <ThrowOnError extends boolean = false>(o
2057
2057
  */
2058
2058
  export declare const getAnOrder: <ThrowOnError extends boolean = false>(options: Options<GetAnOrderData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").ResponseData & {
2059
2059
  data?: import("./types.gen").OrderResponse;
2060
+ included?: {
2061
+ items?: Array<import("./types.gen").OrderItemResponse>;
2062
+ };
2060
2063
  }, import("./types.gen").ResponseError, ThrowOnError>;
2061
2064
  /**
2062
2065
  * Update an Order
@@ -2959,6 +2959,16 @@ export type OrderResponse = {
2959
2959
  meta?: OrderMeta;
2960
2960
  billing_address?: BillingAddress;
2961
2961
  contact?: Contact;
2962
+ customer?: {
2963
+ /**
2964
+ * The name of the customer.
2965
+ */
2966
+ name?: string;
2967
+ /**
2968
+ * The email address of the customer.
2969
+ */
2970
+ email?: string;
2971
+ };
2962
2972
  shipping_address?: ShippingAddress;
2963
2973
  relationships?: {
2964
2974
  items?: RelationshipArray;
@@ -8611,7 +8621,20 @@ export type GetAnOrderData = {
8611
8621
  */
8612
8622
  orderID: string;
8613
8623
  };
8614
- query?: never;
8624
+ query?: {
8625
+ /**
8626
+ * The number of records to offset the results by.
8627
+ */
8628
+ "page[offset]"?: BigInt;
8629
+ /**
8630
+ * The number of records per page. The maximum limit is 100.
8631
+ */
8632
+ "page[limit]"?: BigInt;
8633
+ /**
8634
+ * A comma-separated list of resources to include. See [Characteristics of Include Parameter](/guides/Getting-Started/includes#characteristics-of-include-parameter).
8635
+ */
8636
+ include?: string;
8637
+ };
8615
8638
  url: "/v2/orders/{orderID}";
8616
8639
  };
8617
8640
  export type GetAnOrderErrors = {
@@ -8627,6 +8650,9 @@ export type GetAnOrderResponses = {
8627
8650
  */
8628
8651
  200: ResponseData & {
8629
8652
  data?: OrderResponse;
8653
+ included?: {
8654
+ items?: Array<OrderItemResponse>;
8655
+ };
8630
8656
  };
8631
8657
  };
8632
8658
  export type GetAnOrderResponse = GetAnOrderResponses[keyof GetAnOrderResponses];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epcc-sdk/sdks-shopper",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "exports": {