@tixprotocol/tdp-sdk 0.2.0

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.
@@ -0,0 +1,2575 @@
1
+ import * as zod_v4_core from 'zod/v4/core';
2
+ import * as zod from 'zod';
3
+ import { z } from 'zod';
4
+ import { S as Sha256Hex } from './transaction-submission-status-BPffQES8.js';
5
+ export { A as ApiEnvironment, N as NullableTransactionSubmissionStatus, T as TransactionSubmissionStatus } from './transaction-submission-status-BPffQES8.js';
6
+ import * as _solana_kit from '@solana/kit';
7
+
8
+ declare const apiKeyWalletCustodyApiClientRoutes: {
9
+ "get-user-address": {
10
+ buildPath: (args?: ({
11
+ subject: string;
12
+ } & {
13
+ baseApiUrl?: string;
14
+ }) | undefined) => string;
15
+ buildJsonPayload: (fields: never) => string;
16
+ buildHeaders: (headers: {
17
+ "x-api-key": string;
18
+ }) => {
19
+ "x-api-key": string;
20
+ };
21
+ buildQueryString: (params: never) => string;
22
+ name: string;
23
+ method: "GET";
24
+ routeKey: "GET /wallets/users/{subject}/address";
25
+ pathParamsSchema: zod.ZodObject<{
26
+ subject: zod.ZodString;
27
+ }, zod_v4_core.$strict>;
28
+ headersSchema: zod.ZodObject<{
29
+ "x-api-key": zod.ZodString;
30
+ }, zod_v4_core.$strip>;
31
+ requestBodySchema?: undefined;
32
+ queryParamsSchema?: undefined;
33
+ responseBodySchema: zod.ZodObject<{
34
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
35
+ }, zod_v4_core.$strip>;
36
+ };
37
+ "get-integrator-address": {
38
+ buildPath: (args?: ({
39
+ subject: string;
40
+ } & {
41
+ baseApiUrl?: string;
42
+ }) | undefined) => string;
43
+ buildJsonPayload: (fields: never) => string;
44
+ buildHeaders: (headers: {
45
+ "x-api-key": string;
46
+ }) => {
47
+ "x-api-key": string;
48
+ };
49
+ buildQueryString: (params: never) => string;
50
+ name: string;
51
+ method: "GET";
52
+ routeKey: "GET /wallets/integrators/{subject}/address";
53
+ pathParamsSchema: zod.ZodObject<{
54
+ subject: zod.ZodString;
55
+ }, zod_v4_core.$strict>;
56
+ headersSchema: zod.ZodObject<{
57
+ "x-api-key": zod.ZodString;
58
+ }, zod_v4_core.$strip>;
59
+ requestBodySchema?: undefined;
60
+ queryParamsSchema?: undefined;
61
+ responseBodySchema: zod.ZodObject<{
62
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
63
+ }, zod_v4_core.$strip>;
64
+ };
65
+ "sign-user-transaction": {
66
+ buildPath: (args?: ({
67
+ subject: string;
68
+ } & {
69
+ baseApiUrl?: string;
70
+ }) | undefined) => string;
71
+ buildJsonPayload: (fields: {
72
+ tixInstructions: {
73
+ instruction: "accept_offer_v2";
74
+ params: {
75
+ event_id: string | number | bigint;
76
+ ticket_id: string | number | bigint;
77
+ permit_version: string | number | bigint;
78
+ buyer: string;
79
+ integrator_authority: string;
80
+ seller_payout: string;
81
+ royalty_destinations: string[];
82
+ integrator_identity: string;
83
+ usdc_mint: string;
84
+ ticket_type_config?: string | null | undefined;
85
+ }[];
86
+ } | {
87
+ instruction: "cancel_listing_v1";
88
+ params: {
89
+ event_id: string | number | bigint;
90
+ ticket_id: string | number | bigint;
91
+ canceller: string;
92
+ }[];
93
+ } | {
94
+ instruction: "list_ticket_v2";
95
+ params: {
96
+ seller: string;
97
+ storage_fee_payer: string;
98
+ listing_integrator_identity: string;
99
+ listing_integrator_authority: string;
100
+ usdc_mint: string;
101
+ event_id: string | number | bigint;
102
+ ticket_id: string | number | bigint;
103
+ ask_price_minor: string | number | bigint;
104
+ payout_ata: string;
105
+ expires_at: string | number | bigint;
106
+ buyer_allow?: string | null | undefined;
107
+ ticket_type_config?: string | null | undefined;
108
+ }[];
109
+ };
110
+ }) => string;
111
+ buildHeaders: (headers: {
112
+ "x-api-key": string;
113
+ "idempotency-key": string;
114
+ }) => {
115
+ "x-api-key": string;
116
+ "idempotency-key": string;
117
+ };
118
+ buildQueryString: (params: never) => string;
119
+ name: string;
120
+ method: "POST";
121
+ routeKey: "POST /wallets/users/{subject}/signatures";
122
+ pathParamsSchema: zod.ZodObject<{
123
+ subject: zod.ZodString;
124
+ }, zod_v4_core.$strict>;
125
+ headersSchema: zod.ZodObject<{
126
+ "x-api-key": zod.ZodString;
127
+ "idempotency-key": zod.ZodString;
128
+ }, zod_v4_core.$strip>;
129
+ requestBodySchema?: zod.ZodObject<{
130
+ tixInstructions: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
131
+ instruction: zod.ZodLiteral<"accept_offer_v2">;
132
+ params: zod.ZodArray<zod.ZodObject<{
133
+ event_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
134
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
135
+ permit_version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
136
+ buyer: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
137
+ integrator_authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
138
+ seller_payout: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
139
+ royalty_destinations: zod.ZodArray<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>;
140
+ ticket_type_config: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>>;
141
+ integrator_identity: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
142
+ usdc_mint: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
143
+ }, zod_v4_core.$strip>>;
144
+ }, zod_v4_core.$strip>, zod.ZodObject<{
145
+ instruction: zod.ZodLiteral<"cancel_listing_v1">;
146
+ params: zod.ZodArray<zod.ZodObject<{
147
+ event_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
148
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
149
+ canceller: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
150
+ }, zod_v4_core.$strip>>;
151
+ }, zod_v4_core.$strip>, zod.ZodObject<{
152
+ instruction: zod.ZodLiteral<"list_ticket_v2">;
153
+ params: zod.ZodArray<zod.ZodObject<{
154
+ seller: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
155
+ storage_fee_payer: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
156
+ listing_integrator_identity: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
157
+ listing_integrator_authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
158
+ usdc_mint: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
159
+ event_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
160
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
161
+ ask_price_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
162
+ buyer_allow: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>>;
163
+ payout_ata: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
164
+ expires_at: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
165
+ ticket_type_config: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>>;
166
+ }, zod_v4_core.$strip>>;
167
+ }, zod_v4_core.$strip>], "instruction">;
168
+ }, zod_v4_core.$strip> | undefined;
169
+ queryParamsSchema?: undefined;
170
+ responseBodySchema: zod.ZodObject<{
171
+ custodialTransactionId: zod.ZodPipe<zod.ZodCustomStringFormat<"sha256_hex">, zod.ZodTransform<Sha256Hex, string>>;
172
+ signerAddress: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
173
+ feePayerAddress: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
174
+ signedTransaction: zod.ZodPipe<zod.ZodBase64, zod.ZodTransform<_solana_kit.Base64EncodedWireTransaction, string>>;
175
+ message: zod.ZodString;
176
+ signature: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Signature, string>>;
177
+ feePayerSignature: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Signature, string>>;
178
+ requiredSigners: zod.ZodArray<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>;
179
+ recentBlockhash: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Blockhash, string>>;
180
+ }, zod_v4_core.$strip>;
181
+ };
182
+ "sign-integrator-transaction": {
183
+ buildPath: (args?: ({
184
+ subject: string;
185
+ } & {
186
+ baseApiUrl?: string;
187
+ }) | undefined) => string;
188
+ buildJsonPayload: (fields: {
189
+ tixInstructions: {
190
+ instruction: "accept_offer_v2";
191
+ params: {
192
+ event_id: string | number | bigint;
193
+ ticket_id: string | number | bigint;
194
+ permit_version: string | number | bigint;
195
+ buyer: string;
196
+ integrator_authority: string;
197
+ seller_payout: string;
198
+ royalty_destinations: string[];
199
+ integrator_identity: string;
200
+ usdc_mint: string;
201
+ ticket_type_config?: string | null | undefined;
202
+ }[];
203
+ } | {
204
+ instruction: "cancel_listing_v1";
205
+ params: {
206
+ event_id: string | number | bigint;
207
+ ticket_id: string | number | bigint;
208
+ canceller: string;
209
+ }[];
210
+ } | {
211
+ instruction: "list_ticket_v2";
212
+ params: {
213
+ seller: string;
214
+ storage_fee_payer: string;
215
+ listing_integrator_identity: string;
216
+ listing_integrator_authority: string;
217
+ usdc_mint: string;
218
+ event_id: string | number | bigint;
219
+ ticket_id: string | number | bigint;
220
+ ask_price_minor: string | number | bigint;
221
+ payout_ata: string;
222
+ expires_at: string | number | bigint;
223
+ buyer_allow?: string | null | undefined;
224
+ ticket_type_config?: string | null | undefined;
225
+ }[];
226
+ };
227
+ }) => string;
228
+ buildHeaders: (headers: {
229
+ "x-api-key": string;
230
+ "idempotency-key": string;
231
+ }) => {
232
+ "x-api-key": string;
233
+ "idempotency-key": string;
234
+ };
235
+ buildQueryString: (params: never) => string;
236
+ name: string;
237
+ method: "POST";
238
+ routeKey: "POST /wallets/integrators/{subject}/signatures";
239
+ pathParamsSchema: zod.ZodObject<{
240
+ subject: zod.ZodString;
241
+ }, zod_v4_core.$strict>;
242
+ headersSchema: zod.ZodObject<{
243
+ "x-api-key": zod.ZodString;
244
+ "idempotency-key": zod.ZodString;
245
+ }, zod_v4_core.$strip>;
246
+ requestBodySchema?: zod.ZodObject<{
247
+ tixInstructions: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
248
+ instruction: zod.ZodLiteral<"accept_offer_v2">;
249
+ params: zod.ZodArray<zod.ZodObject<{
250
+ event_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
251
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
252
+ permit_version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
253
+ buyer: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
254
+ integrator_authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
255
+ seller_payout: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
256
+ royalty_destinations: zod.ZodArray<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>;
257
+ ticket_type_config: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>>;
258
+ integrator_identity: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
259
+ usdc_mint: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
260
+ }, zod_v4_core.$strip>>;
261
+ }, zod_v4_core.$strip>, zod.ZodObject<{
262
+ instruction: zod.ZodLiteral<"cancel_listing_v1">;
263
+ params: zod.ZodArray<zod.ZodObject<{
264
+ event_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
265
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
266
+ canceller: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
267
+ }, zod_v4_core.$strip>>;
268
+ }, zod_v4_core.$strip>, zod.ZodObject<{
269
+ instruction: zod.ZodLiteral<"list_ticket_v2">;
270
+ params: zod.ZodArray<zod.ZodObject<{
271
+ seller: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
272
+ storage_fee_payer: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
273
+ listing_integrator_identity: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
274
+ listing_integrator_authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
275
+ usdc_mint: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
276
+ event_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
277
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
278
+ ask_price_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
279
+ buyer_allow: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>>;
280
+ payout_ata: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
281
+ expires_at: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
282
+ ticket_type_config: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>>;
283
+ }, zod_v4_core.$strip>>;
284
+ }, zod_v4_core.$strip>], "instruction">;
285
+ }, zod_v4_core.$strip> | undefined;
286
+ queryParamsSchema?: undefined;
287
+ responseBodySchema: zod.ZodObject<{
288
+ custodialTransactionId: zod.ZodPipe<zod.ZodCustomStringFormat<"sha256_hex">, zod.ZodTransform<Sha256Hex, string>>;
289
+ signerAddress: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
290
+ feePayerAddress: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
291
+ signedTransaction: zod.ZodPipe<zod.ZodBase64, zod.ZodTransform<_solana_kit.Base64EncodedWireTransaction, string>>;
292
+ message: zod.ZodString;
293
+ signature: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Signature, string>>;
294
+ feePayerSignature: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Signature, string>>;
295
+ requiredSigners: zod.ZodArray<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>;
296
+ recentBlockhash: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Blockhash, string>>;
297
+ }, zod_v4_core.$strip>;
298
+ };
299
+ "submit-tenant-transaction": {
300
+ buildPath: (args?: (Record<string, string> & {
301
+ baseApiUrl?: string;
302
+ }) | undefined) => string;
303
+ buildJsonPayload: (fields: {
304
+ signedTransaction: string;
305
+ additionalSignatures?: {
306
+ address: string;
307
+ signature: string;
308
+ }[] | undefined;
309
+ }) => string;
310
+ buildHeaders: (headers: {
311
+ "x-api-key": string;
312
+ }) => {
313
+ "x-api-key": string;
314
+ };
315
+ buildQueryString: (params: never) => string;
316
+ name: string;
317
+ method: "POST";
318
+ routeKey: "POST /transactions/submissions";
319
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
320
+ headersSchema: zod.ZodObject<{
321
+ "x-api-key": zod.ZodString;
322
+ }, zod_v4_core.$strip>;
323
+ requestBodySchema?: zod.ZodObject<{
324
+ signedTransaction: zod.ZodPipe<zod.ZodBase64, zod.ZodTransform<_solana_kit.Base64EncodedWireTransaction, string>>;
325
+ additionalSignatures: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
326
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
327
+ signature: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Signature, string>>;
328
+ }, zod_v4_core.$strip>>>;
329
+ }, zod_v4_core.$strip> | undefined;
330
+ queryParamsSchema?: undefined;
331
+ responseBodySchema: zod.ZodObject<{
332
+ custodialTransactionId: zod.ZodPipe<zod.ZodCustomStringFormat<"sha256_hex">, zod.ZodTransform<Sha256Hex, string>>;
333
+ transactionSignature: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Signature, string>>;
334
+ status: zod.ZodNullable<zod.ZodEnum<{
335
+ processing: "processing";
336
+ confirmed: "confirmed";
337
+ landed_with_error: "landed_with_error";
338
+ expired: "expired";
339
+ }>>;
340
+ failureReason: zod.ZodOptional<zod.ZodString>;
341
+ }, zod_v4_core.$strip>;
342
+ };
343
+ "accept-claim-offers": {
344
+ buildPath: (args?: (Record<string, string> & {
345
+ baseApiUrl?: string;
346
+ }) | undefined) => string;
347
+ buildJsonPayload: (fields: {
348
+ userSubject: string;
349
+ userEmail: string;
350
+ offers: {
351
+ event_id: string | number | bigint;
352
+ ticket_id: string | number | bigint;
353
+ permit_version: string | number | bigint;
354
+ usdc_mint: string;
355
+ seller_payout: string;
356
+ royalty_destinations: string[];
357
+ ticket_type_config?: string | null | undefined;
358
+ }[];
359
+ }) => string;
360
+ buildHeaders: (headers: {
361
+ "x-api-key": string;
362
+ "idempotency-key": string;
363
+ }) => {
364
+ "x-api-key": string;
365
+ "idempotency-key": string;
366
+ };
367
+ buildQueryString: (params: never) => string;
368
+ name: string;
369
+ method: "POST";
370
+ routeKey: "POST /claim_wallets";
371
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
372
+ headersSchema: zod.ZodObject<{
373
+ "x-api-key": zod.ZodString;
374
+ "idempotency-key": zod.ZodString;
375
+ }, zod_v4_core.$strip>;
376
+ requestBodySchema?: zod.ZodObject<{
377
+ userSubject: zod.ZodString;
378
+ userEmail: zod.ZodEmail;
379
+ offers: zod.ZodArray<zod.ZodObject<{
380
+ event_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
381
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
382
+ permit_version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
383
+ usdc_mint: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
384
+ seller_payout: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
385
+ royalty_destinations: zod.ZodArray<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>;
386
+ ticket_type_config: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>>;
387
+ }, zod_v4_core.$strict>>;
388
+ }, zod_v4_core.$strip> | undefined;
389
+ queryParamsSchema?: undefined;
390
+ responseBodySchema: zod.ZodObject<{
391
+ status: zod.ZodNullable<zod.ZodEnum<{
392
+ processing: "processing";
393
+ confirmed: "confirmed";
394
+ landed_with_error: "landed_with_error";
395
+ expired: "expired";
396
+ }>>;
397
+ claimWallet: zod.ZodObject<{
398
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
399
+ claimWalletId: zod.ZodPipe<zod.ZodCustomStringFormat<"sha256_hex">, zod.ZodTransform<Sha256Hex, string>>;
400
+ }, zod_v4_core.$strip>;
401
+ claimUrl: zod.ZodURL;
402
+ failureReason: zod.ZodOptional<zod.ZodString>;
403
+ }, zod_v4_core.$strip>;
404
+ };
405
+ "get-fee-payer-address": {
406
+ buildPath: (args?: (Record<string, string> & {
407
+ baseApiUrl?: string;
408
+ }) | undefined) => string;
409
+ buildJsonPayload: (fields: never) => string;
410
+ buildHeaders: (headers: {
411
+ "x-api-key": string;
412
+ }) => {
413
+ "x-api-key": string;
414
+ };
415
+ buildQueryString: (params: never) => string;
416
+ name: string;
417
+ method: "GET";
418
+ routeKey: "GET /wallets/fee-payer/address";
419
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
420
+ headersSchema: zod.ZodObject<{
421
+ "x-api-key": zod.ZodString;
422
+ }, zod_v4_core.$strip>;
423
+ requestBodySchema?: undefined;
424
+ queryParamsSchema?: undefined;
425
+ responseBodySchema: zod.ZodObject<{
426
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
427
+ }, zod_v4_core.$strip>;
428
+ };
429
+ "get-protocol-authority-address": {
430
+ buildPath: (args?: (Record<string, string> & {
431
+ baseApiUrl?: string;
432
+ }) | undefined) => string;
433
+ buildJsonPayload: (fields: never) => string;
434
+ buildHeaders: (headers: {
435
+ "x-api-key": string;
436
+ }) => {
437
+ "x-api-key": string;
438
+ };
439
+ buildQueryString: (params: never) => string;
440
+ name: string;
441
+ method: "GET";
442
+ routeKey: "GET /wallets/protocol-authority/address";
443
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
444
+ headersSchema: zod.ZodObject<{
445
+ "x-api-key": zod.ZodString;
446
+ }, zod_v4_core.$strip>;
447
+ requestBodySchema?: undefined;
448
+ queryParamsSchema?: undefined;
449
+ responseBodySchema: zod.ZodObject<{
450
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
451
+ }, zod_v4_core.$strip>;
452
+ };
453
+ };
454
+
455
+ /** Structural supertype of every {@link defineClientRoute} result. */
456
+ type AnyClientRoute = {
457
+ name: string;
458
+ method: string;
459
+ routeKey: string;
460
+ pathParamsSchema: z.ZodType;
461
+ headersSchema: z.ZodType;
462
+ requestBodySchema?: unknown;
463
+ queryParamsSchema?: unknown;
464
+ responseBodySchema: z.ZodType;
465
+ buildPath: (args: never) => string;
466
+ buildJsonPayload: (fields: never) => string;
467
+ buildHeaders: (headers: never) => unknown;
468
+ buildQueryString: (params: never) => string;
469
+ };
470
+
471
+ type RoutePathParams<TRoute extends AnyClientRoute> = TRoute["pathParamsSchema"] extends z.ZodType ? z.infer<TRoute["pathParamsSchema"]> : never;
472
+ /** Same treatment as `RouteRequestBody`: routes without a `queryParamsSchema` must omit `queryParams`. */
473
+ type RouteQueryParams<TRoute extends AnyClientRoute> = Extract<TRoute["queryParamsSchema"], z.ZodType> extends infer TSchema ? [TSchema] extends [never] ? never : TSchema extends z.ZodType ? z.input<TSchema> : never : never;
474
+ type RouteRequestBody<TRoute extends AnyClientRoute> = Extract<TRoute["requestBodySchema"], z.ZodType> extends infer TSchema ? [TSchema] extends [never] ? never : TSchema extends z.ZodType ? z.input<TSchema> : never : never;
475
+ type RouteRequestHeaders<TRoute extends AnyClientRoute> = TRoute["headersSchema"] extends z.ZodType ? z.input<TRoute["headersSchema"]> : never;
476
+ /**
477
+ * The type of one header in a route's headers, or `never` where the route
478
+ * declares no such header. Lets a client require a header from the caller only
479
+ * on the routes whose schema asks for it.
480
+ */
481
+ type RouteRequestHeader<TRoute extends AnyClientRoute, THeaderName extends string> = RouteRequestHeaders<TRoute> extends Record<THeaderName, infer TValue extends string> ? TValue : never;
482
+ /**
483
+ * One request field keyed by `TKey`, shaped by what the route's schema allows:
484
+ * - required (`TValue` is a plain type): the key must be present and non-
485
+ * `undefined` — omitting it or passing `undefined` is a type error;
486
+ * - omittable (`TValue` includes `undefined`, i.e. the schema is `.optional()`):
487
+ * the key may be present, omitted, or `undefined`;
488
+ * - absent (`TValue` is `never`, i.e. the route has no such schema): a real
489
+ * value is rejected, but explicit `undefined` still typechecks — TS widens
490
+ * optional properties so the key can't be *fully* forbidden. That looseness is
491
+ * harmless: the runtime treats an omitted and an `undefined` field identically.
492
+ */
493
+ type RouteRequestField<TKey extends PropertyKey, TValue> = [
494
+ TValue
495
+ ] extends [never] ? {
496
+ [K in TKey]?: never;
497
+ } : undefined extends TValue ? {
498
+ [K in TKey]?: TValue;
499
+ } : {
500
+ [K in TKey]: TValue;
501
+ };
502
+
503
+ type ApiKeyWalletCustodyApiRoutes = typeof apiKeyWalletCustodyApiClientRoutes;
504
+
505
+ declare const tixApiClientRoutes: {
506
+ readonly "post-integrator-metadata": {
507
+ buildPath: (args?: ({
508
+ eventId: string;
509
+ } & {
510
+ baseApiUrl?: string;
511
+ }) | undefined) => string;
512
+ buildJsonPayload: (fields: {
513
+ name?: string | undefined;
514
+ start_at?: string | undefined;
515
+ on_sale_at?: string | undefined;
516
+ image_url?: string | undefined;
517
+ timezone?: string | undefined;
518
+ address?: string | undefined;
519
+ venue?: string | undefined;
520
+ genres?: string[] | undefined;
521
+ }) => string;
522
+ buildHeaders: (headers: {
523
+ "x-api-key": string;
524
+ }) => {
525
+ "x-api-key": string;
526
+ };
527
+ buildQueryString: (params: never) => string;
528
+ name: string;
529
+ method: "POST";
530
+ routeKey: "POST /events/{eventId}/metadata";
531
+ pathParamsSchema: zod.ZodObject<{
532
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
533
+ }, zod_v4_core.$strict>;
534
+ headersSchema: zod.ZodObject<{
535
+ "x-api-key": zod.ZodString;
536
+ }, zod_v4_core.$strip>;
537
+ requestBodySchema?: zod.ZodObject<{
538
+ name: zod.ZodOptional<zod.ZodString>;
539
+ start_at: zod.ZodOptional<zod.ZodString>;
540
+ on_sale_at: zod.ZodOptional<zod.ZodString>;
541
+ image_url: zod.ZodOptional<zod.ZodString>;
542
+ timezone: zod.ZodOptional<zod.ZodString>;
543
+ address: zod.ZodOptional<zod.ZodString>;
544
+ venue: zod.ZodOptional<zod.ZodString>;
545
+ genres: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
546
+ }, zod_v4_core.$strict> | undefined;
547
+ queryParamsSchema?: undefined;
548
+ responseBodySchema: zod.ZodObject<{
549
+ status: zod.ZodLiteral<"ok">;
550
+ event_account: zod.ZodString;
551
+ updated_at: zod.ZodString;
552
+ }, zod_v4_core.$strict>;
553
+ };
554
+ readonly "get-active-listings": {
555
+ buildPath: (args?: (Record<string, string> & {
556
+ baseApiUrl?: string;
557
+ }) | undefined) => string;
558
+ buildJsonPayload: (fields: never) => string;
559
+ buildHeaders: (headers: {
560
+ "x-api-key": string;
561
+ }) => {
562
+ "x-api-key": string;
563
+ };
564
+ buildQueryString: (params: {
565
+ limit?: unknown;
566
+ cursor?: string | undefined;
567
+ }) => string;
568
+ name: string;
569
+ method: "GET";
570
+ routeKey: "GET /listings/active";
571
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
572
+ headersSchema: zod.ZodObject<{
573
+ "x-api-key": zod.ZodString;
574
+ }, zod_v4_core.$strip>;
575
+ requestBodySchema?: undefined;
576
+ queryParamsSchema?: zod.ZodObject<{
577
+ limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
578
+ cursor: zod.ZodOptional<zod.ZodString>;
579
+ }, zod_v4_core.$strip> | undefined;
580
+ responseBodySchema: zod.ZodObject<{
581
+ items: zod.ZodArray<zod.ZodObject<{
582
+ event_account: zod.ZodNullable<zod.ZodString>;
583
+ event_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
584
+ listing_id: zod.ZodNullable<zod.ZodString>;
585
+ ticket_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
586
+ seller: zod.ZodNullable<zod.ZodString>;
587
+ buyer_allow: zod.ZodNullable<zod.ZodString>;
588
+ ask_price_minor: zod.ZodNullable<zod.ZodString>;
589
+ payout_ata: zod.ZodNullable<zod.ZodString>;
590
+ expires_at: zod.ZodNullable<zod.ZodString>;
591
+ updated_at: zod.ZodNullable<zod.ZodString>;
592
+ }, zod_v4_core.$strict>>;
593
+ next_cursor: zod.ZodNullable<zod.ZodString>;
594
+ }, zod_v4_core.$strict>;
595
+ };
596
+ readonly "get-upcoming-events": {
597
+ buildPath: (args?: (Record<string, string> & {
598
+ baseApiUrl?: string;
599
+ }) | undefined) => string;
600
+ buildJsonPayload: (fields: never) => string;
601
+ buildHeaders: (headers: {
602
+ "x-api-key": string;
603
+ }) => {
604
+ "x-api-key": string;
605
+ };
606
+ buildQueryString: (params: {
607
+ limit?: unknown;
608
+ cursor?: string | undefined;
609
+ }) => string;
610
+ name: string;
611
+ method: "GET";
612
+ routeKey: "GET /events/upcoming";
613
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
614
+ headersSchema: zod.ZodObject<{
615
+ "x-api-key": zod.ZodString;
616
+ }, zod_v4_core.$strip>;
617
+ requestBodySchema?: undefined;
618
+ queryParamsSchema?: zod.ZodObject<{
619
+ limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
620
+ cursor: zod.ZodOptional<zod.ZodString>;
621
+ }, zod_v4_core.$strip> | undefined;
622
+ responseBodySchema: zod.ZodObject<{
623
+ items: zod.ZodArray<zod.ZodObject<{
624
+ event_account: zod.ZodString;
625
+ event_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
626
+ name: zod.ZodNullable<zod.ZodString>;
627
+ start_at: zod.ZodNullable<zod.ZodString>;
628
+ on_sale_at: zod.ZodNullable<zod.ZodString>;
629
+ image_url: zod.ZodNullable<zod.ZodString>;
630
+ active_listing_count: zod.ZodNumber;
631
+ tickets_issued_count: zod.ZodNumber;
632
+ integrator_identity: zod.ZodNullable<zod.ZodString>;
633
+ updated_at: zod.ZodNullable<zod.ZodString>;
634
+ found: zod.ZodLiteral<true>;
635
+ genres: zod.ZodNullable<zod.ZodArray<zod.ZodString>>;
636
+ timezone: zod.ZodNullable<zod.ZodString>;
637
+ address: zod.ZodNullable<zod.ZodString>;
638
+ venue: zod.ZodNullable<zod.ZodString>;
639
+ }, zod_v4_core.$strict>>;
640
+ next_cursor: zod.ZodNullable<zod.ZodString>;
641
+ }, zod_v4_core.$strict>;
642
+ };
643
+ readonly "get-event-account": {
644
+ buildPath: (args?: ({
645
+ eventId: string;
646
+ } & {
647
+ baseApiUrl?: string;
648
+ }) | undefined) => string;
649
+ buildJsonPayload: (fields: never) => string;
650
+ buildHeaders: (headers: {
651
+ "x-api-key": string;
652
+ }) => {
653
+ "x-api-key": string;
654
+ };
655
+ buildQueryString: (params: never) => string;
656
+ name: string;
657
+ method: "GET";
658
+ routeKey: "GET /events/{eventId}";
659
+ pathParamsSchema: zod.ZodObject<{
660
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
661
+ }, zod_v4_core.$strict>;
662
+ headersSchema: zod.ZodObject<{
663
+ "x-api-key": zod.ZodString;
664
+ }, zod_v4_core.$strip>;
665
+ requestBodySchema?: undefined;
666
+ queryParamsSchema?: undefined;
667
+ responseBodySchema: zod.ZodObject<{
668
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
669
+ integrator: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
670
+ integrator_authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
671
+ royalty_bps: zod.ZodNumber;
672
+ min_royalty_floor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
673
+ royalty_recipients_count: zod.ZodNumber;
674
+ royalty_recipients: zod.ZodArray<zod.ZodObject<{
675
+ destination: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
676
+ bps: zod.ZodNumber;
677
+ }, zod_v4_core.$strip>>;
678
+ total_supply: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
679
+ minted: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
680
+ flags: zod.ZodNumber;
681
+ }, zod_v4_core.$strip>;
682
+ };
683
+ readonly "get-listing-account": {
684
+ buildPath: (args?: ({
685
+ eventId: string;
686
+ ticketId: string;
687
+ } & {
688
+ baseApiUrl?: string;
689
+ }) | undefined) => string;
690
+ buildJsonPayload: (fields: never) => string;
691
+ buildHeaders: (headers: {
692
+ "x-api-key": string;
693
+ }) => {
694
+ "x-api-key": string;
695
+ };
696
+ buildQueryString: (params: never) => string;
697
+ name: string;
698
+ method: "GET";
699
+ routeKey: "GET /listings/{eventId}/{ticketId}";
700
+ pathParamsSchema: zod.ZodObject<{
701
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
702
+ ticketId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
703
+ }, zod_v4_core.$strict>;
704
+ headersSchema: zod.ZodObject<{
705
+ "x-api-key": zod.ZodString;
706
+ }, zod_v4_core.$strip>;
707
+ requestBodySchema?: undefined;
708
+ queryParamsSchema?: undefined;
709
+ responseBodySchema: zod.ZodObject<{
710
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
711
+ event_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
712
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
713
+ seller: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
714
+ ask_price_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
715
+ buyer_allow: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
716
+ payout_ata: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
717
+ expires_at: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
718
+ listed_at: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
719
+ permit_version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
720
+ active: zod.ZodBoolean;
721
+ }, zod_v4_core.$strip>;
722
+ };
723
+ readonly "get-permit": {
724
+ buildPath: (args?: ({
725
+ eventId: string;
726
+ ticketId: string;
727
+ } & {
728
+ baseApiUrl?: string;
729
+ }) | undefined) => string;
730
+ buildJsonPayload: (fields: never) => string;
731
+ buildHeaders: (headers: {
732
+ "x-api-key": string;
733
+ }) => {
734
+ "x-api-key": string;
735
+ };
736
+ buildQueryString: (params: never) => string;
737
+ name: string;
738
+ method: "GET";
739
+ routeKey: "GET /permits/{eventId}/{ticketId}";
740
+ pathParamsSchema: zod.ZodObject<{
741
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
742
+ ticketId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
743
+ }, zod_v4_core.$strict>;
744
+ headersSchema: zod.ZodObject<{
745
+ "x-api-key": zod.ZodString;
746
+ }, zod_v4_core.$strip>;
747
+ requestBodySchema?: undefined;
748
+ queryParamsSchema?: undefined;
749
+ responseBodySchema: zod.ZodObject<{
750
+ owner: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
751
+ status: zod.ZodNumber;
752
+ ticket_type_id: zod.ZodNumber;
753
+ version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
754
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
755
+ listing_lock_expiry: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
756
+ }, zod_v4_core.$strip>;
757
+ };
758
+ readonly "get-protocol-config-account": {
759
+ buildPath: (args?: (Record<string, string> & {
760
+ baseApiUrl?: string;
761
+ }) | undefined) => string;
762
+ buildJsonPayload: (fields: never) => string;
763
+ buildHeaders: (headers: {
764
+ "x-api-key": string;
765
+ }) => {
766
+ "x-api-key": string;
767
+ };
768
+ buildQueryString: (params: never) => string;
769
+ name: string;
770
+ method: "GET";
771
+ routeKey: "GET /protocol-config";
772
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
773
+ headersSchema: zod.ZodObject<{
774
+ "x-api-key": zod.ZodString;
775
+ }, zod_v4_core.$strip>;
776
+ requestBodySchema?: undefined;
777
+ queryParamsSchema?: undefined;
778
+ responseBodySchema: zod.ZodObject<{
779
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
780
+ usdc_mint: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
781
+ default_royalty_vault: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
782
+ authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
783
+ usdc_decimals: zod.ZodNumber;
784
+ event_registration_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
785
+ permit_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
786
+ p2p_transfer_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
787
+ resale_fee_bps: zod.ZodNumber;
788
+ }, zod_v4_core.$strip>;
789
+ };
790
+ readonly "get-integrator-account": {
791
+ buildPath: (args?: ({
792
+ identity: _solana_kit.Address<string>;
793
+ } & {
794
+ baseApiUrl?: string;
795
+ }) | undefined) => string;
796
+ buildJsonPayload: (fields: never) => string;
797
+ buildHeaders: (headers: {
798
+ "x-api-key": string;
799
+ }) => {
800
+ "x-api-key": string;
801
+ };
802
+ buildQueryString: (params: never) => string;
803
+ name: string;
804
+ method: "GET";
805
+ routeKey: "GET /integrators/{identity}";
806
+ pathParamsSchema: zod.ZodObject<{
807
+ identity: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
808
+ }, zod_v4_core.$strict>;
809
+ headersSchema: zod.ZodObject<{
810
+ "x-api-key": zod.ZodString;
811
+ }, zod_v4_core.$strip>;
812
+ requestBodySchema?: undefined;
813
+ queryParamsSchema?: undefined;
814
+ responseBodySchema: zod.ZodObject<{
815
+ integrator_pda: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
816
+ integrator: zod.ZodObject<{
817
+ authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
818
+ status: zod.ZodEnum<{
819
+ Active: "Active";
820
+ Suspended: "Suspended";
821
+ }>;
822
+ treasury_usdc: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
823
+ balance: zod.ZodObject<{
824
+ amount_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
825
+ decimals: zod.ZodNumber;
826
+ }, zod_v4_core.$strip>;
827
+ }, zod_v4_core.$strip>;
828
+ }, zod_v4_core.$strip>;
829
+ };
830
+ };
831
+ type TixApiRoutes = typeof tixApiClientRoutes;
832
+ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }: {
833
+ baseApiUrl: string;
834
+ apiKey: string | (() => Promise<string>);
835
+ fetchImpl?: typeof fetch;
836
+ /**
837
+ * Additional request headers. SDK-managed headers take precedence.
838
+ * Cross-origin browser requests require server CORS support for custom headers.
839
+ */
840
+ headers?: HeadersInit;
841
+ }): <TRouteName extends "get-event-account" | "get-listing-account" | "get-permit" | "get-protocol-config-account" | "get-integrator-account" | "get-active-listings" | "get-upcoming-events" | "post-integrator-metadata">({ route, pathParams, queryParams, body, }: {
842
+ route: TRouteName;
843
+ } & RouteRequestField<"pathParams", RoutePathParams<{
844
+ readonly "post-integrator-metadata": {
845
+ buildPath: (args?: ({
846
+ eventId: string;
847
+ } & {
848
+ baseApiUrl?: string;
849
+ }) | undefined) => string;
850
+ buildJsonPayload: (fields: {
851
+ name?: string | undefined;
852
+ start_at?: string | undefined;
853
+ on_sale_at?: string | undefined;
854
+ image_url?: string | undefined;
855
+ timezone?: string | undefined;
856
+ address?: string | undefined;
857
+ venue?: string | undefined;
858
+ genres?: string[] | undefined;
859
+ }) => string;
860
+ buildHeaders: (headers: {
861
+ "x-api-key": string;
862
+ }) => {
863
+ "x-api-key": string;
864
+ };
865
+ buildQueryString: (params: never) => string;
866
+ name: string;
867
+ method: "POST";
868
+ routeKey: "POST /events/{eventId}/metadata";
869
+ pathParamsSchema: zod.ZodObject<{
870
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
871
+ }, zod_v4_core.$strict>;
872
+ headersSchema: zod.ZodObject<{
873
+ "x-api-key": zod.ZodString;
874
+ }, zod_v4_core.$strip>;
875
+ requestBodySchema?: zod.ZodObject<{
876
+ name: zod.ZodOptional<zod.ZodString>;
877
+ start_at: zod.ZodOptional<zod.ZodString>;
878
+ on_sale_at: zod.ZodOptional<zod.ZodString>;
879
+ image_url: zod.ZodOptional<zod.ZodString>;
880
+ timezone: zod.ZodOptional<zod.ZodString>;
881
+ address: zod.ZodOptional<zod.ZodString>;
882
+ venue: zod.ZodOptional<zod.ZodString>;
883
+ genres: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
884
+ }, zod_v4_core.$strict> | undefined;
885
+ queryParamsSchema?: undefined;
886
+ responseBodySchema: zod.ZodObject<{
887
+ status: zod.ZodLiteral<"ok">;
888
+ event_account: zod.ZodString;
889
+ updated_at: zod.ZodString;
890
+ }, zod_v4_core.$strict>;
891
+ };
892
+ readonly "get-active-listings": {
893
+ buildPath: (args?: (Record<string, string> & {
894
+ baseApiUrl?: string;
895
+ }) | undefined) => string;
896
+ buildJsonPayload: (fields: never) => string;
897
+ buildHeaders: (headers: {
898
+ "x-api-key": string;
899
+ }) => {
900
+ "x-api-key": string;
901
+ };
902
+ buildQueryString: (params: {
903
+ limit?: unknown;
904
+ cursor?: string | undefined;
905
+ }) => string;
906
+ name: string;
907
+ method: "GET";
908
+ routeKey: "GET /listings/active";
909
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
910
+ headersSchema: zod.ZodObject<{
911
+ "x-api-key": zod.ZodString;
912
+ }, zod_v4_core.$strip>;
913
+ requestBodySchema?: undefined;
914
+ queryParamsSchema?: zod.ZodObject<{
915
+ limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
916
+ cursor: zod.ZodOptional<zod.ZodString>;
917
+ }, zod_v4_core.$strip> | undefined;
918
+ responseBodySchema: zod.ZodObject<{
919
+ items: zod.ZodArray<zod.ZodObject<{
920
+ event_account: zod.ZodNullable<zod.ZodString>;
921
+ event_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
922
+ listing_id: zod.ZodNullable<zod.ZodString>;
923
+ ticket_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
924
+ seller: zod.ZodNullable<zod.ZodString>;
925
+ buyer_allow: zod.ZodNullable<zod.ZodString>;
926
+ ask_price_minor: zod.ZodNullable<zod.ZodString>;
927
+ payout_ata: zod.ZodNullable<zod.ZodString>;
928
+ expires_at: zod.ZodNullable<zod.ZodString>;
929
+ updated_at: zod.ZodNullable<zod.ZodString>;
930
+ }, zod_v4_core.$strict>>;
931
+ next_cursor: zod.ZodNullable<zod.ZodString>;
932
+ }, zod_v4_core.$strict>;
933
+ };
934
+ readonly "get-upcoming-events": {
935
+ buildPath: (args?: (Record<string, string> & {
936
+ baseApiUrl?: string;
937
+ }) | undefined) => string;
938
+ buildJsonPayload: (fields: never) => string;
939
+ buildHeaders: (headers: {
940
+ "x-api-key": string;
941
+ }) => {
942
+ "x-api-key": string;
943
+ };
944
+ buildQueryString: (params: {
945
+ limit?: unknown;
946
+ cursor?: string | undefined;
947
+ }) => string;
948
+ name: string;
949
+ method: "GET";
950
+ routeKey: "GET /events/upcoming";
951
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
952
+ headersSchema: zod.ZodObject<{
953
+ "x-api-key": zod.ZodString;
954
+ }, zod_v4_core.$strip>;
955
+ requestBodySchema?: undefined;
956
+ queryParamsSchema?: zod.ZodObject<{
957
+ limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
958
+ cursor: zod.ZodOptional<zod.ZodString>;
959
+ }, zod_v4_core.$strip> | undefined;
960
+ responseBodySchema: zod.ZodObject<{
961
+ items: zod.ZodArray<zod.ZodObject<{
962
+ event_account: zod.ZodString;
963
+ event_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
964
+ name: zod.ZodNullable<zod.ZodString>;
965
+ start_at: zod.ZodNullable<zod.ZodString>;
966
+ on_sale_at: zod.ZodNullable<zod.ZodString>;
967
+ image_url: zod.ZodNullable<zod.ZodString>;
968
+ active_listing_count: zod.ZodNumber;
969
+ tickets_issued_count: zod.ZodNumber;
970
+ integrator_identity: zod.ZodNullable<zod.ZodString>;
971
+ updated_at: zod.ZodNullable<zod.ZodString>;
972
+ found: zod.ZodLiteral<true>;
973
+ genres: zod.ZodNullable<zod.ZodArray<zod.ZodString>>;
974
+ timezone: zod.ZodNullable<zod.ZodString>;
975
+ address: zod.ZodNullable<zod.ZodString>;
976
+ venue: zod.ZodNullable<zod.ZodString>;
977
+ }, zod_v4_core.$strict>>;
978
+ next_cursor: zod.ZodNullable<zod.ZodString>;
979
+ }, zod_v4_core.$strict>;
980
+ };
981
+ readonly "get-event-account": {
982
+ buildPath: (args?: ({
983
+ eventId: string;
984
+ } & {
985
+ baseApiUrl?: string;
986
+ }) | undefined) => string;
987
+ buildJsonPayload: (fields: never) => string;
988
+ buildHeaders: (headers: {
989
+ "x-api-key": string;
990
+ }) => {
991
+ "x-api-key": string;
992
+ };
993
+ buildQueryString: (params: never) => string;
994
+ name: string;
995
+ method: "GET";
996
+ routeKey: "GET /events/{eventId}";
997
+ pathParamsSchema: zod.ZodObject<{
998
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
999
+ }, zod_v4_core.$strict>;
1000
+ headersSchema: zod.ZodObject<{
1001
+ "x-api-key": zod.ZodString;
1002
+ }, zod_v4_core.$strip>;
1003
+ requestBodySchema?: undefined;
1004
+ queryParamsSchema?: undefined;
1005
+ responseBodySchema: zod.ZodObject<{
1006
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1007
+ integrator: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1008
+ integrator_authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1009
+ royalty_bps: zod.ZodNumber;
1010
+ min_royalty_floor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1011
+ royalty_recipients_count: zod.ZodNumber;
1012
+ royalty_recipients: zod.ZodArray<zod.ZodObject<{
1013
+ destination: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1014
+ bps: zod.ZodNumber;
1015
+ }, zod_v4_core.$strip>>;
1016
+ total_supply: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1017
+ minted: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1018
+ flags: zod.ZodNumber;
1019
+ }, zod_v4_core.$strip>;
1020
+ };
1021
+ readonly "get-listing-account": {
1022
+ buildPath: (args?: ({
1023
+ eventId: string;
1024
+ ticketId: string;
1025
+ } & {
1026
+ baseApiUrl?: string;
1027
+ }) | undefined) => string;
1028
+ buildJsonPayload: (fields: never) => string;
1029
+ buildHeaders: (headers: {
1030
+ "x-api-key": string;
1031
+ }) => {
1032
+ "x-api-key": string;
1033
+ };
1034
+ buildQueryString: (params: never) => string;
1035
+ name: string;
1036
+ method: "GET";
1037
+ routeKey: "GET /listings/{eventId}/{ticketId}";
1038
+ pathParamsSchema: zod.ZodObject<{
1039
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1040
+ ticketId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1041
+ }, zod_v4_core.$strict>;
1042
+ headersSchema: zod.ZodObject<{
1043
+ "x-api-key": zod.ZodString;
1044
+ }, zod_v4_core.$strip>;
1045
+ requestBodySchema?: undefined;
1046
+ queryParamsSchema?: undefined;
1047
+ responseBodySchema: zod.ZodObject<{
1048
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1049
+ event_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1050
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1051
+ seller: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1052
+ ask_price_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1053
+ buyer_allow: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1054
+ payout_ata: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1055
+ expires_at: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1056
+ listed_at: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1057
+ permit_version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1058
+ active: zod.ZodBoolean;
1059
+ }, zod_v4_core.$strip>;
1060
+ };
1061
+ readonly "get-permit": {
1062
+ buildPath: (args?: ({
1063
+ eventId: string;
1064
+ ticketId: string;
1065
+ } & {
1066
+ baseApiUrl?: string;
1067
+ }) | undefined) => string;
1068
+ buildJsonPayload: (fields: never) => string;
1069
+ buildHeaders: (headers: {
1070
+ "x-api-key": string;
1071
+ }) => {
1072
+ "x-api-key": string;
1073
+ };
1074
+ buildQueryString: (params: never) => string;
1075
+ name: string;
1076
+ method: "GET";
1077
+ routeKey: "GET /permits/{eventId}/{ticketId}";
1078
+ pathParamsSchema: zod.ZodObject<{
1079
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1080
+ ticketId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1081
+ }, zod_v4_core.$strict>;
1082
+ headersSchema: zod.ZodObject<{
1083
+ "x-api-key": zod.ZodString;
1084
+ }, zod_v4_core.$strip>;
1085
+ requestBodySchema?: undefined;
1086
+ queryParamsSchema?: undefined;
1087
+ responseBodySchema: zod.ZodObject<{
1088
+ owner: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1089
+ status: zod.ZodNumber;
1090
+ ticket_type_id: zod.ZodNumber;
1091
+ version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1092
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1093
+ listing_lock_expiry: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1094
+ }, zod_v4_core.$strip>;
1095
+ };
1096
+ readonly "get-protocol-config-account": {
1097
+ buildPath: (args?: (Record<string, string> & {
1098
+ baseApiUrl?: string;
1099
+ }) | undefined) => string;
1100
+ buildJsonPayload: (fields: never) => string;
1101
+ buildHeaders: (headers: {
1102
+ "x-api-key": string;
1103
+ }) => {
1104
+ "x-api-key": string;
1105
+ };
1106
+ buildQueryString: (params: never) => string;
1107
+ name: string;
1108
+ method: "GET";
1109
+ routeKey: "GET /protocol-config";
1110
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1111
+ headersSchema: zod.ZodObject<{
1112
+ "x-api-key": zod.ZodString;
1113
+ }, zod_v4_core.$strip>;
1114
+ requestBodySchema?: undefined;
1115
+ queryParamsSchema?: undefined;
1116
+ responseBodySchema: zod.ZodObject<{
1117
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1118
+ usdc_mint: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1119
+ default_royalty_vault: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1120
+ authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1121
+ usdc_decimals: zod.ZodNumber;
1122
+ event_registration_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1123
+ permit_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1124
+ p2p_transfer_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1125
+ resale_fee_bps: zod.ZodNumber;
1126
+ }, zod_v4_core.$strip>;
1127
+ };
1128
+ readonly "get-integrator-account": {
1129
+ buildPath: (args?: ({
1130
+ identity: _solana_kit.Address<string>;
1131
+ } & {
1132
+ baseApiUrl?: string;
1133
+ }) | undefined) => string;
1134
+ buildJsonPayload: (fields: never) => string;
1135
+ buildHeaders: (headers: {
1136
+ "x-api-key": string;
1137
+ }) => {
1138
+ "x-api-key": string;
1139
+ };
1140
+ buildQueryString: (params: never) => string;
1141
+ name: string;
1142
+ method: "GET";
1143
+ routeKey: "GET /integrators/{identity}";
1144
+ pathParamsSchema: zod.ZodObject<{
1145
+ identity: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1146
+ }, zod_v4_core.$strict>;
1147
+ headersSchema: zod.ZodObject<{
1148
+ "x-api-key": zod.ZodString;
1149
+ }, zod_v4_core.$strip>;
1150
+ requestBodySchema?: undefined;
1151
+ queryParamsSchema?: undefined;
1152
+ responseBodySchema: zod.ZodObject<{
1153
+ integrator_pda: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1154
+ integrator: zod.ZodObject<{
1155
+ authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1156
+ status: zod.ZodEnum<{
1157
+ Active: "Active";
1158
+ Suspended: "Suspended";
1159
+ }>;
1160
+ treasury_usdc: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1161
+ balance: zod.ZodObject<{
1162
+ amount_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1163
+ decimals: zod.ZodNumber;
1164
+ }, zod_v4_core.$strip>;
1165
+ }, zod_v4_core.$strip>;
1166
+ }, zod_v4_core.$strip>;
1167
+ };
1168
+ }[TRouteName]>> & RouteRequestField<"body", RouteRequestBody<{
1169
+ readonly "post-integrator-metadata": {
1170
+ buildPath: (args?: ({
1171
+ eventId: string;
1172
+ } & {
1173
+ baseApiUrl?: string;
1174
+ }) | undefined) => string;
1175
+ buildJsonPayload: (fields: {
1176
+ name?: string | undefined;
1177
+ start_at?: string | undefined;
1178
+ on_sale_at?: string | undefined;
1179
+ image_url?: string | undefined;
1180
+ timezone?: string | undefined;
1181
+ address?: string | undefined;
1182
+ venue?: string | undefined;
1183
+ genres?: string[] | undefined;
1184
+ }) => string;
1185
+ buildHeaders: (headers: {
1186
+ "x-api-key": string;
1187
+ }) => {
1188
+ "x-api-key": string;
1189
+ };
1190
+ buildQueryString: (params: never) => string;
1191
+ name: string;
1192
+ method: "POST";
1193
+ routeKey: "POST /events/{eventId}/metadata";
1194
+ pathParamsSchema: zod.ZodObject<{
1195
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1196
+ }, zod_v4_core.$strict>;
1197
+ headersSchema: zod.ZodObject<{
1198
+ "x-api-key": zod.ZodString;
1199
+ }, zod_v4_core.$strip>;
1200
+ requestBodySchema?: zod.ZodObject<{
1201
+ name: zod.ZodOptional<zod.ZodString>;
1202
+ start_at: zod.ZodOptional<zod.ZodString>;
1203
+ on_sale_at: zod.ZodOptional<zod.ZodString>;
1204
+ image_url: zod.ZodOptional<zod.ZodString>;
1205
+ timezone: zod.ZodOptional<zod.ZodString>;
1206
+ address: zod.ZodOptional<zod.ZodString>;
1207
+ venue: zod.ZodOptional<zod.ZodString>;
1208
+ genres: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1209
+ }, zod_v4_core.$strict> | undefined;
1210
+ queryParamsSchema?: undefined;
1211
+ responseBodySchema: zod.ZodObject<{
1212
+ status: zod.ZodLiteral<"ok">;
1213
+ event_account: zod.ZodString;
1214
+ updated_at: zod.ZodString;
1215
+ }, zod_v4_core.$strict>;
1216
+ };
1217
+ readonly "get-active-listings": {
1218
+ buildPath: (args?: (Record<string, string> & {
1219
+ baseApiUrl?: string;
1220
+ }) | undefined) => string;
1221
+ buildJsonPayload: (fields: never) => string;
1222
+ buildHeaders: (headers: {
1223
+ "x-api-key": string;
1224
+ }) => {
1225
+ "x-api-key": string;
1226
+ };
1227
+ buildQueryString: (params: {
1228
+ limit?: unknown;
1229
+ cursor?: string | undefined;
1230
+ }) => string;
1231
+ name: string;
1232
+ method: "GET";
1233
+ routeKey: "GET /listings/active";
1234
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1235
+ headersSchema: zod.ZodObject<{
1236
+ "x-api-key": zod.ZodString;
1237
+ }, zod_v4_core.$strip>;
1238
+ requestBodySchema?: undefined;
1239
+ queryParamsSchema?: zod.ZodObject<{
1240
+ limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
1241
+ cursor: zod.ZodOptional<zod.ZodString>;
1242
+ }, zod_v4_core.$strip> | undefined;
1243
+ responseBodySchema: zod.ZodObject<{
1244
+ items: zod.ZodArray<zod.ZodObject<{
1245
+ event_account: zod.ZodNullable<zod.ZodString>;
1246
+ event_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
1247
+ listing_id: zod.ZodNullable<zod.ZodString>;
1248
+ ticket_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
1249
+ seller: zod.ZodNullable<zod.ZodString>;
1250
+ buyer_allow: zod.ZodNullable<zod.ZodString>;
1251
+ ask_price_minor: zod.ZodNullable<zod.ZodString>;
1252
+ payout_ata: zod.ZodNullable<zod.ZodString>;
1253
+ expires_at: zod.ZodNullable<zod.ZodString>;
1254
+ updated_at: zod.ZodNullable<zod.ZodString>;
1255
+ }, zod_v4_core.$strict>>;
1256
+ next_cursor: zod.ZodNullable<zod.ZodString>;
1257
+ }, zod_v4_core.$strict>;
1258
+ };
1259
+ readonly "get-upcoming-events": {
1260
+ buildPath: (args?: (Record<string, string> & {
1261
+ baseApiUrl?: string;
1262
+ }) | undefined) => string;
1263
+ buildJsonPayload: (fields: never) => string;
1264
+ buildHeaders: (headers: {
1265
+ "x-api-key": string;
1266
+ }) => {
1267
+ "x-api-key": string;
1268
+ };
1269
+ buildQueryString: (params: {
1270
+ limit?: unknown;
1271
+ cursor?: string | undefined;
1272
+ }) => string;
1273
+ name: string;
1274
+ method: "GET";
1275
+ routeKey: "GET /events/upcoming";
1276
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1277
+ headersSchema: zod.ZodObject<{
1278
+ "x-api-key": zod.ZodString;
1279
+ }, zod_v4_core.$strip>;
1280
+ requestBodySchema?: undefined;
1281
+ queryParamsSchema?: zod.ZodObject<{
1282
+ limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
1283
+ cursor: zod.ZodOptional<zod.ZodString>;
1284
+ }, zod_v4_core.$strip> | undefined;
1285
+ responseBodySchema: zod.ZodObject<{
1286
+ items: zod.ZodArray<zod.ZodObject<{
1287
+ event_account: zod.ZodString;
1288
+ event_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
1289
+ name: zod.ZodNullable<zod.ZodString>;
1290
+ start_at: zod.ZodNullable<zod.ZodString>;
1291
+ on_sale_at: zod.ZodNullable<zod.ZodString>;
1292
+ image_url: zod.ZodNullable<zod.ZodString>;
1293
+ active_listing_count: zod.ZodNumber;
1294
+ tickets_issued_count: zod.ZodNumber;
1295
+ integrator_identity: zod.ZodNullable<zod.ZodString>;
1296
+ updated_at: zod.ZodNullable<zod.ZodString>;
1297
+ found: zod.ZodLiteral<true>;
1298
+ genres: zod.ZodNullable<zod.ZodArray<zod.ZodString>>;
1299
+ timezone: zod.ZodNullable<zod.ZodString>;
1300
+ address: zod.ZodNullable<zod.ZodString>;
1301
+ venue: zod.ZodNullable<zod.ZodString>;
1302
+ }, zod_v4_core.$strict>>;
1303
+ next_cursor: zod.ZodNullable<zod.ZodString>;
1304
+ }, zod_v4_core.$strict>;
1305
+ };
1306
+ readonly "get-event-account": {
1307
+ buildPath: (args?: ({
1308
+ eventId: string;
1309
+ } & {
1310
+ baseApiUrl?: string;
1311
+ }) | undefined) => string;
1312
+ buildJsonPayload: (fields: never) => string;
1313
+ buildHeaders: (headers: {
1314
+ "x-api-key": string;
1315
+ }) => {
1316
+ "x-api-key": string;
1317
+ };
1318
+ buildQueryString: (params: never) => string;
1319
+ name: string;
1320
+ method: "GET";
1321
+ routeKey: "GET /events/{eventId}";
1322
+ pathParamsSchema: zod.ZodObject<{
1323
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1324
+ }, zod_v4_core.$strict>;
1325
+ headersSchema: zod.ZodObject<{
1326
+ "x-api-key": zod.ZodString;
1327
+ }, zod_v4_core.$strip>;
1328
+ requestBodySchema?: undefined;
1329
+ queryParamsSchema?: undefined;
1330
+ responseBodySchema: zod.ZodObject<{
1331
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1332
+ integrator: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1333
+ integrator_authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1334
+ royalty_bps: zod.ZodNumber;
1335
+ min_royalty_floor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1336
+ royalty_recipients_count: zod.ZodNumber;
1337
+ royalty_recipients: zod.ZodArray<zod.ZodObject<{
1338
+ destination: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1339
+ bps: zod.ZodNumber;
1340
+ }, zod_v4_core.$strip>>;
1341
+ total_supply: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1342
+ minted: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1343
+ flags: zod.ZodNumber;
1344
+ }, zod_v4_core.$strip>;
1345
+ };
1346
+ readonly "get-listing-account": {
1347
+ buildPath: (args?: ({
1348
+ eventId: string;
1349
+ ticketId: string;
1350
+ } & {
1351
+ baseApiUrl?: string;
1352
+ }) | undefined) => string;
1353
+ buildJsonPayload: (fields: never) => string;
1354
+ buildHeaders: (headers: {
1355
+ "x-api-key": string;
1356
+ }) => {
1357
+ "x-api-key": string;
1358
+ };
1359
+ buildQueryString: (params: never) => string;
1360
+ name: string;
1361
+ method: "GET";
1362
+ routeKey: "GET /listings/{eventId}/{ticketId}";
1363
+ pathParamsSchema: zod.ZodObject<{
1364
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1365
+ ticketId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1366
+ }, zod_v4_core.$strict>;
1367
+ headersSchema: zod.ZodObject<{
1368
+ "x-api-key": zod.ZodString;
1369
+ }, zod_v4_core.$strip>;
1370
+ requestBodySchema?: undefined;
1371
+ queryParamsSchema?: undefined;
1372
+ responseBodySchema: zod.ZodObject<{
1373
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1374
+ event_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1375
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1376
+ seller: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1377
+ ask_price_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1378
+ buyer_allow: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1379
+ payout_ata: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1380
+ expires_at: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1381
+ listed_at: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1382
+ permit_version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1383
+ active: zod.ZodBoolean;
1384
+ }, zod_v4_core.$strip>;
1385
+ };
1386
+ readonly "get-permit": {
1387
+ buildPath: (args?: ({
1388
+ eventId: string;
1389
+ ticketId: string;
1390
+ } & {
1391
+ baseApiUrl?: string;
1392
+ }) | undefined) => string;
1393
+ buildJsonPayload: (fields: never) => string;
1394
+ buildHeaders: (headers: {
1395
+ "x-api-key": string;
1396
+ }) => {
1397
+ "x-api-key": string;
1398
+ };
1399
+ buildQueryString: (params: never) => string;
1400
+ name: string;
1401
+ method: "GET";
1402
+ routeKey: "GET /permits/{eventId}/{ticketId}";
1403
+ pathParamsSchema: zod.ZodObject<{
1404
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1405
+ ticketId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1406
+ }, zod_v4_core.$strict>;
1407
+ headersSchema: zod.ZodObject<{
1408
+ "x-api-key": zod.ZodString;
1409
+ }, zod_v4_core.$strip>;
1410
+ requestBodySchema?: undefined;
1411
+ queryParamsSchema?: undefined;
1412
+ responseBodySchema: zod.ZodObject<{
1413
+ owner: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1414
+ status: zod.ZodNumber;
1415
+ ticket_type_id: zod.ZodNumber;
1416
+ version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1417
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1418
+ listing_lock_expiry: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1419
+ }, zod_v4_core.$strip>;
1420
+ };
1421
+ readonly "get-protocol-config-account": {
1422
+ buildPath: (args?: (Record<string, string> & {
1423
+ baseApiUrl?: string;
1424
+ }) | undefined) => string;
1425
+ buildJsonPayload: (fields: never) => string;
1426
+ buildHeaders: (headers: {
1427
+ "x-api-key": string;
1428
+ }) => {
1429
+ "x-api-key": string;
1430
+ };
1431
+ buildQueryString: (params: never) => string;
1432
+ name: string;
1433
+ method: "GET";
1434
+ routeKey: "GET /protocol-config";
1435
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1436
+ headersSchema: zod.ZodObject<{
1437
+ "x-api-key": zod.ZodString;
1438
+ }, zod_v4_core.$strip>;
1439
+ requestBodySchema?: undefined;
1440
+ queryParamsSchema?: undefined;
1441
+ responseBodySchema: zod.ZodObject<{
1442
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1443
+ usdc_mint: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1444
+ default_royalty_vault: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1445
+ authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1446
+ usdc_decimals: zod.ZodNumber;
1447
+ event_registration_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1448
+ permit_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1449
+ p2p_transfer_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1450
+ resale_fee_bps: zod.ZodNumber;
1451
+ }, zod_v4_core.$strip>;
1452
+ };
1453
+ readonly "get-integrator-account": {
1454
+ buildPath: (args?: ({
1455
+ identity: _solana_kit.Address<string>;
1456
+ } & {
1457
+ baseApiUrl?: string;
1458
+ }) | undefined) => string;
1459
+ buildJsonPayload: (fields: never) => string;
1460
+ buildHeaders: (headers: {
1461
+ "x-api-key": string;
1462
+ }) => {
1463
+ "x-api-key": string;
1464
+ };
1465
+ buildQueryString: (params: never) => string;
1466
+ name: string;
1467
+ method: "GET";
1468
+ routeKey: "GET /integrators/{identity}";
1469
+ pathParamsSchema: zod.ZodObject<{
1470
+ identity: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1471
+ }, zod_v4_core.$strict>;
1472
+ headersSchema: zod.ZodObject<{
1473
+ "x-api-key": zod.ZodString;
1474
+ }, zod_v4_core.$strip>;
1475
+ requestBodySchema?: undefined;
1476
+ queryParamsSchema?: undefined;
1477
+ responseBodySchema: zod.ZodObject<{
1478
+ integrator_pda: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1479
+ integrator: zod.ZodObject<{
1480
+ authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1481
+ status: zod.ZodEnum<{
1482
+ Active: "Active";
1483
+ Suspended: "Suspended";
1484
+ }>;
1485
+ treasury_usdc: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1486
+ balance: zod.ZodObject<{
1487
+ amount_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1488
+ decimals: zod.ZodNumber;
1489
+ }, zod_v4_core.$strip>;
1490
+ }, zod_v4_core.$strip>;
1491
+ }, zod_v4_core.$strip>;
1492
+ };
1493
+ }[TRouteName]>> & RouteRequestField<"queryParams", RouteQueryParams<{
1494
+ readonly "post-integrator-metadata": {
1495
+ buildPath: (args?: ({
1496
+ eventId: string;
1497
+ } & {
1498
+ baseApiUrl?: string;
1499
+ }) | undefined) => string;
1500
+ buildJsonPayload: (fields: {
1501
+ name?: string | undefined;
1502
+ start_at?: string | undefined;
1503
+ on_sale_at?: string | undefined;
1504
+ image_url?: string | undefined;
1505
+ timezone?: string | undefined;
1506
+ address?: string | undefined;
1507
+ venue?: string | undefined;
1508
+ genres?: string[] | undefined;
1509
+ }) => string;
1510
+ buildHeaders: (headers: {
1511
+ "x-api-key": string;
1512
+ }) => {
1513
+ "x-api-key": string;
1514
+ };
1515
+ buildQueryString: (params: never) => string;
1516
+ name: string;
1517
+ method: "POST";
1518
+ routeKey: "POST /events/{eventId}/metadata";
1519
+ pathParamsSchema: zod.ZodObject<{
1520
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1521
+ }, zod_v4_core.$strict>;
1522
+ headersSchema: zod.ZodObject<{
1523
+ "x-api-key": zod.ZodString;
1524
+ }, zod_v4_core.$strip>;
1525
+ requestBodySchema?: zod.ZodObject<{
1526
+ name: zod.ZodOptional<zod.ZodString>;
1527
+ start_at: zod.ZodOptional<zod.ZodString>;
1528
+ on_sale_at: zod.ZodOptional<zod.ZodString>;
1529
+ image_url: zod.ZodOptional<zod.ZodString>;
1530
+ timezone: zod.ZodOptional<zod.ZodString>;
1531
+ address: zod.ZodOptional<zod.ZodString>;
1532
+ venue: zod.ZodOptional<zod.ZodString>;
1533
+ genres: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1534
+ }, zod_v4_core.$strict> | undefined;
1535
+ queryParamsSchema?: undefined;
1536
+ responseBodySchema: zod.ZodObject<{
1537
+ status: zod.ZodLiteral<"ok">;
1538
+ event_account: zod.ZodString;
1539
+ updated_at: zod.ZodString;
1540
+ }, zod_v4_core.$strict>;
1541
+ };
1542
+ readonly "get-active-listings": {
1543
+ buildPath: (args?: (Record<string, string> & {
1544
+ baseApiUrl?: string;
1545
+ }) | undefined) => string;
1546
+ buildJsonPayload: (fields: never) => string;
1547
+ buildHeaders: (headers: {
1548
+ "x-api-key": string;
1549
+ }) => {
1550
+ "x-api-key": string;
1551
+ };
1552
+ buildQueryString: (params: {
1553
+ limit?: unknown;
1554
+ cursor?: string | undefined;
1555
+ }) => string;
1556
+ name: string;
1557
+ method: "GET";
1558
+ routeKey: "GET /listings/active";
1559
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1560
+ headersSchema: zod.ZodObject<{
1561
+ "x-api-key": zod.ZodString;
1562
+ }, zod_v4_core.$strip>;
1563
+ requestBodySchema?: undefined;
1564
+ queryParamsSchema?: zod.ZodObject<{
1565
+ limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
1566
+ cursor: zod.ZodOptional<zod.ZodString>;
1567
+ }, zod_v4_core.$strip> | undefined;
1568
+ responseBodySchema: zod.ZodObject<{
1569
+ items: zod.ZodArray<zod.ZodObject<{
1570
+ event_account: zod.ZodNullable<zod.ZodString>;
1571
+ event_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
1572
+ listing_id: zod.ZodNullable<zod.ZodString>;
1573
+ ticket_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
1574
+ seller: zod.ZodNullable<zod.ZodString>;
1575
+ buyer_allow: zod.ZodNullable<zod.ZodString>;
1576
+ ask_price_minor: zod.ZodNullable<zod.ZodString>;
1577
+ payout_ata: zod.ZodNullable<zod.ZodString>;
1578
+ expires_at: zod.ZodNullable<zod.ZodString>;
1579
+ updated_at: zod.ZodNullable<zod.ZodString>;
1580
+ }, zod_v4_core.$strict>>;
1581
+ next_cursor: zod.ZodNullable<zod.ZodString>;
1582
+ }, zod_v4_core.$strict>;
1583
+ };
1584
+ readonly "get-upcoming-events": {
1585
+ buildPath: (args?: (Record<string, string> & {
1586
+ baseApiUrl?: string;
1587
+ }) | undefined) => string;
1588
+ buildJsonPayload: (fields: never) => string;
1589
+ buildHeaders: (headers: {
1590
+ "x-api-key": string;
1591
+ }) => {
1592
+ "x-api-key": string;
1593
+ };
1594
+ buildQueryString: (params: {
1595
+ limit?: unknown;
1596
+ cursor?: string | undefined;
1597
+ }) => string;
1598
+ name: string;
1599
+ method: "GET";
1600
+ routeKey: "GET /events/upcoming";
1601
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1602
+ headersSchema: zod.ZodObject<{
1603
+ "x-api-key": zod.ZodString;
1604
+ }, zod_v4_core.$strip>;
1605
+ requestBodySchema?: undefined;
1606
+ queryParamsSchema?: zod.ZodObject<{
1607
+ limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
1608
+ cursor: zod.ZodOptional<zod.ZodString>;
1609
+ }, zod_v4_core.$strip> | undefined;
1610
+ responseBodySchema: zod.ZodObject<{
1611
+ items: zod.ZodArray<zod.ZodObject<{
1612
+ event_account: zod.ZodString;
1613
+ event_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
1614
+ name: zod.ZodNullable<zod.ZodString>;
1615
+ start_at: zod.ZodNullable<zod.ZodString>;
1616
+ on_sale_at: zod.ZodNullable<zod.ZodString>;
1617
+ image_url: zod.ZodNullable<zod.ZodString>;
1618
+ active_listing_count: zod.ZodNumber;
1619
+ tickets_issued_count: zod.ZodNumber;
1620
+ integrator_identity: zod.ZodNullable<zod.ZodString>;
1621
+ updated_at: zod.ZodNullable<zod.ZodString>;
1622
+ found: zod.ZodLiteral<true>;
1623
+ genres: zod.ZodNullable<zod.ZodArray<zod.ZodString>>;
1624
+ timezone: zod.ZodNullable<zod.ZodString>;
1625
+ address: zod.ZodNullable<zod.ZodString>;
1626
+ venue: zod.ZodNullable<zod.ZodString>;
1627
+ }, zod_v4_core.$strict>>;
1628
+ next_cursor: zod.ZodNullable<zod.ZodString>;
1629
+ }, zod_v4_core.$strict>;
1630
+ };
1631
+ readonly "get-event-account": {
1632
+ buildPath: (args?: ({
1633
+ eventId: string;
1634
+ } & {
1635
+ baseApiUrl?: string;
1636
+ }) | undefined) => string;
1637
+ buildJsonPayload: (fields: never) => string;
1638
+ buildHeaders: (headers: {
1639
+ "x-api-key": string;
1640
+ }) => {
1641
+ "x-api-key": string;
1642
+ };
1643
+ buildQueryString: (params: never) => string;
1644
+ name: string;
1645
+ method: "GET";
1646
+ routeKey: "GET /events/{eventId}";
1647
+ pathParamsSchema: zod.ZodObject<{
1648
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1649
+ }, zod_v4_core.$strict>;
1650
+ headersSchema: zod.ZodObject<{
1651
+ "x-api-key": zod.ZodString;
1652
+ }, zod_v4_core.$strip>;
1653
+ requestBodySchema?: undefined;
1654
+ queryParamsSchema?: undefined;
1655
+ responseBodySchema: zod.ZodObject<{
1656
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1657
+ integrator: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1658
+ integrator_authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1659
+ royalty_bps: zod.ZodNumber;
1660
+ min_royalty_floor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1661
+ royalty_recipients_count: zod.ZodNumber;
1662
+ royalty_recipients: zod.ZodArray<zod.ZodObject<{
1663
+ destination: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1664
+ bps: zod.ZodNumber;
1665
+ }, zod_v4_core.$strip>>;
1666
+ total_supply: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1667
+ minted: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1668
+ flags: zod.ZodNumber;
1669
+ }, zod_v4_core.$strip>;
1670
+ };
1671
+ readonly "get-listing-account": {
1672
+ buildPath: (args?: ({
1673
+ eventId: string;
1674
+ ticketId: string;
1675
+ } & {
1676
+ baseApiUrl?: string;
1677
+ }) | undefined) => string;
1678
+ buildJsonPayload: (fields: never) => string;
1679
+ buildHeaders: (headers: {
1680
+ "x-api-key": string;
1681
+ }) => {
1682
+ "x-api-key": string;
1683
+ };
1684
+ buildQueryString: (params: never) => string;
1685
+ name: string;
1686
+ method: "GET";
1687
+ routeKey: "GET /listings/{eventId}/{ticketId}";
1688
+ pathParamsSchema: zod.ZodObject<{
1689
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1690
+ ticketId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1691
+ }, zod_v4_core.$strict>;
1692
+ headersSchema: zod.ZodObject<{
1693
+ "x-api-key": zod.ZodString;
1694
+ }, zod_v4_core.$strip>;
1695
+ requestBodySchema?: undefined;
1696
+ queryParamsSchema?: undefined;
1697
+ responseBodySchema: zod.ZodObject<{
1698
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1699
+ event_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1700
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1701
+ seller: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1702
+ ask_price_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1703
+ buyer_allow: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1704
+ payout_ata: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1705
+ expires_at: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1706
+ listed_at: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1707
+ permit_version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1708
+ active: zod.ZodBoolean;
1709
+ }, zod_v4_core.$strip>;
1710
+ };
1711
+ readonly "get-permit": {
1712
+ buildPath: (args?: ({
1713
+ eventId: string;
1714
+ ticketId: string;
1715
+ } & {
1716
+ baseApiUrl?: string;
1717
+ }) | undefined) => string;
1718
+ buildJsonPayload: (fields: never) => string;
1719
+ buildHeaders: (headers: {
1720
+ "x-api-key": string;
1721
+ }) => {
1722
+ "x-api-key": string;
1723
+ };
1724
+ buildQueryString: (params: never) => string;
1725
+ name: string;
1726
+ method: "GET";
1727
+ routeKey: "GET /permits/{eventId}/{ticketId}";
1728
+ pathParamsSchema: zod.ZodObject<{
1729
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1730
+ ticketId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1731
+ }, zod_v4_core.$strict>;
1732
+ headersSchema: zod.ZodObject<{
1733
+ "x-api-key": zod.ZodString;
1734
+ }, zod_v4_core.$strip>;
1735
+ requestBodySchema?: undefined;
1736
+ queryParamsSchema?: undefined;
1737
+ responseBodySchema: zod.ZodObject<{
1738
+ owner: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1739
+ status: zod.ZodNumber;
1740
+ ticket_type_id: zod.ZodNumber;
1741
+ version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1742
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1743
+ listing_lock_expiry: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1744
+ }, zod_v4_core.$strip>;
1745
+ };
1746
+ readonly "get-protocol-config-account": {
1747
+ buildPath: (args?: (Record<string, string> & {
1748
+ baseApiUrl?: string;
1749
+ }) | undefined) => string;
1750
+ buildJsonPayload: (fields: never) => string;
1751
+ buildHeaders: (headers: {
1752
+ "x-api-key": string;
1753
+ }) => {
1754
+ "x-api-key": string;
1755
+ };
1756
+ buildQueryString: (params: never) => string;
1757
+ name: string;
1758
+ method: "GET";
1759
+ routeKey: "GET /protocol-config";
1760
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1761
+ headersSchema: zod.ZodObject<{
1762
+ "x-api-key": zod.ZodString;
1763
+ }, zod_v4_core.$strip>;
1764
+ requestBodySchema?: undefined;
1765
+ queryParamsSchema?: undefined;
1766
+ responseBodySchema: zod.ZodObject<{
1767
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1768
+ usdc_mint: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1769
+ default_royalty_vault: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1770
+ authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1771
+ usdc_decimals: zod.ZodNumber;
1772
+ event_registration_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1773
+ permit_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1774
+ p2p_transfer_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1775
+ resale_fee_bps: zod.ZodNumber;
1776
+ }, zod_v4_core.$strip>;
1777
+ };
1778
+ readonly "get-integrator-account": {
1779
+ buildPath: (args?: ({
1780
+ identity: _solana_kit.Address<string>;
1781
+ } & {
1782
+ baseApiUrl?: string;
1783
+ }) | undefined) => string;
1784
+ buildJsonPayload: (fields: never) => string;
1785
+ buildHeaders: (headers: {
1786
+ "x-api-key": string;
1787
+ }) => {
1788
+ "x-api-key": string;
1789
+ };
1790
+ buildQueryString: (params: never) => string;
1791
+ name: string;
1792
+ method: "GET";
1793
+ routeKey: "GET /integrators/{identity}";
1794
+ pathParamsSchema: zod.ZodObject<{
1795
+ identity: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1796
+ }, zod_v4_core.$strict>;
1797
+ headersSchema: zod.ZodObject<{
1798
+ "x-api-key": zod.ZodString;
1799
+ }, zod_v4_core.$strip>;
1800
+ requestBodySchema?: undefined;
1801
+ queryParamsSchema?: undefined;
1802
+ responseBodySchema: zod.ZodObject<{
1803
+ integrator_pda: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1804
+ integrator: zod.ZodObject<{
1805
+ authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1806
+ status: zod.ZodEnum<{
1807
+ Active: "Active";
1808
+ Suspended: "Suspended";
1809
+ }>;
1810
+ treasury_usdc: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1811
+ balance: zod.ZodObject<{
1812
+ amount_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1813
+ decimals: zod.ZodNumber;
1814
+ }, zod_v4_core.$strip>;
1815
+ }, zod_v4_core.$strip>;
1816
+ }, zod_v4_core.$strip>;
1817
+ };
1818
+ }[TRouteName]>>, { signal }?: Pick<RequestInit, "signal">) => Promise<zod.infer<{
1819
+ readonly "post-integrator-metadata": {
1820
+ buildPath: (args?: ({
1821
+ eventId: string;
1822
+ } & {
1823
+ baseApiUrl?: string;
1824
+ }) | undefined) => string;
1825
+ buildJsonPayload: (fields: {
1826
+ name?: string | undefined;
1827
+ start_at?: string | undefined;
1828
+ on_sale_at?: string | undefined;
1829
+ image_url?: string | undefined;
1830
+ timezone?: string | undefined;
1831
+ address?: string | undefined;
1832
+ venue?: string | undefined;
1833
+ genres?: string[] | undefined;
1834
+ }) => string;
1835
+ buildHeaders: (headers: {
1836
+ "x-api-key": string;
1837
+ }) => {
1838
+ "x-api-key": string;
1839
+ };
1840
+ buildQueryString: (params: never) => string;
1841
+ name: string;
1842
+ method: "POST";
1843
+ routeKey: "POST /events/{eventId}/metadata";
1844
+ pathParamsSchema: zod.ZodObject<{
1845
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1846
+ }, zod_v4_core.$strict>;
1847
+ headersSchema: zod.ZodObject<{
1848
+ "x-api-key": zod.ZodString;
1849
+ }, zod_v4_core.$strip>;
1850
+ requestBodySchema?: zod.ZodObject<{
1851
+ name: zod.ZodOptional<zod.ZodString>;
1852
+ start_at: zod.ZodOptional<zod.ZodString>;
1853
+ on_sale_at: zod.ZodOptional<zod.ZodString>;
1854
+ image_url: zod.ZodOptional<zod.ZodString>;
1855
+ timezone: zod.ZodOptional<zod.ZodString>;
1856
+ address: zod.ZodOptional<zod.ZodString>;
1857
+ venue: zod.ZodOptional<zod.ZodString>;
1858
+ genres: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1859
+ }, zod_v4_core.$strict> | undefined;
1860
+ queryParamsSchema?: undefined;
1861
+ responseBodySchema: zod.ZodObject<{
1862
+ status: zod.ZodLiteral<"ok">;
1863
+ event_account: zod.ZodString;
1864
+ updated_at: zod.ZodString;
1865
+ }, zod_v4_core.$strict>;
1866
+ };
1867
+ readonly "get-active-listings": {
1868
+ buildPath: (args?: (Record<string, string> & {
1869
+ baseApiUrl?: string;
1870
+ }) | undefined) => string;
1871
+ buildJsonPayload: (fields: never) => string;
1872
+ buildHeaders: (headers: {
1873
+ "x-api-key": string;
1874
+ }) => {
1875
+ "x-api-key": string;
1876
+ };
1877
+ buildQueryString: (params: {
1878
+ limit?: unknown;
1879
+ cursor?: string | undefined;
1880
+ }) => string;
1881
+ name: string;
1882
+ method: "GET";
1883
+ routeKey: "GET /listings/active";
1884
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1885
+ headersSchema: zod.ZodObject<{
1886
+ "x-api-key": zod.ZodString;
1887
+ }, zod_v4_core.$strip>;
1888
+ requestBodySchema?: undefined;
1889
+ queryParamsSchema?: zod.ZodObject<{
1890
+ limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
1891
+ cursor: zod.ZodOptional<zod.ZodString>;
1892
+ }, zod_v4_core.$strip> | undefined;
1893
+ responseBodySchema: zod.ZodObject<{
1894
+ items: zod.ZodArray<zod.ZodObject<{
1895
+ event_account: zod.ZodNullable<zod.ZodString>;
1896
+ event_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
1897
+ listing_id: zod.ZodNullable<zod.ZodString>;
1898
+ ticket_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
1899
+ seller: zod.ZodNullable<zod.ZodString>;
1900
+ buyer_allow: zod.ZodNullable<zod.ZodString>;
1901
+ ask_price_minor: zod.ZodNullable<zod.ZodString>;
1902
+ payout_ata: zod.ZodNullable<zod.ZodString>;
1903
+ expires_at: zod.ZodNullable<zod.ZodString>;
1904
+ updated_at: zod.ZodNullable<zod.ZodString>;
1905
+ }, zod_v4_core.$strict>>;
1906
+ next_cursor: zod.ZodNullable<zod.ZodString>;
1907
+ }, zod_v4_core.$strict>;
1908
+ };
1909
+ readonly "get-upcoming-events": {
1910
+ buildPath: (args?: (Record<string, string> & {
1911
+ baseApiUrl?: string;
1912
+ }) | undefined) => string;
1913
+ buildJsonPayload: (fields: never) => string;
1914
+ buildHeaders: (headers: {
1915
+ "x-api-key": string;
1916
+ }) => {
1917
+ "x-api-key": string;
1918
+ };
1919
+ buildQueryString: (params: {
1920
+ limit?: unknown;
1921
+ cursor?: string | undefined;
1922
+ }) => string;
1923
+ name: string;
1924
+ method: "GET";
1925
+ routeKey: "GET /events/upcoming";
1926
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
1927
+ headersSchema: zod.ZodObject<{
1928
+ "x-api-key": zod.ZodString;
1929
+ }, zod_v4_core.$strip>;
1930
+ requestBodySchema?: undefined;
1931
+ queryParamsSchema?: zod.ZodObject<{
1932
+ limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
1933
+ cursor: zod.ZodOptional<zod.ZodString>;
1934
+ }, zod_v4_core.$strip> | undefined;
1935
+ responseBodySchema: zod.ZodObject<{
1936
+ items: zod.ZodArray<zod.ZodObject<{
1937
+ event_account: zod.ZodString;
1938
+ event_id: zod.ZodNullable<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>>;
1939
+ name: zod.ZodNullable<zod.ZodString>;
1940
+ start_at: zod.ZodNullable<zod.ZodString>;
1941
+ on_sale_at: zod.ZodNullable<zod.ZodString>;
1942
+ image_url: zod.ZodNullable<zod.ZodString>;
1943
+ active_listing_count: zod.ZodNumber;
1944
+ tickets_issued_count: zod.ZodNumber;
1945
+ integrator_identity: zod.ZodNullable<zod.ZodString>;
1946
+ updated_at: zod.ZodNullable<zod.ZodString>;
1947
+ found: zod.ZodLiteral<true>;
1948
+ genres: zod.ZodNullable<zod.ZodArray<zod.ZodString>>;
1949
+ timezone: zod.ZodNullable<zod.ZodString>;
1950
+ address: zod.ZodNullable<zod.ZodString>;
1951
+ venue: zod.ZodNullable<zod.ZodString>;
1952
+ }, zod_v4_core.$strict>>;
1953
+ next_cursor: zod.ZodNullable<zod.ZodString>;
1954
+ }, zod_v4_core.$strict>;
1955
+ };
1956
+ readonly "get-event-account": {
1957
+ buildPath: (args?: ({
1958
+ eventId: string;
1959
+ } & {
1960
+ baseApiUrl?: string;
1961
+ }) | undefined) => string;
1962
+ buildJsonPayload: (fields: never) => string;
1963
+ buildHeaders: (headers: {
1964
+ "x-api-key": string;
1965
+ }) => {
1966
+ "x-api-key": string;
1967
+ };
1968
+ buildQueryString: (params: never) => string;
1969
+ name: string;
1970
+ method: "GET";
1971
+ routeKey: "GET /events/{eventId}";
1972
+ pathParamsSchema: zod.ZodObject<{
1973
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
1974
+ }, zod_v4_core.$strict>;
1975
+ headersSchema: zod.ZodObject<{
1976
+ "x-api-key": zod.ZodString;
1977
+ }, zod_v4_core.$strip>;
1978
+ requestBodySchema?: undefined;
1979
+ queryParamsSchema?: undefined;
1980
+ responseBodySchema: zod.ZodObject<{
1981
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1982
+ integrator: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1983
+ integrator_authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1984
+ royalty_bps: zod.ZodNumber;
1985
+ min_royalty_floor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1986
+ royalty_recipients_count: zod.ZodNumber;
1987
+ royalty_recipients: zod.ZodArray<zod.ZodObject<{
1988
+ destination: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1989
+ bps: zod.ZodNumber;
1990
+ }, zod_v4_core.$strip>>;
1991
+ total_supply: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1992
+ minted: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
1993
+ flags: zod.ZodNumber;
1994
+ }, zod_v4_core.$strip>;
1995
+ };
1996
+ readonly "get-listing-account": {
1997
+ buildPath: (args?: ({
1998
+ eventId: string;
1999
+ ticketId: string;
2000
+ } & {
2001
+ baseApiUrl?: string;
2002
+ }) | undefined) => string;
2003
+ buildJsonPayload: (fields: never) => string;
2004
+ buildHeaders: (headers: {
2005
+ "x-api-key": string;
2006
+ }) => {
2007
+ "x-api-key": string;
2008
+ };
2009
+ buildQueryString: (params: never) => string;
2010
+ name: string;
2011
+ method: "GET";
2012
+ routeKey: "GET /listings/{eventId}/{ticketId}";
2013
+ pathParamsSchema: zod.ZodObject<{
2014
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
2015
+ ticketId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
2016
+ }, zod_v4_core.$strict>;
2017
+ headersSchema: zod.ZodObject<{
2018
+ "x-api-key": zod.ZodString;
2019
+ }, zod_v4_core.$strip>;
2020
+ requestBodySchema?: undefined;
2021
+ queryParamsSchema?: undefined;
2022
+ responseBodySchema: zod.ZodObject<{
2023
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2024
+ event_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
2025
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
2026
+ seller: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2027
+ ask_price_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
2028
+ buyer_allow: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2029
+ payout_ata: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2030
+ expires_at: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
2031
+ listed_at: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
2032
+ permit_version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
2033
+ active: zod.ZodBoolean;
2034
+ }, zod_v4_core.$strip>;
2035
+ };
2036
+ readonly "get-permit": {
2037
+ buildPath: (args?: ({
2038
+ eventId: string;
2039
+ ticketId: string;
2040
+ } & {
2041
+ baseApiUrl?: string;
2042
+ }) | undefined) => string;
2043
+ buildJsonPayload: (fields: never) => string;
2044
+ buildHeaders: (headers: {
2045
+ "x-api-key": string;
2046
+ }) => {
2047
+ "x-api-key": string;
2048
+ };
2049
+ buildQueryString: (params: never) => string;
2050
+ name: string;
2051
+ method: "GET";
2052
+ routeKey: "GET /permits/{eventId}/{ticketId}";
2053
+ pathParamsSchema: zod.ZodObject<{
2054
+ eventId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
2055
+ ticketId: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
2056
+ }, zod_v4_core.$strict>;
2057
+ headersSchema: zod.ZodObject<{
2058
+ "x-api-key": zod.ZodString;
2059
+ }, zod_v4_core.$strip>;
2060
+ requestBodySchema?: undefined;
2061
+ queryParamsSchema?: undefined;
2062
+ responseBodySchema: zod.ZodObject<{
2063
+ owner: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2064
+ status: zod.ZodNumber;
2065
+ ticket_type_id: zod.ZodNumber;
2066
+ version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
2067
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
2068
+ listing_lock_expiry: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
2069
+ }, zod_v4_core.$strip>;
2070
+ };
2071
+ readonly "get-protocol-config-account": {
2072
+ buildPath: (args?: (Record<string, string> & {
2073
+ baseApiUrl?: string;
2074
+ }) | undefined) => string;
2075
+ buildJsonPayload: (fields: never) => string;
2076
+ buildHeaders: (headers: {
2077
+ "x-api-key": string;
2078
+ }) => {
2079
+ "x-api-key": string;
2080
+ };
2081
+ buildQueryString: (params: never) => string;
2082
+ name: string;
2083
+ method: "GET";
2084
+ routeKey: "GET /protocol-config";
2085
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
2086
+ headersSchema: zod.ZodObject<{
2087
+ "x-api-key": zod.ZodString;
2088
+ }, zod_v4_core.$strip>;
2089
+ requestBodySchema?: undefined;
2090
+ queryParamsSchema?: undefined;
2091
+ responseBodySchema: zod.ZodObject<{
2092
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2093
+ usdc_mint: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2094
+ default_royalty_vault: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2095
+ authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2096
+ usdc_decimals: zod.ZodNumber;
2097
+ event_registration_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
2098
+ permit_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
2099
+ p2p_transfer_fee_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>, zod.ZodTransform<string, string>>;
2100
+ resale_fee_bps: zod.ZodNumber;
2101
+ }, zod_v4_core.$strip>;
2102
+ };
2103
+ readonly "get-integrator-account": {
2104
+ buildPath: (args?: ({
2105
+ identity: _solana_kit.Address<string>;
2106
+ } & {
2107
+ baseApiUrl?: string;
2108
+ }) | undefined) => string;
2109
+ buildJsonPayload: (fields: never) => string;
2110
+ buildHeaders: (headers: {
2111
+ "x-api-key": string;
2112
+ }) => {
2113
+ "x-api-key": string;
2114
+ };
2115
+ buildQueryString: (params: never) => string;
2116
+ name: string;
2117
+ method: "GET";
2118
+ routeKey: "GET /integrators/{identity}";
2119
+ pathParamsSchema: zod.ZodObject<{
2120
+ identity: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2121
+ }, zod_v4_core.$strict>;
2122
+ headersSchema: zod.ZodObject<{
2123
+ "x-api-key": zod.ZodString;
2124
+ }, zod_v4_core.$strip>;
2125
+ requestBodySchema?: undefined;
2126
+ queryParamsSchema?: undefined;
2127
+ responseBodySchema: zod.ZodObject<{
2128
+ integrator_pda: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2129
+ integrator: zod.ZodObject<{
2130
+ authority: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2131
+ status: zod.ZodEnum<{
2132
+ Active: "Active";
2133
+ Suspended: "Suspended";
2134
+ }>;
2135
+ treasury_usdc: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2136
+ balance: zod.ZodObject<{
2137
+ amount_minor: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
2138
+ decimals: zod.ZodNumber;
2139
+ }, zod_v4_core.$strip>;
2140
+ }, zod_v4_core.$strip>;
2141
+ }, zod_v4_core.$strip>;
2142
+ };
2143
+ }[TRouteName]["responseBodySchema"]>>;
2144
+
2145
+ type GetEventInput = Parameters<TdpClient["solana"]["getEvent"]>[0];
2146
+ type GetEventResponse = Awaited<ReturnType<TdpClient["solana"]["getEvent"]>>;
2147
+ type GetListingInput = Parameters<TdpClient["solana"]["getListing"]>[0];
2148
+ type GetListingResponse = Awaited<ReturnType<TdpClient["solana"]["getListing"]>>;
2149
+ type GetPermitInput = Parameters<TdpClient["solana"]["getPermit"]>[0];
2150
+ type GetPermitResponse = Awaited<ReturnType<TdpClient["solana"]["getPermit"]>>;
2151
+ type GetIntegratorInput = Parameters<TdpClient["solana"]["getIntegrator"]>[0];
2152
+ type GetIntegratorResponse = Awaited<ReturnType<TdpClient["solana"]["getIntegrator"]>>;
2153
+ type GetProtocolConfigResponse = Awaited<ReturnType<TdpClient["solana"]["getProtocolConfig"]>>;
2154
+ type ListActiveListingsInput = NonNullable<Parameters<TdpClient["indexer"]["listActiveListings"]>[0]>;
2155
+ type ListActiveListingsResponse = Awaited<ReturnType<TdpClient["indexer"]["listActiveListings"]>>;
2156
+ type ListUpcomingEventsInput = NonNullable<Parameters<TdpClient["indexer"]["listUpcomingEvents"]>[0]>;
2157
+ type ListUpcomingEventsResponse = Awaited<ReturnType<TdpClient["indexer"]["listUpcomingEvents"]>>;
2158
+ type UpdateEventMetadataInput = Parameters<TdpClient["indexer"]["updateEventMetadata"]>[0];
2159
+ type UpdateEventMetadataBody = UpdateEventMetadataInput["body"];
2160
+ type UpdateEventMetadataResponse = Awaited<ReturnType<TdpClient["indexer"]["updateEventMetadata"]>>;
2161
+ type GetUserAddressInput = Parameters<TdpClient["wallets"]["getUserAddress"]>[0];
2162
+ type GetIntegratorAddressInput = Parameters<TdpClient["wallets"]["getIntegratorAddress"]>[0];
2163
+ type WalletAddressResponse = Awaited<ReturnType<TdpClient["wallets"]["getUserAddress"]>>;
2164
+ type SignUserTransactionInput = Parameters<TdpClient["transactions"]["signUser"]>[0];
2165
+ type SignIntegratorTransactionInput = Parameters<TdpClient["transactions"]["signIntegrator"]>[0];
2166
+ type SignTransactionBody = SignUserTransactionInput["body"];
2167
+ type SignTransactionResponse = Awaited<ReturnType<TdpClient["transactions"]["signUser"]>>;
2168
+ type SubmitTransactionInput = Parameters<TdpClient["transactions"]["submit"]>[0];
2169
+ type SubmitTransactionBody = SubmitTransactionInput["body"];
2170
+ type SubmitTransactionResponse = Awaited<ReturnType<TdpClient["transactions"]["submit"]>>;
2171
+ type AcceptClaimOffersInput = Parameters<TdpClient["claimWallets"]["acceptOffers"]>[0];
2172
+ type AcceptClaimOffersBody = AcceptClaimOffersInput["body"];
2173
+ type AcceptClaimOffersResponse = Awaited<ReturnType<TdpClient["claimWallets"]["acceptOffers"]>>;
2174
+
2175
+ type TdpClientOptions = Parameters<typeof createTixApiClient>[0];
2176
+ type TdpClient = ReturnType<typeof createTdpClient>;
2177
+ declare function createTdpClient(options: TdpClientOptions): {
2178
+ solana: {
2179
+ getEvent(pathParams: RoutePathParams<TixApiRoutes["get-event-account"]>, options?: Pick<RequestInit, "signal">): Promise<{
2180
+ address: _solana_kit.Address<string>;
2181
+ integrator: _solana_kit.Address<string>;
2182
+ integrator_authority: _solana_kit.Address<string>;
2183
+ royalty_bps: number;
2184
+ min_royalty_floor: string;
2185
+ royalty_recipients_count: number;
2186
+ royalty_recipients: {
2187
+ destination: _solana_kit.Address<string>;
2188
+ bps: number;
2189
+ }[];
2190
+ total_supply: string;
2191
+ minted: string;
2192
+ flags: number;
2193
+ }>;
2194
+ getListing(pathParams: RoutePathParams<TixApiRoutes["get-listing-account"]>, options?: Pick<RequestInit, "signal">): Promise<{
2195
+ address: _solana_kit.Address<string>;
2196
+ event_id: string;
2197
+ ticket_id: string;
2198
+ seller: _solana_kit.Address<string>;
2199
+ ask_price_minor: string;
2200
+ buyer_allow: _solana_kit.Address<string>;
2201
+ payout_ata: _solana_kit.Address<string>;
2202
+ expires_at: string;
2203
+ listed_at: string;
2204
+ permit_version: string;
2205
+ active: boolean;
2206
+ }>;
2207
+ getPermit(pathParams: RoutePathParams<TixApiRoutes["get-permit"]>, options?: Pick<RequestInit, "signal">): Promise<{
2208
+ owner: _solana_kit.Address<string>;
2209
+ status: number;
2210
+ ticket_type_id: number;
2211
+ version: string;
2212
+ ticket_id: string;
2213
+ listing_lock_expiry: string;
2214
+ }>;
2215
+ getProtocolConfig(options?: Pick<RequestInit, "signal">): Promise<{
2216
+ address: _solana_kit.Address<string>;
2217
+ usdc_mint: _solana_kit.Address<string>;
2218
+ default_royalty_vault: _solana_kit.Address<string>;
2219
+ authority: _solana_kit.Address<string>;
2220
+ usdc_decimals: number;
2221
+ event_registration_fee_minor: string;
2222
+ permit_fee_minor: string;
2223
+ p2p_transfer_fee_minor: string;
2224
+ resale_fee_bps: number;
2225
+ }>;
2226
+ getIntegrator(pathParams: RoutePathParams<TixApiRoutes["get-integrator-account"]>, options?: Pick<RequestInit, "signal">): Promise<{
2227
+ integrator_pda: _solana_kit.Address<string>;
2228
+ integrator: {
2229
+ authority: _solana_kit.Address<string>;
2230
+ status: "Active" | "Suspended";
2231
+ treasury_usdc: _solana_kit.Address<string>;
2232
+ balance: {
2233
+ amount_minor: string;
2234
+ decimals: number;
2235
+ };
2236
+ };
2237
+ }>;
2238
+ };
2239
+ indexer: {
2240
+ listActiveListings(queryParams?: {
2241
+ limit?: unknown;
2242
+ cursor?: string | undefined;
2243
+ }, options?: Pick<RequestInit, "signal">): Promise<{
2244
+ items: {
2245
+ event_account: string | null;
2246
+ event_id: string | null;
2247
+ listing_id: string | null;
2248
+ ticket_id: string | null;
2249
+ seller: string | null;
2250
+ buyer_allow: string | null;
2251
+ ask_price_minor: string | null;
2252
+ payout_ata: string | null;
2253
+ expires_at: string | null;
2254
+ updated_at: string | null;
2255
+ }[];
2256
+ next_cursor: string | null;
2257
+ }>;
2258
+ listUpcomingEvents(queryParams?: {
2259
+ limit?: unknown;
2260
+ cursor?: string | undefined;
2261
+ }, options?: Pick<RequestInit, "signal">): Promise<{
2262
+ items: {
2263
+ event_account: string;
2264
+ event_id: string | null;
2265
+ name: string | null;
2266
+ start_at: string | null;
2267
+ on_sale_at: string | null;
2268
+ image_url: string | null;
2269
+ active_listing_count: number;
2270
+ tickets_issued_count: number;
2271
+ integrator_identity: string | null;
2272
+ updated_at: string | null;
2273
+ found: true;
2274
+ genres: string[] | null;
2275
+ timezone: string | null;
2276
+ address: string | null;
2277
+ venue: string | null;
2278
+ }[];
2279
+ next_cursor: string | null;
2280
+ }>;
2281
+ updateEventMetadata({ eventId, body, }: {
2282
+ eventId: string;
2283
+ } & Pick<{
2284
+ route: "post-integrator-metadata";
2285
+ } & {
2286
+ pathParams: {
2287
+ eventId: string;
2288
+ };
2289
+ } & {
2290
+ body: {
2291
+ name?: string | undefined;
2292
+ start_at?: string | undefined;
2293
+ on_sale_at?: string | undefined;
2294
+ image_url?: string | undefined;
2295
+ timezone?: string | undefined;
2296
+ address?: string | undefined;
2297
+ venue?: string | undefined;
2298
+ genres?: string[] | undefined;
2299
+ };
2300
+ }, "body">, options?: Pick<RequestInit, "signal">): Promise<{
2301
+ status: "ok";
2302
+ event_account: string;
2303
+ updated_at: string;
2304
+ }>;
2305
+ };
2306
+ wallets: {
2307
+ getUserAddress(pathParams: RoutePathParams<ApiKeyWalletCustodyApiRoutes["get-user-address"]>, options?: Pick<RequestInit, "signal">): Promise<{
2308
+ address: _solana_kit.Address<string>;
2309
+ }>;
2310
+ getIntegratorAddress(pathParams: RoutePathParams<ApiKeyWalletCustodyApiRoutes["get-integrator-address"]>, options?: Pick<RequestInit, "signal">): Promise<{
2311
+ address: _solana_kit.Address<string>;
2312
+ }>;
2313
+ getFeePayerAddress(options?: Pick<RequestInit, "signal">): Promise<{
2314
+ address: _solana_kit.Address<string>;
2315
+ }>;
2316
+ getProtocolAuthorityAddress(options?: Pick<RequestInit, "signal">): Promise<{
2317
+ address: _solana_kit.Address<string>;
2318
+ }>;
2319
+ };
2320
+ transactions: {
2321
+ signUser({ subject, idempotencyKey, body, }: {
2322
+ subject: string;
2323
+ } & {
2324
+ body: {
2325
+ tixInstructions: {
2326
+ instruction: "accept_offer_v2";
2327
+ params: {
2328
+ event_id: string | number | bigint;
2329
+ ticket_id: string | number | bigint;
2330
+ permit_version: string | number | bigint;
2331
+ buyer: string;
2332
+ integrator_authority: string;
2333
+ seller_payout: string;
2334
+ royalty_destinations: string[];
2335
+ integrator_identity: string;
2336
+ usdc_mint: string;
2337
+ ticket_type_config?: string | null | undefined;
2338
+ }[];
2339
+ } | {
2340
+ instruction: "cancel_listing_v1";
2341
+ params: {
2342
+ event_id: string | number | bigint;
2343
+ ticket_id: string | number | bigint;
2344
+ canceller: string;
2345
+ }[];
2346
+ } | {
2347
+ instruction: "list_ticket_v2";
2348
+ params: {
2349
+ seller: string;
2350
+ storage_fee_payer: string;
2351
+ listing_integrator_identity: string;
2352
+ listing_integrator_authority: string;
2353
+ usdc_mint: string;
2354
+ event_id: string | number | bigint;
2355
+ ticket_id: string | number | bigint;
2356
+ ask_price_minor: string | number | bigint;
2357
+ payout_ata: string;
2358
+ expires_at: string | number | bigint;
2359
+ buyer_allow?: string | null | undefined;
2360
+ ticket_type_config?: string | null | undefined;
2361
+ }[];
2362
+ };
2363
+ };
2364
+ } & {
2365
+ idempotencyKey: string;
2366
+ }, options?: Pick<RequestInit, "signal">): Promise<{
2367
+ custodialTransactionId: Sha256Hex;
2368
+ signerAddress: _solana_kit.Address<string>;
2369
+ feePayerAddress: _solana_kit.Address<string>;
2370
+ signedTransaction: _solana_kit.Base64EncodedWireTransaction;
2371
+ message: string;
2372
+ signature: _solana_kit.Signature;
2373
+ feePayerSignature: _solana_kit.Signature;
2374
+ requiredSigners: _solana_kit.Address<string>[];
2375
+ recentBlockhash: _solana_kit.Blockhash;
2376
+ }>;
2377
+ signIntegrator({ subject, idempotencyKey, body, }: {
2378
+ subject: string;
2379
+ } & {
2380
+ body: {
2381
+ tixInstructions: {
2382
+ instruction: "accept_offer_v2";
2383
+ params: {
2384
+ event_id: string | number | bigint;
2385
+ ticket_id: string | number | bigint;
2386
+ permit_version: string | number | bigint;
2387
+ buyer: string;
2388
+ integrator_authority: string;
2389
+ seller_payout: string;
2390
+ royalty_destinations: string[];
2391
+ integrator_identity: string;
2392
+ usdc_mint: string;
2393
+ ticket_type_config?: string | null | undefined;
2394
+ }[];
2395
+ } | {
2396
+ instruction: "cancel_listing_v1";
2397
+ params: {
2398
+ event_id: string | number | bigint;
2399
+ ticket_id: string | number | bigint;
2400
+ canceller: string;
2401
+ }[];
2402
+ } | {
2403
+ instruction: "list_ticket_v2";
2404
+ params: {
2405
+ seller: string;
2406
+ storage_fee_payer: string;
2407
+ listing_integrator_identity: string;
2408
+ listing_integrator_authority: string;
2409
+ usdc_mint: string;
2410
+ event_id: string | number | bigint;
2411
+ ticket_id: string | number | bigint;
2412
+ ask_price_minor: string | number | bigint;
2413
+ payout_ata: string;
2414
+ expires_at: string | number | bigint;
2415
+ buyer_allow?: string | null | undefined;
2416
+ ticket_type_config?: string | null | undefined;
2417
+ }[];
2418
+ };
2419
+ };
2420
+ } & {
2421
+ idempotencyKey: string;
2422
+ }, options?: Pick<RequestInit, "signal">): Promise<{
2423
+ custodialTransactionId: Sha256Hex;
2424
+ signerAddress: _solana_kit.Address<string>;
2425
+ feePayerAddress: _solana_kit.Address<string>;
2426
+ signedTransaction: _solana_kit.Base64EncodedWireTransaction;
2427
+ message: string;
2428
+ signature: _solana_kit.Signature;
2429
+ feePayerSignature: _solana_kit.Signature;
2430
+ requiredSigners: _solana_kit.Address<string>[];
2431
+ recentBlockhash: _solana_kit.Blockhash;
2432
+ }>;
2433
+ submit({ body, }: RouteRequestField<"body", RouteRequestBody<ApiKeyWalletCustodyApiRoutes["submit-tenant-transaction"]>>, options?: Pick<RequestInit, "signal">): Promise<{
2434
+ custodialTransactionId: Sha256Hex;
2435
+ transactionSignature: _solana_kit.Signature;
2436
+ status: "processing" | "confirmed" | "landed_with_error" | "expired" | null;
2437
+ failureReason?: string | undefined;
2438
+ }>;
2439
+ };
2440
+ claimWallets: {
2441
+ acceptOffers({ idempotencyKey, body, }: RouteRequestField<"body", RouteRequestBody<{
2442
+ buildPath: (args?: (Record<string, string> & {
2443
+ baseApiUrl?: string;
2444
+ }) | undefined) => string;
2445
+ buildJsonPayload: (fields: {
2446
+ userSubject: string;
2447
+ userEmail: string;
2448
+ offers: {
2449
+ event_id: string | number | bigint;
2450
+ ticket_id: string | number | bigint;
2451
+ permit_version: string | number | bigint;
2452
+ usdc_mint: string;
2453
+ seller_payout: string;
2454
+ royalty_destinations: string[];
2455
+ ticket_type_config?: string | null | undefined;
2456
+ }[];
2457
+ }) => string;
2458
+ buildHeaders: (headers: {
2459
+ "x-api-key": string;
2460
+ "idempotency-key": string;
2461
+ }) => {
2462
+ "x-api-key": string;
2463
+ "idempotency-key": string;
2464
+ };
2465
+ buildQueryString: (params: never) => string;
2466
+ name: string;
2467
+ method: "POST";
2468
+ routeKey: "POST /claim_wallets";
2469
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
2470
+ headersSchema: zod.ZodObject<{
2471
+ "x-api-key": zod.ZodString;
2472
+ "idempotency-key": zod.ZodString;
2473
+ }, zod_v4_core.$strip>;
2474
+ requestBodySchema?: zod.ZodObject<{
2475
+ userSubject: zod.ZodString;
2476
+ userEmail: zod.ZodEmail;
2477
+ offers: zod.ZodArray<zod.ZodObject<{
2478
+ event_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
2479
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
2480
+ permit_version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
2481
+ usdc_mint: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2482
+ seller_payout: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2483
+ royalty_destinations: zod.ZodArray<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>;
2484
+ ticket_type_config: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>>;
2485
+ }, zod_v4_core.$strict>>;
2486
+ }, zod_v4_core.$strip> | undefined;
2487
+ queryParamsSchema?: undefined;
2488
+ responseBodySchema: zod.ZodObject<{
2489
+ status: zod.ZodNullable<zod.ZodEnum<{
2490
+ processing: "processing";
2491
+ confirmed: "confirmed";
2492
+ landed_with_error: "landed_with_error";
2493
+ expired: "expired";
2494
+ }>>;
2495
+ claimWallet: zod.ZodObject<{
2496
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2497
+ claimWalletId: zod.ZodPipe<zod.ZodCustomStringFormat<"sha256_hex">, zod.ZodTransform<Sha256Hex, string>>;
2498
+ }, zod_v4_core.$strip>;
2499
+ claimUrl: zod.ZodURL;
2500
+ failureReason: zod.ZodOptional<zod.ZodString>;
2501
+ }, zod_v4_core.$strip>;
2502
+ }>> & RouteRequestField<"idempotencyKey", RouteRequestHeader<{
2503
+ buildPath: (args?: (Record<string, string> & {
2504
+ baseApiUrl?: string;
2505
+ }) | undefined) => string;
2506
+ buildJsonPayload: (fields: {
2507
+ userSubject: string;
2508
+ userEmail: string;
2509
+ offers: {
2510
+ event_id: string | number | bigint;
2511
+ ticket_id: string | number | bigint;
2512
+ permit_version: string | number | bigint;
2513
+ usdc_mint: string;
2514
+ seller_payout: string;
2515
+ royalty_destinations: string[];
2516
+ ticket_type_config?: string | null | undefined;
2517
+ }[];
2518
+ }) => string;
2519
+ buildHeaders: (headers: {
2520
+ "x-api-key": string;
2521
+ "idempotency-key": string;
2522
+ }) => {
2523
+ "x-api-key": string;
2524
+ "idempotency-key": string;
2525
+ };
2526
+ buildQueryString: (params: never) => string;
2527
+ name: string;
2528
+ method: "POST";
2529
+ routeKey: "POST /claim_wallets";
2530
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
2531
+ headersSchema: zod.ZodObject<{
2532
+ "x-api-key": zod.ZodString;
2533
+ "idempotency-key": zod.ZodString;
2534
+ }, zod_v4_core.$strip>;
2535
+ requestBodySchema?: zod.ZodObject<{
2536
+ userSubject: zod.ZodString;
2537
+ userEmail: zod.ZodEmail;
2538
+ offers: zod.ZodArray<zod.ZodObject<{
2539
+ event_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
2540
+ ticket_id: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
2541
+ permit_version: zod.ZodPipe<zod.ZodPipe<zod.ZodPipe<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBigInt]>, zod.ZodTransform<bigint, string | number | bigint>>, zod.ZodBigInt>, zod.ZodTransform<string, bigint>>;
2542
+ usdc_mint: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2543
+ seller_payout: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2544
+ royalty_destinations: zod.ZodArray<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>;
2545
+ ticket_type_config: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>>;
2546
+ }, zod_v4_core.$strict>>;
2547
+ }, zod_v4_core.$strip> | undefined;
2548
+ queryParamsSchema?: undefined;
2549
+ responseBodySchema: zod.ZodObject<{
2550
+ status: zod.ZodNullable<zod.ZodEnum<{
2551
+ processing: "processing";
2552
+ confirmed: "confirmed";
2553
+ landed_with_error: "landed_with_error";
2554
+ expired: "expired";
2555
+ }>>;
2556
+ claimWallet: zod.ZodObject<{
2557
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2558
+ claimWalletId: zod.ZodPipe<zod.ZodCustomStringFormat<"sha256_hex">, zod.ZodTransform<Sha256Hex, string>>;
2559
+ }, zod_v4_core.$strip>;
2560
+ claimUrl: zod.ZodURL;
2561
+ failureReason: zod.ZodOptional<zod.ZodString>;
2562
+ }, zod_v4_core.$strip>;
2563
+ }, "idempotency-key">>, options?: Pick<RequestInit, "signal">): Promise<{
2564
+ status: "processing" | "confirmed" | "landed_with_error" | "expired" | null;
2565
+ claimWallet: {
2566
+ address: _solana_kit.Address<string>;
2567
+ claimWalletId: Sha256Hex;
2568
+ };
2569
+ claimUrl: string;
2570
+ failureReason?: string | undefined;
2571
+ }>;
2572
+ };
2573
+ };
2574
+
2575
+ export { type AcceptClaimOffersBody, type AcceptClaimOffersInput, type AcceptClaimOffersResponse, type GetEventInput, type GetEventResponse, type GetIntegratorAddressInput, type GetIntegratorInput, type GetIntegratorResponse, type GetListingInput, type GetListingResponse, type GetPermitInput, type GetPermitResponse, type GetProtocolConfigResponse, type GetUserAddressInput, type ListActiveListingsInput, type ListActiveListingsResponse, type ListUpcomingEventsInput, type ListUpcomingEventsResponse, type SignIntegratorTransactionInput, type SignTransactionBody, type SignTransactionResponse, type SignUserTransactionInput, type SubmitTransactionBody, type SubmitTransactionInput, type SubmitTransactionResponse, type TdpClient, type TdpClientOptions, type UpdateEventMetadataBody, type UpdateEventMetadataInput, type UpdateEventMetadataResponse, type WalletAddressResponse, createTdpClient };