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