@domino-sdk/relay 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  import { errorSchema, QuizEvidence, Attempt, SubmitInput, MemberProgress, questDescriptionSchema, PublishedRelease, ReviewListOptions, MemberListOptions, ReleaseInput, beginHandoverSchema } from './schema.js';
3
3
  export { Decision, Entitlement, MemberPage, PhotoResult, PickupAvailability, QuestAvailability, QuestDescription, QuestPresentation, QuestSettingsInput, ReviewPage, Reward, Snapshot, TieredRewardDefinition, artifactSchema, attemptSchema, batchReleaseSchema, completionRecordSchema, configurePickupSchema, confirmHandoverSchema, createStockItemSchema, decisionSchema, entitlementSchema, eventSchema, evidenceSchema, identifier, integrationRewardSchema, mediaUrlSchema, memberListSchema, memberPageSchema, memberProgressSchema, photoResultSchema, pickupAllocationSchema, pickupAvailabilitySchema, pickupCatalogSchema, pickupPolicySchema, pickupSelectionSchema, pointsRewardSchema, prerequisiteSchema, publishedReleaseSchema, questAvailabilitySchema, questPresentationSchema, questSettingsInputSchema, quizAnswersSchema, quizEvidenceSchema, releaseSchema, reservationSchema, reviewItemSchema, reviewListSchema, reviewModeSchema, reviewPageSchema, rewardBundleSchema, rewardKey, rewardSchema, snapshotSchema, staffDecisionSchema, stockItemSchema, stockSchema, storedReviewModeSchema, submitSchema, templateSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema } from './schema.js';
4
- import { r as referralAcceptSchema, L as LeaderboardQuery, w as walletChallengeInputSchema, i as walletProofSchema, j as AuthProvider } from './settings-CgI5nDQr.js';
5
- export { k as AccountConnection, B as Budget, D as DiscordMember, a as DiscordMessage, I as IntegrationProvider, l as LeaderboardDefinition, m as LeaderboardPage, O as Observation, P as ProjectIntegration, Q as QuizContent, R as ReferralDefinition, n as ResourceOption, q as ResourceSource, t as SettingField, u as SettingsValues, S as SolanaBalance, b as StreakPolicy, v as StreakProgress, y as TrackerDefinition, z as TrackerQuery, T as TrackerReader, C as TrackerRecord, E as TrackerStatus, W as WalletConnection, X as XTweet, F as accountConnectionSchema, G as authProviderSchema, H as budgetSchema, J as communityTimeZoneSchema, K as compatibleSettingKinds, M as completionKeySchema, N as completionPolicySchema, c as customSource, d as defineLeaderboard, e as defineReferral, f as defineTracker, g as discord, U as discordMemberInputSchema, V as discordMemberSchema, Y as discordMessageInputSchema, Z as discordMessageSchema, _ as discordReactionSchema, $ as discordServerSchema, a0 as integrationProviderSchema, a1 as leaderboardArtifactSchema, a2 as leaderboardAuthoringSchema, a3 as leaderboardDefinitionSchema, a4 as leaderboardExclusionSchema, a5 as leaderboardGroupSchema, a6 as leaderboardPageSchema, a7 as leaderboardPreviewSchema, a8 as leaderboardQuerySchema, a9 as leaderboardRowSchema, aa as leaderboardWindowSchema, ab as missingResourceSettings, ac as observationInputSchema, ad as observationReceiptSchema, ae as observationSchema, o as observationTriggerSchema, af as parseSettings, p as pointLedgers, ag as pointsAccountSchema, ah as pointsEntrySchema, ai as pointsMutationSchema, aj as pointsResultSchema, ak as projectIntegrationSchema, al as publishedLeaderboardSchema, am as publishedReferralSchema, an as publishedTrackerSchema, ao as quizChoiceSchema, ap as quizContentSchema, aq as quizQuestionSchema, ar as quizQuestionsSchema, as as referralAccountSchema, at as referralArtifactSchema, au as referralAuthoringSchema, av as referralControlSchema, aw as referralDefinitionSchema, ax as referralHistorySchema, ay as referralManagementSchema, az as referralRelationshipSchema, aA as referralSummarySchema, aB as resourceOptionsSchema, aC as resourceRequestSchema, aD as resourceSourceSchema, aE as settingFieldSchema, s as settings, aF as settingsFieldsSchema, aG as settingsValuesSchema, aH as solanaAddressSchema, aI as solanaBalanceSchema, h as streak, aJ as streakPolicySchema, aK as streakProgressSchema, aL as trackerArtifactSchema, aM as trackerControlSchema, aN as trackerDefinitionSchema, aO as trackerIngestResultSchema, aP as trackerIngestSchema, aQ as trackerPageSchema, aR as trackerQuerySchema, aS as trackerRecordInputSchema, aT as trackerRecordSchema, aU as trackerSourceSchema, aV as trackerStatusSchema, aW as trackerSummarySchema, aX as walletChallengeSchema, aY as walletConnectionSchema, x, aZ as xTweetSchema } from './settings-CgI5nDQr.js';
4
+ import { r as referralAcceptSchema, L as LeaderboardQuery, w as walletChallengeInputSchema, i as walletProofSchema, j as AuthProvider } from './settings-CU2y-wUM.js';
5
+ export { k as AccountConnection, B as Budget, D as DiscordMember, a as DiscordMessage, I as IntegrationProvider, l as LeaderboardDefinition, m as LeaderboardPage, O as Observation, P as ProjectIntegration, Q as QuizContent, R as ReferralDefinition, n as ResourceOption, q as ResourceSource, t as SettingField, u as SettingsValues, S as SolanaBalance, b as StreakPolicy, v as StreakProgress, y as TrackerDefinition, z as TrackerPreview, C as TrackerPreviewInput, E as TrackerQuery, T as TrackerReader, F as TrackerRecord, G as TrackerStatus, W as WalletConnection, X as XTweet, H as accountConnectionSchema, J as authProviderSchema, K as budgetSchema, M as communityTimeZoneSchema, N as compatibleSettingKinds, U as completionKeySchema, V as completionPolicySchema, c as customSource, d as defineLeaderboard, e as defineReferral, f as defineTracker, g as discord, Y as discordMemberInputSchema, Z as discordMemberSchema, _ as discordMessageInputSchema, $ as discordMessageSchema, a0 as discordReactionSchema, a1 as discordServerSchema, a2 as integrationProviderSchema, a3 as leaderboardArtifactSchema, a4 as leaderboardAuthoringSchema, a5 as leaderboardDefinitionSchema, a6 as leaderboardExclusionSchema, a7 as leaderboardGroupSchema, a8 as leaderboardPageSchema, a9 as leaderboardPreviewSchema, aa as leaderboardQuerySchema, ab as leaderboardRowSchema, ac as leaderboardWindowSchema, ad as missingResourceSettings, ae as observationInputSchema, af as observationReceiptSchema, ag as observationSchema, o as observationTriggerSchema, ah as parseSettings, p as pointLedgers, ai as pointsAccountSchema, aj as pointsEntrySchema, ak as pointsMutationSchema, al as pointsResultSchema, am as projectIntegrationSchema, an as publishedLeaderboardSchema, ao as publishedReferralSchema, ap as publishedTrackerSchema, aq as quizChoiceSchema, ar as quizContentSchema, as as quizQuestionSchema, at as quizQuestionsSchema, au as referralAccountSchema, av as referralArtifactSchema, aw as referralAuthoringSchema, ax as referralControlSchema, ay as referralDefinitionSchema, az as referralHistorySchema, aA as referralManagementSchema, aB as referralRelationshipSchema, aC as referralSummarySchema, aD as resourceOptionsSchema, aE as resourceRequestSchema, aF as resourceSourceSchema, aG as settingFieldSchema, s as settings, aH as settingsFieldsSchema, aI as settingsValuesSchema, aJ as solanaAddressSchema, aK as solanaBalanceSchema, h as streak, aL as streakPolicySchema, aM as streakProgressSchema, aN as trackerArtifactSchema, aO as trackerControlSchema, aP as trackerDefinitionSchema, aQ as trackerIngestResultSchema, aR as trackerIngestSchema, aS as trackerPageSchema, aT as trackerPreviewInputSchema, aU as trackerPreviewLimits, aV as trackerPreviewSchema, aW as trackerQuerySchema, aX as trackerRecordInputSchema, aY as trackerRecordSchema, aZ as trackerSourceSchema, a_ as trackerStatusSchema, a$ as trackerSummarySchema, b0 as walletChallengeSchema, b1 as walletConnectionSchema, x, b2 as xTweetSchema } from './settings-CU2y-wUM.js';
6
6
 
7
7
  declare class RelayError extends Error {
8
8
  readonly status: number;
@@ -190,9 +190,9 @@ type ProgressObserver = {
190
190
  };
191
191
 
192
192
  declare const interactionSchema: z.ZodEnum<{
193
+ staff: "staff";
193
194
  quiz: "quiz";
194
195
  photo: "photo";
195
- staff: "staff";
196
196
  automatic: "automatic";
197
197
  claim: "claim";
198
198
  }>;
@@ -375,8 +375,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
375
375
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
376
376
  id: z.ZodString;
377
377
  scope: z.ZodEnum<{
378
- member: "member";
379
378
  project: "project";
379
+ member: "member";
380
380
  }>;
381
381
  period: z.ZodEnum<{
382
382
  day: "day";
@@ -721,8 +721,8 @@ declare const questCatalogSchema: z.ZodObject<{
721
721
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
722
722
  id: z.ZodString;
723
723
  scope: z.ZodEnum<{
724
- member: "member";
725
724
  project: "project";
725
+ member: "member";
726
726
  }>;
727
727
  period: z.ZodEnum<{
728
728
  day: "day";
@@ -1011,8 +1011,8 @@ declare const questCatalogSchema: z.ZodObject<{
1011
1011
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1012
1012
  id: z.ZodString;
1013
1013
  scope: z.ZodEnum<{
1014
- member: "member";
1015
1014
  project: "project";
1015
+ member: "member";
1016
1016
  }>;
1017
1017
  period: z.ZodEnum<{
1018
1018
  day: "day";
@@ -1108,7 +1108,7 @@ declare const questCatalogSchema: z.ZodObject<{
1108
1108
  createdAt: z.ZodNumber;
1109
1109
  }, z.core.$strip>, z.ZodTransform<{
1110
1110
  quest: string;
1111
- runtimeVersion: 1 | 2;
1111
+ runtimeVersion: 2 | 1;
1112
1112
  title: string;
1113
1113
  presentation: {
1114
1114
  quiz?: {
@@ -1145,12 +1145,12 @@ declare const questCatalogSchema: z.ZodObject<{
1145
1145
  kind: "resource";
1146
1146
  default: string;
1147
1147
  source: {
1148
+ provider: "domino";
1149
+ resource: "point-ledger";
1150
+ } | {
1148
1151
  provider: "discord";
1149
1152
  resource: "channel";
1150
1153
  types: ("text" | "announcement")[];
1151
- } | {
1152
- provider: "domino";
1153
- resource: "point-ledger";
1154
1154
  } | {
1155
1155
  provider: "discord";
1156
1156
  resource: "role";
@@ -1262,7 +1262,7 @@ declare const questCatalogSchema: z.ZodObject<{
1262
1262
  visibility: "visible" | "hidden";
1263
1263
  budgets: {
1264
1264
  id: string;
1265
- scope: "member" | "project";
1265
+ scope: "project" | "member";
1266
1266
  period: "day" | "lifetime";
1267
1267
  limit: number;
1268
1268
  cost: number | {
@@ -1338,9 +1338,9 @@ declare const questCatalogSchema: z.ZodObject<{
1338
1338
  createdAt: number;
1339
1339
  }>>]>>>;
1340
1340
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1341
+ staff: "staff";
1341
1342
  quiz: "quiz";
1342
1343
  photo: "photo";
1343
- staff: "staff";
1344
1344
  automatic: "automatic";
1345
1345
  claim: "claim";
1346
1346
  }>>;
@@ -1369,9 +1369,9 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1369
1369
  id?: string | undefined;
1370
1370
  }>>>>;
1371
1371
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1372
+ staff: "staff";
1372
1373
  quiz: "quiz";
1373
1374
  photo: "photo";
1374
- staff: "staff";
1375
1375
  automatic: "automatic";
1376
1376
  claim: "claim";
1377
1377
  }>>>;
@@ -1555,8 +1555,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1555
1555
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1556
1556
  id: z.ZodString;
1557
1557
  scope: z.ZodEnum<{
1558
- member: "member";
1559
1558
  project: "project";
1559
+ member: "member";
1560
1560
  }>;
1561
1561
  period: z.ZodEnum<{
1562
1562
  day: "day";
@@ -1583,9 +1583,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1583
1583
  title: z.ZodString;
1584
1584
  }, z.core.$strict>>;
1585
1585
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1586
+ staff: "staff";
1586
1587
  quiz: "quiz";
1587
1588
  photo: "photo";
1588
- staff: "staff";
1589
1589
  automatic: "automatic";
1590
1590
  claim: "claim";
1591
1591
  }>>;
@@ -1654,10 +1654,10 @@ declare const questViewSchema: z.ZodObject<{
1654
1654
  }, z.core.$strict>>;
1655
1655
  }, z.core.$strict>>;
1656
1656
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1657
+ discord: "discord";
1657
1658
  google: "google";
1658
1659
  apple: "apple";
1659
1660
  x: "x";
1660
- discord: "discord";
1661
1661
  }>>>;
1662
1662
  trigger: z.ZodUnion<readonly [z.ZodObject<{
1663
1663
  kind: z.ZodLiteral<"manual">;
@@ -1773,12 +1773,12 @@ declare const questViewSchema: z.ZodObject<{
1773
1773
  }, Record<string, string>>>;
1774
1774
  }, z.core.$strict>>;
1775
1775
  status: z.ZodEnum<{
1776
- "needs-review": "needs-review";
1777
1776
  queued: "queued";
1778
1777
  evaluating: "evaluating";
1779
1778
  accepted: "accepted";
1780
1779
  progressed: "progressed";
1781
1780
  rejected: "rejected";
1781
+ "needs-review": "needs-review";
1782
1782
  failed: "failed";
1783
1783
  }>;
1784
1784
  reason: z.ZodNullable<z.ZodString>;
@@ -1816,9 +1816,9 @@ declare const questViewSchema: z.ZodObject<{
1816
1816
  }, z.core.$strip>>;
1817
1817
  release: z.ZodString;
1818
1818
  interaction: z.ZodEnum<{
1819
+ staff: "staff";
1819
1820
  quiz: "quiz";
1820
1821
  photo: "photo";
1821
- staff: "staff";
1822
1822
  automatic: "automatic";
1823
1823
  claim: "claim";
1824
1824
  }>;
@@ -1860,10 +1860,10 @@ declare const collectionViewSchema: z.ZodObject<{
1860
1860
  }, z.core.$strict>>;
1861
1861
  }, z.core.$strict>>;
1862
1862
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1863
+ discord: "discord";
1863
1864
  google: "google";
1864
1865
  apple: "apple";
1865
1866
  x: "x";
1866
- discord: "discord";
1867
1867
  }>>>;
1868
1868
  trigger: z.ZodUnion<readonly [z.ZodObject<{
1869
1869
  kind: z.ZodLiteral<"manual">;
@@ -1979,12 +1979,12 @@ declare const collectionViewSchema: z.ZodObject<{
1979
1979
  }, Record<string, string>>>;
1980
1980
  }, z.core.$strict>>;
1981
1981
  status: z.ZodEnum<{
1982
- "needs-review": "needs-review";
1983
1982
  queued: "queued";
1984
1983
  evaluating: "evaluating";
1985
1984
  accepted: "accepted";
1986
1985
  progressed: "progressed";
1987
1986
  rejected: "rejected";
1987
+ "needs-review": "needs-review";
1988
1988
  failed: "failed";
1989
1989
  }>;
1990
1990
  reason: z.ZodNullable<z.ZodString>;
@@ -2022,9 +2022,9 @@ declare const collectionViewSchema: z.ZodObject<{
2022
2022
  }, z.core.$strip>>;
2023
2023
  release: z.ZodString;
2024
2024
  interaction: z.ZodEnum<{
2025
+ staff: "staff";
2025
2026
  quiz: "quiz";
2026
2027
  photo: "photo";
2027
- staff: "staff";
2028
2028
  automatic: "automatic";
2029
2029
  claim: "claim";
2030
2030
  }>;
@@ -2065,10 +2065,10 @@ declare const questExperienceSchema: z.ZodObject<{
2065
2065
  }, z.core.$strict>>;
2066
2066
  }, z.core.$strict>>;
2067
2067
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2068
+ discord: "discord";
2068
2069
  google: "google";
2069
2070
  apple: "apple";
2070
2071
  x: "x";
2071
- discord: "discord";
2072
2072
  }>>>;
2073
2073
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2074
2074
  kind: z.ZodLiteral<"manual">;
@@ -2184,12 +2184,12 @@ declare const questExperienceSchema: z.ZodObject<{
2184
2184
  }, Record<string, string>>>;
2185
2185
  }, z.core.$strict>>;
2186
2186
  status: z.ZodEnum<{
2187
- "needs-review": "needs-review";
2188
2187
  queued: "queued";
2189
2188
  evaluating: "evaluating";
2190
2189
  accepted: "accepted";
2191
2190
  progressed: "progressed";
2192
2191
  rejected: "rejected";
2192
+ "needs-review": "needs-review";
2193
2193
  failed: "failed";
2194
2194
  }>;
2195
2195
  reason: z.ZodNullable<z.ZodString>;
@@ -2227,9 +2227,9 @@ declare const questExperienceSchema: z.ZodObject<{
2227
2227
  }, z.core.$strip>>;
2228
2228
  release: z.ZodString;
2229
2229
  interaction: z.ZodEnum<{
2230
+ staff: "staff";
2230
2231
  quiz: "quiz";
2231
2232
  photo: "photo";
2232
- staff: "staff";
2233
2233
  automatic: "automatic";
2234
2234
  claim: "claim";
2235
2235
  }>;
@@ -2271,10 +2271,10 @@ declare const questExperienceSchema: z.ZodObject<{
2271
2271
  }, z.core.$strict>>;
2272
2272
  }, z.core.$strict>>;
2273
2273
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2274
+ discord: "discord";
2274
2275
  google: "google";
2275
2276
  apple: "apple";
2276
2277
  x: "x";
2277
- discord: "discord";
2278
2278
  }>>>;
2279
2279
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2280
2280
  kind: z.ZodLiteral<"manual">;
@@ -2390,12 +2390,12 @@ declare const questExperienceSchema: z.ZodObject<{
2390
2390
  }, Record<string, string>>>;
2391
2391
  }, z.core.$strict>>;
2392
2392
  status: z.ZodEnum<{
2393
- "needs-review": "needs-review";
2394
2393
  queued: "queued";
2395
2394
  evaluating: "evaluating";
2396
2395
  accepted: "accepted";
2397
2396
  progressed: "progressed";
2398
2397
  rejected: "rejected";
2398
+ "needs-review": "needs-review";
2399
2399
  failed: "failed";
2400
2400
  }>;
2401
2401
  reason: z.ZodNullable<z.ZodString>;
@@ -2433,9 +2433,9 @@ declare const questExperienceSchema: z.ZodObject<{
2433
2433
  }, z.core.$strip>>;
2434
2434
  release: z.ZodString;
2435
2435
  interaction: z.ZodEnum<{
2436
+ staff: "staff";
2436
2437
  quiz: "quiz";
2437
2438
  photo: "photo";
2438
- staff: "staff";
2439
2439
  automatic: "automatic";
2440
2440
  claim: "claim";
2441
2441
  }>;
@@ -2697,8 +2697,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2697
2697
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
2698
2698
  id: z.ZodString;
2699
2699
  scope: z.ZodEnum<{
2700
- member: "member";
2701
2700
  project: "project";
2701
+ member: "member";
2702
2702
  }>;
2703
2703
  period: z.ZodEnum<{
2704
2704
  day: "day";
@@ -2794,7 +2794,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2794
2794
  createdAt: z.ZodNumber;
2795
2795
  }, z.core.$strip>, z.ZodTransform<{
2796
2796
  quest: string;
2797
- runtimeVersion: 1 | 2;
2797
+ runtimeVersion: 2 | 1;
2798
2798
  title: string;
2799
2799
  presentation: {
2800
2800
  quiz?: {
@@ -2831,12 +2831,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2831
2831
  kind: "resource";
2832
2832
  default: string;
2833
2833
  source: {
2834
+ provider: "domino";
2835
+ resource: "point-ledger";
2836
+ } | {
2834
2837
  provider: "discord";
2835
2838
  resource: "channel";
2836
2839
  types: ("text" | "announcement")[];
2837
- } | {
2838
- provider: "domino";
2839
- resource: "point-ledger";
2840
2840
  } | {
2841
2841
  provider: "discord";
2842
2842
  resource: "role";
@@ -2948,7 +2948,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2948
2948
  visibility: "visible" | "hidden";
2949
2949
  budgets: {
2950
2950
  id: string;
2951
- scope: "member" | "project";
2951
+ scope: "project" | "member";
2952
2952
  period: "day" | "lifetime";
2953
2953
  limit: number;
2954
2954
  cost: number | {
@@ -3099,8 +3099,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
3099
3099
  action: z.ZodLiteral<"grant-role">;
3100
3100
  roleId: z.ZodString;
3101
3101
  status: z.ZodEnum<{
3102
- pending: "pending";
3103
3102
  failed: "failed";
3103
+ pending: "pending";
3104
3104
  delivered: "delivered";
3105
3105
  }>;
3106
3106
  attempts: z.ZodNumber;
@@ -3119,8 +3119,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
3119
3119
  action: z.ZodLiteral<"grant-role">;
3120
3120
  roleId: z.ZodString;
3121
3121
  status: z.ZodEnum<{
3122
- pending: "pending";
3123
3122
  failed: "failed";
3123
+ pending: "pending";
3124
3124
  delivered: "delivered";
3125
3125
  }>;
3126
3126
  attempts: z.ZodNumber;
@@ -3289,9 +3289,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3289
3289
  }>;
3290
3290
  }, z.core.$strip>>>;
3291
3291
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3292
+ staff: "staff";
3292
3293
  quiz: "quiz";
3293
3294
  photo: "photo";
3294
- staff: "staff";
3295
3295
  automatic: "automatic";
3296
3296
  claim: "claim";
3297
3297
  }>>>;
@@ -3612,7 +3612,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3612
3612
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
3613
3613
  title: z.ZodString;
3614
3614
  balance: z.ZodString;
3615
- group: z.ZodOptional<z.ZodString>;
3616
3615
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
3617
3616
  kind: z.ZodLiteral<"balance">;
3618
3617
  }, z.core.$strict>, z.ZodObject<{
@@ -3661,6 +3660,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3661
3660
  participants: "participants";
3662
3661
  public: "public";
3663
3662
  }>>;
3663
+ group: z.ZodOptional<z.ZodString>;
3664
3664
  key: z.ZodOptional<z.ZodString>;
3665
3665
  id: z.ZodOptional<z.ZodString>;
3666
3666
  }, z.core.$strict>, z.ZodTransform<Omit<{
@@ -3779,9 +3779,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
3779
3779
  }>;
3780
3780
  }, z.core.$strip>>>;
3781
3781
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3782
+ staff: "staff";
3782
3783
  quiz: "quiz";
3783
3784
  photo: "photo";
3784
- staff: "staff";
3785
3785
  automatic: "automatic";
3786
3786
  claim: "claim";
3787
3787
  }>>>;
@@ -4102,7 +4102,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
4102
4102
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4103
4103
  title: z.ZodString;
4104
4104
  balance: z.ZodString;
4105
- group: z.ZodOptional<z.ZodString>;
4106
4105
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
4107
4106
  kind: z.ZodLiteral<"balance">;
4108
4107
  }, z.core.$strict>, z.ZodObject<{
@@ -4151,6 +4150,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
4151
4150
  participants: "participants";
4152
4151
  public: "public";
4153
4152
  }>>;
4153
+ group: z.ZodOptional<z.ZodString>;
4154
4154
  key: z.ZodOptional<z.ZodString>;
4155
4155
  id: z.ZodOptional<z.ZodString>;
4156
4156
  }, z.core.$strict>, z.ZodTransform<Omit<{
@@ -4465,8 +4465,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4465
4465
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
4466
4466
  id: z.ZodString;
4467
4467
  scope: z.ZodEnum<{
4468
- member: "member";
4469
4468
  project: "project";
4469
+ member: "member";
4470
4470
  }>;
4471
4471
  period: z.ZodEnum<{
4472
4472
  day: "day";
@@ -4562,7 +4562,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4562
4562
  createdAt: z.ZodNumber;
4563
4563
  }, z.core.$strip>, z.ZodTransform<{
4564
4564
  quest: string;
4565
- runtimeVersion: 1 | 2;
4565
+ runtimeVersion: 2 | 1;
4566
4566
  title: string;
4567
4567
  presentation: {
4568
4568
  quiz?: {
@@ -4599,12 +4599,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4599
4599
  kind: "resource";
4600
4600
  default: string;
4601
4601
  source: {
4602
+ provider: "domino";
4603
+ resource: "point-ledger";
4604
+ } | {
4602
4605
  provider: "discord";
4603
4606
  resource: "channel";
4604
4607
  types: ("text" | "announcement")[];
4605
- } | {
4606
- provider: "domino";
4607
- resource: "point-ledger";
4608
4608
  } | {
4609
4609
  provider: "discord";
4610
4610
  resource: "role";
@@ -4716,7 +4716,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4716
4716
  visibility: "visible" | "hidden";
4717
4717
  budgets: {
4718
4718
  id: string;
4719
- scope: "member" | "project";
4719
+ scope: "project" | "member";
4720
4720
  period: "day" | "lifetime";
4721
4721
  limit: number;
4722
4722
  cost: number | {
@@ -4968,8 +4968,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4968
4968
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
4969
4969
  id: z.ZodString;
4970
4970
  scope: z.ZodEnum<{
4971
- member: "member";
4972
4971
  project: "project";
4972
+ member: "member";
4973
4973
  }>;
4974
4974
  period: z.ZodEnum<{
4975
4975
  day: "day";
@@ -4997,9 +4997,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4997
4997
  quests: z.ZodArray<z.ZodString>;
4998
4998
  }, z.core.$strict>>;
4999
4999
  supportedInteractions: z.ZodArray<z.ZodEnum<{
5000
+ staff: "staff";
5000
5001
  quiz: "quiz";
5001
5002
  photo: "photo";
5002
- staff: "staff";
5003
5003
  automatic: "automatic";
5004
5004
  claim: "claim";
5005
5005
  }>>;
@@ -5451,8 +5451,8 @@ declare const deploymentResultSchema: z.ZodObject<{
5451
5451
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
5452
5452
  id: z.ZodString;
5453
5453
  scope: z.ZodEnum<{
5454
- member: "member";
5455
5454
  project: "project";
5455
+ member: "member";
5456
5456
  }>;
5457
5457
  period: z.ZodEnum<{
5458
5458
  day: "day";
@@ -5548,7 +5548,7 @@ declare const deploymentResultSchema: z.ZodObject<{
5548
5548
  createdAt: z.ZodNumber;
5549
5549
  }, z.core.$strip>, z.ZodTransform<{
5550
5550
  quest: string;
5551
- runtimeVersion: 1 | 2;
5551
+ runtimeVersion: 2 | 1;
5552
5552
  title: string;
5553
5553
  presentation: {
5554
5554
  quiz?: {
@@ -5585,12 +5585,12 @@ declare const deploymentResultSchema: z.ZodObject<{
5585
5585
  kind: "resource";
5586
5586
  default: string;
5587
5587
  source: {
5588
+ provider: "domino";
5589
+ resource: "point-ledger";
5590
+ } | {
5588
5591
  provider: "discord";
5589
5592
  resource: "channel";
5590
5593
  types: ("text" | "announcement")[];
5591
- } | {
5592
- provider: "domino";
5593
- resource: "point-ledger";
5594
5594
  } | {
5595
5595
  provider: "discord";
5596
5596
  resource: "role";
@@ -5702,7 +5702,7 @@ declare const deploymentResultSchema: z.ZodObject<{
5702
5702
  visibility: "visible" | "hidden";
5703
5703
  budgets: {
5704
5704
  id: string;
5705
- scope: "member" | "project";
5705
+ scope: "project" | "member";
5706
5706
  period: "day" | "lifetime";
5707
5707
  limit: number;
5708
5708
  cost: number | {
@@ -5954,8 +5954,8 @@ declare const deploymentResultSchema: z.ZodObject<{
5954
5954
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
5955
5955
  id: z.ZodString;
5956
5956
  scope: z.ZodEnum<{
5957
- member: "member";
5958
5957
  project: "project";
5958
+ member: "member";
5959
5959
  }>;
5960
5960
  period: z.ZodEnum<{
5961
5961
  day: "day";
@@ -5983,9 +5983,9 @@ declare const deploymentResultSchema: z.ZodObject<{
5983
5983
  quests: z.ZodArray<z.ZodString>;
5984
5984
  }, z.core.$strict>>;
5985
5985
  supportedInteractions: z.ZodArray<z.ZodEnum<{
5986
+ staff: "staff";
5986
5987
  quiz: "quiz";
5987
5988
  photo: "photo";
5988
- staff: "staff";
5989
5989
  automatic: "automatic";
5990
5990
  claim: "claim";
5991
5991
  }>>;
@@ -6483,7 +6483,7 @@ declare function createRelayClient(options: {
6483
6483
  accounts: {
6484
6484
  id: string;
6485
6485
  program: string;
6486
- kind: "milestone" | "fixed" | "bonus";
6486
+ kind: "fixed" | "milestone" | "bonus";
6487
6487
  balance: string;
6488
6488
  earned: number;
6489
6489
  settled: number;
@@ -6610,7 +6610,7 @@ declare function createRelayClient(options: {
6610
6610
  } | undefined;
6611
6611
  } | undefined;
6612
6612
  };
6613
- connections: ("google" | "apple" | "x" | "discord")[];
6613
+ connections: ("discord" | "google" | "apple" | "x")[];
6614
6614
  trigger: {
6615
6615
  kind: "manual";
6616
6616
  input: "quiz" | "photo" | "none";
@@ -6673,7 +6673,7 @@ declare function createRelayClient(options: {
6673
6673
  quest: string;
6674
6674
  member: string;
6675
6675
  evidence: string | null;
6676
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
6676
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
6677
6677
  reason: string | null;
6678
6678
  retries: number;
6679
6679
  generation: number;
@@ -6715,7 +6715,7 @@ declare function createRelayClient(options: {
6715
6715
  } | undefined;
6716
6716
  } | null;
6717
6717
  release: string;
6718
- interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
6718
+ interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
6719
6719
  lifecycle: "active" | "paused" | "archived";
6720
6720
  rewards: {
6721
6721
  label: string;
@@ -6758,7 +6758,7 @@ declare function createRelayClient(options: {
6758
6758
  quest: string;
6759
6759
  member: string;
6760
6760
  evidence: string | null;
6761
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
6761
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
6762
6762
  reason: string | null;
6763
6763
  retries: number;
6764
6764
  generation: number;
@@ -6824,7 +6824,7 @@ declare function createRelayClient(options: {
6824
6824
  } | undefined;
6825
6825
  } | undefined;
6826
6826
  };
6827
- connections: ("google" | "apple" | "x" | "discord")[];
6827
+ connections: ("discord" | "google" | "apple" | "x")[];
6828
6828
  trigger: {
6829
6829
  kind: "manual";
6830
6830
  input: "quiz" | "photo" | "none";
@@ -6887,7 +6887,7 @@ declare function createRelayClient(options: {
6887
6887
  quest: string;
6888
6888
  member: string;
6889
6889
  evidence: string | null;
6890
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
6890
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
6891
6891
  reason: string | null;
6892
6892
  retries: number;
6893
6893
  generation: number;
@@ -6929,7 +6929,7 @@ declare function createRelayClient(options: {
6929
6929
  } | undefined;
6930
6930
  } | null;
6931
6931
  release: string;
6932
- interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
6932
+ interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
6933
6933
  lifecycle: "active" | "paused" | "archived";
6934
6934
  rewards: {
6935
6935
  label: string;
@@ -6992,7 +6992,7 @@ declare function createRelayClient(options: {
6992
6992
  } | undefined;
6993
6993
  } | undefined;
6994
6994
  };
6995
- connections: ("google" | "apple" | "x" | "discord")[];
6995
+ connections: ("discord" | "google" | "apple" | "x")[];
6996
6996
  trigger: {
6997
6997
  kind: "manual";
6998
6998
  input: "quiz" | "photo" | "none";
@@ -7055,7 +7055,7 @@ declare function createRelayClient(options: {
7055
7055
  quest: string;
7056
7056
  member: string;
7057
7057
  evidence: string | null;
7058
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
7058
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
7059
7059
  reason: string | null;
7060
7060
  retries: number;
7061
7061
  generation: number;
@@ -7097,7 +7097,7 @@ declare function createRelayClient(options: {
7097
7097
  } | undefined;
7098
7098
  } | null;
7099
7099
  release: string;
7100
- interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
7100
+ interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
7101
7101
  lifecycle: "active" | "paused" | "archived";
7102
7102
  rewards: {
7103
7103
  label: string;
@@ -7163,7 +7163,7 @@ declare function createRelayClient(options: {
7163
7163
  } | undefined;
7164
7164
  } | undefined;
7165
7165
  };
7166
- connections: ("google" | "apple" | "x" | "discord")[];
7166
+ connections: ("discord" | "google" | "apple" | "x")[];
7167
7167
  trigger: {
7168
7168
  kind: "manual";
7169
7169
  input: "quiz" | "photo" | "none";
@@ -7226,7 +7226,7 @@ declare function createRelayClient(options: {
7226
7226
  quest: string;
7227
7227
  member: string;
7228
7228
  evidence: string | null;
7229
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
7229
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
7230
7230
  reason: string | null;
7231
7231
  retries: number;
7232
7232
  generation: number;
@@ -7268,7 +7268,7 @@ declare function createRelayClient(options: {
7268
7268
  } | undefined;
7269
7269
  } | null;
7270
7270
  release: string;
7271
- interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
7271
+ interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
7272
7272
  lifecycle: "active" | "paused" | "archived";
7273
7273
  rewards: {
7274
7274
  label: string;
@@ -7337,7 +7337,7 @@ declare function createRelayClient(options: {
7337
7337
  auth: {
7338
7338
  providers: () => Promise<{
7339
7339
  providers: {
7340
- provider: "google" | "apple" | "x" | "discord";
7340
+ provider: "discord" | "google" | "apple" | "x";
7341
7341
  configured: boolean;
7342
7342
  }[];
7343
7343
  email: boolean;
@@ -7367,7 +7367,7 @@ declare function createRelayClient(options: {
7367
7367
  expiresAt: number;
7368
7368
  }>;
7369
7369
  accounts: () => Promise<{
7370
- provider: "google" | "apple" | "x" | "discord";
7370
+ provider: "discord" | "google" | "apple" | "x";
7371
7371
  configured: boolean;
7372
7372
  status: "disconnected" | "connected" | "reconnect";
7373
7373
  subject: string | null;
@@ -7460,7 +7460,7 @@ declare function createRelayClient(options: {
7460
7460
  quest: string;
7461
7461
  member: string;
7462
7462
  evidence: string | null;
7463
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
7463
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
7464
7464
  reason: string | null;
7465
7465
  retries: number;
7466
7466
  generation: number;
@@ -7526,7 +7526,7 @@ declare function createRelayClient(options: {
7526
7526
  } | undefined;
7527
7527
  } | undefined;
7528
7528
  };
7529
- connections: ("google" | "apple" | "x" | "discord")[];
7529
+ connections: ("discord" | "google" | "apple" | "x")[];
7530
7530
  trigger: {
7531
7531
  kind: "manual";
7532
7532
  input: "quiz" | "photo" | "none";
@@ -7589,7 +7589,7 @@ declare function createRelayClient(options: {
7589
7589
  quest: string;
7590
7590
  member: string;
7591
7591
  evidence: string | null;
7592
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
7592
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
7593
7593
  reason: string | null;
7594
7594
  retries: number;
7595
7595
  generation: number;
@@ -7750,7 +7750,7 @@ declare function createRelayClient(options: {
7750
7750
  provider: "discord";
7751
7751
  action: "grant-role";
7752
7752
  roleId: string;
7753
- status: "pending" | "failed" | "delivered";
7753
+ status: "failed" | "pending" | "delivered";
7754
7754
  attempts: number;
7755
7755
  nextAt: number;
7756
7756
  lastError: string | null;
@@ -7766,7 +7766,7 @@ declare function createRelayClient(options: {
7766
7766
  quest: string;
7767
7767
  member: string;
7768
7768
  evidence: string | null;
7769
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
7769
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
7770
7770
  reason: string | null;
7771
7771
  retries: number;
7772
7772
  generation: number;
@@ -7826,7 +7826,7 @@ declare function createRelayClient(options: {
7826
7826
  quest: string;
7827
7827
  member: string;
7828
7828
  evidence: string | null;
7829
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
7829
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
7830
7830
  reason: string | null;
7831
7831
  retries: number;
7832
7832
  generation: number;
@@ -7904,7 +7904,7 @@ declare function createRelayClient(options: {
7904
7904
  code: string;
7905
7905
  definition: {
7906
7906
  quest: string;
7907
- runtimeVersion: 1 | 2;
7907
+ runtimeVersion: 2 | 1;
7908
7908
  title: string;
7909
7909
  presentation: {
7910
7910
  quiz?: {
@@ -7941,12 +7941,12 @@ declare function createRelayClient(options: {
7941
7941
  kind: "resource";
7942
7942
  default: string;
7943
7943
  source: {
7944
+ provider: "domino";
7945
+ resource: "point-ledger";
7946
+ } | {
7944
7947
  provider: "discord";
7945
7948
  resource: "channel";
7946
7949
  types: ("text" | "announcement")[];
7947
- } | {
7948
- provider: "domino";
7949
- resource: "point-ledger";
7950
7950
  } | {
7951
7951
  provider: "discord";
7952
7952
  resource: "role";
@@ -8058,7 +8058,7 @@ declare function createRelayClient(options: {
8058
8058
  visibility: "visible" | "hidden";
8059
8059
  budgets: {
8060
8060
  id: string;
8061
- scope: "member" | "project";
8061
+ scope: "project" | "member";
8062
8062
  period: "day" | "lifetime";
8063
8063
  limit: number;
8064
8064
  cost: number | {
@@ -8072,7 +8072,7 @@ declare function createRelayClient(options: {
8072
8072
  code: string;
8073
8073
  definition: {
8074
8074
  quest: string;
8075
- runtimeVersion: 1 | 2;
8075
+ runtimeVersion: 2 | 1;
8076
8076
  title: string;
8077
8077
  presentation: {
8078
8078
  quiz?: {
@@ -8109,12 +8109,12 @@ declare function createRelayClient(options: {
8109
8109
  kind: "resource";
8110
8110
  default: string;
8111
8111
  source: {
8112
+ provider: "domino";
8113
+ resource: "point-ledger";
8114
+ } | {
8112
8115
  provider: "discord";
8113
8116
  resource: "channel";
8114
8117
  types: ("text" | "announcement")[];
8115
- } | {
8116
- provider: "domino";
8117
- resource: "point-ledger";
8118
8118
  } | {
8119
8119
  provider: "discord";
8120
8120
  resource: "role";
@@ -8226,7 +8226,7 @@ declare function createRelayClient(options: {
8226
8226
  visibility: "visible" | "hidden";
8227
8227
  budgets: {
8228
8228
  id: string;
8229
- scope: "member" | "project";
8229
+ scope: "project" | "member";
8230
8230
  period: "day" | "lifetime";
8231
8231
  limit: number;
8232
8232
  cost: number | {
@@ -8239,7 +8239,7 @@ declare function createRelayClient(options: {
8239
8239
  snapshot: () => Promise<{
8240
8240
  releases: {
8241
8241
  quest: string;
8242
- runtimeVersion: 1 | 2;
8242
+ runtimeVersion: 2 | 1;
8243
8243
  title: string;
8244
8244
  presentation: {
8245
8245
  quiz?: {
@@ -8276,12 +8276,12 @@ declare function createRelayClient(options: {
8276
8276
  kind: "resource";
8277
8277
  default: string;
8278
8278
  source: {
8279
+ provider: "domino";
8280
+ resource: "point-ledger";
8281
+ } | {
8279
8282
  provider: "discord";
8280
8283
  resource: "channel";
8281
8284
  types: ("text" | "announcement")[];
8282
- } | {
8283
- provider: "domino";
8284
- resource: "point-ledger";
8285
8285
  } | {
8286
8286
  provider: "discord";
8287
8287
  resource: "role";
@@ -8393,7 +8393,7 @@ declare function createRelayClient(options: {
8393
8393
  visibility: "visible" | "hidden";
8394
8394
  budgets: {
8395
8395
  id: string;
8396
- scope: "member" | "project";
8396
+ scope: "project" | "member";
8397
8397
  period: "day" | "lifetime";
8398
8398
  limit: number;
8399
8399
  cost: number | {
@@ -8521,7 +8521,7 @@ declare function createRelayClient(options: {
8521
8521
  quest: string;
8522
8522
  member: string;
8523
8523
  evidence: string | null;
8524
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
8524
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
8525
8525
  reason: string | null;
8526
8526
  retries: number;
8527
8527
  generation: number;
@@ -8581,7 +8581,7 @@ declare function createRelayClient(options: {
8581
8581
  /** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
8582
8582
  publish: (release: ReleaseInput) => Promise<{
8583
8583
  quest: string;
8584
- runtimeVersion: 1 | 2;
8584
+ runtimeVersion: 2 | 1;
8585
8585
  title: string;
8586
8586
  presentation: {
8587
8587
  quiz?: {
@@ -8618,12 +8618,12 @@ declare function createRelayClient(options: {
8618
8618
  kind: "resource";
8619
8619
  default: string;
8620
8620
  source: {
8621
+ provider: "domino";
8622
+ resource: "point-ledger";
8623
+ } | {
8621
8624
  provider: "discord";
8622
8625
  resource: "channel";
8623
8626
  types: ("text" | "announcement")[];
8624
- } | {
8625
- provider: "domino";
8626
- resource: "point-ledger";
8627
8627
  } | {
8628
8628
  provider: "discord";
8629
8629
  resource: "role";
@@ -8735,7 +8735,7 @@ declare function createRelayClient(options: {
8735
8735
  visibility: "visible" | "hidden";
8736
8736
  budgets: {
8737
8737
  id: string;
8738
- scope: "member" | "project";
8738
+ scope: "project" | "member";
8739
8739
  period: "day" | "lifetime";
8740
8740
  limit: number;
8741
8741
  cost: number | {
@@ -8777,7 +8777,7 @@ declare function createRelayClient(options: {
8777
8777
  /** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
8778
8778
  publishBatch: (releases: ReleaseInput[]) => Promise<{
8779
8779
  quest: string;
8780
- runtimeVersion: 1 | 2;
8780
+ runtimeVersion: 2 | 1;
8781
8781
  title: string;
8782
8782
  presentation: {
8783
8783
  quiz?: {
@@ -8814,12 +8814,12 @@ declare function createRelayClient(options: {
8814
8814
  kind: "resource";
8815
8815
  default: string;
8816
8816
  source: {
8817
+ provider: "domino";
8818
+ resource: "point-ledger";
8819
+ } | {
8817
8820
  provider: "discord";
8818
8821
  resource: "channel";
8819
8822
  types: ("text" | "announcement")[];
8820
- } | {
8821
- provider: "domino";
8822
- resource: "point-ledger";
8823
8823
  } | {
8824
8824
  provider: "discord";
8825
8825
  resource: "role";
@@ -8931,7 +8931,7 @@ declare function createRelayClient(options: {
8931
8931
  visibility: "visible" | "hidden";
8932
8932
  budgets: {
8933
8933
  id: string;
8934
- scope: "member" | "project";
8934
+ scope: "project" | "member";
8935
8935
  period: "day" | "lifetime";
8936
8936
  limit: number;
8937
8937
  cost: number | {
@@ -8995,7 +8995,7 @@ declare function createRelayClient(options: {
8995
8995
  } | undefined;
8996
8996
  } | undefined;
8997
8997
  };
8998
- connections: ("google" | "apple" | "x" | "discord")[];
8998
+ connections: ("discord" | "google" | "apple" | "x")[];
8999
8999
  trigger: {
9000
9000
  kind: "manual";
9001
9001
  input: "quiz" | "photo" | "none";
@@ -9058,7 +9058,7 @@ declare function createRelayClient(options: {
9058
9058
  quest: string;
9059
9059
  member: string;
9060
9060
  evidence: string | null;
9061
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
9061
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9062
9062
  reason: string | null;
9063
9063
  retries: number;
9064
9064
  generation: number;
@@ -9381,7 +9381,7 @@ declare function createRelayClient(options: {
9381
9381
  quest: string;
9382
9382
  member: string;
9383
9383
  evidence: string | null;
9384
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
9384
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9385
9385
  reason: string | null;
9386
9386
  retries: number;
9387
9387
  generation: number;
@@ -9428,7 +9428,7 @@ declare function createRelayClient(options: {
9428
9428
  quest: string;
9429
9429
  member: string;
9430
9430
  evidence: string | null;
9431
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
9431
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9432
9432
  reason: string | null;
9433
9433
  retries: number;
9434
9434
  generation: number;
@@ -9481,7 +9481,7 @@ declare function createRelayClient(options: {
9481
9481
  quest: string;
9482
9482
  member: string;
9483
9483
  evidence: string | null;
9484
- status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
9484
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9485
9485
  reason: string | null;
9486
9486
  retries: number;
9487
9487
  generation: number;