@domino-sdk/relay 1.0.0-next.8 → 1.0.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.
Files changed (59) hide show
  1. package/README.md +1 -1
  2. package/dist/activity-DeKJsRry.d.ts +9112 -0
  3. package/dist/authoring.d.ts +1135 -285
  4. package/dist/authoring.js +545 -269
  5. package/dist/automatic-outcomes-B1xrETxm.d.ts +758 -0
  6. package/dist/avatar.d.ts +2 -2
  7. package/dist/browser-DFe7sWSN.d.ts +4154 -0
  8. package/dist/browser.d.ts +11 -2528
  9. package/dist/browser.js +8 -6
  10. package/dist/capability-error-DNMwKmlL.d.ts +458 -0
  11. package/dist/{chunk-V7EZUZ3Z.js → chunk-36HTX2BM.js} +389 -169
  12. package/dist/chunk-6QJ3LADK.js +112 -0
  13. package/dist/{chunk-77H7APVD.js → chunk-BGGKNIRP.js} +1 -1
  14. package/dist/chunk-EYH5RDIE.js +496 -0
  15. package/dist/chunk-GQKYAQM6.js +84 -0
  16. package/dist/chunk-GUP7YRR4.js +42 -0
  17. package/dist/{chunk-V5R2DMGY.js → chunk-GZ6FJAXN.js} +380 -128
  18. package/dist/chunk-JON5SESL.js +2986 -0
  19. package/dist/chunk-MC6V6VMG.js +49 -0
  20. package/dist/chunk-NPGENI7K.js +37 -0
  21. package/dist/chunk-VFHHLN6A.js +284 -0
  22. package/dist/chunk-WJSSJ7AF.js +151 -0
  23. package/dist/{chunk-QBOHLT7M.js → chunk-XFMSUPNS.js} +1 -1
  24. package/dist/{chunk-6A6K5RUD.js → chunk-ZVIRG24J.js} +145 -42
  25. package/dist/{client-CK4nwt7V.d.ts → client-XiuFnug_.d.ts} +2193 -562
  26. package/dist/{submission-input-C9qm9ixd.d.ts → groups-Ck-OxzjD.d.ts} +919 -1142
  27. package/dist/identity-integration-GxAHdKR2.d.ts +58 -0
  28. package/dist/{images--vZ9U0kr.d.ts → images-Dv-P5VBw.d.ts} +2 -2
  29. package/dist/index.d.ts +13 -9
  30. package/dist/index.js +17 -6
  31. package/dist/internal.d.ts +82 -43
  32. package/dist/internal.js +58 -90
  33. package/dist/offers-Cy-e4o5x.d.ts +431 -0
  34. package/dist/{pages-BzqJuI69.d.ts → outcomes-kVB-Juzs.d.ts} +2386 -1490
  35. package/dist/pages-BBYD21IE.d.ts +359 -0
  36. package/dist/participant-rewards-3duLb8YJ.d.ts +668 -0
  37. package/dist/portal-proxy.js +22 -4
  38. package/dist/{profiles-DDMFBRKe.d.ts → profiles-D2aFcOxu.d.ts} +15 -15
  39. package/dist/react/index.d.ts +3122 -1011
  40. package/dist/react/index.js +1627 -779
  41. package/dist/request-error-DWduJCGV.d.ts +62 -0
  42. package/dist/schema-DfJzH2ci.d.ts +5644 -0
  43. package/dist/schema.d.ts +15 -4216
  44. package/dist/schema.js +322 -81
  45. package/dist/server/index.d.ts +81498 -0
  46. package/dist/server/index.js +2520 -0
  47. package/dist/{streaks-CwGReWGt.d.ts → streaks-CWyq8Px5.d.ts} +2 -4
  48. package/dist/submission-input-BZkm6ohU.d.ts +290 -0
  49. package/dist/vite.d.ts +1 -1
  50. package/dist/vite.js +1 -0
  51. package/dist/{wallet-BGOfFkG9.d.ts → wallet-YssWxGg8.d.ts} +35 -38
  52. package/package.json +8 -2
  53. package/dist/chunk-MRIURJE3.js +0 -257
  54. package/dist/chunk-VARGF4JS.js +0 -1733
  55. package/dist/chunk-ZWY3R6B3.js +0 -26
  56. package/dist/collection-BGneJ6Bk.d.ts +0 -114
  57. package/dist/integrations-C3Sp558f.d.ts +0 -1297
  58. package/dist/point-ledgers-iS00Z_v0.d.ts +0 -37
  59. package/dist/schema-pnuWqvGn.d.ts +0 -3396
package/dist/schema.d.ts CHANGED
@@ -1,4220 +1,19 @@
1
- export { A as Attempt, C as ContentPerformanceSnapshot, D as Decision, E as Entitlement, h as MemberPage, M as MemberProgress, P as PhotoResult, i as PickupAvailability, j as PublishedRelease, k as QuestAvailability, l as QuestDescription, Q as QuestPresentation, a as QuestProfile, m as QuestSettingsInput, b as QuizEvidence, n as ReleaseInput, o as ReviewPage, R as Reward, p as Snapshot, S as SubmissionEvidence, c as SubmitInput, e as TextResult, d as TextReviewInput, f as TieredRewardDefinition, T as TieredRewardReference, u as artifactSchema, v as attemptSchema, w as batchReleaseSchema, x as beginHandoverSchema, y as completionRecordSchema, z as configurePickupSchema, B as confirmHandoverSchema, F as contentPerformancePageSchema, g as contentPerformanceQuerySchema, G as contentPerformanceSnapshotSchema, H as createStockItemSchema, I as decisionSchema, J as entitlementSchema, K as errorSchema, L as eventSchema, N as evidenceSchema, O as integrationRewardSchema, U as mediaUrlSchema, V as memberListSchema, W as memberPageSchema, X as memberProgressSchema, Y as photoResultSchema, Z as pickupAllocationSchema, _ as pickupAvailabilitySchema, $ as pickupCatalogSchema, a0 as pickupPolicySchema, a1 as pickupSelectionSchema, a2 as pointsRewardSchema, a3 as prerequisiteSchema, a4 as publishedReleaseSchema, a5 as questAvailabilitySchema, q as questDescriptionSchema, a6 as questPresentationSchema, a7 as questProfileSchema, a8 as questSettingsInputSchema, a9 as quizAnswersSchema, aa as quizEvidenceSchema, ab as releaseSchema, ac as reservationSchema, ad as reviewItemSchema, ae as reviewListSchema, af as reviewModeSchema, ag as reviewPageSchema, ah as rewardBundleSchema, ai as rewardKey, r as rewardSchema, aj as snapshotSchema, ak as staffDecisionSchema, al as stockItemSchema, am as stockSchema, an as storedReviewModeSchema, ao as submissionEvidenceSchema, s as submitSchema, ap as templateSchema, aq as textResultSchema, ar as textReviewInputSchema, as as tierRewardSchema, at as tieredRewardDefinitionSchema, au as tieredRewardReferenceSchema, t as triggerSchema } from './schema-pnuWqvGn.js';
2
- export { A as AccountConnection, h as AdmittedContent, a as AuthProvider, g as ContentMetric, p as ContentPerformancePolicy, C as ContentPolicy, D as DiscordMember, E as EngagementDefinition, L as LeaderboardDefinition, b as LeaderboardPage, c as LeaderboardPlacement, d as LeaderboardQuery, R as ReferralDefinition, T as TextEvidence, e as TextOptions, U as UrlEvidence, f as UrlOptions, V as ValueEvidence, q as accountConnectionSchema, s as admittedContentSchema, t as authProviderSchema, u as contentAdmissionPageSchema, m as contentAdmissionQuerySchema, v as contentAdmissionSchema, n as contentEnrollmentInputSchema, w as contentEnrollmentSchema, x as contentMetricSchema, y as contentMetricsSchema, z as contentPerformancePolicySchema, B as contentPolicySchema, F as contentQualificationDecisionSchema, G as contentQualificationPageSchema, k as contentQualificationQuerySchema, H as contentQualificationSchema, o as contentReleaseInputSchema, I as discordMemberInputSchema, J as discordMemberSchema, K as discordMessageInputSchema, M as engagementArtifactSchema, N as engagementBoundaryPageSchema, O as engagementChangePreviewInputSchema, P as engagementChangePreviewSchema, Q as engagementChangeSchema, S as engagementDefinitionSchema, W as engagementDeploymentEntrySchema, j as engagementPageQuerySchema, X as engagementPageSchema, Y as engagementPublishSchema, Z as engagementRuleSchema, _ as engagementScoreInputSchema, $ as engagementScoreSchema, a0 as engagementSettlementSchema, a1 as engagementVersionPageSchema, a2 as engagementVersionQuerySchema, a3 as leaderboardArtifactSchema, l as leaderboardAuthoringSchema, a4 as leaderboardDefinitionSchema, a5 as leaderboardExclusionSchema, a6 as leaderboardGroupSchema, a7 as leaderboardPageSchema, a8 as leaderboardPlacementSchema, a9 as leaderboardPreviewSchema, aa as leaderboardQuerySchema, ab as leaderboardRowSchema, ac as leaderboardWindowSchema, ad as pointsAccountSchema, ae as pointsEntrySchema, af as pointsMutationSchema, ag as pointsResultSchema, ah as publishedLeaderboardSchema, ai as publishedReferralSchema, i as referralAcceptSchema, aj as referralAccountSchema, ak as referralArtifactSchema, r as referralAuthoringSchema, al as referralControlSchema, am as referralDefinitionSchema, an as referralHistorySchema, ao as referralManagementSchema, ap as referralRelationshipSchema, aq as referralSummarySchema, ar as textEvidenceSchema, as as textOptionsSchema, at as urlEvidenceSchema, au as urlOptionsSchema, av as validateSubmissionValue, aw as valueEvidenceSchema, ax as xPostId } from './submission-input-C9qm9ixd.js';
3
- export { E as ExchangeInput, M as MemberSummary, P as Page, a as PageQuery, b as ParticipantPrincipal, c as ParticipantSession, g as QuestCatalog, h as QuestDraft, i as QuestInstance, Q as QuestInteraction, d as QuestRewardView, e as QuestView, S as Session, j as allocateQuestSchema, k as allocatedQuestSchema, l as authScopeSchema, m as catalogDeploymentPreviewSchema, n as catalogDeploymentSchema, o as collectionSlotDeclarationSchema, p as collectionSlotSchema, r as collectionViewSchema, t as exchangeResultSchema, f as exchangeSchema, u as interactionSchema, v as memberSummarySchema, w as pageCursorSchema, x as pageQuerySchema, y as participantPrincipalSchema, z as participantSessionSchema, A as principalSchema, B as publishQuestDraftSchema, C as questCatalogSchema, D as questCollectionSchema, F as questDraftChangesSchema, G as questDraftSchema, q as questExperienceSchema, H as questInstanceSchema, I as questInteraction, J as questPublicationPreviewSchema, K as questRewardViewSchema, L as questTypeVersionSchema, N as questViewSchema, O as saveQuestDraftSchema, s as sessionMember, R as sessionSchema } from './pages-BzqJuI69.js';
4
- export { C as CollectionPass, c as collectionBeginSchema, a as collectionCodeSchema, b as collectionPassSchema, d as collectionPreviewSchema, e as collectionResolveSchema } from './collection-BGneJ6Bk.js';
1
+ export { i as AccountRole, j as AppIdentityKind, A as Attempt, a as AttemptStatus, B as Bound, C as Condition, k as ContentBody, l as ContentMetricName, m as ContentPerformanceSnapshot, D as DataLeaves, n as Decision, E as Entitlement, o as EntitlementCorrection, p as EntitlementState, b as EvaluatorProgress, I as IdentityKind, K as KnownAttemptStatus, q as KnownIdentityKind, c as KnownTrackerSkipCode, r as MemberIdentity, s as MemberPage, M as MemberProgress, O as OpenIdentityKind, P as PhotoResult, t as PickupAvailability, u as PublishedRelease, v as QuestAvailability, Q as QuestBudgetView, w as QuestDescription, d as QuestPresentation, e as QuestProfile, x as QuestSettingsInput, f as QuizEvidence, y as ReleaseInput, z as ReviewPage, R as Reward, F as RoleOf, G as Snapshot, H as SourceRoles, S as SubmissionEvidence, g as SubmitInput, J as TextResult, L as TextReviewInput, N as TieredRewardDefinition, T as TieredRewardReference, U as Tracker, V as TrackerAccount, W as TrackerAttribution, X as TrackerBound, Y as TrackerCondition, Z as TrackerContent, _ as TrackerContentQuery, $ as TrackerData, a0 as TrackerDataIssue, a1 as TrackerDataSchema, a2 as TrackerDefinition, a3 as TrackerDefinitionResponse, a4 as TrackerOutcome, a5 as TrackerOutcomeQuery, a6 as TrackerPage, a7 as TrackerPreview, a8 as TrackerPreviewInput, a9 as TrackerQuery, aa as TrackerReadQuery, ab as TrackerReader, ac as TrackerRecord, h as TrackerSkipCode, ad as TrackerSource, ae as TrackerSourceKind, af as TrackerSourceResponse, ag as TrackerStatus, ah as TrackerTriggerContext, ai as TrackerTriggerMode, aj as TrackerTriggerPolicy, ak as TrackerWhere, al as TriggerEnrollment, am as TriggerHistorical, an as TriggerSince, ao as TypedTrackerRecord, ap as Where, aq as WhereSetting, ar as WithAccountRoles, as as WithContent, at as WithRecordData, au as XContentMetric, av as XTweet, aw as accountRoleSchema, ax as appIdentityKindSchema, ay as artifactSchema, az as attemptSchema, aA as batchReleaseSchema, aB as beginHandoverSchema, aC as beneficiaryRole, aD as completionRecordSchema, aE as configurePickupSchema, aF as confirmHandoverSchema, aG as contentMetricNameSchema, aH as contentPerformancePageSchema, aI as contentPerformanceQuerySchema, aJ as contentPerformanceSnapshotSchema, aK as createStockItemSchema, aL as customContentSchema, aM as customSourceSchema, aN as decisionSchema, aO as defaultTriggerMode, aP as deferPolicy, aQ as entitlementCorrectionSchema, aR as entitlementRecoverySchema, aS as entitlementSchema, aT as entitlementStateSchema, aU as errorSchema, aV as evaluatorProgressSchema, aW as evaluatorProtocol, aX as evaluatorProtocolSchema, aY as eventSchema, aZ as evidenceSchema, a_ as identityKindSchema, a$ as integrationRewardSchema, b0 as isAppIdentityKind, b1 as isKnownTrackerSource, b2 as knownIdentityKinds, b3 as mediaUrlSchema, b4 as memberIdentitySchema, b5 as memberListSchema, b6 as memberPageSchema, b7 as memberProgressSchema, b8 as openIdentityKindSchema, b9 as photoResultSchema, ba as pickupAllocationSchema, bb as pickupAvailabilitySchema, bc as pickupCatalogSchema, bd as pickupPolicySchema, be as pickupSelectionSchema, bf as pointsRewardSchema, bg as publishedReleaseSchema, bh as publishedTrackerSchema, bi as questAvailabilitySchema, bj as questBudgetViewSchema, bk as questDescriptionSchema, bl as questPresentationSchema, bm as questProfileSchema, bn as questSettingsInputSchema, bo as quizAnswersSchema, bp as quizEvidenceSchema, bq as releaseSchema, br as reservationSchema, bs as reviewItemSchema, bt as reviewListSchema, bu as reviewModeSchema, bv as reviewPageSchema, bw as rewardBundleSchema, bx as rewardKey, by as rewardSchema, bz as snapshotSchema, bA as sourceContent, bB as sourceIdentities, bC as staffDecisionSchema, bD as stockItemSchema, bE as stockSchema, bF as storedQuestDescriptionSchema, bG as storedReviewModeSchema, bH as submissionEvidenceSchema, bI as submitSchema, bJ as templateSchema, bK as textResultSchema, bL as textReviewInputSchema, bM as tierRewardSchema, bN as tieredRewardDefinitionSchema, bO as tieredRewardReferenceSchema, bP as trackerAccountSchema, bQ as trackerArtifactSchema, bR as trackerAttributionSchema, bS as trackerBoundSchema, bT as trackerConditionSchema, bU as trackerContentQuerySchema, bV as trackerContentReadSchema, bW as trackerContentSchema, bX as trackerContentStageSchema, bY as trackerControlSchema, bZ as trackerDataMaxBranches, b_ as trackerDataMaxEntries, b$ as trackerDataSchemaSchema, c0 as trackerDefinitionResponseSchema, c1 as trackerDefinitionSchema, c2 as trackerEvidenceSchema, c3 as trackerIngestResultSchema, c4 as trackerIngestSchema, c5 as trackerOutcomePageSchema, c6 as trackerOutcomeQuerySchema, c7 as trackerOutcomeRetrySchema, c8 as trackerOutcomeSchema, c9 as trackerPageSchema, ca as trackerPreviewInputSchema, cb as trackerPreviewLimits, cc as trackerPreviewSchema, cd as trackerQuerySchema, ce as trackerRecordAccountSchema, cf as trackerRecordInputSchema, cg as trackerRecordSchema, ch as trackerSkipCodes, ci as trackerSourceKinds, cj as trackerSourceResponseSchema, ck as trackerSourceSchema, cl as trackerStatusSchema, cm as trackerSummarySchema, cn as trackerTriggerContextSchema, co as trackerTriggerModeSchema, cp as trackerTriggerPolicySchema, cq as trackerTriggerRecordSchema, cr as trackerWhereSchema, cs as triggerAdmission, ct as triggerEnrollmentSchema, cu as triggerHistoricalSchema, cv as triggerMode, cw as triggerSchema, cx as triggerSinceSchema, cy as whereConditions, cz as whereSettings, cA as xAccountRoles, cB as xContentBodySchema, cC as xContentMetrics, cD as xSearchSourceSchema, cE as xTweetSchema } from './schema-DfJzH2ci.js';
2
+ export { A as AccountConnection, a as AuthProvider, D as DiscordMember, d as DiscordMessage, e as DiscordMessageData, f as DiscordMessageTextData, g as DiscordReactionData, h as DiscordReader, M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, b as TextOptions, U as UrlEvidence, c as UrlOptions, V as ValueEvidence, i as accountConnectionSchema, j as authProviderSchema, k as balanceAtLeast, l as balancePrerequisiteSchema, m as completed, n as completionPrerequisiteSchema, o as discordMemberInputSchema, p as discordMemberSchema, q as discordMessageDataSchema, r as discordMessageInputSchema, s as discordMessageSchema, t as discordMessageTextDataSchema, u as discordMessagesSourceSchema, v as discordReactionDataSchema, w as discordReactionsSourceSchema, x as discordResourceSourceSchema, y as discordRewardSchema, z as groupPrerequisiteSchema, B as inGroup, C as missingPrerequisiteSchema, E as prerequisiteSchema, F as textEvidenceSchema, G as textOptionsSchema, H as urlEvidenceSchema, I as urlOptionsSchema, J as validateSubmissionValue, K as valueEvidenceSchema, L as xPostId } from './submission-input-BZkm6ohU.js';
3
+ export { E as ExchangeInput, M as MemberSummary, P as Page, a as PageQuery, b as ParticipantActivity, c as ParticipantPrincipal, d as ParticipantSession, R as RelayEvent, S as Session, e as authScopeSchema, f as exchangeResultSchema, g as exchangeSchema, k as knownRelayEventSchema, m as memberSummarySchema, p as pageCursorSchema, h as pageQuerySchema, i as participantActivityQuerySchema, j as participantActivitySchema, l as participantPrincipalSchema, n as participantSessionSchema, o as principalSchema, r as relayEventSchema, s as sessionMember, q as sessionSchema } from './pages-BBYD21IE.js';
4
+ export { C as CalendarPeriod, D as DeploymentPreview, a as DeploymentRecord, P as ProjectCalendar, b as ProjectCalendarInput, c as activityTypeSchema, d as activityTypes, e as calendarPeriodSchema, f as canonicalTimeZone, g as deploymentPreviewSchema, h as deploymentRecordSchema, i as deploymentResultSchema, j as deploymentSourceSchema, p as projectCalendarDeclarationSchema, k as projectCalendarInputSchema, l as projectCalendarSchema, m as projectCatalogArtifactSchema, n as projectDeploymentSchema, o as promoteDeploymentSchema, q as publishDeploymentSchema, r as refuseStreakTimeZone, s as refuseWindowTimeZone, t as rejectDeploymentSchema, u as rollbackDeploymentSchema, v as submitDeploymentSchema, w as timeZoneNameSchema, x as timeZoneSchema } from './activity-DeKJsRry.js';
5
+ export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, E as EngagementBudget, q as EngagementDefinition, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, r as LeaderboardSettlement, s as LeaderboardSettlementPolicy, t as LeaderboardSettlementSummary, u as ManagedPointLedger, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, v as PointLedger, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition, w as availabilityWindowSchema, x as campaignDefinitionSchema, y as campaignEnrollmentInputSchema, z as campaignEnrollmentSchema, B as campaignViewSchema, D as campaignWithdrawalInputSchema, F as createPointLedgerSchema, G as defineCampaign, H as defineGroup, I as engagementArtifactSchema, J as engagementBoundaryPageSchema, N as engagementBudgetSchema, O as engagementChangePreviewInputSchema, Q as engagementChangePreviewSchema, S as engagementChangeSchema, T as engagementDefinitionSchema, U as engagementDeploymentEntrySchema, V as engagementPageQuerySchema, W as engagementPageSchema, X as engagementPublishSchema, Y as engagementRuleSchema, Z as engagementScoreInputSchema, _ as engagementScoreSchema, $ as engagementSettlementSchema, a0 as engagementVersionPageSchema, a1 as engagementVersionQuerySchema, a2 as leaderboardArtifactSchema, a3 as leaderboardAuthoringSchema, a4 as leaderboardDefinitionSchema, a5 as leaderboardExclusionSchema, a6 as leaderboardGroupSchema, a7 as leaderboardPageSchema, a8 as leaderboardPlacementSchema, a9 as leaderboardPreviewSchema, aa as leaderboardPrizeRewardSchema, ab as leaderboardPrizeSchema, ac as leaderboardQuerySchema, ad as leaderboardRowSchema, ae as leaderboardSettlementApprovalSchema, af as leaderboardSettlementPolicySchema, ag as leaderboardSettlementRowSchema, ah as leaderboardSettlementSchema, ai as leaderboardSettlementStatusSchema, aj as leaderboardSettlementSummarySchema, ak as leaderboardWindowSchema, al as managedPointLedgerSchema, am as memberCampaignEnrollmentInputSchema, an as memberCampaignWithdrawalInputSchema, ao as pointBalanceSchema, ap as pointBalancesSchema, aq as pointEntrySchema, ar as pointHistoryPageSchema, as as pointHistoryQuerySchema, at as pointLedgerArtifactSchema, au as pointLedgerDeclarationSchema, av as pointLedgerPropertiesSchema, aw as pointLedgerReferenceSchema, ax as pointLedgerSchema, ay as pointsAccountSchema, az as pointsEntrySchema, aA as pointsMutationSchema, aB as pointsResultSchema, aC as projectGroupKey, aD as projectGroupSchema, aE as publishedLeaderboardSchema, aF as publishedReferralSchema, aG as referralAcceptSchema, aH as referralAccountSchema, aI as referralArtifactSchema, aJ as referralAuthoringSchema, aK as referralControlSchema, aL as referralDefinitionSchema, aM as referralHistorySchema, aN as referralManagementSchema, aO as referralRelationshipSchema, aP as referralSummarySchema } from './groups-Ck-OxzjD.js';
6
+ export { C as ContentMetric, j as ContentPerformancePolicy, M as MemberEnrollmentInput, k as QuestCatalog, Q as QuestClaimInput, l as QuestDraft, a as QuestEnrollment, b as QuestEnrollmentInput, m as QuestInstance, c as QuestInteraction, d as QuestOutcome, e as QuestOutcomePage, f as QuestOutcomeQuery, g as QuestOutcomeState, h as QuestRewardView, i as QuestView, R as RewardDelivery, n as RewardDeliveryAction, o as allocateQuestSchema, p as allocatedQuestSchema, q as catalogDeploymentPreviewSchema, r as catalogDeploymentSchema, s as collectionSlotDeclarationSchema, t as collectionSlotSchema, u as collectionViewSchema, v as contentMetricSchema, w as contentMetricsSchema, x as contentPerformancePolicySchema, y as contentQualificationDecisionSchema, z as contentQualificationPageSchema, A as contentQualificationQuerySchema, B as contentQualificationSchema, D as interactionSchema, E as knownRewardDeliverySchema, F as memberEnrollmentInputSchema, G as publishQuestDraftSchema, H as questCatalogSchema, I as questClaimInputSchema, J as questCollectionSchema, K as questDraftChangesSchema, L as questDraftSchema, N as questEnrollmentInputSchema, O as questEnrollmentSchema, P as questExperienceSchema, S as questInstanceSchema, T as questInteraction, U as questOutcomePageSchema, V as questOutcomeQuerySchema, W as questOutcomeSchema, X as questPublicationPreviewSchema, Y as questRewardViewSchema, Z as questTypeVersionSchema, _ as questViewSchema, $ as rewardDeliveriesSchema, a0 as rewardDeliverySchema, a1 as roleReconciliationSchema, a2 as saveQuestDraftSchema } from './outcomes-kVB-Juzs.js';
7
+ export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress, f as automaticCatchUpConfirmSchema, g as automaticCatchUpInputSchema, h as automaticCatchUpPreviewSchema, i as automaticCatchUpResultSchema, j as automaticEventSchema, k as automaticOutcomePageSchema, l as automaticOutcomeQuerySchema, m as automaticOutcomeSchema, n as automaticSchedulingPageSchema, o as automaticSchedulingQuerySchema, p as automaticSchedulingRetrySchema, q as automaticSchedulingSchema, r as collectionBeginSchema, s as collectionCodeSchema, t as collectionPassSchema, u as collectionPreviewSchema, v as collectionResolveSchema, w as counterAchievementSchema, x as counterContributionSchema, y as counterGoalSchema, z as counterHistoryQuerySchema, B as counterHistorySchema, D as counterModerationResultSchema, E as counterModerationSchema, F as counterPolicySchema, G as counterProgressSchema, H as counterWindowSchema } from './automatic-outcomes-B1xrETxm.js';
8
+ export { B as Budget, C as CapabilityErrorCode, a as CapabilityFailure, E as EvaluatorIntegrationProvider, I as IntegerSettings, b as IntegrationModule, c as IntegrationProvider, K as KnownCapabilityErrorCode, P as ProjectIntegration, R as ResourceOption, d as ResourceSource, S as Setting, e as SettingField, f as SettingsValues, X as XConnection, g as XPost, h as XProfile, i as XReader, j as budgetSchema, k as capabilityErrorCodes, l as capabilityFailureSchema, m as compatibleSettingKinds, n as completionKeySchema, o as completionPolicySchema, p as discordServerSchema, q as evaluatorIntegrationProviderSchema, r as integrationProviderSchema, s as missingResourceSettings, t as parseSettings, u as projectIntegrationSchema, v as resourceOptionsSchema, w as resourceRequestSchema, x as resourceSourceSchema, y as settingFieldSchema, z as settingsFieldsSchema, A as settingsValuesSchema, D as xConnectionSchema, F as xIdSchema, G as xPostSchema, H as xProfileSchema, J as xRequestSchema } from './capability-error-DNMwKmlL.js';
9
+ export { E as Extracted, I as ImageAssetArtifact, a as ImageComparison, b as ImageExtraction, c as ImageFields, d as ImageInspection, e as ImageReader, f as ImageReference, g as ImageRequest, h as ImageSightings, P as PublishedImage, i as imageAssetArtifactSchema, j as imageComparisonSchema, k as imageExtractionSchema, l as imageFieldSchema, m as imageFieldsSchema, n as imageInspectionSchema, o as imageReferenceSchema, p as imageRequestSchema, q as imageSightingsSchema, r as imageUploadRequestSchema, s as imageUploadsSchema, t as publishedImageSchema } from './images-Dv-P5VBw.js';
10
+ export { O as Offer, d as OfferAuthoring, a as OfferDefinition, b as OfferPrice, R as RedeemOfferInput, c as Redemption, e as defineOffer, o as offerArtifactSchema, f as offerAuthoringSchema, g as offerAvailabilitySchema, h as offerControlSchema, i as offerDefinitionSchema, j as offerLimitSchema, k as offerPriceSchema, l as offerSchema, r as redeemOfferSchema, m as redemptionCancellationSchema, n as redemptionSchema } from './offers-Cy-e4o5x.js';
11
+ export { h as AVATAR_UPLOAD_LIMIT, A as AvatarProvider, M as ManagedProfile, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, i as ProfileDefaultProvider, j as ProfileDefaults, k as ProfileModeration, d as ProfileReferral, l as ProfileSettings, m as ProfileSettingsInput, e as ProfileSummary, f as ProfileUpdate, g as ProfileVisibility, n as avatarProviderSchema, o as avatarSeedSchema, p as avatarUploadTypes, q as displayNameSchema, r as managedProfileSchema, s as ownProfileSchema, t as profileAvatarSchema, u as profileCompletionPageSchema, v as profileCompletionQuerySchema, w as profileCompletionSchema, x as profileDefaultProviderSchema, y as profileDefaultsSchema, z as profileModerationSchema, B as profileReferralSchema, C as profileSettingsInputSchema, D as profileSettingsSchema, E as profileSummarySchema, F as profileUpdateSchema, G as profileVisibilitySchema } from './profiles-D2aFcOxu.js';
12
+ export { Q as QuizContent, a as StreakPolicy, S as StreakProgress, q as quizChoiceSchema, b as quizContentSchema, c as quizQuestionSchema, d as quizQuestionsSchema, s as streakPolicySchema, e as streakProgressSchema } from './streaks-CWyq8Px5.js';
13
+ export { P as ParticipantDelivery, p as participantDeliveriesSchema, a as participantDeliverySchema, b as participantEntitlementsSchema } from './participant-rewards-3duLb8YJ.js';
14
+ export { C as CosmosChain, h as CosmosDenom, a as CosmosNetwork, E as EvmChainId, L as LinkedWallet, i as WALLETS_PER_CHAIN, W as WalletAddressInput, j as WalletBalance, k as WalletBalanceQuery, b as WalletChain, c as WalletMessageChallenge, l as WalletReader, d as WalletSignInNetwork, e as WalletSignature, f as WalletSigner, g as WalletUnlinkInput, m as caip10, n as cosmosAddressSchema, o as cosmosChain, p as cosmosDenomSchema, q as cosmosNetworkSchema, r as evmAddressSchema, s as evmChainIdSchema, t as isEvmChainId, u as linkedWalletSchema, v as solanaAddressSchema, w as solanaMainnet, x as walletAddressInput, y as walletAddressInputSchema, z as walletBalanceSchema, A as walletChainSchema, B as walletMessageChallengeSchema, D as walletSignInFamilies, F as walletSignInNetwork, G as walletSignInNetworkSchema, H as walletSignInNetworksSchema, I as walletSignatureSchema, J as walletUnlinkInputSchema } from './wallet-YssWxGg8.js';
5
15
  import { z } from 'zod';
6
- export { a as ImageAssetArtifact, b as ImageComparison, c as ImageExtraction, d as ImageFields, e as ImageInspection, I as ImageReader, f as ImageReference, g as ImageRequest, h as ImageSightings, P as PublishedImage, i as imageAssetArtifactSchema, j as imageComparisonSchema, k as imageExtractionSchema, l as imageFieldSchema, m as imageFieldsSchema, n as imageInspectionSchema, o as imageReferenceSchema, p as imageRequestSchema, q as imageSightingsSchema, r as imageUploadRequestSchema, s as imageUploadsSchema, t as publishedImageSchema } from './images--vZ9U0kr.js';
7
- export { A as AccountRole, B as Budget, D as DiscordMessage, I as IdentityKind, f as IntegrationProvider, O as Observation, P as ProjectIntegration, h as ResourceOption, R as ResourceSource, i as TrackerAccount, j as TrackerAttribution, k as TrackerBound, l as TrackerContent, m as TrackerContentQuery, T as TrackerDefinition, n as TrackerOutcome, p as TrackerOutcomeQuery, q as TrackerPreview, r as TrackerPreviewInput, s as TrackerQuery, b as TrackerReader, u as TrackerRecord, v as TrackerSkipCode, w as TrackerSource, x as TrackerStatus, a as TrackerTriggerContext, c as TrackerTriggerMode, e as TrackerTriggerPolicy, d as TrackerWhere, y as XConnection, z as XPost, C as XProfile, X as XReader, E as XTweet, F as accountRoleSchema, G as beneficiaryRole, H as budgetSchema, J as completionKeySchema, K as completionPolicySchema, L as customSourceSchema, M as defaultTriggerMode, N as discordMessageSchema, Q as discordReactionSchema, S as discordServerSchema, U as identityKindSchema, V as integrationProviderSchema, W as observationInputSchema, Y as observationReceiptSchema, Z as observationSchema, o as observationTriggerSchema, _ as projectIntegrationSchema, $ as publishedTrackerSchema, a0 as resourceOptionsSchema, a1 as resourceRequestSchema, a2 as resourceSourceSchema, a3 as sourceIdentities, a4 as trackerAccountSchema, a5 as trackerArtifactSchema, a6 as trackerAttributionSchema, a7 as trackerBoundSchema, a8 as trackerContentQuerySchema, a9 as trackerContentReadSchema, aa as trackerContentSchema, ab as trackerControlSchema, t as trackerDefinitionSchema, ac as trackerEvidenceSchema, ad as trackerIngestResultSchema, ae as trackerIngestSchema, af as trackerOutcomePageSchema, ag as trackerOutcomeQuerySchema, ah as trackerOutcomeRetrySchema, ai as trackerOutcomeSchema, aj as trackerPageSchema, ak as trackerPreviewInputSchema, al as trackerPreviewLimits, am as trackerPreviewSchema, an as trackerQuerySchema, ao as trackerRecordInputSchema, ap as trackerRecordSchema, aq as trackerSkipCodes, ar as trackerSourceSchema, as as trackerStatusSchema, at as trackerSummarySchema, g as trackerTriggerContextSchema, au as trackerTriggerModeSchema, av as trackerTriggerPolicySchema, aw as trackerTriggerRecordSchema, ax as trackerWhereSchema, ay as triggerMode, az as xAccountRoles, aA as xConnectionSchema, aB as xContentBodySchema, aC as xIdSchema, aD as xPostSchema, aE as xProfileSchema, aF as xRequestSchema, aG as xSearchSourceSchema, aH as xTweetSchema } from './integrations-C3Sp558f.js';
8
- export { a as PointLedger, P as PointLedgerReference, c as createPointLedgerSchema, p as pointLedgerDeclarationSchema, b as pointLedgerPropertiesSchema, d as pointLedgerReferenceSchema, e as pointLedgerSchema } from './point-ledgers-iS00Z_v0.js';
9
- export { h as AVATAR_UPLOAD_LIMIT, A as AvatarProvider, M as ManagedProfile, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, i as ProfileDefaultProvider, j as ProfileDefaults, k as ProfileModeration, d as ProfileReferral, l as ProfileSettings, m as ProfileSettingsInput, e as ProfileSummary, f as ProfileUpdate, g as ProfileVisibility, n as avatarProviderSchema, o as avatarSeedSchema, q as avatarUploadTypes, r as displayNameSchema, s as managedProfileSchema, t as ownProfileSchema, u as profileAvatarSchema, v as profileCompletionPageSchema, w as profileCompletionQuerySchema, x as profileCompletionSchema, y as profileDefaultProviderSchema, z as profileDefaultsSchema, B as profileModerationSchema, C as profileReferralSchema, D as profileSettingsInputSchema, E as profileSettingsSchema, F as profileSummarySchema, p as profileUpdateSchema, G as profileVisibilitySchema } from './profiles-DDMFBRKe.js';
10
- export { Q as QuizContent, a as StreakPolicy, S as StreakProgress, c as communityTimeZoneSchema, q as quizChoiceSchema, b as quizContentSchema, d as quizQuestionSchema, e as quizQuestionsSchema, s as streakPolicySchema, f as streakProgressSchema } from './streaks-CwGReWGt.js';
11
- export { C as CosmosChain, a as CosmosNetwork, E as EvmChainId, L as LinkedWallet, S as SolanaBalance, m as WALLETS_PER_CHAIN, W as WalletAddressInput, j as WalletBalance, i as WalletBalanceQuery, b as WalletChain, h as WalletConnection, c as WalletMessageChallenge, d as WalletSignInNetwork, e as WalletSignature, f as WalletSigner, g as WalletUnlinkInput, n as caip10, o as cosmosAddressSchema, p as cosmosChain, q as cosmosNetworkSchema, r as evmAddressSchema, s as evmChainIdSchema, k as isEvmChainId, t as linkedWalletSchema, u as solanaAddressSchema, v as solanaBalanceSchema, x as solanaMainnet, y as walletAddressInput, w as walletAddressInputSchema, z as walletBalanceSchema, A as walletChainSchema, B as walletChallengeInputSchema, D as walletChallengeSchema, F as walletConnectionSchema, G as walletMessageChallengeSchema, H as walletProofSchema, I as walletSignInFamilies, J as walletSignInNetwork, K as walletSignInNetworkSchema, M as walletSignInNetworksSchema, l as walletSignatureSchema, N as walletUnlinkInputSchema } from './wallet-BGOfFkG9.js';
12
16
 
13
17
  declare const identifier: z.ZodString;
14
18
 
15
- /** Non-quest resources in the private hosted-build catalog artifact. */
16
- declare const projectCatalogArtifactSchema: z.ZodObject<{
17
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
18
- code: z.ZodString;
19
- provider: z.ZodEnum<{
20
- "workers-ai": "workers-ai";
21
- }>;
22
- }, z.core.$strip>>>;
23
- collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
24
- title: z.ZodString;
25
- key: z.ZodOptional<z.ZodString>;
26
- id: z.ZodOptional<z.ZodString>;
27
- }, z.core.$strict>, z.ZodTransform<Omit<{
28
- title: string;
29
- key?: string | undefined;
30
- id?: string | undefined;
31
- }, "id" | "key"> & {
32
- key: string;
33
- }, {
34
- title: string;
35
- key?: string | undefined;
36
- id?: string | undefined;
37
- }>>>>;
38
- supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
39
- url: "url";
40
- text: "text";
41
- automatic: "automatic";
42
- claim: "claim";
43
- staff: "staff";
44
- quiz: "quiz";
45
- photo: "photo";
46
- }>>>;
47
- engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
48
- code: z.ZodString;
49
- }, z.core.$strict>>>;
50
- trackers: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
51
- key: z.ZodString;
52
- title: z.ZodString;
53
- source: z.ZodDiscriminatedUnion<[z.ZodObject<{
54
- kind: z.ZodLiteral<"x-search">;
55
- query: z.ZodString;
56
- }, z.core.$strict>, z.ZodObject<{
57
- kind: z.ZodLiteral<"custom">;
58
- namespace: z.ZodString;
59
- identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
60
- x: "x";
61
- discord: "discord";
62
- member: "member";
63
- wallet: "wallet";
64
- }>>>;
65
- accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
66
- authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
67
- }, z.core.$strict>], "kind">;
68
- window: z.ZodObject<{
69
- start: z.ZodNumber;
70
- end: z.ZodOptional<z.ZodNumber>;
71
- }, z.core.$strict>;
72
- refreshSeconds: z.ZodDefault<z.ZodNumber>;
73
- maxPages: z.ZodDefault<z.ZodNumber>;
74
- }, z.core.$strict>, z.ZodObject<{
75
- code: z.ZodString;
76
- }, z.core.$strict>]>>>;
77
- pointLedgers: z.ZodDefault<z.ZodArray<z.ZodObject<{
78
- name: z.ZodString;
79
- description: z.ZodDefault<z.ZodString>;
80
- key: z.ZodString;
81
- }, z.core.$strict>>>;
82
- referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
83
- title: z.ZodString;
84
- rewards: z.ZodDefault<z.ZodObject<{
85
- inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
86
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
87
- balance: z.ZodString;
88
- amount: z.ZodNumber;
89
- }, z.core.$strict>, z.ZodObject<{
90
- kind: z.ZodLiteral<"tier">;
91
- reward: z.ZodObject<{
92
- id: z.ZodString;
93
- title: z.ZodString;
94
- tiers: z.ZodArray<z.ZodObject<{
95
- id: z.ZodString;
96
- title: z.ZodString;
97
- }, z.core.$strict>>;
98
- inventory: z.ZodObject<{
99
- kind: z.ZodLiteral<"untracked">;
100
- }, z.core.$strict>;
101
- fulfillment: z.ZodObject<{
102
- kind: z.ZodLiteral<"staff-handover">;
103
- }, z.core.$strict>;
104
- }, z.core.$strict>;
105
- tier: z.ZodString;
106
- }, z.core.$strict>]>>>;
107
- invitee: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
108
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
109
- balance: z.ZodString;
110
- amount: z.ZodNumber;
111
- }, z.core.$strict>, z.ZodObject<{
112
- kind: z.ZodLiteral<"tier">;
113
- reward: z.ZodObject<{
114
- id: z.ZodString;
115
- title: z.ZodString;
116
- tiers: z.ZodArray<z.ZodObject<{
117
- id: z.ZodString;
118
- title: z.ZodString;
119
- }, z.core.$strict>>;
120
- inventory: z.ZodObject<{
121
- kind: z.ZodLiteral<"untracked">;
122
- }, z.core.$strict>;
123
- fulfillment: z.ZodObject<{
124
- kind: z.ZodLiteral<"staff-handover">;
125
- }, z.core.$strict>;
126
- }, z.core.$strict>;
127
- tier: z.ZodString;
128
- }, z.core.$strict>]>>>;
129
- }, z.core.$strict>>;
130
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
131
- kind: z.ZodLiteral<"signup">;
132
- }, z.core.$strict>, z.ZodObject<{
133
- kind: z.ZodLiteral<"quest">;
134
- quest: z.ZodString;
135
- }, z.core.$strict>, z.ZodObject<{
136
- kind: z.ZodLiteral<"external">;
137
- }, z.core.$strict>], "kind">;
138
- enabled: z.ZodDefault<z.ZodBoolean>;
139
- inviterGroup: z.ZodOptional<z.ZodString>;
140
- milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
141
- id: z.ZodString;
142
- count: z.ZodNumber;
143
- rewards: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
144
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
145
- balance: z.ZodString;
146
- amount: z.ZodNumber;
147
- }, z.core.$strict>, z.ZodObject<{
148
- kind: z.ZodLiteral<"tier">;
149
- reward: z.ZodObject<{
150
- id: z.ZodString;
151
- title: z.ZodString;
152
- tiers: z.ZodArray<z.ZodObject<{
153
- id: z.ZodString;
154
- title: z.ZodString;
155
- }, z.core.$strict>>;
156
- inventory: z.ZodObject<{
157
- kind: z.ZodLiteral<"untracked">;
158
- }, z.core.$strict>;
159
- fulfillment: z.ZodObject<{
160
- kind: z.ZodLiteral<"staff-handover">;
161
- }, z.core.$strict>;
162
- }, z.core.$strict>;
163
- tier: z.ZodString;
164
- }, z.core.$strict>]>>;
165
- }, z.core.$strict>>>;
166
- bonuses: z.ZodDefault<z.ZodArray<z.ZodObject<{
167
- id: z.ZodString;
168
- balance: z.ZodString;
169
- basisPoints: z.ZodNumber;
170
- quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
171
- external: z.ZodDefault<z.ZodBoolean>;
172
- durationDays: z.ZodOptional<z.ZodNumber>;
173
- maxPoints: z.ZodOptional<z.ZodNumber>;
174
- }, z.core.$strict>>>;
175
- key: z.ZodOptional<z.ZodString>;
176
- id: z.ZodOptional<z.ZodString>;
177
- }, z.core.$strict>, z.ZodTransform<Omit<{
178
- title: string;
179
- rewards: {
180
- inviter: ({
181
- kind: "tier";
182
- reward: {
183
- id: string;
184
- title: string;
185
- tiers: {
186
- id: string;
187
- title: string;
188
- }[];
189
- inventory: {
190
- kind: "untracked";
191
- };
192
- fulfillment: {
193
- kind: "staff-handover";
194
- };
195
- };
196
- tier: string;
197
- } | {
198
- kind: "points";
199
- balance: string;
200
- amount: number;
201
- })[];
202
- invitee: ({
203
- kind: "tier";
204
- reward: {
205
- id: string;
206
- title: string;
207
- tiers: {
208
- id: string;
209
- title: string;
210
- }[];
211
- inventory: {
212
- kind: "untracked";
213
- };
214
- fulfillment: {
215
- kind: "staff-handover";
216
- };
217
- };
218
- tier: string;
219
- } | {
220
- kind: "points";
221
- balance: string;
222
- amount: number;
223
- })[];
224
- };
225
- qualification: {
226
- kind: "signup";
227
- } | {
228
- kind: "quest";
229
- quest: string;
230
- } | {
231
- kind: "external";
232
- };
233
- enabled: boolean;
234
- milestones: {
235
- id: string;
236
- count: number;
237
- rewards: ({
238
- kind: "tier";
239
- reward: {
240
- id: string;
241
- title: string;
242
- tiers: {
243
- id: string;
244
- title: string;
245
- }[];
246
- inventory: {
247
- kind: "untracked";
248
- };
249
- fulfillment: {
250
- kind: "staff-handover";
251
- };
252
- };
253
- tier: string;
254
- } | {
255
- kind: "points";
256
- balance: string;
257
- amount: number;
258
- })[];
259
- }[];
260
- bonuses: {
261
- id: string;
262
- balance: string;
263
- basisPoints: number;
264
- external: boolean;
265
- quests?: string[] | undefined;
266
- durationDays?: number | undefined;
267
- maxPoints?: number | undefined;
268
- }[];
269
- inviterGroup?: string | undefined;
270
- key?: string | undefined;
271
- id?: string | undefined;
272
- }, "id" | "key"> & {
273
- key: string;
274
- }, {
275
- title: string;
276
- rewards: {
277
- inviter: ({
278
- kind: "tier";
279
- reward: {
280
- id: string;
281
- title: string;
282
- tiers: {
283
- id: string;
284
- title: string;
285
- }[];
286
- inventory: {
287
- kind: "untracked";
288
- };
289
- fulfillment: {
290
- kind: "staff-handover";
291
- };
292
- };
293
- tier: string;
294
- } | {
295
- kind: "points";
296
- balance: string;
297
- amount: number;
298
- })[];
299
- invitee: ({
300
- kind: "tier";
301
- reward: {
302
- id: string;
303
- title: string;
304
- tiers: {
305
- id: string;
306
- title: string;
307
- }[];
308
- inventory: {
309
- kind: "untracked";
310
- };
311
- fulfillment: {
312
- kind: "staff-handover";
313
- };
314
- };
315
- tier: string;
316
- } | {
317
- kind: "points";
318
- balance: string;
319
- amount: number;
320
- })[];
321
- };
322
- qualification: {
323
- kind: "signup";
324
- } | {
325
- kind: "quest";
326
- quest: string;
327
- } | {
328
- kind: "external";
329
- };
330
- enabled: boolean;
331
- milestones: {
332
- id: string;
333
- count: number;
334
- rewards: ({
335
- kind: "tier";
336
- reward: {
337
- id: string;
338
- title: string;
339
- tiers: {
340
- id: string;
341
- title: string;
342
- }[];
343
- inventory: {
344
- kind: "untracked";
345
- };
346
- fulfillment: {
347
- kind: "staff-handover";
348
- };
349
- };
350
- tier: string;
351
- } | {
352
- kind: "points";
353
- balance: string;
354
- amount: number;
355
- })[];
356
- }[];
357
- bonuses: {
358
- id: string;
359
- balance: string;
360
- basisPoints: number;
361
- external: boolean;
362
- quests?: string[] | undefined;
363
- durationDays?: number | undefined;
364
- maxPoints?: number | undefined;
365
- }[];
366
- inviterGroup?: string | undefined;
367
- key?: string | undefined;
368
- id?: string | undefined;
369
- }>>, z.ZodObject<{
370
- code: z.ZodString;
371
- }, z.core.$strict>]>>>;
372
- leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
373
- title: z.ZodString;
374
- balance: z.ZodString;
375
- group: z.ZodOptional<z.ZodString>;
376
- score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
377
- kind: z.ZodLiteral<"balance">;
378
- }, z.core.$strict>, z.ZodObject<{
379
- window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
380
- kind: z.ZodLiteral<"all-time">;
381
- }, z.core.$strict>, z.ZodObject<{
382
- kind: z.ZodLiteral<"fixed">;
383
- start: z.ZodNumber;
384
- end: z.ZodNumber;
385
- }, z.core.$strict>, z.ZodObject<{
386
- kind: z.ZodLiteral<"rolling">;
387
- days: z.ZodNumber;
388
- }, z.core.$strict>, z.ZodObject<{
389
- kind: z.ZodLiteral<"calendar">;
390
- period: z.ZodEnum<{
391
- day: "day";
392
- week: "week";
393
- month: "month";
394
- }>;
395
- timeZone: z.ZodString;
396
- }, z.core.$strict>], "kind">>;
397
- quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
398
- kind: z.ZodLiteral<"earned">;
399
- }, z.core.$strict>, z.ZodObject<{
400
- kind: z.ZodLiteral<"net">;
401
- window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
402
- kind: z.ZodLiteral<"all-time">;
403
- }, z.core.$strict>, z.ZodObject<{
404
- kind: z.ZodLiteral<"fixed">;
405
- start: z.ZodNumber;
406
- end: z.ZodNumber;
407
- }, z.core.$strict>, z.ZodObject<{
408
- kind: z.ZodLiteral<"rolling">;
409
- days: z.ZodNumber;
410
- }, z.core.$strict>, z.ZodObject<{
411
- kind: z.ZodLiteral<"calendar">;
412
- period: z.ZodEnum<{
413
- day: "day";
414
- week: "week";
415
- month: "month";
416
- }>;
417
- timeZone: z.ZodString;
418
- }, z.core.$strict>], "kind">>;
419
- }, z.core.$strict>], "kind">>;
420
- access: z.ZodDefault<z.ZodEnum<{
421
- participants: "participants";
422
- public: "public";
423
- }>>;
424
- key: z.ZodOptional<z.ZodString>;
425
- id: z.ZodOptional<z.ZodString>;
426
- }, z.core.$strict>, z.ZodTransform<Omit<{
427
- title: string;
428
- balance: string;
429
- score: {
430
- kind: "balance";
431
- } | {
432
- window: {
433
- kind: "fixed";
434
- start: number;
435
- end: number;
436
- } | {
437
- kind: "all-time";
438
- } | {
439
- kind: "rolling";
440
- days: number;
441
- } | {
442
- kind: "calendar";
443
- period: "day" | "week" | "month";
444
- timeZone: string;
445
- };
446
- kind: "earned";
447
- quests?: string[] | undefined;
448
- } | {
449
- kind: "net";
450
- window: {
451
- kind: "fixed";
452
- start: number;
453
- end: number;
454
- } | {
455
- kind: "all-time";
456
- } | {
457
- kind: "rolling";
458
- days: number;
459
- } | {
460
- kind: "calendar";
461
- period: "day" | "week" | "month";
462
- timeZone: string;
463
- };
464
- };
465
- access: "participants" | "public";
466
- group?: string | undefined;
467
- key?: string | undefined;
468
- id?: string | undefined;
469
- }, "id" | "key"> & {
470
- key: string;
471
- }, {
472
- title: string;
473
- balance: string;
474
- score: {
475
- kind: "balance";
476
- } | {
477
- window: {
478
- kind: "fixed";
479
- start: number;
480
- end: number;
481
- } | {
482
- kind: "all-time";
483
- } | {
484
- kind: "rolling";
485
- days: number;
486
- } | {
487
- kind: "calendar";
488
- period: "day" | "week" | "month";
489
- timeZone: string;
490
- };
491
- kind: "earned";
492
- quests?: string[] | undefined;
493
- } | {
494
- kind: "net";
495
- window: {
496
- kind: "fixed";
497
- start: number;
498
- end: number;
499
- } | {
500
- kind: "all-time";
501
- } | {
502
- kind: "rolling";
503
- days: number;
504
- } | {
505
- kind: "calendar";
506
- period: "day" | "week" | "month";
507
- timeZone: string;
508
- };
509
- };
510
- access: "participants" | "public";
511
- group?: string | undefined;
512
- key?: string | undefined;
513
- id?: string | undefined;
514
- }>>, z.ZodObject<{
515
- code: z.ZodString;
516
- }, z.core.$strict>]>>>;
517
- images: z.ZodDefault<z.ZodArray<z.ZodObject<{
518
- key: z.ZodString;
519
- sha256: z.ZodString;
520
- size: z.ZodNumber;
521
- path: z.ZodOptional<z.ZodString>;
522
- }, z.core.$strict>>>;
523
- }, z.core.$strict>;
524
- /** One manifest bundle. Missing entries never delete remotely owned resources. */
525
- declare const projectDeploymentSchema: z.ZodObject<{
526
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
527
- code: z.ZodString;
528
- provider: z.ZodEnum<{
529
- "workers-ai": "workers-ai";
530
- }>;
531
- }, z.core.$strip>>>;
532
- collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
533
- title: z.ZodString;
534
- key: z.ZodOptional<z.ZodString>;
535
- id: z.ZodOptional<z.ZodString>;
536
- }, z.core.$strict>, z.ZodTransform<Omit<{
537
- title: string;
538
- key?: string | undefined;
539
- id?: string | undefined;
540
- }, "id" | "key"> & {
541
- key: string;
542
- }, {
543
- title: string;
544
- key?: string | undefined;
545
- id?: string | undefined;
546
- }>>>>;
547
- supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
548
- url: "url";
549
- text: "text";
550
- automatic: "automatic";
551
- claim: "claim";
552
- staff: "staff";
553
- quiz: "quiz";
554
- photo: "photo";
555
- }>>>;
556
- engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
557
- code: z.ZodString;
558
- }, z.core.$strict>>>;
559
- trackers: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
560
- key: z.ZodString;
561
- title: z.ZodString;
562
- source: z.ZodDiscriminatedUnion<[z.ZodObject<{
563
- kind: z.ZodLiteral<"x-search">;
564
- query: z.ZodString;
565
- }, z.core.$strict>, z.ZodObject<{
566
- kind: z.ZodLiteral<"custom">;
567
- namespace: z.ZodString;
568
- identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
569
- x: "x";
570
- discord: "discord";
571
- member: "member";
572
- wallet: "wallet";
573
- }>>>;
574
- accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
575
- authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
576
- }, z.core.$strict>], "kind">;
577
- window: z.ZodObject<{
578
- start: z.ZodNumber;
579
- end: z.ZodOptional<z.ZodNumber>;
580
- }, z.core.$strict>;
581
- refreshSeconds: z.ZodDefault<z.ZodNumber>;
582
- maxPages: z.ZodDefault<z.ZodNumber>;
583
- }, z.core.$strict>, z.ZodObject<{
584
- code: z.ZodString;
585
- }, z.core.$strict>]>>>;
586
- pointLedgers: z.ZodDefault<z.ZodArray<z.ZodObject<{
587
- name: z.ZodString;
588
- description: z.ZodDefault<z.ZodString>;
589
- key: z.ZodString;
590
- }, z.core.$strict>>>;
591
- referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
592
- title: z.ZodString;
593
- rewards: z.ZodDefault<z.ZodObject<{
594
- inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
595
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
596
- balance: z.ZodString;
597
- amount: z.ZodNumber;
598
- }, z.core.$strict>, z.ZodObject<{
599
- kind: z.ZodLiteral<"tier">;
600
- reward: z.ZodObject<{
601
- id: z.ZodString;
602
- title: z.ZodString;
603
- tiers: z.ZodArray<z.ZodObject<{
604
- id: z.ZodString;
605
- title: z.ZodString;
606
- }, z.core.$strict>>;
607
- inventory: z.ZodObject<{
608
- kind: z.ZodLiteral<"untracked">;
609
- }, z.core.$strict>;
610
- fulfillment: z.ZodObject<{
611
- kind: z.ZodLiteral<"staff-handover">;
612
- }, z.core.$strict>;
613
- }, z.core.$strict>;
614
- tier: z.ZodString;
615
- }, z.core.$strict>]>>>;
616
- invitee: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
617
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
618
- balance: z.ZodString;
619
- amount: z.ZodNumber;
620
- }, z.core.$strict>, z.ZodObject<{
621
- kind: z.ZodLiteral<"tier">;
622
- reward: z.ZodObject<{
623
- id: z.ZodString;
624
- title: z.ZodString;
625
- tiers: z.ZodArray<z.ZodObject<{
626
- id: z.ZodString;
627
- title: z.ZodString;
628
- }, z.core.$strict>>;
629
- inventory: z.ZodObject<{
630
- kind: z.ZodLiteral<"untracked">;
631
- }, z.core.$strict>;
632
- fulfillment: z.ZodObject<{
633
- kind: z.ZodLiteral<"staff-handover">;
634
- }, z.core.$strict>;
635
- }, z.core.$strict>;
636
- tier: z.ZodString;
637
- }, z.core.$strict>]>>>;
638
- }, z.core.$strict>>;
639
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
640
- kind: z.ZodLiteral<"signup">;
641
- }, z.core.$strict>, z.ZodObject<{
642
- kind: z.ZodLiteral<"quest">;
643
- quest: z.ZodString;
644
- }, z.core.$strict>, z.ZodObject<{
645
- kind: z.ZodLiteral<"external">;
646
- }, z.core.$strict>], "kind">;
647
- enabled: z.ZodDefault<z.ZodBoolean>;
648
- inviterGroup: z.ZodOptional<z.ZodString>;
649
- milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
650
- id: z.ZodString;
651
- count: z.ZodNumber;
652
- rewards: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
653
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
654
- balance: z.ZodString;
655
- amount: z.ZodNumber;
656
- }, z.core.$strict>, z.ZodObject<{
657
- kind: z.ZodLiteral<"tier">;
658
- reward: z.ZodObject<{
659
- id: z.ZodString;
660
- title: z.ZodString;
661
- tiers: z.ZodArray<z.ZodObject<{
662
- id: z.ZodString;
663
- title: z.ZodString;
664
- }, z.core.$strict>>;
665
- inventory: z.ZodObject<{
666
- kind: z.ZodLiteral<"untracked">;
667
- }, z.core.$strict>;
668
- fulfillment: z.ZodObject<{
669
- kind: z.ZodLiteral<"staff-handover">;
670
- }, z.core.$strict>;
671
- }, z.core.$strict>;
672
- tier: z.ZodString;
673
- }, z.core.$strict>]>>;
674
- }, z.core.$strict>>>;
675
- bonuses: z.ZodDefault<z.ZodArray<z.ZodObject<{
676
- id: z.ZodString;
677
- balance: z.ZodString;
678
- basisPoints: z.ZodNumber;
679
- quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
680
- external: z.ZodDefault<z.ZodBoolean>;
681
- durationDays: z.ZodOptional<z.ZodNumber>;
682
- maxPoints: z.ZodOptional<z.ZodNumber>;
683
- }, z.core.$strict>>>;
684
- key: z.ZodOptional<z.ZodString>;
685
- id: z.ZodOptional<z.ZodString>;
686
- }, z.core.$strict>, z.ZodTransform<Omit<{
687
- title: string;
688
- rewards: {
689
- inviter: ({
690
- kind: "tier";
691
- reward: {
692
- id: string;
693
- title: string;
694
- tiers: {
695
- id: string;
696
- title: string;
697
- }[];
698
- inventory: {
699
- kind: "untracked";
700
- };
701
- fulfillment: {
702
- kind: "staff-handover";
703
- };
704
- };
705
- tier: string;
706
- } | {
707
- kind: "points";
708
- balance: string;
709
- amount: number;
710
- })[];
711
- invitee: ({
712
- kind: "tier";
713
- reward: {
714
- id: string;
715
- title: string;
716
- tiers: {
717
- id: string;
718
- title: string;
719
- }[];
720
- inventory: {
721
- kind: "untracked";
722
- };
723
- fulfillment: {
724
- kind: "staff-handover";
725
- };
726
- };
727
- tier: string;
728
- } | {
729
- kind: "points";
730
- balance: string;
731
- amount: number;
732
- })[];
733
- };
734
- qualification: {
735
- kind: "signup";
736
- } | {
737
- kind: "quest";
738
- quest: string;
739
- } | {
740
- kind: "external";
741
- };
742
- enabled: boolean;
743
- milestones: {
744
- id: string;
745
- count: number;
746
- rewards: ({
747
- kind: "tier";
748
- reward: {
749
- id: string;
750
- title: string;
751
- tiers: {
752
- id: string;
753
- title: string;
754
- }[];
755
- inventory: {
756
- kind: "untracked";
757
- };
758
- fulfillment: {
759
- kind: "staff-handover";
760
- };
761
- };
762
- tier: string;
763
- } | {
764
- kind: "points";
765
- balance: string;
766
- amount: number;
767
- })[];
768
- }[];
769
- bonuses: {
770
- id: string;
771
- balance: string;
772
- basisPoints: number;
773
- external: boolean;
774
- quests?: string[] | undefined;
775
- durationDays?: number | undefined;
776
- maxPoints?: number | undefined;
777
- }[];
778
- inviterGroup?: string | undefined;
779
- key?: string | undefined;
780
- id?: string | undefined;
781
- }, "id" | "key"> & {
782
- key: string;
783
- }, {
784
- title: string;
785
- rewards: {
786
- inviter: ({
787
- kind: "tier";
788
- reward: {
789
- id: string;
790
- title: string;
791
- tiers: {
792
- id: string;
793
- title: string;
794
- }[];
795
- inventory: {
796
- kind: "untracked";
797
- };
798
- fulfillment: {
799
- kind: "staff-handover";
800
- };
801
- };
802
- tier: string;
803
- } | {
804
- kind: "points";
805
- balance: string;
806
- amount: number;
807
- })[];
808
- invitee: ({
809
- kind: "tier";
810
- reward: {
811
- id: string;
812
- title: string;
813
- tiers: {
814
- id: string;
815
- title: string;
816
- }[];
817
- inventory: {
818
- kind: "untracked";
819
- };
820
- fulfillment: {
821
- kind: "staff-handover";
822
- };
823
- };
824
- tier: string;
825
- } | {
826
- kind: "points";
827
- balance: string;
828
- amount: number;
829
- })[];
830
- };
831
- qualification: {
832
- kind: "signup";
833
- } | {
834
- kind: "quest";
835
- quest: string;
836
- } | {
837
- kind: "external";
838
- };
839
- enabled: boolean;
840
- milestones: {
841
- id: string;
842
- count: number;
843
- rewards: ({
844
- kind: "tier";
845
- reward: {
846
- id: string;
847
- title: string;
848
- tiers: {
849
- id: string;
850
- title: string;
851
- }[];
852
- inventory: {
853
- kind: "untracked";
854
- };
855
- fulfillment: {
856
- kind: "staff-handover";
857
- };
858
- };
859
- tier: string;
860
- } | {
861
- kind: "points";
862
- balance: string;
863
- amount: number;
864
- })[];
865
- }[];
866
- bonuses: {
867
- id: string;
868
- balance: string;
869
- basisPoints: number;
870
- external: boolean;
871
- quests?: string[] | undefined;
872
- durationDays?: number | undefined;
873
- maxPoints?: number | undefined;
874
- }[];
875
- inviterGroup?: string | undefined;
876
- key?: string | undefined;
877
- id?: string | undefined;
878
- }>>, z.ZodObject<{
879
- code: z.ZodString;
880
- }, z.core.$strict>]>>>;
881
- leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
882
- title: z.ZodString;
883
- balance: z.ZodString;
884
- group: z.ZodOptional<z.ZodString>;
885
- score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
886
- kind: z.ZodLiteral<"balance">;
887
- }, z.core.$strict>, z.ZodObject<{
888
- window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
889
- kind: z.ZodLiteral<"all-time">;
890
- }, z.core.$strict>, z.ZodObject<{
891
- kind: z.ZodLiteral<"fixed">;
892
- start: z.ZodNumber;
893
- end: z.ZodNumber;
894
- }, z.core.$strict>, z.ZodObject<{
895
- kind: z.ZodLiteral<"rolling">;
896
- days: z.ZodNumber;
897
- }, z.core.$strict>, z.ZodObject<{
898
- kind: z.ZodLiteral<"calendar">;
899
- period: z.ZodEnum<{
900
- day: "day";
901
- week: "week";
902
- month: "month";
903
- }>;
904
- timeZone: z.ZodString;
905
- }, z.core.$strict>], "kind">>;
906
- quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
907
- kind: z.ZodLiteral<"earned">;
908
- }, z.core.$strict>, z.ZodObject<{
909
- kind: z.ZodLiteral<"net">;
910
- window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
911
- kind: z.ZodLiteral<"all-time">;
912
- }, z.core.$strict>, z.ZodObject<{
913
- kind: z.ZodLiteral<"fixed">;
914
- start: z.ZodNumber;
915
- end: z.ZodNumber;
916
- }, z.core.$strict>, z.ZodObject<{
917
- kind: z.ZodLiteral<"rolling">;
918
- days: z.ZodNumber;
919
- }, z.core.$strict>, z.ZodObject<{
920
- kind: z.ZodLiteral<"calendar">;
921
- period: z.ZodEnum<{
922
- day: "day";
923
- week: "week";
924
- month: "month";
925
- }>;
926
- timeZone: z.ZodString;
927
- }, z.core.$strict>], "kind">>;
928
- }, z.core.$strict>], "kind">>;
929
- access: z.ZodDefault<z.ZodEnum<{
930
- participants: "participants";
931
- public: "public";
932
- }>>;
933
- key: z.ZodOptional<z.ZodString>;
934
- id: z.ZodOptional<z.ZodString>;
935
- }, z.core.$strict>, z.ZodTransform<Omit<{
936
- title: string;
937
- balance: string;
938
- score: {
939
- kind: "balance";
940
- } | {
941
- window: {
942
- kind: "fixed";
943
- start: number;
944
- end: number;
945
- } | {
946
- kind: "all-time";
947
- } | {
948
- kind: "rolling";
949
- days: number;
950
- } | {
951
- kind: "calendar";
952
- period: "day" | "week" | "month";
953
- timeZone: string;
954
- };
955
- kind: "earned";
956
- quests?: string[] | undefined;
957
- } | {
958
- kind: "net";
959
- window: {
960
- kind: "fixed";
961
- start: number;
962
- end: number;
963
- } | {
964
- kind: "all-time";
965
- } | {
966
- kind: "rolling";
967
- days: number;
968
- } | {
969
- kind: "calendar";
970
- period: "day" | "week" | "month";
971
- timeZone: string;
972
- };
973
- };
974
- access: "participants" | "public";
975
- group?: string | undefined;
976
- key?: string | undefined;
977
- id?: string | undefined;
978
- }, "id" | "key"> & {
979
- key: string;
980
- }, {
981
- title: string;
982
- balance: string;
983
- score: {
984
- kind: "balance";
985
- } | {
986
- window: {
987
- kind: "fixed";
988
- start: number;
989
- end: number;
990
- } | {
991
- kind: "all-time";
992
- } | {
993
- kind: "rolling";
994
- days: number;
995
- } | {
996
- kind: "calendar";
997
- period: "day" | "week" | "month";
998
- timeZone: string;
999
- };
1000
- kind: "earned";
1001
- quests?: string[] | undefined;
1002
- } | {
1003
- kind: "net";
1004
- window: {
1005
- kind: "fixed";
1006
- start: number;
1007
- end: number;
1008
- } | {
1009
- kind: "all-time";
1010
- } | {
1011
- kind: "rolling";
1012
- days: number;
1013
- } | {
1014
- kind: "calendar";
1015
- period: "day" | "week" | "month";
1016
- timeZone: string;
1017
- };
1018
- };
1019
- access: "participants" | "public";
1020
- group?: string | undefined;
1021
- key?: string | undefined;
1022
- id?: string | undefined;
1023
- }>>, z.ZodObject<{
1024
- code: z.ZodString;
1025
- }, z.core.$strict>]>>>;
1026
- images: z.ZodDefault<z.ZodArray<z.ZodObject<{
1027
- key: z.ZodString;
1028
- sha256: z.ZodString;
1029
- size: z.ZodNumber;
1030
- path: z.ZodOptional<z.ZodString>;
1031
- }, z.core.$strict>>>;
1032
- releases: z.ZodDefault<z.ZodArray<z.ZodObject<{
1033
- code: z.ZodString;
1034
- settings: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodObject<{
1035
- id: z.ZodString;
1036
- prompt: z.ZodString;
1037
- choices: z.ZodArray<z.ZodObject<{
1038
- id: z.ZodString;
1039
- label: z.ZodString;
1040
- }, z.core.$strict>>;
1041
- correct: z.ZodString;
1042
- }, z.core.$strict>>]>>;
1043
- provider: z.ZodEnum<{
1044
- "workers-ai": "workers-ai";
1045
- }>;
1046
- expectedRelease: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1047
- settingRenames: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1048
- }, z.core.$strict>>>;
1049
- }, z.core.$strict>;
1050
- declare const deploymentPreviewSchema: z.ZodObject<{
1051
- id: z.ZodString;
1052
- engagement: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1053
- code: z.ZodString;
1054
- rule: z.ZodObject<{
1055
- version: z.ZodString;
1056
- definition: z.ZodObject<{
1057
- key: z.ZodString;
1058
- qualifiedBy: z.ZodString;
1059
- balance: z.ZodString;
1060
- metrics: z.ZodArray<z.ZodEnum<{
1061
- likes: "likes";
1062
- replies: "replies";
1063
- reposts: "reposts";
1064
- quotes: "quotes";
1065
- views: "views";
1066
- bookmarks: "bookmarks";
1067
- }>>;
1068
- baseline: z.ZodLiteral<"historical">;
1069
- maxAgeMs: z.ZodDefault<z.ZodNumber>;
1070
- budget: z.ZodDefault<z.ZodObject<{
1071
- projectDaily: z.ZodOptional<z.ZodNumber>;
1072
- memberDaily: z.ZodOptional<z.ZodNumber>;
1073
- projectLifetime: z.ZodOptional<z.ZodNumber>;
1074
- }, z.core.$strict>>;
1075
- }, z.core.$strict>;
1076
- publishedAt: z.ZodNumber;
1077
- }, z.core.$strict>;
1078
- kind: z.ZodLiteral<"create">;
1079
- }, z.core.$strict>, z.ZodObject<{
1080
- code: z.ZodString;
1081
- rule: z.ZodObject<{
1082
- version: z.ZodString;
1083
- definition: z.ZodObject<{
1084
- key: z.ZodString;
1085
- qualifiedBy: z.ZodString;
1086
- balance: z.ZodString;
1087
- metrics: z.ZodArray<z.ZodEnum<{
1088
- likes: "likes";
1089
- replies: "replies";
1090
- reposts: "reposts";
1091
- quotes: "quotes";
1092
- views: "views";
1093
- bookmarks: "bookmarks";
1094
- }>>;
1095
- baseline: z.ZodLiteral<"historical">;
1096
- maxAgeMs: z.ZodDefault<z.ZodNumber>;
1097
- budget: z.ZodDefault<z.ZodObject<{
1098
- projectDaily: z.ZodOptional<z.ZodNumber>;
1099
- memberDaily: z.ZodOptional<z.ZodNumber>;
1100
- projectLifetime: z.ZodOptional<z.ZodNumber>;
1101
- }, z.core.$strict>>;
1102
- }, z.core.$strict>;
1103
- publishedAt: z.ZodNumber;
1104
- }, z.core.$strict>;
1105
- kind: z.ZodLiteral<"unchanged">;
1106
- }, z.core.$strict>, z.ZodObject<{
1107
- code: z.ZodString;
1108
- rule: z.ZodObject<{
1109
- version: z.ZodString;
1110
- definition: z.ZodObject<{
1111
- key: z.ZodString;
1112
- qualifiedBy: z.ZodString;
1113
- balance: z.ZodString;
1114
- metrics: z.ZodArray<z.ZodEnum<{
1115
- likes: "likes";
1116
- replies: "replies";
1117
- reposts: "reposts";
1118
- quotes: "quotes";
1119
- views: "views";
1120
- bookmarks: "bookmarks";
1121
- }>>;
1122
- baseline: z.ZodLiteral<"historical">;
1123
- maxAgeMs: z.ZodDefault<z.ZodNumber>;
1124
- budget: z.ZodDefault<z.ZodObject<{
1125
- projectDaily: z.ZodOptional<z.ZodNumber>;
1126
- memberDaily: z.ZodOptional<z.ZodNumber>;
1127
- projectLifetime: z.ZodOptional<z.ZodNumber>;
1128
- }, z.core.$strict>>;
1129
- }, z.core.$strict>;
1130
- publishedAt: z.ZodNumber;
1131
- }, z.core.$strict>;
1132
- kind: z.ZodLiteral<"change">;
1133
- change: z.ZodObject<{
1134
- rule: z.ZodString;
1135
- fromVersion: z.ZodString;
1136
- toVersion: z.ZodString;
1137
- previewHash: z.ZodString;
1138
- definition: z.ZodObject<{
1139
- key: z.ZodString;
1140
- qualifiedBy: z.ZodString;
1141
- balance: z.ZodString;
1142
- metrics: z.ZodArray<z.ZodEnum<{
1143
- likes: "likes";
1144
- replies: "replies";
1145
- reposts: "reposts";
1146
- quotes: "quotes";
1147
- views: "views";
1148
- bookmarks: "bookmarks";
1149
- }>>;
1150
- baseline: z.ZodLiteral<"historical">;
1151
- maxAgeMs: z.ZodDefault<z.ZodNumber>;
1152
- budget: z.ZodDefault<z.ZodObject<{
1153
- projectDaily: z.ZodOptional<z.ZodNumber>;
1154
- memberDaily: z.ZodOptional<z.ZodNumber>;
1155
- projectLifetime: z.ZodOptional<z.ZodNumber>;
1156
- }, z.core.$strict>>;
1157
- }, z.core.$strict>;
1158
- boundary: z.ZodLiteral<"available-eligible-observation">;
1159
- settlement: z.ZodLiteral<"deferred">;
1160
- summary: z.ZodObject<{
1161
- knownAdmissions: z.ZodNumber;
1162
- accounts: z.ZodNumber;
1163
- uninitialized: z.ZodNumber;
1164
- pendingTransitions: z.ZodNumber;
1165
- earned: z.ZodString;
1166
- paid: z.ZodString;
1167
- excluded: z.ZodString;
1168
- pending: z.ZodString;
1169
- }, z.core.$strict>;
1170
- }, z.core.$strict>;
1171
- }, z.core.$strict>], "kind">>>;
1172
- trackers: z.ZodDefault<z.ZodArray<z.ZodObject<{
1173
- id: z.ZodString;
1174
- version: z.ZodString;
1175
- definition: z.ZodObject<{
1176
- key: z.ZodString;
1177
- title: z.ZodString;
1178
- source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1179
- kind: z.ZodLiteral<"x-search">;
1180
- query: z.ZodString;
1181
- }, z.core.$strict>, z.ZodObject<{
1182
- kind: z.ZodLiteral<"custom">;
1183
- namespace: z.ZodString;
1184
- identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1185
- x: "x";
1186
- discord: "discord";
1187
- member: "member";
1188
- wallet: "wallet";
1189
- }>>>;
1190
- accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1191
- authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
1192
- }, z.core.$strict>], "kind">;
1193
- window: z.ZodObject<{
1194
- start: z.ZodNumber;
1195
- end: z.ZodOptional<z.ZodNumber>;
1196
- }, z.core.$strict>;
1197
- refreshSeconds: z.ZodDefault<z.ZodNumber>;
1198
- maxPages: z.ZodDefault<z.ZodNumber>;
1199
- }, z.core.$strict>;
1200
- publishedAt: z.ZodNumber;
1201
- actor: z.ZodNullable<z.ZodString>;
1202
- }, z.core.$strip>>>;
1203
- baseRevision: z.ZodNumber;
1204
- pointLedgers: z.ZodDefault<z.ZodArray<z.ZodObject<{
1205
- name: z.ZodString;
1206
- description: z.ZodDefault<z.ZodString>;
1207
- id: z.ZodString;
1208
- }, z.core.$strict>>>;
1209
- releases: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1210
- quest: z.ZodString;
1211
- runtimeVersion: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
1212
- title: z.ZodString;
1213
- presentation: z.ZodDefault<z.ZodObject<{
1214
- quiz: z.ZodOptional<z.ZodArray<z.ZodObject<{
1215
- id: z.ZodString;
1216
- prompt: z.ZodString;
1217
- choices: z.ZodArray<z.ZodObject<{
1218
- id: z.ZodString;
1219
- label: z.ZodString;
1220
- }, z.core.$strict>>;
1221
- }, z.core.$strict>>>;
1222
- instructions: z.ZodOptional<z.ZodString>;
1223
- video: z.ZodOptional<z.ZodObject<{
1224
- url: z.ZodString;
1225
- poster: z.ZodOptional<z.ZodString>;
1226
- captions: z.ZodOptional<z.ZodObject<{
1227
- url: z.ZodString;
1228
- language: z.ZodString;
1229
- label: z.ZodString;
1230
- }, z.core.$strict>>;
1231
- }, z.core.$strict>>;
1232
- }, z.core.$strict>>;
1233
- integrations: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1234
- discord: "discord";
1235
- }>>>;
1236
- fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1237
- kind: z.ZodLiteral<"point-ledger">;
1238
- default: z.ZodString;
1239
- label: z.ZodString;
1240
- description: z.ZodOptional<z.ZodString>;
1241
- }, z.core.$strict>, z.ZodObject<{
1242
- kind: z.ZodLiteral<"datetime">;
1243
- default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
1244
- label: z.ZodString;
1245
- description: z.ZodOptional<z.ZodString>;
1246
- }, z.core.$strict>, z.ZodObject<{
1247
- kind: z.ZodLiteral<"resource">;
1248
- default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1249
- source: z.ZodUnion<readonly [z.ZodObject<{
1250
- provider: z.ZodLiteral<"domino">;
1251
- resource: z.ZodLiteral<"point-ledger">;
1252
- }, z.core.$strict>, z.ZodObject<{
1253
- provider: z.ZodLiteral<"discord">;
1254
- resource: z.ZodLiteral<"channel">;
1255
- types: z.ZodArray<z.ZodEnum<{
1256
- text: "text";
1257
- announcement: "announcement";
1258
- }>>;
1259
- }, z.core.$strict>, z.ZodObject<{
1260
- provider: z.ZodLiteral<"discord">;
1261
- resource: z.ZodLiteral<"role">;
1262
- assignable: z.ZodDefault<z.ZodBoolean>;
1263
- }, z.core.$strict>]>;
1264
- label: z.ZodString;
1265
- description: z.ZodOptional<z.ZodString>;
1266
- }, z.core.$strict>, z.ZodObject<{
1267
- kind: z.ZodLiteral<"quiz">;
1268
- default: z.ZodArray<z.ZodObject<{
1269
- id: z.ZodString;
1270
- prompt: z.ZodString;
1271
- choices: z.ZodArray<z.ZodObject<{
1272
- id: z.ZodString;
1273
- label: z.ZodString;
1274
- }, z.core.$strict>>;
1275
- correct: z.ZodString;
1276
- }, z.core.$strict>>;
1277
- label: z.ZodString;
1278
- description: z.ZodOptional<z.ZodString>;
1279
- }, z.core.$strict>, z.ZodObject<{
1280
- kind: z.ZodLiteral<"text">;
1281
- default: z.ZodString;
1282
- minLength: z.ZodNumber;
1283
- maxLength: z.ZodNumber;
1284
- multiline: z.ZodBoolean;
1285
- label: z.ZodString;
1286
- description: z.ZodOptional<z.ZodString>;
1287
- }, z.core.$strict>, z.ZodObject<{
1288
- kind: z.ZodLiteral<"integer">;
1289
- default: z.ZodNumber;
1290
- min: z.ZodNumber;
1291
- max: z.ZodNumber;
1292
- label: z.ZodString;
1293
- description: z.ZodOptional<z.ZodString>;
1294
- }, z.core.$strict>, z.ZodObject<{
1295
- kind: z.ZodLiteral<"boolean">;
1296
- default: z.ZodBoolean;
1297
- label: z.ZodString;
1298
- description: z.ZodOptional<z.ZodString>;
1299
- }, z.core.$strict>, z.ZodObject<{
1300
- kind: z.ZodLiteral<"choice">;
1301
- default: z.ZodString;
1302
- options: z.ZodArray<z.ZodString>;
1303
- label: z.ZodString;
1304
- description: z.ZodOptional<z.ZodString>;
1305
- }, z.core.$strict>], "kind">>;
1306
- values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodObject<{
1307
- id: z.ZodString;
1308
- prompt: z.ZodString;
1309
- choices: z.ZodArray<z.ZodObject<{
1310
- id: z.ZodString;
1311
- label: z.ZodString;
1312
- }, z.core.$strict>>;
1313
- correct: z.ZodString;
1314
- }, z.core.$strict>>]>>;
1315
- rewards: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1316
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
1317
- balance: z.ZodString;
1318
- amount: z.ZodNumber;
1319
- }, z.core.$strict>, z.ZodObject<{
1320
- kind: z.ZodLiteral<"tier">;
1321
- reward: z.ZodObject<{
1322
- id: z.ZodString;
1323
- title: z.ZodString;
1324
- tiers: z.ZodArray<z.ZodObject<{
1325
- id: z.ZodString;
1326
- title: z.ZodString;
1327
- }, z.core.$strict>>;
1328
- inventory: z.ZodObject<{
1329
- kind: z.ZodLiteral<"untracked">;
1330
- }, z.core.$strict>;
1331
- fulfillment: z.ZodObject<{
1332
- kind: z.ZodLiteral<"staff-handover">;
1333
- }, z.core.$strict>;
1334
- }, z.core.$strict>;
1335
- tier: z.ZodString;
1336
- }, z.core.$strict>, z.ZodObject<{
1337
- kind: z.ZodLiteral<"integration">;
1338
- provider: z.ZodLiteral<"discord">;
1339
- action: z.ZodLiteral<"grant-role">;
1340
- roleId: z.ZodString;
1341
- }, z.core.$strict>]>>;
1342
- humanReview: z.ZodBoolean;
1343
- trigger: z.ZodUnion<readonly [z.ZodObject<{
1344
- kind: z.ZodLiteral<"manual">;
1345
- input: z.ZodLiteral<"text">;
1346
- constraints: z.ZodObject<{
1347
- required: z.ZodDefault<z.ZodBoolean>;
1348
- minLength: z.ZodDefault<z.ZodNumber>;
1349
- maxLength: z.ZodDefault<z.ZodNumber>;
1350
- }, z.core.$strict>;
1351
- actor: z.ZodOptional<z.ZodEnum<{
1352
- member: "member";
1353
- staff: "staff";
1354
- }>>;
1355
- }, z.core.$strict>, z.ZodObject<{
1356
- kind: z.ZodLiteral<"manual">;
1357
- input: z.ZodLiteral<"url">;
1358
- constraints: z.ZodObject<{
1359
- required: z.ZodDefault<z.ZodBoolean>;
1360
- allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1361
- }, z.core.$strict>;
1362
- actor: z.ZodOptional<z.ZodEnum<{
1363
- member: "member";
1364
- staff: "staff";
1365
- }>>;
1366
- }, z.core.$strict>, z.ZodObject<{
1367
- kind: z.ZodLiteral<"manual">;
1368
- input: z.ZodEnum<{
1369
- none: "none";
1370
- quiz: "quiz";
1371
- photo: "photo";
1372
- }>;
1373
- actor: z.ZodOptional<z.ZodEnum<{
1374
- member: "member";
1375
- staff: "staff";
1376
- }>>;
1377
- }, z.core.$strict>, z.ZodObject<{
1378
- kind: z.ZodLiteral<"automatic">;
1379
- observation: z.ZodOptional<z.ZodObject<{
1380
- source: z.ZodString;
1381
- type: z.ZodString;
1382
- }, z.core.$strict>>;
1383
- content: z.ZodOptional<z.ZodObject<{
1384
- tracker: z.ZodString;
1385
- window: z.ZodObject<{
1386
- start: z.ZodNumber;
1387
- end: z.ZodOptional<z.ZodNumber>;
1388
- }, z.core.$strict>;
1389
- enrollment: z.ZodDefault<z.ZodEnum<{
1390
- none: "none";
1391
- required: "required";
1392
- }>>;
1393
- posts: z.ZodDefault<z.ZodEnum<{
1394
- "after-enrollment": "after-enrollment";
1395
- "since-start": "since-start";
1396
- }>>;
1397
- historical: z.ZodDefault<z.ZodEnum<{
1398
- automatic: "automatic";
1399
- claim: "claim";
1400
- staff: "staff";
1401
- }>>;
1402
- }, z.core.$strict>>;
1403
- tracker: z.ZodOptional<z.ZodObject<{
1404
- tracker: z.ZodString;
1405
- source: z.ZodEnum<{
1406
- custom: "custom";
1407
- "x-search": "x-search";
1408
- }>;
1409
- on: z.ZodOptional<z.ZodEnum<{
1410
- "new-record": "new-record";
1411
- "new-observation": "new-observation";
1412
- "data-changed": "data-changed";
1413
- }>>;
1414
- where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1415
- path: z.ZodString;
1416
- equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
1417
- }, z.core.$strict>, z.ZodObject<{
1418
- path: z.ZodString;
1419
- gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1420
- setting: z.ZodString;
1421
- }, z.core.$strict>]>>;
1422
- gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1423
- setting: z.ZodString;
1424
- }, z.core.$strict>]>>;
1425
- lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1426
- setting: z.ZodString;
1427
- }, z.core.$strict>]>>;
1428
- lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1429
- setting: z.ZodString;
1430
- }, z.core.$strict>]>>;
1431
- }, z.core.$strict>]>>;
1432
- beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
1433
- }, z.core.$strict>>;
1434
- }, z.core.$strict>]>;
1435
- performance: z.ZodOptional<z.ZodObject<{
1436
- metrics: z.ZodArray<z.ZodEnum<{
1437
- likes: "likes";
1438
- replies: "replies";
1439
- reposts: "reposts";
1440
- quotes: "quotes";
1441
- views: "views";
1442
- bookmarks: "bookmarks";
1443
- }>>;
1444
- maxAgeMs: z.ZodDefault<z.ZodNumber>;
1445
- }, z.core.$strict>>;
1446
- requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
1447
- quest: z.ZodString;
1448
- }, z.core.$strip>>>;
1449
- completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
1450
- kind: z.ZodLiteral<"streak">;
1451
- days: z.ZodNumber;
1452
- timeZone: z.ZodString;
1453
- }, z.core.$strict>, z.ZodObject<{
1454
- kind: z.ZodLiteral<"once">;
1455
- }, z.core.$strict>, z.ZodObject<{
1456
- kind: z.ZodLiteral<"keyed">;
1457
- }, z.core.$strict>], "kind">;
1458
- visibility: z.ZodDefault<z.ZodEnum<{
1459
- visible: "visible";
1460
- hidden: "hidden";
1461
- }>>;
1462
- profile: z.ZodOptional<z.ZodObject<{
1463
- visible: z.ZodBoolean;
1464
- }, z.core.$strict>>;
1465
- budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1466
- id: z.ZodString;
1467
- scope: z.ZodEnum<{
1468
- member: "member";
1469
- project: "project";
1470
- }>;
1471
- period: z.ZodEnum<{
1472
- day: "day";
1473
- lifetime: "lifetime";
1474
- week: "week";
1475
- }>;
1476
- limit: z.ZodNumber;
1477
- cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1478
- balance: z.ZodString;
1479
- }, z.core.$strict>]>;
1480
- }, z.core.$strict>>>;
1481
- key: z.ZodOptional<z.ZodString>;
1482
- code: z.ZodString;
1483
- provider: z.ZodEnum<{
1484
- "workers-ai": "workers-ai";
1485
- "fixture-pass": "fixture-pass";
1486
- "fixture-fail": "fixture-fail";
1487
- "fixture-unclear": "fixture-unclear";
1488
- "fixture-error": "fixture-error";
1489
- }>;
1490
- id: z.ZodString;
1491
- createdAt: z.ZodNumber;
1492
- legacy: z.ZodDefault<z.ZodBoolean>;
1493
- origin: z.ZodOptional<z.ZodObject<{
1494
- typeVersion: z.ZodString;
1495
- }, z.core.$strict>>;
1496
- lifecycle: z.ZodDefault<z.ZodEnum<{
1497
- paused: "paused";
1498
- active: "active";
1499
- archived: "archived";
1500
- }>>;
1501
- configuration: z.ZodOptional<z.ZodObject<{
1502
- defaults: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodObject<{
1503
- id: z.ZodString;
1504
- prompt: z.ZodString;
1505
- choices: z.ZodArray<z.ZodObject<{
1506
- id: z.ZodString;
1507
- label: z.ZodString;
1508
- }, z.core.$strict>>;
1509
- correct: z.ZodString;
1510
- }, z.core.$strict>>]>>;
1511
- overrides: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodObject<{
1512
- id: z.ZodString;
1513
- prompt: z.ZodString;
1514
- choices: z.ZodArray<z.ZodObject<{
1515
- id: z.ZodString;
1516
- label: z.ZodString;
1517
- }, z.core.$strict>>;
1518
- correct: z.ZodString;
1519
- }, z.core.$strict>>]>>;
1520
- preserved: z.ZodArray<z.ZodString>;
1521
- }, z.core.$strict>>;
1522
- }, z.core.$strict>, z.ZodPipe<z.ZodObject<{
1523
- quest: z.ZodString;
1524
- title: z.ZodString;
1525
- criteria: z.ZodString;
1526
- humanReview: z.ZodBoolean;
1527
- rewards: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1528
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
1529
- balance: z.ZodString;
1530
- amount: z.ZodNumber;
1531
- }, z.core.$strict>, z.ZodObject<{
1532
- kind: z.ZodLiteral<"tier">;
1533
- reward: z.ZodObject<{
1534
- id: z.ZodString;
1535
- title: z.ZodString;
1536
- tiers: z.ZodArray<z.ZodObject<{
1537
- id: z.ZodString;
1538
- title: z.ZodString;
1539
- }, z.core.$strict>>;
1540
- inventory: z.ZodObject<{
1541
- kind: z.ZodLiteral<"untracked">;
1542
- }, z.core.$strict>;
1543
- fulfillment: z.ZodObject<{
1544
- kind: z.ZodLiteral<"staff-handover">;
1545
- }, z.core.$strict>;
1546
- }, z.core.$strict>;
1547
- tier: z.ZodString;
1548
- }, z.core.$strict>, z.ZodObject<{
1549
- kind: z.ZodLiteral<"integration">;
1550
- provider: z.ZodLiteral<"discord">;
1551
- action: z.ZodLiteral<"grant-role">;
1552
- roleId: z.ZodString;
1553
- }, z.core.$strict>]>>;
1554
- code: z.ZodString;
1555
- provider: z.ZodEnum<{
1556
- "workers-ai": "workers-ai";
1557
- "fixture-pass": "fixture-pass";
1558
- "fixture-fail": "fixture-fail";
1559
- "fixture-unclear": "fixture-unclear";
1560
- "fixture-error": "fixture-error";
1561
- }>;
1562
- id: z.ZodString;
1563
- createdAt: z.ZodNumber;
1564
- }, z.core.$strip>, z.ZodTransform<{
1565
- quest: string;
1566
- runtimeVersion: 1 | 2;
1567
- title: string;
1568
- presentation: {
1569
- quiz?: {
1570
- id: string;
1571
- prompt: string;
1572
- choices: {
1573
- id: string;
1574
- label: string;
1575
- }[];
1576
- }[] | undefined;
1577
- instructions?: string | undefined;
1578
- video?: {
1579
- url: string;
1580
- poster?: string | undefined;
1581
- captions?: {
1582
- url: string;
1583
- language: string;
1584
- label: string;
1585
- } | undefined;
1586
- } | undefined;
1587
- };
1588
- integrations: "discord"[];
1589
- fields: Record<string, {
1590
- kind: "point-ledger";
1591
- default: string;
1592
- label: string;
1593
- description?: string | undefined;
1594
- } | {
1595
- kind: "datetime";
1596
- default: string;
1597
- label: string;
1598
- description?: string | undefined;
1599
- } | {
1600
- kind: "resource";
1601
- default: string;
1602
- source: {
1603
- provider: "discord";
1604
- resource: "channel";
1605
- types: ("text" | "announcement")[];
1606
- } | {
1607
- provider: "domino";
1608
- resource: "point-ledger";
1609
- } | {
1610
- provider: "discord";
1611
- resource: "role";
1612
- assignable: boolean;
1613
- };
1614
- label: string;
1615
- description?: string | undefined;
1616
- } | {
1617
- kind: "quiz";
1618
- default: {
1619
- id: string;
1620
- prompt: string;
1621
- choices: {
1622
- id: string;
1623
- label: string;
1624
- }[];
1625
- correct: string;
1626
- }[];
1627
- label: string;
1628
- description?: string | undefined;
1629
- } | {
1630
- kind: "text";
1631
- default: string;
1632
- minLength: number;
1633
- maxLength: number;
1634
- multiline: boolean;
1635
- label: string;
1636
- description?: string | undefined;
1637
- } | {
1638
- kind: "integer";
1639
- default: number;
1640
- min: number;
1641
- max: number;
1642
- label: string;
1643
- description?: string | undefined;
1644
- } | {
1645
- kind: "boolean";
1646
- default: boolean;
1647
- label: string;
1648
- description?: string | undefined;
1649
- } | {
1650
- kind: "choice";
1651
- default: string;
1652
- options: string[];
1653
- label: string;
1654
- description?: string | undefined;
1655
- }>;
1656
- values: Record<string, string | number | boolean | {
1657
- id: string;
1658
- prompt: string;
1659
- choices: {
1660
- id: string;
1661
- label: string;
1662
- }[];
1663
- correct: string;
1664
- }[]>;
1665
- rewards: ({
1666
- kind: "tier";
1667
- reward: {
1668
- id: string;
1669
- title: string;
1670
- tiers: {
1671
- id: string;
1672
- title: string;
1673
- }[];
1674
- inventory: {
1675
- kind: "untracked";
1676
- };
1677
- fulfillment: {
1678
- kind: "staff-handover";
1679
- };
1680
- };
1681
- tier: string;
1682
- } | {
1683
- kind: "points";
1684
- balance: string;
1685
- amount: number;
1686
- } | {
1687
- kind: "integration";
1688
- provider: "discord";
1689
- action: "grant-role";
1690
- roleId: string;
1691
- })[];
1692
- humanReview: boolean;
1693
- trigger: {
1694
- kind: "automatic";
1695
- observation?: {
1696
- source: string;
1697
- type: string;
1698
- } | undefined;
1699
- content?: {
1700
- tracker: string;
1701
- window: {
1702
- start: number;
1703
- end?: number | undefined;
1704
- };
1705
- enrollment: "none" | "required";
1706
- posts: "after-enrollment" | "since-start";
1707
- historical: "automatic" | "claim" | "staff";
1708
- } | undefined;
1709
- tracker?: {
1710
- tracker: string;
1711
- source: "custom" | "x-search";
1712
- beneficiary: string;
1713
- on?: "new-record" | "new-observation" | "data-changed" | undefined;
1714
- where?: {
1715
- path: string;
1716
- gt?: number | {
1717
- setting: string;
1718
- } | undefined;
1719
- gte?: number | {
1720
- setting: string;
1721
- } | undefined;
1722
- lt?: number | {
1723
- setting: string;
1724
- } | undefined;
1725
- lte?: number | {
1726
- setting: string;
1727
- } | undefined;
1728
- } | {
1729
- path: string;
1730
- equals: string | number | boolean;
1731
- } | undefined;
1732
- } | undefined;
1733
- } | {
1734
- kind: "manual";
1735
- input: "text";
1736
- constraints: {
1737
- required: boolean;
1738
- minLength: number;
1739
- maxLength: number;
1740
- };
1741
- actor?: "member" | "staff" | undefined;
1742
- } | {
1743
- kind: "manual";
1744
- input: "url";
1745
- constraints: {
1746
- required: boolean;
1747
- allowedHosts?: string[] | undefined;
1748
- };
1749
- actor?: "member" | "staff" | undefined;
1750
- } | {
1751
- kind: "manual";
1752
- input: "none" | "quiz" | "photo";
1753
- actor?: "member" | "staff" | undefined;
1754
- };
1755
- requires: {
1756
- quest: string;
1757
- }[];
1758
- completion: {
1759
- kind: "streak";
1760
- days: number;
1761
- timeZone: string;
1762
- } | {
1763
- kind: "once";
1764
- } | {
1765
- kind: "keyed";
1766
- };
1767
- visibility: "visible" | "hidden";
1768
- budgets: {
1769
- id: string;
1770
- scope: "member" | "project";
1771
- period: "day" | "lifetime" | "week";
1772
- limit: number;
1773
- cost: number | {
1774
- balance: string;
1775
- };
1776
- }[];
1777
- code: string;
1778
- provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
1779
- id: string;
1780
- createdAt: number;
1781
- legacy: boolean;
1782
- lifecycle: "paused" | "active" | "archived";
1783
- performance?: {
1784
- metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1785
- maxAgeMs: number;
1786
- } | undefined;
1787
- profile?: {
1788
- visible: boolean;
1789
- } | undefined;
1790
- key?: string | undefined;
1791
- origin?: {
1792
- typeVersion: string;
1793
- } | undefined;
1794
- configuration?: {
1795
- defaults: Record<string, string | number | boolean | {
1796
- id: string;
1797
- prompt: string;
1798
- choices: {
1799
- id: string;
1800
- label: string;
1801
- }[];
1802
- correct: string;
1803
- }[]>;
1804
- overrides: Record<string, string | number | boolean | {
1805
- id: string;
1806
- prompt: string;
1807
- choices: {
1808
- id: string;
1809
- label: string;
1810
- }[];
1811
- correct: string;
1812
- }[]>;
1813
- preserved: string[];
1814
- } | undefined;
1815
- }, {
1816
- quest: string;
1817
- title: string;
1818
- criteria: string;
1819
- humanReview: boolean;
1820
- rewards: ({
1821
- kind: "tier";
1822
- reward: {
1823
- id: string;
1824
- title: string;
1825
- tiers: {
1826
- id: string;
1827
- title: string;
1828
- }[];
1829
- inventory: {
1830
- kind: "untracked";
1831
- };
1832
- fulfillment: {
1833
- kind: "staff-handover";
1834
- };
1835
- };
1836
- tier: string;
1837
- } | {
1838
- kind: "points";
1839
- balance: string;
1840
- amount: number;
1841
- } | {
1842
- kind: "integration";
1843
- provider: "discord";
1844
- action: "grant-role";
1845
- roleId: string;
1846
- })[];
1847
- code: string;
1848
- provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
1849
- id: string;
1850
- createdAt: number;
1851
- }>>]>>;
1852
- types: z.ZodArray<z.ZodObject<{
1853
- key: z.ZodOptional<z.ZodString>;
1854
- id: z.ZodString;
1855
- version: z.ZodString;
1856
- code: z.ZodString;
1857
- definition: z.ZodObject<{
1858
- quest: z.ZodString;
1859
- runtimeVersion: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
1860
- title: z.ZodString;
1861
- presentation: z.ZodDefault<z.ZodObject<{
1862
- quiz: z.ZodOptional<z.ZodArray<z.ZodObject<{
1863
- id: z.ZodString;
1864
- prompt: z.ZodString;
1865
- choices: z.ZodArray<z.ZodObject<{
1866
- id: z.ZodString;
1867
- label: z.ZodString;
1868
- }, z.core.$strict>>;
1869
- }, z.core.$strict>>>;
1870
- instructions: z.ZodOptional<z.ZodString>;
1871
- video: z.ZodOptional<z.ZodObject<{
1872
- url: z.ZodString;
1873
- poster: z.ZodOptional<z.ZodString>;
1874
- captions: z.ZodOptional<z.ZodObject<{
1875
- url: z.ZodString;
1876
- language: z.ZodString;
1877
- label: z.ZodString;
1878
- }, z.core.$strict>>;
1879
- }, z.core.$strict>>;
1880
- }, z.core.$strict>>;
1881
- integrations: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1882
- discord: "discord";
1883
- }>>>;
1884
- fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1885
- kind: z.ZodLiteral<"point-ledger">;
1886
- default: z.ZodString;
1887
- label: z.ZodString;
1888
- description: z.ZodOptional<z.ZodString>;
1889
- }, z.core.$strict>, z.ZodObject<{
1890
- kind: z.ZodLiteral<"datetime">;
1891
- default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
1892
- label: z.ZodString;
1893
- description: z.ZodOptional<z.ZodString>;
1894
- }, z.core.$strict>, z.ZodObject<{
1895
- kind: z.ZodLiteral<"resource">;
1896
- default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1897
- source: z.ZodUnion<readonly [z.ZodObject<{
1898
- provider: z.ZodLiteral<"domino">;
1899
- resource: z.ZodLiteral<"point-ledger">;
1900
- }, z.core.$strict>, z.ZodObject<{
1901
- provider: z.ZodLiteral<"discord">;
1902
- resource: z.ZodLiteral<"channel">;
1903
- types: z.ZodArray<z.ZodEnum<{
1904
- text: "text";
1905
- announcement: "announcement";
1906
- }>>;
1907
- }, z.core.$strict>, z.ZodObject<{
1908
- provider: z.ZodLiteral<"discord">;
1909
- resource: z.ZodLiteral<"role">;
1910
- assignable: z.ZodDefault<z.ZodBoolean>;
1911
- }, z.core.$strict>]>;
1912
- label: z.ZodString;
1913
- description: z.ZodOptional<z.ZodString>;
1914
- }, z.core.$strict>, z.ZodObject<{
1915
- kind: z.ZodLiteral<"quiz">;
1916
- default: z.ZodArray<z.ZodObject<{
1917
- id: z.ZodString;
1918
- prompt: z.ZodString;
1919
- choices: z.ZodArray<z.ZodObject<{
1920
- id: z.ZodString;
1921
- label: z.ZodString;
1922
- }, z.core.$strict>>;
1923
- correct: z.ZodString;
1924
- }, z.core.$strict>>;
1925
- label: z.ZodString;
1926
- description: z.ZodOptional<z.ZodString>;
1927
- }, z.core.$strict>, z.ZodObject<{
1928
- kind: z.ZodLiteral<"text">;
1929
- default: z.ZodString;
1930
- minLength: z.ZodNumber;
1931
- maxLength: z.ZodNumber;
1932
- multiline: z.ZodBoolean;
1933
- label: z.ZodString;
1934
- description: z.ZodOptional<z.ZodString>;
1935
- }, z.core.$strict>, z.ZodObject<{
1936
- kind: z.ZodLiteral<"integer">;
1937
- default: z.ZodNumber;
1938
- min: z.ZodNumber;
1939
- max: z.ZodNumber;
1940
- label: z.ZodString;
1941
- description: z.ZodOptional<z.ZodString>;
1942
- }, z.core.$strict>, z.ZodObject<{
1943
- kind: z.ZodLiteral<"boolean">;
1944
- default: z.ZodBoolean;
1945
- label: z.ZodString;
1946
- description: z.ZodOptional<z.ZodString>;
1947
- }, z.core.$strict>, z.ZodObject<{
1948
- kind: z.ZodLiteral<"choice">;
1949
- default: z.ZodString;
1950
- options: z.ZodArray<z.ZodString>;
1951
- label: z.ZodString;
1952
- description: z.ZodOptional<z.ZodString>;
1953
- }, z.core.$strict>], "kind">>;
1954
- values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodObject<{
1955
- id: z.ZodString;
1956
- prompt: z.ZodString;
1957
- choices: z.ZodArray<z.ZodObject<{
1958
- id: z.ZodString;
1959
- label: z.ZodString;
1960
- }, z.core.$strict>>;
1961
- correct: z.ZodString;
1962
- }, z.core.$strict>>]>>;
1963
- rewards: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1964
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
1965
- balance: z.ZodString;
1966
- amount: z.ZodNumber;
1967
- }, z.core.$strict>, z.ZodObject<{
1968
- kind: z.ZodLiteral<"tier">;
1969
- reward: z.ZodObject<{
1970
- id: z.ZodString;
1971
- title: z.ZodString;
1972
- tiers: z.ZodArray<z.ZodObject<{
1973
- id: z.ZodString;
1974
- title: z.ZodString;
1975
- }, z.core.$strict>>;
1976
- inventory: z.ZodObject<{
1977
- kind: z.ZodLiteral<"untracked">;
1978
- }, z.core.$strict>;
1979
- fulfillment: z.ZodObject<{
1980
- kind: z.ZodLiteral<"staff-handover">;
1981
- }, z.core.$strict>;
1982
- }, z.core.$strict>;
1983
- tier: z.ZodString;
1984
- }, z.core.$strict>, z.ZodObject<{
1985
- kind: z.ZodLiteral<"integration">;
1986
- provider: z.ZodLiteral<"discord">;
1987
- action: z.ZodLiteral<"grant-role">;
1988
- roleId: z.ZodString;
1989
- }, z.core.$strict>]>>;
1990
- humanReview: z.ZodBoolean;
1991
- trigger: z.ZodUnion<readonly [z.ZodObject<{
1992
- kind: z.ZodLiteral<"manual">;
1993
- input: z.ZodLiteral<"text">;
1994
- constraints: z.ZodObject<{
1995
- required: z.ZodDefault<z.ZodBoolean>;
1996
- minLength: z.ZodDefault<z.ZodNumber>;
1997
- maxLength: z.ZodDefault<z.ZodNumber>;
1998
- }, z.core.$strict>;
1999
- actor: z.ZodOptional<z.ZodEnum<{
2000
- member: "member";
2001
- staff: "staff";
2002
- }>>;
2003
- }, z.core.$strict>, z.ZodObject<{
2004
- kind: z.ZodLiteral<"manual">;
2005
- input: z.ZodLiteral<"url">;
2006
- constraints: z.ZodObject<{
2007
- required: z.ZodDefault<z.ZodBoolean>;
2008
- allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
2009
- }, z.core.$strict>;
2010
- actor: z.ZodOptional<z.ZodEnum<{
2011
- member: "member";
2012
- staff: "staff";
2013
- }>>;
2014
- }, z.core.$strict>, z.ZodObject<{
2015
- kind: z.ZodLiteral<"manual">;
2016
- input: z.ZodEnum<{
2017
- none: "none";
2018
- quiz: "quiz";
2019
- photo: "photo";
2020
- }>;
2021
- actor: z.ZodOptional<z.ZodEnum<{
2022
- member: "member";
2023
- staff: "staff";
2024
- }>>;
2025
- }, z.core.$strict>, z.ZodObject<{
2026
- kind: z.ZodLiteral<"automatic">;
2027
- observation: z.ZodOptional<z.ZodObject<{
2028
- source: z.ZodString;
2029
- type: z.ZodString;
2030
- }, z.core.$strict>>;
2031
- content: z.ZodOptional<z.ZodObject<{
2032
- tracker: z.ZodString;
2033
- window: z.ZodObject<{
2034
- start: z.ZodNumber;
2035
- end: z.ZodOptional<z.ZodNumber>;
2036
- }, z.core.$strict>;
2037
- enrollment: z.ZodDefault<z.ZodEnum<{
2038
- none: "none";
2039
- required: "required";
2040
- }>>;
2041
- posts: z.ZodDefault<z.ZodEnum<{
2042
- "after-enrollment": "after-enrollment";
2043
- "since-start": "since-start";
2044
- }>>;
2045
- historical: z.ZodDefault<z.ZodEnum<{
2046
- automatic: "automatic";
2047
- claim: "claim";
2048
- staff: "staff";
2049
- }>>;
2050
- }, z.core.$strict>>;
2051
- tracker: z.ZodOptional<z.ZodObject<{
2052
- tracker: z.ZodString;
2053
- source: z.ZodEnum<{
2054
- custom: "custom";
2055
- "x-search": "x-search";
2056
- }>;
2057
- on: z.ZodOptional<z.ZodEnum<{
2058
- "new-record": "new-record";
2059
- "new-observation": "new-observation";
2060
- "data-changed": "data-changed";
2061
- }>>;
2062
- where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2063
- path: z.ZodString;
2064
- equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
2065
- }, z.core.$strict>, z.ZodObject<{
2066
- path: z.ZodString;
2067
- gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2068
- setting: z.ZodString;
2069
- }, z.core.$strict>]>>;
2070
- gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2071
- setting: z.ZodString;
2072
- }, z.core.$strict>]>>;
2073
- lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2074
- setting: z.ZodString;
2075
- }, z.core.$strict>]>>;
2076
- lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2077
- setting: z.ZodString;
2078
- }, z.core.$strict>]>>;
2079
- }, z.core.$strict>]>>;
2080
- beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
2081
- }, z.core.$strict>>;
2082
- }, z.core.$strict>]>;
2083
- performance: z.ZodOptional<z.ZodObject<{
2084
- metrics: z.ZodArray<z.ZodEnum<{
2085
- likes: "likes";
2086
- replies: "replies";
2087
- reposts: "reposts";
2088
- quotes: "quotes";
2089
- views: "views";
2090
- bookmarks: "bookmarks";
2091
- }>>;
2092
- maxAgeMs: z.ZodDefault<z.ZodNumber>;
2093
- }, z.core.$strict>>;
2094
- requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
2095
- quest: z.ZodString;
2096
- }, z.core.$strip>>>;
2097
- completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
2098
- kind: z.ZodLiteral<"streak">;
2099
- days: z.ZodNumber;
2100
- timeZone: z.ZodString;
2101
- }, z.core.$strict>, z.ZodObject<{
2102
- kind: z.ZodLiteral<"once">;
2103
- }, z.core.$strict>, z.ZodObject<{
2104
- kind: z.ZodLiteral<"keyed">;
2105
- }, z.core.$strict>], "kind">;
2106
- visibility: z.ZodDefault<z.ZodEnum<{
2107
- visible: "visible";
2108
- hidden: "hidden";
2109
- }>>;
2110
- profile: z.ZodOptional<z.ZodObject<{
2111
- visible: z.ZodBoolean;
2112
- }, z.core.$strict>>;
2113
- budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
2114
- id: z.ZodString;
2115
- scope: z.ZodEnum<{
2116
- member: "member";
2117
- project: "project";
2118
- }>;
2119
- period: z.ZodEnum<{
2120
- day: "day";
2121
- lifetime: "lifetime";
2122
- week: "week";
2123
- }>;
2124
- limit: z.ZodNumber;
2125
- cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2126
- balance: z.ZodString;
2127
- }, z.core.$strict>]>;
2128
- }, z.core.$strict>>>;
2129
- }, z.core.$strict>;
2130
- provider: z.ZodEnum<{
2131
- "workers-ai": "workers-ai";
2132
- "fixture-pass": "fixture-pass";
2133
- "fixture-fail": "fixture-fail";
2134
- "fixture-unclear": "fixture-unclear";
2135
- "fixture-error": "fixture-error";
2136
- }>;
2137
- createdAt: z.ZodNumber;
2138
- }, z.core.$strip>>;
2139
- collections: z.ZodArray<z.ZodObject<{
2140
- id: z.ZodString;
2141
- key: z.ZodOptional<z.ZodString>;
2142
- title: z.ZodString;
2143
- quests: z.ZodArray<z.ZodString>;
2144
- }, z.core.$strict>>;
2145
- supportedInteractions: z.ZodArray<z.ZodEnum<{
2146
- url: "url";
2147
- text: "text";
2148
- automatic: "automatic";
2149
- claim: "claim";
2150
- staff: "staff";
2151
- quiz: "quiz";
2152
- photo: "photo";
2153
- }>>;
2154
- referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
2155
- version: z.ZodString;
2156
- definition: z.ZodObject<{
2157
- id: z.ZodString;
2158
- key: z.ZodOptional<z.ZodString>;
2159
- title: z.ZodString;
2160
- enabled: z.ZodDefault<z.ZodBoolean>;
2161
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
2162
- kind: z.ZodLiteral<"signup">;
2163
- }, z.core.$strict>, z.ZodObject<{
2164
- kind: z.ZodLiteral<"quest">;
2165
- quest: z.ZodString;
2166
- }, z.core.$strict>, z.ZodObject<{
2167
- kind: z.ZodLiteral<"external">;
2168
- }, z.core.$strict>], "kind">;
2169
- inviterGroup: z.ZodOptional<z.ZodString>;
2170
- rewards: z.ZodDefault<z.ZodObject<{
2171
- inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2172
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
2173
- balance: z.ZodString;
2174
- amount: z.ZodNumber;
2175
- }, z.core.$strict>, z.ZodObject<{
2176
- kind: z.ZodLiteral<"tier">;
2177
- reward: z.ZodObject<{
2178
- id: z.ZodString;
2179
- title: z.ZodString;
2180
- tiers: z.ZodArray<z.ZodObject<{
2181
- id: z.ZodString;
2182
- title: z.ZodString;
2183
- }, z.core.$strict>>;
2184
- inventory: z.ZodObject<{
2185
- kind: z.ZodLiteral<"untracked">;
2186
- }, z.core.$strict>;
2187
- fulfillment: z.ZodObject<{
2188
- kind: z.ZodLiteral<"staff-handover">;
2189
- }, z.core.$strict>;
2190
- }, z.core.$strict>;
2191
- tier: z.ZodString;
2192
- }, z.core.$strict>]>>>;
2193
- invitee: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2194
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
2195
- balance: z.ZodString;
2196
- amount: z.ZodNumber;
2197
- }, z.core.$strict>, z.ZodObject<{
2198
- kind: z.ZodLiteral<"tier">;
2199
- reward: z.ZodObject<{
2200
- id: z.ZodString;
2201
- title: z.ZodString;
2202
- tiers: z.ZodArray<z.ZodObject<{
2203
- id: z.ZodString;
2204
- title: z.ZodString;
2205
- }, z.core.$strict>>;
2206
- inventory: z.ZodObject<{
2207
- kind: z.ZodLiteral<"untracked">;
2208
- }, z.core.$strict>;
2209
- fulfillment: z.ZodObject<{
2210
- kind: z.ZodLiteral<"staff-handover">;
2211
- }, z.core.$strict>;
2212
- }, z.core.$strict>;
2213
- tier: z.ZodString;
2214
- }, z.core.$strict>]>>>;
2215
- }, z.core.$strict>>;
2216
- milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
2217
- id: z.ZodString;
2218
- count: z.ZodNumber;
2219
- rewards: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2220
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
2221
- balance: z.ZodString;
2222
- amount: z.ZodNumber;
2223
- }, z.core.$strict>, z.ZodObject<{
2224
- kind: z.ZodLiteral<"tier">;
2225
- reward: z.ZodObject<{
2226
- id: z.ZodString;
2227
- title: z.ZodString;
2228
- tiers: z.ZodArray<z.ZodObject<{
2229
- id: z.ZodString;
2230
- title: z.ZodString;
2231
- }, z.core.$strict>>;
2232
- inventory: z.ZodObject<{
2233
- kind: z.ZodLiteral<"untracked">;
2234
- }, z.core.$strict>;
2235
- fulfillment: z.ZodObject<{
2236
- kind: z.ZodLiteral<"staff-handover">;
2237
- }, z.core.$strict>;
2238
- }, z.core.$strict>;
2239
- tier: z.ZodString;
2240
- }, z.core.$strict>]>>;
2241
- }, z.core.$strict>>>;
2242
- bonuses: z.ZodDefault<z.ZodArray<z.ZodObject<{
2243
- id: z.ZodString;
2244
- balance: z.ZodString;
2245
- basisPoints: z.ZodNumber;
2246
- quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
2247
- external: z.ZodDefault<z.ZodBoolean>;
2248
- durationDays: z.ZodOptional<z.ZodNumber>;
2249
- maxPoints: z.ZodOptional<z.ZodNumber>;
2250
- }, z.core.$strict>>>;
2251
- }, z.core.$strict>;
2252
- publishedAt: z.ZodNumber;
2253
- actor: z.ZodNullable<z.ZodString>;
2254
- }, z.core.$strip>>>;
2255
- leaderboards: z.ZodDefault<z.ZodArray<z.ZodObject<{
2256
- published: z.ZodObject<{
2257
- version: z.ZodString;
2258
- definition: z.ZodObject<{
2259
- id: z.ZodString;
2260
- key: z.ZodOptional<z.ZodString>;
2261
- title: z.ZodString;
2262
- balance: z.ZodString;
2263
- score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
2264
- kind: z.ZodLiteral<"balance">;
2265
- }, z.core.$strict>, z.ZodObject<{
2266
- window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
2267
- kind: z.ZodLiteral<"all-time">;
2268
- }, z.core.$strict>, z.ZodObject<{
2269
- kind: z.ZodLiteral<"fixed">;
2270
- start: z.ZodNumber;
2271
- end: z.ZodNumber;
2272
- }, z.core.$strict>, z.ZodObject<{
2273
- kind: z.ZodLiteral<"rolling">;
2274
- days: z.ZodNumber;
2275
- }, z.core.$strict>, z.ZodObject<{
2276
- kind: z.ZodLiteral<"calendar">;
2277
- period: z.ZodEnum<{
2278
- day: "day";
2279
- week: "week";
2280
- month: "month";
2281
- }>;
2282
- timeZone: z.ZodString;
2283
- }, z.core.$strict>], "kind">>;
2284
- quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
2285
- kind: z.ZodLiteral<"earned">;
2286
- }, z.core.$strict>, z.ZodObject<{
2287
- kind: z.ZodLiteral<"net">;
2288
- window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
2289
- kind: z.ZodLiteral<"all-time">;
2290
- }, z.core.$strict>, z.ZodObject<{
2291
- kind: z.ZodLiteral<"fixed">;
2292
- start: z.ZodNumber;
2293
- end: z.ZodNumber;
2294
- }, z.core.$strict>, z.ZodObject<{
2295
- kind: z.ZodLiteral<"rolling">;
2296
- days: z.ZodNumber;
2297
- }, z.core.$strict>, z.ZodObject<{
2298
- kind: z.ZodLiteral<"calendar">;
2299
- period: z.ZodEnum<{
2300
- day: "day";
2301
- week: "week";
2302
- month: "month";
2303
- }>;
2304
- timeZone: z.ZodString;
2305
- }, z.core.$strict>], "kind">>;
2306
- }, z.core.$strict>], "kind">>;
2307
- access: z.ZodDefault<z.ZodEnum<{
2308
- participants: "participants";
2309
- public: "public";
2310
- }>>;
2311
- group: z.ZodOptional<z.ZodString>;
2312
- }, z.core.$strict>;
2313
- publishedAt: z.ZodNumber;
2314
- actor: z.ZodNullable<z.ZodString>;
2315
- }, z.core.$strip>;
2316
- before: z.ZodNullable<z.ZodObject<{
2317
- leaderboard: z.ZodString;
2318
- title: z.ZodString;
2319
- version: z.ZodString;
2320
- calculation: z.ZodEnum<{
2321
- balance: "balance";
2322
- earned: "earned";
2323
- net: "net";
2324
- }>;
2325
- period: z.ZodObject<{
2326
- start: z.ZodNullable<z.ZodNumber>;
2327
- end: z.ZodNullable<z.ZodNumber>;
2328
- }, z.core.$strip>;
2329
- calculatedAt: z.ZodNumber;
2330
- lastEntryAt: z.ZodNullable<z.ZodNumber>;
2331
- total: z.ZodNumber;
2332
- items: z.ZodArray<z.ZodObject<{
2333
- participant: z.ZodString;
2334
- member: z.ZodOptional<z.ZodString>;
2335
- name: z.ZodString;
2336
- score: z.ZodNumber;
2337
- rank: z.ZodNumber;
2338
- profile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2339
- id: z.ZodString;
2340
- name: z.ZodString;
2341
- avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
2342
- source: z.ZodLiteral<"upload">;
2343
- url: z.ZodString;
2344
- seed: z.ZodString;
2345
- }, z.core.$strip>, z.ZodObject<{
2346
- source: z.ZodLiteral<"account">;
2347
- provider: z.ZodEnum<{
2348
- x: "x";
2349
- discord: "discord";
2350
- google: "google";
2351
- }>;
2352
- url: z.ZodString;
2353
- seed: z.ZodString;
2354
- }, z.core.$strip>, z.ZodObject<{
2355
- source: z.ZodLiteral<"generated">;
2356
- seed: z.ZodString;
2357
- }, z.core.$strip>], "source">;
2358
- }, z.core.$strip>>>;
2359
- }, z.core.$strip>>;
2360
- me: z.ZodNullable<z.ZodObject<{
2361
- participant: z.ZodString;
2362
- member: z.ZodOptional<z.ZodString>;
2363
- name: z.ZodString;
2364
- score: z.ZodNumber;
2365
- rank: z.ZodNumber;
2366
- profile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2367
- id: z.ZodString;
2368
- name: z.ZodString;
2369
- avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
2370
- source: z.ZodLiteral<"upload">;
2371
- url: z.ZodString;
2372
- seed: z.ZodString;
2373
- }, z.core.$strip>, z.ZodObject<{
2374
- source: z.ZodLiteral<"account">;
2375
- provider: z.ZodEnum<{
2376
- x: "x";
2377
- discord: "discord";
2378
- google: "google";
2379
- }>;
2380
- url: z.ZodString;
2381
- seed: z.ZodString;
2382
- }, z.core.$strip>, z.ZodObject<{
2383
- source: z.ZodLiteral<"generated">;
2384
- seed: z.ZodString;
2385
- }, z.core.$strip>], "source">;
2386
- }, z.core.$strip>>>;
2387
- }, z.core.$strip>>;
2388
- nearby: z.ZodArray<z.ZodObject<{
2389
- participant: z.ZodString;
2390
- member: z.ZodOptional<z.ZodString>;
2391
- name: z.ZodString;
2392
- score: z.ZodNumber;
2393
- rank: z.ZodNumber;
2394
- profile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2395
- id: z.ZodString;
2396
- name: z.ZodString;
2397
- avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
2398
- source: z.ZodLiteral<"upload">;
2399
- url: z.ZodString;
2400
- seed: z.ZodString;
2401
- }, z.core.$strip>, z.ZodObject<{
2402
- source: z.ZodLiteral<"account">;
2403
- provider: z.ZodEnum<{
2404
- x: "x";
2405
- discord: "discord";
2406
- google: "google";
2407
- }>;
2408
- url: z.ZodString;
2409
- seed: z.ZodString;
2410
- }, z.core.$strip>, z.ZodObject<{
2411
- source: z.ZodLiteral<"generated">;
2412
- seed: z.ZodString;
2413
- }, z.core.$strip>], "source">;
2414
- }, z.core.$strip>>>;
2415
- }, z.core.$strip>>;
2416
- nextCursor: z.ZodNullable<z.ZodString>;
2417
- }, z.core.$strip>>;
2418
- after: z.ZodObject<{
2419
- leaderboard: z.ZodString;
2420
- title: z.ZodString;
2421
- version: z.ZodString;
2422
- calculation: z.ZodEnum<{
2423
- balance: "balance";
2424
- earned: "earned";
2425
- net: "net";
2426
- }>;
2427
- period: z.ZodObject<{
2428
- start: z.ZodNullable<z.ZodNumber>;
2429
- end: z.ZodNullable<z.ZodNumber>;
2430
- }, z.core.$strip>;
2431
- calculatedAt: z.ZodNumber;
2432
- lastEntryAt: z.ZodNullable<z.ZodNumber>;
2433
- total: z.ZodNumber;
2434
- items: z.ZodArray<z.ZodObject<{
2435
- participant: z.ZodString;
2436
- member: z.ZodOptional<z.ZodString>;
2437
- name: z.ZodString;
2438
- score: z.ZodNumber;
2439
- rank: z.ZodNumber;
2440
- profile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2441
- id: z.ZodString;
2442
- name: z.ZodString;
2443
- avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
2444
- source: z.ZodLiteral<"upload">;
2445
- url: z.ZodString;
2446
- seed: z.ZodString;
2447
- }, z.core.$strip>, z.ZodObject<{
2448
- source: z.ZodLiteral<"account">;
2449
- provider: z.ZodEnum<{
2450
- x: "x";
2451
- discord: "discord";
2452
- google: "google";
2453
- }>;
2454
- url: z.ZodString;
2455
- seed: z.ZodString;
2456
- }, z.core.$strip>, z.ZodObject<{
2457
- source: z.ZodLiteral<"generated">;
2458
- seed: z.ZodString;
2459
- }, z.core.$strip>], "source">;
2460
- }, z.core.$strip>>>;
2461
- }, z.core.$strip>>;
2462
- me: z.ZodNullable<z.ZodObject<{
2463
- participant: z.ZodString;
2464
- member: z.ZodOptional<z.ZodString>;
2465
- name: z.ZodString;
2466
- score: z.ZodNumber;
2467
- rank: z.ZodNumber;
2468
- profile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2469
- id: z.ZodString;
2470
- name: z.ZodString;
2471
- avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
2472
- source: z.ZodLiteral<"upload">;
2473
- url: z.ZodString;
2474
- seed: z.ZodString;
2475
- }, z.core.$strip>, z.ZodObject<{
2476
- source: z.ZodLiteral<"account">;
2477
- provider: z.ZodEnum<{
2478
- x: "x";
2479
- discord: "discord";
2480
- google: "google";
2481
- }>;
2482
- url: z.ZodString;
2483
- seed: z.ZodString;
2484
- }, z.core.$strip>, z.ZodObject<{
2485
- source: z.ZodLiteral<"generated">;
2486
- seed: z.ZodString;
2487
- }, z.core.$strip>], "source">;
2488
- }, z.core.$strip>>>;
2489
- }, z.core.$strip>>;
2490
- nearby: z.ZodArray<z.ZodObject<{
2491
- participant: z.ZodString;
2492
- member: z.ZodOptional<z.ZodString>;
2493
- name: z.ZodString;
2494
- score: z.ZodNumber;
2495
- rank: z.ZodNumber;
2496
- profile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
2497
- id: z.ZodString;
2498
- name: z.ZodString;
2499
- avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
2500
- source: z.ZodLiteral<"upload">;
2501
- url: z.ZodString;
2502
- seed: z.ZodString;
2503
- }, z.core.$strip>, z.ZodObject<{
2504
- source: z.ZodLiteral<"account">;
2505
- provider: z.ZodEnum<{
2506
- x: "x";
2507
- discord: "discord";
2508
- google: "google";
2509
- }>;
2510
- url: z.ZodString;
2511
- seed: z.ZodString;
2512
- }, z.core.$strip>, z.ZodObject<{
2513
- source: z.ZodLiteral<"generated">;
2514
- seed: z.ZodString;
2515
- }, z.core.$strip>], "source">;
2516
- }, z.core.$strip>>>;
2517
- }, z.core.$strip>>;
2518
- nextCursor: z.ZodNullable<z.ZodString>;
2519
- }, z.core.$strip>;
2520
- }, z.core.$strip>>>;
2521
- images: z.ZodDefault<z.ZodArray<z.ZodObject<{
2522
- key: z.ZodString;
2523
- sha256: z.ZodString;
2524
- type: z.ZodEnum<{
2525
- "image/jpeg": "image/jpeg";
2526
- "image/png": "image/png";
2527
- "image/webp": "image/webp";
2528
- }>;
2529
- size: z.ZodNumber;
2530
- width: z.ZodNumber;
2531
- height: z.ZodNumber;
2532
- }, z.core.$strict>>>;
2533
- }, z.core.$strip>;
2534
- declare const publishDeploymentSchema: z.ZodObject<{
2535
- id: z.ZodString;
2536
- }, z.core.$strict>;
2537
- declare const deploymentResultSchema: z.ZodObject<{
2538
- id: z.ZodString;
2539
- engagement: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2540
- code: z.ZodString;
2541
- rule: z.ZodObject<{
2542
- version: z.ZodString;
2543
- definition: z.ZodObject<{
2544
- key: z.ZodString;
2545
- qualifiedBy: z.ZodString;
2546
- balance: z.ZodString;
2547
- metrics: z.ZodArray<z.ZodEnum<{
2548
- likes: "likes";
2549
- replies: "replies";
2550
- reposts: "reposts";
2551
- quotes: "quotes";
2552
- views: "views";
2553
- bookmarks: "bookmarks";
2554
- }>>;
2555
- baseline: z.ZodLiteral<"historical">;
2556
- maxAgeMs: z.ZodDefault<z.ZodNumber>;
2557
- budget: z.ZodDefault<z.ZodObject<{
2558
- projectDaily: z.ZodOptional<z.ZodNumber>;
2559
- memberDaily: z.ZodOptional<z.ZodNumber>;
2560
- projectLifetime: z.ZodOptional<z.ZodNumber>;
2561
- }, z.core.$strict>>;
2562
- }, z.core.$strict>;
2563
- publishedAt: z.ZodNumber;
2564
- }, z.core.$strict>;
2565
- kind: z.ZodLiteral<"create">;
2566
- }, z.core.$strict>, z.ZodObject<{
2567
- code: z.ZodString;
2568
- rule: z.ZodObject<{
2569
- version: z.ZodString;
2570
- definition: z.ZodObject<{
2571
- key: z.ZodString;
2572
- qualifiedBy: z.ZodString;
2573
- balance: z.ZodString;
2574
- metrics: z.ZodArray<z.ZodEnum<{
2575
- likes: "likes";
2576
- replies: "replies";
2577
- reposts: "reposts";
2578
- quotes: "quotes";
2579
- views: "views";
2580
- bookmarks: "bookmarks";
2581
- }>>;
2582
- baseline: z.ZodLiteral<"historical">;
2583
- maxAgeMs: z.ZodDefault<z.ZodNumber>;
2584
- budget: z.ZodDefault<z.ZodObject<{
2585
- projectDaily: z.ZodOptional<z.ZodNumber>;
2586
- memberDaily: z.ZodOptional<z.ZodNumber>;
2587
- projectLifetime: z.ZodOptional<z.ZodNumber>;
2588
- }, z.core.$strict>>;
2589
- }, z.core.$strict>;
2590
- publishedAt: z.ZodNumber;
2591
- }, z.core.$strict>;
2592
- kind: z.ZodLiteral<"unchanged">;
2593
- }, z.core.$strict>, z.ZodObject<{
2594
- code: z.ZodString;
2595
- rule: z.ZodObject<{
2596
- version: z.ZodString;
2597
- definition: z.ZodObject<{
2598
- key: z.ZodString;
2599
- qualifiedBy: z.ZodString;
2600
- balance: z.ZodString;
2601
- metrics: z.ZodArray<z.ZodEnum<{
2602
- likes: "likes";
2603
- replies: "replies";
2604
- reposts: "reposts";
2605
- quotes: "quotes";
2606
- views: "views";
2607
- bookmarks: "bookmarks";
2608
- }>>;
2609
- baseline: z.ZodLiteral<"historical">;
2610
- maxAgeMs: z.ZodDefault<z.ZodNumber>;
2611
- budget: z.ZodDefault<z.ZodObject<{
2612
- projectDaily: z.ZodOptional<z.ZodNumber>;
2613
- memberDaily: z.ZodOptional<z.ZodNumber>;
2614
- projectLifetime: z.ZodOptional<z.ZodNumber>;
2615
- }, z.core.$strict>>;
2616
- }, z.core.$strict>;
2617
- publishedAt: z.ZodNumber;
2618
- }, z.core.$strict>;
2619
- kind: z.ZodLiteral<"change">;
2620
- change: z.ZodObject<{
2621
- rule: z.ZodString;
2622
- fromVersion: z.ZodString;
2623
- toVersion: z.ZodString;
2624
- previewHash: z.ZodString;
2625
- definition: z.ZodObject<{
2626
- key: z.ZodString;
2627
- qualifiedBy: z.ZodString;
2628
- balance: z.ZodString;
2629
- metrics: z.ZodArray<z.ZodEnum<{
2630
- likes: "likes";
2631
- replies: "replies";
2632
- reposts: "reposts";
2633
- quotes: "quotes";
2634
- views: "views";
2635
- bookmarks: "bookmarks";
2636
- }>>;
2637
- baseline: z.ZodLiteral<"historical">;
2638
- maxAgeMs: z.ZodDefault<z.ZodNumber>;
2639
- budget: z.ZodDefault<z.ZodObject<{
2640
- projectDaily: z.ZodOptional<z.ZodNumber>;
2641
- memberDaily: z.ZodOptional<z.ZodNumber>;
2642
- projectLifetime: z.ZodOptional<z.ZodNumber>;
2643
- }, z.core.$strict>>;
2644
- }, z.core.$strict>;
2645
- boundary: z.ZodLiteral<"available-eligible-observation">;
2646
- settlement: z.ZodLiteral<"deferred">;
2647
- summary: z.ZodObject<{
2648
- knownAdmissions: z.ZodNumber;
2649
- accounts: z.ZodNumber;
2650
- uninitialized: z.ZodNumber;
2651
- pendingTransitions: z.ZodNumber;
2652
- earned: z.ZodString;
2653
- paid: z.ZodString;
2654
- excluded: z.ZodString;
2655
- pending: z.ZodString;
2656
- }, z.core.$strict>;
2657
- }, z.core.$strict>;
2658
- }, z.core.$strict>], "kind">>>;
2659
- trackers: z.ZodDefault<z.ZodArray<z.ZodObject<{
2660
- id: z.ZodString;
2661
- version: z.ZodString;
2662
- definition: z.ZodObject<{
2663
- key: z.ZodString;
2664
- title: z.ZodString;
2665
- source: z.ZodDiscriminatedUnion<[z.ZodObject<{
2666
- kind: z.ZodLiteral<"x-search">;
2667
- query: z.ZodString;
2668
- }, z.core.$strict>, z.ZodObject<{
2669
- kind: z.ZodLiteral<"custom">;
2670
- namespace: z.ZodString;
2671
- identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2672
- x: "x";
2673
- discord: "discord";
2674
- member: "member";
2675
- wallet: "wallet";
2676
- }>>>;
2677
- accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
2678
- authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
2679
- }, z.core.$strict>], "kind">;
2680
- window: z.ZodObject<{
2681
- start: z.ZodNumber;
2682
- end: z.ZodOptional<z.ZodNumber>;
2683
- }, z.core.$strict>;
2684
- refreshSeconds: z.ZodDefault<z.ZodNumber>;
2685
- maxPages: z.ZodDefault<z.ZodNumber>;
2686
- }, z.core.$strict>;
2687
- publishedAt: z.ZodNumber;
2688
- actor: z.ZodNullable<z.ZodString>;
2689
- }, z.core.$strip>>>;
2690
- baseRevision: z.ZodNumber;
2691
- pointLedgers: z.ZodDefault<z.ZodArray<z.ZodObject<{
2692
- name: z.ZodString;
2693
- description: z.ZodDefault<z.ZodString>;
2694
- id: z.ZodString;
2695
- }, z.core.$strict>>>;
2696
- releases: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2697
- quest: z.ZodString;
2698
- runtimeVersion: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
2699
- title: z.ZodString;
2700
- presentation: z.ZodDefault<z.ZodObject<{
2701
- quiz: z.ZodOptional<z.ZodArray<z.ZodObject<{
2702
- id: z.ZodString;
2703
- prompt: z.ZodString;
2704
- choices: z.ZodArray<z.ZodObject<{
2705
- id: z.ZodString;
2706
- label: z.ZodString;
2707
- }, z.core.$strict>>;
2708
- }, z.core.$strict>>>;
2709
- instructions: z.ZodOptional<z.ZodString>;
2710
- video: z.ZodOptional<z.ZodObject<{
2711
- url: z.ZodString;
2712
- poster: z.ZodOptional<z.ZodString>;
2713
- captions: z.ZodOptional<z.ZodObject<{
2714
- url: z.ZodString;
2715
- language: z.ZodString;
2716
- label: z.ZodString;
2717
- }, z.core.$strict>>;
2718
- }, z.core.$strict>>;
2719
- }, z.core.$strict>>;
2720
- integrations: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2721
- discord: "discord";
2722
- }>>>;
2723
- fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2724
- kind: z.ZodLiteral<"point-ledger">;
2725
- default: z.ZodString;
2726
- label: z.ZodString;
2727
- description: z.ZodOptional<z.ZodString>;
2728
- }, z.core.$strict>, z.ZodObject<{
2729
- kind: z.ZodLiteral<"datetime">;
2730
- default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
2731
- label: z.ZodString;
2732
- description: z.ZodOptional<z.ZodString>;
2733
- }, z.core.$strict>, z.ZodObject<{
2734
- kind: z.ZodLiteral<"resource">;
2735
- default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
2736
- source: z.ZodUnion<readonly [z.ZodObject<{
2737
- provider: z.ZodLiteral<"domino">;
2738
- resource: z.ZodLiteral<"point-ledger">;
2739
- }, z.core.$strict>, z.ZodObject<{
2740
- provider: z.ZodLiteral<"discord">;
2741
- resource: z.ZodLiteral<"channel">;
2742
- types: z.ZodArray<z.ZodEnum<{
2743
- text: "text";
2744
- announcement: "announcement";
2745
- }>>;
2746
- }, z.core.$strict>, z.ZodObject<{
2747
- provider: z.ZodLiteral<"discord">;
2748
- resource: z.ZodLiteral<"role">;
2749
- assignable: z.ZodDefault<z.ZodBoolean>;
2750
- }, z.core.$strict>]>;
2751
- label: z.ZodString;
2752
- description: z.ZodOptional<z.ZodString>;
2753
- }, z.core.$strict>, z.ZodObject<{
2754
- kind: z.ZodLiteral<"quiz">;
2755
- default: z.ZodArray<z.ZodObject<{
2756
- id: z.ZodString;
2757
- prompt: z.ZodString;
2758
- choices: z.ZodArray<z.ZodObject<{
2759
- id: z.ZodString;
2760
- label: z.ZodString;
2761
- }, z.core.$strict>>;
2762
- correct: z.ZodString;
2763
- }, z.core.$strict>>;
2764
- label: z.ZodString;
2765
- description: z.ZodOptional<z.ZodString>;
2766
- }, z.core.$strict>, z.ZodObject<{
2767
- kind: z.ZodLiteral<"text">;
2768
- default: z.ZodString;
2769
- minLength: z.ZodNumber;
2770
- maxLength: z.ZodNumber;
2771
- multiline: z.ZodBoolean;
2772
- label: z.ZodString;
2773
- description: z.ZodOptional<z.ZodString>;
2774
- }, z.core.$strict>, z.ZodObject<{
2775
- kind: z.ZodLiteral<"integer">;
2776
- default: z.ZodNumber;
2777
- min: z.ZodNumber;
2778
- max: z.ZodNumber;
2779
- label: z.ZodString;
2780
- description: z.ZodOptional<z.ZodString>;
2781
- }, z.core.$strict>, z.ZodObject<{
2782
- kind: z.ZodLiteral<"boolean">;
2783
- default: z.ZodBoolean;
2784
- label: z.ZodString;
2785
- description: z.ZodOptional<z.ZodString>;
2786
- }, z.core.$strict>, z.ZodObject<{
2787
- kind: z.ZodLiteral<"choice">;
2788
- default: z.ZodString;
2789
- options: z.ZodArray<z.ZodString>;
2790
- label: z.ZodString;
2791
- description: z.ZodOptional<z.ZodString>;
2792
- }, z.core.$strict>], "kind">>;
2793
- values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodObject<{
2794
- id: z.ZodString;
2795
- prompt: z.ZodString;
2796
- choices: z.ZodArray<z.ZodObject<{
2797
- id: z.ZodString;
2798
- label: z.ZodString;
2799
- }, z.core.$strict>>;
2800
- correct: z.ZodString;
2801
- }, z.core.$strict>>]>>;
2802
- rewards: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2803
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
2804
- balance: z.ZodString;
2805
- amount: z.ZodNumber;
2806
- }, z.core.$strict>, z.ZodObject<{
2807
- kind: z.ZodLiteral<"tier">;
2808
- reward: z.ZodObject<{
2809
- id: z.ZodString;
2810
- title: z.ZodString;
2811
- tiers: z.ZodArray<z.ZodObject<{
2812
- id: z.ZodString;
2813
- title: z.ZodString;
2814
- }, z.core.$strict>>;
2815
- inventory: z.ZodObject<{
2816
- kind: z.ZodLiteral<"untracked">;
2817
- }, z.core.$strict>;
2818
- fulfillment: z.ZodObject<{
2819
- kind: z.ZodLiteral<"staff-handover">;
2820
- }, z.core.$strict>;
2821
- }, z.core.$strict>;
2822
- tier: z.ZodString;
2823
- }, z.core.$strict>, z.ZodObject<{
2824
- kind: z.ZodLiteral<"integration">;
2825
- provider: z.ZodLiteral<"discord">;
2826
- action: z.ZodLiteral<"grant-role">;
2827
- roleId: z.ZodString;
2828
- }, z.core.$strict>]>>;
2829
- humanReview: z.ZodBoolean;
2830
- trigger: z.ZodUnion<readonly [z.ZodObject<{
2831
- kind: z.ZodLiteral<"manual">;
2832
- input: z.ZodLiteral<"text">;
2833
- constraints: z.ZodObject<{
2834
- required: z.ZodDefault<z.ZodBoolean>;
2835
- minLength: z.ZodDefault<z.ZodNumber>;
2836
- maxLength: z.ZodDefault<z.ZodNumber>;
2837
- }, z.core.$strict>;
2838
- actor: z.ZodOptional<z.ZodEnum<{
2839
- member: "member";
2840
- staff: "staff";
2841
- }>>;
2842
- }, z.core.$strict>, z.ZodObject<{
2843
- kind: z.ZodLiteral<"manual">;
2844
- input: z.ZodLiteral<"url">;
2845
- constraints: z.ZodObject<{
2846
- required: z.ZodDefault<z.ZodBoolean>;
2847
- allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
2848
- }, z.core.$strict>;
2849
- actor: z.ZodOptional<z.ZodEnum<{
2850
- member: "member";
2851
- staff: "staff";
2852
- }>>;
2853
- }, z.core.$strict>, z.ZodObject<{
2854
- kind: z.ZodLiteral<"manual">;
2855
- input: z.ZodEnum<{
2856
- none: "none";
2857
- quiz: "quiz";
2858
- photo: "photo";
2859
- }>;
2860
- actor: z.ZodOptional<z.ZodEnum<{
2861
- member: "member";
2862
- staff: "staff";
2863
- }>>;
2864
- }, z.core.$strict>, z.ZodObject<{
2865
- kind: z.ZodLiteral<"automatic">;
2866
- observation: z.ZodOptional<z.ZodObject<{
2867
- source: z.ZodString;
2868
- type: z.ZodString;
2869
- }, z.core.$strict>>;
2870
- content: z.ZodOptional<z.ZodObject<{
2871
- tracker: z.ZodString;
2872
- window: z.ZodObject<{
2873
- start: z.ZodNumber;
2874
- end: z.ZodOptional<z.ZodNumber>;
2875
- }, z.core.$strict>;
2876
- enrollment: z.ZodDefault<z.ZodEnum<{
2877
- none: "none";
2878
- required: "required";
2879
- }>>;
2880
- posts: z.ZodDefault<z.ZodEnum<{
2881
- "after-enrollment": "after-enrollment";
2882
- "since-start": "since-start";
2883
- }>>;
2884
- historical: z.ZodDefault<z.ZodEnum<{
2885
- automatic: "automatic";
2886
- claim: "claim";
2887
- staff: "staff";
2888
- }>>;
2889
- }, z.core.$strict>>;
2890
- tracker: z.ZodOptional<z.ZodObject<{
2891
- tracker: z.ZodString;
2892
- source: z.ZodEnum<{
2893
- custom: "custom";
2894
- "x-search": "x-search";
2895
- }>;
2896
- on: z.ZodOptional<z.ZodEnum<{
2897
- "new-record": "new-record";
2898
- "new-observation": "new-observation";
2899
- "data-changed": "data-changed";
2900
- }>>;
2901
- where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2902
- path: z.ZodString;
2903
- equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
2904
- }, z.core.$strict>, z.ZodObject<{
2905
- path: z.ZodString;
2906
- gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2907
- setting: z.ZodString;
2908
- }, z.core.$strict>]>>;
2909
- gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2910
- setting: z.ZodString;
2911
- }, z.core.$strict>]>>;
2912
- lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2913
- setting: z.ZodString;
2914
- }, z.core.$strict>]>>;
2915
- lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2916
- setting: z.ZodString;
2917
- }, z.core.$strict>]>>;
2918
- }, z.core.$strict>]>>;
2919
- beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
2920
- }, z.core.$strict>>;
2921
- }, z.core.$strict>]>;
2922
- performance: z.ZodOptional<z.ZodObject<{
2923
- metrics: z.ZodArray<z.ZodEnum<{
2924
- likes: "likes";
2925
- replies: "replies";
2926
- reposts: "reposts";
2927
- quotes: "quotes";
2928
- views: "views";
2929
- bookmarks: "bookmarks";
2930
- }>>;
2931
- maxAgeMs: z.ZodDefault<z.ZodNumber>;
2932
- }, z.core.$strict>>;
2933
- requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
2934
- quest: z.ZodString;
2935
- }, z.core.$strip>>>;
2936
- completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
2937
- kind: z.ZodLiteral<"streak">;
2938
- days: z.ZodNumber;
2939
- timeZone: z.ZodString;
2940
- }, z.core.$strict>, z.ZodObject<{
2941
- kind: z.ZodLiteral<"once">;
2942
- }, z.core.$strict>, z.ZodObject<{
2943
- kind: z.ZodLiteral<"keyed">;
2944
- }, z.core.$strict>], "kind">;
2945
- visibility: z.ZodDefault<z.ZodEnum<{
2946
- visible: "visible";
2947
- hidden: "hidden";
2948
- }>>;
2949
- profile: z.ZodOptional<z.ZodObject<{
2950
- visible: z.ZodBoolean;
2951
- }, z.core.$strict>>;
2952
- budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
2953
- id: z.ZodString;
2954
- scope: z.ZodEnum<{
2955
- member: "member";
2956
- project: "project";
2957
- }>;
2958
- period: z.ZodEnum<{
2959
- day: "day";
2960
- lifetime: "lifetime";
2961
- week: "week";
2962
- }>;
2963
- limit: z.ZodNumber;
2964
- cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2965
- balance: z.ZodString;
2966
- }, z.core.$strict>]>;
2967
- }, z.core.$strict>>>;
2968
- key: z.ZodOptional<z.ZodString>;
2969
- code: z.ZodString;
2970
- provider: z.ZodEnum<{
2971
- "workers-ai": "workers-ai";
2972
- "fixture-pass": "fixture-pass";
2973
- "fixture-fail": "fixture-fail";
2974
- "fixture-unclear": "fixture-unclear";
2975
- "fixture-error": "fixture-error";
2976
- }>;
2977
- id: z.ZodString;
2978
- createdAt: z.ZodNumber;
2979
- legacy: z.ZodDefault<z.ZodBoolean>;
2980
- origin: z.ZodOptional<z.ZodObject<{
2981
- typeVersion: z.ZodString;
2982
- }, z.core.$strict>>;
2983
- lifecycle: z.ZodDefault<z.ZodEnum<{
2984
- paused: "paused";
2985
- active: "active";
2986
- archived: "archived";
2987
- }>>;
2988
- configuration: z.ZodOptional<z.ZodObject<{
2989
- defaults: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodObject<{
2990
- id: z.ZodString;
2991
- prompt: z.ZodString;
2992
- choices: z.ZodArray<z.ZodObject<{
2993
- id: z.ZodString;
2994
- label: z.ZodString;
2995
- }, z.core.$strict>>;
2996
- correct: z.ZodString;
2997
- }, z.core.$strict>>]>>;
2998
- overrides: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodObject<{
2999
- id: z.ZodString;
3000
- prompt: z.ZodString;
3001
- choices: z.ZodArray<z.ZodObject<{
3002
- id: z.ZodString;
3003
- label: z.ZodString;
3004
- }, z.core.$strict>>;
3005
- correct: z.ZodString;
3006
- }, z.core.$strict>>]>>;
3007
- preserved: z.ZodArray<z.ZodString>;
3008
- }, z.core.$strict>>;
3009
- }, z.core.$strict>, z.ZodPipe<z.ZodObject<{
3010
- quest: z.ZodString;
3011
- title: z.ZodString;
3012
- criteria: z.ZodString;
3013
- humanReview: z.ZodBoolean;
3014
- rewards: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3015
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
3016
- balance: z.ZodString;
3017
- amount: z.ZodNumber;
3018
- }, z.core.$strict>, z.ZodObject<{
3019
- kind: z.ZodLiteral<"tier">;
3020
- reward: z.ZodObject<{
3021
- id: z.ZodString;
3022
- title: z.ZodString;
3023
- tiers: z.ZodArray<z.ZodObject<{
3024
- id: z.ZodString;
3025
- title: z.ZodString;
3026
- }, z.core.$strict>>;
3027
- inventory: z.ZodObject<{
3028
- kind: z.ZodLiteral<"untracked">;
3029
- }, z.core.$strict>;
3030
- fulfillment: z.ZodObject<{
3031
- kind: z.ZodLiteral<"staff-handover">;
3032
- }, z.core.$strict>;
3033
- }, z.core.$strict>;
3034
- tier: z.ZodString;
3035
- }, z.core.$strict>, z.ZodObject<{
3036
- kind: z.ZodLiteral<"integration">;
3037
- provider: z.ZodLiteral<"discord">;
3038
- action: z.ZodLiteral<"grant-role">;
3039
- roleId: z.ZodString;
3040
- }, z.core.$strict>]>>;
3041
- code: z.ZodString;
3042
- provider: z.ZodEnum<{
3043
- "workers-ai": "workers-ai";
3044
- "fixture-pass": "fixture-pass";
3045
- "fixture-fail": "fixture-fail";
3046
- "fixture-unclear": "fixture-unclear";
3047
- "fixture-error": "fixture-error";
3048
- }>;
3049
- id: z.ZodString;
3050
- createdAt: z.ZodNumber;
3051
- }, z.core.$strip>, z.ZodTransform<{
3052
- quest: string;
3053
- runtimeVersion: 1 | 2;
3054
- title: string;
3055
- presentation: {
3056
- quiz?: {
3057
- id: string;
3058
- prompt: string;
3059
- choices: {
3060
- id: string;
3061
- label: string;
3062
- }[];
3063
- }[] | undefined;
3064
- instructions?: string | undefined;
3065
- video?: {
3066
- url: string;
3067
- poster?: string | undefined;
3068
- captions?: {
3069
- url: string;
3070
- language: string;
3071
- label: string;
3072
- } | undefined;
3073
- } | undefined;
3074
- };
3075
- integrations: "discord"[];
3076
- fields: Record<string, {
3077
- kind: "point-ledger";
3078
- default: string;
3079
- label: string;
3080
- description?: string | undefined;
3081
- } | {
3082
- kind: "datetime";
3083
- default: string;
3084
- label: string;
3085
- description?: string | undefined;
3086
- } | {
3087
- kind: "resource";
3088
- default: string;
3089
- source: {
3090
- provider: "discord";
3091
- resource: "channel";
3092
- types: ("text" | "announcement")[];
3093
- } | {
3094
- provider: "domino";
3095
- resource: "point-ledger";
3096
- } | {
3097
- provider: "discord";
3098
- resource: "role";
3099
- assignable: boolean;
3100
- };
3101
- label: string;
3102
- description?: string | undefined;
3103
- } | {
3104
- kind: "quiz";
3105
- default: {
3106
- id: string;
3107
- prompt: string;
3108
- choices: {
3109
- id: string;
3110
- label: string;
3111
- }[];
3112
- correct: string;
3113
- }[];
3114
- label: string;
3115
- description?: string | undefined;
3116
- } | {
3117
- kind: "text";
3118
- default: string;
3119
- minLength: number;
3120
- maxLength: number;
3121
- multiline: boolean;
3122
- label: string;
3123
- description?: string | undefined;
3124
- } | {
3125
- kind: "integer";
3126
- default: number;
3127
- min: number;
3128
- max: number;
3129
- label: string;
3130
- description?: string | undefined;
3131
- } | {
3132
- kind: "boolean";
3133
- default: boolean;
3134
- label: string;
3135
- description?: string | undefined;
3136
- } | {
3137
- kind: "choice";
3138
- default: string;
3139
- options: string[];
3140
- label: string;
3141
- description?: string | undefined;
3142
- }>;
3143
- values: Record<string, string | number | boolean | {
3144
- id: string;
3145
- prompt: string;
3146
- choices: {
3147
- id: string;
3148
- label: string;
3149
- }[];
3150
- correct: string;
3151
- }[]>;
3152
- rewards: ({
3153
- kind: "tier";
3154
- reward: {
3155
- id: string;
3156
- title: string;
3157
- tiers: {
3158
- id: string;
3159
- title: string;
3160
- }[];
3161
- inventory: {
3162
- kind: "untracked";
3163
- };
3164
- fulfillment: {
3165
- kind: "staff-handover";
3166
- };
3167
- };
3168
- tier: string;
3169
- } | {
3170
- kind: "points";
3171
- balance: string;
3172
- amount: number;
3173
- } | {
3174
- kind: "integration";
3175
- provider: "discord";
3176
- action: "grant-role";
3177
- roleId: string;
3178
- })[];
3179
- humanReview: boolean;
3180
- trigger: {
3181
- kind: "automatic";
3182
- observation?: {
3183
- source: string;
3184
- type: string;
3185
- } | undefined;
3186
- content?: {
3187
- tracker: string;
3188
- window: {
3189
- start: number;
3190
- end?: number | undefined;
3191
- };
3192
- enrollment: "none" | "required";
3193
- posts: "after-enrollment" | "since-start";
3194
- historical: "automatic" | "claim" | "staff";
3195
- } | undefined;
3196
- tracker?: {
3197
- tracker: string;
3198
- source: "custom" | "x-search";
3199
- beneficiary: string;
3200
- on?: "new-record" | "new-observation" | "data-changed" | undefined;
3201
- where?: {
3202
- path: string;
3203
- gt?: number | {
3204
- setting: string;
3205
- } | undefined;
3206
- gte?: number | {
3207
- setting: string;
3208
- } | undefined;
3209
- lt?: number | {
3210
- setting: string;
3211
- } | undefined;
3212
- lte?: number | {
3213
- setting: string;
3214
- } | undefined;
3215
- } | {
3216
- path: string;
3217
- equals: string | number | boolean;
3218
- } | undefined;
3219
- } | undefined;
3220
- } | {
3221
- kind: "manual";
3222
- input: "text";
3223
- constraints: {
3224
- required: boolean;
3225
- minLength: number;
3226
- maxLength: number;
3227
- };
3228
- actor?: "member" | "staff" | undefined;
3229
- } | {
3230
- kind: "manual";
3231
- input: "url";
3232
- constraints: {
3233
- required: boolean;
3234
- allowedHosts?: string[] | undefined;
3235
- };
3236
- actor?: "member" | "staff" | undefined;
3237
- } | {
3238
- kind: "manual";
3239
- input: "none" | "quiz" | "photo";
3240
- actor?: "member" | "staff" | undefined;
3241
- };
3242
- requires: {
3243
- quest: string;
3244
- }[];
3245
- completion: {
3246
- kind: "streak";
3247
- days: number;
3248
- timeZone: string;
3249
- } | {
3250
- kind: "once";
3251
- } | {
3252
- kind: "keyed";
3253
- };
3254
- visibility: "visible" | "hidden";
3255
- budgets: {
3256
- id: string;
3257
- scope: "member" | "project";
3258
- period: "day" | "lifetime" | "week";
3259
- limit: number;
3260
- cost: number | {
3261
- balance: string;
3262
- };
3263
- }[];
3264
- code: string;
3265
- provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
3266
- id: string;
3267
- createdAt: number;
3268
- legacy: boolean;
3269
- lifecycle: "paused" | "active" | "archived";
3270
- performance?: {
3271
- metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3272
- maxAgeMs: number;
3273
- } | undefined;
3274
- profile?: {
3275
- visible: boolean;
3276
- } | undefined;
3277
- key?: string | undefined;
3278
- origin?: {
3279
- typeVersion: string;
3280
- } | undefined;
3281
- configuration?: {
3282
- defaults: Record<string, string | number | boolean | {
3283
- id: string;
3284
- prompt: string;
3285
- choices: {
3286
- id: string;
3287
- label: string;
3288
- }[];
3289
- correct: string;
3290
- }[]>;
3291
- overrides: Record<string, string | number | boolean | {
3292
- id: string;
3293
- prompt: string;
3294
- choices: {
3295
- id: string;
3296
- label: string;
3297
- }[];
3298
- correct: string;
3299
- }[]>;
3300
- preserved: string[];
3301
- } | undefined;
3302
- }, {
3303
- quest: string;
3304
- title: string;
3305
- criteria: string;
3306
- humanReview: boolean;
3307
- rewards: ({
3308
- kind: "tier";
3309
- reward: {
3310
- id: string;
3311
- title: string;
3312
- tiers: {
3313
- id: string;
3314
- title: string;
3315
- }[];
3316
- inventory: {
3317
- kind: "untracked";
3318
- };
3319
- fulfillment: {
3320
- kind: "staff-handover";
3321
- };
3322
- };
3323
- tier: string;
3324
- } | {
3325
- kind: "points";
3326
- balance: string;
3327
- amount: number;
3328
- } | {
3329
- kind: "integration";
3330
- provider: "discord";
3331
- action: "grant-role";
3332
- roleId: string;
3333
- })[];
3334
- code: string;
3335
- provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
3336
- id: string;
3337
- createdAt: number;
3338
- }>>]>>;
3339
- types: z.ZodArray<z.ZodObject<{
3340
- key: z.ZodOptional<z.ZodString>;
3341
- id: z.ZodString;
3342
- version: z.ZodString;
3343
- code: z.ZodString;
3344
- definition: z.ZodObject<{
3345
- quest: z.ZodString;
3346
- runtimeVersion: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
3347
- title: z.ZodString;
3348
- presentation: z.ZodDefault<z.ZodObject<{
3349
- quiz: z.ZodOptional<z.ZodArray<z.ZodObject<{
3350
- id: z.ZodString;
3351
- prompt: z.ZodString;
3352
- choices: z.ZodArray<z.ZodObject<{
3353
- id: z.ZodString;
3354
- label: z.ZodString;
3355
- }, z.core.$strict>>;
3356
- }, z.core.$strict>>>;
3357
- instructions: z.ZodOptional<z.ZodString>;
3358
- video: z.ZodOptional<z.ZodObject<{
3359
- url: z.ZodString;
3360
- poster: z.ZodOptional<z.ZodString>;
3361
- captions: z.ZodOptional<z.ZodObject<{
3362
- url: z.ZodString;
3363
- language: z.ZodString;
3364
- label: z.ZodString;
3365
- }, z.core.$strict>>;
3366
- }, z.core.$strict>>;
3367
- }, z.core.$strict>>;
3368
- integrations: z.ZodDefault<z.ZodArray<z.ZodEnum<{
3369
- discord: "discord";
3370
- }>>>;
3371
- fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
3372
- kind: z.ZodLiteral<"point-ledger">;
3373
- default: z.ZodString;
3374
- label: z.ZodString;
3375
- description: z.ZodOptional<z.ZodString>;
3376
- }, z.core.$strict>, z.ZodObject<{
3377
- kind: z.ZodLiteral<"datetime">;
3378
- default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
3379
- label: z.ZodString;
3380
- description: z.ZodOptional<z.ZodString>;
3381
- }, z.core.$strict>, z.ZodObject<{
3382
- kind: z.ZodLiteral<"resource">;
3383
- default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
3384
- source: z.ZodUnion<readonly [z.ZodObject<{
3385
- provider: z.ZodLiteral<"domino">;
3386
- resource: z.ZodLiteral<"point-ledger">;
3387
- }, z.core.$strict>, z.ZodObject<{
3388
- provider: z.ZodLiteral<"discord">;
3389
- resource: z.ZodLiteral<"channel">;
3390
- types: z.ZodArray<z.ZodEnum<{
3391
- text: "text";
3392
- announcement: "announcement";
3393
- }>>;
3394
- }, z.core.$strict>, z.ZodObject<{
3395
- provider: z.ZodLiteral<"discord">;
3396
- resource: z.ZodLiteral<"role">;
3397
- assignable: z.ZodDefault<z.ZodBoolean>;
3398
- }, z.core.$strict>]>;
3399
- label: z.ZodString;
3400
- description: z.ZodOptional<z.ZodString>;
3401
- }, z.core.$strict>, z.ZodObject<{
3402
- kind: z.ZodLiteral<"quiz">;
3403
- default: z.ZodArray<z.ZodObject<{
3404
- id: z.ZodString;
3405
- prompt: z.ZodString;
3406
- choices: z.ZodArray<z.ZodObject<{
3407
- id: z.ZodString;
3408
- label: z.ZodString;
3409
- }, z.core.$strict>>;
3410
- correct: z.ZodString;
3411
- }, z.core.$strict>>;
3412
- label: z.ZodString;
3413
- description: z.ZodOptional<z.ZodString>;
3414
- }, z.core.$strict>, z.ZodObject<{
3415
- kind: z.ZodLiteral<"text">;
3416
- default: z.ZodString;
3417
- minLength: z.ZodNumber;
3418
- maxLength: z.ZodNumber;
3419
- multiline: z.ZodBoolean;
3420
- label: z.ZodString;
3421
- description: z.ZodOptional<z.ZodString>;
3422
- }, z.core.$strict>, z.ZodObject<{
3423
- kind: z.ZodLiteral<"integer">;
3424
- default: z.ZodNumber;
3425
- min: z.ZodNumber;
3426
- max: z.ZodNumber;
3427
- label: z.ZodString;
3428
- description: z.ZodOptional<z.ZodString>;
3429
- }, z.core.$strict>, z.ZodObject<{
3430
- kind: z.ZodLiteral<"boolean">;
3431
- default: z.ZodBoolean;
3432
- label: z.ZodString;
3433
- description: z.ZodOptional<z.ZodString>;
3434
- }, z.core.$strict>, z.ZodObject<{
3435
- kind: z.ZodLiteral<"choice">;
3436
- default: z.ZodString;
3437
- options: z.ZodArray<z.ZodString>;
3438
- label: z.ZodString;
3439
- description: z.ZodOptional<z.ZodString>;
3440
- }, z.core.$strict>], "kind">>;
3441
- values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodObject<{
3442
- id: z.ZodString;
3443
- prompt: z.ZodString;
3444
- choices: z.ZodArray<z.ZodObject<{
3445
- id: z.ZodString;
3446
- label: z.ZodString;
3447
- }, z.core.$strict>>;
3448
- correct: z.ZodString;
3449
- }, z.core.$strict>>]>>;
3450
- rewards: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3451
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
3452
- balance: z.ZodString;
3453
- amount: z.ZodNumber;
3454
- }, z.core.$strict>, z.ZodObject<{
3455
- kind: z.ZodLiteral<"tier">;
3456
- reward: z.ZodObject<{
3457
- id: z.ZodString;
3458
- title: z.ZodString;
3459
- tiers: z.ZodArray<z.ZodObject<{
3460
- id: z.ZodString;
3461
- title: z.ZodString;
3462
- }, z.core.$strict>>;
3463
- inventory: z.ZodObject<{
3464
- kind: z.ZodLiteral<"untracked">;
3465
- }, z.core.$strict>;
3466
- fulfillment: z.ZodObject<{
3467
- kind: z.ZodLiteral<"staff-handover">;
3468
- }, z.core.$strict>;
3469
- }, z.core.$strict>;
3470
- tier: z.ZodString;
3471
- }, z.core.$strict>, z.ZodObject<{
3472
- kind: z.ZodLiteral<"integration">;
3473
- provider: z.ZodLiteral<"discord">;
3474
- action: z.ZodLiteral<"grant-role">;
3475
- roleId: z.ZodString;
3476
- }, z.core.$strict>]>>;
3477
- humanReview: z.ZodBoolean;
3478
- trigger: z.ZodUnion<readonly [z.ZodObject<{
3479
- kind: z.ZodLiteral<"manual">;
3480
- input: z.ZodLiteral<"text">;
3481
- constraints: z.ZodObject<{
3482
- required: z.ZodDefault<z.ZodBoolean>;
3483
- minLength: z.ZodDefault<z.ZodNumber>;
3484
- maxLength: z.ZodDefault<z.ZodNumber>;
3485
- }, z.core.$strict>;
3486
- actor: z.ZodOptional<z.ZodEnum<{
3487
- member: "member";
3488
- staff: "staff";
3489
- }>>;
3490
- }, z.core.$strict>, z.ZodObject<{
3491
- kind: z.ZodLiteral<"manual">;
3492
- input: z.ZodLiteral<"url">;
3493
- constraints: z.ZodObject<{
3494
- required: z.ZodDefault<z.ZodBoolean>;
3495
- allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
3496
- }, z.core.$strict>;
3497
- actor: z.ZodOptional<z.ZodEnum<{
3498
- member: "member";
3499
- staff: "staff";
3500
- }>>;
3501
- }, z.core.$strict>, z.ZodObject<{
3502
- kind: z.ZodLiteral<"manual">;
3503
- input: z.ZodEnum<{
3504
- none: "none";
3505
- quiz: "quiz";
3506
- photo: "photo";
3507
- }>;
3508
- actor: z.ZodOptional<z.ZodEnum<{
3509
- member: "member";
3510
- staff: "staff";
3511
- }>>;
3512
- }, z.core.$strict>, z.ZodObject<{
3513
- kind: z.ZodLiteral<"automatic">;
3514
- observation: z.ZodOptional<z.ZodObject<{
3515
- source: z.ZodString;
3516
- type: z.ZodString;
3517
- }, z.core.$strict>>;
3518
- content: z.ZodOptional<z.ZodObject<{
3519
- tracker: z.ZodString;
3520
- window: z.ZodObject<{
3521
- start: z.ZodNumber;
3522
- end: z.ZodOptional<z.ZodNumber>;
3523
- }, z.core.$strict>;
3524
- enrollment: z.ZodDefault<z.ZodEnum<{
3525
- none: "none";
3526
- required: "required";
3527
- }>>;
3528
- posts: z.ZodDefault<z.ZodEnum<{
3529
- "after-enrollment": "after-enrollment";
3530
- "since-start": "since-start";
3531
- }>>;
3532
- historical: z.ZodDefault<z.ZodEnum<{
3533
- automatic: "automatic";
3534
- claim: "claim";
3535
- staff: "staff";
3536
- }>>;
3537
- }, z.core.$strict>>;
3538
- tracker: z.ZodOptional<z.ZodObject<{
3539
- tracker: z.ZodString;
3540
- source: z.ZodEnum<{
3541
- custom: "custom";
3542
- "x-search": "x-search";
3543
- }>;
3544
- on: z.ZodOptional<z.ZodEnum<{
3545
- "new-record": "new-record";
3546
- "new-observation": "new-observation";
3547
- "data-changed": "data-changed";
3548
- }>>;
3549
- where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3550
- path: z.ZodString;
3551
- equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
3552
- }, z.core.$strict>, z.ZodObject<{
3553
- path: z.ZodString;
3554
- gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
3555
- setting: z.ZodString;
3556
- }, z.core.$strict>]>>;
3557
- gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
3558
- setting: z.ZodString;
3559
- }, z.core.$strict>]>>;
3560
- lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
3561
- setting: z.ZodString;
3562
- }, z.core.$strict>]>>;
3563
- lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
3564
- setting: z.ZodString;
3565
- }, z.core.$strict>]>>;
3566
- }, z.core.$strict>]>>;
3567
- beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
3568
- }, z.core.$strict>>;
3569
- }, z.core.$strict>]>;
3570
- performance: z.ZodOptional<z.ZodObject<{
3571
- metrics: z.ZodArray<z.ZodEnum<{
3572
- likes: "likes";
3573
- replies: "replies";
3574
- reposts: "reposts";
3575
- quotes: "quotes";
3576
- views: "views";
3577
- bookmarks: "bookmarks";
3578
- }>>;
3579
- maxAgeMs: z.ZodDefault<z.ZodNumber>;
3580
- }, z.core.$strict>>;
3581
- requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
3582
- quest: z.ZodString;
3583
- }, z.core.$strip>>>;
3584
- completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
3585
- kind: z.ZodLiteral<"streak">;
3586
- days: z.ZodNumber;
3587
- timeZone: z.ZodString;
3588
- }, z.core.$strict>, z.ZodObject<{
3589
- kind: z.ZodLiteral<"once">;
3590
- }, z.core.$strict>, z.ZodObject<{
3591
- kind: z.ZodLiteral<"keyed">;
3592
- }, z.core.$strict>], "kind">;
3593
- visibility: z.ZodDefault<z.ZodEnum<{
3594
- visible: "visible";
3595
- hidden: "hidden";
3596
- }>>;
3597
- profile: z.ZodOptional<z.ZodObject<{
3598
- visible: z.ZodBoolean;
3599
- }, z.core.$strict>>;
3600
- budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
3601
- id: z.ZodString;
3602
- scope: z.ZodEnum<{
3603
- member: "member";
3604
- project: "project";
3605
- }>;
3606
- period: z.ZodEnum<{
3607
- day: "day";
3608
- lifetime: "lifetime";
3609
- week: "week";
3610
- }>;
3611
- limit: z.ZodNumber;
3612
- cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
3613
- balance: z.ZodString;
3614
- }, z.core.$strict>]>;
3615
- }, z.core.$strict>>>;
3616
- }, z.core.$strict>;
3617
- provider: z.ZodEnum<{
3618
- "workers-ai": "workers-ai";
3619
- "fixture-pass": "fixture-pass";
3620
- "fixture-fail": "fixture-fail";
3621
- "fixture-unclear": "fixture-unclear";
3622
- "fixture-error": "fixture-error";
3623
- }>;
3624
- createdAt: z.ZodNumber;
3625
- }, z.core.$strip>>;
3626
- collections: z.ZodArray<z.ZodObject<{
3627
- id: z.ZodString;
3628
- key: z.ZodOptional<z.ZodString>;
3629
- title: z.ZodString;
3630
- quests: z.ZodArray<z.ZodString>;
3631
- }, z.core.$strict>>;
3632
- supportedInteractions: z.ZodArray<z.ZodEnum<{
3633
- url: "url";
3634
- text: "text";
3635
- automatic: "automatic";
3636
- claim: "claim";
3637
- staff: "staff";
3638
- quiz: "quiz";
3639
- photo: "photo";
3640
- }>>;
3641
- referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
3642
- version: z.ZodString;
3643
- definition: z.ZodObject<{
3644
- id: z.ZodString;
3645
- key: z.ZodOptional<z.ZodString>;
3646
- title: z.ZodString;
3647
- enabled: z.ZodDefault<z.ZodBoolean>;
3648
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
3649
- kind: z.ZodLiteral<"signup">;
3650
- }, z.core.$strict>, z.ZodObject<{
3651
- kind: z.ZodLiteral<"quest">;
3652
- quest: z.ZodString;
3653
- }, z.core.$strict>, z.ZodObject<{
3654
- kind: z.ZodLiteral<"external">;
3655
- }, z.core.$strict>], "kind">;
3656
- inviterGroup: z.ZodOptional<z.ZodString>;
3657
- rewards: z.ZodDefault<z.ZodObject<{
3658
- inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3659
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
3660
- balance: z.ZodString;
3661
- amount: z.ZodNumber;
3662
- }, z.core.$strict>, z.ZodObject<{
3663
- kind: z.ZodLiteral<"tier">;
3664
- reward: z.ZodObject<{
3665
- id: z.ZodString;
3666
- title: z.ZodString;
3667
- tiers: z.ZodArray<z.ZodObject<{
3668
- id: z.ZodString;
3669
- title: z.ZodString;
3670
- }, z.core.$strict>>;
3671
- inventory: z.ZodObject<{
3672
- kind: z.ZodLiteral<"untracked">;
3673
- }, z.core.$strict>;
3674
- fulfillment: z.ZodObject<{
3675
- kind: z.ZodLiteral<"staff-handover">;
3676
- }, z.core.$strict>;
3677
- }, z.core.$strict>;
3678
- tier: z.ZodString;
3679
- }, z.core.$strict>]>>>;
3680
- invitee: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3681
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
3682
- balance: z.ZodString;
3683
- amount: z.ZodNumber;
3684
- }, z.core.$strict>, z.ZodObject<{
3685
- kind: z.ZodLiteral<"tier">;
3686
- reward: z.ZodObject<{
3687
- id: z.ZodString;
3688
- title: z.ZodString;
3689
- tiers: z.ZodArray<z.ZodObject<{
3690
- id: z.ZodString;
3691
- title: z.ZodString;
3692
- }, z.core.$strict>>;
3693
- inventory: z.ZodObject<{
3694
- kind: z.ZodLiteral<"untracked">;
3695
- }, z.core.$strict>;
3696
- fulfillment: z.ZodObject<{
3697
- kind: z.ZodLiteral<"staff-handover">;
3698
- }, z.core.$strict>;
3699
- }, z.core.$strict>;
3700
- tier: z.ZodString;
3701
- }, z.core.$strict>]>>>;
3702
- }, z.core.$strict>>;
3703
- milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
3704
- id: z.ZodString;
3705
- count: z.ZodNumber;
3706
- rewards: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3707
- kind: z.ZodDefault<z.ZodLiteral<"points">>;
3708
- balance: z.ZodString;
3709
- amount: z.ZodNumber;
3710
- }, z.core.$strict>, z.ZodObject<{
3711
- kind: z.ZodLiteral<"tier">;
3712
- reward: z.ZodObject<{
3713
- id: z.ZodString;
3714
- title: z.ZodString;
3715
- tiers: z.ZodArray<z.ZodObject<{
3716
- id: z.ZodString;
3717
- title: z.ZodString;
3718
- }, z.core.$strict>>;
3719
- inventory: z.ZodObject<{
3720
- kind: z.ZodLiteral<"untracked">;
3721
- }, z.core.$strict>;
3722
- fulfillment: z.ZodObject<{
3723
- kind: z.ZodLiteral<"staff-handover">;
3724
- }, z.core.$strict>;
3725
- }, z.core.$strict>;
3726
- tier: z.ZodString;
3727
- }, z.core.$strict>]>>;
3728
- }, z.core.$strict>>>;
3729
- bonuses: z.ZodDefault<z.ZodArray<z.ZodObject<{
3730
- id: z.ZodString;
3731
- balance: z.ZodString;
3732
- basisPoints: z.ZodNumber;
3733
- quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
3734
- external: z.ZodDefault<z.ZodBoolean>;
3735
- durationDays: z.ZodOptional<z.ZodNumber>;
3736
- maxPoints: z.ZodOptional<z.ZodNumber>;
3737
- }, z.core.$strict>>>;
3738
- }, z.core.$strict>;
3739
- publishedAt: z.ZodNumber;
3740
- actor: z.ZodNullable<z.ZodString>;
3741
- }, z.core.$strip>>>;
3742
- leaderboards: z.ZodDefault<z.ZodArray<z.ZodObject<{
3743
- published: z.ZodObject<{
3744
- version: z.ZodString;
3745
- definition: z.ZodObject<{
3746
- id: z.ZodString;
3747
- key: z.ZodOptional<z.ZodString>;
3748
- title: z.ZodString;
3749
- balance: z.ZodString;
3750
- score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
3751
- kind: z.ZodLiteral<"balance">;
3752
- }, z.core.$strict>, z.ZodObject<{
3753
- window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
3754
- kind: z.ZodLiteral<"all-time">;
3755
- }, z.core.$strict>, z.ZodObject<{
3756
- kind: z.ZodLiteral<"fixed">;
3757
- start: z.ZodNumber;
3758
- end: z.ZodNumber;
3759
- }, z.core.$strict>, z.ZodObject<{
3760
- kind: z.ZodLiteral<"rolling">;
3761
- days: z.ZodNumber;
3762
- }, z.core.$strict>, z.ZodObject<{
3763
- kind: z.ZodLiteral<"calendar">;
3764
- period: z.ZodEnum<{
3765
- day: "day";
3766
- week: "week";
3767
- month: "month";
3768
- }>;
3769
- timeZone: z.ZodString;
3770
- }, z.core.$strict>], "kind">>;
3771
- quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
3772
- kind: z.ZodLiteral<"earned">;
3773
- }, z.core.$strict>, z.ZodObject<{
3774
- kind: z.ZodLiteral<"net">;
3775
- window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
3776
- kind: z.ZodLiteral<"all-time">;
3777
- }, z.core.$strict>, z.ZodObject<{
3778
- kind: z.ZodLiteral<"fixed">;
3779
- start: z.ZodNumber;
3780
- end: z.ZodNumber;
3781
- }, z.core.$strict>, z.ZodObject<{
3782
- kind: z.ZodLiteral<"rolling">;
3783
- days: z.ZodNumber;
3784
- }, z.core.$strict>, z.ZodObject<{
3785
- kind: z.ZodLiteral<"calendar">;
3786
- period: z.ZodEnum<{
3787
- day: "day";
3788
- week: "week";
3789
- month: "month";
3790
- }>;
3791
- timeZone: z.ZodString;
3792
- }, z.core.$strict>], "kind">>;
3793
- }, z.core.$strict>], "kind">>;
3794
- access: z.ZodDefault<z.ZodEnum<{
3795
- participants: "participants";
3796
- public: "public";
3797
- }>>;
3798
- group: z.ZodOptional<z.ZodString>;
3799
- }, z.core.$strict>;
3800
- publishedAt: z.ZodNumber;
3801
- actor: z.ZodNullable<z.ZodString>;
3802
- }, z.core.$strip>;
3803
- before: z.ZodNullable<z.ZodObject<{
3804
- leaderboard: z.ZodString;
3805
- title: z.ZodString;
3806
- version: z.ZodString;
3807
- calculation: z.ZodEnum<{
3808
- balance: "balance";
3809
- earned: "earned";
3810
- net: "net";
3811
- }>;
3812
- period: z.ZodObject<{
3813
- start: z.ZodNullable<z.ZodNumber>;
3814
- end: z.ZodNullable<z.ZodNumber>;
3815
- }, z.core.$strip>;
3816
- calculatedAt: z.ZodNumber;
3817
- lastEntryAt: z.ZodNullable<z.ZodNumber>;
3818
- total: z.ZodNumber;
3819
- items: z.ZodArray<z.ZodObject<{
3820
- participant: z.ZodString;
3821
- member: z.ZodOptional<z.ZodString>;
3822
- name: z.ZodString;
3823
- score: z.ZodNumber;
3824
- rank: z.ZodNumber;
3825
- profile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3826
- id: z.ZodString;
3827
- name: z.ZodString;
3828
- avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
3829
- source: z.ZodLiteral<"upload">;
3830
- url: z.ZodString;
3831
- seed: z.ZodString;
3832
- }, z.core.$strip>, z.ZodObject<{
3833
- source: z.ZodLiteral<"account">;
3834
- provider: z.ZodEnum<{
3835
- x: "x";
3836
- discord: "discord";
3837
- google: "google";
3838
- }>;
3839
- url: z.ZodString;
3840
- seed: z.ZodString;
3841
- }, z.core.$strip>, z.ZodObject<{
3842
- source: z.ZodLiteral<"generated">;
3843
- seed: z.ZodString;
3844
- }, z.core.$strip>], "source">;
3845
- }, z.core.$strip>>>;
3846
- }, z.core.$strip>>;
3847
- me: z.ZodNullable<z.ZodObject<{
3848
- participant: z.ZodString;
3849
- member: z.ZodOptional<z.ZodString>;
3850
- name: z.ZodString;
3851
- score: z.ZodNumber;
3852
- rank: z.ZodNumber;
3853
- profile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3854
- id: z.ZodString;
3855
- name: z.ZodString;
3856
- avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
3857
- source: z.ZodLiteral<"upload">;
3858
- url: z.ZodString;
3859
- seed: z.ZodString;
3860
- }, z.core.$strip>, z.ZodObject<{
3861
- source: z.ZodLiteral<"account">;
3862
- provider: z.ZodEnum<{
3863
- x: "x";
3864
- discord: "discord";
3865
- google: "google";
3866
- }>;
3867
- url: z.ZodString;
3868
- seed: z.ZodString;
3869
- }, z.core.$strip>, z.ZodObject<{
3870
- source: z.ZodLiteral<"generated">;
3871
- seed: z.ZodString;
3872
- }, z.core.$strip>], "source">;
3873
- }, z.core.$strip>>>;
3874
- }, z.core.$strip>>;
3875
- nearby: z.ZodArray<z.ZodObject<{
3876
- participant: z.ZodString;
3877
- member: z.ZodOptional<z.ZodString>;
3878
- name: z.ZodString;
3879
- score: z.ZodNumber;
3880
- rank: z.ZodNumber;
3881
- profile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3882
- id: z.ZodString;
3883
- name: z.ZodString;
3884
- avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
3885
- source: z.ZodLiteral<"upload">;
3886
- url: z.ZodString;
3887
- seed: z.ZodString;
3888
- }, z.core.$strip>, z.ZodObject<{
3889
- source: z.ZodLiteral<"account">;
3890
- provider: z.ZodEnum<{
3891
- x: "x";
3892
- discord: "discord";
3893
- google: "google";
3894
- }>;
3895
- url: z.ZodString;
3896
- seed: z.ZodString;
3897
- }, z.core.$strip>, z.ZodObject<{
3898
- source: z.ZodLiteral<"generated">;
3899
- seed: z.ZodString;
3900
- }, z.core.$strip>], "source">;
3901
- }, z.core.$strip>>>;
3902
- }, z.core.$strip>>;
3903
- nextCursor: z.ZodNullable<z.ZodString>;
3904
- }, z.core.$strip>>;
3905
- after: z.ZodObject<{
3906
- leaderboard: z.ZodString;
3907
- title: z.ZodString;
3908
- version: z.ZodString;
3909
- calculation: z.ZodEnum<{
3910
- balance: "balance";
3911
- earned: "earned";
3912
- net: "net";
3913
- }>;
3914
- period: z.ZodObject<{
3915
- start: z.ZodNullable<z.ZodNumber>;
3916
- end: z.ZodNullable<z.ZodNumber>;
3917
- }, z.core.$strip>;
3918
- calculatedAt: z.ZodNumber;
3919
- lastEntryAt: z.ZodNullable<z.ZodNumber>;
3920
- total: z.ZodNumber;
3921
- items: z.ZodArray<z.ZodObject<{
3922
- participant: z.ZodString;
3923
- member: z.ZodOptional<z.ZodString>;
3924
- name: z.ZodString;
3925
- score: z.ZodNumber;
3926
- rank: z.ZodNumber;
3927
- profile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3928
- id: z.ZodString;
3929
- name: z.ZodString;
3930
- avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
3931
- source: z.ZodLiteral<"upload">;
3932
- url: z.ZodString;
3933
- seed: z.ZodString;
3934
- }, z.core.$strip>, z.ZodObject<{
3935
- source: z.ZodLiteral<"account">;
3936
- provider: z.ZodEnum<{
3937
- x: "x";
3938
- discord: "discord";
3939
- google: "google";
3940
- }>;
3941
- url: z.ZodString;
3942
- seed: z.ZodString;
3943
- }, z.core.$strip>, z.ZodObject<{
3944
- source: z.ZodLiteral<"generated">;
3945
- seed: z.ZodString;
3946
- }, z.core.$strip>], "source">;
3947
- }, z.core.$strip>>>;
3948
- }, z.core.$strip>>;
3949
- me: z.ZodNullable<z.ZodObject<{
3950
- participant: z.ZodString;
3951
- member: z.ZodOptional<z.ZodString>;
3952
- name: z.ZodString;
3953
- score: z.ZodNumber;
3954
- rank: z.ZodNumber;
3955
- profile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3956
- id: z.ZodString;
3957
- name: z.ZodString;
3958
- avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
3959
- source: z.ZodLiteral<"upload">;
3960
- url: z.ZodString;
3961
- seed: z.ZodString;
3962
- }, z.core.$strip>, z.ZodObject<{
3963
- source: z.ZodLiteral<"account">;
3964
- provider: z.ZodEnum<{
3965
- x: "x";
3966
- discord: "discord";
3967
- google: "google";
3968
- }>;
3969
- url: z.ZodString;
3970
- seed: z.ZodString;
3971
- }, z.core.$strip>, z.ZodObject<{
3972
- source: z.ZodLiteral<"generated">;
3973
- seed: z.ZodString;
3974
- }, z.core.$strip>], "source">;
3975
- }, z.core.$strip>>>;
3976
- }, z.core.$strip>>;
3977
- nearby: z.ZodArray<z.ZodObject<{
3978
- participant: z.ZodString;
3979
- member: z.ZodOptional<z.ZodString>;
3980
- name: z.ZodString;
3981
- score: z.ZodNumber;
3982
- rank: z.ZodNumber;
3983
- profile: z.ZodDefault<z.ZodNullable<z.ZodObject<{
3984
- id: z.ZodString;
3985
- name: z.ZodString;
3986
- avatar: z.ZodDiscriminatedUnion<[z.ZodObject<{
3987
- source: z.ZodLiteral<"upload">;
3988
- url: z.ZodString;
3989
- seed: z.ZodString;
3990
- }, z.core.$strip>, z.ZodObject<{
3991
- source: z.ZodLiteral<"account">;
3992
- provider: z.ZodEnum<{
3993
- x: "x";
3994
- discord: "discord";
3995
- google: "google";
3996
- }>;
3997
- url: z.ZodString;
3998
- seed: z.ZodString;
3999
- }, z.core.$strip>, z.ZodObject<{
4000
- source: z.ZodLiteral<"generated">;
4001
- seed: z.ZodString;
4002
- }, z.core.$strip>], "source">;
4003
- }, z.core.$strip>>>;
4004
- }, z.core.$strip>>;
4005
- nextCursor: z.ZodNullable<z.ZodString>;
4006
- }, z.core.$strip>;
4007
- }, z.core.$strip>>>;
4008
- images: z.ZodDefault<z.ZodArray<z.ZodObject<{
4009
- key: z.ZodString;
4010
- sha256: z.ZodString;
4011
- type: z.ZodEnum<{
4012
- "image/jpeg": "image/jpeg";
4013
- "image/png": "image/png";
4014
- "image/webp": "image/webp";
4015
- }>;
4016
- size: z.ZodNumber;
4017
- width: z.ZodNumber;
4018
- height: z.ZodNumber;
4019
- }, z.core.$strict>>>;
4020
- revision: z.ZodNumber;
4021
- }, z.core.$strip>;
4022
- type DeploymentPreview = z.infer<typeof deploymentPreviewSchema>;
4023
-
4024
- declare const rewardDeliverySchema: z.ZodObject<{
4025
- id: z.ZodString;
4026
- quest: z.ZodString;
4027
- completion: z.ZodString;
4028
- member: z.ZodString;
4029
- provider: z.ZodLiteral<"discord">;
4030
- action: z.ZodLiteral<"grant-role">;
4031
- roleId: z.ZodString;
4032
- status: z.ZodEnum<{
4033
- pending: "pending";
4034
- failed: "failed";
4035
- delivered: "delivered";
4036
- }>;
4037
- attempts: z.ZodNumber;
4038
- nextAt: z.ZodNumber;
4039
- lastError: z.ZodNullable<z.ZodString>;
4040
- createdAt: z.ZodNumber;
4041
- deliveredAt: z.ZodNullable<z.ZodNumber>;
4042
- }, z.core.$strip>;
4043
- declare const rewardDeliveriesSchema: z.ZodObject<{
4044
- deliveries: z.ZodArray<z.ZodObject<{
4045
- id: z.ZodString;
4046
- quest: z.ZodString;
4047
- completion: z.ZodString;
4048
- member: z.ZodString;
4049
- provider: z.ZodLiteral<"discord">;
4050
- action: z.ZodLiteral<"grant-role">;
4051
- roleId: z.ZodString;
4052
- status: z.ZodEnum<{
4053
- pending: "pending";
4054
- failed: "failed";
4055
- delivered: "delivered";
4056
- }>;
4057
- attempts: z.ZodNumber;
4058
- nextAt: z.ZodNumber;
4059
- lastError: z.ZodNullable<z.ZodString>;
4060
- createdAt: z.ZodNumber;
4061
- deliveredAt: z.ZodNullable<z.ZodNumber>;
4062
- }, z.core.$strip>>;
4063
- }, z.core.$strip>;
4064
-
4065
- declare const settingFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4066
- kind: z.ZodLiteral<"point-ledger">;
4067
- default: z.ZodString;
4068
- label: z.ZodString;
4069
- description: z.ZodOptional<z.ZodString>;
4070
- }, z.core.$strict>, z.ZodObject<{
4071
- kind: z.ZodLiteral<"datetime">;
4072
- default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
4073
- label: z.ZodString;
4074
- description: z.ZodOptional<z.ZodString>;
4075
- }, z.core.$strict>, z.ZodObject<{
4076
- kind: z.ZodLiteral<"resource">;
4077
- default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
4078
- source: z.ZodUnion<readonly [z.ZodObject<{
4079
- provider: z.ZodLiteral<"domino">;
4080
- resource: z.ZodLiteral<"point-ledger">;
4081
- }, z.core.$strict>, z.ZodObject<{
4082
- provider: z.ZodLiteral<"discord">;
4083
- resource: z.ZodLiteral<"channel">;
4084
- types: z.ZodArray<z.ZodEnum<{
4085
- text: "text";
4086
- announcement: "announcement";
4087
- }>>;
4088
- }, z.core.$strict>, z.ZodObject<{
4089
- provider: z.ZodLiteral<"discord">;
4090
- resource: z.ZodLiteral<"role">;
4091
- assignable: z.ZodDefault<z.ZodBoolean>;
4092
- }, z.core.$strict>]>;
4093
- label: z.ZodString;
4094
- description: z.ZodOptional<z.ZodString>;
4095
- }, z.core.$strict>, z.ZodObject<{
4096
- kind: z.ZodLiteral<"quiz">;
4097
- default: z.ZodArray<z.ZodObject<{
4098
- id: z.ZodString;
4099
- prompt: z.ZodString;
4100
- choices: z.ZodArray<z.ZodObject<{
4101
- id: z.ZodString;
4102
- label: z.ZodString;
4103
- }, z.core.$strict>>;
4104
- correct: z.ZodString;
4105
- }, z.core.$strict>>;
4106
- label: z.ZodString;
4107
- description: z.ZodOptional<z.ZodString>;
4108
- }, z.core.$strict>, z.ZodObject<{
4109
- kind: z.ZodLiteral<"text">;
4110
- default: z.ZodString;
4111
- minLength: z.ZodNumber;
4112
- maxLength: z.ZodNumber;
4113
- multiline: z.ZodBoolean;
4114
- label: z.ZodString;
4115
- description: z.ZodOptional<z.ZodString>;
4116
- }, z.core.$strict>, z.ZodObject<{
4117
- kind: z.ZodLiteral<"integer">;
4118
- default: z.ZodNumber;
4119
- min: z.ZodNumber;
4120
- max: z.ZodNumber;
4121
- label: z.ZodString;
4122
- description: z.ZodOptional<z.ZodString>;
4123
- }, z.core.$strict>, z.ZodObject<{
4124
- kind: z.ZodLiteral<"boolean">;
4125
- default: z.ZodBoolean;
4126
- label: z.ZodString;
4127
- description: z.ZodOptional<z.ZodString>;
4128
- }, z.core.$strict>, z.ZodObject<{
4129
- kind: z.ZodLiteral<"choice">;
4130
- default: z.ZodString;
4131
- options: z.ZodArray<z.ZodString>;
4132
- label: z.ZodString;
4133
- description: z.ZodOptional<z.ZodString>;
4134
- }, z.core.$strict>], "kind">;
4135
- type SettingField = z.infer<typeof settingFieldSchema>;
4136
- declare const settingsFieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
4137
- kind: z.ZodLiteral<"point-ledger">;
4138
- default: z.ZodString;
4139
- label: z.ZodString;
4140
- description: z.ZodOptional<z.ZodString>;
4141
- }, z.core.$strict>, z.ZodObject<{
4142
- kind: z.ZodLiteral<"datetime">;
4143
- default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
4144
- label: z.ZodString;
4145
- description: z.ZodOptional<z.ZodString>;
4146
- }, z.core.$strict>, z.ZodObject<{
4147
- kind: z.ZodLiteral<"resource">;
4148
- default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
4149
- source: z.ZodUnion<readonly [z.ZodObject<{
4150
- provider: z.ZodLiteral<"domino">;
4151
- resource: z.ZodLiteral<"point-ledger">;
4152
- }, z.core.$strict>, z.ZodObject<{
4153
- provider: z.ZodLiteral<"discord">;
4154
- resource: z.ZodLiteral<"channel">;
4155
- types: z.ZodArray<z.ZodEnum<{
4156
- text: "text";
4157
- announcement: "announcement";
4158
- }>>;
4159
- }, z.core.$strict>, z.ZodObject<{
4160
- provider: z.ZodLiteral<"discord">;
4161
- resource: z.ZodLiteral<"role">;
4162
- assignable: z.ZodDefault<z.ZodBoolean>;
4163
- }, z.core.$strict>]>;
4164
- label: z.ZodString;
4165
- description: z.ZodOptional<z.ZodString>;
4166
- }, z.core.$strict>, z.ZodObject<{
4167
- kind: z.ZodLiteral<"quiz">;
4168
- default: z.ZodArray<z.ZodObject<{
4169
- id: z.ZodString;
4170
- prompt: z.ZodString;
4171
- choices: z.ZodArray<z.ZodObject<{
4172
- id: z.ZodString;
4173
- label: z.ZodString;
4174
- }, z.core.$strict>>;
4175
- correct: z.ZodString;
4176
- }, z.core.$strict>>;
4177
- label: z.ZodString;
4178
- description: z.ZodOptional<z.ZodString>;
4179
- }, z.core.$strict>, z.ZodObject<{
4180
- kind: z.ZodLiteral<"text">;
4181
- default: z.ZodString;
4182
- minLength: z.ZodNumber;
4183
- maxLength: z.ZodNumber;
4184
- multiline: z.ZodBoolean;
4185
- label: z.ZodString;
4186
- description: z.ZodOptional<z.ZodString>;
4187
- }, z.core.$strict>, z.ZodObject<{
4188
- kind: z.ZodLiteral<"integer">;
4189
- default: z.ZodNumber;
4190
- min: z.ZodNumber;
4191
- max: z.ZodNumber;
4192
- label: z.ZodString;
4193
- description: z.ZodOptional<z.ZodString>;
4194
- }, z.core.$strict>, z.ZodObject<{
4195
- kind: z.ZodLiteral<"boolean">;
4196
- default: z.ZodBoolean;
4197
- label: z.ZodString;
4198
- description: z.ZodOptional<z.ZodString>;
4199
- }, z.core.$strict>, z.ZodObject<{
4200
- kind: z.ZodLiteral<"choice">;
4201
- default: z.ZodString;
4202
- options: z.ZodArray<z.ZodString>;
4203
- label: z.ZodString;
4204
- description: z.ZodOptional<z.ZodString>;
4205
- }, z.core.$strict>], "kind">>;
4206
- declare const settingsValuesSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodObject<{
4207
- id: z.ZodString;
4208
- prompt: z.ZodString;
4209
- choices: z.ZodArray<z.ZodObject<{
4210
- id: z.ZodString;
4211
- label: z.ZodString;
4212
- }, z.core.$strict>>;
4213
- correct: z.ZodString;
4214
- }, z.core.$strict>>]>>;
4215
- type SettingsValues = z.infer<typeof settingsValuesSchema>;
4216
- declare function parseSettings(fields: Record<string, SettingField>, input: unknown): SettingsValues;
4217
- declare function missingResourceSettings(fields: Record<string, SettingField>, values: SettingsValues): string[];
4218
- declare function compatibleSettingKinds(previous: SettingField, next: SettingField): boolean;
4219
-
4220
- export { type DeploymentPreview, type SettingField, type SettingsValues, compatibleSettingKinds, deploymentPreviewSchema, deploymentResultSchema, identifier, missingResourceSettings, parseSettings, projectCatalogArtifactSchema, projectDeploymentSchema, publishDeploymentSchema, rewardDeliveriesSchema, rewardDeliverySchema, settingFieldSchema, settingsFieldsSchema, settingsValuesSchema };
19
+ export { identifier };