@medusajs/types 1.8.4 → 1.8.5-nextjs-20230507103235

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.
@@ -17,6 +17,15 @@ import { NumericalComparisonOperator, StringComparisonOperator } from "../common
17
17
  * mid_code:
18
18
  * description: The Manufacturers Identification code that identifies the manufacturer of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.
19
19
  * type: string
20
+ * title:
21
+ * description: "Title of the inventory item"
22
+ * type: string
23
+ * description:
24
+ * description: "Description of the inventory item"
25
+ * type: string
26
+ * thumbnail:
27
+ * description: "Thumbnail for the inventory item"
28
+ * type: string
20
29
  * material:
21
30
  * description: The material and composition that the Inventory Item is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.
22
31
  * type: string
@@ -64,6 +73,9 @@ export declare type InventoryItemDTO = {
64
73
  length?: number | null;
65
74
  height?: number | null;
66
75
  width?: number | null;
76
+ title?: string | null;
77
+ description?: string | null;
78
+ thumbnail?: string | null;
67
79
  metadata?: Record<string, unknown> | null;
68
80
  created_at: string | Date;
69
81
  updated_at: string | Date;
@@ -89,6 +101,12 @@ export declare type InventoryItemDTO = {
89
101
  * inventory_item_id:
90
102
  * description: "The id of the inventory item the reservation relates to"
91
103
  * type: string
104
+ * description:
105
+ * description: "Description of the reservation item"
106
+ * type: string
107
+ * created_by:
108
+ * description: "UserId of user who created the reservation item"
109
+ * type: string
92
110
  * quantity:
93
111
  * description: "The id of the reservation item"
94
112
  * type: number
@@ -115,6 +133,8 @@ export declare type ReservationItemDTO = {
115
133
  inventory_item_id: string;
116
134
  quantity: number;
117
135
  line_item_id?: string | null;
136
+ description?: string | null;
137
+ created_by?: string | null;
118
138
  metadata: Record<string, unknown> | null;
119
139
  created_at: string | Date;
120
140
  updated_at: string | Date;
@@ -177,6 +197,8 @@ export declare type FilterableReservationItemProps = {
177
197
  line_item_id?: string | string[];
178
198
  inventory_item_id?: string | string[];
179
199
  location_id?: string | string[];
200
+ description?: string;
201
+ created_by?: string | string[];
180
202
  quantity?: number | NumericalComparisonOperator;
181
203
  };
182
204
  export declare type FilterableInventoryItemProps = {
@@ -197,6 +219,9 @@ export declare type CreateInventoryItemInput = {
197
219
  length?: number;
198
220
  height?: number;
199
221
  width?: number;
222
+ title?: string;
223
+ description?: string;
224
+ thumbnail?: string;
200
225
  metadata?: Record<string, unknown> | null;
201
226
  hs_code?: string;
202
227
  requires_shipping?: boolean;
@@ -206,8 +231,10 @@ export declare type CreateReservationItemInput = {
206
231
  inventory_item_id: string;
207
232
  location_id: string;
208
233
  quantity: number;
209
- metadata?: Record<string, unknown> | null;
234
+ description?: string;
235
+ created_by?: string;
210
236
  external_id?: string;
237
+ metadata?: Record<string, unknown> | null;
211
238
  };
212
239
  export declare type FilterableInventoryLevelProps = {
213
240
  inventory_item_id?: string | string[];
@@ -230,6 +257,7 @@ export declare type UpdateInventoryLevelInput = {
230
257
  export declare type UpdateReservationItemInput = {
231
258
  quantity?: number;
232
259
  location_id?: string;
260
+ description?: string;
233
261
  metadata?: Record<string, unknown> | null;
234
262
  };
235
263
  export declare type ReserveQuantityContext = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "1.8.4",
3
+ "version": "1.8.5-nextjs-20230507103235",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "repository": {