@domino-sdk/relay 1.0.0-next.4 → 1.0.0-next.6

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
@@ -210,12 +210,12 @@ type ProgressObserver = {
210
210
 
211
211
  declare const interactionSchema: z.ZodEnum<{
212
212
  staff: "staff";
213
- quiz: "quiz";
214
213
  text: "text";
215
214
  url: "url";
216
- photo: "photo";
217
215
  automatic: "automatic";
218
216
  claim: "claim";
217
+ quiz: "quiz";
218
+ photo: "photo";
219
219
  }>;
220
220
  type QuestInteraction = z.infer<typeof interactionSchema>;
221
221
  declare function questInteraction(trigger: z.infer<typeof questDescriptionSchema>["trigger"]): QuestInteraction;
@@ -384,9 +384,9 @@ declare const questTypeVersionSchema: z.ZodObject<{
384
384
  }, z.core.$strict>, z.ZodObject<{
385
385
  kind: z.ZodLiteral<"manual">;
386
386
  input: z.ZodEnum<{
387
+ none: "none";
387
388
  quiz: "quiz";
388
389
  photo: "photo";
389
- none: "none";
390
390
  }>;
391
391
  actor: z.ZodOptional<z.ZodEnum<{
392
392
  member: "member";
@@ -405,8 +405,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
405
405
  end: z.ZodOptional<z.ZodNumber>;
406
406
  }, z.core.$strict>;
407
407
  enrollment: z.ZodDefault<z.ZodEnum<{
408
- required: "required";
409
408
  none: "none";
409
+ required: "required";
410
410
  }>>;
411
411
  posts: z.ZodDefault<z.ZodEnum<{
412
412
  "after-enrollment": "after-enrollment";
@@ -488,8 +488,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
488
488
  }>;
489
489
  period: z.ZodEnum<{
490
490
  day: "day";
491
- week: "week";
492
491
  lifetime: "lifetime";
492
+ week: "week";
493
493
  }>;
494
494
  limit: z.ZodNumber;
495
495
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -519,7 +519,7 @@ declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
519
519
  title: string;
520
520
  key?: string | undefined;
521
521
  id?: string | undefined;
522
- }, "key" | "id"> & {
522
+ }, "id" | "key"> & {
523
523
  key: string;
524
524
  }, {
525
525
  title: string;
@@ -547,8 +547,8 @@ declare const questInstanceSchema: z.ZodObject<{
547
547
  }, z.core.$strict>>]>>;
548
548
  requires: z.ZodArray<z.ZodString>;
549
549
  status: z.ZodEnum<{
550
- active: "active";
551
550
  paused: "paused";
551
+ active: "active";
552
552
  archived: "archived";
553
553
  }>;
554
554
  }, z.core.$strict>;
@@ -568,8 +568,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
568
568
  }, z.core.$strict>>]>>;
569
569
  requires: z.ZodArray<z.ZodString>;
570
570
  status: z.ZodEnum<{
571
- active: "active";
572
571
  paused: "paused";
572
+ active: "active";
573
573
  archived: "archived";
574
574
  }>;
575
575
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -601,8 +601,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
601
601
  }, z.core.$strict>>]>>;
602
602
  requires: z.ZodArray<z.ZodString>;
603
603
  status: z.ZodEnum<{
604
- active: "active";
605
604
  paused: "paused";
605
+ active: "active";
606
606
  archived: "archived";
607
607
  }>;
608
608
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -635,8 +635,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
635
635
  }, z.core.$strict>>]>>;
636
636
  requires: z.ZodArray<z.ZodString>;
637
637
  status: z.ZodEnum<{
638
- active: "active";
639
638
  paused: "paused";
639
+ active: "active";
640
640
  archived: "archived";
641
641
  }>;
642
642
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -818,9 +818,9 @@ declare const questCatalogSchema: z.ZodObject<{
818
818
  }, z.core.$strict>, z.ZodObject<{
819
819
  kind: z.ZodLiteral<"manual">;
820
820
  input: z.ZodEnum<{
821
+ none: "none";
821
822
  quiz: "quiz";
822
823
  photo: "photo";
823
- none: "none";
824
824
  }>;
825
825
  actor: z.ZodOptional<z.ZodEnum<{
826
826
  member: "member";
@@ -839,8 +839,8 @@ declare const questCatalogSchema: z.ZodObject<{
839
839
  end: z.ZodOptional<z.ZodNumber>;
840
840
  }, z.core.$strict>;
841
841
  enrollment: z.ZodDefault<z.ZodEnum<{
842
- required: "required";
843
842
  none: "none";
843
+ required: "required";
844
844
  }>>;
845
845
  posts: z.ZodDefault<z.ZodEnum<{
846
846
  "after-enrollment": "after-enrollment";
@@ -922,8 +922,8 @@ declare const questCatalogSchema: z.ZodObject<{
922
922
  }>;
923
923
  period: z.ZodEnum<{
924
924
  day: "day";
925
- week: "week";
926
925
  lifetime: "lifetime";
926
+ week: "week";
927
927
  }>;
928
928
  limit: z.ZodNumber;
929
929
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -961,8 +961,8 @@ declare const questCatalogSchema: z.ZodObject<{
961
961
  }, z.core.$strict>>]>>;
962
962
  requires: z.ZodArray<z.ZodString>;
963
963
  status: z.ZodEnum<{
964
- active: "active";
965
964
  paused: "paused";
965
+ active: "active";
966
966
  archived: "archived";
967
967
  }>;
968
968
  }, z.core.$strict>>;
@@ -986,8 +986,8 @@ declare const questCatalogSchema: z.ZodObject<{
986
986
  }, z.core.$strict>>]>>;
987
987
  requires: z.ZodArray<z.ZodString>;
988
988
  status: z.ZodEnum<{
989
- active: "active";
990
989
  paused: "paused";
990
+ active: "active";
991
991
  archived: "archived";
992
992
  }>;
993
993
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -1020,8 +1020,8 @@ declare const questCatalogSchema: z.ZodObject<{
1020
1020
  }, z.core.$strict>>]>>;
1021
1021
  requires: z.ZodArray<z.ZodString>;
1022
1022
  status: z.ZodEnum<{
1023
- active: "active";
1024
1023
  paused: "paused";
1024
+ active: "active";
1025
1025
  archived: "archived";
1026
1026
  }>;
1027
1027
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -1196,9 +1196,9 @@ declare const questCatalogSchema: z.ZodObject<{
1196
1196
  }, z.core.$strict>, z.ZodObject<{
1197
1197
  kind: z.ZodLiteral<"manual">;
1198
1198
  input: z.ZodEnum<{
1199
+ none: "none";
1199
1200
  quiz: "quiz";
1200
1201
  photo: "photo";
1201
- none: "none";
1202
1202
  }>;
1203
1203
  actor: z.ZodOptional<z.ZodEnum<{
1204
1204
  member: "member";
@@ -1217,8 +1217,8 @@ declare const questCatalogSchema: z.ZodObject<{
1217
1217
  end: z.ZodOptional<z.ZodNumber>;
1218
1218
  }, z.core.$strict>;
1219
1219
  enrollment: z.ZodDefault<z.ZodEnum<{
1220
- required: "required";
1221
1220
  none: "none";
1221
+ required: "required";
1222
1222
  }>>;
1223
1223
  posts: z.ZodDefault<z.ZodEnum<{
1224
1224
  "after-enrollment": "after-enrollment";
@@ -1300,8 +1300,8 @@ declare const questCatalogSchema: z.ZodObject<{
1300
1300
  }>;
1301
1301
  period: z.ZodEnum<{
1302
1302
  day: "day";
1303
- week: "week";
1304
1303
  lifetime: "lifetime";
1304
+ week: "week";
1305
1305
  }>;
1306
1306
  limit: z.ZodNumber;
1307
1307
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -1324,8 +1324,8 @@ declare const questCatalogSchema: z.ZodObject<{
1324
1324
  typeVersion: z.ZodString;
1325
1325
  }, z.core.$strict>>;
1326
1326
  lifecycle: z.ZodDefault<z.ZodEnum<{
1327
- active: "active";
1328
1327
  paused: "paused";
1328
+ active: "active";
1329
1329
  archived: "archived";
1330
1330
  }>>;
1331
1331
  configuration: z.ZodOptional<z.ZodObject<{
@@ -1430,12 +1430,12 @@ declare const questCatalogSchema: z.ZodObject<{
1430
1430
  kind: "resource";
1431
1431
  default: string;
1432
1432
  source: {
1433
- provider: "domino";
1434
- resource: "point-ledger";
1435
- } | {
1436
1433
  provider: "discord";
1437
1434
  resource: "channel";
1438
1435
  types: ("text" | "announcement")[];
1436
+ } | {
1437
+ provider: "domino";
1438
+ resource: "point-ledger";
1439
1439
  } | {
1440
1440
  provider: "discord";
1441
1441
  resource: "role";
@@ -1532,7 +1532,7 @@ declare const questCatalogSchema: z.ZodObject<{
1532
1532
  start: number;
1533
1533
  end?: number | undefined;
1534
1534
  };
1535
- enrollment: "required" | "none";
1535
+ enrollment: "none" | "required";
1536
1536
  posts: "after-enrollment" | "since-start";
1537
1537
  historical: "staff" | "automatic" | "claim";
1538
1538
  } | undefined;
@@ -1579,7 +1579,7 @@ declare const questCatalogSchema: z.ZodObject<{
1579
1579
  actor?: "member" | "staff" | undefined;
1580
1580
  } | {
1581
1581
  kind: "manual";
1582
- input: "quiz" | "photo" | "none";
1582
+ input: "none" | "quiz" | "photo";
1583
1583
  actor?: "member" | "staff" | undefined;
1584
1584
  };
1585
1585
  requires: {
@@ -1598,7 +1598,7 @@ declare const questCatalogSchema: z.ZodObject<{
1598
1598
  budgets: {
1599
1599
  id: string;
1600
1600
  scope: "project" | "member";
1601
- period: "day" | "week" | "lifetime";
1601
+ period: "day" | "lifetime" | "week";
1602
1602
  limit: number;
1603
1603
  cost: number | {
1604
1604
  balance: string;
@@ -1609,7 +1609,7 @@ declare const questCatalogSchema: z.ZodObject<{
1609
1609
  id: string;
1610
1610
  createdAt: number;
1611
1611
  legacy: boolean;
1612
- lifecycle: "active" | "paused" | "archived";
1612
+ lifecycle: "paused" | "active" | "archived";
1613
1613
  performance?: {
1614
1614
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1615
1615
  maxAgeMs: number;
@@ -1681,12 +1681,12 @@ declare const questCatalogSchema: z.ZodObject<{
1681
1681
  }>>]>>>;
1682
1682
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1683
1683
  staff: "staff";
1684
- quiz: "quiz";
1685
1684
  text: "text";
1686
1685
  url: "url";
1687
- photo: "photo";
1688
1686
  automatic: "automatic";
1689
1687
  claim: "claim";
1688
+ quiz: "quiz";
1689
+ photo: "photo";
1690
1690
  }>>;
1691
1691
  }, z.core.$strip>;
1692
1692
  declare const catalogDeploymentSchema: z.ZodObject<{
@@ -1705,7 +1705,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1705
1705
  title: string;
1706
1706
  key?: string | undefined;
1707
1707
  id?: string | undefined;
1708
- }, "key" | "id"> & {
1708
+ }, "id" | "key"> & {
1709
1709
  key: string;
1710
1710
  }, {
1711
1711
  title: string;
@@ -1714,12 +1714,12 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1714
1714
  }>>>>;
1715
1715
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1716
1716
  staff: "staff";
1717
- quiz: "quiz";
1718
1717
  text: "text";
1719
1718
  url: "url";
1720
- photo: "photo";
1721
1719
  automatic: "automatic";
1722
1720
  claim: "claim";
1721
+ quiz: "quiz";
1722
+ photo: "photo";
1723
1723
  }>>>;
1724
1724
  }, z.core.$strict>;
1725
1725
  declare const catalogDeploymentPreviewSchema: z.ZodObject<{
@@ -1889,9 +1889,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1889
1889
  }, z.core.$strict>, z.ZodObject<{
1890
1890
  kind: z.ZodLiteral<"manual">;
1891
1891
  input: z.ZodEnum<{
1892
+ none: "none";
1892
1893
  quiz: "quiz";
1893
1894
  photo: "photo";
1894
- none: "none";
1895
1895
  }>;
1896
1896
  actor: z.ZodOptional<z.ZodEnum<{
1897
1897
  member: "member";
@@ -1910,8 +1910,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1910
1910
  end: z.ZodOptional<z.ZodNumber>;
1911
1911
  }, z.core.$strict>;
1912
1912
  enrollment: z.ZodDefault<z.ZodEnum<{
1913
- required: "required";
1914
1913
  none: "none";
1914
+ required: "required";
1915
1915
  }>>;
1916
1916
  posts: z.ZodDefault<z.ZodEnum<{
1917
1917
  "after-enrollment": "after-enrollment";
@@ -1993,8 +1993,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1993
1993
  }>;
1994
1994
  period: z.ZodEnum<{
1995
1995
  day: "day";
1996
- week: "week";
1997
1996
  lifetime: "lifetime";
1997
+ week: "week";
1998
1998
  }>;
1999
1999
  limit: z.ZodNumber;
2000
2000
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -2018,12 +2018,12 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2018
2018
  }, z.core.$strict>>;
2019
2019
  supportedInteractions: z.ZodArray<z.ZodEnum<{
2020
2020
  staff: "staff";
2021
- quiz: "quiz";
2022
2021
  text: "text";
2023
2022
  url: "url";
2024
- photo: "photo";
2025
2023
  automatic: "automatic";
2026
2024
  claim: "claim";
2025
+ quiz: "quiz";
2026
+ photo: "photo";
2027
2027
  }>>;
2028
2028
  }, z.core.$strip>;
2029
2029
  declare const saveQuestDraftSchema: z.ZodObject<{
@@ -2047,8 +2047,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
2047
2047
  }, z.core.$strict>>]>>;
2048
2048
  requires: z.ZodArray<z.ZodString>;
2049
2049
  status: z.ZodEnum<{
2050
- active: "active";
2051
2050
  paused: "paused";
2051
+ active: "active";
2052
2052
  archived: "archived";
2053
2053
  }>;
2054
2054
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -2116,10 +2116,10 @@ declare const questViewSchema: z.ZodObject<{
2116
2116
  }, z.core.$strict>>;
2117
2117
  }, z.core.$strict>>;
2118
2118
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2119
+ x: "x";
2119
2120
  discord: "discord";
2120
2121
  google: "google";
2121
2122
  apple: "apple";
2122
- x: "x";
2123
2123
  }>>>;
2124
2124
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2125
2125
  kind: z.ZodLiteral<"manual">;
@@ -2147,9 +2147,9 @@ declare const questViewSchema: z.ZodObject<{
2147
2147
  }, z.core.$strict>, z.ZodObject<{
2148
2148
  kind: z.ZodLiteral<"manual">;
2149
2149
  input: z.ZodEnum<{
2150
+ none: "none";
2150
2151
  quiz: "quiz";
2151
2152
  photo: "photo";
2152
- none: "none";
2153
2153
  }>;
2154
2154
  actor: z.ZodOptional<z.ZodEnum<{
2155
2155
  member: "member";
@@ -2168,8 +2168,8 @@ declare const questViewSchema: z.ZodObject<{
2168
2168
  end: z.ZodOptional<z.ZodNumber>;
2169
2169
  }, z.core.$strict>;
2170
2170
  enrollment: z.ZodDefault<z.ZodEnum<{
2171
- required: "required";
2172
2171
  none: "none";
2172
+ required: "required";
2173
2173
  }>>;
2174
2174
  posts: z.ZodDefault<z.ZodEnum<{
2175
2175
  "after-enrollment": "after-enrollment";
@@ -2216,11 +2216,11 @@ declare const questViewSchema: z.ZodObject<{
2216
2216
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2217
2217
  kind: z.ZodLiteral<"available">;
2218
2218
  input: z.ZodEnum<{
2219
- quiz: "quiz";
2220
2219
  text: "text";
2221
2220
  url: "url";
2222
- photo: "photo";
2223
2221
  none: "none";
2222
+ quiz: "quiz";
2223
+ photo: "photo";
2224
2224
  }>;
2225
2225
  }, z.core.$strict>, z.ZodObject<{
2226
2226
  kind: z.ZodLiteral<"completed">;
@@ -2317,13 +2317,13 @@ declare const questViewSchema: z.ZodObject<{
2317
2317
  value: z.ZodString;
2318
2318
  }, z.core.$strict>]>>;
2319
2319
  status: z.ZodEnum<{
2320
+ "needs-review": "needs-review";
2321
+ failed: "failed";
2320
2322
  queued: "queued";
2321
2323
  evaluating: "evaluating";
2322
2324
  accepted: "accepted";
2323
2325
  progressed: "progressed";
2324
2326
  rejected: "rejected";
2325
- "needs-review": "needs-review";
2326
- failed: "failed";
2327
2327
  }>;
2328
2328
  reason: z.ZodNullable<z.ZodString>;
2329
2329
  retries: z.ZodNumber;
@@ -2356,21 +2356,22 @@ declare const questViewSchema: z.ZodObject<{
2356
2356
  action: z.ZodLiteral<"grant-role">;
2357
2357
  roleId: z.ZodString;
2358
2358
  }, z.core.$strict>]>>>>;
2359
+ requestedReview: z.ZodDefault<z.ZodBoolean>;
2359
2360
  createdAt: z.ZodNumber;
2360
2361
  }, z.core.$strip>>;
2361
2362
  release: z.ZodString;
2362
2363
  interaction: z.ZodEnum<{
2363
2364
  staff: "staff";
2364
- quiz: "quiz";
2365
2365
  text: "text";
2366
2366
  url: "url";
2367
- photo: "photo";
2368
2367
  automatic: "automatic";
2369
2368
  claim: "claim";
2369
+ quiz: "quiz";
2370
+ photo: "photo";
2370
2371
  }>;
2371
2372
  lifecycle: z.ZodEnum<{
2372
- active: "active";
2373
2373
  paused: "paused";
2374
+ active: "active";
2374
2375
  archived: "archived";
2375
2376
  }>;
2376
2377
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2425,10 +2426,10 @@ declare const collectionViewSchema: z.ZodObject<{
2425
2426
  }, z.core.$strict>>;
2426
2427
  }, z.core.$strict>>;
2427
2428
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2429
+ x: "x";
2428
2430
  discord: "discord";
2429
2431
  google: "google";
2430
2432
  apple: "apple";
2431
- x: "x";
2432
2433
  }>>>;
2433
2434
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2434
2435
  kind: z.ZodLiteral<"manual">;
@@ -2456,9 +2457,9 @@ declare const collectionViewSchema: z.ZodObject<{
2456
2457
  }, z.core.$strict>, z.ZodObject<{
2457
2458
  kind: z.ZodLiteral<"manual">;
2458
2459
  input: z.ZodEnum<{
2460
+ none: "none";
2459
2461
  quiz: "quiz";
2460
2462
  photo: "photo";
2461
- none: "none";
2462
2463
  }>;
2463
2464
  actor: z.ZodOptional<z.ZodEnum<{
2464
2465
  member: "member";
@@ -2477,8 +2478,8 @@ declare const collectionViewSchema: z.ZodObject<{
2477
2478
  end: z.ZodOptional<z.ZodNumber>;
2478
2479
  }, z.core.$strict>;
2479
2480
  enrollment: z.ZodDefault<z.ZodEnum<{
2480
- required: "required";
2481
2481
  none: "none";
2482
+ required: "required";
2482
2483
  }>>;
2483
2484
  posts: z.ZodDefault<z.ZodEnum<{
2484
2485
  "after-enrollment": "after-enrollment";
@@ -2525,11 +2526,11 @@ declare const collectionViewSchema: z.ZodObject<{
2525
2526
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2526
2527
  kind: z.ZodLiteral<"available">;
2527
2528
  input: z.ZodEnum<{
2528
- quiz: "quiz";
2529
2529
  text: "text";
2530
2530
  url: "url";
2531
- photo: "photo";
2532
2531
  none: "none";
2532
+ quiz: "quiz";
2533
+ photo: "photo";
2533
2534
  }>;
2534
2535
  }, z.core.$strict>, z.ZodObject<{
2535
2536
  kind: z.ZodLiteral<"completed">;
@@ -2626,13 +2627,13 @@ declare const collectionViewSchema: z.ZodObject<{
2626
2627
  value: z.ZodString;
2627
2628
  }, z.core.$strict>]>>;
2628
2629
  status: z.ZodEnum<{
2630
+ "needs-review": "needs-review";
2631
+ failed: "failed";
2629
2632
  queued: "queued";
2630
2633
  evaluating: "evaluating";
2631
2634
  accepted: "accepted";
2632
2635
  progressed: "progressed";
2633
2636
  rejected: "rejected";
2634
- "needs-review": "needs-review";
2635
- failed: "failed";
2636
2637
  }>;
2637
2638
  reason: z.ZodNullable<z.ZodString>;
2638
2639
  retries: z.ZodNumber;
@@ -2665,21 +2666,22 @@ declare const collectionViewSchema: z.ZodObject<{
2665
2666
  action: z.ZodLiteral<"grant-role">;
2666
2667
  roleId: z.ZodString;
2667
2668
  }, z.core.$strict>]>>>>;
2669
+ requestedReview: z.ZodDefault<z.ZodBoolean>;
2668
2670
  createdAt: z.ZodNumber;
2669
2671
  }, z.core.$strip>>;
2670
2672
  release: z.ZodString;
2671
2673
  interaction: z.ZodEnum<{
2672
2674
  staff: "staff";
2673
- quiz: "quiz";
2674
2675
  text: "text";
2675
2676
  url: "url";
2676
- photo: "photo";
2677
2677
  automatic: "automatic";
2678
2678
  claim: "claim";
2679
+ quiz: "quiz";
2680
+ photo: "photo";
2679
2681
  }>;
2680
2682
  lifecycle: z.ZodEnum<{
2681
- active: "active";
2682
2683
  paused: "paused";
2684
+ active: "active";
2683
2685
  archived: "archived";
2684
2686
  }>;
2685
2687
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2733,10 +2735,10 @@ declare const questExperienceSchema: z.ZodObject<{
2733
2735
  }, z.core.$strict>>;
2734
2736
  }, z.core.$strict>>;
2735
2737
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2738
+ x: "x";
2736
2739
  discord: "discord";
2737
2740
  google: "google";
2738
2741
  apple: "apple";
2739
- x: "x";
2740
2742
  }>>>;
2741
2743
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2742
2744
  kind: z.ZodLiteral<"manual">;
@@ -2764,9 +2766,9 @@ declare const questExperienceSchema: z.ZodObject<{
2764
2766
  }, z.core.$strict>, z.ZodObject<{
2765
2767
  kind: z.ZodLiteral<"manual">;
2766
2768
  input: z.ZodEnum<{
2769
+ none: "none";
2767
2770
  quiz: "quiz";
2768
2771
  photo: "photo";
2769
- none: "none";
2770
2772
  }>;
2771
2773
  actor: z.ZodOptional<z.ZodEnum<{
2772
2774
  member: "member";
@@ -2785,8 +2787,8 @@ declare const questExperienceSchema: z.ZodObject<{
2785
2787
  end: z.ZodOptional<z.ZodNumber>;
2786
2788
  }, z.core.$strict>;
2787
2789
  enrollment: z.ZodDefault<z.ZodEnum<{
2788
- required: "required";
2789
2790
  none: "none";
2791
+ required: "required";
2790
2792
  }>>;
2791
2793
  posts: z.ZodDefault<z.ZodEnum<{
2792
2794
  "after-enrollment": "after-enrollment";
@@ -2833,11 +2835,11 @@ declare const questExperienceSchema: z.ZodObject<{
2833
2835
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2834
2836
  kind: z.ZodLiteral<"available">;
2835
2837
  input: z.ZodEnum<{
2836
- quiz: "quiz";
2837
2838
  text: "text";
2838
2839
  url: "url";
2839
- photo: "photo";
2840
2840
  none: "none";
2841
+ quiz: "quiz";
2842
+ photo: "photo";
2841
2843
  }>;
2842
2844
  }, z.core.$strict>, z.ZodObject<{
2843
2845
  kind: z.ZodLiteral<"completed">;
@@ -2934,13 +2936,13 @@ declare const questExperienceSchema: z.ZodObject<{
2934
2936
  value: z.ZodString;
2935
2937
  }, z.core.$strict>]>>;
2936
2938
  status: z.ZodEnum<{
2939
+ "needs-review": "needs-review";
2940
+ failed: "failed";
2937
2941
  queued: "queued";
2938
2942
  evaluating: "evaluating";
2939
2943
  accepted: "accepted";
2940
2944
  progressed: "progressed";
2941
2945
  rejected: "rejected";
2942
- "needs-review": "needs-review";
2943
- failed: "failed";
2944
2946
  }>;
2945
2947
  reason: z.ZodNullable<z.ZodString>;
2946
2948
  retries: z.ZodNumber;
@@ -2973,21 +2975,22 @@ declare const questExperienceSchema: z.ZodObject<{
2973
2975
  action: z.ZodLiteral<"grant-role">;
2974
2976
  roleId: z.ZodString;
2975
2977
  }, z.core.$strict>]>>>>;
2978
+ requestedReview: z.ZodDefault<z.ZodBoolean>;
2976
2979
  createdAt: z.ZodNumber;
2977
2980
  }, z.core.$strip>>;
2978
2981
  release: z.ZodString;
2979
2982
  interaction: z.ZodEnum<{
2980
2983
  staff: "staff";
2981
- quiz: "quiz";
2982
2984
  text: "text";
2983
2985
  url: "url";
2984
- photo: "photo";
2985
2986
  automatic: "automatic";
2986
2987
  claim: "claim";
2988
+ quiz: "quiz";
2989
+ photo: "photo";
2987
2990
  }>;
2988
2991
  lifecycle: z.ZodEnum<{
2989
- active: "active";
2990
2992
  paused: "paused";
2993
+ active: "active";
2991
2994
  archived: "archived";
2992
2995
  }>;
2993
2996
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3042,10 +3045,10 @@ declare const questExperienceSchema: z.ZodObject<{
3042
3045
  }, z.core.$strict>>;
3043
3046
  }, z.core.$strict>>;
3044
3047
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
3048
+ x: "x";
3045
3049
  discord: "discord";
3046
3050
  google: "google";
3047
3051
  apple: "apple";
3048
- x: "x";
3049
3052
  }>>>;
3050
3053
  trigger: z.ZodUnion<readonly [z.ZodObject<{
3051
3054
  kind: z.ZodLiteral<"manual">;
@@ -3073,9 +3076,9 @@ declare const questExperienceSchema: z.ZodObject<{
3073
3076
  }, z.core.$strict>, z.ZodObject<{
3074
3077
  kind: z.ZodLiteral<"manual">;
3075
3078
  input: z.ZodEnum<{
3079
+ none: "none";
3076
3080
  quiz: "quiz";
3077
3081
  photo: "photo";
3078
- none: "none";
3079
3082
  }>;
3080
3083
  actor: z.ZodOptional<z.ZodEnum<{
3081
3084
  member: "member";
@@ -3094,8 +3097,8 @@ declare const questExperienceSchema: z.ZodObject<{
3094
3097
  end: z.ZodOptional<z.ZodNumber>;
3095
3098
  }, z.core.$strict>;
3096
3099
  enrollment: z.ZodDefault<z.ZodEnum<{
3097
- required: "required";
3098
3100
  none: "none";
3101
+ required: "required";
3099
3102
  }>>;
3100
3103
  posts: z.ZodDefault<z.ZodEnum<{
3101
3104
  "after-enrollment": "after-enrollment";
@@ -3142,11 +3145,11 @@ declare const questExperienceSchema: z.ZodObject<{
3142
3145
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
3143
3146
  kind: z.ZodLiteral<"available">;
3144
3147
  input: z.ZodEnum<{
3145
- quiz: "quiz";
3146
3148
  text: "text";
3147
3149
  url: "url";
3148
- photo: "photo";
3149
3150
  none: "none";
3151
+ quiz: "quiz";
3152
+ photo: "photo";
3150
3153
  }>;
3151
3154
  }, z.core.$strict>, z.ZodObject<{
3152
3155
  kind: z.ZodLiteral<"completed">;
@@ -3243,13 +3246,13 @@ declare const questExperienceSchema: z.ZodObject<{
3243
3246
  value: z.ZodString;
3244
3247
  }, z.core.$strict>]>>;
3245
3248
  status: z.ZodEnum<{
3249
+ "needs-review": "needs-review";
3250
+ failed: "failed";
3246
3251
  queued: "queued";
3247
3252
  evaluating: "evaluating";
3248
3253
  accepted: "accepted";
3249
3254
  progressed: "progressed";
3250
3255
  rejected: "rejected";
3251
- "needs-review": "needs-review";
3252
- failed: "failed";
3253
3256
  }>;
3254
3257
  reason: z.ZodNullable<z.ZodString>;
3255
3258
  retries: z.ZodNumber;
@@ -3282,21 +3285,22 @@ declare const questExperienceSchema: z.ZodObject<{
3282
3285
  action: z.ZodLiteral<"grant-role">;
3283
3286
  roleId: z.ZodString;
3284
3287
  }, z.core.$strict>]>>>>;
3288
+ requestedReview: z.ZodDefault<z.ZodBoolean>;
3285
3289
  createdAt: z.ZodNumber;
3286
3290
  }, z.core.$strip>>;
3287
3291
  release: z.ZodString;
3288
3292
  interaction: z.ZodEnum<{
3289
3293
  staff: "staff";
3290
- quiz: "quiz";
3291
3294
  text: "text";
3292
3295
  url: "url";
3293
- photo: "photo";
3294
3296
  automatic: "automatic";
3295
3297
  claim: "claim";
3298
+ quiz: "quiz";
3299
+ photo: "photo";
3296
3300
  }>;
3297
3301
  lifecycle: z.ZodEnum<{
3298
- active: "active";
3299
3302
  paused: "paused";
3303
+ active: "active";
3300
3304
  archived: "archived";
3301
3305
  }>;
3302
3306
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3350,8 +3354,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3350
3354
  }, z.core.$strict>>]>>;
3351
3355
  requires: z.ZodArray<z.ZodString>;
3352
3356
  status: z.ZodEnum<{
3353
- active: "active";
3354
3357
  paused: "paused";
3358
+ active: "active";
3355
3359
  archived: "archived";
3356
3360
  }>;
3357
3361
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -3384,8 +3388,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3384
3388
  }, z.core.$strict>>]>>;
3385
3389
  requires: z.ZodArray<z.ZodString>;
3386
3390
  status: z.ZodEnum<{
3387
- active: "active";
3388
3391
  paused: "paused";
3392
+ active: "active";
3389
3393
  archived: "archived";
3390
3394
  }>;
3391
3395
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -3560,9 +3564,9 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3560
3564
  }, z.core.$strict>, z.ZodObject<{
3561
3565
  kind: z.ZodLiteral<"manual">;
3562
3566
  input: z.ZodEnum<{
3567
+ none: "none";
3563
3568
  quiz: "quiz";
3564
3569
  photo: "photo";
3565
- none: "none";
3566
3570
  }>;
3567
3571
  actor: z.ZodOptional<z.ZodEnum<{
3568
3572
  member: "member";
@@ -3581,8 +3585,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3581
3585
  end: z.ZodOptional<z.ZodNumber>;
3582
3586
  }, z.core.$strict>;
3583
3587
  enrollment: z.ZodDefault<z.ZodEnum<{
3584
- required: "required";
3585
3588
  none: "none";
3589
+ required: "required";
3586
3590
  }>>;
3587
3591
  posts: z.ZodDefault<z.ZodEnum<{
3588
3592
  "after-enrollment": "after-enrollment";
@@ -3664,8 +3668,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3664
3668
  }>;
3665
3669
  period: z.ZodEnum<{
3666
3670
  day: "day";
3667
- week: "week";
3668
3671
  lifetime: "lifetime";
3672
+ week: "week";
3669
3673
  }>;
3670
3674
  limit: z.ZodNumber;
3671
3675
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -3688,8 +3692,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3688
3692
  typeVersion: z.ZodString;
3689
3693
  }, z.core.$strict>>;
3690
3694
  lifecycle: z.ZodDefault<z.ZodEnum<{
3691
- active: "active";
3692
3695
  paused: "paused";
3696
+ active: "active";
3693
3697
  archived: "archived";
3694
3698
  }>>;
3695
3699
  configuration: z.ZodOptional<z.ZodObject<{
@@ -3794,12 +3798,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3794
3798
  kind: "resource";
3795
3799
  default: string;
3796
3800
  source: {
3797
- provider: "domino";
3798
- resource: "point-ledger";
3799
- } | {
3800
3801
  provider: "discord";
3801
3802
  resource: "channel";
3802
3803
  types: ("text" | "announcement")[];
3804
+ } | {
3805
+ provider: "domino";
3806
+ resource: "point-ledger";
3803
3807
  } | {
3804
3808
  provider: "discord";
3805
3809
  resource: "role";
@@ -3896,7 +3900,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3896
3900
  start: number;
3897
3901
  end?: number | undefined;
3898
3902
  };
3899
- enrollment: "required" | "none";
3903
+ enrollment: "none" | "required";
3900
3904
  posts: "after-enrollment" | "since-start";
3901
3905
  historical: "staff" | "automatic" | "claim";
3902
3906
  } | undefined;
@@ -3943,7 +3947,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3943
3947
  actor?: "member" | "staff" | undefined;
3944
3948
  } | {
3945
3949
  kind: "manual";
3946
- input: "quiz" | "photo" | "none";
3950
+ input: "none" | "quiz" | "photo";
3947
3951
  actor?: "member" | "staff" | undefined;
3948
3952
  };
3949
3953
  requires: {
@@ -3962,7 +3966,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3962
3966
  budgets: {
3963
3967
  id: string;
3964
3968
  scope: "project" | "member";
3965
- period: "day" | "week" | "lifetime";
3969
+ period: "day" | "lifetime" | "week";
3966
3970
  limit: number;
3967
3971
  cost: number | {
3968
3972
  balance: string;
@@ -3973,7 +3977,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3973
3977
  id: string;
3974
3978
  createdAt: number;
3975
3979
  legacy: boolean;
3976
- lifecycle: "active" | "paused" | "archived";
3980
+ lifecycle: "paused" | "active" | "archived";
3977
3981
  performance?: {
3978
3982
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3979
3983
  maxAgeMs: number;
@@ -4433,8 +4437,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
4433
4437
  action: z.ZodLiteral<"grant-role">;
4434
4438
  roleId: z.ZodString;
4435
4439
  status: z.ZodEnum<{
4436
- failed: "failed";
4437
4440
  pending: "pending";
4441
+ failed: "failed";
4438
4442
  delivered: "delivered";
4439
4443
  }>;
4440
4444
  attempts: z.ZodNumber;
@@ -4453,8 +4457,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
4453
4457
  action: z.ZodLiteral<"grant-role">;
4454
4458
  roleId: z.ZodString;
4455
4459
  status: z.ZodEnum<{
4456
- failed: "failed";
4457
4460
  pending: "pending";
4461
+ failed: "failed";
4458
4462
  delivered: "delivered";
4459
4463
  }>;
4460
4464
  attempts: z.ZodNumber;
@@ -4625,6 +4629,12 @@ declare function questConfiguration(release: PublishedRelease): {
4625
4629
 
4626
4630
  /** Non-quest resources in the private hosted-build catalog artifact. */
4627
4631
  declare const projectCatalogArtifactSchema: z.ZodObject<{
4632
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4633
+ code: z.ZodString;
4634
+ provider: z.ZodEnum<{
4635
+ "workers-ai": "workers-ai";
4636
+ }>;
4637
+ }, z.core.$strip>>>;
4628
4638
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
4629
4639
  title: z.ZodString;
4630
4640
  key: z.ZodOptional<z.ZodString>;
@@ -4633,27 +4643,21 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4633
4643
  title: string;
4634
4644
  key?: string | undefined;
4635
4645
  id?: string | undefined;
4636
- }, "key" | "id"> & {
4646
+ }, "id" | "key"> & {
4637
4647
  key: string;
4638
4648
  }, {
4639
4649
  title: string;
4640
4650
  key?: string | undefined;
4641
4651
  id?: string | undefined;
4642
4652
  }>>>>;
4643
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4644
- code: z.ZodString;
4645
- provider: z.ZodEnum<{
4646
- "workers-ai": "workers-ai";
4647
- }>;
4648
- }, z.core.$strip>>>;
4649
4653
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4650
4654
  staff: "staff";
4651
- quiz: "quiz";
4652
4655
  text: "text";
4653
4656
  url: "url";
4654
- photo: "photo";
4655
4657
  automatic: "automatic";
4656
4658
  claim: "claim";
4659
+ quiz: "quiz";
4660
+ photo: "photo";
4657
4661
  }>>>;
4658
4662
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
4659
4663
  code: z.ZodString;
@@ -4669,9 +4673,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4669
4673
  namespace: z.ZodString;
4670
4674
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4671
4675
  member: "member";
4672
- discord: "discord";
4673
4676
  x: "x";
4674
4677
  wallet: "wallet";
4678
+ discord: "discord";
4675
4679
  }>>>;
4676
4680
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
4677
4681
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -4692,6 +4696,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4692
4696
  }, z.core.$strict>>>;
4693
4697
  referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4694
4698
  title: z.ZodString;
4699
+ qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
4700
+ kind: z.ZodLiteral<"signup">;
4701
+ }, z.core.$strict>, z.ZodObject<{
4702
+ kind: z.ZodLiteral<"quest">;
4703
+ quest: z.ZodString;
4704
+ }, z.core.$strict>, z.ZodObject<{
4705
+ kind: z.ZodLiteral<"external">;
4706
+ }, z.core.$strict>], "kind">;
4695
4707
  rewards: z.ZodDefault<z.ZodObject<{
4696
4708
  inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4697
4709
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -4739,14 +4751,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4739
4751
  }, z.core.$strict>]>>>;
4740
4752
  }, z.core.$strict>>;
4741
4753
  enabled: z.ZodDefault<z.ZodBoolean>;
4742
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
4743
- kind: z.ZodLiteral<"signup">;
4744
- }, z.core.$strict>, z.ZodObject<{
4745
- kind: z.ZodLiteral<"quest">;
4746
- quest: z.ZodString;
4747
- }, z.core.$strict>, z.ZodObject<{
4748
- kind: z.ZodLiteral<"external">;
4749
- }, z.core.$strict>], "kind">;
4750
4754
  inviterGroup: z.ZodOptional<z.ZodString>;
4751
4755
  milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
4752
4756
  id: z.ZodString;
@@ -4787,6 +4791,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4787
4791
  id: z.ZodOptional<z.ZodString>;
4788
4792
  }, z.core.$strict>, z.ZodTransform<Omit<{
4789
4793
  title: string;
4794
+ qualification: {
4795
+ kind: "signup";
4796
+ } | {
4797
+ kind: "quest";
4798
+ quest: string;
4799
+ } | {
4800
+ kind: "external";
4801
+ };
4790
4802
  rewards: {
4791
4803
  inviter: ({
4792
4804
  kind: "tier";
@@ -4834,14 +4846,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4834
4846
  })[];
4835
4847
  };
4836
4848
  enabled: boolean;
4837
- qualification: {
4838
- kind: "signup";
4839
- } | {
4840
- kind: "quest";
4841
- quest: string;
4842
- } | {
4843
- kind: "external";
4844
- };
4845
4849
  milestones: {
4846
4850
  id: string;
4847
4851
  count: number;
@@ -4880,10 +4884,18 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4880
4884
  inviterGroup?: string | undefined;
4881
4885
  key?: string | undefined;
4882
4886
  id?: string | undefined;
4883
- }, "key" | "id"> & {
4887
+ }, "id" | "key"> & {
4884
4888
  key: string;
4885
4889
  }, {
4886
4890
  title: string;
4891
+ qualification: {
4892
+ kind: "signup";
4893
+ } | {
4894
+ kind: "quest";
4895
+ quest: string;
4896
+ } | {
4897
+ kind: "external";
4898
+ };
4887
4899
  rewards: {
4888
4900
  inviter: ({
4889
4901
  kind: "tier";
@@ -4931,14 +4943,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4931
4943
  })[];
4932
4944
  };
4933
4945
  enabled: boolean;
4934
- qualification: {
4935
- kind: "signup";
4936
- } | {
4937
- kind: "quest";
4938
- quest: string;
4939
- } | {
4940
- kind: "external";
4941
- };
4942
4946
  milestones: {
4943
4947
  id: string;
4944
4948
  count: number;
@@ -4983,6 +4987,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4983
4987
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4984
4988
  title: z.ZodString;
4985
4989
  balance: z.ZodString;
4990
+ group: z.ZodOptional<z.ZodString>;
4986
4991
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
4987
4992
  kind: z.ZodLiteral<"balance">;
4988
4993
  }, z.core.$strict>, z.ZodObject<{
@@ -5031,7 +5036,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
5031
5036
  participants: "participants";
5032
5037
  public: "public";
5033
5038
  }>>;
5034
- group: z.ZodOptional<z.ZodString>;
5035
5039
  key: z.ZodOptional<z.ZodString>;
5036
5040
  id: z.ZodOptional<z.ZodString>;
5037
5041
  }, z.core.$strict>, z.ZodTransform<Omit<{
@@ -5077,7 +5081,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
5077
5081
  group?: string | undefined;
5078
5082
  key?: string | undefined;
5079
5083
  id?: string | undefined;
5080
- }, "key" | "id"> & {
5084
+ }, "id" | "key"> & {
5081
5085
  key: string;
5082
5086
  }, {
5083
5087
  title: string;
@@ -5134,6 +5138,12 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
5134
5138
  }, z.core.$strict>;
5135
5139
  /** One manifest bundle. Missing entries never delete remotely owned resources. */
5136
5140
  declare const projectDeploymentSchema: z.ZodObject<{
5141
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
5142
+ code: z.ZodString;
5143
+ provider: z.ZodEnum<{
5144
+ "workers-ai": "workers-ai";
5145
+ }>;
5146
+ }, z.core.$strip>>>;
5137
5147
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
5138
5148
  title: z.ZodString;
5139
5149
  key: z.ZodOptional<z.ZodString>;
@@ -5142,27 +5152,21 @@ declare const projectDeploymentSchema: z.ZodObject<{
5142
5152
  title: string;
5143
5153
  key?: string | undefined;
5144
5154
  id?: string | undefined;
5145
- }, "key" | "id"> & {
5155
+ }, "id" | "key"> & {
5146
5156
  key: string;
5147
5157
  }, {
5148
5158
  title: string;
5149
5159
  key?: string | undefined;
5150
5160
  id?: string | undefined;
5151
5161
  }>>>>;
5152
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
5153
- code: z.ZodString;
5154
- provider: z.ZodEnum<{
5155
- "workers-ai": "workers-ai";
5156
- }>;
5157
- }, z.core.$strip>>>;
5158
5162
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5159
5163
  staff: "staff";
5160
- quiz: "quiz";
5161
5164
  text: "text";
5162
5165
  url: "url";
5163
- photo: "photo";
5164
5166
  automatic: "automatic";
5165
5167
  claim: "claim";
5168
+ quiz: "quiz";
5169
+ photo: "photo";
5166
5170
  }>>>;
5167
5171
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
5168
5172
  code: z.ZodString;
@@ -5178,9 +5182,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
5178
5182
  namespace: z.ZodString;
5179
5183
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5180
5184
  member: "member";
5181
- discord: "discord";
5182
5185
  x: "x";
5183
5186
  wallet: "wallet";
5187
+ discord: "discord";
5184
5188
  }>>>;
5185
5189
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
5186
5190
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -5201,6 +5205,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5201
5205
  }, z.core.$strict>>>;
5202
5206
  referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
5203
5207
  title: z.ZodString;
5208
+ qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
5209
+ kind: z.ZodLiteral<"signup">;
5210
+ }, z.core.$strict>, z.ZodObject<{
5211
+ kind: z.ZodLiteral<"quest">;
5212
+ quest: z.ZodString;
5213
+ }, z.core.$strict>, z.ZodObject<{
5214
+ kind: z.ZodLiteral<"external">;
5215
+ }, z.core.$strict>], "kind">;
5204
5216
  rewards: z.ZodDefault<z.ZodObject<{
5205
5217
  inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5206
5218
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -5248,14 +5260,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5248
5260
  }, z.core.$strict>]>>>;
5249
5261
  }, z.core.$strict>>;
5250
5262
  enabled: z.ZodDefault<z.ZodBoolean>;
5251
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
5252
- kind: z.ZodLiteral<"signup">;
5253
- }, z.core.$strict>, z.ZodObject<{
5254
- kind: z.ZodLiteral<"quest">;
5255
- quest: z.ZodString;
5256
- }, z.core.$strict>, z.ZodObject<{
5257
- kind: z.ZodLiteral<"external">;
5258
- }, z.core.$strict>], "kind">;
5259
5263
  inviterGroup: z.ZodOptional<z.ZodString>;
5260
5264
  milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
5261
5265
  id: z.ZodString;
@@ -5296,6 +5300,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5296
5300
  id: z.ZodOptional<z.ZodString>;
5297
5301
  }, z.core.$strict>, z.ZodTransform<Omit<{
5298
5302
  title: string;
5303
+ qualification: {
5304
+ kind: "signup";
5305
+ } | {
5306
+ kind: "quest";
5307
+ quest: string;
5308
+ } | {
5309
+ kind: "external";
5310
+ };
5299
5311
  rewards: {
5300
5312
  inviter: ({
5301
5313
  kind: "tier";
@@ -5343,14 +5355,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5343
5355
  })[];
5344
5356
  };
5345
5357
  enabled: boolean;
5346
- qualification: {
5347
- kind: "signup";
5348
- } | {
5349
- kind: "quest";
5350
- quest: string;
5351
- } | {
5352
- kind: "external";
5353
- };
5354
5358
  milestones: {
5355
5359
  id: string;
5356
5360
  count: number;
@@ -5389,10 +5393,18 @@ declare const projectDeploymentSchema: z.ZodObject<{
5389
5393
  inviterGroup?: string | undefined;
5390
5394
  key?: string | undefined;
5391
5395
  id?: string | undefined;
5392
- }, "key" | "id"> & {
5396
+ }, "id" | "key"> & {
5393
5397
  key: string;
5394
5398
  }, {
5395
5399
  title: string;
5400
+ qualification: {
5401
+ kind: "signup";
5402
+ } | {
5403
+ kind: "quest";
5404
+ quest: string;
5405
+ } | {
5406
+ kind: "external";
5407
+ };
5396
5408
  rewards: {
5397
5409
  inviter: ({
5398
5410
  kind: "tier";
@@ -5440,14 +5452,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5440
5452
  })[];
5441
5453
  };
5442
5454
  enabled: boolean;
5443
- qualification: {
5444
- kind: "signup";
5445
- } | {
5446
- kind: "quest";
5447
- quest: string;
5448
- } | {
5449
- kind: "external";
5450
- };
5451
5455
  milestones: {
5452
5456
  id: string;
5453
5457
  count: number;
@@ -5492,6 +5496,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
5492
5496
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
5493
5497
  title: z.ZodString;
5494
5498
  balance: z.ZodString;
5499
+ group: z.ZodOptional<z.ZodString>;
5495
5500
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
5496
5501
  kind: z.ZodLiteral<"balance">;
5497
5502
  }, z.core.$strict>, z.ZodObject<{
@@ -5540,7 +5545,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5540
5545
  participants: "participants";
5541
5546
  public: "public";
5542
5547
  }>>;
5543
- group: z.ZodOptional<z.ZodString>;
5544
5548
  key: z.ZodOptional<z.ZodString>;
5545
5549
  id: z.ZodOptional<z.ZodString>;
5546
5550
  }, z.core.$strict>, z.ZodTransform<Omit<{
@@ -5586,7 +5590,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
5586
5590
  group?: string | undefined;
5587
5591
  key?: string | undefined;
5588
5592
  id?: string | undefined;
5589
- }, "key" | "id"> & {
5593
+ }, "id" | "key"> & {
5590
5594
  key: string;
5591
5595
  }, {
5592
5596
  title: string;
@@ -5794,9 +5798,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5794
5798
  namespace: z.ZodString;
5795
5799
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5796
5800
  member: "member";
5797
- discord: "discord";
5798
5801
  x: "x";
5799
5802
  wallet: "wallet";
5803
+ discord: "discord";
5800
5804
  }>>>;
5801
5805
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
5802
5806
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -5977,9 +5981,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5977
5981
  }, z.core.$strict>, z.ZodObject<{
5978
5982
  kind: z.ZodLiteral<"manual">;
5979
5983
  input: z.ZodEnum<{
5984
+ none: "none";
5980
5985
  quiz: "quiz";
5981
5986
  photo: "photo";
5982
- none: "none";
5983
5987
  }>;
5984
5988
  actor: z.ZodOptional<z.ZodEnum<{
5985
5989
  member: "member";
@@ -5998,8 +6002,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5998
6002
  end: z.ZodOptional<z.ZodNumber>;
5999
6003
  }, z.core.$strict>;
6000
6004
  enrollment: z.ZodDefault<z.ZodEnum<{
6001
- required: "required";
6002
6005
  none: "none";
6006
+ required: "required";
6003
6007
  }>>;
6004
6008
  posts: z.ZodDefault<z.ZodEnum<{
6005
6009
  "after-enrollment": "after-enrollment";
@@ -6081,8 +6085,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6081
6085
  }>;
6082
6086
  period: z.ZodEnum<{
6083
6087
  day: "day";
6084
- week: "week";
6085
6088
  lifetime: "lifetime";
6089
+ week: "week";
6086
6090
  }>;
6087
6091
  limit: z.ZodNumber;
6088
6092
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -6105,8 +6109,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6105
6109
  typeVersion: z.ZodString;
6106
6110
  }, z.core.$strict>>;
6107
6111
  lifecycle: z.ZodDefault<z.ZodEnum<{
6108
- active: "active";
6109
6112
  paused: "paused";
6113
+ active: "active";
6110
6114
  archived: "archived";
6111
6115
  }>>;
6112
6116
  configuration: z.ZodOptional<z.ZodObject<{
@@ -6211,12 +6215,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6211
6215
  kind: "resource";
6212
6216
  default: string;
6213
6217
  source: {
6214
- provider: "domino";
6215
- resource: "point-ledger";
6216
- } | {
6217
6218
  provider: "discord";
6218
6219
  resource: "channel";
6219
6220
  types: ("text" | "announcement")[];
6221
+ } | {
6222
+ provider: "domino";
6223
+ resource: "point-ledger";
6220
6224
  } | {
6221
6225
  provider: "discord";
6222
6226
  resource: "role";
@@ -6313,7 +6317,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6313
6317
  start: number;
6314
6318
  end?: number | undefined;
6315
6319
  };
6316
- enrollment: "required" | "none";
6320
+ enrollment: "none" | "required";
6317
6321
  posts: "after-enrollment" | "since-start";
6318
6322
  historical: "staff" | "automatic" | "claim";
6319
6323
  } | undefined;
@@ -6360,7 +6364,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6360
6364
  actor?: "member" | "staff" | undefined;
6361
6365
  } | {
6362
6366
  kind: "manual";
6363
- input: "quiz" | "photo" | "none";
6367
+ input: "none" | "quiz" | "photo";
6364
6368
  actor?: "member" | "staff" | undefined;
6365
6369
  };
6366
6370
  requires: {
@@ -6379,7 +6383,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6379
6383
  budgets: {
6380
6384
  id: string;
6381
6385
  scope: "project" | "member";
6382
- period: "day" | "week" | "lifetime";
6386
+ period: "day" | "lifetime" | "week";
6383
6387
  limit: number;
6384
6388
  cost: number | {
6385
6389
  balance: string;
@@ -6390,7 +6394,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6390
6394
  id: string;
6391
6395
  createdAt: number;
6392
6396
  legacy: boolean;
6393
- lifecycle: "active" | "paused" | "archived";
6397
+ lifecycle: "paused" | "active" | "archived";
6394
6398
  performance?: {
6395
6399
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
6396
6400
  maxAgeMs: number;
@@ -6625,9 +6629,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6625
6629
  }, z.core.$strict>, z.ZodObject<{
6626
6630
  kind: z.ZodLiteral<"manual">;
6627
6631
  input: z.ZodEnum<{
6632
+ none: "none";
6628
6633
  quiz: "quiz";
6629
6634
  photo: "photo";
6630
- none: "none";
6631
6635
  }>;
6632
6636
  actor: z.ZodOptional<z.ZodEnum<{
6633
6637
  member: "member";
@@ -6646,8 +6650,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6646
6650
  end: z.ZodOptional<z.ZodNumber>;
6647
6651
  }, z.core.$strict>;
6648
6652
  enrollment: z.ZodDefault<z.ZodEnum<{
6649
- required: "required";
6650
6653
  none: "none";
6654
+ required: "required";
6651
6655
  }>>;
6652
6656
  posts: z.ZodDefault<z.ZodEnum<{
6653
6657
  "after-enrollment": "after-enrollment";
@@ -6729,8 +6733,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6729
6733
  }>;
6730
6734
  period: z.ZodEnum<{
6731
6735
  day: "day";
6732
- week: "week";
6733
6736
  lifetime: "lifetime";
6737
+ week: "week";
6734
6738
  }>;
6735
6739
  limit: z.ZodNumber;
6736
6740
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -6755,12 +6759,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6755
6759
  }, z.core.$strict>>;
6756
6760
  supportedInteractions: z.ZodArray<z.ZodEnum<{
6757
6761
  staff: "staff";
6758
- quiz: "quiz";
6759
6762
  text: "text";
6760
6763
  url: "url";
6761
- photo: "photo";
6762
6764
  automatic: "automatic";
6763
6765
  claim: "claim";
6766
+ quiz: "quiz";
6767
+ photo: "photo";
6764
6768
  }>>;
6765
6769
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
6766
6770
  version: z.ZodString;
@@ -6956,9 +6960,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6956
6960
  }, z.core.$strip>, z.ZodObject<{
6957
6961
  source: z.ZodLiteral<"account">;
6958
6962
  provider: z.ZodEnum<{
6963
+ x: "x";
6959
6964
  discord: "discord";
6960
6965
  google: "google";
6961
- x: "x";
6962
6966
  }>;
6963
6967
  url: z.ZodString;
6964
6968
  seed: z.ZodString;
@@ -6984,9 +6988,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6984
6988
  }, z.core.$strip>, z.ZodObject<{
6985
6989
  source: z.ZodLiteral<"account">;
6986
6990
  provider: z.ZodEnum<{
6991
+ x: "x";
6987
6992
  discord: "discord";
6988
6993
  google: "google";
6989
- x: "x";
6990
6994
  }>;
6991
6995
  url: z.ZodString;
6992
6996
  seed: z.ZodString;
@@ -7012,9 +7016,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7012
7016
  }, z.core.$strip>, z.ZodObject<{
7013
7017
  source: z.ZodLiteral<"account">;
7014
7018
  provider: z.ZodEnum<{
7019
+ x: "x";
7015
7020
  discord: "discord";
7016
7021
  google: "google";
7017
- x: "x";
7018
7022
  }>;
7019
7023
  url: z.ZodString;
7020
7024
  seed: z.ZodString;
@@ -7058,9 +7062,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7058
7062
  }, z.core.$strip>, z.ZodObject<{
7059
7063
  source: z.ZodLiteral<"account">;
7060
7064
  provider: z.ZodEnum<{
7065
+ x: "x";
7061
7066
  discord: "discord";
7062
7067
  google: "google";
7063
- x: "x";
7064
7068
  }>;
7065
7069
  url: z.ZodString;
7066
7070
  seed: z.ZodString;
@@ -7086,9 +7090,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7086
7090
  }, z.core.$strip>, z.ZodObject<{
7087
7091
  source: z.ZodLiteral<"account">;
7088
7092
  provider: z.ZodEnum<{
7093
+ x: "x";
7089
7094
  discord: "discord";
7090
7095
  google: "google";
7091
- x: "x";
7092
7096
  }>;
7093
7097
  url: z.ZodString;
7094
7098
  seed: z.ZodString;
@@ -7114,9 +7118,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7114
7118
  }, z.core.$strip>, z.ZodObject<{
7115
7119
  source: z.ZodLiteral<"account">;
7116
7120
  provider: z.ZodEnum<{
7121
+ x: "x";
7117
7122
  discord: "discord";
7118
7123
  google: "google";
7119
- x: "x";
7120
7124
  }>;
7121
7125
  url: z.ZodString;
7122
7126
  seed: z.ZodString;
@@ -7281,9 +7285,9 @@ declare const deploymentResultSchema: z.ZodObject<{
7281
7285
  namespace: z.ZodString;
7282
7286
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7283
7287
  member: "member";
7284
- discord: "discord";
7285
7288
  x: "x";
7286
7289
  wallet: "wallet";
7290
+ discord: "discord";
7287
7291
  }>>>;
7288
7292
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
7289
7293
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -7464,9 +7468,9 @@ declare const deploymentResultSchema: z.ZodObject<{
7464
7468
  }, z.core.$strict>, z.ZodObject<{
7465
7469
  kind: z.ZodLiteral<"manual">;
7466
7470
  input: z.ZodEnum<{
7471
+ none: "none";
7467
7472
  quiz: "quiz";
7468
7473
  photo: "photo";
7469
- none: "none";
7470
7474
  }>;
7471
7475
  actor: z.ZodOptional<z.ZodEnum<{
7472
7476
  member: "member";
@@ -7485,8 +7489,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7485
7489
  end: z.ZodOptional<z.ZodNumber>;
7486
7490
  }, z.core.$strict>;
7487
7491
  enrollment: z.ZodDefault<z.ZodEnum<{
7488
- required: "required";
7489
7492
  none: "none";
7493
+ required: "required";
7490
7494
  }>>;
7491
7495
  posts: z.ZodDefault<z.ZodEnum<{
7492
7496
  "after-enrollment": "after-enrollment";
@@ -7568,8 +7572,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7568
7572
  }>;
7569
7573
  period: z.ZodEnum<{
7570
7574
  day: "day";
7571
- week: "week";
7572
7575
  lifetime: "lifetime";
7576
+ week: "week";
7573
7577
  }>;
7574
7578
  limit: z.ZodNumber;
7575
7579
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -7592,8 +7596,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7592
7596
  typeVersion: z.ZodString;
7593
7597
  }, z.core.$strict>>;
7594
7598
  lifecycle: z.ZodDefault<z.ZodEnum<{
7595
- active: "active";
7596
7599
  paused: "paused";
7600
+ active: "active";
7597
7601
  archived: "archived";
7598
7602
  }>>;
7599
7603
  configuration: z.ZodOptional<z.ZodObject<{
@@ -7698,12 +7702,12 @@ declare const deploymentResultSchema: z.ZodObject<{
7698
7702
  kind: "resource";
7699
7703
  default: string;
7700
7704
  source: {
7701
- provider: "domino";
7702
- resource: "point-ledger";
7703
- } | {
7704
7705
  provider: "discord";
7705
7706
  resource: "channel";
7706
7707
  types: ("text" | "announcement")[];
7708
+ } | {
7709
+ provider: "domino";
7710
+ resource: "point-ledger";
7707
7711
  } | {
7708
7712
  provider: "discord";
7709
7713
  resource: "role";
@@ -7800,7 +7804,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7800
7804
  start: number;
7801
7805
  end?: number | undefined;
7802
7806
  };
7803
- enrollment: "required" | "none";
7807
+ enrollment: "none" | "required";
7804
7808
  posts: "after-enrollment" | "since-start";
7805
7809
  historical: "staff" | "automatic" | "claim";
7806
7810
  } | undefined;
@@ -7847,7 +7851,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7847
7851
  actor?: "member" | "staff" | undefined;
7848
7852
  } | {
7849
7853
  kind: "manual";
7850
- input: "quiz" | "photo" | "none";
7854
+ input: "none" | "quiz" | "photo";
7851
7855
  actor?: "member" | "staff" | undefined;
7852
7856
  };
7853
7857
  requires: {
@@ -7866,7 +7870,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7866
7870
  budgets: {
7867
7871
  id: string;
7868
7872
  scope: "project" | "member";
7869
- period: "day" | "week" | "lifetime";
7873
+ period: "day" | "lifetime" | "week";
7870
7874
  limit: number;
7871
7875
  cost: number | {
7872
7876
  balance: string;
@@ -7877,7 +7881,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7877
7881
  id: string;
7878
7882
  createdAt: number;
7879
7883
  legacy: boolean;
7880
- lifecycle: "active" | "paused" | "archived";
7884
+ lifecycle: "paused" | "active" | "archived";
7881
7885
  performance?: {
7882
7886
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
7883
7887
  maxAgeMs: number;
@@ -8112,9 +8116,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8112
8116
  }, z.core.$strict>, z.ZodObject<{
8113
8117
  kind: z.ZodLiteral<"manual">;
8114
8118
  input: z.ZodEnum<{
8119
+ none: "none";
8115
8120
  quiz: "quiz";
8116
8121
  photo: "photo";
8117
- none: "none";
8118
8122
  }>;
8119
8123
  actor: z.ZodOptional<z.ZodEnum<{
8120
8124
  member: "member";
@@ -8133,8 +8137,8 @@ declare const deploymentResultSchema: z.ZodObject<{
8133
8137
  end: z.ZodOptional<z.ZodNumber>;
8134
8138
  }, z.core.$strict>;
8135
8139
  enrollment: z.ZodDefault<z.ZodEnum<{
8136
- required: "required";
8137
8140
  none: "none";
8141
+ required: "required";
8138
8142
  }>>;
8139
8143
  posts: z.ZodDefault<z.ZodEnum<{
8140
8144
  "after-enrollment": "after-enrollment";
@@ -8216,8 +8220,8 @@ declare const deploymentResultSchema: z.ZodObject<{
8216
8220
  }>;
8217
8221
  period: z.ZodEnum<{
8218
8222
  day: "day";
8219
- week: "week";
8220
8223
  lifetime: "lifetime";
8224
+ week: "week";
8221
8225
  }>;
8222
8226
  limit: z.ZodNumber;
8223
8227
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -8242,12 +8246,12 @@ declare const deploymentResultSchema: z.ZodObject<{
8242
8246
  }, z.core.$strict>>;
8243
8247
  supportedInteractions: z.ZodArray<z.ZodEnum<{
8244
8248
  staff: "staff";
8245
- quiz: "quiz";
8246
8249
  text: "text";
8247
8250
  url: "url";
8248
- photo: "photo";
8249
8251
  automatic: "automatic";
8250
8252
  claim: "claim";
8253
+ quiz: "quiz";
8254
+ photo: "photo";
8251
8255
  }>>;
8252
8256
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
8253
8257
  version: z.ZodString;
@@ -8443,9 +8447,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8443
8447
  }, z.core.$strip>, z.ZodObject<{
8444
8448
  source: z.ZodLiteral<"account">;
8445
8449
  provider: z.ZodEnum<{
8450
+ x: "x";
8446
8451
  discord: "discord";
8447
8452
  google: "google";
8448
- x: "x";
8449
8453
  }>;
8450
8454
  url: z.ZodString;
8451
8455
  seed: z.ZodString;
@@ -8471,9 +8475,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8471
8475
  }, z.core.$strip>, z.ZodObject<{
8472
8476
  source: z.ZodLiteral<"account">;
8473
8477
  provider: z.ZodEnum<{
8478
+ x: "x";
8474
8479
  discord: "discord";
8475
8480
  google: "google";
8476
- x: "x";
8477
8481
  }>;
8478
8482
  url: z.ZodString;
8479
8483
  seed: z.ZodString;
@@ -8499,9 +8503,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8499
8503
  }, z.core.$strip>, z.ZodObject<{
8500
8504
  source: z.ZodLiteral<"account">;
8501
8505
  provider: z.ZodEnum<{
8506
+ x: "x";
8502
8507
  discord: "discord";
8503
8508
  google: "google";
8504
- x: "x";
8505
8509
  }>;
8506
8510
  url: z.ZodString;
8507
8511
  seed: z.ZodString;
@@ -8545,9 +8549,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8545
8549
  }, z.core.$strip>, z.ZodObject<{
8546
8550
  source: z.ZodLiteral<"account">;
8547
8551
  provider: z.ZodEnum<{
8552
+ x: "x";
8548
8553
  discord: "discord";
8549
8554
  google: "google";
8550
- x: "x";
8551
8555
  }>;
8552
8556
  url: z.ZodString;
8553
8557
  seed: z.ZodString;
@@ -8573,9 +8577,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8573
8577
  }, z.core.$strip>, z.ZodObject<{
8574
8578
  source: z.ZodLiteral<"account">;
8575
8579
  provider: z.ZodEnum<{
8580
+ x: "x";
8576
8581
  discord: "discord";
8577
8582
  google: "google";
8578
- x: "x";
8579
8583
  }>;
8580
8584
  url: z.ZodString;
8581
8585
  seed: z.ZodString;
@@ -8601,9 +8605,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8601
8605
  }, z.core.$strip>, z.ZodObject<{
8602
8606
  source: z.ZodLiteral<"account">;
8603
8607
  provider: z.ZodEnum<{
8608
+ x: "x";
8604
8609
  discord: "discord";
8605
8610
  google: "google";
8606
- x: "x";
8607
8611
  }>;
8608
8612
  url: z.ZodString;
8609
8613
  seed: z.ZodString;
@@ -8995,7 +8999,7 @@ declare function createRelayClient(options: {
8995
8999
  seed: string;
8996
9000
  } | {
8997
9001
  source: "account";
8998
- provider: "discord" | "google" | "x";
9002
+ provider: "x" | "discord" | "google";
8999
9003
  url: string;
9000
9004
  seed: string;
9001
9005
  } | {
@@ -9019,7 +9023,7 @@ declare function createRelayClient(options: {
9019
9023
  seed: string;
9020
9024
  } | {
9021
9025
  source: "account";
9022
- provider: "discord" | "google" | "x";
9026
+ provider: "x" | "discord" | "google";
9023
9027
  url: string;
9024
9028
  seed: string;
9025
9029
  } | {
@@ -9043,7 +9047,7 @@ declare function createRelayClient(options: {
9043
9047
  seed: string;
9044
9048
  } | {
9045
9049
  source: "account";
9046
- provider: "discord" | "google" | "x";
9050
+ provider: "x" | "discord" | "google";
9047
9051
  url: string;
9048
9052
  seed: string;
9049
9053
  } | {
@@ -9085,7 +9089,7 @@ declare function createRelayClient(options: {
9085
9089
  seed: string;
9086
9090
  } | {
9087
9091
  source: "account";
9088
- provider: "discord" | "google" | "x";
9092
+ provider: "x" | "discord" | "google";
9089
9093
  url: string;
9090
9094
  seed: string;
9091
9095
  } | {
@@ -9093,13 +9097,13 @@ declare function createRelayClient(options: {
9093
9097
  seed: string;
9094
9098
  };
9095
9099
  displayName: string | null;
9096
- avatarChoice: "default" | "account" | "generated" | "upload";
9097
- avatarProvider: "discord" | "google" | "x" | null;
9100
+ avatarChoice: "default" | "account" | "upload" | "generated";
9101
+ avatarProvider: "x" | "discord" | "google" | null;
9098
9102
  hidden: boolean;
9099
9103
  locked: boolean;
9100
- visibility: "participants" | "public" | "private";
9104
+ visibility: "private" | "participants" | "public";
9101
9105
  options: {
9102
- provider: "discord" | "google" | "x";
9106
+ provider: "x" | "discord" | "google";
9103
9107
  name: string | null;
9104
9108
  imageUrl: string | null;
9105
9109
  }[];
@@ -9119,7 +9123,7 @@ declare function createRelayClient(options: {
9119
9123
  seed: string;
9120
9124
  } | {
9121
9125
  source: "account";
9122
- provider: "discord" | "google" | "x";
9126
+ provider: "x" | "discord" | "google";
9123
9127
  url: string;
9124
9128
  seed: string;
9125
9129
  } | {
@@ -9127,13 +9131,13 @@ declare function createRelayClient(options: {
9127
9131
  seed: string;
9128
9132
  };
9129
9133
  displayName: string | null;
9130
- avatarChoice: "default" | "account" | "generated" | "upload";
9131
- avatarProvider: "discord" | "google" | "x" | null;
9134
+ avatarChoice: "default" | "account" | "upload" | "generated";
9135
+ avatarProvider: "x" | "discord" | "google" | null;
9132
9136
  hidden: boolean;
9133
9137
  locked: boolean;
9134
- visibility: "participants" | "public" | "private";
9138
+ visibility: "private" | "participants" | "public";
9135
9139
  options: {
9136
- provider: "discord" | "google" | "x";
9140
+ provider: "x" | "discord" | "google";
9137
9141
  name: string | null;
9138
9142
  imageUrl: string | null;
9139
9143
  }[];
@@ -9154,7 +9158,7 @@ declare function createRelayClient(options: {
9154
9158
  seed: string;
9155
9159
  } | {
9156
9160
  source: "account";
9157
- provider: "discord" | "google" | "x";
9161
+ provider: "x" | "discord" | "google";
9158
9162
  url: string;
9159
9163
  seed: string;
9160
9164
  } | {
@@ -9162,13 +9166,13 @@ declare function createRelayClient(options: {
9162
9166
  seed: string;
9163
9167
  };
9164
9168
  displayName: string | null;
9165
- avatarChoice: "default" | "account" | "generated" | "upload";
9166
- avatarProvider: "discord" | "google" | "x" | null;
9169
+ avatarChoice: "default" | "account" | "upload" | "generated";
9170
+ avatarProvider: "x" | "discord" | "google" | null;
9167
9171
  hidden: boolean;
9168
9172
  locked: boolean;
9169
- visibility: "participants" | "public" | "private";
9173
+ visibility: "private" | "participants" | "public";
9170
9174
  options: {
9171
- provider: "discord" | "google" | "x";
9175
+ provider: "x" | "discord" | "google";
9172
9176
  name: string | null;
9173
9177
  imageUrl: string | null;
9174
9178
  }[];
@@ -9186,7 +9190,7 @@ declare function createRelayClient(options: {
9186
9190
  seed: string;
9187
9191
  } | {
9188
9192
  source: "account";
9189
- provider: "discord" | "google" | "x";
9193
+ provider: "x" | "discord" | "google";
9190
9194
  url: string;
9191
9195
  seed: string;
9192
9196
  } | {
@@ -9249,7 +9253,7 @@ declare function createRelayClient(options: {
9249
9253
  } | undefined;
9250
9254
  } | undefined;
9251
9255
  };
9252
- connections: ("discord" | "google" | "apple" | "x")[];
9256
+ connections: ("x" | "discord" | "google" | "apple")[];
9253
9257
  trigger: {
9254
9258
  kind: "automatic";
9255
9259
  observation?: {
@@ -9262,7 +9266,7 @@ declare function createRelayClient(options: {
9262
9266
  start: number;
9263
9267
  end?: number | undefined;
9264
9268
  };
9265
- enrollment: "required" | "none";
9269
+ enrollment: "none" | "required";
9266
9270
  posts: "after-enrollment" | "since-start";
9267
9271
  historical: "staff" | "automatic" | "claim";
9268
9272
  } | undefined;
@@ -9309,12 +9313,12 @@ declare function createRelayClient(options: {
9309
9313
  actor?: "member" | "staff" | undefined;
9310
9314
  } | {
9311
9315
  kind: "manual";
9312
- input: "quiz" | "photo" | "none";
9316
+ input: "none" | "quiz" | "photo";
9313
9317
  actor?: "member" | "staff" | undefined;
9314
9318
  };
9315
9319
  availability: {
9316
9320
  kind: "available";
9317
- input: "quiz" | "text" | "url" | "photo" | "none";
9321
+ input: "text" | "url" | "none" | "quiz" | "photo";
9318
9322
  } | {
9319
9323
  kind: "completed";
9320
9324
  } | {
@@ -9363,7 +9367,7 @@ declare function createRelayClient(options: {
9363
9367
  quest: string;
9364
9368
  member: string;
9365
9369
  evidence: string | null;
9366
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9370
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9367
9371
  reason: string | null;
9368
9372
  retries: number;
9369
9373
  generation: number;
@@ -9395,24 +9399,25 @@ declare function createRelayClient(options: {
9395
9399
  action: "grant-role";
9396
9400
  roleId: string;
9397
9401
  })[] | null;
9402
+ requestedReview: boolean;
9398
9403
  createdAt: number;
9399
9404
  input?: {
9400
- kind: "quiz";
9401
- answers: {
9402
- [k: string]: string;
9403
- };
9404
- release?: string | undefined;
9405
- } | {
9406
9405
  kind: "text";
9407
9406
  value: string;
9408
9407
  } | {
9409
9408
  kind: "url";
9410
9409
  value: string;
9410
+ } | {
9411
+ kind: "quiz";
9412
+ answers: {
9413
+ [k: string]: string;
9414
+ };
9415
+ release?: string | undefined;
9411
9416
  } | undefined;
9412
9417
  } | null;
9413
9418
  release: string;
9414
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9415
- lifecycle: "active" | "paused" | "archived";
9419
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9420
+ lifecycle: "paused" | "active" | "archived";
9416
9421
  rewards: ({
9417
9422
  kind: "points";
9418
9423
  label: string;
@@ -9473,7 +9478,7 @@ declare function createRelayClient(options: {
9473
9478
  quest: string;
9474
9479
  member: string;
9475
9480
  evidence: string | null;
9476
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9481
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9477
9482
  reason: string | null;
9478
9483
  retries: number;
9479
9484
  generation: number;
@@ -9505,19 +9510,20 @@ declare function createRelayClient(options: {
9505
9510
  action: "grant-role";
9506
9511
  roleId: string;
9507
9512
  })[] | null;
9513
+ requestedReview: boolean;
9508
9514
  createdAt: number;
9509
9515
  input?: {
9510
- kind: "quiz";
9511
- answers: {
9512
- [k: string]: string;
9513
- };
9514
- release?: string | undefined;
9515
- } | {
9516
9516
  kind: "text";
9517
9517
  value: string;
9518
9518
  } | {
9519
9519
  kind: "url";
9520
9520
  value: string;
9521
+ } | {
9522
+ kind: "quiz";
9523
+ answers: {
9524
+ [k: string]: string;
9525
+ };
9526
+ release?: string | undefined;
9521
9527
  } | undefined;
9522
9528
  }>;
9523
9529
  experience: () => Promise<{
@@ -9545,7 +9551,7 @@ declare function createRelayClient(options: {
9545
9551
  } | undefined;
9546
9552
  } | undefined;
9547
9553
  };
9548
- connections: ("discord" | "google" | "apple" | "x")[];
9554
+ connections: ("x" | "discord" | "google" | "apple")[];
9549
9555
  trigger: {
9550
9556
  kind: "automatic";
9551
9557
  observation?: {
@@ -9558,7 +9564,7 @@ declare function createRelayClient(options: {
9558
9564
  start: number;
9559
9565
  end?: number | undefined;
9560
9566
  };
9561
- enrollment: "required" | "none";
9567
+ enrollment: "none" | "required";
9562
9568
  posts: "after-enrollment" | "since-start";
9563
9569
  historical: "staff" | "automatic" | "claim";
9564
9570
  } | undefined;
@@ -9605,12 +9611,12 @@ declare function createRelayClient(options: {
9605
9611
  actor?: "member" | "staff" | undefined;
9606
9612
  } | {
9607
9613
  kind: "manual";
9608
- input: "quiz" | "photo" | "none";
9614
+ input: "none" | "quiz" | "photo";
9609
9615
  actor?: "member" | "staff" | undefined;
9610
9616
  };
9611
9617
  availability: {
9612
9618
  kind: "available";
9613
- input: "quiz" | "text" | "url" | "photo" | "none";
9619
+ input: "text" | "url" | "none" | "quiz" | "photo";
9614
9620
  } | {
9615
9621
  kind: "completed";
9616
9622
  } | {
@@ -9659,7 +9665,7 @@ declare function createRelayClient(options: {
9659
9665
  quest: string;
9660
9666
  member: string;
9661
9667
  evidence: string | null;
9662
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9668
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9663
9669
  reason: string | null;
9664
9670
  retries: number;
9665
9671
  generation: number;
@@ -9691,24 +9697,25 @@ declare function createRelayClient(options: {
9691
9697
  action: "grant-role";
9692
9698
  roleId: string;
9693
9699
  })[] | null;
9700
+ requestedReview: boolean;
9694
9701
  createdAt: number;
9695
9702
  input?: {
9696
- kind: "quiz";
9697
- answers: {
9698
- [k: string]: string;
9699
- };
9700
- release?: string | undefined;
9701
- } | {
9702
9703
  kind: "text";
9703
9704
  value: string;
9704
9705
  } | {
9705
9706
  kind: "url";
9706
9707
  value: string;
9708
+ } | {
9709
+ kind: "quiz";
9710
+ answers: {
9711
+ [k: string]: string;
9712
+ };
9713
+ release?: string | undefined;
9707
9714
  } | undefined;
9708
9715
  } | null;
9709
9716
  release: string;
9710
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9711
- lifecycle: "active" | "paused" | "archived";
9717
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9718
+ lifecycle: "paused" | "active" | "archived";
9712
9719
  rewards: ({
9713
9720
  kind: "points";
9714
9721
  label: string;
@@ -9789,7 +9796,7 @@ declare function createRelayClient(options: {
9789
9796
  } | undefined;
9790
9797
  } | undefined;
9791
9798
  };
9792
- connections: ("discord" | "google" | "apple" | "x")[];
9799
+ connections: ("x" | "discord" | "google" | "apple")[];
9793
9800
  trigger: {
9794
9801
  kind: "automatic";
9795
9802
  observation?: {
@@ -9802,7 +9809,7 @@ declare function createRelayClient(options: {
9802
9809
  start: number;
9803
9810
  end?: number | undefined;
9804
9811
  };
9805
- enrollment: "required" | "none";
9812
+ enrollment: "none" | "required";
9806
9813
  posts: "after-enrollment" | "since-start";
9807
9814
  historical: "staff" | "automatic" | "claim";
9808
9815
  } | undefined;
@@ -9849,12 +9856,12 @@ declare function createRelayClient(options: {
9849
9856
  actor?: "member" | "staff" | undefined;
9850
9857
  } | {
9851
9858
  kind: "manual";
9852
- input: "quiz" | "photo" | "none";
9859
+ input: "none" | "quiz" | "photo";
9853
9860
  actor?: "member" | "staff" | undefined;
9854
9861
  };
9855
9862
  availability: {
9856
9863
  kind: "available";
9857
- input: "quiz" | "text" | "url" | "photo" | "none";
9864
+ input: "text" | "url" | "none" | "quiz" | "photo";
9858
9865
  } | {
9859
9866
  kind: "completed";
9860
9867
  } | {
@@ -9903,7 +9910,7 @@ declare function createRelayClient(options: {
9903
9910
  quest: string;
9904
9911
  member: string;
9905
9912
  evidence: string | null;
9906
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9913
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9907
9914
  reason: string | null;
9908
9915
  retries: number;
9909
9916
  generation: number;
@@ -9935,24 +9942,25 @@ declare function createRelayClient(options: {
9935
9942
  action: "grant-role";
9936
9943
  roleId: string;
9937
9944
  })[] | null;
9945
+ requestedReview: boolean;
9938
9946
  createdAt: number;
9939
9947
  input?: {
9940
- kind: "quiz";
9941
- answers: {
9942
- [k: string]: string;
9943
- };
9944
- release?: string | undefined;
9945
- } | {
9946
9948
  kind: "text";
9947
9949
  value: string;
9948
9950
  } | {
9949
9951
  kind: "url";
9950
9952
  value: string;
9953
+ } | {
9954
+ kind: "quiz";
9955
+ answers: {
9956
+ [k: string]: string;
9957
+ };
9958
+ release?: string | undefined;
9951
9959
  } | undefined;
9952
9960
  } | null;
9953
9961
  release: string;
9954
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9955
- lifecycle: "active" | "paused" | "archived";
9962
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9963
+ lifecycle: "paused" | "active" | "archived";
9956
9964
  rewards: ({
9957
9965
  kind: "points";
9958
9966
  label: string;
@@ -10036,7 +10044,7 @@ declare function createRelayClient(options: {
10036
10044
  } | undefined;
10037
10045
  } | undefined;
10038
10046
  };
10039
- connections: ("discord" | "google" | "apple" | "x")[];
10047
+ connections: ("x" | "discord" | "google" | "apple")[];
10040
10048
  trigger: {
10041
10049
  kind: "automatic";
10042
10050
  observation?: {
@@ -10049,7 +10057,7 @@ declare function createRelayClient(options: {
10049
10057
  start: number;
10050
10058
  end?: number | undefined;
10051
10059
  };
10052
- enrollment: "required" | "none";
10060
+ enrollment: "none" | "required";
10053
10061
  posts: "after-enrollment" | "since-start";
10054
10062
  historical: "staff" | "automatic" | "claim";
10055
10063
  } | undefined;
@@ -10096,12 +10104,12 @@ declare function createRelayClient(options: {
10096
10104
  actor?: "member" | "staff" | undefined;
10097
10105
  } | {
10098
10106
  kind: "manual";
10099
- input: "quiz" | "photo" | "none";
10107
+ input: "none" | "quiz" | "photo";
10100
10108
  actor?: "member" | "staff" | undefined;
10101
10109
  };
10102
10110
  availability: {
10103
10111
  kind: "available";
10104
- input: "quiz" | "text" | "url" | "photo" | "none";
10112
+ input: "text" | "url" | "none" | "quiz" | "photo";
10105
10113
  } | {
10106
10114
  kind: "completed";
10107
10115
  } | {
@@ -10150,7 +10158,7 @@ declare function createRelayClient(options: {
10150
10158
  quest: string;
10151
10159
  member: string;
10152
10160
  evidence: string | null;
10153
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10161
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10154
10162
  reason: string | null;
10155
10163
  retries: number;
10156
10164
  generation: number;
@@ -10182,24 +10190,25 @@ declare function createRelayClient(options: {
10182
10190
  action: "grant-role";
10183
10191
  roleId: string;
10184
10192
  })[] | null;
10193
+ requestedReview: boolean;
10185
10194
  createdAt: number;
10186
10195
  input?: {
10187
- kind: "quiz";
10188
- answers: {
10189
- [k: string]: string;
10190
- };
10191
- release?: string | undefined;
10192
- } | {
10193
10196
  kind: "text";
10194
10197
  value: string;
10195
10198
  } | {
10196
10199
  kind: "url";
10197
10200
  value: string;
10201
+ } | {
10202
+ kind: "quiz";
10203
+ answers: {
10204
+ [k: string]: string;
10205
+ };
10206
+ release?: string | undefined;
10198
10207
  } | undefined;
10199
10208
  } | null;
10200
10209
  release: string;
10201
- interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
10202
- lifecycle: "active" | "paused" | "archived";
10210
+ interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
10211
+ lifecycle: "paused" | "active" | "archived";
10203
10212
  rewards: ({
10204
10213
  kind: "points";
10205
10214
  label: string;
@@ -10328,7 +10337,7 @@ declare function createRelayClient(options: {
10328
10337
  auth: {
10329
10338
  providers: () => Promise<{
10330
10339
  providers: {
10331
- provider: "discord" | "google" | "apple" | "x";
10340
+ provider: "x" | "discord" | "google" | "apple";
10332
10341
  configured: boolean;
10333
10342
  }[];
10334
10343
  email: boolean;
@@ -10414,7 +10423,7 @@ declare function createRelayClient(options: {
10414
10423
  }>;
10415
10424
  };
10416
10425
  accounts: () => Promise<{
10417
- provider: "discord" | "google" | "apple" | "x";
10426
+ provider: "x" | "discord" | "google" | "apple";
10418
10427
  configured: boolean;
10419
10428
  status: "disconnected" | "connected" | "reconnect";
10420
10429
  subject: string | null;
@@ -10518,7 +10527,7 @@ declare function createRelayClient(options: {
10518
10527
  quest: string;
10519
10528
  member: string;
10520
10529
  evidence: string | null;
10521
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10530
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10522
10531
  reason: string | null;
10523
10532
  retries: number;
10524
10533
  generation: number;
@@ -10550,19 +10559,20 @@ declare function createRelayClient(options: {
10550
10559
  action: "grant-role";
10551
10560
  roleId: string;
10552
10561
  })[] | null;
10562
+ requestedReview: boolean;
10553
10563
  createdAt: number;
10554
10564
  input?: {
10555
- kind: "quiz";
10556
- answers: {
10557
- [k: string]: string;
10558
- };
10559
- release?: string | undefined;
10560
- } | {
10561
10565
  kind: "text";
10562
10566
  value: string;
10563
10567
  } | {
10564
10568
  kind: "url";
10565
10569
  value: string;
10570
+ } | {
10571
+ kind: "quiz";
10572
+ answers: {
10573
+ [k: string]: string;
10574
+ };
10575
+ release?: string | undefined;
10566
10576
  } | undefined;
10567
10577
  }>;
10568
10578
  progress: () => Promise<{
@@ -10590,7 +10600,7 @@ declare function createRelayClient(options: {
10590
10600
  } | undefined;
10591
10601
  } | undefined;
10592
10602
  };
10593
- connections: ("discord" | "google" | "apple" | "x")[];
10603
+ connections: ("x" | "discord" | "google" | "apple")[];
10594
10604
  trigger: {
10595
10605
  kind: "automatic";
10596
10606
  observation?: {
@@ -10603,7 +10613,7 @@ declare function createRelayClient(options: {
10603
10613
  start: number;
10604
10614
  end?: number | undefined;
10605
10615
  };
10606
- enrollment: "required" | "none";
10616
+ enrollment: "none" | "required";
10607
10617
  posts: "after-enrollment" | "since-start";
10608
10618
  historical: "staff" | "automatic" | "claim";
10609
10619
  } | undefined;
@@ -10650,12 +10660,12 @@ declare function createRelayClient(options: {
10650
10660
  actor?: "member" | "staff" | undefined;
10651
10661
  } | {
10652
10662
  kind: "manual";
10653
- input: "quiz" | "photo" | "none";
10663
+ input: "none" | "quiz" | "photo";
10654
10664
  actor?: "member" | "staff" | undefined;
10655
10665
  };
10656
10666
  availability: {
10657
10667
  kind: "available";
10658
- input: "quiz" | "text" | "url" | "photo" | "none";
10668
+ input: "text" | "url" | "none" | "quiz" | "photo";
10659
10669
  } | {
10660
10670
  kind: "completed";
10661
10671
  } | {
@@ -10704,7 +10714,7 @@ declare function createRelayClient(options: {
10704
10714
  quest: string;
10705
10715
  member: string;
10706
10716
  evidence: string | null;
10707
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10717
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10708
10718
  reason: string | null;
10709
10719
  retries: number;
10710
10720
  generation: number;
@@ -10736,19 +10746,20 @@ declare function createRelayClient(options: {
10736
10746
  action: "grant-role";
10737
10747
  roleId: string;
10738
10748
  })[] | null;
10749
+ requestedReview: boolean;
10739
10750
  createdAt: number;
10740
10751
  input?: {
10741
- kind: "quiz";
10742
- answers: {
10743
- [k: string]: string;
10744
- };
10745
- release?: string | undefined;
10746
- } | {
10747
10752
  kind: "text";
10748
10753
  value: string;
10749
10754
  } | {
10750
10755
  kind: "url";
10751
10756
  value: string;
10757
+ } | {
10758
+ kind: "quiz";
10759
+ answers: {
10760
+ [k: string]: string;
10761
+ };
10762
+ release?: string | undefined;
10752
10763
  } | undefined;
10753
10764
  } | null;
10754
10765
  key?: string | undefined;
@@ -10871,7 +10882,7 @@ declare function createRelayClient(options: {
10871
10882
  provider: "discord";
10872
10883
  action: "grant-role";
10873
10884
  roleId: string;
10874
- status: "failed" | "pending" | "delivered";
10885
+ status: "pending" | "failed" | "delivered";
10875
10886
  attempts: number;
10876
10887
  nextAt: number;
10877
10888
  lastError: string | null;
@@ -10887,7 +10898,7 @@ declare function createRelayClient(options: {
10887
10898
  quest: string;
10888
10899
  member: string;
10889
10900
  evidence: string | null;
10890
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10901
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10891
10902
  reason: string | null;
10892
10903
  retries: number;
10893
10904
  generation: number;
@@ -10919,19 +10930,20 @@ declare function createRelayClient(options: {
10919
10930
  action: "grant-role";
10920
10931
  roleId: string;
10921
10932
  })[] | null;
10933
+ requestedReview: boolean;
10922
10934
  createdAt: number;
10923
10935
  input?: {
10924
- kind: "quiz";
10925
- answers: {
10926
- [k: string]: string;
10927
- };
10928
- release?: string | undefined;
10929
- } | {
10930
10936
  kind: "text";
10931
10937
  value: string;
10932
10938
  } | {
10933
10939
  kind: "url";
10934
10940
  value: string;
10941
+ } | {
10942
+ kind: "quiz";
10943
+ answers: {
10944
+ [k: string]: string;
10945
+ };
10946
+ release?: string | undefined;
10935
10947
  } | undefined;
10936
10948
  }>;
10937
10949
  upload: (file: File) => Promise<{
@@ -10992,12 +11004,12 @@ declare function createRelayClient(options: {
10992
11004
  kind: "resource";
10993
11005
  default: string;
10994
11006
  source: {
10995
- provider: "domino";
10996
- resource: "point-ledger";
10997
- } | {
10998
11007
  provider: "discord";
10999
11008
  resource: "channel";
11000
11009
  types: ("text" | "announcement")[];
11010
+ } | {
11011
+ provider: "domino";
11012
+ resource: "point-ledger";
11001
11013
  } | {
11002
11014
  provider: "discord";
11003
11015
  resource: "role";
@@ -11094,7 +11106,7 @@ declare function createRelayClient(options: {
11094
11106
  start: number;
11095
11107
  end?: number | undefined;
11096
11108
  };
11097
- enrollment: "required" | "none";
11109
+ enrollment: "none" | "required";
11098
11110
  posts: "after-enrollment" | "since-start";
11099
11111
  historical: "staff" | "automatic" | "claim";
11100
11112
  } | undefined;
@@ -11141,7 +11153,7 @@ declare function createRelayClient(options: {
11141
11153
  actor?: "member" | "staff" | undefined;
11142
11154
  } | {
11143
11155
  kind: "manual";
11144
- input: "quiz" | "photo" | "none";
11156
+ input: "none" | "quiz" | "photo";
11145
11157
  actor?: "member" | "staff" | undefined;
11146
11158
  };
11147
11159
  requires: {
@@ -11160,7 +11172,7 @@ declare function createRelayClient(options: {
11160
11172
  budgets: {
11161
11173
  id: string;
11162
11174
  scope: "project" | "member";
11163
- period: "day" | "week" | "lifetime";
11175
+ period: "day" | "lifetime" | "week";
11164
11176
  limit: number;
11165
11177
  cost: number | {
11166
11178
  balance: string;
@@ -11217,12 +11229,12 @@ declare function createRelayClient(options: {
11217
11229
  kind: "resource";
11218
11230
  default: string;
11219
11231
  source: {
11220
- provider: "domino";
11221
- resource: "point-ledger";
11222
- } | {
11223
11232
  provider: "discord";
11224
11233
  resource: "channel";
11225
11234
  types: ("text" | "announcement")[];
11235
+ } | {
11236
+ provider: "domino";
11237
+ resource: "point-ledger";
11226
11238
  } | {
11227
11239
  provider: "discord";
11228
11240
  resource: "role";
@@ -11319,7 +11331,7 @@ declare function createRelayClient(options: {
11319
11331
  start: number;
11320
11332
  end?: number | undefined;
11321
11333
  };
11322
- enrollment: "required" | "none";
11334
+ enrollment: "none" | "required";
11323
11335
  posts: "after-enrollment" | "since-start";
11324
11336
  historical: "staff" | "automatic" | "claim";
11325
11337
  } | undefined;
@@ -11366,7 +11378,7 @@ declare function createRelayClient(options: {
11366
11378
  actor?: "member" | "staff" | undefined;
11367
11379
  } | {
11368
11380
  kind: "manual";
11369
- input: "quiz" | "photo" | "none";
11381
+ input: "none" | "quiz" | "photo";
11370
11382
  actor?: "member" | "staff" | undefined;
11371
11383
  };
11372
11384
  requires: {
@@ -11385,7 +11397,7 @@ declare function createRelayClient(options: {
11385
11397
  budgets: {
11386
11398
  id: string;
11387
11399
  scope: "project" | "member";
11388
- period: "day" | "week" | "lifetime";
11400
+ period: "day" | "lifetime" | "week";
11389
11401
  limit: number;
11390
11402
  cost: number | {
11391
11403
  balance: string;
@@ -11441,12 +11453,12 @@ declare function createRelayClient(options: {
11441
11453
  kind: "resource";
11442
11454
  default: string;
11443
11455
  source: {
11444
- provider: "domino";
11445
- resource: "point-ledger";
11446
- } | {
11447
11456
  provider: "discord";
11448
11457
  resource: "channel";
11449
11458
  types: ("text" | "announcement")[];
11459
+ } | {
11460
+ provider: "domino";
11461
+ resource: "point-ledger";
11450
11462
  } | {
11451
11463
  provider: "discord";
11452
11464
  resource: "role";
@@ -11543,7 +11555,7 @@ declare function createRelayClient(options: {
11543
11555
  start: number;
11544
11556
  end?: number | undefined;
11545
11557
  };
11546
- enrollment: "required" | "none";
11558
+ enrollment: "none" | "required";
11547
11559
  posts: "after-enrollment" | "since-start";
11548
11560
  historical: "staff" | "automatic" | "claim";
11549
11561
  } | undefined;
@@ -11590,7 +11602,7 @@ declare function createRelayClient(options: {
11590
11602
  actor?: "member" | "staff" | undefined;
11591
11603
  } | {
11592
11604
  kind: "manual";
11593
- input: "quiz" | "photo" | "none";
11605
+ input: "none" | "quiz" | "photo";
11594
11606
  actor?: "member" | "staff" | undefined;
11595
11607
  };
11596
11608
  requires: {
@@ -11609,7 +11621,7 @@ declare function createRelayClient(options: {
11609
11621
  budgets: {
11610
11622
  id: string;
11611
11623
  scope: "project" | "member";
11612
- period: "day" | "week" | "lifetime";
11624
+ period: "day" | "lifetime" | "week";
11613
11625
  limit: number;
11614
11626
  cost: number | {
11615
11627
  balance: string;
@@ -11620,7 +11632,7 @@ declare function createRelayClient(options: {
11620
11632
  id: string;
11621
11633
  createdAt: number;
11622
11634
  legacy: boolean;
11623
- lifecycle: "active" | "paused" | "archived";
11635
+ lifecycle: "paused" | "active" | "archived";
11624
11636
  performance?: {
11625
11637
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11626
11638
  maxAgeMs: number;
@@ -11743,7 +11755,7 @@ declare function createRelayClient(options: {
11743
11755
  quest: string;
11744
11756
  member: string;
11745
11757
  evidence: string | null;
11746
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
11758
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
11747
11759
  reason: string | null;
11748
11760
  retries: number;
11749
11761
  generation: number;
@@ -11775,19 +11787,20 @@ declare function createRelayClient(options: {
11775
11787
  action: "grant-role";
11776
11788
  roleId: string;
11777
11789
  })[] | null;
11790
+ requestedReview: boolean;
11778
11791
  createdAt: number;
11779
11792
  input?: {
11780
- kind: "quiz";
11781
- answers: {
11782
- [k: string]: string;
11783
- };
11784
- release?: string | undefined;
11785
- } | {
11786
11793
  kind: "text";
11787
11794
  value: string;
11788
11795
  } | {
11789
11796
  kind: "url";
11790
11797
  value: string;
11798
+ } | {
11799
+ kind: "quiz";
11800
+ answers: {
11801
+ [k: string]: string;
11802
+ };
11803
+ release?: string | undefined;
11791
11804
  } | undefined;
11792
11805
  }[];
11793
11806
  balances: {
@@ -11846,12 +11859,12 @@ declare function createRelayClient(options: {
11846
11859
  kind: "resource";
11847
11860
  default: string;
11848
11861
  source: {
11849
- provider: "domino";
11850
- resource: "point-ledger";
11851
- } | {
11852
11862
  provider: "discord";
11853
11863
  resource: "channel";
11854
11864
  types: ("text" | "announcement")[];
11865
+ } | {
11866
+ provider: "domino";
11867
+ resource: "point-ledger";
11855
11868
  } | {
11856
11869
  provider: "discord";
11857
11870
  resource: "role";
@@ -11948,7 +11961,7 @@ declare function createRelayClient(options: {
11948
11961
  start: number;
11949
11962
  end?: number | undefined;
11950
11963
  };
11951
- enrollment: "required" | "none";
11964
+ enrollment: "none" | "required";
11952
11965
  posts: "after-enrollment" | "since-start";
11953
11966
  historical: "staff" | "automatic" | "claim";
11954
11967
  } | undefined;
@@ -11995,7 +12008,7 @@ declare function createRelayClient(options: {
11995
12008
  actor?: "member" | "staff" | undefined;
11996
12009
  } | {
11997
12010
  kind: "manual";
11998
- input: "quiz" | "photo" | "none";
12011
+ input: "none" | "quiz" | "photo";
11999
12012
  actor?: "member" | "staff" | undefined;
12000
12013
  };
12001
12014
  requires: {
@@ -12014,7 +12027,7 @@ declare function createRelayClient(options: {
12014
12027
  budgets: {
12015
12028
  id: string;
12016
12029
  scope: "project" | "member";
12017
- period: "day" | "week" | "lifetime";
12030
+ period: "day" | "lifetime" | "week";
12018
12031
  limit: number;
12019
12032
  cost: number | {
12020
12033
  balance: string;
@@ -12025,7 +12038,7 @@ declare function createRelayClient(options: {
12025
12038
  id: string;
12026
12039
  createdAt: number;
12027
12040
  legacy: boolean;
12028
- lifecycle: "active" | "paused" | "archived";
12041
+ lifecycle: "paused" | "active" | "archived";
12029
12042
  performance?: {
12030
12043
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12031
12044
  maxAgeMs: number;
@@ -12099,12 +12112,12 @@ declare function createRelayClient(options: {
12099
12112
  kind: "resource";
12100
12113
  default: string;
12101
12114
  source: {
12102
- provider: "domino";
12103
- resource: "point-ledger";
12104
- } | {
12105
12115
  provider: "discord";
12106
12116
  resource: "channel";
12107
12117
  types: ("text" | "announcement")[];
12118
+ } | {
12119
+ provider: "domino";
12120
+ resource: "point-ledger";
12108
12121
  } | {
12109
12122
  provider: "discord";
12110
12123
  resource: "role";
@@ -12201,7 +12214,7 @@ declare function createRelayClient(options: {
12201
12214
  start: number;
12202
12215
  end?: number | undefined;
12203
12216
  };
12204
- enrollment: "required" | "none";
12217
+ enrollment: "none" | "required";
12205
12218
  posts: "after-enrollment" | "since-start";
12206
12219
  historical: "staff" | "automatic" | "claim";
12207
12220
  } | undefined;
@@ -12248,7 +12261,7 @@ declare function createRelayClient(options: {
12248
12261
  actor?: "member" | "staff" | undefined;
12249
12262
  } | {
12250
12263
  kind: "manual";
12251
- input: "quiz" | "photo" | "none";
12264
+ input: "none" | "quiz" | "photo";
12252
12265
  actor?: "member" | "staff" | undefined;
12253
12266
  };
12254
12267
  requires: {
@@ -12267,7 +12280,7 @@ declare function createRelayClient(options: {
12267
12280
  budgets: {
12268
12281
  id: string;
12269
12282
  scope: "project" | "member";
12270
- period: "day" | "week" | "lifetime";
12283
+ period: "day" | "lifetime" | "week";
12271
12284
  limit: number;
12272
12285
  cost: number | {
12273
12286
  balance: string;
@@ -12278,7 +12291,7 @@ declare function createRelayClient(options: {
12278
12291
  id: string;
12279
12292
  createdAt: number;
12280
12293
  legacy: boolean;
12281
- lifecycle: "active" | "paused" | "archived";
12294
+ lifecycle: "paused" | "active" | "archived";
12282
12295
  performance?: {
12283
12296
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12284
12297
  maxAgeMs: number;
@@ -12337,7 +12350,7 @@ declare function createRelayClient(options: {
12337
12350
  } | undefined;
12338
12351
  } | undefined;
12339
12352
  };
12340
- connections: ("discord" | "google" | "apple" | "x")[];
12353
+ connections: ("x" | "discord" | "google" | "apple")[];
12341
12354
  trigger: {
12342
12355
  kind: "automatic";
12343
12356
  observation?: {
@@ -12350,7 +12363,7 @@ declare function createRelayClient(options: {
12350
12363
  start: number;
12351
12364
  end?: number | undefined;
12352
12365
  };
12353
- enrollment: "required" | "none";
12366
+ enrollment: "none" | "required";
12354
12367
  posts: "after-enrollment" | "since-start";
12355
12368
  historical: "staff" | "automatic" | "claim";
12356
12369
  } | undefined;
@@ -12397,12 +12410,12 @@ declare function createRelayClient(options: {
12397
12410
  actor?: "member" | "staff" | undefined;
12398
12411
  } | {
12399
12412
  kind: "manual";
12400
- input: "quiz" | "photo" | "none";
12413
+ input: "none" | "quiz" | "photo";
12401
12414
  actor?: "member" | "staff" | undefined;
12402
12415
  };
12403
12416
  availability: {
12404
12417
  kind: "available";
12405
- input: "quiz" | "text" | "url" | "photo" | "none";
12418
+ input: "text" | "url" | "none" | "quiz" | "photo";
12406
12419
  } | {
12407
12420
  kind: "completed";
12408
12421
  } | {
@@ -12451,7 +12464,7 @@ declare function createRelayClient(options: {
12451
12464
  quest: string;
12452
12465
  member: string;
12453
12466
  evidence: string | null;
12454
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
12467
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12455
12468
  reason: string | null;
12456
12469
  retries: number;
12457
12470
  generation: number;
@@ -12483,19 +12496,20 @@ declare function createRelayClient(options: {
12483
12496
  action: "grant-role";
12484
12497
  roleId: string;
12485
12498
  })[] | null;
12499
+ requestedReview: boolean;
12486
12500
  createdAt: number;
12487
12501
  input?: {
12488
- kind: "quiz";
12489
- answers: {
12490
- [k: string]: string;
12491
- };
12492
- release?: string | undefined;
12493
- } | {
12494
12502
  kind: "text";
12495
12503
  value: string;
12496
12504
  } | {
12497
12505
  kind: "url";
12498
12506
  value: string;
12507
+ } | {
12508
+ kind: "quiz";
12509
+ answers: {
12510
+ [k: string]: string;
12511
+ };
12512
+ release?: string | undefined;
12499
12513
  } | undefined;
12500
12514
  } | null;
12501
12515
  key?: string | undefined;
@@ -12879,14 +12893,14 @@ declare function createRelayClient(options: {
12879
12893
  content: {
12880
12894
  performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
12881
12895
  current: {
12882
- state: "needs-review" | "failed" | "pending" | "qualified" | "content-pending" | "content-unqualified" | "waiting" | "unqualified" | "superseded";
12896
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "content-pending" | "content-unqualified" | "waiting";
12883
12897
  reason: string | null;
12884
12898
  contentAttempt: string;
12885
12899
  attempt: string | null;
12886
12900
  reward: {
12887
12901
  attempt: string | null;
12888
12902
  completion: string | null;
12889
- state: "awarded" | "excluded" | "unresolved";
12903
+ state: "excluded" | "unresolved" | "awarded";
12890
12904
  };
12891
12905
  };
12892
12906
  items: {
@@ -12895,7 +12909,7 @@ declare function createRelayClient(options: {
12895
12909
  observation: string;
12896
12910
  observedAt: number;
12897
12911
  metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
12898
- state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded";
12912
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed";
12899
12913
  reason: string | null;
12900
12914
  }[];
12901
12915
  next: number | null;
@@ -12910,12 +12924,12 @@ declare function createRelayClient(options: {
12910
12924
  revision: string;
12911
12925
  observation: string;
12912
12926
  current: boolean;
12913
- state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded" | "stale" | "blocked" | "unavailable";
12927
+ state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "stale" | "blocked" | "unavailable";
12914
12928
  reason: string | null;
12915
12929
  reward: {
12916
12930
  attempt: string | null;
12917
12931
  completion: string | null;
12918
- state: "awarded" | "excluded" | "unresolved";
12932
+ state: "excluded" | "unresolved" | "awarded";
12919
12933
  };
12920
12934
  }[];
12921
12935
  next: number | null;
@@ -12925,7 +12939,7 @@ declare function createRelayClient(options: {
12925
12939
  quest: string;
12926
12940
  content: string;
12927
12941
  release: string;
12928
- state: "pending" | "excluded" | "admitted";
12942
+ state: "admitted" | "pending" | "excluded";
12929
12943
  reason: string | null;
12930
12944
  attempt: string | null;
12931
12945
  }[];
@@ -12940,7 +12954,7 @@ declare function createRelayClient(options: {
12940
12954
  quest: string;
12941
12955
  content: string;
12942
12956
  release: string;
12943
- state: "pending" | "excluded" | "admitted";
12957
+ state: "admitted" | "pending" | "excluded";
12944
12958
  reason: string | null;
12945
12959
  attempt: string | null;
12946
12960
  }>;
@@ -12951,7 +12965,7 @@ declare function createRelayClient(options: {
12951
12965
  quest: string;
12952
12966
  member: string;
12953
12967
  evidence: string | null;
12954
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
12968
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12955
12969
  reason: string | null;
12956
12970
  retries: number;
12957
12971
  generation: number;
@@ -12983,19 +12997,20 @@ declare function createRelayClient(options: {
12983
12997
  action: "grant-role";
12984
12998
  roleId: string;
12985
12999
  })[] | null;
13000
+ requestedReview: boolean;
12986
13001
  createdAt: number;
12987
13002
  input?: {
12988
- kind: "quiz";
12989
- answers: {
12990
- [k: string]: string;
12991
- };
12992
- release?: string | undefined;
12993
- } | {
12994
13003
  kind: "text";
12995
13004
  value: string;
12996
13005
  } | {
12997
13006
  kind: "url";
12998
13007
  value: string;
13008
+ } | {
13009
+ kind: "quiz";
13010
+ answers: {
13011
+ [k: string]: string;
13012
+ };
13013
+ release?: string | undefined;
12999
13014
  } | undefined;
13000
13015
  }>;
13001
13016
  retry: (id: string) => Promise<{
@@ -13004,7 +13019,7 @@ declare function createRelayClient(options: {
13004
13019
  quest: string;
13005
13020
  member: string;
13006
13021
  evidence: string | null;
13007
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
13022
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
13008
13023
  reason: string | null;
13009
13024
  retries: number;
13010
13025
  generation: number;
@@ -13036,19 +13051,20 @@ declare function createRelayClient(options: {
13036
13051
  action: "grant-role";
13037
13052
  roleId: string;
13038
13053
  })[] | null;
13054
+ requestedReview: boolean;
13039
13055
  createdAt: number;
13040
13056
  input?: {
13041
- kind: "quiz";
13042
- answers: {
13043
- [k: string]: string;
13044
- };
13045
- release?: string | undefined;
13046
- } | {
13047
13057
  kind: "text";
13048
13058
  value: string;
13049
13059
  } | {
13050
13060
  kind: "url";
13051
13061
  value: string;
13062
+ } | {
13063
+ kind: "quiz";
13064
+ answers: {
13065
+ [k: string]: string;
13066
+ };
13067
+ release?: string | undefined;
13052
13068
  } | undefined;
13053
13069
  }>;
13054
13070
  /** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
@@ -13063,7 +13079,7 @@ declare function createRelayClient(options: {
13063
13079
  quest: string;
13064
13080
  member: string;
13065
13081
  evidence: string | null;
13066
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
13082
+ status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
13067
13083
  reason: string | null;
13068
13084
  retries: number;
13069
13085
  generation: number;
@@ -13095,19 +13111,20 @@ declare function createRelayClient(options: {
13095
13111
  action: "grant-role";
13096
13112
  roleId: string;
13097
13113
  })[] | null;
13114
+ requestedReview: boolean;
13098
13115
  createdAt: number;
13099
13116
  input?: {
13100
- kind: "quiz";
13101
- answers: {
13102
- [k: string]: string;
13103
- };
13104
- release?: string | undefined;
13105
- } | {
13106
13117
  kind: "text";
13107
13118
  value: string;
13108
13119
  } | {
13109
13120
  kind: "url";
13110
13121
  value: string;
13122
+ } | {
13123
+ kind: "quiz";
13124
+ answers: {
13125
+ [k: string]: string;
13126
+ };
13127
+ release?: string | undefined;
13111
13128
  } | undefined;
13112
13129
  }>;
13113
13130
  };