@domino-sdk/relay 1.30.0 → 1.30.1

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 (32) hide show
  1. package/dist/authoring.d.ts +38 -38
  2. package/dist/authoring.js +4 -4
  3. package/dist/browser.js +10 -10
  4. package/dist/{chunk-DDA7G23P.js → chunk-32UPB7Q3.js} +1 -1
  5. package/dist/{chunk-LPURBE7D.js → chunk-3WJBL74Q.js} +1 -1
  6. package/dist/{chunk-PNCLJOUD.js → chunk-466IRAJP.js} +1 -1
  7. package/dist/{chunk-NFLNEKZ5.js → chunk-4EX7JIGW.js} +4 -4
  8. package/dist/{chunk-MNL5NSC4.js → chunk-6NWCLBXR.js} +2 -2
  9. package/dist/{chunk-JNBNL7FE.js → chunk-BUHGXKPY.js} +1 -1
  10. package/dist/{chunk-AOB3N4QO.js → chunk-FTZG6KMQ.js} +1 -1
  11. package/dist/{chunk-24BMKPCY.js → chunk-FU2KGJMQ.js} +6 -6
  12. package/dist/{chunk-CMGGWWH3.js → chunk-HSF75ZA6.js} +2 -2
  13. package/dist/{chunk-W7PDXGYB.js → chunk-IJT4EKFY.js} +1 -1
  14. package/dist/{chunk-FPKBRUIC.js → chunk-KUZXNKHL.js} +1 -1
  15. package/dist/{chunk-FHOEVR3S.js → chunk-MWPAOC56.js} +8 -8
  16. package/dist/{chunk-BVEWY2ZL.js → chunk-OW22TOV7.js} +1 -0
  17. package/dist/{chunk-P23AWV76.js → chunk-V36CPSZW.js} +2 -2
  18. package/dist/{chunk-CCTZIHWN.js → chunk-V7K7XXFB.js} +1 -1
  19. package/dist/{chunk-C3KL5SGM.js → chunk-WPD4N3OP.js} +1 -1
  20. package/dist/index.js +9 -9
  21. package/dist/internal.d.ts +2 -2
  22. package/dist/internal.js +8 -8
  23. package/dist/portal-proxy.js +3 -3
  24. package/dist/react/index.js +10 -10
  25. package/dist/schema.d.ts +310 -310
  26. package/dist/schema.js +7 -7
  27. package/dist/server/index.d.ts +2 -2
  28. package/dist/server/index.js +14 -14
  29. package/dist/testing.js +5 -5
  30. package/dist/{transport-BSGalAsT.d.ts → transport-CEAQv15w.d.ts} +2105 -2105
  31. package/package.json +1 -1
  32. package/dist/{deployments-V_BQ1PdE.d.ts → deployments-Dx81-x1v.d.ts} +108 -108
package/dist/schema.d.ts CHANGED
@@ -2,7 +2,7 @@ import { a as AttemptStatus, h as TrackerSkipCode } from './schema-DquhoBae.js';
2
2
  export { ae as AccountRole, af as AppIdentityKind, A as Attempt, ag as Bound, ah as CompletionSource, ai as CompletionSourceKind, aj as Condition, a4 as ContentBody, a6 as ContentMetricName, ak as ContentPerformanceSnapshot, al as DataLeaves, $ as Decision, E as Entitlement, am as EntitlementCorrection, an as EntitlementState, b as EvaluatorProgress, I as IdentityKind, K as KnownAttemptStatus, ao as KnownCompletionSourceKind, ap as KnownIdentityKind, aq as KnownQuestSubmissionStatus, c as KnownTrackerSkipCode, P as MemberIdentity, ar as MemberPage, M as MemberProgress, O as OpenIdentityKind, _ as PhotoResult, as as PickupAvailability, at as PublishedRelease, au as QuestAvailability, Q as QuestBudgetView, av as QuestDescription, d as QuestPresentation, aw as QuestPresentationContent, e as QuestProfile, ax as QuestSettingsInput, ay as QuestStep, az as QuestStepAction, aA as QuestSubmission, aB as QuestSubmissionResult, aC as QuestSubmissionStatus, aD as QuestSubmissionUpdate, f as QuizEvidence, aE as ReleaseInput, aF as ReviewPage, R as Reward, a2 as RoleOf, aG as Snapshot, B as SourceRoles, S as SubmissionEvidence, g as SubmitInput, Z as TextResult, Y as TextReviewInput, a8 as TieredRewardDefinition, T as TieredRewardReference, y as Tracker, aH as TrackerAccount, aI as TrackerAttribution, aJ as TrackerBound, aK as TrackerCondition, aL as TrackerContent, aM as TrackerContentQuery, z as TrackerData, aN as TrackerDataIssue, D as TrackerDataSchema, aO as TrackerDefinition, aP as TrackerDefinitionResponse, aQ as TrackerOutcome, aR as TrackerOutcomeQuery, aa as TrackerPage, aS as TrackerPreview, aT as TrackerPreviewInput, aU as TrackerQuery, ab as TrackerReadQuery, V as TrackerReader, aV as TrackerRecord, u as TrackerSource, aW as TrackerSourceKind, aX as TrackerSourceResponse, aY as TrackerStatus, U as TrackerTriggerContext, a1 as TrackerTriggerMode, aZ as TrackerTriggerOutcomePage, a_ as TrackerTriggerOutcomeQuery, J as TrackerTriggerPolicy, a$ as TrackerWhere, b0 as TriggerEnrollment, b1 as TriggerHistorical, b2 as TriggerSince, b3 as TypedTrackerRecord, N as Where, a3 as WhereSetting, p as WithAccountRoles, o as WithContent, W as WithRecordData, H as XContentMetric, X as XTweet, b4 as accountRoleSchema, b5 as appIdentityKindSchema, b6 as artifactSchema, b7 as attemptSchema, b8 as badgeReward, b9 as badgeRewardSchema, ba as batchReleaseSchema, bb as beginHandoverSchema, bc as beneficiaryRole, bd as completionRecordSchema, be as completionSourceSchema, bf as configurePickupSchema, bg as confirmHandoverSchema, bh as contentMetricNameSchema, bi as contentPerformancePageSchema, bj as contentPerformanceQuerySchema, bk as contentPerformanceSnapshotSchema, bl as createStockItemSchema, bm as customContentSchema, n as customSourceSchema, bn as decisionSchema, bo as defaultTriggerMode, bp as deferPolicy, bq as entitlementCorrectionSchema, br as entitlementRecoverySchema, bs as entitlementSchema, bt as entitlementStateSchema, bu as errorSchema, bv as evaluatorProgressSchema, bw as evaluatorProtocol, bx as evaluatorProtocolSchema, by as eventSchema, bz as evidenceSchema, bA as identityKindSchema, bB as integrationRewardSchema, bC as isAppIdentityKind, bD as isKnownTrackerSource, bE as knownIdentityKinds, bF as mediaUrlSchema, bG as memberIdentitySchema, bH as memberListSchema, bI as memberPageSchema, bJ as memberProgressSchema, bK as openIdentityKindSchema, bL as photoResultSchema, bM as pickupAllocationSchema, bN as pickupAvailabilitySchema, bO as pickupCatalogSchema, bP as pickupPolicySchema, bQ as pickupSelectionSchema, bR as pointsRewardSchema, bS as publishedReleaseSchema, bT as publishedTrackerSchema, bU as questAvailabilitySchema, bV as questBudgetViewSchema, bW as questDescriptionSchema, bX as questPresentationContentSchema, bY as questPresentationRequirementSchema, bZ as questPresentationSchema, b_ as questProfileSchema, b$ as questSettingsInputSchema, c0 as questStepActionSchema, c1 as questStepSchema, c2 as questSubmissionResultSchema, c3 as questSubmissionSchema, c4 as questSubmissionUpdateSchema, c5 as quizAnswersSchema, c6 as quizEvidenceSchema, c7 as releaseSchema, c8 as reservationSchema, c9 as reviewItemSchema, ca as reviewListSchema, cb as reviewModeSchema, cc as reviewPageSchema, cd as rewardBundleSchema, ce as rewardKey, a0 as rewardSchema, cf as snapshotSchema, cg as sourceContent, ch as sourceIdentities, ci as staffDecisionSchema, cj as stockItemSchema, ck as stockSchema, cl as storedQuestDescriptionSchema, cm as storedReviewModeSchema, cn as submissionEvidenceSchema, co as submitSchema, cp as templateSchema, cq as textResultSchema, cr as textReviewInputSchema, cs as tierRewardSchema, ct as tieredRewardDefinitionSchema, cu as tieredRewardReferenceSchema, cv as trackerAccountSchema, cw as trackerArtifactSchema, cx as trackerAttributionSchema, cy as trackerBoundSchema, cz as trackerConditionSchema, cA as trackerContentQuerySchema, cB as trackerContentReadSchema, cC as trackerContentSchema, cD as trackerContentStageSchema, cE as trackerControlSchema, cF as trackerDataMaxBranches, cG as trackerDataMaxEntries, cH as trackerDataSchemaSchema, cI as trackerDefinitionResponseSchema, v as trackerDefinitionSchema, cJ as trackerEvidenceSchema, cK as trackerIngestResultSchema, cL as trackerIngestSchema, cM as trackerOutcomePageSchema, cN as trackerOutcomeQuerySchema, cO as trackerOutcomeRetrySchema, cP as trackerOutcomeSchema, cQ as trackerPageSchema, cR as trackerPreviewInputSchema, cS as trackerPreviewLimits, cT as trackerPreviewSchema, cU as trackerQuerySchema, cV as trackerRecordAccountSchema, cW as trackerRecordInputSchema, cX as trackerRecordSchema, cY as trackerSkipCodes, cZ as trackerSourceKinds, c_ as trackerSourceResponseSchema, c$ as trackerSourceSchema, d0 as trackerStatusSchema, d1 as trackerSummarySchema, ad as trackerTriggerContextSchema, d2 as trackerTriggerModeSchema, d3 as trackerTriggerOutcomePageSchema, d4 as trackerTriggerOutcomeQuerySchema, d5 as trackerTriggerPolicySchema, d6 as trackerTriggerRecordSchema, d7 as trackerWhereSchema, d8 as triggerAdmission, d9 as triggerEnrollmentSchema, da as triggerHistoricalSchema, db as triggerMode, a7 as triggerSchema, dc as triggerSinceSchema, dd as whereConditions, de as whereSettings, df as xAccountRoles, x as xContentBodySchema, dg as xContentMetrics, F as xSearchSourceSchema, dh as xTweetSchema } from './schema-DquhoBae.js';
3
3
  export { A as AccountConnection, a as AuthProvider, l as DiscordMember, m as DiscordMessage, D as DiscordMessageData, c as DiscordMessageTextData, f as DiscordReactionData, h as DiscordReader, T as TelegramAccountConnection, n as TelegramChat, o as TelegramChatConnection, i as TelegramChatMember, j as TelegramChatMemberStatus, p as TelegramChats, k as TelegramReactionData, g as TelegramReader, b as TelegramSignInMethods, q as accountConnectionSchema, r as authProviderSchema, s as discordMemberInputSchema, t as discordMemberSchema, u as discordMessageDataSchema, v as discordMessageInputSchema, w as discordMessageSchema, x as discordMessageTextDataSchema, d as discordMessagesSourceSchema, y as discordReactionDataSchema, e as discordReactionsSourceSchema, z as discordResourceSourceSchema, B as discordRewardSchema, C as telegramAccountConnectionSchema, E as telegramChatConnectionSchema, F as telegramChatIdSchema, G as telegramChatMemberSchema, H as telegramChatSchema, I as telegramChatsSchema, J as telegramInitDataSchema, K as telegramMemberInputSchema, L as telegramMiniAppSignInSchema, M as telegramReactionDataSchema, N as telegramReactionsNamespace, O as telegramSignInMethodsSchema } from './accounts-DRPENuZe.js';
4
4
  export { E as ExchangeInput, M as MemberSummary, P as ParticipantActivity, a as ParticipantPrincipal, b as ParticipantSession, R as RelayEvent, S as Session, c as authScopeSchema, e as exchangeResultSchema, d as exchangeSchema, k as knownRelayEventSchema, m as memberSummarySchema, p as participantActivityQuerySchema, f as participantActivitySchema, g as participantPrincipalSchema, h as participantSessionSchema, i as principalSchema, r as relayEventSchema, s as sessionMember, j as sessionSchema } from './participant-activity-BPZiW7m7.js';
5
- export { C as CalendarPeriod, D as DeploymentPreview, a as DeploymentRecord, b as DeploymentWarning, P as ProjectCalendar, c as ProjectCalendarInput, d as activityTypeSchema, e as activityTypes, f as calendarPeriodSchema, g as canonicalTimeZone, h as deploymentActionSchema, i as deploymentPreviewSchema, j as deploymentRecordSchema, k as deploymentRejectionSchema, l as deploymentResultSchema, m as deploymentSourceSchema, n as deploymentWarningSchema, p as projectCalendarDeclarationSchema, o as projectCalendarInputSchema, q as projectCalendarSchema, r as projectCatalogArtifactSchema, s as projectDeploymentSchema, t as promoteDeploymentSchema, u as publishDeploymentSchema, v as refuseStreakTimeZone, w as refuseWindowTimeZone, x as rejectDeploymentSchema, y as rollbackDeploymentSchema, z as submitDeploymentSchema, A as timeZoneNameSchema, B as timeZoneSchema } from './deployments-V_BQ1PdE.js';
5
+ export { C as CalendarPeriod, D as DeploymentPreview, a as DeploymentRecord, b as DeploymentWarning, P as ProjectCalendar, c as ProjectCalendarInput, d as activityTypeSchema, e as activityTypes, f as calendarPeriodSchema, g as canonicalTimeZone, h as deploymentActionSchema, i as deploymentPreviewSchema, j as deploymentRecordSchema, k as deploymentRejectionSchema, l as deploymentResultSchema, m as deploymentSourceSchema, n as deploymentWarningSchema, p as projectCalendarDeclarationSchema, o as projectCalendarInputSchema, q as projectCalendarSchema, r as projectCatalogArtifactSchema, s as projectDeploymentSchema, t as promoteDeploymentSchema, u as publishDeploymentSchema, v as refuseStreakTimeZone, w as refuseWindowTimeZone, x as rejectDeploymentSchema, y as rollbackDeploymentSchema, z as submitDeploymentSchema, A as timeZoneNameSchema, B as timeZoneSchema } from './deployments-Dx81-x1v.js';
6
6
  import { k as PointEntryKind } from './groups-sgKusEzF.js';
7
7
  export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, E as EngagementBudget, w as EngagementDefinition, x as EngagementRuleVersionPage, G as GroupMember, y as GroupMemberPage, z as GroupPage, B as GroupPageQuery, K as KnownPointEntryKind, L as LeaderboardDefinition, D as LeaderboardExclusionGroup, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, F as LeaderboardSettlement, H as LeaderboardSettlementPolicy, I as LeaderboardSettlementSummary, J as ManagedGroup, N as ManagedPointHistoryPage, O as ManagedPointLedger, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, l as PointHistoryPage, m as PointHistoryQuery, Q as PointLedger, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition, S as addGroupMemberSchema, T as availabilityWindowSchema, U as campaignDefinitionSchema, V as campaignEnrollmentInputSchema, W as campaignEnrollmentSchema, X as campaignViewSchema, Y as campaignWithdrawalInputSchema, Z as createGroupSchema, _ as createPointLedgerSchema, u as defineCampaign, v as defineGroup, $ as engagementArtifactSchema, a0 as engagementBoundaryPageSchema, a1 as engagementBudgetSchema, a2 as engagementChangePreviewInputSchema, a3 as engagementChangePreviewSchema, a4 as engagementChangeSchema, a5 as engagementDefinitionSchema, a6 as engagementDeploymentEntrySchema, a7 as engagementPageQuerySchema, a8 as engagementPageSchema, a9 as engagementPublishSchema, aa as engagementRuleSchema, ab as engagementRuleVersionPageSchema, ac as engagementScoreInputSchema, ad as engagementScoreSchema, ae as engagementSettlementSchema, af as engagementVersionPageSchema, ag as engagementVersionQuerySchema, ah as groupMemberPageSchema, ai as groupMemberSchema, aj as groupPageQuerySchema, ak as groupPageSchema, al as leaderboardArtifactSchema, am as leaderboardAuthoringSchema, an as leaderboardDefinitionResponseSchema, q as leaderboardDefinitionSchema, ao as leaderboardExclusionGroupBindingSchema, ap as leaderboardExclusionGroupSchema, aq as leaderboardExclusionSchema, ar as leaderboardGroupSchema, as as leaderboardPageSchema, at as leaderboardPlacementSchema, au as leaderboardPreviewSchema, av as leaderboardPrizeRewardSchema, aw as leaderboardPrizeSchema, ax as leaderboardQuerySchema, ay as leaderboardRowSchema, az as leaderboardSettlementApprovalSchema, aA as leaderboardSettlementPolicySchema, aB as leaderboardSettlementRowSchema, aC as leaderboardSettlementSchema, aD as leaderboardSettlementStatusSchema, aE as leaderboardSettlementSummarySchema, aF as leaderboardWindowSchema, aG as managedGroupSchema, aH as managedPointHistoryPageSchema, aI as managedPointLedgerSchema, aJ as memberCampaignEnrollmentInputSchema, aK as memberCampaignWithdrawalInputSchema, aL as pointBalanceSchema, aM as pointBalancesSchema, aN as pointEntrySchema, aO as pointHistoryPageSchema, aP as pointHistoryQuerySchema, aQ as pointLedgerArtifactSchema, s as pointLedgerDeclarationSchema, aR as pointLedgerPropertiesSchema, aS as pointLedgerReferenceSchema, aT as pointLedgerSchema, aU as pointsAccountSchema, aV as pointsEntrySchema, aW as pointsMutationSchema, aX as pointsResultSchema, aY as projectGroupKey, aZ as projectGroupSchema, a_ as publishedLeaderboardSchema, a$ as publishedReferralSchema, b0 as referralAcceptSchema, b1 as referralAccountSchema, b2 as referralArtifactSchema, t as referralAuthoringSchema, b3 as referralControlSchema, b4 as referralDefinitionSchema, b5 as referralHistorySchema, b6 as referralManagementSchema, b7 as referralQualificationSchema, b8 as referralRelationshipSchema, b9 as referralRewardResolutionSchema, ba as referralSummarySchema, bb as referralSuspensionSchema, bc as removeGroupMemberSchema, bd as updateGroupSchema } from './groups-sgKusEzF.js';
8
8
  import { k as ResponseSchema, R as ResponseResult, l as RewardDeliveryAction } from './pages-DFZThUH7.js';
@@ -286,15 +286,15 @@ declare const participantResponseSchemas: {
286
286
  badge?: string | undefined;
287
287
  };
288
288
  tier: string;
289
- } | {
290
- kind: "points";
291
- balance: string;
292
- amount: number;
293
289
  } | {
294
290
  kind: "integration";
295
291
  provider: "discord";
296
292
  action: "grant-role";
297
293
  roleId: string;
294
+ } | {
295
+ kind: "points";
296
+ balance: string;
297
+ amount: number;
298
298
  })[] | null;
299
299
  evaluationRun: number;
300
300
  deferCount: number;
@@ -309,17 +309,17 @@ declare const participantResponseSchemas: {
309
309
  requestedReview: boolean;
310
310
  createdAt: number;
311
311
  input?: {
312
- kind: "quiz";
313
- answers: {
314
- [k: string]: string;
315
- };
316
- release?: string | undefined;
317
- } | {
318
312
  kind: "text";
319
313
  value: string;
320
314
  } | {
321
315
  kind: "url";
322
316
  value: string;
317
+ } | {
318
+ kind: "quiz";
319
+ answers: {
320
+ [k: string]: string;
321
+ };
322
+ release?: string | undefined;
323
323
  } | undefined;
324
324
  }, unknown, zod_v4_core.$ZodTypeInternals<{
325
325
  id: string;
@@ -352,15 +352,15 @@ declare const participantResponseSchemas: {
352
352
  badge?: string | undefined;
353
353
  };
354
354
  tier: string;
355
- } | {
356
- kind: "points";
357
- balance: string;
358
- amount: number;
359
355
  } | {
360
356
  kind: "integration";
361
357
  provider: "discord";
362
358
  action: "grant-role";
363
359
  roleId: string;
360
+ } | {
361
+ kind: "points";
362
+ balance: string;
363
+ amount: number;
364
364
  })[] | null;
365
365
  evaluationRun: number;
366
366
  deferCount: number;
@@ -375,17 +375,17 @@ declare const participantResponseSchemas: {
375
375
  requestedReview: boolean;
376
376
  createdAt: number;
377
377
  input?: {
378
- kind: "quiz";
379
- answers: {
380
- [k: string]: string;
381
- };
382
- release?: string | undefined;
383
- } | {
384
378
  kind: "text";
385
379
  value: string;
386
380
  } | {
387
381
  kind: "url";
388
382
  value: string;
383
+ } | {
384
+ kind: "quiz";
385
+ answers: {
386
+ [k: string]: string;
387
+ };
388
+ release?: string | undefined;
389
389
  } | undefined;
390
390
  }, unknown>>;
391
391
  authProviderSchema: z.ZodType<"discord" | "x" | "google" | "apple", unknown, zod_v4_core.$ZodTypeInternals<"discord" | "x" | "google" | "apple", unknown>>;
@@ -420,7 +420,7 @@ declare const participantResponseSchemas: {
420
420
  reward: {
421
421
  attempt: string | null;
422
422
  completion: string | null;
423
- state: "awarded" | "excluded" | "unresolved";
423
+ state: "excluded" | "unresolved" | "awarded";
424
424
  };
425
425
  };
426
426
  items: {
@@ -442,7 +442,7 @@ declare const participantResponseSchemas: {
442
442
  reward: {
443
443
  attempt: string | null;
444
444
  completion: string | null;
445
- state: "awarded" | "excluded" | "unresolved";
445
+ state: "excluded" | "unresolved" | "awarded";
446
446
  };
447
447
  };
448
448
  items: {
@@ -471,7 +471,7 @@ declare const participantResponseSchemas: {
471
471
  reward: {
472
472
  attempt: string | null;
473
473
  completion: string | null;
474
- state: "awarded" | "excluded" | "unresolved";
474
+ state: "excluded" | "unresolved" | "awarded";
475
475
  };
476
476
  }[];
477
477
  nextCursor: string | null;
@@ -490,7 +490,7 @@ declare const participantResponseSchemas: {
490
490
  reward: {
491
491
  attempt: string | null;
492
492
  completion: string | null;
493
- state: "awarded" | "excluded" | "unresolved";
493
+ state: "excluded" | "unresolved" | "awarded";
494
494
  };
495
495
  }[];
496
496
  nextCursor: string | null;
@@ -1156,7 +1156,7 @@ declare const participantResponseSchemas: {
1156
1156
  actor?: "staff" | "member" | undefined;
1157
1157
  } | {
1158
1158
  kind: "manual";
1159
- input: "photo" | "quiz" | "none";
1159
+ input: "none" | "quiz" | "photo";
1160
1160
  actor?: "staff" | "member" | undefined;
1161
1161
  } | {
1162
1162
  kind: "automatic";
@@ -1200,15 +1200,15 @@ declare const participantResponseSchemas: {
1200
1200
  path: string;
1201
1201
  equals: string | number | boolean;
1202
1202
  })[] | undefined;
1203
- enrollment?: "required" | "none" | undefined;
1203
+ enrollment?: "none" | "required" | undefined;
1204
1204
  since?: "activation" | "window" | "enrollment" | undefined;
1205
- historical?: "automatic" | "staff" | "claim" | undefined;
1205
+ historical?: "staff" | "claim" | "automatic" | undefined;
1206
1206
  content?: true | undefined;
1207
1207
  } | undefined;
1208
1208
  };
1209
1209
  availability: {
1210
1210
  kind: "available";
1211
- input: "url" | "text" | "photo" | "quiz" | "none";
1211
+ input: "url" | "text" | "none" | "quiz" | "photo";
1212
1212
  } | {
1213
1213
  kind: "completed";
1214
1214
  } | {
@@ -1239,7 +1239,7 @@ declare const participantResponseSchemas: {
1239
1239
  } | {
1240
1240
  kind: "blocked";
1241
1241
  reason: "paused" | "outside-window" | "budget-exhausted" | "enrollment-required" | "connection-required" | "wallet-required";
1242
- window?: "tracker" | "quest" | undefined;
1242
+ window?: "quest" | "tracker" | undefined;
1243
1243
  resetsAt?: number | undefined;
1244
1244
  } | {
1245
1245
  kind: "staff-required";
@@ -1257,9 +1257,6 @@ declare const participantResponseSchemas: {
1257
1257
  };
1258
1258
  completed: boolean;
1259
1259
  completion: {
1260
- kind: "streak";
1261
- days: number;
1262
- } | {
1263
1260
  kind: "progress";
1264
1261
  goal: {
1265
1262
  kind: "count";
@@ -1276,6 +1273,9 @@ declare const participantResponseSchemas: {
1276
1273
  durationMs: number;
1277
1274
  };
1278
1275
  repeat: "repeat" | "once";
1276
+ } | {
1277
+ kind: "streak";
1278
+ days: number;
1279
1279
  } | {
1280
1280
  kind: "once";
1281
1281
  } | {
@@ -1314,7 +1314,7 @@ declare const participantResponseSchemas: {
1314
1314
  campaign: {
1315
1315
  key: string;
1316
1316
  title: string;
1317
- enrollment: "required" | "none";
1317
+ enrollment: "none" | "required";
1318
1318
  enrolledAt: number | null;
1319
1319
  withdrawnAt: number | null;
1320
1320
  withdrawalReason: string | null;
@@ -1365,15 +1365,15 @@ declare const participantResponseSchemas: {
1365
1365
  badge?: string | undefined;
1366
1366
  };
1367
1367
  tier: string;
1368
- } | {
1369
- kind: "points";
1370
- balance: string;
1371
- amount: number;
1372
1368
  } | {
1373
1369
  kind: "integration";
1374
1370
  provider: "discord";
1375
1371
  action: "grant-role";
1376
1372
  roleId: string;
1373
+ } | {
1374
+ kind: "points";
1375
+ balance: string;
1376
+ amount: number;
1377
1377
  })[] | null;
1378
1378
  evaluationRun: number;
1379
1379
  deferCount: number;
@@ -1388,17 +1388,17 @@ declare const participantResponseSchemas: {
1388
1388
  requestedReview: boolean;
1389
1389
  createdAt: number;
1390
1390
  input?: {
1391
- kind: "quiz";
1392
- answers: {
1393
- [k: string]: string;
1394
- };
1395
- release?: string | undefined;
1396
- } | {
1397
1391
  kind: "text";
1398
1392
  value: string;
1399
1393
  } | {
1400
1394
  kind: "url";
1401
1395
  value: string;
1396
+ } | {
1397
+ kind: "quiz";
1398
+ answers: {
1399
+ [k: string]: string;
1400
+ };
1401
+ release?: string | undefined;
1402
1402
  } | undefined;
1403
1403
  } | null;
1404
1404
  key?: string | undefined;
@@ -1684,7 +1684,7 @@ declare const participantResponseSchemas: {
1684
1684
  actor?: "staff" | "member" | undefined;
1685
1685
  } | {
1686
1686
  kind: "manual";
1687
- input: "photo" | "quiz" | "none";
1687
+ input: "none" | "quiz" | "photo";
1688
1688
  actor?: "staff" | "member" | undefined;
1689
1689
  } | {
1690
1690
  kind: "automatic";
@@ -1728,15 +1728,15 @@ declare const participantResponseSchemas: {
1728
1728
  path: string;
1729
1729
  equals: string | number | boolean;
1730
1730
  })[] | undefined;
1731
- enrollment?: "required" | "none" | undefined;
1731
+ enrollment?: "none" | "required" | undefined;
1732
1732
  since?: "activation" | "window" | "enrollment" | undefined;
1733
- historical?: "automatic" | "staff" | "claim" | undefined;
1733
+ historical?: "staff" | "claim" | "automatic" | undefined;
1734
1734
  content?: true | undefined;
1735
1735
  } | undefined;
1736
1736
  };
1737
1737
  availability: {
1738
1738
  kind: "available";
1739
- input: "url" | "text" | "photo" | "quiz" | "none";
1739
+ input: "url" | "text" | "none" | "quiz" | "photo";
1740
1740
  } | {
1741
1741
  kind: "completed";
1742
1742
  } | {
@@ -1767,7 +1767,7 @@ declare const participantResponseSchemas: {
1767
1767
  } | {
1768
1768
  kind: "blocked";
1769
1769
  reason: "paused" | "outside-window" | "budget-exhausted" | "enrollment-required" | "connection-required" | "wallet-required";
1770
- window?: "tracker" | "quest" | undefined;
1770
+ window?: "quest" | "tracker" | undefined;
1771
1771
  resetsAt?: number | undefined;
1772
1772
  } | {
1773
1773
  kind: "staff-required";
@@ -1785,9 +1785,6 @@ declare const participantResponseSchemas: {
1785
1785
  };
1786
1786
  completed: boolean;
1787
1787
  completion: {
1788
- kind: "streak";
1789
- days: number;
1790
- } | {
1791
1788
  kind: "progress";
1792
1789
  goal: {
1793
1790
  kind: "count";
@@ -1804,6 +1801,9 @@ declare const participantResponseSchemas: {
1804
1801
  durationMs: number;
1805
1802
  };
1806
1803
  repeat: "repeat" | "once";
1804
+ } | {
1805
+ kind: "streak";
1806
+ days: number;
1807
1807
  } | {
1808
1808
  kind: "once";
1809
1809
  } | {
@@ -1842,7 +1842,7 @@ declare const participantResponseSchemas: {
1842
1842
  campaign: {
1843
1843
  key: string;
1844
1844
  title: string;
1845
- enrollment: "required" | "none";
1845
+ enrollment: "none" | "required";
1846
1846
  enrolledAt: number | null;
1847
1847
  withdrawnAt: number | null;
1848
1848
  withdrawalReason: string | null;
@@ -1893,15 +1893,15 @@ declare const participantResponseSchemas: {
1893
1893
  badge?: string | undefined;
1894
1894
  };
1895
1895
  tier: string;
1896
- } | {
1897
- kind: "points";
1898
- balance: string;
1899
- amount: number;
1900
1896
  } | {
1901
1897
  kind: "integration";
1902
1898
  provider: "discord";
1903
1899
  action: "grant-role";
1904
1900
  roleId: string;
1901
+ } | {
1902
+ kind: "points";
1903
+ balance: string;
1904
+ amount: number;
1905
1905
  })[] | null;
1906
1906
  evaluationRun: number;
1907
1907
  deferCount: number;
@@ -1916,17 +1916,17 @@ declare const participantResponseSchemas: {
1916
1916
  requestedReview: boolean;
1917
1917
  createdAt: number;
1918
1918
  input?: {
1919
- kind: "quiz";
1920
- answers: {
1921
- [k: string]: string;
1922
- };
1923
- release?: string | undefined;
1924
- } | {
1925
1919
  kind: "text";
1926
1920
  value: string;
1927
1921
  } | {
1928
1922
  kind: "url";
1929
1923
  value: string;
1924
+ } | {
1925
+ kind: "quiz";
1926
+ answers: {
1927
+ [k: string]: string;
1928
+ };
1929
+ release?: string | undefined;
1930
1930
  } | undefined;
1931
1931
  } | null;
1932
1932
  key?: string | undefined;
@@ -3546,7 +3546,7 @@ declare const participantResponseSchemas: {
3546
3546
  actor?: "staff" | "member" | undefined;
3547
3547
  } | {
3548
3548
  kind: "manual";
3549
- input: "photo" | "quiz" | "none";
3549
+ input: "none" | "quiz" | "photo";
3550
3550
  actor?: "staff" | "member" | undefined;
3551
3551
  } | {
3552
3552
  kind: "automatic";
@@ -3590,15 +3590,15 @@ declare const participantResponseSchemas: {
3590
3590
  path: string;
3591
3591
  equals: string | number | boolean;
3592
3592
  })[] | undefined;
3593
- enrollment?: "required" | "none" | undefined;
3593
+ enrollment?: "none" | "required" | undefined;
3594
3594
  since?: "activation" | "window" | "enrollment" | undefined;
3595
- historical?: "automatic" | "staff" | "claim" | undefined;
3595
+ historical?: "staff" | "claim" | "automatic" | undefined;
3596
3596
  content?: true | undefined;
3597
3597
  } | undefined;
3598
3598
  };
3599
3599
  availability: {
3600
3600
  kind: "available";
3601
- input: "url" | "text" | "photo" | "quiz" | "none";
3601
+ input: "url" | "text" | "none" | "quiz" | "photo";
3602
3602
  } | {
3603
3603
  kind: "completed";
3604
3604
  } | {
@@ -3629,7 +3629,7 @@ declare const participantResponseSchemas: {
3629
3629
  } | {
3630
3630
  kind: "blocked";
3631
3631
  reason: "paused" | "outside-window" | "budget-exhausted" | "enrollment-required" | "connection-required" | "wallet-required";
3632
- window?: "tracker" | "quest" | undefined;
3632
+ window?: "quest" | "tracker" | undefined;
3633
3633
  resetsAt?: number | undefined;
3634
3634
  } | {
3635
3635
  kind: "staff-required";
@@ -3647,9 +3647,6 @@ declare const participantResponseSchemas: {
3647
3647
  };
3648
3648
  completed: boolean;
3649
3649
  completion: {
3650
- kind: "streak";
3651
- days: number;
3652
- } | {
3653
3650
  kind: "progress";
3654
3651
  goal: {
3655
3652
  kind: "count";
@@ -3666,6 +3663,9 @@ declare const participantResponseSchemas: {
3666
3663
  durationMs: number;
3667
3664
  };
3668
3665
  repeat: "repeat" | "once";
3666
+ } | {
3667
+ kind: "streak";
3668
+ days: number;
3669
3669
  } | {
3670
3670
  kind: "once";
3671
3671
  } | {
@@ -3704,7 +3704,7 @@ declare const participantResponseSchemas: {
3704
3704
  campaign: {
3705
3705
  key: string;
3706
3706
  title: string;
3707
- enrollment: "required" | "none";
3707
+ enrollment: "none" | "required";
3708
3708
  enrolledAt: number | null;
3709
3709
  withdrawnAt: number | null;
3710
3710
  withdrawalReason: string | null;
@@ -3755,15 +3755,15 @@ declare const participantResponseSchemas: {
3755
3755
  badge?: string | undefined;
3756
3756
  };
3757
3757
  tier: string;
3758
- } | {
3759
- kind: "points";
3760
- balance: string;
3761
- amount: number;
3762
3758
  } | {
3763
3759
  kind: "integration";
3764
3760
  provider: "discord";
3765
3761
  action: "grant-role";
3766
3762
  roleId: string;
3763
+ } | {
3764
+ kind: "points";
3765
+ balance: string;
3766
+ amount: number;
3767
3767
  })[] | null;
3768
3768
  evaluationRun: number;
3769
3769
  deferCount: number;
@@ -3778,21 +3778,21 @@ declare const participantResponseSchemas: {
3778
3778
  requestedReview: boolean;
3779
3779
  createdAt: number;
3780
3780
  input?: {
3781
- kind: "quiz";
3782
- answers: {
3783
- [k: string]: string;
3784
- };
3785
- release?: string | undefined;
3786
- } | {
3787
3781
  kind: "text";
3788
3782
  value: string;
3789
3783
  } | {
3790
3784
  kind: "url";
3791
3785
  value: string;
3786
+ } | {
3787
+ kind: "quiz";
3788
+ answers: {
3789
+ [k: string]: string;
3790
+ };
3791
+ release?: string | undefined;
3792
3792
  } | undefined;
3793
3793
  } | null;
3794
3794
  release: string;
3795
- interaction: "url" | "automatic" | "text" | "staff" | "photo" | "quiz" | "claim";
3795
+ interaction: "url" | "text" | "staff" | "claim" | "automatic" | "quiz" | "photo";
3796
3796
  lifecycle: "paused" | "active" | "archived";
3797
3797
  rewards: ({
3798
3798
  kind: "points";
@@ -3953,7 +3953,7 @@ declare const participantResponseSchemas: {
3953
3953
  actor?: "staff" | "member" | undefined;
3954
3954
  } | {
3955
3955
  kind: "manual";
3956
- input: "photo" | "quiz" | "none";
3956
+ input: "none" | "quiz" | "photo";
3957
3957
  actor?: "staff" | "member" | undefined;
3958
3958
  } | {
3959
3959
  kind: "automatic";
@@ -3997,15 +3997,15 @@ declare const participantResponseSchemas: {
3997
3997
  path: string;
3998
3998
  equals: string | number | boolean;
3999
3999
  })[] | undefined;
4000
- enrollment?: "required" | "none" | undefined;
4000
+ enrollment?: "none" | "required" | undefined;
4001
4001
  since?: "activation" | "window" | "enrollment" | undefined;
4002
- historical?: "automatic" | "staff" | "claim" | undefined;
4002
+ historical?: "staff" | "claim" | "automatic" | undefined;
4003
4003
  content?: true | undefined;
4004
4004
  } | undefined;
4005
4005
  };
4006
4006
  availability: {
4007
4007
  kind: "available";
4008
- input: "url" | "text" | "photo" | "quiz" | "none";
4008
+ input: "url" | "text" | "none" | "quiz" | "photo";
4009
4009
  } | {
4010
4010
  kind: "completed";
4011
4011
  } | {
@@ -4036,7 +4036,7 @@ declare const participantResponseSchemas: {
4036
4036
  } | {
4037
4037
  kind: "blocked";
4038
4038
  reason: "paused" | "outside-window" | "budget-exhausted" | "enrollment-required" | "connection-required" | "wallet-required";
4039
- window?: "tracker" | "quest" | undefined;
4039
+ window?: "quest" | "tracker" | undefined;
4040
4040
  resetsAt?: number | undefined;
4041
4041
  } | {
4042
4042
  kind: "staff-required";
@@ -4054,9 +4054,6 @@ declare const participantResponseSchemas: {
4054
4054
  };
4055
4055
  completed: boolean;
4056
4056
  completion: {
4057
- kind: "streak";
4058
- days: number;
4059
- } | {
4060
4057
  kind: "progress";
4061
4058
  goal: {
4062
4059
  kind: "count";
@@ -4073,6 +4070,9 @@ declare const participantResponseSchemas: {
4073
4070
  durationMs: number;
4074
4071
  };
4075
4072
  repeat: "repeat" | "once";
4073
+ } | {
4074
+ kind: "streak";
4075
+ days: number;
4076
4076
  } | {
4077
4077
  kind: "once";
4078
4078
  } | {
@@ -4111,7 +4111,7 @@ declare const participantResponseSchemas: {
4111
4111
  campaign: {
4112
4112
  key: string;
4113
4113
  title: string;
4114
- enrollment: "required" | "none";
4114
+ enrollment: "none" | "required";
4115
4115
  enrolledAt: number | null;
4116
4116
  withdrawnAt: number | null;
4117
4117
  withdrawalReason: string | null;
@@ -4162,15 +4162,15 @@ declare const participantResponseSchemas: {
4162
4162
  badge?: string | undefined;
4163
4163
  };
4164
4164
  tier: string;
4165
- } | {
4166
- kind: "points";
4167
- balance: string;
4168
- amount: number;
4169
4165
  } | {
4170
4166
  kind: "integration";
4171
4167
  provider: "discord";
4172
4168
  action: "grant-role";
4173
4169
  roleId: string;
4170
+ } | {
4171
+ kind: "points";
4172
+ balance: string;
4173
+ amount: number;
4174
4174
  })[] | null;
4175
4175
  evaluationRun: number;
4176
4176
  deferCount: number;
@@ -4185,21 +4185,21 @@ declare const participantResponseSchemas: {
4185
4185
  requestedReview: boolean;
4186
4186
  createdAt: number;
4187
4187
  input?: {
4188
- kind: "quiz";
4189
- answers: {
4190
- [k: string]: string;
4191
- };
4192
- release?: string | undefined;
4193
- } | {
4194
4188
  kind: "text";
4195
4189
  value: string;
4196
4190
  } | {
4197
4191
  kind: "url";
4198
4192
  value: string;
4193
+ } | {
4194
+ kind: "quiz";
4195
+ answers: {
4196
+ [k: string]: string;
4197
+ };
4198
+ release?: string | undefined;
4199
4199
  } | undefined;
4200
4200
  } | null;
4201
4201
  release: string;
4202
- interaction: "url" | "automatic" | "text" | "staff" | "photo" | "quiz" | "claim";
4202
+ interaction: "url" | "text" | "staff" | "claim" | "automatic" | "quiz" | "photo";
4203
4203
  lifecycle: "paused" | "active" | "archived";
4204
4204
  rewards: ({
4205
4205
  kind: "points";
@@ -4517,7 +4517,7 @@ declare const participantResponseSchemas: {
4517
4517
  actor?: "staff" | "member" | undefined;
4518
4518
  } | {
4519
4519
  kind: "manual";
4520
- input: "photo" | "quiz" | "none";
4520
+ input: "none" | "quiz" | "photo";
4521
4521
  actor?: "staff" | "member" | undefined;
4522
4522
  } | {
4523
4523
  kind: "automatic";
@@ -4561,15 +4561,15 @@ declare const participantResponseSchemas: {
4561
4561
  path: string;
4562
4562
  equals: string | number | boolean;
4563
4563
  })[] | undefined;
4564
- enrollment?: "required" | "none" | undefined;
4564
+ enrollment?: "none" | "required" | undefined;
4565
4565
  since?: "activation" | "window" | "enrollment" | undefined;
4566
- historical?: "automatic" | "staff" | "claim" | undefined;
4566
+ historical?: "staff" | "claim" | "automatic" | undefined;
4567
4567
  content?: true | undefined;
4568
4568
  } | undefined;
4569
4569
  };
4570
4570
  availability: {
4571
4571
  kind: "available";
4572
- input: "url" | "text" | "photo" | "quiz" | "none";
4572
+ input: "url" | "text" | "none" | "quiz" | "photo";
4573
4573
  } | {
4574
4574
  kind: "completed";
4575
4575
  } | {
@@ -4600,7 +4600,7 @@ declare const participantResponseSchemas: {
4600
4600
  } | {
4601
4601
  kind: "blocked";
4602
4602
  reason: "paused" | "outside-window" | "budget-exhausted" | "enrollment-required" | "connection-required" | "wallet-required";
4603
- window?: "tracker" | "quest" | undefined;
4603
+ window?: "quest" | "tracker" | undefined;
4604
4604
  resetsAt?: number | undefined;
4605
4605
  } | {
4606
4606
  kind: "staff-required";
@@ -4618,9 +4618,6 @@ declare const participantResponseSchemas: {
4618
4618
  };
4619
4619
  completed: boolean;
4620
4620
  completion: {
4621
- kind: "streak";
4622
- days: number;
4623
- } | {
4624
4621
  kind: "progress";
4625
4622
  goal: {
4626
4623
  kind: "count";
@@ -4637,6 +4634,9 @@ declare const participantResponseSchemas: {
4637
4634
  durationMs: number;
4638
4635
  };
4639
4636
  repeat: "repeat" | "once";
4637
+ } | {
4638
+ kind: "streak";
4639
+ days: number;
4640
4640
  } | {
4641
4641
  kind: "once";
4642
4642
  } | {
@@ -4675,7 +4675,7 @@ declare const participantResponseSchemas: {
4675
4675
  campaign: {
4676
4676
  key: string;
4677
4677
  title: string;
4678
- enrollment: "required" | "none";
4678
+ enrollment: "none" | "required";
4679
4679
  enrolledAt: number | null;
4680
4680
  withdrawnAt: number | null;
4681
4681
  withdrawalReason: string | null;
@@ -4726,15 +4726,15 @@ declare const participantResponseSchemas: {
4726
4726
  badge?: string | undefined;
4727
4727
  };
4728
4728
  tier: string;
4729
- } | {
4730
- kind: "points";
4731
- balance: string;
4732
- amount: number;
4733
4729
  } | {
4734
4730
  kind: "integration";
4735
4731
  provider: "discord";
4736
4732
  action: "grant-role";
4737
4733
  roleId: string;
4734
+ } | {
4735
+ kind: "points";
4736
+ balance: string;
4737
+ amount: number;
4738
4738
  })[] | null;
4739
4739
  evaluationRun: number;
4740
4740
  deferCount: number;
@@ -4749,21 +4749,21 @@ declare const participantResponseSchemas: {
4749
4749
  requestedReview: boolean;
4750
4750
  createdAt: number;
4751
4751
  input?: {
4752
- kind: "quiz";
4753
- answers: {
4754
- [k: string]: string;
4755
- };
4756
- release?: string | undefined;
4757
- } | {
4758
4752
  kind: "text";
4759
4753
  value: string;
4760
4754
  } | {
4761
4755
  kind: "url";
4762
4756
  value: string;
4757
+ } | {
4758
+ kind: "quiz";
4759
+ answers: {
4760
+ [k: string]: string;
4761
+ };
4762
+ release?: string | undefined;
4763
4763
  } | undefined;
4764
4764
  } | null;
4765
4765
  release: string;
4766
- interaction: "url" | "automatic" | "text" | "staff" | "photo" | "quiz" | "claim";
4766
+ interaction: "url" | "text" | "staff" | "claim" | "automatic" | "quiz" | "photo";
4767
4767
  lifecycle: "paused" | "active" | "archived";
4768
4768
  rewards: ({
4769
4769
  kind: "points";
@@ -4924,7 +4924,7 @@ declare const participantResponseSchemas: {
4924
4924
  actor?: "staff" | "member" | undefined;
4925
4925
  } | {
4926
4926
  kind: "manual";
4927
- input: "photo" | "quiz" | "none";
4927
+ input: "none" | "quiz" | "photo";
4928
4928
  actor?: "staff" | "member" | undefined;
4929
4929
  } | {
4930
4930
  kind: "automatic";
@@ -4968,15 +4968,15 @@ declare const participantResponseSchemas: {
4968
4968
  path: string;
4969
4969
  equals: string | number | boolean;
4970
4970
  })[] | undefined;
4971
- enrollment?: "required" | "none" | undefined;
4971
+ enrollment?: "none" | "required" | undefined;
4972
4972
  since?: "activation" | "window" | "enrollment" | undefined;
4973
- historical?: "automatic" | "staff" | "claim" | undefined;
4973
+ historical?: "staff" | "claim" | "automatic" | undefined;
4974
4974
  content?: true | undefined;
4975
4975
  } | undefined;
4976
4976
  };
4977
4977
  availability: {
4978
4978
  kind: "available";
4979
- input: "url" | "text" | "photo" | "quiz" | "none";
4979
+ input: "url" | "text" | "none" | "quiz" | "photo";
4980
4980
  } | {
4981
4981
  kind: "completed";
4982
4982
  } | {
@@ -5007,7 +5007,7 @@ declare const participantResponseSchemas: {
5007
5007
  } | {
5008
5008
  kind: "blocked";
5009
5009
  reason: "paused" | "outside-window" | "budget-exhausted" | "enrollment-required" | "connection-required" | "wallet-required";
5010
- window?: "tracker" | "quest" | undefined;
5010
+ window?: "quest" | "tracker" | undefined;
5011
5011
  resetsAt?: number | undefined;
5012
5012
  } | {
5013
5013
  kind: "staff-required";
@@ -5025,9 +5025,6 @@ declare const participantResponseSchemas: {
5025
5025
  };
5026
5026
  completed: boolean;
5027
5027
  completion: {
5028
- kind: "streak";
5029
- days: number;
5030
- } | {
5031
5028
  kind: "progress";
5032
5029
  goal: {
5033
5030
  kind: "count";
@@ -5044,6 +5041,9 @@ declare const participantResponseSchemas: {
5044
5041
  durationMs: number;
5045
5042
  };
5046
5043
  repeat: "repeat" | "once";
5044
+ } | {
5045
+ kind: "streak";
5046
+ days: number;
5047
5047
  } | {
5048
5048
  kind: "once";
5049
5049
  } | {
@@ -5082,7 +5082,7 @@ declare const participantResponseSchemas: {
5082
5082
  campaign: {
5083
5083
  key: string;
5084
5084
  title: string;
5085
- enrollment: "required" | "none";
5085
+ enrollment: "none" | "required";
5086
5086
  enrolledAt: number | null;
5087
5087
  withdrawnAt: number | null;
5088
5088
  withdrawalReason: string | null;
@@ -5133,15 +5133,15 @@ declare const participantResponseSchemas: {
5133
5133
  badge?: string | undefined;
5134
5134
  };
5135
5135
  tier: string;
5136
- } | {
5137
- kind: "points";
5138
- balance: string;
5139
- amount: number;
5140
5136
  } | {
5141
5137
  kind: "integration";
5142
5138
  provider: "discord";
5143
5139
  action: "grant-role";
5144
5140
  roleId: string;
5141
+ } | {
5142
+ kind: "points";
5143
+ balance: string;
5144
+ amount: number;
5145
5145
  })[] | null;
5146
5146
  evaluationRun: number;
5147
5147
  deferCount: number;
@@ -5156,21 +5156,21 @@ declare const participantResponseSchemas: {
5156
5156
  requestedReview: boolean;
5157
5157
  createdAt: number;
5158
5158
  input?: {
5159
- kind: "quiz";
5160
- answers: {
5161
- [k: string]: string;
5162
- };
5163
- release?: string | undefined;
5164
- } | {
5165
5159
  kind: "text";
5166
5160
  value: string;
5167
5161
  } | {
5168
5162
  kind: "url";
5169
5163
  value: string;
5164
+ } | {
5165
+ kind: "quiz";
5166
+ answers: {
5167
+ [k: string]: string;
5168
+ };
5169
+ release?: string | undefined;
5170
5170
  } | undefined;
5171
5171
  } | null;
5172
5172
  release: string;
5173
- interaction: "url" | "automatic" | "text" | "staff" | "photo" | "quiz" | "claim";
5173
+ interaction: "url" | "text" | "staff" | "claim" | "automatic" | "quiz" | "photo";
5174
5174
  lifecycle: "paused" | "active" | "archived";
5175
5175
  rewards: ({
5176
5176
  kind: "points";
@@ -5287,7 +5287,7 @@ declare const participantResponseSchemas: {
5287
5287
  createdAt: number;
5288
5288
  updatedAt: number;
5289
5289
  automatic?: string | undefined;
5290
- window?: "tracker" | "quest" | undefined;
5290
+ window?: "quest" | "tracker" | undefined;
5291
5291
  }[];
5292
5292
  nextCursor: string | null;
5293
5293
  }, unknown, zod_v4_core.$ZodTypeInternals<{
@@ -5304,7 +5304,7 @@ declare const participantResponseSchemas: {
5304
5304
  createdAt: number;
5305
5305
  updatedAt: number;
5306
5306
  automatic?: string | undefined;
5307
- window?: "tracker" | "quest" | undefined;
5307
+ window?: "quest" | "tracker" | undefined;
5308
5308
  }[];
5309
5309
  nextCursor: string | null;
5310
5310
  }, unknown>>;
@@ -5321,7 +5321,7 @@ declare const participantResponseSchemas: {
5321
5321
  createdAt: number;
5322
5322
  updatedAt: number;
5323
5323
  automatic?: string | undefined;
5324
- window?: "tracker" | "quest" | undefined;
5324
+ window?: "quest" | "tracker" | undefined;
5325
5325
  }, unknown, zod_v4_core.$ZodTypeInternals<{
5326
5326
  quest: string;
5327
5327
  tracker: string | null;
@@ -5335,7 +5335,7 @@ declare const participantResponseSchemas: {
5335
5335
  createdAt: number;
5336
5336
  updatedAt: number;
5337
5337
  automatic?: string | undefined;
5338
- window?: "tracker" | "quest" | undefined;
5338
+ window?: "quest" | "tracker" | undefined;
5339
5339
  }, unknown>>;
5340
5340
  redemptionSchema: z.ZodType<{
5341
5341
  status: "fulfilled";
@@ -6154,15 +6154,15 @@ declare const participantResponses: {
6154
6154
  badge?: string | undefined;
6155
6155
  };
6156
6156
  tier: string;
6157
- } | {
6158
- kind: "points";
6159
- balance: string;
6160
- amount: number;
6161
6157
  } | {
6162
6158
  kind: "integration";
6163
6159
  provider: "discord";
6164
6160
  action: "grant-role";
6165
6161
  roleId: string;
6162
+ } | {
6163
+ kind: "points";
6164
+ balance: string;
6165
+ amount: number;
6166
6166
  })[] | null;
6167
6167
  evaluationRun: number;
6168
6168
  deferCount: number;
@@ -6177,17 +6177,17 @@ declare const participantResponses: {
6177
6177
  requestedReview: boolean;
6178
6178
  createdAt: number;
6179
6179
  input?: {
6180
- kind: "quiz";
6181
- answers: {
6182
- [k: string]: string;
6183
- };
6184
- release?: string | undefined;
6185
- } | {
6186
6180
  kind: "text";
6187
6181
  value: string;
6188
6182
  } | {
6189
6183
  kind: "url";
6190
6184
  value: string;
6185
+ } | {
6186
+ kind: "quiz";
6187
+ answers: {
6188
+ [k: string]: string;
6189
+ };
6190
+ release?: string | undefined;
6191
6191
  } | undefined;
6192
6192
  }>>;
6193
6193
  authProviderSchema: ResponseSchema<ResponseResult<"discord" | "x" | "google" | "apple">>;
@@ -6212,7 +6212,7 @@ declare const participantResponses: {
6212
6212
  reward: {
6213
6213
  attempt: string | null;
6214
6214
  completion: string | null;
6215
- state: "awarded" | "excluded" | "unresolved";
6215
+ state: "excluded" | "unresolved" | "awarded";
6216
6216
  };
6217
6217
  };
6218
6218
  items: {
@@ -6241,7 +6241,7 @@ declare const participantResponses: {
6241
6241
  reward: {
6242
6242
  attempt: string | null;
6243
6243
  completion: string | null;
6244
- state: "awarded" | "excluded" | "unresolved";
6244
+ state: "excluded" | "unresolved" | "awarded";
6245
6245
  };
6246
6246
  }[];
6247
6247
  nextCursor: string | null;
@@ -6612,7 +6612,7 @@ declare const participantResponses: {
6612
6612
  actor?: "staff" | "member" | undefined;
6613
6613
  } | {
6614
6614
  kind: "manual";
6615
- input: "photo" | "quiz" | "none";
6615
+ input: "none" | "quiz" | "photo";
6616
6616
  actor?: "staff" | "member" | undefined;
6617
6617
  } | {
6618
6618
  kind: "automatic";
@@ -6656,15 +6656,15 @@ declare const participantResponses: {
6656
6656
  path: string;
6657
6657
  equals: string | number | boolean;
6658
6658
  })[] | undefined;
6659
- enrollment?: "required" | "none" | undefined;
6659
+ enrollment?: "none" | "required" | undefined;
6660
6660
  since?: "activation" | "window" | "enrollment" | undefined;
6661
- historical?: "automatic" | "staff" | "claim" | undefined;
6661
+ historical?: "staff" | "claim" | "automatic" | undefined;
6662
6662
  content?: true | undefined;
6663
6663
  } | undefined;
6664
6664
  };
6665
6665
  availability: {
6666
6666
  kind: "available";
6667
- input: "url" | "text" | "photo" | "quiz" | "none";
6667
+ input: "url" | "text" | "none" | "quiz" | "photo";
6668
6668
  } | {
6669
6669
  kind: "completed";
6670
6670
  } | {
@@ -6695,7 +6695,7 @@ declare const participantResponses: {
6695
6695
  } | {
6696
6696
  kind: "blocked";
6697
6697
  reason: "paused" | "outside-window" | "budget-exhausted" | "enrollment-required" | "connection-required" | "wallet-required";
6698
- window?: "tracker" | "quest" | undefined;
6698
+ window?: "quest" | "tracker" | undefined;
6699
6699
  resetsAt?: number | undefined;
6700
6700
  } | {
6701
6701
  kind: "staff-required";
@@ -6713,9 +6713,6 @@ declare const participantResponses: {
6713
6713
  };
6714
6714
  completed: boolean;
6715
6715
  completion: {
6716
- kind: "streak";
6717
- days: number;
6718
- } | {
6719
6716
  kind: "progress";
6720
6717
  goal: {
6721
6718
  kind: "count";
@@ -6732,6 +6729,9 @@ declare const participantResponses: {
6732
6729
  durationMs: number;
6733
6730
  };
6734
6731
  repeat: "repeat" | "once";
6732
+ } | {
6733
+ kind: "streak";
6734
+ days: number;
6735
6735
  } | {
6736
6736
  kind: "once";
6737
6737
  } | {
@@ -6770,7 +6770,7 @@ declare const participantResponses: {
6770
6770
  campaign: {
6771
6771
  key: string;
6772
6772
  title: string;
6773
- enrollment: "required" | "none";
6773
+ enrollment: "none" | "required";
6774
6774
  enrolledAt: number | null;
6775
6775
  withdrawnAt: number | null;
6776
6776
  withdrawalReason: string | null;
@@ -6821,15 +6821,15 @@ declare const participantResponses: {
6821
6821
  badge?: string | undefined;
6822
6822
  };
6823
6823
  tier: string;
6824
- } | {
6825
- kind: "points";
6826
- balance: string;
6827
- amount: number;
6828
6824
  } | {
6829
6825
  kind: "integration";
6830
6826
  provider: "discord";
6831
6827
  action: "grant-role";
6832
6828
  roleId: string;
6829
+ } | {
6830
+ kind: "points";
6831
+ balance: string;
6832
+ amount: number;
6833
6833
  })[] | null;
6834
6834
  evaluationRun: number;
6835
6835
  deferCount: number;
@@ -6844,17 +6844,17 @@ declare const participantResponses: {
6844
6844
  requestedReview: boolean;
6845
6845
  createdAt: number;
6846
6846
  input?: {
6847
- kind: "quiz";
6848
- answers: {
6849
- [k: string]: string;
6850
- };
6851
- release?: string | undefined;
6852
- } | {
6853
6847
  kind: "text";
6854
6848
  value: string;
6855
6849
  } | {
6856
6850
  kind: "url";
6857
6851
  value: string;
6852
+ } | {
6853
+ kind: "quiz";
6854
+ answers: {
6855
+ [k: string]: string;
6856
+ };
6857
+ release?: string | undefined;
6858
6858
  } | undefined;
6859
6859
  } | null;
6860
6860
  key?: string | undefined;
@@ -7891,7 +7891,7 @@ declare const participantResponses: {
7891
7891
  actor?: "staff" | "member" | undefined;
7892
7892
  } | {
7893
7893
  kind: "manual";
7894
- input: "photo" | "quiz" | "none";
7894
+ input: "none" | "quiz" | "photo";
7895
7895
  actor?: "staff" | "member" | undefined;
7896
7896
  } | {
7897
7897
  kind: "automatic";
@@ -7935,15 +7935,15 @@ declare const participantResponses: {
7935
7935
  path: string;
7936
7936
  equals: string | number | boolean;
7937
7937
  })[] | undefined;
7938
- enrollment?: "required" | "none" | undefined;
7938
+ enrollment?: "none" | "required" | undefined;
7939
7939
  since?: "activation" | "window" | "enrollment" | undefined;
7940
- historical?: "automatic" | "staff" | "claim" | undefined;
7940
+ historical?: "staff" | "claim" | "automatic" | undefined;
7941
7941
  content?: true | undefined;
7942
7942
  } | undefined;
7943
7943
  };
7944
7944
  availability: {
7945
7945
  kind: "available";
7946
- input: "url" | "text" | "photo" | "quiz" | "none";
7946
+ input: "url" | "text" | "none" | "quiz" | "photo";
7947
7947
  } | {
7948
7948
  kind: "completed";
7949
7949
  } | {
@@ -7974,7 +7974,7 @@ declare const participantResponses: {
7974
7974
  } | {
7975
7975
  kind: "blocked";
7976
7976
  reason: "paused" | "outside-window" | "budget-exhausted" | "enrollment-required" | "connection-required" | "wallet-required";
7977
- window?: "tracker" | "quest" | undefined;
7977
+ window?: "quest" | "tracker" | undefined;
7978
7978
  resetsAt?: number | undefined;
7979
7979
  } | {
7980
7980
  kind: "staff-required";
@@ -7992,9 +7992,6 @@ declare const participantResponses: {
7992
7992
  };
7993
7993
  completed: boolean;
7994
7994
  completion: {
7995
- kind: "streak";
7996
- days: number;
7997
- } | {
7998
7995
  kind: "progress";
7999
7996
  goal: {
8000
7997
  kind: "count";
@@ -8011,6 +8008,9 @@ declare const participantResponses: {
8011
8008
  durationMs: number;
8012
8009
  };
8013
8010
  repeat: "repeat" | "once";
8011
+ } | {
8012
+ kind: "streak";
8013
+ days: number;
8014
8014
  } | {
8015
8015
  kind: "once";
8016
8016
  } | {
@@ -8049,7 +8049,7 @@ declare const participantResponses: {
8049
8049
  campaign: {
8050
8050
  key: string;
8051
8051
  title: string;
8052
- enrollment: "required" | "none";
8052
+ enrollment: "none" | "required";
8053
8053
  enrolledAt: number | null;
8054
8054
  withdrawnAt: number | null;
8055
8055
  withdrawalReason: string | null;
@@ -8100,15 +8100,15 @@ declare const participantResponses: {
8100
8100
  badge?: string | undefined;
8101
8101
  };
8102
8102
  tier: string;
8103
- } | {
8104
- kind: "points";
8105
- balance: string;
8106
- amount: number;
8107
8103
  } | {
8108
8104
  kind: "integration";
8109
8105
  provider: "discord";
8110
8106
  action: "grant-role";
8111
8107
  roleId: string;
8108
+ } | {
8109
+ kind: "points";
8110
+ balance: string;
8111
+ amount: number;
8112
8112
  })[] | null;
8113
8113
  evaluationRun: number;
8114
8114
  deferCount: number;
@@ -8123,21 +8123,21 @@ declare const participantResponses: {
8123
8123
  requestedReview: boolean;
8124
8124
  createdAt: number;
8125
8125
  input?: {
8126
- kind: "quiz";
8127
- answers: {
8128
- [k: string]: string;
8129
- };
8130
- release?: string | undefined;
8131
- } | {
8132
8126
  kind: "text";
8133
8127
  value: string;
8134
8128
  } | {
8135
8129
  kind: "url";
8136
8130
  value: string;
8131
+ } | {
8132
+ kind: "quiz";
8133
+ answers: {
8134
+ [k: string]: string;
8135
+ };
8136
+ release?: string | undefined;
8137
8137
  } | undefined;
8138
8138
  } | null;
8139
8139
  release: string;
8140
- interaction: "url" | "automatic" | "text" | "staff" | "photo" | "quiz" | "claim";
8140
+ interaction: "url" | "text" | "staff" | "claim" | "automatic" | "quiz" | "photo";
8141
8141
  lifecycle: "paused" | "active" | "archived";
8142
8142
  rewards: ({
8143
8143
  kind: "points";
@@ -8298,7 +8298,7 @@ declare const participantResponses: {
8298
8298
  actor?: "staff" | "member" | undefined;
8299
8299
  } | {
8300
8300
  kind: "manual";
8301
- input: "photo" | "quiz" | "none";
8301
+ input: "none" | "quiz" | "photo";
8302
8302
  actor?: "staff" | "member" | undefined;
8303
8303
  } | {
8304
8304
  kind: "automatic";
@@ -8342,15 +8342,15 @@ declare const participantResponses: {
8342
8342
  path: string;
8343
8343
  equals: string | number | boolean;
8344
8344
  })[] | undefined;
8345
- enrollment?: "required" | "none" | undefined;
8345
+ enrollment?: "none" | "required" | undefined;
8346
8346
  since?: "activation" | "window" | "enrollment" | undefined;
8347
- historical?: "automatic" | "staff" | "claim" | undefined;
8347
+ historical?: "staff" | "claim" | "automatic" | undefined;
8348
8348
  content?: true | undefined;
8349
8349
  } | undefined;
8350
8350
  };
8351
8351
  availability: {
8352
8352
  kind: "available";
8353
- input: "url" | "text" | "photo" | "quiz" | "none";
8353
+ input: "url" | "text" | "none" | "quiz" | "photo";
8354
8354
  } | {
8355
8355
  kind: "completed";
8356
8356
  } | {
@@ -8381,7 +8381,7 @@ declare const participantResponses: {
8381
8381
  } | {
8382
8382
  kind: "blocked";
8383
8383
  reason: "paused" | "outside-window" | "budget-exhausted" | "enrollment-required" | "connection-required" | "wallet-required";
8384
- window?: "tracker" | "quest" | undefined;
8384
+ window?: "quest" | "tracker" | undefined;
8385
8385
  resetsAt?: number | undefined;
8386
8386
  } | {
8387
8387
  kind: "staff-required";
@@ -8399,9 +8399,6 @@ declare const participantResponses: {
8399
8399
  };
8400
8400
  completed: boolean;
8401
8401
  completion: {
8402
- kind: "streak";
8403
- days: number;
8404
- } | {
8405
8402
  kind: "progress";
8406
8403
  goal: {
8407
8404
  kind: "count";
@@ -8418,6 +8415,9 @@ declare const participantResponses: {
8418
8415
  durationMs: number;
8419
8416
  };
8420
8417
  repeat: "repeat" | "once";
8418
+ } | {
8419
+ kind: "streak";
8420
+ days: number;
8421
8421
  } | {
8422
8422
  kind: "once";
8423
8423
  } | {
@@ -8456,7 +8456,7 @@ declare const participantResponses: {
8456
8456
  campaign: {
8457
8457
  key: string;
8458
8458
  title: string;
8459
- enrollment: "required" | "none";
8459
+ enrollment: "none" | "required";
8460
8460
  enrolledAt: number | null;
8461
8461
  withdrawnAt: number | null;
8462
8462
  withdrawalReason: string | null;
@@ -8507,15 +8507,15 @@ declare const participantResponses: {
8507
8507
  badge?: string | undefined;
8508
8508
  };
8509
8509
  tier: string;
8510
- } | {
8511
- kind: "points";
8512
- balance: string;
8513
- amount: number;
8514
8510
  } | {
8515
8511
  kind: "integration";
8516
8512
  provider: "discord";
8517
8513
  action: "grant-role";
8518
8514
  roleId: string;
8515
+ } | {
8516
+ kind: "points";
8517
+ balance: string;
8518
+ amount: number;
8519
8519
  })[] | null;
8520
8520
  evaluationRun: number;
8521
8521
  deferCount: number;
@@ -8530,21 +8530,21 @@ declare const participantResponses: {
8530
8530
  requestedReview: boolean;
8531
8531
  createdAt: number;
8532
8532
  input?: {
8533
- kind: "quiz";
8534
- answers: {
8535
- [k: string]: string;
8536
- };
8537
- release?: string | undefined;
8538
- } | {
8539
8533
  kind: "text";
8540
8534
  value: string;
8541
8535
  } | {
8542
8536
  kind: "url";
8543
8537
  value: string;
8538
+ } | {
8539
+ kind: "quiz";
8540
+ answers: {
8541
+ [k: string]: string;
8542
+ };
8543
+ release?: string | undefined;
8544
8544
  } | undefined;
8545
8545
  } | null;
8546
8546
  release: string;
8547
- interaction: "url" | "automatic" | "text" | "staff" | "photo" | "quiz" | "claim";
8547
+ interaction: "url" | "text" | "staff" | "claim" | "automatic" | "quiz" | "photo";
8548
8548
  lifecycle: "paused" | "active" | "archived";
8549
8549
  rewards: ({
8550
8550
  kind: "points";
@@ -8661,7 +8661,7 @@ declare const participantResponses: {
8661
8661
  createdAt: number;
8662
8662
  updatedAt: number;
8663
8663
  automatic?: string | undefined;
8664
- window?: "tracker" | "quest" | undefined;
8664
+ window?: "quest" | "tracker" | undefined;
8665
8665
  }[];
8666
8666
  nextCursor: string | null;
8667
8667
  }>>;
@@ -8678,7 +8678,7 @@ declare const participantResponses: {
8678
8678
  createdAt: number;
8679
8679
  updatedAt: number;
8680
8680
  automatic?: string | undefined;
8681
- window?: "tracker" | "quest" | undefined;
8681
+ window?: "quest" | "tracker" | undefined;
8682
8682
  }>>;
8683
8683
  redemptionSchema: ResponseSchema<ResponseResult<{
8684
8684
  status: "fulfilled";
@@ -9453,7 +9453,7 @@ declare const questExperienceResponseSchema: ResponseSchema<{
9453
9453
  actor?: "staff" | "member" | undefined;
9454
9454
  } | {
9455
9455
  kind: "manual";
9456
- input: "photo" | "quiz" | "none";
9456
+ input: "none" | "quiz" | "photo";
9457
9457
  actor?: "staff" | "member" | undefined;
9458
9458
  } | {
9459
9459
  kind: "automatic";
@@ -9497,15 +9497,15 @@ declare const questExperienceResponseSchema: ResponseSchema<{
9497
9497
  path: string;
9498
9498
  equals: string | number | boolean;
9499
9499
  })[] | undefined;
9500
- enrollment?: "required" | "none" | undefined;
9500
+ enrollment?: "none" | "required" | undefined;
9501
9501
  since?: "activation" | "window" | "enrollment" | undefined;
9502
- historical?: "automatic" | "staff" | "claim" | undefined;
9502
+ historical?: "staff" | "claim" | "automatic" | undefined;
9503
9503
  content?: true | undefined;
9504
9504
  } | undefined;
9505
9505
  };
9506
9506
  availability: {
9507
9507
  kind: "available";
9508
- input: "url" | "text" | "photo" | "quiz" | "none";
9508
+ input: "url" | "text" | "none" | "quiz" | "photo";
9509
9509
  } | {
9510
9510
  kind: "completed";
9511
9511
  } | {
@@ -9536,7 +9536,7 @@ declare const questExperienceResponseSchema: ResponseSchema<{
9536
9536
  } | {
9537
9537
  kind: "blocked";
9538
9538
  reason: "paused" | "outside-window" | "budget-exhausted" | "enrollment-required" | "connection-required" | "wallet-required";
9539
- window?: "tracker" | "quest" | undefined;
9539
+ window?: "quest" | "tracker" | undefined;
9540
9540
  resetsAt?: number | undefined;
9541
9541
  } | {
9542
9542
  kind: "staff-required";
@@ -9554,9 +9554,6 @@ declare const questExperienceResponseSchema: ResponseSchema<{
9554
9554
  };
9555
9555
  completed: boolean;
9556
9556
  completion: {
9557
- kind: "streak";
9558
- days: number;
9559
- } | {
9560
9557
  kind: "progress";
9561
9558
  goal: {
9562
9559
  kind: "count";
@@ -9573,6 +9570,9 @@ declare const questExperienceResponseSchema: ResponseSchema<{
9573
9570
  durationMs: number;
9574
9571
  };
9575
9572
  repeat: "repeat" | "once";
9573
+ } | {
9574
+ kind: "streak";
9575
+ days: number;
9576
9576
  } | {
9577
9577
  kind: "once";
9578
9578
  } | {
@@ -9611,7 +9611,7 @@ declare const questExperienceResponseSchema: ResponseSchema<{
9611
9611
  campaign: {
9612
9612
  key: string;
9613
9613
  title: string;
9614
- enrollment: "required" | "none";
9614
+ enrollment: "none" | "required";
9615
9615
  enrolledAt: number | null;
9616
9616
  withdrawnAt: number | null;
9617
9617
  withdrawalReason: string | null;
@@ -9662,15 +9662,15 @@ declare const questExperienceResponseSchema: ResponseSchema<{
9662
9662
  badge?: string | undefined;
9663
9663
  };
9664
9664
  tier: string;
9665
- } | {
9666
- kind: "points";
9667
- balance: string;
9668
- amount: number;
9669
9665
  } | {
9670
9666
  kind: "integration";
9671
9667
  provider: "discord";
9672
9668
  action: "grant-role";
9673
9669
  roleId: string;
9670
+ } | {
9671
+ kind: "points";
9672
+ balance: string;
9673
+ amount: number;
9674
9674
  })[] | null;
9675
9675
  evaluationRun: number;
9676
9676
  deferCount: number;
@@ -9685,21 +9685,21 @@ declare const questExperienceResponseSchema: ResponseSchema<{
9685
9685
  requestedReview: boolean;
9686
9686
  createdAt: number;
9687
9687
  input?: {
9688
- kind: "quiz";
9689
- answers: {
9690
- [k: string]: string;
9691
- };
9692
- release?: string | undefined;
9693
- } | {
9694
9688
  kind: "text";
9695
9689
  value: string;
9696
9690
  } | {
9697
9691
  kind: "url";
9698
9692
  value: string;
9693
+ } | {
9694
+ kind: "quiz";
9695
+ answers: {
9696
+ [k: string]: string;
9697
+ };
9698
+ release?: string | undefined;
9699
9699
  } | undefined;
9700
9700
  } | null;
9701
9701
  release: string;
9702
- interaction: "url" | "automatic" | "text" | "staff" | "photo" | "quiz" | "claim";
9702
+ interaction: "url" | "text" | "staff" | "claim" | "automatic" | "quiz" | "photo";
9703
9703
  lifecycle: "paused" | "active" | "archived";
9704
9704
  rewards: ({
9705
9705
  kind: "points";
@@ -9864,7 +9864,7 @@ declare const questExperienceResponseSchema: ResponseSchema<{
9864
9864
  actor?: "staff" | "member" | undefined;
9865
9865
  } | {
9866
9866
  kind: "manual";
9867
- input: "photo" | "quiz" | "none";
9867
+ input: "none" | "quiz" | "photo";
9868
9868
  actor?: "staff" | "member" | undefined;
9869
9869
  } | {
9870
9870
  kind: "automatic";
@@ -9908,15 +9908,15 @@ declare const questExperienceResponseSchema: ResponseSchema<{
9908
9908
  path: string;
9909
9909
  equals: string | number | boolean;
9910
9910
  })[] | undefined;
9911
- enrollment?: "required" | "none" | undefined;
9911
+ enrollment?: "none" | "required" | undefined;
9912
9912
  since?: "activation" | "window" | "enrollment" | undefined;
9913
- historical?: "automatic" | "staff" | "claim" | undefined;
9913
+ historical?: "staff" | "claim" | "automatic" | undefined;
9914
9914
  content?: true | undefined;
9915
9915
  } | undefined;
9916
9916
  };
9917
9917
  availability: {
9918
9918
  kind: "available";
9919
- input: "url" | "text" | "photo" | "quiz" | "none";
9919
+ input: "url" | "text" | "none" | "quiz" | "photo";
9920
9920
  } | {
9921
9921
  kind: "completed";
9922
9922
  } | {
@@ -9947,7 +9947,7 @@ declare const questExperienceResponseSchema: ResponseSchema<{
9947
9947
  } | {
9948
9948
  kind: "blocked";
9949
9949
  reason: "paused" | "outside-window" | "budget-exhausted" | "enrollment-required" | "connection-required" | "wallet-required";
9950
- window?: "tracker" | "quest" | undefined;
9950
+ window?: "quest" | "tracker" | undefined;
9951
9951
  resetsAt?: number | undefined;
9952
9952
  } | {
9953
9953
  kind: "staff-required";
@@ -9965,9 +9965,6 @@ declare const questExperienceResponseSchema: ResponseSchema<{
9965
9965
  };
9966
9966
  completed: boolean;
9967
9967
  completion: {
9968
- kind: "streak";
9969
- days: number;
9970
- } | {
9971
9968
  kind: "progress";
9972
9969
  goal: {
9973
9970
  kind: "count";
@@ -9984,6 +9981,9 @@ declare const questExperienceResponseSchema: ResponseSchema<{
9984
9981
  durationMs: number;
9985
9982
  };
9986
9983
  repeat: "repeat" | "once";
9984
+ } | {
9985
+ kind: "streak";
9986
+ days: number;
9987
9987
  } | {
9988
9988
  kind: "once";
9989
9989
  } | {
@@ -10022,7 +10022,7 @@ declare const questExperienceResponseSchema: ResponseSchema<{
10022
10022
  campaign: {
10023
10023
  key: string;
10024
10024
  title: string;
10025
- enrollment: "required" | "none";
10025
+ enrollment: "none" | "required";
10026
10026
  enrolledAt: number | null;
10027
10027
  withdrawnAt: number | null;
10028
10028
  withdrawalReason: string | null;
@@ -10073,15 +10073,15 @@ declare const questExperienceResponseSchema: ResponseSchema<{
10073
10073
  badge?: string | undefined;
10074
10074
  };
10075
10075
  tier: string;
10076
- } | {
10077
- kind: "points";
10078
- balance: string;
10079
- amount: number;
10080
10076
  } | {
10081
10077
  kind: "integration";
10082
10078
  provider: "discord";
10083
10079
  action: "grant-role";
10084
10080
  roleId: string;
10081
+ } | {
10082
+ kind: "points";
10083
+ balance: string;
10084
+ amount: number;
10085
10085
  })[] | null;
10086
10086
  evaluationRun: number;
10087
10087
  deferCount: number;
@@ -10096,21 +10096,21 @@ declare const questExperienceResponseSchema: ResponseSchema<{
10096
10096
  requestedReview: boolean;
10097
10097
  createdAt: number;
10098
10098
  input?: {
10099
- kind: "quiz";
10100
- answers: {
10101
- [k: string]: string;
10102
- };
10103
- release?: string | undefined;
10104
- } | {
10105
10099
  kind: "text";
10106
10100
  value: string;
10107
10101
  } | {
10108
10102
  kind: "url";
10109
10103
  value: string;
10104
+ } | {
10105
+ kind: "quiz";
10106
+ answers: {
10107
+ [k: string]: string;
10108
+ };
10109
+ release?: string | undefined;
10110
10110
  } | undefined;
10111
10111
  } | null;
10112
10112
  release: string;
10113
- interaction: "url" | "automatic" | "text" | "staff" | "photo" | "quiz" | "claim";
10113
+ interaction: "url" | "text" | "staff" | "claim" | "automatic" | "quiz" | "photo";
10114
10114
  lifecycle: "paused" | "active" | "archived";
10115
10115
  rewards: ({
10116
10116
  kind: "points";
@@ -10437,7 +10437,7 @@ declare const memberProgressResponseSchema: ResponseSchema<{
10437
10437
  actor?: "staff" | "member" | undefined;
10438
10438
  } | {
10439
10439
  kind: "manual";
10440
- input: "photo" | "quiz" | "none";
10440
+ input: "none" | "quiz" | "photo";
10441
10441
  actor?: "staff" | "member" | undefined;
10442
10442
  } | {
10443
10443
  kind: "automatic";
@@ -10481,15 +10481,15 @@ declare const memberProgressResponseSchema: ResponseSchema<{
10481
10481
  path: string;
10482
10482
  equals: string | number | boolean;
10483
10483
  })[] | undefined;
10484
- enrollment?: "required" | "none" | undefined;
10484
+ enrollment?: "none" | "required" | undefined;
10485
10485
  since?: "activation" | "window" | "enrollment" | undefined;
10486
- historical?: "automatic" | "staff" | "claim" | undefined;
10486
+ historical?: "staff" | "claim" | "automatic" | undefined;
10487
10487
  content?: true | undefined;
10488
10488
  } | undefined;
10489
10489
  };
10490
10490
  availability: {
10491
10491
  kind: "available";
10492
- input: "url" | "text" | "photo" | "quiz" | "none";
10492
+ input: "url" | "text" | "none" | "quiz" | "photo";
10493
10493
  } | {
10494
10494
  kind: "completed";
10495
10495
  } | {
@@ -10520,7 +10520,7 @@ declare const memberProgressResponseSchema: ResponseSchema<{
10520
10520
  } | {
10521
10521
  kind: "blocked";
10522
10522
  reason: "paused" | "outside-window" | "budget-exhausted" | "enrollment-required" | "connection-required" | "wallet-required";
10523
- window?: "tracker" | "quest" | undefined;
10523
+ window?: "quest" | "tracker" | undefined;
10524
10524
  resetsAt?: number | undefined;
10525
10525
  } | {
10526
10526
  kind: "staff-required";
@@ -10538,9 +10538,6 @@ declare const memberProgressResponseSchema: ResponseSchema<{
10538
10538
  };
10539
10539
  completed: boolean;
10540
10540
  completion: {
10541
- kind: "streak";
10542
- days: number;
10543
- } | {
10544
10541
  kind: "progress";
10545
10542
  goal: {
10546
10543
  kind: "count";
@@ -10557,6 +10554,9 @@ declare const memberProgressResponseSchema: ResponseSchema<{
10557
10554
  durationMs: number;
10558
10555
  };
10559
10556
  repeat: "repeat" | "once";
10557
+ } | {
10558
+ kind: "streak";
10559
+ days: number;
10560
10560
  } | {
10561
10561
  kind: "once";
10562
10562
  } | {
@@ -10595,7 +10595,7 @@ declare const memberProgressResponseSchema: ResponseSchema<{
10595
10595
  campaign: {
10596
10596
  key: string;
10597
10597
  title: string;
10598
- enrollment: "required" | "none";
10598
+ enrollment: "none" | "required";
10599
10599
  enrolledAt: number | null;
10600
10600
  withdrawnAt: number | null;
10601
10601
  withdrawalReason: string | null;
@@ -10646,15 +10646,15 @@ declare const memberProgressResponseSchema: ResponseSchema<{
10646
10646
  badge?: string | undefined;
10647
10647
  };
10648
10648
  tier: string;
10649
- } | {
10650
- kind: "points";
10651
- balance: string;
10652
- amount: number;
10653
10649
  } | {
10654
10650
  kind: "integration";
10655
10651
  provider: "discord";
10656
10652
  action: "grant-role";
10657
10653
  roleId: string;
10654
+ } | {
10655
+ kind: "points";
10656
+ balance: string;
10657
+ amount: number;
10658
10658
  })[] | null;
10659
10659
  evaluationRun: number;
10660
10660
  deferCount: number;
@@ -10669,17 +10669,17 @@ declare const memberProgressResponseSchema: ResponseSchema<{
10669
10669
  requestedReview: boolean;
10670
10670
  createdAt: number;
10671
10671
  input?: {
10672
- kind: "quiz";
10673
- answers: {
10674
- [k: string]: string;
10675
- };
10676
- release?: string | undefined;
10677
- } | {
10678
10672
  kind: "text";
10679
10673
  value: string;
10680
10674
  } | {
10681
10675
  kind: "url";
10682
10676
  value: string;
10677
+ } | {
10678
+ kind: "quiz";
10679
+ answers: {
10680
+ [k: string]: string;
10681
+ };
10682
+ release?: string | undefined;
10683
10683
  } | undefined;
10684
10684
  } | null;
10685
10685
  key?: string | undefined;
@@ -10972,9 +10972,6 @@ declare const questCatalogResponseSchema: ResponseSchema<{
10972
10972
  kind: "resource";
10973
10973
  default: string;
10974
10974
  source: {
10975
- provider: "domino";
10976
- resource: "point-ledger";
10977
- } | {
10978
10975
  provider: "discord";
10979
10976
  resource: "channel";
10980
10977
  types: ("text" | "announcement")[];
@@ -10982,6 +10979,9 @@ declare const questCatalogResponseSchema: ResponseSchema<{
10982
10979
  provider: "discord";
10983
10980
  resource: "role";
10984
10981
  assignable: boolean;
10982
+ } | {
10983
+ provider: "domino";
10984
+ resource: "point-ledger";
10985
10985
  };
10986
10986
  label: string;
10987
10987
  description?: string | undefined;
@@ -11055,15 +11055,15 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11055
11055
  badge?: string | undefined;
11056
11056
  };
11057
11057
  tier: string;
11058
- } | {
11059
- kind: "points";
11060
- balance: string;
11061
- amount: number;
11062
11058
  } | {
11063
11059
  kind: "integration";
11064
11060
  provider: "discord";
11065
11061
  action: "grant-role";
11066
11062
  roleId: string;
11063
+ } | {
11064
+ kind: "points";
11065
+ balance: string;
11066
+ amount: number;
11067
11067
  })[];
11068
11068
  humanReview: boolean;
11069
11069
  trigger: {
@@ -11085,7 +11085,7 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11085
11085
  actor?: "staff" | "member" | undefined;
11086
11086
  } | {
11087
11087
  kind: "manual";
11088
- input: "photo" | "quiz" | "none";
11088
+ input: "none" | "quiz" | "photo";
11089
11089
  actor?: "staff" | "member" | undefined;
11090
11090
  } | {
11091
11091
  kind: "automatic";
@@ -11129,9 +11129,9 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11129
11129
  path: string;
11130
11130
  equals: string | number | boolean;
11131
11131
  })[] | undefined;
11132
- enrollment?: "required" | "none" | undefined;
11132
+ enrollment?: "none" | "required" | undefined;
11133
11133
  since?: "activation" | "window" | "enrollment" | undefined;
11134
- historical?: "automatic" | "staff" | "claim" | undefined;
11134
+ historical?: "staff" | "claim" | "automatic" | undefined;
11135
11135
  content?: true | undefined;
11136
11136
  } | undefined;
11137
11137
  };
@@ -11167,9 +11167,6 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11167
11167
  };
11168
11168
  }[];
11169
11169
  completion: {
11170
- kind: "streak";
11171
- days: number;
11172
- } | {
11173
11170
  kind: "progress";
11174
11171
  goal: {
11175
11172
  kind: "count";
@@ -11186,6 +11183,9 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11186
11183
  durationMs: number;
11187
11184
  };
11188
11185
  repeat: "repeat" | "once";
11186
+ } | {
11187
+ kind: "streak";
11188
+ days: number;
11189
11189
  } | {
11190
11190
  kind: "once";
11191
11191
  } | {
@@ -11198,7 +11198,7 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11198
11198
  campaign?: {
11199
11199
  key: string;
11200
11200
  title: string;
11201
- enrollment: "required" | "none";
11201
+ enrollment: "none" | "required";
11202
11202
  window?: {
11203
11203
  from: number;
11204
11204
  until: number;
@@ -11351,9 +11351,9 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11351
11351
  id: string;
11352
11352
  title: string;
11353
11353
  quests: string[];
11354
+ key?: string | undefined;
11354
11355
  description?: string | undefined;
11355
11356
  image?: string | undefined;
11356
- key?: string | undefined;
11357
11357
  imageAlt?: string | undefined;
11358
11358
  }[];
11359
11359
  };
@@ -11422,9 +11422,9 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11422
11422
  id: string;
11423
11423
  title: string;
11424
11424
  quests: string[];
11425
+ key?: string | undefined;
11425
11426
  description?: string | undefined;
11426
11427
  image?: string | undefined;
11427
- key?: string | undefined;
11428
11428
  imageAlt?: string | undefined;
11429
11429
  }[];
11430
11430
  };
@@ -11491,9 +11491,6 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11491
11491
  kind: "resource";
11492
11492
  default: string;
11493
11493
  source: {
11494
- provider: "domino";
11495
- resource: "point-ledger";
11496
- } | {
11497
11494
  provider: "discord";
11498
11495
  resource: "channel";
11499
11496
  types: ("text" | "announcement")[];
@@ -11501,6 +11498,9 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11501
11498
  provider: "discord";
11502
11499
  resource: "role";
11503
11500
  assignable: boolean;
11501
+ } | {
11502
+ provider: "domino";
11503
+ resource: "point-ledger";
11504
11504
  };
11505
11505
  label: string;
11506
11506
  description?: string | undefined;
@@ -11574,15 +11574,15 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11574
11574
  badge?: string | undefined;
11575
11575
  };
11576
11576
  tier: string;
11577
- } | {
11578
- kind: "points";
11579
- balance: string;
11580
- amount: number;
11581
11577
  } | {
11582
11578
  kind: "integration";
11583
11579
  provider: "discord";
11584
11580
  action: "grant-role";
11585
11581
  roleId: string;
11582
+ } | {
11583
+ kind: "points";
11584
+ balance: string;
11585
+ amount: number;
11586
11586
  })[];
11587
11587
  humanReview: boolean;
11588
11588
  trigger: {
@@ -11604,7 +11604,7 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11604
11604
  actor?: "staff" | "member" | undefined;
11605
11605
  } | {
11606
11606
  kind: "manual";
11607
- input: "photo" | "quiz" | "none";
11607
+ input: "none" | "quiz" | "photo";
11608
11608
  actor?: "staff" | "member" | undefined;
11609
11609
  } | {
11610
11610
  kind: "automatic";
@@ -11648,9 +11648,9 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11648
11648
  path: string;
11649
11649
  equals: string | number | boolean;
11650
11650
  })[] | undefined;
11651
- enrollment?: "required" | "none" | undefined;
11651
+ enrollment?: "none" | "required" | undefined;
11652
11652
  since?: "activation" | "window" | "enrollment" | undefined;
11653
- historical?: "automatic" | "staff" | "claim" | undefined;
11653
+ historical?: "staff" | "claim" | "automatic" | undefined;
11654
11654
  content?: true | undefined;
11655
11655
  } | undefined;
11656
11656
  };
@@ -11686,9 +11686,6 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11686
11686
  };
11687
11687
  }[];
11688
11688
  completion: {
11689
- kind: "streak";
11690
- days: number;
11691
- } | {
11692
11689
  kind: "progress";
11693
11690
  goal: {
11694
11691
  kind: "count";
@@ -11705,6 +11702,9 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11705
11702
  durationMs: number;
11706
11703
  };
11707
11704
  repeat: "repeat" | "once";
11705
+ } | {
11706
+ kind: "streak";
11707
+ days: number;
11708
11708
  } | {
11709
11709
  kind: "once";
11710
11710
  } | {
@@ -11722,7 +11722,7 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11722
11722
  campaign?: {
11723
11723
  key: string;
11724
11724
  title: string;
11725
- enrollment: "required" | "none";
11725
+ enrollment: "none" | "required";
11726
11726
  window?: {
11727
11727
  from: number;
11728
11728
  until: number;
@@ -11801,7 +11801,7 @@ declare const questCatalogResponseSchema: ResponseSchema<{
11801
11801
  unsupportedCount: number;
11802
11802
  };
11803
11803
  supportedInteractions: {
11804
- items: ResponseResult<"url" | "automatic" | "text" | "staff" | "photo" | "quiz" | "claim">[];
11804
+ items: ResponseResult<"url" | "text" | "staff" | "claim" | "automatic" | "quiz" | "photo">[];
11805
11805
  unsupportedCount: number;
11806
11806
  };
11807
11807
  }>;