@domino-sdk/relay 0.31.1 → 1.0.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -210,12 +210,12 @@ type ProgressObserver = {
210
210
 
211
211
  declare const interactionSchema: z.ZodEnum<{
212
212
  staff: "staff";
213
+ quiz: "quiz";
213
214
  text: "text";
214
215
  url: "url";
216
+ photo: "photo";
215
217
  automatic: "automatic";
216
218
  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";
388
387
  quiz: "quiz";
389
388
  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
- none: "none";
409
408
  required: "required";
409
+ none: "none";
410
410
  }>>;
411
411
  posts: z.ZodDefault<z.ZodEnum<{
412
412
  "after-enrollment": "after-enrollment";
@@ -489,8 +489,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
489
489
  }>;
490
490
  period: z.ZodEnum<{
491
491
  day: "day";
492
- lifetime: "lifetime";
493
492
  week: "week";
493
+ lifetime: "lifetime";
494
494
  }>;
495
495
  limit: z.ZodNumber;
496
496
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -520,7 +520,7 @@ declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
520
520
  title: string;
521
521
  key?: string | undefined;
522
522
  id?: string | undefined;
523
- }, "id" | "key"> & {
523
+ }, "key" | "id"> & {
524
524
  key: string;
525
525
  }, {
526
526
  title: string;
@@ -548,8 +548,8 @@ declare const questInstanceSchema: z.ZodObject<{
548
548
  }, z.core.$strict>>]>>;
549
549
  requires: z.ZodArray<z.ZodString>;
550
550
  status: z.ZodEnum<{
551
- paused: "paused";
552
551
  active: "active";
552
+ paused: "paused";
553
553
  archived: "archived";
554
554
  }>;
555
555
  }, z.core.$strict>;
@@ -569,8 +569,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
569
569
  }, z.core.$strict>>]>>;
570
570
  requires: z.ZodArray<z.ZodString>;
571
571
  status: z.ZodEnum<{
572
- paused: "paused";
573
572
  active: "active";
573
+ paused: "paused";
574
574
  archived: "archived";
575
575
  }>;
576
576
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -602,8 +602,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
602
602
  }, z.core.$strict>>]>>;
603
603
  requires: z.ZodArray<z.ZodString>;
604
604
  status: z.ZodEnum<{
605
- paused: "paused";
606
605
  active: "active";
606
+ paused: "paused";
607
607
  archived: "archived";
608
608
  }>;
609
609
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -636,8 +636,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
636
636
  }, z.core.$strict>>]>>;
637
637
  requires: z.ZodArray<z.ZodString>;
638
638
  status: z.ZodEnum<{
639
- paused: "paused";
640
639
  active: "active";
640
+ paused: "paused";
641
641
  archived: "archived";
642
642
  }>;
643
643
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -819,9 +819,9 @@ declare const questCatalogSchema: z.ZodObject<{
819
819
  }, z.core.$strict>, z.ZodObject<{
820
820
  kind: z.ZodLiteral<"manual">;
821
821
  input: z.ZodEnum<{
822
- none: "none";
823
822
  quiz: "quiz";
824
823
  photo: "photo";
824
+ none: "none";
825
825
  }>;
826
826
  actor: z.ZodOptional<z.ZodEnum<{
827
827
  member: "member";
@@ -840,8 +840,8 @@ declare const questCatalogSchema: z.ZodObject<{
840
840
  end: z.ZodOptional<z.ZodNumber>;
841
841
  }, z.core.$strict>;
842
842
  enrollment: z.ZodDefault<z.ZodEnum<{
843
- none: "none";
844
843
  required: "required";
844
+ none: "none";
845
845
  }>>;
846
846
  posts: z.ZodDefault<z.ZodEnum<{
847
847
  "after-enrollment": "after-enrollment";
@@ -924,8 +924,8 @@ declare const questCatalogSchema: z.ZodObject<{
924
924
  }>;
925
925
  period: z.ZodEnum<{
926
926
  day: "day";
927
- lifetime: "lifetime";
928
927
  week: "week";
928
+ lifetime: "lifetime";
929
929
  }>;
930
930
  limit: z.ZodNumber;
931
931
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -963,8 +963,8 @@ declare const questCatalogSchema: z.ZodObject<{
963
963
  }, z.core.$strict>>]>>;
964
964
  requires: z.ZodArray<z.ZodString>;
965
965
  status: z.ZodEnum<{
966
- paused: "paused";
967
966
  active: "active";
967
+ paused: "paused";
968
968
  archived: "archived";
969
969
  }>;
970
970
  }, z.core.$strict>>;
@@ -988,8 +988,8 @@ declare const questCatalogSchema: z.ZodObject<{
988
988
  }, z.core.$strict>>]>>;
989
989
  requires: z.ZodArray<z.ZodString>;
990
990
  status: z.ZodEnum<{
991
- paused: "paused";
992
991
  active: "active";
992
+ paused: "paused";
993
993
  archived: "archived";
994
994
  }>;
995
995
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -1022,8 +1022,8 @@ declare const questCatalogSchema: z.ZodObject<{
1022
1022
  }, z.core.$strict>>]>>;
1023
1023
  requires: z.ZodArray<z.ZodString>;
1024
1024
  status: z.ZodEnum<{
1025
- paused: "paused";
1026
1025
  active: "active";
1026
+ paused: "paused";
1027
1027
  archived: "archived";
1028
1028
  }>;
1029
1029
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -1198,9 +1198,9 @@ declare const questCatalogSchema: z.ZodObject<{
1198
1198
  }, z.core.$strict>, z.ZodObject<{
1199
1199
  kind: z.ZodLiteral<"manual">;
1200
1200
  input: z.ZodEnum<{
1201
- none: "none";
1202
1201
  quiz: "quiz";
1203
1202
  photo: "photo";
1203
+ none: "none";
1204
1204
  }>;
1205
1205
  actor: z.ZodOptional<z.ZodEnum<{
1206
1206
  member: "member";
@@ -1219,8 +1219,8 @@ declare const questCatalogSchema: z.ZodObject<{
1219
1219
  end: z.ZodOptional<z.ZodNumber>;
1220
1220
  }, z.core.$strict>;
1221
1221
  enrollment: z.ZodDefault<z.ZodEnum<{
1222
- none: "none";
1223
1222
  required: "required";
1223
+ none: "none";
1224
1224
  }>>;
1225
1225
  posts: z.ZodDefault<z.ZodEnum<{
1226
1226
  "after-enrollment": "after-enrollment";
@@ -1303,8 +1303,8 @@ declare const questCatalogSchema: z.ZodObject<{
1303
1303
  }>;
1304
1304
  period: z.ZodEnum<{
1305
1305
  day: "day";
1306
- lifetime: "lifetime";
1307
1306
  week: "week";
1307
+ lifetime: "lifetime";
1308
1308
  }>;
1309
1309
  limit: z.ZodNumber;
1310
1310
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -1327,8 +1327,8 @@ declare const questCatalogSchema: z.ZodObject<{
1327
1327
  typeVersion: z.ZodString;
1328
1328
  }, z.core.$strict>>;
1329
1329
  lifecycle: z.ZodDefault<z.ZodEnum<{
1330
- paused: "paused";
1331
1330
  active: "active";
1331
+ paused: "paused";
1332
1332
  archived: "archived";
1333
1333
  }>>;
1334
1334
  configuration: z.ZodOptional<z.ZodObject<{
@@ -1433,12 +1433,12 @@ declare const questCatalogSchema: z.ZodObject<{
1433
1433
  kind: "resource";
1434
1434
  default: string;
1435
1435
  source: {
1436
+ provider: "domino";
1437
+ resource: "point-ledger";
1438
+ } | {
1436
1439
  provider: "discord";
1437
1440
  resource: "channel";
1438
1441
  types: ("text" | "announcement")[];
1439
- } | {
1440
- provider: "domino";
1441
- resource: "point-ledger";
1442
1442
  } | {
1443
1443
  provider: "discord";
1444
1444
  resource: "role";
@@ -1535,7 +1535,7 @@ declare const questCatalogSchema: z.ZodObject<{
1535
1535
  start: number;
1536
1536
  end?: number | undefined;
1537
1537
  };
1538
- enrollment: "none" | "required";
1538
+ enrollment: "required" | "none";
1539
1539
  posts: "after-enrollment" | "since-start";
1540
1540
  historical: "staff" | "automatic" | "claim";
1541
1541
  } | undefined;
@@ -1582,7 +1582,7 @@ declare const questCatalogSchema: z.ZodObject<{
1582
1582
  actor?: "member" | "staff" | undefined;
1583
1583
  } | {
1584
1584
  kind: "manual";
1585
- input: "none" | "quiz" | "photo";
1585
+ input: "quiz" | "photo" | "none";
1586
1586
  actor?: "member" | "staff" | undefined;
1587
1587
  };
1588
1588
  requires: {
@@ -1602,7 +1602,7 @@ declare const questCatalogSchema: z.ZodObject<{
1602
1602
  budgets: {
1603
1603
  id: string;
1604
1604
  scope: "project" | "member";
1605
- period: "day" | "lifetime" | "week";
1605
+ period: "day" | "week" | "lifetime";
1606
1606
  limit: number;
1607
1607
  cost: number | {
1608
1608
  balance: string;
@@ -1613,7 +1613,7 @@ declare const questCatalogSchema: z.ZodObject<{
1613
1613
  id: string;
1614
1614
  createdAt: number;
1615
1615
  legacy: boolean;
1616
- lifecycle: "paused" | "active" | "archived";
1616
+ lifecycle: "active" | "paused" | "archived";
1617
1617
  performance?: {
1618
1618
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1619
1619
  maxAgeMs: number;
@@ -1685,12 +1685,12 @@ declare const questCatalogSchema: z.ZodObject<{
1685
1685
  }>>]>>>;
1686
1686
  supportedInteractions: z.ZodArray<z.ZodEnum<{
1687
1687
  staff: "staff";
1688
+ quiz: "quiz";
1688
1689
  text: "text";
1689
1690
  url: "url";
1691
+ photo: "photo";
1690
1692
  automatic: "automatic";
1691
1693
  claim: "claim";
1692
- quiz: "quiz";
1693
- photo: "photo";
1694
1694
  }>>;
1695
1695
  }, z.core.$strip>;
1696
1696
  declare const catalogDeploymentSchema: z.ZodObject<{
@@ -1709,7 +1709,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1709
1709
  title: string;
1710
1710
  key?: string | undefined;
1711
1711
  id?: string | undefined;
1712
- }, "id" | "key"> & {
1712
+ }, "key" | "id"> & {
1713
1713
  key: string;
1714
1714
  }, {
1715
1715
  title: string;
@@ -1718,12 +1718,12 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1718
1718
  }>>>>;
1719
1719
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1720
1720
  staff: "staff";
1721
+ quiz: "quiz";
1721
1722
  text: "text";
1722
1723
  url: "url";
1724
+ photo: "photo";
1723
1725
  automatic: "automatic";
1724
1726
  claim: "claim";
1725
- quiz: "quiz";
1726
- photo: "photo";
1727
1727
  }>>>;
1728
1728
  }, z.core.$strict>;
1729
1729
  declare const catalogDeploymentPreviewSchema: z.ZodObject<{
@@ -1893,9 +1893,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1893
1893
  }, z.core.$strict>, z.ZodObject<{
1894
1894
  kind: z.ZodLiteral<"manual">;
1895
1895
  input: z.ZodEnum<{
1896
- none: "none";
1897
1896
  quiz: "quiz";
1898
1897
  photo: "photo";
1898
+ none: "none";
1899
1899
  }>;
1900
1900
  actor: z.ZodOptional<z.ZodEnum<{
1901
1901
  member: "member";
@@ -1914,8 +1914,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1914
1914
  end: z.ZodOptional<z.ZodNumber>;
1915
1915
  }, z.core.$strict>;
1916
1916
  enrollment: z.ZodDefault<z.ZodEnum<{
1917
- none: "none";
1918
1917
  required: "required";
1918
+ none: "none";
1919
1919
  }>>;
1920
1920
  posts: z.ZodDefault<z.ZodEnum<{
1921
1921
  "after-enrollment": "after-enrollment";
@@ -1998,8 +1998,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
1998
1998
  }>;
1999
1999
  period: z.ZodEnum<{
2000
2000
  day: "day";
2001
- lifetime: "lifetime";
2002
2001
  week: "week";
2002
+ lifetime: "lifetime";
2003
2003
  }>;
2004
2004
  limit: z.ZodNumber;
2005
2005
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -2023,12 +2023,12 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2023
2023
  }, z.core.$strict>>;
2024
2024
  supportedInteractions: z.ZodArray<z.ZodEnum<{
2025
2025
  staff: "staff";
2026
+ quiz: "quiz";
2026
2027
  text: "text";
2027
2028
  url: "url";
2029
+ photo: "photo";
2028
2030
  automatic: "automatic";
2029
2031
  claim: "claim";
2030
- quiz: "quiz";
2031
- photo: "photo";
2032
2032
  }>>;
2033
2033
  }, z.core.$strip>;
2034
2034
  declare const saveQuestDraftSchema: z.ZodObject<{
@@ -2052,8 +2052,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
2052
2052
  }, z.core.$strict>>]>>;
2053
2053
  requires: z.ZodArray<z.ZodString>;
2054
2054
  status: z.ZodEnum<{
2055
- paused: "paused";
2056
2055
  active: "active";
2056
+ paused: "paused";
2057
2057
  archived: "archived";
2058
2058
  }>;
2059
2059
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -2121,10 +2121,10 @@ declare const questViewSchema: z.ZodObject<{
2121
2121
  }, z.core.$strict>>;
2122
2122
  }, z.core.$strict>>;
2123
2123
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2124
- x: "x";
2125
2124
  discord: "discord";
2126
2125
  google: "google";
2127
2126
  apple: "apple";
2127
+ x: "x";
2128
2128
  }>>>;
2129
2129
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2130
2130
  kind: z.ZodLiteral<"manual">;
@@ -2152,9 +2152,9 @@ declare const questViewSchema: z.ZodObject<{
2152
2152
  }, z.core.$strict>, z.ZodObject<{
2153
2153
  kind: z.ZodLiteral<"manual">;
2154
2154
  input: z.ZodEnum<{
2155
- none: "none";
2156
2155
  quiz: "quiz";
2157
2156
  photo: "photo";
2157
+ none: "none";
2158
2158
  }>;
2159
2159
  actor: z.ZodOptional<z.ZodEnum<{
2160
2160
  member: "member";
@@ -2173,8 +2173,8 @@ declare const questViewSchema: z.ZodObject<{
2173
2173
  end: z.ZodOptional<z.ZodNumber>;
2174
2174
  }, z.core.$strict>;
2175
2175
  enrollment: z.ZodDefault<z.ZodEnum<{
2176
- none: "none";
2177
2176
  required: "required";
2177
+ none: "none";
2178
2178
  }>>;
2179
2179
  posts: z.ZodDefault<z.ZodEnum<{
2180
2180
  "after-enrollment": "after-enrollment";
@@ -2221,11 +2221,11 @@ declare const questViewSchema: z.ZodObject<{
2221
2221
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2222
2222
  kind: z.ZodLiteral<"available">;
2223
2223
  input: z.ZodEnum<{
2224
+ quiz: "quiz";
2224
2225
  text: "text";
2225
2226
  url: "url";
2226
- none: "none";
2227
- quiz: "quiz";
2228
2227
  photo: "photo";
2228
+ none: "none";
2229
2229
  }>;
2230
2230
  }, z.core.$strict>, z.ZodObject<{
2231
2231
  kind: z.ZodLiteral<"completed">;
@@ -2322,13 +2322,13 @@ declare const questViewSchema: z.ZodObject<{
2322
2322
  value: z.ZodString;
2323
2323
  }, z.core.$strict>]>>;
2324
2324
  status: z.ZodEnum<{
2325
- "needs-review": "needs-review";
2326
- failed: "failed";
2327
2325
  queued: "queued";
2328
2326
  evaluating: "evaluating";
2329
2327
  accepted: "accepted";
2330
2328
  progressed: "progressed";
2331
2329
  rejected: "rejected";
2330
+ "needs-review": "needs-review";
2331
+ failed: "failed";
2332
2332
  }>;
2333
2333
  reason: z.ZodNullable<z.ZodString>;
2334
2334
  retries: z.ZodNumber;
@@ -2366,16 +2366,16 @@ declare const questViewSchema: z.ZodObject<{
2366
2366
  release: z.ZodString;
2367
2367
  interaction: z.ZodEnum<{
2368
2368
  staff: "staff";
2369
+ quiz: "quiz";
2369
2370
  text: "text";
2370
2371
  url: "url";
2372
+ photo: "photo";
2371
2373
  automatic: "automatic";
2372
2374
  claim: "claim";
2373
- quiz: "quiz";
2374
- photo: "photo";
2375
2375
  }>;
2376
2376
  lifecycle: z.ZodEnum<{
2377
- paused: "paused";
2378
2377
  active: "active";
2378
+ paused: "paused";
2379
2379
  archived: "archived";
2380
2380
  }>;
2381
2381
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2430,10 +2430,10 @@ declare const collectionViewSchema: z.ZodObject<{
2430
2430
  }, z.core.$strict>>;
2431
2431
  }, z.core.$strict>>;
2432
2432
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2433
- x: "x";
2434
2433
  discord: "discord";
2435
2434
  google: "google";
2436
2435
  apple: "apple";
2436
+ x: "x";
2437
2437
  }>>>;
2438
2438
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2439
2439
  kind: z.ZodLiteral<"manual">;
@@ -2461,9 +2461,9 @@ declare const collectionViewSchema: z.ZodObject<{
2461
2461
  }, z.core.$strict>, z.ZodObject<{
2462
2462
  kind: z.ZodLiteral<"manual">;
2463
2463
  input: z.ZodEnum<{
2464
- none: "none";
2465
2464
  quiz: "quiz";
2466
2465
  photo: "photo";
2466
+ none: "none";
2467
2467
  }>;
2468
2468
  actor: z.ZodOptional<z.ZodEnum<{
2469
2469
  member: "member";
@@ -2482,8 +2482,8 @@ declare const collectionViewSchema: z.ZodObject<{
2482
2482
  end: z.ZodOptional<z.ZodNumber>;
2483
2483
  }, z.core.$strict>;
2484
2484
  enrollment: z.ZodDefault<z.ZodEnum<{
2485
- none: "none";
2486
2485
  required: "required";
2486
+ none: "none";
2487
2487
  }>>;
2488
2488
  posts: z.ZodDefault<z.ZodEnum<{
2489
2489
  "after-enrollment": "after-enrollment";
@@ -2530,11 +2530,11 @@ declare const collectionViewSchema: z.ZodObject<{
2530
2530
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2531
2531
  kind: z.ZodLiteral<"available">;
2532
2532
  input: z.ZodEnum<{
2533
+ quiz: "quiz";
2533
2534
  text: "text";
2534
2535
  url: "url";
2535
- none: "none";
2536
- quiz: "quiz";
2537
2536
  photo: "photo";
2537
+ none: "none";
2538
2538
  }>;
2539
2539
  }, z.core.$strict>, z.ZodObject<{
2540
2540
  kind: z.ZodLiteral<"completed">;
@@ -2631,13 +2631,13 @@ declare const collectionViewSchema: z.ZodObject<{
2631
2631
  value: z.ZodString;
2632
2632
  }, z.core.$strict>]>>;
2633
2633
  status: z.ZodEnum<{
2634
- "needs-review": "needs-review";
2635
- failed: "failed";
2636
2634
  queued: "queued";
2637
2635
  evaluating: "evaluating";
2638
2636
  accepted: "accepted";
2639
2637
  progressed: "progressed";
2640
2638
  rejected: "rejected";
2639
+ "needs-review": "needs-review";
2640
+ failed: "failed";
2641
2641
  }>;
2642
2642
  reason: z.ZodNullable<z.ZodString>;
2643
2643
  retries: z.ZodNumber;
@@ -2675,16 +2675,16 @@ declare const collectionViewSchema: z.ZodObject<{
2675
2675
  release: z.ZodString;
2676
2676
  interaction: z.ZodEnum<{
2677
2677
  staff: "staff";
2678
+ quiz: "quiz";
2678
2679
  text: "text";
2679
2680
  url: "url";
2681
+ photo: "photo";
2680
2682
  automatic: "automatic";
2681
2683
  claim: "claim";
2682
- quiz: "quiz";
2683
- photo: "photo";
2684
2684
  }>;
2685
2685
  lifecycle: z.ZodEnum<{
2686
- paused: "paused";
2687
2686
  active: "active";
2687
+ paused: "paused";
2688
2688
  archived: "archived";
2689
2689
  }>;
2690
2690
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2738,10 +2738,10 @@ declare const questExperienceSchema: z.ZodObject<{
2738
2738
  }, z.core.$strict>>;
2739
2739
  }, z.core.$strict>>;
2740
2740
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2741
- x: "x";
2742
2741
  discord: "discord";
2743
2742
  google: "google";
2744
2743
  apple: "apple";
2744
+ x: "x";
2745
2745
  }>>>;
2746
2746
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2747
2747
  kind: z.ZodLiteral<"manual">;
@@ -2769,9 +2769,9 @@ declare const questExperienceSchema: z.ZodObject<{
2769
2769
  }, z.core.$strict>, z.ZodObject<{
2770
2770
  kind: z.ZodLiteral<"manual">;
2771
2771
  input: z.ZodEnum<{
2772
- none: "none";
2773
2772
  quiz: "quiz";
2774
2773
  photo: "photo";
2774
+ none: "none";
2775
2775
  }>;
2776
2776
  actor: z.ZodOptional<z.ZodEnum<{
2777
2777
  member: "member";
@@ -2790,8 +2790,8 @@ declare const questExperienceSchema: z.ZodObject<{
2790
2790
  end: z.ZodOptional<z.ZodNumber>;
2791
2791
  }, z.core.$strict>;
2792
2792
  enrollment: z.ZodDefault<z.ZodEnum<{
2793
- none: "none";
2794
2793
  required: "required";
2794
+ none: "none";
2795
2795
  }>>;
2796
2796
  posts: z.ZodDefault<z.ZodEnum<{
2797
2797
  "after-enrollment": "after-enrollment";
@@ -2838,11 +2838,11 @@ declare const questExperienceSchema: z.ZodObject<{
2838
2838
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
2839
2839
  kind: z.ZodLiteral<"available">;
2840
2840
  input: z.ZodEnum<{
2841
+ quiz: "quiz";
2841
2842
  text: "text";
2842
2843
  url: "url";
2843
- none: "none";
2844
- quiz: "quiz";
2845
2844
  photo: "photo";
2845
+ none: "none";
2846
2846
  }>;
2847
2847
  }, z.core.$strict>, z.ZodObject<{
2848
2848
  kind: z.ZodLiteral<"completed">;
@@ -2939,13 +2939,13 @@ declare const questExperienceSchema: z.ZodObject<{
2939
2939
  value: z.ZodString;
2940
2940
  }, z.core.$strict>]>>;
2941
2941
  status: z.ZodEnum<{
2942
- "needs-review": "needs-review";
2943
- failed: "failed";
2944
2942
  queued: "queued";
2945
2943
  evaluating: "evaluating";
2946
2944
  accepted: "accepted";
2947
2945
  progressed: "progressed";
2948
2946
  rejected: "rejected";
2947
+ "needs-review": "needs-review";
2948
+ failed: "failed";
2949
2949
  }>;
2950
2950
  reason: z.ZodNullable<z.ZodString>;
2951
2951
  retries: z.ZodNumber;
@@ -2983,16 +2983,16 @@ declare const questExperienceSchema: z.ZodObject<{
2983
2983
  release: z.ZodString;
2984
2984
  interaction: z.ZodEnum<{
2985
2985
  staff: "staff";
2986
+ quiz: "quiz";
2986
2987
  text: "text";
2987
2988
  url: "url";
2989
+ photo: "photo";
2988
2990
  automatic: "automatic";
2989
2991
  claim: "claim";
2990
- quiz: "quiz";
2991
- photo: "photo";
2992
2992
  }>;
2993
2993
  lifecycle: z.ZodEnum<{
2994
- paused: "paused";
2995
2994
  active: "active";
2995
+ paused: "paused";
2996
2996
  archived: "archived";
2997
2997
  }>;
2998
2998
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3047,10 +3047,10 @@ declare const questExperienceSchema: z.ZodObject<{
3047
3047
  }, z.core.$strict>>;
3048
3048
  }, z.core.$strict>>;
3049
3049
  connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
3050
- x: "x";
3051
3050
  discord: "discord";
3052
3051
  google: "google";
3053
3052
  apple: "apple";
3053
+ x: "x";
3054
3054
  }>>>;
3055
3055
  trigger: z.ZodUnion<readonly [z.ZodObject<{
3056
3056
  kind: z.ZodLiteral<"manual">;
@@ -3078,9 +3078,9 @@ declare const questExperienceSchema: z.ZodObject<{
3078
3078
  }, z.core.$strict>, z.ZodObject<{
3079
3079
  kind: z.ZodLiteral<"manual">;
3080
3080
  input: z.ZodEnum<{
3081
- none: "none";
3082
3081
  quiz: "quiz";
3083
3082
  photo: "photo";
3083
+ none: "none";
3084
3084
  }>;
3085
3085
  actor: z.ZodOptional<z.ZodEnum<{
3086
3086
  member: "member";
@@ -3099,8 +3099,8 @@ declare const questExperienceSchema: z.ZodObject<{
3099
3099
  end: z.ZodOptional<z.ZodNumber>;
3100
3100
  }, z.core.$strict>;
3101
3101
  enrollment: z.ZodDefault<z.ZodEnum<{
3102
- none: "none";
3103
3102
  required: "required";
3103
+ none: "none";
3104
3104
  }>>;
3105
3105
  posts: z.ZodDefault<z.ZodEnum<{
3106
3106
  "after-enrollment": "after-enrollment";
@@ -3147,11 +3147,11 @@ declare const questExperienceSchema: z.ZodObject<{
3147
3147
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
3148
3148
  kind: z.ZodLiteral<"available">;
3149
3149
  input: z.ZodEnum<{
3150
+ quiz: "quiz";
3150
3151
  text: "text";
3151
3152
  url: "url";
3152
- none: "none";
3153
- quiz: "quiz";
3154
3153
  photo: "photo";
3154
+ none: "none";
3155
3155
  }>;
3156
3156
  }, z.core.$strict>, z.ZodObject<{
3157
3157
  kind: z.ZodLiteral<"completed">;
@@ -3248,13 +3248,13 @@ declare const questExperienceSchema: z.ZodObject<{
3248
3248
  value: z.ZodString;
3249
3249
  }, z.core.$strict>]>>;
3250
3250
  status: z.ZodEnum<{
3251
- "needs-review": "needs-review";
3252
- failed: "failed";
3253
3251
  queued: "queued";
3254
3252
  evaluating: "evaluating";
3255
3253
  accepted: "accepted";
3256
3254
  progressed: "progressed";
3257
3255
  rejected: "rejected";
3256
+ "needs-review": "needs-review";
3257
+ failed: "failed";
3258
3258
  }>;
3259
3259
  reason: z.ZodNullable<z.ZodString>;
3260
3260
  retries: z.ZodNumber;
@@ -3292,16 +3292,16 @@ declare const questExperienceSchema: z.ZodObject<{
3292
3292
  release: z.ZodString;
3293
3293
  interaction: z.ZodEnum<{
3294
3294
  staff: "staff";
3295
+ quiz: "quiz";
3295
3296
  text: "text";
3296
3297
  url: "url";
3298
+ photo: "photo";
3297
3299
  automatic: "automatic";
3298
3300
  claim: "claim";
3299
- quiz: "quiz";
3300
- photo: "photo";
3301
3301
  }>;
3302
3302
  lifecycle: z.ZodEnum<{
3303
- paused: "paused";
3304
3303
  active: "active";
3304
+ paused: "paused";
3305
3305
  archived: "archived";
3306
3306
  }>;
3307
3307
  rewards: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3355,8 +3355,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3355
3355
  }, z.core.$strict>>]>>;
3356
3356
  requires: z.ZodArray<z.ZodString>;
3357
3357
  status: z.ZodEnum<{
3358
- paused: "paused";
3359
3358
  active: "active";
3359
+ paused: "paused";
3360
3360
  archived: "archived";
3361
3361
  }>;
3362
3362
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -3389,8 +3389,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3389
3389
  }, z.core.$strict>>]>>;
3390
3390
  requires: z.ZodArray<z.ZodString>;
3391
3391
  status: z.ZodEnum<{
3392
- paused: "paused";
3393
3392
  active: "active";
3393
+ paused: "paused";
3394
3394
  archived: "archived";
3395
3395
  }>;
3396
3396
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -3565,9 +3565,9 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3565
3565
  }, z.core.$strict>, z.ZodObject<{
3566
3566
  kind: z.ZodLiteral<"manual">;
3567
3567
  input: z.ZodEnum<{
3568
- none: "none";
3569
3568
  quiz: "quiz";
3570
3569
  photo: "photo";
3570
+ none: "none";
3571
3571
  }>;
3572
3572
  actor: z.ZodOptional<z.ZodEnum<{
3573
3573
  member: "member";
@@ -3586,8 +3586,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3586
3586
  end: z.ZodOptional<z.ZodNumber>;
3587
3587
  }, z.core.$strict>;
3588
3588
  enrollment: z.ZodDefault<z.ZodEnum<{
3589
- none: "none";
3590
3589
  required: "required";
3590
+ none: "none";
3591
3591
  }>>;
3592
3592
  posts: z.ZodDefault<z.ZodEnum<{
3593
3593
  "after-enrollment": "after-enrollment";
@@ -3670,8 +3670,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3670
3670
  }>;
3671
3671
  period: z.ZodEnum<{
3672
3672
  day: "day";
3673
- lifetime: "lifetime";
3674
3673
  week: "week";
3674
+ lifetime: "lifetime";
3675
3675
  }>;
3676
3676
  limit: z.ZodNumber;
3677
3677
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -3694,8 +3694,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3694
3694
  typeVersion: z.ZodString;
3695
3695
  }, z.core.$strict>>;
3696
3696
  lifecycle: z.ZodDefault<z.ZodEnum<{
3697
- paused: "paused";
3698
3697
  active: "active";
3698
+ paused: "paused";
3699
3699
  archived: "archived";
3700
3700
  }>>;
3701
3701
  configuration: z.ZodOptional<z.ZodObject<{
@@ -3800,12 +3800,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3800
3800
  kind: "resource";
3801
3801
  default: string;
3802
3802
  source: {
3803
+ provider: "domino";
3804
+ resource: "point-ledger";
3805
+ } | {
3803
3806
  provider: "discord";
3804
3807
  resource: "channel";
3805
3808
  types: ("text" | "announcement")[];
3806
- } | {
3807
- provider: "domino";
3808
- resource: "point-ledger";
3809
3809
  } | {
3810
3810
  provider: "discord";
3811
3811
  resource: "role";
@@ -3902,7 +3902,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3902
3902
  start: number;
3903
3903
  end?: number | undefined;
3904
3904
  };
3905
- enrollment: "none" | "required";
3905
+ enrollment: "required" | "none";
3906
3906
  posts: "after-enrollment" | "since-start";
3907
3907
  historical: "staff" | "automatic" | "claim";
3908
3908
  } | undefined;
@@ -3949,7 +3949,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3949
3949
  actor?: "member" | "staff" | undefined;
3950
3950
  } | {
3951
3951
  kind: "manual";
3952
- input: "none" | "quiz" | "photo";
3952
+ input: "quiz" | "photo" | "none";
3953
3953
  actor?: "member" | "staff" | undefined;
3954
3954
  };
3955
3955
  requires: {
@@ -3969,7 +3969,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3969
3969
  budgets: {
3970
3970
  id: string;
3971
3971
  scope: "project" | "member";
3972
- period: "day" | "lifetime" | "week";
3972
+ period: "day" | "week" | "lifetime";
3973
3973
  limit: number;
3974
3974
  cost: number | {
3975
3975
  balance: string;
@@ -3980,7 +3980,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
3980
3980
  id: string;
3981
3981
  createdAt: number;
3982
3982
  legacy: boolean;
3983
- lifecycle: "paused" | "active" | "archived";
3983
+ lifecycle: "active" | "paused" | "archived";
3984
3984
  performance?: {
3985
3985
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3986
3986
  maxAgeMs: number;
@@ -4440,8 +4440,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
4440
4440
  action: z.ZodLiteral<"grant-role">;
4441
4441
  roleId: z.ZodString;
4442
4442
  status: z.ZodEnum<{
4443
- pending: "pending";
4444
4443
  failed: "failed";
4444
+ pending: "pending";
4445
4445
  delivered: "delivered";
4446
4446
  }>;
4447
4447
  attempts: z.ZodNumber;
@@ -4460,8 +4460,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
4460
4460
  action: z.ZodLiteral<"grant-role">;
4461
4461
  roleId: z.ZodString;
4462
4462
  status: z.ZodEnum<{
4463
- pending: "pending";
4464
4463
  failed: "failed";
4464
+ pending: "pending";
4465
4465
  delivered: "delivered";
4466
4466
  }>;
4467
4467
  attempts: z.ZodNumber;
@@ -4632,12 +4632,6 @@ declare function questConfiguration(release: PublishedRelease): {
4632
4632
 
4633
4633
  /** Non-quest resources in the private hosted-build catalog artifact. */
4634
4634
  declare const projectCatalogArtifactSchema: z.ZodObject<{
4635
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4636
- code: z.ZodString;
4637
- provider: z.ZodEnum<{
4638
- "workers-ai": "workers-ai";
4639
- }>;
4640
- }, z.core.$strip>>>;
4641
4635
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
4642
4636
  title: z.ZodString;
4643
4637
  key: z.ZodOptional<z.ZodString>;
@@ -4646,21 +4640,27 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4646
4640
  title: string;
4647
4641
  key?: string | undefined;
4648
4642
  id?: string | undefined;
4649
- }, "id" | "key"> & {
4643
+ }, "key" | "id"> & {
4650
4644
  key: string;
4651
4645
  }, {
4652
4646
  title: string;
4653
4647
  key?: string | undefined;
4654
4648
  id?: string | undefined;
4655
4649
  }>>>>;
4650
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
4651
+ code: z.ZodString;
4652
+ provider: z.ZodEnum<{
4653
+ "workers-ai": "workers-ai";
4654
+ }>;
4655
+ }, z.core.$strip>>>;
4656
4656
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4657
4657
  staff: "staff";
4658
+ quiz: "quiz";
4658
4659
  text: "text";
4659
4660
  url: "url";
4661
+ photo: "photo";
4660
4662
  automatic: "automatic";
4661
4663
  claim: "claim";
4662
- quiz: "quiz";
4663
- photo: "photo";
4664
4664
  }>>>;
4665
4665
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
4666
4666
  code: z.ZodString;
@@ -4676,9 +4676,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4676
4676
  namespace: z.ZodString;
4677
4677
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4678
4678
  member: "member";
4679
+ discord: "discord";
4679
4680
  x: "x";
4680
4681
  wallet: "wallet";
4681
- discord: "discord";
4682
4682
  }>>>;
4683
4683
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
4684
4684
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -4699,14 +4699,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4699
4699
  }, z.core.$strict>>>;
4700
4700
  referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4701
4701
  title: z.ZodString;
4702
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
4703
- kind: z.ZodLiteral<"signup">;
4704
- }, z.core.$strict>, z.ZodObject<{
4705
- kind: z.ZodLiteral<"quest">;
4706
- quest: z.ZodString;
4707
- }, z.core.$strict>, z.ZodObject<{
4708
- kind: z.ZodLiteral<"external">;
4709
- }, z.core.$strict>], "kind">;
4710
4702
  rewards: z.ZodDefault<z.ZodObject<{
4711
4703
  inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4712
4704
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -4754,6 +4746,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4754
4746
  }, z.core.$strict>]>>>;
4755
4747
  }, z.core.$strict>>;
4756
4748
  enabled: z.ZodDefault<z.ZodBoolean>;
4749
+ qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
4750
+ kind: z.ZodLiteral<"signup">;
4751
+ }, z.core.$strict>, z.ZodObject<{
4752
+ kind: z.ZodLiteral<"quest">;
4753
+ quest: z.ZodString;
4754
+ }, z.core.$strict>, z.ZodObject<{
4755
+ kind: z.ZodLiteral<"external">;
4756
+ }, z.core.$strict>], "kind">;
4757
4757
  inviterGroup: z.ZodOptional<z.ZodString>;
4758
4758
  milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
4759
4759
  id: z.ZodString;
@@ -4794,14 +4794,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4794
4794
  id: z.ZodOptional<z.ZodString>;
4795
4795
  }, z.core.$strict>, z.ZodTransform<Omit<{
4796
4796
  title: string;
4797
- qualification: {
4798
- kind: "signup";
4799
- } | {
4800
- kind: "quest";
4801
- quest: string;
4802
- } | {
4803
- kind: "external";
4804
- };
4805
4797
  rewards: {
4806
4798
  inviter: ({
4807
4799
  kind: "tier";
@@ -4849,6 +4841,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4849
4841
  })[];
4850
4842
  };
4851
4843
  enabled: boolean;
4844
+ qualification: {
4845
+ kind: "signup";
4846
+ } | {
4847
+ kind: "quest";
4848
+ quest: string;
4849
+ } | {
4850
+ kind: "external";
4851
+ };
4852
4852
  milestones: {
4853
4853
  id: string;
4854
4854
  count: number;
@@ -4887,18 +4887,10 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4887
4887
  inviterGroup?: string | undefined;
4888
4888
  key?: string | undefined;
4889
4889
  id?: string | undefined;
4890
- }, "id" | "key"> & {
4890
+ }, "key" | "id"> & {
4891
4891
  key: string;
4892
4892
  }, {
4893
4893
  title: string;
4894
- qualification: {
4895
- kind: "signup";
4896
- } | {
4897
- kind: "quest";
4898
- quest: string;
4899
- } | {
4900
- kind: "external";
4901
- };
4902
4894
  rewards: {
4903
4895
  inviter: ({
4904
4896
  kind: "tier";
@@ -4946,6 +4938,14 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4946
4938
  })[];
4947
4939
  };
4948
4940
  enabled: boolean;
4941
+ qualification: {
4942
+ kind: "signup";
4943
+ } | {
4944
+ kind: "quest";
4945
+ quest: string;
4946
+ } | {
4947
+ kind: "external";
4948
+ };
4949
4949
  milestones: {
4950
4950
  id: string;
4951
4951
  count: number;
@@ -4990,7 +4990,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
4990
4990
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4991
4991
  title: z.ZodString;
4992
4992
  balance: z.ZodString;
4993
- group: z.ZodOptional<z.ZodString>;
4994
4993
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
4995
4994
  kind: z.ZodLiteral<"balance">;
4996
4995
  }, z.core.$strict>, z.ZodObject<{
@@ -5039,6 +5038,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
5039
5038
  participants: "participants";
5040
5039
  public: "public";
5041
5040
  }>>;
5041
+ group: z.ZodOptional<z.ZodString>;
5042
5042
  key: z.ZodOptional<z.ZodString>;
5043
5043
  id: z.ZodOptional<z.ZodString>;
5044
5044
  }, z.core.$strict>, z.ZodTransform<Omit<{
@@ -5084,7 +5084,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
5084
5084
  group?: string | undefined;
5085
5085
  key?: string | undefined;
5086
5086
  id?: string | undefined;
5087
- }, "id" | "key"> & {
5087
+ }, "key" | "id"> & {
5088
5088
  key: string;
5089
5089
  }, {
5090
5090
  title: string;
@@ -5141,12 +5141,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
5141
5141
  }, z.core.$strict>;
5142
5142
  /** One manifest bundle. Missing entries never delete remotely owned resources. */
5143
5143
  declare const projectDeploymentSchema: z.ZodObject<{
5144
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
5145
- code: z.ZodString;
5146
- provider: z.ZodEnum<{
5147
- "workers-ai": "workers-ai";
5148
- }>;
5149
- }, z.core.$strip>>>;
5150
5144
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
5151
5145
  title: z.ZodString;
5152
5146
  key: z.ZodOptional<z.ZodString>;
@@ -5155,21 +5149,27 @@ declare const projectDeploymentSchema: z.ZodObject<{
5155
5149
  title: string;
5156
5150
  key?: string | undefined;
5157
5151
  id?: string | undefined;
5158
- }, "id" | "key"> & {
5152
+ }, "key" | "id"> & {
5159
5153
  key: string;
5160
5154
  }, {
5161
5155
  title: string;
5162
5156
  key?: string | undefined;
5163
5157
  id?: string | undefined;
5164
5158
  }>>>>;
5159
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
5160
+ code: z.ZodString;
5161
+ provider: z.ZodEnum<{
5162
+ "workers-ai": "workers-ai";
5163
+ }>;
5164
+ }, z.core.$strip>>>;
5165
5165
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5166
5166
  staff: "staff";
5167
+ quiz: "quiz";
5167
5168
  text: "text";
5168
5169
  url: "url";
5170
+ photo: "photo";
5169
5171
  automatic: "automatic";
5170
5172
  claim: "claim";
5171
- quiz: "quiz";
5172
- photo: "photo";
5173
5173
  }>>>;
5174
5174
  engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
5175
5175
  code: z.ZodString;
@@ -5185,9 +5185,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
5185
5185
  namespace: z.ZodString;
5186
5186
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5187
5187
  member: "member";
5188
+ discord: "discord";
5188
5189
  x: "x";
5189
5190
  wallet: "wallet";
5190
- discord: "discord";
5191
5191
  }>>>;
5192
5192
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
5193
5193
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -5208,14 +5208,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5208
5208
  }, z.core.$strict>>>;
5209
5209
  referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
5210
5210
  title: z.ZodString;
5211
- qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
5212
- kind: z.ZodLiteral<"signup">;
5213
- }, z.core.$strict>, z.ZodObject<{
5214
- kind: z.ZodLiteral<"quest">;
5215
- quest: z.ZodString;
5216
- }, z.core.$strict>, z.ZodObject<{
5217
- kind: z.ZodLiteral<"external">;
5218
- }, z.core.$strict>], "kind">;
5219
5211
  rewards: z.ZodDefault<z.ZodObject<{
5220
5212
  inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5221
5213
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -5263,6 +5255,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5263
5255
  }, z.core.$strict>]>>>;
5264
5256
  }, z.core.$strict>>;
5265
5257
  enabled: z.ZodDefault<z.ZodBoolean>;
5258
+ qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
5259
+ kind: z.ZodLiteral<"signup">;
5260
+ }, z.core.$strict>, z.ZodObject<{
5261
+ kind: z.ZodLiteral<"quest">;
5262
+ quest: z.ZodString;
5263
+ }, z.core.$strict>, z.ZodObject<{
5264
+ kind: z.ZodLiteral<"external">;
5265
+ }, z.core.$strict>], "kind">;
5266
5266
  inviterGroup: z.ZodOptional<z.ZodString>;
5267
5267
  milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
5268
5268
  id: z.ZodString;
@@ -5303,14 +5303,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5303
5303
  id: z.ZodOptional<z.ZodString>;
5304
5304
  }, z.core.$strict>, z.ZodTransform<Omit<{
5305
5305
  title: string;
5306
- qualification: {
5307
- kind: "signup";
5308
- } | {
5309
- kind: "quest";
5310
- quest: string;
5311
- } | {
5312
- kind: "external";
5313
- };
5314
5306
  rewards: {
5315
5307
  inviter: ({
5316
5308
  kind: "tier";
@@ -5358,6 +5350,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5358
5350
  })[];
5359
5351
  };
5360
5352
  enabled: boolean;
5353
+ qualification: {
5354
+ kind: "signup";
5355
+ } | {
5356
+ kind: "quest";
5357
+ quest: string;
5358
+ } | {
5359
+ kind: "external";
5360
+ };
5361
5361
  milestones: {
5362
5362
  id: string;
5363
5363
  count: number;
@@ -5396,18 +5396,10 @@ declare const projectDeploymentSchema: z.ZodObject<{
5396
5396
  inviterGroup?: string | undefined;
5397
5397
  key?: string | undefined;
5398
5398
  id?: string | undefined;
5399
- }, "id" | "key"> & {
5399
+ }, "key" | "id"> & {
5400
5400
  key: string;
5401
5401
  }, {
5402
5402
  title: string;
5403
- qualification: {
5404
- kind: "signup";
5405
- } | {
5406
- kind: "quest";
5407
- quest: string;
5408
- } | {
5409
- kind: "external";
5410
- };
5411
5403
  rewards: {
5412
5404
  inviter: ({
5413
5405
  kind: "tier";
@@ -5455,6 +5447,14 @@ declare const projectDeploymentSchema: z.ZodObject<{
5455
5447
  })[];
5456
5448
  };
5457
5449
  enabled: boolean;
5450
+ qualification: {
5451
+ kind: "signup";
5452
+ } | {
5453
+ kind: "quest";
5454
+ quest: string;
5455
+ } | {
5456
+ kind: "external";
5457
+ };
5458
5458
  milestones: {
5459
5459
  id: string;
5460
5460
  count: number;
@@ -5499,7 +5499,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
5499
5499
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
5500
5500
  title: z.ZodString;
5501
5501
  balance: z.ZodString;
5502
- group: z.ZodOptional<z.ZodString>;
5503
5502
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
5504
5503
  kind: z.ZodLiteral<"balance">;
5505
5504
  }, z.core.$strict>, z.ZodObject<{
@@ -5548,6 +5547,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
5548
5547
  participants: "participants";
5549
5548
  public: "public";
5550
5549
  }>>;
5550
+ group: z.ZodOptional<z.ZodString>;
5551
5551
  key: z.ZodOptional<z.ZodString>;
5552
5552
  id: z.ZodOptional<z.ZodString>;
5553
5553
  }, z.core.$strict>, z.ZodTransform<Omit<{
@@ -5593,7 +5593,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
5593
5593
  group?: string | undefined;
5594
5594
  key?: string | undefined;
5595
5595
  id?: string | undefined;
5596
- }, "id" | "key"> & {
5596
+ }, "key" | "id"> & {
5597
5597
  key: string;
5598
5598
  }, {
5599
5599
  title: string;
@@ -5801,9 +5801,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5801
5801
  namespace: z.ZodString;
5802
5802
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5803
5803
  member: "member";
5804
+ discord: "discord";
5804
5805
  x: "x";
5805
5806
  wallet: "wallet";
5806
- discord: "discord";
5807
5807
  }>>>;
5808
5808
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
5809
5809
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -5984,9 +5984,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
5984
5984
  }, z.core.$strict>, z.ZodObject<{
5985
5985
  kind: z.ZodLiteral<"manual">;
5986
5986
  input: z.ZodEnum<{
5987
- none: "none";
5988
5987
  quiz: "quiz";
5989
5988
  photo: "photo";
5989
+ none: "none";
5990
5990
  }>;
5991
5991
  actor: z.ZodOptional<z.ZodEnum<{
5992
5992
  member: "member";
@@ -6005,8 +6005,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6005
6005
  end: z.ZodOptional<z.ZodNumber>;
6006
6006
  }, z.core.$strict>;
6007
6007
  enrollment: z.ZodDefault<z.ZodEnum<{
6008
- none: "none";
6009
6008
  required: "required";
6009
+ none: "none";
6010
6010
  }>>;
6011
6011
  posts: z.ZodDefault<z.ZodEnum<{
6012
6012
  "after-enrollment": "after-enrollment";
@@ -6089,8 +6089,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6089
6089
  }>;
6090
6090
  period: z.ZodEnum<{
6091
6091
  day: "day";
6092
- lifetime: "lifetime";
6093
6092
  week: "week";
6093
+ lifetime: "lifetime";
6094
6094
  }>;
6095
6095
  limit: z.ZodNumber;
6096
6096
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -6113,8 +6113,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6113
6113
  typeVersion: z.ZodString;
6114
6114
  }, z.core.$strict>>;
6115
6115
  lifecycle: z.ZodDefault<z.ZodEnum<{
6116
- paused: "paused";
6117
6116
  active: "active";
6117
+ paused: "paused";
6118
6118
  archived: "archived";
6119
6119
  }>>;
6120
6120
  configuration: z.ZodOptional<z.ZodObject<{
@@ -6219,12 +6219,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6219
6219
  kind: "resource";
6220
6220
  default: string;
6221
6221
  source: {
6222
+ provider: "domino";
6223
+ resource: "point-ledger";
6224
+ } | {
6222
6225
  provider: "discord";
6223
6226
  resource: "channel";
6224
6227
  types: ("text" | "announcement")[];
6225
- } | {
6226
- provider: "domino";
6227
- resource: "point-ledger";
6228
6228
  } | {
6229
6229
  provider: "discord";
6230
6230
  resource: "role";
@@ -6321,7 +6321,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6321
6321
  start: number;
6322
6322
  end?: number | undefined;
6323
6323
  };
6324
- enrollment: "none" | "required";
6324
+ enrollment: "required" | "none";
6325
6325
  posts: "after-enrollment" | "since-start";
6326
6326
  historical: "staff" | "automatic" | "claim";
6327
6327
  } | undefined;
@@ -6368,7 +6368,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6368
6368
  actor?: "member" | "staff" | undefined;
6369
6369
  } | {
6370
6370
  kind: "manual";
6371
- input: "none" | "quiz" | "photo";
6371
+ input: "quiz" | "photo" | "none";
6372
6372
  actor?: "member" | "staff" | undefined;
6373
6373
  };
6374
6374
  requires: {
@@ -6388,7 +6388,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6388
6388
  budgets: {
6389
6389
  id: string;
6390
6390
  scope: "project" | "member";
6391
- period: "day" | "lifetime" | "week";
6391
+ period: "day" | "week" | "lifetime";
6392
6392
  limit: number;
6393
6393
  cost: number | {
6394
6394
  balance: string;
@@ -6399,7 +6399,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6399
6399
  id: string;
6400
6400
  createdAt: number;
6401
6401
  legacy: boolean;
6402
- lifecycle: "paused" | "active" | "archived";
6402
+ lifecycle: "active" | "paused" | "archived";
6403
6403
  performance?: {
6404
6404
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
6405
6405
  maxAgeMs: number;
@@ -6634,9 +6634,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6634
6634
  }, z.core.$strict>, z.ZodObject<{
6635
6635
  kind: z.ZodLiteral<"manual">;
6636
6636
  input: z.ZodEnum<{
6637
- none: "none";
6638
6637
  quiz: "quiz";
6639
6638
  photo: "photo";
6639
+ none: "none";
6640
6640
  }>;
6641
6641
  actor: z.ZodOptional<z.ZodEnum<{
6642
6642
  member: "member";
@@ -6655,8 +6655,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6655
6655
  end: z.ZodOptional<z.ZodNumber>;
6656
6656
  }, z.core.$strict>;
6657
6657
  enrollment: z.ZodDefault<z.ZodEnum<{
6658
- none: "none";
6659
6658
  required: "required";
6659
+ none: "none";
6660
6660
  }>>;
6661
6661
  posts: z.ZodDefault<z.ZodEnum<{
6662
6662
  "after-enrollment": "after-enrollment";
@@ -6739,8 +6739,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6739
6739
  }>;
6740
6740
  period: z.ZodEnum<{
6741
6741
  day: "day";
6742
- lifetime: "lifetime";
6743
6742
  week: "week";
6743
+ lifetime: "lifetime";
6744
6744
  }>;
6745
6745
  limit: z.ZodNumber;
6746
6746
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -6765,12 +6765,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6765
6765
  }, z.core.$strict>>;
6766
6766
  supportedInteractions: z.ZodArray<z.ZodEnum<{
6767
6767
  staff: "staff";
6768
+ quiz: "quiz";
6768
6769
  text: "text";
6769
6770
  url: "url";
6771
+ photo: "photo";
6770
6772
  automatic: "automatic";
6771
6773
  claim: "claim";
6772
- quiz: "quiz";
6773
- photo: "photo";
6774
6774
  }>>;
6775
6775
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
6776
6776
  version: z.ZodString;
@@ -6966,9 +6966,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6966
6966
  }, z.core.$strip>, z.ZodObject<{
6967
6967
  source: z.ZodLiteral<"account">;
6968
6968
  provider: z.ZodEnum<{
6969
- x: "x";
6970
6969
  discord: "discord";
6971
6970
  google: "google";
6971
+ x: "x";
6972
6972
  }>;
6973
6973
  url: z.ZodString;
6974
6974
  seed: z.ZodString;
@@ -6994,9 +6994,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
6994
6994
  }, z.core.$strip>, z.ZodObject<{
6995
6995
  source: z.ZodLiteral<"account">;
6996
6996
  provider: z.ZodEnum<{
6997
- x: "x";
6998
6997
  discord: "discord";
6999
6998
  google: "google";
6999
+ x: "x";
7000
7000
  }>;
7001
7001
  url: z.ZodString;
7002
7002
  seed: z.ZodString;
@@ -7022,9 +7022,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7022
7022
  }, z.core.$strip>, z.ZodObject<{
7023
7023
  source: z.ZodLiteral<"account">;
7024
7024
  provider: z.ZodEnum<{
7025
- x: "x";
7026
7025
  discord: "discord";
7027
7026
  google: "google";
7027
+ x: "x";
7028
7028
  }>;
7029
7029
  url: z.ZodString;
7030
7030
  seed: z.ZodString;
@@ -7068,9 +7068,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7068
7068
  }, z.core.$strip>, z.ZodObject<{
7069
7069
  source: z.ZodLiteral<"account">;
7070
7070
  provider: z.ZodEnum<{
7071
- x: "x";
7072
7071
  discord: "discord";
7073
7072
  google: "google";
7073
+ x: "x";
7074
7074
  }>;
7075
7075
  url: z.ZodString;
7076
7076
  seed: z.ZodString;
@@ -7096,9 +7096,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7096
7096
  }, z.core.$strip>, z.ZodObject<{
7097
7097
  source: z.ZodLiteral<"account">;
7098
7098
  provider: z.ZodEnum<{
7099
- x: "x";
7100
7099
  discord: "discord";
7101
7100
  google: "google";
7101
+ x: "x";
7102
7102
  }>;
7103
7103
  url: z.ZodString;
7104
7104
  seed: z.ZodString;
@@ -7124,9 +7124,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
7124
7124
  }, z.core.$strip>, z.ZodObject<{
7125
7125
  source: z.ZodLiteral<"account">;
7126
7126
  provider: z.ZodEnum<{
7127
- x: "x";
7128
7127
  discord: "discord";
7129
7128
  google: "google";
7129
+ x: "x";
7130
7130
  }>;
7131
7131
  url: z.ZodString;
7132
7132
  seed: z.ZodString;
@@ -7291,9 +7291,9 @@ declare const deploymentResultSchema: z.ZodObject<{
7291
7291
  namespace: z.ZodString;
7292
7292
  identities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7293
7293
  member: "member";
7294
+ discord: "discord";
7294
7295
  x: "x";
7295
7296
  wallet: "wallet";
7296
- discord: "discord";
7297
7297
  }>>>;
7298
7298
  accounts: z.ZodOptional<z.ZodArray<z.ZodString>>;
7299
7299
  authors: z.ZodOptional<z.ZodLiteral<"wallet">>;
@@ -7474,9 +7474,9 @@ declare const deploymentResultSchema: z.ZodObject<{
7474
7474
  }, z.core.$strict>, z.ZodObject<{
7475
7475
  kind: z.ZodLiteral<"manual">;
7476
7476
  input: z.ZodEnum<{
7477
- none: "none";
7478
7477
  quiz: "quiz";
7479
7478
  photo: "photo";
7479
+ none: "none";
7480
7480
  }>;
7481
7481
  actor: z.ZodOptional<z.ZodEnum<{
7482
7482
  member: "member";
@@ -7495,8 +7495,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7495
7495
  end: z.ZodOptional<z.ZodNumber>;
7496
7496
  }, z.core.$strict>;
7497
7497
  enrollment: z.ZodDefault<z.ZodEnum<{
7498
- none: "none";
7499
7498
  required: "required";
7499
+ none: "none";
7500
7500
  }>>;
7501
7501
  posts: z.ZodDefault<z.ZodEnum<{
7502
7502
  "after-enrollment": "after-enrollment";
@@ -7579,8 +7579,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7579
7579
  }>;
7580
7580
  period: z.ZodEnum<{
7581
7581
  day: "day";
7582
- lifetime: "lifetime";
7583
7582
  week: "week";
7583
+ lifetime: "lifetime";
7584
7584
  }>;
7585
7585
  limit: z.ZodNumber;
7586
7586
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -7603,8 +7603,8 @@ declare const deploymentResultSchema: z.ZodObject<{
7603
7603
  typeVersion: z.ZodString;
7604
7604
  }, z.core.$strict>>;
7605
7605
  lifecycle: z.ZodDefault<z.ZodEnum<{
7606
- paused: "paused";
7607
7606
  active: "active";
7607
+ paused: "paused";
7608
7608
  archived: "archived";
7609
7609
  }>>;
7610
7610
  configuration: z.ZodOptional<z.ZodObject<{
@@ -7709,12 +7709,12 @@ declare const deploymentResultSchema: z.ZodObject<{
7709
7709
  kind: "resource";
7710
7710
  default: string;
7711
7711
  source: {
7712
+ provider: "domino";
7713
+ resource: "point-ledger";
7714
+ } | {
7712
7715
  provider: "discord";
7713
7716
  resource: "channel";
7714
7717
  types: ("text" | "announcement")[];
7715
- } | {
7716
- provider: "domino";
7717
- resource: "point-ledger";
7718
7718
  } | {
7719
7719
  provider: "discord";
7720
7720
  resource: "role";
@@ -7811,7 +7811,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7811
7811
  start: number;
7812
7812
  end?: number | undefined;
7813
7813
  };
7814
- enrollment: "none" | "required";
7814
+ enrollment: "required" | "none";
7815
7815
  posts: "after-enrollment" | "since-start";
7816
7816
  historical: "staff" | "automatic" | "claim";
7817
7817
  } | undefined;
@@ -7858,7 +7858,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7858
7858
  actor?: "member" | "staff" | undefined;
7859
7859
  } | {
7860
7860
  kind: "manual";
7861
- input: "none" | "quiz" | "photo";
7861
+ input: "quiz" | "photo" | "none";
7862
7862
  actor?: "member" | "staff" | undefined;
7863
7863
  };
7864
7864
  requires: {
@@ -7878,7 +7878,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7878
7878
  budgets: {
7879
7879
  id: string;
7880
7880
  scope: "project" | "member";
7881
- period: "day" | "lifetime" | "week";
7881
+ period: "day" | "week" | "lifetime";
7882
7882
  limit: number;
7883
7883
  cost: number | {
7884
7884
  balance: string;
@@ -7889,7 +7889,7 @@ declare const deploymentResultSchema: z.ZodObject<{
7889
7889
  id: string;
7890
7890
  createdAt: number;
7891
7891
  legacy: boolean;
7892
- lifecycle: "paused" | "active" | "archived";
7892
+ lifecycle: "active" | "paused" | "archived";
7893
7893
  performance?: {
7894
7894
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
7895
7895
  maxAgeMs: number;
@@ -8124,9 +8124,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8124
8124
  }, z.core.$strict>, z.ZodObject<{
8125
8125
  kind: z.ZodLiteral<"manual">;
8126
8126
  input: z.ZodEnum<{
8127
- none: "none";
8128
8127
  quiz: "quiz";
8129
8128
  photo: "photo";
8129
+ none: "none";
8130
8130
  }>;
8131
8131
  actor: z.ZodOptional<z.ZodEnum<{
8132
8132
  member: "member";
@@ -8145,8 +8145,8 @@ declare const deploymentResultSchema: z.ZodObject<{
8145
8145
  end: z.ZodOptional<z.ZodNumber>;
8146
8146
  }, z.core.$strict>;
8147
8147
  enrollment: z.ZodDefault<z.ZodEnum<{
8148
- none: "none";
8149
8148
  required: "required";
8149
+ none: "none";
8150
8150
  }>>;
8151
8151
  posts: z.ZodDefault<z.ZodEnum<{
8152
8152
  "after-enrollment": "after-enrollment";
@@ -8229,8 +8229,8 @@ declare const deploymentResultSchema: z.ZodObject<{
8229
8229
  }>;
8230
8230
  period: z.ZodEnum<{
8231
8231
  day: "day";
8232
- lifetime: "lifetime";
8233
8232
  week: "week";
8233
+ lifetime: "lifetime";
8234
8234
  }>;
8235
8235
  limit: z.ZodNumber;
8236
8236
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -8255,12 +8255,12 @@ declare const deploymentResultSchema: z.ZodObject<{
8255
8255
  }, z.core.$strict>>;
8256
8256
  supportedInteractions: z.ZodArray<z.ZodEnum<{
8257
8257
  staff: "staff";
8258
+ quiz: "quiz";
8258
8259
  text: "text";
8259
8260
  url: "url";
8261
+ photo: "photo";
8260
8262
  automatic: "automatic";
8261
8263
  claim: "claim";
8262
- quiz: "quiz";
8263
- photo: "photo";
8264
8264
  }>>;
8265
8265
  referrals: z.ZodDefault<z.ZodArray<z.ZodObject<{
8266
8266
  version: z.ZodString;
@@ -8456,9 +8456,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8456
8456
  }, z.core.$strip>, z.ZodObject<{
8457
8457
  source: z.ZodLiteral<"account">;
8458
8458
  provider: z.ZodEnum<{
8459
- x: "x";
8460
8459
  discord: "discord";
8461
8460
  google: "google";
8461
+ x: "x";
8462
8462
  }>;
8463
8463
  url: z.ZodString;
8464
8464
  seed: z.ZodString;
@@ -8484,9 +8484,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8484
8484
  }, z.core.$strip>, z.ZodObject<{
8485
8485
  source: z.ZodLiteral<"account">;
8486
8486
  provider: z.ZodEnum<{
8487
- x: "x";
8488
8487
  discord: "discord";
8489
8488
  google: "google";
8489
+ x: "x";
8490
8490
  }>;
8491
8491
  url: z.ZodString;
8492
8492
  seed: z.ZodString;
@@ -8512,9 +8512,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8512
8512
  }, z.core.$strip>, z.ZodObject<{
8513
8513
  source: z.ZodLiteral<"account">;
8514
8514
  provider: z.ZodEnum<{
8515
- x: "x";
8516
8515
  discord: "discord";
8517
8516
  google: "google";
8517
+ x: "x";
8518
8518
  }>;
8519
8519
  url: z.ZodString;
8520
8520
  seed: z.ZodString;
@@ -8558,9 +8558,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8558
8558
  }, z.core.$strip>, z.ZodObject<{
8559
8559
  source: z.ZodLiteral<"account">;
8560
8560
  provider: z.ZodEnum<{
8561
- x: "x";
8562
8561
  discord: "discord";
8563
8562
  google: "google";
8563
+ x: "x";
8564
8564
  }>;
8565
8565
  url: z.ZodString;
8566
8566
  seed: z.ZodString;
@@ -8586,9 +8586,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8586
8586
  }, z.core.$strip>, z.ZodObject<{
8587
8587
  source: z.ZodLiteral<"account">;
8588
8588
  provider: z.ZodEnum<{
8589
- x: "x";
8590
8589
  discord: "discord";
8591
8590
  google: "google";
8591
+ x: "x";
8592
8592
  }>;
8593
8593
  url: z.ZodString;
8594
8594
  seed: z.ZodString;
@@ -8614,9 +8614,9 @@ declare const deploymentResultSchema: z.ZodObject<{
8614
8614
  }, z.core.$strip>, z.ZodObject<{
8615
8615
  source: z.ZodLiteral<"account">;
8616
8616
  provider: z.ZodEnum<{
8617
- x: "x";
8618
8617
  discord: "discord";
8619
8618
  google: "google";
8619
+ x: "x";
8620
8620
  }>;
8621
8621
  url: z.ZodString;
8622
8622
  seed: z.ZodString;
@@ -9008,7 +9008,7 @@ declare function createRelayClient(options: {
9008
9008
  seed: string;
9009
9009
  } | {
9010
9010
  source: "account";
9011
- provider: "x" | "discord" | "google";
9011
+ provider: "discord" | "google" | "x";
9012
9012
  url: string;
9013
9013
  seed: string;
9014
9014
  } | {
@@ -9032,7 +9032,7 @@ declare function createRelayClient(options: {
9032
9032
  seed: string;
9033
9033
  } | {
9034
9034
  source: "account";
9035
- provider: "x" | "discord" | "google";
9035
+ provider: "discord" | "google" | "x";
9036
9036
  url: string;
9037
9037
  seed: string;
9038
9038
  } | {
@@ -9056,7 +9056,7 @@ declare function createRelayClient(options: {
9056
9056
  seed: string;
9057
9057
  } | {
9058
9058
  source: "account";
9059
- provider: "x" | "discord" | "google";
9059
+ provider: "discord" | "google" | "x";
9060
9060
  url: string;
9061
9061
  seed: string;
9062
9062
  } | {
@@ -9098,7 +9098,7 @@ declare function createRelayClient(options: {
9098
9098
  seed: string;
9099
9099
  } | {
9100
9100
  source: "account";
9101
- provider: "x" | "discord" | "google";
9101
+ provider: "discord" | "google" | "x";
9102
9102
  url: string;
9103
9103
  seed: string;
9104
9104
  } | {
@@ -9106,13 +9106,13 @@ declare function createRelayClient(options: {
9106
9106
  seed: string;
9107
9107
  };
9108
9108
  displayName: string | null;
9109
- avatarChoice: "default" | "account" | "upload" | "generated";
9110
- avatarProvider: "x" | "discord" | "google" | null;
9109
+ avatarChoice: "default" | "account" | "generated" | "upload";
9110
+ avatarProvider: "discord" | "google" | "x" | null;
9111
9111
  hidden: boolean;
9112
9112
  locked: boolean;
9113
- visibility: "private" | "participants" | "public";
9113
+ visibility: "participants" | "public" | "private";
9114
9114
  options: {
9115
- provider: "x" | "discord" | "google";
9115
+ provider: "discord" | "google" | "x";
9116
9116
  name: string | null;
9117
9117
  imageUrl: string | null;
9118
9118
  }[];
@@ -9132,7 +9132,7 @@ declare function createRelayClient(options: {
9132
9132
  seed: string;
9133
9133
  } | {
9134
9134
  source: "account";
9135
- provider: "x" | "discord" | "google";
9135
+ provider: "discord" | "google" | "x";
9136
9136
  url: string;
9137
9137
  seed: string;
9138
9138
  } | {
@@ -9140,13 +9140,13 @@ declare function createRelayClient(options: {
9140
9140
  seed: string;
9141
9141
  };
9142
9142
  displayName: string | null;
9143
- avatarChoice: "default" | "account" | "upload" | "generated";
9144
- avatarProvider: "x" | "discord" | "google" | null;
9143
+ avatarChoice: "default" | "account" | "generated" | "upload";
9144
+ avatarProvider: "discord" | "google" | "x" | null;
9145
9145
  hidden: boolean;
9146
9146
  locked: boolean;
9147
- visibility: "private" | "participants" | "public";
9147
+ visibility: "participants" | "public" | "private";
9148
9148
  options: {
9149
- provider: "x" | "discord" | "google";
9149
+ provider: "discord" | "google" | "x";
9150
9150
  name: string | null;
9151
9151
  imageUrl: string | null;
9152
9152
  }[];
@@ -9167,7 +9167,7 @@ declare function createRelayClient(options: {
9167
9167
  seed: string;
9168
9168
  } | {
9169
9169
  source: "account";
9170
- provider: "x" | "discord" | "google";
9170
+ provider: "discord" | "google" | "x";
9171
9171
  url: string;
9172
9172
  seed: string;
9173
9173
  } | {
@@ -9175,13 +9175,13 @@ declare function createRelayClient(options: {
9175
9175
  seed: string;
9176
9176
  };
9177
9177
  displayName: string | null;
9178
- avatarChoice: "default" | "account" | "upload" | "generated";
9179
- avatarProvider: "x" | "discord" | "google" | null;
9178
+ avatarChoice: "default" | "account" | "generated" | "upload";
9179
+ avatarProvider: "discord" | "google" | "x" | null;
9180
9180
  hidden: boolean;
9181
9181
  locked: boolean;
9182
- visibility: "private" | "participants" | "public";
9182
+ visibility: "participants" | "public" | "private";
9183
9183
  options: {
9184
- provider: "x" | "discord" | "google";
9184
+ provider: "discord" | "google" | "x";
9185
9185
  name: string | null;
9186
9186
  imageUrl: string | null;
9187
9187
  }[];
@@ -9199,7 +9199,7 @@ declare function createRelayClient(options: {
9199
9199
  seed: string;
9200
9200
  } | {
9201
9201
  source: "account";
9202
- provider: "x" | "discord" | "google";
9202
+ provider: "discord" | "google" | "x";
9203
9203
  url: string;
9204
9204
  seed: string;
9205
9205
  } | {
@@ -9262,7 +9262,7 @@ declare function createRelayClient(options: {
9262
9262
  } | undefined;
9263
9263
  } | undefined;
9264
9264
  };
9265
- connections: ("x" | "discord" | "google" | "apple")[];
9265
+ connections: ("discord" | "google" | "apple" | "x")[];
9266
9266
  trigger: {
9267
9267
  kind: "automatic";
9268
9268
  observation?: {
@@ -9275,7 +9275,7 @@ declare function createRelayClient(options: {
9275
9275
  start: number;
9276
9276
  end?: number | undefined;
9277
9277
  };
9278
- enrollment: "none" | "required";
9278
+ enrollment: "required" | "none";
9279
9279
  posts: "after-enrollment" | "since-start";
9280
9280
  historical: "staff" | "automatic" | "claim";
9281
9281
  } | undefined;
@@ -9322,12 +9322,12 @@ declare function createRelayClient(options: {
9322
9322
  actor?: "member" | "staff" | undefined;
9323
9323
  } | {
9324
9324
  kind: "manual";
9325
- input: "none" | "quiz" | "photo";
9325
+ input: "quiz" | "photo" | "none";
9326
9326
  actor?: "member" | "staff" | undefined;
9327
9327
  };
9328
9328
  availability: {
9329
9329
  kind: "available";
9330
- input: "text" | "url" | "none" | "quiz" | "photo";
9330
+ input: "quiz" | "text" | "url" | "photo" | "none";
9331
9331
  } | {
9332
9332
  kind: "completed";
9333
9333
  } | {
@@ -9376,7 +9376,7 @@ declare function createRelayClient(options: {
9376
9376
  quest: string;
9377
9377
  member: string;
9378
9378
  evidence: string | null;
9379
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9379
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9380
9380
  reason: string | null;
9381
9381
  retries: number;
9382
9382
  generation: number;
@@ -9410,22 +9410,22 @@ declare function createRelayClient(options: {
9410
9410
  })[] | null;
9411
9411
  createdAt: number;
9412
9412
  input?: {
9413
- kind: "text";
9414
- value: string;
9415
- } | {
9416
- kind: "url";
9417
- value: string;
9418
- } | {
9419
9413
  kind: "quiz";
9420
9414
  answers: {
9421
9415
  [k: string]: string;
9422
9416
  };
9423
9417
  release?: string | undefined;
9418
+ } | {
9419
+ kind: "text";
9420
+ value: string;
9421
+ } | {
9422
+ kind: "url";
9423
+ value: string;
9424
9424
  } | undefined;
9425
9425
  } | null;
9426
9426
  release: string;
9427
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9428
- lifecycle: "paused" | "active" | "archived";
9427
+ interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9428
+ lifecycle: "active" | "paused" | "archived";
9429
9429
  rewards: ({
9430
9430
  kind: "points";
9431
9431
  label: string;
@@ -9486,7 +9486,7 @@ declare function createRelayClient(options: {
9486
9486
  quest: string;
9487
9487
  member: string;
9488
9488
  evidence: string | null;
9489
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9489
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9490
9490
  reason: string | null;
9491
9491
  retries: number;
9492
9492
  generation: number;
@@ -9520,17 +9520,17 @@ declare function createRelayClient(options: {
9520
9520
  })[] | null;
9521
9521
  createdAt: number;
9522
9522
  input?: {
9523
- kind: "text";
9524
- value: string;
9525
- } | {
9526
- kind: "url";
9527
- value: string;
9528
- } | {
9529
9523
  kind: "quiz";
9530
9524
  answers: {
9531
9525
  [k: string]: string;
9532
9526
  };
9533
9527
  release?: string | undefined;
9528
+ } | {
9529
+ kind: "text";
9530
+ value: string;
9531
+ } | {
9532
+ kind: "url";
9533
+ value: string;
9534
9534
  } | undefined;
9535
9535
  }>;
9536
9536
  experience: () => Promise<{
@@ -9558,7 +9558,7 @@ declare function createRelayClient(options: {
9558
9558
  } | undefined;
9559
9559
  } | undefined;
9560
9560
  };
9561
- connections: ("x" | "discord" | "google" | "apple")[];
9561
+ connections: ("discord" | "google" | "apple" | "x")[];
9562
9562
  trigger: {
9563
9563
  kind: "automatic";
9564
9564
  observation?: {
@@ -9571,7 +9571,7 @@ declare function createRelayClient(options: {
9571
9571
  start: number;
9572
9572
  end?: number | undefined;
9573
9573
  };
9574
- enrollment: "none" | "required";
9574
+ enrollment: "required" | "none";
9575
9575
  posts: "after-enrollment" | "since-start";
9576
9576
  historical: "staff" | "automatic" | "claim";
9577
9577
  } | undefined;
@@ -9618,12 +9618,12 @@ declare function createRelayClient(options: {
9618
9618
  actor?: "member" | "staff" | undefined;
9619
9619
  } | {
9620
9620
  kind: "manual";
9621
- input: "none" | "quiz" | "photo";
9621
+ input: "quiz" | "photo" | "none";
9622
9622
  actor?: "member" | "staff" | undefined;
9623
9623
  };
9624
9624
  availability: {
9625
9625
  kind: "available";
9626
- input: "text" | "url" | "none" | "quiz" | "photo";
9626
+ input: "quiz" | "text" | "url" | "photo" | "none";
9627
9627
  } | {
9628
9628
  kind: "completed";
9629
9629
  } | {
@@ -9672,7 +9672,7 @@ declare function createRelayClient(options: {
9672
9672
  quest: string;
9673
9673
  member: string;
9674
9674
  evidence: string | null;
9675
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9675
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9676
9676
  reason: string | null;
9677
9677
  retries: number;
9678
9678
  generation: number;
@@ -9706,22 +9706,22 @@ declare function createRelayClient(options: {
9706
9706
  })[] | null;
9707
9707
  createdAt: number;
9708
9708
  input?: {
9709
- kind: "text";
9710
- value: string;
9711
- } | {
9712
- kind: "url";
9713
- value: string;
9714
- } | {
9715
9709
  kind: "quiz";
9716
9710
  answers: {
9717
9711
  [k: string]: string;
9718
9712
  };
9719
9713
  release?: string | undefined;
9714
+ } | {
9715
+ kind: "text";
9716
+ value: string;
9717
+ } | {
9718
+ kind: "url";
9719
+ value: string;
9720
9720
  } | undefined;
9721
9721
  } | null;
9722
9722
  release: string;
9723
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9724
- lifecycle: "paused" | "active" | "archived";
9723
+ interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9724
+ lifecycle: "active" | "paused" | "archived";
9725
9725
  rewards: ({
9726
9726
  kind: "points";
9727
9727
  label: string;
@@ -9802,7 +9802,7 @@ declare function createRelayClient(options: {
9802
9802
  } | undefined;
9803
9803
  } | undefined;
9804
9804
  };
9805
- connections: ("x" | "discord" | "google" | "apple")[];
9805
+ connections: ("discord" | "google" | "apple" | "x")[];
9806
9806
  trigger: {
9807
9807
  kind: "automatic";
9808
9808
  observation?: {
@@ -9815,7 +9815,7 @@ declare function createRelayClient(options: {
9815
9815
  start: number;
9816
9816
  end?: number | undefined;
9817
9817
  };
9818
- enrollment: "none" | "required";
9818
+ enrollment: "required" | "none";
9819
9819
  posts: "after-enrollment" | "since-start";
9820
9820
  historical: "staff" | "automatic" | "claim";
9821
9821
  } | undefined;
@@ -9862,12 +9862,12 @@ declare function createRelayClient(options: {
9862
9862
  actor?: "member" | "staff" | undefined;
9863
9863
  } | {
9864
9864
  kind: "manual";
9865
- input: "none" | "quiz" | "photo";
9865
+ input: "quiz" | "photo" | "none";
9866
9866
  actor?: "member" | "staff" | undefined;
9867
9867
  };
9868
9868
  availability: {
9869
9869
  kind: "available";
9870
- input: "text" | "url" | "none" | "quiz" | "photo";
9870
+ input: "quiz" | "text" | "url" | "photo" | "none";
9871
9871
  } | {
9872
9872
  kind: "completed";
9873
9873
  } | {
@@ -9916,7 +9916,7 @@ declare function createRelayClient(options: {
9916
9916
  quest: string;
9917
9917
  member: string;
9918
9918
  evidence: string | null;
9919
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
9919
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9920
9920
  reason: string | null;
9921
9921
  retries: number;
9922
9922
  generation: number;
@@ -9950,22 +9950,22 @@ declare function createRelayClient(options: {
9950
9950
  })[] | null;
9951
9951
  createdAt: number;
9952
9952
  input?: {
9953
- kind: "text";
9954
- value: string;
9955
- } | {
9956
- kind: "url";
9957
- value: string;
9958
- } | {
9959
9953
  kind: "quiz";
9960
9954
  answers: {
9961
9955
  [k: string]: string;
9962
9956
  };
9963
9957
  release?: string | undefined;
9958
+ } | {
9959
+ kind: "text";
9960
+ value: string;
9961
+ } | {
9962
+ kind: "url";
9963
+ value: string;
9964
9964
  } | undefined;
9965
9965
  } | null;
9966
9966
  release: string;
9967
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
9968
- lifecycle: "paused" | "active" | "archived";
9967
+ interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
9968
+ lifecycle: "active" | "paused" | "archived";
9969
9969
  rewards: ({
9970
9970
  kind: "points";
9971
9971
  label: string;
@@ -10049,7 +10049,7 @@ declare function createRelayClient(options: {
10049
10049
  } | undefined;
10050
10050
  } | undefined;
10051
10051
  };
10052
- connections: ("x" | "discord" | "google" | "apple")[];
10052
+ connections: ("discord" | "google" | "apple" | "x")[];
10053
10053
  trigger: {
10054
10054
  kind: "automatic";
10055
10055
  observation?: {
@@ -10062,7 +10062,7 @@ declare function createRelayClient(options: {
10062
10062
  start: number;
10063
10063
  end?: number | undefined;
10064
10064
  };
10065
- enrollment: "none" | "required";
10065
+ enrollment: "required" | "none";
10066
10066
  posts: "after-enrollment" | "since-start";
10067
10067
  historical: "staff" | "automatic" | "claim";
10068
10068
  } | undefined;
@@ -10109,12 +10109,12 @@ declare function createRelayClient(options: {
10109
10109
  actor?: "member" | "staff" | undefined;
10110
10110
  } | {
10111
10111
  kind: "manual";
10112
- input: "none" | "quiz" | "photo";
10112
+ input: "quiz" | "photo" | "none";
10113
10113
  actor?: "member" | "staff" | undefined;
10114
10114
  };
10115
10115
  availability: {
10116
10116
  kind: "available";
10117
- input: "text" | "url" | "none" | "quiz" | "photo";
10117
+ input: "quiz" | "text" | "url" | "photo" | "none";
10118
10118
  } | {
10119
10119
  kind: "completed";
10120
10120
  } | {
@@ -10163,7 +10163,7 @@ declare function createRelayClient(options: {
10163
10163
  quest: string;
10164
10164
  member: string;
10165
10165
  evidence: string | null;
10166
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10166
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10167
10167
  reason: string | null;
10168
10168
  retries: number;
10169
10169
  generation: number;
@@ -10197,22 +10197,22 @@ declare function createRelayClient(options: {
10197
10197
  })[] | null;
10198
10198
  createdAt: number;
10199
10199
  input?: {
10200
- kind: "text";
10201
- value: string;
10202
- } | {
10203
- kind: "url";
10204
- value: string;
10205
- } | {
10206
10200
  kind: "quiz";
10207
10201
  answers: {
10208
10202
  [k: string]: string;
10209
10203
  };
10210
10204
  release?: string | undefined;
10205
+ } | {
10206
+ kind: "text";
10207
+ value: string;
10208
+ } | {
10209
+ kind: "url";
10210
+ value: string;
10211
10211
  } | undefined;
10212
10212
  } | null;
10213
10213
  release: string;
10214
- interaction: "staff" | "text" | "url" | "automatic" | "claim" | "quiz" | "photo";
10215
- lifecycle: "paused" | "active" | "archived";
10214
+ interaction: "staff" | "quiz" | "text" | "url" | "photo" | "automatic" | "claim";
10215
+ lifecycle: "active" | "paused" | "archived";
10216
10216
  rewards: ({
10217
10217
  kind: "points";
10218
10218
  label: string;
@@ -10341,7 +10341,7 @@ declare function createRelayClient(options: {
10341
10341
  auth: {
10342
10342
  providers: () => Promise<{
10343
10343
  providers: {
10344
- provider: "x" | "discord" | "google" | "apple";
10344
+ provider: "discord" | "google" | "apple" | "x";
10345
10345
  configured: boolean;
10346
10346
  }[];
10347
10347
  email: boolean;
@@ -10427,7 +10427,7 @@ declare function createRelayClient(options: {
10427
10427
  }>;
10428
10428
  };
10429
10429
  accounts: () => Promise<{
10430
- provider: "x" | "discord" | "google" | "apple";
10430
+ provider: "discord" | "google" | "apple" | "x";
10431
10431
  configured: boolean;
10432
10432
  status: "disconnected" | "connected" | "reconnect";
10433
10433
  subject: string | null;
@@ -10531,7 +10531,7 @@ declare function createRelayClient(options: {
10531
10531
  quest: string;
10532
10532
  member: string;
10533
10533
  evidence: string | null;
10534
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10534
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10535
10535
  reason: string | null;
10536
10536
  retries: number;
10537
10537
  generation: number;
@@ -10565,17 +10565,17 @@ declare function createRelayClient(options: {
10565
10565
  })[] | null;
10566
10566
  createdAt: number;
10567
10567
  input?: {
10568
- kind: "text";
10569
- value: string;
10570
- } | {
10571
- kind: "url";
10572
- value: string;
10573
- } | {
10574
10568
  kind: "quiz";
10575
10569
  answers: {
10576
10570
  [k: string]: string;
10577
10571
  };
10578
10572
  release?: string | undefined;
10573
+ } | {
10574
+ kind: "text";
10575
+ value: string;
10576
+ } | {
10577
+ kind: "url";
10578
+ value: string;
10579
10579
  } | undefined;
10580
10580
  }>;
10581
10581
  progress: () => Promise<{
@@ -10603,7 +10603,7 @@ declare function createRelayClient(options: {
10603
10603
  } | undefined;
10604
10604
  } | undefined;
10605
10605
  };
10606
- connections: ("x" | "discord" | "google" | "apple")[];
10606
+ connections: ("discord" | "google" | "apple" | "x")[];
10607
10607
  trigger: {
10608
10608
  kind: "automatic";
10609
10609
  observation?: {
@@ -10616,7 +10616,7 @@ declare function createRelayClient(options: {
10616
10616
  start: number;
10617
10617
  end?: number | undefined;
10618
10618
  };
10619
- enrollment: "none" | "required";
10619
+ enrollment: "required" | "none";
10620
10620
  posts: "after-enrollment" | "since-start";
10621
10621
  historical: "staff" | "automatic" | "claim";
10622
10622
  } | undefined;
@@ -10663,12 +10663,12 @@ declare function createRelayClient(options: {
10663
10663
  actor?: "member" | "staff" | undefined;
10664
10664
  } | {
10665
10665
  kind: "manual";
10666
- input: "none" | "quiz" | "photo";
10666
+ input: "quiz" | "photo" | "none";
10667
10667
  actor?: "member" | "staff" | undefined;
10668
10668
  };
10669
10669
  availability: {
10670
10670
  kind: "available";
10671
- input: "text" | "url" | "none" | "quiz" | "photo";
10671
+ input: "quiz" | "text" | "url" | "photo" | "none";
10672
10672
  } | {
10673
10673
  kind: "completed";
10674
10674
  } | {
@@ -10717,7 +10717,7 @@ declare function createRelayClient(options: {
10717
10717
  quest: string;
10718
10718
  member: string;
10719
10719
  evidence: string | null;
10720
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10720
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10721
10721
  reason: string | null;
10722
10722
  retries: number;
10723
10723
  generation: number;
@@ -10751,17 +10751,17 @@ declare function createRelayClient(options: {
10751
10751
  })[] | null;
10752
10752
  createdAt: number;
10753
10753
  input?: {
10754
- kind: "text";
10755
- value: string;
10756
- } | {
10757
- kind: "url";
10758
- value: string;
10759
- } | {
10760
10754
  kind: "quiz";
10761
10755
  answers: {
10762
10756
  [k: string]: string;
10763
10757
  };
10764
10758
  release?: string | undefined;
10759
+ } | {
10760
+ kind: "text";
10761
+ value: string;
10762
+ } | {
10763
+ kind: "url";
10764
+ value: string;
10765
10765
  } | undefined;
10766
10766
  } | null;
10767
10767
  key?: string | undefined;
@@ -10884,7 +10884,7 @@ declare function createRelayClient(options: {
10884
10884
  provider: "discord";
10885
10885
  action: "grant-role";
10886
10886
  roleId: string;
10887
- status: "pending" | "failed" | "delivered";
10887
+ status: "failed" | "pending" | "delivered";
10888
10888
  attempts: number;
10889
10889
  nextAt: number;
10890
10890
  lastError: string | null;
@@ -10900,7 +10900,7 @@ declare function createRelayClient(options: {
10900
10900
  quest: string;
10901
10901
  member: string;
10902
10902
  evidence: string | null;
10903
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
10903
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
10904
10904
  reason: string | null;
10905
10905
  retries: number;
10906
10906
  generation: number;
@@ -10934,17 +10934,17 @@ declare function createRelayClient(options: {
10934
10934
  })[] | null;
10935
10935
  createdAt: number;
10936
10936
  input?: {
10937
- kind: "text";
10938
- value: string;
10939
- } | {
10940
- kind: "url";
10941
- value: string;
10942
- } | {
10943
10937
  kind: "quiz";
10944
10938
  answers: {
10945
10939
  [k: string]: string;
10946
10940
  };
10947
10941
  release?: string | undefined;
10942
+ } | {
10943
+ kind: "text";
10944
+ value: string;
10945
+ } | {
10946
+ kind: "url";
10947
+ value: string;
10948
10948
  } | undefined;
10949
10949
  }>;
10950
10950
  upload: (file: File) => Promise<{
@@ -11005,12 +11005,12 @@ declare function createRelayClient(options: {
11005
11005
  kind: "resource";
11006
11006
  default: string;
11007
11007
  source: {
11008
+ provider: "domino";
11009
+ resource: "point-ledger";
11010
+ } | {
11008
11011
  provider: "discord";
11009
11012
  resource: "channel";
11010
11013
  types: ("text" | "announcement")[];
11011
- } | {
11012
- provider: "domino";
11013
- resource: "point-ledger";
11014
11014
  } | {
11015
11015
  provider: "discord";
11016
11016
  resource: "role";
@@ -11107,7 +11107,7 @@ declare function createRelayClient(options: {
11107
11107
  start: number;
11108
11108
  end?: number | undefined;
11109
11109
  };
11110
- enrollment: "none" | "required";
11110
+ enrollment: "required" | "none";
11111
11111
  posts: "after-enrollment" | "since-start";
11112
11112
  historical: "staff" | "automatic" | "claim";
11113
11113
  } | undefined;
@@ -11154,7 +11154,7 @@ declare function createRelayClient(options: {
11154
11154
  actor?: "member" | "staff" | undefined;
11155
11155
  } | {
11156
11156
  kind: "manual";
11157
- input: "none" | "quiz" | "photo";
11157
+ input: "quiz" | "photo" | "none";
11158
11158
  actor?: "member" | "staff" | undefined;
11159
11159
  };
11160
11160
  requires: {
@@ -11174,7 +11174,7 @@ declare function createRelayClient(options: {
11174
11174
  budgets: {
11175
11175
  id: string;
11176
11176
  scope: "project" | "member";
11177
- period: "day" | "lifetime" | "week";
11177
+ period: "day" | "week" | "lifetime";
11178
11178
  limit: number;
11179
11179
  cost: number | {
11180
11180
  balance: string;
@@ -11231,12 +11231,12 @@ declare function createRelayClient(options: {
11231
11231
  kind: "resource";
11232
11232
  default: string;
11233
11233
  source: {
11234
+ provider: "domino";
11235
+ resource: "point-ledger";
11236
+ } | {
11234
11237
  provider: "discord";
11235
11238
  resource: "channel";
11236
11239
  types: ("text" | "announcement")[];
11237
- } | {
11238
- provider: "domino";
11239
- resource: "point-ledger";
11240
11240
  } | {
11241
11241
  provider: "discord";
11242
11242
  resource: "role";
@@ -11333,7 +11333,7 @@ declare function createRelayClient(options: {
11333
11333
  start: number;
11334
11334
  end?: number | undefined;
11335
11335
  };
11336
- enrollment: "none" | "required";
11336
+ enrollment: "required" | "none";
11337
11337
  posts: "after-enrollment" | "since-start";
11338
11338
  historical: "staff" | "automatic" | "claim";
11339
11339
  } | undefined;
@@ -11380,7 +11380,7 @@ declare function createRelayClient(options: {
11380
11380
  actor?: "member" | "staff" | undefined;
11381
11381
  } | {
11382
11382
  kind: "manual";
11383
- input: "none" | "quiz" | "photo";
11383
+ input: "quiz" | "photo" | "none";
11384
11384
  actor?: "member" | "staff" | undefined;
11385
11385
  };
11386
11386
  requires: {
@@ -11400,7 +11400,7 @@ declare function createRelayClient(options: {
11400
11400
  budgets: {
11401
11401
  id: string;
11402
11402
  scope: "project" | "member";
11403
- period: "day" | "lifetime" | "week";
11403
+ period: "day" | "week" | "lifetime";
11404
11404
  limit: number;
11405
11405
  cost: number | {
11406
11406
  balance: string;
@@ -11456,12 +11456,12 @@ declare function createRelayClient(options: {
11456
11456
  kind: "resource";
11457
11457
  default: string;
11458
11458
  source: {
11459
+ provider: "domino";
11460
+ resource: "point-ledger";
11461
+ } | {
11459
11462
  provider: "discord";
11460
11463
  resource: "channel";
11461
11464
  types: ("text" | "announcement")[];
11462
- } | {
11463
- provider: "domino";
11464
- resource: "point-ledger";
11465
11465
  } | {
11466
11466
  provider: "discord";
11467
11467
  resource: "role";
@@ -11558,7 +11558,7 @@ declare function createRelayClient(options: {
11558
11558
  start: number;
11559
11559
  end?: number | undefined;
11560
11560
  };
11561
- enrollment: "none" | "required";
11561
+ enrollment: "required" | "none";
11562
11562
  posts: "after-enrollment" | "since-start";
11563
11563
  historical: "staff" | "automatic" | "claim";
11564
11564
  } | undefined;
@@ -11605,7 +11605,7 @@ declare function createRelayClient(options: {
11605
11605
  actor?: "member" | "staff" | undefined;
11606
11606
  } | {
11607
11607
  kind: "manual";
11608
- input: "none" | "quiz" | "photo";
11608
+ input: "quiz" | "photo" | "none";
11609
11609
  actor?: "member" | "staff" | undefined;
11610
11610
  };
11611
11611
  requires: {
@@ -11625,7 +11625,7 @@ declare function createRelayClient(options: {
11625
11625
  budgets: {
11626
11626
  id: string;
11627
11627
  scope: "project" | "member";
11628
- period: "day" | "lifetime" | "week";
11628
+ period: "day" | "week" | "lifetime";
11629
11629
  limit: number;
11630
11630
  cost: number | {
11631
11631
  balance: string;
@@ -11636,7 +11636,7 @@ declare function createRelayClient(options: {
11636
11636
  id: string;
11637
11637
  createdAt: number;
11638
11638
  legacy: boolean;
11639
- lifecycle: "paused" | "active" | "archived";
11639
+ lifecycle: "active" | "paused" | "archived";
11640
11640
  performance?: {
11641
11641
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11642
11642
  maxAgeMs: number;
@@ -11759,7 +11759,7 @@ declare function createRelayClient(options: {
11759
11759
  quest: string;
11760
11760
  member: string;
11761
11761
  evidence: string | null;
11762
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
11762
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
11763
11763
  reason: string | null;
11764
11764
  retries: number;
11765
11765
  generation: number;
@@ -11793,17 +11793,17 @@ declare function createRelayClient(options: {
11793
11793
  })[] | null;
11794
11794
  createdAt: number;
11795
11795
  input?: {
11796
- kind: "text";
11797
- value: string;
11798
- } | {
11799
- kind: "url";
11800
- value: string;
11801
- } | {
11802
11796
  kind: "quiz";
11803
11797
  answers: {
11804
11798
  [k: string]: string;
11805
11799
  };
11806
11800
  release?: string | undefined;
11801
+ } | {
11802
+ kind: "text";
11803
+ value: string;
11804
+ } | {
11805
+ kind: "url";
11806
+ value: string;
11807
11807
  } | undefined;
11808
11808
  }[];
11809
11809
  balances: {
@@ -11862,12 +11862,12 @@ declare function createRelayClient(options: {
11862
11862
  kind: "resource";
11863
11863
  default: string;
11864
11864
  source: {
11865
+ provider: "domino";
11866
+ resource: "point-ledger";
11867
+ } | {
11865
11868
  provider: "discord";
11866
11869
  resource: "channel";
11867
11870
  types: ("text" | "announcement")[];
11868
- } | {
11869
- provider: "domino";
11870
- resource: "point-ledger";
11871
11871
  } | {
11872
11872
  provider: "discord";
11873
11873
  resource: "role";
@@ -11964,7 +11964,7 @@ declare function createRelayClient(options: {
11964
11964
  start: number;
11965
11965
  end?: number | undefined;
11966
11966
  };
11967
- enrollment: "none" | "required";
11967
+ enrollment: "required" | "none";
11968
11968
  posts: "after-enrollment" | "since-start";
11969
11969
  historical: "staff" | "automatic" | "claim";
11970
11970
  } | undefined;
@@ -12011,7 +12011,7 @@ declare function createRelayClient(options: {
12011
12011
  actor?: "member" | "staff" | undefined;
12012
12012
  } | {
12013
12013
  kind: "manual";
12014
- input: "none" | "quiz" | "photo";
12014
+ input: "quiz" | "photo" | "none";
12015
12015
  actor?: "member" | "staff" | undefined;
12016
12016
  };
12017
12017
  requires: {
@@ -12031,7 +12031,7 @@ declare function createRelayClient(options: {
12031
12031
  budgets: {
12032
12032
  id: string;
12033
12033
  scope: "project" | "member";
12034
- period: "day" | "lifetime" | "week";
12034
+ period: "day" | "week" | "lifetime";
12035
12035
  limit: number;
12036
12036
  cost: number | {
12037
12037
  balance: string;
@@ -12042,7 +12042,7 @@ declare function createRelayClient(options: {
12042
12042
  id: string;
12043
12043
  createdAt: number;
12044
12044
  legacy: boolean;
12045
- lifecycle: "paused" | "active" | "archived";
12045
+ lifecycle: "active" | "paused" | "archived";
12046
12046
  performance?: {
12047
12047
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12048
12048
  maxAgeMs: number;
@@ -12116,12 +12116,12 @@ declare function createRelayClient(options: {
12116
12116
  kind: "resource";
12117
12117
  default: string;
12118
12118
  source: {
12119
+ provider: "domino";
12120
+ resource: "point-ledger";
12121
+ } | {
12119
12122
  provider: "discord";
12120
12123
  resource: "channel";
12121
12124
  types: ("text" | "announcement")[];
12122
- } | {
12123
- provider: "domino";
12124
- resource: "point-ledger";
12125
12125
  } | {
12126
12126
  provider: "discord";
12127
12127
  resource: "role";
@@ -12218,7 +12218,7 @@ declare function createRelayClient(options: {
12218
12218
  start: number;
12219
12219
  end?: number | undefined;
12220
12220
  };
12221
- enrollment: "none" | "required";
12221
+ enrollment: "required" | "none";
12222
12222
  posts: "after-enrollment" | "since-start";
12223
12223
  historical: "staff" | "automatic" | "claim";
12224
12224
  } | undefined;
@@ -12265,7 +12265,7 @@ declare function createRelayClient(options: {
12265
12265
  actor?: "member" | "staff" | undefined;
12266
12266
  } | {
12267
12267
  kind: "manual";
12268
- input: "none" | "quiz" | "photo";
12268
+ input: "quiz" | "photo" | "none";
12269
12269
  actor?: "member" | "staff" | undefined;
12270
12270
  };
12271
12271
  requires: {
@@ -12285,7 +12285,7 @@ declare function createRelayClient(options: {
12285
12285
  budgets: {
12286
12286
  id: string;
12287
12287
  scope: "project" | "member";
12288
- period: "day" | "lifetime" | "week";
12288
+ period: "day" | "week" | "lifetime";
12289
12289
  limit: number;
12290
12290
  cost: number | {
12291
12291
  balance: string;
@@ -12296,7 +12296,7 @@ declare function createRelayClient(options: {
12296
12296
  id: string;
12297
12297
  createdAt: number;
12298
12298
  legacy: boolean;
12299
- lifecycle: "paused" | "active" | "archived";
12299
+ lifecycle: "active" | "paused" | "archived";
12300
12300
  performance?: {
12301
12301
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12302
12302
  maxAgeMs: number;
@@ -12355,7 +12355,7 @@ declare function createRelayClient(options: {
12355
12355
  } | undefined;
12356
12356
  } | undefined;
12357
12357
  };
12358
- connections: ("x" | "discord" | "google" | "apple")[];
12358
+ connections: ("discord" | "google" | "apple" | "x")[];
12359
12359
  trigger: {
12360
12360
  kind: "automatic";
12361
12361
  observation?: {
@@ -12368,7 +12368,7 @@ declare function createRelayClient(options: {
12368
12368
  start: number;
12369
12369
  end?: number | undefined;
12370
12370
  };
12371
- enrollment: "none" | "required";
12371
+ enrollment: "required" | "none";
12372
12372
  posts: "after-enrollment" | "since-start";
12373
12373
  historical: "staff" | "automatic" | "claim";
12374
12374
  } | undefined;
@@ -12415,12 +12415,12 @@ declare function createRelayClient(options: {
12415
12415
  actor?: "member" | "staff" | undefined;
12416
12416
  } | {
12417
12417
  kind: "manual";
12418
- input: "none" | "quiz" | "photo";
12418
+ input: "quiz" | "photo" | "none";
12419
12419
  actor?: "member" | "staff" | undefined;
12420
12420
  };
12421
12421
  availability: {
12422
12422
  kind: "available";
12423
- input: "text" | "url" | "none" | "quiz" | "photo";
12423
+ input: "quiz" | "text" | "url" | "photo" | "none";
12424
12424
  } | {
12425
12425
  kind: "completed";
12426
12426
  } | {
@@ -12469,7 +12469,7 @@ declare function createRelayClient(options: {
12469
12469
  quest: string;
12470
12470
  member: string;
12471
12471
  evidence: string | null;
12472
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12472
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
12473
12473
  reason: string | null;
12474
12474
  retries: number;
12475
12475
  generation: number;
@@ -12503,17 +12503,17 @@ declare function createRelayClient(options: {
12503
12503
  })[] | null;
12504
12504
  createdAt: number;
12505
12505
  input?: {
12506
- kind: "text";
12507
- value: string;
12508
- } | {
12509
- kind: "url";
12510
- value: string;
12511
- } | {
12512
12506
  kind: "quiz";
12513
12507
  answers: {
12514
12508
  [k: string]: string;
12515
12509
  };
12516
12510
  release?: string | undefined;
12511
+ } | {
12512
+ kind: "text";
12513
+ value: string;
12514
+ } | {
12515
+ kind: "url";
12516
+ value: string;
12517
12517
  } | undefined;
12518
12518
  } | null;
12519
12519
  key?: string | undefined;
@@ -12897,14 +12897,14 @@ declare function createRelayClient(options: {
12897
12897
  content: {
12898
12898
  performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
12899
12899
  current: {
12900
- state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "content-pending" | "content-unqualified" | "waiting";
12900
+ state: "needs-review" | "failed" | "pending" | "qualified" | "content-pending" | "content-unqualified" | "waiting" | "unqualified" | "superseded";
12901
12901
  reason: string | null;
12902
12902
  contentAttempt: string;
12903
12903
  attempt: string | null;
12904
12904
  reward: {
12905
12905
  attempt: string | null;
12906
12906
  completion: string | null;
12907
- state: "excluded" | "unresolved" | "awarded";
12907
+ state: "awarded" | "excluded" | "unresolved";
12908
12908
  };
12909
12909
  };
12910
12910
  items: {
@@ -12913,7 +12913,7 @@ declare function createRelayClient(options: {
12913
12913
  observation: string;
12914
12914
  observedAt: number;
12915
12915
  metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
12916
- state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed";
12916
+ state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded";
12917
12917
  reason: string | null;
12918
12918
  }[];
12919
12919
  next: number | null;
@@ -12928,12 +12928,12 @@ declare function createRelayClient(options: {
12928
12928
  revision: string;
12929
12929
  observation: string;
12930
12930
  current: boolean;
12931
- state: "pending" | "superseded" | "qualified" | "unqualified" | "needs-review" | "failed" | "stale" | "blocked" | "unavailable";
12931
+ state: "needs-review" | "failed" | "pending" | "qualified" | "unqualified" | "superseded" | "stale" | "blocked" | "unavailable";
12932
12932
  reason: string | null;
12933
12933
  reward: {
12934
12934
  attempt: string | null;
12935
12935
  completion: string | null;
12936
- state: "excluded" | "unresolved" | "awarded";
12936
+ state: "awarded" | "excluded" | "unresolved";
12937
12937
  };
12938
12938
  }[];
12939
12939
  next: number | null;
@@ -12943,7 +12943,7 @@ declare function createRelayClient(options: {
12943
12943
  quest: string;
12944
12944
  content: string;
12945
12945
  release: string;
12946
- state: "admitted" | "pending" | "excluded";
12946
+ state: "pending" | "excluded" | "admitted";
12947
12947
  reason: string | null;
12948
12948
  attempt: string | null;
12949
12949
  }[];
@@ -12958,7 +12958,7 @@ declare function createRelayClient(options: {
12958
12958
  quest: string;
12959
12959
  content: string;
12960
12960
  release: string;
12961
- state: "admitted" | "pending" | "excluded";
12961
+ state: "pending" | "excluded" | "admitted";
12962
12962
  reason: string | null;
12963
12963
  attempt: string | null;
12964
12964
  }>;
@@ -12969,7 +12969,7 @@ declare function createRelayClient(options: {
12969
12969
  quest: string;
12970
12970
  member: string;
12971
12971
  evidence: string | null;
12972
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
12972
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
12973
12973
  reason: string | null;
12974
12974
  retries: number;
12975
12975
  generation: number;
@@ -13003,17 +13003,17 @@ declare function createRelayClient(options: {
13003
13003
  })[] | null;
13004
13004
  createdAt: number;
13005
13005
  input?: {
13006
- kind: "text";
13007
- value: string;
13008
- } | {
13009
- kind: "url";
13010
- value: string;
13011
- } | {
13012
13006
  kind: "quiz";
13013
13007
  answers: {
13014
13008
  [k: string]: string;
13015
13009
  };
13016
13010
  release?: string | undefined;
13011
+ } | {
13012
+ kind: "text";
13013
+ value: string;
13014
+ } | {
13015
+ kind: "url";
13016
+ value: string;
13017
13017
  } | undefined;
13018
13018
  }>;
13019
13019
  retry: (id: string) => Promise<{
@@ -13022,7 +13022,7 @@ declare function createRelayClient(options: {
13022
13022
  quest: string;
13023
13023
  member: string;
13024
13024
  evidence: string | null;
13025
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
13025
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
13026
13026
  reason: string | null;
13027
13027
  retries: number;
13028
13028
  generation: number;
@@ -13056,17 +13056,17 @@ declare function createRelayClient(options: {
13056
13056
  })[] | null;
13057
13057
  createdAt: number;
13058
13058
  input?: {
13059
- kind: "text";
13060
- value: string;
13061
- } | {
13062
- kind: "url";
13063
- value: string;
13064
- } | {
13065
13059
  kind: "quiz";
13066
13060
  answers: {
13067
13061
  [k: string]: string;
13068
13062
  };
13069
13063
  release?: string | undefined;
13064
+ } | {
13065
+ kind: "text";
13066
+ value: string;
13067
+ } | {
13068
+ kind: "url";
13069
+ value: string;
13070
13070
  } | undefined;
13071
13071
  }>;
13072
13072
  /** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
@@ -13081,7 +13081,7 @@ declare function createRelayClient(options: {
13081
13081
  quest: string;
13082
13082
  member: string;
13083
13083
  evidence: string | null;
13084
- status: "needs-review" | "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected";
13084
+ status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
13085
13085
  reason: string | null;
13086
13086
  retries: number;
13087
13087
  generation: number;
@@ -13115,17 +13115,17 @@ declare function createRelayClient(options: {
13115
13115
  })[] | null;
13116
13116
  createdAt: number;
13117
13117
  input?: {
13118
- kind: "text";
13119
- value: string;
13120
- } | {
13121
- kind: "url";
13122
- value: string;
13123
- } | {
13124
13118
  kind: "quiz";
13125
13119
  answers: {
13126
13120
  [k: string]: string;
13127
13121
  };
13128
13122
  release?: string | undefined;
13123
+ } | {
13124
+ kind: "text";
13125
+ value: string;
13126
+ } | {
13127
+ kind: "url";
13128
+ value: string;
13129
13129
  } | undefined;
13130
13130
  }>;
13131
13131
  };