@domino-sdk/relay 0.17.1 → 0.17.2

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
@@ -199,10 +199,10 @@ type ProgressObserver = {
199
199
  };
200
200
 
201
201
  declare const interactionSchema: z.ZodEnum<{
202
- staff: "staff";
202
+ quiz: "quiz";
203
203
  url: "url";
204
204
  text: "text";
205
- quiz: "quiz";
205
+ staff: "staff";
206
206
  photo: "photo";
207
207
  automatic: "automatic";
208
208
  claim: "claim";
@@ -409,8 +409,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
409
409
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
410
410
  id: z.ZodString;
411
411
  scope: z.ZodEnum<{
412
- project: "project";
413
412
  member: "member";
413
+ project: "project";
414
414
  }>;
415
415
  period: z.ZodEnum<{
416
416
  day: "day";
@@ -444,7 +444,7 @@ declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
444
444
  title: string;
445
445
  key?: string | undefined;
446
446
  id?: string | undefined;
447
- }, "id" | "key"> & {
447
+ }, "key" | "id"> & {
448
448
  key: string;
449
449
  }, {
450
450
  title: string;
@@ -472,8 +472,8 @@ declare const questInstanceSchema: z.ZodObject<{
472
472
  }, z.core.$strict>>]>>;
473
473
  requires: z.ZodArray<z.ZodString>;
474
474
  status: z.ZodEnum<{
475
- paused: "paused";
476
475
  active: "active";
476
+ paused: "paused";
477
477
  archived: "archived";
478
478
  }>;
479
479
  }, z.core.$strict>;
@@ -493,8 +493,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
493
493
  }, z.core.$strict>>]>>;
494
494
  requires: z.ZodArray<z.ZodString>;
495
495
  status: z.ZodEnum<{
496
- paused: "paused";
497
496
  active: "active";
497
+ paused: "paused";
498
498
  archived: "archived";
499
499
  }>;
500
500
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -526,8 +526,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
526
526
  }, z.core.$strict>>]>>;
527
527
  requires: z.ZodArray<z.ZodString>;
528
528
  status: z.ZodEnum<{
529
- paused: "paused";
530
529
  active: "active";
530
+ paused: "paused";
531
531
  archived: "archived";
532
532
  }>;
533
533
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -560,8 +560,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
560
560
  }, z.core.$strict>>]>>;
561
561
  requires: z.ZodArray<z.ZodString>;
562
562
  status: z.ZodEnum<{
563
- paused: "paused";
564
563
  active: "active";
564
+ paused: "paused";
565
565
  archived: "archived";
566
566
  }>;
567
567
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -778,8 +778,8 @@ declare const questCatalogSchema: z.ZodObject<{
778
778
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
779
779
  id: z.ZodString;
780
780
  scope: z.ZodEnum<{
781
- project: "project";
782
781
  member: "member";
782
+ project: "project";
783
783
  }>;
784
784
  period: z.ZodEnum<{
785
785
  day: "day";
@@ -821,8 +821,8 @@ declare const questCatalogSchema: z.ZodObject<{
821
821
  }, z.core.$strict>>]>>;
822
822
  requires: z.ZodArray<z.ZodString>;
823
823
  status: z.ZodEnum<{
824
- paused: "paused";
825
824
  active: "active";
825
+ paused: "paused";
826
826
  archived: "archived";
827
827
  }>;
828
828
  }, z.core.$strict>>;
@@ -846,8 +846,8 @@ declare const questCatalogSchema: z.ZodObject<{
846
846
  }, z.core.$strict>>]>>;
847
847
  requires: z.ZodArray<z.ZodString>;
848
848
  status: z.ZodEnum<{
849
- paused: "paused";
850
849
  active: "active";
850
+ paused: "paused";
851
851
  archived: "archived";
852
852
  }>;
853
853
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -880,8 +880,8 @@ declare const questCatalogSchema: z.ZodObject<{
880
880
  }, z.core.$strict>>]>>;
881
881
  requires: z.ZodArray<z.ZodString>;
882
882
  status: z.ZodEnum<{
883
- paused: "paused";
884
883
  active: "active";
884
+ paused: "paused";
885
885
  archived: "archived";
886
886
  }>;
887
887
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -1091,8 +1091,8 @@ declare const questCatalogSchema: z.ZodObject<{
1091
1091
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1092
1092
  id: z.ZodString;
1093
1093
  scope: z.ZodEnum<{
1094
- project: "project";
1095
1094
  member: "member";
1095
+ project: "project";
1096
1096
  }>;
1097
1097
  period: z.ZodEnum<{
1098
1098
  day: "day";
@@ -1119,8 +1119,8 @@ declare const questCatalogSchema: z.ZodObject<{
1119
1119
  typeVersion: z.ZodString;
1120
1120
  }, z.core.$strict>>;
1121
1121
  lifecycle: z.ZodDefault<z.ZodEnum<{
1122
- paused: "paused";
1123
1122
  active: "active";
1123
+ paused: "paused";
1124
1124
  archived: "archived";
1125
1125
  }>>;
1126
1126
  configuration: z.ZodOptional<z.ZodObject<{
@@ -1188,7 +1188,7 @@ declare const questCatalogSchema: z.ZodObject<{
1188
1188
  createdAt: z.ZodNumber;
1189
1189
  }, z.core.$strip>, z.ZodTransform<{
1190
1190
  quest: string;
1191
- runtimeVersion: 2 | 1;
1191
+ runtimeVersion: 1 | 2;
1192
1192
  title: string;
1193
1193
  presentation: {
1194
1194
  quiz?: {
@@ -1359,7 +1359,7 @@ declare const questCatalogSchema: z.ZodObject<{
1359
1359
  visibility: "visible" | "hidden";
1360
1360
  budgets: {
1361
1361
  id: string;
1362
- scope: "project" | "member";
1362
+ scope: "member" | "project";
1363
1363
  period: "day" | "lifetime";
1364
1364
  limit: number;
1365
1365
  cost: number | {
@@ -1371,7 +1371,7 @@ declare const questCatalogSchema: z.ZodObject<{
1371
1371
  id: string;
1372
1372
  createdAt: number;
1373
1373
  legacy: boolean;
1374
- lifecycle: "paused" | "active" | "archived";
1374
+ lifecycle: "active" | "paused" | "archived";
1375
1375
  key?: string | undefined;
1376
1376
  origin?: {
1377
1377
  typeVersion: string;
@@ -1435,10 +1435,10 @@ declare const questCatalogSchema: z.ZodObject<{
1435
1435
  createdAt: number;
1436
1436
  }>>]>>>;
1437
1437
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1438
- staff: "staff";
1438
+ quiz: "quiz";
1439
1439
  url: "url";
1440
1440
  text: "text";
1441
- quiz: "quiz";
1441
+ staff: "staff";
1442
1442
  photo: "photo";
1443
1443
  automatic: "automatic";
1444
1444
  claim: "claim";
@@ -1460,7 +1460,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1460
1460
  title: string;
1461
1461
  key?: string | undefined;
1462
1462
  id?: string | undefined;
1463
- }, "id" | "key"> & {
1463
+ }, "key" | "id"> & {
1464
1464
  key: string;
1465
1465
  }, {
1466
1466
  title: string;
@@ -1468,10 +1468,10 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1468
1468
  id?: string | undefined;
1469
1469
  }>>>>;
1470
1470
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1471
- staff: "staff";
1471
+ quiz: "quiz";
1472
1472
  url: "url";
1473
1473
  text: "text";
1474
- quiz: "quiz";
1474
+ staff: "staff";
1475
1475
  photo: "photo";
1476
1476
  automatic: "automatic";
1477
1477
  claim: "claim";
@@ -1679,8 +1679,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1679
1679
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1680
1680
  id: z.ZodString;
1681
1681
  scope: z.ZodEnum<{
1682
- project: "project";
1683
1682
  member: "member";
1683
+ project: "project";
1684
1684
  }>;
1685
1685
  period: z.ZodEnum<{
1686
1686
  day: "day";
@@ -1707,10 +1707,10 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1707
1707
  title: z.ZodString;
1708
1708
  }, z.core.$strict>>;
1709
1709
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1710
- staff: "staff";
1710
+ quiz: "quiz";
1711
1711
  url: "url";
1712
1712
  text: "text";
1713
- quiz: "quiz";
1713
+ staff: "staff";
1714
1714
  photo: "photo";
1715
1715
  automatic: "automatic";
1716
1716
  claim: "claim";
@@ -1737,8 +1737,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
1737
1737
  }, z.core.$strict>>]>>;
1738
1738
  requires: z.ZodArray<z.ZodString>;
1739
1739
  status: z.ZodEnum<{
1740
- paused: "paused";
1741
1740
  active: "active";
1741
+ paused: "paused";
1742
1742
  archived: "archived";
1743
1743
  }>;
1744
1744
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -1780,10 +1780,10 @@ declare const questViewSchema: z.ZodObject<{
1780
1780
  }, z.core.$strict>>;
1781
1781
  }, z.core.$strict>>;
1782
1782
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1783
- discord: "discord";
1784
1783
  google: "google";
1785
1784
  apple: "apple";
1786
1785
  x: "x";
1786
+ discord: "discord";
1787
1787
  }>>>;
1788
1788
  trigger: z.ZodUnion<readonly [z.ZodObject<{
1789
1789
  kind: z.ZodLiteral<"manual">;
@@ -1829,9 +1829,9 @@ declare const questViewSchema: z.ZodObject<{
1829
1829
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
1830
1830
  kind: z.ZodLiteral<"available">;
1831
1831
  input: z.ZodEnum<{
1832
+ quiz: "quiz";
1832
1833
  url: "url";
1833
1834
  text: "text";
1834
- quiz: "quiz";
1835
1835
  photo: "photo";
1836
1836
  none: "none";
1837
1837
  }>;
@@ -1930,13 +1930,13 @@ declare const questViewSchema: z.ZodObject<{
1930
1930
  value: z.ZodString;
1931
1931
  }, z.core.$strict>]>>;
1932
1932
  status: z.ZodEnum<{
1933
- failed: "failed";
1933
+ "needs-review": "needs-review";
1934
1934
  queued: "queued";
1935
1935
  evaluating: "evaluating";
1936
1936
  accepted: "accepted";
1937
1937
  progressed: "progressed";
1938
1938
  rejected: "rejected";
1939
- "needs-review": "needs-review";
1939
+ failed: "failed";
1940
1940
  }>;
1941
1941
  reason: z.ZodNullable<z.ZodString>;
1942
1942
  retries: z.ZodNumber;
@@ -1973,17 +1973,17 @@ declare const questViewSchema: z.ZodObject<{
1973
1973
  }, z.core.$strip>>;
1974
1974
  release: z.ZodString;
1975
1975
  interaction: z.ZodEnum<{
1976
- staff: "staff";
1976
+ quiz: "quiz";
1977
1977
  url: "url";
1978
1978
  text: "text";
1979
- quiz: "quiz";
1979
+ staff: "staff";
1980
1980
  photo: "photo";
1981
1981
  automatic: "automatic";
1982
1982
  claim: "claim";
1983
1983
  }>;
1984
1984
  lifecycle: z.ZodEnum<{
1985
- paused: "paused";
1986
1985
  active: "active";
1986
+ paused: "paused";
1987
1987
  archived: "archived";
1988
1988
  }>;
1989
1989
  rewards: z.ZodArray<z.ZodObject<{
@@ -2019,10 +2019,10 @@ declare const collectionViewSchema: z.ZodObject<{
2019
2019
  }, z.core.$strict>>;
2020
2020
  }, z.core.$strict>>;
2021
2021
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2022
- discord: "discord";
2023
2022
  google: "google";
2024
2023
  apple: "apple";
2025
2024
  x: "x";
2025
+ discord: "discord";
2026
2026
  }>>>;
2027
2027
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2028
2028
  kind: z.ZodLiteral<"manual">;
@@ -2068,9 +2068,9 @@ declare const collectionViewSchema: z.ZodObject<{
2068
2068
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2069
2069
  kind: z.ZodLiteral<"available">;
2070
2070
  input: z.ZodEnum<{
2071
+ quiz: "quiz";
2071
2072
  url: "url";
2072
2073
  text: "text";
2073
- quiz: "quiz";
2074
2074
  photo: "photo";
2075
2075
  none: "none";
2076
2076
  }>;
@@ -2169,13 +2169,13 @@ declare const collectionViewSchema: z.ZodObject<{
2169
2169
  value: z.ZodString;
2170
2170
  }, z.core.$strict>]>>;
2171
2171
  status: z.ZodEnum<{
2172
- failed: "failed";
2172
+ "needs-review": "needs-review";
2173
2173
  queued: "queued";
2174
2174
  evaluating: "evaluating";
2175
2175
  accepted: "accepted";
2176
2176
  progressed: "progressed";
2177
2177
  rejected: "rejected";
2178
- "needs-review": "needs-review";
2178
+ failed: "failed";
2179
2179
  }>;
2180
2180
  reason: z.ZodNullable<z.ZodString>;
2181
2181
  retries: z.ZodNumber;
@@ -2212,17 +2212,17 @@ declare const collectionViewSchema: z.ZodObject<{
2212
2212
  }, z.core.$strip>>;
2213
2213
  release: z.ZodString;
2214
2214
  interaction: z.ZodEnum<{
2215
- staff: "staff";
2215
+ quiz: "quiz";
2216
2216
  url: "url";
2217
2217
  text: "text";
2218
- quiz: "quiz";
2218
+ staff: "staff";
2219
2219
  photo: "photo";
2220
2220
  automatic: "automatic";
2221
2221
  claim: "claim";
2222
2222
  }>;
2223
2223
  lifecycle: z.ZodEnum<{
2224
- paused: "paused";
2225
2224
  active: "active";
2225
+ paused: "paused";
2226
2226
  archived: "archived";
2227
2227
  }>;
2228
2228
  rewards: z.ZodArray<z.ZodObject<{
@@ -2257,10 +2257,10 @@ declare const questExperienceSchema: z.ZodObject<{
2257
2257
  }, z.core.$strict>>;
2258
2258
  }, z.core.$strict>>;
2259
2259
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2260
- discord: "discord";
2261
2260
  google: "google";
2262
2261
  apple: "apple";
2263
2262
  x: "x";
2263
+ discord: "discord";
2264
2264
  }>>>;
2265
2265
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2266
2266
  kind: z.ZodLiteral<"manual">;
@@ -2306,9 +2306,9 @@ declare const questExperienceSchema: z.ZodObject<{
2306
2306
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2307
2307
  kind: z.ZodLiteral<"available">;
2308
2308
  input: z.ZodEnum<{
2309
+ quiz: "quiz";
2309
2310
  url: "url";
2310
2311
  text: "text";
2311
- quiz: "quiz";
2312
2312
  photo: "photo";
2313
2313
  none: "none";
2314
2314
  }>;
@@ -2407,13 +2407,13 @@ declare const questExperienceSchema: z.ZodObject<{
2407
2407
  value: z.ZodString;
2408
2408
  }, z.core.$strict>]>>;
2409
2409
  status: z.ZodEnum<{
2410
- failed: "failed";
2410
+ "needs-review": "needs-review";
2411
2411
  queued: "queued";
2412
2412
  evaluating: "evaluating";
2413
2413
  accepted: "accepted";
2414
2414
  progressed: "progressed";
2415
2415
  rejected: "rejected";
2416
- "needs-review": "needs-review";
2416
+ failed: "failed";
2417
2417
  }>;
2418
2418
  reason: z.ZodNullable<z.ZodString>;
2419
2419
  retries: z.ZodNumber;
@@ -2450,17 +2450,17 @@ declare const questExperienceSchema: z.ZodObject<{
2450
2450
  }, z.core.$strip>>;
2451
2451
  release: z.ZodString;
2452
2452
  interaction: z.ZodEnum<{
2453
- staff: "staff";
2453
+ quiz: "quiz";
2454
2454
  url: "url";
2455
2455
  text: "text";
2456
- quiz: "quiz";
2456
+ staff: "staff";
2457
2457
  photo: "photo";
2458
2458
  automatic: "automatic";
2459
2459
  claim: "claim";
2460
2460
  }>;
2461
2461
  lifecycle: z.ZodEnum<{
2462
- paused: "paused";
2463
2462
  active: "active";
2463
+ paused: "paused";
2464
2464
  archived: "archived";
2465
2465
  }>;
2466
2466
  rewards: z.ZodArray<z.ZodObject<{
@@ -2496,10 +2496,10 @@ declare const questExperienceSchema: z.ZodObject<{
2496
2496
  }, z.core.$strict>>;
2497
2497
  }, z.core.$strict>>;
2498
2498
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2499
- discord: "discord";
2500
2499
  google: "google";
2501
2500
  apple: "apple";
2502
2501
  x: "x";
2502
+ discord: "discord";
2503
2503
  }>>>;
2504
2504
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2505
2505
  kind: z.ZodLiteral<"manual">;
@@ -2545,9 +2545,9 @@ declare const questExperienceSchema: z.ZodObject<{
2545
2545
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2546
2546
  kind: z.ZodLiteral<"available">;
2547
2547
  input: z.ZodEnum<{
2548
+ quiz: "quiz";
2548
2549
  url: "url";
2549
2550
  text: "text";
2550
- quiz: "quiz";
2551
2551
  photo: "photo";
2552
2552
  none: "none";
2553
2553
  }>;
@@ -2646,13 +2646,13 @@ declare const questExperienceSchema: z.ZodObject<{
2646
2646
  value: z.ZodString;
2647
2647
  }, z.core.$strict>]>>;
2648
2648
  status: z.ZodEnum<{
2649
- failed: "failed";
2649
+ "needs-review": "needs-review";
2650
2650
  queued: "queued";
2651
2651
  evaluating: "evaluating";
2652
2652
  accepted: "accepted";
2653
2653
  progressed: "progressed";
2654
2654
  rejected: "rejected";
2655
- "needs-review": "needs-review";
2655
+ failed: "failed";
2656
2656
  }>;
2657
2657
  reason: z.ZodNullable<z.ZodString>;
2658
2658
  retries: z.ZodNumber;
@@ -2689,17 +2689,17 @@ declare const questExperienceSchema: z.ZodObject<{
2689
2689
  }, z.core.$strip>>;
2690
2690
  release: z.ZodString;
2691
2691
  interaction: z.ZodEnum<{
2692
- staff: "staff";
2692
+ quiz: "quiz";
2693
2693
  url: "url";
2694
2694
  text: "text";
2695
- quiz: "quiz";
2695
+ staff: "staff";
2696
2696
  photo: "photo";
2697
2697
  automatic: "automatic";
2698
2698
  claim: "claim";
2699
2699
  }>;
2700
2700
  lifecycle: z.ZodEnum<{
2701
- paused: "paused";
2702
2701
  active: "active";
2702
+ paused: "paused";
2703
2703
  archived: "archived";
2704
2704
  }>;
2705
2705
  rewards: z.ZodArray<z.ZodObject<{
@@ -2733,8 +2733,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2733
2733
  }, z.core.$strict>>]>>;
2734
2734
  requires: z.ZodArray<z.ZodString>;
2735
2735
  status: z.ZodEnum<{
2736
- paused: "paused";
2737
2736
  active: "active";
2737
+ paused: "paused";
2738
2738
  archived: "archived";
2739
2739
  }>;
2740
2740
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -2767,8 +2767,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2767
2767
  }, z.core.$strict>>]>>;
2768
2768
  requires: z.ZodArray<z.ZodString>;
2769
2769
  status: z.ZodEnum<{
2770
- paused: "paused";
2771
2770
  active: "active";
2771
+ paused: "paused";
2772
2772
  archived: "archived";
2773
2773
  }>;
2774
2774
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -2978,8 +2978,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2978
2978
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
2979
2979
  id: z.ZodString;
2980
2980
  scope: z.ZodEnum<{
2981
- project: "project";
2982
2981
  member: "member";
2982
+ project: "project";
2983
2983
  }>;
2984
2984
  period: z.ZodEnum<{
2985
2985
  day: "day";
@@ -3006,8 +3006,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3006
3006
  typeVersion: z.ZodString;
3007
3007
  }, z.core.$strict>>;
3008
3008
  lifecycle: z.ZodDefault<z.ZodEnum<{
3009
- paused: "paused";
3010
3009
  active: "active";
3010
+ paused: "paused";
3011
3011
  archived: "archived";
3012
3012
  }>>;
3013
3013
  configuration: z.ZodOptional<z.ZodObject<{
@@ -3075,7 +3075,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3075
3075
  createdAt: z.ZodNumber;
3076
3076
  }, z.core.$strip>, z.ZodTransform<{
3077
3077
  quest: string;
3078
- runtimeVersion: 2 | 1;
3078
+ runtimeVersion: 1 | 2;
3079
3079
  title: string;
3080
3080
  presentation: {
3081
3081
  quiz?: {
@@ -3246,7 +3246,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3246
3246
  visibility: "visible" | "hidden";
3247
3247
  budgets: {
3248
3248
  id: string;
3249
- scope: "project" | "member";
3249
+ scope: "member" | "project";
3250
3250
  period: "day" | "lifetime";
3251
3251
  limit: number;
3252
3252
  cost: number | {
@@ -3258,7 +3258,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3258
3258
  id: string;
3259
3259
  createdAt: number;
3260
3260
  legacy: boolean;
3261
- lifecycle: "paused" | "active" | "archived";
3261
+ lifecycle: "active" | "paused" | "archived";
3262
3262
  key?: string | undefined;
3263
3263
  origin?: {
3264
3264
  typeVersion: string;
@@ -3401,8 +3401,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
3401
3401
  roleId: z.ZodString;
3402
3402
  status: z.ZodEnum<{
3403
3403
  pending: "pending";
3404
- delivered: "delivered";
3405
3404
  failed: "failed";
3405
+ delivered: "delivered";
3406
3406
  }>;
3407
3407
  attempts: z.ZodNumber;
3408
3408
  nextAt: z.ZodNumber;
@@ -3421,8 +3421,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
3421
3421
  roleId: z.ZodString;
3422
3422
  status: z.ZodEnum<{
3423
3423
  pending: "pending";
3424
- delivered: "delivered";
3425
3424
  failed: "failed";
3425
+ delivered: "delivered";
3426
3426
  }>;
3427
3427
  attempts: z.ZodNumber;
3428
3428
  nextAt: z.ZodNumber;
@@ -3568,12 +3568,6 @@ declare function questConfiguration(release: PublishedRelease): {
3568
3568
 
3569
3569
  /** Non-quest resources in the private hosted-build catalog artifact. */
3570
3570
  declare const projectCatalogArtifactSchema: z.ZodObject<{
3571
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
3572
- code: z.ZodString;
3573
- provider: z.ZodEnum<{
3574
- "workers-ai": "workers-ai";
3575
- }>;
3576
- }, z.core.$strip>>>;
3577
3571
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
3578
3572
  title: z.ZodString;
3579
3573
  key: z.ZodOptional<z.ZodString>;
@@ -3582,18 +3576,24 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3582
3576
  title: string;
3583
3577
  key?: string | undefined;
3584
3578
  id?: string | undefined;
3585
- }, "id" | "key"> & {
3579
+ }, "key" | "id"> & {
3586
3580
  key: string;
3587
3581
  }, {
3588
3582
  title: string;
3589
3583
  key?: string | undefined;
3590
3584
  id?: string | undefined;
3591
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>>>;
3592
3592
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3593
- staff: "staff";
3593
+ quiz: "quiz";
3594
3594
  url: "url";
3595
3595
  text: "text";
3596
- quiz: "quiz";
3596
+ staff: "staff";
3597
3597
  photo: "photo";
3598
3598
  automatic: "automatic";
3599
3599
  claim: "claim";
@@ -3812,7 +3812,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3812
3812
  inviterGroup?: string | undefined;
3813
3813
  key?: string | undefined;
3814
3814
  id?: string | undefined;
3815
- }, "id" | "key"> & {
3815
+ }, "key" | "id"> & {
3816
3816
  key: string;
3817
3817
  }, {
3818
3818
  title: string;
@@ -4009,7 +4009,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4009
4009
  group?: string | undefined;
4010
4010
  key?: string | undefined;
4011
4011
  id?: string | undefined;
4012
- }, "id" | "key"> & {
4012
+ }, "key" | "id"> & {
4013
4013
  key: string;
4014
4014
  }, {
4015
4015
  title: string;
@@ -4060,12 +4060,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4060
4060
  }, z.core.$strict>;
4061
4061
  /** One manifest bundle. Missing entries never delete remotely owned resources. */
4062
4062
  declare const projectDeploymentSchema: z.ZodObject<{
4063
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4064
- code: z.ZodString;
4065
- provider: z.ZodEnum<{
4066
- "workers-ai": "workers-ai";
4067
- }>;
4068
- }, z.core.$strip>>>;
4069
4063
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
4070
4064
  title: z.ZodString;
4071
4065
  key: z.ZodOptional<z.ZodString>;
@@ -4074,18 +4068,24 @@ declare const projectDeploymentSchema: z.ZodObject<{
4074
4068
  title: string;
4075
4069
  key?: string | undefined;
4076
4070
  id?: string | undefined;
4077
- }, "id" | "key"> & {
4071
+ }, "key" | "id"> & {
4078
4072
  key: string;
4079
4073
  }, {
4080
4074
  title: string;
4081
4075
  key?: string | undefined;
4082
4076
  id?: string | undefined;
4083
4077
  }>>>>;
4078
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4079
+ code: z.ZodString;
4080
+ provider: z.ZodEnum<{
4081
+ "workers-ai": "workers-ai";
4082
+ }>;
4083
+ }, z.core.$strip>>>;
4084
4084
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4085
- staff: "staff";
4085
+ quiz: "quiz";
4086
4086
  url: "url";
4087
4087
  text: "text";
4088
- quiz: "quiz";
4088
+ staff: "staff";
4089
4089
  photo: "photo";
4090
4090
  automatic: "automatic";
4091
4091
  claim: "claim";
@@ -4304,7 +4304,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
4304
4304
  inviterGroup?: string | undefined;
4305
4305
  key?: string | undefined;
4306
4306
  id?: string | undefined;
4307
- }, "id" | "key"> & {
4307
+ }, "key" | "id"> & {
4308
4308
  key: string;
4309
4309
  }, {
4310
4310
  title: string;
@@ -4501,7 +4501,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
4501
4501
  group?: string | undefined;
4502
4502
  key?: string | undefined;
4503
4503
  id?: string | undefined;
4504
- }, "id" | "key"> & {
4504
+ }, "key" | "id"> & {
4505
4505
  key: string;
4506
4506
  }, {
4507
4507
  title: string;
@@ -4793,8 +4793,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4793
4793
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
4794
4794
  id: z.ZodString;
4795
4795
  scope: z.ZodEnum<{
4796
- project: "project";
4797
4796
  member: "member";
4797
+ project: "project";
4798
4798
  }>;
4799
4799
  period: z.ZodEnum<{
4800
4800
  day: "day";
@@ -4821,8 +4821,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4821
4821
  typeVersion: z.ZodString;
4822
4822
  }, z.core.$strict>>;
4823
4823
  lifecycle: z.ZodDefault<z.ZodEnum<{
4824
- paused: "paused";
4825
4824
  active: "active";
4825
+ paused: "paused";
4826
4826
  archived: "archived";
4827
4827
  }>>;
4828
4828
  configuration: z.ZodOptional<z.ZodObject<{
@@ -4890,7 +4890,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4890
4890
  createdAt: z.ZodNumber;
4891
4891
  }, z.core.$strip>, z.ZodTransform<{
4892
4892
  quest: string;
4893
- runtimeVersion: 2 | 1;
4893
+ runtimeVersion: 1 | 2;
4894
4894
  title: string;
4895
4895
  presentation: {
4896
4896
  quiz?: {
@@ -5061,7 +5061,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5061
5061
  visibility: "visible" | "hidden";
5062
5062
  budgets: {
5063
5063
  id: string;
5064
- scope: "project" | "member";
5064
+ scope: "member" | "project";
5065
5065
  period: "day" | "lifetime";
5066
5066
  limit: number;
5067
5067
  cost: number | {
@@ -5073,7 +5073,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5073
5073
  id: string;
5074
5074
  createdAt: number;
5075
5075
  legacy: boolean;
5076
- lifecycle: "paused" | "active" | "archived";
5076
+ lifecycle: "active" | "paused" | "archived";
5077
5077
  key?: string | undefined;
5078
5078
  origin?: {
5079
5079
  typeVersion: string;
@@ -5336,8 +5336,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5336
5336
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
5337
5337
  id: z.ZodString;
5338
5338
  scope: z.ZodEnum<{
5339
- project: "project";
5340
5339
  member: "member";
5340
+ project: "project";
5341
5341
  }>;
5342
5342
  period: z.ZodEnum<{
5343
5343
  day: "day";
@@ -5365,10 +5365,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5365
5365
  quests: z.ZodArray<z.ZodString>;
5366
5366
  }, z.core.$strict>>;
5367
5367
  supportedInteractions: z.ZodArray<z.ZodEnum<{
5368
- staff: "staff";
5368
+ quiz: "quiz";
5369
5369
  url: "url";
5370
5370
  text: "text";
5371
- quiz: "quiz";
5371
+ staff: "staff";
5372
5372
  photo: "photo";
5373
5373
  automatic: "automatic";
5374
5374
  claim: "claim";
@@ -5844,8 +5844,8 @@ declare const deploymentResultSchema: z.ZodObject<{
5844
5844
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
5845
5845
  id: z.ZodString;
5846
5846
  scope: z.ZodEnum<{
5847
- project: "project";
5848
5847
  member: "member";
5848
+ project: "project";
5849
5849
  }>;
5850
5850
  period: z.ZodEnum<{
5851
5851
  day: "day";
@@ -5872,8 +5872,8 @@ declare const deploymentResultSchema: z.ZodObject<{
5872
5872
  typeVersion: z.ZodString;
5873
5873
  }, z.core.$strict>>;
5874
5874
  lifecycle: z.ZodDefault<z.ZodEnum<{
5875
- paused: "paused";
5876
5875
  active: "active";
5876
+ paused: "paused";
5877
5877
  archived: "archived";
5878
5878
  }>>;
5879
5879
  configuration: z.ZodOptional<z.ZodObject<{
@@ -5941,7 +5941,7 @@ declare const deploymentResultSchema: z.ZodObject<{
5941
5941
  createdAt: z.ZodNumber;
5942
5942
  }, z.core.$strip>, z.ZodTransform<{
5943
5943
  quest: string;
5944
- runtimeVersion: 2 | 1;
5944
+ runtimeVersion: 1 | 2;
5945
5945
  title: string;
5946
5946
  presentation: {
5947
5947
  quiz?: {
@@ -6112,7 +6112,7 @@ declare const deploymentResultSchema: z.ZodObject<{
6112
6112
  visibility: "visible" | "hidden";
6113
6113
  budgets: {
6114
6114
  id: string;
6115
- scope: "project" | "member";
6115
+ scope: "member" | "project";
6116
6116
  period: "day" | "lifetime";
6117
6117
  limit: number;
6118
6118
  cost: number | {
@@ -6124,7 +6124,7 @@ declare const deploymentResultSchema: z.ZodObject<{
6124
6124
  id: string;
6125
6125
  createdAt: number;
6126
6126
  legacy: boolean;
6127
- lifecycle: "paused" | "active" | "archived";
6127
+ lifecycle: "active" | "paused" | "archived";
6128
6128
  key?: string | undefined;
6129
6129
  origin?: {
6130
6130
  typeVersion: string;
@@ -6387,8 +6387,8 @@ declare const deploymentResultSchema: z.ZodObject<{
6387
6387
  budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
6388
6388
  id: z.ZodString;
6389
6389
  scope: z.ZodEnum<{
6390
- project: "project";
6391
6390
  member: "member";
6391
+ project: "project";
6392
6392
  }>;
6393
6393
  period: z.ZodEnum<{
6394
6394
  day: "day";
@@ -6416,10 +6416,10 @@ declare const deploymentResultSchema: z.ZodObject<{
6416
6416
  quests: z.ZodArray<z.ZodString>;
6417
6417
  }, z.core.$strict>>;
6418
6418
  supportedInteractions: z.ZodArray<z.ZodEnum<{
6419
- staff: "staff";
6419
+ quiz: "quiz";
6420
6420
  url: "url";
6421
6421
  text: "text";
6422
- quiz: "quiz";
6422
+ staff: "staff";
6423
6423
  photo: "photo";
6424
6424
  automatic: "automatic";
6425
6425
  claim: "claim";
@@ -7045,7 +7045,7 @@ declare function createRelayClient(options: {
7045
7045
  } | undefined;
7046
7046
  } | undefined;
7047
7047
  };
7048
- connections: ("discord" | "google" | "apple" | "x")[];
7048
+ connections: ("google" | "apple" | "x" | "discord")[];
7049
7049
  trigger: {
7050
7050
  kind: "manual";
7051
7051
  input: "text";
@@ -7076,7 +7076,7 @@ declare function createRelayClient(options: {
7076
7076
  };
7077
7077
  availability: {
7078
7078
  kind: "available";
7079
- input: "url" | "text" | "quiz" | "photo" | "none";
7079
+ input: "quiz" | "url" | "text" | "photo" | "none";
7080
7080
  } | {
7081
7081
  kind: "completed";
7082
7082
  } | {
@@ -7125,7 +7125,7 @@ declare function createRelayClient(options: {
7125
7125
  quest: string;
7126
7126
  member: string;
7127
7127
  evidence: string | null;
7128
- status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
7128
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
7129
7129
  reason: string | null;
7130
7130
  retries: number;
7131
7131
  generation: number;
@@ -7159,22 +7159,22 @@ declare function createRelayClient(options: {
7159
7159
  })[] | null;
7160
7160
  createdAt: number;
7161
7161
  input?: {
7162
- kind: "text";
7163
- value: string;
7164
- } | {
7165
- kind: "url";
7166
- value: string;
7167
- } | {
7168
7162
  kind: "quiz";
7169
7163
  answers: {
7170
7164
  [k: string]: string;
7171
7165
  };
7172
7166
  release?: string | undefined;
7167
+ } | {
7168
+ kind: "text";
7169
+ value: string;
7170
+ } | {
7171
+ kind: "url";
7172
+ value: string;
7173
7173
  } | undefined;
7174
7174
  } | null;
7175
7175
  release: string;
7176
- interaction: "staff" | "url" | "text" | "quiz" | "photo" | "automatic" | "claim";
7177
- lifecycle: "paused" | "active" | "archived";
7176
+ interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
7177
+ lifecycle: "active" | "paused" | "archived";
7178
7178
  rewards: {
7179
7179
  label: string;
7180
7180
  }[];
@@ -7216,7 +7216,7 @@ declare function createRelayClient(options: {
7216
7216
  quest: string;
7217
7217
  member: string;
7218
7218
  evidence: string | null;
7219
- status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
7219
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
7220
7220
  reason: string | null;
7221
7221
  retries: number;
7222
7222
  generation: number;
@@ -7250,17 +7250,17 @@ declare function createRelayClient(options: {
7250
7250
  })[] | null;
7251
7251
  createdAt: number;
7252
7252
  input?: {
7253
- kind: "text";
7254
- value: string;
7255
- } | {
7256
- kind: "url";
7257
- value: string;
7258
- } | {
7259
7253
  kind: "quiz";
7260
7254
  answers: {
7261
7255
  [k: string]: string;
7262
7256
  };
7263
7257
  release?: string | undefined;
7258
+ } | {
7259
+ kind: "text";
7260
+ value: string;
7261
+ } | {
7262
+ kind: "url";
7263
+ value: string;
7264
7264
  } | undefined;
7265
7265
  }>;
7266
7266
  experience: () => Promise<{
@@ -7288,7 +7288,7 @@ declare function createRelayClient(options: {
7288
7288
  } | undefined;
7289
7289
  } | undefined;
7290
7290
  };
7291
- connections: ("discord" | "google" | "apple" | "x")[];
7291
+ connections: ("google" | "apple" | "x" | "discord")[];
7292
7292
  trigger: {
7293
7293
  kind: "manual";
7294
7294
  input: "text";
@@ -7319,7 +7319,7 @@ declare function createRelayClient(options: {
7319
7319
  };
7320
7320
  availability: {
7321
7321
  kind: "available";
7322
- input: "url" | "text" | "quiz" | "photo" | "none";
7322
+ input: "quiz" | "url" | "text" | "photo" | "none";
7323
7323
  } | {
7324
7324
  kind: "completed";
7325
7325
  } | {
@@ -7368,7 +7368,7 @@ declare function createRelayClient(options: {
7368
7368
  quest: string;
7369
7369
  member: string;
7370
7370
  evidence: string | null;
7371
- status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
7371
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
7372
7372
  reason: string | null;
7373
7373
  retries: number;
7374
7374
  generation: number;
@@ -7402,22 +7402,22 @@ declare function createRelayClient(options: {
7402
7402
  })[] | null;
7403
7403
  createdAt: number;
7404
7404
  input?: {
7405
- kind: "text";
7406
- value: string;
7407
- } | {
7408
- kind: "url";
7409
- value: string;
7410
- } | {
7411
7405
  kind: "quiz";
7412
7406
  answers: {
7413
7407
  [k: string]: string;
7414
7408
  };
7415
7409
  release?: string | undefined;
7410
+ } | {
7411
+ kind: "text";
7412
+ value: string;
7413
+ } | {
7414
+ kind: "url";
7415
+ value: string;
7416
7416
  } | undefined;
7417
7417
  } | null;
7418
7418
  release: string;
7419
- interaction: "staff" | "url" | "text" | "quiz" | "photo" | "automatic" | "claim";
7420
- lifecycle: "paused" | "active" | "archived";
7419
+ interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
7420
+ lifecycle: "active" | "paused" | "archived";
7421
7421
  rewards: {
7422
7422
  label: string;
7423
7423
  }[];
@@ -7479,7 +7479,7 @@ declare function createRelayClient(options: {
7479
7479
  } | undefined;
7480
7480
  } | undefined;
7481
7481
  };
7482
- connections: ("discord" | "google" | "apple" | "x")[];
7482
+ connections: ("google" | "apple" | "x" | "discord")[];
7483
7483
  trigger: {
7484
7484
  kind: "manual";
7485
7485
  input: "text";
@@ -7510,7 +7510,7 @@ declare function createRelayClient(options: {
7510
7510
  };
7511
7511
  availability: {
7512
7512
  kind: "available";
7513
- input: "url" | "text" | "quiz" | "photo" | "none";
7513
+ input: "quiz" | "url" | "text" | "photo" | "none";
7514
7514
  } | {
7515
7515
  kind: "completed";
7516
7516
  } | {
@@ -7559,7 +7559,7 @@ declare function createRelayClient(options: {
7559
7559
  quest: string;
7560
7560
  member: string;
7561
7561
  evidence: string | null;
7562
- status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
7562
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
7563
7563
  reason: string | null;
7564
7564
  retries: number;
7565
7565
  generation: number;
@@ -7593,22 +7593,22 @@ declare function createRelayClient(options: {
7593
7593
  })[] | null;
7594
7594
  createdAt: number;
7595
7595
  input?: {
7596
- kind: "text";
7597
- value: string;
7598
- } | {
7599
- kind: "url";
7600
- value: string;
7601
- } | {
7602
7596
  kind: "quiz";
7603
7597
  answers: {
7604
7598
  [k: string]: string;
7605
7599
  };
7606
7600
  release?: string | undefined;
7601
+ } | {
7602
+ kind: "text";
7603
+ value: string;
7604
+ } | {
7605
+ kind: "url";
7606
+ value: string;
7607
7607
  } | undefined;
7608
7608
  } | null;
7609
7609
  release: string;
7610
- interaction: "staff" | "url" | "text" | "quiz" | "photo" | "automatic" | "claim";
7611
- lifecycle: "paused" | "active" | "archived";
7610
+ interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
7611
+ lifecycle: "active" | "paused" | "archived";
7612
7612
  rewards: {
7613
7613
  label: string;
7614
7614
  }[];
@@ -7673,7 +7673,7 @@ declare function createRelayClient(options: {
7673
7673
  } | undefined;
7674
7674
  } | undefined;
7675
7675
  };
7676
- connections: ("discord" | "google" | "apple" | "x")[];
7676
+ connections: ("google" | "apple" | "x" | "discord")[];
7677
7677
  trigger: {
7678
7678
  kind: "manual";
7679
7679
  input: "text";
@@ -7704,7 +7704,7 @@ declare function createRelayClient(options: {
7704
7704
  };
7705
7705
  availability: {
7706
7706
  kind: "available";
7707
- input: "url" | "text" | "quiz" | "photo" | "none";
7707
+ input: "quiz" | "url" | "text" | "photo" | "none";
7708
7708
  } | {
7709
7709
  kind: "completed";
7710
7710
  } | {
@@ -7753,7 +7753,7 @@ declare function createRelayClient(options: {
7753
7753
  quest: string;
7754
7754
  member: string;
7755
7755
  evidence: string | null;
7756
- status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
7756
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
7757
7757
  reason: string | null;
7758
7758
  retries: number;
7759
7759
  generation: number;
@@ -7787,22 +7787,22 @@ declare function createRelayClient(options: {
7787
7787
  })[] | null;
7788
7788
  createdAt: number;
7789
7789
  input?: {
7790
- kind: "text";
7791
- value: string;
7792
- } | {
7793
- kind: "url";
7794
- value: string;
7795
- } | {
7796
7790
  kind: "quiz";
7797
7791
  answers: {
7798
7792
  [k: string]: string;
7799
7793
  };
7800
7794
  release?: string | undefined;
7795
+ } | {
7796
+ kind: "text";
7797
+ value: string;
7798
+ } | {
7799
+ kind: "url";
7800
+ value: string;
7801
7801
  } | undefined;
7802
7802
  } | null;
7803
7803
  release: string;
7804
- interaction: "staff" | "url" | "text" | "quiz" | "photo" | "automatic" | "claim";
7805
- lifecycle: "paused" | "active" | "archived";
7804
+ interaction: "quiz" | "url" | "text" | "staff" | "photo" | "automatic" | "claim";
7805
+ lifecycle: "active" | "paused" | "archived";
7806
7806
  rewards: {
7807
7807
  label: string;
7808
7808
  }[];
@@ -7870,7 +7870,7 @@ declare function createRelayClient(options: {
7870
7870
  auth: {
7871
7871
  providers: () => Promise<{
7872
7872
  providers: {
7873
- provider: "discord" | "google" | "apple" | "x";
7873
+ provider: "google" | "apple" | "x" | "discord";
7874
7874
  configured: boolean;
7875
7875
  }[];
7876
7876
  email: boolean;
@@ -7900,7 +7900,7 @@ declare function createRelayClient(options: {
7900
7900
  expiresAt: number;
7901
7901
  }>;
7902
7902
  accounts: () => Promise<{
7903
- provider: "discord" | "google" | "apple" | "x";
7903
+ provider: "google" | "apple" | "x" | "discord";
7904
7904
  configured: boolean;
7905
7905
  status: "disconnected" | "connected" | "reconnect";
7906
7906
  subject: string | null;
@@ -7999,7 +7999,7 @@ declare function createRelayClient(options: {
7999
7999
  quest: string;
8000
8000
  member: string;
8001
8001
  evidence: string | null;
8002
- status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
8002
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
8003
8003
  reason: string | null;
8004
8004
  retries: number;
8005
8005
  generation: number;
@@ -8033,17 +8033,17 @@ declare function createRelayClient(options: {
8033
8033
  })[] | null;
8034
8034
  createdAt: number;
8035
8035
  input?: {
8036
- kind: "text";
8037
- value: string;
8038
- } | {
8039
- kind: "url";
8040
- value: string;
8041
- } | {
8042
8036
  kind: "quiz";
8043
8037
  answers: {
8044
8038
  [k: string]: string;
8045
8039
  };
8046
8040
  release?: string | undefined;
8041
+ } | {
8042
+ kind: "text";
8043
+ value: string;
8044
+ } | {
8045
+ kind: "url";
8046
+ value: string;
8047
8047
  } | undefined;
8048
8048
  }>;
8049
8049
  progress: () => Promise<{
@@ -8071,7 +8071,7 @@ declare function createRelayClient(options: {
8071
8071
  } | undefined;
8072
8072
  } | undefined;
8073
8073
  };
8074
- connections: ("discord" | "google" | "apple" | "x")[];
8074
+ connections: ("google" | "apple" | "x" | "discord")[];
8075
8075
  trigger: {
8076
8076
  kind: "manual";
8077
8077
  input: "text";
@@ -8102,7 +8102,7 @@ declare function createRelayClient(options: {
8102
8102
  };
8103
8103
  availability: {
8104
8104
  kind: "available";
8105
- input: "url" | "text" | "quiz" | "photo" | "none";
8105
+ input: "quiz" | "url" | "text" | "photo" | "none";
8106
8106
  } | {
8107
8107
  kind: "completed";
8108
8108
  } | {
@@ -8151,7 +8151,7 @@ declare function createRelayClient(options: {
8151
8151
  quest: string;
8152
8152
  member: string;
8153
8153
  evidence: string | null;
8154
- status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
8154
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
8155
8155
  reason: string | null;
8156
8156
  retries: number;
8157
8157
  generation: number;
@@ -8185,17 +8185,17 @@ declare function createRelayClient(options: {
8185
8185
  })[] | null;
8186
8186
  createdAt: number;
8187
8187
  input?: {
8188
- kind: "text";
8189
- value: string;
8190
- } | {
8191
- kind: "url";
8192
- value: string;
8193
- } | {
8194
8188
  kind: "quiz";
8195
8189
  answers: {
8196
8190
  [k: string]: string;
8197
8191
  };
8198
8192
  release?: string | undefined;
8193
+ } | {
8194
+ kind: "text";
8195
+ value: string;
8196
+ } | {
8197
+ kind: "url";
8198
+ value: string;
8199
8199
  } | undefined;
8200
8200
  } | null;
8201
8201
  key?: string | undefined;
@@ -8318,7 +8318,7 @@ declare function createRelayClient(options: {
8318
8318
  provider: "discord";
8319
8319
  action: "grant-role";
8320
8320
  roleId: string;
8321
- status: "pending" | "delivered" | "failed";
8321
+ status: "pending" | "failed" | "delivered";
8322
8322
  attempts: number;
8323
8323
  nextAt: number;
8324
8324
  lastError: string | null;
@@ -8334,7 +8334,7 @@ declare function createRelayClient(options: {
8334
8334
  quest: string;
8335
8335
  member: string;
8336
8336
  evidence: string | null;
8337
- status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
8337
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
8338
8338
  reason: string | null;
8339
8339
  retries: number;
8340
8340
  generation: number;
@@ -8368,17 +8368,17 @@ declare function createRelayClient(options: {
8368
8368
  })[] | null;
8369
8369
  createdAt: number;
8370
8370
  input?: {
8371
- kind: "text";
8372
- value: string;
8373
- } | {
8374
- kind: "url";
8375
- value: string;
8376
- } | {
8377
8371
  kind: "quiz";
8378
8372
  answers: {
8379
8373
  [k: string]: string;
8380
8374
  };
8381
8375
  release?: string | undefined;
8376
+ } | {
8377
+ kind: "text";
8378
+ value: string;
8379
+ } | {
8380
+ kind: "url";
8381
+ value: string;
8382
8382
  } | undefined;
8383
8383
  }>;
8384
8384
  upload: (file: File) => Promise<{
@@ -8400,7 +8400,7 @@ declare function createRelayClient(options: {
8400
8400
  quest: string;
8401
8401
  member: string;
8402
8402
  evidence: string | null;
8403
- status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
8403
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
8404
8404
  reason: string | null;
8405
8405
  retries: number;
8406
8406
  generation: number;
@@ -8434,17 +8434,17 @@ declare function createRelayClient(options: {
8434
8434
  })[] | null;
8435
8435
  createdAt: number;
8436
8436
  input?: {
8437
- kind: "text";
8438
- value: string;
8439
- } | {
8440
- kind: "url";
8441
- value: string;
8442
- } | {
8443
8437
  kind: "quiz";
8444
8438
  answers: {
8445
8439
  [k: string]: string;
8446
8440
  };
8447
8441
  release?: string | undefined;
8442
+ } | {
8443
+ kind: "text";
8444
+ value: string;
8445
+ } | {
8446
+ kind: "url";
8447
+ value: string;
8448
8448
  } | undefined;
8449
8449
  };
8450
8450
  title: string;
@@ -8484,7 +8484,7 @@ declare function createRelayClient(options: {
8484
8484
  code: string;
8485
8485
  definition: {
8486
8486
  quest: string;
8487
- runtimeVersion: 2 | 1;
8487
+ runtimeVersion: 1 | 2;
8488
8488
  title: string;
8489
8489
  presentation: {
8490
8490
  quiz?: {
@@ -8655,7 +8655,7 @@ declare function createRelayClient(options: {
8655
8655
  visibility: "visible" | "hidden";
8656
8656
  budgets: {
8657
8657
  id: string;
8658
- scope: "project" | "member";
8658
+ scope: "member" | "project";
8659
8659
  period: "day" | "lifetime";
8660
8660
  limit: number;
8661
8661
  cost: number | {
@@ -8669,7 +8669,7 @@ declare function createRelayClient(options: {
8669
8669
  code: string;
8670
8670
  definition: {
8671
8671
  quest: string;
8672
- runtimeVersion: 2 | 1;
8672
+ runtimeVersion: 1 | 2;
8673
8673
  title: string;
8674
8674
  presentation: {
8675
8675
  quiz?: {
@@ -8840,7 +8840,7 @@ declare function createRelayClient(options: {
8840
8840
  visibility: "visible" | "hidden";
8841
8841
  budgets: {
8842
8842
  id: string;
8843
- scope: "project" | "member";
8843
+ scope: "member" | "project";
8844
8844
  period: "day" | "lifetime";
8845
8845
  limit: number;
8846
8846
  cost: number | {
@@ -8853,7 +8853,7 @@ declare function createRelayClient(options: {
8853
8853
  snapshot: () => Promise<{
8854
8854
  releases: {
8855
8855
  quest: string;
8856
- runtimeVersion: 2 | 1;
8856
+ runtimeVersion: 1 | 2;
8857
8857
  title: string;
8858
8858
  presentation: {
8859
8859
  quiz?: {
@@ -9024,7 +9024,7 @@ declare function createRelayClient(options: {
9024
9024
  visibility: "visible" | "hidden";
9025
9025
  budgets: {
9026
9026
  id: string;
9027
- scope: "project" | "member";
9027
+ scope: "member" | "project";
9028
9028
  period: "day" | "lifetime";
9029
9029
  limit: number;
9030
9030
  cost: number | {
@@ -9036,7 +9036,7 @@ declare function createRelayClient(options: {
9036
9036
  id: string;
9037
9037
  createdAt: number;
9038
9038
  legacy: boolean;
9039
- lifecycle: "paused" | "active" | "archived";
9039
+ lifecycle: "active" | "paused" | "archived";
9040
9040
  key?: string | undefined;
9041
9041
  origin?: {
9042
9042
  typeVersion: string;
@@ -9152,7 +9152,7 @@ declare function createRelayClient(options: {
9152
9152
  quest: string;
9153
9153
  member: string;
9154
9154
  evidence: string | null;
9155
- status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
9155
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
9156
9156
  reason: string | null;
9157
9157
  retries: number;
9158
9158
  generation: number;
@@ -9186,17 +9186,17 @@ declare function createRelayClient(options: {
9186
9186
  })[] | null;
9187
9187
  createdAt: number;
9188
9188
  input?: {
9189
- kind: "text";
9190
- value: string;
9191
- } | {
9192
- kind: "url";
9193
- value: string;
9194
- } | {
9195
9189
  kind: "quiz";
9196
9190
  answers: {
9197
9191
  [k: string]: string;
9198
9192
  };
9199
9193
  release?: string | undefined;
9194
+ } | {
9195
+ kind: "text";
9196
+ value: string;
9197
+ } | {
9198
+ kind: "url";
9199
+ value: string;
9200
9200
  } | undefined;
9201
9201
  }[];
9202
9202
  balances: {
@@ -9218,7 +9218,7 @@ declare function createRelayClient(options: {
9218
9218
  /** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
9219
9219
  publish: (release: ReleaseInput) => Promise<{
9220
9220
  quest: string;
9221
- runtimeVersion: 2 | 1;
9221
+ runtimeVersion: 1 | 2;
9222
9222
  title: string;
9223
9223
  presentation: {
9224
9224
  quiz?: {
@@ -9389,7 +9389,7 @@ declare function createRelayClient(options: {
9389
9389
  visibility: "visible" | "hidden";
9390
9390
  budgets: {
9391
9391
  id: string;
9392
- scope: "project" | "member";
9392
+ scope: "member" | "project";
9393
9393
  period: "day" | "lifetime";
9394
9394
  limit: number;
9395
9395
  cost: number | {
@@ -9401,7 +9401,7 @@ declare function createRelayClient(options: {
9401
9401
  id: string;
9402
9402
  createdAt: number;
9403
9403
  legacy: boolean;
9404
- lifecycle: "paused" | "active" | "archived";
9404
+ lifecycle: "active" | "paused" | "archived";
9405
9405
  key?: string | undefined;
9406
9406
  origin?: {
9407
9407
  typeVersion: string;
@@ -9431,7 +9431,7 @@ declare function createRelayClient(options: {
9431
9431
  /** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
9432
9432
  publishBatch: (releases: ReleaseInput[]) => Promise<{
9433
9433
  quest: string;
9434
- runtimeVersion: 2 | 1;
9434
+ runtimeVersion: 1 | 2;
9435
9435
  title: string;
9436
9436
  presentation: {
9437
9437
  quiz?: {
@@ -9602,7 +9602,7 @@ declare function createRelayClient(options: {
9602
9602
  visibility: "visible" | "hidden";
9603
9603
  budgets: {
9604
9604
  id: string;
9605
- scope: "project" | "member";
9605
+ scope: "member" | "project";
9606
9606
  period: "day" | "lifetime";
9607
9607
  limit: number;
9608
9608
  cost: number | {
@@ -9614,7 +9614,7 @@ declare function createRelayClient(options: {
9614
9614
  id: string;
9615
9615
  createdAt: number;
9616
9616
  legacy: boolean;
9617
- lifecycle: "paused" | "active" | "archived";
9617
+ lifecycle: "active" | "paused" | "archived";
9618
9618
  key?: string | undefined;
9619
9619
  origin?: {
9620
9620
  typeVersion: string;
@@ -9666,7 +9666,7 @@ declare function createRelayClient(options: {
9666
9666
  } | undefined;
9667
9667
  } | undefined;
9668
9668
  };
9669
- connections: ("discord" | "google" | "apple" | "x")[];
9669
+ connections: ("google" | "apple" | "x" | "discord")[];
9670
9670
  trigger: {
9671
9671
  kind: "manual";
9672
9672
  input: "text";
@@ -9697,7 +9697,7 @@ declare function createRelayClient(options: {
9697
9697
  };
9698
9698
  availability: {
9699
9699
  kind: "available";
9700
- input: "url" | "text" | "quiz" | "photo" | "none";
9700
+ input: "quiz" | "url" | "text" | "photo" | "none";
9701
9701
  } | {
9702
9702
  kind: "completed";
9703
9703
  } | {
@@ -9746,7 +9746,7 @@ declare function createRelayClient(options: {
9746
9746
  quest: string;
9747
9747
  member: string;
9748
9748
  evidence: string | null;
9749
- status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
9749
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
9750
9750
  reason: string | null;
9751
9751
  retries: number;
9752
9752
  generation: number;
@@ -9780,17 +9780,17 @@ declare function createRelayClient(options: {
9780
9780
  })[] | null;
9781
9781
  createdAt: number;
9782
9782
  input?: {
9783
- kind: "text";
9784
- value: string;
9785
- } | {
9786
- kind: "url";
9787
- value: string;
9788
- } | {
9789
9783
  kind: "quiz";
9790
9784
  answers: {
9791
9785
  [k: string]: string;
9792
9786
  };
9793
9787
  release?: string | undefined;
9788
+ } | {
9789
+ kind: "text";
9790
+ value: string;
9791
+ } | {
9792
+ kind: "url";
9793
+ value: string;
9794
9794
  } | undefined;
9795
9795
  } | null;
9796
9796
  key?: string | undefined;
@@ -10075,7 +10075,7 @@ declare function createRelayClient(options: {
10075
10075
  quest: string;
10076
10076
  member: string;
10077
10077
  evidence: string | null;
10078
- status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
10078
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
10079
10079
  reason: string | null;
10080
10080
  retries: number;
10081
10081
  generation: number;
@@ -10109,17 +10109,17 @@ declare function createRelayClient(options: {
10109
10109
  })[] | null;
10110
10110
  createdAt: number;
10111
10111
  input?: {
10112
- kind: "text";
10113
- value: string;
10114
- } | {
10115
- kind: "url";
10116
- value: string;
10117
- } | {
10118
10112
  kind: "quiz";
10119
10113
  answers: {
10120
10114
  [k: string]: string;
10121
10115
  };
10122
10116
  release?: string | undefined;
10117
+ } | {
10118
+ kind: "text";
10119
+ value: string;
10120
+ } | {
10121
+ kind: "url";
10122
+ value: string;
10123
10123
  } | undefined;
10124
10124
  }>;
10125
10125
  retry: (id: string) => Promise<{
@@ -10128,7 +10128,7 @@ declare function createRelayClient(options: {
10128
10128
  quest: string;
10129
10129
  member: string;
10130
10130
  evidence: string | null;
10131
- status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
10131
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
10132
10132
  reason: string | null;
10133
10133
  retries: number;
10134
10134
  generation: number;
@@ -10162,17 +10162,17 @@ declare function createRelayClient(options: {
10162
10162
  })[] | null;
10163
10163
  createdAt: number;
10164
10164
  input?: {
10165
- kind: "text";
10166
- value: string;
10167
- } | {
10168
- kind: "url";
10169
- value: string;
10170
- } | {
10171
10165
  kind: "quiz";
10172
10166
  answers: {
10173
10167
  [k: string]: string;
10174
10168
  };
10175
10169
  release?: string | undefined;
10170
+ } | {
10171
+ kind: "text";
10172
+ value: string;
10173
+ } | {
10174
+ kind: "url";
10175
+ value: string;
10176
10176
  } | undefined;
10177
10177
  }>;
10178
10178
  /** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
@@ -10187,7 +10187,7 @@ declare function createRelayClient(options: {
10187
10187
  quest: string;
10188
10188
  member: string;
10189
10189
  evidence: string | null;
10190
- status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
10190
+ status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
10191
10191
  reason: string | null;
10192
10192
  retries: number;
10193
10193
  generation: number;
@@ -10221,17 +10221,17 @@ declare function createRelayClient(options: {
10221
10221
  })[] | null;
10222
10222
  createdAt: number;
10223
10223
  input?: {
10224
- kind: "text";
10225
- value: string;
10226
- } | {
10227
- kind: "url";
10228
- value: string;
10229
- } | {
10230
10224
  kind: "quiz";
10231
10225
  answers: {
10232
10226
  [k: string]: string;
10233
10227
  };
10234
10228
  release?: string | undefined;
10229
+ } | {
10230
+ kind: "text";
10231
+ value: string;
10232
+ } | {
10233
+ kind: "url";
10234
+ value: string;
10235
10235
  } | undefined;
10236
10236
  }>;
10237
10237
  };