@domino-sdk/relay 1.0.0-next.1 → 1.0.0-next.3

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 { aa as ValueEvidence, L as LinkedWallet, M as referralAcceptSchema, N as LeaderboardQuery, P as WalletAddressInput, Q as walletSignatureSchema, R as WalletSigner, V as walletChallengeInputSchema, Y as walletProofSchema, Z as AuthProvider, _ as WalletSignature, $ as engagementPageQuerySchema, a0 as contentQualificationQuerySchema, a1 as contentAdmissionQuerySchema, a2 as contentEnrollmentInputSchema, a3 as contentReleaseInputSchema } from './submission-input-JDwq3EVK.js';
2
- export { a4 as AccountConnection, ab as AccountRole, A as AdmittedContent, B as Budget, C as ContentMetric, ac as ContentPerformancePolicy, ad as ContentPolicy, a8 as CosmosChain, a9 as CosmosNetwork, D as DiscordMember, b as DiscordMessage, ae as EngagementDefinition, E as EvmChainId, af as IdentityKind, ag as ImageAssetArtifact, ah as ImageComparison, ai as ImageExtraction, aj as ImageFields, ak as ImageInspection, I as ImageReader, al as ImageReference, am as ImageRequest, an as ImageSightings, j as IntegrationProvider, ao as LeaderboardDefinition, a7 as LeaderboardPage, ap as LeaderboardPlacement, O as Observation, aq as ProjectIntegration, ar as PublishedImage, as as QuizContent, at as ReferralDefinition, au as ResourceOption, av as ResourceSource, aw as SettingField, ax as SettingsValues, S as SolanaBalance, k as StreakPolicy, ay as StreakProgress, l as TextEvidence, m as TextOptions, az as TrackerAccount, aA as TrackerAttribution, aB as TrackerBound, aC as TrackerContent, aD as TrackerContentQuery, e as TrackerDefinition, aE as TrackerOutcome, aF as TrackerOutcomeQuery, aG as TrackerPreview, aH as TrackerPreviewInput, aI as TrackerQuery, a as TrackerReader, aJ as TrackerRecord, aK as TrackerSkipCode, aL as TrackerSource, aM as TrackerStatus, T as TrackerTriggerContext, f as TrackerTriggerMode, h as TrackerTriggerPolicy, g as TrackerWhere, U as UrlEvidence, n as UrlOptions, aN as WALLETS_PER_CHAIN, d as WalletBalance, c as WalletBalanceQuery, aO as WalletChain, W as WalletConnection, aP as WalletMessageChallenge, a5 as WalletSignInNetwork, aQ as WalletUnlinkInput, aR as XConnection, aS as XPost, aT as XProfile, X as XReader, aU as XTweet, aV as accountConnectionSchema, aW as accountRoleSchema, aX as admittedContentSchema, aY as authProviderSchema, aZ as beneficiaryRole, a_ as budgetSchema, a$ as caip10, b0 as communityTimeZoneSchema, b1 as compatibleSettingKinds, b2 as completionKeySchema, b3 as completionPolicySchema, p as content, b4 as contentAdmissionPageSchema, b5 as contentAdmissionSchema, b6 as contentEnrollmentSchema, b7 as contentMetricSchema, b8 as contentMetricsSchema, b9 as contentPerformancePolicySchema, ba as contentPolicySchema, bb as contentQualificationDecisionSchema, bc as contentQualificationPageSchema, bd as contentQualificationSchema, be as cosmosAddressSchema, bf as cosmosChain, bg as cosmosNetworkSchema, q as customSource, bh as customSourceSchema, bi as defaultTriggerMode, r as defineEngagementReward, s as defineLeaderboard, t as defineReferral, u as defineTracker, v as discord, bj as discordMemberInputSchema, bk as discordMemberSchema, bl as discordMessageInputSchema, bm as discordMessageSchema, bn as discordReactionSchema, bo as discordServerSchema, bp as engagementArtifactSchema, bq as engagementBoundaryPageSchema, br as engagementChangePreviewInputSchema, bs as engagementChangePreviewSchema, bt as engagementChangeSchema, bu as engagementDefinitionSchema, bv as engagementDeploymentEntrySchema, bw as engagementPageSchema, bx as engagementPublishSchema, by as engagementRuleSchema, bz as engagementScoreInputSchema, bA as engagementScoreSchema, bB as engagementSettlementSchema, bC as engagementVersionPageSchema, bD as engagementVersionQuerySchema, bE as evmAddressSchema, bF as evmChainIdSchema, w as formatUnits, bG as identityKindSchema, bH as imageAssetArtifactSchema, bI as imageComparisonSchema, bJ as imageExtractionSchema, bK as imageFieldSchema, bL as imageFieldsSchema, bM as imageInspectionSchema, bN as imageReferenceSchema, bO as imageRequestSchema, bP as imageSightingsSchema, bQ as imageUploadRequestSchema, bR as imageUploadsSchema, bS as integrationProviderSchema, bT as isContentParticipantRoute, x as isEvmChainId, bU as isWalletParticipantRoute, bV as isWalletSignInRoute, bW as leaderboardArtifactSchema, bX as leaderboardAuthoringSchema, bY as leaderboardDefinitionSchema, bZ as leaderboardExclusionSchema, b_ as leaderboardGroupSchema, b$ as leaderboardPageSchema, c0 as leaderboardPlacementSchema, c1 as leaderboardPreviewSchema, c2 as leaderboardQuerySchema, c3 as leaderboardRowSchema, c4 as leaderboardWindowSchema, c5 as linkedWalletSchema, c6 as missingResourceSettings, c7 as observationInputSchema, c8 as observationReceiptSchema, c9 as observationSchema, o as observationTriggerSchema, ca as parseImageExtraction, cb as parseImageResult, cc as parseSettings, y as parseUnits, z as perContent, F as pointLedgers, cd as pointsAccountSchema, ce as pointsEntrySchema, cf as pointsMutationSchema, cg as pointsResultSchema, ch as projectIntegrationSchema, ci as publishedImageSchema, cj as publishedLeaderboardSchema, ck as publishedReferralSchema, cl as publishedTrackerSchema, cm as quizChoiceSchema, cn as quizContentSchema, co as quizQuestionSchema, cp as quizQuestionsSchema, cq as referralAccountSchema, cr as referralArtifactSchema, cs as referralAuthoringSchema, ct as referralControlSchema, cu as referralDefinitionSchema, cv as referralHistorySchema, cw as referralManagementSchema, cx as referralRelationshipSchema, a6 as referralSummarySchema, cy as resourceOptionsSchema, cz as resourceRequestSchema, cA as resourceSourceSchema, cB as settingFieldSchema, G as settings, cC as settingsFieldsSchema, cD as settingsValuesSchema, cE as solanaAddressSchema, cF as solanaBalanceSchema, cG as solanaMainnet, cH as sourceIdentities, H as streak, cI as streakPolicySchema, cJ as streakProgressSchema, cK as textEvidenceSchema, cL as textOptionsSchema, cM as trackerAccountSchema, cN as trackerArtifactSchema, cO as trackerAttributionSchema, cP as trackerBoundSchema, cQ as trackerContentQuerySchema, cR as trackerContentReadSchema, cS as trackerContentSchema, cT as trackerControlSchema, cU as trackerDefinitionSchema, cV as trackerEvidenceSchema, cW as trackerIngestResultSchema, cX as trackerIngestSchema, cY as trackerOutcomePageSchema, cZ as trackerOutcomeQuerySchema, c_ as trackerOutcomeRetrySchema, c$ as trackerOutcomeSchema, d0 as trackerPageSchema, d1 as trackerPreviewInputSchema, d2 as trackerPreviewLimits, d3 as trackerPreviewSchema, d4 as trackerQuerySchema, d5 as trackerRecordInputSchema, d6 as trackerRecordSchema, d7 as trackerSkipCodes, d8 as trackerSourceSchema, d9 as trackerStatusSchema, da as trackerSummarySchema, J as trackerTriggerContextSchema, db as trackerTriggerModeSchema, dc as trackerTriggerPolicySchema, dd as trackerTriggerRecordSchema, de as trackerWhereSchema, df as triggerMode, dg as urlEvidenceSchema, dh as urlOptionsSchema, di as validateSubmissionValue, dj as valueEvidenceSchema, dk as walletAddressInput, dl as walletAddressInputSchema, dm as walletBalanceSchema, dn as walletChainSchema, dp as walletChallengeSchema, dq as walletConnectionSchema, dr as walletMessageChallengeSchema, ds as walletSignInFamilies, dt as walletSignInNetwork, du as walletSignInNetworkSchema, dv as walletSignInNetworksSchema, dw as walletUnlinkInputSchema, K as x, dx as xAccountRoles, dy as xConnectionSchema, dz as xContentBodySchema, dA as xIdSchema, dB as xPostId, dC as xPostSchema, dD as xProfileSchema, dE as xRequestSchema, dF as xSearchSourceSchema, dG as xTweetSchema } from './submission-input-JDwq3EVK.js';
1
+ import { aa as ValueEvidence, L as LinkedWallet, M as referralAcceptSchema, N as LeaderboardQuery, P as WalletAddressInput, Q as walletSignatureSchema, R as WalletSigner, V as walletChallengeInputSchema, Y as walletProofSchema, Z as AuthProvider, _ as WalletSignature, $ as engagementPageQuerySchema, a0 as contentQualificationQuerySchema, a1 as contentAdmissionQuerySchema, a2 as contentEnrollmentInputSchema, a3 as contentReleaseInputSchema } from './submission-input-jVvTh4Ed.js';
2
+ export { a4 as AccountConnection, ab as AccountRole, A as AdmittedContent, B as Budget, C as ContentMetric, ac as ContentPerformancePolicy, ad as ContentPolicy, a8 as CosmosChain, a9 as CosmosNetwork, D as DiscordMember, b as DiscordMessage, ae as EngagementDefinition, E as EvmChainId, af as IdentityKind, ag as ImageAssetArtifact, ah as ImageComparison, ai as ImageExtraction, aj as ImageFields, ak as ImageInspection, I as ImageReader, al as ImageReference, am as ImageRequest, an as ImageSightings, j as IntegrationProvider, ao as LeaderboardDefinition, a7 as LeaderboardPage, ap as LeaderboardPlacement, O as Observation, aq as ProjectIntegration, ar as PublishedImage, as as QuizContent, at as ReferralDefinition, au as ResourceOption, av as ResourceSource, aw as SettingField, ax as SettingsValues, S as SolanaBalance, k as StreakPolicy, ay as StreakProgress, l as TextEvidence, m as TextOptions, az as TrackerAccount, aA as TrackerAttribution, aB as TrackerBound, aC as TrackerContent, aD as TrackerContentQuery, e as TrackerDefinition, aE as TrackerOutcome, aF as TrackerOutcomeQuery, aG as TrackerPreview, aH as TrackerPreviewInput, aI as TrackerQuery, a as TrackerReader, aJ as TrackerRecord, aK as TrackerSkipCode, aL as TrackerSource, aM as TrackerStatus, T as TrackerTriggerContext, f as TrackerTriggerMode, h as TrackerTriggerPolicy, g as TrackerWhere, U as UrlEvidence, n as UrlOptions, aN as WALLETS_PER_CHAIN, d as WalletBalance, c as WalletBalanceQuery, aO as WalletChain, W as WalletConnection, aP as WalletMessageChallenge, a5 as WalletSignInNetwork, aQ as WalletUnlinkInput, aR as XConnection, aS as XPost, aT as XProfile, X as XReader, aU as XTweet, aV as accountConnectionSchema, aW as accountRoleSchema, aX as admittedContentSchema, aY as authProviderSchema, aZ as beneficiaryRole, a_ as budgetSchema, a$ as caip10, b0 as communityTimeZoneSchema, b1 as compatibleSettingKinds, b2 as completionKeySchema, b3 as completionPolicySchema, p as content, b4 as contentAdmissionPageSchema, b5 as contentAdmissionSchema, b6 as contentEnrollmentSchema, b7 as contentMetricSchema, b8 as contentMetricsSchema, b9 as contentPerformancePolicySchema, ba as contentPolicySchema, bb as contentQualificationDecisionSchema, bc as contentQualificationPageSchema, bd as contentQualificationSchema, be as cosmosAddressSchema, bf as cosmosChain, bg as cosmosNetworkSchema, q as customSource, bh as customSourceSchema, bi as defaultTriggerMode, r as defineEngagementReward, s as defineLeaderboard, t as defineReferral, u as defineTracker, v as discord, bj as discordMemberInputSchema, bk as discordMemberSchema, bl as discordMessageInputSchema, bm as discordMessageSchema, bn as discordReactionSchema, bo as discordServerSchema, bp as engagementArtifactSchema, bq as engagementBoundaryPageSchema, br as engagementChangePreviewInputSchema, bs as engagementChangePreviewSchema, bt as engagementChangeSchema, bu as engagementDefinitionSchema, bv as engagementDeploymentEntrySchema, bw as engagementPageSchema, bx as engagementPublishSchema, by as engagementRuleSchema, bz as engagementScoreInputSchema, bA as engagementScoreSchema, bB as engagementSettlementSchema, bC as engagementVersionPageSchema, bD as engagementVersionQuerySchema, bE as evmAddressSchema, bF as evmChainIdSchema, w as formatUnits, bG as identityKindSchema, bH as imageAssetArtifactSchema, bI as imageComparisonSchema, bJ as imageExtractionSchema, bK as imageFieldSchema, bL as imageFieldsSchema, bM as imageInspectionSchema, bN as imageReferenceSchema, bO as imageRequestSchema, bP as imageSightingsSchema, bQ as imageUploadRequestSchema, bR as imageUploadsSchema, bS as integrationProviderSchema, bT as isContentParticipantRoute, x as isEvmChainId, bU as isWalletParticipantRoute, bV as isWalletSignInRoute, bW as leaderboardArtifactSchema, bX as leaderboardAuthoringSchema, bY as leaderboardDefinitionSchema, bZ as leaderboardExclusionSchema, b_ as leaderboardGroupSchema, b$ as leaderboardPageSchema, c0 as leaderboardPlacementSchema, c1 as leaderboardPreviewSchema, c2 as leaderboardQuerySchema, c3 as leaderboardRowSchema, c4 as leaderboardWindowSchema, c5 as linkedWalletSchema, c6 as missingResourceSettings, c7 as observationInputSchema, c8 as observationReceiptSchema, c9 as observationSchema, o as observationTriggerSchema, ca as parseImageExtraction, cb as parseImageResult, cc as parseSettings, y as parseUnits, z as perContent, F as pointLedgers, cd as pointsAccountSchema, ce as pointsEntrySchema, cf as pointsMutationSchema, cg as pointsResultSchema, ch as projectIntegrationSchema, ci as publishedImageSchema, cj as publishedLeaderboardSchema, ck as publishedReferralSchema, cl as publishedTrackerSchema, cm as quizChoiceSchema, cn as quizContentSchema, co as quizQuestionSchema, cp as quizQuestionsSchema, cq as referralAccountSchema, cr as referralArtifactSchema, cs as referralAuthoringSchema, ct as referralControlSchema, cu as referralDefinitionSchema, cv as referralHistorySchema, cw as referralManagementSchema, cx as referralRelationshipSchema, a6 as referralSummarySchema, cy as resourceOptionsSchema, cz as resourceRequestSchema, cA as resourceSourceSchema, cB as settingFieldSchema, G as settings, cC as settingsFieldsSchema, cD as settingsValuesSchema, cE as solanaAddressSchema, cF as solanaBalanceSchema, cG as solanaMainnet, cH as sourceIdentities, H as streak, cI as streakPolicySchema, cJ as streakProgressSchema, cK as textEvidenceSchema, cL as textOptionsSchema, cM as trackerAccountSchema, cN as trackerArtifactSchema, cO as trackerAttributionSchema, cP as trackerBoundSchema, cQ as trackerContentQuerySchema, cR as trackerContentReadSchema, cS as trackerContentSchema, cT as trackerControlSchema, cU as trackerDefinitionSchema, cV as trackerEvidenceSchema, cW as trackerIngestResultSchema, cX as trackerIngestSchema, cY as trackerOutcomePageSchema, cZ as trackerOutcomeQuerySchema, c_ as trackerOutcomeRetrySchema, c$ as trackerOutcomeSchema, d0 as trackerPageSchema, d1 as trackerPreviewInputSchema, d2 as trackerPreviewLimits, d3 as trackerPreviewSchema, d4 as trackerQuerySchema, d5 as trackerRecordInputSchema, d6 as trackerRecordSchema, d7 as trackerSkipCodes, d8 as trackerSourceSchema, d9 as trackerStatusSchema, da as trackerSummarySchema, J as trackerTriggerContextSchema, db as trackerTriggerModeSchema, dc as trackerTriggerPolicySchema, dd as trackerTriggerRecordSchema, de as trackerWhereSchema, df as triggerMode, dg as urlEvidenceSchema, dh as urlOptionsSchema, di as validateSubmissionValue, dj as valueEvidenceSchema, dk as walletAddressInput, dl as walletAddressInputSchema, dm as walletBalanceSchema, dn as walletChainSchema, dp as walletChallengeSchema, dq as walletConnectionSchema, dr as walletMessageChallengeSchema, ds as walletSignInFamilies, dt as walletSignInNetwork, du as walletSignInNetworkSchema, dv as walletSignInNetworksSchema, dw as walletUnlinkInputSchema, K as x, dx as xAccountRoles, dy as xConnectionSchema, dz as xContentBodySchema, dA as xIdSchema, dB as xPostId, dC as xPostSchema, dD as xProfileSchema, dE as xRequestSchema, dF as xSearchSourceSchema, dG as xTweetSchema } from './submission-input-jVvTh4Ed.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, QuestProfile, 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, questProfileSchema, 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';
@@ -210,12 +210,12 @@ type ProgressObserver = {
210
210
 
211
211
  declare const interactionSchema: z.ZodEnum<{
212
212
  staff: "staff";
213
- quiz: "quiz";
214
213
  text: "text";
215
214
  url: "url";
216
- photo: "photo";
217
215
  automatic: "automatic";
218
216
  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";
387
388
  quiz: "quiz";
388
389
  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
- required: "required";
409
408
  none: "none";
409
+ required: "required";
410
410
  }>>;
411
411
  posts: z.ZodDefault<z.ZodEnum<{
412
412
  "after-enrollment": "after-enrollment";
@@ -463,8 +463,7 @@ declare const questTypeVersionSchema: z.ZodObject<{
463
463
  }, z.core.$strict>>;
464
464
  requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
465
465
  quest: z.ZodString;
466
- scope: z.ZodLiteral<"ever">;
467
- }, z.core.$strict>>>;
466
+ }, z.core.$strip>>>;
468
467
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
469
468
  kind: z.ZodLiteral<"streak">;
470
469
  days: z.ZodNumber;
@@ -489,8 +488,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
489
488
  }>;
490
489
  period: z.ZodEnum<{
491
490
  day: "day";
492
- week: "week";
493
491
  lifetime: "lifetime";
492
+ week: "week";
494
493
  }>;
495
494
  limit: z.ZodNumber;
496
495
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -520,7 +519,7 @@ declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
520
519
  title: string;
521
520
  key?: string | undefined;
522
521
  id?: string | undefined;
523
- }, "key" | "id"> & {
522
+ }, "id" | "key"> & {
524
523
  key: string;
525
524
  }, {
526
525
  title: string;
@@ -548,8 +547,8 @@ declare const questInstanceSchema: z.ZodObject<{
548
547
  }, z.core.$strict>>]>>;
549
548
  requires: z.ZodArray<z.ZodString>;
550
549
  status: z.ZodEnum<{
551
- active: "active";
552
550
  paused: "paused";
551
+ active: "active";
553
552
  archived: "archived";
554
553
  }>;
555
554
  }, z.core.$strict>;
@@ -569,8 +568,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
569
568
  }, z.core.$strict>>]>>;
570
569
  requires: z.ZodArray<z.ZodString>;
571
570
  status: z.ZodEnum<{
572
- active: "active";
573
571
  paused: "paused";
572
+ active: "active";
574
573
  archived: "archived";
575
574
  }>;
576
575
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -602,8 +601,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
602
601
  }, z.core.$strict>>]>>;
603
602
  requires: z.ZodArray<z.ZodString>;
604
603
  status: z.ZodEnum<{
605
- active: "active";
606
604
  paused: "paused";
605
+ active: "active";
607
606
  archived: "archived";
608
607
  }>;
609
608
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -636,8 +635,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
636
635
  }, z.core.$strict>>]>>;
637
636
  requires: z.ZodArray<z.ZodString>;
638
637
  status: z.ZodEnum<{
639
- active: "active";
640
638
  paused: "paused";
639
+ active: "active";
641
640
  archived: "archived";
642
641
  }>;
643
642
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -819,9 +818,9 @@ declare const questCatalogSchema: z.ZodObject<{
819
818
  }, z.core.$strict>, z.ZodObject<{
820
819
  kind: z.ZodLiteral<"manual">;
821
820
  input: z.ZodEnum<{
821
+ none: "none";
822
822
  quiz: "quiz";
823
823
  photo: "photo";
824
- none: "none";
825
824
  }>;
826
825
  actor: z.ZodOptional<z.ZodEnum<{
827
826
  member: "member";
@@ -840,8 +839,8 @@ declare const questCatalogSchema: z.ZodObject<{
840
839
  end: z.ZodOptional<z.ZodNumber>;
841
840
  }, z.core.$strict>;
842
841
  enrollment: z.ZodDefault<z.ZodEnum<{
843
- required: "required";
844
842
  none: "none";
843
+ required: "required";
845
844
  }>>;
846
845
  posts: z.ZodDefault<z.ZodEnum<{
847
846
  "after-enrollment": "after-enrollment";
@@ -898,8 +897,7 @@ declare const questCatalogSchema: z.ZodObject<{
898
897
  }, z.core.$strict>>;
899
898
  requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
900
899
  quest: z.ZodString;
901
- scope: z.ZodLiteral<"ever">;
902
- }, z.core.$strict>>>;
900
+ }, z.core.$strip>>>;
903
901
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
904
902
  kind: z.ZodLiteral<"streak">;
905
903
  days: z.ZodNumber;
@@ -924,8 +922,8 @@ declare const questCatalogSchema: z.ZodObject<{
924
922
  }>;
925
923
  period: z.ZodEnum<{
926
924
  day: "day";
927
- week: "week";
928
925
  lifetime: "lifetime";
926
+ week: "week";
929
927
  }>;
930
928
  limit: z.ZodNumber;
931
929
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -963,8 +961,8 @@ declare const questCatalogSchema: z.ZodObject<{
963
961
  }, z.core.$strict>>]>>;
964
962
  requires: z.ZodArray<z.ZodString>;
965
963
  status: z.ZodEnum<{
966
- active: "active";
967
964
  paused: "paused";
965
+ active: "active";
968
966
  archived: "archived";
969
967
  }>;
970
968
  }, z.core.$strict>>;
@@ -988,8 +986,8 @@ declare const questCatalogSchema: z.ZodObject<{
988
986
  }, z.core.$strict>>]>>;
989
987
  requires: z.ZodArray<z.ZodString>;
990
988
  status: z.ZodEnum<{
991
- active: "active";
992
989
  paused: "paused";
990
+ active: "active";
993
991
  archived: "archived";
994
992
  }>;
995
993
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -1022,8 +1020,8 @@ declare const questCatalogSchema: z.ZodObject<{
1022
1020
  }, z.core.$strict>>]>>;
1023
1021
  requires: z.ZodArray<z.ZodString>;
1024
1022
  status: z.ZodEnum<{
1025
- active: "active";
1026
1023
  paused: "paused";
1024
+ active: "active";
1027
1025
  archived: "archived";
1028
1026
  }>;
1029
1027
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -1198,9 +1196,9 @@ declare const questCatalogSchema: z.ZodObject<{
1198
1196
  }, z.core.$strict>, z.ZodObject<{
1199
1197
  kind: z.ZodLiteral<"manual">;
1200
1198
  input: z.ZodEnum<{
1199
+ none: "none";
1201
1200
  quiz: "quiz";
1202
1201
  photo: "photo";
1203
- none: "none";
1204
1202
  }>;
1205
1203
  actor: z.ZodOptional<z.ZodEnum<{
1206
1204
  member: "member";
@@ -1219,8 +1217,8 @@ declare const questCatalogSchema: z.ZodObject<{
1219
1217
  end: z.ZodOptional<z.ZodNumber>;
1220
1218
  }, z.core.$strict>;
1221
1219
  enrollment: z.ZodDefault<z.ZodEnum<{
1222
- required: "required";
1223
1220
  none: "none";
1221
+ required: "required";
1224
1222
  }>>;
1225
1223
  posts: z.ZodDefault<z.ZodEnum<{
1226
1224
  "after-enrollment": "after-enrollment";
@@ -1277,8 +1275,7 @@ declare const questCatalogSchema: z.ZodObject<{
1277
1275
  }, z.core.$strict>>;
1278
1276
  requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
1279
1277
  quest: z.ZodString;
1280
- scope: z.ZodLiteral<"ever">;
1281
- }, z.core.$strict>>>;
1278
+ }, z.core.$strip>>>;
1282
1279
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
1283
1280
  kind: z.ZodLiteral<"streak">;
1284
1281
  days: z.ZodNumber;
@@ -1303,8 +1300,8 @@ declare const questCatalogSchema: z.ZodObject<{
1303
1300
  }>;
1304
1301
  period: z.ZodEnum<{
1305
1302
  day: "day";
1306
- week: "week";
1307
1303
  lifetime: "lifetime";
1304
+ week: "week";
1308
1305
  }>;
1309
1306
  limit: z.ZodNumber;
1310
1307
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -1327,8 +1324,8 @@ declare const questCatalogSchema: z.ZodObject<{
1327
1324
  typeVersion: z.ZodString;
1328
1325
  }, z.core.$strict>>;
1329
1326
  lifecycle: z.ZodDefault<z.ZodEnum<{
1330
- active: "active";
1331
1327
  paused: "paused";
1328
+ active: "active";
1332
1329
  archived: "archived";
1333
1330
  }>>;
1334
1331
  configuration: z.ZodOptional<z.ZodObject<{
@@ -1433,12 +1430,12 @@ declare const questCatalogSchema: z.ZodObject<{
1433
1430
  kind: "resource";
1434
1431
  default: string;
1435
1432
  source: {
1436
- provider: "domino";
1437
- resource: "point-ledger";
1438
- } | {
1439
1433
  provider: "discord";
1440
1434
  resource: "channel";
1441
1435
  types: ("text" | "announcement")[];
1436
+ } | {
1437
+ provider: "domino";
1438
+ resource: "point-ledger";
1442
1439
  } | {
1443
1440
  provider: "discord";
1444
1441
  resource: "role";
@@ -1535,7 +1532,7 @@ declare const questCatalogSchema: z.ZodObject<{
1535
1532
  start: number;
1536
1533
  end?: number | undefined;
1537
1534
  };
1538
- enrollment: "required" | "none";
1535
+ enrollment: "none" | "required";
1539
1536
  posts: "after-enrollment" | "since-start";
1540
1537
  historical: "staff" | "automatic" | "claim";
1541
1538
  } | undefined;
@@ -1582,12 +1579,11 @@ declare const questCatalogSchema: z.ZodObject<{
1582
1579
  actor?: "member" | "staff" | undefined;
1583
1580
  } | {
1584
1581
  kind: "manual";
1585
- input: "quiz" | "photo" | "none";
1582
+ input: "none" | "quiz" | "photo";
1586
1583
  actor?: "member" | "staff" | undefined;
1587
1584
  };
1588
1585
  requires: {
1589
1586
  quest: string;
1590
- scope: "ever";
1591
1587
  }[];
1592
1588
  completion: {
1593
1589
  kind: "streak";
@@ -1602,7 +1598,7 @@ declare const questCatalogSchema: z.ZodObject<{
1602
1598
  budgets: {
1603
1599
  id: string;
1604
1600
  scope: "project" | "member";
1605
- period: "day" | "week" | "lifetime";
1601
+ period: "day" | "lifetime" | "week";
1606
1602
  limit: number;
1607
1603
  cost: number | {
1608
1604
  balance: string;
@@ -1613,7 +1609,7 @@ declare const questCatalogSchema: z.ZodObject<{
1613
1609
  id: string;
1614
1610
  createdAt: number;
1615
1611
  legacy: boolean;
1616
- lifecycle: "active" | "paused" | "archived";
1612
+ lifecycle: "paused" | "active" | "archived";
1617
1613
  performance?: {
1618
1614
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1619
1615
  maxAgeMs: number;
@@ -1685,12 +1681,12 @@ declare const questCatalogSchema: z.ZodObject<{
1685
1681
  }>>]>>>;
1686
1682
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1687
1683
  staff: "staff";
1688
- quiz: "quiz";
1689
1684
  text: "text";
1690
1685
  url: "url";
1691
- photo: "photo";
1692
1686
  automatic: "automatic";
1693
1687
  claim: "claim";
1688
+ quiz: "quiz";
1689
+ photo: "photo";
1694
1690
  }>>;
1695
1691
  }, z.core.$strip>;
1696
1692
  declare const catalogDeploymentSchema: z.ZodObject<{
@@ -1709,7 +1705,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1709
1705
  title: string;
1710
1706
  key?: string | undefined;
1711
1707
  id?: string | undefined;
1712
- }, "key" | "id"> & {
1708
+ }, "id" | "key"> & {
1713
1709
  key: string;
1714
1710
  }, {
1715
1711
  title: string;
@@ -1718,12 +1714,12 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1718
1714
  }>>>>;
1719
1715
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1720
1716
  staff: "staff";
1721
- quiz: "quiz";
1722
1717
  text: "text";
1723
1718
  url: "url";
1724
- photo: "photo";
1725
1719
  automatic: "automatic";
1726
1720
  claim: "claim";
1721
+ quiz: "quiz";
1722
+ photo: "photo";
1727
1723
  }>>>;
1728
1724
  }, z.core.$strict>;
1729
1725
  declare const catalogDeploymentPreviewSchema: z.ZodObject<{
@@ -1893,9 +1889,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1893
1889
  }, z.core.$strict>, z.ZodObject<{
1894
1890
  kind: z.ZodLiteral<"manual">;
1895
1891
  input: z.ZodEnum<{
1892
+ none: "none";
1896
1893
  quiz: "quiz";
1897
1894
  photo: "photo";
1898
- none: "none";
1899
1895
  }>;
1900
1896
  actor: z.ZodOptional<z.ZodEnum<{
1901
1897
  member: "member";
@@ -1914,8 +1910,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1914
1910
  end: z.ZodOptional<z.ZodNumber>;
1915
1911
  }, z.core.$strict>;
1916
1912
  enrollment: z.ZodDefault<z.ZodEnum<{
1917
- required: "required";
1918
1913
  none: "none";
1914
+ required: "required";
1919
1915
  }>>;
1920
1916
  posts: z.ZodDefault<z.ZodEnum<{
1921
1917
  "after-enrollment": "after-enrollment";
@@ -1972,8 +1968,7 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1972
1968
  }, z.core.$strict>>;
1973
1969
  requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
1974
1970
  quest: z.ZodString;
1975
- scope: z.ZodLiteral<"ever">;
1976
- }, z.core.$strict>>>;
1971
+ }, z.core.$strip>>>;
1977
1972
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
1978
1973
  kind: z.ZodLiteral<"streak">;
1979
1974
  days: z.ZodNumber;
@@ -1998,8 +1993,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1998
1993
  }>;
1999
1994
  period: z.ZodEnum<{
2000
1995
  day: "day";
2001
- week: "week";
2002
1996
  lifetime: "lifetime";
1997
+ week: "week";
2003
1998
  }>;
2004
1999
  limit: z.ZodNumber;
2005
2000
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -2023,12 +2018,12 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2023
2018
  }, z.core.$strict>>;
2024
2019
  supportedInteractions: z.ZodArray<z.ZodEnum<{
2025
2020
  staff: "staff";
2026
- quiz: "quiz";
2027
2021
  text: "text";
2028
2022
  url: "url";
2029
- photo: "photo";
2030
2023
  automatic: "automatic";
2031
2024
  claim: "claim";
2025
+ quiz: "quiz";
2026
+ photo: "photo";
2032
2027
  }>>;
2033
2028
  }, z.core.$strip>;
2034
2029
  declare const saveQuestDraftSchema: z.ZodObject<{
@@ -2052,8 +2047,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
2052
2047
  }, z.core.$strict>>]>>;
2053
2048
  requires: z.ZodArray<z.ZodString>;
2054
2049
  status: z.ZodEnum<{
2055
- active: "active";
2056
2050
  paused: "paused";
2051
+ active: "active";
2057
2052
  archived: "archived";
2058
2053
  }>;
2059
2054
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -2121,10 +2116,10 @@ declare const questViewSchema: z.ZodObject<{
2121
2116
  }, z.core.$strict>>;
2122
2117
  }, z.core.$strict>>;
2123
2118
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2119
+ x: "x";
2124
2120
  discord: "discord";
2125
2121
  google: "google";
2126
2122
  apple: "apple";
2127
- x: "x";
2128
2123
  }>>>;
2129
2124
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2130
2125
  kind: z.ZodLiteral<"manual">;
@@ -2152,9 +2147,9 @@ declare const questViewSchema: z.ZodObject<{
2152
2147
  }, z.core.$strict>, z.ZodObject<{
2153
2148
  kind: z.ZodLiteral<"manual">;
2154
2149
  input: z.ZodEnum<{
2150
+ none: "none";
2155
2151
  quiz: "quiz";
2156
2152
  photo: "photo";
2157
- none: "none";
2158
2153
  }>;
2159
2154
  actor: z.ZodOptional<z.ZodEnum<{
2160
2155
  member: "member";
@@ -2173,8 +2168,8 @@ declare const questViewSchema: z.ZodObject<{
2173
2168
  end: z.ZodOptional<z.ZodNumber>;
2174
2169
  }, z.core.$strict>;
2175
2170
  enrollment: z.ZodDefault<z.ZodEnum<{
2176
- required: "required";
2177
2171
  none: "none";
2172
+ required: "required";
2178
2173
  }>>;
2179
2174
  posts: z.ZodDefault<z.ZodEnum<{
2180
2175
  "after-enrollment": "after-enrollment";
@@ -2221,11 +2216,11 @@ declare const questViewSchema: z.ZodObject<{
2221
2216
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2222
2217
  kind: z.ZodLiteral<"available">;
2223
2218
  input: z.ZodEnum<{
2224
- quiz: "quiz";
2225
2219
  text: "text";
2226
2220
  url: "url";
2227
- photo: "photo";
2228
2221
  none: "none";
2222
+ quiz: "quiz";
2223
+ photo: "photo";
2229
2224
  }>;
2230
2225
  }, z.core.$strict>, z.ZodObject<{
2231
2226
  kind: z.ZodLiteral<"completed">;
@@ -2322,13 +2317,13 @@ declare const questViewSchema: z.ZodObject<{
2322
2317
  value: z.ZodString;
2323
2318
  }, z.core.$strict>]>>;
2324
2319
  status: z.ZodEnum<{
2320
+ "needs-review": "needs-review";
2321
+ failed: "failed";
2325
2322
  queued: "queued";
2326
2323
  evaluating: "evaluating";
2327
2324
  accepted: "accepted";
2328
2325
  progressed: "progressed";
2329
2326
  rejected: "rejected";
2330
- "needs-review": "needs-review";
2331
- failed: "failed";
2332
2327
  }>;
2333
2328
  reason: z.ZodNullable<z.ZodString>;
2334
2329
  retries: z.ZodNumber;
@@ -2366,16 +2361,16 @@ declare const questViewSchema: z.ZodObject<{
2366
2361
  release: z.ZodString;
2367
2362
  interaction: z.ZodEnum<{
2368
2363
  staff: "staff";
2369
- quiz: "quiz";
2370
2364
  text: "text";
2371
2365
  url: "url";
2372
- photo: "photo";
2373
2366
  automatic: "automatic";
2374
2367
  claim: "claim";
2368
+ quiz: "quiz";
2369
+ photo: "photo";
2375
2370
  }>;
2376
2371
  lifecycle: z.ZodEnum<{
2377
- active: "active";
2378
2372
  paused: "paused";
2373
+ active: "active";
2379
2374
  archived: "archived";
2380
2375
  }>;
2381
2376
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2430,10 +2425,10 @@ declare const collectionViewSchema: z.ZodObject<{
2430
2425
  }, z.core.$strict>>;
2431
2426
  }, z.core.$strict>>;
2432
2427
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2428
+ x: "x";
2433
2429
  discord: "discord";
2434
2430
  google: "google";
2435
2431
  apple: "apple";
2436
- x: "x";
2437
2432
  }>>>;
2438
2433
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2439
2434
  kind: z.ZodLiteral<"manual">;
@@ -2461,9 +2456,9 @@ declare const collectionViewSchema: z.ZodObject<{
2461
2456
  }, z.core.$strict>, z.ZodObject<{
2462
2457
  kind: z.ZodLiteral<"manual">;
2463
2458
  input: z.ZodEnum<{
2459
+ none: "none";
2464
2460
  quiz: "quiz";
2465
2461
  photo: "photo";
2466
- none: "none";
2467
2462
  }>;
2468
2463
  actor: z.ZodOptional<z.ZodEnum<{
2469
2464
  member: "member";
@@ -2482,8 +2477,8 @@ declare const collectionViewSchema: z.ZodObject<{
2482
2477
  end: z.ZodOptional<z.ZodNumber>;
2483
2478
  }, z.core.$strict>;
2484
2479
  enrollment: z.ZodDefault<z.ZodEnum<{
2485
- required: "required";
2486
2480
  none: "none";
2481
+ required: "required";
2487
2482
  }>>;
2488
2483
  posts: z.ZodDefault<z.ZodEnum<{
2489
2484
  "after-enrollment": "after-enrollment";
@@ -2530,11 +2525,11 @@ declare const collectionViewSchema: z.ZodObject<{
2530
2525
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2531
2526
  kind: z.ZodLiteral<"available">;
2532
2527
  input: z.ZodEnum<{
2533
- quiz: "quiz";
2534
2528
  text: "text";
2535
2529
  url: "url";
2536
- photo: "photo";
2537
2530
  none: "none";
2531
+ quiz: "quiz";
2532
+ photo: "photo";
2538
2533
  }>;
2539
2534
  }, z.core.$strict>, z.ZodObject<{
2540
2535
  kind: z.ZodLiteral<"completed">;
@@ -2631,13 +2626,13 @@ declare const collectionViewSchema: z.ZodObject<{
2631
2626
  value: z.ZodString;
2632
2627
  }, z.core.$strict>]>>;
2633
2628
  status: z.ZodEnum<{
2629
+ "needs-review": "needs-review";
2630
+ failed: "failed";
2634
2631
  queued: "queued";
2635
2632
  evaluating: "evaluating";
2636
2633
  accepted: "accepted";
2637
2634
  progressed: "progressed";
2638
2635
  rejected: "rejected";
2639
- "needs-review": "needs-review";
2640
- failed: "failed";
2641
2636
  }>;
2642
2637
  reason: z.ZodNullable<z.ZodString>;
2643
2638
  retries: z.ZodNumber;
@@ -2675,16 +2670,16 @@ declare const collectionViewSchema: z.ZodObject<{
2675
2670
  release: z.ZodString;
2676
2671
  interaction: z.ZodEnum<{
2677
2672
  staff: "staff";
2678
- quiz: "quiz";
2679
2673
  text: "text";
2680
2674
  url: "url";
2681
- photo: "photo";
2682
2675
  automatic: "automatic";
2683
2676
  claim: "claim";
2677
+ quiz: "quiz";
2678
+ photo: "photo";
2684
2679
  }>;
2685
2680
  lifecycle: z.ZodEnum<{
2686
- active: "active";
2687
2681
  paused: "paused";
2682
+ active: "active";
2688
2683
  archived: "archived";
2689
2684
  }>;
2690
2685
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2738,10 +2733,10 @@ declare const questExperienceSchema: z.ZodObject<{
2738
2733
  }, z.core.$strict>>;
2739
2734
  }, z.core.$strict>>;
2740
2735
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2736
+ x: "x";
2741
2737
  discord: "discord";
2742
2738
  google: "google";
2743
2739
  apple: "apple";
2744
- x: "x";
2745
2740
  }>>>;
2746
2741
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2747
2742
  kind: z.ZodLiteral<"manual">;
@@ -2769,9 +2764,9 @@ declare const questExperienceSchema: z.ZodObject<{
2769
2764
  }, z.core.$strict>, z.ZodObject<{
2770
2765
  kind: z.ZodLiteral<"manual">;
2771
2766
  input: z.ZodEnum<{
2767
+ none: "none";
2772
2768
  quiz: "quiz";
2773
2769
  photo: "photo";
2774
- none: "none";
2775
2770
  }>;
2776
2771
  actor: z.ZodOptional<z.ZodEnum<{
2777
2772
  member: "member";
@@ -2790,8 +2785,8 @@ declare const questExperienceSchema: z.ZodObject<{
2790
2785
  end: z.ZodOptional<z.ZodNumber>;
2791
2786
  }, z.core.$strict>;
2792
2787
  enrollment: z.ZodDefault<z.ZodEnum<{
2793
- required: "required";
2794
2788
  none: "none";
2789
+ required: "required";
2795
2790
  }>>;
2796
2791
  posts: z.ZodDefault<z.ZodEnum<{
2797
2792
  "after-enrollment": "after-enrollment";
@@ -2838,11 +2833,11 @@ declare const questExperienceSchema: z.ZodObject<{
2838
2833
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2839
2834
  kind: z.ZodLiteral<"available">;
2840
2835
  input: z.ZodEnum<{
2841
- quiz: "quiz";
2842
2836
  text: "text";
2843
2837
  url: "url";
2844
- photo: "photo";
2845
2838
  none: "none";
2839
+ quiz: "quiz";
2840
+ photo: "photo";
2846
2841
  }>;
2847
2842
  }, z.core.$strict>, z.ZodObject<{
2848
2843
  kind: z.ZodLiteral<"completed">;
@@ -2939,13 +2934,13 @@ declare const questExperienceSchema: z.ZodObject<{
2939
2934
  value: z.ZodString;
2940
2935
  }, z.core.$strict>]>>;
2941
2936
  status: z.ZodEnum<{
2937
+ "needs-review": "needs-review";
2938
+ failed: "failed";
2942
2939
  queued: "queued";
2943
2940
  evaluating: "evaluating";
2944
2941
  accepted: "accepted";
2945
2942
  progressed: "progressed";
2946
2943
  rejected: "rejected";
2947
- "needs-review": "needs-review";
2948
- failed: "failed";
2949
2944
  }>;
2950
2945
  reason: z.ZodNullable<z.ZodString>;
2951
2946
  retries: z.ZodNumber;
@@ -2983,16 +2978,16 @@ declare const questExperienceSchema: z.ZodObject<{
2983
2978
  release: z.ZodString;
2984
2979
  interaction: z.ZodEnum<{
2985
2980
  staff: "staff";
2986
- quiz: "quiz";
2987
2981
  text: "text";
2988
2982
  url: "url";
2989
- photo: "photo";
2990
2983
  automatic: "automatic";
2991
2984
  claim: "claim";
2985
+ quiz: "quiz";
2986
+ photo: "photo";
2992
2987
  }>;
2993
2988
  lifecycle: z.ZodEnum<{
2994
- active: "active";
2995
2989
  paused: "paused";
2990
+ active: "active";
2996
2991
  archived: "archived";
2997
2992
  }>;
2998
2993
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3047,10 +3042,10 @@ declare const questExperienceSchema: z.ZodObject<{
3047
3042
  }, z.core.$strict>>;
3048
3043
  }, z.core.$strict>>;
3049
3044
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
3045
+ x: "x";
3050
3046
  discord: "discord";
3051
3047
  google: "google";
3052
3048
  apple: "apple";
3053
- x: "x";
3054
3049
  }>>>;
3055
3050
  trigger: z.ZodUnion<readonly [z.ZodObject<{
3056
3051
  kind: z.ZodLiteral<"manual">;
@@ -3078,9 +3073,9 @@ declare const questExperienceSchema: z.ZodObject<{
3078
3073
  }, z.core.$strict>, z.ZodObject<{
3079
3074
  kind: z.ZodLiteral<"manual">;
3080
3075
  input: z.ZodEnum<{
3076
+ none: "none";
3081
3077
  quiz: "quiz";
3082
3078
  photo: "photo";
3083
- none: "none";
3084
3079
  }>;
3085
3080
  actor: z.ZodOptional<z.ZodEnum<{
3086
3081
  member: "member";
@@ -3099,8 +3094,8 @@ declare const questExperienceSchema: z.ZodObject<{
3099
3094
  end: z.ZodOptional<z.ZodNumber>;
3100
3095
  }, z.core.$strict>;
3101
3096
  enrollment: z.ZodDefault<z.ZodEnum<{
3102
- required: "required";
3103
3097
  none: "none";
3098
+ required: "required";
3104
3099
  }>>;
3105
3100
  posts: z.ZodDefault<z.ZodEnum<{
3106
3101
  "after-enrollment": "after-enrollment";
@@ -3147,11 +3142,11 @@ declare const questExperienceSchema: z.ZodObject<{
3147
3142
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
3148
3143
  kind: z.ZodLiteral<"available">;
3149
3144
  input: z.ZodEnum<{
3150
- quiz: "quiz";
3151
3145
  text: "text";
3152
3146
  url: "url";
3153
- photo: "photo";
3154
3147
  none: "none";
3148
+ quiz: "quiz";
3149
+ photo: "photo";
3155
3150
  }>;
3156
3151
  }, z.core.$strict>, z.ZodObject<{
3157
3152
  kind: z.ZodLiteral<"completed">;
@@ -3248,13 +3243,13 @@ declare const questExperienceSchema: z.ZodObject<{
3248
3243
  value: z.ZodString;
3249
3244
  }, z.core.$strict>]>>;
3250
3245
  status: z.ZodEnum<{
3246
+ "needs-review": "needs-review";
3247
+ failed: "failed";
3251
3248
  queued: "queued";
3252
3249
  evaluating: "evaluating";
3253
3250
  accepted: "accepted";
3254
3251
  progressed: "progressed";
3255
3252
  rejected: "rejected";
3256
- "needs-review": "needs-review";
3257
- failed: "failed";
3258
3253
  }>;
3259
3254
  reason: z.ZodNullable<z.ZodString>;
3260
3255
  retries: z.ZodNumber;
@@ -3292,16 +3287,16 @@ declare const questExperienceSchema: z.ZodObject<{
3292
3287
  release: z.ZodString;
3293
3288
  interaction: z.ZodEnum<{
3294
3289
  staff: "staff";
3295
- quiz: "quiz";
3296
3290
  text: "text";
3297
3291
  url: "url";
3298
- photo: "photo";
3299
3292
  automatic: "automatic";
3300
3293
  claim: "claim";
3294
+ quiz: "quiz";
3295
+ photo: "photo";
3301
3296
  }>;
3302
3297
  lifecycle: z.ZodEnum<{
3303
- active: "active";
3304
3298
  paused: "paused";
3299
+ active: "active";
3305
3300
  archived: "archived";
3306
3301
  }>;
3307
3302
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3355,8 +3350,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3355
3350
  }, z.core.$strict>>]>>;
3356
3351
  requires: z.ZodArray<z.ZodString>;
3357
3352
  status: z.ZodEnum<{
3358
- active: "active";
3359
3353
  paused: "paused";
3354
+ active: "active";
3360
3355
  archived: "archived";
3361
3356
  }>;
3362
3357
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -3389,8 +3384,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3389
3384
  }, z.core.$strict>>]>>;
3390
3385
  requires: z.ZodArray<z.ZodString>;
3391
3386
  status: z.ZodEnum<{
3392
- active: "active";
3393
3387
  paused: "paused";
3388
+ active: "active";
3394
3389
  archived: "archived";
3395
3390
  }>;
3396
3391
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -3565,9 +3560,9 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3565
3560
  }, z.core.$strict>, z.ZodObject<{
3566
3561
  kind: z.ZodLiteral<"manual">;
3567
3562
  input: z.ZodEnum<{
3563
+ none: "none";
3568
3564
  quiz: "quiz";
3569
3565
  photo: "photo";
3570
- none: "none";
3571
3566
  }>;
3572
3567
  actor: z.ZodOptional<z.ZodEnum<{
3573
3568
  member: "member";
@@ -3586,8 +3581,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3586
3581
  end: z.ZodOptional<z.ZodNumber>;
3587
3582
  }, z.core.$strict>;
3588
3583
  enrollment: z.ZodDefault<z.ZodEnum<{
3589
- required: "required";
3590
3584
  none: "none";
3585
+ required: "required";
3591
3586
  }>>;
3592
3587
  posts: z.ZodDefault<z.ZodEnum<{
3593
3588
  "after-enrollment": "after-enrollment";
@@ -3644,8 +3639,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3644
3639
  }, z.core.$strict>>;
3645
3640
  requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
3646
3641
  quest: z.ZodString;
3647
- scope: z.ZodLiteral<"ever">;
3648
- }, z.core.$strict>>>;
3642
+ }, z.core.$strip>>>;
3649
3643
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
3650
3644
  kind: z.ZodLiteral<"streak">;
3651
3645
  days: z.ZodNumber;
@@ -3670,8 +3664,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3670
3664
  }>;
3671
3665
  period: z.ZodEnum<{
3672
3666
  day: "day";
3673
- week: "week";
3674
3667
  lifetime: "lifetime";
3668
+ week: "week";
3675
3669
  }>;
3676
3670
  limit: z.ZodNumber;
3677
3671
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -3694,8 +3688,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3694
3688
  typeVersion: z.ZodString;
3695
3689
  }, z.core.$strict>>;
3696
3690
  lifecycle: z.ZodDefault<z.ZodEnum<{
3697
- active: "active";
3698
3691
  paused: "paused";
3692
+ active: "active";
3699
3693
  archived: "archived";
3700
3694
  }>>;
3701
3695
  configuration: z.ZodOptional<z.ZodObject<{
@@ -3800,12 +3794,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3800
3794
  kind: "resource";
3801
3795
  default: string;
3802
3796
  source: {
3803
- provider: "domino";
3804
- resource: "point-ledger";
3805
- } | {
3806
3797
  provider: "discord";
3807
3798
  resource: "channel";
3808
3799
  types: ("text" | "announcement")[];
3800
+ } | {
3801
+ provider: "domino";
3802
+ resource: "point-ledger";
3809
3803
  } | {
3810
3804
  provider: "discord";
3811
3805
  resource: "role";
@@ -3902,7 +3896,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3902
3896
  start: number;
3903
3897
  end?: number | undefined;
3904
3898
  };
3905
- enrollment: "required" | "none";
3899
+ enrollment: "none" | "required";
3906
3900
  posts: "after-enrollment" | "since-start";
3907
3901
  historical: "staff" | "automatic" | "claim";
3908
3902
  } | undefined;
@@ -3949,12 +3943,11 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3949
3943
  actor?: "member" | "staff" | undefined;
3950
3944
  } | {
3951
3945
  kind: "manual";
3952
- input: "quiz" | "photo" | "none";
3946
+ input: "none" | "quiz" | "photo";
3953
3947
  actor?: "member" | "staff" | undefined;
3954
3948
  };
3955
3949
  requires: {
3956
3950
  quest: string;
3957
- scope: "ever";
3958
3951
  }[];
3959
3952
  completion: {
3960
3953
  kind: "streak";
@@ -3969,7 +3962,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3969
3962
  budgets: {
3970
3963
  id: string;
3971
3964
  scope: "project" | "member";
3972
- period: "day" | "week" | "lifetime";
3965
+ period: "day" | "lifetime" | "week";
3973
3966
  limit: number;
3974
3967
  cost: number | {
3975
3968
  balance: string;
@@ -3980,7 +3973,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3980
3973
  id: string;
3981
3974
  createdAt: number;
3982
3975
  legacy: boolean;
3983
- lifecycle: "active" | "paused" | "archived";
3976
+ lifecycle: "paused" | "active" | "archived";
3984
3977
  performance?: {
3985
3978
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3986
3979
  maxAgeMs: number;
@@ -4440,8 +4433,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
4440
4433
  action: z.ZodLiteral<"grant-role">;
4441
4434
  roleId: z.ZodString;
4442
4435
  status: z.ZodEnum<{
4443
- failed: "failed";
4444
4436
  pending: "pending";
4437
+ failed: "failed";
4445
4438
  delivered: "delivered";
4446
4439
  }>;
4447
4440
  attempts: z.ZodNumber;
@@ -4460,8 +4453,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
4460
4453
  action: z.ZodLiteral<"grant-role">;
4461
4454
  roleId: z.ZodString;
4462
4455
  status: z.ZodEnum<{
4463
- failed: "failed";
4464
4456
  pending: "pending";
4457
+ failed: "failed";
4465
4458
  delivered: "delivered";
4466
4459
  }>;
4467
4460
  attempts: z.ZodNumber;
@@ -4632,6 +4625,12 @@ declare function questConfiguration(release: PublishedRelease): {
4632
4625
 
4633
4626
  /** Non-quest resources in the private hosted-build catalog artifact. */
4634
4627
  declare const projectCatalogArtifactSchema: z.ZodObject<{
4628
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4629
+ code: z.ZodString;
4630
+ provider: z.ZodEnum<{
4631
+ "workers-ai": "workers-ai";
4632
+ }>;
4633
+ }, z.core.$strip>>>;
4635
4634
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
4636
4635
  title: z.ZodString;
4637
4636
  key: z.ZodOptional<z.ZodString>;
@@ -4640,27 +4639,21 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4640
4639
  title: string;
4641
4640
  key?: string | undefined;
4642
4641
  id?: string | undefined;
4643
- }, "key" | "id"> & {
4642
+ }, "id" | "key"> & {
4644
4643
  key: string;
4645
4644
  }, {
4646
4645
  title: string;
4647
4646
  key?: string | undefined;
4648
4647
  id?: string | undefined;
4649
4648
  }>>>>;
4650
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4651
- code: z.ZodString;
4652
- provider: z.ZodEnum<{
4653
- "workers-ai": "workers-ai";
4654
- }>;
4655
- }, z.core.$strip>>>;
4656
4649
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4657
4650
  staff: "staff";
4658
- quiz: "quiz";
4659
4651
  text: "text";
4660
4652
  url: "url";
4661
- photo: "photo";
4662
4653
  automatic: "automatic";
4663
4654
  claim: "claim";
4655
+ quiz: "quiz";
4656
+ photo: "photo";
4664
4657
  }>>>;
4665
4658
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
4666
4659
  code: z.ZodString;
@@ -4676,9 +4669,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4676
4669
  namespace: z.ZodString;
4677
4670
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4678
4671
  member: "member";
4679
- discord: "discord";
4680
4672
  x: "x";
4681
4673
  wallet: "wallet";
4674
+ discord: "discord";
4682
4675
  }>>>;
4683
4676
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
4684
4677
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -4699,6 +4692,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4699
4692
  }, z.core.$strict>>>;
4700
4693
  referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4701
4694
  title: z.ZodString;
4695
+ qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
4696
+ kind: z.ZodLiteral<"signup">;
4697
+ }, z.core.$strict>, z.ZodObject<{
4698
+ kind: z.ZodLiteral<"quest">;
4699
+ quest: z.ZodString;
4700
+ }, z.core.$strict>, z.ZodObject<{
4701
+ kind: z.ZodLiteral<"external">;
4702
+ }, z.core.$strict>], "kind">;
4702
4703
  rewards: z.ZodDefault<z.ZodObject<{
4703
4704
  inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4704
4705
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -4746,14 +4747,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4746
4747
  }, z.core.$strict>]>>>;
4747
4748
  }, z.core.$strict>>;
4748
4749
  enabled: z.ZodDefault<z.ZodBoolean>;
4749
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
4750
- kind: z.ZodLiteral<"signup">;
4751
- }, z.core.$strict>, z.ZodObject<{
4752
- kind: z.ZodLiteral<"quest">;
4753
- quest: z.ZodString;
4754
- }, z.core.$strict>, z.ZodObject<{
4755
- kind: z.ZodLiteral<"external">;
4756
- }, z.core.$strict>], "kind">;
4757
4750
  inviterGroup: z.ZodOptional<z.ZodString>;
4758
4751
  milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
4759
4752
  id: z.ZodString;
@@ -4794,6 +4787,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4794
4787
  id: z.ZodOptional<z.ZodString>;
4795
4788
  }, z.core.$strict>, z.ZodTransform<Omit<{
4796
4789
  title: string;
4790
+ qualification: {
4791
+ kind: "signup";
4792
+ } | {
4793
+ kind: "quest";
4794
+ quest: string;
4795
+ } | {
4796
+ kind: "external";
4797
+ };
4797
4798
  rewards: {
4798
4799
  inviter: ({
4799
4800
  kind: "tier";
@@ -4841,14 +4842,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4841
4842
  })[];
4842
4843
  };
4843
4844
  enabled: boolean;
4844
- qualification: {
4845
- kind: "signup";
4846
- } | {
4847
- kind: "quest";
4848
- quest: string;
4849
- } | {
4850
- kind: "external";
4851
- };
4852
4845
  milestones: {
4853
4846
  id: string;
4854
4847
  count: number;
@@ -4887,10 +4880,18 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4887
4880
  inviterGroup?: string | undefined;
4888
4881
  key?: string | undefined;
4889
4882
  id?: string | undefined;
4890
- }, "key" | "id"> & {
4883
+ }, "id" | "key"> & {
4891
4884
  key: string;
4892
4885
  }, {
4893
4886
  title: string;
4887
+ qualification: {
4888
+ kind: "signup";
4889
+ } | {
4890
+ kind: "quest";
4891
+ quest: string;
4892
+ } | {
4893
+ kind: "external";
4894
+ };
4894
4895
  rewards: {
4895
4896
  inviter: ({
4896
4897
  kind: "tier";
@@ -4938,14 +4939,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4938
4939
  })[];
4939
4940
  };
4940
4941
  enabled: boolean;
4941
- qualification: {
4942
- kind: "signup";
4943
- } | {
4944
- kind: "quest";
4945
- quest: string;
4946
- } | {
4947
- kind: "external";
4948
- };
4949
4942
  milestones: {
4950
4943
  id: string;
4951
4944
  count: number;
@@ -4990,6 +4983,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4990
4983
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4991
4984
  title: z.ZodString;
4992
4985
  balance: z.ZodString;
4986
+ group: z.ZodOptional<z.ZodString>;
4993
4987
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
4994
4988
  kind: z.ZodLiteral<"balance">;
4995
4989
  }, z.core.$strict>, z.ZodObject<{
@@ -5038,7 +5032,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
5038
5032
  participants: "participants";
5039
5033
  public: "public";
5040
5034
  }>>;
5041
- group: z.ZodOptional<z.ZodString>;
5042
5035
  key: z.ZodOptional<z.ZodString>;
5043
5036
  id: z.ZodOptional<z.ZodString>;
5044
5037
  }, z.core.$strict>, z.ZodTransform<Omit<{
@@ -5084,7 +5077,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
5084
5077
  group?: string | undefined;
5085
5078
  key?: string | undefined;
5086
5079
  id?: string | undefined;
5087
- }, "key" | "id"> & {
5080
+ }, "id" | "key"> & {
5088
5081
  key: string;
5089
5082
  }, {
5090
5083
  title: string;
@@ -5141,6 +5134,12 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
5141
5134
  }, z.core.$strict>;
5142
5135
  /** One manifest bundle. Missing entries never delete remotely owned resources. */
5143
5136
  declare const projectDeploymentSchema: z.ZodObject<{
5137
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
5138
+ code: z.ZodString;
5139
+ provider: z.ZodEnum<{
5140
+ "workers-ai": "workers-ai";
5141
+ }>;
5142
+ }, z.core.$strip>>>;
5144
5143
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
5145
5144
  title: z.ZodString;
5146
5145
  key: z.ZodOptional<z.ZodString>;
@@ -5149,27 +5148,21 @@ declare const projectDeploymentSchema: z.ZodObject<{
5149
5148
  title: string;
5150
5149
  key?: string | undefined;
5151
5150
  id?: string | undefined;
5152
- }, "key" | "id"> & {
5151
+ }, "id" | "key"> & {
5153
5152
  key: string;
5154
5153
  }, {
5155
5154
  title: string;
5156
5155
  key?: string | undefined;
5157
5156
  id?: string | undefined;
5158
5157
  }>>>>;
5159
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
5160
- code: z.ZodString;
5161
- provider: z.ZodEnum<{
5162
- "workers-ai": "workers-ai";
5163
- }>;
5164
- }, z.core.$strip>>>;
5165
5158
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5166
5159
  staff: "staff";
5167
- quiz: "quiz";
5168
5160
  text: "text";
5169
5161
  url: "url";
5170
- photo: "photo";
5171
5162
  automatic: "automatic";
5172
5163
  claim: "claim";
5164
+ quiz: "quiz";
5165
+ photo: "photo";
5173
5166
  }>>>;
5174
5167
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
5175
5168
  code: z.ZodString;
@@ -5185,9 +5178,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
5185
5178
  namespace: z.ZodString;
5186
5179
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5187
5180
  member: "member";
5188
- discord: "discord";
5189
5181
  x: "x";
5190
5182
  wallet: "wallet";
5183
+ discord: "discord";
5191
5184
  }>>>;
5192
5185
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
5193
5186
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -5208,6 +5201,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5208
5201
  }, z.core.$strict>>>;
5209
5202
  referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
5210
5203
  title: z.ZodString;
5204
+ qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
5205
+ kind: z.ZodLiteral<"signup">;
5206
+ }, z.core.$strict>, z.ZodObject<{
5207
+ kind: z.ZodLiteral<"quest">;
5208
+ quest: z.ZodString;
5209
+ }, z.core.$strict>, z.ZodObject<{
5210
+ kind: z.ZodLiteral<"external">;
5211
+ }, z.core.$strict>], "kind">;
5211
5212
  rewards: z.ZodDefault<z.ZodObject<{
5212
5213
  inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5213
5214
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -5255,14 +5256,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5255
5256
  }, z.core.$strict>]>>>;
5256
5257
  }, z.core.$strict>>;
5257
5258
  enabled: z.ZodDefault<z.ZodBoolean>;
5258
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
5259
- kind: z.ZodLiteral<"signup">;
5260
- }, z.core.$strict>, z.ZodObject<{
5261
- kind: z.ZodLiteral<"quest">;
5262
- quest: z.ZodString;
5263
- }, z.core.$strict>, z.ZodObject<{
5264
- kind: z.ZodLiteral<"external">;
5265
- }, z.core.$strict>], "kind">;
5266
5259
  inviterGroup: z.ZodOptional<z.ZodString>;
5267
5260
  milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
5268
5261
  id: z.ZodString;
@@ -5303,6 +5296,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5303
5296
  id: z.ZodOptional<z.ZodString>;
5304
5297
  }, z.core.$strict>, z.ZodTransform<Omit<{
5305
5298
  title: string;
5299
+ qualification: {
5300
+ kind: "signup";
5301
+ } | {
5302
+ kind: "quest";
5303
+ quest: string;
5304
+ } | {
5305
+ kind: "external";
5306
+ };
5306
5307
  rewards: {
5307
5308
  inviter: ({
5308
5309
  kind: "tier";
@@ -5350,14 +5351,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5350
5351
  })[];
5351
5352
  };
5352
5353
  enabled: boolean;
5353
- qualification: {
5354
- kind: "signup";
5355
- } | {
5356
- kind: "quest";
5357
- quest: string;
5358
- } | {
5359
- kind: "external";
5360
- };
5361
5354
  milestones: {
5362
5355
  id: string;
5363
5356
  count: number;
@@ -5396,10 +5389,18 @@ declare const projectDeploymentSchema: z.ZodObject<{
5396
5389
  inviterGroup?: string | undefined;
5397
5390
  key?: string | undefined;
5398
5391
  id?: string | undefined;
5399
- }, "key" | "id"> & {
5392
+ }, "id" | "key"> & {
5400
5393
  key: string;
5401
5394
  }, {
5402
5395
  title: string;
5396
+ qualification: {
5397
+ kind: "signup";
5398
+ } | {
5399
+ kind: "quest";
5400
+ quest: string;
5401
+ } | {
5402
+ kind: "external";
5403
+ };
5403
5404
  rewards: {
5404
5405
  inviter: ({
5405
5406
  kind: "tier";
@@ -5447,14 +5448,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5447
5448
  })[];
5448
5449
  };
5449
5450
  enabled: boolean;
5450
- qualification: {
5451
- kind: "signup";
5452
- } | {
5453
- kind: "quest";
5454
- quest: string;
5455
- } | {
5456
- kind: "external";
5457
- };
5458
5451
  milestones: {
5459
5452
  id: string;
5460
5453
  count: number;
@@ -5499,6 +5492,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
5499
5492
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
5500
5493
  title: z.ZodString;
5501
5494
  balance: z.ZodString;
5495
+ group: z.ZodOptional<z.ZodString>;
5502
5496
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
5503
5497
  kind: z.ZodLiteral<"balance">;
5504
5498
  }, z.core.$strict>, z.ZodObject<{
@@ -5547,7 +5541,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5547
5541
  participants: "participants";
5548
5542
  public: "public";
5549
5543
  }>>;
5550
- group: z.ZodOptional<z.ZodString>;
5551
5544
  key: z.ZodOptional<z.ZodString>;
5552
5545
  id: z.ZodOptional<z.ZodString>;
5553
5546
  }, z.core.$strict>, z.ZodTransform<Omit<{
@@ -5593,7 +5586,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
5593
5586
  group?: string | undefined;
5594
5587
  key?: string | undefined;
5595
5588
  id?: string | undefined;
5596
- }, "key" | "id"> & {
5589
+ }, "id" | "key"> & {
5597
5590
  key: string;
5598
5591
  }, {
5599
5592
  title: string;
@@ -5801,9 +5794,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5801
5794
  namespace: z.ZodString;
5802
5795
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5803
5796
  member: "member";
5804
- discord: "discord";
5805
5797
  x: "x";
5806
5798
  wallet: "wallet";
5799
+ discord: "discord";
5807
5800
  }>>>;
5808
5801
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
5809
5802
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -5984,9 +5977,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5984
5977
  }, z.core.$strict>, z.ZodObject<{
5985
5978
  kind: z.ZodLiteral<"manual">;
5986
5979
  input: z.ZodEnum<{
5980
+ none: "none";
5987
5981
  quiz: "quiz";
5988
5982
  photo: "photo";
5989
- none: "none";
5990
5983
  }>;
5991
5984
  actor: z.ZodOptional<z.ZodEnum<{
5992
5985
  member: "member";
@@ -6005,8 +5998,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6005
5998
  end: z.ZodOptional<z.ZodNumber>;
6006
5999
  }, z.core.$strict>;
6007
6000
  enrollment: z.ZodDefault<z.ZodEnum<{
6008
- required: "required";
6009
6001
  none: "none";
6002
+ required: "required";
6010
6003
  }>>;
6011
6004
  posts: z.ZodDefault<z.ZodEnum<{
6012
6005
  "after-enrollment": "after-enrollment";
@@ -6063,8 +6056,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6063
6056
  }, z.core.$strict>>;
6064
6057
  requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
6065
6058
  quest: z.ZodString;
6066
- scope: z.ZodLiteral<"ever">;
6067
- }, z.core.$strict>>>;
6059
+ }, z.core.$strip>>>;
6068
6060
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
6069
6061
  kind: z.ZodLiteral<"streak">;
6070
6062
  days: z.ZodNumber;
@@ -6089,8 +6081,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6089
6081
  }>;
6090
6082
  period: z.ZodEnum<{
6091
6083
  day: "day";
6092
- week: "week";
6093
6084
  lifetime: "lifetime";
6085
+ week: "week";
6094
6086
  }>;
6095
6087
  limit: z.ZodNumber;
6096
6088
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -6113,8 +6105,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6113
6105
  typeVersion: z.ZodString;
6114
6106
  }, z.core.$strict>>;
6115
6107
  lifecycle: z.ZodDefault<z.ZodEnum<{
6116
- active: "active";
6117
6108
  paused: "paused";
6109
+ active: "active";
6118
6110
  archived: "archived";
6119
6111
  }>>;
6120
6112
  configuration: z.ZodOptional<z.ZodObject<{
@@ -6218,13 +6210,13 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6218
6210
  } | {
6219
6211
  kind: "resource";
6220
6212
  default: string;
6221
- source: {
6222
- provider: "domino";
6223
- resource: "point-ledger";
6224
- } | {
6213
+ source: {
6225
6214
  provider: "discord";
6226
6215
  resource: "channel";
6227
6216
  types: ("text" | "announcement")[];
6217
+ } | {
6218
+ provider: "domino";
6219
+ resource: "point-ledger";
6228
6220
  } | {
6229
6221
  provider: "discord";
6230
6222
  resource: "role";
@@ -6321,7 +6313,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6321
6313
  start: number;
6322
6314
  end?: number | undefined;
6323
6315
  };
6324
- enrollment: "required" | "none";
6316
+ enrollment: "none" | "required";
6325
6317
  posts: "after-enrollment" | "since-start";
6326
6318
  historical: "staff" | "automatic" | "claim";
6327
6319
  } | undefined;
@@ -6368,12 +6360,11 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6368
6360
  actor?: "member" | "staff" | undefined;
6369
6361
  } | {
6370
6362
  kind: "manual";
6371
- input: "quiz" | "photo" | "none";
6363
+ input: "none" | "quiz" | "photo";
6372
6364
  actor?: "member" | "staff" | undefined;
6373
6365
  };
6374
6366
  requires: {
6375
6367
  quest: string;
6376
- scope: "ever";
6377
6368
  }[];
6378
6369
  completion: {
6379
6370
  kind: "streak";
@@ -6388,7 +6379,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6388
6379
  budgets: {
6389
6380
  id: string;
6390
6381
  scope: "project" | "member";
6391
- period: "day" | "week" | "lifetime";
6382
+ period: "day" | "lifetime" | "week";
6392
6383
  limit: number;
6393
6384
  cost: number | {
6394
6385
  balance: string;
@@ -6399,7 +6390,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6399
6390
  id: string;
6400
6391
  createdAt: number;
6401
6392
  legacy: boolean;
6402
- lifecycle: "active" | "paused" | "archived";
6393
+ lifecycle: "paused" | "active" | "archived";
6403
6394
  performance?: {
6404
6395
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
6405
6396
  maxAgeMs: number;
@@ -6634,9 +6625,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6634
6625
  }, z.core.$strict>, z.ZodObject<{
6635
6626
  kind: z.ZodLiteral<"manual">;
6636
6627
  input: z.ZodEnum<{
6628
+ none: "none";
6637
6629
  quiz: "quiz";
6638
6630
  photo: "photo";
6639
- none: "none";
6640
6631
  }>;
6641
6632
  actor: z.ZodOptional<z.ZodEnum<{
6642
6633
  member: "member";
@@ -6655,8 +6646,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6655
6646
  end: z.ZodOptional<z.ZodNumber>;
6656
6647
  }, z.core.$strict>;
6657
6648
  enrollment: z.ZodDefault<z.ZodEnum<{
6658
- required: "required";
6659
6649
  none: "none";
6650
+ required: "required";
6660
6651
  }>>;
6661
6652
  posts: z.ZodDefault<z.ZodEnum<{
6662
6653
  "after-enrollment": "after-enrollment";
@@ -6713,8 +6704,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6713
6704
  }, z.core.$strict>>;
6714
6705
  requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
6715
6706
  quest: z.ZodString;
6716
- scope: z.ZodLiteral<"ever">;
6717
- }, z.core.$strict>>>;
6707
+ }, z.core.$strip>>>;
6718
6708
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
6719
6709
  kind: z.ZodLiteral<"streak">;
6720
6710
  days: z.ZodNumber;
@@ -6739,8 +6729,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6739
6729
  }>;
6740
6730
  period: z.ZodEnum<{
6741
6731
  day: "day";
6742
- week: "week";
6743
6732
  lifetime: "lifetime";
6733
+ week: "week";
6744
6734
  }>;
6745
6735
  limit: z.ZodNumber;
6746
6736
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -6765,12 +6755,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6765
6755
  }, z.core.$strict>>;
6766
6756
  supportedInteractions: z.ZodArray<z.ZodEnum<{
6767
6757
  staff: "staff";
6768
- quiz: "quiz";
6769
6758
  text: "text";
6770
6759
  url: "url";
6771
- photo: "photo";
6772
6760
  automatic: "automatic";
6773
6761
  claim: "claim";
6762
+ quiz: "quiz";
6763
+ photo: "photo";
6774
6764
  }>>;
6775
6765
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
6776
6766
  version: z.ZodString;
@@ -6966,9 +6956,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6966
6956
  }, z.core.$strip>, z.ZodObject<{
6967
6957
  source: z.ZodLiteral<"account">;
6968
6958
  provider: z.ZodEnum<{
6959
+ x: "x";
6969
6960
  discord: "discord";
6970
6961
  google: "google";
6971
- x: "x";
6972
6962
  }>;
6973
6963
  url: z.ZodString;
6974
6964
  seed: z.ZodString;
@@ -6994,9 +6984,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6994
6984
  }, z.core.$strip>, z.ZodObject<{
6995
6985
  source: z.ZodLiteral<"account">;
6996
6986
  provider: z.ZodEnum<{
6987
+ x: "x";
6997
6988
  discord: "discord";
6998
6989
  google: "google";
6999
- x: "x";
7000
6990
  }>;
7001
6991
  url: z.ZodString;
7002
6992
  seed: z.ZodString;
@@ -7022,9 +7012,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7022
7012
  }, z.core.$strip>, z.ZodObject<{
7023
7013
  source: z.ZodLiteral<"account">;
7024
7014
  provider: z.ZodEnum<{
7015
+ x: "x";
7025
7016
  discord: "discord";
7026
7017
  google: "google";
7027
- x: "x";
7028
7018
  }>;
7029
7019
  url: z.ZodString;
7030
7020
  seed: z.ZodString;
@@ -7068,9 +7058,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7068
7058
  }, z.core.$strip>, z.ZodObject<{
7069
7059
  source: z.ZodLiteral<"account">;
7070
7060
  provider: z.ZodEnum<{
7061
+ x: "x";
7071
7062
  discord: "discord";
7072
7063
  google: "google";
7073
- x: "x";
7074
7064
  }>;
7075
7065
  url: z.ZodString;
7076
7066
  seed: z.ZodString;
@@ -7096,9 +7086,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7096
7086
  }, z.core.$strip>, z.ZodObject<{
7097
7087
  source: z.ZodLiteral<"account">;
7098
7088
  provider: z.ZodEnum<{
7089
+ x: "x";
7099
7090
  discord: "discord";
7100
7091
  google: "google";
7101
- x: "x";
7102
7092
  }>;
7103
7093
  url: z.ZodString;
7104
7094
  seed: z.ZodString;
@@ -7124,9 +7114,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7124
7114
  }, z.core.$strip>, z.ZodObject<{
7125
7115
  source: z.ZodLiteral<"account">;
7126
7116
  provider: z.ZodEnum<{
7117
+ x: "x";
7127
7118
  discord: "discord";
7128
7119
  google: "google";
7129
- x: "x";
7130
7120
  }>;
7131
7121
  url: z.ZodString;
7132
7122
  seed: z.ZodString;
@@ -7291,9 +7281,9 @@ declare const deploymentResultSchema: z.ZodObject<{
7291
7281
  namespace: z.ZodString;
7292
7282
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7293
7283
  member: "member";
7294
- discord: "discord";
7295
7284
  x: "x";
7296
7285
  wallet: "wallet";
7286
+ discord: "discord";
7297
7287
  }>>>;
7298
7288
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
7299
7289
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -7474,9 +7464,9 @@ declare const deploymentResultSchema: z.ZodObject<{
7474
7464
  }, z.core.$strict>, z.ZodObject<{
7475
7465
  kind: z.ZodLiteral<"manual">;
7476
7466
  input: z.ZodEnum<{
7467
+ none: "none";
7477
7468
  quiz: "quiz";
7478
7469
  photo: "photo";
7479
- none: "none";
7480
7470
  }>;
7481
7471
  actor: z.ZodOptional<z.ZodEnum<{
7482
7472
  member: "member";
@@ -7495,8 +7485,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7495
7485
  end: z.ZodOptional<z.ZodNumber>;
7496
7486
  }, z.core.$strict>;
7497
7487
  enrollment: z.ZodDefault<z.ZodEnum<{
7498
- required: "required";
7499
7488
  none: "none";
7489
+ required: "required";
7500
7490
  }>>;
7501
7491
  posts: z.ZodDefault<z.ZodEnum<{
7502
7492
  "after-enrollment": "after-enrollment";
@@ -7553,8 +7543,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7553
7543
  }, z.core.$strict>>;
7554
7544
  requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
7555
7545
  quest: z.ZodString;
7556
- scope: z.ZodLiteral<"ever">;
7557
- }, z.core.$strict>>>;
7546
+ }, z.core.$strip>>>;
7558
7547
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
7559
7548
  kind: z.ZodLiteral<"streak">;
7560
7549
  days: z.ZodNumber;
@@ -7579,8 +7568,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7579
7568
  }>;
7580
7569
  period: z.ZodEnum<{
7581
7570
  day: "day";
7582
- week: "week";
7583
7571
  lifetime: "lifetime";
7572
+ week: "week";
7584
7573
  }>;
7585
7574
  limit: z.ZodNumber;
7586
7575
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -7603,8 +7592,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7603
7592
  typeVersion: z.ZodString;
7604
7593
  }, z.core.$strict>>;
7605
7594
  lifecycle: z.ZodDefault<z.ZodEnum<{
7606
- active: "active";
7607
7595
  paused: "paused";
7596
+ active: "active";
7608
7597
  archived: "archived";
7609
7598
  }>>;
7610
7599
  configuration: z.ZodOptional<z.ZodObject<{
@@ -7709,12 +7698,12 @@ declare const deploymentResultSchema: z.ZodObject<{
7709
7698
  kind: "resource";
7710
7699
  default: string;
7711
7700
  source: {
7712
- provider: "domino";
7713
- resource: "point-ledger";
7714
- } | {
7715
7701
  provider: "discord";
7716
7702
  resource: "channel";
7717
7703
  types: ("text" | "announcement")[];
7704
+ } | {
7705
+ provider: "domino";
7706
+ resource: "point-ledger";
7718
7707
  } | {
7719
7708
  provider: "discord";
7720
7709
  resource: "role";
@@ -7811,7 +7800,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7811
7800
  start: number;
7812
7801
  end?: number | undefined;
7813
7802
  };
7814
- enrollment: "required" | "none";
7803
+ enrollment: "none" | "required";
7815
7804
  posts: "after-enrollment" | "since-start";
7816
7805
  historical: "staff" | "automatic" | "claim";
7817
7806
  } | undefined;
@@ -7858,12 +7847,11 @@ declare const deploymentResultSchema: z.ZodObject<{
7858
7847
  actor?: "member" | "staff" | undefined;
7859
7848
  } | {
7860
7849
  kind: "manual";
7861
- input: "quiz" | "photo" | "none";
7850
+ input: "none" | "quiz" | "photo";
7862
7851
  actor?: "member" | "staff" | undefined;
7863
7852
  };
7864
7853
  requires: {
7865
7854
  quest: string;
7866
- scope: "ever";
7867
7855
  }[];
7868
7856
  completion: {
7869
7857
  kind: "streak";
@@ -7878,7 +7866,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7878
7866
  budgets: {
7879
7867
  id: string;
7880
7868
  scope: "project" | "member";
7881
- period: "day" | "week" | "lifetime";
7869
+ period: "day" | "lifetime" | "week";
7882
7870
  limit: number;
7883
7871
  cost: number | {
7884
7872
  balance: string;
@@ -7889,7 +7877,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7889
7877
  id: string;
7890
7878
  createdAt: number;
7891
7879
  legacy: boolean;
7892
- lifecycle: "active" | "paused" | "archived";
7880
+ lifecycle: "paused" | "active" | "archived";
7893
7881
  performance?: {
7894
7882
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
7895
7883
  maxAgeMs: number;
@@ -8124,9 +8112,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8124
8112
  }, z.core.$strict>, z.ZodObject<{
8125
8113
  kind: z.ZodLiteral<"manual">;
8126
8114
  input: z.ZodEnum<{
8115
+ none: "none";
8127
8116
  quiz: "quiz";
8128
8117
  photo: "photo";
8129
- none: "none";
8130
8118
  }>;
8131
8119
  actor: z.ZodOptional<z.ZodEnum<{
8132
8120
  member: "member";
@@ -8145,8 +8133,8 @@ declare const deploymentResultSchema: z.ZodObject<{
8145
8133
  end: z.ZodOptional<z.ZodNumber>;
8146
8134
  }, z.core.$strict>;
8147
8135
  enrollment: z.ZodDefault<z.ZodEnum<{
8148
- required: "required";
8149
8136
  none: "none";
8137
+ required: "required";
8150
8138
  }>>;
8151
8139
  posts: z.ZodDefault<z.ZodEnum<{
8152
8140
  "after-enrollment": "after-enrollment";
@@ -8203,8 +8191,7 @@ declare const deploymentResultSchema: z.ZodObject<{
8203
8191
  }, z.core.$strict>>;
8204
8192
  requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
8205
8193
  quest: z.ZodString;
8206
- scope: z.ZodLiteral<"ever">;
8207
- }, z.core.$strict>>>;
8194
+ }, z.core.$strip>>>;
8208
8195
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
8209
8196
  kind: z.ZodLiteral<"streak">;
8210
8197
  days: z.ZodNumber;
@@ -8229,8 +8216,8 @@ declare const deploymentResultSchema: z.ZodObject<{
8229
8216
  }>;
8230
8217
  period: z.ZodEnum<{
8231
8218
  day: "day";
8232
- week: "week";
8233
8219
  lifetime: "lifetime";
8220
+ week: "week";
8234
8221
  }>;
8235
8222
  limit: z.ZodNumber;
8236
8223
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -8255,12 +8242,12 @@ declare const deploymentResultSchema: z.ZodObject<{
8255
8242
  }, z.core.$strict>>;
8256
8243
  supportedInteractions: z.ZodArray<z.ZodEnum<{
8257
8244
  staff: "staff";
8258
- quiz: "quiz";
8259
8245
  text: "text";
8260
8246
  url: "url";
8261
- photo: "photo";
8262
8247
  automatic: "automatic";
8263
8248
  claim: "claim";
8249
+ quiz: "quiz";
8250
+ photo: "photo";
8264
8251
  }>>;
8265
8252
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
8266
8253
  version: z.ZodString;
@@ -8456,9 +8443,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8456
8443
  }, z.core.$strip>, z.ZodObject<{
8457
8444
  source: z.ZodLiteral<"account">;
8458
8445
  provider: z.ZodEnum<{
8446
+ x: "x";
8459
8447
  discord: "discord";
8460
8448
  google: "google";
8461
- x: "x";
8462
8449
  }>;
8463
8450
  url: z.ZodString;
8464
8451
  seed: z.ZodString;
@@ -8484,9 +8471,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8484
8471
  }, z.core.$strip>, z.ZodObject<{
8485
8472
  source: z.ZodLiteral<"account">;
8486
8473
  provider: z.ZodEnum<{
8474
+ x: "x";
8487
8475
  discord: "discord";
8488
8476
  google: "google";
8489
- x: "x";
8490
8477
  }>;
8491
8478
  url: z.ZodString;
8492
8479
  seed: z.ZodString;
@@ -8512,9 +8499,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8512
8499
  }, z.core.$strip>, z.ZodObject<{
8513
8500
  source: z.ZodLiteral<"account">;
8514
8501
  provider: z.ZodEnum<{
8502
+ x: "x";
8515
8503
  discord: "discord";
8516
8504
  google: "google";
8517
- x: "x";
8518
8505
  }>;
8519
8506
  url: z.ZodString;
8520
8507
  seed: z.ZodString;
@@ -8558,9 +8545,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8558
8545
  }, z.core.$strip>, z.ZodObject<{
8559
8546
  source: z.ZodLiteral<"account">;
8560
8547
  provider: z.ZodEnum<{
8548
+ x: "x";
8561
8549
  discord: "discord";
8562
8550
  google: "google";
8563
- x: "x";
8564
8551
  }>;
8565
8552
  url: z.ZodString;
8566
8553
  seed: z.ZodString;
@@ -8586,9 +8573,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8586
8573
  }, z.core.$strip>, z.ZodObject<{
8587
8574
  source: z.ZodLiteral<"account">;
8588
8575
  provider: z.ZodEnum<{
8576
+ x: "x";
8589
8577
  discord: "discord";
8590
8578
  google: "google";
8591
- x: "x";
8592
8579
  }>;
8593
8580
  url: z.ZodString;
8594
8581
  seed: z.ZodString;
@@ -8614,9 +8601,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8614
8601
  }, z.core.$strip>, z.ZodObject<{
8615
8602
  source: z.ZodLiteral<"account">;
8616
8603
  provider: z.ZodEnum<{
8604
+ x: "x";
8617
8605
  discord: "discord";
8618
8606
  google: "google";
8619
- x: "x";
8620
8607
  }>;
8621
8608
  url: z.ZodString;
8622
8609
  seed: z.ZodString;
@@ -9008,7 +8995,7 @@ declare function createRelayClient(options: {
9008
8995
  seed: string;
9009
8996
  } | {
9010
8997
  source: "account";
9011
- provider: "discord" | "google" | "x";
8998
+ provider: "x" | "discord" | "google";
9012
8999
  url: string;
9013
9000
  seed: string;
9014
9001
  } | {
@@ -9032,7 +9019,7 @@ declare function createRelayClient(options: {
9032
9019
  seed: string;
9033
9020
  } | {
9034
9021
  source: "account";
9035
- provider: "discord" | "google" | "x";
9022
+ provider: "x" | "discord" | "google";
9036
9023
  url: string;
9037
9024
  seed: string;
9038
9025
  } | {
@@ -9056,7 +9043,7 @@ declare function createRelayClient(options: {
9056
9043
  seed: string;
9057
9044
  } | {
9058
9045
  source: "account";
9059
- provider: "discord" | "google" | "x";
9046
+ provider: "x" | "discord" | "google";
9060
9047
  url: string;
9061
9048
  seed: string;
9062
9049
  } | {
@@ -9098,7 +9085,7 @@ declare function createRelayClient(options: {
9098
9085
  seed: string;
9099
9086
  } | {
9100
9087
  source: "account";
9101
- provider: "discord" | "google" | "x";
9088
+ provider: "x" | "discord" | "google";
9102
9089
  url: string;
9103
9090
  seed: string;
9104
9091
  } | {
@@ -9106,13 +9093,13 @@ declare function createRelayClient(options: {
9106
9093
  seed: string;
9107
9094
  };
9108
9095
  displayName: string | null;
9109
- avatarChoice: "default" | "account" | "generated" | "upload";
9110
- avatarProvider: "discord" | "google" | "x" | null;
9096
+ avatarChoice: "default" | "account" | "upload" | "generated";
9097
+ avatarProvider: "x" | "discord" | "google" | null;
9111
9098
  hidden: boolean;
9112
9099
  locked: boolean;
9113
- visibility: "participants" | "public" | "private";
9100
+ visibility: "private" | "participants" | "public";
9114
9101
  options: {
9115
- provider: "discord" | "google" | "x";
9102
+ provider: "x" | "discord" | "google";
9116
9103
  name: string | null;
9117
9104
  imageUrl: string | null;
9118
9105
  }[];
@@ -9132,7 +9119,7 @@ declare function createRelayClient(options: {
9132
9119
  seed: string;
9133
9120
  } | {
9134
9121
  source: "account";
9135
- provider: "discord" | "google" | "x";
9122
+ provider: "x" | "discord" | "google";
9136
9123
  url: string;
9137
9124
  seed: string;
9138
9125
  } | {
@@ -9140,13 +9127,13 @@ declare function createRelayClient(options: {
9140
9127
  seed: string;
9141
9128
  };
9142
9129
  displayName: string | null;
9143
- avatarChoice: "default" | "account" | "generated" | "upload";
9144
- avatarProvider: "discord" | "google" | "x" | null;
9130
+ avatarChoice: "default" | "account" | "upload" | "generated";
9131
+ avatarProvider: "x" | "discord" | "google" | null;
9145
9132
  hidden: boolean;
9146
9133
  locked: boolean;
9147
- visibility: "participants" | "public" | "private";
9134
+ visibility: "private" | "participants" | "public";
9148
9135
  options: {
9149
- provider: "discord" | "google" | "x";
9136
+ provider: "x" | "discord" | "google";
9150
9137
  name: string | null;
9151
9138
  imageUrl: string | null;
9152
9139
  }[];
@@ -9167,7 +9154,7 @@ declare function createRelayClient(options: {
9167
9154
  seed: string;
9168
9155
  } | {
9169
9156
  source: "account";
9170
- provider: "discord" | "google" | "x";
9157
+ provider: "x" | "discord" | "google";
9171
9158
  url: string;
9172
9159
  seed: string;
9173
9160
  } | {
@@ -9175,13 +9162,13 @@ declare function createRelayClient(options: {
9175
9162
  seed: string;
9176
9163
  };
9177
9164
  displayName: string | null;
9178
- avatarChoice: "default" | "account" | "generated" | "upload";
9179
- avatarProvider: "discord" | "google" | "x" | null;
9165
+ avatarChoice: "default" | "account" | "upload" | "generated";
9166
+ avatarProvider: "x" | "discord" | "google" | null;
9180
9167
  hidden: boolean;
9181
9168
  locked: boolean;
9182
- visibility: "participants" | "public" | "private";
9169
+ visibility: "private" | "participants" | "public";
9183
9170
  options: {
9184
- provider: "discord" | "google" | "x";
9171
+ provider: "x" | "discord" | "google";
9185
9172
  name: string | null;
9186
9173
  imageUrl: string | null;
9187
9174
  }[];
@@ -9199,7 +9186,7 @@ declare function createRelayClient(options: {
9199
9186
  seed: string;
9200
9187
  } | {
9201
9188
  source: "account";
9202
- provider: "discord" | "google" | "x";
9189
+ provider: "x" | "discord" | "google";
9203
9190
  url: string;
9204
9191
  seed: string;
9205
9192
  } | {
@@ -9262,7 +9249,7 @@ declare function createRelayClient(options: {
9262
9249
  } | undefined;
9263
9250
  } | undefined;
9264
9251
  };
9265
- connections: ("discord" | "google" | "apple" | "x")[];
9252
+ connections: ("x" | "discord" | "google" | "apple")[];
9266
9253
  trigger: {
9267
9254
  kind: "automatic";
9268
9255
  observation?: {
@@ -9275,7 +9262,7 @@ declare function createRelayClient(options: {
9275
9262
  start: number;
9276
9263
  end?: number | undefined;
9277
9264
  };
9278
- enrollment: "required" | "none";
9265
+ enrollment: "none" | "required";
9279
9266
  posts: "after-enrollment" | "since-start";
9280
9267
  historical: "staff" | "automatic" | "claim";
9281
9268
  } | undefined;
@@ -9322,12 +9309,12 @@ declare function createRelayClient(options: {
9322
9309
  actor?: "member" | "staff" | undefined;
9323
9310
  } | {
9324
9311
  kind: "manual";
9325
- input: "quiz" | "photo" | "none";
9312
+ input: "none" | "quiz" | "photo";
9326
9313
  actor?: "member" | "staff" | undefined;
9327
9314
  };
9328
9315
  availability: {
9329
9316
  kind: "available";
9330
- input: "quiz" | "text" | "url" | "photo" | "none";
9317
+ input: "text" | "url" | "none" | "quiz" | "photo";
9331
9318
  } | {
9332
9319
  kind: "completed";
9333
9320
  } | {
@@ -9376,7 +9363,7 @@ declare function createRelayClient(options: {
9376
9363
  quest: string;
9377
9364
  member: string;
9378
9365
  evidence: string | null;
9379
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9366
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9380
9367
  reason: string | null;
9381
9368
  retries: number;
9382
9369
  generation: number;
@@ -9410,22 +9397,22 @@ declare function createRelayClient(options: {
9410
9397
  })[] | null;
9411
9398
  createdAt: number;
9412
9399
  input?: {
9413
- kind: "quiz";
9414
- answers: {
9415
- [k: string]: string;
9416
- };
9417
- release?: string | undefined;
9418
- } | {
9419
9400
  kind: "text";
9420
9401
  value: string;
9421
9402
  } | {
9422
9403
  kind: "url";
9423
9404
  value: string;
9405
+ } | {
9406
+ kind: "quiz";
9407
+ answers: {
9408
+ [k: string]: string;
9409
+ };
9410
+ release?: string | undefined;
9424
9411
  } | undefined;
9425
9412
  } | null;
9426
9413
  release: string;
9427
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9428
- lifecycle: "active" | "paused" | "archived";
9414
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9415
+ lifecycle: "paused" | "active" | "archived";
9429
9416
  rewards: ({
9430
9417
  kind: "points";
9431
9418
  label: string;
@@ -9486,7 +9473,7 @@ declare function createRelayClient(options: {
9486
9473
  quest: string;
9487
9474
  member: string;
9488
9475
  evidence: string | null;
9489
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9476
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9490
9477
  reason: string | null;
9491
9478
  retries: number;
9492
9479
  generation: number;
@@ -9520,17 +9507,17 @@ declare function createRelayClient(options: {
9520
9507
  })[] | null;
9521
9508
  createdAt: number;
9522
9509
  input?: {
9523
- kind: "quiz";
9524
- answers: {
9525
- [k: string]: string;
9526
- };
9527
- release?: string | undefined;
9528
- } | {
9529
9510
  kind: "text";
9530
9511
  value: string;
9531
9512
  } | {
9532
9513
  kind: "url";
9533
9514
  value: string;
9515
+ } | {
9516
+ kind: "quiz";
9517
+ answers: {
9518
+ [k: string]: string;
9519
+ };
9520
+ release?: string | undefined;
9534
9521
  } | undefined;
9535
9522
  }>;
9536
9523
  experience: () => Promise<{
@@ -9558,7 +9545,7 @@ declare function createRelayClient(options: {
9558
9545
  } | undefined;
9559
9546
  } | undefined;
9560
9547
  };
9561
- connections: ("discord" | "google" | "apple" | "x")[];
9548
+ connections: ("x" | "discord" | "google" | "apple")[];
9562
9549
  trigger: {
9563
9550
  kind: "automatic";
9564
9551
  observation?: {
@@ -9571,7 +9558,7 @@ declare function createRelayClient(options: {
9571
9558
  start: number;
9572
9559
  end?: number | undefined;
9573
9560
  };
9574
- enrollment: "required" | "none";
9561
+ enrollment: "none" | "required";
9575
9562
  posts: "after-enrollment" | "since-start";
9576
9563
  historical: "staff" | "automatic" | "claim";
9577
9564
  } | undefined;
@@ -9618,12 +9605,12 @@ declare function createRelayClient(options: {
9618
9605
  actor?: "member" | "staff" | undefined;
9619
9606
  } | {
9620
9607
  kind: "manual";
9621
- input: "quiz" | "photo" | "none";
9608
+ input: "none" | "quiz" | "photo";
9622
9609
  actor?: "member" | "staff" | undefined;
9623
9610
  };
9624
9611
  availability: {
9625
9612
  kind: "available";
9626
- input: "quiz" | "text" | "url" | "photo" | "none";
9613
+ input: "text" | "url" | "none" | "quiz" | "photo";
9627
9614
  } | {
9628
9615
  kind: "completed";
9629
9616
  } | {
@@ -9672,7 +9659,7 @@ declare function createRelayClient(options: {
9672
9659
  quest: string;
9673
9660
  member: string;
9674
9661
  evidence: string | null;
9675
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9662
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9676
9663
  reason: string | null;
9677
9664
  retries: number;
9678
9665
  generation: number;
@@ -9706,22 +9693,22 @@ declare function createRelayClient(options: {
9706
9693
  })[] | null;
9707
9694
  createdAt: number;
9708
9695
  input?: {
9709
- kind: "quiz";
9710
- answers: {
9711
- [k: string]: string;
9712
- };
9713
- release?: string | undefined;
9714
- } | {
9715
9696
  kind: "text";
9716
9697
  value: string;
9717
9698
  } | {
9718
9699
  kind: "url";
9719
9700
  value: string;
9701
+ } | {
9702
+ kind: "quiz";
9703
+ answers: {
9704
+ [k: string]: string;
9705
+ };
9706
+ release?: string | undefined;
9720
9707
  } | undefined;
9721
9708
  } | null;
9722
9709
  release: string;
9723
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9724
- lifecycle: "active" | "paused" | "archived";
9710
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9711
+ lifecycle: "paused" | "active" | "archived";
9725
9712
  rewards: ({
9726
9713
  kind: "points";
9727
9714
  label: string;
@@ -9802,7 +9789,7 @@ declare function createRelayClient(options: {
9802
9789
  } | undefined;
9803
9790
  } | undefined;
9804
9791
  };
9805
- connections: ("discord" | "google" | "apple" | "x")[];
9792
+ connections: ("x" | "discord" | "google" | "apple")[];
9806
9793
  trigger: {
9807
9794
  kind: "automatic";
9808
9795
  observation?: {
@@ -9815,7 +9802,7 @@ declare function createRelayClient(options: {
9815
9802
  start: number;
9816
9803
  end?: number | undefined;
9817
9804
  };
9818
- enrollment: "required" | "none";
9805
+ enrollment: "none" | "required";
9819
9806
  posts: "after-enrollment" | "since-start";
9820
9807
  historical: "staff" | "automatic" | "claim";
9821
9808
  } | undefined;
@@ -9862,12 +9849,12 @@ declare function createRelayClient(options: {
9862
9849
  actor?: "member" | "staff" | undefined;
9863
9850
  } | {
9864
9851
  kind: "manual";
9865
- input: "quiz" | "photo" | "none";
9852
+ input: "none" | "quiz" | "photo";
9866
9853
  actor?: "member" | "staff" | undefined;
9867
9854
  };
9868
9855
  availability: {
9869
9856
  kind: "available";
9870
- input: "quiz" | "text" | "url" | "photo" | "none";
9857
+ input: "text" | "url" | "none" | "quiz" | "photo";
9871
9858
  } | {
9872
9859
  kind: "completed";
9873
9860
  } | {
@@ -9916,7 +9903,7 @@ declare function createRelayClient(options: {
9916
9903
  quest: string;
9917
9904
  member: string;
9918
9905
  evidence: string | null;
9919
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9906
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9920
9907
  reason: string | null;
9921
9908
  retries: number;
9922
9909
  generation: number;
@@ -9950,22 +9937,22 @@ declare function createRelayClient(options: {
9950
9937
  })[] | null;
9951
9938
  createdAt: number;
9952
9939
  input?: {
9953
- kind: "quiz";
9954
- answers: {
9955
- [k: string]: string;
9956
- };
9957
- release?: string | undefined;
9958
- } | {
9959
9940
  kind: "text";
9960
9941
  value: string;
9961
9942
  } | {
9962
9943
  kind: "url";
9963
9944
  value: string;
9945
+ } | {
9946
+ kind: "quiz";
9947
+ answers: {
9948
+ [k: string]: string;
9949
+ };
9950
+ release?: string | undefined;
9964
9951
  } | undefined;
9965
9952
  } | null;
9966
9953
  release: string;
9967
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9968
- lifecycle: "active" | "paused" | "archived";
9954
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9955
+ lifecycle: "paused" | "active" | "archived";
9969
9956
  rewards: ({
9970
9957
  kind: "points";
9971
9958
  label: string;
@@ -10049,7 +10036,7 @@ declare function createRelayClient(options: {
10049
10036
  } | undefined;
10050
10037
  } | undefined;
10051
10038
  };
10052
- connections: ("discord" | "google" | "apple" | "x")[];
10039
+ connections: ("x" | "discord" | "google" | "apple")[];
10053
10040
  trigger: {
10054
10041
  kind: "automatic";
10055
10042
  observation?: {
@@ -10062,7 +10049,7 @@ declare function createRelayClient(options: {
10062
10049
  start: number;
10063
10050
  end?: number | undefined;
10064
10051
  };
10065
- enrollment: "required" | "none";
10052
+ enrollment: "none" | "required";
10066
10053
  posts: "after-enrollment" | "since-start";
10067
10054
  historical: "staff" | "automatic" | "claim";
10068
10055
  } | undefined;
@@ -10109,12 +10096,12 @@ declare function createRelayClient(options: {
10109
10096
  actor?: "member" | "staff" | undefined;
10110
10097
  } | {
10111
10098
  kind: "manual";
10112
- input: "quiz" | "photo" | "none";
10099
+ input: "none" | "quiz" | "photo";
10113
10100
  actor?: "member" | "staff" | undefined;
10114
10101
  };
10115
10102
  availability: {
10116
10103
  kind: "available";
10117
- input: "quiz" | "text" | "url" | "photo" | "none";
10104
+ input: "text" | "url" | "none" | "quiz" | "photo";
10118
10105
  } | {
10119
10106
  kind: "completed";
10120
10107
  } | {
@@ -10163,7 +10150,7 @@ declare function createRelayClient(options: {
10163
10150
  quest: string;
10164
10151
  member: string;
10165
10152
  evidence: string | null;
10166
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10153
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10167
10154
  reason: string | null;
10168
10155
  retries: number;
10169
10156
  generation: number;
@@ -10197,22 +10184,22 @@ declare function createRelayClient(options: {
10197
10184
  })[] | null;
10198
10185
  createdAt: number;
10199
10186
  input?: {
10200
- kind: "quiz";
10201
- answers: {
10202
- [k: string]: string;
10203
- };
10204
- release?: string | undefined;
10205
- } | {
10206
10187
  kind: "text";
10207
10188
  value: string;
10208
10189
  } | {
10209
10190
  kind: "url";
10210
10191
  value: string;
10192
+ } | {
10193
+ kind: "quiz";
10194
+ answers: {
10195
+ [k: string]: string;
10196
+ };
10197
+ release?: string | undefined;
10211
10198
  } | undefined;
10212
10199
  } | null;
10213
10200
  release: string;
10214
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
10215
- lifecycle: "active" | "paused" | "archived";
10201
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
10202
+ lifecycle: "paused" | "active" | "archived";
10216
10203
  rewards: ({
10217
10204
  kind: "points";
10218
10205
  label: string;
@@ -10341,7 +10328,7 @@ declare function createRelayClient(options: {
10341
10328
  auth: {
10342
10329
  providers: () => Promise<{
10343
10330
  providers: {
10344
- provider: "discord" | "google" | "apple" | "x";
10331
+ provider: "x" | "discord" | "google" | "apple";
10345
10332
  configured: boolean;
10346
10333
  }[];
10347
10334
  email: boolean;
@@ -10427,7 +10414,7 @@ declare function createRelayClient(options: {
10427
10414
  }>;
10428
10415
  };
10429
10416
  accounts: () => Promise<{
10430
- provider: "discord" | "google" | "apple" | "x";
10417
+ provider: "x" | "discord" | "google" | "apple";
10431
10418
  configured: boolean;
10432
10419
  status: "disconnected" | "connected" | "reconnect";
10433
10420
  subject: string | null;
@@ -10531,7 +10518,7 @@ declare function createRelayClient(options: {
10531
10518
  quest: string;
10532
10519
  member: string;
10533
10520
  evidence: string | null;
10534
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10521
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10535
10522
  reason: string | null;
10536
10523
  retries: number;
10537
10524
  generation: number;
@@ -10565,17 +10552,17 @@ declare function createRelayClient(options: {
10565
10552
  })[] | null;
10566
10553
  createdAt: number;
10567
10554
  input?: {
10568
- kind: "quiz";
10569
- answers: {
10570
- [k: string]: string;
10571
- };
10572
- release?: string | undefined;
10573
- } | {
10574
10555
  kind: "text";
10575
10556
  value: string;
10576
10557
  } | {
10577
10558
  kind: "url";
10578
10559
  value: string;
10560
+ } | {
10561
+ kind: "quiz";
10562
+ answers: {
10563
+ [k: string]: string;
10564
+ };
10565
+ release?: string | undefined;
10579
10566
  } | undefined;
10580
10567
  }>;
10581
10568
  progress: () => Promise<{
@@ -10603,7 +10590,7 @@ declare function createRelayClient(options: {
10603
10590
  } | undefined;
10604
10591
  } | undefined;
10605
10592
  };
10606
- connections: ("discord" | "google" | "apple" | "x")[];
10593
+ connections: ("x" | "discord" | "google" | "apple")[];
10607
10594
  trigger: {
10608
10595
  kind: "automatic";
10609
10596
  observation?: {
@@ -10616,7 +10603,7 @@ declare function createRelayClient(options: {
10616
10603
  start: number;
10617
10604
  end?: number | undefined;
10618
10605
  };
10619
- enrollment: "required" | "none";
10606
+ enrollment: "none" | "required";
10620
10607
  posts: "after-enrollment" | "since-start";
10621
10608
  historical: "staff" | "automatic" | "claim";
10622
10609
  } | undefined;
@@ -10663,12 +10650,12 @@ declare function createRelayClient(options: {
10663
10650
  actor?: "member" | "staff" | undefined;
10664
10651
  } | {
10665
10652
  kind: "manual";
10666
- input: "quiz" | "photo" | "none";
10653
+ input: "none" | "quiz" | "photo";
10667
10654
  actor?: "member" | "staff" | undefined;
10668
10655
  };
10669
10656
  availability: {
10670
10657
  kind: "available";
10671
- input: "quiz" | "text" | "url" | "photo" | "none";
10658
+ input: "text" | "url" | "none" | "quiz" | "photo";
10672
10659
  } | {
10673
10660
  kind: "completed";
10674
10661
  } | {
@@ -10717,7 +10704,7 @@ declare function createRelayClient(options: {
10717
10704
  quest: string;
10718
10705
  member: string;
10719
10706
  evidence: string | null;
10720
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10707
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10721
10708
  reason: string | null;
10722
10709
  retries: number;
10723
10710
  generation: number;
@@ -10751,17 +10738,17 @@ declare function createRelayClient(options: {
10751
10738
  })[] | null;
10752
10739
  createdAt: number;
10753
10740
  input?: {
10754
- kind: "quiz";
10755
- answers: {
10756
- [k: string]: string;
10757
- };
10758
- release?: string | undefined;
10759
- } | {
10760
10741
  kind: "text";
10761
10742
  value: string;
10762
10743
  } | {
10763
10744
  kind: "url";
10764
10745
  value: string;
10746
+ } | {
10747
+ kind: "quiz";
10748
+ answers: {
10749
+ [k: string]: string;
10750
+ };
10751
+ release?: string | undefined;
10765
10752
  } | undefined;
10766
10753
  } | null;
10767
10754
  key?: string | undefined;
@@ -10884,7 +10871,7 @@ declare function createRelayClient(options: {
10884
10871
  provider: "discord";
10885
10872
  action: "grant-role";
10886
10873
  roleId: string;
10887
- status: "failed" | "pending" | "delivered";
10874
+ status: "pending" | "failed" | "delivered";
10888
10875
  attempts: number;
10889
10876
  nextAt: number;
10890
10877
  lastError: string | null;
@@ -10900,7 +10887,7 @@ declare function createRelayClient(options: {
10900
10887
  quest: string;
10901
10888
  member: string;
10902
10889
  evidence: string | null;
10903
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10890
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10904
10891
  reason: string | null;
10905
10892
  retries: number;
10906
10893
  generation: number;
@@ -10934,17 +10921,17 @@ declare function createRelayClient(options: {
10934
10921
  })[] | null;
10935
10922
  createdAt: number;
10936
10923
  input?: {
10937
- kind: "quiz";
10938
- answers: {
10939
- [k: string]: string;
10940
- };
10941
- release?: string | undefined;
10942
- } | {
10943
10924
  kind: "text";
10944
10925
  value: string;
10945
10926
  } | {
10946
10927
  kind: "url";
10947
10928
  value: string;
10929
+ } | {
10930
+ kind: "quiz";
10931
+ answers: {
10932
+ [k: string]: string;
10933
+ };
10934
+ release?: string | undefined;
10948
10935
  } | undefined;
10949
10936
  }>;
10950
10937
  upload: (file: File) => Promise<{
@@ -11005,12 +10992,12 @@ declare function createRelayClient(options: {
11005
10992
  kind: "resource";
11006
10993
  default: string;
11007
10994
  source: {
11008
- provider: "domino";
11009
- resource: "point-ledger";
11010
- } | {
11011
10995
  provider: "discord";
11012
10996
  resource: "channel";
11013
10997
  types: ("text" | "announcement")[];
10998
+ } | {
10999
+ provider: "domino";
11000
+ resource: "point-ledger";
11014
11001
  } | {
11015
11002
  provider: "discord";
11016
11003
  resource: "role";
@@ -11107,7 +11094,7 @@ declare function createRelayClient(options: {
11107
11094
  start: number;
11108
11095
  end?: number | undefined;
11109
11096
  };
11110
- enrollment: "required" | "none";
11097
+ enrollment: "none" | "required";
11111
11098
  posts: "after-enrollment" | "since-start";
11112
11099
  historical: "staff" | "automatic" | "claim";
11113
11100
  } | undefined;
@@ -11154,12 +11141,11 @@ declare function createRelayClient(options: {
11154
11141
  actor?: "member" | "staff" | undefined;
11155
11142
  } | {
11156
11143
  kind: "manual";
11157
- input: "quiz" | "photo" | "none";
11144
+ input: "none" | "quiz" | "photo";
11158
11145
  actor?: "member" | "staff" | undefined;
11159
11146
  };
11160
11147
  requires: {
11161
11148
  quest: string;
11162
- scope: "ever";
11163
11149
  }[];
11164
11150
  completion: {
11165
11151
  kind: "streak";
@@ -11174,7 +11160,7 @@ declare function createRelayClient(options: {
11174
11160
  budgets: {
11175
11161
  id: string;
11176
11162
  scope: "project" | "member";
11177
- period: "day" | "week" | "lifetime";
11163
+ period: "day" | "lifetime" | "week";
11178
11164
  limit: number;
11179
11165
  cost: number | {
11180
11166
  balance: string;
@@ -11231,12 +11217,12 @@ declare function createRelayClient(options: {
11231
11217
  kind: "resource";
11232
11218
  default: string;
11233
11219
  source: {
11234
- provider: "domino";
11235
- resource: "point-ledger";
11236
- } | {
11237
11220
  provider: "discord";
11238
11221
  resource: "channel";
11239
11222
  types: ("text" | "announcement")[];
11223
+ } | {
11224
+ provider: "domino";
11225
+ resource: "point-ledger";
11240
11226
  } | {
11241
11227
  provider: "discord";
11242
11228
  resource: "role";
@@ -11333,7 +11319,7 @@ declare function createRelayClient(options: {
11333
11319
  start: number;
11334
11320
  end?: number | undefined;
11335
11321
  };
11336
- enrollment: "required" | "none";
11322
+ enrollment: "none" | "required";
11337
11323
  posts: "after-enrollment" | "since-start";
11338
11324
  historical: "staff" | "automatic" | "claim";
11339
11325
  } | undefined;
@@ -11380,12 +11366,11 @@ declare function createRelayClient(options: {
11380
11366
  actor?: "member" | "staff" | undefined;
11381
11367
  } | {
11382
11368
  kind: "manual";
11383
- input: "quiz" | "photo" | "none";
11369
+ input: "none" | "quiz" | "photo";
11384
11370
  actor?: "member" | "staff" | undefined;
11385
11371
  };
11386
11372
  requires: {
11387
11373
  quest: string;
11388
- scope: "ever";
11389
11374
  }[];
11390
11375
  completion: {
11391
11376
  kind: "streak";
@@ -11400,7 +11385,7 @@ declare function createRelayClient(options: {
11400
11385
  budgets: {
11401
11386
  id: string;
11402
11387
  scope: "project" | "member";
11403
- period: "day" | "week" | "lifetime";
11388
+ period: "day" | "lifetime" | "week";
11404
11389
  limit: number;
11405
11390
  cost: number | {
11406
11391
  balance: string;
@@ -11456,12 +11441,12 @@ declare function createRelayClient(options: {
11456
11441
  kind: "resource";
11457
11442
  default: string;
11458
11443
  source: {
11459
- provider: "domino";
11460
- resource: "point-ledger";
11461
- } | {
11462
11444
  provider: "discord";
11463
11445
  resource: "channel";
11464
11446
  types: ("text" | "announcement")[];
11447
+ } | {
11448
+ provider: "domino";
11449
+ resource: "point-ledger";
11465
11450
  } | {
11466
11451
  provider: "discord";
11467
11452
  resource: "role";
@@ -11558,7 +11543,7 @@ declare function createRelayClient(options: {
11558
11543
  start: number;
11559
11544
  end?: number | undefined;
11560
11545
  };
11561
- enrollment: "required" | "none";
11546
+ enrollment: "none" | "required";
11562
11547
  posts: "after-enrollment" | "since-start";
11563
11548
  historical: "staff" | "automatic" | "claim";
11564
11549
  } | undefined;
@@ -11605,12 +11590,11 @@ declare function createRelayClient(options: {
11605
11590
  actor?: "member" | "staff" | undefined;
11606
11591
  } | {
11607
11592
  kind: "manual";
11608
- input: "quiz" | "photo" | "none";
11593
+ input: "none" | "quiz" | "photo";
11609
11594
  actor?: "member" | "staff" | undefined;
11610
11595
  };
11611
11596
  requires: {
11612
11597
  quest: string;
11613
- scope: "ever";
11614
11598
  }[];
11615
11599
  completion: {
11616
11600
  kind: "streak";
@@ -11625,7 +11609,7 @@ declare function createRelayClient(options: {
11625
11609
  budgets: {
11626
11610
  id: string;
11627
11611
  scope: "project" | "member";
11628
- period: "day" | "week" | "lifetime";
11612
+ period: "day" | "lifetime" | "week";
11629
11613
  limit: number;
11630
11614
  cost: number | {
11631
11615
  balance: string;
@@ -11636,7 +11620,7 @@ declare function createRelayClient(options: {
11636
11620
  id: string;
11637
11621
  createdAt: number;
11638
11622
  legacy: boolean;
11639
- lifecycle: "active" | "paused" | "archived";
11623
+ lifecycle: "paused" | "active" | "archived";
11640
11624
  performance?: {
11641
11625
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11642
11626
  maxAgeMs: number;
@@ -11759,7 +11743,7 @@ declare function createRelayClient(options: {
11759
11743
  quest: string;
11760
11744
  member: string;
11761
11745
  evidence: string | null;
11762
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
11746
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
11763
11747
  reason: string | null;
11764
11748
  retries: number;
11765
11749
  generation: number;
@@ -11793,17 +11777,17 @@ declare function createRelayClient(options: {
11793
11777
  })[] | null;
11794
11778
  createdAt: number;
11795
11779
  input?: {
11796
- kind: "quiz";
11797
- answers: {
11798
- [k: string]: string;
11799
- };
11800
- release?: string | undefined;
11801
- } | {
11802
11780
  kind: "text";
11803
11781
  value: string;
11804
11782
  } | {
11805
11783
  kind: "url";
11806
11784
  value: string;
11785
+ } | {
11786
+ kind: "quiz";
11787
+ answers: {
11788
+ [k: string]: string;
11789
+ };
11790
+ release?: string | undefined;
11807
11791
  } | undefined;
11808
11792
  }[];
11809
11793
  balances: {
@@ -11862,12 +11846,12 @@ declare function createRelayClient(options: {
11862
11846
  kind: "resource";
11863
11847
  default: string;
11864
11848
  source: {
11865
- provider: "domino";
11866
- resource: "point-ledger";
11867
- } | {
11868
11849
  provider: "discord";
11869
11850
  resource: "channel";
11870
11851
  types: ("text" | "announcement")[];
11852
+ } | {
11853
+ provider: "domino";
11854
+ resource: "point-ledger";
11871
11855
  } | {
11872
11856
  provider: "discord";
11873
11857
  resource: "role";
@@ -11964,7 +11948,7 @@ declare function createRelayClient(options: {
11964
11948
  start: number;
11965
11949
  end?: number | undefined;
11966
11950
  };
11967
- enrollment: "required" | "none";
11951
+ enrollment: "none" | "required";
11968
11952
  posts: "after-enrollment" | "since-start";
11969
11953
  historical: "staff" | "automatic" | "claim";
11970
11954
  } | undefined;
@@ -12011,12 +11995,11 @@ declare function createRelayClient(options: {
12011
11995
  actor?: "member" | "staff" | undefined;
12012
11996
  } | {
12013
11997
  kind: "manual";
12014
- input: "quiz" | "photo" | "none";
11998
+ input: "none" | "quiz" | "photo";
12015
11999
  actor?: "member" | "staff" | undefined;
12016
12000
  };
12017
12001
  requires: {
12018
12002
  quest: string;
12019
- scope: "ever";
12020
12003
  }[];
12021
12004
  completion: {
12022
12005
  kind: "streak";
@@ -12031,7 +12014,7 @@ declare function createRelayClient(options: {
12031
12014
  budgets: {
12032
12015
  id: string;
12033
12016
  scope: "project" | "member";
12034
- period: "day" | "week" | "lifetime";
12017
+ period: "day" | "lifetime" | "week";
12035
12018
  limit: number;
12036
12019
  cost: number | {
12037
12020
  balance: string;
@@ -12042,7 +12025,7 @@ declare function createRelayClient(options: {
12042
12025
  id: string;
12043
12026
  createdAt: number;
12044
12027
  legacy: boolean;
12045
- lifecycle: "active" | "paused" | "archived";
12028
+ lifecycle: "paused" | "active" | "archived";
12046
12029
  performance?: {
12047
12030
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12048
12031
  maxAgeMs: number;
@@ -12116,12 +12099,12 @@ declare function createRelayClient(options: {
12116
12099
  kind: "resource";
12117
12100
  default: string;
12118
12101
  source: {
12119
- provider: "domino";
12120
- resource: "point-ledger";
12121
- } | {
12122
12102
  provider: "discord";
12123
12103
  resource: "channel";
12124
12104
  types: ("text" | "announcement")[];
12105
+ } | {
12106
+ provider: "domino";
12107
+ resource: "point-ledger";
12125
12108
  } | {
12126
12109
  provider: "discord";
12127
12110
  resource: "role";
@@ -12218,7 +12201,7 @@ declare function createRelayClient(options: {
12218
12201
  start: number;
12219
12202
  end?: number | undefined;
12220
12203
  };
12221
- enrollment: "required" | "none";
12204
+ enrollment: "none" | "required";
12222
12205
  posts: "after-enrollment" | "since-start";
12223
12206
  historical: "staff" | "automatic" | "claim";
12224
12207
  } | undefined;
@@ -12265,12 +12248,11 @@ declare function createRelayClient(options: {
12265
12248
  actor?: "member" | "staff" | undefined;
12266
12249
  } | {
12267
12250
  kind: "manual";
12268
- input: "quiz" | "photo" | "none";
12251
+ input: "none" | "quiz" | "photo";
12269
12252
  actor?: "member" | "staff" | undefined;
12270
12253
  };
12271
12254
  requires: {
12272
12255
  quest: string;
12273
- scope: "ever";
12274
12256
  }[];
12275
12257
  completion: {
12276
12258
  kind: "streak";
@@ -12285,7 +12267,7 @@ declare function createRelayClient(options: {
12285
12267
  budgets: {
12286
12268
  id: string;
12287
12269
  scope: "project" | "member";
12288
- period: "day" | "week" | "lifetime";
12270
+ period: "day" | "lifetime" | "week";
12289
12271
  limit: number;
12290
12272
  cost: number | {
12291
12273
  balance: string;
@@ -12296,7 +12278,7 @@ declare function createRelayClient(options: {
12296
12278
  id: string;
12297
12279
  createdAt: number;
12298
12280
  legacy: boolean;
12299
- lifecycle: "active" | "paused" | "archived";
12281
+ lifecycle: "paused" | "active" | "archived";
12300
12282
  performance?: {
12301
12283
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12302
12284
  maxAgeMs: number;
@@ -12355,7 +12337,7 @@ declare function createRelayClient(options: {
12355
12337
  } | undefined;
12356
12338
  } | undefined;
12357
12339
  };
12358
- connections: ("discord" | "google" | "apple" | "x")[];
12340
+ connections: ("x" | "discord" | "google" | "apple")[];
12359
12341
  trigger: {
12360
12342
  kind: "automatic";
12361
12343
  observation?: {
@@ -12368,7 +12350,7 @@ declare function createRelayClient(options: {
12368
12350
  start: number;
12369
12351
  end?: number | undefined;
12370
12352
  };
12371
- enrollment: "required" | "none";
12353
+ enrollment: "none" | "required";
12372
12354
  posts: "after-enrollment" | "since-start";
12373
12355
  historical: "staff" | "automatic" | "claim";
12374
12356
  } | undefined;
@@ -12415,12 +12397,12 @@ declare function createRelayClient(options: {
12415
12397
  actor?: "member" | "staff" | undefined;
12416
12398
  } | {
12417
12399
  kind: "manual";
12418
- input: "quiz" | "photo" | "none";
12400
+ input: "none" | "quiz" | "photo";
12419
12401
  actor?: "member" | "staff" | undefined;
12420
12402
  };
12421
12403
  availability: {
12422
12404
  kind: "available";
12423
- input: "quiz" | "text" | "url" | "photo" | "none";
12405
+ input: "text" | "url" | "none" | "quiz" | "photo";
12424
12406
  } | {
12425
12407
  kind: "completed";
12426
12408
  } | {
@@ -12469,7 +12451,7 @@ declare function createRelayClient(options: {
12469
12451
  quest: string;
12470
12452
  member: string;
12471
12453
  evidence: string | null;
12472
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
12454
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12473
12455
  reason: string | null;
12474
12456
  retries: number;
12475
12457
  generation: number;
@@ -12503,17 +12485,17 @@ declare function createRelayClient(options: {
12503
12485
  })[] | null;
12504
12486
  createdAt: number;
12505
12487
  input?: {
12506
- kind: "quiz";
12507
- answers: {
12508
- [k: string]: string;
12509
- };
12510
- release?: string | undefined;
12511
- } | {
12512
12488
  kind: "text";
12513
12489
  value: string;
12514
12490
  } | {
12515
12491
  kind: "url";
12516
12492
  value: string;
12493
+ } | {
12494
+ kind: "quiz";
12495
+ answers: {
12496
+ [k: string]: string;
12497
+ };
12498
+ release?: string | undefined;
12517
12499
  } | undefined;
12518
12500
  } | null;
12519
12501
  key?: string | undefined;
@@ -12897,14 +12879,14 @@ declare function createRelayClient(options: {
12897
12879
  content: {
12898
12880
  performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
12899
12881
  current: {
12900
- state: "needs-review" | "failed" | "pending" | "qualified" | "content-pending" | "content-unqualified" | "waiting" | "unqualified" | "superseded";
12882
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "content-pending" | "content-unqualified" | "waiting";
12901
12883
  reason: string | null;
12902
12884
  contentAttempt: string;
12903
12885
  attempt: string | null;
12904
12886
  reward: {
12905
12887
  attempt: string | null;
12906
12888
  completion: string | null;
12907
- state: "awarded" | "excluded" | "unresolved";
12889
+ state: "excluded" | "unresolved" | "awarded";
12908
12890
  };
12909
12891
  };
12910
12892
  items: {
@@ -12913,7 +12895,7 @@ declare function createRelayClient(options: {
12913
12895
  observation: string;
12914
12896
  observedAt: number;
12915
12897
  metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
12916
- state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded";
12898
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed";
12917
12899
  reason: string | null;
12918
12900
  }[];
12919
12901
  next: number | null;
@@ -12928,12 +12910,12 @@ declare function createRelayClient(options: {
12928
12910
  revision: string;
12929
12911
  observation: string;
12930
12912
  current: boolean;
12931
- state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded" | "stale" | "blocked" | "unavailable";
12913
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "stale" | "blocked" | "unavailable";
12932
12914
  reason: string | null;
12933
12915
  reward: {
12934
12916
  attempt: string | null;
12935
12917
  completion: string | null;
12936
- state: "awarded" | "excluded" | "unresolved";
12918
+ state: "excluded" | "unresolved" | "awarded";
12937
12919
  };
12938
12920
  }[];
12939
12921
  next: number | null;
@@ -12943,7 +12925,7 @@ declare function createRelayClient(options: {
12943
12925
  quest: string;
12944
12926
  content: string;
12945
12927
  release: string;
12946
- state: "pending" | "excluded" | "admitted";
12928
+ state: "admitted" | "pending" | "excluded";
12947
12929
  reason: string | null;
12948
12930
  attempt: string | null;
12949
12931
  }[];
@@ -12958,7 +12940,7 @@ declare function createRelayClient(options: {
12958
12940
  quest: string;
12959
12941
  content: string;
12960
12942
  release: string;
12961
- state: "pending" | "excluded" | "admitted";
12943
+ state: "admitted" | "pending" | "excluded";
12962
12944
  reason: string | null;
12963
12945
  attempt: string | null;
12964
12946
  }>;
@@ -12969,7 +12951,7 @@ declare function createRelayClient(options: {
12969
12951
  quest: string;
12970
12952
  member: string;
12971
12953
  evidence: string | null;
12972
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
12954
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12973
12955
  reason: string | null;
12974
12956
  retries: number;
12975
12957
  generation: number;
@@ -13003,17 +12985,17 @@ declare function createRelayClient(options: {
13003
12985
  })[] | null;
13004
12986
  createdAt: number;
13005
12987
  input?: {
13006
- kind: "quiz";
13007
- answers: {
13008
- [k: string]: string;
13009
- };
13010
- release?: string | undefined;
13011
- } | {
13012
12988
  kind: "text";
13013
12989
  value: string;
13014
12990
  } | {
13015
12991
  kind: "url";
13016
12992
  value: string;
12993
+ } | {
12994
+ kind: "quiz";
12995
+ answers: {
12996
+ [k: string]: string;
12997
+ };
12998
+ release?: string | undefined;
13017
12999
  } | undefined;
13018
13000
  }>;
13019
13001
  retry: (id: string) => Promise<{
@@ -13022,7 +13004,7 @@ declare function createRelayClient(options: {
13022
13004
  quest: string;
13023
13005
  member: string;
13024
13006
  evidence: string | null;
13025
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
13007
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
13026
13008
  reason: string | null;
13027
13009
  retries: number;
13028
13010
  generation: number;
@@ -13056,17 +13038,17 @@ declare function createRelayClient(options: {
13056
13038
  })[] | null;
13057
13039
  createdAt: number;
13058
13040
  input?: {
13059
- kind: "quiz";
13060
- answers: {
13061
- [k: string]: string;
13062
- };
13063
- release?: string | undefined;
13064
- } | {
13065
13041
  kind: "text";
13066
13042
  value: string;
13067
13043
  } | {
13068
13044
  kind: "url";
13069
13045
  value: string;
13046
+ } | {
13047
+ kind: "quiz";
13048
+ answers: {
13049
+ [k: string]: string;
13050
+ };
13051
+ release?: string | undefined;
13070
13052
  } | undefined;
13071
13053
  }>;
13072
13054
  /** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
@@ -13081,7 +13063,7 @@ declare function createRelayClient(options: {
13081
13063
  quest: string;
13082
13064
  member: string;
13083
13065
  evidence: string | null;
13084
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
13066
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
13085
13067
  reason: string | null;
13086
13068
  retries: number;
13087
13069
  generation: number;
@@ -13115,17 +13097,17 @@ declare function createRelayClient(options: {
13115
13097
  })[] | null;
13116
13098
  createdAt: number;
13117
13099
  input?: {
13118
- kind: "quiz";
13119
- answers: {
13120
- [k: string]: string;
13121
- };
13122
- release?: string | undefined;
13123
- } | {
13124
13100
  kind: "text";
13125
13101
  value: string;
13126
13102
  } | {
13127
13103
  kind: "url";
13128
13104
  value: string;
13105
+ } | {
13106
+ kind: "quiz";
13107
+ answers: {
13108
+ [k: string]: string;
13109
+ };
13110
+ release?: string | undefined;
13129
13111
  } | undefined;
13130
13112
  }>;
13131
13113
  };