@bosonprotocol/agentic-commerce 1.0.0-alpha.58 → 1.0.0-alpha.60

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.
Files changed (64) hide show
  1. package/README.md +14 -104
  2. package/dist/boson/goat-sdk-plugin/examples/anthropic.js +1 -1
  3. package/dist/boson/goat-sdk-plugin/examples/anthropic.js.map +1 -1
  4. package/dist/index.d.ts +0 -3
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +1 -6
  7. package/dist/index.js.map +1 -1
  8. package/package.json +4 -25
  9. package/dist/fermion/goat-sdk-plugin/index.d.ts +0 -3
  10. package/dist/fermion/goat-sdk-plugin/index.d.ts.map +0 -1
  11. package/dist/fermion/goat-sdk-plugin/index.js +0 -7
  12. package/dist/fermion/goat-sdk-plugin/index.js.map +0 -1
  13. package/dist/fermion/index.d.ts +0 -3
  14. package/dist/fermion/index.d.ts.map +0 -1
  15. package/dist/fermion/index.js +0 -8
  16. package/dist/fermion/index.js.map +0 -1
  17. package/dist/fermion/mcp-client/index.d.ts +0 -583
  18. package/dist/fermion/mcp-client/index.d.ts.map +0 -1
  19. package/dist/fermion/mcp-client/index.js +0 -32
  20. package/dist/fermion/mcp-client/index.js.map +0 -1
  21. package/dist/fermion/mcp-server/handlers/custody.d.ts +0 -10
  22. package/dist/fermion/mcp-server/handlers/custody.d.ts.map +0 -1
  23. package/dist/fermion/mcp-server/handlers/custody.js +0 -126
  24. package/dist/fermion/mcp-server/handlers/custody.js.map +0 -1
  25. package/dist/fermion/mcp-server/handlers/email.d.ts +0 -19
  26. package/dist/fermion/mcp-server/handlers/email.d.ts.map +0 -1
  27. package/dist/fermion/mcp-server/handlers/email.js +0 -76
  28. package/dist/fermion/mcp-server/handlers/email.js.map +0 -1
  29. package/dist/fermion/mcp-server/handlers/funds.d.ts +0 -26
  30. package/dist/fermion/mcp-server/handlers/funds.d.ts.map +0 -1
  31. package/dist/fermion/mcp-server/handlers/funds.js +0 -112
  32. package/dist/fermion/mcp-server/handlers/funds.js.map +0 -1
  33. package/dist/fermion/mcp-server/handlers/listings.d.ts +0 -27
  34. package/dist/fermion/mcp-server/handlers/listings.d.ts.map +0 -1
  35. package/dist/fermion/mcp-server/handlers/listings.js +0 -119
  36. package/dist/fermion/mcp-server/handlers/listings.js.map +0 -1
  37. package/dist/fermion/mcp-server/handlers/offers.d.ts +0 -9
  38. package/dist/fermion/mcp-server/handlers/offers.d.ts.map +0 -1
  39. package/dist/fermion/mcp-server/handlers/offers.js +0 -132
  40. package/dist/fermion/mcp-server/handlers/offers.js.map +0 -1
  41. package/dist/fermion/mcp-server/handlers/sdk.d.ts +0 -17
  42. package/dist/fermion/mcp-server/handlers/sdk.d.ts.map +0 -1
  43. package/dist/fermion/mcp-server/handlers/sdk.js +0 -88
  44. package/dist/fermion/mcp-server/handlers/sdk.js.map +0 -1
  45. package/dist/fermion/mcp-server/handlers/transactions.d.ts +0 -36
  46. package/dist/fermion/mcp-server/handlers/transactions.d.ts.map +0 -1
  47. package/dist/fermion/mcp-server/handlers/transactions.js +0 -61
  48. package/dist/fermion/mcp-server/handlers/transactions.js.map +0 -1
  49. package/dist/fermion/mcp-server/index.d.ts +0 -14
  50. package/dist/fermion/mcp-server/index.d.ts.map +0 -1
  51. package/dist/fermion/mcp-server/index.js +0 -442
  52. package/dist/fermion/mcp-server/index.js.map +0 -1
  53. package/dist/fermion/mcp-server/lib/extractFnfData.d.ts +0 -48
  54. package/dist/fermion/mcp-server/lib/extractFnfData.d.ts.map +0 -1
  55. package/dist/fermion/mcp-server/lib/extractFnfData.js +0 -38
  56. package/dist/fermion/mcp-server/lib/extractFnfData.js.map +0 -1
  57. package/dist/fermion/mcp-server/schemas.d.ts +0 -3
  58. package/dist/fermion/mcp-server/schemas.d.ts.map +0 -1
  59. package/dist/fermion/mcp-server/schemas.js +0 -41
  60. package/dist/fermion/mcp-server/schemas.js.map +0 -1
  61. package/dist/fermion/mcp-server/validation.d.ts +0 -599
  62. package/dist/fermion/mcp-server/validation.d.ts.map +0 -1
  63. package/dist/fermion/mcp-server/validation.js +0 -220
  64. package/dist/fermion/mcp-server/validation.js.map +0 -1
@@ -1,599 +0,0 @@
1
- import { z } from "zod";
2
- export declare const createOfferValidation: z.ZodObject<{
3
- sellerId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
4
- exchangeToken: z.ZodString;
5
- sellerDeposit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
6
- royaltyInfo: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodObject<{
7
- recipients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
8
- bps: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>, "many">>>;
9
- }, "strip", z.ZodTypeAny, {
10
- recipients?: string[];
11
- bps?: (string | number | bigint)[];
12
- }, {
13
- recipients?: string[];
14
- bps?: (string | number | bigint)[];
15
- }>>>>;
16
- verifierId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
17
- verifierFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
18
- custodianId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
19
- custodianFee: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20
- amount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
21
- period: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
22
- }, "strip", z.ZodTypeAny, {
23
- amount?: string | number | bigint;
24
- period?: string | number | bigint;
25
- }, {
26
- amount?: string | number | bigint;
27
- period?: string | number | bigint;
28
- }>>>;
29
- facilitatorId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
30
- facilitatorFeePercent: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
31
- withPhygital: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
32
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
33
- sellerId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
34
- exchangeToken: z.ZodString;
35
- sellerDeposit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
36
- royaltyInfo: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodObject<{
37
- recipients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
38
- bps: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>, "many">>>;
39
- }, "strip", z.ZodTypeAny, {
40
- recipients?: string[];
41
- bps?: (string | number | bigint)[];
42
- }, {
43
- recipients?: string[];
44
- bps?: (string | number | bigint)[];
45
- }>>>>;
46
- verifierId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
47
- verifierFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
48
- custodianId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
49
- custodianFee: z.ZodOptional<z.ZodOptional<z.ZodObject<{
50
- amount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
51
- period: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
52
- }, "strip", z.ZodTypeAny, {
53
- amount?: string | number | bigint;
54
- period?: string | number | bigint;
55
- }, {
56
- amount?: string | number | bigint;
57
- period?: string | number | bigint;
58
- }>>>;
59
- facilitatorId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
60
- facilitatorFeePercent: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
61
- withPhygital: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
62
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
63
- sellerId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
64
- exchangeToken: z.ZodString;
65
- sellerDeposit: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
66
- royaltyInfo: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodObject<{
67
- recipients: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
68
- bps: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>, "many">>>;
69
- }, "strip", z.ZodTypeAny, {
70
- recipients?: string[];
71
- bps?: (string | number | bigint)[];
72
- }, {
73
- recipients?: string[];
74
- bps?: (string | number | bigint)[];
75
- }>>>>;
76
- verifierId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
77
- verifierFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
78
- custodianId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
79
- custodianFee: z.ZodOptional<z.ZodOptional<z.ZodObject<{
80
- amount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
81
- period: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
82
- }, "strip", z.ZodTypeAny, {
83
- amount?: string | number | bigint;
84
- period?: string | number | bigint;
85
- }, {
86
- amount?: string | number | bigint;
87
- period?: string | number | bigint;
88
- }>>>;
89
- facilitatorId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
90
- facilitatorFeePercent: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
91
- withPhygital: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
92
- }, z.ZodTypeAny, "passthrough">>;
93
- export declare const mintAndWrapNFTsValidation: z.ZodObject<{
94
- offerId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
95
- quantity: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
96
- }, "strip", z.ZodTypeAny, {
97
- offerId?: string | number | bigint;
98
- quantity?: string | number | bigint;
99
- }, {
100
- offerId?: string | number | bigint;
101
- quantity?: string | number | bigint;
102
- }>;
103
- export declare const createFixedPriceOrderValidation: z.ZodObject<{
104
- offerId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
105
- prices: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>, "many">;
106
- endTimes: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>, "many">;
107
- }, "strip", z.ZodTypeAny, {
108
- offerId?: string | number | bigint;
109
- prices?: (string | number | bigint)[];
110
- endTimes?: (string | number | bigint)[];
111
- }, {
112
- offerId?: string | number | bigint;
113
- prices?: (string | number | bigint)[];
114
- endTimes?: (string | number | bigint)[];
115
- }>;
116
- export declare const mintWrapFixedPricedValidation: z.ZodObject<{
117
- offerId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
118
- quantity: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
119
- tokenMetadata: z.ZodOptional<z.ZodObject<{
120
- name: z.ZodOptional<z.ZodString>;
121
- symbol: z.ZodOptional<z.ZodString>;
122
- }, "strip", z.ZodTypeAny, {
123
- symbol?: string;
124
- name?: string;
125
- }, {
126
- symbol?: string;
127
- name?: string;
128
- }>>;
129
- }, "strip", z.ZodTypeAny, {
130
- offerId?: string | number | bigint;
131
- quantity?: string | number | bigint;
132
- tokenMetadata?: {
133
- symbol?: string;
134
- name?: string;
135
- };
136
- }, {
137
- offerId?: string | number | bigint;
138
- quantity?: string | number | bigint;
139
- tokenMetadata?: {
140
- symbol?: string;
141
- name?: string;
142
- };
143
- }>;
144
- export declare const cancelFixedPriceOrdersValidationShape: {
145
- offerId: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, string, string | number | bigint>;
146
- orders: z.ZodArray<z.ZodObject<{
147
- offerer: z.ZodString;
148
- zone: z.ZodString;
149
- orderType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
150
- startTime: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
151
- endTime: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
152
- zoneHash: z.ZodString;
153
- salt: z.ZodString;
154
- offer: z.ZodArray<z.ZodObject<{
155
- itemType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
156
- token: z.ZodString;
157
- identifierOrCriteria: z.ZodString;
158
- startAmount: z.ZodString;
159
- endAmount: z.ZodString;
160
- }, "strip", z.ZodTypeAny, {
161
- token?: string;
162
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
163
- identifierOrCriteria?: string;
164
- startAmount?: string;
165
- endAmount?: string;
166
- }, {
167
- token?: string;
168
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
169
- identifierOrCriteria?: string;
170
- startAmount?: string;
171
- endAmount?: string;
172
- }>, "many">;
173
- consideration: z.ZodArray<z.ZodObject<{
174
- itemType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
175
- token: z.ZodString;
176
- identifierOrCriteria: z.ZodString;
177
- startAmount: z.ZodString;
178
- endAmount: z.ZodString;
179
- recipient: z.ZodString;
180
- }, "strip", z.ZodTypeAny, {
181
- token?: string;
182
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
183
- identifierOrCriteria?: string;
184
- startAmount?: string;
185
- endAmount?: string;
186
- recipient?: string;
187
- }, {
188
- token?: string;
189
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
190
- identifierOrCriteria?: string;
191
- startAmount?: string;
192
- endAmount?: string;
193
- recipient?: string;
194
- }>, "many">;
195
- totalOriginalConsiderationItems: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
196
- conduitKey: z.ZodString;
197
- counter: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
198
- }, "strip", z.ZodTypeAny, {
199
- offer?: {
200
- token?: string;
201
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
202
- identifierOrCriteria?: string;
203
- startAmount?: string;
204
- endAmount?: string;
205
- }[];
206
- salt?: string;
207
- offerer?: string;
208
- zone?: string;
209
- consideration?: {
210
- token?: string;
211
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
212
- identifierOrCriteria?: string;
213
- startAmount?: string;
214
- endAmount?: string;
215
- recipient?: string;
216
- }[];
217
- orderType?: 0 | 1 | 2 | 3;
218
- startTime?: string | number | bigint;
219
- endTime?: string | number | bigint;
220
- zoneHash?: string;
221
- conduitKey?: string;
222
- totalOriginalConsiderationItems?: string | number | bigint;
223
- counter?: string | number | bigint;
224
- }, {
225
- offer?: {
226
- token?: string;
227
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
228
- identifierOrCriteria?: string;
229
- startAmount?: string;
230
- endAmount?: string;
231
- }[];
232
- salt?: string;
233
- offerer?: string;
234
- zone?: string;
235
- consideration?: {
236
- token?: string;
237
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
238
- identifierOrCriteria?: string;
239
- startAmount?: string;
240
- endAmount?: string;
241
- recipient?: string;
242
- }[];
243
- orderType?: 0 | 1 | 2 | 3;
244
- startTime?: string | number | bigint;
245
- endTime?: string | number | bigint;
246
- zoneHash?: string;
247
- conduitKey?: string;
248
- totalOriginalConsiderationItems?: string | number | bigint;
249
- counter?: string | number | bigint;
250
- }>, "many">;
251
- };
252
- export declare const cancelFixedPriceOrdersValidation: z.ZodObject<{
253
- offerId: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, string, string | number | bigint>;
254
- orders: z.ZodArray<z.ZodObject<{
255
- offerer: z.ZodString;
256
- zone: z.ZodString;
257
- orderType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
258
- startTime: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
259
- endTime: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
260
- zoneHash: z.ZodString;
261
- salt: z.ZodString;
262
- offer: z.ZodArray<z.ZodObject<{
263
- itemType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
264
- token: z.ZodString;
265
- identifierOrCriteria: z.ZodString;
266
- startAmount: z.ZodString;
267
- endAmount: z.ZodString;
268
- }, "strip", z.ZodTypeAny, {
269
- token?: string;
270
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
271
- identifierOrCriteria?: string;
272
- startAmount?: string;
273
- endAmount?: string;
274
- }, {
275
- token?: string;
276
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
277
- identifierOrCriteria?: string;
278
- startAmount?: string;
279
- endAmount?: string;
280
- }>, "many">;
281
- consideration: z.ZodArray<z.ZodObject<{
282
- itemType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
283
- token: z.ZodString;
284
- identifierOrCriteria: z.ZodString;
285
- startAmount: z.ZodString;
286
- endAmount: z.ZodString;
287
- recipient: z.ZodString;
288
- }, "strip", z.ZodTypeAny, {
289
- token?: string;
290
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
291
- identifierOrCriteria?: string;
292
- startAmount?: string;
293
- endAmount?: string;
294
- recipient?: string;
295
- }, {
296
- token?: string;
297
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
298
- identifierOrCriteria?: string;
299
- startAmount?: string;
300
- endAmount?: string;
301
- recipient?: string;
302
- }>, "many">;
303
- totalOriginalConsiderationItems: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
304
- conduitKey: z.ZodString;
305
- counter: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
306
- }, "strip", z.ZodTypeAny, {
307
- offer?: {
308
- token?: string;
309
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
310
- identifierOrCriteria?: string;
311
- startAmount?: string;
312
- endAmount?: string;
313
- }[];
314
- salt?: string;
315
- offerer?: string;
316
- zone?: string;
317
- consideration?: {
318
- token?: string;
319
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
320
- identifierOrCriteria?: string;
321
- startAmount?: string;
322
- endAmount?: string;
323
- recipient?: string;
324
- }[];
325
- orderType?: 0 | 1 | 2 | 3;
326
- startTime?: string | number | bigint;
327
- endTime?: string | number | bigint;
328
- zoneHash?: string;
329
- conduitKey?: string;
330
- totalOriginalConsiderationItems?: string | number | bigint;
331
- counter?: string | number | bigint;
332
- }, {
333
- offer?: {
334
- token?: string;
335
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
336
- identifierOrCriteria?: string;
337
- startAmount?: string;
338
- endAmount?: string;
339
- }[];
340
- salt?: string;
341
- offerer?: string;
342
- zone?: string;
343
- consideration?: {
344
- token?: string;
345
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
346
- identifierOrCriteria?: string;
347
- startAmount?: string;
348
- endAmount?: string;
349
- recipient?: string;
350
- }[];
351
- orderType?: 0 | 1 | 2 | 3;
352
- startTime?: string | number | bigint;
353
- endTime?: string | number | bigint;
354
- zoneHash?: string;
355
- conduitKey?: string;
356
- totalOriginalConsiderationItems?: string | number | bigint;
357
- counter?: string | number | bigint;
358
- }>, "many">;
359
- }, "strip", z.ZodTypeAny, {
360
- offerId?: string;
361
- orders?: {
362
- offer?: {
363
- token?: string;
364
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
365
- identifierOrCriteria?: string;
366
- startAmount?: string;
367
- endAmount?: string;
368
- }[];
369
- salt?: string;
370
- offerer?: string;
371
- zone?: string;
372
- consideration?: {
373
- token?: string;
374
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
375
- identifierOrCriteria?: string;
376
- startAmount?: string;
377
- endAmount?: string;
378
- recipient?: string;
379
- }[];
380
- orderType?: 0 | 1 | 2 | 3;
381
- startTime?: string | number | bigint;
382
- endTime?: string | number | bigint;
383
- zoneHash?: string;
384
- conduitKey?: string;
385
- totalOriginalConsiderationItems?: string | number | bigint;
386
- counter?: string | number | bigint;
387
- }[];
388
- }, {
389
- offerId?: string | number | bigint;
390
- orders?: {
391
- offer?: {
392
- token?: string;
393
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
394
- identifierOrCriteria?: string;
395
- startAmount?: string;
396
- endAmount?: string;
397
- }[];
398
- salt?: string;
399
- offerer?: string;
400
- zone?: string;
401
- consideration?: {
402
- token?: string;
403
- itemType?: 0 | 1 | 2 | 3 | 4 | 5;
404
- identifierOrCriteria?: string;
405
- startAmount?: string;
406
- endAmount?: string;
407
- recipient?: string;
408
- }[];
409
- orderType?: 0 | 1 | 2 | 3;
410
- startTime?: string | number | bigint;
411
- endTime?: string | number | bigint;
412
- zoneHash?: string;
413
- conduitKey?: string;
414
- totalOriginalConsiderationItems?: string | number | bigint;
415
- counter?: string | number | bigint;
416
- }[];
417
- }>;
418
- export declare const getSeaportOrdersValidationShape: {
419
- offerId: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, string, string | number | bigint>;
420
- };
421
- export declare const getSeaportOrdersValidation: z.ZodObject<{
422
- offerId: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, string, string | number | bigint>;
423
- }, "strip", z.ZodTypeAny, {
424
- offerId?: string;
425
- }, {
426
- offerId?: string | number | bigint;
427
- }>;
428
- export declare const getAvailableFundsValidationShape: {
429
- entityId: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, string, string | number | bigint>;
430
- tokenAddress: z.ZodEffects<z.ZodString, string, string>;
431
- };
432
- export declare const getAvailableFundsValidation: z.ZodObject<{
433
- entityId: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBigInt]>, string, string | number | bigint>;
434
- tokenAddress: z.ZodEffects<z.ZodString, string, string>;
435
- }, "strip", z.ZodTypeAny, {
436
- tokenAddress?: string;
437
- entityId?: string;
438
- }, {
439
- tokenAddress?: string;
440
- entityId?: string | number | bigint;
441
- }>;
442
- export declare const generateAssetVerificationEmailValidation: z.ZodObject<{
443
- tokenId: z.ZodString;
444
- entityId: z.ZodString;
445
- }, "strip", z.ZodTypeAny, {
446
- tokenId?: string;
447
- entityId?: string;
448
- }, {
449
- tokenId?: string;
450
- entityId?: string;
451
- }>;
452
- export declare const generateAssetDeliveryEmailValidation: z.ZodObject<{
453
- tokenId: z.ZodString;
454
- entityId: z.ZodString;
455
- }, "strip", z.ZodTypeAny, {
456
- tokenId?: string;
457
- entityId?: string;
458
- }, {
459
- tokenId?: string;
460
- entityId?: string;
461
- }>;
462
- export declare const submitTaxValidationShape: {
463
- tokenId: z.ZodString;
464
- vatRequired: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
465
- vatAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>>;
466
- maxTaxAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>>;
467
- };
468
- export declare const submitTaxValidation: z.ZodEffects<z.ZodObject<{
469
- tokenId: z.ZodString;
470
- vatRequired: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
471
- vatAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>>;
472
- maxTaxAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>>;
473
- }, "strip", z.ZodTypeAny, {
474
- tokenId?: string;
475
- vatRequired?: boolean;
476
- vatAmount?: string | number | bigint;
477
- maxTaxAmount?: string | number | bigint;
478
- }, {
479
- tokenId?: string;
480
- vatRequired?: boolean;
481
- vatAmount?: string | number | bigint;
482
- maxTaxAmount?: string | number | bigint;
483
- }>, {
484
- tokenId?: string;
485
- vatRequired?: boolean;
486
- vatAmount?: string | number | bigint;
487
- maxTaxAmount?: string | number | bigint;
488
- }, {
489
- tokenId?: string;
490
- vatRequired?: boolean;
491
- vatAmount?: string | number | bigint;
492
- maxTaxAmount?: string | number | bigint;
493
- }>;
494
- export declare const withdrawFundsValidationShape: {
495
- entityId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
496
- treasuryAddress: z.ZodEffects<z.ZodString, string, string>;
497
- list: z.ZodArray<z.ZodObject<{
498
- tokenAddress: z.ZodEffects<z.ZodString, string, string>;
499
- amount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
500
- }, "strip", z.ZodTypeAny, {
501
- tokenAddress?: string;
502
- amount?: string | number | bigint;
503
- }, {
504
- tokenAddress?: string;
505
- amount?: string | number | bigint;
506
- }>, "many">;
507
- };
508
- export declare const withdrawFundsValidation: z.ZodObject<{
509
- entityId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
510
- treasuryAddress: z.ZodEffects<z.ZodString, string, string>;
511
- list: z.ZodArray<z.ZodObject<{
512
- tokenAddress: z.ZodEffects<z.ZodString, string, string>;
513
- amount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
514
- }, "strip", z.ZodTypeAny, {
515
- tokenAddress?: string;
516
- amount?: string | number | bigint;
517
- }, {
518
- tokenAddress?: string;
519
- amount?: string | number | bigint;
520
- }>, "many">;
521
- }, "strip", z.ZodTypeAny, {
522
- treasuryAddress?: string;
523
- entityId?: string | number | bigint;
524
- list?: {
525
- tokenAddress?: string;
526
- amount?: string | number | bigint;
527
- }[];
528
- }, {
529
- treasuryAddress?: string;
530
- entityId?: string | number | bigint;
531
- list?: {
532
- tokenAddress?: string;
533
- amount?: string | number | bigint;
534
- }[];
535
- }>;
536
- export declare const depositFundsValidationShape: {
537
- entityId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
538
- tokenAddress: z.ZodEffects<z.ZodString, string, string>;
539
- amount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
540
- };
541
- export declare const depositFundsValidation: z.ZodObject<{
542
- entityId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
543
- tokenAddress: z.ZodEffects<z.ZodString, string, string>;
544
- amount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
545
- }, "strip", z.ZodTypeAny, {
546
- tokenAddress?: string;
547
- entityId?: string | number | bigint;
548
- amount?: string | number | bigint;
549
- }, {
550
- tokenAddress?: string;
551
- entityId?: string | number | bigint;
552
- amount?: string | number | bigint;
553
- }>;
554
- export declare const checkInValidationShape: {
555
- tokenId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
556
- };
557
- export declare const checkInValidation: z.ZodObject<{
558
- tokenId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
559
- }, "strip", z.ZodTypeAny, {
560
- tokenId?: string | number | bigint;
561
- }, {
562
- tokenId?: string | number | bigint;
563
- }>;
564
- export declare const checkOutValidationShape: {
565
- tokenId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
566
- };
567
- export declare const checkOutValidation: z.ZodObject<{
568
- tokenId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
569
- }, "strip", z.ZodTypeAny, {
570
- tokenId?: string | number | bigint;
571
- }, {
572
- tokenId?: string | number | bigint;
573
- }>;
574
- export declare const requestCheckOutValidationShape: {
575
- tokenId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
576
- };
577
- export declare const requestCheckOutValidation: z.ZodObject<{
578
- tokenId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
579
- }, "strip", z.ZodTypeAny, {
580
- tokenId?: string | number | bigint;
581
- }, {
582
- tokenId?: string | number | bigint;
583
- }>;
584
- export declare const topUpCustodianVaultValidationShape: {
585
- tokenOrOfferId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
586
- amount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
587
- };
588
- export declare const topUpCustodianVaultValidation: z.ZodObject<{
589
- tokenOrOfferId: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
590
- amount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodNumber]>, string | number | bigint, string | number | bigint>;
591
- }, "strip", z.ZodTypeAny, {
592
- amount?: string | number | bigint;
593
- tokenOrOfferId?: string | number | bigint;
594
- }, {
595
- amount?: string | number | bigint;
596
- tokenOrOfferId?: string | number | bigint;
597
- }>;
598
- export { signedTransactionValidation, signedTransactionValidationZod, signTransactionValidation, signTransactionValidationZod, } from "../../common/mcp-server/transactionSigning.js";
599
- //# sourceMappingURL=validation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/fermion/mcp-server/validation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiDxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAUlB,CAAC;AAEjB,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;EAI1C,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;EASxC,CAAC;AAyDH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjD,CAAC;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE5C,CAAC;AAEF,eAAO,MAAM,+BAA+B;;CAI3C,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;EAEtC,CAAC;AAEF,eAAO,MAAM,gCAAgC;;;CAK5C,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;EAEvC,CAAC;AAEF,eAAO,MAAM,wCAAwC;;;;;;;;;EAGnD,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;;;;;;EAG/C,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;CAKpC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;EAwB/B,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;CAWxC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyC,CAAC;AAE9E,eAAO,MAAM,2BAA2B;;;;CAIvC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAAwC,CAAC;AAE5E,eAAO,MAAM,sBAAsB;;CAElC,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;EAAmC,CAAC;AAElE,eAAO,MAAM,uBAAuB;;CAEnC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;EAAoC,CAAC;AAEpE,eAAO,MAAM,8BAA8B;;CAE1C,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;EAErC,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;CAG9C,CAAC;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;EAEzC,CAAC;AAEF,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,+CAA+C,CAAC"}