@matochmat/api-client 1.7.0-next.13 → 1.7.0-next.14

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.
@@ -1,10 +1,16 @@
1
1
  import type { ApiV2OrderType } from '../v2/order';
2
2
  import type { ApiV3BaseResponseType } from '../v3/baseResponse';
3
+ import type { ApiV3OrderItemType } from '../v3/orderItem';
3
4
  export { apiV2OrderApiEndpointSlug as apiV3OrderApiEndpointSlug } from '../v2/order';
4
5
  /**
5
6
  * Type for the individual array items in v3 of the API for the order endpoint.
6
7
  */
7
- export type ApiV3OrderType = ApiV2OrderType;
8
+ export type ApiV3OrderType = ApiV2OrderType & {
9
+ /**
10
+ * List of order items.
11
+ */
12
+ orderItemList: ApiV3OrderItemType[];
13
+ };
8
14
  /**
9
15
  * The API response type for order items.
10
16
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@matochmat/api-client",
3
3
  "description": "API types and helper functionality for the Mat och Mat API.",
4
- "version": "1.7.0-next.13",
4
+ "version": "1.7.0-next.14",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
7
7
  "types": "dist/index.d.ts",