@tixprotocol/tdp-sdk 0.2.0 → 0.4.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.
package/dist/index.d.ts CHANGED
@@ -340,6 +340,45 @@ declare const apiKeyWalletCustodyApiClientRoutes: {
340
340
  failureReason: zod.ZodOptional<zod.ZodString>;
341
341
  }, zod_v4_core.$strip>;
342
342
  };
343
+ "get-purchase-status": {
344
+ buildPath: (args?: (Record<string, string> & {
345
+ baseApiUrl?: string;
346
+ }) | undefined) => string;
347
+ buildJsonPayload: (fields: never) => string;
348
+ buildHeaders: (headers: {
349
+ "x-api-key": string;
350
+ "idempotency-key": string;
351
+ }) => {
352
+ "x-api-key": string;
353
+ "idempotency-key": string;
354
+ };
355
+ buildQueryString: (params: never) => string;
356
+ name: string;
357
+ method: "GET";
358
+ routeKey: "GET /claim_wallets/purchase-status";
359
+ pathParamsSchema: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodString>>>;
360
+ headersSchema: zod.ZodObject<{
361
+ "x-api-key": zod.ZodString;
362
+ "idempotency-key": zod.ZodString;
363
+ }, zod_v4_core.$strip>;
364
+ requestBodySchema?: undefined;
365
+ queryParamsSchema?: undefined;
366
+ responseBodySchema: zod.ZodObject<{
367
+ custodialTransactionId: zod.ZodPipe<zod.ZodCustomStringFormat<"sha256_hex">, zod.ZodTransform<Sha256Hex, string>>;
368
+ transactionSignature: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Signature, string>>;
369
+ status: zod.ZodNullable<zod.ZodEnum<{
370
+ processing: "processing";
371
+ confirmed: "confirmed";
372
+ landed_with_error: "landed_with_error";
373
+ expired: "expired";
374
+ }>>;
375
+ failureReason: zod.ZodOptional<zod.ZodString>;
376
+ claimWallet: zod.ZodObject<{
377
+ address: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
378
+ claimWalletId: zod.ZodPipe<zod.ZodCustomStringFormat<"sha256_hex">, zod.ZodTransform<Sha256Hex, string>>;
379
+ }, zod_v4_core.$strip>;
380
+ }, zod_v4_core.$strip>;
381
+ };
343
382
  "accept-claim-offers": {
344
383
  buildPath: (args?: (Record<string, string> & {
345
384
  baseApiUrl?: string;
@@ -380,10 +419,10 @@ declare const apiKeyWalletCustodyApiClientRoutes: {
380
419
  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
420
  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
421
  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>>;
422
+ ticket_type_config: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>>;
383
423
  usdc_mint: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
384
424
  seller_payout: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
385
425
  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
426
  }, zod_v4_core.$strict>>;
388
427
  }, zod_v4_core.$strip> | undefined;
389
428
  queryParamsSchema?: undefined;
@@ -562,6 +601,7 @@ declare const tixApiClientRoutes: {
562
601
  "x-api-key": string;
563
602
  };
564
603
  buildQueryString: (params: {
604
+ eventId: string | number | bigint;
565
605
  limit?: unknown;
566
606
  cursor?: string | undefined;
567
607
  }) => string;
@@ -576,6 +616,7 @@ declare const tixApiClientRoutes: {
576
616
  queryParamsSchema?: zod.ZodObject<{
577
617
  limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
578
618
  cursor: zod.ZodOptional<zod.ZodString>;
619
+ 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>>;
579
620
  }, zod_v4_core.$strip> | undefined;
580
621
  responseBodySchema: zod.ZodObject<{
581
622
  items: zod.ZodArray<zod.ZodObject<{
@@ -627,15 +668,15 @@ declare const tixApiClientRoutes: {
627
668
  start_at: zod.ZodNullable<zod.ZodString>;
628
669
  on_sale_at: zod.ZodNullable<zod.ZodString>;
629
670
  image_url: zod.ZodNullable<zod.ZodString>;
671
+ timezone: zod.ZodNullable<zod.ZodString>;
672
+ address: zod.ZodNullable<zod.ZodString>;
673
+ venue: zod.ZodNullable<zod.ZodString>;
630
674
  active_listing_count: zod.ZodNumber;
631
675
  tickets_issued_count: zod.ZodNumber;
632
676
  integrator_identity: zod.ZodNullable<zod.ZodString>;
633
677
  updated_at: zod.ZodNullable<zod.ZodString>;
634
678
  found: zod.ZodLiteral<true>;
635
679
  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
680
  }, zod_v4_core.$strict>>;
640
681
  next_cursor: zod.ZodNullable<zod.ZodString>;
641
682
  }, zod_v4_core.$strict>;
@@ -750,6 +791,7 @@ declare const tixApiClientRoutes: {
750
791
  owner: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
751
792
  status: zod.ZodNumber;
752
793
  ticket_type_id: zod.ZodNumber;
794
+ ticket_type_config: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
753
795
  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
796
  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
797
  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>>;
@@ -900,6 +942,7 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
900
942
  "x-api-key": string;
901
943
  };
902
944
  buildQueryString: (params: {
945
+ eventId: string | number | bigint;
903
946
  limit?: unknown;
904
947
  cursor?: string | undefined;
905
948
  }) => string;
@@ -914,6 +957,7 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
914
957
  queryParamsSchema?: zod.ZodObject<{
915
958
  limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
916
959
  cursor: zod.ZodOptional<zod.ZodString>;
960
+ 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>>;
917
961
  }, zod_v4_core.$strip> | undefined;
918
962
  responseBodySchema: zod.ZodObject<{
919
963
  items: zod.ZodArray<zod.ZodObject<{
@@ -965,15 +1009,15 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
965
1009
  start_at: zod.ZodNullable<zod.ZodString>;
966
1010
  on_sale_at: zod.ZodNullable<zod.ZodString>;
967
1011
  image_url: zod.ZodNullable<zod.ZodString>;
1012
+ timezone: zod.ZodNullable<zod.ZodString>;
1013
+ address: zod.ZodNullable<zod.ZodString>;
1014
+ venue: zod.ZodNullable<zod.ZodString>;
968
1015
  active_listing_count: zod.ZodNumber;
969
1016
  tickets_issued_count: zod.ZodNumber;
970
1017
  integrator_identity: zod.ZodNullable<zod.ZodString>;
971
1018
  updated_at: zod.ZodNullable<zod.ZodString>;
972
1019
  found: zod.ZodLiteral<true>;
973
1020
  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
1021
  }, zod_v4_core.$strict>>;
978
1022
  next_cursor: zod.ZodNullable<zod.ZodString>;
979
1023
  }, zod_v4_core.$strict>;
@@ -1088,6 +1132,7 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
1088
1132
  owner: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1089
1133
  status: zod.ZodNumber;
1090
1134
  ticket_type_id: zod.ZodNumber;
1135
+ ticket_type_config: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1091
1136
  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
1137
  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
1138
  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>>;
@@ -1225,6 +1270,7 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
1225
1270
  "x-api-key": string;
1226
1271
  };
1227
1272
  buildQueryString: (params: {
1273
+ eventId: string | number | bigint;
1228
1274
  limit?: unknown;
1229
1275
  cursor?: string | undefined;
1230
1276
  }) => string;
@@ -1239,6 +1285,7 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
1239
1285
  queryParamsSchema?: zod.ZodObject<{
1240
1286
  limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
1241
1287
  cursor: zod.ZodOptional<zod.ZodString>;
1288
+ 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>>;
1242
1289
  }, zod_v4_core.$strip> | undefined;
1243
1290
  responseBodySchema: zod.ZodObject<{
1244
1291
  items: zod.ZodArray<zod.ZodObject<{
@@ -1290,15 +1337,15 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
1290
1337
  start_at: zod.ZodNullable<zod.ZodString>;
1291
1338
  on_sale_at: zod.ZodNullable<zod.ZodString>;
1292
1339
  image_url: zod.ZodNullable<zod.ZodString>;
1340
+ timezone: zod.ZodNullable<zod.ZodString>;
1341
+ address: zod.ZodNullable<zod.ZodString>;
1342
+ venue: zod.ZodNullable<zod.ZodString>;
1293
1343
  active_listing_count: zod.ZodNumber;
1294
1344
  tickets_issued_count: zod.ZodNumber;
1295
1345
  integrator_identity: zod.ZodNullable<zod.ZodString>;
1296
1346
  updated_at: zod.ZodNullable<zod.ZodString>;
1297
1347
  found: zod.ZodLiteral<true>;
1298
1348
  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
1349
  }, zod_v4_core.$strict>>;
1303
1350
  next_cursor: zod.ZodNullable<zod.ZodString>;
1304
1351
  }, zod_v4_core.$strict>;
@@ -1413,6 +1460,7 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
1413
1460
  owner: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1414
1461
  status: zod.ZodNumber;
1415
1462
  ticket_type_id: zod.ZodNumber;
1463
+ ticket_type_config: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1416
1464
  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
1465
  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
1466
  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>>;
@@ -1550,6 +1598,7 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
1550
1598
  "x-api-key": string;
1551
1599
  };
1552
1600
  buildQueryString: (params: {
1601
+ eventId: string | number | bigint;
1553
1602
  limit?: unknown;
1554
1603
  cursor?: string | undefined;
1555
1604
  }) => string;
@@ -1564,6 +1613,7 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
1564
1613
  queryParamsSchema?: zod.ZodObject<{
1565
1614
  limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
1566
1615
  cursor: zod.ZodOptional<zod.ZodString>;
1616
+ 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>>;
1567
1617
  }, zod_v4_core.$strip> | undefined;
1568
1618
  responseBodySchema: zod.ZodObject<{
1569
1619
  items: zod.ZodArray<zod.ZodObject<{
@@ -1615,15 +1665,15 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
1615
1665
  start_at: zod.ZodNullable<zod.ZodString>;
1616
1666
  on_sale_at: zod.ZodNullable<zod.ZodString>;
1617
1667
  image_url: zod.ZodNullable<zod.ZodString>;
1668
+ timezone: zod.ZodNullable<zod.ZodString>;
1669
+ address: zod.ZodNullable<zod.ZodString>;
1670
+ venue: zod.ZodNullable<zod.ZodString>;
1618
1671
  active_listing_count: zod.ZodNumber;
1619
1672
  tickets_issued_count: zod.ZodNumber;
1620
1673
  integrator_identity: zod.ZodNullable<zod.ZodString>;
1621
1674
  updated_at: zod.ZodNullable<zod.ZodString>;
1622
1675
  found: zod.ZodLiteral<true>;
1623
1676
  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
1677
  }, zod_v4_core.$strict>>;
1628
1678
  next_cursor: zod.ZodNullable<zod.ZodString>;
1629
1679
  }, zod_v4_core.$strict>;
@@ -1738,6 +1788,7 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
1738
1788
  owner: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1739
1789
  status: zod.ZodNumber;
1740
1790
  ticket_type_id: zod.ZodNumber;
1791
+ ticket_type_config: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
1741
1792
  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
1793
  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
1794
  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>>;
@@ -1875,6 +1926,7 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
1875
1926
  "x-api-key": string;
1876
1927
  };
1877
1928
  buildQueryString: (params: {
1929
+ eventId: string | number | bigint;
1878
1930
  limit?: unknown;
1879
1931
  cursor?: string | undefined;
1880
1932
  }) => string;
@@ -1889,6 +1941,7 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
1889
1941
  queryParamsSchema?: zod.ZodObject<{
1890
1942
  limit: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
1891
1943
  cursor: zod.ZodOptional<zod.ZodString>;
1944
+ 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>>;
1892
1945
  }, zod_v4_core.$strip> | undefined;
1893
1946
  responseBodySchema: zod.ZodObject<{
1894
1947
  items: zod.ZodArray<zod.ZodObject<{
@@ -1940,15 +1993,15 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
1940
1993
  start_at: zod.ZodNullable<zod.ZodString>;
1941
1994
  on_sale_at: zod.ZodNullable<zod.ZodString>;
1942
1995
  image_url: zod.ZodNullable<zod.ZodString>;
1996
+ timezone: zod.ZodNullable<zod.ZodString>;
1997
+ address: zod.ZodNullable<zod.ZodString>;
1998
+ venue: zod.ZodNullable<zod.ZodString>;
1943
1999
  active_listing_count: zod.ZodNumber;
1944
2000
  tickets_issued_count: zod.ZodNumber;
1945
2001
  integrator_identity: zod.ZodNullable<zod.ZodString>;
1946
2002
  updated_at: zod.ZodNullable<zod.ZodString>;
1947
2003
  found: zod.ZodLiteral<true>;
1948
2004
  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
2005
  }, zod_v4_core.$strict>>;
1953
2006
  next_cursor: zod.ZodNullable<zod.ZodString>;
1954
2007
  }, zod_v4_core.$strict>;
@@ -2063,6 +2116,7 @@ declare function createTixApiClient({ baseApiUrl, apiKey, fetchImpl, headers, }:
2063
2116
  owner: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2064
2117
  status: zod.ZodNumber;
2065
2118
  ticket_type_id: zod.ZodNumber;
2119
+ ticket_type_config: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2066
2120
  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
2121
  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
2122
  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>>;
@@ -2159,15 +2213,16 @@ type UpdateEventMetadataInput = Parameters<TdpClient["indexer"]["updateEventMeta
2159
2213
  type UpdateEventMetadataBody = UpdateEventMetadataInput["body"];
2160
2214
  type UpdateEventMetadataResponse = Awaited<ReturnType<TdpClient["indexer"]["updateEventMetadata"]>>;
2161
2215
  type GetUserAddressInput = Parameters<TdpClient["wallets"]["getUserAddress"]>[0];
2162
- type GetIntegratorAddressInput = Parameters<TdpClient["wallets"]["getIntegratorAddress"]>[0];
2216
+ type GetIntegratorAddressInput = NonNullable<Parameters<TdpClient["wallets"]["getIntegratorAddress"]>[0]>;
2163
2217
  type WalletAddressResponse = Awaited<ReturnType<TdpClient["wallets"]["getUserAddress"]>>;
2164
- type SignUserTransactionInput = Parameters<TdpClient["transactions"]["signUser"]>[0];
2165
2218
  type SignIntegratorTransactionInput = Parameters<TdpClient["transactions"]["signIntegrator"]>[0];
2166
- type SignTransactionBody = SignUserTransactionInput["body"];
2167
- type SignTransactionResponse = Awaited<ReturnType<TdpClient["transactions"]["signUser"]>>;
2219
+ type SignTransactionBody = SignIntegratorTransactionInput["body"];
2220
+ type SignTransactionResponse = Awaited<ReturnType<TdpClient["transactions"]["signIntegrator"]>>;
2168
2221
  type SubmitTransactionInput = Parameters<TdpClient["transactions"]["submit"]>[0];
2169
2222
  type SubmitTransactionBody = SubmitTransactionInput["body"];
2170
2223
  type SubmitTransactionResponse = Awaited<ReturnType<TdpClient["transactions"]["submit"]>>;
2224
+ type GetPurchaseStatusInput = Parameters<TdpClient["claimWallets"]["getPurchaseStatus"]>[0];
2225
+ type GetPurchaseStatusResponse = Awaited<ReturnType<TdpClient["claimWallets"]["getPurchaseStatus"]>>;
2171
2226
  type AcceptClaimOffersInput = Parameters<TdpClient["claimWallets"]["acceptOffers"]>[0];
2172
2227
  type AcceptClaimOffersBody = AcceptClaimOffersInput["body"];
2173
2228
  type AcceptClaimOffersResponse = Awaited<ReturnType<TdpClient["claimWallets"]["acceptOffers"]>>;
@@ -2208,6 +2263,7 @@ declare function createTdpClient(options: TdpClientOptions): {
2208
2263
  owner: _solana_kit.Address<string>;
2209
2264
  status: number;
2210
2265
  ticket_type_id: number;
2266
+ ticket_type_config: _solana_kit.Address<string>;
2211
2267
  version: string;
2212
2268
  ticket_id: string;
2213
2269
  listing_lock_expiry: string;
@@ -2237,9 +2293,12 @@ declare function createTdpClient(options: TdpClientOptions): {
2237
2293
  }>;
2238
2294
  };
2239
2295
  indexer: {
2240
- listActiveListings(queryParams?: {
2296
+ listActiveListings(queryParams: Omit<{
2297
+ eventId: string | number | bigint;
2241
2298
  limit?: unknown;
2242
2299
  cursor?: string | undefined;
2300
+ }, "limit"> & {
2301
+ limit?: number;
2243
2302
  }, options?: Pick<RequestInit, "signal">): Promise<{
2244
2303
  items: {
2245
2304
  event_account: string | null;
@@ -2255,9 +2314,11 @@ declare function createTdpClient(options: TdpClientOptions): {
2255
2314
  }[];
2256
2315
  next_cursor: string | null;
2257
2316
  }>;
2258
- listUpcomingEvents(queryParams?: {
2317
+ listUpcomingEvents(queryParams?: Omit<{
2259
2318
  limit?: unknown;
2260
2319
  cursor?: string | undefined;
2320
+ }, "limit"> & {
2321
+ limit?: number;
2261
2322
  }, options?: Pick<RequestInit, "signal">): Promise<{
2262
2323
  items: {
2263
2324
  event_account: string;
@@ -2266,15 +2327,15 @@ declare function createTdpClient(options: TdpClientOptions): {
2266
2327
  start_at: string | null;
2267
2328
  on_sale_at: string | null;
2268
2329
  image_url: string | null;
2330
+ timezone: string | null;
2331
+ address: string | null;
2332
+ venue: string | null;
2269
2333
  active_listing_count: number;
2270
2334
  tickets_issued_count: number;
2271
2335
  integrator_identity: string | null;
2272
2336
  updated_at: string | null;
2273
2337
  found: true;
2274
2338
  genres: string[] | null;
2275
- timezone: string | null;
2276
- address: string | null;
2277
- venue: string | null;
2278
2339
  }[];
2279
2340
  next_cursor: string | null;
2280
2341
  }>;
@@ -2307,7 +2368,7 @@ declare function createTdpClient(options: TdpClientOptions): {
2307
2368
  getUserAddress(pathParams: RoutePathParams<ApiKeyWalletCustodyApiRoutes["get-user-address"]>, options?: Pick<RequestInit, "signal">): Promise<{
2308
2369
  address: _solana_kit.Address<string>;
2309
2370
  }>;
2310
- getIntegratorAddress(pathParams: RoutePathParams<ApiKeyWalletCustodyApiRoutes["get-integrator-address"]>, options?: Pick<RequestInit, "signal">): Promise<{
2371
+ getIntegratorAddress({ subject, }?: Partial<RoutePathParams<ApiKeyWalletCustodyApiRoutes["get-integrator-address"]>>, options?: Pick<RequestInit, "signal">): Promise<{
2311
2372
  address: _solana_kit.Address<string>;
2312
2373
  }>;
2313
2374
  getFeePayerAddress(options?: Pick<RequestInit, "signal">): Promise<{
@@ -2318,65 +2379,9 @@ declare function createTdpClient(options: TdpClientOptions): {
2318
2379
  }>;
2319
2380
  };
2320
2381
  transactions: {
2321
- signUser({ subject, idempotencyKey, body, }: {
2382
+ signIntegrator({ subject, idempotencyKey, body, }: Partial<{
2322
2383
  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
- } & {
2384
+ }> & {
2380
2385
  body: {
2381
2386
  tixInstructions: {
2382
2387
  instruction: "accept_offer_v2";
@@ -2438,68 +2443,24 @@ declare function createTdpClient(options: TdpClientOptions): {
2438
2443
  }>;
2439
2444
  };
2440
2445
  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;
2446
+ getPurchaseStatus({ idempotencyKey, }: RouteRequestField<"idempotencyKey", RouteRequestHeader<ApiKeyWalletCustodyApiRoutes["get-purchase-status"], "idempotency-key">>, options?: Pick<RequestInit, "signal">): Promise<{
2447
+ custodialTransactionId: Sha256Hex;
2448
+ transactionSignature: _solana_kit.Signature;
2449
+ status: "processing" | "confirmed" | "landed_with_error" | "expired" | null;
2450
+ claimWallet: {
2451
+ address: _solana_kit.Address<string>;
2452
+ claimWalletId: Sha256Hex;
2464
2453
  };
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<{
2454
+ failureReason?: string | undefined;
2455
+ }>;
2456
+ acceptOffers({ idempotencyKey, body, }: RouteRequestField<"body", zod.input<zod.ZodObject<{
2457
+ userSubject: zod.ZodString;
2458
+ userEmail: zod.ZodEmail;
2459
+ offers: zod.ZodArray<zod.ZodObject<{
2460
+ 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>>;
2461
+ 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>>;
2462
+ }, zod_v4_core.$strict>>;
2463
+ }, zod_v4_core.$strip>>> & RouteRequestField<"idempotencyKey", RouteRequestHeader<{
2503
2464
  buildPath: (args?: (Record<string, string> & {
2504
2465
  baseApiUrl?: string;
2505
2466
  }) | undefined) => string;
@@ -2539,10 +2500,10 @@ declare function createTdpClient(options: TdpClientOptions): {
2539
2500
  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
2501
  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
2502
  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>>;
2503
+ ticket_type_config: zod.ZodOptional<zod.ZodNullable<zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>>>;
2542
2504
  usdc_mint: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2543
2505
  seller_payout: zod.ZodPipe<zod.ZodString, zod.ZodTransform<_solana_kit.Address<string>, string>>;
2544
2506
  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
2507
  }, zod_v4_core.$strict>>;
2547
2508
  }, zod_v4_core.$strip> | undefined;
2548
2509
  queryParamsSchema?: undefined;
@@ -2572,4 +2533,4 @@ declare function createTdpClient(options: TdpClientOptions): {
2572
2533
  };
2573
2534
  };
2574
2535
 
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 };
2536
+ 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 GetPurchaseStatusInput, type GetPurchaseStatusResponse, type GetUserAddressInput, type ListActiveListingsInput, type ListActiveListingsResponse, type ListUpcomingEventsInput, type ListUpcomingEventsResponse, type SignIntegratorTransactionInput, type SignTransactionBody, type SignTransactionResponse, type SubmitTransactionBody, type SubmitTransactionInput, type SubmitTransactionResponse, type TdpClient, type TdpClientOptions, type UpdateEventMetadataBody, type UpdateEventMetadataInput, type UpdateEventMetadataResponse, type WalletAddressResponse, createTdpClient };