@domino-sdk/relay 1.0.0-next.2 → 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';
@@ -209,13 +209,13 @@ type ProgressObserver = {
209
209
  };
210
210
 
211
211
  declare const interactionSchema: z.ZodEnum<{
212
- quiz: "quiz";
213
- url: "url";
214
- text: "text";
215
212
  staff: "staff";
216
- photo: "photo";
213
+ text: "text";
214
+ url: "url";
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";
@@ -474,8 +474,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
474
474
  kind: z.ZodLiteral<"keyed">;
475
475
  }, z.core.$strict>], "kind">;
476
476
  visibility: z.ZodDefault<z.ZodEnum<{
477
- hidden: "hidden";
478
477
  visible: "visible";
478
+ hidden: "hidden";
479
479
  }>>;
480
480
  profile: z.ZodOptional<z.ZodObject<{
481
481
  visible: z.ZodBoolean;
@@ -483,8 +483,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
483
483
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
484
484
  id: z.ZodString;
485
485
  scope: z.ZodEnum<{
486
- member: "member";
487
486
  project: "project";
487
+ member: "member";
488
488
  }>;
489
489
  period: z.ZodEnum<{
490
490
  day: "day";
@@ -519,7 +519,7 @@ declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
519
519
  title: string;
520
520
  key?: string | undefined;
521
521
  id?: string | undefined;
522
- }, "key" | "id"> & {
522
+ }, "id" | "key"> & {
523
523
  key: string;
524
524
  }, {
525
525
  title: string;
@@ -547,8 +547,8 @@ declare const questInstanceSchema: z.ZodObject<{
547
547
  }, z.core.$strict>>]>>;
548
548
  requires: z.ZodArray<z.ZodString>;
549
549
  status: z.ZodEnum<{
550
- active: "active";
551
550
  paused: "paused";
551
+ active: "active";
552
552
  archived: "archived";
553
553
  }>;
554
554
  }, z.core.$strict>;
@@ -568,8 +568,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
568
568
  }, z.core.$strict>>]>>;
569
569
  requires: z.ZodArray<z.ZodString>;
570
570
  status: z.ZodEnum<{
571
- active: "active";
572
571
  paused: "paused";
572
+ active: "active";
573
573
  archived: "archived";
574
574
  }>;
575
575
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -601,8 +601,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
601
601
  }, z.core.$strict>>]>>;
602
602
  requires: z.ZodArray<z.ZodString>;
603
603
  status: z.ZodEnum<{
604
- active: "active";
605
604
  paused: "paused";
605
+ active: "active";
606
606
  archived: "archived";
607
607
  }>;
608
608
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -635,8 +635,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
635
635
  }, z.core.$strict>>]>>;
636
636
  requires: z.ZodArray<z.ZodString>;
637
637
  status: z.ZodEnum<{
638
- active: "active";
639
638
  paused: "paused";
639
+ active: "active";
640
640
  archived: "archived";
641
641
  }>;
642
642
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -818,9 +818,9 @@ declare const questCatalogSchema: z.ZodObject<{
818
818
  }, z.core.$strict>, z.ZodObject<{
819
819
  kind: z.ZodLiteral<"manual">;
820
820
  input: z.ZodEnum<{
821
+ none: "none";
821
822
  quiz: "quiz";
822
823
  photo: "photo";
823
- none: "none";
824
824
  }>;
825
825
  actor: z.ZodOptional<z.ZodEnum<{
826
826
  member: "member";
@@ -839,8 +839,8 @@ declare const questCatalogSchema: z.ZodObject<{
839
839
  end: z.ZodOptional<z.ZodNumber>;
840
840
  }, z.core.$strict>;
841
841
  enrollment: z.ZodDefault<z.ZodEnum<{
842
- required: "required";
843
842
  none: "none";
843
+ required: "required";
844
844
  }>>;
845
845
  posts: z.ZodDefault<z.ZodEnum<{
846
846
  "after-enrollment": "after-enrollment";
@@ -908,8 +908,8 @@ declare const questCatalogSchema: z.ZodObject<{
908
908
  kind: z.ZodLiteral<"keyed">;
909
909
  }, z.core.$strict>], "kind">;
910
910
  visibility: z.ZodDefault<z.ZodEnum<{
911
- hidden: "hidden";
912
911
  visible: "visible";
912
+ hidden: "hidden";
913
913
  }>>;
914
914
  profile: z.ZodOptional<z.ZodObject<{
915
915
  visible: z.ZodBoolean;
@@ -917,8 +917,8 @@ declare const questCatalogSchema: z.ZodObject<{
917
917
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
918
918
  id: z.ZodString;
919
919
  scope: z.ZodEnum<{
920
- member: "member";
921
920
  project: "project";
921
+ member: "member";
922
922
  }>;
923
923
  period: z.ZodEnum<{
924
924
  day: "day";
@@ -961,8 +961,8 @@ declare const questCatalogSchema: z.ZodObject<{
961
961
  }, z.core.$strict>>]>>;
962
962
  requires: z.ZodArray<z.ZodString>;
963
963
  status: z.ZodEnum<{
964
- active: "active";
965
964
  paused: "paused";
965
+ active: "active";
966
966
  archived: "archived";
967
967
  }>;
968
968
  }, z.core.$strict>>;
@@ -986,8 +986,8 @@ declare const questCatalogSchema: z.ZodObject<{
986
986
  }, z.core.$strict>>]>>;
987
987
  requires: z.ZodArray<z.ZodString>;
988
988
  status: z.ZodEnum<{
989
- active: "active";
990
989
  paused: "paused";
990
+ active: "active";
991
991
  archived: "archived";
992
992
  }>;
993
993
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -1020,8 +1020,8 @@ declare const questCatalogSchema: z.ZodObject<{
1020
1020
  }, z.core.$strict>>]>>;
1021
1021
  requires: z.ZodArray<z.ZodString>;
1022
1022
  status: z.ZodEnum<{
1023
- active: "active";
1024
1023
  paused: "paused";
1024
+ active: "active";
1025
1025
  archived: "archived";
1026
1026
  }>;
1027
1027
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -1196,9 +1196,9 @@ declare const questCatalogSchema: z.ZodObject<{
1196
1196
  }, z.core.$strict>, z.ZodObject<{
1197
1197
  kind: z.ZodLiteral<"manual">;
1198
1198
  input: z.ZodEnum<{
1199
+ none: "none";
1199
1200
  quiz: "quiz";
1200
1201
  photo: "photo";
1201
- none: "none";
1202
1202
  }>;
1203
1203
  actor: z.ZodOptional<z.ZodEnum<{
1204
1204
  member: "member";
@@ -1217,8 +1217,8 @@ declare const questCatalogSchema: z.ZodObject<{
1217
1217
  end: z.ZodOptional<z.ZodNumber>;
1218
1218
  }, z.core.$strict>;
1219
1219
  enrollment: z.ZodDefault<z.ZodEnum<{
1220
- required: "required";
1221
1220
  none: "none";
1221
+ required: "required";
1222
1222
  }>>;
1223
1223
  posts: z.ZodDefault<z.ZodEnum<{
1224
1224
  "after-enrollment": "after-enrollment";
@@ -1286,8 +1286,8 @@ declare const questCatalogSchema: z.ZodObject<{
1286
1286
  kind: z.ZodLiteral<"keyed">;
1287
1287
  }, z.core.$strict>], "kind">;
1288
1288
  visibility: z.ZodDefault<z.ZodEnum<{
1289
- hidden: "hidden";
1290
1289
  visible: "visible";
1290
+ hidden: "hidden";
1291
1291
  }>>;
1292
1292
  profile: z.ZodOptional<z.ZodObject<{
1293
1293
  visible: z.ZodBoolean;
@@ -1295,8 +1295,8 @@ declare const questCatalogSchema: z.ZodObject<{
1295
1295
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1296
1296
  id: z.ZodString;
1297
1297
  scope: z.ZodEnum<{
1298
- member: "member";
1299
1298
  project: "project";
1299
+ member: "member";
1300
1300
  }>;
1301
1301
  period: z.ZodEnum<{
1302
1302
  day: "day";
@@ -1324,8 +1324,8 @@ declare const questCatalogSchema: z.ZodObject<{
1324
1324
  typeVersion: z.ZodString;
1325
1325
  }, z.core.$strict>>;
1326
1326
  lifecycle: z.ZodDefault<z.ZodEnum<{
1327
- active: "active";
1328
1327
  paused: "paused";
1328
+ active: "active";
1329
1329
  archived: "archived";
1330
1330
  }>>;
1331
1331
  configuration: z.ZodOptional<z.ZodObject<{
@@ -1393,7 +1393,7 @@ declare const questCatalogSchema: z.ZodObject<{
1393
1393
  createdAt: z.ZodNumber;
1394
1394
  }, z.core.$strip>, z.ZodTransform<{
1395
1395
  quest: string;
1396
- runtimeVersion: 1 | 2;
1396
+ runtimeVersion: 2 | 1;
1397
1397
  title: string;
1398
1398
  presentation: {
1399
1399
  quiz?: {
@@ -1532,7 +1532,7 @@ declare const questCatalogSchema: z.ZodObject<{
1532
1532
  start: number;
1533
1533
  end?: number | undefined;
1534
1534
  };
1535
- enrollment: "required" | "none";
1535
+ enrollment: "none" | "required";
1536
1536
  posts: "after-enrollment" | "since-start";
1537
1537
  historical: "staff" | "automatic" | "claim";
1538
1538
  } | undefined;
@@ -1579,7 +1579,7 @@ declare const questCatalogSchema: z.ZodObject<{
1579
1579
  actor?: "member" | "staff" | undefined;
1580
1580
  } | {
1581
1581
  kind: "manual";
1582
- input: "quiz" | "photo" | "none";
1582
+ input: "none" | "quiz" | "photo";
1583
1583
  actor?: "member" | "staff" | undefined;
1584
1584
  };
1585
1585
  requires: {
@@ -1594,10 +1594,10 @@ declare const questCatalogSchema: z.ZodObject<{
1594
1594
  } | {
1595
1595
  kind: "keyed";
1596
1596
  };
1597
- visibility: "hidden" | "visible";
1597
+ visibility: "visible" | "hidden";
1598
1598
  budgets: {
1599
1599
  id: string;
1600
- scope: "member" | "project";
1600
+ scope: "project" | "member";
1601
1601
  period: "day" | "lifetime" | "week";
1602
1602
  limit: number;
1603
1603
  cost: number | {
@@ -1609,7 +1609,7 @@ declare const questCatalogSchema: z.ZodObject<{
1609
1609
  id: string;
1610
1610
  createdAt: number;
1611
1611
  legacy: boolean;
1612
- lifecycle: "active" | "paused" | "archived";
1612
+ lifecycle: "paused" | "active" | "archived";
1613
1613
  performance?: {
1614
1614
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1615
1615
  maxAgeMs: number;
@@ -1680,13 +1680,13 @@ declare const questCatalogSchema: z.ZodObject<{
1680
1680
  createdAt: number;
1681
1681
  }>>]>>>;
1682
1682
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1683
- quiz: "quiz";
1684
- url: "url";
1685
- text: "text";
1686
1683
  staff: "staff";
1687
- photo: "photo";
1684
+ text: "text";
1685
+ url: "url";
1688
1686
  automatic: "automatic";
1689
1687
  claim: "claim";
1688
+ quiz: "quiz";
1689
+ photo: "photo";
1690
1690
  }>>;
1691
1691
  }, z.core.$strip>;
1692
1692
  declare const catalogDeploymentSchema: z.ZodObject<{
@@ -1705,7 +1705,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1705
1705
  title: string;
1706
1706
  key?: string | undefined;
1707
1707
  id?: string | undefined;
1708
- }, "key" | "id"> & {
1708
+ }, "id" | "key"> & {
1709
1709
  key: string;
1710
1710
  }, {
1711
1711
  title: string;
@@ -1713,13 +1713,13 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1713
1713
  id?: string | undefined;
1714
1714
  }>>>>;
1715
1715
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1716
- quiz: "quiz";
1717
- url: "url";
1718
- text: "text";
1719
1716
  staff: "staff";
1720
- photo: "photo";
1717
+ text: "text";
1718
+ url: "url";
1721
1719
  automatic: "automatic";
1722
1720
  claim: "claim";
1721
+ quiz: "quiz";
1722
+ photo: "photo";
1723
1723
  }>>>;
1724
1724
  }, z.core.$strict>;
1725
1725
  declare const catalogDeploymentPreviewSchema: z.ZodObject<{
@@ -1889,9 +1889,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1889
1889
  }, z.core.$strict>, z.ZodObject<{
1890
1890
  kind: z.ZodLiteral<"manual">;
1891
1891
  input: z.ZodEnum<{
1892
+ none: "none";
1892
1893
  quiz: "quiz";
1893
1894
  photo: "photo";
1894
- none: "none";
1895
1895
  }>;
1896
1896
  actor: z.ZodOptional<z.ZodEnum<{
1897
1897
  member: "member";
@@ -1910,8 +1910,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1910
1910
  end: z.ZodOptional<z.ZodNumber>;
1911
1911
  }, z.core.$strict>;
1912
1912
  enrollment: z.ZodDefault<z.ZodEnum<{
1913
- required: "required";
1914
1913
  none: "none";
1914
+ required: "required";
1915
1915
  }>>;
1916
1916
  posts: z.ZodDefault<z.ZodEnum<{
1917
1917
  "after-enrollment": "after-enrollment";
@@ -1979,8 +1979,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1979
1979
  kind: z.ZodLiteral<"keyed">;
1980
1980
  }, z.core.$strict>], "kind">;
1981
1981
  visibility: z.ZodDefault<z.ZodEnum<{
1982
- hidden: "hidden";
1983
1982
  visible: "visible";
1983
+ hidden: "hidden";
1984
1984
  }>>;
1985
1985
  profile: z.ZodOptional<z.ZodObject<{
1986
1986
  visible: z.ZodBoolean;
@@ -1988,8 +1988,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1988
1988
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1989
1989
  id: z.ZodString;
1990
1990
  scope: z.ZodEnum<{
1991
- member: "member";
1992
1991
  project: "project";
1992
+ member: "member";
1993
1993
  }>;
1994
1994
  period: z.ZodEnum<{
1995
1995
  day: "day";
@@ -2017,13 +2017,13 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2017
2017
  title: z.ZodString;
2018
2018
  }, z.core.$strict>>;
2019
2019
  supportedInteractions: z.ZodArray<z.ZodEnum<{
2020
- quiz: "quiz";
2021
- url: "url";
2022
- text: "text";
2023
2020
  staff: "staff";
2024
- photo: "photo";
2021
+ text: "text";
2022
+ url: "url";
2025
2023
  automatic: "automatic";
2026
2024
  claim: "claim";
2025
+ quiz: "quiz";
2026
+ photo: "photo";
2027
2027
  }>>;
2028
2028
  }, z.core.$strip>;
2029
2029
  declare const saveQuestDraftSchema: z.ZodObject<{
@@ -2047,8 +2047,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
2047
2047
  }, z.core.$strict>>]>>;
2048
2048
  requires: z.ZodArray<z.ZodString>;
2049
2049
  status: z.ZodEnum<{
2050
- active: "active";
2051
2050
  paused: "paused";
2051
+ active: "active";
2052
2052
  archived: "archived";
2053
2053
  }>;
2054
2054
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -2147,9 +2147,9 @@ declare const questViewSchema: z.ZodObject<{
2147
2147
  }, z.core.$strict>, z.ZodObject<{
2148
2148
  kind: z.ZodLiteral<"manual">;
2149
2149
  input: z.ZodEnum<{
2150
+ none: "none";
2150
2151
  quiz: "quiz";
2151
2152
  photo: "photo";
2152
- none: "none";
2153
2153
  }>;
2154
2154
  actor: z.ZodOptional<z.ZodEnum<{
2155
2155
  member: "member";
@@ -2168,8 +2168,8 @@ declare const questViewSchema: z.ZodObject<{
2168
2168
  end: z.ZodOptional<z.ZodNumber>;
2169
2169
  }, z.core.$strict>;
2170
2170
  enrollment: z.ZodDefault<z.ZodEnum<{
2171
- required: "required";
2172
2171
  none: "none";
2172
+ required: "required";
2173
2173
  }>>;
2174
2174
  posts: z.ZodDefault<z.ZodEnum<{
2175
2175
  "after-enrollment": "after-enrollment";
@@ -2216,11 +2216,11 @@ declare const questViewSchema: z.ZodObject<{
2216
2216
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2217
2217
  kind: z.ZodLiteral<"available">;
2218
2218
  input: z.ZodEnum<{
2219
- quiz: "quiz";
2220
- url: "url";
2221
2219
  text: "text";
2222
- photo: "photo";
2220
+ url: "url";
2223
2221
  none: "none";
2222
+ quiz: "quiz";
2223
+ photo: "photo";
2224
2224
  }>;
2225
2225
  }, z.core.$strict>, z.ZodObject<{
2226
2226
  kind: z.ZodLiteral<"completed">;
@@ -2290,8 +2290,8 @@ declare const questViewSchema: z.ZodObject<{
2290
2290
  }, z.core.$strip>>>;
2291
2291
  completionCount: z.ZodDefault<z.ZodNumber>;
2292
2292
  visibility: z.ZodDefault<z.ZodEnum<{
2293
- hidden: "hidden";
2294
2293
  visible: "visible";
2294
+ hidden: "hidden";
2295
2295
  }>>;
2296
2296
  missing: z.ZodArray<z.ZodObject<{
2297
2297
  quest: z.ZodString;
@@ -2318,12 +2318,12 @@ declare const questViewSchema: z.ZodObject<{
2318
2318
  }, z.core.$strict>]>>;
2319
2319
  status: z.ZodEnum<{
2320
2320
  "needs-review": "needs-review";
2321
+ failed: "failed";
2321
2322
  queued: "queued";
2322
2323
  evaluating: "evaluating";
2323
2324
  accepted: "accepted";
2324
2325
  progressed: "progressed";
2325
2326
  rejected: "rejected";
2326
- failed: "failed";
2327
2327
  }>;
2328
2328
  reason: z.ZodNullable<z.ZodString>;
2329
2329
  retries: z.ZodNumber;
@@ -2360,17 +2360,17 @@ declare const questViewSchema: z.ZodObject<{
2360
2360
  }, z.core.$strip>>;
2361
2361
  release: z.ZodString;
2362
2362
  interaction: z.ZodEnum<{
2363
- quiz: "quiz";
2364
- url: "url";
2365
- text: "text";
2366
2363
  staff: "staff";
2367
- photo: "photo";
2364
+ text: "text";
2365
+ url: "url";
2368
2366
  automatic: "automatic";
2369
2367
  claim: "claim";
2368
+ quiz: "quiz";
2369
+ photo: "photo";
2370
2370
  }>;
2371
2371
  lifecycle: z.ZodEnum<{
2372
- active: "active";
2373
2372
  paused: "paused";
2373
+ active: "active";
2374
2374
  archived: "archived";
2375
2375
  }>;
2376
2376
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2456,9 +2456,9 @@ declare const collectionViewSchema: z.ZodObject<{
2456
2456
  }, z.core.$strict>, z.ZodObject<{
2457
2457
  kind: z.ZodLiteral<"manual">;
2458
2458
  input: z.ZodEnum<{
2459
+ none: "none";
2459
2460
  quiz: "quiz";
2460
2461
  photo: "photo";
2461
- none: "none";
2462
2462
  }>;
2463
2463
  actor: z.ZodOptional<z.ZodEnum<{
2464
2464
  member: "member";
@@ -2477,8 +2477,8 @@ declare const collectionViewSchema: z.ZodObject<{
2477
2477
  end: z.ZodOptional<z.ZodNumber>;
2478
2478
  }, z.core.$strict>;
2479
2479
  enrollment: z.ZodDefault<z.ZodEnum<{
2480
- required: "required";
2481
2480
  none: "none";
2481
+ required: "required";
2482
2482
  }>>;
2483
2483
  posts: z.ZodDefault<z.ZodEnum<{
2484
2484
  "after-enrollment": "after-enrollment";
@@ -2525,11 +2525,11 @@ declare const collectionViewSchema: z.ZodObject<{
2525
2525
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2526
2526
  kind: z.ZodLiteral<"available">;
2527
2527
  input: z.ZodEnum<{
2528
- quiz: "quiz";
2529
- url: "url";
2530
2528
  text: "text";
2531
- photo: "photo";
2529
+ url: "url";
2532
2530
  none: "none";
2531
+ quiz: "quiz";
2532
+ photo: "photo";
2533
2533
  }>;
2534
2534
  }, z.core.$strict>, z.ZodObject<{
2535
2535
  kind: z.ZodLiteral<"completed">;
@@ -2599,8 +2599,8 @@ declare const collectionViewSchema: z.ZodObject<{
2599
2599
  }, z.core.$strip>>>;
2600
2600
  completionCount: z.ZodDefault<z.ZodNumber>;
2601
2601
  visibility: z.ZodDefault<z.ZodEnum<{
2602
- hidden: "hidden";
2603
2602
  visible: "visible";
2603
+ hidden: "hidden";
2604
2604
  }>>;
2605
2605
  missing: z.ZodArray<z.ZodObject<{
2606
2606
  quest: z.ZodString;
@@ -2627,12 +2627,12 @@ declare const collectionViewSchema: z.ZodObject<{
2627
2627
  }, z.core.$strict>]>>;
2628
2628
  status: z.ZodEnum<{
2629
2629
  "needs-review": "needs-review";
2630
+ failed: "failed";
2630
2631
  queued: "queued";
2631
2632
  evaluating: "evaluating";
2632
2633
  accepted: "accepted";
2633
2634
  progressed: "progressed";
2634
2635
  rejected: "rejected";
2635
- failed: "failed";
2636
2636
  }>;
2637
2637
  reason: z.ZodNullable<z.ZodString>;
2638
2638
  retries: z.ZodNumber;
@@ -2669,17 +2669,17 @@ declare const collectionViewSchema: z.ZodObject<{
2669
2669
  }, z.core.$strip>>;
2670
2670
  release: z.ZodString;
2671
2671
  interaction: z.ZodEnum<{
2672
- quiz: "quiz";
2673
- url: "url";
2674
- text: "text";
2675
2672
  staff: "staff";
2676
- photo: "photo";
2673
+ text: "text";
2674
+ url: "url";
2677
2675
  automatic: "automatic";
2678
2676
  claim: "claim";
2677
+ quiz: "quiz";
2678
+ photo: "photo";
2679
2679
  }>;
2680
2680
  lifecycle: z.ZodEnum<{
2681
- active: "active";
2682
2681
  paused: "paused";
2682
+ active: "active";
2683
2683
  archived: "archived";
2684
2684
  }>;
2685
2685
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2764,9 +2764,9 @@ declare const questExperienceSchema: z.ZodObject<{
2764
2764
  }, z.core.$strict>, z.ZodObject<{
2765
2765
  kind: z.ZodLiteral<"manual">;
2766
2766
  input: z.ZodEnum<{
2767
+ none: "none";
2767
2768
  quiz: "quiz";
2768
2769
  photo: "photo";
2769
- none: "none";
2770
2770
  }>;
2771
2771
  actor: z.ZodOptional<z.ZodEnum<{
2772
2772
  member: "member";
@@ -2785,8 +2785,8 @@ declare const questExperienceSchema: z.ZodObject<{
2785
2785
  end: z.ZodOptional<z.ZodNumber>;
2786
2786
  }, z.core.$strict>;
2787
2787
  enrollment: z.ZodDefault<z.ZodEnum<{
2788
- required: "required";
2789
2788
  none: "none";
2789
+ required: "required";
2790
2790
  }>>;
2791
2791
  posts: z.ZodDefault<z.ZodEnum<{
2792
2792
  "after-enrollment": "after-enrollment";
@@ -2833,11 +2833,11 @@ declare const questExperienceSchema: z.ZodObject<{
2833
2833
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2834
2834
  kind: z.ZodLiteral<"available">;
2835
2835
  input: z.ZodEnum<{
2836
- quiz: "quiz";
2837
- url: "url";
2838
2836
  text: "text";
2839
- photo: "photo";
2837
+ url: "url";
2840
2838
  none: "none";
2839
+ quiz: "quiz";
2840
+ photo: "photo";
2841
2841
  }>;
2842
2842
  }, z.core.$strict>, z.ZodObject<{
2843
2843
  kind: z.ZodLiteral<"completed">;
@@ -2907,8 +2907,8 @@ declare const questExperienceSchema: z.ZodObject<{
2907
2907
  }, z.core.$strip>>>;
2908
2908
  completionCount: z.ZodDefault<z.ZodNumber>;
2909
2909
  visibility: z.ZodDefault<z.ZodEnum<{
2910
- hidden: "hidden";
2911
2910
  visible: "visible";
2911
+ hidden: "hidden";
2912
2912
  }>>;
2913
2913
  missing: z.ZodArray<z.ZodObject<{
2914
2914
  quest: z.ZodString;
@@ -2935,12 +2935,12 @@ declare const questExperienceSchema: z.ZodObject<{
2935
2935
  }, z.core.$strict>]>>;
2936
2936
  status: z.ZodEnum<{
2937
2937
  "needs-review": "needs-review";
2938
+ failed: "failed";
2938
2939
  queued: "queued";
2939
2940
  evaluating: "evaluating";
2940
2941
  accepted: "accepted";
2941
2942
  progressed: "progressed";
2942
2943
  rejected: "rejected";
2943
- failed: "failed";
2944
2944
  }>;
2945
2945
  reason: z.ZodNullable<z.ZodString>;
2946
2946
  retries: z.ZodNumber;
@@ -2977,17 +2977,17 @@ declare const questExperienceSchema: z.ZodObject<{
2977
2977
  }, z.core.$strip>>;
2978
2978
  release: z.ZodString;
2979
2979
  interaction: z.ZodEnum<{
2980
- quiz: "quiz";
2981
- url: "url";
2982
- text: "text";
2983
2980
  staff: "staff";
2984
- photo: "photo";
2981
+ text: "text";
2982
+ url: "url";
2985
2983
  automatic: "automatic";
2986
2984
  claim: "claim";
2985
+ quiz: "quiz";
2986
+ photo: "photo";
2987
2987
  }>;
2988
2988
  lifecycle: z.ZodEnum<{
2989
- active: "active";
2990
2989
  paused: "paused";
2990
+ active: "active";
2991
2991
  archived: "archived";
2992
2992
  }>;
2993
2993
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3073,9 +3073,9 @@ declare const questExperienceSchema: z.ZodObject<{
3073
3073
  }, z.core.$strict>, z.ZodObject<{
3074
3074
  kind: z.ZodLiteral<"manual">;
3075
3075
  input: z.ZodEnum<{
3076
+ none: "none";
3076
3077
  quiz: "quiz";
3077
3078
  photo: "photo";
3078
- none: "none";
3079
3079
  }>;
3080
3080
  actor: z.ZodOptional<z.ZodEnum<{
3081
3081
  member: "member";
@@ -3094,8 +3094,8 @@ declare const questExperienceSchema: z.ZodObject<{
3094
3094
  end: z.ZodOptional<z.ZodNumber>;
3095
3095
  }, z.core.$strict>;
3096
3096
  enrollment: z.ZodDefault<z.ZodEnum<{
3097
- required: "required";
3098
3097
  none: "none";
3098
+ required: "required";
3099
3099
  }>>;
3100
3100
  posts: z.ZodDefault<z.ZodEnum<{
3101
3101
  "after-enrollment": "after-enrollment";
@@ -3142,11 +3142,11 @@ declare const questExperienceSchema: z.ZodObject<{
3142
3142
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
3143
3143
  kind: z.ZodLiteral<"available">;
3144
3144
  input: z.ZodEnum<{
3145
- quiz: "quiz";
3146
- url: "url";
3147
3145
  text: "text";
3148
- photo: "photo";
3146
+ url: "url";
3149
3147
  none: "none";
3148
+ quiz: "quiz";
3149
+ photo: "photo";
3150
3150
  }>;
3151
3151
  }, z.core.$strict>, z.ZodObject<{
3152
3152
  kind: z.ZodLiteral<"completed">;
@@ -3216,8 +3216,8 @@ declare const questExperienceSchema: z.ZodObject<{
3216
3216
  }, z.core.$strip>>>;
3217
3217
  completionCount: z.ZodDefault<z.ZodNumber>;
3218
3218
  visibility: z.ZodDefault<z.ZodEnum<{
3219
- hidden: "hidden";
3220
3219
  visible: "visible";
3220
+ hidden: "hidden";
3221
3221
  }>>;
3222
3222
  missing: z.ZodArray<z.ZodObject<{
3223
3223
  quest: z.ZodString;
@@ -3244,12 +3244,12 @@ declare const questExperienceSchema: z.ZodObject<{
3244
3244
  }, z.core.$strict>]>>;
3245
3245
  status: z.ZodEnum<{
3246
3246
  "needs-review": "needs-review";
3247
+ failed: "failed";
3247
3248
  queued: "queued";
3248
3249
  evaluating: "evaluating";
3249
3250
  accepted: "accepted";
3250
3251
  progressed: "progressed";
3251
3252
  rejected: "rejected";
3252
- failed: "failed";
3253
3253
  }>;
3254
3254
  reason: z.ZodNullable<z.ZodString>;
3255
3255
  retries: z.ZodNumber;
@@ -3286,17 +3286,17 @@ declare const questExperienceSchema: z.ZodObject<{
3286
3286
  }, z.core.$strip>>;
3287
3287
  release: z.ZodString;
3288
3288
  interaction: z.ZodEnum<{
3289
- quiz: "quiz";
3290
- url: "url";
3291
- text: "text";
3292
3289
  staff: "staff";
3293
- photo: "photo";
3290
+ text: "text";
3291
+ url: "url";
3294
3292
  automatic: "automatic";
3295
3293
  claim: "claim";
3294
+ quiz: "quiz";
3295
+ photo: "photo";
3296
3296
  }>;
3297
3297
  lifecycle: z.ZodEnum<{
3298
- active: "active";
3299
3298
  paused: "paused";
3299
+ active: "active";
3300
3300
  archived: "archived";
3301
3301
  }>;
3302
3302
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3350,8 +3350,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3350
3350
  }, z.core.$strict>>]>>;
3351
3351
  requires: z.ZodArray<z.ZodString>;
3352
3352
  status: z.ZodEnum<{
3353
- active: "active";
3354
3353
  paused: "paused";
3354
+ active: "active";
3355
3355
  archived: "archived";
3356
3356
  }>;
3357
3357
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -3384,8 +3384,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3384
3384
  }, z.core.$strict>>]>>;
3385
3385
  requires: z.ZodArray<z.ZodString>;
3386
3386
  status: z.ZodEnum<{
3387
- active: "active";
3388
3387
  paused: "paused";
3388
+ active: "active";
3389
3389
  archived: "archived";
3390
3390
  }>;
3391
3391
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -3560,9 +3560,9 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3560
3560
  }, z.core.$strict>, z.ZodObject<{
3561
3561
  kind: z.ZodLiteral<"manual">;
3562
3562
  input: z.ZodEnum<{
3563
+ none: "none";
3563
3564
  quiz: "quiz";
3564
3565
  photo: "photo";
3565
- none: "none";
3566
3566
  }>;
3567
3567
  actor: z.ZodOptional<z.ZodEnum<{
3568
3568
  member: "member";
@@ -3581,8 +3581,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3581
3581
  end: z.ZodOptional<z.ZodNumber>;
3582
3582
  }, z.core.$strict>;
3583
3583
  enrollment: z.ZodDefault<z.ZodEnum<{
3584
- required: "required";
3585
3584
  none: "none";
3585
+ required: "required";
3586
3586
  }>>;
3587
3587
  posts: z.ZodDefault<z.ZodEnum<{
3588
3588
  "after-enrollment": "after-enrollment";
@@ -3650,8 +3650,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3650
3650
  kind: z.ZodLiteral<"keyed">;
3651
3651
  }, z.core.$strict>], "kind">;
3652
3652
  visibility: z.ZodDefault<z.ZodEnum<{
3653
- hidden: "hidden";
3654
3653
  visible: "visible";
3654
+ hidden: "hidden";
3655
3655
  }>>;
3656
3656
  profile: z.ZodOptional<z.ZodObject<{
3657
3657
  visible: z.ZodBoolean;
@@ -3659,8 +3659,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3659
3659
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
3660
3660
  id: z.ZodString;
3661
3661
  scope: z.ZodEnum<{
3662
- member: "member";
3663
3662
  project: "project";
3663
+ member: "member";
3664
3664
  }>;
3665
3665
  period: z.ZodEnum<{
3666
3666
  day: "day";
@@ -3688,8 +3688,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3688
3688
  typeVersion: z.ZodString;
3689
3689
  }, z.core.$strict>>;
3690
3690
  lifecycle: z.ZodDefault<z.ZodEnum<{
3691
- active: "active";
3692
3691
  paused: "paused";
3692
+ active: "active";
3693
3693
  archived: "archived";
3694
3694
  }>>;
3695
3695
  configuration: z.ZodOptional<z.ZodObject<{
@@ -3757,7 +3757,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3757
3757
  createdAt: z.ZodNumber;
3758
3758
  }, z.core.$strip>, z.ZodTransform<{
3759
3759
  quest: string;
3760
- runtimeVersion: 1 | 2;
3760
+ runtimeVersion: 2 | 1;
3761
3761
  title: string;
3762
3762
  presentation: {
3763
3763
  quiz?: {
@@ -3896,7 +3896,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3896
3896
  start: number;
3897
3897
  end?: number | undefined;
3898
3898
  };
3899
- enrollment: "required" | "none";
3899
+ enrollment: "none" | "required";
3900
3900
  posts: "after-enrollment" | "since-start";
3901
3901
  historical: "staff" | "automatic" | "claim";
3902
3902
  } | undefined;
@@ -3943,7 +3943,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3943
3943
  actor?: "member" | "staff" | undefined;
3944
3944
  } | {
3945
3945
  kind: "manual";
3946
- input: "quiz" | "photo" | "none";
3946
+ input: "none" | "quiz" | "photo";
3947
3947
  actor?: "member" | "staff" | undefined;
3948
3948
  };
3949
3949
  requires: {
@@ -3958,10 +3958,10 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3958
3958
  } | {
3959
3959
  kind: "keyed";
3960
3960
  };
3961
- visibility: "hidden" | "visible";
3961
+ visibility: "visible" | "hidden";
3962
3962
  budgets: {
3963
3963
  id: string;
3964
- scope: "member" | "project";
3964
+ scope: "project" | "member";
3965
3965
  period: "day" | "lifetime" | "week";
3966
3966
  limit: number;
3967
3967
  cost: number | {
@@ -3973,7 +3973,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3973
3973
  id: string;
3974
3974
  createdAt: number;
3975
3975
  legacy: boolean;
3976
- lifecycle: "active" | "paused" | "archived";
3976
+ lifecycle: "paused" | "active" | "archived";
3977
3977
  performance?: {
3978
3978
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3979
3979
  maxAgeMs: number;
@@ -4625,6 +4625,12 @@ declare function questConfiguration(release: PublishedRelease): {
4625
4625
 
4626
4626
  /** Non-quest resources in the private hosted-build catalog artifact. */
4627
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>>>;
4628
4634
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
4629
4635
  title: z.ZodString;
4630
4636
  key: z.ZodOptional<z.ZodString>;
@@ -4633,27 +4639,21 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4633
4639
  title: string;
4634
4640
  key?: string | undefined;
4635
4641
  id?: string | undefined;
4636
- }, "key" | "id"> & {
4642
+ }, "id" | "key"> & {
4637
4643
  key: string;
4638
4644
  }, {
4639
4645
  title: string;
4640
4646
  key?: string | undefined;
4641
4647
  id?: string | undefined;
4642
4648
  }>>>>;
4643
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4644
- code: z.ZodString;
4645
- provider: z.ZodEnum<{
4646
- "workers-ai": "workers-ai";
4647
- }>;
4648
- }, z.core.$strip>>>;
4649
4649
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4650
- quiz: "quiz";
4651
- url: "url";
4652
- text: "text";
4653
4650
  staff: "staff";
4654
- photo: "photo";
4651
+ text: "text";
4652
+ url: "url";
4655
4653
  automatic: "automatic";
4656
4654
  claim: "claim";
4655
+ quiz: "quiz";
4656
+ photo: "photo";
4657
4657
  }>>>;
4658
4658
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
4659
4659
  code: z.ZodString;
@@ -4668,10 +4668,10 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4668
4668
  kind: z.ZodLiteral<"custom">;
4669
4669
  namespace: z.ZodString;
4670
4670
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4671
- x: "x";
4672
- discord: "discord";
4673
4671
  member: "member";
4672
+ x: "x";
4674
4673
  wallet: "wallet";
4674
+ discord: "discord";
4675
4675
  }>>>;
4676
4676
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
4677
4677
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -4692,6 +4692,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4692
4692
  }, z.core.$strict>>>;
4693
4693
  referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4694
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">;
4695
4703
  rewards: z.ZodDefault<z.ZodObject<{
4696
4704
  inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4697
4705
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -4738,14 +4746,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4738
4746
  tier: z.ZodString;
4739
4747
  }, z.core.$strict>]>>>;
4740
4748
  }, z.core.$strict>>;
4741
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
4742
- kind: z.ZodLiteral<"signup">;
4743
- }, z.core.$strict>, z.ZodObject<{
4744
- kind: z.ZodLiteral<"quest">;
4745
- quest: z.ZodString;
4746
- }, z.core.$strict>, z.ZodObject<{
4747
- kind: z.ZodLiteral<"external">;
4748
- }, z.core.$strict>], "kind">;
4749
4749
  enabled: z.ZodDefault<z.ZodBoolean>;
4750
4750
  inviterGroup: z.ZodOptional<z.ZodString>;
4751
4751
  milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -4787,6 +4787,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4787
4787
  id: z.ZodOptional<z.ZodString>;
4788
4788
  }, z.core.$strict>, z.ZodTransform<Omit<{
4789
4789
  title: string;
4790
+ qualification: {
4791
+ kind: "signup";
4792
+ } | {
4793
+ kind: "quest";
4794
+ quest: string;
4795
+ } | {
4796
+ kind: "external";
4797
+ };
4790
4798
  rewards: {
4791
4799
  inviter: ({
4792
4800
  kind: "tier";
@@ -4833,14 +4841,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4833
4841
  amount: number;
4834
4842
  })[];
4835
4843
  };
4836
- qualification: {
4837
- kind: "signup";
4838
- } | {
4839
- kind: "quest";
4840
- quest: string;
4841
- } | {
4842
- kind: "external";
4843
- };
4844
4844
  enabled: boolean;
4845
4845
  milestones: {
4846
4846
  id: string;
@@ -4880,10 +4880,18 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4880
4880
  inviterGroup?: string | undefined;
4881
4881
  key?: string | undefined;
4882
4882
  id?: string | undefined;
4883
- }, "key" | "id"> & {
4883
+ }, "id" | "key"> & {
4884
4884
  key: string;
4885
4885
  }, {
4886
4886
  title: string;
4887
+ qualification: {
4888
+ kind: "signup";
4889
+ } | {
4890
+ kind: "quest";
4891
+ quest: string;
4892
+ } | {
4893
+ kind: "external";
4894
+ };
4887
4895
  rewards: {
4888
4896
  inviter: ({
4889
4897
  kind: "tier";
@@ -4930,14 +4938,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4930
4938
  amount: number;
4931
4939
  })[];
4932
4940
  };
4933
- qualification: {
4934
- kind: "signup";
4935
- } | {
4936
- kind: "quest";
4937
- quest: string;
4938
- } | {
4939
- kind: "external";
4940
- };
4941
4941
  enabled: boolean;
4942
4942
  milestones: {
4943
4943
  id: string;
@@ -5077,7 +5077,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
5077
5077
  group?: string | undefined;
5078
5078
  key?: string | undefined;
5079
5079
  id?: string | undefined;
5080
- }, "key" | "id"> & {
5080
+ }, "id" | "key"> & {
5081
5081
  key: string;
5082
5082
  }, {
5083
5083
  title: string;
@@ -5134,6 +5134,12 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
5134
5134
  }, z.core.$strict>;
5135
5135
  /** One manifest bundle. Missing entries never delete remotely owned resources. */
5136
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>>>;
5137
5143
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
5138
5144
  title: z.ZodString;
5139
5145
  key: z.ZodOptional<z.ZodString>;
@@ -5142,27 +5148,21 @@ declare const projectDeploymentSchema: z.ZodObject<{
5142
5148
  title: string;
5143
5149
  key?: string | undefined;
5144
5150
  id?: string | undefined;
5145
- }, "key" | "id"> & {
5151
+ }, "id" | "key"> & {
5146
5152
  key: string;
5147
5153
  }, {
5148
5154
  title: string;
5149
5155
  key?: string | undefined;
5150
5156
  id?: string | undefined;
5151
5157
  }>>>>;
5152
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
5153
- code: z.ZodString;
5154
- provider: z.ZodEnum<{
5155
- "workers-ai": "workers-ai";
5156
- }>;
5157
- }, z.core.$strip>>>;
5158
5158
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5159
- quiz: "quiz";
5160
- url: "url";
5161
- text: "text";
5162
5159
  staff: "staff";
5163
- photo: "photo";
5160
+ text: "text";
5161
+ url: "url";
5164
5162
  automatic: "automatic";
5165
5163
  claim: "claim";
5164
+ quiz: "quiz";
5165
+ photo: "photo";
5166
5166
  }>>>;
5167
5167
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
5168
5168
  code: z.ZodString;
@@ -5177,10 +5177,10 @@ declare const projectDeploymentSchema: z.ZodObject<{
5177
5177
  kind: z.ZodLiteral<"custom">;
5178
5178
  namespace: z.ZodString;
5179
5179
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5180
- x: "x";
5181
- discord: "discord";
5182
5180
  member: "member";
5181
+ x: "x";
5183
5182
  wallet: "wallet";
5183
+ discord: "discord";
5184
5184
  }>>>;
5185
5185
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
5186
5186
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -5201,6 +5201,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5201
5201
  }, z.core.$strict>>>;
5202
5202
  referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
5203
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">;
5204
5212
  rewards: z.ZodDefault<z.ZodObject<{
5205
5213
  inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5206
5214
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -5247,14 +5255,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5247
5255
  tier: z.ZodString;
5248
5256
  }, z.core.$strict>]>>>;
5249
5257
  }, z.core.$strict>>;
5250
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
5251
- kind: z.ZodLiteral<"signup">;
5252
- }, z.core.$strict>, z.ZodObject<{
5253
- kind: z.ZodLiteral<"quest">;
5254
- quest: z.ZodString;
5255
- }, z.core.$strict>, z.ZodObject<{
5256
- kind: z.ZodLiteral<"external">;
5257
- }, z.core.$strict>], "kind">;
5258
5258
  enabled: z.ZodDefault<z.ZodBoolean>;
5259
5259
  inviterGroup: z.ZodOptional<z.ZodString>;
5260
5260
  milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -5296,6 +5296,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5296
5296
  id: z.ZodOptional<z.ZodString>;
5297
5297
  }, z.core.$strict>, z.ZodTransform<Omit<{
5298
5298
  title: string;
5299
+ qualification: {
5300
+ kind: "signup";
5301
+ } | {
5302
+ kind: "quest";
5303
+ quest: string;
5304
+ } | {
5305
+ kind: "external";
5306
+ };
5299
5307
  rewards: {
5300
5308
  inviter: ({
5301
5309
  kind: "tier";
@@ -5342,14 +5350,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5342
5350
  amount: number;
5343
5351
  })[];
5344
5352
  };
5345
- qualification: {
5346
- kind: "signup";
5347
- } | {
5348
- kind: "quest";
5349
- quest: string;
5350
- } | {
5351
- kind: "external";
5352
- };
5353
5353
  enabled: boolean;
5354
5354
  milestones: {
5355
5355
  id: string;
@@ -5389,10 +5389,18 @@ declare const projectDeploymentSchema: z.ZodObject<{
5389
5389
  inviterGroup?: string | undefined;
5390
5390
  key?: string | undefined;
5391
5391
  id?: string | undefined;
5392
- }, "key" | "id"> & {
5392
+ }, "id" | "key"> & {
5393
5393
  key: string;
5394
5394
  }, {
5395
5395
  title: string;
5396
+ qualification: {
5397
+ kind: "signup";
5398
+ } | {
5399
+ kind: "quest";
5400
+ quest: string;
5401
+ } | {
5402
+ kind: "external";
5403
+ };
5396
5404
  rewards: {
5397
5405
  inviter: ({
5398
5406
  kind: "tier";
@@ -5439,14 +5447,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5439
5447
  amount: number;
5440
5448
  })[];
5441
5449
  };
5442
- qualification: {
5443
- kind: "signup";
5444
- } | {
5445
- kind: "quest";
5446
- quest: string;
5447
- } | {
5448
- kind: "external";
5449
- };
5450
5450
  enabled: boolean;
5451
5451
  milestones: {
5452
5452
  id: string;
@@ -5586,7 +5586,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
5586
5586
  group?: string | undefined;
5587
5587
  key?: string | undefined;
5588
5588
  id?: string | undefined;
5589
- }, "key" | "id"> & {
5589
+ }, "id" | "key"> & {
5590
5590
  key: string;
5591
5591
  }, {
5592
5592
  title: string;
@@ -5793,10 +5793,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5793
5793
  kind: z.ZodLiteral<"custom">;
5794
5794
  namespace: z.ZodString;
5795
5795
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5796
- x: "x";
5797
- discord: "discord";
5798
5796
  member: "member";
5797
+ x: "x";
5799
5798
  wallet: "wallet";
5799
+ discord: "discord";
5800
5800
  }>>>;
5801
5801
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
5802
5802
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -5977,9 +5977,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5977
5977
  }, z.core.$strict>, z.ZodObject<{
5978
5978
  kind: z.ZodLiteral<"manual">;
5979
5979
  input: z.ZodEnum<{
5980
+ none: "none";
5980
5981
  quiz: "quiz";
5981
5982
  photo: "photo";
5982
- none: "none";
5983
5983
  }>;
5984
5984
  actor: z.ZodOptional<z.ZodEnum<{
5985
5985
  member: "member";
@@ -5998,8 +5998,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5998
5998
  end: z.ZodOptional<z.ZodNumber>;
5999
5999
  }, z.core.$strict>;
6000
6000
  enrollment: z.ZodDefault<z.ZodEnum<{
6001
- required: "required";
6002
6001
  none: "none";
6002
+ required: "required";
6003
6003
  }>>;
6004
6004
  posts: z.ZodDefault<z.ZodEnum<{
6005
6005
  "after-enrollment": "after-enrollment";
@@ -6067,8 +6067,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6067
6067
  kind: z.ZodLiteral<"keyed">;
6068
6068
  }, z.core.$strict>], "kind">;
6069
6069
  visibility: z.ZodDefault<z.ZodEnum<{
6070
- hidden: "hidden";
6071
6070
  visible: "visible";
6071
+ hidden: "hidden";
6072
6072
  }>>;
6073
6073
  profile: z.ZodOptional<z.ZodObject<{
6074
6074
  visible: z.ZodBoolean;
@@ -6076,8 +6076,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6076
6076
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
6077
6077
  id: z.ZodString;
6078
6078
  scope: z.ZodEnum<{
6079
- member: "member";
6080
6079
  project: "project";
6080
+ member: "member";
6081
6081
  }>;
6082
6082
  period: z.ZodEnum<{
6083
6083
  day: "day";
@@ -6105,8 +6105,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6105
6105
  typeVersion: z.ZodString;
6106
6106
  }, z.core.$strict>>;
6107
6107
  lifecycle: z.ZodDefault<z.ZodEnum<{
6108
- active: "active";
6109
6108
  paused: "paused";
6109
+ active: "active";
6110
6110
  archived: "archived";
6111
6111
  }>>;
6112
6112
  configuration: z.ZodOptional<z.ZodObject<{
@@ -6174,7 +6174,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6174
6174
  createdAt: z.ZodNumber;
6175
6175
  }, z.core.$strip>, z.ZodTransform<{
6176
6176
  quest: string;
6177
- runtimeVersion: 1 | 2;
6177
+ runtimeVersion: 2 | 1;
6178
6178
  title: string;
6179
6179
  presentation: {
6180
6180
  quiz?: {
@@ -6313,7 +6313,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6313
6313
  start: number;
6314
6314
  end?: number | undefined;
6315
6315
  };
6316
- enrollment: "required" | "none";
6316
+ enrollment: "none" | "required";
6317
6317
  posts: "after-enrollment" | "since-start";
6318
6318
  historical: "staff" | "automatic" | "claim";
6319
6319
  } | undefined;
@@ -6360,7 +6360,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6360
6360
  actor?: "member" | "staff" | undefined;
6361
6361
  } | {
6362
6362
  kind: "manual";
6363
- input: "quiz" | "photo" | "none";
6363
+ input: "none" | "quiz" | "photo";
6364
6364
  actor?: "member" | "staff" | undefined;
6365
6365
  };
6366
6366
  requires: {
@@ -6375,10 +6375,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6375
6375
  } | {
6376
6376
  kind: "keyed";
6377
6377
  };
6378
- visibility: "hidden" | "visible";
6378
+ visibility: "visible" | "hidden";
6379
6379
  budgets: {
6380
6380
  id: string;
6381
- scope: "member" | "project";
6381
+ scope: "project" | "member";
6382
6382
  period: "day" | "lifetime" | "week";
6383
6383
  limit: number;
6384
6384
  cost: number | {
@@ -6390,7 +6390,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6390
6390
  id: string;
6391
6391
  createdAt: number;
6392
6392
  legacy: boolean;
6393
- lifecycle: "active" | "paused" | "archived";
6393
+ lifecycle: "paused" | "active" | "archived";
6394
6394
  performance?: {
6395
6395
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
6396
6396
  maxAgeMs: number;
@@ -6625,9 +6625,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6625
6625
  }, z.core.$strict>, z.ZodObject<{
6626
6626
  kind: z.ZodLiteral<"manual">;
6627
6627
  input: z.ZodEnum<{
6628
+ none: "none";
6628
6629
  quiz: "quiz";
6629
6630
  photo: "photo";
6630
- none: "none";
6631
6631
  }>;
6632
6632
  actor: z.ZodOptional<z.ZodEnum<{
6633
6633
  member: "member";
@@ -6646,8 +6646,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6646
6646
  end: z.ZodOptional<z.ZodNumber>;
6647
6647
  }, z.core.$strict>;
6648
6648
  enrollment: z.ZodDefault<z.ZodEnum<{
6649
- required: "required";
6650
6649
  none: "none";
6650
+ required: "required";
6651
6651
  }>>;
6652
6652
  posts: z.ZodDefault<z.ZodEnum<{
6653
6653
  "after-enrollment": "after-enrollment";
@@ -6715,8 +6715,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6715
6715
  kind: z.ZodLiteral<"keyed">;
6716
6716
  }, z.core.$strict>], "kind">;
6717
6717
  visibility: z.ZodDefault<z.ZodEnum<{
6718
- hidden: "hidden";
6719
6718
  visible: "visible";
6719
+ hidden: "hidden";
6720
6720
  }>>;
6721
6721
  profile: z.ZodOptional<z.ZodObject<{
6722
6722
  visible: z.ZodBoolean;
@@ -6724,8 +6724,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6724
6724
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
6725
6725
  id: z.ZodString;
6726
6726
  scope: z.ZodEnum<{
6727
- member: "member";
6728
6727
  project: "project";
6728
+ member: "member";
6729
6729
  }>;
6730
6730
  period: z.ZodEnum<{
6731
6731
  day: "day";
@@ -6754,13 +6754,13 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6754
6754
  quests: z.ZodArray<z.ZodString>;
6755
6755
  }, z.core.$strict>>;
6756
6756
  supportedInteractions: z.ZodArray<z.ZodEnum<{
6757
- quiz: "quiz";
6758
- url: "url";
6759
- text: "text";
6760
6757
  staff: "staff";
6761
- photo: "photo";
6758
+ text: "text";
6759
+ url: "url";
6762
6760
  automatic: "automatic";
6763
6761
  claim: "claim";
6762
+ quiz: "quiz";
6763
+ photo: "photo";
6764
6764
  }>>;
6765
6765
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
6766
6766
  version: z.ZodString;
@@ -7280,10 +7280,10 @@ declare const deploymentResultSchema: z.ZodObject<{
7280
7280
  kind: z.ZodLiteral<"custom">;
7281
7281
  namespace: z.ZodString;
7282
7282
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7283
- x: "x";
7284
- discord: "discord";
7285
7283
  member: "member";
7284
+ x: "x";
7286
7285
  wallet: "wallet";
7286
+ discord: "discord";
7287
7287
  }>>>;
7288
7288
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
7289
7289
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -7464,9 +7464,9 @@ declare const deploymentResultSchema: z.ZodObject<{
7464
7464
  }, z.core.$strict>, z.ZodObject<{
7465
7465
  kind: z.ZodLiteral<"manual">;
7466
7466
  input: z.ZodEnum<{
7467
+ none: "none";
7467
7468
  quiz: "quiz";
7468
7469
  photo: "photo";
7469
- none: "none";
7470
7470
  }>;
7471
7471
  actor: z.ZodOptional<z.ZodEnum<{
7472
7472
  member: "member";
@@ -7485,8 +7485,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7485
7485
  end: z.ZodOptional<z.ZodNumber>;
7486
7486
  }, z.core.$strict>;
7487
7487
  enrollment: z.ZodDefault<z.ZodEnum<{
7488
- required: "required";
7489
7488
  none: "none";
7489
+ required: "required";
7490
7490
  }>>;
7491
7491
  posts: z.ZodDefault<z.ZodEnum<{
7492
7492
  "after-enrollment": "after-enrollment";
@@ -7554,8 +7554,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7554
7554
  kind: z.ZodLiteral<"keyed">;
7555
7555
  }, z.core.$strict>], "kind">;
7556
7556
  visibility: z.ZodDefault<z.ZodEnum<{
7557
- hidden: "hidden";
7558
7557
  visible: "visible";
7558
+ hidden: "hidden";
7559
7559
  }>>;
7560
7560
  profile: z.ZodOptional<z.ZodObject<{
7561
7561
  visible: z.ZodBoolean;
@@ -7563,8 +7563,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7563
7563
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
7564
7564
  id: z.ZodString;
7565
7565
  scope: z.ZodEnum<{
7566
- member: "member";
7567
7566
  project: "project";
7567
+ member: "member";
7568
7568
  }>;
7569
7569
  period: z.ZodEnum<{
7570
7570
  day: "day";
@@ -7592,8 +7592,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7592
7592
  typeVersion: z.ZodString;
7593
7593
  }, z.core.$strict>>;
7594
7594
  lifecycle: z.ZodDefault<z.ZodEnum<{
7595
- active: "active";
7596
7595
  paused: "paused";
7596
+ active: "active";
7597
7597
  archived: "archived";
7598
7598
  }>>;
7599
7599
  configuration: z.ZodOptional<z.ZodObject<{
@@ -7661,7 +7661,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7661
7661
  createdAt: z.ZodNumber;
7662
7662
  }, z.core.$strip>, z.ZodTransform<{
7663
7663
  quest: string;
7664
- runtimeVersion: 1 | 2;
7664
+ runtimeVersion: 2 | 1;
7665
7665
  title: string;
7666
7666
  presentation: {
7667
7667
  quiz?: {
@@ -7800,7 +7800,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7800
7800
  start: number;
7801
7801
  end?: number | undefined;
7802
7802
  };
7803
- enrollment: "required" | "none";
7803
+ enrollment: "none" | "required";
7804
7804
  posts: "after-enrollment" | "since-start";
7805
7805
  historical: "staff" | "automatic" | "claim";
7806
7806
  } | undefined;
@@ -7847,7 +7847,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7847
7847
  actor?: "member" | "staff" | undefined;
7848
7848
  } | {
7849
7849
  kind: "manual";
7850
- input: "quiz" | "photo" | "none";
7850
+ input: "none" | "quiz" | "photo";
7851
7851
  actor?: "member" | "staff" | undefined;
7852
7852
  };
7853
7853
  requires: {
@@ -7862,10 +7862,10 @@ declare const deploymentResultSchema: z.ZodObject<{
7862
7862
  } | {
7863
7863
  kind: "keyed";
7864
7864
  };
7865
- visibility: "hidden" | "visible";
7865
+ visibility: "visible" | "hidden";
7866
7866
  budgets: {
7867
7867
  id: string;
7868
- scope: "member" | "project";
7868
+ scope: "project" | "member";
7869
7869
  period: "day" | "lifetime" | "week";
7870
7870
  limit: number;
7871
7871
  cost: number | {
@@ -7877,7 +7877,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7877
7877
  id: string;
7878
7878
  createdAt: number;
7879
7879
  legacy: boolean;
7880
- lifecycle: "active" | "paused" | "archived";
7880
+ lifecycle: "paused" | "active" | "archived";
7881
7881
  performance?: {
7882
7882
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
7883
7883
  maxAgeMs: number;
@@ -8112,9 +8112,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8112
8112
  }, z.core.$strict>, z.ZodObject<{
8113
8113
  kind: z.ZodLiteral<"manual">;
8114
8114
  input: z.ZodEnum<{
8115
+ none: "none";
8115
8116
  quiz: "quiz";
8116
8117
  photo: "photo";
8117
- none: "none";
8118
8118
  }>;
8119
8119
  actor: z.ZodOptional<z.ZodEnum<{
8120
8120
  member: "member";
@@ -8133,8 +8133,8 @@ declare const deploymentResultSchema: z.ZodObject<{
8133
8133
  end: z.ZodOptional<z.ZodNumber>;
8134
8134
  }, z.core.$strict>;
8135
8135
  enrollment: z.ZodDefault<z.ZodEnum<{
8136
- required: "required";
8137
8136
  none: "none";
8137
+ required: "required";
8138
8138
  }>>;
8139
8139
  posts: z.ZodDefault<z.ZodEnum<{
8140
8140
  "after-enrollment": "after-enrollment";
@@ -8202,8 +8202,8 @@ declare const deploymentResultSchema: z.ZodObject<{
8202
8202
  kind: z.ZodLiteral<"keyed">;
8203
8203
  }, z.core.$strict>], "kind">;
8204
8204
  visibility: z.ZodDefault<z.ZodEnum<{
8205
- hidden: "hidden";
8206
8205
  visible: "visible";
8206
+ hidden: "hidden";
8207
8207
  }>>;
8208
8208
  profile: z.ZodOptional<z.ZodObject<{
8209
8209
  visible: z.ZodBoolean;
@@ -8211,8 +8211,8 @@ declare const deploymentResultSchema: z.ZodObject<{
8211
8211
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
8212
8212
  id: z.ZodString;
8213
8213
  scope: z.ZodEnum<{
8214
- member: "member";
8215
8214
  project: "project";
8215
+ member: "member";
8216
8216
  }>;
8217
8217
  period: z.ZodEnum<{
8218
8218
  day: "day";
@@ -8241,13 +8241,13 @@ declare const deploymentResultSchema: z.ZodObject<{
8241
8241
  quests: z.ZodArray<z.ZodString>;
8242
8242
  }, z.core.$strict>>;
8243
8243
  supportedInteractions: z.ZodArray<z.ZodEnum<{
8244
- quiz: "quiz";
8245
- url: "url";
8246
- text: "text";
8247
8244
  staff: "staff";
8248
- photo: "photo";
8245
+ text: "text";
8246
+ url: "url";
8249
8247
  automatic: "automatic";
8250
8248
  claim: "claim";
8249
+ quiz: "quiz";
8250
+ photo: "photo";
8251
8251
  }>>;
8252
8252
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
8253
8253
  version: z.ZodString;
@@ -8881,7 +8881,7 @@ declare function createRelayClient(options: {
8881
8881
  accounts: {
8882
8882
  id: string;
8883
8883
  program: string;
8884
- kind: "milestone" | "fixed" | "bonus";
8884
+ kind: "fixed" | "milestone" | "bonus";
8885
8885
  balance: string;
8886
8886
  earned: number;
8887
8887
  settled: number;
@@ -9093,7 +9093,7 @@ declare function createRelayClient(options: {
9093
9093
  seed: string;
9094
9094
  };
9095
9095
  displayName: string | null;
9096
- avatarChoice: "default" | "account" | "generated" | "upload";
9096
+ avatarChoice: "default" | "account" | "upload" | "generated";
9097
9097
  avatarProvider: "x" | "discord" | "google" | null;
9098
9098
  hidden: boolean;
9099
9099
  locked: boolean;
@@ -9127,7 +9127,7 @@ declare function createRelayClient(options: {
9127
9127
  seed: string;
9128
9128
  };
9129
9129
  displayName: string | null;
9130
- avatarChoice: "default" | "account" | "generated" | "upload";
9130
+ avatarChoice: "default" | "account" | "upload" | "generated";
9131
9131
  avatarProvider: "x" | "discord" | "google" | null;
9132
9132
  hidden: boolean;
9133
9133
  locked: boolean;
@@ -9162,7 +9162,7 @@ declare function createRelayClient(options: {
9162
9162
  seed: string;
9163
9163
  };
9164
9164
  displayName: string | null;
9165
- avatarChoice: "default" | "account" | "generated" | "upload";
9165
+ avatarChoice: "default" | "account" | "upload" | "generated";
9166
9166
  avatarProvider: "x" | "discord" | "google" | null;
9167
9167
  hidden: boolean;
9168
9168
  locked: boolean;
@@ -9262,7 +9262,7 @@ declare function createRelayClient(options: {
9262
9262
  start: number;
9263
9263
  end?: number | undefined;
9264
9264
  };
9265
- enrollment: "required" | "none";
9265
+ enrollment: "none" | "required";
9266
9266
  posts: "after-enrollment" | "since-start";
9267
9267
  historical: "staff" | "automatic" | "claim";
9268
9268
  } | undefined;
@@ -9309,12 +9309,12 @@ declare function createRelayClient(options: {
9309
9309
  actor?: "member" | "staff" | undefined;
9310
9310
  } | {
9311
9311
  kind: "manual";
9312
- input: "quiz" | "photo" | "none";
9312
+ input: "none" | "quiz" | "photo";
9313
9313
  actor?: "member" | "staff" | undefined;
9314
9314
  };
9315
9315
  availability: {
9316
9316
  kind: "available";
9317
- input: "quiz" | "url" | "text" | "photo" | "none";
9317
+ input: "text" | "url" | "none" | "quiz" | "photo";
9318
9318
  } | {
9319
9319
  kind: "completed";
9320
9320
  } | {
@@ -9352,7 +9352,7 @@ declare function createRelayClient(options: {
9352
9352
  kind: "keyed";
9353
9353
  };
9354
9354
  completionCount: number;
9355
- visibility: "hidden" | "visible";
9355
+ visibility: "visible" | "hidden";
9356
9356
  missing: {
9357
9357
  quest: string;
9358
9358
  title: string;
@@ -9363,7 +9363,7 @@ declare function createRelayClient(options: {
9363
9363
  quest: string;
9364
9364
  member: string;
9365
9365
  evidence: string | null;
9366
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
9366
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9367
9367
  reason: string | null;
9368
9368
  retries: number;
9369
9369
  generation: number;
@@ -9397,22 +9397,22 @@ declare function createRelayClient(options: {
9397
9397
  })[] | null;
9398
9398
  createdAt: number;
9399
9399
  input?: {
9400
- kind: "quiz";
9401
- answers: {
9402
- [k: string]: string;
9403
- };
9404
- release?: string | undefined;
9405
- } | {
9406
9400
  kind: "text";
9407
9401
  value: string;
9408
9402
  } | {
9409
9403
  kind: "url";
9410
9404
  value: string;
9405
+ } | {
9406
+ kind: "quiz";
9407
+ answers: {
9408
+ [k: string]: string;
9409
+ };
9410
+ release?: string | undefined;
9411
9411
  } | undefined;
9412
9412
  } | null;
9413
9413
  release: string;
9414
- interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
9415
- lifecycle: "active" | "paused" | "archived";
9414
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9415
+ lifecycle: "paused" | "active" | "archived";
9416
9416
  rewards: ({
9417
9417
  kind: "points";
9418
9418
  label: string;
@@ -9473,7 +9473,7 @@ declare function createRelayClient(options: {
9473
9473
  quest: string;
9474
9474
  member: string;
9475
9475
  evidence: string | null;
9476
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
9476
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9477
9477
  reason: string | null;
9478
9478
  retries: number;
9479
9479
  generation: number;
@@ -9507,17 +9507,17 @@ declare function createRelayClient(options: {
9507
9507
  })[] | null;
9508
9508
  createdAt: number;
9509
9509
  input?: {
9510
- kind: "quiz";
9511
- answers: {
9512
- [k: string]: string;
9513
- };
9514
- release?: string | undefined;
9515
- } | {
9516
9510
  kind: "text";
9517
9511
  value: string;
9518
9512
  } | {
9519
9513
  kind: "url";
9520
9514
  value: string;
9515
+ } | {
9516
+ kind: "quiz";
9517
+ answers: {
9518
+ [k: string]: string;
9519
+ };
9520
+ release?: string | undefined;
9521
9521
  } | undefined;
9522
9522
  }>;
9523
9523
  experience: () => Promise<{
@@ -9558,7 +9558,7 @@ declare function createRelayClient(options: {
9558
9558
  start: number;
9559
9559
  end?: number | undefined;
9560
9560
  };
9561
- enrollment: "required" | "none";
9561
+ enrollment: "none" | "required";
9562
9562
  posts: "after-enrollment" | "since-start";
9563
9563
  historical: "staff" | "automatic" | "claim";
9564
9564
  } | undefined;
@@ -9605,12 +9605,12 @@ declare function createRelayClient(options: {
9605
9605
  actor?: "member" | "staff" | undefined;
9606
9606
  } | {
9607
9607
  kind: "manual";
9608
- input: "quiz" | "photo" | "none";
9608
+ input: "none" | "quiz" | "photo";
9609
9609
  actor?: "member" | "staff" | undefined;
9610
9610
  };
9611
9611
  availability: {
9612
9612
  kind: "available";
9613
- input: "quiz" | "url" | "text" | "photo" | "none";
9613
+ input: "text" | "url" | "none" | "quiz" | "photo";
9614
9614
  } | {
9615
9615
  kind: "completed";
9616
9616
  } | {
@@ -9648,7 +9648,7 @@ declare function createRelayClient(options: {
9648
9648
  kind: "keyed";
9649
9649
  };
9650
9650
  completionCount: number;
9651
- visibility: "hidden" | "visible";
9651
+ visibility: "visible" | "hidden";
9652
9652
  missing: {
9653
9653
  quest: string;
9654
9654
  title: string;
@@ -9659,7 +9659,7 @@ declare function createRelayClient(options: {
9659
9659
  quest: string;
9660
9660
  member: string;
9661
9661
  evidence: string | null;
9662
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
9662
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9663
9663
  reason: string | null;
9664
9664
  retries: number;
9665
9665
  generation: number;
@@ -9693,22 +9693,22 @@ declare function createRelayClient(options: {
9693
9693
  })[] | null;
9694
9694
  createdAt: number;
9695
9695
  input?: {
9696
- kind: "quiz";
9697
- answers: {
9698
- [k: string]: string;
9699
- };
9700
- release?: string | undefined;
9701
- } | {
9702
9696
  kind: "text";
9703
9697
  value: string;
9704
9698
  } | {
9705
9699
  kind: "url";
9706
9700
  value: string;
9701
+ } | {
9702
+ kind: "quiz";
9703
+ answers: {
9704
+ [k: string]: string;
9705
+ };
9706
+ release?: string | undefined;
9707
9707
  } | undefined;
9708
9708
  } | null;
9709
9709
  release: string;
9710
- interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
9711
- lifecycle: "active" | "paused" | "archived";
9710
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9711
+ lifecycle: "paused" | "active" | "archived";
9712
9712
  rewards: ({
9713
9713
  kind: "points";
9714
9714
  label: string;
@@ -9802,7 +9802,7 @@ declare function createRelayClient(options: {
9802
9802
  start: number;
9803
9803
  end?: number | undefined;
9804
9804
  };
9805
- enrollment: "required" | "none";
9805
+ enrollment: "none" | "required";
9806
9806
  posts: "after-enrollment" | "since-start";
9807
9807
  historical: "staff" | "automatic" | "claim";
9808
9808
  } | undefined;
@@ -9849,12 +9849,12 @@ declare function createRelayClient(options: {
9849
9849
  actor?: "member" | "staff" | undefined;
9850
9850
  } | {
9851
9851
  kind: "manual";
9852
- input: "quiz" | "photo" | "none";
9852
+ input: "none" | "quiz" | "photo";
9853
9853
  actor?: "member" | "staff" | undefined;
9854
9854
  };
9855
9855
  availability: {
9856
9856
  kind: "available";
9857
- input: "quiz" | "url" | "text" | "photo" | "none";
9857
+ input: "text" | "url" | "none" | "quiz" | "photo";
9858
9858
  } | {
9859
9859
  kind: "completed";
9860
9860
  } | {
@@ -9892,7 +9892,7 @@ declare function createRelayClient(options: {
9892
9892
  kind: "keyed";
9893
9893
  };
9894
9894
  completionCount: number;
9895
- visibility: "hidden" | "visible";
9895
+ visibility: "visible" | "hidden";
9896
9896
  missing: {
9897
9897
  quest: string;
9898
9898
  title: string;
@@ -9903,7 +9903,7 @@ declare function createRelayClient(options: {
9903
9903
  quest: string;
9904
9904
  member: string;
9905
9905
  evidence: string | null;
9906
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
9906
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9907
9907
  reason: string | null;
9908
9908
  retries: number;
9909
9909
  generation: number;
@@ -9937,22 +9937,22 @@ declare function createRelayClient(options: {
9937
9937
  })[] | null;
9938
9938
  createdAt: number;
9939
9939
  input?: {
9940
- kind: "quiz";
9941
- answers: {
9942
- [k: string]: string;
9943
- };
9944
- release?: string | undefined;
9945
- } | {
9946
9940
  kind: "text";
9947
9941
  value: string;
9948
9942
  } | {
9949
9943
  kind: "url";
9950
9944
  value: string;
9945
+ } | {
9946
+ kind: "quiz";
9947
+ answers: {
9948
+ [k: string]: string;
9949
+ };
9950
+ release?: string | undefined;
9951
9951
  } | undefined;
9952
9952
  } | null;
9953
9953
  release: string;
9954
- interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
9955
- lifecycle: "active" | "paused" | "archived";
9954
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9955
+ lifecycle: "paused" | "active" | "archived";
9956
9956
  rewards: ({
9957
9957
  kind: "points";
9958
9958
  label: string;
@@ -10049,7 +10049,7 @@ declare function createRelayClient(options: {
10049
10049
  start: number;
10050
10050
  end?: number | undefined;
10051
10051
  };
10052
- enrollment: "required" | "none";
10052
+ enrollment: "none" | "required";
10053
10053
  posts: "after-enrollment" | "since-start";
10054
10054
  historical: "staff" | "automatic" | "claim";
10055
10055
  } | undefined;
@@ -10096,12 +10096,12 @@ declare function createRelayClient(options: {
10096
10096
  actor?: "member" | "staff" | undefined;
10097
10097
  } | {
10098
10098
  kind: "manual";
10099
- input: "quiz" | "photo" | "none";
10099
+ input: "none" | "quiz" | "photo";
10100
10100
  actor?: "member" | "staff" | undefined;
10101
10101
  };
10102
10102
  availability: {
10103
10103
  kind: "available";
10104
- input: "quiz" | "url" | "text" | "photo" | "none";
10104
+ input: "text" | "url" | "none" | "quiz" | "photo";
10105
10105
  } | {
10106
10106
  kind: "completed";
10107
10107
  } | {
@@ -10139,7 +10139,7 @@ declare function createRelayClient(options: {
10139
10139
  kind: "keyed";
10140
10140
  };
10141
10141
  completionCount: number;
10142
- visibility: "hidden" | "visible";
10142
+ visibility: "visible" | "hidden";
10143
10143
  missing: {
10144
10144
  quest: string;
10145
10145
  title: string;
@@ -10150,7 +10150,7 @@ declare function createRelayClient(options: {
10150
10150
  quest: string;
10151
10151
  member: string;
10152
10152
  evidence: string | null;
10153
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
10153
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10154
10154
  reason: string | null;
10155
10155
  retries: number;
10156
10156
  generation: number;
@@ -10184,22 +10184,22 @@ declare function createRelayClient(options: {
10184
10184
  })[] | null;
10185
10185
  createdAt: number;
10186
10186
  input?: {
10187
- kind: "quiz";
10188
- answers: {
10189
- [k: string]: string;
10190
- };
10191
- release?: string | undefined;
10192
- } | {
10193
10187
  kind: "text";
10194
10188
  value: string;
10195
10189
  } | {
10196
10190
  kind: "url";
10197
10191
  value: string;
10192
+ } | {
10193
+ kind: "quiz";
10194
+ answers: {
10195
+ [k: string]: string;
10196
+ };
10197
+ release?: string | undefined;
10198
10198
  } | undefined;
10199
10199
  } | null;
10200
10200
  release: string;
10201
- interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
10202
- lifecycle: "active" | "paused" | "archived";
10201
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
10202
+ lifecycle: "paused" | "active" | "archived";
10203
10203
  rewards: ({
10204
10204
  kind: "points";
10205
10205
  label: string;
@@ -10518,7 +10518,7 @@ declare function createRelayClient(options: {
10518
10518
  quest: string;
10519
10519
  member: string;
10520
10520
  evidence: string | null;
10521
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
10521
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10522
10522
  reason: string | null;
10523
10523
  retries: number;
10524
10524
  generation: number;
@@ -10552,17 +10552,17 @@ declare function createRelayClient(options: {
10552
10552
  })[] | null;
10553
10553
  createdAt: number;
10554
10554
  input?: {
10555
- kind: "quiz";
10556
- answers: {
10557
- [k: string]: string;
10558
- };
10559
- release?: string | undefined;
10560
- } | {
10561
10555
  kind: "text";
10562
10556
  value: string;
10563
10557
  } | {
10564
10558
  kind: "url";
10565
10559
  value: string;
10560
+ } | {
10561
+ kind: "quiz";
10562
+ answers: {
10563
+ [k: string]: string;
10564
+ };
10565
+ release?: string | undefined;
10566
10566
  } | undefined;
10567
10567
  }>;
10568
10568
  progress: () => Promise<{
@@ -10603,7 +10603,7 @@ declare function createRelayClient(options: {
10603
10603
  start: number;
10604
10604
  end?: number | undefined;
10605
10605
  };
10606
- enrollment: "required" | "none";
10606
+ enrollment: "none" | "required";
10607
10607
  posts: "after-enrollment" | "since-start";
10608
10608
  historical: "staff" | "automatic" | "claim";
10609
10609
  } | undefined;
@@ -10650,12 +10650,12 @@ declare function createRelayClient(options: {
10650
10650
  actor?: "member" | "staff" | undefined;
10651
10651
  } | {
10652
10652
  kind: "manual";
10653
- input: "quiz" | "photo" | "none";
10653
+ input: "none" | "quiz" | "photo";
10654
10654
  actor?: "member" | "staff" | undefined;
10655
10655
  };
10656
10656
  availability: {
10657
10657
  kind: "available";
10658
- input: "quiz" | "url" | "text" | "photo" | "none";
10658
+ input: "text" | "url" | "none" | "quiz" | "photo";
10659
10659
  } | {
10660
10660
  kind: "completed";
10661
10661
  } | {
@@ -10693,7 +10693,7 @@ declare function createRelayClient(options: {
10693
10693
  kind: "keyed";
10694
10694
  };
10695
10695
  completionCount: number;
10696
- visibility: "hidden" | "visible";
10696
+ visibility: "visible" | "hidden";
10697
10697
  missing: {
10698
10698
  quest: string;
10699
10699
  title: string;
@@ -10704,7 +10704,7 @@ declare function createRelayClient(options: {
10704
10704
  quest: string;
10705
10705
  member: string;
10706
10706
  evidence: string | null;
10707
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
10707
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10708
10708
  reason: string | null;
10709
10709
  retries: number;
10710
10710
  generation: number;
@@ -10738,17 +10738,17 @@ declare function createRelayClient(options: {
10738
10738
  })[] | null;
10739
10739
  createdAt: number;
10740
10740
  input?: {
10741
- kind: "quiz";
10742
- answers: {
10743
- [k: string]: string;
10744
- };
10745
- release?: string | undefined;
10746
- } | {
10747
10741
  kind: "text";
10748
10742
  value: string;
10749
10743
  } | {
10750
10744
  kind: "url";
10751
10745
  value: string;
10746
+ } | {
10747
+ kind: "quiz";
10748
+ answers: {
10749
+ [k: string]: string;
10750
+ };
10751
+ release?: string | undefined;
10752
10752
  } | undefined;
10753
10753
  } | null;
10754
10754
  key?: string | undefined;
@@ -10887,7 +10887,7 @@ declare function createRelayClient(options: {
10887
10887
  quest: string;
10888
10888
  member: string;
10889
10889
  evidence: string | null;
10890
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
10890
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10891
10891
  reason: string | null;
10892
10892
  retries: number;
10893
10893
  generation: number;
@@ -10921,17 +10921,17 @@ declare function createRelayClient(options: {
10921
10921
  })[] | null;
10922
10922
  createdAt: number;
10923
10923
  input?: {
10924
- kind: "quiz";
10925
- answers: {
10926
- [k: string]: string;
10927
- };
10928
- release?: string | undefined;
10929
- } | {
10930
10924
  kind: "text";
10931
10925
  value: string;
10932
10926
  } | {
10933
10927
  kind: "url";
10934
10928
  value: string;
10929
+ } | {
10930
+ kind: "quiz";
10931
+ answers: {
10932
+ [k: string]: string;
10933
+ };
10934
+ release?: string | undefined;
10935
10935
  } | undefined;
10936
10936
  }>;
10937
10937
  upload: (file: File) => Promise<{
@@ -10955,7 +10955,7 @@ declare function createRelayClient(options: {
10955
10955
  code: string;
10956
10956
  definition: {
10957
10957
  quest: string;
10958
- runtimeVersion: 1 | 2;
10958
+ runtimeVersion: 2 | 1;
10959
10959
  title: string;
10960
10960
  presentation: {
10961
10961
  quiz?: {
@@ -11094,7 +11094,7 @@ declare function createRelayClient(options: {
11094
11094
  start: number;
11095
11095
  end?: number | undefined;
11096
11096
  };
11097
- enrollment: "required" | "none";
11097
+ enrollment: "none" | "required";
11098
11098
  posts: "after-enrollment" | "since-start";
11099
11099
  historical: "staff" | "automatic" | "claim";
11100
11100
  } | undefined;
@@ -11141,7 +11141,7 @@ declare function createRelayClient(options: {
11141
11141
  actor?: "member" | "staff" | undefined;
11142
11142
  } | {
11143
11143
  kind: "manual";
11144
- input: "quiz" | "photo" | "none";
11144
+ input: "none" | "quiz" | "photo";
11145
11145
  actor?: "member" | "staff" | undefined;
11146
11146
  };
11147
11147
  requires: {
@@ -11156,10 +11156,10 @@ declare function createRelayClient(options: {
11156
11156
  } | {
11157
11157
  kind: "keyed";
11158
11158
  };
11159
- visibility: "hidden" | "visible";
11159
+ visibility: "visible" | "hidden";
11160
11160
  budgets: {
11161
11161
  id: string;
11162
- scope: "member" | "project";
11162
+ scope: "project" | "member";
11163
11163
  period: "day" | "lifetime" | "week";
11164
11164
  limit: number;
11165
11165
  cost: number | {
@@ -11180,7 +11180,7 @@ declare function createRelayClient(options: {
11180
11180
  code: string;
11181
11181
  definition: {
11182
11182
  quest: string;
11183
- runtimeVersion: 1 | 2;
11183
+ runtimeVersion: 2 | 1;
11184
11184
  title: string;
11185
11185
  presentation: {
11186
11186
  quiz?: {
@@ -11319,7 +11319,7 @@ declare function createRelayClient(options: {
11319
11319
  start: number;
11320
11320
  end?: number | undefined;
11321
11321
  };
11322
- enrollment: "required" | "none";
11322
+ enrollment: "none" | "required";
11323
11323
  posts: "after-enrollment" | "since-start";
11324
11324
  historical: "staff" | "automatic" | "claim";
11325
11325
  } | undefined;
@@ -11366,7 +11366,7 @@ declare function createRelayClient(options: {
11366
11366
  actor?: "member" | "staff" | undefined;
11367
11367
  } | {
11368
11368
  kind: "manual";
11369
- input: "quiz" | "photo" | "none";
11369
+ input: "none" | "quiz" | "photo";
11370
11370
  actor?: "member" | "staff" | undefined;
11371
11371
  };
11372
11372
  requires: {
@@ -11381,10 +11381,10 @@ declare function createRelayClient(options: {
11381
11381
  } | {
11382
11382
  kind: "keyed";
11383
11383
  };
11384
- visibility: "hidden" | "visible";
11384
+ visibility: "visible" | "hidden";
11385
11385
  budgets: {
11386
11386
  id: string;
11387
- scope: "member" | "project";
11387
+ scope: "project" | "member";
11388
11388
  period: "day" | "lifetime" | "week";
11389
11389
  limit: number;
11390
11390
  cost: number | {
@@ -11404,7 +11404,7 @@ declare function createRelayClient(options: {
11404
11404
  snapshot: () => Promise<{
11405
11405
  releases: {
11406
11406
  quest: string;
11407
- runtimeVersion: 1 | 2;
11407
+ runtimeVersion: 2 | 1;
11408
11408
  title: string;
11409
11409
  presentation: {
11410
11410
  quiz?: {
@@ -11543,7 +11543,7 @@ declare function createRelayClient(options: {
11543
11543
  start: number;
11544
11544
  end?: number | undefined;
11545
11545
  };
11546
- enrollment: "required" | "none";
11546
+ enrollment: "none" | "required";
11547
11547
  posts: "after-enrollment" | "since-start";
11548
11548
  historical: "staff" | "automatic" | "claim";
11549
11549
  } | undefined;
@@ -11590,7 +11590,7 @@ declare function createRelayClient(options: {
11590
11590
  actor?: "member" | "staff" | undefined;
11591
11591
  } | {
11592
11592
  kind: "manual";
11593
- input: "quiz" | "photo" | "none";
11593
+ input: "none" | "quiz" | "photo";
11594
11594
  actor?: "member" | "staff" | undefined;
11595
11595
  };
11596
11596
  requires: {
@@ -11605,10 +11605,10 @@ declare function createRelayClient(options: {
11605
11605
  } | {
11606
11606
  kind: "keyed";
11607
11607
  };
11608
- visibility: "hidden" | "visible";
11608
+ visibility: "visible" | "hidden";
11609
11609
  budgets: {
11610
11610
  id: string;
11611
- scope: "member" | "project";
11611
+ scope: "project" | "member";
11612
11612
  period: "day" | "lifetime" | "week";
11613
11613
  limit: number;
11614
11614
  cost: number | {
@@ -11620,7 +11620,7 @@ declare function createRelayClient(options: {
11620
11620
  id: string;
11621
11621
  createdAt: number;
11622
11622
  legacy: boolean;
11623
- lifecycle: "active" | "paused" | "archived";
11623
+ lifecycle: "paused" | "active" | "archived";
11624
11624
  performance?: {
11625
11625
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11626
11626
  maxAgeMs: number;
@@ -11743,7 +11743,7 @@ declare function createRelayClient(options: {
11743
11743
  quest: string;
11744
11744
  member: string;
11745
11745
  evidence: string | null;
11746
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
11746
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
11747
11747
  reason: string | null;
11748
11748
  retries: number;
11749
11749
  generation: number;
@@ -11777,17 +11777,17 @@ declare function createRelayClient(options: {
11777
11777
  })[] | null;
11778
11778
  createdAt: number;
11779
11779
  input?: {
11780
- kind: "quiz";
11781
- answers: {
11782
- [k: string]: string;
11783
- };
11784
- release?: string | undefined;
11785
- } | {
11786
11780
  kind: "text";
11787
11781
  value: string;
11788
11782
  } | {
11789
11783
  kind: "url";
11790
11784
  value: string;
11785
+ } | {
11786
+ kind: "quiz";
11787
+ answers: {
11788
+ [k: string]: string;
11789
+ };
11790
+ release?: string | undefined;
11791
11791
  } | undefined;
11792
11792
  }[];
11793
11793
  balances: {
@@ -11809,7 +11809,7 @@ declare function createRelayClient(options: {
11809
11809
  /** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
11810
11810
  publish: (release: ReleaseInput) => Promise<{
11811
11811
  quest: string;
11812
- runtimeVersion: 1 | 2;
11812
+ runtimeVersion: 2 | 1;
11813
11813
  title: string;
11814
11814
  presentation: {
11815
11815
  quiz?: {
@@ -11948,7 +11948,7 @@ declare function createRelayClient(options: {
11948
11948
  start: number;
11949
11949
  end?: number | undefined;
11950
11950
  };
11951
- enrollment: "required" | "none";
11951
+ enrollment: "none" | "required";
11952
11952
  posts: "after-enrollment" | "since-start";
11953
11953
  historical: "staff" | "automatic" | "claim";
11954
11954
  } | undefined;
@@ -11995,7 +11995,7 @@ declare function createRelayClient(options: {
11995
11995
  actor?: "member" | "staff" | undefined;
11996
11996
  } | {
11997
11997
  kind: "manual";
11998
- input: "quiz" | "photo" | "none";
11998
+ input: "none" | "quiz" | "photo";
11999
11999
  actor?: "member" | "staff" | undefined;
12000
12000
  };
12001
12001
  requires: {
@@ -12010,10 +12010,10 @@ declare function createRelayClient(options: {
12010
12010
  } | {
12011
12011
  kind: "keyed";
12012
12012
  };
12013
- visibility: "hidden" | "visible";
12013
+ visibility: "visible" | "hidden";
12014
12014
  budgets: {
12015
12015
  id: string;
12016
- scope: "member" | "project";
12016
+ scope: "project" | "member";
12017
12017
  period: "day" | "lifetime" | "week";
12018
12018
  limit: number;
12019
12019
  cost: number | {
@@ -12025,7 +12025,7 @@ declare function createRelayClient(options: {
12025
12025
  id: string;
12026
12026
  createdAt: number;
12027
12027
  legacy: boolean;
12028
- lifecycle: "active" | "paused" | "archived";
12028
+ lifecycle: "paused" | "active" | "archived";
12029
12029
  performance?: {
12030
12030
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12031
12031
  maxAgeMs: number;
@@ -12062,7 +12062,7 @@ declare function createRelayClient(options: {
12062
12062
  /** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
12063
12063
  publishBatch: (releases: ReleaseInput[]) => Promise<{
12064
12064
  quest: string;
12065
- runtimeVersion: 1 | 2;
12065
+ runtimeVersion: 2 | 1;
12066
12066
  title: string;
12067
12067
  presentation: {
12068
12068
  quiz?: {
@@ -12201,7 +12201,7 @@ declare function createRelayClient(options: {
12201
12201
  start: number;
12202
12202
  end?: number | undefined;
12203
12203
  };
12204
- enrollment: "required" | "none";
12204
+ enrollment: "none" | "required";
12205
12205
  posts: "after-enrollment" | "since-start";
12206
12206
  historical: "staff" | "automatic" | "claim";
12207
12207
  } | undefined;
@@ -12248,7 +12248,7 @@ declare function createRelayClient(options: {
12248
12248
  actor?: "member" | "staff" | undefined;
12249
12249
  } | {
12250
12250
  kind: "manual";
12251
- input: "quiz" | "photo" | "none";
12251
+ input: "none" | "quiz" | "photo";
12252
12252
  actor?: "member" | "staff" | undefined;
12253
12253
  };
12254
12254
  requires: {
@@ -12263,10 +12263,10 @@ declare function createRelayClient(options: {
12263
12263
  } | {
12264
12264
  kind: "keyed";
12265
12265
  };
12266
- visibility: "hidden" | "visible";
12266
+ visibility: "visible" | "hidden";
12267
12267
  budgets: {
12268
12268
  id: string;
12269
- scope: "member" | "project";
12269
+ scope: "project" | "member";
12270
12270
  period: "day" | "lifetime" | "week";
12271
12271
  limit: number;
12272
12272
  cost: number | {
@@ -12278,7 +12278,7 @@ declare function createRelayClient(options: {
12278
12278
  id: string;
12279
12279
  createdAt: number;
12280
12280
  legacy: boolean;
12281
- lifecycle: "active" | "paused" | "archived";
12281
+ lifecycle: "paused" | "active" | "archived";
12282
12282
  performance?: {
12283
12283
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12284
12284
  maxAgeMs: number;
@@ -12350,7 +12350,7 @@ declare function createRelayClient(options: {
12350
12350
  start: number;
12351
12351
  end?: number | undefined;
12352
12352
  };
12353
- enrollment: "required" | "none";
12353
+ enrollment: "none" | "required";
12354
12354
  posts: "after-enrollment" | "since-start";
12355
12355
  historical: "staff" | "automatic" | "claim";
12356
12356
  } | undefined;
@@ -12397,12 +12397,12 @@ declare function createRelayClient(options: {
12397
12397
  actor?: "member" | "staff" | undefined;
12398
12398
  } | {
12399
12399
  kind: "manual";
12400
- input: "quiz" | "photo" | "none";
12400
+ input: "none" | "quiz" | "photo";
12401
12401
  actor?: "member" | "staff" | undefined;
12402
12402
  };
12403
12403
  availability: {
12404
12404
  kind: "available";
12405
- input: "quiz" | "url" | "text" | "photo" | "none";
12405
+ input: "text" | "url" | "none" | "quiz" | "photo";
12406
12406
  } | {
12407
12407
  kind: "completed";
12408
12408
  } | {
@@ -12440,7 +12440,7 @@ declare function createRelayClient(options: {
12440
12440
  kind: "keyed";
12441
12441
  };
12442
12442
  completionCount: number;
12443
- visibility: "hidden" | "visible";
12443
+ visibility: "visible" | "hidden";
12444
12444
  missing: {
12445
12445
  quest: string;
12446
12446
  title: string;
@@ -12451,7 +12451,7 @@ declare function createRelayClient(options: {
12451
12451
  quest: string;
12452
12452
  member: string;
12453
12453
  evidence: string | null;
12454
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
12454
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12455
12455
  reason: string | null;
12456
12456
  retries: number;
12457
12457
  generation: number;
@@ -12485,17 +12485,17 @@ declare function createRelayClient(options: {
12485
12485
  })[] | null;
12486
12486
  createdAt: number;
12487
12487
  input?: {
12488
- kind: "quiz";
12489
- answers: {
12490
- [k: string]: string;
12491
- };
12492
- release?: string | undefined;
12493
- } | {
12494
12488
  kind: "text";
12495
12489
  value: string;
12496
12490
  } | {
12497
12491
  kind: "url";
12498
12492
  value: string;
12493
+ } | {
12494
+ kind: "quiz";
12495
+ answers: {
12496
+ [k: string]: string;
12497
+ };
12498
+ release?: string | undefined;
12499
12499
  } | undefined;
12500
12500
  } | null;
12501
12501
  key?: string | undefined;
@@ -12879,14 +12879,14 @@ declare function createRelayClient(options: {
12879
12879
  content: {
12880
12880
  performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
12881
12881
  current: {
12882
- state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "content-pending" | "content-unqualified" | "waiting";
12882
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "content-pending" | "content-unqualified" | "waiting";
12883
12883
  reason: string | null;
12884
12884
  contentAttempt: string;
12885
12885
  attempt: string | null;
12886
12886
  reward: {
12887
12887
  attempt: string | null;
12888
12888
  completion: string | null;
12889
- state: "awarded" | "excluded" | "unresolved";
12889
+ state: "excluded" | "unresolved" | "awarded";
12890
12890
  };
12891
12891
  };
12892
12892
  items: {
@@ -12895,7 +12895,7 @@ declare function createRelayClient(options: {
12895
12895
  observation: string;
12896
12896
  observedAt: number;
12897
12897
  metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
12898
- state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified";
12898
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed";
12899
12899
  reason: string | null;
12900
12900
  }[];
12901
12901
  next: number | null;
@@ -12910,12 +12910,12 @@ declare function createRelayClient(options: {
12910
12910
  revision: string;
12911
12911
  observation: string;
12912
12912
  current: boolean;
12913
- state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "stale" | "blocked" | "unavailable";
12913
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "stale" | "blocked" | "unavailable";
12914
12914
  reason: string | null;
12915
12915
  reward: {
12916
12916
  attempt: string | null;
12917
12917
  completion: string | null;
12918
- state: "awarded" | "excluded" | "unresolved";
12918
+ state: "excluded" | "unresolved" | "awarded";
12919
12919
  };
12920
12920
  }[];
12921
12921
  next: number | null;
@@ -12925,7 +12925,7 @@ declare function createRelayClient(options: {
12925
12925
  quest: string;
12926
12926
  content: string;
12927
12927
  release: string;
12928
- state: "pending" | "admitted" | "excluded";
12928
+ state: "admitted" | "pending" | "excluded";
12929
12929
  reason: string | null;
12930
12930
  attempt: string | null;
12931
12931
  }[];
@@ -12940,7 +12940,7 @@ declare function createRelayClient(options: {
12940
12940
  quest: string;
12941
12941
  content: string;
12942
12942
  release: string;
12943
- state: "pending" | "admitted" | "excluded";
12943
+ state: "admitted" | "pending" | "excluded";
12944
12944
  reason: string | null;
12945
12945
  attempt: string | null;
12946
12946
  }>;
@@ -12951,7 +12951,7 @@ declare function createRelayClient(options: {
12951
12951
  quest: string;
12952
12952
  member: string;
12953
12953
  evidence: string | null;
12954
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
12954
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12955
12955
  reason: string | null;
12956
12956
  retries: number;
12957
12957
  generation: number;
@@ -12985,17 +12985,17 @@ declare function createRelayClient(options: {
12985
12985
  })[] | null;
12986
12986
  createdAt: number;
12987
12987
  input?: {
12988
- kind: "quiz";
12989
- answers: {
12990
- [k: string]: string;
12991
- };
12992
- release?: string | undefined;
12993
- } | {
12994
12988
  kind: "text";
12995
12989
  value: string;
12996
12990
  } | {
12997
12991
  kind: "url";
12998
12992
  value: string;
12993
+ } | {
12994
+ kind: "quiz";
12995
+ answers: {
12996
+ [k: string]: string;
12997
+ };
12998
+ release?: string | undefined;
12999
12999
  } | undefined;
13000
13000
  }>;
13001
13001
  retry: (id: string) => Promise<{
@@ -13004,7 +13004,7 @@ declare function createRelayClient(options: {
13004
13004
  quest: string;
13005
13005
  member: string;
13006
13006
  evidence: string | null;
13007
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
13007
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
13008
13008
  reason: string | null;
13009
13009
  retries: number;
13010
13010
  generation: number;
@@ -13038,17 +13038,17 @@ declare function createRelayClient(options: {
13038
13038
  })[] | null;
13039
13039
  createdAt: number;
13040
13040
  input?: {
13041
- kind: "quiz";
13042
- answers: {
13043
- [k: string]: string;
13044
- };
13045
- release?: string | undefined;
13046
- } | {
13047
13041
  kind: "text";
13048
13042
  value: string;
13049
13043
  } | {
13050
13044
  kind: "url";
13051
13045
  value: string;
13046
+ } | {
13047
+ kind: "quiz";
13048
+ answers: {
13049
+ [k: string]: string;
13050
+ };
13051
+ release?: string | undefined;
13052
13052
  } | undefined;
13053
13053
  }>;
13054
13054
  /** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
@@ -13063,7 +13063,7 @@ declare function createRelayClient(options: {
13063
13063
  quest: string;
13064
13064
  member: string;
13065
13065
  evidence: string | null;
13066
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
13066
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
13067
13067
  reason: string | null;
13068
13068
  retries: number;
13069
13069
  generation: number;
@@ -13097,17 +13097,17 @@ declare function createRelayClient(options: {
13097
13097
  })[] | null;
13098
13098
  createdAt: number;
13099
13099
  input?: {
13100
- kind: "quiz";
13101
- answers: {
13102
- [k: string]: string;
13103
- };
13104
- release?: string | undefined;
13105
- } | {
13106
13100
  kind: "text";
13107
13101
  value: string;
13108
13102
  } | {
13109
13103
  kind: "url";
13110
13104
  value: string;
13105
+ } | {
13106
+ kind: "quiz";
13107
+ answers: {
13108
+ [k: string]: string;
13109
+ };
13110
+ release?: string | undefined;
13111
13111
  } | undefined;
13112
13112
  }>;
13113
13113
  };