@domino-sdk/relay 0.26.0 → 0.28.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
@@ -1,5 +1,5 @@
1
- import { a6 as ValueEvidence, L as LinkedWallet, H as referralAcceptSchema, J as LeaderboardQuery, K as WalletAddressInput, M as walletSignatureSchema, N as WalletSigner, P as walletChallengeInputSchema, Q as walletProofSchema, R as AuthProvider, V as WalletSignature, Y as engagementPageQuerySchema, Z as contentQualificationQuerySchema, _ as contentAdmissionQuerySchema, $ as contentEnrollmentInputSchema, a0 as contentReleaseInputSchema } from './submission-input-Ckpb4sBv.js';
2
- export { a2 as AccountConnection, A as AdmittedContent, B as Budget, C as ContentMetric, a7 as ContentPerformancePolicy, a8 as ContentPolicy, a3 as CosmosNetwork, D as DiscordMember, b as DiscordMessage, a9 as EngagementDefinition, aa as EvmChain, ab as EvmChainInfo, ac as ImageAssetArtifact, ad as ImageComparison, ae as ImageExtraction, af as ImageFields, ag as ImageInspection, I as ImageReader, ah as ImageReference, ai as ImageRequest, aj as ImageSightings, i as IntegrationProvider, ak as LeaderboardDefinition, a5 as LeaderboardPage, O as Observation, al as ProjectIntegration, am as PublishedImage, an as QuizContent, ao as ReferralDefinition, ap as ResourceOption, aq as ResourceSource, ar as SettingField, as as SettingsValues, S as SolanaBalance, j as StreakPolicy, at as StreakProgress, k as TextEvidence, l as TextOptions, au as TrackerAttribution, f as TrackerBeneficiary, av as TrackerContent, aw as TrackerContentQuery, e as TrackerDefinition, ax as TrackerOutcome, ay as TrackerOutcomeQuery, az as TrackerPreview, aA as TrackerPreviewInput, aB as TrackerQuery, a as TrackerReader, aC as TrackerRecord, aD as TrackerStatus, T as TrackerTriggerContext, g as TrackerTriggerPolicy, U as UrlEvidence, m as UrlOptions, aE as WALLETS_PER_CHAIN, d as WalletBalance, c as WalletBalanceQuery, aF as WalletChain, W as WalletConnection, aG as WalletMessageChallenge, a1 as WalletSignInNetwork, aH as WalletUnlinkInput, aI as XConnection, aJ as XPost, aK as XProfile, X as XReader, aL as XTweet, aM as accountConnectionSchema, aN as admittedContentSchema, aO as authProviderSchema, aP as budgetSchema, aQ as caip10, aR as communityTimeZoneSchema, aS as compatibleSettingKinds, aT as completionKeySchema, aU as completionPolicySchema, n as content, aV as contentAdmissionPageSchema, aW as contentAdmissionSchema, aX as contentEnrollmentSchema, aY as contentMetricSchema, aZ as contentMetricsSchema, a_ as contentPerformancePolicySchema, a$ as contentPolicySchema, b0 as contentQualificationDecisionSchema, b1 as contentQualificationPageSchema, b2 as contentQualificationSchema, b3 as cosmosAddressSchema, b4 as cosmosNetworkSchema, b5 as cosmosNetworks, p as customSource, q as defineEngagementReward, r as defineLeaderboard, s as defineReferral, t as defineTracker, u as discord, b6 as discordMemberInputSchema, b7 as discordMemberSchema, b8 as discordMessageInputSchema, b9 as discordMessageSchema, ba as discordReactionSchema, bb as discordServerSchema, bc as engagementArtifactSchema, bd as engagementBoundaryPageSchema, be as engagementChangePreviewInputSchema, bf as engagementChangePreviewSchema, bg as engagementChangeSchema, bh as engagementDefinitionSchema, bi as engagementDeploymentEntrySchema, bj as engagementPageSchema, bk as engagementPublishSchema, bl as engagementRuleSchema, bm as engagementScoreInputSchema, bn as engagementScoreSchema, bo as engagementSettlementSchema, bp as engagementVersionPageSchema, bq as engagementVersionQuerySchema, br as evmAddressSchema, bs as evmChainSchema, bt as evmChains, v as formatUnits, bu as imageAssetArtifactSchema, bv as imageComparisonSchema, bw as imageExtractionSchema, bx as imageFieldSchema, by as imageFieldsSchema, bz as imageInspectionSchema, bA as imageReferenceSchema, bB as imageRequestSchema, bC as imageSightingsSchema, bD as imageUploadRequestSchema, bE as imageUploadsSchema, bF as integrationProviderSchema, bG as isContentParticipantRoute, bH as isWalletParticipantRoute, bI as isWalletSignInRoute, bJ as leaderboardArtifactSchema, bK as leaderboardAuthoringSchema, bL as leaderboardDefinitionSchema, bM as leaderboardExclusionSchema, bN as leaderboardGroupSchema, bO as leaderboardPageSchema, bP as leaderboardPreviewSchema, bQ as leaderboardQuerySchema, bR as leaderboardRowSchema, bS as leaderboardWindowSchema, bT as linkedWalletSchema, bU as missingResourceSettings, bV as observationInputSchema, bW as observationReceiptSchema, bX as observationSchema, o as observationTriggerSchema, bY as parseImageExtraction, bZ as parseImageResult, b_ as parseSettings, w as parseUnits, x as perContent, y as pointLedgers, b$ as pointsAccountSchema, c0 as pointsEntrySchema, c1 as pointsMutationSchema, c2 as pointsResultSchema, c3 as projectIntegrationSchema, c4 as publishedImageSchema, c5 as publishedLeaderboardSchema, c6 as publishedReferralSchema, c7 as publishedTrackerSchema, c8 as quizChoiceSchema, c9 as quizContentSchema, ca as quizQuestionSchema, cb as quizQuestionsSchema, cc as referralAccountSchema, cd as referralArtifactSchema, ce as referralAuthoringSchema, cf as referralControlSchema, cg as referralDefinitionSchema, ch as referralHistorySchema, ci as referralManagementSchema, cj as referralRelationshipSchema, a4 as referralSummarySchema, ck as resourceOptionsSchema, cl as resourceRequestSchema, cm as resourceSourceSchema, cn as settingFieldSchema, z as settings, co as settingsFieldsSchema, cp as settingsValuesSchema, cq as solanaAddressSchema, cr as solanaBalanceSchema, cs as solanaMainnet, E as streak, ct as streakPolicySchema, cu as streakProgressSchema, cv as textEvidenceSchema, cw as textOptionsSchema, cx as trackerArtifactSchema, cy as trackerAttributionSchema, cz as trackerBeneficiarySchema, cA as trackerContentQuerySchema, cB as trackerContentReadSchema, cC as trackerContentSchema, cD as trackerControlSchema, cE as trackerDefinitionSchema, cF as trackerEvidenceSchema, cG as trackerIngestResultSchema, cH as trackerIngestSchema, cI as trackerOutcomePageSchema, cJ as trackerOutcomeQuerySchema, cK as trackerOutcomeRetrySchema, cL as trackerOutcomeSchema, cM as trackerPageSchema, cN as trackerPreviewInputSchema, cO as trackerPreviewLimits, cP as trackerPreviewSchema, cQ as trackerQuerySchema, cR as trackerRecordInputSchema, cS as trackerRecordSchema, cT as trackerSourceSchema, cU as trackerStatusSchema, cV as trackerSummarySchema, F as trackerTriggerContextSchema, cW as trackerTriggerPolicySchema, cX as trackerTriggerRecordSchema, cY as urlEvidenceSchema, cZ as urlOptionsSchema, c_ as validateSubmissionValue, c$ as valueEvidenceSchema, d0 as walletAddressInput, d1 as walletAddressInputSchema, d2 as walletBalanceSchema, d3 as walletChainSchema, d4 as walletChallengeSchema, d5 as walletConnectionSchema, d6 as walletMessageChallengeSchema, d7 as walletSignInNetwork, d8 as walletSignInNetworkSchema, d9 as walletUnlinkInputSchema, G as x, da as xConnectionSchema, db as xContentBodySchema, dc as xIdSchema, dd as xPostId, de as xPostSchema, df as xProfileSchema, dg as xRequestSchema, dh as xTweetSchema } from './submission-input-Ckpb4sBv.js';
1
+ import { a7 as ValueEvidence, L as LinkedWallet, H as referralAcceptSchema, J as LeaderboardQuery, K as WalletAddressInput, M as walletSignatureSchema, N as WalletSigner, P as walletChallengeInputSchema, Q as walletProofSchema, R as AuthProvider, V as WalletSignature, Y as engagementPageQuerySchema, Z as contentQualificationQuerySchema, _ as contentAdmissionQuerySchema, $ as contentEnrollmentInputSchema, a0 as contentReleaseInputSchema } from './submission-input-D3t8WKOk.js';
2
+ export { a1 as AccountConnection, A as AdmittedContent, B as Budget, C as ContentMetric, a8 as ContentPerformancePolicy, a9 as ContentPolicy, a5 as CosmosChain, a6 as CosmosNetwork, D as DiscordMember, b as DiscordMessage, aa as EngagementDefinition, ab as EvmChain, ac as EvmChainInfo, ad as ImageAssetArtifact, ae as ImageComparison, af as ImageExtraction, ag as ImageFields, ah as ImageInspection, I as ImageReader, ai as ImageReference, aj as ImageRequest, ak as ImageSightings, i as IntegrationProvider, al as LeaderboardDefinition, a4 as LeaderboardPage, O as Observation, am as ProjectIntegration, an as PublishedImage, ao as QuizContent, ap as ReferralDefinition, aq as ResourceOption, ar as ResourceSource, as as SettingField, at as SettingsValues, S as SolanaBalance, j as StreakPolicy, au as StreakProgress, k as TextEvidence, l as TextOptions, av as TrackerAttribution, f as TrackerBeneficiary, aw as TrackerContent, ax as TrackerContentQuery, e as TrackerDefinition, ay as TrackerOutcome, az as TrackerOutcomeQuery, aA as TrackerPreview, aB as TrackerPreviewInput, aC as TrackerQuery, a as TrackerReader, aD as TrackerRecord, aE as TrackerStatus, T as TrackerTriggerContext, g as TrackerTriggerPolicy, U as UrlEvidence, m as UrlOptions, aF as WALLETS_PER_CHAIN, d as WalletBalance, c as WalletBalanceQuery, aG as WalletChain, W as WalletConnection, aH as WalletMessageChallenge, a2 as WalletSignInNetwork, aI as WalletUnlinkInput, aJ as XConnection, aK as XPost, aL as XProfile, X as XReader, aM as XTweet, aN as accountConnectionSchema, aO as admittedContentSchema, aP as authProviderSchema, aQ as budgetSchema, aR as caip10, aS as communityTimeZoneSchema, aT as compatibleSettingKinds, aU as completionKeySchema, aV as completionPolicySchema, n as content, aW as contentAdmissionPageSchema, aX as contentAdmissionSchema, aY as contentEnrollmentSchema, aZ as contentMetricSchema, a_ as contentMetricsSchema, a$ as contentPerformancePolicySchema, b0 as contentPolicySchema, b1 as contentQualificationDecisionSchema, b2 as contentQualificationPageSchema, b3 as contentQualificationSchema, b4 as cosmosAddressSchema, b5 as cosmosChain, b6 as cosmosNetworkSchema, p as customSource, q as defineEngagementReward, r as defineLeaderboard, s as defineReferral, t as defineTracker, u as discord, b7 as discordMemberInputSchema, b8 as discordMemberSchema, b9 as discordMessageInputSchema, ba as discordMessageSchema, bb as discordReactionSchema, bc as discordServerSchema, bd as engagementArtifactSchema, be as engagementBoundaryPageSchema, bf as engagementChangePreviewInputSchema, bg as engagementChangePreviewSchema, bh as engagementChangeSchema, bi as engagementDefinitionSchema, bj as engagementDeploymentEntrySchema, bk as engagementPageSchema, bl as engagementPublishSchema, bm as engagementRuleSchema, bn as engagementScoreInputSchema, bo as engagementScoreSchema, bp as engagementSettlementSchema, bq as engagementVersionPageSchema, br as engagementVersionQuerySchema, bs as evmAddressSchema, bt as evmChainSchema, bu as evmChains, v as formatUnits, bv as imageAssetArtifactSchema, bw as imageComparisonSchema, bx as imageExtractionSchema, by as imageFieldSchema, bz as imageFieldsSchema, bA as imageInspectionSchema, bB as imageReferenceSchema, bC as imageRequestSchema, bD as imageSightingsSchema, bE as imageUploadRequestSchema, bF as imageUploadsSchema, bG as integrationProviderSchema, bH as isContentParticipantRoute, bI as isWalletParticipantRoute, bJ as isWalletSignInRoute, bK as leaderboardArtifactSchema, bL as leaderboardAuthoringSchema, bM as leaderboardDefinitionSchema, bN as leaderboardExclusionSchema, bO as leaderboardGroupSchema, bP as leaderboardPageSchema, bQ as leaderboardPreviewSchema, bR as leaderboardQuerySchema, bS as leaderboardRowSchema, bT as leaderboardWindowSchema, bU as linkedWalletSchema, bV as missingResourceSettings, bW as observationInputSchema, bX as observationReceiptSchema, bY as observationSchema, o as observationTriggerSchema, bZ as parseImageExtraction, b_ as parseImageResult, b$ as parseSettings, w as parseUnits, x as perContent, y as pointLedgers, c0 as pointsAccountSchema, c1 as pointsEntrySchema, c2 as pointsMutationSchema, c3 as pointsResultSchema, c4 as projectIntegrationSchema, c5 as publishedImageSchema, c6 as publishedLeaderboardSchema, c7 as publishedReferralSchema, c8 as publishedTrackerSchema, c9 as quizChoiceSchema, ca as quizContentSchema, cb as quizQuestionSchema, cc as quizQuestionsSchema, cd as referralAccountSchema, ce as referralArtifactSchema, cf as referralAuthoringSchema, cg as referralControlSchema, ch as referralDefinitionSchema, ci as referralHistorySchema, cj as referralManagementSchema, ck as referralRelationshipSchema, a3 as referralSummarySchema, cl as resourceOptionsSchema, cm as resourceRequestSchema, cn as resourceSourceSchema, co as settingFieldSchema, z as settings, cp as settingsFieldsSchema, cq as settingsValuesSchema, cr as solanaAddressSchema, cs as solanaBalanceSchema, ct as solanaMainnet, E as streak, cu as streakPolicySchema, cv as streakProgressSchema, cw as textEvidenceSchema, cx as textOptionsSchema, cy as trackerArtifactSchema, cz as trackerAttributionSchema, cA as trackerBeneficiarySchema, cB as trackerContentQuerySchema, cC as trackerContentReadSchema, cD as trackerContentSchema, cE as trackerControlSchema, cF as trackerDefinitionSchema, cG as trackerEvidenceSchema, cH as trackerIngestResultSchema, cI as trackerIngestSchema, cJ as trackerOutcomePageSchema, cK as trackerOutcomeQuerySchema, cL as trackerOutcomeRetrySchema, cM as trackerOutcomeSchema, cN as trackerPageSchema, cO as trackerPreviewInputSchema, cP as trackerPreviewLimits, cQ as trackerPreviewSchema, cR as trackerQuerySchema, cS as trackerRecordInputSchema, cT as trackerRecordSchema, cU as trackerSourceSchema, cV as trackerStatusSchema, cW as trackerSummarySchema, F as trackerTriggerContextSchema, cX as trackerTriggerPolicySchema, cY as trackerTriggerRecordSchema, cZ as urlEvidenceSchema, c_ as urlOptionsSchema, c$ as validateSubmissionValue, d0 as valueEvidenceSchema, d1 as walletAddressInput, d2 as walletAddressInputSchema, d3 as walletBalanceSchema, d4 as walletChainSchema, d5 as walletChallengeSchema, d6 as walletConnectionSchema, d7 as walletMessageChallengeSchema, d8 as walletSignInFamilies, d9 as walletSignInNetwork, da as walletSignInNetworkSchema, db as walletSignInNetworksSchema, dc as walletUnlinkInputSchema, G as x, dd as xConnectionSchema, de as xContentBodySchema, df as xIdSchema, dg as xPostId, dh as xPostSchema, di as xProfileSchema, dj as xRequestSchema, dk as xTweetSchema } from './submission-input-D3t8WKOk.js';
3
3
  import { z } from 'zod';
4
4
  import { errorSchema, QuizEvidence, Attempt, SubmitInput, MemberProgress, questDescriptionSchema, PublishedRelease, ReleaseInput, beginHandoverSchema, contentPerformanceQuerySchema } from './schema.js';
5
5
  export { ContentPerformanceSnapshot, Decision, Entitlement, MemberPage, PhotoResult, PickupAvailability, QuestAvailability, QuestDescription, QuestPresentation, QuestSettingsInput, ReviewPage, Reward, Snapshot, SubmissionEvidence, TextResult, TextReviewInput, TieredRewardDefinition, TieredRewardReference, artifactSchema, attemptSchema, batchReleaseSchema, completionRecordSchema, configurePickupSchema, confirmHandoverSchema, contentPerformancePageSchema, contentPerformanceSnapshotSchema, createStockItemSchema, decisionSchema, entitlementSchema, eventSchema, evidenceSchema, identifier, integrationRewardSchema, mediaUrlSchema, memberListSchema, memberPageSchema, memberProgressSchema, photoResultSchema, pickupAllocationSchema, pickupAvailabilitySchema, pickupCatalogSchema, pickupPolicySchema, pickupSelectionSchema, pointsRewardSchema, prerequisiteSchema, publishedReleaseSchema, questAvailabilitySchema, questPresentationSchema, questSettingsInputSchema, quizAnswersSchema, quizEvidenceSchema, releaseSchema, reservationSchema, reviewItemSchema, reviewListSchema, reviewModeSchema, reviewPageSchema, rewardBundleSchema, rewardKey, rewardSchema, snapshotSchema, staffDecisionSchema, stockItemSchema, stockSchema, storedReviewModeSchema, submissionEvidenceSchema, submitSchema, templateSchema, textResultSchema, textReviewInputSchema, tierRewardSchema, tieredRewardDefinitionSchema, tieredRewardReferenceSchema, triggerSchema } from './schema.js';
@@ -209,13 +209,13 @@ type ProgressObserver = {
209
209
  };
210
210
 
211
211
  declare const interactionSchema: z.ZodEnum<{
212
- staff: "staff";
213
- text: "text";
212
+ quiz: "quiz";
214
213
  url: "url";
214
+ text: "text";
215
+ staff: "staff";
216
+ photo: "photo";
215
217
  automatic: "automatic";
216
218
  claim: "claim";
217
- quiz: "quiz";
218
- photo: "photo";
219
219
  }>;
220
220
  type QuestInteraction = z.infer<typeof interactionSchema>;
221
221
  declare function questInteraction(trigger: z.infer<typeof questDescriptionSchema>["trigger"]): QuestInteraction;
@@ -384,9 +384,9 @@ declare const questTypeVersionSchema: z.ZodObject<{
384
384
  }, z.core.$strict>, z.ZodObject<{
385
385
  kind: z.ZodLiteral<"manual">;
386
386
  input: z.ZodEnum<{
387
- none: "none";
388
387
  quiz: "quiz";
389
388
  photo: "photo";
389
+ none: "none";
390
390
  }>;
391
391
  actor: z.ZodOptional<z.ZodEnum<{
392
392
  member: "member";
@@ -405,8 +405,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
405
405
  end: z.ZodOptional<z.ZodNumber>;
406
406
  }, z.core.$strict>;
407
407
  enrollment: z.ZodDefault<z.ZodEnum<{
408
- none: "none";
409
408
  required: "required";
409
+ none: "none";
410
410
  }>>;
411
411
  posts: z.ZodDefault<z.ZodEnum<{
412
412
  "after-enrollment": "after-enrollment";
@@ -455,14 +455,14 @@ declare const questTypeVersionSchema: z.ZodObject<{
455
455
  kind: z.ZodLiteral<"keyed">;
456
456
  }, z.core.$strict>], "kind">;
457
457
  visibility: z.ZodDefault<z.ZodEnum<{
458
- visible: "visible";
459
458
  hidden: "hidden";
459
+ visible: "visible";
460
460
  }>>;
461
461
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
462
462
  id: z.ZodString;
463
463
  scope: z.ZodEnum<{
464
- project: "project";
465
464
  member: "member";
465
+ project: "project";
466
466
  }>;
467
467
  period: z.ZodEnum<{
468
468
  day: "day";
@@ -497,7 +497,7 @@ declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
497
497
  title: string;
498
498
  key?: string | undefined;
499
499
  id?: string | undefined;
500
- }, "id" | "key"> & {
500
+ }, "key" | "id"> & {
501
501
  key: string;
502
502
  }, {
503
503
  title: string;
@@ -525,8 +525,8 @@ declare const questInstanceSchema: z.ZodObject<{
525
525
  }, z.core.$strict>>]>>;
526
526
  requires: z.ZodArray<z.ZodString>;
527
527
  status: z.ZodEnum<{
528
- paused: "paused";
529
528
  active: "active";
529
+ paused: "paused";
530
530
  archived: "archived";
531
531
  }>;
532
532
  }, z.core.$strict>;
@@ -546,8 +546,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
546
546
  }, z.core.$strict>>]>>;
547
547
  requires: z.ZodArray<z.ZodString>;
548
548
  status: z.ZodEnum<{
549
- paused: "paused";
550
549
  active: "active";
550
+ paused: "paused";
551
551
  archived: "archived";
552
552
  }>;
553
553
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -579,8 +579,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
579
579
  }, z.core.$strict>>]>>;
580
580
  requires: z.ZodArray<z.ZodString>;
581
581
  status: z.ZodEnum<{
582
- paused: "paused";
583
582
  active: "active";
583
+ paused: "paused";
584
584
  archived: "archived";
585
585
  }>;
586
586
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -613,8 +613,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
613
613
  }, z.core.$strict>>]>>;
614
614
  requires: z.ZodArray<z.ZodString>;
615
615
  status: z.ZodEnum<{
616
- paused: "paused";
617
616
  active: "active";
617
+ paused: "paused";
618
618
  archived: "archived";
619
619
  }>;
620
620
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -796,9 +796,9 @@ declare const questCatalogSchema: z.ZodObject<{
796
796
  }, z.core.$strict>, z.ZodObject<{
797
797
  kind: z.ZodLiteral<"manual">;
798
798
  input: z.ZodEnum<{
799
- none: "none";
800
799
  quiz: "quiz";
801
800
  photo: "photo";
801
+ none: "none";
802
802
  }>;
803
803
  actor: z.ZodOptional<z.ZodEnum<{
804
804
  member: "member";
@@ -817,8 +817,8 @@ declare const questCatalogSchema: z.ZodObject<{
817
817
  end: z.ZodOptional<z.ZodNumber>;
818
818
  }, z.core.$strict>;
819
819
  enrollment: z.ZodDefault<z.ZodEnum<{
820
- none: "none";
821
820
  required: "required";
821
+ none: "none";
822
822
  }>>;
823
823
  posts: z.ZodDefault<z.ZodEnum<{
824
824
  "after-enrollment": "after-enrollment";
@@ -867,14 +867,14 @@ declare const questCatalogSchema: z.ZodObject<{
867
867
  kind: z.ZodLiteral<"keyed">;
868
868
  }, z.core.$strict>], "kind">;
869
869
  visibility: z.ZodDefault<z.ZodEnum<{
870
- visible: "visible";
871
870
  hidden: "hidden";
871
+ visible: "visible";
872
872
  }>>;
873
873
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
874
874
  id: z.ZodString;
875
875
  scope: z.ZodEnum<{
876
- project: "project";
877
876
  member: "member";
877
+ project: "project";
878
878
  }>;
879
879
  period: z.ZodEnum<{
880
880
  day: "day";
@@ -917,8 +917,8 @@ declare const questCatalogSchema: z.ZodObject<{
917
917
  }, z.core.$strict>>]>>;
918
918
  requires: z.ZodArray<z.ZodString>;
919
919
  status: z.ZodEnum<{
920
- paused: "paused";
921
920
  active: "active";
921
+ paused: "paused";
922
922
  archived: "archived";
923
923
  }>;
924
924
  }, z.core.$strict>>;
@@ -942,8 +942,8 @@ declare const questCatalogSchema: z.ZodObject<{
942
942
  }, z.core.$strict>>]>>;
943
943
  requires: z.ZodArray<z.ZodString>;
944
944
  status: z.ZodEnum<{
945
- paused: "paused";
946
945
  active: "active";
946
+ paused: "paused";
947
947
  archived: "archived";
948
948
  }>;
949
949
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -976,8 +976,8 @@ declare const questCatalogSchema: z.ZodObject<{
976
976
  }, z.core.$strict>>]>>;
977
977
  requires: z.ZodArray<z.ZodString>;
978
978
  status: z.ZodEnum<{
979
- paused: "paused";
980
979
  active: "active";
980
+ paused: "paused";
981
981
  archived: "archived";
982
982
  }>;
983
983
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -1152,9 +1152,9 @@ declare const questCatalogSchema: z.ZodObject<{
1152
1152
  }, z.core.$strict>, z.ZodObject<{
1153
1153
  kind: z.ZodLiteral<"manual">;
1154
1154
  input: z.ZodEnum<{
1155
- none: "none";
1156
1155
  quiz: "quiz";
1157
1156
  photo: "photo";
1157
+ none: "none";
1158
1158
  }>;
1159
1159
  actor: z.ZodOptional<z.ZodEnum<{
1160
1160
  member: "member";
@@ -1173,8 +1173,8 @@ declare const questCatalogSchema: z.ZodObject<{
1173
1173
  end: z.ZodOptional<z.ZodNumber>;
1174
1174
  }, z.core.$strict>;
1175
1175
  enrollment: z.ZodDefault<z.ZodEnum<{
1176
- none: "none";
1177
1176
  required: "required";
1177
+ none: "none";
1178
1178
  }>>;
1179
1179
  posts: z.ZodDefault<z.ZodEnum<{
1180
1180
  "after-enrollment": "after-enrollment";
@@ -1223,14 +1223,14 @@ declare const questCatalogSchema: z.ZodObject<{
1223
1223
  kind: z.ZodLiteral<"keyed">;
1224
1224
  }, z.core.$strict>], "kind">;
1225
1225
  visibility: z.ZodDefault<z.ZodEnum<{
1226
- visible: "visible";
1227
1226
  hidden: "hidden";
1227
+ visible: "visible";
1228
1228
  }>>;
1229
1229
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1230
1230
  id: z.ZodString;
1231
1231
  scope: z.ZodEnum<{
1232
- project: "project";
1233
1232
  member: "member";
1233
+ project: "project";
1234
1234
  }>;
1235
1235
  period: z.ZodEnum<{
1236
1236
  day: "day";
@@ -1258,8 +1258,8 @@ declare const questCatalogSchema: z.ZodObject<{
1258
1258
  typeVersion: z.ZodString;
1259
1259
  }, z.core.$strict>>;
1260
1260
  lifecycle: z.ZodDefault<z.ZodEnum<{
1261
- paused: "paused";
1262
1261
  active: "active";
1262
+ paused: "paused";
1263
1263
  archived: "archived";
1264
1264
  }>>;
1265
1265
  configuration: z.ZodOptional<z.ZodObject<{
@@ -1327,7 +1327,7 @@ declare const questCatalogSchema: z.ZodObject<{
1327
1327
  createdAt: z.ZodNumber;
1328
1328
  }, z.core.$strip>, z.ZodTransform<{
1329
1329
  quest: string;
1330
- runtimeVersion: 2 | 1;
1330
+ runtimeVersion: 1 | 2;
1331
1331
  title: string;
1332
1332
  presentation: {
1333
1333
  quiz?: {
@@ -1466,7 +1466,7 @@ declare const questCatalogSchema: z.ZodObject<{
1466
1466
  start: number;
1467
1467
  end?: number | undefined;
1468
1468
  };
1469
- enrollment: "none" | "required";
1469
+ enrollment: "required" | "none";
1470
1470
  posts: "after-enrollment" | "since-start";
1471
1471
  historical: "staff" | "automatic" | "claim";
1472
1472
  } | undefined;
@@ -1494,7 +1494,7 @@ declare const questCatalogSchema: z.ZodObject<{
1494
1494
  actor?: "member" | "staff" | undefined;
1495
1495
  } | {
1496
1496
  kind: "manual";
1497
- input: "none" | "quiz" | "photo";
1497
+ input: "quiz" | "photo" | "none";
1498
1498
  actor?: "member" | "staff" | undefined;
1499
1499
  };
1500
1500
  requires: {
@@ -1510,10 +1510,10 @@ declare const questCatalogSchema: z.ZodObject<{
1510
1510
  } | {
1511
1511
  kind: "keyed";
1512
1512
  };
1513
- visibility: "visible" | "hidden";
1513
+ visibility: "hidden" | "visible";
1514
1514
  budgets: {
1515
1515
  id: string;
1516
- scope: "project" | "member";
1516
+ scope: "member" | "project";
1517
1517
  period: "day" | "lifetime" | "week";
1518
1518
  limit: number;
1519
1519
  cost: number | {
@@ -1525,7 +1525,7 @@ declare const questCatalogSchema: z.ZodObject<{
1525
1525
  id: string;
1526
1526
  createdAt: number;
1527
1527
  legacy: boolean;
1528
- lifecycle: "paused" | "active" | "archived";
1528
+ lifecycle: "active" | "paused" | "archived";
1529
1529
  performance?: {
1530
1530
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1531
1531
  maxAgeMs: number;
@@ -1593,13 +1593,13 @@ declare const questCatalogSchema: z.ZodObject<{
1593
1593
  createdAt: number;
1594
1594
  }>>]>>>;
1595
1595
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1596
- staff: "staff";
1597
- text: "text";
1596
+ quiz: "quiz";
1598
1597
  url: "url";
1598
+ text: "text";
1599
+ staff: "staff";
1600
+ photo: "photo";
1599
1601
  automatic: "automatic";
1600
1602
  claim: "claim";
1601
- quiz: "quiz";
1602
- photo: "photo";
1603
1603
  }>>;
1604
1604
  }, z.core.$strip>;
1605
1605
  declare const catalogDeploymentSchema: z.ZodObject<{
@@ -1618,7 +1618,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1618
1618
  title: string;
1619
1619
  key?: string | undefined;
1620
1620
  id?: string | undefined;
1621
- }, "id" | "key"> & {
1621
+ }, "key" | "id"> & {
1622
1622
  key: string;
1623
1623
  }, {
1624
1624
  title: string;
@@ -1626,13 +1626,13 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1626
1626
  id?: string | undefined;
1627
1627
  }>>>>;
1628
1628
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1629
- staff: "staff";
1630
- text: "text";
1629
+ quiz: "quiz";
1631
1630
  url: "url";
1631
+ text: "text";
1632
+ staff: "staff";
1633
+ photo: "photo";
1632
1634
  automatic: "automatic";
1633
1635
  claim: "claim";
1634
- quiz: "quiz";
1635
- photo: "photo";
1636
1636
  }>>>;
1637
1637
  }, z.core.$strict>;
1638
1638
  declare const catalogDeploymentPreviewSchema: z.ZodObject<{
@@ -1802,9 +1802,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1802
1802
  }, z.core.$strict>, z.ZodObject<{
1803
1803
  kind: z.ZodLiteral<"manual">;
1804
1804
  input: z.ZodEnum<{
1805
- none: "none";
1806
1805
  quiz: "quiz";
1807
1806
  photo: "photo";
1807
+ none: "none";
1808
1808
  }>;
1809
1809
  actor: z.ZodOptional<z.ZodEnum<{
1810
1810
  member: "member";
@@ -1823,8 +1823,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1823
1823
  end: z.ZodOptional<z.ZodNumber>;
1824
1824
  }, z.core.$strict>;
1825
1825
  enrollment: z.ZodDefault<z.ZodEnum<{
1826
- none: "none";
1827
1826
  required: "required";
1827
+ none: "none";
1828
1828
  }>>;
1829
1829
  posts: z.ZodDefault<z.ZodEnum<{
1830
1830
  "after-enrollment": "after-enrollment";
@@ -1873,14 +1873,14 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1873
1873
  kind: z.ZodLiteral<"keyed">;
1874
1874
  }, z.core.$strict>], "kind">;
1875
1875
  visibility: z.ZodDefault<z.ZodEnum<{
1876
- visible: "visible";
1877
1876
  hidden: "hidden";
1877
+ visible: "visible";
1878
1878
  }>>;
1879
1879
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1880
1880
  id: z.ZodString;
1881
1881
  scope: z.ZodEnum<{
1882
- project: "project";
1883
1882
  member: "member";
1883
+ project: "project";
1884
1884
  }>;
1885
1885
  period: z.ZodEnum<{
1886
1886
  day: "day";
@@ -1908,13 +1908,13 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1908
1908
  title: z.ZodString;
1909
1909
  }, z.core.$strict>>;
1910
1910
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1911
- staff: "staff";
1912
- text: "text";
1911
+ quiz: "quiz";
1913
1912
  url: "url";
1913
+ text: "text";
1914
+ staff: "staff";
1915
+ photo: "photo";
1914
1916
  automatic: "automatic";
1915
1917
  claim: "claim";
1916
- quiz: "quiz";
1917
- photo: "photo";
1918
1918
  }>>;
1919
1919
  }, z.core.$strip>;
1920
1920
  declare const saveQuestDraftSchema: z.ZodObject<{
@@ -1938,8 +1938,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
1938
1938
  }, z.core.$strict>>]>>;
1939
1939
  requires: z.ZodArray<z.ZodString>;
1940
1940
  status: z.ZodEnum<{
1941
- paused: "paused";
1942
1941
  active: "active";
1942
+ paused: "paused";
1943
1943
  archived: "archived";
1944
1944
  }>;
1945
1945
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -2038,9 +2038,9 @@ declare const questViewSchema: z.ZodObject<{
2038
2038
  }, z.core.$strict>, z.ZodObject<{
2039
2039
  kind: z.ZodLiteral<"manual">;
2040
2040
  input: z.ZodEnum<{
2041
- none: "none";
2042
2041
  quiz: "quiz";
2043
2042
  photo: "photo";
2043
+ none: "none";
2044
2044
  }>;
2045
2045
  actor: z.ZodOptional<z.ZodEnum<{
2046
2046
  member: "member";
@@ -2059,8 +2059,8 @@ declare const questViewSchema: z.ZodObject<{
2059
2059
  end: z.ZodOptional<z.ZodNumber>;
2060
2060
  }, z.core.$strict>;
2061
2061
  enrollment: z.ZodDefault<z.ZodEnum<{
2062
- none: "none";
2063
2062
  required: "required";
2063
+ none: "none";
2064
2064
  }>>;
2065
2065
  posts: z.ZodDefault<z.ZodEnum<{
2066
2066
  "after-enrollment": "after-enrollment";
@@ -2087,11 +2087,11 @@ declare const questViewSchema: z.ZodObject<{
2087
2087
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2088
2088
  kind: z.ZodLiteral<"available">;
2089
2089
  input: z.ZodEnum<{
2090
- text: "text";
2091
- url: "url";
2092
- none: "none";
2093
2090
  quiz: "quiz";
2091
+ url: "url";
2092
+ text: "text";
2094
2093
  photo: "photo";
2094
+ none: "none";
2095
2095
  }>;
2096
2096
  }, z.core.$strict>, z.ZodObject<{
2097
2097
  kind: z.ZodLiteral<"completed">;
@@ -2161,8 +2161,8 @@ declare const questViewSchema: z.ZodObject<{
2161
2161
  }, z.core.$strip>>>;
2162
2162
  completionCount: z.ZodDefault<z.ZodNumber>;
2163
2163
  visibility: z.ZodDefault<z.ZodEnum<{
2164
- visible: "visible";
2165
2164
  hidden: "hidden";
2165
+ visible: "visible";
2166
2166
  }>>;
2167
2167
  missing: z.ZodArray<z.ZodObject<{
2168
2168
  quest: z.ZodString;
@@ -2189,12 +2189,12 @@ declare const questViewSchema: z.ZodObject<{
2189
2189
  }, z.core.$strict>]>>;
2190
2190
  status: z.ZodEnum<{
2191
2191
  "needs-review": "needs-review";
2192
- failed: "failed";
2193
2192
  queued: "queued";
2194
2193
  evaluating: "evaluating";
2195
2194
  accepted: "accepted";
2196
2195
  progressed: "progressed";
2197
2196
  rejected: "rejected";
2197
+ failed: "failed";
2198
2198
  }>;
2199
2199
  reason: z.ZodNullable<z.ZodString>;
2200
2200
  retries: z.ZodNumber;
@@ -2231,17 +2231,17 @@ declare const questViewSchema: z.ZodObject<{
2231
2231
  }, z.core.$strip>>;
2232
2232
  release: z.ZodString;
2233
2233
  interaction: z.ZodEnum<{
2234
- staff: "staff";
2235
- text: "text";
2234
+ quiz: "quiz";
2236
2235
  url: "url";
2236
+ text: "text";
2237
+ staff: "staff";
2238
+ photo: "photo";
2237
2239
  automatic: "automatic";
2238
2240
  claim: "claim";
2239
- quiz: "quiz";
2240
- photo: "photo";
2241
2241
  }>;
2242
2242
  lifecycle: z.ZodEnum<{
2243
- paused: "paused";
2244
2243
  active: "active";
2244
+ paused: "paused";
2245
2245
  archived: "archived";
2246
2246
  }>;
2247
2247
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2327,9 +2327,9 @@ declare const collectionViewSchema: z.ZodObject<{
2327
2327
  }, z.core.$strict>, z.ZodObject<{
2328
2328
  kind: z.ZodLiteral<"manual">;
2329
2329
  input: z.ZodEnum<{
2330
- none: "none";
2331
2330
  quiz: "quiz";
2332
2331
  photo: "photo";
2332
+ none: "none";
2333
2333
  }>;
2334
2334
  actor: z.ZodOptional<z.ZodEnum<{
2335
2335
  member: "member";
@@ -2348,8 +2348,8 @@ declare const collectionViewSchema: z.ZodObject<{
2348
2348
  end: z.ZodOptional<z.ZodNumber>;
2349
2349
  }, z.core.$strict>;
2350
2350
  enrollment: z.ZodDefault<z.ZodEnum<{
2351
- none: "none";
2352
2351
  required: "required";
2352
+ none: "none";
2353
2353
  }>>;
2354
2354
  posts: z.ZodDefault<z.ZodEnum<{
2355
2355
  "after-enrollment": "after-enrollment";
@@ -2376,11 +2376,11 @@ declare const collectionViewSchema: z.ZodObject<{
2376
2376
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2377
2377
  kind: z.ZodLiteral<"available">;
2378
2378
  input: z.ZodEnum<{
2379
- text: "text";
2380
- url: "url";
2381
- none: "none";
2382
2379
  quiz: "quiz";
2380
+ url: "url";
2381
+ text: "text";
2383
2382
  photo: "photo";
2383
+ none: "none";
2384
2384
  }>;
2385
2385
  }, z.core.$strict>, z.ZodObject<{
2386
2386
  kind: z.ZodLiteral<"completed">;
@@ -2450,8 +2450,8 @@ declare const collectionViewSchema: z.ZodObject<{
2450
2450
  }, z.core.$strip>>>;
2451
2451
  completionCount: z.ZodDefault<z.ZodNumber>;
2452
2452
  visibility: z.ZodDefault<z.ZodEnum<{
2453
- visible: "visible";
2454
2453
  hidden: "hidden";
2454
+ visible: "visible";
2455
2455
  }>>;
2456
2456
  missing: z.ZodArray<z.ZodObject<{
2457
2457
  quest: z.ZodString;
@@ -2478,12 +2478,12 @@ declare const collectionViewSchema: z.ZodObject<{
2478
2478
  }, z.core.$strict>]>>;
2479
2479
  status: z.ZodEnum<{
2480
2480
  "needs-review": "needs-review";
2481
- failed: "failed";
2482
2481
  queued: "queued";
2483
2482
  evaluating: "evaluating";
2484
2483
  accepted: "accepted";
2485
2484
  progressed: "progressed";
2486
2485
  rejected: "rejected";
2486
+ failed: "failed";
2487
2487
  }>;
2488
2488
  reason: z.ZodNullable<z.ZodString>;
2489
2489
  retries: z.ZodNumber;
@@ -2520,17 +2520,17 @@ declare const collectionViewSchema: z.ZodObject<{
2520
2520
  }, z.core.$strip>>;
2521
2521
  release: z.ZodString;
2522
2522
  interaction: z.ZodEnum<{
2523
- staff: "staff";
2524
- text: "text";
2523
+ quiz: "quiz";
2525
2524
  url: "url";
2525
+ text: "text";
2526
+ staff: "staff";
2527
+ photo: "photo";
2526
2528
  automatic: "automatic";
2527
2529
  claim: "claim";
2528
- quiz: "quiz";
2529
- photo: "photo";
2530
2530
  }>;
2531
2531
  lifecycle: z.ZodEnum<{
2532
- paused: "paused";
2533
2532
  active: "active";
2533
+ paused: "paused";
2534
2534
  archived: "archived";
2535
2535
  }>;
2536
2536
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2615,9 +2615,9 @@ declare const questExperienceSchema: z.ZodObject<{
2615
2615
  }, z.core.$strict>, z.ZodObject<{
2616
2616
  kind: z.ZodLiteral<"manual">;
2617
2617
  input: z.ZodEnum<{
2618
- none: "none";
2619
2618
  quiz: "quiz";
2620
2619
  photo: "photo";
2620
+ none: "none";
2621
2621
  }>;
2622
2622
  actor: z.ZodOptional<z.ZodEnum<{
2623
2623
  member: "member";
@@ -2636,8 +2636,8 @@ declare const questExperienceSchema: z.ZodObject<{
2636
2636
  end: z.ZodOptional<z.ZodNumber>;
2637
2637
  }, z.core.$strict>;
2638
2638
  enrollment: z.ZodDefault<z.ZodEnum<{
2639
- none: "none";
2640
2639
  required: "required";
2640
+ none: "none";
2641
2641
  }>>;
2642
2642
  posts: z.ZodDefault<z.ZodEnum<{
2643
2643
  "after-enrollment": "after-enrollment";
@@ -2664,11 +2664,11 @@ declare const questExperienceSchema: z.ZodObject<{
2664
2664
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2665
2665
  kind: z.ZodLiteral<"available">;
2666
2666
  input: z.ZodEnum<{
2667
- text: "text";
2668
- url: "url";
2669
- none: "none";
2670
2667
  quiz: "quiz";
2668
+ url: "url";
2669
+ text: "text";
2671
2670
  photo: "photo";
2671
+ none: "none";
2672
2672
  }>;
2673
2673
  }, z.core.$strict>, z.ZodObject<{
2674
2674
  kind: z.ZodLiteral<"completed">;
@@ -2738,8 +2738,8 @@ declare const questExperienceSchema: z.ZodObject<{
2738
2738
  }, z.core.$strip>>>;
2739
2739
  completionCount: z.ZodDefault<z.ZodNumber>;
2740
2740
  visibility: z.ZodDefault<z.ZodEnum<{
2741
- visible: "visible";
2742
2741
  hidden: "hidden";
2742
+ visible: "visible";
2743
2743
  }>>;
2744
2744
  missing: z.ZodArray<z.ZodObject<{
2745
2745
  quest: z.ZodString;
@@ -2766,12 +2766,12 @@ declare const questExperienceSchema: z.ZodObject<{
2766
2766
  }, z.core.$strict>]>>;
2767
2767
  status: z.ZodEnum<{
2768
2768
  "needs-review": "needs-review";
2769
- failed: "failed";
2770
2769
  queued: "queued";
2771
2770
  evaluating: "evaluating";
2772
2771
  accepted: "accepted";
2773
2772
  progressed: "progressed";
2774
2773
  rejected: "rejected";
2774
+ failed: "failed";
2775
2775
  }>;
2776
2776
  reason: z.ZodNullable<z.ZodString>;
2777
2777
  retries: z.ZodNumber;
@@ -2808,17 +2808,17 @@ declare const questExperienceSchema: z.ZodObject<{
2808
2808
  }, z.core.$strip>>;
2809
2809
  release: z.ZodString;
2810
2810
  interaction: z.ZodEnum<{
2811
- staff: "staff";
2812
- text: "text";
2811
+ quiz: "quiz";
2813
2812
  url: "url";
2813
+ text: "text";
2814
+ staff: "staff";
2815
+ photo: "photo";
2814
2816
  automatic: "automatic";
2815
2817
  claim: "claim";
2816
- quiz: "quiz";
2817
- photo: "photo";
2818
2818
  }>;
2819
2819
  lifecycle: z.ZodEnum<{
2820
- paused: "paused";
2821
2820
  active: "active";
2821
+ paused: "paused";
2822
2822
  archived: "archived";
2823
2823
  }>;
2824
2824
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2904,9 +2904,9 @@ declare const questExperienceSchema: z.ZodObject<{
2904
2904
  }, z.core.$strict>, z.ZodObject<{
2905
2905
  kind: z.ZodLiteral<"manual">;
2906
2906
  input: z.ZodEnum<{
2907
- none: "none";
2908
2907
  quiz: "quiz";
2909
2908
  photo: "photo";
2909
+ none: "none";
2910
2910
  }>;
2911
2911
  actor: z.ZodOptional<z.ZodEnum<{
2912
2912
  member: "member";
@@ -2925,8 +2925,8 @@ declare const questExperienceSchema: z.ZodObject<{
2925
2925
  end: z.ZodOptional<z.ZodNumber>;
2926
2926
  }, z.core.$strict>;
2927
2927
  enrollment: z.ZodDefault<z.ZodEnum<{
2928
- none: "none";
2929
2928
  required: "required";
2929
+ none: "none";
2930
2930
  }>>;
2931
2931
  posts: z.ZodDefault<z.ZodEnum<{
2932
2932
  "after-enrollment": "after-enrollment";
@@ -2953,11 +2953,11 @@ declare const questExperienceSchema: z.ZodObject<{
2953
2953
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2954
2954
  kind: z.ZodLiteral<"available">;
2955
2955
  input: z.ZodEnum<{
2956
- text: "text";
2957
- url: "url";
2958
- none: "none";
2959
2956
  quiz: "quiz";
2957
+ url: "url";
2958
+ text: "text";
2960
2959
  photo: "photo";
2960
+ none: "none";
2961
2961
  }>;
2962
2962
  }, z.core.$strict>, z.ZodObject<{
2963
2963
  kind: z.ZodLiteral<"completed">;
@@ -3027,8 +3027,8 @@ declare const questExperienceSchema: z.ZodObject<{
3027
3027
  }, z.core.$strip>>>;
3028
3028
  completionCount: z.ZodDefault<z.ZodNumber>;
3029
3029
  visibility: z.ZodDefault<z.ZodEnum<{
3030
- visible: "visible";
3031
3030
  hidden: "hidden";
3031
+ visible: "visible";
3032
3032
  }>>;
3033
3033
  missing: z.ZodArray<z.ZodObject<{
3034
3034
  quest: z.ZodString;
@@ -3055,12 +3055,12 @@ declare const questExperienceSchema: z.ZodObject<{
3055
3055
  }, z.core.$strict>]>>;
3056
3056
  status: z.ZodEnum<{
3057
3057
  "needs-review": "needs-review";
3058
- failed: "failed";
3059
3058
  queued: "queued";
3060
3059
  evaluating: "evaluating";
3061
3060
  accepted: "accepted";
3062
3061
  progressed: "progressed";
3063
3062
  rejected: "rejected";
3063
+ failed: "failed";
3064
3064
  }>;
3065
3065
  reason: z.ZodNullable<z.ZodString>;
3066
3066
  retries: z.ZodNumber;
@@ -3097,17 +3097,17 @@ declare const questExperienceSchema: z.ZodObject<{
3097
3097
  }, z.core.$strip>>;
3098
3098
  release: z.ZodString;
3099
3099
  interaction: z.ZodEnum<{
3100
- staff: "staff";
3101
- text: "text";
3100
+ quiz: "quiz";
3102
3101
  url: "url";
3102
+ text: "text";
3103
+ staff: "staff";
3104
+ photo: "photo";
3103
3105
  automatic: "automatic";
3104
3106
  claim: "claim";
3105
- quiz: "quiz";
3106
- photo: "photo";
3107
3107
  }>;
3108
3108
  lifecycle: z.ZodEnum<{
3109
- paused: "paused";
3110
3109
  active: "active";
3110
+ paused: "paused";
3111
3111
  archived: "archived";
3112
3112
  }>;
3113
3113
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3161,8 +3161,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3161
3161
  }, z.core.$strict>>]>>;
3162
3162
  requires: z.ZodArray<z.ZodString>;
3163
3163
  status: z.ZodEnum<{
3164
- paused: "paused";
3165
3164
  active: "active";
3165
+ paused: "paused";
3166
3166
  archived: "archived";
3167
3167
  }>;
3168
3168
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -3195,8 +3195,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3195
3195
  }, z.core.$strict>>]>>;
3196
3196
  requires: z.ZodArray<z.ZodString>;
3197
3197
  status: z.ZodEnum<{
3198
- paused: "paused";
3199
3198
  active: "active";
3199
+ paused: "paused";
3200
3200
  archived: "archived";
3201
3201
  }>;
3202
3202
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -3371,9 +3371,9 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3371
3371
  }, z.core.$strict>, z.ZodObject<{
3372
3372
  kind: z.ZodLiteral<"manual">;
3373
3373
  input: z.ZodEnum<{
3374
- none: "none";
3375
3374
  quiz: "quiz";
3376
3375
  photo: "photo";
3376
+ none: "none";
3377
3377
  }>;
3378
3378
  actor: z.ZodOptional<z.ZodEnum<{
3379
3379
  member: "member";
@@ -3392,8 +3392,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3392
3392
  end: z.ZodOptional<z.ZodNumber>;
3393
3393
  }, z.core.$strict>;
3394
3394
  enrollment: z.ZodDefault<z.ZodEnum<{
3395
- none: "none";
3396
3395
  required: "required";
3396
+ none: "none";
3397
3397
  }>>;
3398
3398
  posts: z.ZodDefault<z.ZodEnum<{
3399
3399
  "after-enrollment": "after-enrollment";
@@ -3442,14 +3442,14 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3442
3442
  kind: z.ZodLiteral<"keyed">;
3443
3443
  }, z.core.$strict>], "kind">;
3444
3444
  visibility: z.ZodDefault<z.ZodEnum<{
3445
- visible: "visible";
3446
3445
  hidden: "hidden";
3446
+ visible: "visible";
3447
3447
  }>>;
3448
3448
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
3449
3449
  id: z.ZodString;
3450
3450
  scope: z.ZodEnum<{
3451
- project: "project";
3452
3451
  member: "member";
3452
+ project: "project";
3453
3453
  }>;
3454
3454
  period: z.ZodEnum<{
3455
3455
  day: "day";
@@ -3477,8 +3477,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3477
3477
  typeVersion: z.ZodString;
3478
3478
  }, z.core.$strict>>;
3479
3479
  lifecycle: z.ZodDefault<z.ZodEnum<{
3480
- paused: "paused";
3481
3480
  active: "active";
3481
+ paused: "paused";
3482
3482
  archived: "archived";
3483
3483
  }>>;
3484
3484
  configuration: z.ZodOptional<z.ZodObject<{
@@ -3546,7 +3546,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3546
3546
  createdAt: z.ZodNumber;
3547
3547
  }, z.core.$strip>, z.ZodTransform<{
3548
3548
  quest: string;
3549
- runtimeVersion: 2 | 1;
3549
+ runtimeVersion: 1 | 2;
3550
3550
  title: string;
3551
3551
  presentation: {
3552
3552
  quiz?: {
@@ -3685,7 +3685,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3685
3685
  start: number;
3686
3686
  end?: number | undefined;
3687
3687
  };
3688
- enrollment: "none" | "required";
3688
+ enrollment: "required" | "none";
3689
3689
  posts: "after-enrollment" | "since-start";
3690
3690
  historical: "staff" | "automatic" | "claim";
3691
3691
  } | undefined;
@@ -3713,7 +3713,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3713
3713
  actor?: "member" | "staff" | undefined;
3714
3714
  } | {
3715
3715
  kind: "manual";
3716
- input: "none" | "quiz" | "photo";
3716
+ input: "quiz" | "photo" | "none";
3717
3717
  actor?: "member" | "staff" | undefined;
3718
3718
  };
3719
3719
  requires: {
@@ -3729,10 +3729,10 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3729
3729
  } | {
3730
3730
  kind: "keyed";
3731
3731
  };
3732
- visibility: "visible" | "hidden";
3732
+ visibility: "hidden" | "visible";
3733
3733
  budgets: {
3734
3734
  id: string;
3735
- scope: "project" | "member";
3735
+ scope: "member" | "project";
3736
3736
  period: "day" | "lifetime" | "week";
3737
3737
  limit: number;
3738
3738
  cost: number | {
@@ -3744,7 +3744,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3744
3744
  id: string;
3745
3745
  createdAt: number;
3746
3746
  legacy: boolean;
3747
- lifecycle: "paused" | "active" | "archived";
3747
+ lifecycle: "active" | "paused" | "archived";
3748
3748
  performance?: {
3749
3749
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3750
3750
  maxAgeMs: number;
@@ -4398,12 +4398,6 @@ declare function questConfiguration(release: PublishedRelease): {
4398
4398
 
4399
4399
  /** Non-quest resources in the private hosted-build catalog artifact. */
4400
4400
  declare const projectCatalogArtifactSchema: z.ZodObject<{
4401
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4402
- code: z.ZodString;
4403
- provider: z.ZodEnum<{
4404
- "workers-ai": "workers-ai";
4405
- }>;
4406
- }, z.core.$strip>>>;
4407
4401
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
4408
4402
  title: z.ZodString;
4409
4403
  key: z.ZodOptional<z.ZodString>;
@@ -4412,21 +4406,27 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4412
4406
  title: string;
4413
4407
  key?: string | undefined;
4414
4408
  id?: string | undefined;
4415
- }, "id" | "key"> & {
4409
+ }, "key" | "id"> & {
4416
4410
  key: string;
4417
4411
  }, {
4418
4412
  title: string;
4419
4413
  key?: string | undefined;
4420
4414
  id?: string | undefined;
4421
4415
  }>>>>;
4416
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4417
+ code: z.ZodString;
4418
+ provider: z.ZodEnum<{
4419
+ "workers-ai": "workers-ai";
4420
+ }>;
4421
+ }, z.core.$strip>>>;
4422
4422
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4423
- staff: "staff";
4424
- text: "text";
4423
+ quiz: "quiz";
4425
4424
  url: "url";
4425
+ text: "text";
4426
+ staff: "staff";
4427
+ photo: "photo";
4426
4428
  automatic: "automatic";
4427
4429
  claim: "claim";
4428
- quiz: "quiz";
4429
- photo: "photo";
4430
4430
  }>>>;
4431
4431
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
4432
4432
  code: z.ZodString;
@@ -4458,14 +4458,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4458
4458
  }, z.core.$strict>>>;
4459
4459
  referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4460
4460
  title: z.ZodString;
4461
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
4462
- kind: z.ZodLiteral<"signup">;
4463
- }, z.core.$strict>, z.ZodObject<{
4464
- kind: z.ZodLiteral<"quest">;
4465
- quest: z.ZodString;
4466
- }, z.core.$strict>, z.ZodObject<{
4467
- kind: z.ZodLiteral<"external">;
4468
- }, z.core.$strict>], "kind">;
4469
4461
  rewards: z.ZodDefault<z.ZodObject<{
4470
4462
  inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4471
4463
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -4512,6 +4504,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4512
4504
  tier: z.ZodString;
4513
4505
  }, z.core.$strict>]>>>;
4514
4506
  }, z.core.$strict>>;
4507
+ qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
4508
+ kind: z.ZodLiteral<"signup">;
4509
+ }, z.core.$strict>, z.ZodObject<{
4510
+ kind: z.ZodLiteral<"quest">;
4511
+ quest: z.ZodString;
4512
+ }, z.core.$strict>, z.ZodObject<{
4513
+ kind: z.ZodLiteral<"external">;
4514
+ }, z.core.$strict>], "kind">;
4515
4515
  enabled: z.ZodDefault<z.ZodBoolean>;
4516
4516
  inviterGroup: z.ZodOptional<z.ZodString>;
4517
4517
  milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4553,14 +4553,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4553
4553
  id: z.ZodOptional<z.ZodString>;
4554
4554
  }, z.core.$strict>, z.ZodTransform<Omit<{
4555
4555
  title: string;
4556
- qualification: {
4557
- kind: "signup";
4558
- } | {
4559
- kind: "quest";
4560
- quest: string;
4561
- } | {
4562
- kind: "external";
4563
- };
4564
4556
  rewards: {
4565
4557
  inviter: ({
4566
4558
  kind: "tier";
@@ -4607,6 +4599,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4607
4599
  amount: number;
4608
4600
  })[];
4609
4601
  };
4602
+ qualification: {
4603
+ kind: "signup";
4604
+ } | {
4605
+ kind: "quest";
4606
+ quest: string;
4607
+ } | {
4608
+ kind: "external";
4609
+ };
4610
4610
  enabled: boolean;
4611
4611
  milestones: {
4612
4612
  id: string;
@@ -4646,18 +4646,10 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4646
4646
  inviterGroup?: string | undefined;
4647
4647
  key?: string | undefined;
4648
4648
  id?: string | undefined;
4649
- }, "id" | "key"> & {
4649
+ }, "key" | "id"> & {
4650
4650
  key: string;
4651
4651
  }, {
4652
4652
  title: string;
4653
- qualification: {
4654
- kind: "signup";
4655
- } | {
4656
- kind: "quest";
4657
- quest: string;
4658
- } | {
4659
- kind: "external";
4660
- };
4661
4653
  rewards: {
4662
4654
  inviter: ({
4663
4655
  kind: "tier";
@@ -4704,6 +4696,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4704
4696
  amount: number;
4705
4697
  })[];
4706
4698
  };
4699
+ qualification: {
4700
+ kind: "signup";
4701
+ } | {
4702
+ kind: "quest";
4703
+ quest: string;
4704
+ } | {
4705
+ kind: "external";
4706
+ };
4707
4707
  enabled: boolean;
4708
4708
  milestones: {
4709
4709
  id: string;
@@ -4843,7 +4843,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4843
4843
  group?: string | undefined;
4844
4844
  key?: string | undefined;
4845
4845
  id?: string | undefined;
4846
- }, "id" | "key"> & {
4846
+ }, "key" | "id"> & {
4847
4847
  key: string;
4848
4848
  }, {
4849
4849
  title: string;
@@ -4900,12 +4900,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4900
4900
  }, z.core.$strict>;
4901
4901
  /** One manifest bundle. Missing entries never delete remotely owned resources. */
4902
4902
  declare const projectDeploymentSchema: z.ZodObject<{
4903
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4904
- code: z.ZodString;
4905
- provider: z.ZodEnum<{
4906
- "workers-ai": "workers-ai";
4907
- }>;
4908
- }, z.core.$strip>>>;
4909
4903
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
4910
4904
  title: z.ZodString;
4911
4905
  key: z.ZodOptional<z.ZodString>;
@@ -4914,21 +4908,27 @@ declare const projectDeploymentSchema: z.ZodObject<{
4914
4908
  title: string;
4915
4909
  key?: string | undefined;
4916
4910
  id?: string | undefined;
4917
- }, "id" | "key"> & {
4911
+ }, "key" | "id"> & {
4918
4912
  key: string;
4919
4913
  }, {
4920
4914
  title: string;
4921
4915
  key?: string | undefined;
4922
4916
  id?: string | undefined;
4923
4917
  }>>>>;
4918
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4919
+ code: z.ZodString;
4920
+ provider: z.ZodEnum<{
4921
+ "workers-ai": "workers-ai";
4922
+ }>;
4923
+ }, z.core.$strip>>>;
4924
4924
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4925
- staff: "staff";
4926
- text: "text";
4925
+ quiz: "quiz";
4927
4926
  url: "url";
4927
+ text: "text";
4928
+ staff: "staff";
4929
+ photo: "photo";
4928
4930
  automatic: "automatic";
4929
4931
  claim: "claim";
4930
- quiz: "quiz";
4931
- photo: "photo";
4932
4932
  }>>>;
4933
4933
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
4934
4934
  code: z.ZodString;
@@ -4960,14 +4960,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
4960
4960
  }, z.core.$strict>>>;
4961
4961
  referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4962
4962
  title: z.ZodString;
4963
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
4964
- kind: z.ZodLiteral<"signup">;
4965
- }, z.core.$strict>, z.ZodObject<{
4966
- kind: z.ZodLiteral<"quest">;
4967
- quest: z.ZodString;
4968
- }, z.core.$strict>, z.ZodObject<{
4969
- kind: z.ZodLiteral<"external">;
4970
- }, z.core.$strict>], "kind">;
4971
4963
  rewards: z.ZodDefault<z.ZodObject<{
4972
4964
  inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4973
4965
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -5014,6 +5006,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5014
5006
  tier: z.ZodString;
5015
5007
  }, z.core.$strict>]>>>;
5016
5008
  }, z.core.$strict>>;
5009
+ qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
5010
+ kind: z.ZodLiteral<"signup">;
5011
+ }, z.core.$strict>, z.ZodObject<{
5012
+ kind: z.ZodLiteral<"quest">;
5013
+ quest: z.ZodString;
5014
+ }, z.core.$strict>, z.ZodObject<{
5015
+ kind: z.ZodLiteral<"external">;
5016
+ }, z.core.$strict>], "kind">;
5017
5017
  enabled: z.ZodDefault<z.ZodBoolean>;
5018
5018
  inviterGroup: z.ZodOptional<z.ZodString>;
5019
5019
  milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -5055,14 +5055,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5055
5055
  id: z.ZodOptional<z.ZodString>;
5056
5056
  }, z.core.$strict>, z.ZodTransform<Omit<{
5057
5057
  title: string;
5058
- qualification: {
5059
- kind: "signup";
5060
- } | {
5061
- kind: "quest";
5062
- quest: string;
5063
- } | {
5064
- kind: "external";
5065
- };
5066
5058
  rewards: {
5067
5059
  inviter: ({
5068
5060
  kind: "tier";
@@ -5109,6 +5101,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5109
5101
  amount: number;
5110
5102
  })[];
5111
5103
  };
5104
+ qualification: {
5105
+ kind: "signup";
5106
+ } | {
5107
+ kind: "quest";
5108
+ quest: string;
5109
+ } | {
5110
+ kind: "external";
5111
+ };
5112
5112
  enabled: boolean;
5113
5113
  milestones: {
5114
5114
  id: string;
@@ -5148,18 +5148,10 @@ declare const projectDeploymentSchema: z.ZodObject<{
5148
5148
  inviterGroup?: string | undefined;
5149
5149
  key?: string | undefined;
5150
5150
  id?: string | undefined;
5151
- }, "id" | "key"> & {
5151
+ }, "key" | "id"> & {
5152
5152
  key: string;
5153
5153
  }, {
5154
5154
  title: string;
5155
- qualification: {
5156
- kind: "signup";
5157
- } | {
5158
- kind: "quest";
5159
- quest: string;
5160
- } | {
5161
- kind: "external";
5162
- };
5163
5155
  rewards: {
5164
5156
  inviter: ({
5165
5157
  kind: "tier";
@@ -5206,6 +5198,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5206
5198
  amount: number;
5207
5199
  })[];
5208
5200
  };
5201
+ qualification: {
5202
+ kind: "signup";
5203
+ } | {
5204
+ kind: "quest";
5205
+ quest: string;
5206
+ } | {
5207
+ kind: "external";
5208
+ };
5209
5209
  enabled: boolean;
5210
5210
  milestones: {
5211
5211
  id: string;
@@ -5345,7 +5345,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
5345
5345
  group?: string | undefined;
5346
5346
  key?: string | undefined;
5347
5347
  id?: string | undefined;
5348
- }, "id" | "key"> & {
5348
+ }, "key" | "id"> & {
5349
5349
  key: string;
5350
5350
  }, {
5351
5351
  title: string;
@@ -5729,9 +5729,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5729
5729
  }, z.core.$strict>, z.ZodObject<{
5730
5730
  kind: z.ZodLiteral<"manual">;
5731
5731
  input: z.ZodEnum<{
5732
- none: "none";
5733
5732
  quiz: "quiz";
5734
5733
  photo: "photo";
5734
+ none: "none";
5735
5735
  }>;
5736
5736
  actor: z.ZodOptional<z.ZodEnum<{
5737
5737
  member: "member";
@@ -5750,8 +5750,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5750
5750
  end: z.ZodOptional<z.ZodNumber>;
5751
5751
  }, z.core.$strict>;
5752
5752
  enrollment: z.ZodDefault<z.ZodEnum<{
5753
- none: "none";
5754
5753
  required: "required";
5754
+ none: "none";
5755
5755
  }>>;
5756
5756
  posts: z.ZodDefault<z.ZodEnum<{
5757
5757
  "after-enrollment": "after-enrollment";
@@ -5800,14 +5800,14 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5800
5800
  kind: z.ZodLiteral<"keyed">;
5801
5801
  }, z.core.$strict>], "kind">;
5802
5802
  visibility: z.ZodDefault<z.ZodEnum<{
5803
- visible: "visible";
5804
5803
  hidden: "hidden";
5804
+ visible: "visible";
5805
5805
  }>>;
5806
5806
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
5807
5807
  id: z.ZodString;
5808
5808
  scope: z.ZodEnum<{
5809
- project: "project";
5810
5809
  member: "member";
5810
+ project: "project";
5811
5811
  }>;
5812
5812
  period: z.ZodEnum<{
5813
5813
  day: "day";
@@ -5835,8 +5835,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5835
5835
  typeVersion: z.ZodString;
5836
5836
  }, z.core.$strict>>;
5837
5837
  lifecycle: z.ZodDefault<z.ZodEnum<{
5838
- paused: "paused";
5839
5838
  active: "active";
5839
+ paused: "paused";
5840
5840
  archived: "archived";
5841
5841
  }>>;
5842
5842
  configuration: z.ZodOptional<z.ZodObject<{
@@ -5904,7 +5904,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5904
5904
  createdAt: z.ZodNumber;
5905
5905
  }, z.core.$strip>, z.ZodTransform<{
5906
5906
  quest: string;
5907
- runtimeVersion: 2 | 1;
5907
+ runtimeVersion: 1 | 2;
5908
5908
  title: string;
5909
5909
  presentation: {
5910
5910
  quiz?: {
@@ -6043,7 +6043,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6043
6043
  start: number;
6044
6044
  end?: number | undefined;
6045
6045
  };
6046
- enrollment: "none" | "required";
6046
+ enrollment: "required" | "none";
6047
6047
  posts: "after-enrollment" | "since-start";
6048
6048
  historical: "staff" | "automatic" | "claim";
6049
6049
  } | undefined;
@@ -6071,7 +6071,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6071
6071
  actor?: "member" | "staff" | undefined;
6072
6072
  } | {
6073
6073
  kind: "manual";
6074
- input: "none" | "quiz" | "photo";
6074
+ input: "quiz" | "photo" | "none";
6075
6075
  actor?: "member" | "staff" | undefined;
6076
6076
  };
6077
6077
  requires: {
@@ -6087,10 +6087,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6087
6087
  } | {
6088
6088
  kind: "keyed";
6089
6089
  };
6090
- visibility: "visible" | "hidden";
6090
+ visibility: "hidden" | "visible";
6091
6091
  budgets: {
6092
6092
  id: string;
6093
- scope: "project" | "member";
6093
+ scope: "member" | "project";
6094
6094
  period: "day" | "lifetime" | "week";
6095
6095
  limit: number;
6096
6096
  cost: number | {
@@ -6102,7 +6102,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6102
6102
  id: string;
6103
6103
  createdAt: number;
6104
6104
  legacy: boolean;
6105
- lifecycle: "paused" | "active" | "archived";
6105
+ lifecycle: "active" | "paused" | "archived";
6106
6106
  performance?: {
6107
6107
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
6108
6108
  maxAgeMs: number;
@@ -6334,9 +6334,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6334
6334
  }, z.core.$strict>, z.ZodObject<{
6335
6335
  kind: z.ZodLiteral<"manual">;
6336
6336
  input: z.ZodEnum<{
6337
- none: "none";
6338
6337
  quiz: "quiz";
6339
6338
  photo: "photo";
6339
+ none: "none";
6340
6340
  }>;
6341
6341
  actor: z.ZodOptional<z.ZodEnum<{
6342
6342
  member: "member";
@@ -6355,8 +6355,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6355
6355
  end: z.ZodOptional<z.ZodNumber>;
6356
6356
  }, z.core.$strict>;
6357
6357
  enrollment: z.ZodDefault<z.ZodEnum<{
6358
- none: "none";
6359
6358
  required: "required";
6359
+ none: "none";
6360
6360
  }>>;
6361
6361
  posts: z.ZodDefault<z.ZodEnum<{
6362
6362
  "after-enrollment": "after-enrollment";
@@ -6405,14 +6405,14 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6405
6405
  kind: z.ZodLiteral<"keyed">;
6406
6406
  }, z.core.$strict>], "kind">;
6407
6407
  visibility: z.ZodDefault<z.ZodEnum<{
6408
- visible: "visible";
6409
6408
  hidden: "hidden";
6409
+ visible: "visible";
6410
6410
  }>>;
6411
6411
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
6412
6412
  id: z.ZodString;
6413
6413
  scope: z.ZodEnum<{
6414
- project: "project";
6415
6414
  member: "member";
6415
+ project: "project";
6416
6416
  }>;
6417
6417
  period: z.ZodEnum<{
6418
6418
  day: "day";
@@ -6441,13 +6441,13 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6441
6441
  quests: z.ZodArray<z.ZodString>;
6442
6442
  }, z.core.$strict>>;
6443
6443
  supportedInteractions: z.ZodArray<z.ZodEnum<{
6444
- staff: "staff";
6445
- text: "text";
6444
+ quiz: "quiz";
6446
6445
  url: "url";
6446
+ text: "text";
6447
+ staff: "staff";
6448
+ photo: "photo";
6447
6449
  automatic: "automatic";
6448
6450
  claim: "claim";
6449
- quiz: "quiz";
6450
- photo: "photo";
6451
6451
  }>>;
6452
6452
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
6453
6453
  version: z.ZodString;
@@ -7144,9 +7144,9 @@ declare const deploymentResultSchema: z.ZodObject<{
7144
7144
  }, z.core.$strict>, z.ZodObject<{
7145
7145
  kind: z.ZodLiteral<"manual">;
7146
7146
  input: z.ZodEnum<{
7147
- none: "none";
7148
7147
  quiz: "quiz";
7149
7148
  photo: "photo";
7149
+ none: "none";
7150
7150
  }>;
7151
7151
  actor: z.ZodOptional<z.ZodEnum<{
7152
7152
  member: "member";
@@ -7165,8 +7165,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7165
7165
  end: z.ZodOptional<z.ZodNumber>;
7166
7166
  }, z.core.$strict>;
7167
7167
  enrollment: z.ZodDefault<z.ZodEnum<{
7168
- none: "none";
7169
7168
  required: "required";
7169
+ none: "none";
7170
7170
  }>>;
7171
7171
  posts: z.ZodDefault<z.ZodEnum<{
7172
7172
  "after-enrollment": "after-enrollment";
@@ -7215,14 +7215,14 @@ declare const deploymentResultSchema: z.ZodObject<{
7215
7215
  kind: z.ZodLiteral<"keyed">;
7216
7216
  }, z.core.$strict>], "kind">;
7217
7217
  visibility: z.ZodDefault<z.ZodEnum<{
7218
- visible: "visible";
7219
7218
  hidden: "hidden";
7219
+ visible: "visible";
7220
7220
  }>>;
7221
7221
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
7222
7222
  id: z.ZodString;
7223
7223
  scope: z.ZodEnum<{
7224
- project: "project";
7225
7224
  member: "member";
7225
+ project: "project";
7226
7226
  }>;
7227
7227
  period: z.ZodEnum<{
7228
7228
  day: "day";
@@ -7250,8 +7250,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7250
7250
  typeVersion: z.ZodString;
7251
7251
  }, z.core.$strict>>;
7252
7252
  lifecycle: z.ZodDefault<z.ZodEnum<{
7253
- paused: "paused";
7254
7253
  active: "active";
7254
+ paused: "paused";
7255
7255
  archived: "archived";
7256
7256
  }>>;
7257
7257
  configuration: z.ZodOptional<z.ZodObject<{
@@ -7319,7 +7319,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7319
7319
  createdAt: z.ZodNumber;
7320
7320
  }, z.core.$strip>, z.ZodTransform<{
7321
7321
  quest: string;
7322
- runtimeVersion: 2 | 1;
7322
+ runtimeVersion: 1 | 2;
7323
7323
  title: string;
7324
7324
  presentation: {
7325
7325
  quiz?: {
@@ -7458,7 +7458,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7458
7458
  start: number;
7459
7459
  end?: number | undefined;
7460
7460
  };
7461
- enrollment: "none" | "required";
7461
+ enrollment: "required" | "none";
7462
7462
  posts: "after-enrollment" | "since-start";
7463
7463
  historical: "staff" | "automatic" | "claim";
7464
7464
  } | undefined;
@@ -7486,7 +7486,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7486
7486
  actor?: "member" | "staff" | undefined;
7487
7487
  } | {
7488
7488
  kind: "manual";
7489
- input: "none" | "quiz" | "photo";
7489
+ input: "quiz" | "photo" | "none";
7490
7490
  actor?: "member" | "staff" | undefined;
7491
7491
  };
7492
7492
  requires: {
@@ -7502,10 +7502,10 @@ declare const deploymentResultSchema: z.ZodObject<{
7502
7502
  } | {
7503
7503
  kind: "keyed";
7504
7504
  };
7505
- visibility: "visible" | "hidden";
7505
+ visibility: "hidden" | "visible";
7506
7506
  budgets: {
7507
7507
  id: string;
7508
- scope: "project" | "member";
7508
+ scope: "member" | "project";
7509
7509
  period: "day" | "lifetime" | "week";
7510
7510
  limit: number;
7511
7511
  cost: number | {
@@ -7517,7 +7517,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7517
7517
  id: string;
7518
7518
  createdAt: number;
7519
7519
  legacy: boolean;
7520
- lifecycle: "paused" | "active" | "archived";
7520
+ lifecycle: "active" | "paused" | "archived";
7521
7521
  performance?: {
7522
7522
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
7523
7523
  maxAgeMs: number;
@@ -7749,9 +7749,9 @@ declare const deploymentResultSchema: z.ZodObject<{
7749
7749
  }, z.core.$strict>, z.ZodObject<{
7750
7750
  kind: z.ZodLiteral<"manual">;
7751
7751
  input: z.ZodEnum<{
7752
- none: "none";
7753
7752
  quiz: "quiz";
7754
7753
  photo: "photo";
7754
+ none: "none";
7755
7755
  }>;
7756
7756
  actor: z.ZodOptional<z.ZodEnum<{
7757
7757
  member: "member";
@@ -7770,8 +7770,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7770
7770
  end: z.ZodOptional<z.ZodNumber>;
7771
7771
  }, z.core.$strict>;
7772
7772
  enrollment: z.ZodDefault<z.ZodEnum<{
7773
- none: "none";
7774
7773
  required: "required";
7774
+ none: "none";
7775
7775
  }>>;
7776
7776
  posts: z.ZodDefault<z.ZodEnum<{
7777
7777
  "after-enrollment": "after-enrollment";
@@ -7820,14 +7820,14 @@ declare const deploymentResultSchema: z.ZodObject<{
7820
7820
  kind: z.ZodLiteral<"keyed">;
7821
7821
  }, z.core.$strict>], "kind">;
7822
7822
  visibility: z.ZodDefault<z.ZodEnum<{
7823
- visible: "visible";
7824
7823
  hidden: "hidden";
7824
+ visible: "visible";
7825
7825
  }>>;
7826
7826
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
7827
7827
  id: z.ZodString;
7828
7828
  scope: z.ZodEnum<{
7829
- project: "project";
7830
7829
  member: "member";
7830
+ project: "project";
7831
7831
  }>;
7832
7832
  period: z.ZodEnum<{
7833
7833
  day: "day";
@@ -7856,13 +7856,13 @@ declare const deploymentResultSchema: z.ZodObject<{
7856
7856
  quests: z.ZodArray<z.ZodString>;
7857
7857
  }, z.core.$strict>>;
7858
7858
  supportedInteractions: z.ZodArray<z.ZodEnum<{
7859
- staff: "staff";
7860
- text: "text";
7859
+ quiz: "quiz";
7861
7860
  url: "url";
7861
+ text: "text";
7862
+ staff: "staff";
7863
+ photo: "photo";
7862
7864
  automatic: "automatic";
7863
7865
  claim: "claim";
7864
- quiz: "quiz";
7865
- photo: "photo";
7866
7866
  }>>;
7867
7867
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
7868
7868
  version: z.ZodString;
@@ -8496,7 +8496,7 @@ declare function createRelayClient(options: {
8496
8496
  accounts: {
8497
8497
  id: string;
8498
8498
  program: string;
8499
- kind: "fixed" | "milestone" | "bonus";
8499
+ kind: "milestone" | "fixed" | "bonus";
8500
8500
  balance: string;
8501
8501
  earned: number;
8502
8502
  settled: number;
@@ -8863,7 +8863,7 @@ declare function createRelayClient(options: {
8863
8863
  start: number;
8864
8864
  end?: number | undefined;
8865
8865
  };
8866
- enrollment: "none" | "required";
8866
+ enrollment: "required" | "none";
8867
8867
  posts: "after-enrollment" | "since-start";
8868
8868
  historical: "staff" | "automatic" | "claim";
8869
8869
  } | undefined;
@@ -8891,12 +8891,12 @@ declare function createRelayClient(options: {
8891
8891
  actor?: "member" | "staff" | undefined;
8892
8892
  } | {
8893
8893
  kind: "manual";
8894
- input: "none" | "quiz" | "photo";
8894
+ input: "quiz" | "photo" | "none";
8895
8895
  actor?: "member" | "staff" | undefined;
8896
8896
  };
8897
8897
  availability: {
8898
8898
  kind: "available";
8899
- input: "text" | "url" | "none" | "quiz" | "photo";
8899
+ input: "quiz" | "url" | "text" | "photo" | "none";
8900
8900
  } | {
8901
8901
  kind: "completed";
8902
8902
  } | {
@@ -8934,7 +8934,7 @@ declare function createRelayClient(options: {
8934
8934
  kind: "keyed";
8935
8935
  };
8936
8936
  completionCount: number;
8937
- visibility: "visible" | "hidden";
8937
+ visibility: "hidden" | "visible";
8938
8938
  missing: {
8939
8939
  quest: string;
8940
8940
  title: string;
@@ -8945,7 +8945,7 @@ declare function createRelayClient(options: {
8945
8945
  quest: string;
8946
8946
  member: string;
8947
8947
  evidence: string | null;
8948
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
8948
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
8949
8949
  reason: string | null;
8950
8950
  retries: number;
8951
8951
  generation: number;
@@ -8979,22 +8979,22 @@ declare function createRelayClient(options: {
8979
8979
  })[] | null;
8980
8980
  createdAt: number;
8981
8981
  input?: {
8982
- kind: "text";
8983
- value: string;
8984
- } | {
8985
- kind: "url";
8986
- value: string;
8987
- } | {
8988
8982
  kind: "quiz";
8989
8983
  answers: {
8990
8984
  [k: string]: string;
8991
8985
  };
8992
8986
  release?: string | undefined;
8987
+ } | {
8988
+ kind: "text";
8989
+ value: string;
8990
+ } | {
8991
+ kind: "url";
8992
+ value: string;
8993
8993
  } | undefined;
8994
8994
  } | null;
8995
8995
  release: string;
8996
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
8997
- lifecycle: "paused" | "active" | "archived";
8996
+ interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
8997
+ lifecycle: "active" | "paused" | "archived";
8998
8998
  rewards: ({
8999
8999
  kind: "points";
9000
9000
  label: string;
@@ -9055,7 +9055,7 @@ declare function createRelayClient(options: {
9055
9055
  quest: string;
9056
9056
  member: string;
9057
9057
  evidence: string | null;
9058
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9058
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
9059
9059
  reason: string | null;
9060
9060
  retries: number;
9061
9061
  generation: number;
@@ -9089,17 +9089,17 @@ declare function createRelayClient(options: {
9089
9089
  })[] | null;
9090
9090
  createdAt: number;
9091
9091
  input?: {
9092
- kind: "text";
9093
- value: string;
9094
- } | {
9095
- kind: "url";
9096
- value: string;
9097
- } | {
9098
9092
  kind: "quiz";
9099
9093
  answers: {
9100
9094
  [k: string]: string;
9101
9095
  };
9102
9096
  release?: string | undefined;
9097
+ } | {
9098
+ kind: "text";
9099
+ value: string;
9100
+ } | {
9101
+ kind: "url";
9102
+ value: string;
9103
9103
  } | undefined;
9104
9104
  }>;
9105
9105
  experience: () => Promise<{
@@ -9140,7 +9140,7 @@ declare function createRelayClient(options: {
9140
9140
  start: number;
9141
9141
  end?: number | undefined;
9142
9142
  };
9143
- enrollment: "none" | "required";
9143
+ enrollment: "required" | "none";
9144
9144
  posts: "after-enrollment" | "since-start";
9145
9145
  historical: "staff" | "automatic" | "claim";
9146
9146
  } | undefined;
@@ -9168,12 +9168,12 @@ declare function createRelayClient(options: {
9168
9168
  actor?: "member" | "staff" | undefined;
9169
9169
  } | {
9170
9170
  kind: "manual";
9171
- input: "none" | "quiz" | "photo";
9171
+ input: "quiz" | "photo" | "none";
9172
9172
  actor?: "member" | "staff" | undefined;
9173
9173
  };
9174
9174
  availability: {
9175
9175
  kind: "available";
9176
- input: "text" | "url" | "none" | "quiz" | "photo";
9176
+ input: "quiz" | "url" | "text" | "photo" | "none";
9177
9177
  } | {
9178
9178
  kind: "completed";
9179
9179
  } | {
@@ -9211,7 +9211,7 @@ declare function createRelayClient(options: {
9211
9211
  kind: "keyed";
9212
9212
  };
9213
9213
  completionCount: number;
9214
- visibility: "visible" | "hidden";
9214
+ visibility: "hidden" | "visible";
9215
9215
  missing: {
9216
9216
  quest: string;
9217
9217
  title: string;
@@ -9222,7 +9222,7 @@ declare function createRelayClient(options: {
9222
9222
  quest: string;
9223
9223
  member: string;
9224
9224
  evidence: string | null;
9225
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9225
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
9226
9226
  reason: string | null;
9227
9227
  retries: number;
9228
9228
  generation: number;
@@ -9256,22 +9256,22 @@ declare function createRelayClient(options: {
9256
9256
  })[] | null;
9257
9257
  createdAt: number;
9258
9258
  input?: {
9259
- kind: "text";
9260
- value: string;
9261
- } | {
9262
- kind: "url";
9263
- value: string;
9264
- } | {
9265
9259
  kind: "quiz";
9266
9260
  answers: {
9267
9261
  [k: string]: string;
9268
9262
  };
9269
9263
  release?: string | undefined;
9264
+ } | {
9265
+ kind: "text";
9266
+ value: string;
9267
+ } | {
9268
+ kind: "url";
9269
+ value: string;
9270
9270
  } | undefined;
9271
9271
  } | null;
9272
9272
  release: string;
9273
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9274
- lifecycle: "paused" | "active" | "archived";
9273
+ interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
9274
+ lifecycle: "active" | "paused" | "archived";
9275
9275
  rewards: ({
9276
9276
  kind: "points";
9277
9277
  label: string;
@@ -9365,7 +9365,7 @@ declare function createRelayClient(options: {
9365
9365
  start: number;
9366
9366
  end?: number | undefined;
9367
9367
  };
9368
- enrollment: "none" | "required";
9368
+ enrollment: "required" | "none";
9369
9369
  posts: "after-enrollment" | "since-start";
9370
9370
  historical: "staff" | "automatic" | "claim";
9371
9371
  } | undefined;
@@ -9393,12 +9393,12 @@ declare function createRelayClient(options: {
9393
9393
  actor?: "member" | "staff" | undefined;
9394
9394
  } | {
9395
9395
  kind: "manual";
9396
- input: "none" | "quiz" | "photo";
9396
+ input: "quiz" | "photo" | "none";
9397
9397
  actor?: "member" | "staff" | undefined;
9398
9398
  };
9399
9399
  availability: {
9400
9400
  kind: "available";
9401
- input: "text" | "url" | "none" | "quiz" | "photo";
9401
+ input: "quiz" | "url" | "text" | "photo" | "none";
9402
9402
  } | {
9403
9403
  kind: "completed";
9404
9404
  } | {
@@ -9436,7 +9436,7 @@ declare function createRelayClient(options: {
9436
9436
  kind: "keyed";
9437
9437
  };
9438
9438
  completionCount: number;
9439
- visibility: "visible" | "hidden";
9439
+ visibility: "hidden" | "visible";
9440
9440
  missing: {
9441
9441
  quest: string;
9442
9442
  title: string;
@@ -9447,7 +9447,7 @@ declare function createRelayClient(options: {
9447
9447
  quest: string;
9448
9448
  member: string;
9449
9449
  evidence: string | null;
9450
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9450
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
9451
9451
  reason: string | null;
9452
9452
  retries: number;
9453
9453
  generation: number;
@@ -9481,22 +9481,22 @@ declare function createRelayClient(options: {
9481
9481
  })[] | null;
9482
9482
  createdAt: number;
9483
9483
  input?: {
9484
- kind: "text";
9485
- value: string;
9486
- } | {
9487
- kind: "url";
9488
- value: string;
9489
- } | {
9490
9484
  kind: "quiz";
9491
9485
  answers: {
9492
9486
  [k: string]: string;
9493
9487
  };
9494
9488
  release?: string | undefined;
9489
+ } | {
9490
+ kind: "text";
9491
+ value: string;
9492
+ } | {
9493
+ kind: "url";
9494
+ value: string;
9495
9495
  } | undefined;
9496
9496
  } | null;
9497
9497
  release: string;
9498
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9499
- lifecycle: "paused" | "active" | "archived";
9498
+ interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
9499
+ lifecycle: "active" | "paused" | "archived";
9500
9500
  rewards: ({
9501
9501
  kind: "points";
9502
9502
  label: string;
@@ -9593,7 +9593,7 @@ declare function createRelayClient(options: {
9593
9593
  start: number;
9594
9594
  end?: number | undefined;
9595
9595
  };
9596
- enrollment: "none" | "required";
9596
+ enrollment: "required" | "none";
9597
9597
  posts: "after-enrollment" | "since-start";
9598
9598
  historical: "staff" | "automatic" | "claim";
9599
9599
  } | undefined;
@@ -9621,12 +9621,12 @@ declare function createRelayClient(options: {
9621
9621
  actor?: "member" | "staff" | undefined;
9622
9622
  } | {
9623
9623
  kind: "manual";
9624
- input: "none" | "quiz" | "photo";
9624
+ input: "quiz" | "photo" | "none";
9625
9625
  actor?: "member" | "staff" | undefined;
9626
9626
  };
9627
9627
  availability: {
9628
9628
  kind: "available";
9629
- input: "text" | "url" | "none" | "quiz" | "photo";
9629
+ input: "quiz" | "url" | "text" | "photo" | "none";
9630
9630
  } | {
9631
9631
  kind: "completed";
9632
9632
  } | {
@@ -9664,7 +9664,7 @@ declare function createRelayClient(options: {
9664
9664
  kind: "keyed";
9665
9665
  };
9666
9666
  completionCount: number;
9667
- visibility: "visible" | "hidden";
9667
+ visibility: "hidden" | "visible";
9668
9668
  missing: {
9669
9669
  quest: string;
9670
9670
  title: string;
@@ -9675,7 +9675,7 @@ declare function createRelayClient(options: {
9675
9675
  quest: string;
9676
9676
  member: string;
9677
9677
  evidence: string | null;
9678
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9678
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
9679
9679
  reason: string | null;
9680
9680
  retries: number;
9681
9681
  generation: number;
@@ -9709,22 +9709,22 @@ declare function createRelayClient(options: {
9709
9709
  })[] | null;
9710
9710
  createdAt: number;
9711
9711
  input?: {
9712
- kind: "text";
9713
- value: string;
9714
- } | {
9715
- kind: "url";
9716
- value: string;
9717
- } | {
9718
9712
  kind: "quiz";
9719
9713
  answers: {
9720
9714
  [k: string]: string;
9721
9715
  };
9722
9716
  release?: string | undefined;
9717
+ } | {
9718
+ kind: "text";
9719
+ value: string;
9720
+ } | {
9721
+ kind: "url";
9722
+ value: string;
9723
9723
  } | undefined;
9724
9724
  } | null;
9725
9725
  release: string;
9726
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9727
- lifecycle: "paused" | "active" | "archived";
9726
+ interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
9727
+ lifecycle: "active" | "paused" | "archived";
9728
9728
  rewards: ({
9729
9729
  kind: "points";
9730
9730
  label: string;
@@ -9791,7 +9791,7 @@ declare function createRelayClient(options: {
9791
9791
  wallets: {
9792
9792
  list: () => Promise<{
9793
9793
  chain: "solana" | "eip155" | "cosmos";
9794
- network: "cosmos:pio-mainnet-1" | "cosmos:pio-testnet-1" | null;
9794
+ network: `cosmos:${string}` | null;
9795
9795
  address: string;
9796
9796
  verifiedAt: number;
9797
9797
  revision: number;
@@ -9801,14 +9801,14 @@ declare function createRelayClient(options: {
9801
9801
  id: string;
9802
9802
  purpose: "link" | "sign-in";
9803
9803
  chain: "solana" | "eip155" | "cosmos";
9804
- network: "cosmos:pio-mainnet-1" | "cosmos:pio-testnet-1" | null;
9804
+ network: `cosmos:${string}` | null;
9805
9805
  address: string;
9806
9806
  message: string;
9807
9807
  expiresAt: number;
9808
9808
  }>;
9809
9809
  verify: (input: z.input<typeof walletSignatureSchema>, session: string) => Promise<{
9810
9810
  chain: "solana" | "eip155" | "cosmos";
9811
- network: "cosmos:pio-mainnet-1" | "cosmos:pio-testnet-1" | null;
9811
+ network: `cosmos:${string}` | null;
9812
9812
  address: string;
9813
9813
  verifiedAt: number;
9814
9814
  revision: number;
@@ -9821,7 +9821,7 @@ declare function createRelayClient(options: {
9821
9821
  /** Asks the signer for its address, signs the returned challenge, and links the wallet. */
9822
9822
  link: (signer: WalletSigner) => Promise<{
9823
9823
  chain: "solana" | "eip155" | "cosmos";
9824
- network: "cosmos:pio-mainnet-1" | "cosmos:pio-testnet-1" | null;
9824
+ network: `cosmos:${string}` | null;
9825
9825
  address: string;
9826
9826
  verifiedAt: number;
9827
9827
  revision: number;
@@ -9857,7 +9857,7 @@ declare function createRelayClient(options: {
9857
9857
  configured: boolean;
9858
9858
  }[];
9859
9859
  email: boolean;
9860
- wallets: ("solana" | "eip155" | "cosmos:pio-mainnet-1" | "cosmos:pio-testnet-1")[];
9860
+ wallets: ("solana" | "eip155" | "cosmos")[];
9861
9861
  demo: boolean;
9862
9862
  }>;
9863
9863
  start: (provider: AuthProvider, mode: "sign-in" | "connect") => Promise<{
@@ -9893,7 +9893,7 @@ declare function createRelayClient(options: {
9893
9893
  id: string;
9894
9894
  purpose: "link" | "sign-in";
9895
9895
  chain: "solana" | "eip155" | "cosmos";
9896
- network: "cosmos:pio-mainnet-1" | "cosmos:pio-testnet-1" | null;
9896
+ network: `cosmos:${string}` | null;
9897
9897
  address: string;
9898
9898
  message: string;
9899
9899
  expiresAt: number;
@@ -9918,7 +9918,7 @@ declare function createRelayClient(options: {
9918
9918
  }>;
9919
9919
  /**
9920
9920
  * Asks the signer for its address, signs the challenge and starts the session. Throws a
9921
- * `RelayError` with status 403 when the project has not enabled this wallet's network.
9921
+ * `RelayError` with status 403 when the project has not enabled this wallet family.
9922
9922
  */
9923
9923
  signIn: (signer: WalletSigner) => Promise<{
9924
9924
  organization: string;
@@ -10043,7 +10043,7 @@ declare function createRelayClient(options: {
10043
10043
  quest: string;
10044
10044
  member: string;
10045
10045
  evidence: string | null;
10046
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10046
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
10047
10047
  reason: string | null;
10048
10048
  retries: number;
10049
10049
  generation: number;
@@ -10077,17 +10077,17 @@ declare function createRelayClient(options: {
10077
10077
  })[] | null;
10078
10078
  createdAt: number;
10079
10079
  input?: {
10080
- kind: "text";
10081
- value: string;
10082
- } | {
10083
- kind: "url";
10084
- value: string;
10085
- } | {
10086
10080
  kind: "quiz";
10087
10081
  answers: {
10088
10082
  [k: string]: string;
10089
10083
  };
10090
10084
  release?: string | undefined;
10085
+ } | {
10086
+ kind: "text";
10087
+ value: string;
10088
+ } | {
10089
+ kind: "url";
10090
+ value: string;
10091
10091
  } | undefined;
10092
10092
  }>;
10093
10093
  progress: () => Promise<{
@@ -10128,7 +10128,7 @@ declare function createRelayClient(options: {
10128
10128
  start: number;
10129
10129
  end?: number | undefined;
10130
10130
  };
10131
- enrollment: "none" | "required";
10131
+ enrollment: "required" | "none";
10132
10132
  posts: "after-enrollment" | "since-start";
10133
10133
  historical: "staff" | "automatic" | "claim";
10134
10134
  } | undefined;
@@ -10156,12 +10156,12 @@ declare function createRelayClient(options: {
10156
10156
  actor?: "member" | "staff" | undefined;
10157
10157
  } | {
10158
10158
  kind: "manual";
10159
- input: "none" | "quiz" | "photo";
10159
+ input: "quiz" | "photo" | "none";
10160
10160
  actor?: "member" | "staff" | undefined;
10161
10161
  };
10162
10162
  availability: {
10163
10163
  kind: "available";
10164
- input: "text" | "url" | "none" | "quiz" | "photo";
10164
+ input: "quiz" | "url" | "text" | "photo" | "none";
10165
10165
  } | {
10166
10166
  kind: "completed";
10167
10167
  } | {
@@ -10199,7 +10199,7 @@ declare function createRelayClient(options: {
10199
10199
  kind: "keyed";
10200
10200
  };
10201
10201
  completionCount: number;
10202
- visibility: "visible" | "hidden";
10202
+ visibility: "hidden" | "visible";
10203
10203
  missing: {
10204
10204
  quest: string;
10205
10205
  title: string;
@@ -10210,7 +10210,7 @@ declare function createRelayClient(options: {
10210
10210
  quest: string;
10211
10211
  member: string;
10212
10212
  evidence: string | null;
10213
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10213
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
10214
10214
  reason: string | null;
10215
10215
  retries: number;
10216
10216
  generation: number;
@@ -10244,17 +10244,17 @@ declare function createRelayClient(options: {
10244
10244
  })[] | null;
10245
10245
  createdAt: number;
10246
10246
  input?: {
10247
- kind: "text";
10248
- value: string;
10249
- } | {
10250
- kind: "url";
10251
- value: string;
10252
- } | {
10253
10247
  kind: "quiz";
10254
10248
  answers: {
10255
10249
  [k: string]: string;
10256
10250
  };
10257
10251
  release?: string | undefined;
10252
+ } | {
10253
+ kind: "text";
10254
+ value: string;
10255
+ } | {
10256
+ kind: "url";
10257
+ value: string;
10258
10258
  } | undefined;
10259
10259
  } | null;
10260
10260
  key?: string | undefined;
@@ -10393,7 +10393,7 @@ declare function createRelayClient(options: {
10393
10393
  quest: string;
10394
10394
  member: string;
10395
10395
  evidence: string | null;
10396
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10396
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
10397
10397
  reason: string | null;
10398
10398
  retries: number;
10399
10399
  generation: number;
@@ -10427,17 +10427,17 @@ declare function createRelayClient(options: {
10427
10427
  })[] | null;
10428
10428
  createdAt: number;
10429
10429
  input?: {
10430
- kind: "text";
10431
- value: string;
10432
- } | {
10433
- kind: "url";
10434
- value: string;
10435
- } | {
10436
10430
  kind: "quiz";
10437
10431
  answers: {
10438
10432
  [k: string]: string;
10439
10433
  };
10440
10434
  release?: string | undefined;
10435
+ } | {
10436
+ kind: "text";
10437
+ value: string;
10438
+ } | {
10439
+ kind: "url";
10440
+ value: string;
10441
10441
  } | undefined;
10442
10442
  }>;
10443
10443
  upload: (file: File) => Promise<{
@@ -10461,7 +10461,7 @@ declare function createRelayClient(options: {
10461
10461
  code: string;
10462
10462
  definition: {
10463
10463
  quest: string;
10464
- runtimeVersion: 2 | 1;
10464
+ runtimeVersion: 1 | 2;
10465
10465
  title: string;
10466
10466
  presentation: {
10467
10467
  quiz?: {
@@ -10600,7 +10600,7 @@ declare function createRelayClient(options: {
10600
10600
  start: number;
10601
10601
  end?: number | undefined;
10602
10602
  };
10603
- enrollment: "none" | "required";
10603
+ enrollment: "required" | "none";
10604
10604
  posts: "after-enrollment" | "since-start";
10605
10605
  historical: "staff" | "automatic" | "claim";
10606
10606
  } | undefined;
@@ -10628,7 +10628,7 @@ declare function createRelayClient(options: {
10628
10628
  actor?: "member" | "staff" | undefined;
10629
10629
  } | {
10630
10630
  kind: "manual";
10631
- input: "none" | "quiz" | "photo";
10631
+ input: "quiz" | "photo" | "none";
10632
10632
  actor?: "member" | "staff" | undefined;
10633
10633
  };
10634
10634
  requires: {
@@ -10644,10 +10644,10 @@ declare function createRelayClient(options: {
10644
10644
  } | {
10645
10645
  kind: "keyed";
10646
10646
  };
10647
- visibility: "visible" | "hidden";
10647
+ visibility: "hidden" | "visible";
10648
10648
  budgets: {
10649
10649
  id: string;
10650
- scope: "project" | "member";
10650
+ scope: "member" | "project";
10651
10651
  period: "day" | "lifetime" | "week";
10652
10652
  limit: number;
10653
10653
  cost: number | {
@@ -10665,7 +10665,7 @@ declare function createRelayClient(options: {
10665
10665
  code: string;
10666
10666
  definition: {
10667
10667
  quest: string;
10668
- runtimeVersion: 2 | 1;
10668
+ runtimeVersion: 1 | 2;
10669
10669
  title: string;
10670
10670
  presentation: {
10671
10671
  quiz?: {
@@ -10804,7 +10804,7 @@ declare function createRelayClient(options: {
10804
10804
  start: number;
10805
10805
  end?: number | undefined;
10806
10806
  };
10807
- enrollment: "none" | "required";
10807
+ enrollment: "required" | "none";
10808
10808
  posts: "after-enrollment" | "since-start";
10809
10809
  historical: "staff" | "automatic" | "claim";
10810
10810
  } | undefined;
@@ -10832,7 +10832,7 @@ declare function createRelayClient(options: {
10832
10832
  actor?: "member" | "staff" | undefined;
10833
10833
  } | {
10834
10834
  kind: "manual";
10835
- input: "none" | "quiz" | "photo";
10835
+ input: "quiz" | "photo" | "none";
10836
10836
  actor?: "member" | "staff" | undefined;
10837
10837
  };
10838
10838
  requires: {
@@ -10848,10 +10848,10 @@ declare function createRelayClient(options: {
10848
10848
  } | {
10849
10849
  kind: "keyed";
10850
10850
  };
10851
- visibility: "visible" | "hidden";
10851
+ visibility: "hidden" | "visible";
10852
10852
  budgets: {
10853
10853
  id: string;
10854
- scope: "project" | "member";
10854
+ scope: "member" | "project";
10855
10855
  period: "day" | "lifetime" | "week";
10856
10856
  limit: number;
10857
10857
  cost: number | {
@@ -10868,7 +10868,7 @@ declare function createRelayClient(options: {
10868
10868
  snapshot: () => Promise<{
10869
10869
  releases: {
10870
10870
  quest: string;
10871
- runtimeVersion: 2 | 1;
10871
+ runtimeVersion: 1 | 2;
10872
10872
  title: string;
10873
10873
  presentation: {
10874
10874
  quiz?: {
@@ -11007,7 +11007,7 @@ declare function createRelayClient(options: {
11007
11007
  start: number;
11008
11008
  end?: number | undefined;
11009
11009
  };
11010
- enrollment: "none" | "required";
11010
+ enrollment: "required" | "none";
11011
11011
  posts: "after-enrollment" | "since-start";
11012
11012
  historical: "staff" | "automatic" | "claim";
11013
11013
  } | undefined;
@@ -11035,7 +11035,7 @@ declare function createRelayClient(options: {
11035
11035
  actor?: "member" | "staff" | undefined;
11036
11036
  } | {
11037
11037
  kind: "manual";
11038
- input: "none" | "quiz" | "photo";
11038
+ input: "quiz" | "photo" | "none";
11039
11039
  actor?: "member" | "staff" | undefined;
11040
11040
  };
11041
11041
  requires: {
@@ -11051,10 +11051,10 @@ declare function createRelayClient(options: {
11051
11051
  } | {
11052
11052
  kind: "keyed";
11053
11053
  };
11054
- visibility: "visible" | "hidden";
11054
+ visibility: "hidden" | "visible";
11055
11055
  budgets: {
11056
11056
  id: string;
11057
- scope: "project" | "member";
11057
+ scope: "member" | "project";
11058
11058
  period: "day" | "lifetime" | "week";
11059
11059
  limit: number;
11060
11060
  cost: number | {
@@ -11066,7 +11066,7 @@ declare function createRelayClient(options: {
11066
11066
  id: string;
11067
11067
  createdAt: number;
11068
11068
  legacy: boolean;
11069
- lifecycle: "paused" | "active" | "archived";
11069
+ lifecycle: "active" | "paused" | "archived";
11070
11070
  performance?: {
11071
11071
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11072
11072
  maxAgeMs: number;
@@ -11186,7 +11186,7 @@ declare function createRelayClient(options: {
11186
11186
  quest: string;
11187
11187
  member: string;
11188
11188
  evidence: string | null;
11189
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
11189
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
11190
11190
  reason: string | null;
11191
11191
  retries: number;
11192
11192
  generation: number;
@@ -11220,17 +11220,17 @@ declare function createRelayClient(options: {
11220
11220
  })[] | null;
11221
11221
  createdAt: number;
11222
11222
  input?: {
11223
- kind: "text";
11224
- value: string;
11225
- } | {
11226
- kind: "url";
11227
- value: string;
11228
- } | {
11229
11223
  kind: "quiz";
11230
11224
  answers: {
11231
11225
  [k: string]: string;
11232
11226
  };
11233
11227
  release?: string | undefined;
11228
+ } | {
11229
+ kind: "text";
11230
+ value: string;
11231
+ } | {
11232
+ kind: "url";
11233
+ value: string;
11234
11234
  } | undefined;
11235
11235
  }[];
11236
11236
  balances: {
@@ -11252,7 +11252,7 @@ declare function createRelayClient(options: {
11252
11252
  /** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
11253
11253
  publish: (release: ReleaseInput) => Promise<{
11254
11254
  quest: string;
11255
- runtimeVersion: 2 | 1;
11255
+ runtimeVersion: 1 | 2;
11256
11256
  title: string;
11257
11257
  presentation: {
11258
11258
  quiz?: {
@@ -11391,7 +11391,7 @@ declare function createRelayClient(options: {
11391
11391
  start: number;
11392
11392
  end?: number | undefined;
11393
11393
  };
11394
- enrollment: "none" | "required";
11394
+ enrollment: "required" | "none";
11395
11395
  posts: "after-enrollment" | "since-start";
11396
11396
  historical: "staff" | "automatic" | "claim";
11397
11397
  } | undefined;
@@ -11419,7 +11419,7 @@ declare function createRelayClient(options: {
11419
11419
  actor?: "member" | "staff" | undefined;
11420
11420
  } | {
11421
11421
  kind: "manual";
11422
- input: "none" | "quiz" | "photo";
11422
+ input: "quiz" | "photo" | "none";
11423
11423
  actor?: "member" | "staff" | undefined;
11424
11424
  };
11425
11425
  requires: {
@@ -11435,10 +11435,10 @@ declare function createRelayClient(options: {
11435
11435
  } | {
11436
11436
  kind: "keyed";
11437
11437
  };
11438
- visibility: "visible" | "hidden";
11438
+ visibility: "hidden" | "visible";
11439
11439
  budgets: {
11440
11440
  id: string;
11441
- scope: "project" | "member";
11441
+ scope: "member" | "project";
11442
11442
  period: "day" | "lifetime" | "week";
11443
11443
  limit: number;
11444
11444
  cost: number | {
@@ -11450,7 +11450,7 @@ declare function createRelayClient(options: {
11450
11450
  id: string;
11451
11451
  createdAt: number;
11452
11452
  legacy: boolean;
11453
- lifecycle: "paused" | "active" | "archived";
11453
+ lifecycle: "active" | "paused" | "archived";
11454
11454
  performance?: {
11455
11455
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11456
11456
  maxAgeMs: number;
@@ -11484,7 +11484,7 @@ declare function createRelayClient(options: {
11484
11484
  /** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
11485
11485
  publishBatch: (releases: ReleaseInput[]) => Promise<{
11486
11486
  quest: string;
11487
- runtimeVersion: 2 | 1;
11487
+ runtimeVersion: 1 | 2;
11488
11488
  title: string;
11489
11489
  presentation: {
11490
11490
  quiz?: {
@@ -11623,7 +11623,7 @@ declare function createRelayClient(options: {
11623
11623
  start: number;
11624
11624
  end?: number | undefined;
11625
11625
  };
11626
- enrollment: "none" | "required";
11626
+ enrollment: "required" | "none";
11627
11627
  posts: "after-enrollment" | "since-start";
11628
11628
  historical: "staff" | "automatic" | "claim";
11629
11629
  } | undefined;
@@ -11651,7 +11651,7 @@ declare function createRelayClient(options: {
11651
11651
  actor?: "member" | "staff" | undefined;
11652
11652
  } | {
11653
11653
  kind: "manual";
11654
- input: "none" | "quiz" | "photo";
11654
+ input: "quiz" | "photo" | "none";
11655
11655
  actor?: "member" | "staff" | undefined;
11656
11656
  };
11657
11657
  requires: {
@@ -11667,10 +11667,10 @@ declare function createRelayClient(options: {
11667
11667
  } | {
11668
11668
  kind: "keyed";
11669
11669
  };
11670
- visibility: "visible" | "hidden";
11670
+ visibility: "hidden" | "visible";
11671
11671
  budgets: {
11672
11672
  id: string;
11673
- scope: "project" | "member";
11673
+ scope: "member" | "project";
11674
11674
  period: "day" | "lifetime" | "week";
11675
11675
  limit: number;
11676
11676
  cost: number | {
@@ -11682,7 +11682,7 @@ declare function createRelayClient(options: {
11682
11682
  id: string;
11683
11683
  createdAt: number;
11684
11684
  legacy: boolean;
11685
- lifecycle: "paused" | "active" | "archived";
11685
+ lifecycle: "active" | "paused" | "archived";
11686
11686
  performance?: {
11687
11687
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11688
11688
  maxAgeMs: number;
@@ -11751,7 +11751,7 @@ declare function createRelayClient(options: {
11751
11751
  start: number;
11752
11752
  end?: number | undefined;
11753
11753
  };
11754
- enrollment: "none" | "required";
11754
+ enrollment: "required" | "none";
11755
11755
  posts: "after-enrollment" | "since-start";
11756
11756
  historical: "staff" | "automatic" | "claim";
11757
11757
  } | undefined;
@@ -11779,12 +11779,12 @@ declare function createRelayClient(options: {
11779
11779
  actor?: "member" | "staff" | undefined;
11780
11780
  } | {
11781
11781
  kind: "manual";
11782
- input: "none" | "quiz" | "photo";
11782
+ input: "quiz" | "photo" | "none";
11783
11783
  actor?: "member" | "staff" | undefined;
11784
11784
  };
11785
11785
  availability: {
11786
11786
  kind: "available";
11787
- input: "text" | "url" | "none" | "quiz" | "photo";
11787
+ input: "quiz" | "url" | "text" | "photo" | "none";
11788
11788
  } | {
11789
11789
  kind: "completed";
11790
11790
  } | {
@@ -11822,7 +11822,7 @@ declare function createRelayClient(options: {
11822
11822
  kind: "keyed";
11823
11823
  };
11824
11824
  completionCount: number;
11825
- visibility: "visible" | "hidden";
11825
+ visibility: "hidden" | "visible";
11826
11826
  missing: {
11827
11827
  quest: string;
11828
11828
  title: string;
@@ -11833,7 +11833,7 @@ declare function createRelayClient(options: {
11833
11833
  quest: string;
11834
11834
  member: string;
11835
11835
  evidence: string | null;
11836
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
11836
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
11837
11837
  reason: string | null;
11838
11838
  retries: number;
11839
11839
  generation: number;
@@ -11867,17 +11867,17 @@ declare function createRelayClient(options: {
11867
11867
  })[] | null;
11868
11868
  createdAt: number;
11869
11869
  input?: {
11870
- kind: "text";
11871
- value: string;
11872
- } | {
11873
- kind: "url";
11874
- value: string;
11875
- } | {
11876
11870
  kind: "quiz";
11877
11871
  answers: {
11878
11872
  [k: string]: string;
11879
11873
  };
11880
11874
  release?: string | undefined;
11875
+ } | {
11876
+ kind: "text";
11877
+ value: string;
11878
+ } | {
11879
+ kind: "url";
11880
+ value: string;
11881
11881
  } | undefined;
11882
11882
  } | null;
11883
11883
  key?: string | undefined;
@@ -12261,14 +12261,14 @@ declare function createRelayClient(options: {
12261
12261
  content: {
12262
12262
  performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
12263
12263
  current: {
12264
- state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "content-pending" | "content-unqualified" | "waiting";
12264
+ state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "content-pending" | "content-unqualified" | "waiting";
12265
12265
  reason: string | null;
12266
12266
  contentAttempt: string;
12267
12267
  attempt: string | null;
12268
12268
  reward: {
12269
12269
  attempt: string | null;
12270
12270
  completion: string | null;
12271
- state: "excluded" | "unresolved" | "awarded";
12271
+ state: "awarded" | "excluded" | "unresolved";
12272
12272
  };
12273
12273
  };
12274
12274
  items: {
@@ -12277,7 +12277,7 @@ declare function createRelayClient(options: {
12277
12277
  observation: string;
12278
12278
  observedAt: number;
12279
12279
  metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
12280
- state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed";
12280
+ state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified";
12281
12281
  reason: string | null;
12282
12282
  }[];
12283
12283
  next: number | null;
@@ -12292,12 +12292,12 @@ declare function createRelayClient(options: {
12292
12292
  revision: string;
12293
12293
  observation: string;
12294
12294
  current: boolean;
12295
- state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "stale" | "blocked" | "unavailable";
12295
+ state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "stale" | "blocked" | "unavailable";
12296
12296
  reason: string | null;
12297
12297
  reward: {
12298
12298
  attempt: string | null;
12299
12299
  completion: string | null;
12300
- state: "excluded" | "unresolved" | "awarded";
12300
+ state: "awarded" | "excluded" | "unresolved";
12301
12301
  };
12302
12302
  }[];
12303
12303
  next: number | null;
@@ -12307,7 +12307,7 @@ declare function createRelayClient(options: {
12307
12307
  quest: string;
12308
12308
  content: string;
12309
12309
  release: string;
12310
- state: "admitted" | "pending" | "excluded";
12310
+ state: "pending" | "admitted" | "excluded";
12311
12311
  reason: string | null;
12312
12312
  attempt: string | null;
12313
12313
  }[];
@@ -12322,7 +12322,7 @@ declare function createRelayClient(options: {
12322
12322
  quest: string;
12323
12323
  content: string;
12324
12324
  release: string;
12325
- state: "admitted" | "pending" | "excluded";
12325
+ state: "pending" | "admitted" | "excluded";
12326
12326
  reason: string | null;
12327
12327
  attempt: string | null;
12328
12328
  }>;
@@ -12333,7 +12333,7 @@ declare function createRelayClient(options: {
12333
12333
  quest: string;
12334
12334
  member: string;
12335
12335
  evidence: string | null;
12336
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12336
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
12337
12337
  reason: string | null;
12338
12338
  retries: number;
12339
12339
  generation: number;
@@ -12367,17 +12367,17 @@ declare function createRelayClient(options: {
12367
12367
  })[] | null;
12368
12368
  createdAt: number;
12369
12369
  input?: {
12370
- kind: "text";
12371
- value: string;
12372
- } | {
12373
- kind: "url";
12374
- value: string;
12375
- } | {
12376
12370
  kind: "quiz";
12377
12371
  answers: {
12378
12372
  [k: string]: string;
12379
12373
  };
12380
12374
  release?: string | undefined;
12375
+ } | {
12376
+ kind: "text";
12377
+ value: string;
12378
+ } | {
12379
+ kind: "url";
12380
+ value: string;
12381
12381
  } | undefined;
12382
12382
  }>;
12383
12383
  retry: (id: string) => Promise<{
@@ -12386,7 +12386,7 @@ declare function createRelayClient(options: {
12386
12386
  quest: string;
12387
12387
  member: string;
12388
12388
  evidence: string | null;
12389
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12389
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
12390
12390
  reason: string | null;
12391
12391
  retries: number;
12392
12392
  generation: number;
@@ -12420,17 +12420,17 @@ declare function createRelayClient(options: {
12420
12420
  })[] | null;
12421
12421
  createdAt: number;
12422
12422
  input?: {
12423
- kind: "text";
12424
- value: string;
12425
- } | {
12426
- kind: "url";
12427
- value: string;
12428
- } | {
12429
12423
  kind: "quiz";
12430
12424
  answers: {
12431
12425
  [k: string]: string;
12432
12426
  };
12433
12427
  release?: string | undefined;
12428
+ } | {
12429
+ kind: "text";
12430
+ value: string;
12431
+ } | {
12432
+ kind: "url";
12433
+ value: string;
12434
12434
  } | undefined;
12435
12435
  }>;
12436
12436
  /** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
@@ -12445,7 +12445,7 @@ declare function createRelayClient(options: {
12445
12445
  quest: string;
12446
12446
  member: string;
12447
12447
  evidence: string | null;
12448
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12448
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
12449
12449
  reason: string | null;
12450
12450
  retries: number;
12451
12451
  generation: number;
@@ -12479,17 +12479,17 @@ declare function createRelayClient(options: {
12479
12479
  })[] | null;
12480
12480
  createdAt: number;
12481
12481
  input?: {
12482
- kind: "text";
12483
- value: string;
12484
- } | {
12485
- kind: "url";
12486
- value: string;
12487
- } | {
12488
12482
  kind: "quiz";
12489
12483
  answers: {
12490
12484
  [k: string]: string;
12491
12485
  };
12492
12486
  release?: string | undefined;
12487
+ } | {
12488
+ kind: "text";
12489
+ value: string;
12490
+ } | {
12491
+ kind: "url";
12492
+ value: string;
12493
12493
  } | undefined;
12494
12494
  }>;
12495
12495
  };