@unchainedshop/api 4.3.5 → 4.3.6
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/lib/chat/generateImageHandler.js +1 -1
- package/lib/chat/generateImageHandler.js.map +1 -1
- package/lib/chat/utils.js +1 -1
- package/lib/chat/utils.js.map +1 -1
- package/lib/express/chatHandler.d.ts.map +1 -1
- package/lib/express/chatHandler.js +7 -3
- package/lib/express/chatHandler.js.map +1 -1
- package/lib/express/createMCPMiddleware.d.ts +1 -1
- package/lib/express/createMCPMiddleware.d.ts.map +1 -1
- package/lib/express/createMCPMiddleware.js +21 -4
- package/lib/express/createMCPMiddleware.js.map +1 -1
- package/lib/fastify/chatHandler.d.ts.map +1 -1
- package/lib/fastify/chatHandler.js +7 -3
- package/lib/fastify/chatHandler.js.map +1 -1
- package/lib/fastify/index.d.ts.map +1 -1
- package/lib/fastify/index.js +1 -4
- package/lib/fastify/index.js.map +1 -1
- package/lib/fastify/mcpHandler.d.ts +1 -1
- package/lib/fastify/mcpHandler.d.ts.map +1 -1
- package/lib/fastify/mcpHandler.js +20 -5
- package/lib/fastify/mcpHandler.js.map +1 -1
- package/lib/mcp/index.d.ts +2 -2
- package/lib/mcp/index.d.ts.map +1 -1
- package/lib/mcp/index.js +1 -6
- package/lib/mcp/index.js.map +1 -1
- package/lib/mcp/resources/localization.d.ts +2 -2
- package/lib/mcp/resources/localization.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/index.d.ts +2 -2
- package/lib/mcp/tools/assortment/index.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/schemas.d.ts +167 -724
- package/lib/mcp/tools/assortment/schemas.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/schemas.js +1 -1
- package/lib/mcp/tools/assortment/schemas.js.map +1 -1
- package/lib/mcp/tools/filter/index.d.ts +2 -2
- package/lib/mcp/tools/filter/index.d.ts.map +1 -1
- package/lib/mcp/tools/filter/schemas.d.ts +100 -413
- package/lib/mcp/tools/filter/schemas.d.ts.map +1 -1
- package/lib/mcp/tools/localization/index.d.ts +2 -2
- package/lib/mcp/tools/localization/index.d.ts.map +1 -1
- package/lib/mcp/tools/localization/schemas.d.ts +85 -224
- package/lib/mcp/tools/localization/schemas.d.ts.map +1 -1
- package/lib/mcp/tools/localization/schemas.js +3 -3
- package/lib/mcp/tools/localization/schemas.js.map +1 -1
- package/lib/mcp/tools/order/index.d.ts +1 -1
- package/lib/mcp/tools/order/index.d.ts.map +1 -1
- package/lib/mcp/tools/order/schemas.d.ts +160 -290
- package/lib/mcp/tools/order/schemas.d.ts.map +1 -1
- package/lib/mcp/tools/order/schemas.js +16 -10
- package/lib/mcp/tools/order/schemas.js.map +1 -1
- package/lib/mcp/tools/product/index.d.ts +1 -1
- package/lib/mcp/tools/product/index.d.ts.map +1 -1
- package/lib/mcp/tools/product/schemas.d.ts +373 -2153
- package/lib/mcp/tools/product/schemas.d.ts.map +1 -1
- package/lib/mcp/tools/product/schemas.js +5 -2
- package/lib/mcp/tools/product/schemas.js.map +1 -1
- package/lib/mcp/tools/provider/index.d.ts +1 -1
- package/lib/mcp/tools/provider/index.d.ts.map +1 -1
- package/lib/mcp/tools/provider/schemas.d.ts +193 -194
- package/lib/mcp/tools/provider/schemas.d.ts.map +1 -1
- package/lib/mcp/tools/provider/schemas.js +4 -4
- package/lib/mcp/tools/provider/schemas.js.map +1 -1
- package/lib/mcp/tools/quotation/index.d.ts +1 -1
- package/lib/mcp/tools/quotation/index.d.ts.map +1 -1
- package/lib/mcp/tools/quotation/schemas.d.ts +78 -172
- package/lib/mcp/tools/quotation/schemas.d.ts.map +1 -1
- package/lib/mcp/tools/quotation/schemas.js +4 -4
- package/lib/mcp/tools/quotation/schemas.js.map +1 -1
- package/lib/mcp/tools/system/index.d.ts +1 -1
- package/lib/mcp/tools/system/index.d.ts.map +1 -1
- package/lib/mcp/tools/system/schemas.d.ts +96 -346
- package/lib/mcp/tools/system/schemas.d.ts.map +1 -1
- package/lib/mcp/tools/users/index.d.ts +1 -1
- package/lib/mcp/tools/users/index.d.ts.map +1 -1
- package/lib/mcp/tools/users/schemas.d.ts +125 -789
- package/lib/mcp/tools/users/schemas.d.ts.map +1 -1
- package/lib/mcp/utils/sharedSchemas.d.ts +21 -29
- package/lib/mcp/utils/sharedSchemas.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/verifyWeb3Address.js.map +1 -1
- package/package.json +6 -6
- package/src/chat/generateImageHandler.ts +1 -1
- package/src/chat/utils.ts +1 -1
- package/src/express/chatHandler.ts +12 -3
- package/src/express/createMCPMiddleware.ts +36 -8
- package/src/fastify/chatHandler.ts +10 -3
- package/src/fastify/index.ts +2 -4
- package/src/fastify/mcpHandler.ts +33 -9
- package/src/mcp/index.ts +3 -9
- package/src/mcp/resources/localization.ts +2 -2
- package/src/mcp/tools/assortment/index.ts +2 -2
- package/src/mcp/tools/assortment/schemas.ts +1 -1
- package/src/mcp/tools/filter/index.ts +2 -2
- package/src/mcp/tools/localization/index.ts +2 -2
- package/src/mcp/tools/localization/schemas.ts +4 -3
- package/src/mcp/tools/order/index.ts +1 -1
- package/src/mcp/tools/order/schemas.ts +18 -10
- package/src/mcp/tools/product/index.ts +1 -1
- package/src/mcp/tools/product/schemas.ts +5 -2
- package/src/mcp/tools/provider/index.ts +1 -1
- package/src/mcp/tools/provider/schemas.ts +5 -4
- package/src/mcp/tools/quotation/index.ts +1 -1
- package/src/mcp/tools/quotation/schemas.ts +4 -4
- package/src/mcp/tools/system/index.ts +1 -1
- package/src/mcp/tools/users/index.ts +1 -1
- package/src/resolvers/mutations/accounts/verifyWeb3Address.ts +3 -3
- package/lib/express/createApolloMiddleware.d.ts +0 -4
- package/lib/express/createApolloMiddleware.d.ts.map +0 -1
- package/lib/express/createApolloMiddleware.js +0 -36
- package/lib/express/createApolloMiddleware.js.map +0 -1
- package/lib/express/createSingleSignOnMiddleware.d.ts +0 -5
- package/lib/express/createSingleSignOnMiddleware.d.ts.map +0 -1
- package/lib/express/createSingleSignOnMiddleware.js +0 -71
- package/lib/express/createSingleSignOnMiddleware.js.map +0 -1
- package/lib/hashPassword.d.ts +0 -2
- package/lib/hashPassword.d.ts.map +0 -1
- package/lib/hashPassword.js +0 -5
- package/lib/hashPassword.js.map +0 -1
- package/lib/loaders/productLoaderBySKU.d.ts +0 -10
- package/lib/loaders/productLoaderBySKU.d.ts.map +0 -1
- package/lib/loaders/productLoaderBySKU.js +0 -16
- package/lib/loaders/productLoaderBySKU.js.map +0 -1
- package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.d.ts +0 -3
- package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.js +0 -6
- package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.js.map +0 -1
- package/lib/resolvers/mutations/accounts/disableTOTP.d.ts +0 -6
- package/lib/resolvers/mutations/accounts/disableTOTP.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/disableTOTP.js +0 -27
- package/lib/resolvers/mutations/accounts/disableTOTP.js.map +0 -1
- package/lib/resolvers/mutations/accounts/enableTOTP.d.ts +0 -6
- package/lib/resolvers/mutations/accounts/enableTOTP.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/enableTOTP.js +0 -20
- package/lib/resolvers/mutations/accounts/enableTOTP.js.map +0 -1
- package/lib/resolvers/mutations/accounts/linkOAuthAccount.d.ts +0 -7
- package/lib/resolvers/mutations/accounts/linkOAuthAccount.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/linkOAuthAccount.js +0 -30
- package/lib/resolvers/mutations/accounts/linkOAuthAccount.js.map +0 -1
- package/lib/resolvers/mutations/accounts/loginWithOAuth.d.ts +0 -8
- package/lib/resolvers/mutations/accounts/loginWithOAuth.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/loginWithOAuth.js +0 -25
- package/lib/resolvers/mutations/accounts/loginWithOAuth.js.map +0 -1
- package/lib/resolvers/mutations/accounts/logoutAllSessions.d.ts +0 -5
- package/lib/resolvers/mutations/accounts/logoutAllSessions.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/logoutAllSessions.js +0 -20
- package/lib/resolvers/mutations/accounts/logoutAllSessions.js.map +0 -1
- package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.d.ts +0 -6
- package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.js +0 -13
- package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.js.map +0 -1
- package/lib/resolvers/mutations/assortments/addAssortmentMedia.d.ts +0 -6
- package/lib/resolvers/mutations/assortments/addAssortmentMedia.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/addAssortmentMedia.js +0 -18
- package/lib/resolvers/mutations/assortments/addAssortmentMedia.js.map +0 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentCard.d.ts +0 -6
- package/lib/resolvers/mutations/orders/updateOrderPaymentCard.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentCard.js +0 -26
- package/lib/resolvers/mutations/orders/updateOrderPaymentCard.js.map +0 -1
- package/lib/resolvers/mutations/products/addProductMedia.d.ts +0 -6
- package/lib/resolvers/mutations/products/addProductMedia.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/addProductMedia.js +0 -18
- package/lib/resolvers/mutations/products/addProductMedia.js.map +0 -1
- package/lib/resolvers/mutations/users/updateUserAvatar.d.ts +0 -6
- package/lib/resolvers/mutations/users/updateUserAvatar.d.ts.map +0 -1
- package/lib/resolvers/mutations/users/updateUserAvatar.js +0 -22
- package/lib/resolvers/mutations/users/updateUserAvatar.js.map +0 -1
- package/lib/resolvers/mutations/utils/getOrderCart.d.ts +0 -7
- package/lib/resolvers/mutations/utils/getOrderCart.d.ts.map +0 -1
- package/lib/resolvers/mutations/utils/getOrderCart.js +0 -13
- package/lib/resolvers/mutations/utils/getOrderCart.js.map +0 -1
- package/lib/resolvers/type/color-types.d.ts +0 -18
- package/lib/resolvers/type/color-types.d.ts.map +0 -1
- package/lib/resolvers/type/color-types.js +0 -31
- package/lib/resolvers/type/color-types.js.map +0 -1
- package/lib/resolvers/type/dispatch-types.d.ts +0 -15
- package/lib/resolvers/type/dispatch-types.d.ts.map +0 -1
- package/lib/resolvers/type/dispatch-types.js +0 -16
- package/lib/resolvers/type/dispatch-types.js.map +0 -1
- package/lib/resolvers/type/oauth-account.d.ts +0 -6
- package/lib/resolvers/type/oauth-account.d.ts.map +0 -1
- package/lib/resolvers/type/oauth-account.js +0 -7
- package/lib/resolvers/type/oauth-account.js.map +0 -1
- package/lib/resolvers/type/oauth-provider.d.ts +0 -6
- package/lib/resolvers/type/oauth-provider.d.ts.map +0 -1
- package/lib/resolvers/type/oauth-provider.js +0 -6
- package/lib/resolvers/type/oauth-provider.js.map +0 -1
- package/lib/resolvers/type/stock-types.d.ts +0 -14
- package/lib/resolvers/type/stock-types.d.ts.map +0 -1
- package/lib/resolvers/type/stock-types.js +0 -15
- package/lib/resolvers/type/stock-types.js.map +0 -1
- package/lib/user-context.d.ts +0 -7
- package/lib/user-context.d.ts.map +0 -1
- package/lib/user-context.js +0 -76
- package/lib/user-context.js.map +0 -1
|
@@ -1,382 +1,252 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const OrderStatusEnum: z.ZodEnum<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
export declare const OrderStatusEnum: z.ZodEnum<{
|
|
3
|
+
PENDING: "PENDING";
|
|
4
|
+
CONFIRMED: "CONFIRMED";
|
|
5
|
+
SHIPPED: "SHIPPED";
|
|
6
|
+
DELIVERED: "DELIVERED";
|
|
7
|
+
CANCELLED: "CANCELLED";
|
|
8
|
+
}>;
|
|
9
|
+
export declare const PaymentProviderTypeEnum: z.ZodEnum<{
|
|
10
|
+
INVOICE: "INVOICE";
|
|
11
|
+
CARD: "CARD";
|
|
12
|
+
GENERIC: "GENERIC";
|
|
13
|
+
}>;
|
|
14
|
+
export declare const DeliveryProviderTypeEnum: z.ZodEnum<{
|
|
15
|
+
SHIPPING: "SHIPPING";
|
|
16
|
+
PICKUP: "PICKUP";
|
|
17
|
+
LOCAL: "LOCAL";
|
|
18
|
+
}>;
|
|
19
|
+
export declare const SortDirectionEnum: z.ZodEnum<{
|
|
20
|
+
ASC: "ASC";
|
|
21
|
+
DESC: "DESC";
|
|
22
|
+
}>;
|
|
6
23
|
export declare const SortOptionInput: z.ZodObject<{
|
|
7
24
|
key: z.ZodString;
|
|
8
|
-
value: z.ZodEnum<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
key: string;
|
|
14
|
-
value: "ASC" | "DESC";
|
|
15
|
-
}>;
|
|
25
|
+
value: z.ZodEnum<{
|
|
26
|
+
ASC: "ASC";
|
|
27
|
+
DESC: "DESC";
|
|
28
|
+
}>;
|
|
29
|
+
}, z.core.$strict>;
|
|
16
30
|
export declare const DateFilterInput: z.ZodObject<{
|
|
17
31
|
from: z.ZodOptional<z.ZodString>;
|
|
18
32
|
to: z.ZodOptional<z.ZodString>;
|
|
19
|
-
},
|
|
20
|
-
from?: string | undefined;
|
|
21
|
-
to?: string | undefined;
|
|
22
|
-
}, {
|
|
23
|
-
from?: string | undefined;
|
|
24
|
-
to?: string | undefined;
|
|
25
|
-
}>;
|
|
33
|
+
}, z.core.$strip>;
|
|
26
34
|
export declare const actionValidators: {
|
|
27
35
|
readonly LIST: z.ZodObject<{
|
|
28
36
|
includeCarts: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
-
paymentProviderTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
30
|
-
|
|
37
|
+
paymentProviderTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
38
|
+
INVOICE: "INVOICE";
|
|
39
|
+
CARD: "CARD";
|
|
40
|
+
GENERIC: "GENERIC";
|
|
41
|
+
}>>>;
|
|
42
|
+
deliveryProviderTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
43
|
+
SHIPPING: "SHIPPING";
|
|
44
|
+
PICKUP: "PICKUP";
|
|
45
|
+
LOCAL: "LOCAL";
|
|
46
|
+
}>>>;
|
|
31
47
|
dateRange: z.ZodOptional<z.ZodObject<{
|
|
32
48
|
from: z.ZodOptional<z.ZodString>;
|
|
33
49
|
to: z.ZodOptional<z.ZodString>;
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
paymentProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52
|
+
deliveryProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
53
|
+
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
54
|
+
PENDING: "PENDING";
|
|
55
|
+
CONFIRMED: "CONFIRMED";
|
|
56
|
+
SHIPPED: "SHIPPED";
|
|
57
|
+
DELIVERED: "DELIVERED";
|
|
58
|
+
CANCELLED: "CANCELLED";
|
|
59
|
+
}>>>;
|
|
44
60
|
queryString: z.ZodOptional<z.ZodString>;
|
|
45
61
|
includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
46
62
|
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
63
|
key: z.ZodString;
|
|
48
|
-
value: z.ZodEnum<
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}, {
|
|
53
|
-
key: string;
|
|
54
|
-
value: string;
|
|
55
|
-
}>, "many">>;
|
|
64
|
+
value: z.ZodEnum<{
|
|
65
|
+
[x: string]: string;
|
|
66
|
+
}>;
|
|
67
|
+
}, z.core.$strip>>>;
|
|
56
68
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
57
69
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
58
|
-
},
|
|
59
|
-
includeInactive: boolean;
|
|
60
|
-
sort?: {
|
|
61
|
-
key: string;
|
|
62
|
-
value: string;
|
|
63
|
-
}[] | undefined;
|
|
64
|
-
status?: ("PENDING" | "CONFIRMED" | "SHIPPED" | "DELIVERED" | "CANCELLED")[] | undefined;
|
|
65
|
-
queryString?: string | undefined;
|
|
66
|
-
limit?: number | undefined;
|
|
67
|
-
offset?: number | undefined;
|
|
68
|
-
paymentProviderIds?: string[] | undefined;
|
|
69
|
-
deliveryProviderIds?: string[] | undefined;
|
|
70
|
-
includeCarts?: boolean | undefined;
|
|
71
|
-
dateRange?: {
|
|
72
|
-
from?: string | undefined;
|
|
73
|
-
to?: string | undefined;
|
|
74
|
-
} | undefined;
|
|
75
|
-
paymentProviderTypes?: ("INVOICE" | "CARD" | "GENERIC")[] | undefined;
|
|
76
|
-
deliveryProviderTypes?: ("SHIPPING" | "PICKUP" | "LOCAL")[] | undefined;
|
|
77
|
-
}, {
|
|
78
|
-
sort?: {
|
|
79
|
-
key: string;
|
|
80
|
-
value: string;
|
|
81
|
-
}[] | undefined;
|
|
82
|
-
status?: ("PENDING" | "CONFIRMED" | "SHIPPED" | "DELIVERED" | "CANCELLED")[] | undefined;
|
|
83
|
-
includeInactive?: boolean | undefined;
|
|
84
|
-
queryString?: string | undefined;
|
|
85
|
-
limit?: number | undefined;
|
|
86
|
-
offset?: number | undefined;
|
|
87
|
-
paymentProviderIds?: string[] | undefined;
|
|
88
|
-
deliveryProviderIds?: string[] | undefined;
|
|
89
|
-
includeCarts?: boolean | undefined;
|
|
90
|
-
dateRange?: {
|
|
91
|
-
from?: string | undefined;
|
|
92
|
-
to?: string | undefined;
|
|
93
|
-
} | undefined;
|
|
94
|
-
paymentProviderTypes?: ("INVOICE" | "CARD" | "GENERIC")[] | undefined;
|
|
95
|
-
deliveryProviderTypes?: ("SHIPPING" | "PICKUP" | "LOCAL")[] | undefined;
|
|
96
|
-
}>;
|
|
70
|
+
}, z.core.$strip>;
|
|
97
71
|
readonly SALES_SUMMARY: z.ZodObject<{
|
|
98
72
|
days: z.ZodOptional<z.ZodNumber>;
|
|
99
|
-
paymentProviderIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
100
|
-
deliveryProviderIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
101
|
-
status: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
73
|
+
paymentProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
74
|
+
deliveryProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
75
|
+
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
76
|
+
PENDING: "PENDING";
|
|
77
|
+
CONFIRMED: "CONFIRMED";
|
|
78
|
+
SHIPPED: "SHIPPED";
|
|
79
|
+
DELIVERED: "DELIVERED";
|
|
80
|
+
CANCELLED: "CANCELLED";
|
|
81
|
+
}>>>;
|
|
102
82
|
from: z.ZodOptional<z.ZodString>;
|
|
103
83
|
to: z.ZodOptional<z.ZodString>;
|
|
104
|
-
},
|
|
105
|
-
status?: ("PENDING" | "CONFIRMED" | "SHIPPED" | "DELIVERED" | "CANCELLED")[] | undefined;
|
|
106
|
-
paymentProviderIds?: string[] | undefined;
|
|
107
|
-
deliveryProviderIds?: string[] | undefined;
|
|
108
|
-
from?: string | undefined;
|
|
109
|
-
to?: string | undefined;
|
|
110
|
-
days?: number | undefined;
|
|
111
|
-
}, {
|
|
112
|
-
status?: ("PENDING" | "CONFIRMED" | "SHIPPED" | "DELIVERED" | "CANCELLED")[] | undefined;
|
|
113
|
-
paymentProviderIds?: string[] | undefined;
|
|
114
|
-
deliveryProviderIds?: string[] | undefined;
|
|
115
|
-
from?: string | undefined;
|
|
116
|
-
to?: string | undefined;
|
|
117
|
-
days?: number | undefined;
|
|
118
|
-
}>;
|
|
84
|
+
}, z.core.$strip>;
|
|
119
85
|
readonly MONTHLY_BREAKDOWN: z.ZodObject<{
|
|
120
|
-
paymentProviderIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
121
|
-
deliveryProviderIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
122
|
-
status: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
86
|
+
paymentProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
87
|
+
deliveryProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
88
|
+
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
89
|
+
PENDING: "PENDING";
|
|
90
|
+
CONFIRMED: "CONFIRMED";
|
|
91
|
+
SHIPPED: "SHIPPED";
|
|
92
|
+
DELIVERED: "DELIVERED";
|
|
93
|
+
CANCELLED: "CANCELLED";
|
|
94
|
+
}>>>;
|
|
123
95
|
from: z.ZodOptional<z.ZodString>;
|
|
124
96
|
to: z.ZodOptional<z.ZodString>;
|
|
125
|
-
},
|
|
126
|
-
status?: ("PENDING" | "CONFIRMED" | "SHIPPED" | "DELIVERED" | "CANCELLED")[] | undefined;
|
|
127
|
-
paymentProviderIds?: string[] | undefined;
|
|
128
|
-
deliveryProviderIds?: string[] | undefined;
|
|
129
|
-
from?: string | undefined;
|
|
130
|
-
to?: string | undefined;
|
|
131
|
-
}, {
|
|
132
|
-
status?: ("PENDING" | "CONFIRMED" | "SHIPPED" | "DELIVERED" | "CANCELLED")[] | undefined;
|
|
133
|
-
paymentProviderIds?: string[] | undefined;
|
|
134
|
-
deliveryProviderIds?: string[] | undefined;
|
|
135
|
-
from?: string | undefined;
|
|
136
|
-
to?: string | undefined;
|
|
137
|
-
}>;
|
|
97
|
+
}, z.core.$strip>;
|
|
138
98
|
readonly TOP_CUSTOMERS: z.ZodObject<{
|
|
139
99
|
customerStatus: z.ZodOptional<z.ZodString>;
|
|
140
100
|
from: z.ZodOptional<z.ZodString>;
|
|
141
101
|
to: z.ZodOptional<z.ZodString>;
|
|
142
102
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
143
103
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
144
|
-
},
|
|
145
|
-
limit?: number | undefined;
|
|
146
|
-
offset?: number | undefined;
|
|
147
|
-
from?: string | undefined;
|
|
148
|
-
to?: string | undefined;
|
|
149
|
-
customerStatus?: string | undefined;
|
|
150
|
-
}, {
|
|
151
|
-
limit?: number | undefined;
|
|
152
|
-
offset?: number | undefined;
|
|
153
|
-
from?: string | undefined;
|
|
154
|
-
to?: string | undefined;
|
|
155
|
-
customerStatus?: string | undefined;
|
|
156
|
-
}>;
|
|
104
|
+
}, z.core.$strip>;
|
|
157
105
|
readonly TOP_PRODUCTS: z.ZodObject<{
|
|
158
106
|
from: z.ZodOptional<z.ZodString>;
|
|
159
107
|
to: z.ZodOptional<z.ZodString>;
|
|
160
108
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
161
109
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
162
|
-
},
|
|
163
|
-
limit?: number | undefined;
|
|
164
|
-
offset?: number | undefined;
|
|
165
|
-
from?: string | undefined;
|
|
166
|
-
to?: string | undefined;
|
|
167
|
-
}, {
|
|
168
|
-
limit?: number | undefined;
|
|
169
|
-
offset?: number | undefined;
|
|
170
|
-
from?: string | undefined;
|
|
171
|
-
to?: string | undefined;
|
|
172
|
-
}>;
|
|
110
|
+
}, z.core.$strip>;
|
|
173
111
|
readonly GET_CART: z.ZodObject<{
|
|
174
112
|
userId: z.ZodString;
|
|
175
113
|
orderNumber: z.ZodOptional<z.ZodString>;
|
|
176
|
-
},
|
|
177
|
-
|
|
178
|
-
orderNumber?: string | undefined;
|
|
179
|
-
}, {
|
|
180
|
-
userId: string;
|
|
181
|
-
orderNumber?: string | undefined;
|
|
182
|
-
}>;
|
|
183
|
-
readonly GET: z.ZodEffects<z.ZodObject<{
|
|
114
|
+
}, z.core.$strip>;
|
|
115
|
+
readonly GET: z.ZodObject<{
|
|
184
116
|
orderId: z.ZodOptional<z.ZodString>;
|
|
185
117
|
orderNumber: z.ZodOptional<z.ZodString>;
|
|
186
|
-
},
|
|
187
|
-
orderId?: string | undefined;
|
|
188
|
-
orderNumber?: string | undefined;
|
|
189
|
-
}, {
|
|
190
|
-
orderId?: string | undefined;
|
|
191
|
-
orderNumber?: string | undefined;
|
|
192
|
-
}>, {
|
|
193
|
-
orderId?: string | undefined;
|
|
194
|
-
orderNumber?: string | undefined;
|
|
195
|
-
}, {
|
|
196
|
-
orderId?: string | undefined;
|
|
197
|
-
orderNumber?: string | undefined;
|
|
198
|
-
}>;
|
|
118
|
+
}, z.core.$strip>;
|
|
199
119
|
readonly PAY_ORDER: z.ZodObject<{
|
|
200
120
|
orderId: z.ZodString;
|
|
201
|
-
},
|
|
202
|
-
orderId: string;
|
|
203
|
-
}, {
|
|
204
|
-
orderId: string;
|
|
205
|
-
}>;
|
|
121
|
+
}, z.core.$strip>;
|
|
206
122
|
readonly DELIVER_ORDER: z.ZodObject<{
|
|
207
123
|
orderId: z.ZodString;
|
|
208
|
-
},
|
|
209
|
-
orderId: string;
|
|
210
|
-
}, {
|
|
211
|
-
orderId: string;
|
|
212
|
-
}>;
|
|
124
|
+
}, z.core.$strip>;
|
|
213
125
|
readonly CONFIRM_ORDER: z.ZodObject<{
|
|
214
126
|
orderId: z.ZodString;
|
|
215
|
-
paymentContext: z.ZodOptional<z.ZodRecord<z.
|
|
216
|
-
deliveryContext: z.ZodOptional<z.ZodRecord<z.
|
|
127
|
+
paymentContext: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
|
|
128
|
+
deliveryContext: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
|
|
217
129
|
comment: z.ZodOptional<z.ZodString>;
|
|
218
|
-
},
|
|
219
|
-
orderId: string;
|
|
220
|
-
comment?: string | undefined;
|
|
221
|
-
paymentContext?: Record<string, any> | undefined;
|
|
222
|
-
deliveryContext?: Record<string, any> | undefined;
|
|
223
|
-
}, {
|
|
224
|
-
orderId: string;
|
|
225
|
-
comment?: string | undefined;
|
|
226
|
-
paymentContext?: Record<string, any> | undefined;
|
|
227
|
-
deliveryContext?: Record<string, any> | undefined;
|
|
228
|
-
}>;
|
|
130
|
+
}, z.core.$strip>;
|
|
229
131
|
readonly REJECT_ORDER: z.ZodObject<{
|
|
230
132
|
orderId: z.ZodString;
|
|
231
|
-
paymentContext: z.ZodOptional<z.ZodRecord<z.
|
|
232
|
-
deliveryContext: z.ZodOptional<z.ZodRecord<z.
|
|
133
|
+
paymentContext: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
|
|
134
|
+
deliveryContext: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
|
|
233
135
|
comment: z.ZodOptional<z.ZodString>;
|
|
234
|
-
},
|
|
235
|
-
orderId: string;
|
|
236
|
-
comment?: string | undefined;
|
|
237
|
-
paymentContext?: Record<string, any> | undefined;
|
|
238
|
-
deliveryContext?: Record<string, any> | undefined;
|
|
239
|
-
}, {
|
|
240
|
-
orderId: string;
|
|
241
|
-
comment?: string | undefined;
|
|
242
|
-
paymentContext?: Record<string, any> | undefined;
|
|
243
|
-
deliveryContext?: Record<string, any> | undefined;
|
|
244
|
-
}>;
|
|
136
|
+
}, z.core.$strip>;
|
|
245
137
|
};
|
|
246
138
|
export declare const OrderManagementSchema: {
|
|
247
139
|
includeCarts: z.ZodOptional<z.ZodBoolean>;
|
|
248
|
-
paymentProviderTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
249
|
-
|
|
140
|
+
paymentProviderTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
141
|
+
INVOICE: "INVOICE";
|
|
142
|
+
CARD: "CARD";
|
|
143
|
+
GENERIC: "GENERIC";
|
|
144
|
+
}>>>;
|
|
145
|
+
deliveryProviderTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
146
|
+
SHIPPING: "SHIPPING";
|
|
147
|
+
PICKUP: "PICKUP";
|
|
148
|
+
LOCAL: "LOCAL";
|
|
149
|
+
}>>>;
|
|
250
150
|
dateRange: z.ZodOptional<z.ZodObject<{
|
|
251
151
|
from: z.ZodOptional<z.ZodString>;
|
|
252
152
|
to: z.ZodOptional<z.ZodString>;
|
|
253
|
-
},
|
|
254
|
-
from?: string | undefined;
|
|
255
|
-
to?: string | undefined;
|
|
256
|
-
}, {
|
|
257
|
-
from?: string | undefined;
|
|
258
|
-
to?: string | undefined;
|
|
259
|
-
}>>;
|
|
153
|
+
}, z.core.$strip>>;
|
|
260
154
|
days: z.ZodOptional<z.ZodNumber>;
|
|
261
155
|
customerStatus: z.ZodOptional<z.ZodString>;
|
|
262
156
|
orderId: z.ZodOptional<z.ZodString>;
|
|
263
157
|
orderNumber: z.ZodOptional<z.ZodString>;
|
|
264
158
|
userId: z.ZodOptional<z.ZodString>;
|
|
265
|
-
paymentProviderIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
266
|
-
deliveryProviderIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
267
|
-
status: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
159
|
+
paymentProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
160
|
+
deliveryProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
161
|
+
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
162
|
+
PENDING: "PENDING";
|
|
163
|
+
CONFIRMED: "CONFIRMED";
|
|
164
|
+
SHIPPED: "SHIPPED";
|
|
165
|
+
DELIVERED: "DELIVERED";
|
|
166
|
+
CANCELLED: "CANCELLED";
|
|
167
|
+
}>>>;
|
|
268
168
|
from: z.ZodOptional<z.ZodString>;
|
|
269
169
|
to: z.ZodOptional<z.ZodString>;
|
|
270
170
|
queryString: z.ZodOptional<z.ZodString>;
|
|
271
171
|
includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
272
172
|
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
273
173
|
key: z.ZodString;
|
|
274
|
-
value: z.ZodEnum<
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
}, {
|
|
279
|
-
key: string;
|
|
280
|
-
value: string;
|
|
281
|
-
}>, "many">>;
|
|
174
|
+
value: z.ZodEnum<{
|
|
175
|
+
[x: string]: string;
|
|
176
|
+
}>;
|
|
177
|
+
}, z.core.$strip>>>;
|
|
282
178
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
283
179
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
284
|
-
action: z.ZodEnum<
|
|
180
|
+
action: z.ZodEnum<{
|
|
181
|
+
GET: "GET";
|
|
182
|
+
LIST: "LIST";
|
|
183
|
+
SALES_SUMMARY: "SALES_SUMMARY";
|
|
184
|
+
MONTHLY_BREAKDOWN: "MONTHLY_BREAKDOWN";
|
|
185
|
+
TOP_CUSTOMERS: "TOP_CUSTOMERS";
|
|
186
|
+
TOP_PRODUCTS: "TOP_PRODUCTS";
|
|
187
|
+
GET_CART: "GET_CART";
|
|
188
|
+
PAY_ORDER: "PAY_ORDER";
|
|
189
|
+
DELIVER_ORDER: "DELIVER_ORDER";
|
|
190
|
+
CONFIRM_ORDER: "CONFIRM_ORDER";
|
|
191
|
+
REJECT_ORDER: "REJECT_ORDER";
|
|
192
|
+
}>;
|
|
285
193
|
};
|
|
286
194
|
export declare const OrderManagementZodSchema: z.ZodObject<{
|
|
287
195
|
includeCarts: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
-
paymentProviderTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
289
|
-
|
|
196
|
+
paymentProviderTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
197
|
+
INVOICE: "INVOICE";
|
|
198
|
+
CARD: "CARD";
|
|
199
|
+
GENERIC: "GENERIC";
|
|
200
|
+
}>>>;
|
|
201
|
+
deliveryProviderTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
202
|
+
SHIPPING: "SHIPPING";
|
|
203
|
+
PICKUP: "PICKUP";
|
|
204
|
+
LOCAL: "LOCAL";
|
|
205
|
+
}>>>;
|
|
290
206
|
dateRange: z.ZodOptional<z.ZodObject<{
|
|
291
207
|
from: z.ZodOptional<z.ZodString>;
|
|
292
208
|
to: z.ZodOptional<z.ZodString>;
|
|
293
|
-
},
|
|
294
|
-
from?: string | undefined;
|
|
295
|
-
to?: string | undefined;
|
|
296
|
-
}, {
|
|
297
|
-
from?: string | undefined;
|
|
298
|
-
to?: string | undefined;
|
|
299
|
-
}>>;
|
|
209
|
+
}, z.core.$strip>>;
|
|
300
210
|
days: z.ZodOptional<z.ZodNumber>;
|
|
301
211
|
customerStatus: z.ZodOptional<z.ZodString>;
|
|
302
212
|
orderId: z.ZodOptional<z.ZodString>;
|
|
303
213
|
orderNumber: z.ZodOptional<z.ZodString>;
|
|
304
214
|
userId: z.ZodOptional<z.ZodString>;
|
|
305
|
-
paymentProviderIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
306
|
-
deliveryProviderIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
307
|
-
status: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
215
|
+
paymentProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
216
|
+
deliveryProviderIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
217
|
+
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
218
|
+
PENDING: "PENDING";
|
|
219
|
+
CONFIRMED: "CONFIRMED";
|
|
220
|
+
SHIPPED: "SHIPPED";
|
|
221
|
+
DELIVERED: "DELIVERED";
|
|
222
|
+
CANCELLED: "CANCELLED";
|
|
223
|
+
}>>>;
|
|
308
224
|
from: z.ZodOptional<z.ZodString>;
|
|
309
225
|
to: z.ZodOptional<z.ZodString>;
|
|
310
226
|
queryString: z.ZodOptional<z.ZodString>;
|
|
311
227
|
includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
312
228
|
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
313
229
|
key: z.ZodString;
|
|
314
|
-
value: z.ZodEnum<
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
}, {
|
|
319
|
-
key: string;
|
|
320
|
-
value: string;
|
|
321
|
-
}>, "many">>;
|
|
230
|
+
value: z.ZodEnum<{
|
|
231
|
+
[x: string]: string;
|
|
232
|
+
}>;
|
|
233
|
+
}, z.core.$strip>>>;
|
|
322
234
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
323
235
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
324
|
-
action: z.ZodEnum<
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
offset?: number | undefined;
|
|
339
|
-
paymentProviderIds?: string[] | undefined;
|
|
340
|
-
deliveryProviderIds?: string[] | undefined;
|
|
341
|
-
includeCarts?: boolean | undefined;
|
|
342
|
-
dateRange?: {
|
|
343
|
-
from?: string | undefined;
|
|
344
|
-
to?: string | undefined;
|
|
345
|
-
} | undefined;
|
|
346
|
-
from?: string | undefined;
|
|
347
|
-
to?: string | undefined;
|
|
348
|
-
paymentProviderTypes?: ("INVOICE" | "CARD" | "GENERIC")[] | undefined;
|
|
349
|
-
deliveryProviderTypes?: ("SHIPPING" | "PICKUP" | "LOCAL")[] | undefined;
|
|
350
|
-
days?: number | undefined;
|
|
351
|
-
customerStatus?: string | undefined;
|
|
352
|
-
}, {
|
|
353
|
-
action: "GET" | "LIST" | "SALES_SUMMARY" | "MONTHLY_BREAKDOWN" | "TOP_CUSTOMERS" | "TOP_PRODUCTS" | "GET_CART" | "PAY_ORDER" | "DELIVER_ORDER" | "CONFIRM_ORDER" | "REJECT_ORDER";
|
|
354
|
-
sort?: {
|
|
355
|
-
key: string;
|
|
356
|
-
value: string;
|
|
357
|
-
}[] | undefined;
|
|
358
|
-
status?: ("PENDING" | "CONFIRMED" | "SHIPPED" | "DELIVERED" | "CANCELLED")[] | undefined;
|
|
359
|
-
includeInactive?: boolean | undefined;
|
|
360
|
-
userId?: string | undefined;
|
|
361
|
-
orderId?: string | undefined;
|
|
362
|
-
orderNumber?: string | undefined;
|
|
363
|
-
queryString?: string | undefined;
|
|
364
|
-
limit?: number | undefined;
|
|
365
|
-
offset?: number | undefined;
|
|
366
|
-
paymentProviderIds?: string[] | undefined;
|
|
367
|
-
deliveryProviderIds?: string[] | undefined;
|
|
368
|
-
includeCarts?: boolean | undefined;
|
|
369
|
-
dateRange?: {
|
|
370
|
-
from?: string | undefined;
|
|
371
|
-
to?: string | undefined;
|
|
372
|
-
} | undefined;
|
|
373
|
-
from?: string | undefined;
|
|
374
|
-
to?: string | undefined;
|
|
375
|
-
paymentProviderTypes?: ("INVOICE" | "CARD" | "GENERIC")[] | undefined;
|
|
376
|
-
deliveryProviderTypes?: ("SHIPPING" | "PICKUP" | "LOCAL")[] | undefined;
|
|
377
|
-
days?: number | undefined;
|
|
378
|
-
customerStatus?: string | undefined;
|
|
379
|
-
}>;
|
|
236
|
+
action: z.ZodEnum<{
|
|
237
|
+
GET: "GET";
|
|
238
|
+
LIST: "LIST";
|
|
239
|
+
SALES_SUMMARY: "SALES_SUMMARY";
|
|
240
|
+
MONTHLY_BREAKDOWN: "MONTHLY_BREAKDOWN";
|
|
241
|
+
TOP_CUSTOMERS: "TOP_CUSTOMERS";
|
|
242
|
+
TOP_PRODUCTS: "TOP_PRODUCTS";
|
|
243
|
+
GET_CART: "GET_CART";
|
|
244
|
+
PAY_ORDER: "PAY_ORDER";
|
|
245
|
+
DELIVER_ORDER: "DELIVER_ORDER";
|
|
246
|
+
CONFIRM_ORDER: "CONFIRM_ORDER";
|
|
247
|
+
REJECT_ORDER: "REJECT_ORDER";
|
|
248
|
+
}>;
|
|
249
|
+
}, z.core.$strip>;
|
|
380
250
|
export type OrderManagementParams = z.infer<typeof OrderManagementZodSchema>;
|
|
381
251
|
export type ActionName = keyof typeof actionValidators;
|
|
382
252
|
export type Params<T extends ActionName> = z.infer<(typeof actionValidators)[T]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/mcp/tools/order/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/mcp/tools/order/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,eAAe;;;;;;EAAwE,CAAC;AACrG,eAAO,MAAM,uBAAuB;;;;EAAyC,CAAC;AAC9E,eAAO,MAAM,wBAAwB;;;;EAA0C,CAAC;AAChF,eAAO,MAAM,iBAAiB;;;EAA0B,CAAC;AAEzD,eAAO,MAAM,eAAe;;;;;;kBAKjB,CAAC;AAEZ,eAAO,MAAM,eAAe;;;iBAA4B,CAAC;AAEzD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwJnB,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDjC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAkC,CAAC;AACxE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE7E,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,gBAAgB,CAAC;AACvD,MAAM,MAAM,MAAM,CAAC,CAAC,SAAS,UAAU,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACjF,MAAM,MAAM,OAAO,CAAC,CAAC,SAAS,UAAU,IAAI,CAAC,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -74,8 +74,7 @@ export const actionValidators = {
|
|
|
74
74
|
.object({
|
|
75
75
|
orderId: z
|
|
76
76
|
.string({
|
|
77
|
-
|
|
78
|
-
invalid_type_error: 'orderId must be a string',
|
|
77
|
+
error: (issue) => issue.input ? 'orderId is required to pay an order' : 'orderId must be a string',
|
|
79
78
|
})
|
|
80
79
|
.min(1, 'orderId cannot be empty')
|
|
81
80
|
.describe('The unique identifier of the order to mark as PAID'),
|
|
@@ -90,8 +89,9 @@ export const actionValidators = {
|
|
|
90
89
|
.object({
|
|
91
90
|
orderId: z
|
|
92
91
|
.string({
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
error: (issue) => issue.input
|
|
93
|
+
? 'orderId is required to mark an order as delivered'
|
|
94
|
+
: 'orderId must be a string',
|
|
95
95
|
})
|
|
96
96
|
.min(1, 'orderId cannot be empty')
|
|
97
97
|
.describe('The unique identifier of the order to mark as DELIVERED'),
|
|
@@ -104,13 +104,17 @@ export const actionValidators = {
|
|
|
104
104
|
'If these conditions are not satisfied, an appropriate error will be thrown.'),
|
|
105
105
|
CONFIRM_ORDER: z
|
|
106
106
|
.object({
|
|
107
|
-
orderId: z
|
|
107
|
+
orderId: z
|
|
108
|
+
.string({
|
|
109
|
+
error: (issue) => (issue.input ? 'orderId is required' : 'orderId must be a string'),
|
|
110
|
+
})
|
|
111
|
+
.min(1, 'orderId cannot be empty'),
|
|
108
112
|
paymentContext: z
|
|
109
|
-
.record(z.any())
|
|
113
|
+
.record(z.any(), z.any())
|
|
110
114
|
.optional()
|
|
111
115
|
.describe('Optional JSON context related to payment (e.g., transaction details).'),
|
|
112
116
|
deliveryContext: z
|
|
113
|
-
.record(z.any())
|
|
117
|
+
.record(z.any(), z.any())
|
|
114
118
|
.optional()
|
|
115
119
|
.describe('Optional JSON context related to delivery (e.g., shipping info).'),
|
|
116
120
|
comment: z
|
|
@@ -125,15 +129,17 @@ export const actionValidators = {
|
|
|
125
129
|
REJECT_ORDER: z
|
|
126
130
|
.object({
|
|
127
131
|
orderId: z
|
|
128
|
-
.string({
|
|
132
|
+
.string({
|
|
133
|
+
error: (issue) => (issue.input ? 'orderId is required' : 'orderId must be a string'),
|
|
134
|
+
})
|
|
129
135
|
.min(1, 'orderId cannot be empty')
|
|
130
136
|
.describe('The unique identifier of the order to reject.'),
|
|
131
137
|
paymentContext: z
|
|
132
|
-
.record(z.any())
|
|
138
|
+
.record(z.any(), z.any())
|
|
133
139
|
.optional()
|
|
134
140
|
.describe('Optional JSON context related to payment, e.g., transaction adjustments.'),
|
|
135
141
|
deliveryContext: z
|
|
136
|
-
.record(z.any())
|
|
142
|
+
.record(z.any(), z.any())
|
|
137
143
|
.optional()
|
|
138
144
|
.describe('Optional JSON context related to delivery, e.g., shipment adjustments.'),
|
|
139
145
|
comment: z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/mcp/tools/order/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,eAAe,EACf,iBAAiB,GAClB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC;AACrG,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,SAAS,EA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C;SACrB,KAAK,CAAC,wBAAwB,CAAC;SAC/B,QAAQ,EAAE;SACV,QAAQ,CAAC,mCAAmC,CAAC;IAChD,SAAS,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IAEnE,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,GAAG,CAAC;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sEAAsE,CAAC;IACnF,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,6GAA6G,CAC9G;IACH,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wDAAwD,CAAC;IACrG,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;CAClF,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
1
|
+
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
2
|
import { Context } from '../../../context.js';
|
|
3
3
|
export declare const registerProductTools: (server: McpServer, context: Context) => void;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/mcp/tools/product/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/mcp/tools/product/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,eAAO,MAAM,oBAAoB,GAAI,QAAQ,SAAS,EAAE,SAAS,OAAO,SAOvE,CAAC"}
|