@domino-sdk/relay 0.8.0 → 0.9.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.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { errorSchema, QuizEvidence, Attempt, SubmitInput, MemberProgress, questDescriptionSchema, PublishedRelease, ReviewListOptions, MemberListOptions, ReleaseInput, beginHandoverSchema } from './schema.js';
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, submitSchema, templateSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema } from './schema.js';
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
4
  import { r as referralAcceptSchema, L as LeaderboardQuery, w as walletChallengeInputSchema, e as walletProofSchema, f as AuthProvider } from './settings-BA8XjT4m.js';
5
5
  export { g as AccountConnection, B as Budget, D as DiscordMember, a as DiscordMessage, I as IntegrationProvider, h as LeaderboardDefinition, i as LeaderboardPage, O as Observation, P as ProjectIntegration, Q as QuizContent, R as ReferralDefinition, j as ResourceOption, k as ResourceSource, l as SettingField, m as SettingsValues, S as SolanaBalance, W as WalletConnection, n as accountConnectionSchema, q as authProviderSchema, t as budgetSchema, u as compatibleSettingKinds, v as completionKeySchema, x as completionPolicySchema, d as defineLeaderboard, b as defineReferral, c as discord, y as discordMemberInputSchema, z as discordMemberSchema, C as discordMessageInputSchema, E as discordMessageSchema, F as discordReactionSchema, G as discordServerSchema, H as integrationProviderSchema, J as leaderboardArtifactSchema, K as leaderboardAuthoringSchema, M as leaderboardDefinitionSchema, N as leaderboardExclusionSchema, T as leaderboardGroupSchema, U as leaderboardPageSchema, V as leaderboardPreviewSchema, X as leaderboardQuerySchema, Y as leaderboardRowSchema, Z as leaderboardWindowSchema, _ as missingResourceSettings, $ as observationInputSchema, a0 as observationReceiptSchema, a1 as observationSchema, o as observationTriggerSchema, a2 as parseSettings, p as pointLedgers, a3 as pointsAccountSchema, a4 as pointsEntrySchema, a5 as pointsMutationSchema, a6 as pointsResultSchema, a7 as projectIntegrationSchema, a8 as publishedLeaderboardSchema, a9 as publishedReferralSchema, aa as quizChoiceSchema, ab as quizContentSchema, ac as quizQuestionSchema, ad as quizQuestionsSchema, ae as referralAccountSchema, af as referralArtifactSchema, ag as referralAuthoringSchema, ah as referralControlSchema, ai as referralDefinitionSchema, aj as referralHistorySchema, ak as referralManagementSchema, al as referralRelationshipSchema, am as referralSummarySchema, an as resourceOptionsSchema, ao as resourceRequestSchema, ap as resourceSourceSchema, aq as settingFieldSchema, s as settings, ar as settingsFieldsSchema, as as settingsValuesSchema, at as solanaAddressSchema, au as solanaBalanceSchema, av as walletChallengeSchema, aw as walletConnectionSchema } from './settings-BA8XjT4m.js';
6
6
 
@@ -190,9 +190,9 @@ type ProgressObserver = {
190
190
  };
191
191
 
192
192
  declare const interactionSchema: z.ZodEnum<{
193
- staff: "staff";
194
193
  quiz: "quiz";
195
194
  photo: "photo";
195
+ staff: "staff";
196
196
  automatic: "automatic";
197
197
  claim: "claim";
198
198
  }>;
@@ -371,8 +371,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
371
371
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
372
372
  id: z.ZodString;
373
373
  scope: z.ZodEnum<{
374
- project: "project";
375
374
  member: "member";
375
+ project: "project";
376
376
  }>;
377
377
  period: z.ZodEnum<{
378
378
  lifetime: "lifetime";
@@ -385,11 +385,11 @@ declare const questTypeVersionSchema: z.ZodObject<{
385
385
  }, z.core.$strict>>>;
386
386
  }, z.core.$strict>;
387
387
  provider: z.ZodEnum<{
388
+ "workers-ai": "workers-ai";
388
389
  "fixture-pass": "fixture-pass";
389
390
  "fixture-fail": "fixture-fail";
390
391
  "fixture-unclear": "fixture-unclear";
391
392
  "fixture-error": "fixture-error";
392
- "workers-ai": "workers-ai";
393
393
  }>;
394
394
  createdAt: z.ZodNumber;
395
395
  }, z.core.$strip>;
@@ -406,7 +406,7 @@ declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
406
406
  title: string;
407
407
  key?: string | undefined;
408
408
  id?: string | undefined;
409
- }, "id" | "key"> & {
409
+ }, "key" | "id"> & {
410
410
  key: string;
411
411
  }, {
412
412
  title: string;
@@ -713,8 +713,8 @@ declare const questCatalogSchema: z.ZodObject<{
713
713
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
714
714
  id: z.ZodString;
715
715
  scope: z.ZodEnum<{
716
- project: "project";
717
716
  member: "member";
717
+ project: "project";
718
718
  }>;
719
719
  period: z.ZodEnum<{
720
720
  lifetime: "lifetime";
@@ -727,11 +727,11 @@ declare const questCatalogSchema: z.ZodObject<{
727
727
  }, z.core.$strict>>>;
728
728
  }, z.core.$strict>;
729
729
  provider: z.ZodEnum<{
730
+ "workers-ai": "workers-ai";
730
731
  "fixture-pass": "fixture-pass";
731
732
  "fixture-fail": "fixture-fail";
732
733
  "fixture-unclear": "fixture-unclear";
733
734
  "fixture-error": "fixture-error";
734
- "workers-ai": "workers-ai";
735
735
  }>;
736
736
  createdAt: z.ZodNumber;
737
737
  }, z.core.$strip>>;
@@ -999,8 +999,8 @@ declare const questCatalogSchema: z.ZodObject<{
999
999
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1000
1000
  id: z.ZodString;
1001
1001
  scope: z.ZodEnum<{
1002
- project: "project";
1003
1002
  member: "member";
1003
+ project: "project";
1004
1004
  }>;
1005
1005
  period: z.ZodEnum<{
1006
1006
  lifetime: "lifetime";
@@ -1014,11 +1014,11 @@ declare const questCatalogSchema: z.ZodObject<{
1014
1014
  key: z.ZodOptional<z.ZodString>;
1015
1015
  code: z.ZodString;
1016
1016
  provider: z.ZodEnum<{
1017
+ "workers-ai": "workers-ai";
1017
1018
  "fixture-pass": "fixture-pass";
1018
1019
  "fixture-fail": "fixture-fail";
1019
1020
  "fixture-unclear": "fixture-unclear";
1020
1021
  "fixture-error": "fixture-error";
1021
- "workers-ai": "workers-ai";
1022
1022
  }>;
1023
1023
  id: z.ZodString;
1024
1024
  createdAt: z.ZodNumber;
@@ -1086,17 +1086,17 @@ declare const questCatalogSchema: z.ZodObject<{
1086
1086
  }, z.core.$strict>]>>;
1087
1087
  code: z.ZodString;
1088
1088
  provider: z.ZodEnum<{
1089
+ "workers-ai": "workers-ai";
1089
1090
  "fixture-pass": "fixture-pass";
1090
1091
  "fixture-fail": "fixture-fail";
1091
1092
  "fixture-unclear": "fixture-unclear";
1092
1093
  "fixture-error": "fixture-error";
1093
- "workers-ai": "workers-ai";
1094
1094
  }>;
1095
1095
  id: z.ZodString;
1096
1096
  createdAt: z.ZodNumber;
1097
1097
  }, z.core.$strip>, z.ZodTransform<{
1098
1098
  quest: string;
1099
- runtimeVersion: 2 | 1;
1099
+ runtimeVersion: 1 | 2;
1100
1100
  title: string;
1101
1101
  presentation: {
1102
1102
  quiz?: {
@@ -1246,7 +1246,7 @@ declare const questCatalogSchema: z.ZodObject<{
1246
1246
  visibility: "visible" | "hidden";
1247
1247
  budgets: {
1248
1248
  id: string;
1249
- scope: "project" | "member";
1249
+ scope: "member" | "project";
1250
1250
  period: "lifetime" | "day";
1251
1251
  limit: number;
1252
1252
  cost: number | {
@@ -1254,7 +1254,7 @@ declare const questCatalogSchema: z.ZodObject<{
1254
1254
  };
1255
1255
  }[];
1256
1256
  code: string;
1257
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
1257
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
1258
1258
  id: string;
1259
1259
  createdAt: number;
1260
1260
  legacy: boolean;
@@ -1317,14 +1317,14 @@ declare const questCatalogSchema: z.ZodObject<{
1317
1317
  roleId: string;
1318
1318
  })[];
1319
1319
  code: string;
1320
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
1320
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
1321
1321
  id: string;
1322
1322
  createdAt: number;
1323
1323
  }>>]>>>;
1324
1324
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1325
- staff: "staff";
1326
1325
  quiz: "quiz";
1327
1326
  photo: "photo";
1327
+ staff: "staff";
1328
1328
  automatic: "automatic";
1329
1329
  claim: "claim";
1330
1330
  }>>;
@@ -1334,10 +1334,6 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1334
1334
  types: z.ZodDefault<z.ZodArray<z.ZodObject<{
1335
1335
  code: z.ZodString;
1336
1336
  provider: z.ZodEnum<{
1337
- "fixture-pass": "fixture-pass";
1338
- "fixture-fail": "fixture-fail";
1339
- "fixture-unclear": "fixture-unclear";
1340
- "fixture-error": "fixture-error";
1341
1337
  "workers-ai": "workers-ai";
1342
1338
  }>;
1343
1339
  }, z.core.$strip>>>;
@@ -1349,7 +1345,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1349
1345
  title: string;
1350
1346
  key?: string | undefined;
1351
1347
  id?: string | undefined;
1352
- }, "id" | "key"> & {
1348
+ }, "key" | "id"> & {
1353
1349
  key: string;
1354
1350
  }, {
1355
1351
  title: string;
@@ -1357,9 +1353,9 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1357
1353
  id?: string | undefined;
1358
1354
  }>>>>;
1359
1355
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1360
- staff: "staff";
1361
1356
  quiz: "quiz";
1362
1357
  photo: "photo";
1358
+ staff: "staff";
1363
1359
  automatic: "automatic";
1364
1360
  claim: "claim";
1365
1361
  }>>>;
@@ -1539,8 +1535,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1539
1535
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1540
1536
  id: z.ZodString;
1541
1537
  scope: z.ZodEnum<{
1542
- project: "project";
1543
1538
  member: "member";
1539
+ project: "project";
1544
1540
  }>;
1545
1541
  period: z.ZodEnum<{
1546
1542
  lifetime: "lifetime";
@@ -1553,11 +1549,11 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1553
1549
  }, z.core.$strict>>>;
1554
1550
  }, z.core.$strict>;
1555
1551
  provider: z.ZodEnum<{
1552
+ "workers-ai": "workers-ai";
1556
1553
  "fixture-pass": "fixture-pass";
1557
1554
  "fixture-fail": "fixture-fail";
1558
1555
  "fixture-unclear": "fixture-unclear";
1559
1556
  "fixture-error": "fixture-error";
1560
- "workers-ai": "workers-ai";
1561
1557
  }>;
1562
1558
  createdAt: z.ZodNumber;
1563
1559
  }, z.core.$strip>>;
@@ -1567,9 +1563,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1567
1563
  title: z.ZodString;
1568
1564
  }, z.core.$strict>>;
1569
1565
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1570
- staff: "staff";
1571
1566
  quiz: "quiz";
1572
1567
  photo: "photo";
1568
+ staff: "staff";
1573
1569
  automatic: "automatic";
1574
1570
  claim: "claim";
1575
1571
  }>>;
@@ -1638,10 +1634,10 @@ declare const questViewSchema: z.ZodObject<{
1638
1634
  }, z.core.$strict>>;
1639
1635
  }, z.core.$strict>>;
1640
1636
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1641
- discord: "discord";
1642
1637
  google: "google";
1643
1638
  apple: "apple";
1644
1639
  x: "x";
1640
+ discord: "discord";
1645
1641
  }>>>;
1646
1642
  trigger: z.ZodUnion<readonly [z.ZodObject<{
1647
1643
  kind: z.ZodLiteral<"manual">;
@@ -1723,11 +1719,11 @@ declare const questViewSchema: z.ZodObject<{
1723
1719
  }, Record<string, string>>>;
1724
1720
  }, z.core.$strict>>;
1725
1721
  status: z.ZodEnum<{
1722
+ "needs-review": "needs-review";
1726
1723
  queued: "queued";
1727
1724
  evaluating: "evaluating";
1728
1725
  accepted: "accepted";
1729
1726
  rejected: "rejected";
1730
- "needs-review": "needs-review";
1731
1727
  failed: "failed";
1732
1728
  }>;
1733
1729
  reason: z.ZodNullable<z.ZodString>;
@@ -1765,9 +1761,9 @@ declare const questViewSchema: z.ZodObject<{
1765
1761
  }, z.core.$strip>>;
1766
1762
  release: z.ZodString;
1767
1763
  interaction: z.ZodEnum<{
1768
- staff: "staff";
1769
1764
  quiz: "quiz";
1770
1765
  photo: "photo";
1766
+ staff: "staff";
1771
1767
  automatic: "automatic";
1772
1768
  claim: "claim";
1773
1769
  }>;
@@ -1809,10 +1805,10 @@ declare const collectionViewSchema: z.ZodObject<{
1809
1805
  }, z.core.$strict>>;
1810
1806
  }, z.core.$strict>>;
1811
1807
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1812
- discord: "discord";
1813
1808
  google: "google";
1814
1809
  apple: "apple";
1815
1810
  x: "x";
1811
+ discord: "discord";
1816
1812
  }>>>;
1817
1813
  trigger: z.ZodUnion<readonly [z.ZodObject<{
1818
1814
  kind: z.ZodLiteral<"manual">;
@@ -1894,11 +1890,11 @@ declare const collectionViewSchema: z.ZodObject<{
1894
1890
  }, Record<string, string>>>;
1895
1891
  }, z.core.$strict>>;
1896
1892
  status: z.ZodEnum<{
1893
+ "needs-review": "needs-review";
1897
1894
  queued: "queued";
1898
1895
  evaluating: "evaluating";
1899
1896
  accepted: "accepted";
1900
1897
  rejected: "rejected";
1901
- "needs-review": "needs-review";
1902
1898
  failed: "failed";
1903
1899
  }>;
1904
1900
  reason: z.ZodNullable<z.ZodString>;
@@ -1936,9 +1932,9 @@ declare const collectionViewSchema: z.ZodObject<{
1936
1932
  }, z.core.$strip>>;
1937
1933
  release: z.ZodString;
1938
1934
  interaction: z.ZodEnum<{
1939
- staff: "staff";
1940
1935
  quiz: "quiz";
1941
1936
  photo: "photo";
1937
+ staff: "staff";
1942
1938
  automatic: "automatic";
1943
1939
  claim: "claim";
1944
1940
  }>;
@@ -1979,10 +1975,10 @@ declare const questExperienceSchema: z.ZodObject<{
1979
1975
  }, z.core.$strict>>;
1980
1976
  }, z.core.$strict>>;
1981
1977
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1982
- discord: "discord";
1983
1978
  google: "google";
1984
1979
  apple: "apple";
1985
1980
  x: "x";
1981
+ discord: "discord";
1986
1982
  }>>>;
1987
1983
  trigger: z.ZodUnion<readonly [z.ZodObject<{
1988
1984
  kind: z.ZodLiteral<"manual">;
@@ -2064,11 +2060,11 @@ declare const questExperienceSchema: z.ZodObject<{
2064
2060
  }, Record<string, string>>>;
2065
2061
  }, z.core.$strict>>;
2066
2062
  status: z.ZodEnum<{
2063
+ "needs-review": "needs-review";
2067
2064
  queued: "queued";
2068
2065
  evaluating: "evaluating";
2069
2066
  accepted: "accepted";
2070
2067
  rejected: "rejected";
2071
- "needs-review": "needs-review";
2072
2068
  failed: "failed";
2073
2069
  }>;
2074
2070
  reason: z.ZodNullable<z.ZodString>;
@@ -2106,9 +2102,9 @@ declare const questExperienceSchema: z.ZodObject<{
2106
2102
  }, z.core.$strip>>;
2107
2103
  release: z.ZodString;
2108
2104
  interaction: z.ZodEnum<{
2109
- staff: "staff";
2110
2105
  quiz: "quiz";
2111
2106
  photo: "photo";
2107
+ staff: "staff";
2112
2108
  automatic: "automatic";
2113
2109
  claim: "claim";
2114
2110
  }>;
@@ -2150,10 +2146,10 @@ declare const questExperienceSchema: z.ZodObject<{
2150
2146
  }, z.core.$strict>>;
2151
2147
  }, z.core.$strict>>;
2152
2148
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2153
- discord: "discord";
2154
2149
  google: "google";
2155
2150
  apple: "apple";
2156
2151
  x: "x";
2152
+ discord: "discord";
2157
2153
  }>>>;
2158
2154
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2159
2155
  kind: z.ZodLiteral<"manual">;
@@ -2235,11 +2231,11 @@ declare const questExperienceSchema: z.ZodObject<{
2235
2231
  }, Record<string, string>>>;
2236
2232
  }, z.core.$strict>>;
2237
2233
  status: z.ZodEnum<{
2234
+ "needs-review": "needs-review";
2238
2235
  queued: "queued";
2239
2236
  evaluating: "evaluating";
2240
2237
  accepted: "accepted";
2241
2238
  rejected: "rejected";
2242
- "needs-review": "needs-review";
2243
2239
  failed: "failed";
2244
2240
  }>;
2245
2241
  reason: z.ZodNullable<z.ZodString>;
@@ -2277,9 +2273,9 @@ declare const questExperienceSchema: z.ZodObject<{
2277
2273
  }, z.core.$strip>>;
2278
2274
  release: z.ZodString;
2279
2275
  interaction: z.ZodEnum<{
2280
- staff: "staff";
2281
2276
  quiz: "quiz";
2282
2277
  photo: "photo";
2278
+ staff: "staff";
2283
2279
  automatic: "automatic";
2284
2280
  claim: "claim";
2285
2281
  }>;
@@ -2537,8 +2533,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2537
2533
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
2538
2534
  id: z.ZodString;
2539
2535
  scope: z.ZodEnum<{
2540
- project: "project";
2541
2536
  member: "member";
2537
+ project: "project";
2542
2538
  }>;
2543
2539
  period: z.ZodEnum<{
2544
2540
  lifetime: "lifetime";
@@ -2552,11 +2548,11 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2552
2548
  key: z.ZodOptional<z.ZodString>;
2553
2549
  code: z.ZodString;
2554
2550
  provider: z.ZodEnum<{
2551
+ "workers-ai": "workers-ai";
2555
2552
  "fixture-pass": "fixture-pass";
2556
2553
  "fixture-fail": "fixture-fail";
2557
2554
  "fixture-unclear": "fixture-unclear";
2558
2555
  "fixture-error": "fixture-error";
2559
- "workers-ai": "workers-ai";
2560
2556
  }>;
2561
2557
  id: z.ZodString;
2562
2558
  createdAt: z.ZodNumber;
@@ -2624,17 +2620,17 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2624
2620
  }, z.core.$strict>]>>;
2625
2621
  code: z.ZodString;
2626
2622
  provider: z.ZodEnum<{
2623
+ "workers-ai": "workers-ai";
2627
2624
  "fixture-pass": "fixture-pass";
2628
2625
  "fixture-fail": "fixture-fail";
2629
2626
  "fixture-unclear": "fixture-unclear";
2630
2627
  "fixture-error": "fixture-error";
2631
- "workers-ai": "workers-ai";
2632
2628
  }>;
2633
2629
  id: z.ZodString;
2634
2630
  createdAt: z.ZodNumber;
2635
2631
  }, z.core.$strip>, z.ZodTransform<{
2636
2632
  quest: string;
2637
- runtimeVersion: 2 | 1;
2633
+ runtimeVersion: 1 | 2;
2638
2634
  title: string;
2639
2635
  presentation: {
2640
2636
  quiz?: {
@@ -2784,7 +2780,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2784
2780
  visibility: "visible" | "hidden";
2785
2781
  budgets: {
2786
2782
  id: string;
2787
- scope: "project" | "member";
2783
+ scope: "member" | "project";
2788
2784
  period: "lifetime" | "day";
2789
2785
  limit: number;
2790
2786
  cost: number | {
@@ -2792,7 +2788,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2792
2788
  };
2793
2789
  }[];
2794
2790
  code: string;
2795
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
2791
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
2796
2792
  id: string;
2797
2793
  createdAt: number;
2798
2794
  legacy: boolean;
@@ -2855,7 +2851,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2855
2851
  roleId: string;
2856
2852
  })[];
2857
2853
  code: string;
2858
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
2854
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
2859
2855
  id: string;
2860
2856
  createdAt: number;
2861
2857
  }>>]>>;
@@ -3101,16 +3097,6 @@ declare function questConfiguration(release: PublishedRelease): {
3101
3097
 
3102
3098
  /** Non-quest resources in the private hosted-build catalog artifact. */
3103
3099
  declare const projectCatalogArtifactSchema: z.ZodObject<{
3104
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
3105
- code: z.ZodString;
3106
- provider: z.ZodEnum<{
3107
- "fixture-pass": "fixture-pass";
3108
- "fixture-fail": "fixture-fail";
3109
- "fixture-unclear": "fixture-unclear";
3110
- "fixture-error": "fixture-error";
3111
- "workers-ai": "workers-ai";
3112
- }>;
3113
- }, z.core.$strip>>>;
3114
3100
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
3115
3101
  title: z.ZodString;
3116
3102
  key: z.ZodOptional<z.ZodString>;
@@ -3119,17 +3105,23 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3119
3105
  title: string;
3120
3106
  key?: string | undefined;
3121
3107
  id?: string | undefined;
3122
- }, "id" | "key"> & {
3108
+ }, "key" | "id"> & {
3123
3109
  key: string;
3124
3110
  }, {
3125
3111
  title: string;
3126
3112
  key?: string | undefined;
3127
3113
  id?: string | undefined;
3128
3114
  }>>>>;
3115
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
3116
+ code: z.ZodString;
3117
+ provider: z.ZodEnum<{
3118
+ "workers-ai": "workers-ai";
3119
+ }>;
3120
+ }, z.core.$strip>>>;
3129
3121
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3130
- staff: "staff";
3131
3122
  quiz: "quiz";
3132
3123
  photo: "photo";
3124
+ staff: "staff";
3133
3125
  automatic: "automatic";
3134
3126
  claim: "claim";
3135
3127
  }>>>;
@@ -3328,7 +3320,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3328
3320
  inviterGroup?: string | undefined;
3329
3321
  key?: string | undefined;
3330
3322
  id?: string | undefined;
3331
- }, "id" | "key"> & {
3323
+ }, "key" | "id"> & {
3332
3324
  key: string;
3333
3325
  }, {
3334
3326
  title: string;
@@ -3429,9 +3421,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3429
3421
  code: z.ZodString;
3430
3422
  }, z.core.$strict>]>>>;
3431
3423
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
3424
+ title: z.ZodString;
3432
3425
  balance: z.ZodString;
3433
3426
  group: z.ZodOptional<z.ZodString>;
3434
- title: z.ZodString;
3435
3427
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
3436
3428
  kind: z.ZodLiteral<"balance">;
3437
3429
  }, z.core.$strict>, z.ZodObject<{
@@ -3483,8 +3475,8 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3483
3475
  key: z.ZodOptional<z.ZodString>;
3484
3476
  id: z.ZodOptional<z.ZodString>;
3485
3477
  }, z.core.$strict>, z.ZodTransform<Omit<{
3486
- balance: string;
3487
3478
  title: string;
3479
+ balance: string;
3488
3480
  score: {
3489
3481
  kind: "balance";
3490
3482
  } | {
@@ -3525,11 +3517,11 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3525
3517
  group?: string | undefined;
3526
3518
  key?: string | undefined;
3527
3519
  id?: string | undefined;
3528
- }, "id" | "key"> & {
3520
+ }, "key" | "id"> & {
3529
3521
  key: string;
3530
3522
  }, {
3531
- balance: string;
3532
3523
  title: string;
3524
+ balance: string;
3533
3525
  score: {
3534
3526
  kind: "balance";
3535
3527
  } | {
@@ -3576,16 +3568,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3576
3568
  }, z.core.$strict>;
3577
3569
  /** One manifest bundle. Missing entries never delete remotely owned resources. */
3578
3570
  declare const projectDeploymentSchema: z.ZodObject<{
3579
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
3580
- code: z.ZodString;
3581
- provider: z.ZodEnum<{
3582
- "fixture-pass": "fixture-pass";
3583
- "fixture-fail": "fixture-fail";
3584
- "fixture-unclear": "fixture-unclear";
3585
- "fixture-error": "fixture-error";
3586
- "workers-ai": "workers-ai";
3587
- }>;
3588
- }, z.core.$strip>>>;
3589
3571
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
3590
3572
  title: z.ZodString;
3591
3573
  key: z.ZodOptional<z.ZodString>;
@@ -3594,17 +3576,23 @@ declare const projectDeploymentSchema: z.ZodObject<{
3594
3576
  title: string;
3595
3577
  key?: string | undefined;
3596
3578
  id?: string | undefined;
3597
- }, "id" | "key"> & {
3579
+ }, "key" | "id"> & {
3598
3580
  key: string;
3599
3581
  }, {
3600
3582
  title: string;
3601
3583
  key?: string | undefined;
3602
3584
  id?: string | undefined;
3603
3585
  }>>>>;
3586
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
3587
+ code: z.ZodString;
3588
+ provider: z.ZodEnum<{
3589
+ "workers-ai": "workers-ai";
3590
+ }>;
3591
+ }, z.core.$strip>>>;
3604
3592
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3605
- staff: "staff";
3606
3593
  quiz: "quiz";
3607
3594
  photo: "photo";
3595
+ staff: "staff";
3608
3596
  automatic: "automatic";
3609
3597
  claim: "claim";
3610
3598
  }>>>;
@@ -3803,7 +3791,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
3803
3791
  inviterGroup?: string | undefined;
3804
3792
  key?: string | undefined;
3805
3793
  id?: string | undefined;
3806
- }, "id" | "key"> & {
3794
+ }, "key" | "id"> & {
3807
3795
  key: string;
3808
3796
  }, {
3809
3797
  title: string;
@@ -3904,9 +3892,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
3904
3892
  code: z.ZodString;
3905
3893
  }, z.core.$strict>]>>>;
3906
3894
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
3895
+ title: z.ZodString;
3907
3896
  balance: z.ZodString;
3908
3897
  group: z.ZodOptional<z.ZodString>;
3909
- title: z.ZodString;
3910
3898
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
3911
3899
  kind: z.ZodLiteral<"balance">;
3912
3900
  }, z.core.$strict>, z.ZodObject<{
@@ -3958,8 +3946,8 @@ declare const projectDeploymentSchema: z.ZodObject<{
3958
3946
  key: z.ZodOptional<z.ZodString>;
3959
3947
  id: z.ZodOptional<z.ZodString>;
3960
3948
  }, z.core.$strict>, z.ZodTransform<Omit<{
3961
- balance: string;
3962
3949
  title: string;
3950
+ balance: string;
3963
3951
  score: {
3964
3952
  kind: "balance";
3965
3953
  } | {
@@ -4000,11 +3988,11 @@ declare const projectDeploymentSchema: z.ZodObject<{
4000
3988
  group?: string | undefined;
4001
3989
  key?: string | undefined;
4002
3990
  id?: string | undefined;
4003
- }, "id" | "key"> & {
3991
+ }, "key" | "id"> & {
4004
3992
  key: string;
4005
3993
  }, {
4006
- balance: string;
4007
3994
  title: string;
3995
+ balance: string;
4008
3996
  score: {
4009
3997
  kind: "balance";
4010
3998
  } | {
@@ -4060,10 +4048,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
4060
4048
  correct: z.ZodString;
4061
4049
  }, z.core.$strict>>]>>;
4062
4050
  provider: z.ZodEnum<{
4063
- "fixture-pass": "fixture-pass";
4064
- "fixture-fail": "fixture-fail";
4065
- "fixture-unclear": "fixture-unclear";
4066
- "fixture-error": "fixture-error";
4067
4051
  "workers-ai": "workers-ai";
4068
4052
  }>;
4069
4053
  expectedRelease: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4246,8 +4230,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4246
4230
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
4247
4231
  id: z.ZodString;
4248
4232
  scope: z.ZodEnum<{
4249
- project: "project";
4250
4233
  member: "member";
4234
+ project: "project";
4251
4235
  }>;
4252
4236
  period: z.ZodEnum<{
4253
4237
  lifetime: "lifetime";
@@ -4261,11 +4245,11 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4261
4245
  key: z.ZodOptional<z.ZodString>;
4262
4246
  code: z.ZodString;
4263
4247
  provider: z.ZodEnum<{
4248
+ "workers-ai": "workers-ai";
4264
4249
  "fixture-pass": "fixture-pass";
4265
4250
  "fixture-fail": "fixture-fail";
4266
4251
  "fixture-unclear": "fixture-unclear";
4267
4252
  "fixture-error": "fixture-error";
4268
- "workers-ai": "workers-ai";
4269
4253
  }>;
4270
4254
  id: z.ZodString;
4271
4255
  createdAt: z.ZodNumber;
@@ -4333,17 +4317,17 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4333
4317
  }, z.core.$strict>]>>;
4334
4318
  code: z.ZodString;
4335
4319
  provider: z.ZodEnum<{
4320
+ "workers-ai": "workers-ai";
4336
4321
  "fixture-pass": "fixture-pass";
4337
4322
  "fixture-fail": "fixture-fail";
4338
4323
  "fixture-unclear": "fixture-unclear";
4339
4324
  "fixture-error": "fixture-error";
4340
- "workers-ai": "workers-ai";
4341
4325
  }>;
4342
4326
  id: z.ZodString;
4343
4327
  createdAt: z.ZodNumber;
4344
4328
  }, z.core.$strip>, z.ZodTransform<{
4345
4329
  quest: string;
4346
- runtimeVersion: 2 | 1;
4330
+ runtimeVersion: 1 | 2;
4347
4331
  title: string;
4348
4332
  presentation: {
4349
4333
  quiz?: {
@@ -4493,7 +4477,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4493
4477
  visibility: "visible" | "hidden";
4494
4478
  budgets: {
4495
4479
  id: string;
4496
- scope: "project" | "member";
4480
+ scope: "member" | "project";
4497
4481
  period: "lifetime" | "day";
4498
4482
  limit: number;
4499
4483
  cost: number | {
@@ -4501,7 +4485,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4501
4485
  };
4502
4486
  }[];
4503
4487
  code: string;
4504
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
4488
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
4505
4489
  id: string;
4506
4490
  createdAt: number;
4507
4491
  legacy: boolean;
@@ -4564,7 +4548,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4564
4548
  roleId: string;
4565
4549
  })[];
4566
4550
  code: string;
4567
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
4551
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
4568
4552
  id: string;
4569
4553
  createdAt: number;
4570
4554
  }>>]>>;
@@ -4741,8 +4725,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4741
4725
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
4742
4726
  id: z.ZodString;
4743
4727
  scope: z.ZodEnum<{
4744
- project: "project";
4745
4728
  member: "member";
4729
+ project: "project";
4746
4730
  }>;
4747
4731
  period: z.ZodEnum<{
4748
4732
  lifetime: "lifetime";
@@ -4755,11 +4739,11 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4755
4739
  }, z.core.$strict>>>;
4756
4740
  }, z.core.$strict>;
4757
4741
  provider: z.ZodEnum<{
4742
+ "workers-ai": "workers-ai";
4758
4743
  "fixture-pass": "fixture-pass";
4759
4744
  "fixture-fail": "fixture-fail";
4760
4745
  "fixture-unclear": "fixture-unclear";
4761
4746
  "fixture-error": "fixture-error";
4762
- "workers-ai": "workers-ai";
4763
4747
  }>;
4764
4748
  createdAt: z.ZodNumber;
4765
4749
  }, z.core.$strip>>;
@@ -4770,9 +4754,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4770
4754
  quests: z.ZodArray<z.ZodString>;
4771
4755
  }, z.core.$strict>>;
4772
4756
  supportedInteractions: z.ZodArray<z.ZodEnum<{
4773
- staff: "staff";
4774
4757
  quiz: "quiz";
4775
4758
  photo: "photo";
4759
+ staff: "staff";
4776
4760
  automatic: "automatic";
4777
4761
  claim: "claim";
4778
4762
  }>>;
@@ -5197,8 +5181,8 @@ declare const deploymentResultSchema: z.ZodObject<{
5197
5181
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
5198
5182
  id: z.ZodString;
5199
5183
  scope: z.ZodEnum<{
5200
- project: "project";
5201
5184
  member: "member";
5185
+ project: "project";
5202
5186
  }>;
5203
5187
  period: z.ZodEnum<{
5204
5188
  lifetime: "lifetime";
@@ -5212,11 +5196,11 @@ declare const deploymentResultSchema: z.ZodObject<{
5212
5196
  key: z.ZodOptional<z.ZodString>;
5213
5197
  code: z.ZodString;
5214
5198
  provider: z.ZodEnum<{
5199
+ "workers-ai": "workers-ai";
5215
5200
  "fixture-pass": "fixture-pass";
5216
5201
  "fixture-fail": "fixture-fail";
5217
5202
  "fixture-unclear": "fixture-unclear";
5218
5203
  "fixture-error": "fixture-error";
5219
- "workers-ai": "workers-ai";
5220
5204
  }>;
5221
5205
  id: z.ZodString;
5222
5206
  createdAt: z.ZodNumber;
@@ -5284,17 +5268,17 @@ declare const deploymentResultSchema: z.ZodObject<{
5284
5268
  }, z.core.$strict>]>>;
5285
5269
  code: z.ZodString;
5286
5270
  provider: z.ZodEnum<{
5271
+ "workers-ai": "workers-ai";
5287
5272
  "fixture-pass": "fixture-pass";
5288
5273
  "fixture-fail": "fixture-fail";
5289
5274
  "fixture-unclear": "fixture-unclear";
5290
5275
  "fixture-error": "fixture-error";
5291
- "workers-ai": "workers-ai";
5292
5276
  }>;
5293
5277
  id: z.ZodString;
5294
5278
  createdAt: z.ZodNumber;
5295
5279
  }, z.core.$strip>, z.ZodTransform<{
5296
5280
  quest: string;
5297
- runtimeVersion: 2 | 1;
5281
+ runtimeVersion: 1 | 2;
5298
5282
  title: string;
5299
5283
  presentation: {
5300
5284
  quiz?: {
@@ -5444,7 +5428,7 @@ declare const deploymentResultSchema: z.ZodObject<{
5444
5428
  visibility: "visible" | "hidden";
5445
5429
  budgets: {
5446
5430
  id: string;
5447
- scope: "project" | "member";
5431
+ scope: "member" | "project";
5448
5432
  period: "lifetime" | "day";
5449
5433
  limit: number;
5450
5434
  cost: number | {
@@ -5452,7 +5436,7 @@ declare const deploymentResultSchema: z.ZodObject<{
5452
5436
  };
5453
5437
  }[];
5454
5438
  code: string;
5455
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
5439
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
5456
5440
  id: string;
5457
5441
  createdAt: number;
5458
5442
  legacy: boolean;
@@ -5515,7 +5499,7 @@ declare const deploymentResultSchema: z.ZodObject<{
5515
5499
  roleId: string;
5516
5500
  })[];
5517
5501
  code: string;
5518
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
5502
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
5519
5503
  id: string;
5520
5504
  createdAt: number;
5521
5505
  }>>]>>;
@@ -5692,8 +5676,8 @@ declare const deploymentResultSchema: z.ZodObject<{
5692
5676
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
5693
5677
  id: z.ZodString;
5694
5678
  scope: z.ZodEnum<{
5695
- project: "project";
5696
5679
  member: "member";
5680
+ project: "project";
5697
5681
  }>;
5698
5682
  period: z.ZodEnum<{
5699
5683
  lifetime: "lifetime";
@@ -5706,11 +5690,11 @@ declare const deploymentResultSchema: z.ZodObject<{
5706
5690
  }, z.core.$strict>>>;
5707
5691
  }, z.core.$strict>;
5708
5692
  provider: z.ZodEnum<{
5693
+ "workers-ai": "workers-ai";
5709
5694
  "fixture-pass": "fixture-pass";
5710
5695
  "fixture-fail": "fixture-fail";
5711
5696
  "fixture-unclear": "fixture-unclear";
5712
5697
  "fixture-error": "fixture-error";
5713
- "workers-ai": "workers-ai";
5714
5698
  }>;
5715
5699
  createdAt: z.ZodNumber;
5716
5700
  }, z.core.$strip>>;
@@ -5721,9 +5705,9 @@ declare const deploymentResultSchema: z.ZodObject<{
5721
5705
  quests: z.ZodArray<z.ZodString>;
5722
5706
  }, z.core.$strict>>;
5723
5707
  supportedInteractions: z.ZodArray<z.ZodEnum<{
5724
- staff: "staff";
5725
5708
  quiz: "quiz";
5726
5709
  photo: "photo";
5710
+ staff: "staff";
5727
5711
  automatic: "automatic";
5728
5712
  claim: "claim";
5729
5713
  }>>;
@@ -6348,7 +6332,7 @@ declare function createRelayClient(options: {
6348
6332
  } | undefined;
6349
6333
  } | undefined;
6350
6334
  };
6351
- connections: ("discord" | "google" | "apple" | "x")[];
6335
+ connections: ("google" | "apple" | "x" | "discord")[];
6352
6336
  trigger: {
6353
6337
  kind: "manual";
6354
6338
  input: "quiz" | "photo" | "none";
@@ -6407,7 +6391,7 @@ declare function createRelayClient(options: {
6407
6391
  quest: string;
6408
6392
  member: string;
6409
6393
  evidence: string | null;
6410
- status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
6394
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
6411
6395
  reason: string | null;
6412
6396
  retries: number;
6413
6397
  generation: number;
@@ -6449,7 +6433,7 @@ declare function createRelayClient(options: {
6449
6433
  } | undefined;
6450
6434
  } | null;
6451
6435
  release: string;
6452
- interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
6436
+ interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
6453
6437
  lifecycle: "active" | "paused" | "archived";
6454
6438
  rewards: {
6455
6439
  label: string;
@@ -6462,7 +6446,7 @@ declare function createRelayClient(options: {
6462
6446
  quest: string;
6463
6447
  member: string;
6464
6448
  evidence: string | null;
6465
- status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
6449
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
6466
6450
  reason: string | null;
6467
6451
  retries: number;
6468
6452
  generation: number;
@@ -6528,7 +6512,7 @@ declare function createRelayClient(options: {
6528
6512
  } | undefined;
6529
6513
  } | undefined;
6530
6514
  };
6531
- connections: ("discord" | "google" | "apple" | "x")[];
6515
+ connections: ("google" | "apple" | "x" | "discord")[];
6532
6516
  trigger: {
6533
6517
  kind: "manual";
6534
6518
  input: "quiz" | "photo" | "none";
@@ -6587,7 +6571,7 @@ declare function createRelayClient(options: {
6587
6571
  quest: string;
6588
6572
  member: string;
6589
6573
  evidence: string | null;
6590
- status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
6574
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
6591
6575
  reason: string | null;
6592
6576
  retries: number;
6593
6577
  generation: number;
@@ -6629,7 +6613,7 @@ declare function createRelayClient(options: {
6629
6613
  } | undefined;
6630
6614
  } | null;
6631
6615
  release: string;
6632
- interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
6616
+ interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
6633
6617
  lifecycle: "active" | "paused" | "archived";
6634
6618
  rewards: {
6635
6619
  label: string;
@@ -6662,7 +6646,7 @@ declare function createRelayClient(options: {
6662
6646
  } | undefined;
6663
6647
  } | undefined;
6664
6648
  };
6665
- connections: ("discord" | "google" | "apple" | "x")[];
6649
+ connections: ("google" | "apple" | "x" | "discord")[];
6666
6650
  trigger: {
6667
6651
  kind: "manual";
6668
6652
  input: "quiz" | "photo" | "none";
@@ -6721,7 +6705,7 @@ declare function createRelayClient(options: {
6721
6705
  quest: string;
6722
6706
  member: string;
6723
6707
  evidence: string | null;
6724
- status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
6708
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
6725
6709
  reason: string | null;
6726
6710
  retries: number;
6727
6711
  generation: number;
@@ -6763,7 +6747,7 @@ declare function createRelayClient(options: {
6763
6747
  } | undefined;
6764
6748
  } | null;
6765
6749
  release: string;
6766
- interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
6750
+ interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
6767
6751
  lifecycle: "active" | "paused" | "archived";
6768
6752
  rewards: {
6769
6753
  label: string;
@@ -6799,7 +6783,7 @@ declare function createRelayClient(options: {
6799
6783
  } | undefined;
6800
6784
  } | undefined;
6801
6785
  };
6802
- connections: ("discord" | "google" | "apple" | "x")[];
6786
+ connections: ("google" | "apple" | "x" | "discord")[];
6803
6787
  trigger: {
6804
6788
  kind: "manual";
6805
6789
  input: "quiz" | "photo" | "none";
@@ -6858,7 +6842,7 @@ declare function createRelayClient(options: {
6858
6842
  quest: string;
6859
6843
  member: string;
6860
6844
  evidence: string | null;
6861
- status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
6845
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
6862
6846
  reason: string | null;
6863
6847
  retries: number;
6864
6848
  generation: number;
@@ -6900,7 +6884,7 @@ declare function createRelayClient(options: {
6900
6884
  } | undefined;
6901
6885
  } | null;
6902
6886
  release: string;
6903
- interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
6887
+ interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
6904
6888
  lifecycle: "active" | "paused" | "archived";
6905
6889
  rewards: {
6906
6890
  label: string;
@@ -6939,7 +6923,7 @@ declare function createRelayClient(options: {
6939
6923
  auth: {
6940
6924
  providers: () => Promise<{
6941
6925
  providers: {
6942
- provider: "discord" | "google" | "apple" | "x";
6926
+ provider: "google" | "apple" | "x" | "discord";
6943
6927
  configured: boolean;
6944
6928
  }[];
6945
6929
  email: boolean;
@@ -6969,7 +6953,7 @@ declare function createRelayClient(options: {
6969
6953
  expiresAt: number;
6970
6954
  }>;
6971
6955
  accounts: () => Promise<{
6972
- provider: "discord" | "google" | "apple" | "x";
6956
+ provider: "google" | "apple" | "x" | "discord";
6973
6957
  configured: boolean;
6974
6958
  status: "disconnected" | "connected" | "reconnect";
6975
6959
  subject: string | null;
@@ -7061,7 +7045,7 @@ declare function createRelayClient(options: {
7061
7045
  quest: string;
7062
7046
  member: string;
7063
7047
  evidence: string | null;
7064
- status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
7048
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
7065
7049
  reason: string | null;
7066
7050
  retries: number;
7067
7051
  generation: number;
@@ -7127,7 +7111,7 @@ declare function createRelayClient(options: {
7127
7111
  } | undefined;
7128
7112
  } | undefined;
7129
7113
  };
7130
- connections: ("discord" | "google" | "apple" | "x")[];
7114
+ connections: ("google" | "apple" | "x" | "discord")[];
7131
7115
  trigger: {
7132
7116
  kind: "manual";
7133
7117
  input: "quiz" | "photo" | "none";
@@ -7186,7 +7170,7 @@ declare function createRelayClient(options: {
7186
7170
  quest: string;
7187
7171
  member: string;
7188
7172
  evidence: string | null;
7189
- status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
7173
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
7190
7174
  reason: string | null;
7191
7175
  retries: number;
7192
7176
  generation: number;
@@ -7333,7 +7317,7 @@ declare function createRelayClient(options: {
7333
7317
  quest: string;
7334
7318
  member: string;
7335
7319
  evidence: string | null;
7336
- status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
7320
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
7337
7321
  reason: string | null;
7338
7322
  retries: number;
7339
7323
  generation: number;
@@ -7392,7 +7376,7 @@ declare function createRelayClient(options: {
7392
7376
  quest: string;
7393
7377
  member: string;
7394
7378
  evidence: string | null;
7395
- status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
7379
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
7396
7380
  reason: string | null;
7397
7381
  retries: number;
7398
7382
  generation: number;
@@ -7467,7 +7451,7 @@ declare function createRelayClient(options: {
7467
7451
  code: string;
7468
7452
  definition: {
7469
7453
  quest: string;
7470
- runtimeVersion: 2 | 1;
7454
+ runtimeVersion: 1 | 2;
7471
7455
  title: string;
7472
7456
  presentation: {
7473
7457
  quiz?: {
@@ -7617,7 +7601,7 @@ declare function createRelayClient(options: {
7617
7601
  visibility: "visible" | "hidden";
7618
7602
  budgets: {
7619
7603
  id: string;
7620
- scope: "project" | "member";
7604
+ scope: "member" | "project";
7621
7605
  period: "lifetime" | "day";
7622
7606
  limit: number;
7623
7607
  cost: number | {
@@ -7630,7 +7614,7 @@ declare function createRelayClient(options: {
7630
7614
  code: string;
7631
7615
  definition: {
7632
7616
  quest: string;
7633
- runtimeVersion: 2 | 1;
7617
+ runtimeVersion: 1 | 2;
7634
7618
  title: string;
7635
7619
  presentation: {
7636
7620
  quiz?: {
@@ -7780,7 +7764,7 @@ declare function createRelayClient(options: {
7780
7764
  visibility: "visible" | "hidden";
7781
7765
  budgets: {
7782
7766
  id: string;
7783
- scope: "project" | "member";
7767
+ scope: "member" | "project";
7784
7768
  period: "lifetime" | "day";
7785
7769
  limit: number;
7786
7770
  cost: number | {
@@ -7792,7 +7776,7 @@ declare function createRelayClient(options: {
7792
7776
  snapshot: () => Promise<{
7793
7777
  releases: {
7794
7778
  quest: string;
7795
- runtimeVersion: 2 | 1;
7779
+ runtimeVersion: 1 | 2;
7796
7780
  title: string;
7797
7781
  presentation: {
7798
7782
  quiz?: {
@@ -7942,7 +7926,7 @@ declare function createRelayClient(options: {
7942
7926
  visibility: "visible" | "hidden";
7943
7927
  budgets: {
7944
7928
  id: string;
7945
- scope: "project" | "member";
7929
+ scope: "member" | "project";
7946
7930
  period: "lifetime" | "day";
7947
7931
  limit: number;
7948
7932
  cost: number | {
@@ -7950,7 +7934,7 @@ declare function createRelayClient(options: {
7950
7934
  };
7951
7935
  }[];
7952
7936
  code: string;
7953
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
7937
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
7954
7938
  id: string;
7955
7939
  createdAt: number;
7956
7940
  legacy: boolean;
@@ -8070,7 +8054,7 @@ declare function createRelayClient(options: {
8070
8054
  quest: string;
8071
8055
  member: string;
8072
8056
  evidence: string | null;
8073
- status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
8057
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
8074
8058
  reason: string | null;
8075
8059
  retries: number;
8076
8060
  generation: number;
@@ -8129,7 +8113,7 @@ declare function createRelayClient(options: {
8129
8113
  }>;
8130
8114
  publish: (release: ReleaseInput) => Promise<{
8131
8115
  quest: string;
8132
- runtimeVersion: 2 | 1;
8116
+ runtimeVersion: 1 | 2;
8133
8117
  title: string;
8134
8118
  presentation: {
8135
8119
  quiz?: {
@@ -8279,7 +8263,7 @@ declare function createRelayClient(options: {
8279
8263
  visibility: "visible" | "hidden";
8280
8264
  budgets: {
8281
8265
  id: string;
8282
- scope: "project" | "member";
8266
+ scope: "member" | "project";
8283
8267
  period: "lifetime" | "day";
8284
8268
  limit: number;
8285
8269
  cost: number | {
@@ -8287,7 +8271,7 @@ declare function createRelayClient(options: {
8287
8271
  };
8288
8272
  }[];
8289
8273
  code: string;
8290
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
8274
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
8291
8275
  id: string;
8292
8276
  createdAt: number;
8293
8277
  legacy: boolean;
@@ -8320,7 +8304,7 @@ declare function createRelayClient(options: {
8320
8304
  }>;
8321
8305
  publishBatch: (releases: ReleaseInput[]) => Promise<{
8322
8306
  quest: string;
8323
- runtimeVersion: 2 | 1;
8307
+ runtimeVersion: 1 | 2;
8324
8308
  title: string;
8325
8309
  presentation: {
8326
8310
  quiz?: {
@@ -8470,7 +8454,7 @@ declare function createRelayClient(options: {
8470
8454
  visibility: "visible" | "hidden";
8471
8455
  budgets: {
8472
8456
  id: string;
8473
- scope: "project" | "member";
8457
+ scope: "member" | "project";
8474
8458
  period: "lifetime" | "day";
8475
8459
  limit: number;
8476
8460
  cost: number | {
@@ -8478,7 +8462,7 @@ declare function createRelayClient(options: {
8478
8462
  };
8479
8463
  }[];
8480
8464
  code: string;
8481
- provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
8465
+ provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
8482
8466
  id: string;
8483
8467
  createdAt: number;
8484
8468
  legacy: boolean;
@@ -8534,7 +8518,7 @@ declare function createRelayClient(options: {
8534
8518
  } | undefined;
8535
8519
  } | undefined;
8536
8520
  };
8537
- connections: ("discord" | "google" | "apple" | "x")[];
8521
+ connections: ("google" | "apple" | "x" | "discord")[];
8538
8522
  trigger: {
8539
8523
  kind: "manual";
8540
8524
  input: "quiz" | "photo" | "none";
@@ -8593,7 +8577,7 @@ declare function createRelayClient(options: {
8593
8577
  quest: string;
8594
8578
  member: string;
8595
8579
  evidence: string | null;
8596
- status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
8580
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
8597
8581
  reason: string | null;
8598
8582
  retries: number;
8599
8583
  generation: number;
@@ -8884,7 +8868,7 @@ declare function createRelayClient(options: {
8884
8868
  quest: string;
8885
8869
  member: string;
8886
8870
  evidence: string | null;
8887
- status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
8871
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
8888
8872
  reason: string | null;
8889
8873
  retries: number;
8890
8874
  generation: number;
@@ -8931,7 +8915,7 @@ declare function createRelayClient(options: {
8931
8915
  quest: string;
8932
8916
  member: string;
8933
8917
  evidence: string | null;
8934
- status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
8918
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
8935
8919
  reason: string | null;
8936
8920
  retries: number;
8937
8921
  generation: number;
@@ -8983,7 +8967,7 @@ declare function createRelayClient(options: {
8983
8967
  quest: string;
8984
8968
  member: string;
8985
8969
  evidence: string | null;
8986
- status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
8970
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "rejected" | "failed";
8987
8971
  reason: string | null;
8988
8972
  retries: number;
8989
8973
  generation: number;