@domino-sdk/relay 0.29.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { a7 as ValueEvidence, L as LinkedWallet, H as referralAcceptSchema, J as LeaderboardQuery, K as WalletAddressInput, M as walletSignatureSchema, N as WalletSigner, P as walletChallengeInputSchema, Q as walletProofSchema, R as AuthProvider, V as WalletSignature, Y as engagementPageQuerySchema, Z as contentQualificationQuerySchema, _ as contentAdmissionQuerySchema, $ as contentEnrollmentInputSchema, a0 as contentReleaseInputSchema } from './submission-input-C0cOmO4Q.js';
2
- export { a1 as AccountConnection, A as AdmittedContent, B as Budget, C as ContentMetric, a8 as ContentPerformancePolicy, a9 as ContentPolicy, a5 as CosmosChain, a6 as CosmosNetwork, D as DiscordMember, b as DiscordMessage, aa as EngagementDefinition, ab as EvmChain, ac as EvmChainInfo, ad as ImageAssetArtifact, ae as ImageComparison, af as ImageExtraction, ag as ImageFields, ah as ImageInspection, I as ImageReader, ai as ImageReference, aj as ImageRequest, ak as ImageSightings, i as IntegrationProvider, al as LeaderboardDefinition, a4 as LeaderboardPage, am as LeaderboardPlacement, O as Observation, an as ProjectIntegration, ao as PublishedImage, ap as QuizContent, aq as ReferralDefinition, ar as ResourceOption, as as ResourceSource, at as SettingField, au as SettingsValues, S as SolanaBalance, j as StreakPolicy, av as StreakProgress, k as TextEvidence, l as TextOptions, aw as TrackerAttribution, f as TrackerBeneficiary, ax as TrackerContent, ay as TrackerContentQuery, e as TrackerDefinition, az as TrackerOutcome, aA as TrackerOutcomeQuery, aB as TrackerPreview, aC as TrackerPreviewInput, aD as TrackerQuery, a as TrackerReader, aE as TrackerRecord, aF as TrackerStatus, T as TrackerTriggerContext, g as TrackerTriggerPolicy, U as UrlEvidence, m as UrlOptions, aG as WALLETS_PER_CHAIN, d as WalletBalance, c as WalletBalanceQuery, aH as WalletChain, W as WalletConnection, aI as WalletMessageChallenge, a2 as WalletSignInNetwork, aJ as WalletUnlinkInput, aK as XConnection, aL as XPost, aM as XProfile, X as XReader, aN as XTweet, aO as accountConnectionSchema, aP as admittedContentSchema, aQ as authProviderSchema, aR as budgetSchema, aS as caip10, aT as communityTimeZoneSchema, aU as compatibleSettingKinds, aV as completionKeySchema, aW as completionPolicySchema, n as content, aX as contentAdmissionPageSchema, aY as contentAdmissionSchema, aZ as contentEnrollmentSchema, a_ as contentMetricSchema, a$ as contentMetricsSchema, b0 as contentPerformancePolicySchema, b1 as contentPolicySchema, b2 as contentQualificationDecisionSchema, b3 as contentQualificationPageSchema, b4 as contentQualificationSchema, b5 as cosmosAddressSchema, b6 as cosmosChain, b7 as cosmosNetworkSchema, p as customSource, q as defineEngagementReward, r as defineLeaderboard, s as defineReferral, t as defineTracker, u as discord, b8 as discordMemberInputSchema, b9 as discordMemberSchema, ba as discordMessageInputSchema, bb as discordMessageSchema, bc as discordReactionSchema, bd as discordServerSchema, be as engagementArtifactSchema, bf as engagementBoundaryPageSchema, bg as engagementChangePreviewInputSchema, bh as engagementChangePreviewSchema, bi as engagementChangeSchema, bj as engagementDefinitionSchema, bk as engagementDeploymentEntrySchema, bl as engagementPageSchema, bm as engagementPublishSchema, bn as engagementRuleSchema, bo as engagementScoreInputSchema, bp as engagementScoreSchema, bq as engagementSettlementSchema, br as engagementVersionPageSchema, bs as engagementVersionQuerySchema, bt as evmAddressSchema, bu as evmChainSchema, bv as evmChains, v as formatUnits, bw as imageAssetArtifactSchema, bx as imageComparisonSchema, by as imageExtractionSchema, bz as imageFieldSchema, bA as imageFieldsSchema, bB as imageInspectionSchema, bC as imageReferenceSchema, bD as imageRequestSchema, bE as imageSightingsSchema, bF as imageUploadRequestSchema, bG as imageUploadsSchema, bH as integrationProviderSchema, bI as isContentParticipantRoute, bJ as isWalletParticipantRoute, bK as isWalletSignInRoute, bL as leaderboardArtifactSchema, bM as leaderboardAuthoringSchema, bN as leaderboardDefinitionSchema, bO as leaderboardExclusionSchema, bP as leaderboardGroupSchema, bQ as leaderboardPageSchema, bR as leaderboardPlacementSchema, bS as leaderboardPreviewSchema, bT as leaderboardQuerySchema, bU as leaderboardRowSchema, bV as leaderboardWindowSchema, bW as linkedWalletSchema, bX as missingResourceSettings, bY as observationInputSchema, bZ as observationReceiptSchema, b_ as observationSchema, o as observationTriggerSchema, b$ as parseImageExtraction, c0 as parseImageResult, c1 as parseSettings, w as parseUnits, x as perContent, y as pointLedgers, c2 as pointsAccountSchema, c3 as pointsEntrySchema, c4 as pointsMutationSchema, c5 as pointsResultSchema, c6 as projectIntegrationSchema, c7 as publishedImageSchema, c8 as publishedLeaderboardSchema, c9 as publishedReferralSchema, ca as publishedTrackerSchema, cb as quizChoiceSchema, cc as quizContentSchema, cd as quizQuestionSchema, ce as quizQuestionsSchema, cf as referralAccountSchema, cg as referralArtifactSchema, ch as referralAuthoringSchema, ci as referralControlSchema, cj as referralDefinitionSchema, ck as referralHistorySchema, cl as referralManagementSchema, cm as referralRelationshipSchema, a3 as referralSummarySchema, cn as resourceOptionsSchema, co as resourceRequestSchema, cp as resourceSourceSchema, cq as settingFieldSchema, z as settings, cr as settingsFieldsSchema, cs as settingsValuesSchema, ct as solanaAddressSchema, cu as solanaBalanceSchema, cv as solanaMainnet, E as streak, cw as streakPolicySchema, cx as streakProgressSchema, cy as textEvidenceSchema, cz as textOptionsSchema, cA as trackerArtifactSchema, cB as trackerAttributionSchema, cC as trackerBeneficiarySchema, cD as trackerContentQuerySchema, cE as trackerContentReadSchema, cF as trackerContentSchema, cG as trackerControlSchema, cH as trackerDefinitionSchema, cI as trackerEvidenceSchema, cJ as trackerIngestResultSchema, cK as trackerIngestSchema, cL as trackerOutcomePageSchema, cM as trackerOutcomeQuerySchema, cN as trackerOutcomeRetrySchema, cO as trackerOutcomeSchema, cP as trackerPageSchema, cQ as trackerPreviewInputSchema, cR as trackerPreviewLimits, cS as trackerPreviewSchema, cT as trackerQuerySchema, cU as trackerRecordInputSchema, cV as trackerRecordSchema, cW as trackerSourceSchema, cX as trackerStatusSchema, cY as trackerSummarySchema, F as trackerTriggerContextSchema, cZ as trackerTriggerPolicySchema, c_ as trackerTriggerRecordSchema, c$ as urlEvidenceSchema, d0 as urlOptionsSchema, d1 as validateSubmissionValue, d2 as valueEvidenceSchema, d3 as walletAddressInput, d4 as walletAddressInputSchema, d5 as walletBalanceSchema, d6 as walletChainSchema, d7 as walletChallengeSchema, d8 as walletConnectionSchema, d9 as walletMessageChallengeSchema, da as walletSignInFamilies, db as walletSignInNetwork, dc as walletSignInNetworkSchema, dd as walletSignInNetworksSchema, de as walletUnlinkInputSchema, G as x, df as xConnectionSchema, dg as xContentBodySchema, dh as xIdSchema, di as xPostId, dj as xPostSchema, dk as xProfileSchema, dl as xRequestSchema, dm as xTweetSchema } from './submission-input-C0cOmO4Q.js';
1
+ import { a9 as ValueEvidence, L as LinkedWallet, K as referralAcceptSchema, M as LeaderboardQuery, N as WalletAddressInput, P as walletSignatureSchema, Q as WalletSigner, R as walletChallengeInputSchema, V as walletProofSchema, Y as AuthProvider, Z as WalletSignature, _ as engagementPageQuerySchema, $ as contentQualificationQuerySchema, a0 as contentAdmissionQuerySchema, a1 as contentEnrollmentInputSchema, a2 as contentReleaseInputSchema } from './submission-input-B6f27BHm.js';
2
+ export { a3 as AccountConnection, A as AdmittedContent, B as Budget, C as ContentMetric, aa as ContentPerformancePolicy, ab as ContentPolicy, a7 as CosmosChain, a8 as CosmosNetwork, D as DiscordMember, b as DiscordMessage, ac as EngagementDefinition, E as EvmChainId, ad as ImageAssetArtifact, ae as ImageComparison, af as ImageExtraction, ag as ImageFields, ah as ImageInspection, I as ImageReader, ai as ImageReference, aj as ImageRequest, ak as ImageSightings, i as IntegrationProvider, al as LeaderboardDefinition, a6 as LeaderboardPage, am as LeaderboardPlacement, O as Observation, an as ProjectIntegration, ao as PublishedImage, ap as QuizContent, aq as ReferralDefinition, ar as ResourceOption, as as ResourceSource, at as SettingField, au as SettingsValues, S as SolanaBalance, j as StreakPolicy, av as StreakProgress, k as TextEvidence, l as TextOptions, aw as TrackerAttribution, f as TrackerBeneficiary, ax as TrackerContent, ay as TrackerContentQuery, e as TrackerDefinition, az as TrackerOutcome, aA as TrackerOutcomeQuery, aB as TrackerPreview, aC as TrackerPreviewInput, aD as TrackerQuery, a as TrackerReader, aE as TrackerRecord, aF as TrackerStatus, T as TrackerTriggerContext, g as TrackerTriggerPolicy, U as UrlEvidence, m as UrlOptions, aG as WALLETS_PER_CHAIN, d as WalletBalance, c as WalletBalanceQuery, aH as WalletChain, W as WalletConnection, aI as WalletMessageChallenge, a4 as WalletSignInNetwork, aJ as WalletUnlinkInput, aK as XConnection, aL as XPost, aM as XProfile, X as XReader, aN as XTweet, aO as accountConnectionSchema, aP as admittedContentSchema, aQ as authProviderSchema, aR as budgetSchema, aS as caip10, aT as communityTimeZoneSchema, aU as compatibleSettingKinds, aV as completionKeySchema, aW as completionPolicySchema, n as content, aX as contentAdmissionPageSchema, aY as contentAdmissionSchema, aZ as contentEnrollmentSchema, a_ as contentMetricSchema, a$ as contentMetricsSchema, b0 as contentPerformancePolicySchema, b1 as contentPolicySchema, b2 as contentQualificationDecisionSchema, b3 as contentQualificationPageSchema, b4 as contentQualificationSchema, b5 as cosmosAddressSchema, b6 as cosmosChain, b7 as cosmosNetworkSchema, p as customSource, q as defineEngagementReward, r as defineLeaderboard, s as defineReferral, t as defineTracker, u as discord, b8 as discordMemberInputSchema, b9 as discordMemberSchema, ba as discordMessageInputSchema, bb as discordMessageSchema, bc as discordReactionSchema, bd as discordServerSchema, be as engagementArtifactSchema, bf as engagementBoundaryPageSchema, bg as engagementChangePreviewInputSchema, bh as engagementChangePreviewSchema, bi as engagementChangeSchema, bj as engagementDefinitionSchema, bk as engagementDeploymentEntrySchema, bl as engagementPageSchema, bm as engagementPublishSchema, bn as engagementRuleSchema, bo as engagementScoreInputSchema, bp as engagementScoreSchema, bq as engagementSettlementSchema, br as engagementVersionPageSchema, bs as engagementVersionQuerySchema, bt as evmAddressSchema, bu as evmChainIdSchema, v as formatUnits, bv as imageAssetArtifactSchema, bw as imageComparisonSchema, bx as imageExtractionSchema, by as imageFieldSchema, bz as imageFieldsSchema, bA as imageInspectionSchema, bB as imageReferenceSchema, bC as imageRequestSchema, bD as imageSightingsSchema, bE as imageUploadRequestSchema, bF as imageUploadsSchema, bG as integrationProviderSchema, bH as isContentParticipantRoute, w as isEvmChainId, bI as isWalletParticipantRoute, bJ as isWalletSignInRoute, bK as leaderboardArtifactSchema, bL as leaderboardAuthoringSchema, bM as leaderboardDefinitionSchema, bN as leaderboardExclusionSchema, bO as leaderboardGroupSchema, bP as leaderboardPageSchema, bQ as leaderboardPlacementSchema, bR as leaderboardPreviewSchema, bS as leaderboardQuerySchema, bT as leaderboardRowSchema, bU as leaderboardWindowSchema, bV as linkedWalletSchema, bW as missingResourceSettings, bX as observationInputSchema, bY as observationReceiptSchema, bZ as observationSchema, o as observationTriggerSchema, b_ as parseImageExtraction, b$ as parseImageResult, c0 as parseSettings, x as parseUnits, y as perContent, z as pointLedgers, c1 as pointsAccountSchema, c2 as pointsEntrySchema, c3 as pointsMutationSchema, c4 as pointsResultSchema, c5 as projectIntegrationSchema, c6 as publishedImageSchema, c7 as publishedLeaderboardSchema, c8 as publishedReferralSchema, c9 as publishedTrackerSchema, ca as quizChoiceSchema, cb as quizContentSchema, cc as quizQuestionSchema, cd as quizQuestionsSchema, ce as referralAccountSchema, cf as referralArtifactSchema, cg as referralAuthoringSchema, ch as referralControlSchema, ci as referralDefinitionSchema, cj as referralHistorySchema, ck as referralManagementSchema, cl as referralRelationshipSchema, a5 as referralSummarySchema, cm as resourceOptionsSchema, cn as resourceRequestSchema, co as resourceSourceSchema, cp as settingFieldSchema, F as settings, cq as settingsFieldsSchema, cr as settingsValuesSchema, cs as solanaAddressSchema, ct as solanaBalanceSchema, cu as solanaMainnet, G as streak, cv as streakPolicySchema, cw as streakProgressSchema, cx as textEvidenceSchema, cy as textOptionsSchema, cz as trackerArtifactSchema, cA as trackerAttributionSchema, cB as trackerBeneficiarySchema, cC as trackerContentQuerySchema, cD as trackerContentReadSchema, cE as trackerContentSchema, cF as trackerControlSchema, cG as trackerDefinitionSchema, cH as trackerEvidenceSchema, cI as trackerIngestResultSchema, cJ as trackerIngestSchema, cK as trackerOutcomePageSchema, cL as trackerOutcomeQuerySchema, cM as trackerOutcomeRetrySchema, cN as trackerOutcomeSchema, cO as trackerPageSchema, cP as trackerPreviewInputSchema, cQ as trackerPreviewLimits, cR as trackerPreviewSchema, cS as trackerQuerySchema, cT as trackerRecordInputSchema, cU as trackerRecordSchema, cV as trackerSourceSchema, cW as trackerStatusSchema, cX as trackerSummarySchema, H as trackerTriggerContextSchema, cY as trackerTriggerPolicySchema, cZ as trackerTriggerRecordSchema, c_ as urlEvidenceSchema, c$ as urlOptionsSchema, d0 as validateSubmissionValue, d1 as valueEvidenceSchema, d2 as walletAddressInput, d3 as walletAddressInputSchema, d4 as walletBalanceSchema, d5 as walletChainSchema, d6 as walletChallengeSchema, d7 as walletConnectionSchema, d8 as walletMessageChallengeSchema, d9 as walletSignInFamilies, da as walletSignInNetwork, db as walletSignInNetworkSchema, dc as walletSignInNetworksSchema, dd as walletUnlinkInputSchema, J as x, de as xConnectionSchema, df as xContentBodySchema, dg as xIdSchema, dh as xPostId, di as xPostSchema, dj as xProfileSchema, dk as xRequestSchema, dl as xTweetSchema } from './submission-input-B6f27BHm.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";
@@ -469,8 +469,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
469
469
  }>;
470
470
  period: z.ZodEnum<{
471
471
  day: "day";
472
- lifetime: "lifetime";
473
472
  week: "week";
473
+ lifetime: "lifetime";
474
474
  }>;
475
475
  limit: z.ZodNumber;
476
476
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -500,7 +500,7 @@ declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
500
500
  title: string;
501
501
  key?: string | undefined;
502
502
  id?: string | undefined;
503
- }, "id" | "key"> & {
503
+ }, "key" | "id"> & {
504
504
  key: string;
505
505
  }, {
506
506
  title: string;
@@ -528,8 +528,8 @@ declare const questInstanceSchema: z.ZodObject<{
528
528
  }, z.core.$strict>>]>>;
529
529
  requires: z.ZodArray<z.ZodString>;
530
530
  status: z.ZodEnum<{
531
- paused: "paused";
532
531
  active: "active";
532
+ paused: "paused";
533
533
  archived: "archived";
534
534
  }>;
535
535
  }, z.core.$strict>;
@@ -549,8 +549,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
549
549
  }, z.core.$strict>>]>>;
550
550
  requires: z.ZodArray<z.ZodString>;
551
551
  status: z.ZodEnum<{
552
- paused: "paused";
553
552
  active: "active";
553
+ paused: "paused";
554
554
  archived: "archived";
555
555
  }>;
556
556
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -582,8 +582,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
582
582
  }, z.core.$strict>>]>>;
583
583
  requires: z.ZodArray<z.ZodString>;
584
584
  status: z.ZodEnum<{
585
- paused: "paused";
586
585
  active: "active";
586
+ paused: "paused";
587
587
  archived: "archived";
588
588
  }>;
589
589
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -616,8 +616,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
616
616
  }, z.core.$strict>>]>>;
617
617
  requires: z.ZodArray<z.ZodString>;
618
618
  status: z.ZodEnum<{
619
- paused: "paused";
620
619
  active: "active";
620
+ paused: "paused";
621
621
  archived: "archived";
622
622
  }>;
623
623
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -799,9 +799,9 @@ declare const questCatalogSchema: z.ZodObject<{
799
799
  }, z.core.$strict>, z.ZodObject<{
800
800
  kind: z.ZodLiteral<"manual">;
801
801
  input: z.ZodEnum<{
802
- none: "none";
803
802
  quiz: "quiz";
804
803
  photo: "photo";
804
+ none: "none";
805
805
  }>;
806
806
  actor: z.ZodOptional<z.ZodEnum<{
807
807
  member: "member";
@@ -820,8 +820,8 @@ declare const questCatalogSchema: z.ZodObject<{
820
820
  end: z.ZodOptional<z.ZodNumber>;
821
821
  }, z.core.$strict>;
822
822
  enrollment: z.ZodDefault<z.ZodEnum<{
823
- none: "none";
824
823
  required: "required";
824
+ none: "none";
825
825
  }>>;
826
826
  posts: z.ZodDefault<z.ZodEnum<{
827
827
  "after-enrollment": "after-enrollment";
@@ -884,8 +884,8 @@ declare const questCatalogSchema: z.ZodObject<{
884
884
  }>;
885
885
  period: z.ZodEnum<{
886
886
  day: "day";
887
- lifetime: "lifetime";
888
887
  week: "week";
888
+ lifetime: "lifetime";
889
889
  }>;
890
890
  limit: z.ZodNumber;
891
891
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -923,8 +923,8 @@ declare const questCatalogSchema: z.ZodObject<{
923
923
  }, z.core.$strict>>]>>;
924
924
  requires: z.ZodArray<z.ZodString>;
925
925
  status: z.ZodEnum<{
926
- paused: "paused";
927
926
  active: "active";
927
+ paused: "paused";
928
928
  archived: "archived";
929
929
  }>;
930
930
  }, z.core.$strict>>;
@@ -948,8 +948,8 @@ declare const questCatalogSchema: z.ZodObject<{
948
948
  }, z.core.$strict>>]>>;
949
949
  requires: z.ZodArray<z.ZodString>;
950
950
  status: z.ZodEnum<{
951
- paused: "paused";
952
951
  active: "active";
952
+ paused: "paused";
953
953
  archived: "archived";
954
954
  }>;
955
955
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -982,8 +982,8 @@ declare const questCatalogSchema: z.ZodObject<{
982
982
  }, z.core.$strict>>]>>;
983
983
  requires: z.ZodArray<z.ZodString>;
984
984
  status: z.ZodEnum<{
985
- paused: "paused";
986
985
  active: "active";
986
+ paused: "paused";
987
987
  archived: "archived";
988
988
  }>;
989
989
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -1158,9 +1158,9 @@ declare const questCatalogSchema: z.ZodObject<{
1158
1158
  }, z.core.$strict>, z.ZodObject<{
1159
1159
  kind: z.ZodLiteral<"manual">;
1160
1160
  input: z.ZodEnum<{
1161
- none: "none";
1162
1161
  quiz: "quiz";
1163
1162
  photo: "photo";
1163
+ none: "none";
1164
1164
  }>;
1165
1165
  actor: z.ZodOptional<z.ZodEnum<{
1166
1166
  member: "member";
@@ -1179,8 +1179,8 @@ declare const questCatalogSchema: z.ZodObject<{
1179
1179
  end: z.ZodOptional<z.ZodNumber>;
1180
1180
  }, z.core.$strict>;
1181
1181
  enrollment: z.ZodDefault<z.ZodEnum<{
1182
- none: "none";
1183
1182
  required: "required";
1183
+ none: "none";
1184
1184
  }>>;
1185
1185
  posts: z.ZodDefault<z.ZodEnum<{
1186
1186
  "after-enrollment": "after-enrollment";
@@ -1243,8 +1243,8 @@ declare const questCatalogSchema: z.ZodObject<{
1243
1243
  }>;
1244
1244
  period: z.ZodEnum<{
1245
1245
  day: "day";
1246
- lifetime: "lifetime";
1247
1246
  week: "week";
1247
+ lifetime: "lifetime";
1248
1248
  }>;
1249
1249
  limit: z.ZodNumber;
1250
1250
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -1267,8 +1267,8 @@ declare const questCatalogSchema: z.ZodObject<{
1267
1267
  typeVersion: z.ZodString;
1268
1268
  }, z.core.$strict>>;
1269
1269
  lifecycle: z.ZodDefault<z.ZodEnum<{
1270
- paused: "paused";
1271
1270
  active: "active";
1271
+ paused: "paused";
1272
1272
  archived: "archived";
1273
1273
  }>>;
1274
1274
  configuration: z.ZodOptional<z.ZodObject<{
@@ -1373,12 +1373,12 @@ declare const questCatalogSchema: z.ZodObject<{
1373
1373
  kind: "resource";
1374
1374
  default: string;
1375
1375
  source: {
1376
+ provider: "domino";
1377
+ resource: "point-ledger";
1378
+ } | {
1376
1379
  provider: "discord";
1377
1380
  resource: "channel";
1378
1381
  types: ("text" | "announcement")[];
1379
- } | {
1380
- provider: "domino";
1381
- resource: "point-ledger";
1382
1382
  } | {
1383
1383
  provider: "discord";
1384
1384
  resource: "role";
@@ -1475,7 +1475,7 @@ declare const questCatalogSchema: z.ZodObject<{
1475
1475
  start: number;
1476
1476
  end?: number | undefined;
1477
1477
  };
1478
- enrollment: "none" | "required";
1478
+ enrollment: "required" | "none";
1479
1479
  posts: "after-enrollment" | "since-start";
1480
1480
  historical: "staff" | "automatic" | "claim";
1481
1481
  } | undefined;
@@ -1503,7 +1503,7 @@ declare const questCatalogSchema: z.ZodObject<{
1503
1503
  actor?: "member" | "staff" | undefined;
1504
1504
  } | {
1505
1505
  kind: "manual";
1506
- input: "none" | "quiz" | "photo";
1506
+ input: "quiz" | "photo" | "none";
1507
1507
  actor?: "member" | "staff" | undefined;
1508
1508
  };
1509
1509
  requires: {
@@ -1523,7 +1523,7 @@ declare const questCatalogSchema: z.ZodObject<{
1523
1523
  budgets: {
1524
1524
  id: string;
1525
1525
  scope: "project" | "member";
1526
- period: "day" | "lifetime" | "week";
1526
+ period: "day" | "week" | "lifetime";
1527
1527
  limit: number;
1528
1528
  cost: number | {
1529
1529
  balance: string;
@@ -1534,7 +1534,7 @@ declare const questCatalogSchema: z.ZodObject<{
1534
1534
  id: string;
1535
1535
  createdAt: number;
1536
1536
  legacy: boolean;
1537
- lifecycle: "paused" | "active" | "archived";
1537
+ lifecycle: "active" | "paused" | "archived";
1538
1538
  performance?: {
1539
1539
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1540
1540
  maxAgeMs: number;
@@ -1606,12 +1606,12 @@ declare const questCatalogSchema: z.ZodObject<{
1606
1606
  }>>]>>>;
1607
1607
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1608
1608
  staff: "staff";
1609
+ quiz: "quiz";
1609
1610
  text: "text";
1610
1611
  url: "url";
1612
+ photo: "photo";
1611
1613
  automatic: "automatic";
1612
1614
  claim: "claim";
1613
- quiz: "quiz";
1614
- photo: "photo";
1615
1615
  }>>;
1616
1616
  }, z.core.$strip>;
1617
1617
  declare const catalogDeploymentSchema: z.ZodObject<{
@@ -1630,7 +1630,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1630
1630
  title: string;
1631
1631
  key?: string | undefined;
1632
1632
  id?: string | undefined;
1633
- }, "id" | "key"> & {
1633
+ }, "key" | "id"> & {
1634
1634
  key: string;
1635
1635
  }, {
1636
1636
  title: string;
@@ -1639,12 +1639,12 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1639
1639
  }>>>>;
1640
1640
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1641
1641
  staff: "staff";
1642
+ quiz: "quiz";
1642
1643
  text: "text";
1643
1644
  url: "url";
1645
+ photo: "photo";
1644
1646
  automatic: "automatic";
1645
1647
  claim: "claim";
1646
- quiz: "quiz";
1647
- photo: "photo";
1648
1648
  }>>>;
1649
1649
  }, z.core.$strict>;
1650
1650
  declare const catalogDeploymentPreviewSchema: z.ZodObject<{
@@ -1814,9 +1814,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1814
1814
  }, z.core.$strict>, z.ZodObject<{
1815
1815
  kind: z.ZodLiteral<"manual">;
1816
1816
  input: z.ZodEnum<{
1817
- none: "none";
1818
1817
  quiz: "quiz";
1819
1818
  photo: "photo";
1819
+ none: "none";
1820
1820
  }>;
1821
1821
  actor: z.ZodOptional<z.ZodEnum<{
1822
1822
  member: "member";
@@ -1835,8 +1835,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1835
1835
  end: z.ZodOptional<z.ZodNumber>;
1836
1836
  }, z.core.$strict>;
1837
1837
  enrollment: z.ZodDefault<z.ZodEnum<{
1838
- none: "none";
1839
1838
  required: "required";
1839
+ none: "none";
1840
1840
  }>>;
1841
1841
  posts: z.ZodDefault<z.ZodEnum<{
1842
1842
  "after-enrollment": "after-enrollment";
@@ -1899,8 +1899,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1899
1899
  }>;
1900
1900
  period: z.ZodEnum<{
1901
1901
  day: "day";
1902
- lifetime: "lifetime";
1903
1902
  week: "week";
1903
+ lifetime: "lifetime";
1904
1904
  }>;
1905
1905
  limit: z.ZodNumber;
1906
1906
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -1924,12 +1924,12 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1924
1924
  }, z.core.$strict>>;
1925
1925
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1926
1926
  staff: "staff";
1927
+ quiz: "quiz";
1927
1928
  text: "text";
1928
1929
  url: "url";
1930
+ photo: "photo";
1929
1931
  automatic: "automatic";
1930
1932
  claim: "claim";
1931
- quiz: "quiz";
1932
- photo: "photo";
1933
1933
  }>>;
1934
1934
  }, z.core.$strip>;
1935
1935
  declare const saveQuestDraftSchema: z.ZodObject<{
@@ -1953,8 +1953,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
1953
1953
  }, z.core.$strict>>]>>;
1954
1954
  requires: z.ZodArray<z.ZodString>;
1955
1955
  status: z.ZodEnum<{
1956
- paused: "paused";
1957
1956
  active: "active";
1957
+ paused: "paused";
1958
1958
  archived: "archived";
1959
1959
  }>;
1960
1960
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -2022,10 +2022,10 @@ declare const questViewSchema: z.ZodObject<{
2022
2022
  }, z.core.$strict>>;
2023
2023
  }, z.core.$strict>>;
2024
2024
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2025
- x: "x";
2026
2025
  discord: "discord";
2027
2026
  google: "google";
2028
2027
  apple: "apple";
2028
+ x: "x";
2029
2029
  }>>>;
2030
2030
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2031
2031
  kind: z.ZodLiteral<"manual">;
@@ -2053,9 +2053,9 @@ declare const questViewSchema: z.ZodObject<{
2053
2053
  }, z.core.$strict>, z.ZodObject<{
2054
2054
  kind: z.ZodLiteral<"manual">;
2055
2055
  input: z.ZodEnum<{
2056
- none: "none";
2057
2056
  quiz: "quiz";
2058
2057
  photo: "photo";
2058
+ none: "none";
2059
2059
  }>;
2060
2060
  actor: z.ZodOptional<z.ZodEnum<{
2061
2061
  member: "member";
@@ -2074,8 +2074,8 @@ declare const questViewSchema: z.ZodObject<{
2074
2074
  end: z.ZodOptional<z.ZodNumber>;
2075
2075
  }, z.core.$strict>;
2076
2076
  enrollment: z.ZodDefault<z.ZodEnum<{
2077
- none: "none";
2078
2077
  required: "required";
2078
+ none: "none";
2079
2079
  }>>;
2080
2080
  posts: z.ZodDefault<z.ZodEnum<{
2081
2081
  "after-enrollment": "after-enrollment";
@@ -2102,11 +2102,11 @@ declare const questViewSchema: z.ZodObject<{
2102
2102
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2103
2103
  kind: z.ZodLiteral<"available">;
2104
2104
  input: z.ZodEnum<{
2105
+ quiz: "quiz";
2105
2106
  text: "text";
2106
2107
  url: "url";
2107
- none: "none";
2108
- quiz: "quiz";
2109
2108
  photo: "photo";
2109
+ none: "none";
2110
2110
  }>;
2111
2111
  }, z.core.$strict>, z.ZodObject<{
2112
2112
  kind: z.ZodLiteral<"completed">;
@@ -2203,13 +2203,13 @@ declare const questViewSchema: z.ZodObject<{
2203
2203
  value: z.ZodString;
2204
2204
  }, z.core.$strict>]>>;
2205
2205
  status: z.ZodEnum<{
2206
- "needs-review": "needs-review";
2207
- failed: "failed";
2208
2206
  queued: "queued";
2209
2207
  evaluating: "evaluating";
2210
2208
  accepted: "accepted";
2211
2209
  progressed: "progressed";
2212
2210
  rejected: "rejected";
2211
+ "needs-review": "needs-review";
2212
+ failed: "failed";
2213
2213
  }>;
2214
2214
  reason: z.ZodNullable<z.ZodString>;
2215
2215
  retries: z.ZodNumber;
@@ -2247,16 +2247,16 @@ declare const questViewSchema: z.ZodObject<{
2247
2247
  release: z.ZodString;
2248
2248
  interaction: z.ZodEnum<{
2249
2249
  staff: "staff";
2250
+ quiz: "quiz";
2250
2251
  text: "text";
2251
2252
  url: "url";
2253
+ photo: "photo";
2252
2254
  automatic: "automatic";
2253
2255
  claim: "claim";
2254
- quiz: "quiz";
2255
- photo: "photo";
2256
2256
  }>;
2257
2257
  lifecycle: z.ZodEnum<{
2258
- paused: "paused";
2259
2258
  active: "active";
2259
+ paused: "paused";
2260
2260
  archived: "archived";
2261
2261
  }>;
2262
2262
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2311,10 +2311,10 @@ declare const collectionViewSchema: z.ZodObject<{
2311
2311
  }, z.core.$strict>>;
2312
2312
  }, z.core.$strict>>;
2313
2313
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2314
- x: "x";
2315
2314
  discord: "discord";
2316
2315
  google: "google";
2317
2316
  apple: "apple";
2317
+ x: "x";
2318
2318
  }>>>;
2319
2319
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2320
2320
  kind: z.ZodLiteral<"manual">;
@@ -2342,9 +2342,9 @@ declare const collectionViewSchema: z.ZodObject<{
2342
2342
  }, z.core.$strict>, z.ZodObject<{
2343
2343
  kind: z.ZodLiteral<"manual">;
2344
2344
  input: z.ZodEnum<{
2345
- none: "none";
2346
2345
  quiz: "quiz";
2347
2346
  photo: "photo";
2347
+ none: "none";
2348
2348
  }>;
2349
2349
  actor: z.ZodOptional<z.ZodEnum<{
2350
2350
  member: "member";
@@ -2363,8 +2363,8 @@ declare const collectionViewSchema: z.ZodObject<{
2363
2363
  end: z.ZodOptional<z.ZodNumber>;
2364
2364
  }, z.core.$strict>;
2365
2365
  enrollment: z.ZodDefault<z.ZodEnum<{
2366
- none: "none";
2367
2366
  required: "required";
2367
+ none: "none";
2368
2368
  }>>;
2369
2369
  posts: z.ZodDefault<z.ZodEnum<{
2370
2370
  "after-enrollment": "after-enrollment";
@@ -2391,11 +2391,11 @@ declare const collectionViewSchema: z.ZodObject<{
2391
2391
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2392
2392
  kind: z.ZodLiteral<"available">;
2393
2393
  input: z.ZodEnum<{
2394
+ quiz: "quiz";
2394
2395
  text: "text";
2395
2396
  url: "url";
2396
- none: "none";
2397
- quiz: "quiz";
2398
2397
  photo: "photo";
2398
+ none: "none";
2399
2399
  }>;
2400
2400
  }, z.core.$strict>, z.ZodObject<{
2401
2401
  kind: z.ZodLiteral<"completed">;
@@ -2492,13 +2492,13 @@ declare const collectionViewSchema: z.ZodObject<{
2492
2492
  value: z.ZodString;
2493
2493
  }, z.core.$strict>]>>;
2494
2494
  status: z.ZodEnum<{
2495
- "needs-review": "needs-review";
2496
- failed: "failed";
2497
2495
  queued: "queued";
2498
2496
  evaluating: "evaluating";
2499
2497
  accepted: "accepted";
2500
2498
  progressed: "progressed";
2501
2499
  rejected: "rejected";
2500
+ "needs-review": "needs-review";
2501
+ failed: "failed";
2502
2502
  }>;
2503
2503
  reason: z.ZodNullable<z.ZodString>;
2504
2504
  retries: z.ZodNumber;
@@ -2536,16 +2536,16 @@ declare const collectionViewSchema: z.ZodObject<{
2536
2536
  release: z.ZodString;
2537
2537
  interaction: z.ZodEnum<{
2538
2538
  staff: "staff";
2539
+ quiz: "quiz";
2539
2540
  text: "text";
2540
2541
  url: "url";
2542
+ photo: "photo";
2541
2543
  automatic: "automatic";
2542
2544
  claim: "claim";
2543
- quiz: "quiz";
2544
- photo: "photo";
2545
2545
  }>;
2546
2546
  lifecycle: z.ZodEnum<{
2547
- paused: "paused";
2548
2547
  active: "active";
2548
+ paused: "paused";
2549
2549
  archived: "archived";
2550
2550
  }>;
2551
2551
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2599,10 +2599,10 @@ declare const questExperienceSchema: z.ZodObject<{
2599
2599
  }, z.core.$strict>>;
2600
2600
  }, z.core.$strict>>;
2601
2601
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2602
- x: "x";
2603
2602
  discord: "discord";
2604
2603
  google: "google";
2605
2604
  apple: "apple";
2605
+ x: "x";
2606
2606
  }>>>;
2607
2607
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2608
2608
  kind: z.ZodLiteral<"manual">;
@@ -2630,9 +2630,9 @@ declare const questExperienceSchema: z.ZodObject<{
2630
2630
  }, z.core.$strict>, z.ZodObject<{
2631
2631
  kind: z.ZodLiteral<"manual">;
2632
2632
  input: z.ZodEnum<{
2633
- none: "none";
2634
2633
  quiz: "quiz";
2635
2634
  photo: "photo";
2635
+ none: "none";
2636
2636
  }>;
2637
2637
  actor: z.ZodOptional<z.ZodEnum<{
2638
2638
  member: "member";
@@ -2651,8 +2651,8 @@ declare const questExperienceSchema: z.ZodObject<{
2651
2651
  end: z.ZodOptional<z.ZodNumber>;
2652
2652
  }, z.core.$strict>;
2653
2653
  enrollment: z.ZodDefault<z.ZodEnum<{
2654
- none: "none";
2655
2654
  required: "required";
2655
+ none: "none";
2656
2656
  }>>;
2657
2657
  posts: z.ZodDefault<z.ZodEnum<{
2658
2658
  "after-enrollment": "after-enrollment";
@@ -2679,11 +2679,11 @@ declare const questExperienceSchema: z.ZodObject<{
2679
2679
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2680
2680
  kind: z.ZodLiteral<"available">;
2681
2681
  input: z.ZodEnum<{
2682
+ quiz: "quiz";
2682
2683
  text: "text";
2683
2684
  url: "url";
2684
- none: "none";
2685
- quiz: "quiz";
2686
2685
  photo: "photo";
2686
+ none: "none";
2687
2687
  }>;
2688
2688
  }, z.core.$strict>, z.ZodObject<{
2689
2689
  kind: z.ZodLiteral<"completed">;
@@ -2780,13 +2780,13 @@ declare const questExperienceSchema: z.ZodObject<{
2780
2780
  value: z.ZodString;
2781
2781
  }, z.core.$strict>]>>;
2782
2782
  status: z.ZodEnum<{
2783
- "needs-review": "needs-review";
2784
- failed: "failed";
2785
2783
  queued: "queued";
2786
2784
  evaluating: "evaluating";
2787
2785
  accepted: "accepted";
2788
2786
  progressed: "progressed";
2789
2787
  rejected: "rejected";
2788
+ "needs-review": "needs-review";
2789
+ failed: "failed";
2790
2790
  }>;
2791
2791
  reason: z.ZodNullable<z.ZodString>;
2792
2792
  retries: z.ZodNumber;
@@ -2824,16 +2824,16 @@ declare const questExperienceSchema: z.ZodObject<{
2824
2824
  release: z.ZodString;
2825
2825
  interaction: z.ZodEnum<{
2826
2826
  staff: "staff";
2827
+ quiz: "quiz";
2827
2828
  text: "text";
2828
2829
  url: "url";
2830
+ photo: "photo";
2829
2831
  automatic: "automatic";
2830
2832
  claim: "claim";
2831
- quiz: "quiz";
2832
- photo: "photo";
2833
2833
  }>;
2834
2834
  lifecycle: z.ZodEnum<{
2835
- paused: "paused";
2836
2835
  active: "active";
2836
+ paused: "paused";
2837
2837
  archived: "archived";
2838
2838
  }>;
2839
2839
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2888,10 +2888,10 @@ declare const questExperienceSchema: z.ZodObject<{
2888
2888
  }, z.core.$strict>>;
2889
2889
  }, z.core.$strict>>;
2890
2890
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2891
- x: "x";
2892
2891
  discord: "discord";
2893
2892
  google: "google";
2894
2893
  apple: "apple";
2894
+ x: "x";
2895
2895
  }>>>;
2896
2896
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2897
2897
  kind: z.ZodLiteral<"manual">;
@@ -2919,9 +2919,9 @@ declare const questExperienceSchema: z.ZodObject<{
2919
2919
  }, z.core.$strict>, z.ZodObject<{
2920
2920
  kind: z.ZodLiteral<"manual">;
2921
2921
  input: z.ZodEnum<{
2922
- none: "none";
2923
2922
  quiz: "quiz";
2924
2923
  photo: "photo";
2924
+ none: "none";
2925
2925
  }>;
2926
2926
  actor: z.ZodOptional<z.ZodEnum<{
2927
2927
  member: "member";
@@ -2940,8 +2940,8 @@ declare const questExperienceSchema: z.ZodObject<{
2940
2940
  end: z.ZodOptional<z.ZodNumber>;
2941
2941
  }, z.core.$strict>;
2942
2942
  enrollment: z.ZodDefault<z.ZodEnum<{
2943
- none: "none";
2944
2943
  required: "required";
2944
+ none: "none";
2945
2945
  }>>;
2946
2946
  posts: z.ZodDefault<z.ZodEnum<{
2947
2947
  "after-enrollment": "after-enrollment";
@@ -2968,11 +2968,11 @@ declare const questExperienceSchema: z.ZodObject<{
2968
2968
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2969
2969
  kind: z.ZodLiteral<"available">;
2970
2970
  input: z.ZodEnum<{
2971
+ quiz: "quiz";
2971
2972
  text: "text";
2972
2973
  url: "url";
2973
- none: "none";
2974
- quiz: "quiz";
2975
2974
  photo: "photo";
2975
+ none: "none";
2976
2976
  }>;
2977
2977
  }, z.core.$strict>, z.ZodObject<{
2978
2978
  kind: z.ZodLiteral<"completed">;
@@ -3069,13 +3069,13 @@ declare const questExperienceSchema: z.ZodObject<{
3069
3069
  value: z.ZodString;
3070
3070
  }, z.core.$strict>]>>;
3071
3071
  status: z.ZodEnum<{
3072
- "needs-review": "needs-review";
3073
- failed: "failed";
3074
3072
  queued: "queued";
3075
3073
  evaluating: "evaluating";
3076
3074
  accepted: "accepted";
3077
3075
  progressed: "progressed";
3078
3076
  rejected: "rejected";
3077
+ "needs-review": "needs-review";
3078
+ failed: "failed";
3079
3079
  }>;
3080
3080
  reason: z.ZodNullable<z.ZodString>;
3081
3081
  retries: z.ZodNumber;
@@ -3113,16 +3113,16 @@ declare const questExperienceSchema: z.ZodObject<{
3113
3113
  release: z.ZodString;
3114
3114
  interaction: z.ZodEnum<{
3115
3115
  staff: "staff";
3116
+ quiz: "quiz";
3116
3117
  text: "text";
3117
3118
  url: "url";
3119
+ photo: "photo";
3118
3120
  automatic: "automatic";
3119
3121
  claim: "claim";
3120
- quiz: "quiz";
3121
- photo: "photo";
3122
3122
  }>;
3123
3123
  lifecycle: z.ZodEnum<{
3124
- paused: "paused";
3125
3124
  active: "active";
3125
+ paused: "paused";
3126
3126
  archived: "archived";
3127
3127
  }>;
3128
3128
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3176,8 +3176,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3176
3176
  }, z.core.$strict>>]>>;
3177
3177
  requires: z.ZodArray<z.ZodString>;
3178
3178
  status: z.ZodEnum<{
3179
- paused: "paused";
3180
3179
  active: "active";
3180
+ paused: "paused";
3181
3181
  archived: "archived";
3182
3182
  }>;
3183
3183
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -3210,8 +3210,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3210
3210
  }, z.core.$strict>>]>>;
3211
3211
  requires: z.ZodArray<z.ZodString>;
3212
3212
  status: z.ZodEnum<{
3213
- paused: "paused";
3214
3213
  active: "active";
3214
+ paused: "paused";
3215
3215
  archived: "archived";
3216
3216
  }>;
3217
3217
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -3386,9 +3386,9 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3386
3386
  }, z.core.$strict>, z.ZodObject<{
3387
3387
  kind: z.ZodLiteral<"manual">;
3388
3388
  input: z.ZodEnum<{
3389
- none: "none";
3390
3389
  quiz: "quiz";
3391
3390
  photo: "photo";
3391
+ none: "none";
3392
3392
  }>;
3393
3393
  actor: z.ZodOptional<z.ZodEnum<{
3394
3394
  member: "member";
@@ -3407,8 +3407,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3407
3407
  end: z.ZodOptional<z.ZodNumber>;
3408
3408
  }, z.core.$strict>;
3409
3409
  enrollment: z.ZodDefault<z.ZodEnum<{
3410
- none: "none";
3411
3410
  required: "required";
3411
+ none: "none";
3412
3412
  }>>;
3413
3413
  posts: z.ZodDefault<z.ZodEnum<{
3414
3414
  "after-enrollment": "after-enrollment";
@@ -3471,8 +3471,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3471
3471
  }>;
3472
3472
  period: z.ZodEnum<{
3473
3473
  day: "day";
3474
- lifetime: "lifetime";
3475
3474
  week: "week";
3475
+ lifetime: "lifetime";
3476
3476
  }>;
3477
3477
  limit: z.ZodNumber;
3478
3478
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -3495,8 +3495,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3495
3495
  typeVersion: z.ZodString;
3496
3496
  }, z.core.$strict>>;
3497
3497
  lifecycle: z.ZodDefault<z.ZodEnum<{
3498
- paused: "paused";
3499
3498
  active: "active";
3499
+ paused: "paused";
3500
3500
  archived: "archived";
3501
3501
  }>>;
3502
3502
  configuration: z.ZodOptional<z.ZodObject<{
@@ -3601,12 +3601,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3601
3601
  kind: "resource";
3602
3602
  default: string;
3603
3603
  source: {
3604
+ provider: "domino";
3605
+ resource: "point-ledger";
3606
+ } | {
3604
3607
  provider: "discord";
3605
3608
  resource: "channel";
3606
3609
  types: ("text" | "announcement")[];
3607
- } | {
3608
- provider: "domino";
3609
- resource: "point-ledger";
3610
3610
  } | {
3611
3611
  provider: "discord";
3612
3612
  resource: "role";
@@ -3703,7 +3703,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3703
3703
  start: number;
3704
3704
  end?: number | undefined;
3705
3705
  };
3706
- enrollment: "none" | "required";
3706
+ enrollment: "required" | "none";
3707
3707
  posts: "after-enrollment" | "since-start";
3708
3708
  historical: "staff" | "automatic" | "claim";
3709
3709
  } | undefined;
@@ -3731,7 +3731,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3731
3731
  actor?: "member" | "staff" | undefined;
3732
3732
  } | {
3733
3733
  kind: "manual";
3734
- input: "none" | "quiz" | "photo";
3734
+ input: "quiz" | "photo" | "none";
3735
3735
  actor?: "member" | "staff" | undefined;
3736
3736
  };
3737
3737
  requires: {
@@ -3751,7 +3751,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3751
3751
  budgets: {
3752
3752
  id: string;
3753
3753
  scope: "project" | "member";
3754
- period: "day" | "lifetime" | "week";
3754
+ period: "day" | "week" | "lifetime";
3755
3755
  limit: number;
3756
3756
  cost: number | {
3757
3757
  balance: string;
@@ -3762,7 +3762,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3762
3762
  id: string;
3763
3763
  createdAt: number;
3764
3764
  legacy: boolean;
3765
- lifecycle: "paused" | "active" | "archived";
3765
+ lifecycle: "active" | "paused" | "archived";
3766
3766
  performance?: {
3767
3767
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3768
3768
  maxAgeMs: number;
@@ -4222,8 +4222,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
4222
4222
  action: z.ZodLiteral<"grant-role">;
4223
4223
  roleId: z.ZodString;
4224
4224
  status: z.ZodEnum<{
4225
- pending: "pending";
4226
4225
  failed: "failed";
4226
+ pending: "pending";
4227
4227
  delivered: "delivered";
4228
4228
  }>;
4229
4229
  attempts: z.ZodNumber;
@@ -4242,8 +4242,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
4242
4242
  action: z.ZodLiteral<"grant-role">;
4243
4243
  roleId: z.ZodString;
4244
4244
  status: z.ZodEnum<{
4245
- pending: "pending";
4246
4245
  failed: "failed";
4246
+ pending: "pending";
4247
4247
  delivered: "delivered";
4248
4248
  }>;
4249
4249
  attempts: z.ZodNumber;
@@ -4414,12 +4414,6 @@ declare function questConfiguration(release: PublishedRelease): {
4414
4414
 
4415
4415
  /** Non-quest resources in the private hosted-build catalog artifact. */
4416
4416
  declare const projectCatalogArtifactSchema: z.ZodObject<{
4417
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4418
- code: z.ZodString;
4419
- provider: z.ZodEnum<{
4420
- "workers-ai": "workers-ai";
4421
- }>;
4422
- }, z.core.$strip>>>;
4423
4417
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
4424
4418
  title: z.ZodString;
4425
4419
  key: z.ZodOptional<z.ZodString>;
@@ -4428,21 +4422,27 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4428
4422
  title: string;
4429
4423
  key?: string | undefined;
4430
4424
  id?: string | undefined;
4431
- }, "id" | "key"> & {
4425
+ }, "key" | "id"> & {
4432
4426
  key: string;
4433
4427
  }, {
4434
4428
  title: string;
4435
4429
  key?: string | undefined;
4436
4430
  id?: string | undefined;
4437
4431
  }>>>>;
4432
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4433
+ code: z.ZodString;
4434
+ provider: z.ZodEnum<{
4435
+ "workers-ai": "workers-ai";
4436
+ }>;
4437
+ }, z.core.$strip>>>;
4438
4438
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4439
4439
  staff: "staff";
4440
+ quiz: "quiz";
4440
4441
  text: "text";
4441
4442
  url: "url";
4443
+ photo: "photo";
4442
4444
  automatic: "automatic";
4443
4445
  claim: "claim";
4444
- quiz: "quiz";
4445
- photo: "photo";
4446
4446
  }>>>;
4447
4447
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
4448
4448
  code: z.ZodString;
@@ -4474,14 +4474,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4474
4474
  }, z.core.$strict>>>;
4475
4475
  referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4476
4476
  title: z.ZodString;
4477
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
4478
- kind: z.ZodLiteral<"signup">;
4479
- }, z.core.$strict>, z.ZodObject<{
4480
- kind: z.ZodLiteral<"quest">;
4481
- quest: z.ZodString;
4482
- }, z.core.$strict>, z.ZodObject<{
4483
- kind: z.ZodLiteral<"external">;
4484
- }, z.core.$strict>], "kind">;
4485
4477
  rewards: z.ZodDefault<z.ZodObject<{
4486
4478
  inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4487
4479
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -4529,6 +4521,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4529
4521
  }, z.core.$strict>]>>>;
4530
4522
  }, z.core.$strict>>;
4531
4523
  enabled: z.ZodDefault<z.ZodBoolean>;
4524
+ qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
4525
+ kind: z.ZodLiteral<"signup">;
4526
+ }, z.core.$strict>, z.ZodObject<{
4527
+ kind: z.ZodLiteral<"quest">;
4528
+ quest: z.ZodString;
4529
+ }, z.core.$strict>, z.ZodObject<{
4530
+ kind: z.ZodLiteral<"external">;
4531
+ }, z.core.$strict>], "kind">;
4532
4532
  inviterGroup: z.ZodOptional<z.ZodString>;
4533
4533
  milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
4534
4534
  id: z.ZodString;
@@ -4569,14 +4569,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4569
4569
  id: z.ZodOptional<z.ZodString>;
4570
4570
  }, z.core.$strict>, z.ZodTransform<Omit<{
4571
4571
  title: string;
4572
- qualification: {
4573
- kind: "signup";
4574
- } | {
4575
- kind: "quest";
4576
- quest: string;
4577
- } | {
4578
- kind: "external";
4579
- };
4580
4572
  rewards: {
4581
4573
  inviter: ({
4582
4574
  kind: "tier";
@@ -4624,6 +4616,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4624
4616
  })[];
4625
4617
  };
4626
4618
  enabled: boolean;
4619
+ qualification: {
4620
+ kind: "signup";
4621
+ } | {
4622
+ kind: "quest";
4623
+ quest: string;
4624
+ } | {
4625
+ kind: "external";
4626
+ };
4627
4627
  milestones: {
4628
4628
  id: string;
4629
4629
  count: number;
@@ -4662,18 +4662,10 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4662
4662
  inviterGroup?: string | undefined;
4663
4663
  key?: string | undefined;
4664
4664
  id?: string | undefined;
4665
- }, "id" | "key"> & {
4665
+ }, "key" | "id"> & {
4666
4666
  key: string;
4667
4667
  }, {
4668
4668
  title: string;
4669
- qualification: {
4670
- kind: "signup";
4671
- } | {
4672
- kind: "quest";
4673
- quest: string;
4674
- } | {
4675
- kind: "external";
4676
- };
4677
4669
  rewards: {
4678
4670
  inviter: ({
4679
4671
  kind: "tier";
@@ -4721,6 +4713,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4721
4713
  })[];
4722
4714
  };
4723
4715
  enabled: boolean;
4716
+ qualification: {
4717
+ kind: "signup";
4718
+ } | {
4719
+ kind: "quest";
4720
+ quest: string;
4721
+ } | {
4722
+ kind: "external";
4723
+ };
4724
4724
  milestones: {
4725
4725
  id: string;
4726
4726
  count: number;
@@ -4765,7 +4765,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4765
4765
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4766
4766
  title: z.ZodString;
4767
4767
  balance: z.ZodString;
4768
- group: z.ZodOptional<z.ZodString>;
4769
4768
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
4770
4769
  kind: z.ZodLiteral<"balance">;
4771
4770
  }, z.core.$strict>, z.ZodObject<{
@@ -4814,6 +4813,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4814
4813
  participants: "participants";
4815
4814
  public: "public";
4816
4815
  }>>;
4816
+ group: z.ZodOptional<z.ZodString>;
4817
4817
  key: z.ZodOptional<z.ZodString>;
4818
4818
  id: z.ZodOptional<z.ZodString>;
4819
4819
  }, z.core.$strict>, z.ZodTransform<Omit<{
@@ -4859,7 +4859,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4859
4859
  group?: string | undefined;
4860
4860
  key?: string | undefined;
4861
4861
  id?: string | undefined;
4862
- }, "id" | "key"> & {
4862
+ }, "key" | "id"> & {
4863
4863
  key: string;
4864
4864
  }, {
4865
4865
  title: string;
@@ -4916,12 +4916,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4916
4916
  }, z.core.$strict>;
4917
4917
  /** One manifest bundle. Missing entries never delete remotely owned resources. */
4918
4918
  declare const projectDeploymentSchema: z.ZodObject<{
4919
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4920
- code: z.ZodString;
4921
- provider: z.ZodEnum<{
4922
- "workers-ai": "workers-ai";
4923
- }>;
4924
- }, z.core.$strip>>>;
4925
4919
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
4926
4920
  title: z.ZodString;
4927
4921
  key: z.ZodOptional<z.ZodString>;
@@ -4930,21 +4924,27 @@ declare const projectDeploymentSchema: z.ZodObject<{
4930
4924
  title: string;
4931
4925
  key?: string | undefined;
4932
4926
  id?: string | undefined;
4933
- }, "id" | "key"> & {
4927
+ }, "key" | "id"> & {
4934
4928
  key: string;
4935
4929
  }, {
4936
4930
  title: string;
4937
4931
  key?: string | undefined;
4938
4932
  id?: string | undefined;
4939
4933
  }>>>>;
4934
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4935
+ code: z.ZodString;
4936
+ provider: z.ZodEnum<{
4937
+ "workers-ai": "workers-ai";
4938
+ }>;
4939
+ }, z.core.$strip>>>;
4940
4940
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4941
4941
  staff: "staff";
4942
+ quiz: "quiz";
4942
4943
  text: "text";
4943
4944
  url: "url";
4945
+ photo: "photo";
4944
4946
  automatic: "automatic";
4945
4947
  claim: "claim";
4946
- quiz: "quiz";
4947
- photo: "photo";
4948
4948
  }>>>;
4949
4949
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
4950
4950
  code: z.ZodString;
@@ -4976,14 +4976,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
4976
4976
  }, z.core.$strict>>>;
4977
4977
  referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4978
4978
  title: z.ZodString;
4979
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
4980
- kind: z.ZodLiteral<"signup">;
4981
- }, z.core.$strict>, z.ZodObject<{
4982
- kind: z.ZodLiteral<"quest">;
4983
- quest: z.ZodString;
4984
- }, z.core.$strict>, z.ZodObject<{
4985
- kind: z.ZodLiteral<"external">;
4986
- }, z.core.$strict>], "kind">;
4987
4979
  rewards: z.ZodDefault<z.ZodObject<{
4988
4980
  inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4989
4981
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -5031,6 +5023,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5031
5023
  }, z.core.$strict>]>>>;
5032
5024
  }, z.core.$strict>>;
5033
5025
  enabled: z.ZodDefault<z.ZodBoolean>;
5026
+ qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
5027
+ kind: z.ZodLiteral<"signup">;
5028
+ }, z.core.$strict>, z.ZodObject<{
5029
+ kind: z.ZodLiteral<"quest">;
5030
+ quest: z.ZodString;
5031
+ }, z.core.$strict>, z.ZodObject<{
5032
+ kind: z.ZodLiteral<"external">;
5033
+ }, z.core.$strict>], "kind">;
5034
5034
  inviterGroup: z.ZodOptional<z.ZodString>;
5035
5035
  milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
5036
5036
  id: z.ZodString;
@@ -5071,14 +5071,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5071
5071
  id: z.ZodOptional<z.ZodString>;
5072
5072
  }, z.core.$strict>, z.ZodTransform<Omit<{
5073
5073
  title: string;
5074
- qualification: {
5075
- kind: "signup";
5076
- } | {
5077
- kind: "quest";
5078
- quest: string;
5079
- } | {
5080
- kind: "external";
5081
- };
5082
5074
  rewards: {
5083
5075
  inviter: ({
5084
5076
  kind: "tier";
@@ -5126,6 +5118,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5126
5118
  })[];
5127
5119
  };
5128
5120
  enabled: boolean;
5121
+ qualification: {
5122
+ kind: "signup";
5123
+ } | {
5124
+ kind: "quest";
5125
+ quest: string;
5126
+ } | {
5127
+ kind: "external";
5128
+ };
5129
5129
  milestones: {
5130
5130
  id: string;
5131
5131
  count: number;
@@ -5164,18 +5164,10 @@ declare const projectDeploymentSchema: z.ZodObject<{
5164
5164
  inviterGroup?: string | undefined;
5165
5165
  key?: string | undefined;
5166
5166
  id?: string | undefined;
5167
- }, "id" | "key"> & {
5167
+ }, "key" | "id"> & {
5168
5168
  key: string;
5169
5169
  }, {
5170
5170
  title: string;
5171
- qualification: {
5172
- kind: "signup";
5173
- } | {
5174
- kind: "quest";
5175
- quest: string;
5176
- } | {
5177
- kind: "external";
5178
- };
5179
5171
  rewards: {
5180
5172
  inviter: ({
5181
5173
  kind: "tier";
@@ -5223,6 +5215,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5223
5215
  })[];
5224
5216
  };
5225
5217
  enabled: boolean;
5218
+ qualification: {
5219
+ kind: "signup";
5220
+ } | {
5221
+ kind: "quest";
5222
+ quest: string;
5223
+ } | {
5224
+ kind: "external";
5225
+ };
5226
5226
  milestones: {
5227
5227
  id: string;
5228
5228
  count: number;
@@ -5267,7 +5267,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5267
5267
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
5268
5268
  title: z.ZodString;
5269
5269
  balance: z.ZodString;
5270
- group: z.ZodOptional<z.ZodString>;
5271
5270
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
5272
5271
  kind: z.ZodLiteral<"balance">;
5273
5272
  }, z.core.$strict>, z.ZodObject<{
@@ -5316,6 +5315,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
5316
5315
  participants: "participants";
5317
5316
  public: "public";
5318
5317
  }>>;
5318
+ group: z.ZodOptional<z.ZodString>;
5319
5319
  key: z.ZodOptional<z.ZodString>;
5320
5320
  id: z.ZodOptional<z.ZodString>;
5321
5321
  }, z.core.$strict>, z.ZodTransform<Omit<{
@@ -5361,7 +5361,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
5361
5361
  group?: string | undefined;
5362
5362
  key?: string | undefined;
5363
5363
  id?: string | undefined;
5364
- }, "id" | "key"> & {
5364
+ }, "key" | "id"> & {
5365
5365
  key: string;
5366
5366
  }, {
5367
5367
  title: string;
@@ -5745,9 +5745,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5745
5745
  }, z.core.$strict>, z.ZodObject<{
5746
5746
  kind: z.ZodLiteral<"manual">;
5747
5747
  input: z.ZodEnum<{
5748
- none: "none";
5749
5748
  quiz: "quiz";
5750
5749
  photo: "photo";
5750
+ none: "none";
5751
5751
  }>;
5752
5752
  actor: z.ZodOptional<z.ZodEnum<{
5753
5753
  member: "member";
@@ -5766,8 +5766,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5766
5766
  end: z.ZodOptional<z.ZodNumber>;
5767
5767
  }, z.core.$strict>;
5768
5768
  enrollment: z.ZodDefault<z.ZodEnum<{
5769
- none: "none";
5770
5769
  required: "required";
5770
+ none: "none";
5771
5771
  }>>;
5772
5772
  posts: z.ZodDefault<z.ZodEnum<{
5773
5773
  "after-enrollment": "after-enrollment";
@@ -5830,8 +5830,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5830
5830
  }>;
5831
5831
  period: z.ZodEnum<{
5832
5832
  day: "day";
5833
- lifetime: "lifetime";
5834
5833
  week: "week";
5834
+ lifetime: "lifetime";
5835
5835
  }>;
5836
5836
  limit: z.ZodNumber;
5837
5837
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -5854,8 +5854,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5854
5854
  typeVersion: z.ZodString;
5855
5855
  }, z.core.$strict>>;
5856
5856
  lifecycle: z.ZodDefault<z.ZodEnum<{
5857
- paused: "paused";
5858
5857
  active: "active";
5858
+ paused: "paused";
5859
5859
  archived: "archived";
5860
5860
  }>>;
5861
5861
  configuration: z.ZodOptional<z.ZodObject<{
@@ -5960,12 +5960,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5960
5960
  kind: "resource";
5961
5961
  default: string;
5962
5962
  source: {
5963
+ provider: "domino";
5964
+ resource: "point-ledger";
5965
+ } | {
5963
5966
  provider: "discord";
5964
5967
  resource: "channel";
5965
5968
  types: ("text" | "announcement")[];
5966
- } | {
5967
- provider: "domino";
5968
- resource: "point-ledger";
5969
5969
  } | {
5970
5970
  provider: "discord";
5971
5971
  resource: "role";
@@ -6062,7 +6062,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6062
6062
  start: number;
6063
6063
  end?: number | undefined;
6064
6064
  };
6065
- enrollment: "none" | "required";
6065
+ enrollment: "required" | "none";
6066
6066
  posts: "after-enrollment" | "since-start";
6067
6067
  historical: "staff" | "automatic" | "claim";
6068
6068
  } | undefined;
@@ -6090,7 +6090,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6090
6090
  actor?: "member" | "staff" | undefined;
6091
6091
  } | {
6092
6092
  kind: "manual";
6093
- input: "none" | "quiz" | "photo";
6093
+ input: "quiz" | "photo" | "none";
6094
6094
  actor?: "member" | "staff" | undefined;
6095
6095
  };
6096
6096
  requires: {
@@ -6110,7 +6110,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6110
6110
  budgets: {
6111
6111
  id: string;
6112
6112
  scope: "project" | "member";
6113
- period: "day" | "lifetime" | "week";
6113
+ period: "day" | "week" | "lifetime";
6114
6114
  limit: number;
6115
6115
  cost: number | {
6116
6116
  balance: string;
@@ -6121,7 +6121,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6121
6121
  id: string;
6122
6122
  createdAt: number;
6123
6123
  legacy: boolean;
6124
- lifecycle: "paused" | "active" | "archived";
6124
+ lifecycle: "active" | "paused" | "archived";
6125
6125
  performance?: {
6126
6126
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
6127
6127
  maxAgeMs: number;
@@ -6356,9 +6356,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6356
6356
  }, z.core.$strict>, z.ZodObject<{
6357
6357
  kind: z.ZodLiteral<"manual">;
6358
6358
  input: z.ZodEnum<{
6359
- none: "none";
6360
6359
  quiz: "quiz";
6361
6360
  photo: "photo";
6361
+ none: "none";
6362
6362
  }>;
6363
6363
  actor: z.ZodOptional<z.ZodEnum<{
6364
6364
  member: "member";
@@ -6377,8 +6377,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6377
6377
  end: z.ZodOptional<z.ZodNumber>;
6378
6378
  }, z.core.$strict>;
6379
6379
  enrollment: z.ZodDefault<z.ZodEnum<{
6380
- none: "none";
6381
6380
  required: "required";
6381
+ none: "none";
6382
6382
  }>>;
6383
6383
  posts: z.ZodDefault<z.ZodEnum<{
6384
6384
  "after-enrollment": "after-enrollment";
@@ -6441,8 +6441,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6441
6441
  }>;
6442
6442
  period: z.ZodEnum<{
6443
6443
  day: "day";
6444
- lifetime: "lifetime";
6445
6444
  week: "week";
6445
+ lifetime: "lifetime";
6446
6446
  }>;
6447
6447
  limit: z.ZodNumber;
6448
6448
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -6467,12 +6467,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6467
6467
  }, z.core.$strict>>;
6468
6468
  supportedInteractions: z.ZodArray<z.ZodEnum<{
6469
6469
  staff: "staff";
6470
+ quiz: "quiz";
6470
6471
  text: "text";
6471
6472
  url: "url";
6473
+ photo: "photo";
6472
6474
  automatic: "automatic";
6473
6475
  claim: "claim";
6474
- quiz: "quiz";
6475
- photo: "photo";
6476
6476
  }>>;
6477
6477
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
6478
6478
  version: z.ZodString;
@@ -6668,9 +6668,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6668
6668
  }, z.core.$strip>, z.ZodObject<{
6669
6669
  source: z.ZodLiteral<"account">;
6670
6670
  provider: z.ZodEnum<{
6671
- x: "x";
6672
6671
  discord: "discord";
6673
6672
  google: "google";
6673
+ x: "x";
6674
6674
  }>;
6675
6675
  url: z.ZodString;
6676
6676
  seed: z.ZodString;
@@ -6696,9 +6696,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6696
6696
  }, z.core.$strip>, z.ZodObject<{
6697
6697
  source: z.ZodLiteral<"account">;
6698
6698
  provider: z.ZodEnum<{
6699
- x: "x";
6700
6699
  discord: "discord";
6701
6700
  google: "google";
6701
+ x: "x";
6702
6702
  }>;
6703
6703
  url: z.ZodString;
6704
6704
  seed: z.ZodString;
@@ -6724,9 +6724,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6724
6724
  }, z.core.$strip>, z.ZodObject<{
6725
6725
  source: z.ZodLiteral<"account">;
6726
6726
  provider: z.ZodEnum<{
6727
- x: "x";
6728
6727
  discord: "discord";
6729
6728
  google: "google";
6729
+ x: "x";
6730
6730
  }>;
6731
6731
  url: z.ZodString;
6732
6732
  seed: z.ZodString;
@@ -6770,9 +6770,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6770
6770
  }, z.core.$strip>, z.ZodObject<{
6771
6771
  source: z.ZodLiteral<"account">;
6772
6772
  provider: z.ZodEnum<{
6773
- x: "x";
6774
6773
  discord: "discord";
6775
6774
  google: "google";
6775
+ x: "x";
6776
6776
  }>;
6777
6777
  url: z.ZodString;
6778
6778
  seed: z.ZodString;
@@ -6798,9 +6798,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6798
6798
  }, z.core.$strip>, z.ZodObject<{
6799
6799
  source: z.ZodLiteral<"account">;
6800
6800
  provider: z.ZodEnum<{
6801
- x: "x";
6802
6801
  discord: "discord";
6803
6802
  google: "google";
6803
+ x: "x";
6804
6804
  }>;
6805
6805
  url: z.ZodString;
6806
6806
  seed: z.ZodString;
@@ -6826,9 +6826,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6826
6826
  }, z.core.$strip>, z.ZodObject<{
6827
6827
  source: z.ZodLiteral<"account">;
6828
6828
  provider: z.ZodEnum<{
6829
- x: "x";
6830
6829
  discord: "discord";
6831
6830
  google: "google";
6831
+ x: "x";
6832
6832
  }>;
6833
6833
  url: z.ZodString;
6834
6834
  seed: z.ZodString;
@@ -7169,9 +7169,9 @@ declare const deploymentResultSchema: z.ZodObject<{
7169
7169
  }, z.core.$strict>, z.ZodObject<{
7170
7170
  kind: z.ZodLiteral<"manual">;
7171
7171
  input: z.ZodEnum<{
7172
- none: "none";
7173
7172
  quiz: "quiz";
7174
7173
  photo: "photo";
7174
+ none: "none";
7175
7175
  }>;
7176
7176
  actor: z.ZodOptional<z.ZodEnum<{
7177
7177
  member: "member";
@@ -7190,8 +7190,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7190
7190
  end: z.ZodOptional<z.ZodNumber>;
7191
7191
  }, z.core.$strict>;
7192
7192
  enrollment: z.ZodDefault<z.ZodEnum<{
7193
- none: "none";
7194
7193
  required: "required";
7194
+ none: "none";
7195
7195
  }>>;
7196
7196
  posts: z.ZodDefault<z.ZodEnum<{
7197
7197
  "after-enrollment": "after-enrollment";
@@ -7254,8 +7254,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7254
7254
  }>;
7255
7255
  period: z.ZodEnum<{
7256
7256
  day: "day";
7257
- lifetime: "lifetime";
7258
7257
  week: "week";
7258
+ lifetime: "lifetime";
7259
7259
  }>;
7260
7260
  limit: z.ZodNumber;
7261
7261
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -7278,8 +7278,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7278
7278
  typeVersion: z.ZodString;
7279
7279
  }, z.core.$strict>>;
7280
7280
  lifecycle: z.ZodDefault<z.ZodEnum<{
7281
- paused: "paused";
7282
7281
  active: "active";
7282
+ paused: "paused";
7283
7283
  archived: "archived";
7284
7284
  }>>;
7285
7285
  configuration: z.ZodOptional<z.ZodObject<{
@@ -7384,12 +7384,12 @@ declare const deploymentResultSchema: z.ZodObject<{
7384
7384
  kind: "resource";
7385
7385
  default: string;
7386
7386
  source: {
7387
+ provider: "domino";
7388
+ resource: "point-ledger";
7389
+ } | {
7387
7390
  provider: "discord";
7388
7391
  resource: "channel";
7389
7392
  types: ("text" | "announcement")[];
7390
- } | {
7391
- provider: "domino";
7392
- resource: "point-ledger";
7393
7393
  } | {
7394
7394
  provider: "discord";
7395
7395
  resource: "role";
@@ -7486,7 +7486,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7486
7486
  start: number;
7487
7487
  end?: number | undefined;
7488
7488
  };
7489
- enrollment: "none" | "required";
7489
+ enrollment: "required" | "none";
7490
7490
  posts: "after-enrollment" | "since-start";
7491
7491
  historical: "staff" | "automatic" | "claim";
7492
7492
  } | undefined;
@@ -7514,7 +7514,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7514
7514
  actor?: "member" | "staff" | undefined;
7515
7515
  } | {
7516
7516
  kind: "manual";
7517
- input: "none" | "quiz" | "photo";
7517
+ input: "quiz" | "photo" | "none";
7518
7518
  actor?: "member" | "staff" | undefined;
7519
7519
  };
7520
7520
  requires: {
@@ -7534,7 +7534,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7534
7534
  budgets: {
7535
7535
  id: string;
7536
7536
  scope: "project" | "member";
7537
- period: "day" | "lifetime" | "week";
7537
+ period: "day" | "week" | "lifetime";
7538
7538
  limit: number;
7539
7539
  cost: number | {
7540
7540
  balance: string;
@@ -7545,7 +7545,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7545
7545
  id: string;
7546
7546
  createdAt: number;
7547
7547
  legacy: boolean;
7548
- lifecycle: "paused" | "active" | "archived";
7548
+ lifecycle: "active" | "paused" | "archived";
7549
7549
  performance?: {
7550
7550
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
7551
7551
  maxAgeMs: number;
@@ -7780,9 +7780,9 @@ declare const deploymentResultSchema: z.ZodObject<{
7780
7780
  }, z.core.$strict>, z.ZodObject<{
7781
7781
  kind: z.ZodLiteral<"manual">;
7782
7782
  input: z.ZodEnum<{
7783
- none: "none";
7784
7783
  quiz: "quiz";
7785
7784
  photo: "photo";
7785
+ none: "none";
7786
7786
  }>;
7787
7787
  actor: z.ZodOptional<z.ZodEnum<{
7788
7788
  member: "member";
@@ -7801,8 +7801,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7801
7801
  end: z.ZodOptional<z.ZodNumber>;
7802
7802
  }, z.core.$strict>;
7803
7803
  enrollment: z.ZodDefault<z.ZodEnum<{
7804
- none: "none";
7805
7804
  required: "required";
7805
+ none: "none";
7806
7806
  }>>;
7807
7807
  posts: z.ZodDefault<z.ZodEnum<{
7808
7808
  "after-enrollment": "after-enrollment";
@@ -7865,8 +7865,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7865
7865
  }>;
7866
7866
  period: z.ZodEnum<{
7867
7867
  day: "day";
7868
- lifetime: "lifetime";
7869
7868
  week: "week";
7869
+ lifetime: "lifetime";
7870
7870
  }>;
7871
7871
  limit: z.ZodNumber;
7872
7872
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -7891,12 +7891,12 @@ declare const deploymentResultSchema: z.ZodObject<{
7891
7891
  }, z.core.$strict>>;
7892
7892
  supportedInteractions: z.ZodArray<z.ZodEnum<{
7893
7893
  staff: "staff";
7894
+ quiz: "quiz";
7894
7895
  text: "text";
7895
7896
  url: "url";
7897
+ photo: "photo";
7896
7898
  automatic: "automatic";
7897
7899
  claim: "claim";
7898
- quiz: "quiz";
7899
- photo: "photo";
7900
7900
  }>>;
7901
7901
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
7902
7902
  version: z.ZodString;
@@ -8092,9 +8092,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8092
8092
  }, z.core.$strip>, z.ZodObject<{
8093
8093
  source: z.ZodLiteral<"account">;
8094
8094
  provider: z.ZodEnum<{
8095
- x: "x";
8096
8095
  discord: "discord";
8097
8096
  google: "google";
8097
+ x: "x";
8098
8098
  }>;
8099
8099
  url: z.ZodString;
8100
8100
  seed: z.ZodString;
@@ -8120,9 +8120,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8120
8120
  }, z.core.$strip>, z.ZodObject<{
8121
8121
  source: z.ZodLiteral<"account">;
8122
8122
  provider: z.ZodEnum<{
8123
- x: "x";
8124
8123
  discord: "discord";
8125
8124
  google: "google";
8125
+ x: "x";
8126
8126
  }>;
8127
8127
  url: z.ZodString;
8128
8128
  seed: z.ZodString;
@@ -8148,9 +8148,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8148
8148
  }, z.core.$strip>, z.ZodObject<{
8149
8149
  source: z.ZodLiteral<"account">;
8150
8150
  provider: z.ZodEnum<{
8151
- x: "x";
8152
8151
  discord: "discord";
8153
8152
  google: "google";
8153
+ x: "x";
8154
8154
  }>;
8155
8155
  url: z.ZodString;
8156
8156
  seed: z.ZodString;
@@ -8194,9 +8194,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8194
8194
  }, z.core.$strip>, z.ZodObject<{
8195
8195
  source: z.ZodLiteral<"account">;
8196
8196
  provider: z.ZodEnum<{
8197
- x: "x";
8198
8197
  discord: "discord";
8199
8198
  google: "google";
8199
+ x: "x";
8200
8200
  }>;
8201
8201
  url: z.ZodString;
8202
8202
  seed: z.ZodString;
@@ -8222,9 +8222,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8222
8222
  }, z.core.$strip>, z.ZodObject<{
8223
8223
  source: z.ZodLiteral<"account">;
8224
8224
  provider: z.ZodEnum<{
8225
- x: "x";
8226
8225
  discord: "discord";
8227
8226
  google: "google";
8227
+ x: "x";
8228
8228
  }>;
8229
8229
  url: z.ZodString;
8230
8230
  seed: z.ZodString;
@@ -8250,9 +8250,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8250
8250
  }, z.core.$strip>, z.ZodObject<{
8251
8251
  source: z.ZodLiteral<"account">;
8252
8252
  provider: z.ZodEnum<{
8253
- x: "x";
8254
8253
  discord: "discord";
8255
8254
  google: "google";
8255
+ x: "x";
8256
8256
  }>;
8257
8257
  url: z.ZodString;
8258
8258
  seed: z.ZodString;
@@ -8644,7 +8644,7 @@ declare function createRelayClient(options: {
8644
8644
  seed: string;
8645
8645
  } | {
8646
8646
  source: "account";
8647
- provider: "x" | "discord" | "google";
8647
+ provider: "discord" | "google" | "x";
8648
8648
  url: string;
8649
8649
  seed: string;
8650
8650
  } | {
@@ -8668,7 +8668,7 @@ declare function createRelayClient(options: {
8668
8668
  seed: string;
8669
8669
  } | {
8670
8670
  source: "account";
8671
- provider: "x" | "discord" | "google";
8671
+ provider: "discord" | "google" | "x";
8672
8672
  url: string;
8673
8673
  seed: string;
8674
8674
  } | {
@@ -8692,7 +8692,7 @@ declare function createRelayClient(options: {
8692
8692
  seed: string;
8693
8693
  } | {
8694
8694
  source: "account";
8695
- provider: "x" | "discord" | "google";
8695
+ provider: "discord" | "google" | "x";
8696
8696
  url: string;
8697
8697
  seed: string;
8698
8698
  } | {
@@ -8734,7 +8734,7 @@ declare function createRelayClient(options: {
8734
8734
  seed: string;
8735
8735
  } | {
8736
8736
  source: "account";
8737
- provider: "x" | "discord" | "google";
8737
+ provider: "discord" | "google" | "x";
8738
8738
  url: string;
8739
8739
  seed: string;
8740
8740
  } | {
@@ -8742,13 +8742,13 @@ declare function createRelayClient(options: {
8742
8742
  seed: string;
8743
8743
  };
8744
8744
  displayName: string | null;
8745
- avatarChoice: "default" | "account" | "upload" | "generated";
8746
- avatarProvider: "x" | "discord" | "google" | null;
8745
+ avatarChoice: "default" | "account" | "generated" | "upload";
8746
+ avatarProvider: "discord" | "google" | "x" | null;
8747
8747
  hidden: boolean;
8748
8748
  locked: boolean;
8749
- visibility: "private" | "participants" | "public";
8749
+ visibility: "participants" | "public" | "private";
8750
8750
  options: {
8751
- provider: "x" | "discord" | "google";
8751
+ provider: "discord" | "google" | "x";
8752
8752
  name: string | null;
8753
8753
  imageUrl: string | null;
8754
8754
  }[];
@@ -8768,7 +8768,7 @@ declare function createRelayClient(options: {
8768
8768
  seed: string;
8769
8769
  } | {
8770
8770
  source: "account";
8771
- provider: "x" | "discord" | "google";
8771
+ provider: "discord" | "google" | "x";
8772
8772
  url: string;
8773
8773
  seed: string;
8774
8774
  } | {
@@ -8776,13 +8776,13 @@ declare function createRelayClient(options: {
8776
8776
  seed: string;
8777
8777
  };
8778
8778
  displayName: string | null;
8779
- avatarChoice: "default" | "account" | "upload" | "generated";
8780
- avatarProvider: "x" | "discord" | "google" | null;
8779
+ avatarChoice: "default" | "account" | "generated" | "upload";
8780
+ avatarProvider: "discord" | "google" | "x" | null;
8781
8781
  hidden: boolean;
8782
8782
  locked: boolean;
8783
- visibility: "private" | "participants" | "public";
8783
+ visibility: "participants" | "public" | "private";
8784
8784
  options: {
8785
- provider: "x" | "discord" | "google";
8785
+ provider: "discord" | "google" | "x";
8786
8786
  name: string | null;
8787
8787
  imageUrl: string | null;
8788
8788
  }[];
@@ -8803,7 +8803,7 @@ declare function createRelayClient(options: {
8803
8803
  seed: string;
8804
8804
  } | {
8805
8805
  source: "account";
8806
- provider: "x" | "discord" | "google";
8806
+ provider: "discord" | "google" | "x";
8807
8807
  url: string;
8808
8808
  seed: string;
8809
8809
  } | {
@@ -8811,13 +8811,13 @@ declare function createRelayClient(options: {
8811
8811
  seed: string;
8812
8812
  };
8813
8813
  displayName: string | null;
8814
- avatarChoice: "default" | "account" | "upload" | "generated";
8815
- avatarProvider: "x" | "discord" | "google" | null;
8814
+ avatarChoice: "default" | "account" | "generated" | "upload";
8815
+ avatarProvider: "discord" | "google" | "x" | null;
8816
8816
  hidden: boolean;
8817
8817
  locked: boolean;
8818
- visibility: "private" | "participants" | "public";
8818
+ visibility: "participants" | "public" | "private";
8819
8819
  options: {
8820
- provider: "x" | "discord" | "google";
8820
+ provider: "discord" | "google" | "x";
8821
8821
  name: string | null;
8822
8822
  imageUrl: string | null;
8823
8823
  }[];
@@ -8835,7 +8835,7 @@ declare function createRelayClient(options: {
8835
8835
  seed: string;
8836
8836
  } | {
8837
8837
  source: "account";
8838
- provider: "x" | "discord" | "google";
8838
+ provider: "discord" | "google" | "x";
8839
8839
  url: string;
8840
8840
  seed: string;
8841
8841
  } | {
@@ -8898,7 +8898,7 @@ declare function createRelayClient(options: {
8898
8898
  } | undefined;
8899
8899
  } | undefined;
8900
8900
  };
8901
- connections: ("x" | "discord" | "google" | "apple")[];
8901
+ connections: ("discord" | "google" | "apple" | "x")[];
8902
8902
  trigger: {
8903
8903
  kind: "automatic";
8904
8904
  observation?: {
@@ -8911,7 +8911,7 @@ declare function createRelayClient(options: {
8911
8911
  start: number;
8912
8912
  end?: number | undefined;
8913
8913
  };
8914
- enrollment: "none" | "required";
8914
+ enrollment: "required" | "none";
8915
8915
  posts: "after-enrollment" | "since-start";
8916
8916
  historical: "staff" | "automatic" | "claim";
8917
8917
  } | undefined;
@@ -8939,12 +8939,12 @@ declare function createRelayClient(options: {
8939
8939
  actor?: "member" | "staff" | undefined;
8940
8940
  } | {
8941
8941
  kind: "manual";
8942
- input: "none" | "quiz" | "photo";
8942
+ input: "quiz" | "photo" | "none";
8943
8943
  actor?: "member" | "staff" | undefined;
8944
8944
  };
8945
8945
  availability: {
8946
8946
  kind: "available";
8947
- input: "text" | "url" | "none" | "quiz" | "photo";
8947
+ input: "quiz" | "text" | "url" | "photo" | "none";
8948
8948
  } | {
8949
8949
  kind: "completed";
8950
8950
  } | {
@@ -8993,7 +8993,7 @@ declare function createRelayClient(options: {
8993
8993
  quest: string;
8994
8994
  member: string;
8995
8995
  evidence: string | null;
8996
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
8996
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
8997
8997
  reason: string | null;
8998
8998
  retries: number;
8999
8999
  generation: number;
@@ -9027,22 +9027,22 @@ declare function createRelayClient(options: {
9027
9027
  })[] | null;
9028
9028
  createdAt: number;
9029
9029
  input?: {
9030
- kind: "text";
9031
- value: string;
9032
- } | {
9033
- kind: "url";
9034
- value: string;
9035
- } | {
9036
9030
  kind: "quiz";
9037
9031
  answers: {
9038
9032
  [k: string]: string;
9039
9033
  };
9040
9034
  release?: string | undefined;
9035
+ } | {
9036
+ kind: "text";
9037
+ value: string;
9038
+ } | {
9039
+ kind: "url";
9040
+ value: string;
9041
9041
  } | undefined;
9042
9042
  } | null;
9043
9043
  release: string;
9044
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9045
- lifecycle: "paused" | "active" | "archived";
9044
+ interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9045
+ lifecycle: "active" | "paused" | "archived";
9046
9046
  rewards: ({
9047
9047
  kind: "points";
9048
9048
  label: string;
@@ -9103,7 +9103,7 @@ declare function createRelayClient(options: {
9103
9103
  quest: string;
9104
9104
  member: string;
9105
9105
  evidence: string | null;
9106
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9106
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9107
9107
  reason: string | null;
9108
9108
  retries: number;
9109
9109
  generation: number;
@@ -9137,17 +9137,17 @@ declare function createRelayClient(options: {
9137
9137
  })[] | null;
9138
9138
  createdAt: number;
9139
9139
  input?: {
9140
- kind: "text";
9141
- value: string;
9142
- } | {
9143
- kind: "url";
9144
- value: string;
9145
- } | {
9146
9140
  kind: "quiz";
9147
9141
  answers: {
9148
9142
  [k: string]: string;
9149
9143
  };
9150
9144
  release?: string | undefined;
9145
+ } | {
9146
+ kind: "text";
9147
+ value: string;
9148
+ } | {
9149
+ kind: "url";
9150
+ value: string;
9151
9151
  } | undefined;
9152
9152
  }>;
9153
9153
  experience: () => Promise<{
@@ -9175,7 +9175,7 @@ declare function createRelayClient(options: {
9175
9175
  } | undefined;
9176
9176
  } | undefined;
9177
9177
  };
9178
- connections: ("x" | "discord" | "google" | "apple")[];
9178
+ connections: ("discord" | "google" | "apple" | "x")[];
9179
9179
  trigger: {
9180
9180
  kind: "automatic";
9181
9181
  observation?: {
@@ -9188,7 +9188,7 @@ declare function createRelayClient(options: {
9188
9188
  start: number;
9189
9189
  end?: number | undefined;
9190
9190
  };
9191
- enrollment: "none" | "required";
9191
+ enrollment: "required" | "none";
9192
9192
  posts: "after-enrollment" | "since-start";
9193
9193
  historical: "staff" | "automatic" | "claim";
9194
9194
  } | undefined;
@@ -9216,12 +9216,12 @@ declare function createRelayClient(options: {
9216
9216
  actor?: "member" | "staff" | undefined;
9217
9217
  } | {
9218
9218
  kind: "manual";
9219
- input: "none" | "quiz" | "photo";
9219
+ input: "quiz" | "photo" | "none";
9220
9220
  actor?: "member" | "staff" | undefined;
9221
9221
  };
9222
9222
  availability: {
9223
9223
  kind: "available";
9224
- input: "text" | "url" | "none" | "quiz" | "photo";
9224
+ input: "quiz" | "text" | "url" | "photo" | "none";
9225
9225
  } | {
9226
9226
  kind: "completed";
9227
9227
  } | {
@@ -9270,7 +9270,7 @@ declare function createRelayClient(options: {
9270
9270
  quest: string;
9271
9271
  member: string;
9272
9272
  evidence: string | null;
9273
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9273
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9274
9274
  reason: string | null;
9275
9275
  retries: number;
9276
9276
  generation: number;
@@ -9304,22 +9304,22 @@ declare function createRelayClient(options: {
9304
9304
  })[] | null;
9305
9305
  createdAt: number;
9306
9306
  input?: {
9307
- kind: "text";
9308
- value: string;
9309
- } | {
9310
- kind: "url";
9311
- value: string;
9312
- } | {
9313
9307
  kind: "quiz";
9314
9308
  answers: {
9315
9309
  [k: string]: string;
9316
9310
  };
9317
9311
  release?: string | undefined;
9312
+ } | {
9313
+ kind: "text";
9314
+ value: string;
9315
+ } | {
9316
+ kind: "url";
9317
+ value: string;
9318
9318
  } | undefined;
9319
9319
  } | null;
9320
9320
  release: string;
9321
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9322
- lifecycle: "paused" | "active" | "archived";
9321
+ interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9322
+ lifecycle: "active" | "paused" | "archived";
9323
9323
  rewards: ({
9324
9324
  kind: "points";
9325
9325
  label: string;
@@ -9400,7 +9400,7 @@ declare function createRelayClient(options: {
9400
9400
  } | undefined;
9401
9401
  } | undefined;
9402
9402
  };
9403
- connections: ("x" | "discord" | "google" | "apple")[];
9403
+ connections: ("discord" | "google" | "apple" | "x")[];
9404
9404
  trigger: {
9405
9405
  kind: "automatic";
9406
9406
  observation?: {
@@ -9413,7 +9413,7 @@ declare function createRelayClient(options: {
9413
9413
  start: number;
9414
9414
  end?: number | undefined;
9415
9415
  };
9416
- enrollment: "none" | "required";
9416
+ enrollment: "required" | "none";
9417
9417
  posts: "after-enrollment" | "since-start";
9418
9418
  historical: "staff" | "automatic" | "claim";
9419
9419
  } | undefined;
@@ -9441,12 +9441,12 @@ declare function createRelayClient(options: {
9441
9441
  actor?: "member" | "staff" | undefined;
9442
9442
  } | {
9443
9443
  kind: "manual";
9444
- input: "none" | "quiz" | "photo";
9444
+ input: "quiz" | "photo" | "none";
9445
9445
  actor?: "member" | "staff" | undefined;
9446
9446
  };
9447
9447
  availability: {
9448
9448
  kind: "available";
9449
- input: "text" | "url" | "none" | "quiz" | "photo";
9449
+ input: "quiz" | "text" | "url" | "photo" | "none";
9450
9450
  } | {
9451
9451
  kind: "completed";
9452
9452
  } | {
@@ -9495,7 +9495,7 @@ declare function createRelayClient(options: {
9495
9495
  quest: string;
9496
9496
  member: string;
9497
9497
  evidence: string | null;
9498
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9498
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9499
9499
  reason: string | null;
9500
9500
  retries: number;
9501
9501
  generation: number;
@@ -9529,22 +9529,22 @@ declare function createRelayClient(options: {
9529
9529
  })[] | null;
9530
9530
  createdAt: number;
9531
9531
  input?: {
9532
- kind: "text";
9533
- value: string;
9534
- } | {
9535
- kind: "url";
9536
- value: string;
9537
- } | {
9538
9532
  kind: "quiz";
9539
9533
  answers: {
9540
9534
  [k: string]: string;
9541
9535
  };
9542
9536
  release?: string | undefined;
9537
+ } | {
9538
+ kind: "text";
9539
+ value: string;
9540
+ } | {
9541
+ kind: "url";
9542
+ value: string;
9543
9543
  } | undefined;
9544
9544
  } | null;
9545
9545
  release: string;
9546
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9547
- lifecycle: "paused" | "active" | "archived";
9546
+ interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9547
+ lifecycle: "active" | "paused" | "archived";
9548
9548
  rewards: ({
9549
9549
  kind: "points";
9550
9550
  label: string;
@@ -9628,7 +9628,7 @@ declare function createRelayClient(options: {
9628
9628
  } | undefined;
9629
9629
  } | undefined;
9630
9630
  };
9631
- connections: ("x" | "discord" | "google" | "apple")[];
9631
+ connections: ("discord" | "google" | "apple" | "x")[];
9632
9632
  trigger: {
9633
9633
  kind: "automatic";
9634
9634
  observation?: {
@@ -9641,7 +9641,7 @@ declare function createRelayClient(options: {
9641
9641
  start: number;
9642
9642
  end?: number | undefined;
9643
9643
  };
9644
- enrollment: "none" | "required";
9644
+ enrollment: "required" | "none";
9645
9645
  posts: "after-enrollment" | "since-start";
9646
9646
  historical: "staff" | "automatic" | "claim";
9647
9647
  } | undefined;
@@ -9669,12 +9669,12 @@ declare function createRelayClient(options: {
9669
9669
  actor?: "member" | "staff" | undefined;
9670
9670
  } | {
9671
9671
  kind: "manual";
9672
- input: "none" | "quiz" | "photo";
9672
+ input: "quiz" | "photo" | "none";
9673
9673
  actor?: "member" | "staff" | undefined;
9674
9674
  };
9675
9675
  availability: {
9676
9676
  kind: "available";
9677
- input: "text" | "url" | "none" | "quiz" | "photo";
9677
+ input: "quiz" | "text" | "url" | "photo" | "none";
9678
9678
  } | {
9679
9679
  kind: "completed";
9680
9680
  } | {
@@ -9723,7 +9723,7 @@ declare function createRelayClient(options: {
9723
9723
  quest: string;
9724
9724
  member: string;
9725
9725
  evidence: string | null;
9726
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9726
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9727
9727
  reason: string | null;
9728
9728
  retries: number;
9729
9729
  generation: number;
@@ -9757,22 +9757,22 @@ declare function createRelayClient(options: {
9757
9757
  })[] | null;
9758
9758
  createdAt: number;
9759
9759
  input?: {
9760
- kind: "text";
9761
- value: string;
9762
- } | {
9763
- kind: "url";
9764
- value: string;
9765
- } | {
9766
9760
  kind: "quiz";
9767
9761
  answers: {
9768
9762
  [k: string]: string;
9769
9763
  };
9770
9764
  release?: string | undefined;
9765
+ } | {
9766
+ kind: "text";
9767
+ value: string;
9768
+ } | {
9769
+ kind: "url";
9770
+ value: string;
9771
9771
  } | undefined;
9772
9772
  } | null;
9773
9773
  release: string;
9774
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9775
- lifecycle: "paused" | "active" | "archived";
9774
+ interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9775
+ lifecycle: "active" | "paused" | "archived";
9776
9776
  rewards: ({
9777
9777
  kind: "points";
9778
9778
  label: string;
@@ -9901,7 +9901,7 @@ declare function createRelayClient(options: {
9901
9901
  auth: {
9902
9902
  providers: () => Promise<{
9903
9903
  providers: {
9904
- provider: "x" | "discord" | "google" | "apple";
9904
+ provider: "discord" | "google" | "apple" | "x";
9905
9905
  configured: boolean;
9906
9906
  }[];
9907
9907
  email: boolean;
@@ -9987,7 +9987,7 @@ declare function createRelayClient(options: {
9987
9987
  }>;
9988
9988
  };
9989
9989
  accounts: () => Promise<{
9990
- provider: "x" | "discord" | "google" | "apple";
9990
+ provider: "discord" | "google" | "apple" | "x";
9991
9991
  configured: boolean;
9992
9992
  status: "disconnected" | "connected" | "reconnect";
9993
9993
  subject: string | null;
@@ -10091,7 +10091,7 @@ declare function createRelayClient(options: {
10091
10091
  quest: string;
10092
10092
  member: string;
10093
10093
  evidence: string | null;
10094
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10094
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10095
10095
  reason: string | null;
10096
10096
  retries: number;
10097
10097
  generation: number;
@@ -10125,17 +10125,17 @@ declare function createRelayClient(options: {
10125
10125
  })[] | null;
10126
10126
  createdAt: number;
10127
10127
  input?: {
10128
- kind: "text";
10129
- value: string;
10130
- } | {
10131
- kind: "url";
10132
- value: string;
10133
- } | {
10134
10128
  kind: "quiz";
10135
10129
  answers: {
10136
10130
  [k: string]: string;
10137
10131
  };
10138
10132
  release?: string | undefined;
10133
+ } | {
10134
+ kind: "text";
10135
+ value: string;
10136
+ } | {
10137
+ kind: "url";
10138
+ value: string;
10139
10139
  } | undefined;
10140
10140
  }>;
10141
10141
  progress: () => Promise<{
@@ -10163,7 +10163,7 @@ declare function createRelayClient(options: {
10163
10163
  } | undefined;
10164
10164
  } | undefined;
10165
10165
  };
10166
- connections: ("x" | "discord" | "google" | "apple")[];
10166
+ connections: ("discord" | "google" | "apple" | "x")[];
10167
10167
  trigger: {
10168
10168
  kind: "automatic";
10169
10169
  observation?: {
@@ -10176,7 +10176,7 @@ declare function createRelayClient(options: {
10176
10176
  start: number;
10177
10177
  end?: number | undefined;
10178
10178
  };
10179
- enrollment: "none" | "required";
10179
+ enrollment: "required" | "none";
10180
10180
  posts: "after-enrollment" | "since-start";
10181
10181
  historical: "staff" | "automatic" | "claim";
10182
10182
  } | undefined;
@@ -10204,12 +10204,12 @@ declare function createRelayClient(options: {
10204
10204
  actor?: "member" | "staff" | undefined;
10205
10205
  } | {
10206
10206
  kind: "manual";
10207
- input: "none" | "quiz" | "photo";
10207
+ input: "quiz" | "photo" | "none";
10208
10208
  actor?: "member" | "staff" | undefined;
10209
10209
  };
10210
10210
  availability: {
10211
10211
  kind: "available";
10212
- input: "text" | "url" | "none" | "quiz" | "photo";
10212
+ input: "quiz" | "text" | "url" | "photo" | "none";
10213
10213
  } | {
10214
10214
  kind: "completed";
10215
10215
  } | {
@@ -10258,7 +10258,7 @@ declare function createRelayClient(options: {
10258
10258
  quest: string;
10259
10259
  member: string;
10260
10260
  evidence: string | null;
10261
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10261
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10262
10262
  reason: string | null;
10263
10263
  retries: number;
10264
10264
  generation: number;
@@ -10292,17 +10292,17 @@ declare function createRelayClient(options: {
10292
10292
  })[] | null;
10293
10293
  createdAt: number;
10294
10294
  input?: {
10295
- kind: "text";
10296
- value: string;
10297
- } | {
10298
- kind: "url";
10299
- value: string;
10300
- } | {
10301
10295
  kind: "quiz";
10302
10296
  answers: {
10303
10297
  [k: string]: string;
10304
10298
  };
10305
10299
  release?: string | undefined;
10300
+ } | {
10301
+ kind: "text";
10302
+ value: string;
10303
+ } | {
10304
+ kind: "url";
10305
+ value: string;
10306
10306
  } | undefined;
10307
10307
  } | null;
10308
10308
  key?: string | undefined;
@@ -10425,7 +10425,7 @@ declare function createRelayClient(options: {
10425
10425
  provider: "discord";
10426
10426
  action: "grant-role";
10427
10427
  roleId: string;
10428
- status: "pending" | "failed" | "delivered";
10428
+ status: "failed" | "pending" | "delivered";
10429
10429
  attempts: number;
10430
10430
  nextAt: number;
10431
10431
  lastError: string | null;
@@ -10441,7 +10441,7 @@ declare function createRelayClient(options: {
10441
10441
  quest: string;
10442
10442
  member: string;
10443
10443
  evidence: string | null;
10444
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10444
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10445
10445
  reason: string | null;
10446
10446
  retries: number;
10447
10447
  generation: number;
@@ -10475,17 +10475,17 @@ declare function createRelayClient(options: {
10475
10475
  })[] | null;
10476
10476
  createdAt: number;
10477
10477
  input?: {
10478
- kind: "text";
10479
- value: string;
10480
- } | {
10481
- kind: "url";
10482
- value: string;
10483
- } | {
10484
10478
  kind: "quiz";
10485
10479
  answers: {
10486
10480
  [k: string]: string;
10487
10481
  };
10488
10482
  release?: string | undefined;
10483
+ } | {
10484
+ kind: "text";
10485
+ value: string;
10486
+ } | {
10487
+ kind: "url";
10488
+ value: string;
10489
10489
  } | undefined;
10490
10490
  }>;
10491
10491
  upload: (file: File) => Promise<{
@@ -10546,12 +10546,12 @@ declare function createRelayClient(options: {
10546
10546
  kind: "resource";
10547
10547
  default: string;
10548
10548
  source: {
10549
+ provider: "domino";
10550
+ resource: "point-ledger";
10551
+ } | {
10549
10552
  provider: "discord";
10550
10553
  resource: "channel";
10551
10554
  types: ("text" | "announcement")[];
10552
- } | {
10553
- provider: "domino";
10554
- resource: "point-ledger";
10555
10555
  } | {
10556
10556
  provider: "discord";
10557
10557
  resource: "role";
@@ -10648,7 +10648,7 @@ declare function createRelayClient(options: {
10648
10648
  start: number;
10649
10649
  end?: number | undefined;
10650
10650
  };
10651
- enrollment: "none" | "required";
10651
+ enrollment: "required" | "none";
10652
10652
  posts: "after-enrollment" | "since-start";
10653
10653
  historical: "staff" | "automatic" | "claim";
10654
10654
  } | undefined;
@@ -10676,7 +10676,7 @@ declare function createRelayClient(options: {
10676
10676
  actor?: "member" | "staff" | undefined;
10677
10677
  } | {
10678
10678
  kind: "manual";
10679
- input: "none" | "quiz" | "photo";
10679
+ input: "quiz" | "photo" | "none";
10680
10680
  actor?: "member" | "staff" | undefined;
10681
10681
  };
10682
10682
  requires: {
@@ -10696,7 +10696,7 @@ declare function createRelayClient(options: {
10696
10696
  budgets: {
10697
10697
  id: string;
10698
10698
  scope: "project" | "member";
10699
- period: "day" | "lifetime" | "week";
10699
+ period: "day" | "week" | "lifetime";
10700
10700
  limit: number;
10701
10701
  cost: number | {
10702
10702
  balance: string;
@@ -10753,12 +10753,12 @@ declare function createRelayClient(options: {
10753
10753
  kind: "resource";
10754
10754
  default: string;
10755
10755
  source: {
10756
+ provider: "domino";
10757
+ resource: "point-ledger";
10758
+ } | {
10756
10759
  provider: "discord";
10757
10760
  resource: "channel";
10758
10761
  types: ("text" | "announcement")[];
10759
- } | {
10760
- provider: "domino";
10761
- resource: "point-ledger";
10762
10762
  } | {
10763
10763
  provider: "discord";
10764
10764
  resource: "role";
@@ -10855,7 +10855,7 @@ declare function createRelayClient(options: {
10855
10855
  start: number;
10856
10856
  end?: number | undefined;
10857
10857
  };
10858
- enrollment: "none" | "required";
10858
+ enrollment: "required" | "none";
10859
10859
  posts: "after-enrollment" | "since-start";
10860
10860
  historical: "staff" | "automatic" | "claim";
10861
10861
  } | undefined;
@@ -10883,7 +10883,7 @@ declare function createRelayClient(options: {
10883
10883
  actor?: "member" | "staff" | undefined;
10884
10884
  } | {
10885
10885
  kind: "manual";
10886
- input: "none" | "quiz" | "photo";
10886
+ input: "quiz" | "photo" | "none";
10887
10887
  actor?: "member" | "staff" | undefined;
10888
10888
  };
10889
10889
  requires: {
@@ -10903,7 +10903,7 @@ declare function createRelayClient(options: {
10903
10903
  budgets: {
10904
10904
  id: string;
10905
10905
  scope: "project" | "member";
10906
- period: "day" | "lifetime" | "week";
10906
+ period: "day" | "week" | "lifetime";
10907
10907
  limit: number;
10908
10908
  cost: number | {
10909
10909
  balance: string;
@@ -10959,12 +10959,12 @@ declare function createRelayClient(options: {
10959
10959
  kind: "resource";
10960
10960
  default: string;
10961
10961
  source: {
10962
+ provider: "domino";
10963
+ resource: "point-ledger";
10964
+ } | {
10962
10965
  provider: "discord";
10963
10966
  resource: "channel";
10964
10967
  types: ("text" | "announcement")[];
10965
- } | {
10966
- provider: "domino";
10967
- resource: "point-ledger";
10968
10968
  } | {
10969
10969
  provider: "discord";
10970
10970
  resource: "role";
@@ -11061,7 +11061,7 @@ declare function createRelayClient(options: {
11061
11061
  start: number;
11062
11062
  end?: number | undefined;
11063
11063
  };
11064
- enrollment: "none" | "required";
11064
+ enrollment: "required" | "none";
11065
11065
  posts: "after-enrollment" | "since-start";
11066
11066
  historical: "staff" | "automatic" | "claim";
11067
11067
  } | undefined;
@@ -11089,7 +11089,7 @@ declare function createRelayClient(options: {
11089
11089
  actor?: "member" | "staff" | undefined;
11090
11090
  } | {
11091
11091
  kind: "manual";
11092
- input: "none" | "quiz" | "photo";
11092
+ input: "quiz" | "photo" | "none";
11093
11093
  actor?: "member" | "staff" | undefined;
11094
11094
  };
11095
11095
  requires: {
@@ -11109,7 +11109,7 @@ declare function createRelayClient(options: {
11109
11109
  budgets: {
11110
11110
  id: string;
11111
11111
  scope: "project" | "member";
11112
- period: "day" | "lifetime" | "week";
11112
+ period: "day" | "week" | "lifetime";
11113
11113
  limit: number;
11114
11114
  cost: number | {
11115
11115
  balance: string;
@@ -11120,7 +11120,7 @@ declare function createRelayClient(options: {
11120
11120
  id: string;
11121
11121
  createdAt: number;
11122
11122
  legacy: boolean;
11123
- lifecycle: "paused" | "active" | "archived";
11123
+ lifecycle: "active" | "paused" | "archived";
11124
11124
  performance?: {
11125
11125
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11126
11126
  maxAgeMs: number;
@@ -11243,7 +11243,7 @@ declare function createRelayClient(options: {
11243
11243
  quest: string;
11244
11244
  member: string;
11245
11245
  evidence: string | null;
11246
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
11246
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
11247
11247
  reason: string | null;
11248
11248
  retries: number;
11249
11249
  generation: number;
@@ -11277,17 +11277,17 @@ declare function createRelayClient(options: {
11277
11277
  })[] | null;
11278
11278
  createdAt: number;
11279
11279
  input?: {
11280
- kind: "text";
11281
- value: string;
11282
- } | {
11283
- kind: "url";
11284
- value: string;
11285
- } | {
11286
11280
  kind: "quiz";
11287
11281
  answers: {
11288
11282
  [k: string]: string;
11289
11283
  };
11290
11284
  release?: string | undefined;
11285
+ } | {
11286
+ kind: "text";
11287
+ value: string;
11288
+ } | {
11289
+ kind: "url";
11290
+ value: string;
11291
11291
  } | undefined;
11292
11292
  }[];
11293
11293
  balances: {
@@ -11346,12 +11346,12 @@ declare function createRelayClient(options: {
11346
11346
  kind: "resource";
11347
11347
  default: string;
11348
11348
  source: {
11349
+ provider: "domino";
11350
+ resource: "point-ledger";
11351
+ } | {
11349
11352
  provider: "discord";
11350
11353
  resource: "channel";
11351
11354
  types: ("text" | "announcement")[];
11352
- } | {
11353
- provider: "domino";
11354
- resource: "point-ledger";
11355
11355
  } | {
11356
11356
  provider: "discord";
11357
11357
  resource: "role";
@@ -11448,7 +11448,7 @@ declare function createRelayClient(options: {
11448
11448
  start: number;
11449
11449
  end?: number | undefined;
11450
11450
  };
11451
- enrollment: "none" | "required";
11451
+ enrollment: "required" | "none";
11452
11452
  posts: "after-enrollment" | "since-start";
11453
11453
  historical: "staff" | "automatic" | "claim";
11454
11454
  } | undefined;
@@ -11476,7 +11476,7 @@ declare function createRelayClient(options: {
11476
11476
  actor?: "member" | "staff" | undefined;
11477
11477
  } | {
11478
11478
  kind: "manual";
11479
- input: "none" | "quiz" | "photo";
11479
+ input: "quiz" | "photo" | "none";
11480
11480
  actor?: "member" | "staff" | undefined;
11481
11481
  };
11482
11482
  requires: {
@@ -11496,7 +11496,7 @@ declare function createRelayClient(options: {
11496
11496
  budgets: {
11497
11497
  id: string;
11498
11498
  scope: "project" | "member";
11499
- period: "day" | "lifetime" | "week";
11499
+ period: "day" | "week" | "lifetime";
11500
11500
  limit: number;
11501
11501
  cost: number | {
11502
11502
  balance: string;
@@ -11507,7 +11507,7 @@ declare function createRelayClient(options: {
11507
11507
  id: string;
11508
11508
  createdAt: number;
11509
11509
  legacy: boolean;
11510
- lifecycle: "paused" | "active" | "archived";
11510
+ lifecycle: "active" | "paused" | "archived";
11511
11511
  performance?: {
11512
11512
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11513
11513
  maxAgeMs: number;
@@ -11581,12 +11581,12 @@ declare function createRelayClient(options: {
11581
11581
  kind: "resource";
11582
11582
  default: string;
11583
11583
  source: {
11584
+ provider: "domino";
11585
+ resource: "point-ledger";
11586
+ } | {
11584
11587
  provider: "discord";
11585
11588
  resource: "channel";
11586
11589
  types: ("text" | "announcement")[];
11587
- } | {
11588
- provider: "domino";
11589
- resource: "point-ledger";
11590
11590
  } | {
11591
11591
  provider: "discord";
11592
11592
  resource: "role";
@@ -11683,7 +11683,7 @@ declare function createRelayClient(options: {
11683
11683
  start: number;
11684
11684
  end?: number | undefined;
11685
11685
  };
11686
- enrollment: "none" | "required";
11686
+ enrollment: "required" | "none";
11687
11687
  posts: "after-enrollment" | "since-start";
11688
11688
  historical: "staff" | "automatic" | "claim";
11689
11689
  } | undefined;
@@ -11711,7 +11711,7 @@ declare function createRelayClient(options: {
11711
11711
  actor?: "member" | "staff" | undefined;
11712
11712
  } | {
11713
11713
  kind: "manual";
11714
- input: "none" | "quiz" | "photo";
11714
+ input: "quiz" | "photo" | "none";
11715
11715
  actor?: "member" | "staff" | undefined;
11716
11716
  };
11717
11717
  requires: {
@@ -11731,7 +11731,7 @@ declare function createRelayClient(options: {
11731
11731
  budgets: {
11732
11732
  id: string;
11733
11733
  scope: "project" | "member";
11734
- period: "day" | "lifetime" | "week";
11734
+ period: "day" | "week" | "lifetime";
11735
11735
  limit: number;
11736
11736
  cost: number | {
11737
11737
  balance: string;
@@ -11742,7 +11742,7 @@ declare function createRelayClient(options: {
11742
11742
  id: string;
11743
11743
  createdAt: number;
11744
11744
  legacy: boolean;
11745
- lifecycle: "paused" | "active" | "archived";
11745
+ lifecycle: "active" | "paused" | "archived";
11746
11746
  performance?: {
11747
11747
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11748
11748
  maxAgeMs: number;
@@ -11801,7 +11801,7 @@ declare function createRelayClient(options: {
11801
11801
  } | undefined;
11802
11802
  } | undefined;
11803
11803
  };
11804
- connections: ("x" | "discord" | "google" | "apple")[];
11804
+ connections: ("discord" | "google" | "apple" | "x")[];
11805
11805
  trigger: {
11806
11806
  kind: "automatic";
11807
11807
  observation?: {
@@ -11814,7 +11814,7 @@ declare function createRelayClient(options: {
11814
11814
  start: number;
11815
11815
  end?: number | undefined;
11816
11816
  };
11817
- enrollment: "none" | "required";
11817
+ enrollment: "required" | "none";
11818
11818
  posts: "after-enrollment" | "since-start";
11819
11819
  historical: "staff" | "automatic" | "claim";
11820
11820
  } | undefined;
@@ -11842,12 +11842,12 @@ declare function createRelayClient(options: {
11842
11842
  actor?: "member" | "staff" | undefined;
11843
11843
  } | {
11844
11844
  kind: "manual";
11845
- input: "none" | "quiz" | "photo";
11845
+ input: "quiz" | "photo" | "none";
11846
11846
  actor?: "member" | "staff" | undefined;
11847
11847
  };
11848
11848
  availability: {
11849
11849
  kind: "available";
11850
- input: "text" | "url" | "none" | "quiz" | "photo";
11850
+ input: "quiz" | "text" | "url" | "photo" | "none";
11851
11851
  } | {
11852
11852
  kind: "completed";
11853
11853
  } | {
@@ -11896,7 +11896,7 @@ declare function createRelayClient(options: {
11896
11896
  quest: string;
11897
11897
  member: string;
11898
11898
  evidence: string | null;
11899
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
11899
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
11900
11900
  reason: string | null;
11901
11901
  retries: number;
11902
11902
  generation: number;
@@ -11930,17 +11930,17 @@ declare function createRelayClient(options: {
11930
11930
  })[] | null;
11931
11931
  createdAt: number;
11932
11932
  input?: {
11933
- kind: "text";
11934
- value: string;
11935
- } | {
11936
- kind: "url";
11937
- value: string;
11938
- } | {
11939
11933
  kind: "quiz";
11940
11934
  answers: {
11941
11935
  [k: string]: string;
11942
11936
  };
11943
11937
  release?: string | undefined;
11938
+ } | {
11939
+ kind: "text";
11940
+ value: string;
11941
+ } | {
11942
+ kind: "url";
11943
+ value: string;
11944
11944
  } | undefined;
11945
11945
  } | null;
11946
11946
  key?: string | undefined;
@@ -12324,14 +12324,14 @@ declare function createRelayClient(options: {
12324
12324
  content: {
12325
12325
  performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
12326
12326
  current: {
12327
- state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "content-pending" | "content-unqualified" | "waiting";
12327
+ state: "needs-review" | "failed" | "pending" | "qualified" | "content-pending" | "content-unqualified" | "waiting" | "unqualified" | "superseded";
12328
12328
  reason: string | null;
12329
12329
  contentAttempt: string;
12330
12330
  attempt: string | null;
12331
12331
  reward: {
12332
12332
  attempt: string | null;
12333
12333
  completion: string | null;
12334
- state: "excluded" | "unresolved" | "awarded";
12334
+ state: "awarded" | "excluded" | "unresolved";
12335
12335
  };
12336
12336
  };
12337
12337
  items: {
@@ -12340,7 +12340,7 @@ declare function createRelayClient(options: {
12340
12340
  observation: string;
12341
12341
  observedAt: number;
12342
12342
  metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
12343
- state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed";
12343
+ state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded";
12344
12344
  reason: string | null;
12345
12345
  }[];
12346
12346
  next: number | null;
@@ -12355,12 +12355,12 @@ declare function createRelayClient(options: {
12355
12355
  revision: string;
12356
12356
  observation: string;
12357
12357
  current: boolean;
12358
- state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "stale" | "blocked" | "unavailable";
12358
+ state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded" | "stale" | "blocked" | "unavailable";
12359
12359
  reason: string | null;
12360
12360
  reward: {
12361
12361
  attempt: string | null;
12362
12362
  completion: string | null;
12363
- state: "excluded" | "unresolved" | "awarded";
12363
+ state: "awarded" | "excluded" | "unresolved";
12364
12364
  };
12365
12365
  }[];
12366
12366
  next: number | null;
@@ -12370,7 +12370,7 @@ declare function createRelayClient(options: {
12370
12370
  quest: string;
12371
12371
  content: string;
12372
12372
  release: string;
12373
- state: "admitted" | "pending" | "excluded";
12373
+ state: "pending" | "excluded" | "admitted";
12374
12374
  reason: string | null;
12375
12375
  attempt: string | null;
12376
12376
  }[];
@@ -12385,7 +12385,7 @@ declare function createRelayClient(options: {
12385
12385
  quest: string;
12386
12386
  content: string;
12387
12387
  release: string;
12388
- state: "admitted" | "pending" | "excluded";
12388
+ state: "pending" | "excluded" | "admitted";
12389
12389
  reason: string | null;
12390
12390
  attempt: string | null;
12391
12391
  }>;
@@ -12396,7 +12396,7 @@ declare function createRelayClient(options: {
12396
12396
  quest: string;
12397
12397
  member: string;
12398
12398
  evidence: string | null;
12399
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12399
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
12400
12400
  reason: string | null;
12401
12401
  retries: number;
12402
12402
  generation: number;
@@ -12430,17 +12430,17 @@ declare function createRelayClient(options: {
12430
12430
  })[] | null;
12431
12431
  createdAt: number;
12432
12432
  input?: {
12433
- kind: "text";
12434
- value: string;
12435
- } | {
12436
- kind: "url";
12437
- value: string;
12438
- } | {
12439
12433
  kind: "quiz";
12440
12434
  answers: {
12441
12435
  [k: string]: string;
12442
12436
  };
12443
12437
  release?: string | undefined;
12438
+ } | {
12439
+ kind: "text";
12440
+ value: string;
12441
+ } | {
12442
+ kind: "url";
12443
+ value: string;
12444
12444
  } | undefined;
12445
12445
  }>;
12446
12446
  retry: (id: string) => Promise<{
@@ -12449,7 +12449,7 @@ declare function createRelayClient(options: {
12449
12449
  quest: string;
12450
12450
  member: string;
12451
12451
  evidence: string | null;
12452
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12452
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
12453
12453
  reason: string | null;
12454
12454
  retries: number;
12455
12455
  generation: number;
@@ -12483,17 +12483,17 @@ declare function createRelayClient(options: {
12483
12483
  })[] | null;
12484
12484
  createdAt: number;
12485
12485
  input?: {
12486
- kind: "text";
12487
- value: string;
12488
- } | {
12489
- kind: "url";
12490
- value: string;
12491
- } | {
12492
12486
  kind: "quiz";
12493
12487
  answers: {
12494
12488
  [k: string]: string;
12495
12489
  };
12496
12490
  release?: string | undefined;
12491
+ } | {
12492
+ kind: "text";
12493
+ value: string;
12494
+ } | {
12495
+ kind: "url";
12496
+ value: string;
12497
12497
  } | undefined;
12498
12498
  }>;
12499
12499
  /** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
@@ -12508,7 +12508,7 @@ declare function createRelayClient(options: {
12508
12508
  quest: string;
12509
12509
  member: string;
12510
12510
  evidence: string | null;
12511
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12511
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
12512
12512
  reason: string | null;
12513
12513
  retries: number;
12514
12514
  generation: number;
@@ -12542,17 +12542,17 @@ declare function createRelayClient(options: {
12542
12542
  })[] | null;
12543
12543
  createdAt: number;
12544
12544
  input?: {
12545
- kind: "text";
12546
- value: string;
12547
- } | {
12548
- kind: "url";
12549
- value: string;
12550
- } | {
12551
12545
  kind: "quiz";
12552
12546
  answers: {
12553
12547
  [k: string]: string;
12554
12548
  };
12555
12549
  release?: string | undefined;
12550
+ } | {
12551
+ kind: "text";
12552
+ value: string;
12553
+ } | {
12554
+ kind: "url";
12555
+ value: string;
12556
12556
  } | undefined;
12557
12557
  }>;
12558
12558
  };