@reactionary/core 0.2.15 → 0.2.16
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/package.json
CHANGED
|
@@ -96,7 +96,7 @@ const OrderSearchIdentifierSchema = z.looseObject({
|
|
|
96
96
|
term: z.string().describe("The search term used to find orders. Not all providers may support term-based search for orders."),
|
|
97
97
|
partNumber: z.array(z.string()).optional().describe("An optional list part number to filter orders by specific products. Will be ANDed together."),
|
|
98
98
|
orderStatus: z.array(OrderStatusSchema).optional().describe("An optional list of order statuses to filter the search results."),
|
|
99
|
-
|
|
99
|
+
user: IdentityIdentifierSchema.optional().describe("An optional user ID to filter orders by specific users. Mostly for b2b usecases with hierachial order access."),
|
|
100
100
|
startDate: z.string().optional().describe("An optional start date to filter orders from a specific date onwards. ISO8601"),
|
|
101
101
|
endDate: z.string().optional().describe("An optional end date to filter orders up to a specific date. ISO8601"),
|
|
102
102
|
filters: z.array(z.string()).describe("Additional filters applied to the search results."),
|
|
@@ -137,7 +137,7 @@ export declare const OrderSearchIdentifierSchema: z.ZodObject<{
|
|
|
137
137
|
Shipped: "Shipped";
|
|
138
138
|
Cancelled: "Cancelled";
|
|
139
139
|
}>>>;
|
|
140
|
-
|
|
140
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
141
141
|
userId: z.ZodString;
|
|
142
142
|
}, z.core.$loose>>;
|
|
143
143
|
startDate: z.ZodOptional<z.ZodString>;
|
|
@@ -456,7 +456,7 @@ export declare const OrderSearchResultSchema: z.ZodObject<{
|
|
|
456
456
|
Shipped: "Shipped";
|
|
457
457
|
Cancelled: "Cancelled";
|
|
458
458
|
}>>>;
|
|
459
|
-
|
|
459
|
+
user: z.ZodOptional<z.ZodObject<{
|
|
460
460
|
userId: z.ZodString;
|
|
461
461
|
}, z.z.core.$loose>>;
|
|
462
462
|
startDate: z.ZodOptional<z.ZodString>;
|
|
@@ -9,7 +9,7 @@ export declare const OrderSearchQueryByTermSchema: import("zod").ZodObject<{
|
|
|
9
9
|
Shipped: "Shipped";
|
|
10
10
|
Cancelled: "Cancelled";
|
|
11
11
|
}>>>;
|
|
12
|
-
|
|
12
|
+
user: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
13
13
|
userId: import("zod").ZodString;
|
|
14
14
|
}, import("zod/v4/core").$loose>>;
|
|
15
15
|
startDate: import("zod").ZodOptional<import("zod").ZodString>;
|