@domino-sdk/relay 1.67.0 → 1.68.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.
Files changed (72) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/{accounts-C2O8mpB8.d.ts → accounts-DnpKoJCo.d.ts} +210 -3
  3. package/dist/{attempt-captures-ClHAoo_n.d.ts → attempt-captures-DMNFMYFb.d.ts} +9 -1
  4. package/dist/authoring.d.ts +349 -38
  5. package/dist/authoring.js +125 -18
  6. package/dist/{automatic-outcomes-BEnPn4Uh.d.ts → automatic-outcomes-CQ3vpiQl.d.ts} +2 -2
  7. package/dist/avatar.d.ts +1 -1
  8. package/dist/browser.d.ts +10 -9
  9. package/dist/browser.js +12 -13
  10. package/dist/{catalog-CbiftcxQ.d.ts → catalog-BLGie8Lh.d.ts} +60 -2
  11. package/dist/chunk-4JSPMFO2.js +427 -0
  12. package/dist/{chunk-5DZNMLDM.js → chunk-55WJVFWC.js} +2 -2
  13. package/dist/{chunk-Q5QVAF7R.js → chunk-5AKD4ZF3.js} +37 -25
  14. package/dist/{chunk-DSJ46QLB.js → chunk-6UBFSMCM.js} +1 -1
  15. package/dist/{chunk-P33ZAJMS.js → chunk-6YTSRWRB.js} +1199 -677
  16. package/dist/{chunk-RDUSFUXX.js → chunk-75KF633N.js} +9 -1
  17. package/dist/{chunk-Q6KTTVOI.js → chunk-7YSVZA7A.js} +1 -1
  18. package/dist/{chunk-BMJHFWVT.js → chunk-CZ7NQ7W7.js} +10 -43
  19. package/dist/{chunk-X3FMVRMM.js → chunk-DDJN2T5A.js} +1 -1
  20. package/dist/{chunk-KUNPCDN6.js → chunk-DNPDR4Z7.js} +16 -9
  21. package/dist/{chunk-RWR2LOPA.js → chunk-EXZVWQOQ.js} +2 -2
  22. package/dist/{chunk-MVQQDPQX.js → chunk-HXTKI34N.js} +14 -2
  23. package/dist/{chunk-FGXLXENM.js → chunk-IW46TW3A.js} +21 -1
  24. package/dist/{chunk-5SBA6X5X.js → chunk-KKHENO57.js} +2 -2
  25. package/dist/{chunk-U66GUVSG.js → chunk-LZXDYSUH.js} +2 -0
  26. package/dist/{chunk-QYC3CZVD.js → chunk-MEUAJIVO.js} +2 -2
  27. package/dist/{chunk-BQXRCJ3N.js → chunk-P4TPW4SY.js} +1 -1
  28. package/dist/{chunk-NRMQVK2W.js → chunk-R3MNZKNJ.js} +1 -1
  29. package/dist/{chunk-Z2Z5DBNW.js → chunk-SD74HD75.js} +45 -9
  30. package/dist/{chunk-JK3XV2CR.js → chunk-TYZFVL73.js} +50 -8
  31. package/dist/chunk-VAGGGB6B.js +87 -0
  32. package/dist/{chunk-2HHZV7U3.js → chunk-VRZZB7CQ.js} +1 -1
  33. package/dist/{client-CZPewB9h.d.ts → client-BMif22WQ.d.ts} +133 -7
  34. package/dist/{dashboards-jGPM3AxF.d.ts → dashboards-DMk-vL1q.d.ts} +4 -4
  35. package/dist/{deployments-BVFd7ddA.d.ts → deployments-BCr418BX.d.ts} +582 -173
  36. package/dist/{identity-integration-W1Vo3Ql9.d.ts → identity-integration-r76xaAax.d.ts} +1 -1
  37. package/dist/index.d.ts +10 -10
  38. package/dist/index.js +10 -10
  39. package/dist/internal.d.ts +137 -14
  40. package/dist/internal.js +240 -19
  41. package/dist/{limits-C4RzrOV4.d.ts → limits-ByVRQePO.d.ts} +6 -1
  42. package/dist/{offers-BpYenB9i.d.ts → offers-xcPbYaEv.d.ts} +2 -2
  43. package/dist/portal-proxy.d.ts +2 -2
  44. package/dist/portal-proxy.js +11 -11
  45. package/dist/react/index.d.ts +37 -15
  46. package/dist/react/index.js +12 -13
  47. package/dist/{reward-deliveries-BOWpMytr.d.ts → reward-deliveries-0VvT6LMj.d.ts} +1 -1
  48. package/dist/runtime/authoring.js +1 -1
  49. package/dist/runtime/chunks/2UDZ6TPL.js +1 -0
  50. package/dist/runtime/manifest.json +3 -3
  51. package/dist/runtime/schema.js +1 -1
  52. package/dist/schema.d.ts +398 -104
  53. package/dist/schema.js +62 -8
  54. package/dist/server/index.d.ts +12 -12
  55. package/dist/server/index.js +2046 -886
  56. package/dist/{sign-in-providers-BRYVOSlG.d.ts → sign-in-providers-C5_753DZ.d.ts} +2 -2
  57. package/dist/solana.d.ts +171 -0
  58. package/dist/solana.js +364 -0
  59. package/dist/{submission-input-C152xIdn.d.ts → submission-input-CaL8drIh.d.ts} +2 -2
  60. package/dist/{telegram-browser-657QqiQl.d.ts → telegram-browser-DLtHPRBI.d.ts} +6 -108
  61. package/dist/telegram.d.ts +8 -8
  62. package/dist/telegram.js +2 -2
  63. package/dist/testing.d.ts +85 -13
  64. package/dist/testing.js +101 -11
  65. package/dist/{tracker-data-BqY-9Vu-.d.ts → tracker-data-CAK942sx.d.ts} +298 -1
  66. package/dist/{transport-CthYgZXK.d.ts → transport-CkidqTOk.d.ts} +5250 -1226
  67. package/dist/{wallet-Btng186v.d.ts → wallet-DQtJelQQ.d.ts} +367 -13
  68. package/dist/wallet-browser-dpmr22Xv.d.ts +106 -0
  69. package/package.json +16 -1
  70. package/dist/chunk-UWUS4OOV.js +0 -59
  71. package/dist/chunk-UYVJZR33.js +0 -34
  72. package/dist/runtime/chunks/C2MGLQXC.js +0 -1
@@ -217,6 +217,36 @@ declare const walletBalanceSourceSchema: z.ZodObject<{
217
217
  chain: z.ZodString;
218
218
  token: z.ZodNullable<z.ZodString>;
219
219
  }, z.core.$strict>;
220
+ /**
221
+ * What a `wallet.programActivity()` source records: the Solana cluster's CAIP-2 ID (mainnet or
222
+ * devnet), the program, and the optional narrowing to one Anchor instruction (by its IDL name) and
223
+ * to a change of one SPL mint (base58) of at least `minAmount` base units. `anySigner` also counts
224
+ * transactions the wallet did not sign.
225
+ */
226
+ declare const walletProgramActivitySourceSchema: z.ZodObject<{
227
+ chain: z.ZodString;
228
+ program: z.ZodString;
229
+ instruction: z.ZodNullable<z.ZodString>;
230
+ mint: z.ZodNullable<z.ZodString>;
231
+ minAmount: z.ZodNullable<z.ZodString>;
232
+ anySigner: z.ZodBoolean;
233
+ }, z.core.$strict>;
234
+ /**
235
+ * What a `wallet.nfts()` source samples: an NFT collection as `ctx.wallet.nfts()` takes it, an
236
+ * ERC-721 contract or one ERC-1155 token ID on an EVM chain, or a Metaplex verified collection on
237
+ * Solana mainnet or devnet. Syntax only; whether Relay reads it is checked when it samples.
238
+ */
239
+ declare const walletNftSourceSchema: z.ZodObject<{
240
+ collection: z.ZodString;
241
+ }, z.core.$strict>;
242
+ /**
243
+ * What a `wallet.stake()` source samples: the Solana cluster's CAIP-2 ID (mainnet or devnet) and
244
+ * the vote account (base58) whose delegations count, or null for every validator.
245
+ */
246
+ declare const walletStakeSourceSchema: z.ZodObject<{
247
+ chain: z.ZodString;
248
+ voteAccount: z.ZodNullable<z.ZodString>;
249
+ }, z.core.$strict>;
220
250
  declare const xSearchSourceSchema: z.ZodObject<{
221
251
  kind: z.ZodLiteral<"x-search">;
222
252
  query: z.ZodString;
@@ -239,6 +269,21 @@ declare const customSourceSchema: z.ZodObject<{
239
269
  chain: z.ZodString;
240
270
  token: z.ZodNullable<z.ZodString>;
241
271
  }, z.core.$strict>>;
272
+ activity: z.ZodOptional<z.ZodObject<{
273
+ chain: z.ZodString;
274
+ program: z.ZodString;
275
+ instruction: z.ZodNullable<z.ZodString>;
276
+ mint: z.ZodNullable<z.ZodString>;
277
+ minAmount: z.ZodNullable<z.ZodString>;
278
+ anySigner: z.ZodBoolean;
279
+ }, z.core.$strict>>;
280
+ nfts: z.ZodOptional<z.ZodObject<{
281
+ collection: z.ZodString;
282
+ }, z.core.$strict>>;
283
+ stake: z.ZodOptional<z.ZodObject<{
284
+ chain: z.ZodString;
285
+ voteAccount: z.ZodNullable<z.ZodString>;
286
+ }, z.core.$strict>>;
242
287
  }, z.core.$strict>;
243
288
  declare const trackerSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
244
289
  kind: z.ZodLiteral<"x-search">;
@@ -261,6 +306,21 @@ declare const trackerSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
261
306
  chain: z.ZodString;
262
307
  token: z.ZodNullable<z.ZodString>;
263
308
  }, z.core.$strict>>;
309
+ activity: z.ZodOptional<z.ZodObject<{
310
+ chain: z.ZodString;
311
+ program: z.ZodString;
312
+ instruction: z.ZodNullable<z.ZodString>;
313
+ mint: z.ZodNullable<z.ZodString>;
314
+ minAmount: z.ZodNullable<z.ZodString>;
315
+ anySigner: z.ZodBoolean;
316
+ }, z.core.$strict>>;
317
+ nfts: z.ZodOptional<z.ZodObject<{
318
+ collection: z.ZodString;
319
+ }, z.core.$strict>>;
320
+ stake: z.ZodOptional<z.ZodObject<{
321
+ chain: z.ZodString;
322
+ voteAccount: z.ZodNullable<z.ZodString>;
323
+ }, z.core.$strict>>;
264
324
  }, z.core.$strict>, z.ZodObject<{
265
325
  kind: z.ZodLiteral<"discord-messages">;
266
326
  text: z.ZodOptional<z.ZodBoolean>;
@@ -339,6 +399,21 @@ declare const trackerDefinitionSchema: z.ZodObject<{
339
399
  chain: z.ZodString;
340
400
  token: z.ZodNullable<z.ZodString>;
341
401
  }, z.core.$strict>>;
402
+ activity: z.ZodOptional<z.ZodObject<{
403
+ chain: z.ZodString;
404
+ program: z.ZodString;
405
+ instruction: z.ZodNullable<z.ZodString>;
406
+ mint: z.ZodNullable<z.ZodString>;
407
+ minAmount: z.ZodNullable<z.ZodString>;
408
+ anySigner: z.ZodBoolean;
409
+ }, z.core.$strict>>;
410
+ nfts: z.ZodOptional<z.ZodObject<{
411
+ collection: z.ZodString;
412
+ }, z.core.$strict>>;
413
+ stake: z.ZodOptional<z.ZodObject<{
414
+ chain: z.ZodString;
415
+ voteAccount: z.ZodNullable<z.ZodString>;
416
+ }, z.core.$strict>>;
342
417
  }, z.core.$strict>, z.ZodObject<{
343
418
  kind: z.ZodLiteral<"discord-messages">;
344
419
  text: z.ZodOptional<z.ZodBoolean>;
@@ -376,6 +451,21 @@ declare const trackerArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
376
451
  chain: z.ZodString;
377
452
  token: z.ZodNullable<z.ZodString>;
378
453
  }, z.core.$strict>>;
454
+ activity: z.ZodOptional<z.ZodObject<{
455
+ chain: z.ZodString;
456
+ program: z.ZodString;
457
+ instruction: z.ZodNullable<z.ZodString>;
458
+ mint: z.ZodNullable<z.ZodString>;
459
+ minAmount: z.ZodNullable<z.ZodString>;
460
+ anySigner: z.ZodBoolean;
461
+ }, z.core.$strict>>;
462
+ nfts: z.ZodOptional<z.ZodObject<{
463
+ collection: z.ZodString;
464
+ }, z.core.$strict>>;
465
+ stake: z.ZodOptional<z.ZodObject<{
466
+ chain: z.ZodString;
467
+ voteAccount: z.ZodNullable<z.ZodString>;
468
+ }, z.core.$strict>>;
379
469
  }, z.core.$strict>, z.ZodObject<{
380
470
  kind: z.ZodLiteral<"discord-messages">;
381
471
  text: z.ZodOptional<z.ZodBoolean>;
@@ -424,6 +514,21 @@ declare const knownTrackerSourceResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
424
514
  query: z.ZodString;
425
515
  }, z.core.$strip>, z.ZodObject<{
426
516
  identities: z.ZodOptional<z.ZodArray<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
517
+ activity: z.ZodOptional<z.ZodObject<{
518
+ chain: z.ZodString;
519
+ program: z.ZodString;
520
+ instruction: z.ZodNullable<z.ZodString>;
521
+ mint: z.ZodNullable<z.ZodString>;
522
+ minAmount: z.ZodNullable<z.ZodString>;
523
+ anySigner: z.ZodBoolean;
524
+ }, z.core.$strip>>;
525
+ nfts: z.ZodOptional<z.ZodObject<{
526
+ collection: z.ZodString;
527
+ }, z.core.$strip>>;
528
+ stake: z.ZodOptional<z.ZodObject<{
529
+ chain: z.ZodString;
530
+ voteAccount: z.ZodNullable<z.ZodString>;
531
+ }, z.core.$strip>>;
427
532
  kind: z.ZodLiteral<"custom">;
428
533
  namespace: z.ZodString;
429
534
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -447,6 +552,21 @@ declare const trackerSourceResponseSchema: z.ZodUnion<readonly [z.ZodDiscriminat
447
552
  query: z.ZodString;
448
553
  }, z.core.$strip>, z.ZodObject<{
449
554
  identities: z.ZodOptional<z.ZodArray<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
555
+ activity: z.ZodOptional<z.ZodObject<{
556
+ chain: z.ZodString;
557
+ program: z.ZodString;
558
+ instruction: z.ZodNullable<z.ZodString>;
559
+ mint: z.ZodNullable<z.ZodString>;
560
+ minAmount: z.ZodNullable<z.ZodString>;
561
+ anySigner: z.ZodBoolean;
562
+ }, z.core.$strip>>;
563
+ nfts: z.ZodOptional<z.ZodObject<{
564
+ collection: z.ZodString;
565
+ }, z.core.$strip>>;
566
+ stake: z.ZodOptional<z.ZodObject<{
567
+ chain: z.ZodString;
568
+ voteAccount: z.ZodNullable<z.ZodString>;
569
+ }, z.core.$strip>>;
450
570
  kind: z.ZodLiteral<"custom">;
451
571
  namespace: z.ZodString;
452
572
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -476,6 +596,21 @@ declare const trackerDefinitionResponseSchema: z.ZodObject<{
476
596
  query: z.ZodString;
477
597
  }, z.core.$strip>, z.ZodObject<{
478
598
  identities: z.ZodOptional<z.ZodArray<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
599
+ activity: z.ZodOptional<z.ZodObject<{
600
+ chain: z.ZodString;
601
+ program: z.ZodString;
602
+ instruction: z.ZodNullable<z.ZodString>;
603
+ mint: z.ZodNullable<z.ZodString>;
604
+ minAmount: z.ZodNullable<z.ZodString>;
605
+ anySigner: z.ZodBoolean;
606
+ }, z.core.$strip>>;
607
+ nfts: z.ZodOptional<z.ZodObject<{
608
+ collection: z.ZodString;
609
+ }, z.core.$strip>>;
610
+ stake: z.ZodOptional<z.ZodObject<{
611
+ chain: z.ZodString;
612
+ voteAccount: z.ZodNullable<z.ZodString>;
613
+ }, z.core.$strip>>;
479
614
  kind: z.ZodLiteral<"custom">;
480
615
  namespace: z.ZodString;
481
616
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -514,6 +649,21 @@ declare const publishedTrackerSchema: z.ZodObject<{
514
649
  query: z.ZodString;
515
650
  }, z.core.$strip>, z.ZodObject<{
516
651
  identities: z.ZodOptional<z.ZodArray<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
652
+ activity: z.ZodOptional<z.ZodObject<{
653
+ chain: z.ZodString;
654
+ program: z.ZodString;
655
+ instruction: z.ZodNullable<z.ZodString>;
656
+ mint: z.ZodNullable<z.ZodString>;
657
+ minAmount: z.ZodNullable<z.ZodString>;
658
+ anySigner: z.ZodBoolean;
659
+ }, z.core.$strip>>;
660
+ nfts: z.ZodOptional<z.ZodObject<{
661
+ collection: z.ZodString;
662
+ }, z.core.$strip>>;
663
+ stake: z.ZodOptional<z.ZodObject<{
664
+ chain: z.ZodString;
665
+ voteAccount: z.ZodNullable<z.ZodString>;
666
+ }, z.core.$strip>>;
517
667
  kind: z.ZodLiteral<"custom">;
518
668
  namespace: z.ZodString;
519
669
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -556,6 +706,21 @@ declare const trackerStatusSchema: z.ZodObject<{
556
706
  query: z.ZodString;
557
707
  }, z.core.$strip>, z.ZodObject<{
558
708
  identities: z.ZodOptional<z.ZodArray<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
709
+ activity: z.ZodOptional<z.ZodObject<{
710
+ chain: z.ZodString;
711
+ program: z.ZodString;
712
+ instruction: z.ZodNullable<z.ZodString>;
713
+ mint: z.ZodNullable<z.ZodString>;
714
+ minAmount: z.ZodNullable<z.ZodString>;
715
+ anySigner: z.ZodBoolean;
716
+ }, z.core.$strip>>;
717
+ nfts: z.ZodOptional<z.ZodObject<{
718
+ collection: z.ZodString;
719
+ }, z.core.$strip>>;
720
+ stake: z.ZodOptional<z.ZodObject<{
721
+ chain: z.ZodString;
722
+ voteAccount: z.ZodNullable<z.ZodString>;
723
+ }, z.core.$strip>>;
559
724
  kind: z.ZodLiteral<"custom">;
560
725
  namespace: z.ZodString;
561
726
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -719,6 +884,108 @@ declare const managedTrackerCreateSchema: z.ZodObject<{
719
884
  }, z.core.$strict>], "kind">>;
720
885
  }, z.core.$strict>;
721
886
  type ManagedTrackerCreateInput = z.input<typeof managedTrackerCreateSchema>;
887
+ /**
888
+ * `wallet.programActivity({ chain, program, ... })` as the management API names it, with the
889
+ * cluster's CAIP-2 ID and null for each narrowing left out.
890
+ */
891
+ declare const walletProgramActivityTrackerSourceSchema: z.ZodObject<{
892
+ chain: z.ZodString;
893
+ program: z.ZodString;
894
+ instruction: z.ZodNullable<z.ZodString>;
895
+ mint: z.ZodNullable<z.ZodString>;
896
+ minAmount: z.ZodNullable<z.ZodString>;
897
+ anySigner: z.ZodBoolean;
898
+ kind: z.ZodLiteral<"wallet-program-activity">;
899
+ }, z.core.$strict>;
900
+ /** A program activity source as `management.trackers.create` names it. */
901
+ type WalletProgramActivityTrackerSource = z.infer<typeof walletProgramActivityTrackerSourceSchema>;
902
+ /**
903
+ * A `wallet.programActivity()` tracker created as data in test (`management.trackers.create`),
904
+ * beside the sources `managedTrackerCreateSchema` takes. Its source never changes, so
905
+ * `management.trackers.update` changes only its title and window.
906
+ */
907
+ declare const programActivityTrackerCreateSchema: z.ZodObject<{
908
+ key: z.ZodString;
909
+ actionId: z.ZodString;
910
+ window: z.ZodObject<{
911
+ start: z.ZodNumber;
912
+ end: z.ZodOptional<z.ZodNumber>;
913
+ }, z.core.$strict>;
914
+ title: z.ZodString;
915
+ refreshSeconds: z.ZodDefault<z.ZodNumber>;
916
+ maxPages: z.ZodDefault<z.ZodNumber>;
917
+ source: z.ZodObject<{
918
+ chain: z.ZodString;
919
+ program: z.ZodString;
920
+ instruction: z.ZodNullable<z.ZodString>;
921
+ mint: z.ZodNullable<z.ZodString>;
922
+ minAmount: z.ZodNullable<z.ZodString>;
923
+ anySigner: z.ZodBoolean;
924
+ kind: z.ZodLiteral<"wallet-program-activity">;
925
+ }, z.core.$strict>;
926
+ }, z.core.$strict>;
927
+ /** What `management.trackers.create` takes for a `wallet.programActivity()` tracker. */
928
+ type ProgramActivityTrackerCreateInput = z.input<typeof programActivityTrackerCreateSchema>;
929
+ /** `wallet.nfts({ collection })` as the management API names it. */
930
+ declare const walletNftsTrackerSourceSchema: z.ZodObject<{
931
+ collection: z.ZodString;
932
+ kind: z.ZodLiteral<"wallet-nfts">;
933
+ }, z.core.$strict>;
934
+ /** An NFT holdings source as `management.trackers.create` names it. */
935
+ type WalletNftsTrackerSource = z.infer<typeof walletNftsTrackerSourceSchema>;
936
+ /**
937
+ * A `wallet.nfts()` tracker created as data in test (`management.trackers.create`), beside the
938
+ * sources `managedTrackerCreateSchema` takes. Its collection never changes, so
939
+ * `management.trackers.update` changes only its title and window.
940
+ */
941
+ declare const nftTrackerCreateSchema: z.ZodObject<{
942
+ key: z.ZodString;
943
+ actionId: z.ZodString;
944
+ window: z.ZodObject<{
945
+ start: z.ZodNumber;
946
+ end: z.ZodOptional<z.ZodNumber>;
947
+ }, z.core.$strict>;
948
+ title: z.ZodString;
949
+ refreshSeconds: z.ZodDefault<z.ZodNumber>;
950
+ maxPages: z.ZodDefault<z.ZodNumber>;
951
+ source: z.ZodObject<{
952
+ collection: z.ZodString;
953
+ kind: z.ZodLiteral<"wallet-nfts">;
954
+ }, z.core.$strict>;
955
+ }, z.core.$strict>;
956
+ /** What `management.trackers.create` takes for a `wallet.nfts()` tracker. */
957
+ type NftTrackerCreateInput = z.input<typeof nftTrackerCreateSchema>;
958
+ /** `wallet.stake({ chain, voteAccount })` as the management API names it. */
959
+ declare const walletStakeTrackerSourceSchema: z.ZodObject<{
960
+ chain: z.ZodString;
961
+ voteAccount: z.ZodNullable<z.ZodString>;
962
+ kind: z.ZodLiteral<"wallet-stake">;
963
+ }, z.core.$strict>;
964
+ /** A stake source as `management.trackers.create` names it. */
965
+ type WalletStakeTrackerSource = z.infer<typeof walletStakeTrackerSourceSchema>;
966
+ /**
967
+ * A `wallet.stake()` tracker created as data in test (`management.trackers.create`), beside the
968
+ * sources `managedTrackerCreateSchema` takes. Its cluster and vote account never change, so
969
+ * `management.trackers.update` changes only its title and window.
970
+ */
971
+ declare const stakeTrackerCreateSchema: z.ZodObject<{
972
+ key: z.ZodString;
973
+ actionId: z.ZodString;
974
+ window: z.ZodObject<{
975
+ start: z.ZodNumber;
976
+ end: z.ZodOptional<z.ZodNumber>;
977
+ }, z.core.$strict>;
978
+ title: z.ZodString;
979
+ refreshSeconds: z.ZodDefault<z.ZodNumber>;
980
+ maxPages: z.ZodDefault<z.ZodNumber>;
981
+ source: z.ZodObject<{
982
+ chain: z.ZodString;
983
+ voteAccount: z.ZodNullable<z.ZodString>;
984
+ kind: z.ZodLiteral<"wallet-stake">;
985
+ }, z.core.$strict>;
986
+ }, z.core.$strict>;
987
+ /** What `management.trackers.create` takes for a `wallet.stake()` tracker. */
988
+ type StakeTrackerCreateInput = z.input<typeof stakeTrackerCreateSchema>;
722
989
  /**
723
990
  * Changes to a tracker created as data. Fields left out keep their value; the key and the source's
724
991
  * kind never change. `source` changes the source's own settings, such as an X query or whether
@@ -1128,6 +1395,21 @@ declare const trackerPageSchema: z.ZodObject<{
1128
1395
  query: z.ZodString;
1129
1396
  }, z.core.$strip>, z.ZodObject<{
1130
1397
  identities: z.ZodOptional<z.ZodArray<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
1398
+ activity: z.ZodOptional<z.ZodObject<{
1399
+ chain: z.ZodString;
1400
+ program: z.ZodString;
1401
+ instruction: z.ZodNullable<z.ZodString>;
1402
+ mint: z.ZodNullable<z.ZodString>;
1403
+ minAmount: z.ZodNullable<z.ZodString>;
1404
+ anySigner: z.ZodBoolean;
1405
+ }, z.core.$strip>>;
1406
+ nfts: z.ZodOptional<z.ZodObject<{
1407
+ collection: z.ZodString;
1408
+ }, z.core.$strip>>;
1409
+ stake: z.ZodOptional<z.ZodObject<{
1410
+ chain: z.ZodString;
1411
+ voteAccount: z.ZodNullable<z.ZodString>;
1412
+ }, z.core.$strip>>;
1131
1413
  kind: z.ZodLiteral<"custom">;
1132
1414
  namespace: z.ZodString;
1133
1415
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1208,6 +1490,21 @@ declare const trackerSummarySchema: z.ZodObject<{
1208
1490
  query: z.ZodString;
1209
1491
  }, z.core.$strip>, z.ZodObject<{
1210
1492
  identities: z.ZodOptional<z.ZodArray<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
1493
+ activity: z.ZodOptional<z.ZodObject<{
1494
+ chain: z.ZodString;
1495
+ program: z.ZodString;
1496
+ instruction: z.ZodNullable<z.ZodString>;
1497
+ mint: z.ZodNullable<z.ZodString>;
1498
+ minAmount: z.ZodNullable<z.ZodString>;
1499
+ anySigner: z.ZodBoolean;
1500
+ }, z.core.$strip>>;
1501
+ nfts: z.ZodOptional<z.ZodObject<{
1502
+ collection: z.ZodString;
1503
+ }, z.core.$strip>>;
1504
+ stake: z.ZodOptional<z.ZodObject<{
1505
+ chain: z.ZodString;
1506
+ voteAccount: z.ZodNullable<z.ZodString>;
1507
+ }, z.core.$strip>>;
1211
1508
  kind: z.ZodLiteral<"custom">;
1212
1509
  namespace: z.ZodString;
1213
1510
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1880,4 +2177,4 @@ declare function schemaCheckedReader(reader: TrackerReader): TrackerReader;
1880
2177
  */
1881
2178
  declare function whereSchemaIssue(schema: TrackerDataSchema, where: TrackerWhere | undefined): string | null;
1882
2179
 
1883
- export { type AppIdentityKind as $, type ReferralHandle as A, type TrackerTriggerContext as B, type TrackerReader as C, type TrackerTriggerMode as D, type RoleOf as E, type WhereSetting as F, type GroupHandle as G, type ContentBody as H, type IdentityKind as I, type BadgeHandle as J, type KnownSkipEnrollment as K, type LedgerReference as L, type MemberIdentity as M, type ContentMetricName as N, type OpenIdentityKind as O, type LedgerSetting as P, type QuestHandle as Q, type ResourceHandle as R, type SkipEnrollment as S, type TrackerSkipCode as T, type TrackerPage as U, type TrackerReadQuery as V, type WithRecordData as W, type XTweet as X, trackerDataSchema as Y, trackerTriggerContextSchema as Z, type AccountRole as _, type KnownTrackerSkipCode as a, trackerDataMaxBranches as a$, type Bound as a0, type Condition as a1, type DataLeaves as a2, type KnownIdentityKind as a3, type ManagedTrackerCreateInput as a4, type ManagedTrackerSource as a5, type ManagedTrackerSourceKind as a6, type TrackerAccount as a7, type TrackerAttribution as a8, type TrackerBound as a9, beneficiaryRole as aA, contentMetricNameSchema as aB, customContentSchema as aC, defaultTriggerMode as aD, identityKindSchema as aE, isAppIdentityKind as aF, isKnownTrackerSource as aG, knownIdentityKinds as aH, managedTrackerCreateSchema as aI, managedTrackerSource as aJ, managedTrackerSourceKinds as aK, managedTrackerSourceSchema as aL, memberIdentitySchema as aM, openIdentityKindSchema as aN, publishedTrackerSchema as aO, sourceIdentities as aP, trackerAccountSchema as aQ, trackerArtifactSchema as aR, trackerAttributionSchema as aS, trackerBoundSchema as aT, trackerConditionSchema as aU, trackerContentQuerySchema as aV, trackerContentReadSchema as aW, trackerContentSchema as aX, trackerContentStageSchema as aY, trackerControlSchema as aZ, trackerCreateSchema as a_, type TrackerCondition as aa, type TrackerContent as ab, type TrackerContentQuery as ac, type TrackerCreateInput as ad, type TrackerDataIssue as ae, type TrackerDefinition as af, type TrackerDefinitionResponse as ag, type TrackerOutcome as ah, type TrackerOutcomeQuery as ai, type TrackerPreview as aj, type TrackerPreviewInput as ak, type TrackerQuery as al, type TrackerRecord as am, type TrackerSourceKind as an, type TrackerSourceResponse as ao, type TrackerStatus as ap, type TrackerTriggerOutcomePage as aq, type TrackerTriggerOutcomeQuery as ar, type TrackerUpdateInput as as, type TrackerWhere as at, type TriggerEnrollment as au, type TriggerHistorical as av, type TriggerSince as aw, type TypedTrackerRecord as ax, accountRoleSchema as ay, appIdentityKindSchema as az, type TrackerDataBudget as b, trackerDataMaxEntries as b0, trackerDataSchemaSchema as b1, trackerDefinitionResponseSchema as b2, trackerEvidenceSchema as b3, trackerIngestResultSchema as b4, trackerIngestSchema as b5, trackerOutcomePageSchema as b6, trackerOutcomeQuerySchema as b7, trackerOutcomeRetrySchema as b8, trackerOutcomeSchema as b9, triggerSinceSchema as bA, walletBalanceSourceSchema as bB, whereConditions as bC, xAccountRoles as bD, xContentMetrics as bE, xTweetSchema as bF, trackerPageSchema as ba, trackerPreviewInputSchema as bb, trackerPreviewLimits as bc, trackerPreviewSchema as bd, trackerPropertiesSchema as be, trackerQuerySchema as bf, trackerRecordAccountSchema as bg, trackerRecordInputSchema as bh, trackerRecordSchema as bi, trackerSkipCodes as bj, trackerSourceKinds as bk, trackerSourceResponseSchema as bl, trackerSourceSchema as bm, trackerStatusSchema as bn, trackerSummarySchema as bo, trackerTriggerModeSchema as bp, trackerTriggerOutcomePageSchema as bq, trackerTriggerOutcomeQuerySchema as br, trackerTriggerPolicySchema as bs, trackerTriggerRecordSchema as bt, trackerUpdateSchema as bu, trackerWhereSchema as bv, triggerAdmission as bw, triggerEnrollmentSchema as bx, triggerHistoricalSchema as by, triggerMode as bz, sourceContent as c, trackerDataIssue as d, trackerDataIssues as e, trackerDataPathTypes as f, trackerDataRecordSteps as g, whereSettings as h, type TrackerDataSchema as i, customSourceSchema as j, type WithContent as k, type WithAccountRoles as l, type TrackerSource as m, trackerDefinitionSchema as n, type Tracker as o, type TrackerData as p, type SourceRoles as q, type LedgerHandle as r, schemaCheckedReader as s, trackerDataBatchSteps as t, xSearchSourceSchema as u, type XContentMetric as v, whereSchemaIssue as w, xContentBodySchema as x, type TrackerTriggerPolicy as y, type Where as z };
2180
+ export { type AppIdentityKind as $, trackerDataSchema as A, type BadgeHandle as B, type ContentBody as C, trackerTriggerContextSchema as D, type TrackerDataBudget as E, schemaCheckedReader as F, type GroupHandle as G, sourceContent as H, type IdentityKind as I, trackerDataBatchSteps as J, type KnownSkipEnrollment as K, type LedgerReference as L, type MemberIdentity as M, trackerDataIssue as N, type OpenIdentityKind as O, trackerDataIssues as P, type QuestHandle as Q, type ResourceHandle as R, type SkipEnrollment as S, type TrackerSkipCode as T, trackerDataPathTypes as U, trackerDataRecordSteps as V, type WithRecordData as W, type XTweet as X, whereSchemaIssue as Y, whereSettings as Z, type AccountRole as _, type KnownTrackerSkipCode as a, trackerAttributionSchema as a$, type Bound as a0, type Condition as a1, type DataLeaves as a2, type KnownIdentityKind as a3, type ManagedTrackerCreateInput as a4, type ManagedTrackerSource as a5, type ManagedTrackerSourceKind as a6, type NftTrackerCreateInput as a7, type ProgramActivityTrackerCreateInput as a8, type StakeTrackerCreateInput as a9, type TypedTrackerRecord as aA, type WalletNftsTrackerSource as aB, type WalletProgramActivityTrackerSource as aC, type WalletStakeTrackerSource as aD, accountRoleSchema as aE, appIdentityKindSchema as aF, beneficiaryRole as aG, contentMetricNameSchema as aH, customContentSchema as aI, defaultTriggerMode as aJ, identityKindSchema as aK, isAppIdentityKind as aL, isKnownTrackerSource as aM, knownIdentityKinds as aN, managedTrackerCreateSchema as aO, managedTrackerSource as aP, managedTrackerSourceKinds as aQ, managedTrackerSourceSchema as aR, memberIdentitySchema as aS, nftTrackerCreateSchema as aT, openIdentityKindSchema as aU, programActivityTrackerCreateSchema as aV, publishedTrackerSchema as aW, sourceIdentities as aX, stakeTrackerCreateSchema as aY, trackerAccountSchema as aZ, trackerArtifactSchema as a_, type TrackerAccount as aa, type TrackerAttribution as ab, type TrackerBound as ac, type TrackerCondition as ad, type TrackerContent as ae, type TrackerContentQuery as af, type TrackerCreateInput as ag, type TrackerDataIssue as ah, type TrackerDefinition as ai, type TrackerDefinitionResponse as aj, type TrackerOutcome as ak, type TrackerOutcomeQuery as al, type TrackerPreview as am, type TrackerPreviewInput as an, type TrackerQuery as ao, type TrackerRecord as ap, type TrackerSourceKind as aq, type TrackerSourceResponse as ar, type TrackerStatus as as, type TrackerTriggerOutcomePage as at, type TrackerTriggerOutcomeQuery as au, type TrackerUpdateInput as av, type TrackerWhere as aw, type TriggerEnrollment as ax, type TriggerHistorical as ay, type TriggerSince as az, type TrackerDataSchema as b, trackerBoundSchema as b0, trackerConditionSchema as b1, trackerContentQuerySchema as b2, trackerContentReadSchema as b3, trackerContentSchema as b4, trackerContentStageSchema as b5, trackerControlSchema as b6, trackerCreateSchema as b7, trackerDataMaxBranches as b8, trackerDataMaxEntries as b9, trackerTriggerOutcomeQuerySchema as bA, trackerTriggerPolicySchema as bB, trackerTriggerRecordSchema as bC, trackerUpdateSchema as bD, trackerWhereSchema as bE, triggerAdmission as bF, triggerEnrollmentSchema as bG, triggerHistoricalSchema as bH, triggerMode as bI, triggerSinceSchema as bJ, walletBalanceSourceSchema as bK, walletNftSourceSchema as bL, walletNftsTrackerSourceSchema as bM, walletProgramActivitySourceSchema as bN, walletProgramActivityTrackerSourceSchema as bO, walletStakeSourceSchema as bP, walletStakeTrackerSourceSchema as bQ, whereConditions as bR, xAccountRoles as bS, xContentMetrics as bT, xTweetSchema as bU, trackerDataSchemaSchema as ba, trackerDefinitionResponseSchema as bb, trackerEvidenceSchema as bc, trackerIngestResultSchema as bd, trackerIngestSchema as be, trackerOutcomePageSchema as bf, trackerOutcomeQuerySchema as bg, trackerOutcomeRetrySchema as bh, trackerOutcomeSchema as bi, trackerPageSchema as bj, trackerPreviewInputSchema as bk, trackerPreviewLimits as bl, trackerPreviewSchema as bm, trackerPropertiesSchema as bn, trackerQuerySchema as bo, trackerRecordAccountSchema as bp, trackerRecordInputSchema as bq, trackerRecordSchema as br, trackerSkipCodes as bs, trackerSourceKinds as bt, trackerSourceResponseSchema as bu, trackerSourceSchema as bv, trackerStatusSchema as bw, trackerSummarySchema as bx, trackerTriggerModeSchema as by, trackerTriggerOutcomePageSchema as bz, customSourceSchema as c, type WithContent as d, type WithAccountRoles as e, type TrackerSource as f, type Tracker as g, type TrackerData as h, type SourceRoles as i, type LedgerHandle as j, xSearchSourceSchema as k, type XContentMetric as l, type TrackerTriggerPolicy as m, type Where as n, type ReferralHandle as o, type TrackerTriggerContext as p, type TrackerReader as q, type TrackerTriggerMode as r, type RoleOf as s, trackerDefinitionSchema as t, type WhereSetting as u, type ContentMetricName as v, type LedgerSetting as w, xContentBodySchema as x, type TrackerPage as y, type TrackerReadQuery as z };