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

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-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';
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-CZDukyb3.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-CZDukyb3.js';
3
3
  import { z } from 'zod';
4
4
  import { errorSchema, QuizEvidence, Attempt, SubmitInput, MemberProgress, questDescriptionSchema, PublishedRelease, ReleaseInput, beginHandoverSchema, contentPerformanceQuerySchema } from './schema.js';
5
5
  export { ContentPerformanceSnapshot, Decision, Entitlement, MemberPage, PhotoResult, PickupAvailability, QuestAvailability, QuestDescription, QuestPresentation, QuestProfile, QuestSettingsInput, ReviewPage, Reward, Snapshot, SubmissionEvidence, TextResult, TextReviewInput, TieredRewardDefinition, TieredRewardReference, artifactSchema, attemptSchema, batchReleaseSchema, completionRecordSchema, configurePickupSchema, confirmHandoverSchema, contentPerformancePageSchema, contentPerformanceSnapshotSchema, createStockItemSchema, decisionSchema, entitlementSchema, eventSchema, evidenceSchema, identifier, integrationRewardSchema, mediaUrlSchema, memberListSchema, memberPageSchema, memberProgressSchema, photoResultSchema, pickupAllocationSchema, pickupAvailabilitySchema, pickupCatalogSchema, pickupPolicySchema, pickupSelectionSchema, pointsRewardSchema, prerequisiteSchema, publishedReleaseSchema, questAvailabilitySchema, questPresentationSchema, questProfileSchema, questSettingsInputSchema, quizAnswersSchema, quizEvidenceSchema, releaseSchema, reservationSchema, reviewItemSchema, reviewListSchema, reviewModeSchema, reviewPageSchema, rewardBundleSchema, rewardKey, rewardSchema, snapshotSchema, staffDecisionSchema, stockItemSchema, stockSchema, storedReviewModeSchema, submissionEvidenceSchema, submitSchema, templateSchema, textResultSchema, textReviewInputSchema, tierRewardSchema, tieredRewardDefinitionSchema, tieredRewardReferenceSchema, triggerSchema } from './schema.js';
@@ -210,12 +210,12 @@ type ProgressObserver = {
210
210
 
211
211
  declare const interactionSchema: z.ZodEnum<{
212
212
  staff: "staff";
213
+ quiz: "quiz";
213
214
  text: "text";
214
215
  url: "url";
216
+ photo: "photo";
215
217
  automatic: "automatic";
216
218
  claim: "claim";
217
- quiz: "quiz";
218
- photo: "photo";
219
219
  }>;
220
220
  type QuestInteraction = z.infer<typeof interactionSchema>;
221
221
  declare function questInteraction(trigger: z.infer<typeof questDescriptionSchema>["trigger"]): QuestInteraction;
@@ -384,9 +384,9 @@ declare const questTypeVersionSchema: z.ZodObject<{
384
384
  }, z.core.$strict>, z.ZodObject<{
385
385
  kind: z.ZodLiteral<"manual">;
386
386
  input: z.ZodEnum<{
387
- none: "none";
388
387
  quiz: "quiz";
389
388
  photo: "photo";
389
+ none: "none";
390
390
  }>;
391
391
  actor: z.ZodOptional<z.ZodEnum<{
392
392
  member: "member";
@@ -405,8 +405,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
405
405
  end: z.ZodOptional<z.ZodNumber>;
406
406
  }, z.core.$strict>;
407
407
  enrollment: z.ZodDefault<z.ZodEnum<{
408
- none: "none";
409
408
  required: "required";
409
+ none: "none";
410
410
  }>>;
411
411
  posts: z.ZodDefault<z.ZodEnum<{
412
412
  "after-enrollment": "after-enrollment";
@@ -488,8 +488,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
488
488
  }>;
489
489
  period: z.ZodEnum<{
490
490
  day: "day";
491
- lifetime: "lifetime";
492
491
  week: "week";
492
+ lifetime: "lifetime";
493
493
  }>;
494
494
  limit: z.ZodNumber;
495
495
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -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
- }, "id" | "key"> & {
522
+ }, "key" | "id"> & {
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
- paused: "paused";
551
550
  active: "active";
551
+ paused: "paused";
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
- paused: "paused";
572
571
  active: "active";
572
+ paused: "paused";
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
- paused: "paused";
605
604
  active: "active";
605
+ paused: "paused";
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
- paused: "paused";
639
638
  active: "active";
639
+ paused: "paused";
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";
822
821
  quiz: "quiz";
823
822
  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
- none: "none";
843
842
  required: "required";
843
+ none: "none";
844
844
  }>>;
845
845
  posts: z.ZodDefault<z.ZodEnum<{
846
846
  "after-enrollment": "after-enrollment";
@@ -922,8 +922,8 @@ declare const questCatalogSchema: z.ZodObject<{
922
922
  }>;
923
923
  period: z.ZodEnum<{
924
924
  day: "day";
925
- lifetime: "lifetime";
926
925
  week: "week";
926
+ lifetime: "lifetime";
927
927
  }>;
928
928
  limit: z.ZodNumber;
929
929
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -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
- paused: "paused";
965
964
  active: "active";
965
+ paused: "paused";
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
- paused: "paused";
990
989
  active: "active";
990
+ paused: "paused";
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
- paused: "paused";
1024
1023
  active: "active";
1024
+ paused: "paused";
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";
1200
1199
  quiz: "quiz";
1201
1200
  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
- none: "none";
1221
1220
  required: "required";
1221
+ none: "none";
1222
1222
  }>>;
1223
1223
  posts: z.ZodDefault<z.ZodEnum<{
1224
1224
  "after-enrollment": "after-enrollment";
@@ -1300,8 +1300,8 @@ declare const questCatalogSchema: z.ZodObject<{
1300
1300
  }>;
1301
1301
  period: z.ZodEnum<{
1302
1302
  day: "day";
1303
- lifetime: "lifetime";
1304
1303
  week: "week";
1304
+ lifetime: "lifetime";
1305
1305
  }>;
1306
1306
  limit: z.ZodNumber;
1307
1307
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -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
- paused: "paused";
1328
1327
  active: "active";
1328
+ paused: "paused";
1329
1329
  archived: "archived";
1330
1330
  }>>;
1331
1331
  configuration: z.ZodOptional<z.ZodObject<{
@@ -1430,12 +1430,12 @@ declare const questCatalogSchema: z.ZodObject<{
1430
1430
  kind: "resource";
1431
1431
  default: string;
1432
1432
  source: {
1433
+ provider: "domino";
1434
+ resource: "point-ledger";
1435
+ } | {
1433
1436
  provider: "discord";
1434
1437
  resource: "channel";
1435
1438
  types: ("text" | "announcement")[];
1436
- } | {
1437
- provider: "domino";
1438
- resource: "point-ledger";
1439
1439
  } | {
1440
1440
  provider: "discord";
1441
1441
  resource: "role";
@@ -1532,7 +1532,7 @@ declare const questCatalogSchema: z.ZodObject<{
1532
1532
  start: number;
1533
1533
  end?: number | undefined;
1534
1534
  };
1535
- enrollment: "none" | "required";
1535
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
1582
+ input: "quiz" | "photo" | "none";
1583
1583
  actor?: "member" | "staff" | undefined;
1584
1584
  };
1585
1585
  requires: {
@@ -1598,7 +1598,7 @@ declare const questCatalogSchema: z.ZodObject<{
1598
1598
  budgets: {
1599
1599
  id: string;
1600
1600
  scope: "project" | "member";
1601
- period: "day" | "lifetime" | "week";
1601
+ period: "day" | "week" | "lifetime";
1602
1602
  limit: number;
1603
1603
  cost: number | {
1604
1604
  balance: string;
@@ -1609,7 +1609,7 @@ declare const questCatalogSchema: z.ZodObject<{
1609
1609
  id: string;
1610
1610
  createdAt: number;
1611
1611
  legacy: boolean;
1612
- lifecycle: "paused" | "active" | "archived";
1612
+ lifecycle: "active" | "paused" | "archived";
1613
1613
  performance?: {
1614
1614
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1615
1615
  maxAgeMs: number;
@@ -1681,12 +1681,12 @@ declare const questCatalogSchema: z.ZodObject<{
1681
1681
  }>>]>>>;
1682
1682
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1683
1683
  staff: "staff";
1684
+ quiz: "quiz";
1684
1685
  text: "text";
1685
1686
  url: "url";
1687
+ photo: "photo";
1686
1688
  automatic: "automatic";
1687
1689
  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
- }, "id" | "key"> & {
1708
+ }, "key" | "id"> & {
1709
1709
  key: string;
1710
1710
  }, {
1711
1711
  title: string;
@@ -1714,12 +1714,12 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1714
1714
  }>>>>;
1715
1715
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1716
1716
  staff: "staff";
1717
+ quiz: "quiz";
1717
1718
  text: "text";
1718
1719
  url: "url";
1720
+ photo: "photo";
1719
1721
  automatic: "automatic";
1720
1722
  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";
1893
1892
  quiz: "quiz";
1894
1893
  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
- none: "none";
1914
1913
  required: "required";
1914
+ none: "none";
1915
1915
  }>>;
1916
1916
  posts: z.ZodDefault<z.ZodEnum<{
1917
1917
  "after-enrollment": "after-enrollment";
@@ -1993,8 +1993,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1993
1993
  }>;
1994
1994
  period: z.ZodEnum<{
1995
1995
  day: "day";
1996
- lifetime: "lifetime";
1997
1996
  week: "week";
1997
+ lifetime: "lifetime";
1998
1998
  }>;
1999
1999
  limit: z.ZodNumber;
2000
2000
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -2018,12 +2018,12 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2018
2018
  }, z.core.$strict>>;
2019
2019
  supportedInteractions: z.ZodArray<z.ZodEnum<{
2020
2020
  staff: "staff";
2021
+ quiz: "quiz";
2021
2022
  text: "text";
2022
2023
  url: "url";
2024
+ photo: "photo";
2023
2025
  automatic: "automatic";
2024
2026
  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
- paused: "paused";
2051
2050
  active: "active";
2051
+ paused: "paused";
2052
2052
  archived: "archived";
2053
2053
  }>;
2054
2054
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -2116,10 +2116,10 @@ declare const questViewSchema: z.ZodObject<{
2116
2116
  }, z.core.$strict>>;
2117
2117
  }, z.core.$strict>>;
2118
2118
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2119
- x: "x";
2120
2119
  discord: "discord";
2121
2120
  google: "google";
2122
2121
  apple: "apple";
2122
+ x: "x";
2123
2123
  }>>>;
2124
2124
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2125
2125
  kind: z.ZodLiteral<"manual">;
@@ -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";
2151
2150
  quiz: "quiz";
2152
2151
  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
- none: "none";
2172
2171
  required: "required";
2172
+ none: "none";
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";
2219
2220
  text: "text";
2220
2221
  url: "url";
2221
- none: "none";
2222
- quiz: "quiz";
2223
2222
  photo: "photo";
2223
+ none: "none";
2224
2224
  }>;
2225
2225
  }, z.core.$strict>, z.ZodObject<{
2226
2226
  kind: z.ZodLiteral<"completed">;
@@ -2317,13 +2317,13 @@ declare const questViewSchema: z.ZodObject<{
2317
2317
  value: z.ZodString;
2318
2318
  }, z.core.$strict>]>>;
2319
2319
  status: z.ZodEnum<{
2320
- "needs-review": "needs-review";
2321
- failed: "failed";
2322
2320
  queued: "queued";
2323
2321
  evaluating: "evaluating";
2324
2322
  accepted: "accepted";
2325
2323
  progressed: "progressed";
2326
2324
  rejected: "rejected";
2325
+ "needs-review": "needs-review";
2326
+ failed: "failed";
2327
2327
  }>;
2328
2328
  reason: z.ZodNullable<z.ZodString>;
2329
2329
  retries: z.ZodNumber;
@@ -2361,16 +2361,16 @@ declare const questViewSchema: z.ZodObject<{
2361
2361
  release: z.ZodString;
2362
2362
  interaction: z.ZodEnum<{
2363
2363
  staff: "staff";
2364
+ quiz: "quiz";
2364
2365
  text: "text";
2365
2366
  url: "url";
2367
+ photo: "photo";
2366
2368
  automatic: "automatic";
2367
2369
  claim: "claim";
2368
- quiz: "quiz";
2369
- photo: "photo";
2370
2370
  }>;
2371
2371
  lifecycle: z.ZodEnum<{
2372
- paused: "paused";
2373
2372
  active: "active";
2373
+ paused: "paused";
2374
2374
  archived: "archived";
2375
2375
  }>;
2376
2376
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2425,10 +2425,10 @@ declare const collectionViewSchema: z.ZodObject<{
2425
2425
  }, z.core.$strict>>;
2426
2426
  }, z.core.$strict>>;
2427
2427
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2428
- x: "x";
2429
2428
  discord: "discord";
2430
2429
  google: "google";
2431
2430
  apple: "apple";
2431
+ x: "x";
2432
2432
  }>>>;
2433
2433
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2434
2434
  kind: z.ZodLiteral<"manual">;
@@ -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";
2460
2459
  quiz: "quiz";
2461
2460
  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
- none: "none";
2481
2480
  required: "required";
2481
+ none: "none";
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";
2528
2529
  text: "text";
2529
2530
  url: "url";
2530
- none: "none";
2531
- quiz: "quiz";
2532
2531
  photo: "photo";
2532
+ none: "none";
2533
2533
  }>;
2534
2534
  }, z.core.$strict>, z.ZodObject<{
2535
2535
  kind: z.ZodLiteral<"completed">;
@@ -2626,13 +2626,13 @@ declare const collectionViewSchema: z.ZodObject<{
2626
2626
  value: z.ZodString;
2627
2627
  }, z.core.$strict>]>>;
2628
2628
  status: z.ZodEnum<{
2629
- "needs-review": "needs-review";
2630
- failed: "failed";
2631
2629
  queued: "queued";
2632
2630
  evaluating: "evaluating";
2633
2631
  accepted: "accepted";
2634
2632
  progressed: "progressed";
2635
2633
  rejected: "rejected";
2634
+ "needs-review": "needs-review";
2635
+ failed: "failed";
2636
2636
  }>;
2637
2637
  reason: z.ZodNullable<z.ZodString>;
2638
2638
  retries: z.ZodNumber;
@@ -2670,16 +2670,16 @@ declare const collectionViewSchema: z.ZodObject<{
2670
2670
  release: z.ZodString;
2671
2671
  interaction: z.ZodEnum<{
2672
2672
  staff: "staff";
2673
+ quiz: "quiz";
2673
2674
  text: "text";
2674
2675
  url: "url";
2676
+ photo: "photo";
2675
2677
  automatic: "automatic";
2676
2678
  claim: "claim";
2677
- quiz: "quiz";
2678
- photo: "photo";
2679
2679
  }>;
2680
2680
  lifecycle: z.ZodEnum<{
2681
- paused: "paused";
2682
2681
  active: "active";
2682
+ paused: "paused";
2683
2683
  archived: "archived";
2684
2684
  }>;
2685
2685
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2733,10 +2733,10 @@ declare const questExperienceSchema: z.ZodObject<{
2733
2733
  }, z.core.$strict>>;
2734
2734
  }, z.core.$strict>>;
2735
2735
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2736
- x: "x";
2737
2736
  discord: "discord";
2738
2737
  google: "google";
2739
2738
  apple: "apple";
2739
+ x: "x";
2740
2740
  }>>>;
2741
2741
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2742
2742
  kind: z.ZodLiteral<"manual">;
@@ -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";
2768
2767
  quiz: "quiz";
2769
2768
  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
- none: "none";
2789
2788
  required: "required";
2789
+ none: "none";
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";
2836
2837
  text: "text";
2837
2838
  url: "url";
2838
- none: "none";
2839
- quiz: "quiz";
2840
2839
  photo: "photo";
2840
+ none: "none";
2841
2841
  }>;
2842
2842
  }, z.core.$strict>, z.ZodObject<{
2843
2843
  kind: z.ZodLiteral<"completed">;
@@ -2934,13 +2934,13 @@ declare const questExperienceSchema: z.ZodObject<{
2934
2934
  value: z.ZodString;
2935
2935
  }, z.core.$strict>]>>;
2936
2936
  status: z.ZodEnum<{
2937
- "needs-review": "needs-review";
2938
- failed: "failed";
2939
2937
  queued: "queued";
2940
2938
  evaluating: "evaluating";
2941
2939
  accepted: "accepted";
2942
2940
  progressed: "progressed";
2943
2941
  rejected: "rejected";
2942
+ "needs-review": "needs-review";
2943
+ failed: "failed";
2944
2944
  }>;
2945
2945
  reason: z.ZodNullable<z.ZodString>;
2946
2946
  retries: z.ZodNumber;
@@ -2978,16 +2978,16 @@ declare const questExperienceSchema: z.ZodObject<{
2978
2978
  release: z.ZodString;
2979
2979
  interaction: z.ZodEnum<{
2980
2980
  staff: "staff";
2981
+ quiz: "quiz";
2981
2982
  text: "text";
2982
2983
  url: "url";
2984
+ photo: "photo";
2983
2985
  automatic: "automatic";
2984
2986
  claim: "claim";
2985
- quiz: "quiz";
2986
- photo: "photo";
2987
2987
  }>;
2988
2988
  lifecycle: z.ZodEnum<{
2989
- paused: "paused";
2990
2989
  active: "active";
2990
+ paused: "paused";
2991
2991
  archived: "archived";
2992
2992
  }>;
2993
2993
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3042,10 +3042,10 @@ declare const questExperienceSchema: z.ZodObject<{
3042
3042
  }, z.core.$strict>>;
3043
3043
  }, z.core.$strict>>;
3044
3044
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
3045
- x: "x";
3046
3045
  discord: "discord";
3047
3046
  google: "google";
3048
3047
  apple: "apple";
3048
+ x: "x";
3049
3049
  }>>>;
3050
3050
  trigger: z.ZodUnion<readonly [z.ZodObject<{
3051
3051
  kind: z.ZodLiteral<"manual">;
@@ -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";
3077
3076
  quiz: "quiz";
3078
3077
  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
- none: "none";
3098
3097
  required: "required";
3098
+ none: "none";
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";
3145
3146
  text: "text";
3146
3147
  url: "url";
3147
- none: "none";
3148
- quiz: "quiz";
3149
3148
  photo: "photo";
3149
+ none: "none";
3150
3150
  }>;
3151
3151
  }, z.core.$strict>, z.ZodObject<{
3152
3152
  kind: z.ZodLiteral<"completed">;
@@ -3243,13 +3243,13 @@ declare const questExperienceSchema: z.ZodObject<{
3243
3243
  value: z.ZodString;
3244
3244
  }, z.core.$strict>]>>;
3245
3245
  status: z.ZodEnum<{
3246
- "needs-review": "needs-review";
3247
- failed: "failed";
3248
3246
  queued: "queued";
3249
3247
  evaluating: "evaluating";
3250
3248
  accepted: "accepted";
3251
3249
  progressed: "progressed";
3252
3250
  rejected: "rejected";
3251
+ "needs-review": "needs-review";
3252
+ failed: "failed";
3253
3253
  }>;
3254
3254
  reason: z.ZodNullable<z.ZodString>;
3255
3255
  retries: z.ZodNumber;
@@ -3287,16 +3287,16 @@ declare const questExperienceSchema: z.ZodObject<{
3287
3287
  release: z.ZodString;
3288
3288
  interaction: z.ZodEnum<{
3289
3289
  staff: "staff";
3290
+ quiz: "quiz";
3290
3291
  text: "text";
3291
3292
  url: "url";
3293
+ photo: "photo";
3292
3294
  automatic: "automatic";
3293
3295
  claim: "claim";
3294
- quiz: "quiz";
3295
- photo: "photo";
3296
3296
  }>;
3297
3297
  lifecycle: z.ZodEnum<{
3298
- paused: "paused";
3299
3298
  active: "active";
3299
+ paused: "paused";
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
- paused: "paused";
3354
3353
  active: "active";
3354
+ paused: "paused";
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
- paused: "paused";
3388
3387
  active: "active";
3388
+ paused: "paused";
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";
3564
3563
  quiz: "quiz";
3565
3564
  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
- none: "none";
3585
3584
  required: "required";
3585
+ none: "none";
3586
3586
  }>>;
3587
3587
  posts: z.ZodDefault<z.ZodEnum<{
3588
3588
  "after-enrollment": "after-enrollment";
@@ -3664,8 +3664,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3664
3664
  }>;
3665
3665
  period: z.ZodEnum<{
3666
3666
  day: "day";
3667
- lifetime: "lifetime";
3668
3667
  week: "week";
3668
+ lifetime: "lifetime";
3669
3669
  }>;
3670
3670
  limit: z.ZodNumber;
3671
3671
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -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
- paused: "paused";
3692
3691
  active: "active";
3692
+ paused: "paused";
3693
3693
  archived: "archived";
3694
3694
  }>>;
3695
3695
  configuration: z.ZodOptional<z.ZodObject<{
@@ -3794,12 +3794,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3794
3794
  kind: "resource";
3795
3795
  default: string;
3796
3796
  source: {
3797
+ provider: "domino";
3798
+ resource: "point-ledger";
3799
+ } | {
3797
3800
  provider: "discord";
3798
3801
  resource: "channel";
3799
3802
  types: ("text" | "announcement")[];
3800
- } | {
3801
- provider: "domino";
3802
- resource: "point-ledger";
3803
3803
  } | {
3804
3804
  provider: "discord";
3805
3805
  resource: "role";
@@ -3896,7 +3896,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3896
3896
  start: number;
3897
3897
  end?: number | undefined;
3898
3898
  };
3899
- enrollment: "none" | "required";
3899
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
3946
+ input: "quiz" | "photo" | "none";
3947
3947
  actor?: "member" | "staff" | undefined;
3948
3948
  };
3949
3949
  requires: {
@@ -3962,7 +3962,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3962
3962
  budgets: {
3963
3963
  id: string;
3964
3964
  scope: "project" | "member";
3965
- period: "day" | "lifetime" | "week";
3965
+ period: "day" | "week" | "lifetime";
3966
3966
  limit: number;
3967
3967
  cost: number | {
3968
3968
  balance: string;
@@ -3973,7 +3973,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3973
3973
  id: string;
3974
3974
  createdAt: number;
3975
3975
  legacy: boolean;
3976
- lifecycle: "paused" | "active" | "archived";
3976
+ lifecycle: "active" | "paused" | "archived";
3977
3977
  performance?: {
3978
3978
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3979
3979
  maxAgeMs: number;
@@ -4433,8 +4433,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
4433
4433
  action: z.ZodLiteral<"grant-role">;
4434
4434
  roleId: z.ZodString;
4435
4435
  status: z.ZodEnum<{
4436
- pending: "pending";
4437
4436
  failed: "failed";
4437
+ pending: "pending";
4438
4438
  delivered: "delivered";
4439
4439
  }>;
4440
4440
  attempts: z.ZodNumber;
@@ -4453,8 +4453,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
4453
4453
  action: z.ZodLiteral<"grant-role">;
4454
4454
  roleId: z.ZodString;
4455
4455
  status: z.ZodEnum<{
4456
- pending: "pending";
4457
4456
  failed: "failed";
4457
+ pending: "pending";
4458
4458
  delivered: "delivered";
4459
4459
  }>;
4460
4460
  attempts: z.ZodNumber;
@@ -4625,12 +4625,6 @@ 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>>>;
4634
4628
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
4635
4629
  title: z.ZodString;
4636
4630
  key: z.ZodOptional<z.ZodString>;
@@ -4639,21 +4633,27 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4639
4633
  title: string;
4640
4634
  key?: string | undefined;
4641
4635
  id?: string | undefined;
4642
- }, "id" | "key"> & {
4636
+ }, "key" | "id"> & {
4643
4637
  key: string;
4644
4638
  }, {
4645
4639
  title: string;
4646
4640
  key?: string | undefined;
4647
4641
  id?: string | undefined;
4648
4642
  }>>>>;
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
4650
  staff: "staff";
4651
+ quiz: "quiz";
4651
4652
  text: "text";
4652
4653
  url: "url";
4654
+ photo: "photo";
4653
4655
  automatic: "automatic";
4654
4656
  claim: "claim";
4655
- quiz: "quiz";
4656
- photo: "photo";
4657
4657
  }>>>;
4658
4658
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
4659
4659
  code: z.ZodString;
@@ -4669,9 +4669,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4669
4669
  namespace: z.ZodString;
4670
4670
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4671
4671
  member: "member";
4672
+ discord: "discord";
4672
4673
  x: "x";
4673
4674
  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,14 +4692,6 @@ 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">;
4703
4695
  rewards: z.ZodDefault<z.ZodObject<{
4704
4696
  inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4705
4697
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -4747,6 +4739,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4747
4739
  }, z.core.$strict>]>>>;
4748
4740
  }, z.core.$strict>>;
4749
4741
  enabled: z.ZodDefault<z.ZodBoolean>;
4742
+ qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
4743
+ kind: z.ZodLiteral<"signup">;
4744
+ }, z.core.$strict>, z.ZodObject<{
4745
+ kind: z.ZodLiteral<"quest">;
4746
+ quest: z.ZodString;
4747
+ }, z.core.$strict>, z.ZodObject<{
4748
+ kind: z.ZodLiteral<"external">;
4749
+ }, z.core.$strict>], "kind">;
4750
4750
  inviterGroup: z.ZodOptional<z.ZodString>;
4751
4751
  milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
4752
4752
  id: z.ZodString;
@@ -4787,14 +4787,6 @@ 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
- };
4798
4790
  rewards: {
4799
4791
  inviter: ({
4800
4792
  kind: "tier";
@@ -4842,6 +4834,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4842
4834
  })[];
4843
4835
  };
4844
4836
  enabled: boolean;
4837
+ qualification: {
4838
+ kind: "signup";
4839
+ } | {
4840
+ kind: "quest";
4841
+ quest: string;
4842
+ } | {
4843
+ kind: "external";
4844
+ };
4845
4845
  milestones: {
4846
4846
  id: string;
4847
4847
  count: number;
@@ -4880,18 +4880,10 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4880
4880
  inviterGroup?: string | undefined;
4881
4881
  key?: string | undefined;
4882
4882
  id?: string | undefined;
4883
- }, "id" | "key"> & {
4883
+ }, "key" | "id"> & {
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
- };
4895
4887
  rewards: {
4896
4888
  inviter: ({
4897
4889
  kind: "tier";
@@ -4939,6 +4931,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4939
4931
  })[];
4940
4932
  };
4941
4933
  enabled: boolean;
4934
+ qualification: {
4935
+ kind: "signup";
4936
+ } | {
4937
+ kind: "quest";
4938
+ quest: string;
4939
+ } | {
4940
+ kind: "external";
4941
+ };
4942
4942
  milestones: {
4943
4943
  id: string;
4944
4944
  count: number;
@@ -4983,7 +4983,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4983
4983
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4984
4984
  title: z.ZodString;
4985
4985
  balance: z.ZodString;
4986
- group: z.ZodOptional<z.ZodString>;
4987
4986
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
4988
4987
  kind: z.ZodLiteral<"balance">;
4989
4988
  }, z.core.$strict>, z.ZodObject<{
@@ -5032,6 +5031,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
5032
5031
  participants: "participants";
5033
5032
  public: "public";
5034
5033
  }>>;
5034
+ group: z.ZodOptional<z.ZodString>;
5035
5035
  key: z.ZodOptional<z.ZodString>;
5036
5036
  id: z.ZodOptional<z.ZodString>;
5037
5037
  }, z.core.$strict>, z.ZodTransform<Omit<{
@@ -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
- }, "id" | "key"> & {
5080
+ }, "key" | "id"> & {
5081
5081
  key: string;
5082
5082
  }, {
5083
5083
  title: string;
@@ -5134,12 +5134,6 @@ 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>>>;
5143
5137
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
5144
5138
  title: z.ZodString;
5145
5139
  key: z.ZodOptional<z.ZodString>;
@@ -5148,21 +5142,27 @@ declare const projectDeploymentSchema: z.ZodObject<{
5148
5142
  title: string;
5149
5143
  key?: string | undefined;
5150
5144
  id?: string | undefined;
5151
- }, "id" | "key"> & {
5145
+ }, "key" | "id"> & {
5152
5146
  key: string;
5153
5147
  }, {
5154
5148
  title: string;
5155
5149
  key?: string | undefined;
5156
5150
  id?: string | undefined;
5157
5151
  }>>>>;
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
5159
  staff: "staff";
5160
+ quiz: "quiz";
5160
5161
  text: "text";
5161
5162
  url: "url";
5163
+ photo: "photo";
5162
5164
  automatic: "automatic";
5163
5165
  claim: "claim";
5164
- quiz: "quiz";
5165
- photo: "photo";
5166
5166
  }>>>;
5167
5167
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
5168
5168
  code: z.ZodString;
@@ -5178,9 +5178,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
5178
5178
  namespace: z.ZodString;
5179
5179
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5180
5180
  member: "member";
5181
+ discord: "discord";
5181
5182
  x: "x";
5182
5183
  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,14 +5201,6 @@ 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">;
5212
5204
  rewards: z.ZodDefault<z.ZodObject<{
5213
5205
  inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5214
5206
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -5256,6 +5248,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5256
5248
  }, z.core.$strict>]>>>;
5257
5249
  }, z.core.$strict>>;
5258
5250
  enabled: z.ZodDefault<z.ZodBoolean>;
5251
+ qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
5252
+ kind: z.ZodLiteral<"signup">;
5253
+ }, z.core.$strict>, z.ZodObject<{
5254
+ kind: z.ZodLiteral<"quest">;
5255
+ quest: z.ZodString;
5256
+ }, z.core.$strict>, z.ZodObject<{
5257
+ kind: z.ZodLiteral<"external">;
5258
+ }, z.core.$strict>], "kind">;
5259
5259
  inviterGroup: z.ZodOptional<z.ZodString>;
5260
5260
  milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
5261
5261
  id: z.ZodString;
@@ -5296,14 +5296,6 @@ 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
- };
5307
5299
  rewards: {
5308
5300
  inviter: ({
5309
5301
  kind: "tier";
@@ -5351,6 +5343,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5351
5343
  })[];
5352
5344
  };
5353
5345
  enabled: boolean;
5346
+ qualification: {
5347
+ kind: "signup";
5348
+ } | {
5349
+ kind: "quest";
5350
+ quest: string;
5351
+ } | {
5352
+ kind: "external";
5353
+ };
5354
5354
  milestones: {
5355
5355
  id: string;
5356
5356
  count: number;
@@ -5389,18 +5389,10 @@ declare const projectDeploymentSchema: z.ZodObject<{
5389
5389
  inviterGroup?: string | undefined;
5390
5390
  key?: string | undefined;
5391
5391
  id?: string | undefined;
5392
- }, "id" | "key"> & {
5392
+ }, "key" | "id"> & {
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
- };
5404
5396
  rewards: {
5405
5397
  inviter: ({
5406
5398
  kind: "tier";
@@ -5448,6 +5440,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5448
5440
  })[];
5449
5441
  };
5450
5442
  enabled: boolean;
5443
+ qualification: {
5444
+ kind: "signup";
5445
+ } | {
5446
+ kind: "quest";
5447
+ quest: string;
5448
+ } | {
5449
+ kind: "external";
5450
+ };
5451
5451
  milestones: {
5452
5452
  id: string;
5453
5453
  count: number;
@@ -5492,7 +5492,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5492
5492
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
5493
5493
  title: z.ZodString;
5494
5494
  balance: z.ZodString;
5495
- group: z.ZodOptional<z.ZodString>;
5496
5495
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
5497
5496
  kind: z.ZodLiteral<"balance">;
5498
5497
  }, z.core.$strict>, z.ZodObject<{
@@ -5541,6 +5540,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
5541
5540
  participants: "participants";
5542
5541
  public: "public";
5543
5542
  }>>;
5543
+ group: z.ZodOptional<z.ZodString>;
5544
5544
  key: z.ZodOptional<z.ZodString>;
5545
5545
  id: z.ZodOptional<z.ZodString>;
5546
5546
  }, z.core.$strict>, z.ZodTransform<Omit<{
@@ -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
- }, "id" | "key"> & {
5589
+ }, "key" | "id"> & {
5590
5590
  key: string;
5591
5591
  }, {
5592
5592
  title: string;
@@ -5794,9 +5794,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5794
5794
  namespace: z.ZodString;
5795
5795
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5796
5796
  member: "member";
5797
+ discord: "discord";
5797
5798
  x: "x";
5798
5799
  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";
5981
5980
  quiz: "quiz";
5982
5981
  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
- none: "none";
6002
6001
  required: "required";
6002
+ none: "none";
6003
6003
  }>>;
6004
6004
  posts: z.ZodDefault<z.ZodEnum<{
6005
6005
  "after-enrollment": "after-enrollment";
@@ -6081,8 +6081,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6081
6081
  }>;
6082
6082
  period: z.ZodEnum<{
6083
6083
  day: "day";
6084
- lifetime: "lifetime";
6085
6084
  week: "week";
6085
+ lifetime: "lifetime";
6086
6086
  }>;
6087
6087
  limit: z.ZodNumber;
6088
6088
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -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
- paused: "paused";
6109
6108
  active: "active";
6109
+ paused: "paused";
6110
6110
  archived: "archived";
6111
6111
  }>>;
6112
6112
  configuration: z.ZodOptional<z.ZodObject<{
@@ -6211,12 +6211,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6211
6211
  kind: "resource";
6212
6212
  default: string;
6213
6213
  source: {
6214
+ provider: "domino";
6215
+ resource: "point-ledger";
6216
+ } | {
6214
6217
  provider: "discord";
6215
6218
  resource: "channel";
6216
6219
  types: ("text" | "announcement")[];
6217
- } | {
6218
- provider: "domino";
6219
- resource: "point-ledger";
6220
6220
  } | {
6221
6221
  provider: "discord";
6222
6222
  resource: "role";
@@ -6313,7 +6313,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6313
6313
  start: number;
6314
6314
  end?: number | undefined;
6315
6315
  };
6316
- enrollment: "none" | "required";
6316
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
6363
+ input: "quiz" | "photo" | "none";
6364
6364
  actor?: "member" | "staff" | undefined;
6365
6365
  };
6366
6366
  requires: {
@@ -6379,7 +6379,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6379
6379
  budgets: {
6380
6380
  id: string;
6381
6381
  scope: "project" | "member";
6382
- period: "day" | "lifetime" | "week";
6382
+ period: "day" | "week" | "lifetime";
6383
6383
  limit: number;
6384
6384
  cost: number | {
6385
6385
  balance: string;
@@ -6390,7 +6390,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6390
6390
  id: string;
6391
6391
  createdAt: number;
6392
6392
  legacy: boolean;
6393
- lifecycle: "paused" | "active" | "archived";
6393
+ lifecycle: "active" | "paused" | "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";
6629
6628
  quiz: "quiz";
6630
6629
  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
- none: "none";
6650
6649
  required: "required";
6650
+ none: "none";
6651
6651
  }>>;
6652
6652
  posts: z.ZodDefault<z.ZodEnum<{
6653
6653
  "after-enrollment": "after-enrollment";
@@ -6729,8 +6729,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6729
6729
  }>;
6730
6730
  period: z.ZodEnum<{
6731
6731
  day: "day";
6732
- lifetime: "lifetime";
6733
6732
  week: "week";
6733
+ lifetime: "lifetime";
6734
6734
  }>;
6735
6735
  limit: z.ZodNumber;
6736
6736
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -6755,12 +6755,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6755
6755
  }, z.core.$strict>>;
6756
6756
  supportedInteractions: z.ZodArray<z.ZodEnum<{
6757
6757
  staff: "staff";
6758
+ quiz: "quiz";
6758
6759
  text: "text";
6759
6760
  url: "url";
6761
+ photo: "photo";
6760
6762
  automatic: "automatic";
6761
6763
  claim: "claim";
6762
- quiz: "quiz";
6763
- photo: "photo";
6764
6764
  }>>;
6765
6765
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
6766
6766
  version: z.ZodString;
@@ -6956,9 +6956,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6956
6956
  }, z.core.$strip>, z.ZodObject<{
6957
6957
  source: z.ZodLiteral<"account">;
6958
6958
  provider: z.ZodEnum<{
6959
- x: "x";
6960
6959
  discord: "discord";
6961
6960
  google: "google";
6961
+ x: "x";
6962
6962
  }>;
6963
6963
  url: z.ZodString;
6964
6964
  seed: z.ZodString;
@@ -6984,9 +6984,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6984
6984
  }, z.core.$strip>, z.ZodObject<{
6985
6985
  source: z.ZodLiteral<"account">;
6986
6986
  provider: z.ZodEnum<{
6987
- x: "x";
6988
6987
  discord: "discord";
6989
6988
  google: "google";
6989
+ x: "x";
6990
6990
  }>;
6991
6991
  url: z.ZodString;
6992
6992
  seed: z.ZodString;
@@ -7012,9 +7012,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7012
7012
  }, z.core.$strip>, z.ZodObject<{
7013
7013
  source: z.ZodLiteral<"account">;
7014
7014
  provider: z.ZodEnum<{
7015
- x: "x";
7016
7015
  discord: "discord";
7017
7016
  google: "google";
7017
+ x: "x";
7018
7018
  }>;
7019
7019
  url: z.ZodString;
7020
7020
  seed: z.ZodString;
@@ -7058,9 +7058,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7058
7058
  }, z.core.$strip>, z.ZodObject<{
7059
7059
  source: z.ZodLiteral<"account">;
7060
7060
  provider: z.ZodEnum<{
7061
- x: "x";
7062
7061
  discord: "discord";
7063
7062
  google: "google";
7063
+ x: "x";
7064
7064
  }>;
7065
7065
  url: z.ZodString;
7066
7066
  seed: z.ZodString;
@@ -7086,9 +7086,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7086
7086
  }, z.core.$strip>, z.ZodObject<{
7087
7087
  source: z.ZodLiteral<"account">;
7088
7088
  provider: z.ZodEnum<{
7089
- x: "x";
7090
7089
  discord: "discord";
7091
7090
  google: "google";
7091
+ x: "x";
7092
7092
  }>;
7093
7093
  url: z.ZodString;
7094
7094
  seed: z.ZodString;
@@ -7114,9 +7114,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7114
7114
  }, z.core.$strip>, z.ZodObject<{
7115
7115
  source: z.ZodLiteral<"account">;
7116
7116
  provider: z.ZodEnum<{
7117
- x: "x";
7118
7117
  discord: "discord";
7119
7118
  google: "google";
7119
+ x: "x";
7120
7120
  }>;
7121
7121
  url: z.ZodString;
7122
7122
  seed: z.ZodString;
@@ -7281,9 +7281,9 @@ declare const deploymentResultSchema: z.ZodObject<{
7281
7281
  namespace: z.ZodString;
7282
7282
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7283
7283
  member: "member";
7284
+ discord: "discord";
7284
7285
  x: "x";
7285
7286
  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";
7468
7467
  quiz: "quiz";
7469
7468
  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
- none: "none";
7489
7488
  required: "required";
7489
+ none: "none";
7490
7490
  }>>;
7491
7491
  posts: z.ZodDefault<z.ZodEnum<{
7492
7492
  "after-enrollment": "after-enrollment";
@@ -7568,8 +7568,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7568
7568
  }>;
7569
7569
  period: z.ZodEnum<{
7570
7570
  day: "day";
7571
- lifetime: "lifetime";
7572
7571
  week: "week";
7572
+ lifetime: "lifetime";
7573
7573
  }>;
7574
7574
  limit: z.ZodNumber;
7575
7575
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -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
- paused: "paused";
7596
7595
  active: "active";
7596
+ paused: "paused";
7597
7597
  archived: "archived";
7598
7598
  }>>;
7599
7599
  configuration: z.ZodOptional<z.ZodObject<{
@@ -7698,12 +7698,12 @@ declare const deploymentResultSchema: z.ZodObject<{
7698
7698
  kind: "resource";
7699
7699
  default: string;
7700
7700
  source: {
7701
+ provider: "domino";
7702
+ resource: "point-ledger";
7703
+ } | {
7701
7704
  provider: "discord";
7702
7705
  resource: "channel";
7703
7706
  types: ("text" | "announcement")[];
7704
- } | {
7705
- provider: "domino";
7706
- resource: "point-ledger";
7707
7707
  } | {
7708
7708
  provider: "discord";
7709
7709
  resource: "role";
@@ -7800,7 +7800,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7800
7800
  start: number;
7801
7801
  end?: number | undefined;
7802
7802
  };
7803
- enrollment: "none" | "required";
7803
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
7850
+ input: "quiz" | "photo" | "none";
7851
7851
  actor?: "member" | "staff" | undefined;
7852
7852
  };
7853
7853
  requires: {
@@ -7866,7 +7866,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7866
7866
  budgets: {
7867
7867
  id: string;
7868
7868
  scope: "project" | "member";
7869
- period: "day" | "lifetime" | "week";
7869
+ period: "day" | "week" | "lifetime";
7870
7870
  limit: number;
7871
7871
  cost: number | {
7872
7872
  balance: string;
@@ -7877,7 +7877,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7877
7877
  id: string;
7878
7878
  createdAt: number;
7879
7879
  legacy: boolean;
7880
- lifecycle: "paused" | "active" | "archived";
7880
+ lifecycle: "active" | "paused" | "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";
8116
8115
  quiz: "quiz";
8117
8116
  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
- none: "none";
8137
8136
  required: "required";
8137
+ none: "none";
8138
8138
  }>>;
8139
8139
  posts: z.ZodDefault<z.ZodEnum<{
8140
8140
  "after-enrollment": "after-enrollment";
@@ -8216,8 +8216,8 @@ declare const deploymentResultSchema: z.ZodObject<{
8216
8216
  }>;
8217
8217
  period: z.ZodEnum<{
8218
8218
  day: "day";
8219
- lifetime: "lifetime";
8220
8219
  week: "week";
8220
+ lifetime: "lifetime";
8221
8221
  }>;
8222
8222
  limit: z.ZodNumber;
8223
8223
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -8242,12 +8242,12 @@ declare const deploymentResultSchema: z.ZodObject<{
8242
8242
  }, z.core.$strict>>;
8243
8243
  supportedInteractions: z.ZodArray<z.ZodEnum<{
8244
8244
  staff: "staff";
8245
+ quiz: "quiz";
8245
8246
  text: "text";
8246
8247
  url: "url";
8248
+ photo: "photo";
8247
8249
  automatic: "automatic";
8248
8250
  claim: "claim";
8249
- quiz: "quiz";
8250
- photo: "photo";
8251
8251
  }>>;
8252
8252
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
8253
8253
  version: z.ZodString;
@@ -8443,9 +8443,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8443
8443
  }, z.core.$strip>, z.ZodObject<{
8444
8444
  source: z.ZodLiteral<"account">;
8445
8445
  provider: z.ZodEnum<{
8446
- x: "x";
8447
8446
  discord: "discord";
8448
8447
  google: "google";
8448
+ x: "x";
8449
8449
  }>;
8450
8450
  url: z.ZodString;
8451
8451
  seed: z.ZodString;
@@ -8471,9 +8471,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8471
8471
  }, z.core.$strip>, z.ZodObject<{
8472
8472
  source: z.ZodLiteral<"account">;
8473
8473
  provider: z.ZodEnum<{
8474
- x: "x";
8475
8474
  discord: "discord";
8476
8475
  google: "google";
8476
+ x: "x";
8477
8477
  }>;
8478
8478
  url: z.ZodString;
8479
8479
  seed: z.ZodString;
@@ -8499,9 +8499,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8499
8499
  }, z.core.$strip>, z.ZodObject<{
8500
8500
  source: z.ZodLiteral<"account">;
8501
8501
  provider: z.ZodEnum<{
8502
- x: "x";
8503
8502
  discord: "discord";
8504
8503
  google: "google";
8504
+ x: "x";
8505
8505
  }>;
8506
8506
  url: z.ZodString;
8507
8507
  seed: z.ZodString;
@@ -8545,9 +8545,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8545
8545
  }, z.core.$strip>, z.ZodObject<{
8546
8546
  source: z.ZodLiteral<"account">;
8547
8547
  provider: z.ZodEnum<{
8548
- x: "x";
8549
8548
  discord: "discord";
8550
8549
  google: "google";
8550
+ x: "x";
8551
8551
  }>;
8552
8552
  url: z.ZodString;
8553
8553
  seed: z.ZodString;
@@ -8573,9 +8573,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8573
8573
  }, z.core.$strip>, z.ZodObject<{
8574
8574
  source: z.ZodLiteral<"account">;
8575
8575
  provider: z.ZodEnum<{
8576
- x: "x";
8577
8576
  discord: "discord";
8578
8577
  google: "google";
8578
+ x: "x";
8579
8579
  }>;
8580
8580
  url: z.ZodString;
8581
8581
  seed: z.ZodString;
@@ -8601,9 +8601,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8601
8601
  }, z.core.$strip>, z.ZodObject<{
8602
8602
  source: z.ZodLiteral<"account">;
8603
8603
  provider: z.ZodEnum<{
8604
- x: "x";
8605
8604
  discord: "discord";
8606
8605
  google: "google";
8606
+ x: "x";
8607
8607
  }>;
8608
8608
  url: z.ZodString;
8609
8609
  seed: z.ZodString;
@@ -8995,7 +8995,7 @@ declare function createRelayClient(options: {
8995
8995
  seed: string;
8996
8996
  } | {
8997
8997
  source: "account";
8998
- provider: "x" | "discord" | "google";
8998
+ provider: "discord" | "google" | "x";
8999
8999
  url: string;
9000
9000
  seed: string;
9001
9001
  } | {
@@ -9019,7 +9019,7 @@ declare function createRelayClient(options: {
9019
9019
  seed: string;
9020
9020
  } | {
9021
9021
  source: "account";
9022
- provider: "x" | "discord" | "google";
9022
+ provider: "discord" | "google" | "x";
9023
9023
  url: string;
9024
9024
  seed: string;
9025
9025
  } | {
@@ -9043,7 +9043,7 @@ declare function createRelayClient(options: {
9043
9043
  seed: string;
9044
9044
  } | {
9045
9045
  source: "account";
9046
- provider: "x" | "discord" | "google";
9046
+ provider: "discord" | "google" | "x";
9047
9047
  url: string;
9048
9048
  seed: string;
9049
9049
  } | {
@@ -9085,7 +9085,7 @@ declare function createRelayClient(options: {
9085
9085
  seed: string;
9086
9086
  } | {
9087
9087
  source: "account";
9088
- provider: "x" | "discord" | "google";
9088
+ provider: "discord" | "google" | "x";
9089
9089
  url: string;
9090
9090
  seed: string;
9091
9091
  } | {
@@ -9093,13 +9093,13 @@ declare function createRelayClient(options: {
9093
9093
  seed: string;
9094
9094
  };
9095
9095
  displayName: string | null;
9096
- avatarChoice: "default" | "account" | "upload" | "generated";
9097
- avatarProvider: "x" | "discord" | "google" | null;
9096
+ avatarChoice: "default" | "account" | "generated" | "upload";
9097
+ avatarProvider: "discord" | "google" | "x" | null;
9098
9098
  hidden: boolean;
9099
9099
  locked: boolean;
9100
- visibility: "private" | "participants" | "public";
9100
+ visibility: "participants" | "public" | "private";
9101
9101
  options: {
9102
- provider: "x" | "discord" | "google";
9102
+ provider: "discord" | "google" | "x";
9103
9103
  name: string | null;
9104
9104
  imageUrl: string | null;
9105
9105
  }[];
@@ -9119,7 +9119,7 @@ declare function createRelayClient(options: {
9119
9119
  seed: string;
9120
9120
  } | {
9121
9121
  source: "account";
9122
- provider: "x" | "discord" | "google";
9122
+ provider: "discord" | "google" | "x";
9123
9123
  url: string;
9124
9124
  seed: string;
9125
9125
  } | {
@@ -9127,13 +9127,13 @@ declare function createRelayClient(options: {
9127
9127
  seed: string;
9128
9128
  };
9129
9129
  displayName: string | null;
9130
- avatarChoice: "default" | "account" | "upload" | "generated";
9131
- avatarProvider: "x" | "discord" | "google" | null;
9130
+ avatarChoice: "default" | "account" | "generated" | "upload";
9131
+ avatarProvider: "discord" | "google" | "x" | null;
9132
9132
  hidden: boolean;
9133
9133
  locked: boolean;
9134
- visibility: "private" | "participants" | "public";
9134
+ visibility: "participants" | "public" | "private";
9135
9135
  options: {
9136
- provider: "x" | "discord" | "google";
9136
+ provider: "discord" | "google" | "x";
9137
9137
  name: string | null;
9138
9138
  imageUrl: string | null;
9139
9139
  }[];
@@ -9154,7 +9154,7 @@ declare function createRelayClient(options: {
9154
9154
  seed: string;
9155
9155
  } | {
9156
9156
  source: "account";
9157
- provider: "x" | "discord" | "google";
9157
+ provider: "discord" | "google" | "x";
9158
9158
  url: string;
9159
9159
  seed: string;
9160
9160
  } | {
@@ -9162,13 +9162,13 @@ declare function createRelayClient(options: {
9162
9162
  seed: string;
9163
9163
  };
9164
9164
  displayName: string | null;
9165
- avatarChoice: "default" | "account" | "upload" | "generated";
9166
- avatarProvider: "x" | "discord" | "google" | null;
9165
+ avatarChoice: "default" | "account" | "generated" | "upload";
9166
+ avatarProvider: "discord" | "google" | "x" | null;
9167
9167
  hidden: boolean;
9168
9168
  locked: boolean;
9169
- visibility: "private" | "participants" | "public";
9169
+ visibility: "participants" | "public" | "private";
9170
9170
  options: {
9171
- provider: "x" | "discord" | "google";
9171
+ provider: "discord" | "google" | "x";
9172
9172
  name: string | null;
9173
9173
  imageUrl: string | null;
9174
9174
  }[];
@@ -9186,7 +9186,7 @@ declare function createRelayClient(options: {
9186
9186
  seed: string;
9187
9187
  } | {
9188
9188
  source: "account";
9189
- provider: "x" | "discord" | "google";
9189
+ provider: "discord" | "google" | "x";
9190
9190
  url: string;
9191
9191
  seed: string;
9192
9192
  } | {
@@ -9249,7 +9249,7 @@ declare function createRelayClient(options: {
9249
9249
  } | undefined;
9250
9250
  } | undefined;
9251
9251
  };
9252
- connections: ("x" | "discord" | "google" | "apple")[];
9252
+ connections: ("discord" | "google" | "apple" | "x")[];
9253
9253
  trigger: {
9254
9254
  kind: "automatic";
9255
9255
  observation?: {
@@ -9262,7 +9262,7 @@ declare function createRelayClient(options: {
9262
9262
  start: number;
9263
9263
  end?: number | undefined;
9264
9264
  };
9265
- enrollment: "none" | "required";
9265
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
9312
+ input: "quiz" | "photo" | "none";
9313
9313
  actor?: "member" | "staff" | undefined;
9314
9314
  };
9315
9315
  availability: {
9316
9316
  kind: "available";
9317
- input: "text" | "url" | "none" | "quiz" | "photo";
9317
+ input: "quiz" | "text" | "url" | "photo" | "none";
9318
9318
  } | {
9319
9319
  kind: "completed";
9320
9320
  } | {
@@ -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" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9366
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
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: "text";
9401
- value: string;
9402
- } | {
9403
- kind: "url";
9404
- value: string;
9405
- } | {
9406
9400
  kind: "quiz";
9407
9401
  answers: {
9408
9402
  [k: string]: string;
9409
9403
  };
9410
9404
  release?: string | undefined;
9405
+ } | {
9406
+ kind: "text";
9407
+ value: string;
9408
+ } | {
9409
+ kind: "url";
9410
+ value: string;
9411
9411
  } | undefined;
9412
9412
  } | null;
9413
9413
  release: string;
9414
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9415
- lifecycle: "paused" | "active" | "archived";
9414
+ interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9415
+ lifecycle: "active" | "paused" | "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" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9476
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
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: "text";
9511
- value: string;
9512
- } | {
9513
- kind: "url";
9514
- value: string;
9515
- } | {
9516
9510
  kind: "quiz";
9517
9511
  answers: {
9518
9512
  [k: string]: string;
9519
9513
  };
9520
9514
  release?: string | undefined;
9515
+ } | {
9516
+ kind: "text";
9517
+ value: string;
9518
+ } | {
9519
+ kind: "url";
9520
+ value: string;
9521
9521
  } | undefined;
9522
9522
  }>;
9523
9523
  experience: () => Promise<{
@@ -9545,7 +9545,7 @@ declare function createRelayClient(options: {
9545
9545
  } | undefined;
9546
9546
  } | undefined;
9547
9547
  };
9548
- connections: ("x" | "discord" | "google" | "apple")[];
9548
+ connections: ("discord" | "google" | "apple" | "x")[];
9549
9549
  trigger: {
9550
9550
  kind: "automatic";
9551
9551
  observation?: {
@@ -9558,7 +9558,7 @@ declare function createRelayClient(options: {
9558
9558
  start: number;
9559
9559
  end?: number | undefined;
9560
9560
  };
9561
- enrollment: "none" | "required";
9561
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
9608
+ input: "quiz" | "photo" | "none";
9609
9609
  actor?: "member" | "staff" | undefined;
9610
9610
  };
9611
9611
  availability: {
9612
9612
  kind: "available";
9613
- input: "text" | "url" | "none" | "quiz" | "photo";
9613
+ input: "quiz" | "text" | "url" | "photo" | "none";
9614
9614
  } | {
9615
9615
  kind: "completed";
9616
9616
  } | {
@@ -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" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9662
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
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: "text";
9697
- value: string;
9698
- } | {
9699
- kind: "url";
9700
- value: string;
9701
- } | {
9702
9696
  kind: "quiz";
9703
9697
  answers: {
9704
9698
  [k: string]: string;
9705
9699
  };
9706
9700
  release?: string | undefined;
9701
+ } | {
9702
+ kind: "text";
9703
+ value: string;
9704
+ } | {
9705
+ kind: "url";
9706
+ value: string;
9707
9707
  } | undefined;
9708
9708
  } | null;
9709
9709
  release: string;
9710
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9711
- lifecycle: "paused" | "active" | "archived";
9710
+ interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9711
+ lifecycle: "active" | "paused" | "archived";
9712
9712
  rewards: ({
9713
9713
  kind: "points";
9714
9714
  label: string;
@@ -9789,7 +9789,7 @@ declare function createRelayClient(options: {
9789
9789
  } | undefined;
9790
9790
  } | undefined;
9791
9791
  };
9792
- connections: ("x" | "discord" | "google" | "apple")[];
9792
+ connections: ("discord" | "google" | "apple" | "x")[];
9793
9793
  trigger: {
9794
9794
  kind: "automatic";
9795
9795
  observation?: {
@@ -9802,7 +9802,7 @@ declare function createRelayClient(options: {
9802
9802
  start: number;
9803
9803
  end?: number | undefined;
9804
9804
  };
9805
- enrollment: "none" | "required";
9805
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
9852
+ input: "quiz" | "photo" | "none";
9853
9853
  actor?: "member" | "staff" | undefined;
9854
9854
  };
9855
9855
  availability: {
9856
9856
  kind: "available";
9857
- input: "text" | "url" | "none" | "quiz" | "photo";
9857
+ input: "quiz" | "text" | "url" | "photo" | "none";
9858
9858
  } | {
9859
9859
  kind: "completed";
9860
9860
  } | {
@@ -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" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9906
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
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: "text";
9941
- value: string;
9942
- } | {
9943
- kind: "url";
9944
- value: string;
9945
- } | {
9946
9940
  kind: "quiz";
9947
9941
  answers: {
9948
9942
  [k: string]: string;
9949
9943
  };
9950
9944
  release?: string | undefined;
9945
+ } | {
9946
+ kind: "text";
9947
+ value: string;
9948
+ } | {
9949
+ kind: "url";
9950
+ value: string;
9951
9951
  } | undefined;
9952
9952
  } | null;
9953
9953
  release: string;
9954
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9955
- lifecycle: "paused" | "active" | "archived";
9954
+ interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9955
+ lifecycle: "active" | "paused" | "archived";
9956
9956
  rewards: ({
9957
9957
  kind: "points";
9958
9958
  label: string;
@@ -10036,7 +10036,7 @@ declare function createRelayClient(options: {
10036
10036
  } | undefined;
10037
10037
  } | undefined;
10038
10038
  };
10039
- connections: ("x" | "discord" | "google" | "apple")[];
10039
+ connections: ("discord" | "google" | "apple" | "x")[];
10040
10040
  trigger: {
10041
10041
  kind: "automatic";
10042
10042
  observation?: {
@@ -10049,7 +10049,7 @@ declare function createRelayClient(options: {
10049
10049
  start: number;
10050
10050
  end?: number | undefined;
10051
10051
  };
10052
- enrollment: "none" | "required";
10052
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
10099
+ input: "quiz" | "photo" | "none";
10100
10100
  actor?: "member" | "staff" | undefined;
10101
10101
  };
10102
10102
  availability: {
10103
10103
  kind: "available";
10104
- input: "text" | "url" | "none" | "quiz" | "photo";
10104
+ input: "quiz" | "text" | "url" | "photo" | "none";
10105
10105
  } | {
10106
10106
  kind: "completed";
10107
10107
  } | {
@@ -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" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10153
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
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: "text";
10188
- value: string;
10189
- } | {
10190
- kind: "url";
10191
- value: string;
10192
- } | {
10193
10187
  kind: "quiz";
10194
10188
  answers: {
10195
10189
  [k: string]: string;
10196
10190
  };
10197
10191
  release?: string | undefined;
10192
+ } | {
10193
+ kind: "text";
10194
+ value: string;
10195
+ } | {
10196
+ kind: "url";
10197
+ value: string;
10198
10198
  } | undefined;
10199
10199
  } | null;
10200
10200
  release: string;
10201
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
10202
- lifecycle: "paused" | "active" | "archived";
10201
+ interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
10202
+ lifecycle: "active" | "paused" | "archived";
10203
10203
  rewards: ({
10204
10204
  kind: "points";
10205
10205
  label: string;
@@ -10328,7 +10328,7 @@ declare function createRelayClient(options: {
10328
10328
  auth: {
10329
10329
  providers: () => Promise<{
10330
10330
  providers: {
10331
- provider: "x" | "discord" | "google" | "apple";
10331
+ provider: "discord" | "google" | "apple" | "x";
10332
10332
  configured: boolean;
10333
10333
  }[];
10334
10334
  email: boolean;
@@ -10414,7 +10414,7 @@ declare function createRelayClient(options: {
10414
10414
  }>;
10415
10415
  };
10416
10416
  accounts: () => Promise<{
10417
- provider: "x" | "discord" | "google" | "apple";
10417
+ provider: "discord" | "google" | "apple" | "x";
10418
10418
  configured: boolean;
10419
10419
  status: "disconnected" | "connected" | "reconnect";
10420
10420
  subject: string | null;
@@ -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" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10521
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
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: "text";
10556
- value: string;
10557
- } | {
10558
- kind: "url";
10559
- value: string;
10560
- } | {
10561
10555
  kind: "quiz";
10562
10556
  answers: {
10563
10557
  [k: string]: string;
10564
10558
  };
10565
10559
  release?: string | undefined;
10560
+ } | {
10561
+ kind: "text";
10562
+ value: string;
10563
+ } | {
10564
+ kind: "url";
10565
+ value: string;
10566
10566
  } | undefined;
10567
10567
  }>;
10568
10568
  progress: () => Promise<{
@@ -10590,7 +10590,7 @@ declare function createRelayClient(options: {
10590
10590
  } | undefined;
10591
10591
  } | undefined;
10592
10592
  };
10593
- connections: ("x" | "discord" | "google" | "apple")[];
10593
+ connections: ("discord" | "google" | "apple" | "x")[];
10594
10594
  trigger: {
10595
10595
  kind: "automatic";
10596
10596
  observation?: {
@@ -10603,7 +10603,7 @@ declare function createRelayClient(options: {
10603
10603
  start: number;
10604
10604
  end?: number | undefined;
10605
10605
  };
10606
- enrollment: "none" | "required";
10606
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
10653
+ input: "quiz" | "photo" | "none";
10654
10654
  actor?: "member" | "staff" | undefined;
10655
10655
  };
10656
10656
  availability: {
10657
10657
  kind: "available";
10658
- input: "text" | "url" | "none" | "quiz" | "photo";
10658
+ input: "quiz" | "text" | "url" | "photo" | "none";
10659
10659
  } | {
10660
10660
  kind: "completed";
10661
10661
  } | {
@@ -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" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10707
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
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: "text";
10742
- value: string;
10743
- } | {
10744
- kind: "url";
10745
- value: string;
10746
- } | {
10747
10741
  kind: "quiz";
10748
10742
  answers: {
10749
10743
  [k: string]: string;
10750
10744
  };
10751
10745
  release?: string | undefined;
10746
+ } | {
10747
+ kind: "text";
10748
+ value: string;
10749
+ } | {
10750
+ kind: "url";
10751
+ value: string;
10752
10752
  } | undefined;
10753
10753
  } | null;
10754
10754
  key?: string | undefined;
@@ -10871,7 +10871,7 @@ declare function createRelayClient(options: {
10871
10871
  provider: "discord";
10872
10872
  action: "grant-role";
10873
10873
  roleId: string;
10874
- status: "pending" | "failed" | "delivered";
10874
+ status: "failed" | "pending" | "delivered";
10875
10875
  attempts: number;
10876
10876
  nextAt: number;
10877
10877
  lastError: string | null;
@@ -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" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10890
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
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: "text";
10925
- value: string;
10926
- } | {
10927
- kind: "url";
10928
- value: string;
10929
- } | {
10930
10924
  kind: "quiz";
10931
10925
  answers: {
10932
10926
  [k: string]: string;
10933
10927
  };
10934
10928
  release?: string | undefined;
10929
+ } | {
10930
+ kind: "text";
10931
+ value: string;
10932
+ } | {
10933
+ kind: "url";
10934
+ value: string;
10935
10935
  } | undefined;
10936
10936
  }>;
10937
10937
  upload: (file: File) => Promise<{
@@ -10992,12 +10992,12 @@ declare function createRelayClient(options: {
10992
10992
  kind: "resource";
10993
10993
  default: string;
10994
10994
  source: {
10995
+ provider: "domino";
10996
+ resource: "point-ledger";
10997
+ } | {
10995
10998
  provider: "discord";
10996
10999
  resource: "channel";
10997
11000
  types: ("text" | "announcement")[];
10998
- } | {
10999
- provider: "domino";
11000
- resource: "point-ledger";
11001
11001
  } | {
11002
11002
  provider: "discord";
11003
11003
  resource: "role";
@@ -11094,7 +11094,7 @@ declare function createRelayClient(options: {
11094
11094
  start: number;
11095
11095
  end?: number | undefined;
11096
11096
  };
11097
- enrollment: "none" | "required";
11097
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
11144
+ input: "quiz" | "photo" | "none";
11145
11145
  actor?: "member" | "staff" | undefined;
11146
11146
  };
11147
11147
  requires: {
@@ -11160,7 +11160,7 @@ declare function createRelayClient(options: {
11160
11160
  budgets: {
11161
11161
  id: string;
11162
11162
  scope: "project" | "member";
11163
- period: "day" | "lifetime" | "week";
11163
+ period: "day" | "week" | "lifetime";
11164
11164
  limit: number;
11165
11165
  cost: number | {
11166
11166
  balance: string;
@@ -11217,12 +11217,12 @@ declare function createRelayClient(options: {
11217
11217
  kind: "resource";
11218
11218
  default: string;
11219
11219
  source: {
11220
+ provider: "domino";
11221
+ resource: "point-ledger";
11222
+ } | {
11220
11223
  provider: "discord";
11221
11224
  resource: "channel";
11222
11225
  types: ("text" | "announcement")[];
11223
- } | {
11224
- provider: "domino";
11225
- resource: "point-ledger";
11226
11226
  } | {
11227
11227
  provider: "discord";
11228
11228
  resource: "role";
@@ -11319,7 +11319,7 @@ declare function createRelayClient(options: {
11319
11319
  start: number;
11320
11320
  end?: number | undefined;
11321
11321
  };
11322
- enrollment: "none" | "required";
11322
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
11369
+ input: "quiz" | "photo" | "none";
11370
11370
  actor?: "member" | "staff" | undefined;
11371
11371
  };
11372
11372
  requires: {
@@ -11385,7 +11385,7 @@ declare function createRelayClient(options: {
11385
11385
  budgets: {
11386
11386
  id: string;
11387
11387
  scope: "project" | "member";
11388
- period: "day" | "lifetime" | "week";
11388
+ period: "day" | "week" | "lifetime";
11389
11389
  limit: number;
11390
11390
  cost: number | {
11391
11391
  balance: string;
@@ -11441,12 +11441,12 @@ declare function createRelayClient(options: {
11441
11441
  kind: "resource";
11442
11442
  default: string;
11443
11443
  source: {
11444
+ provider: "domino";
11445
+ resource: "point-ledger";
11446
+ } | {
11444
11447
  provider: "discord";
11445
11448
  resource: "channel";
11446
11449
  types: ("text" | "announcement")[];
11447
- } | {
11448
- provider: "domino";
11449
- resource: "point-ledger";
11450
11450
  } | {
11451
11451
  provider: "discord";
11452
11452
  resource: "role";
@@ -11543,7 +11543,7 @@ declare function createRelayClient(options: {
11543
11543
  start: number;
11544
11544
  end?: number | undefined;
11545
11545
  };
11546
- enrollment: "none" | "required";
11546
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
11593
+ input: "quiz" | "photo" | "none";
11594
11594
  actor?: "member" | "staff" | undefined;
11595
11595
  };
11596
11596
  requires: {
@@ -11609,7 +11609,7 @@ declare function createRelayClient(options: {
11609
11609
  budgets: {
11610
11610
  id: string;
11611
11611
  scope: "project" | "member";
11612
- period: "day" | "lifetime" | "week";
11612
+ period: "day" | "week" | "lifetime";
11613
11613
  limit: number;
11614
11614
  cost: number | {
11615
11615
  balance: string;
@@ -11620,7 +11620,7 @@ declare function createRelayClient(options: {
11620
11620
  id: string;
11621
11621
  createdAt: number;
11622
11622
  legacy: boolean;
11623
- lifecycle: "paused" | "active" | "archived";
11623
+ lifecycle: "active" | "paused" | "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" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
11746
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
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: "text";
11781
- value: string;
11782
- } | {
11783
- kind: "url";
11784
- value: string;
11785
- } | {
11786
11780
  kind: "quiz";
11787
11781
  answers: {
11788
11782
  [k: string]: string;
11789
11783
  };
11790
11784
  release?: string | undefined;
11785
+ } | {
11786
+ kind: "text";
11787
+ value: string;
11788
+ } | {
11789
+ kind: "url";
11790
+ value: string;
11791
11791
  } | undefined;
11792
11792
  }[];
11793
11793
  balances: {
@@ -11846,12 +11846,12 @@ declare function createRelayClient(options: {
11846
11846
  kind: "resource";
11847
11847
  default: string;
11848
11848
  source: {
11849
+ provider: "domino";
11850
+ resource: "point-ledger";
11851
+ } | {
11849
11852
  provider: "discord";
11850
11853
  resource: "channel";
11851
11854
  types: ("text" | "announcement")[];
11852
- } | {
11853
- provider: "domino";
11854
- resource: "point-ledger";
11855
11855
  } | {
11856
11856
  provider: "discord";
11857
11857
  resource: "role";
@@ -11948,7 +11948,7 @@ declare function createRelayClient(options: {
11948
11948
  start: number;
11949
11949
  end?: number | undefined;
11950
11950
  };
11951
- enrollment: "none" | "required";
11951
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
11998
+ input: "quiz" | "photo" | "none";
11999
11999
  actor?: "member" | "staff" | undefined;
12000
12000
  };
12001
12001
  requires: {
@@ -12014,7 +12014,7 @@ declare function createRelayClient(options: {
12014
12014
  budgets: {
12015
12015
  id: string;
12016
12016
  scope: "project" | "member";
12017
- period: "day" | "lifetime" | "week";
12017
+ period: "day" | "week" | "lifetime";
12018
12018
  limit: number;
12019
12019
  cost: number | {
12020
12020
  balance: string;
@@ -12025,7 +12025,7 @@ declare function createRelayClient(options: {
12025
12025
  id: string;
12026
12026
  createdAt: number;
12027
12027
  legacy: boolean;
12028
- lifecycle: "paused" | "active" | "archived";
12028
+ lifecycle: "active" | "paused" | "archived";
12029
12029
  performance?: {
12030
12030
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12031
12031
  maxAgeMs: number;
@@ -12099,12 +12099,12 @@ declare function createRelayClient(options: {
12099
12099
  kind: "resource";
12100
12100
  default: string;
12101
12101
  source: {
12102
+ provider: "domino";
12103
+ resource: "point-ledger";
12104
+ } | {
12102
12105
  provider: "discord";
12103
12106
  resource: "channel";
12104
12107
  types: ("text" | "announcement")[];
12105
- } | {
12106
- provider: "domino";
12107
- resource: "point-ledger";
12108
12108
  } | {
12109
12109
  provider: "discord";
12110
12110
  resource: "role";
@@ -12201,7 +12201,7 @@ declare function createRelayClient(options: {
12201
12201
  start: number;
12202
12202
  end?: number | undefined;
12203
12203
  };
12204
- enrollment: "none" | "required";
12204
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
12251
+ input: "quiz" | "photo" | "none";
12252
12252
  actor?: "member" | "staff" | undefined;
12253
12253
  };
12254
12254
  requires: {
@@ -12267,7 +12267,7 @@ declare function createRelayClient(options: {
12267
12267
  budgets: {
12268
12268
  id: string;
12269
12269
  scope: "project" | "member";
12270
- period: "day" | "lifetime" | "week";
12270
+ period: "day" | "week" | "lifetime";
12271
12271
  limit: number;
12272
12272
  cost: number | {
12273
12273
  balance: string;
@@ -12278,7 +12278,7 @@ declare function createRelayClient(options: {
12278
12278
  id: string;
12279
12279
  createdAt: number;
12280
12280
  legacy: boolean;
12281
- lifecycle: "paused" | "active" | "archived";
12281
+ lifecycle: "active" | "paused" | "archived";
12282
12282
  performance?: {
12283
12283
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12284
12284
  maxAgeMs: number;
@@ -12337,7 +12337,7 @@ declare function createRelayClient(options: {
12337
12337
  } | undefined;
12338
12338
  } | undefined;
12339
12339
  };
12340
- connections: ("x" | "discord" | "google" | "apple")[];
12340
+ connections: ("discord" | "google" | "apple" | "x")[];
12341
12341
  trigger: {
12342
12342
  kind: "automatic";
12343
12343
  observation?: {
@@ -12350,7 +12350,7 @@ declare function createRelayClient(options: {
12350
12350
  start: number;
12351
12351
  end?: number | undefined;
12352
12352
  };
12353
- enrollment: "none" | "required";
12353
+ enrollment: "required" | "none";
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: "none" | "quiz" | "photo";
12400
+ input: "quiz" | "photo" | "none";
12401
12401
  actor?: "member" | "staff" | undefined;
12402
12402
  };
12403
12403
  availability: {
12404
12404
  kind: "available";
12405
- input: "text" | "url" | "none" | "quiz" | "photo";
12405
+ input: "quiz" | "text" | "url" | "photo" | "none";
12406
12406
  } | {
12407
12407
  kind: "completed";
12408
12408
  } | {
@@ -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" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12454
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
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: "text";
12489
- value: string;
12490
- } | {
12491
- kind: "url";
12492
- value: string;
12493
- } | {
12494
12488
  kind: "quiz";
12495
12489
  answers: {
12496
12490
  [k: string]: string;
12497
12491
  };
12498
12492
  release?: string | undefined;
12493
+ } | {
12494
+ kind: "text";
12495
+ value: string;
12496
+ } | {
12497
+ kind: "url";
12498
+ value: string;
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: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "content-pending" | "content-unqualified" | "waiting";
12882
+ state: "needs-review" | "failed" | "pending" | "qualified" | "content-pending" | "content-unqualified" | "waiting" | "unqualified" | "superseded";
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: "excluded" | "unresolved" | "awarded";
12889
+ state: "awarded" | "excluded" | "unresolved";
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: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed";
12898
+ state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded";
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: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "stale" | "blocked" | "unavailable";
12913
+ state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded" | "stale" | "blocked" | "unavailable";
12914
12914
  reason: string | null;
12915
12915
  reward: {
12916
12916
  attempt: string | null;
12917
12917
  completion: string | null;
12918
- state: "excluded" | "unresolved" | "awarded";
12918
+ state: "awarded" | "excluded" | "unresolved";
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: "admitted" | "pending" | "excluded";
12928
+ state: "pending" | "excluded" | "admitted";
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: "admitted" | "pending" | "excluded";
12943
+ state: "pending" | "excluded" | "admitted";
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" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12954
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
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: "text";
12989
- value: string;
12990
- } | {
12991
- kind: "url";
12992
- value: string;
12993
- } | {
12994
12988
  kind: "quiz";
12995
12989
  answers: {
12996
12990
  [k: string]: string;
12997
12991
  };
12998
12992
  release?: string | undefined;
12993
+ } | {
12994
+ kind: "text";
12995
+ value: string;
12996
+ } | {
12997
+ kind: "url";
12998
+ value: string;
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" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
13007
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
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: "text";
13042
- value: string;
13043
- } | {
13044
- kind: "url";
13045
- value: string;
13046
- } | {
13047
13041
  kind: "quiz";
13048
13042
  answers: {
13049
13043
  [k: string]: string;
13050
13044
  };
13051
13045
  release?: string | undefined;
13046
+ } | {
13047
+ kind: "text";
13048
+ value: string;
13049
+ } | {
13050
+ kind: "url";
13051
+ value: string;
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" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
13066
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
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: "text";
13101
- value: string;
13102
- } | {
13103
- kind: "url";
13104
- value: string;
13105
- } | {
13106
13100
  kind: "quiz";
13107
13101
  answers: {
13108
13102
  [k: string]: string;
13109
13103
  };
13110
13104
  release?: string | undefined;
13105
+ } | {
13106
+ kind: "text";
13107
+ value: string;
13108
+ } | {
13109
+ kind: "url";
13110
+ value: string;
13111
13111
  } | undefined;
13112
13112
  }>;
13113
13113
  };