@domino-sdk/relay 1.56.0 → 1.60.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/CHANGELOG.md +100 -0
- package/dist/{accounts-DRPENuZe.d.ts → accounts-DoabriBX.d.ts} +21 -7
- package/dist/{attempt-captures-CxxO7DeD.d.ts → attempt-captures-W2dgzGqE.d.ts} +1 -1
- package/dist/authoring.d.ts +323 -39
- package/dist/authoring.js +312 -18
- package/dist/{automatic-outcomes-DxW_v5Wc.d.ts → automatic-outcomes-Cmou89IS.d.ts} +1 -1
- package/dist/avatar.d.ts +1 -2
- package/dist/browser.d.ts +19 -11
- package/dist/browser.js +12 -10
- package/dist/{capability-error-DSd8EMQC.d.ts → capability-error-DufwG3G0.d.ts} +21 -7
- package/dist/{chunk-OTITLABX.js → chunk-2FHNY52R.js} +8 -2
- package/dist/{chunk-QNQNKIAA.js → chunk-422J3QRW.js} +12 -2
- package/dist/{chunk-INSWI2VZ.js → chunk-4OFH4BNX.js} +1 -1
- package/dist/{chunk-KBVH4XZC.js → chunk-6ZG7WNYX.js} +1 -1
- package/dist/{chunk-BHHUSBSD.js → chunk-GBSDAD3N.js} +1627 -887
- package/dist/{chunk-W5U2WXG3.js → chunk-KUPVQXUJ.js} +2 -2
- package/dist/{chunk-G6XVBYH7.js → chunk-KWFY7L7X.js} +4 -4
- package/dist/{chunk-BJYMTCWG.js → chunk-MJEJQH5A.js} +18 -6
- package/dist/{chunk-ULQU7KC4.js → chunk-N3LJ6GFK.js} +1 -5
- package/dist/{chunk-ABJ4G47X.js → chunk-N7YOS4ZU.js} +1 -1
- package/dist/{chunk-MNU6UPXY.js → chunk-OTEUP2SG.js} +1 -1
- package/dist/{chunk-NK6EER33.js → chunk-VVRQQRMQ.js} +12 -12
- package/dist/{chunk-H2MD6E7Z.js → chunk-VWMIA2TT.js} +8 -2
- package/dist/{chunk-RBPMT53S.js → chunk-XQKUJL7H.js} +25 -5
- package/dist/{chunk-CXKXPB7K.js → chunk-Y2IGFLD2.js} +36 -11
- package/dist/{chunk-VSHV7FEA.js → chunk-YNW2ZUUP.js} +56 -153
- package/dist/{chunk-CK7HO32Z.js → chunk-YOAPPIWN.js} +2 -2
- package/dist/{client-bX3oTpRu.d.ts → client-Cw1pB5sv.d.ts} +121 -117
- package/dist/{deployments-D3lxfQMB.d.ts → deployments-DI-W7fBq.d.ts} +1105 -182
- package/dist/{groups-DPE004_V.d.ts → groups-9Jm3peq3.d.ts} +14 -7
- package/dist/index.d.ts +10 -11
- package/dist/index.js +9 -9
- package/dist/{integrations-CcD5NPEA.d.ts → integrations-CmIkP1Gi.d.ts} +48 -32
- package/dist/internal.d.ts +10 -10
- package/dist/internal.js +8 -8
- package/dist/{offers-CtzMeB7O.d.ts → offers-CqXfMIxq.d.ts} +7 -2
- package/dist/{pages-BlLqB8ZQ.d.ts → pages-Bti7g5mX.d.ts} +184 -10
- package/dist/{participant-activity-iciCEs_8.d.ts → participant-activity-DHL8QYks.d.ts} +4 -0
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +74 -74
- package/dist/react/index.js +10 -10
- package/dist/runtime/authoring.js +1 -1
- package/dist/runtime/chunks/ADUMK6CR.js +1 -0
- package/dist/runtime/chunks/EWU4OKSY.js +62 -0
- package/dist/runtime/manifest.json +5 -5
- package/dist/runtime/schema.js +1 -1
- package/dist/runtime/zod.js +1 -1
- package/dist/{schema-C4m9RhCR.d.ts → schema-CwbRkmlr.d.ts} +324 -35
- package/dist/schema.d.ts +854 -437
- package/dist/schema.js +103 -25
- package/dist/server/index.d.ts +10 -10
- package/dist/server/index.js +711 -81
- package/dist/{submission-input-wTiYGdgA.d.ts → submission-input-D9EGH_yb.d.ts} +2 -2
- package/dist/{telegram-browser-Bh3i0HiH.d.ts → telegram-browser-CTJh4Ro_.d.ts} +4 -4
- package/dist/testing.d.ts +89 -9
- package/dist/testing.js +218 -13
- package/dist/{transport-CnKA-_RL.d.ts → transport-B8Ss5lcz.d.ts} +9189 -2009
- package/dist/wallet-DZWL7lJH.d.ts +972 -0
- package/dist/{x-1czZFVUW.d.ts → x-KFJD2x8y.d.ts} +3 -3
- package/package.json +2 -2
- package/dist/profiles-BoOK03cR.d.ts +0 -299
- package/dist/runtime/chunks/IDOMZWRY.js +0 -40
- package/dist/runtime/chunks/NDB42VFF.js +0 -1
- package/dist/util.d-w9f9t3ua.d.ts +0 -5
- package/dist/wallet-Ac7OFpOr.d.ts +0 -228
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
+
import { af as SolanaIdlSource } from './wallet-DZWL7lJH.js';
|
|
2
3
|
|
|
3
4
|
declare const resourceKind: unique symbol;
|
|
4
5
|
/** A resource defined in code. The type-only marker never changes its serialized shape. */
|
|
@@ -338,6 +339,15 @@ type XContentMetric = (typeof xContentMetrics)[number];
|
|
|
338
339
|
declare const customContentSchema: z.ZodObject<{
|
|
339
340
|
metrics: z.ZodArray<z.ZodString>;
|
|
340
341
|
}, z.core.$strict>;
|
|
342
|
+
/**
|
|
343
|
+
* What a `wallet.balances()` source samples: a chain's CAIP-2 ID (Solana mainnet, an EVM chain or
|
|
344
|
+
* a Cosmos SDK chain) and the token as written in code (an SPL or Token-2022 mint, an ERC-20
|
|
345
|
+
* contract or a Cosmos bank denomination), null for a native coin.
|
|
346
|
+
*/
|
|
347
|
+
declare const walletBalanceSourceSchema: z.ZodObject<{
|
|
348
|
+
chain: z.ZodString;
|
|
349
|
+
token: z.ZodNullable<z.ZodString>;
|
|
350
|
+
}, z.core.$strict>;
|
|
341
351
|
declare const xSearchSourceSchema: z.ZodObject<{
|
|
342
352
|
kind: z.ZodLiteral<"x-search">;
|
|
343
353
|
query: z.ZodString;
|
|
@@ -356,6 +366,10 @@ declare const customSourceSchema: z.ZodObject<{
|
|
|
356
366
|
content: z.ZodOptional<z.ZodObject<{
|
|
357
367
|
metrics: z.ZodArray<z.ZodString>;
|
|
358
368
|
}, z.core.$strict>>;
|
|
369
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
370
|
+
chain: z.ZodString;
|
|
371
|
+
token: z.ZodNullable<z.ZodString>;
|
|
372
|
+
}, z.core.$strict>>;
|
|
359
373
|
}, z.core.$strict>;
|
|
360
374
|
declare const trackerSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
361
375
|
kind: z.ZodLiteral<"x-search">;
|
|
@@ -374,6 +388,10 @@ declare const trackerSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
374
388
|
content: z.ZodOptional<z.ZodObject<{
|
|
375
389
|
metrics: z.ZodArray<z.ZodString>;
|
|
376
390
|
}, z.core.$strict>>;
|
|
391
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
392
|
+
chain: z.ZodString;
|
|
393
|
+
token: z.ZodNullable<z.ZodString>;
|
|
394
|
+
}, z.core.$strict>>;
|
|
377
395
|
}, z.core.$strict>, z.ZodObject<{
|
|
378
396
|
kind: z.ZodLiteral<"discord-messages">;
|
|
379
397
|
text: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -448,6 +466,10 @@ declare const trackerDefinitionSchema: z.ZodObject<{
|
|
|
448
466
|
content: z.ZodOptional<z.ZodObject<{
|
|
449
467
|
metrics: z.ZodArray<z.ZodString>;
|
|
450
468
|
}, z.core.$strict>>;
|
|
469
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
470
|
+
chain: z.ZodString;
|
|
471
|
+
token: z.ZodNullable<z.ZodString>;
|
|
472
|
+
}, z.core.$strict>>;
|
|
451
473
|
}, z.core.$strict>, z.ZodObject<{
|
|
452
474
|
kind: z.ZodLiteral<"discord-messages">;
|
|
453
475
|
text: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -481,6 +503,10 @@ declare const trackerArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
481
503
|
content: z.ZodOptional<z.ZodObject<{
|
|
482
504
|
metrics: z.ZodArray<z.ZodString>;
|
|
483
505
|
}, z.core.$strict>>;
|
|
506
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
507
|
+
chain: z.ZodString;
|
|
508
|
+
token: z.ZodNullable<z.ZodString>;
|
|
509
|
+
}, z.core.$strict>>;
|
|
484
510
|
}, z.core.$strict>, z.ZodObject<{
|
|
485
511
|
kind: z.ZodLiteral<"discord-messages">;
|
|
486
512
|
text: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -530,6 +556,10 @@ declare const knownTrackerSourceResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
530
556
|
content: z.ZodOptional<z.ZodObject<{
|
|
531
557
|
metrics: z.ZodArray<z.ZodString>;
|
|
532
558
|
}, z.core.$strict>>;
|
|
559
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
560
|
+
chain: z.ZodString;
|
|
561
|
+
token: z.ZodNullable<z.ZodString>;
|
|
562
|
+
}, z.core.$strict>>;
|
|
533
563
|
}, z.core.$strip>, z.ZodObject<{
|
|
534
564
|
kind: z.ZodLiteral<"discord-messages">;
|
|
535
565
|
text: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -549,6 +579,10 @@ declare const trackerSourceResponseSchema: z.ZodUnion<readonly [z.ZodDiscriminat
|
|
|
549
579
|
content: z.ZodOptional<z.ZodObject<{
|
|
550
580
|
metrics: z.ZodArray<z.ZodString>;
|
|
551
581
|
}, z.core.$strict>>;
|
|
582
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
583
|
+
chain: z.ZodString;
|
|
584
|
+
token: z.ZodNullable<z.ZodString>;
|
|
585
|
+
}, z.core.$strict>>;
|
|
552
586
|
}, z.core.$strip>, z.ZodObject<{
|
|
553
587
|
kind: z.ZodLiteral<"discord-messages">;
|
|
554
588
|
text: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -574,6 +608,10 @@ declare const trackerDefinitionResponseSchema: z.ZodObject<{
|
|
|
574
608
|
content: z.ZodOptional<z.ZodObject<{
|
|
575
609
|
metrics: z.ZodArray<z.ZodString>;
|
|
576
610
|
}, z.core.$strict>>;
|
|
611
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
612
|
+
chain: z.ZodString;
|
|
613
|
+
token: z.ZodNullable<z.ZodString>;
|
|
614
|
+
}, z.core.$strict>>;
|
|
577
615
|
}, z.core.$strip>, z.ZodObject<{
|
|
578
616
|
kind: z.ZodLiteral<"discord-messages">;
|
|
579
617
|
text: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -608,6 +646,10 @@ declare const publishedTrackerSchema: z.ZodObject<{
|
|
|
608
646
|
content: z.ZodOptional<z.ZodObject<{
|
|
609
647
|
metrics: z.ZodArray<z.ZodString>;
|
|
610
648
|
}, z.core.$strict>>;
|
|
649
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
650
|
+
chain: z.ZodString;
|
|
651
|
+
token: z.ZodNullable<z.ZodString>;
|
|
652
|
+
}, z.core.$strict>>;
|
|
611
653
|
}, z.core.$strip>, z.ZodObject<{
|
|
612
654
|
kind: z.ZodLiteral<"discord-messages">;
|
|
613
655
|
text: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -646,6 +688,10 @@ declare const trackerStatusSchema: z.ZodObject<{
|
|
|
646
688
|
content: z.ZodOptional<z.ZodObject<{
|
|
647
689
|
metrics: z.ZodArray<z.ZodString>;
|
|
648
690
|
}, z.core.$strict>>;
|
|
691
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
692
|
+
chain: z.ZodString;
|
|
693
|
+
token: z.ZodNullable<z.ZodString>;
|
|
694
|
+
}, z.core.$strict>>;
|
|
649
695
|
}, z.core.$strip>, z.ZodObject<{
|
|
650
696
|
kind: z.ZodLiteral<"discord-messages">;
|
|
651
697
|
text: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -692,7 +738,45 @@ declare const trackerStatusSchema: z.ZodObject<{
|
|
|
692
738
|
}>>;
|
|
693
739
|
}, z.core.$strip>;
|
|
694
740
|
type TrackerStatus = z.infer<typeof trackerStatusSchema>;
|
|
695
|
-
/**
|
|
741
|
+
/**
|
|
742
|
+
* The sources a tracker created as data can have (`management.trackers.create`), by the management
|
|
743
|
+
* API's own names: an X search, the project's Discord messages (`text` stores each message's text)
|
|
744
|
+
* or reactions, messages or reactions in its connected Telegram chats, members' YouTube Shorts
|
|
745
|
+
* or TikTok videos, and daily samples of members' wallet balances of one token. Each is stored as
|
|
746
|
+
* the source its builder makes, such as `telegram.reactions()`, so quests read a data tracker
|
|
747
|
+
* exactly as the same tracker in code. Custom sources are code only.
|
|
748
|
+
*/
|
|
749
|
+
declare const managedTrackerSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
750
|
+
kind: z.ZodLiteral<"x-search">;
|
|
751
|
+
query: z.ZodString;
|
|
752
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
753
|
+
kind: z.ZodLiteral<"discord-messages">;
|
|
754
|
+
text: z.ZodOptional<z.ZodBoolean>;
|
|
755
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
756
|
+
kind: z.ZodLiteral<"discord-reactions">;
|
|
757
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
758
|
+
kind: z.ZodLiteral<"telegram-messages">;
|
|
759
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
760
|
+
kind: z.ZodLiteral<"telegram-reactions">;
|
|
761
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
762
|
+
kind: z.ZodLiteral<"youtube-shorts">;
|
|
763
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
764
|
+
kind: z.ZodLiteral<"tiktok-videos">;
|
|
765
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
766
|
+
chain: z.ZodString;
|
|
767
|
+
token: z.ZodNullable<z.ZodString>;
|
|
768
|
+
kind: z.ZodLiteral<"wallet-balances">;
|
|
769
|
+
}, z.core.$strict>], "kind">;
|
|
770
|
+
type ManagedTrackerSource = z.infer<typeof managedTrackerSourceSchema>;
|
|
771
|
+
type ManagedTrackerSourceKind = ManagedTrackerSource["kind"];
|
|
772
|
+
/** Every source kind a tracker created as data can have, in the order Console offers them. */
|
|
773
|
+
declare const managedTrackerSourceKinds: readonly ["x-search", "discord-messages", "discord-reactions", "telegram-messages", "telegram-reactions", "youtube-shorts", "tiktok-videos", "wallet-balances"];
|
|
774
|
+
/**
|
|
775
|
+
* A published source as `management.trackers.create` names it, or undefined for one it cannot
|
|
776
|
+
* create, such as your own custom source. Discord messages always say whether text is stored.
|
|
777
|
+
*/
|
|
778
|
+
declare function managedTrackerSource(source: TrackerSourceResponse): ManagedTrackerSource | undefined;
|
|
779
|
+
/** The parts of a tracker created as data that `management.trackers.update` can change. */
|
|
696
780
|
declare const trackerPropertiesSchema: z.ZodObject<{
|
|
697
781
|
title: z.ZodString;
|
|
698
782
|
query: z.ZodString;
|
|
@@ -706,6 +790,7 @@ declare const trackerPropertiesSchema: z.ZodObject<{
|
|
|
706
790
|
/**
|
|
707
791
|
* An X search tracker created as data in test (`management.trackers.create`). Its key is its
|
|
708
792
|
* authoring key, which a promotion carries to live; validation matches `defineTracker`.
|
|
793
|
+
* `managedTrackerCreateSchema` also takes the other managed sources.
|
|
709
794
|
*/
|
|
710
795
|
declare const trackerCreateSchema: z.ZodObject<{
|
|
711
796
|
title: z.ZodString;
|
|
@@ -720,7 +805,50 @@ declare const trackerCreateSchema: z.ZodObject<{
|
|
|
720
805
|
actionId: z.ZodString;
|
|
721
806
|
}, z.core.$strict>;
|
|
722
807
|
type TrackerCreateInput = z.input<typeof trackerCreateSchema>;
|
|
723
|
-
/**
|
|
808
|
+
/**
|
|
809
|
+
* A tracker of any managed source created as data in test (`management.trackers.create`). Name the
|
|
810
|
+
* source with `source`, or an X search with `query` alone, which is short for
|
|
811
|
+
* `source: { kind: "x-search", query }` and is all `trackerCreateSchema` takes.
|
|
812
|
+
*/
|
|
813
|
+
declare const managedTrackerCreateSchema: z.ZodObject<{
|
|
814
|
+
title: z.ZodString;
|
|
815
|
+
window: z.ZodObject<{
|
|
816
|
+
start: z.ZodNumber;
|
|
817
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
818
|
+
}, z.core.$strict>;
|
|
819
|
+
key: z.ZodString;
|
|
820
|
+
refreshSeconds: z.ZodDefault<z.ZodNumber>;
|
|
821
|
+
maxPages: z.ZodDefault<z.ZodNumber>;
|
|
822
|
+
actionId: z.ZodString;
|
|
823
|
+
query: z.ZodOptional<z.ZodString>;
|
|
824
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
825
|
+
kind: z.ZodLiteral<"x-search">;
|
|
826
|
+
query: z.ZodString;
|
|
827
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
828
|
+
kind: z.ZodLiteral<"discord-messages">;
|
|
829
|
+
text: z.ZodOptional<z.ZodBoolean>;
|
|
830
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
831
|
+
kind: z.ZodLiteral<"discord-reactions">;
|
|
832
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
833
|
+
kind: z.ZodLiteral<"telegram-messages">;
|
|
834
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
835
|
+
kind: z.ZodLiteral<"telegram-reactions">;
|
|
836
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
837
|
+
kind: z.ZodLiteral<"youtube-shorts">;
|
|
838
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
839
|
+
kind: z.ZodLiteral<"tiktok-videos">;
|
|
840
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
841
|
+
chain: z.ZodString;
|
|
842
|
+
token: z.ZodNullable<z.ZodString>;
|
|
843
|
+
kind: z.ZodLiteral<"wallet-balances">;
|
|
844
|
+
}, z.core.$strict>], "kind">>;
|
|
845
|
+
}, z.core.$strict>;
|
|
846
|
+
type ManagedTrackerCreateInput = z.input<typeof managedTrackerCreateSchema>;
|
|
847
|
+
/**
|
|
848
|
+
* Changes to a tracker created as data. Fields left out keep their value; the key and the source's
|
|
849
|
+
* kind never change. `source` changes the source's own settings, such as an X query or whether
|
|
850
|
+
* Discord message text is stored, and `query` is short for an X search's `source`.
|
|
851
|
+
*/
|
|
724
852
|
declare const trackerUpdateSchema: z.ZodObject<{
|
|
725
853
|
title: z.ZodOptional<z.ZodString>;
|
|
726
854
|
query: z.ZodOptional<z.ZodString>;
|
|
@@ -730,9 +858,31 @@ declare const trackerUpdateSchema: z.ZodObject<{
|
|
|
730
858
|
}, z.core.$strict>>;
|
|
731
859
|
refreshSeconds: z.ZodOptional<z.ZodNumber>;
|
|
732
860
|
maxPages: z.ZodOptional<z.ZodNumber>;
|
|
861
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
862
|
+
kind: z.ZodLiteral<"x-search">;
|
|
863
|
+
query: z.ZodString;
|
|
864
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
865
|
+
kind: z.ZodLiteral<"discord-messages">;
|
|
866
|
+
text: z.ZodOptional<z.ZodBoolean>;
|
|
867
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
868
|
+
kind: z.ZodLiteral<"discord-reactions">;
|
|
869
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
870
|
+
kind: z.ZodLiteral<"telegram-messages">;
|
|
871
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
872
|
+
kind: z.ZodLiteral<"telegram-reactions">;
|
|
873
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
874
|
+
kind: z.ZodLiteral<"youtube-shorts">;
|
|
875
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
876
|
+
kind: z.ZodLiteral<"tiktok-videos">;
|
|
877
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
878
|
+
chain: z.ZodString;
|
|
879
|
+
token: z.ZodNullable<z.ZodString>;
|
|
880
|
+
kind: z.ZodLiteral<"wallet-balances">;
|
|
881
|
+
}, z.core.$strict>], "kind">>;
|
|
733
882
|
actionId: z.ZodString;
|
|
734
883
|
}, z.core.$strict>;
|
|
735
884
|
type TrackerUpdateInput = z.input<typeof trackerUpdateSchema>;
|
|
885
|
+
/** Pauses, resumes or refreshes a tracker, with an optional reason for the audit log. */
|
|
736
886
|
declare const trackerControlSchema: z.ZodObject<{
|
|
737
887
|
actionId: z.ZodString;
|
|
738
888
|
action: z.ZodEnum<{
|
|
@@ -740,6 +890,7 @@ declare const trackerControlSchema: z.ZodObject<{
|
|
|
740
890
|
resume: "resume";
|
|
741
891
|
refresh: "refresh";
|
|
742
892
|
}>;
|
|
893
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
743
894
|
}, z.core.$strict>;
|
|
744
895
|
/**
|
|
745
896
|
* An account a record names, of one of its custom source's identity kinds. `kind` may be left out
|
|
@@ -914,7 +1065,6 @@ type TrackerOutcome = z.infer<typeof trackerOutcomeSchema>;
|
|
|
914
1065
|
/** Which of a tracker's trigger outcomes to read: filters, and a page's `nextCursor` as `cursor`. */
|
|
915
1066
|
declare const trackerTriggerOutcomeQuerySchema: z.ZodObject<{
|
|
916
1067
|
cursor: z.ZodOptional<z.ZodString>;
|
|
917
|
-
/** Quest key or ID. */
|
|
918
1068
|
quest: z.ZodOptional<z.ZodString>;
|
|
919
1069
|
record: z.ZodOptional<z.ZodString>;
|
|
920
1070
|
member: z.ZodOptional<z.ZodString>;
|
|
@@ -922,7 +1072,6 @@ declare const trackerTriggerOutcomeQuerySchema: z.ZodObject<{
|
|
|
922
1072
|
admitted: "admitted";
|
|
923
1073
|
skipped: "skipped";
|
|
924
1074
|
}>>;
|
|
925
|
-
/** Only skips with this code, such as `unlinked-account`. */
|
|
926
1075
|
code: z.ZodOptional<z.ZodString>;
|
|
927
1076
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
928
1077
|
}, z.core.$strict>;
|
|
@@ -970,9 +1119,7 @@ declare const trackerTriggerOutcomePageSchema: z.ZodObject<{
|
|
|
970
1119
|
type TrackerTriggerOutcomePage = z.infer<typeof trackerTriggerOutcomePageSchema>;
|
|
971
1120
|
/** @deprecated Use `trackerTriggerOutcomeQuerySchema`. Removed in 2.0.0. */
|
|
972
1121
|
declare const trackerOutcomeQuerySchema: z.ZodObject<{
|
|
973
|
-
/** Opaque cursor from `next`: older outcomes. */
|
|
974
1122
|
before: z.ZodOptional<z.ZodString>;
|
|
975
|
-
/** Quest key or ID. */
|
|
976
1123
|
quest: z.ZodOptional<z.ZodString>;
|
|
977
1124
|
record: z.ZodOptional<z.ZodString>;
|
|
978
1125
|
member: z.ZodOptional<z.ZodString>;
|
|
@@ -980,7 +1127,6 @@ declare const trackerOutcomeQuerySchema: z.ZodObject<{
|
|
|
980
1127
|
admitted: "admitted";
|
|
981
1128
|
skipped: "skipped";
|
|
982
1129
|
}>>;
|
|
983
|
-
/** Only skips with this code, such as `unlinked-account`. */
|
|
984
1130
|
code: z.ZodOptional<z.ZodString>;
|
|
985
1131
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
986
1132
|
}, z.core.$strict>;
|
|
@@ -988,7 +1134,6 @@ declare const trackerOutcomeQuerySchema: z.ZodObject<{
|
|
|
988
1134
|
type TrackerOutcomeQuery = z.input<typeof trackerOutcomeQuerySchema>;
|
|
989
1135
|
/** @deprecated Use `trackerTriggerOutcomePageSchema`. Removed in 2.0.0. */
|
|
990
1136
|
declare const trackerOutcomePageSchema: z.ZodObject<{
|
|
991
|
-
/** Newest first. */
|
|
992
1137
|
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
993
1138
|
state: z.ZodLiteral<"admitted">;
|
|
994
1139
|
code: z.ZodNull;
|
|
@@ -1029,7 +1174,6 @@ declare const trackerOutcomePageSchema: z.ZodObject<{
|
|
|
1029
1174
|
/** Re-runs admission for one skipped observation under the quest's current release and links. */
|
|
1030
1175
|
declare const trackerOutcomeRetrySchema: z.ZodObject<{
|
|
1031
1176
|
actionId: z.ZodString;
|
|
1032
|
-
/** Quest key or ID. */
|
|
1033
1177
|
quest: z.ZodString;
|
|
1034
1178
|
record: z.ZodString;
|
|
1035
1179
|
observedAt: z.ZodNumber;
|
|
@@ -1102,6 +1246,10 @@ declare const trackerPageSchema: z.ZodObject<{
|
|
|
1102
1246
|
content: z.ZodOptional<z.ZodObject<{
|
|
1103
1247
|
metrics: z.ZodArray<z.ZodString>;
|
|
1104
1248
|
}, z.core.$strict>>;
|
|
1249
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
1250
|
+
chain: z.ZodString;
|
|
1251
|
+
token: z.ZodNullable<z.ZodString>;
|
|
1252
|
+
}, z.core.$strict>>;
|
|
1105
1253
|
}, z.core.$strip>, z.ZodObject<{
|
|
1106
1254
|
kind: z.ZodLiteral<"discord-messages">;
|
|
1107
1255
|
text: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1178,6 +1326,10 @@ declare const trackerSummarySchema: z.ZodObject<{
|
|
|
1178
1326
|
content: z.ZodOptional<z.ZodObject<{
|
|
1179
1327
|
metrics: z.ZodArray<z.ZodString>;
|
|
1180
1328
|
}, z.core.$strict>>;
|
|
1329
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
1330
|
+
chain: z.ZodString;
|
|
1331
|
+
token: z.ZodNullable<z.ZodString>;
|
|
1332
|
+
}, z.core.$strict>>;
|
|
1181
1333
|
}, z.core.$strip>, z.ZodObject<{
|
|
1182
1334
|
kind: z.ZodLiteral<"discord-messages">;
|
|
1183
1335
|
text: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1504,14 +1656,8 @@ type TriggerHistorical = z.infer<typeof triggerHistoricalSchema>;
|
|
|
1504
1656
|
* Authoring materializes the firing mode so the stored policy is unambiguous.
|
|
1505
1657
|
*/
|
|
1506
1658
|
declare const trackerTriggerPolicySchema: z.ZodObject<{
|
|
1507
|
-
/** The tracker's authoring key; publication binds it to the tracker's stable ID. */
|
|
1508
1659
|
tracker: z.ZodString;
|
|
1509
|
-
/**
|
|
1510
|
-
* The tracker's source kind, one of `trackerSourceKinds` today. An open string, so readers of
|
|
1511
|
-
* releases keep parsing them when a later Relay adds a managed source.
|
|
1512
|
-
*/
|
|
1513
1660
|
source: z.ZodString;
|
|
1514
|
-
/** Which observations fire. */
|
|
1515
1661
|
on: z.ZodEnum<{
|
|
1516
1662
|
"new-record": "new-record";
|
|
1517
1663
|
"new-observation": "new-observation";
|
|
@@ -1552,34 +1698,21 @@ declare const trackerTriggerPolicySchema: z.ZodObject<{
|
|
|
1552
1698
|
setting: z.ZodString;
|
|
1553
1699
|
}, z.core.$strict>]>>;
|
|
1554
1700
|
}, z.core.$strict>]>>]>>;
|
|
1555
|
-
/**
|
|
1556
|
-
* The record account the quest pays: `author`, `inReplyTo` for an X post, `messageAuthor` for a
|
|
1557
|
-
* Discord reaction, or a named account of a custom record. Relay attributes it through
|
|
1558
|
-
* verified links; evaluators cannot redirect it.
|
|
1559
|
-
*/
|
|
1560
1701
|
beneficiary: z.ZodString;
|
|
1561
|
-
/** Absent means `"none"`. */
|
|
1562
1702
|
enrollment: z.ZodOptional<z.ZodEnum<{
|
|
1563
1703
|
none: "none";
|
|
1564
1704
|
required: "required";
|
|
1565
1705
|
}>>;
|
|
1566
|
-
/** Absent means `"activation"`. */
|
|
1567
1706
|
since: z.ZodOptional<z.ZodEnum<{
|
|
1568
1707
|
window: "window";
|
|
1569
1708
|
activation: "activation";
|
|
1570
1709
|
enrollment: "enrollment";
|
|
1571
1710
|
}>>;
|
|
1572
|
-
/** Absent means `"staff"`, or `"claim"` on a content quest. */
|
|
1573
1711
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
1574
1712
|
staff: "staff";
|
|
1575
1713
|
claim: "claim";
|
|
1576
1714
|
automatic: "automatic";
|
|
1577
1715
|
}>>;
|
|
1578
|
-
/**
|
|
1579
|
-
* A content quest (`content({ tracker })`): one completion per content item, a content stage
|
|
1580
|
-
* that re-evaluates edits and runs `performance`, firing on each new record and paying its
|
|
1581
|
-
* author.
|
|
1582
|
-
*/
|
|
1583
1716
|
content: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1584
1717
|
}, z.core.$strict>;
|
|
1585
1718
|
type TrackerTriggerPolicy = z.infer<typeof trackerTriggerPolicySchema>;
|
|
@@ -2264,7 +2397,6 @@ declare const decisionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2264
2397
|
kind: z.ZodLiteral<"defer">;
|
|
2265
2398
|
reason: z.ZodString;
|
|
2266
2399
|
retryAfterMs: z.ZodOptional<z.ZodNumber>;
|
|
2267
|
-
/** Absolute Unix milliseconds; the platform can only shorten its existing deadline. */
|
|
2268
2400
|
until: z.ZodOptional<z.ZodNumber>;
|
|
2269
2401
|
}, z.core.$strict>, z.ZodObject<{
|
|
2270
2402
|
current: z.ZodNumber;
|
|
@@ -2597,6 +2729,7 @@ declare const questDescriptionSchema: z.ZodObject<{
|
|
|
2597
2729
|
text: "text";
|
|
2598
2730
|
announcement: "announcement";
|
|
2599
2731
|
}>>;
|
|
2732
|
+
postable: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2600
2733
|
}, z.core.$strict>, z.ZodObject<{
|
|
2601
2734
|
provider: z.ZodLiteral<"discord">;
|
|
2602
2735
|
resource: z.ZodLiteral<"role">;
|
|
@@ -2686,6 +2819,19 @@ declare const questDescriptionSchema: z.ZodObject<{
|
|
|
2686
2819
|
action: z.ZodLiteral<"grant-role">;
|
|
2687
2820
|
roleId: z.ZodString;
|
|
2688
2821
|
}, z.core.$strict>]>>;
|
|
2822
|
+
announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2823
|
+
action: z.ZodLiteral<"post-message">;
|
|
2824
|
+
text: z.ZodString;
|
|
2825
|
+
replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
|
|
2826
|
+
provider: z.ZodLiteral<"telegram">;
|
|
2827
|
+
chat: z.ZodString;
|
|
2828
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2829
|
+
action: z.ZodLiteral<"post-message">;
|
|
2830
|
+
text: z.ZodString;
|
|
2831
|
+
replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
|
|
2832
|
+
provider: z.ZodLiteral<"discord">;
|
|
2833
|
+
channel: z.ZodString;
|
|
2834
|
+
}, z.core.$strict>], "provider">>>;
|
|
2689
2835
|
humanReview: z.ZodBoolean;
|
|
2690
2836
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2691
2837
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2826,7 +2972,7 @@ declare const questDescriptionSchema: z.ZodObject<{
|
|
|
2826
2972
|
from: z.ZodNumber;
|
|
2827
2973
|
until: z.ZodNumber;
|
|
2828
2974
|
}, z.core.$strict>>;
|
|
2829
|
-
completion: z.
|
|
2975
|
+
completion: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2830
2976
|
kind: z.ZodLiteral<"streak">;
|
|
2831
2977
|
days: z.ZodNumber;
|
|
2832
2978
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2857,7 +3003,7 @@ declare const questDescriptionSchema: z.ZodObject<{
|
|
|
2857
3003
|
kind: z.ZodLiteral<"once">;
|
|
2858
3004
|
}, z.core.$strict>, z.ZodObject<{
|
|
2859
3005
|
kind: z.ZodLiteral<"keyed">;
|
|
2860
|
-
}, z.core.$strict>], "kind"
|
|
3006
|
+
}, z.core.$strict>], "kind">, unknown>;
|
|
2861
3007
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
2862
3008
|
visible: "visible";
|
|
2863
3009
|
hidden: "hidden";
|
|
@@ -2882,6 +3028,20 @@ declare const questDescriptionSchema: z.ZodObject<{
|
|
|
2882
3028
|
balance: z.ZodString;
|
|
2883
3029
|
}, z.core.$strict>]>;
|
|
2884
3030
|
}, z.core.$strict>>>;
|
|
3031
|
+
authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3032
|
+
id: z.ZodString;
|
|
3033
|
+
period: z.ZodEnum<{
|
|
3034
|
+
lifetime: "lifetime";
|
|
3035
|
+
day: "day";
|
|
3036
|
+
week: "week";
|
|
3037
|
+
month: "month";
|
|
3038
|
+
}>;
|
|
3039
|
+
limit: z.ZodNumber;
|
|
3040
|
+
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3041
|
+
balance: z.ZodString;
|
|
3042
|
+
}, z.core.$strict>]>;
|
|
3043
|
+
scope: z.ZodLiteral<"author">;
|
|
3044
|
+
}, z.core.$strict>>>;
|
|
2885
3045
|
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
2886
3046
|
completionCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
2887
3047
|
}, z.core.$strict>;
|
|
@@ -2976,6 +3136,7 @@ declare const questSettingsInputSchema: z.ZodObject<{
|
|
|
2976
3136
|
}>>;
|
|
2977
3137
|
}, z.core.$strict>], "kind">>>;
|
|
2978
3138
|
}, z.core.$strict>>>;
|
|
3139
|
+
solanaIdls: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>>;
|
|
2979
3140
|
}, z.core.$strict>;
|
|
2980
3141
|
type QuestSettingsInput = z.infer<typeof questSettingsInputSchema>;
|
|
2981
3142
|
/**
|
|
@@ -3060,6 +3221,7 @@ declare const storedQuestDescriptionSchema: z.ZodObject<{
|
|
|
3060
3221
|
text: "text";
|
|
3061
3222
|
announcement: "announcement";
|
|
3062
3223
|
}>>;
|
|
3224
|
+
postable: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3063
3225
|
}, z.core.$strict>, z.ZodObject<{
|
|
3064
3226
|
provider: z.ZodLiteral<"discord">;
|
|
3065
3227
|
resource: z.ZodLiteral<"role">;
|
|
@@ -3149,6 +3311,19 @@ declare const storedQuestDescriptionSchema: z.ZodObject<{
|
|
|
3149
3311
|
action: z.ZodLiteral<"grant-role">;
|
|
3150
3312
|
roleId: z.ZodString;
|
|
3151
3313
|
}, z.core.$strict>]>>;
|
|
3314
|
+
announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3315
|
+
action: z.ZodLiteral<"post-message">;
|
|
3316
|
+
text: z.ZodString;
|
|
3317
|
+
replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
|
|
3318
|
+
provider: z.ZodLiteral<"telegram">;
|
|
3319
|
+
chat: z.ZodString;
|
|
3320
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3321
|
+
action: z.ZodLiteral<"post-message">;
|
|
3322
|
+
text: z.ZodString;
|
|
3323
|
+
replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
|
|
3324
|
+
provider: z.ZodLiteral<"discord">;
|
|
3325
|
+
channel: z.ZodString;
|
|
3326
|
+
}, z.core.$strict>], "provider">>>;
|
|
3152
3327
|
humanReview: z.ZodBoolean;
|
|
3153
3328
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
3154
3329
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -3313,6 +3488,20 @@ declare const storedQuestDescriptionSchema: z.ZodObject<{
|
|
|
3313
3488
|
balance: z.ZodString;
|
|
3314
3489
|
}, z.core.$strict>]>;
|
|
3315
3490
|
}, z.core.$strict>>>;
|
|
3491
|
+
authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3492
|
+
id: z.ZodString;
|
|
3493
|
+
period: z.ZodEnum<{
|
|
3494
|
+
lifetime: "lifetime";
|
|
3495
|
+
day: "day";
|
|
3496
|
+
week: "week";
|
|
3497
|
+
month: "month";
|
|
3498
|
+
}>;
|
|
3499
|
+
limit: z.ZodNumber;
|
|
3500
|
+
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3501
|
+
balance: z.ZodString;
|
|
3502
|
+
}, z.core.$strict>]>;
|
|
3503
|
+
scope: z.ZodLiteral<"author">;
|
|
3504
|
+
}, z.core.$strict>>>;
|
|
3316
3505
|
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
3317
3506
|
completionCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
3318
3507
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3426,6 +3615,7 @@ declare const publishedReleaseSchema: z.ZodObject<{
|
|
|
3426
3615
|
text: "text";
|
|
3427
3616
|
announcement: "announcement";
|
|
3428
3617
|
}>>;
|
|
3618
|
+
postable: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3429
3619
|
}, z.core.$strict>, z.ZodObject<{
|
|
3430
3620
|
provider: z.ZodLiteral<"discord">;
|
|
3431
3621
|
resource: z.ZodLiteral<"role">;
|
|
@@ -3515,6 +3705,19 @@ declare const publishedReleaseSchema: z.ZodObject<{
|
|
|
3515
3705
|
action: z.ZodLiteral<"grant-role">;
|
|
3516
3706
|
roleId: z.ZodString;
|
|
3517
3707
|
}, z.core.$strict>]>>;
|
|
3708
|
+
announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3709
|
+
action: z.ZodLiteral<"post-message">;
|
|
3710
|
+
text: z.ZodString;
|
|
3711
|
+
replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
|
|
3712
|
+
provider: z.ZodLiteral<"telegram">;
|
|
3713
|
+
chat: z.ZodString;
|
|
3714
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3715
|
+
action: z.ZodLiteral<"post-message">;
|
|
3716
|
+
text: z.ZodString;
|
|
3717
|
+
replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
|
|
3718
|
+
provider: z.ZodLiteral<"discord">;
|
|
3719
|
+
channel: z.ZodString;
|
|
3720
|
+
}, z.core.$strict>], "provider">>>;
|
|
3518
3721
|
humanReview: z.ZodBoolean;
|
|
3519
3722
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
3520
3723
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -3679,6 +3882,20 @@ declare const publishedReleaseSchema: z.ZodObject<{
|
|
|
3679
3882
|
balance: z.ZodString;
|
|
3680
3883
|
}, z.core.$strict>]>;
|
|
3681
3884
|
}, z.core.$strict>>>;
|
|
3885
|
+
authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3886
|
+
id: z.ZodString;
|
|
3887
|
+
period: z.ZodEnum<{
|
|
3888
|
+
lifetime: "lifetime";
|
|
3889
|
+
day: "day";
|
|
3890
|
+
week: "week";
|
|
3891
|
+
month: "month";
|
|
3892
|
+
}>;
|
|
3893
|
+
limit: z.ZodNumber;
|
|
3894
|
+
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3895
|
+
balance: z.ZodString;
|
|
3896
|
+
}, z.core.$strict>]>;
|
|
3897
|
+
scope: z.ZodLiteral<"author">;
|
|
3898
|
+
}, z.core.$strict>>>;
|
|
3682
3899
|
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
3683
3900
|
completionCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
3684
3901
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3815,6 +4032,11 @@ declare const publishedReleaseSchema: z.ZodObject<{
|
|
|
3815
4032
|
}, z.core.$strict>], "kind">>>;
|
|
3816
4033
|
}, z.core.$strict>>;
|
|
3817
4034
|
}, z.core.$strict>>;
|
|
4035
|
+
solanaIdls: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4036
|
+
program: z.ZodString;
|
|
4037
|
+
source: z.ZodType<SolanaIdlSource>;
|
|
4038
|
+
idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
4039
|
+
}, z.core.$strict>>>;
|
|
3818
4040
|
}, z.core.$strict>;
|
|
3819
4041
|
type PublishedRelease = z.infer<typeof publishedReleaseSchema>;
|
|
3820
4042
|
declare const templateSchema: z.ZodObject<{
|
|
@@ -3897,6 +4119,7 @@ declare const templateSchema: z.ZodObject<{
|
|
|
3897
4119
|
text: "text";
|
|
3898
4120
|
announcement: "announcement";
|
|
3899
4121
|
}>>;
|
|
4122
|
+
postable: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3900
4123
|
}, z.core.$strict>, z.ZodObject<{
|
|
3901
4124
|
provider: z.ZodLiteral<"discord">;
|
|
3902
4125
|
resource: z.ZodLiteral<"role">;
|
|
@@ -3986,6 +4209,19 @@ declare const templateSchema: z.ZodObject<{
|
|
|
3986
4209
|
action: z.ZodLiteral<"grant-role">;
|
|
3987
4210
|
roleId: z.ZodString;
|
|
3988
4211
|
}, z.core.$strict>]>>;
|
|
4212
|
+
announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4213
|
+
action: z.ZodLiteral<"post-message">;
|
|
4214
|
+
text: z.ZodString;
|
|
4215
|
+
replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
|
|
4216
|
+
provider: z.ZodLiteral<"telegram">;
|
|
4217
|
+
chat: z.ZodString;
|
|
4218
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4219
|
+
action: z.ZodLiteral<"post-message">;
|
|
4220
|
+
text: z.ZodString;
|
|
4221
|
+
replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
|
|
4222
|
+
provider: z.ZodLiteral<"discord">;
|
|
4223
|
+
channel: z.ZodString;
|
|
4224
|
+
}, z.core.$strict>], "provider">>>;
|
|
3989
4225
|
humanReview: z.ZodBoolean;
|
|
3990
4226
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
3991
4227
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -4126,7 +4362,7 @@ declare const templateSchema: z.ZodObject<{
|
|
|
4126
4362
|
from: z.ZodNumber;
|
|
4127
4363
|
until: z.ZodNumber;
|
|
4128
4364
|
}, z.core.$strict>>;
|
|
4129
|
-
completion: z.
|
|
4365
|
+
completion: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4130
4366
|
kind: z.ZodLiteral<"streak">;
|
|
4131
4367
|
days: z.ZodNumber;
|
|
4132
4368
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4157,7 +4393,7 @@ declare const templateSchema: z.ZodObject<{
|
|
|
4157
4393
|
kind: z.ZodLiteral<"once">;
|
|
4158
4394
|
}, z.core.$strict>, z.ZodObject<{
|
|
4159
4395
|
kind: z.ZodLiteral<"keyed">;
|
|
4160
|
-
}, z.core.$strict>], "kind"
|
|
4396
|
+
}, z.core.$strict>], "kind">, unknown>;
|
|
4161
4397
|
visibility: z.ZodDefault<z.ZodEnum<{
|
|
4162
4398
|
visible: "visible";
|
|
4163
4399
|
hidden: "hidden";
|
|
@@ -4182,6 +4418,20 @@ declare const templateSchema: z.ZodObject<{
|
|
|
4182
4418
|
balance: z.ZodString;
|
|
4183
4419
|
}, z.core.$strict>]>;
|
|
4184
4420
|
}, z.core.$strict>>>;
|
|
4421
|
+
authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4422
|
+
id: z.ZodString;
|
|
4423
|
+
period: z.ZodEnum<{
|
|
4424
|
+
lifetime: "lifetime";
|
|
4425
|
+
day: "day";
|
|
4426
|
+
week: "week";
|
|
4427
|
+
month: "month";
|
|
4428
|
+
}>;
|
|
4429
|
+
limit: z.ZodNumber;
|
|
4430
|
+
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
4431
|
+
balance: z.ZodString;
|
|
4432
|
+
}, z.core.$strict>]>;
|
|
4433
|
+
scope: z.ZodLiteral<"author">;
|
|
4434
|
+
}, z.core.$strict>>>;
|
|
4185
4435
|
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
4186
4436
|
completionCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
4187
4437
|
}, z.core.$strict>;
|
|
@@ -4899,7 +5149,8 @@ declare const confirmHandoverSchema: z.ZodObject<{
|
|
|
4899
5149
|
}, z.core.$strict>;
|
|
4900
5150
|
/**
|
|
4901
5151
|
* An operator correction of an entitlement, at the `revision` the operator saw, with an audited
|
|
4902
|
-
* reason: cancelling a handover, voiding an available entitlement,
|
|
5152
|
+
* reason: cancelling a handover, voiding an available entitlement, restoring a voided one, or
|
|
5153
|
+
* correcting a collection.
|
|
4903
5154
|
*/
|
|
4904
5155
|
declare const entitlementCorrectionSchema: z.ZodObject<{
|
|
4905
5156
|
actionId: z.ZodString;
|
|
@@ -5743,6 +5994,7 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
5743
5994
|
text: "text";
|
|
5744
5995
|
announcement: "announcement";
|
|
5745
5996
|
}>>;
|
|
5997
|
+
postable: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5746
5998
|
}, z.core.$strict>, z.ZodObject<{
|
|
5747
5999
|
provider: z.ZodLiteral<"discord">;
|
|
5748
6000
|
resource: z.ZodLiteral<"role">;
|
|
@@ -5832,6 +6084,19 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
5832
6084
|
action: z.ZodLiteral<"grant-role">;
|
|
5833
6085
|
roleId: z.ZodString;
|
|
5834
6086
|
}, z.core.$strict>]>>;
|
|
6087
|
+
announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6088
|
+
action: z.ZodLiteral<"post-message">;
|
|
6089
|
+
text: z.ZodString;
|
|
6090
|
+
replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
|
|
6091
|
+
provider: z.ZodLiteral<"telegram">;
|
|
6092
|
+
chat: z.ZodString;
|
|
6093
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6094
|
+
action: z.ZodLiteral<"post-message">;
|
|
6095
|
+
text: z.ZodString;
|
|
6096
|
+
replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
|
|
6097
|
+
provider: z.ZodLiteral<"discord">;
|
|
6098
|
+
channel: z.ZodString;
|
|
6099
|
+
}, z.core.$strict>], "provider">>>;
|
|
5835
6100
|
humanReview: z.ZodBoolean;
|
|
5836
6101
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
5837
6102
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -5996,6 +6261,20 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
5996
6261
|
balance: z.ZodString;
|
|
5997
6262
|
}, z.core.$strict>]>;
|
|
5998
6263
|
}, z.core.$strict>>>;
|
|
6264
|
+
authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6265
|
+
id: z.ZodString;
|
|
6266
|
+
period: z.ZodEnum<{
|
|
6267
|
+
lifetime: "lifetime";
|
|
6268
|
+
day: "day";
|
|
6269
|
+
week: "week";
|
|
6270
|
+
month: "month";
|
|
6271
|
+
}>;
|
|
6272
|
+
limit: z.ZodNumber;
|
|
6273
|
+
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
6274
|
+
balance: z.ZodString;
|
|
6275
|
+
}, z.core.$strict>]>;
|
|
6276
|
+
scope: z.ZodLiteral<"author">;
|
|
6277
|
+
}, z.core.$strict>>>;
|
|
5999
6278
|
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
6000
6279
|
completionCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
6001
6280
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -6132,6 +6411,11 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
6132
6411
|
}, z.core.$strict>], "kind">>>;
|
|
6133
6412
|
}, z.core.$strict>>;
|
|
6134
6413
|
}, z.core.$strict>>;
|
|
6414
|
+
solanaIdls: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6415
|
+
program: z.ZodString;
|
|
6416
|
+
source: z.ZodType<SolanaIdlSource>;
|
|
6417
|
+
idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
6418
|
+
}, z.core.$strict>>>;
|
|
6135
6419
|
}, z.core.$strict>>;
|
|
6136
6420
|
completions: z.ZodArray<z.ZodObject<{
|
|
6137
6421
|
key: z.ZodDefault<z.ZodString>;
|
|
@@ -6464,6 +6748,11 @@ declare const staffDecisionSchema: z.ZodObject<{
|
|
|
6464
6748
|
}>;
|
|
6465
6749
|
reason: z.ZodString;
|
|
6466
6750
|
}, z.core.$strict>;
|
|
6751
|
+
/** Staff accept a rejected attempt anyway, with a reason (`attempts.acceptAnyway`). */
|
|
6752
|
+
declare const acceptAnywaySchema: z.ZodObject<{
|
|
6753
|
+
actionId: z.ZodString;
|
|
6754
|
+
reason: z.ZodString;
|
|
6755
|
+
}, z.core.$strict>;
|
|
6467
6756
|
declare const stockSchema: z.ZodObject<{
|
|
6468
6757
|
item: z.ZodString;
|
|
6469
6758
|
quantity: z.ZodNumber;
|
|
@@ -6763,4 +7052,4 @@ declare const contentPerformancePageSchema: z.ZodObject<{
|
|
|
6763
7052
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
6764
7053
|
}, z.core.$strict>;
|
|
6765
7054
|
|
|
6766
|
-
export { type
|
|
7055
|
+
export { type XTweet as $, type Attempt as A, xContentBodySchema as B, customSourceSchema as C, type WithContent as D, type Entitlement as E, type WithAccountRoles as F, type GroupHandle as G, pointLedgerDeclarationSchema as H, type IdentityKind as I, type TrackerSource as J, type KnownAttemptStatus as K, type LedgerReference as L, type MemberProgress as M, trackerDefinitionSchema as N, type OpenIdentityKind as O, type PointBalance as P, type QuestBudgetView as Q, type Reward as R, type SubmissionEvidence as S, type TieredRewardReference as T, type Tracker as U, type TrackerData as V, type WithRecordData as W, type SourceRoles as X, type LedgerHandle as Y, type TrackerDataSchema as Z, xSearchSourceSchema as _, AttemptStatus as a, type QuestSubmission as a$, type XContentMetric as a0, type TrackerTriggerPolicy as a1, type Where as a2, type MemberIdentity as a3, type ReferralHandle as a4, type TrackerTriggerContext as a5, type TrackerReader as a6, type TextReviewInput as a7, type TextResult as a8, type Decision as a9, type AccountRole as aA, type AppIdentityKind as aB, type Bound as aC, type CompletionSource as aD, CompletionSourceKind as aE, type Condition as aF, type ContentPerformanceSnapshot as aG, type DataLeaves as aH, type EntitlementCorrection as aI, type EntitlementState as aJ, type KnownCompletionSourceKind as aK, type KnownIdentityKind as aL, type KnownQuestSubmissionStatus as aM, type ManagedPointLedger as aN, type ManagedTrackerCreateInput as aO, type ManagedTrackerSource as aP, type ManagedTrackerSourceKind as aQ, type MemberPage as aR, type PickupAvailability as aS, type PointLedger as aT, type PublishedRelease as aU, type QuestAvailability as aV, type QuestDescription as aW, type QuestPresentationContent as aX, type QuestSettingsInput as aY, type QuestStep as aZ, type QuestStepAction as a_, rewardSchema as aa, type TrackerTriggerMode as ab, type RoleOf as ac, type WhereSetting as ad, type ContentBody as ae, type BadgeHandle as af, type ContentMetricName as ag, triggerSchema as ah, type TieredRewardDefinition as ai, type LedgerSetting as aj, type TrackerPage as ak, type TrackerReadQuery as al, trackerDataSchema as am, trackerTriggerContextSchema as an, submitSchema as ao, contentPerformanceQuerySchema as ap, questDescriptionSchema as aq, memberIdentitySchema as ar, pointBalanceSchema as as, trackerQuerySchema as at, trackerPageSchema as au, trackerSummarySchema as av, type TrackerContentQuery as aw, trackerContentSchema as ax, photoResultSchema as ay, type TrackerAttribution as az, type EvaluatorProgress as b, evidenceSchema as b$, type QuestSubmissionResult as b0, QuestSubmissionStatus as b1, type QuestSubmissionUpdate as b2, type ReleaseInput as b3, type ReviewPage as b4, type Snapshot as b5, type TrackerAccount as b6, type TrackerBound as b7, type TrackerCondition as b8, type TrackerContent as b9, badgeReward as bA, badgeRewardSchema as bB, batchReleaseSchema as bC, beginHandoverSchema as bD, beneficiaryRole as bE, completionRecordSchema as bF, completionSourceSchema as bG, configurePickupSchema as bH, confirmHandoverSchema as bI, contentMetricNameSchema as bJ, contentPerformancePageSchema as bK, contentPerformanceSnapshotSchema as bL, createPointLedgerSchema as bM, createStockItemSchema as bN, customContentSchema as bO, decisionSchema as bP, defaultTriggerMode as bQ, deferPolicy as bR, entitlementCorrectionSchema as bS, entitlementRecoverySchema as bT, entitlementSchema as bU, entitlementStateSchema as bV, errorSchema as bW, evaluatorProgressSchema as bX, evaluatorProtocol as bY, evaluatorProtocolSchema as bZ, eventSchema as b_, type TrackerCreateInput as ba, type TrackerDataIssue as bb, type TrackerDefinition as bc, type TrackerDefinitionResponse as bd, type TrackerOutcome as be, type TrackerOutcomeQuery as bf, type TrackerPreview as bg, type TrackerPreviewInput as bh, type TrackerQuery as bi, type TrackerRecord as bj, type TrackerSourceKind as bk, type TrackerSourceResponse as bl, type TrackerStatus as bm, type TrackerTriggerOutcomePage as bn, type TrackerTriggerOutcomeQuery as bo, type TrackerUpdateInput as bp, type TrackerWhere as bq, type TriggerEnrollment as br, type TriggerHistorical as bs, type TriggerSince as bt, type TypedTrackerRecord as bu, acceptAnywaySchema as bv, accountRoleSchema as bw, appIdentityKindSchema as bx, artifactSchema as by, attemptSchema as bz, type KnownPointEntryKind as c, storedQuestDescriptionSchema as c$, groupReward as c0, groupRewardSchema as c1, identityKindSchema as c2, integrationRewardSchema as c3, isAppIdentityKind as c4, isKnownTrackerSource as c5, knownIdentityKinds as c6, managedPointLedgerSchema as c7, managedTrackerCreateSchema as c8, managedTrackerSource as c9, questPresentationRequirementSchema as cA, questPresentationSchema as cB, questProfileSchema as cC, questSettingsInputSchema as cD, questStepActionSchema as cE, questStepSchema as cF, questSubmissionResultSchema as cG, questSubmissionSchema as cH, questSubmissionUpdateSchema as cI, quizAnswersSchema as cJ, quizEvidenceSchema as cK, releaseSchema as cL, reservationSchema as cM, retryCooldownMsSchema as cN, retryCooldownPolicy as cO, reviewItemSchema as cP, reviewListSchema as cQ, reviewModeSchema as cR, reviewPageSchema as cS, rewardBundleSchema as cT, rewardKey as cU, snapshotSchema as cV, sourceContent as cW, sourceIdentities as cX, staffDecisionSchema as cY, stockItemSchema as cZ, stockSchema as c_, managedTrackerSourceKinds as ca, managedTrackerSourceSchema as cb, mediaUrlSchema as cc, memberListSchema as cd, memberPageSchema as ce, memberProgressSchema as cf, openIdentityKindSchema as cg, pickupAllocationSchema as ch, pickupAvailabilitySchema as ci, pickupCatalogSchema as cj, pickupPolicySchema as ck, pickupSelectionSchema as cl, pointBalancesSchema as cm, pointEntrySchema as cn, pointHistoryPageSchema as co, pointHistoryQuerySchema as cp, pointLedgerArtifactSchema as cq, pointLedgerPropertiesSchema as cr, pointLedgerReferenceSchema as cs, pointLedgerSchema as ct, pointsRewardSchema as cu, publishedReleaseSchema as cv, publishedTrackerSchema as cw, questAvailabilitySchema as cx, questBudgetViewSchema as cy, questPresentationContentSchema as cz, type KnownTrackerSkipCode as d, storedReviewModeSchema as d0, submissionEvidenceSchema as d1, templateSchema as d2, textResultSchema as d3, textReviewInputSchema as d4, tierRewardSchema as d5, tieredRewardDefinitionSchema as d6, tieredRewardReferenceSchema as d7, trackerAccountSchema as d8, trackerArtifactSchema as d9, trackerRecordSchema as dA, trackerSkipCodes as dB, trackerSourceKinds as dC, trackerSourceResponseSchema as dD, trackerSourceSchema as dE, trackerStatusSchema as dF, trackerTriggerModeSchema as dG, trackerTriggerOutcomePageSchema as dH, trackerTriggerOutcomeQuerySchema as dI, trackerTriggerPolicySchema as dJ, trackerTriggerRecordSchema as dK, trackerUpdateSchema as dL, trackerWhereSchema as dM, triggerAdmission as dN, triggerEnrollmentSchema as dO, triggerHistoricalSchema as dP, triggerMode as dQ, triggerSinceSchema as dR, walletBalanceSourceSchema as dS, whereConditions as dT, whereSettings as dU, xAccountRoles as dV, xContentMetrics as dW, xTweetSchema as dX, trackerAttributionSchema as da, trackerBoundSchema as db, trackerConditionSchema as dc, trackerContentQuerySchema as dd, trackerContentReadSchema as de, trackerContentStageSchema as df, trackerControlSchema as dg, trackerCreateSchema as dh, trackerDataMaxBranches as di, trackerDataMaxEntries as dj, trackerDataSchemaSchema as dk, trackerDefinitionResponseSchema as dl, trackerEvidenceSchema as dm, trackerIngestResultSchema as dn, trackerIngestSchema as dp, trackerOutcomePageSchema as dq, trackerOutcomeQuerySchema as dr, trackerOutcomeRetrySchema as ds, trackerOutcomeSchema as dt, trackerPreviewInputSchema as du, trackerPreviewLimits as dv, trackerPreviewSchema as dw, trackerPropertiesSchema as dx, trackerRecordAccountSchema as dy, trackerRecordInputSchema as dz, type PointBalances as e, type PointEntry as f, PointEntryKind as g, type PointHistoryPage as h, type PointHistoryQuery as i, type PointLedgerReference as j, type QuestPresentation as k, type QuestProfile as l, type QuizEvidence as m, type SubmitInput as n, type TrackerSkipCode as o, type TrackerDataBudget as p, trackerDataIssue as q, trackerDataIssues as r, schemaCheckedReader as s, trackerDataBatchSteps as t, trackerDataPathTypes as u, trackerDataRecordSteps as v, whereSchemaIssue as w, type QuestHandle as x, type ResourceHandle as y, type PhotoResult as z };
|