@domino-sdk/relay 0.14.0 → 0.14.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/browser.d.ts CHANGED
@@ -212,7 +212,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
212
212
  accounts: {
213
213
  id: string;
214
214
  program: string;
215
- kind: "fixed" | "milestone" | "bonus";
215
+ kind: "milestone" | "fixed" | "bonus";
216
216
  balance: string;
217
217
  earned: number;
218
218
  settled: number;
@@ -402,7 +402,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
402
402
  quest: string;
403
403
  member: string;
404
404
  evidence: string | null;
405
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
405
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
406
406
  reason: string | null;
407
407
  retries: number;
408
408
  generation: number;
@@ -445,7 +445,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
445
445
  } | null;
446
446
  release: string;
447
447
  interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
448
- lifecycle: "active" | "paused" | "archived";
448
+ lifecycle: "paused" | "active" | "archived";
449
449
  rewards: {
450
450
  label: string;
451
451
  }[];
@@ -487,7 +487,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
487
487
  quest: string;
488
488
  member: string;
489
489
  evidence: string | null;
490
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
490
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
491
491
  reason: string | null;
492
492
  retries: number;
493
493
  generation: number;
@@ -616,7 +616,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
616
616
  quest: string;
617
617
  member: string;
618
618
  evidence: string | null;
619
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
619
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
620
620
  reason: string | null;
621
621
  retries: number;
622
622
  generation: number;
@@ -659,7 +659,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
659
659
  } | null;
660
660
  release: string;
661
661
  interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
662
- lifecycle: "active" | "paused" | "archived";
662
+ lifecycle: "paused" | "active" | "archived";
663
663
  rewards: {
664
664
  label: string;
665
665
  }[];
@@ -784,7 +784,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
784
784
  quest: string;
785
785
  member: string;
786
786
  evidence: string | null;
787
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
787
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
788
788
  reason: string | null;
789
789
  retries: number;
790
790
  generation: number;
@@ -827,7 +827,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
827
827
  } | null;
828
828
  release: string;
829
829
  interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
830
- lifecycle: "active" | "paused" | "archived";
830
+ lifecycle: "paused" | "active" | "archived";
831
831
  rewards: {
832
832
  label: string;
833
833
  }[];
@@ -955,7 +955,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
955
955
  quest: string;
956
956
  member: string;
957
957
  evidence: string | null;
958
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
958
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
959
959
  reason: string | null;
960
960
  retries: number;
961
961
  generation: number;
@@ -998,7 +998,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
998
998
  } | null;
999
999
  release: string;
1000
1000
  interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
1001
- lifecycle: "active" | "paused" | "archived";
1001
+ lifecycle: "paused" | "active" | "archived";
1002
1002
  rewards: {
1003
1003
  label: string;
1004
1004
  }[];
@@ -1187,7 +1187,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1187
1187
  quest: string;
1188
1188
  member: string;
1189
1189
  evidence: string | null;
1190
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
1190
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
1191
1191
  reason: string | null;
1192
1192
  retries: number;
1193
1193
  generation: number;
@@ -1316,7 +1316,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1316
1316
  quest: string;
1317
1317
  member: string;
1318
1318
  evidence: string | null;
1319
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
1319
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
1320
1320
  reason: string | null;
1321
1321
  retries: number;
1322
1322
  generation: number;
@@ -1477,7 +1477,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1477
1477
  provider: "discord";
1478
1478
  action: "grant-role";
1479
1479
  roleId: string;
1480
- status: "failed" | "pending" | "delivered";
1480
+ status: "pending" | "delivered" | "failed";
1481
1481
  attempts: number;
1482
1482
  nextAt: number;
1483
1483
  lastError: string | null;
@@ -1493,7 +1493,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1493
1493
  quest: string;
1494
1494
  member: string;
1495
1495
  evidence: string | null;
1496
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
1496
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
1497
1497
  reason: string | null;
1498
1498
  retries: number;
1499
1499
  generation: number;
@@ -1552,7 +1552,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1552
1552
  quest: string;
1553
1553
  member: string;
1554
1554
  evidence: string | null;
1555
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
1555
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
1556
1556
  reason: string | null;
1557
1557
  retries: number;
1558
1558
  generation: number;
@@ -1664,12 +1664,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1664
1664
  kind: "resource";
1665
1665
  default: string;
1666
1666
  source: {
1667
- provider: "domino";
1668
- resource: "point-ledger";
1669
- } | {
1670
1667
  provider: "discord";
1671
1668
  resource: "channel";
1672
1669
  types: ("text" | "announcement")[];
1670
+ } | {
1671
+ provider: "domino";
1672
+ resource: "point-ledger";
1673
1673
  } | {
1674
1674
  provider: "discord";
1675
1675
  resource: "role";
@@ -1831,12 +1831,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1831
1831
  kind: "resource";
1832
1832
  default: string;
1833
1833
  source: {
1834
- provider: "domino";
1835
- resource: "point-ledger";
1836
- } | {
1837
1834
  provider: "discord";
1838
1835
  resource: "channel";
1839
1836
  types: ("text" | "announcement")[];
1837
+ } | {
1838
+ provider: "domino";
1839
+ resource: "point-ledger";
1840
1840
  } | {
1841
1841
  provider: "discord";
1842
1842
  resource: "role";
@@ -1997,12 +1997,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
1997
1997
  kind: "resource";
1998
1998
  default: string;
1999
1999
  source: {
2000
- provider: "domino";
2001
- resource: "point-ledger";
2002
- } | {
2003
2000
  provider: "discord";
2004
2001
  resource: "channel";
2005
2002
  types: ("text" | "announcement")[];
2003
+ } | {
2004
+ provider: "domino";
2005
+ resource: "point-ledger";
2006
2006
  } | {
2007
2007
  provider: "discord";
2008
2008
  resource: "role";
@@ -2126,7 +2126,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2126
2126
  id: string;
2127
2127
  createdAt: number;
2128
2128
  legacy: boolean;
2129
- lifecycle: "active" | "paused" | "archived";
2129
+ lifecycle: "paused" | "active" | "archived";
2130
2130
  key?: string | undefined;
2131
2131
  origin?: {
2132
2132
  typeVersion: string;
@@ -2242,7 +2242,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2242
2242
  quest: string;
2243
2243
  member: string;
2244
2244
  evidence: string | null;
2245
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
2245
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
2246
2246
  reason: string | null;
2247
2247
  retries: number;
2248
2248
  generation: number;
@@ -2338,12 +2338,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2338
2338
  kind: "resource";
2339
2339
  default: string;
2340
2340
  source: {
2341
- provider: "domino";
2342
- resource: "point-ledger";
2343
- } | {
2344
2341
  provider: "discord";
2345
2342
  resource: "channel";
2346
2343
  types: ("text" | "announcement")[];
2344
+ } | {
2345
+ provider: "domino";
2346
+ resource: "point-ledger";
2347
2347
  } | {
2348
2348
  provider: "discord";
2349
2349
  resource: "role";
@@ -2467,7 +2467,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2467
2467
  id: string;
2468
2468
  createdAt: number;
2469
2469
  legacy: boolean;
2470
- lifecycle: "active" | "paused" | "archived";
2470
+ lifecycle: "paused" | "active" | "archived";
2471
2471
  key?: string | undefined;
2472
2472
  origin?: {
2473
2473
  typeVersion: string;
@@ -2533,12 +2533,12 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2533
2533
  kind: "resource";
2534
2534
  default: string;
2535
2535
  source: {
2536
- provider: "domino";
2537
- resource: "point-ledger";
2538
- } | {
2539
2536
  provider: "discord";
2540
2537
  resource: "channel";
2541
2538
  types: ("text" | "announcement")[];
2539
+ } | {
2540
+ provider: "domino";
2541
+ resource: "point-ledger";
2542
2542
  } | {
2543
2543
  provider: "discord";
2544
2544
  resource: "role";
@@ -2662,7 +2662,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2662
2662
  id: string;
2663
2663
  createdAt: number;
2664
2664
  legacy: boolean;
2665
- lifecycle: "active" | "paused" | "archived";
2665
+ lifecycle: "paused" | "active" | "archived";
2666
2666
  key?: string | undefined;
2667
2667
  origin?: {
2668
2668
  typeVersion: string;
@@ -2777,7 +2777,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
2777
2777
  quest: string;
2778
2778
  member: string;
2779
2779
  evidence: string | null;
2780
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
2780
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
2781
2781
  reason: string | null;
2782
2782
  retries: number;
2783
2783
  generation: number;
@@ -3098,7 +3098,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3098
3098
  quest: string;
3099
3099
  member: string;
3100
3100
  evidence: string | null;
3101
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
3101
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
3102
3102
  reason: string | null;
3103
3103
  retries: number;
3104
3104
  generation: number;
@@ -3145,7 +3145,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3145
3145
  quest: string;
3146
3146
  member: string;
3147
3147
  evidence: string | null;
3148
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
3148
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
3149
3149
  reason: string | null;
3150
3150
  retries: number;
3151
3151
  generation: number;
@@ -3197,7 +3197,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
3197
3197
  quest: string;
3198
3198
  member: string;
3199
3199
  evidence: string | null;
3200
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
3200
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
3201
3201
  reason: string | null;
3202
3202
  retries: number;
3203
3203
  generation: number;
package/dist/index.d.ts CHANGED
@@ -410,7 +410,7 @@ declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
410
410
  title: string;
411
411
  key?: string | undefined;
412
412
  id?: string | undefined;
413
- }, "key" | "id"> & {
413
+ }, "id" | "key"> & {
414
414
  key: string;
415
415
  }, {
416
416
  title: string;
@@ -438,8 +438,8 @@ declare const questInstanceSchema: z.ZodObject<{
438
438
  }, z.core.$strict>>]>>;
439
439
  requires: z.ZodArray<z.ZodString>;
440
440
  status: z.ZodEnum<{
441
- active: "active";
442
441
  paused: "paused";
442
+ active: "active";
443
443
  archived: "archived";
444
444
  }>;
445
445
  }, z.core.$strict>;
@@ -459,8 +459,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
459
459
  }, z.core.$strict>>]>>;
460
460
  requires: z.ZodArray<z.ZodString>;
461
461
  status: z.ZodEnum<{
462
- active: "active";
463
462
  paused: "paused";
463
+ active: "active";
464
464
  archived: "archived";
465
465
  }>;
466
466
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -492,8 +492,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
492
492
  }, z.core.$strict>>]>>;
493
493
  requires: z.ZodArray<z.ZodString>;
494
494
  status: z.ZodEnum<{
495
- active: "active";
496
495
  paused: "paused";
496
+ active: "active";
497
497
  archived: "archived";
498
498
  }>;
499
499
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -526,8 +526,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
526
526
  }, z.core.$strict>>]>>;
527
527
  requires: z.ZodArray<z.ZodString>;
528
528
  status: z.ZodEnum<{
529
- active: "active";
530
529
  paused: "paused";
530
+ active: "active";
531
531
  archived: "archived";
532
532
  }>;
533
533
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -764,8 +764,8 @@ declare const questCatalogSchema: z.ZodObject<{
764
764
  }, z.core.$strict>>]>>;
765
765
  requires: z.ZodArray<z.ZodString>;
766
766
  status: z.ZodEnum<{
767
- active: "active";
768
767
  paused: "paused";
768
+ active: "active";
769
769
  archived: "archived";
770
770
  }>;
771
771
  }, z.core.$strict>>;
@@ -789,8 +789,8 @@ declare const questCatalogSchema: z.ZodObject<{
789
789
  }, z.core.$strict>>]>>;
790
790
  requires: z.ZodArray<z.ZodString>;
791
791
  status: z.ZodEnum<{
792
- active: "active";
793
792
  paused: "paused";
793
+ active: "active";
794
794
  archived: "archived";
795
795
  }>;
796
796
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -823,8 +823,8 @@ declare const questCatalogSchema: z.ZodObject<{
823
823
  }, z.core.$strict>>]>>;
824
824
  requires: z.ZodArray<z.ZodString>;
825
825
  status: z.ZodEnum<{
826
- active: "active";
827
826
  paused: "paused";
827
+ active: "active";
828
828
  archived: "archived";
829
829
  }>;
830
830
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -1039,8 +1039,8 @@ declare const questCatalogSchema: z.ZodObject<{
1039
1039
  typeVersion: z.ZodString;
1040
1040
  }, z.core.$strict>>;
1041
1041
  lifecycle: z.ZodDefault<z.ZodEnum<{
1042
- active: "active";
1043
1042
  paused: "paused";
1043
+ active: "active";
1044
1044
  archived: "archived";
1045
1045
  }>>;
1046
1046
  configuration: z.ZodOptional<z.ZodObject<{
@@ -1145,12 +1145,12 @@ declare const questCatalogSchema: z.ZodObject<{
1145
1145
  kind: "resource";
1146
1146
  default: string;
1147
1147
  source: {
1148
- provider: "domino";
1149
- resource: "point-ledger";
1150
- } | {
1151
1148
  provider: "discord";
1152
1149
  resource: "channel";
1153
1150
  types: ("text" | "announcement")[];
1151
+ } | {
1152
+ provider: "domino";
1153
+ resource: "point-ledger";
1154
1154
  } | {
1155
1155
  provider: "discord";
1156
1156
  resource: "role";
@@ -1274,7 +1274,7 @@ declare const questCatalogSchema: z.ZodObject<{
1274
1274
  id: string;
1275
1275
  createdAt: number;
1276
1276
  legacy: boolean;
1277
- lifecycle: "active" | "paused" | "archived";
1277
+ lifecycle: "paused" | "active" | "archived";
1278
1278
  key?: string | undefined;
1279
1279
  origin?: {
1280
1280
  typeVersion: string;
@@ -1361,7 +1361,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
1361
1361
  title: string;
1362
1362
  key?: string | undefined;
1363
1363
  id?: string | undefined;
1364
- }, "key" | "id"> & {
1364
+ }, "id" | "key"> & {
1365
1365
  key: string;
1366
1366
  }, {
1367
1367
  title: string;
@@ -1611,8 +1611,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
1611
1611
  }, z.core.$strict>>]>>;
1612
1612
  requires: z.ZodArray<z.ZodString>;
1613
1613
  status: z.ZodEnum<{
1614
- active: "active";
1615
1614
  paused: "paused";
1615
+ active: "active";
1616
1616
  archived: "archived";
1617
1617
  }>;
1618
1618
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -1773,13 +1773,13 @@ declare const questViewSchema: z.ZodObject<{
1773
1773
  }, Record<string, string>>>;
1774
1774
  }, z.core.$strict>>;
1775
1775
  status: z.ZodEnum<{
1776
+ failed: "failed";
1776
1777
  queued: "queued";
1777
1778
  evaluating: "evaluating";
1778
1779
  accepted: "accepted";
1779
1780
  progressed: "progressed";
1780
1781
  rejected: "rejected";
1781
1782
  "needs-review": "needs-review";
1782
- failed: "failed";
1783
1783
  }>;
1784
1784
  reason: z.ZodNullable<z.ZodString>;
1785
1785
  retries: z.ZodNumber;
@@ -1823,8 +1823,8 @@ declare const questViewSchema: z.ZodObject<{
1823
1823
  claim: "claim";
1824
1824
  }>;
1825
1825
  lifecycle: z.ZodEnum<{
1826
- active: "active";
1827
1826
  paused: "paused";
1827
+ active: "active";
1828
1828
  archived: "archived";
1829
1829
  }>;
1830
1830
  rewards: z.ZodArray<z.ZodObject<{
@@ -1979,13 +1979,13 @@ declare const collectionViewSchema: z.ZodObject<{
1979
1979
  }, Record<string, string>>>;
1980
1980
  }, z.core.$strict>>;
1981
1981
  status: z.ZodEnum<{
1982
+ failed: "failed";
1982
1983
  queued: "queued";
1983
1984
  evaluating: "evaluating";
1984
1985
  accepted: "accepted";
1985
1986
  progressed: "progressed";
1986
1987
  rejected: "rejected";
1987
1988
  "needs-review": "needs-review";
1988
- failed: "failed";
1989
1989
  }>;
1990
1990
  reason: z.ZodNullable<z.ZodString>;
1991
1991
  retries: z.ZodNumber;
@@ -2029,8 +2029,8 @@ declare const collectionViewSchema: z.ZodObject<{
2029
2029
  claim: "claim";
2030
2030
  }>;
2031
2031
  lifecycle: z.ZodEnum<{
2032
- active: "active";
2033
2032
  paused: "paused";
2033
+ active: "active";
2034
2034
  archived: "archived";
2035
2035
  }>;
2036
2036
  rewards: z.ZodArray<z.ZodObject<{
@@ -2184,13 +2184,13 @@ declare const questExperienceSchema: z.ZodObject<{
2184
2184
  }, Record<string, string>>>;
2185
2185
  }, z.core.$strict>>;
2186
2186
  status: z.ZodEnum<{
2187
+ failed: "failed";
2187
2188
  queued: "queued";
2188
2189
  evaluating: "evaluating";
2189
2190
  accepted: "accepted";
2190
2191
  progressed: "progressed";
2191
2192
  rejected: "rejected";
2192
2193
  "needs-review": "needs-review";
2193
- failed: "failed";
2194
2194
  }>;
2195
2195
  reason: z.ZodNullable<z.ZodString>;
2196
2196
  retries: z.ZodNumber;
@@ -2234,8 +2234,8 @@ declare const questExperienceSchema: z.ZodObject<{
2234
2234
  claim: "claim";
2235
2235
  }>;
2236
2236
  lifecycle: z.ZodEnum<{
2237
- active: "active";
2238
2237
  paused: "paused";
2238
+ active: "active";
2239
2239
  archived: "archived";
2240
2240
  }>;
2241
2241
  rewards: z.ZodArray<z.ZodObject<{
@@ -2390,13 +2390,13 @@ declare const questExperienceSchema: z.ZodObject<{
2390
2390
  }, Record<string, string>>>;
2391
2391
  }, z.core.$strict>>;
2392
2392
  status: z.ZodEnum<{
2393
+ failed: "failed";
2393
2394
  queued: "queued";
2394
2395
  evaluating: "evaluating";
2395
2396
  accepted: "accepted";
2396
2397
  progressed: "progressed";
2397
2398
  rejected: "rejected";
2398
2399
  "needs-review": "needs-review";
2399
- failed: "failed";
2400
2400
  }>;
2401
2401
  reason: z.ZodNullable<z.ZodString>;
2402
2402
  retries: z.ZodNumber;
@@ -2440,8 +2440,8 @@ declare const questExperienceSchema: z.ZodObject<{
2440
2440
  claim: "claim";
2441
2441
  }>;
2442
2442
  lifecycle: z.ZodEnum<{
2443
- active: "active";
2444
2443
  paused: "paused";
2444
+ active: "active";
2445
2445
  archived: "archived";
2446
2446
  }>;
2447
2447
  rewards: z.ZodArray<z.ZodObject<{
@@ -2475,8 +2475,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2475
2475
  }, z.core.$strict>>]>>;
2476
2476
  requires: z.ZodArray<z.ZodString>;
2477
2477
  status: z.ZodEnum<{
2478
- active: "active";
2479
2478
  paused: "paused";
2479
+ active: "active";
2480
2480
  archived: "archived";
2481
2481
  }>;
2482
2482
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -2509,8 +2509,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2509
2509
  }, z.core.$strict>>]>>;
2510
2510
  requires: z.ZodArray<z.ZodString>;
2511
2511
  status: z.ZodEnum<{
2512
- active: "active";
2513
2512
  paused: "paused";
2513
+ active: "active";
2514
2514
  archived: "archived";
2515
2515
  }>;
2516
2516
  expectedRelease: z.ZodNullable<z.ZodString>;
@@ -2725,8 +2725,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2725
2725
  typeVersion: z.ZodString;
2726
2726
  }, z.core.$strict>>;
2727
2727
  lifecycle: z.ZodDefault<z.ZodEnum<{
2728
- active: "active";
2729
2728
  paused: "paused";
2729
+ active: "active";
2730
2730
  archived: "archived";
2731
2731
  }>>;
2732
2732
  configuration: z.ZodOptional<z.ZodObject<{
@@ -2831,12 +2831,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2831
2831
  kind: "resource";
2832
2832
  default: string;
2833
2833
  source: {
2834
- provider: "domino";
2835
- resource: "point-ledger";
2836
- } | {
2837
2834
  provider: "discord";
2838
2835
  resource: "channel";
2839
2836
  types: ("text" | "announcement")[];
2837
+ } | {
2838
+ provider: "domino";
2839
+ resource: "point-ledger";
2840
2840
  } | {
2841
2841
  provider: "discord";
2842
2842
  resource: "role";
@@ -2960,7 +2960,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
2960
2960
  id: string;
2961
2961
  createdAt: number;
2962
2962
  legacy: boolean;
2963
- lifecycle: "active" | "paused" | "archived";
2963
+ lifecycle: "paused" | "active" | "archived";
2964
2964
  key?: string | undefined;
2965
2965
  origin?: {
2966
2966
  typeVersion: string;
@@ -3099,9 +3099,9 @@ declare const rewardDeliverySchema: z.ZodObject<{
3099
3099
  action: z.ZodLiteral<"grant-role">;
3100
3100
  roleId: z.ZodString;
3101
3101
  status: z.ZodEnum<{
3102
- failed: "failed";
3103
3102
  pending: "pending";
3104
3103
  delivered: "delivered";
3104
+ failed: "failed";
3105
3105
  }>;
3106
3106
  attempts: z.ZodNumber;
3107
3107
  nextAt: z.ZodNumber;
@@ -3119,9 +3119,9 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
3119
3119
  action: z.ZodLiteral<"grant-role">;
3120
3120
  roleId: z.ZodString;
3121
3121
  status: z.ZodEnum<{
3122
- failed: "failed";
3123
3122
  pending: "pending";
3124
3123
  delivered: "delivered";
3124
+ failed: "failed";
3125
3125
  }>;
3126
3126
  attempts: z.ZodNumber;
3127
3127
  nextAt: z.ZodNumber;
@@ -3267,6 +3267,12 @@ declare function questConfiguration(release: PublishedRelease): {
3267
3267
 
3268
3268
  /** Non-quest resources in the private hosted-build catalog artifact. */
3269
3269
  declare const projectCatalogArtifactSchema: z.ZodObject<{
3270
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
3271
+ code: z.ZodString;
3272
+ provider: z.ZodEnum<{
3273
+ "workers-ai": "workers-ai";
3274
+ }>;
3275
+ }, z.core.$strip>>>;
3270
3276
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
3271
3277
  title: z.ZodString;
3272
3278
  key: z.ZodOptional<z.ZodString>;
@@ -3275,19 +3281,13 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3275
3281
  title: string;
3276
3282
  key?: string | undefined;
3277
3283
  id?: string | undefined;
3278
- }, "key" | "id"> & {
3284
+ }, "id" | "key"> & {
3279
3285
  key: string;
3280
3286
  }, {
3281
3287
  title: string;
3282
3288
  key?: string | undefined;
3283
3289
  id?: string | undefined;
3284
3290
  }>>>>;
3285
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
3286
- code: z.ZodString;
3287
- provider: z.ZodEnum<{
3288
- "workers-ai": "workers-ai";
3289
- }>;
3290
- }, z.core.$strip>>>;
3291
3291
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3292
3292
  staff: "staff";
3293
3293
  quiz: "quiz";
@@ -3509,7 +3509,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3509
3509
  inviterGroup?: string | undefined;
3510
3510
  key?: string | undefined;
3511
3511
  id?: string | undefined;
3512
- }, "key" | "id"> & {
3512
+ }, "id" | "key"> & {
3513
3513
  key: string;
3514
3514
  }, {
3515
3515
  title: string;
@@ -3612,6 +3612,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3612
3612
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
3613
3613
  title: z.ZodString;
3614
3614
  balance: z.ZodString;
3615
+ group: z.ZodOptional<z.ZodString>;
3615
3616
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
3616
3617
  kind: z.ZodLiteral<"balance">;
3617
3618
  }, z.core.$strict>, z.ZodObject<{
@@ -3660,7 +3661,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3660
3661
  participants: "participants";
3661
3662
  public: "public";
3662
3663
  }>>;
3663
- group: z.ZodOptional<z.ZodString>;
3664
3664
  key: z.ZodOptional<z.ZodString>;
3665
3665
  id: z.ZodOptional<z.ZodString>;
3666
3666
  }, z.core.$strict>, z.ZodTransform<Omit<{
@@ -3706,7 +3706,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3706
3706
  group?: string | undefined;
3707
3707
  key?: string | undefined;
3708
3708
  id?: string | undefined;
3709
- }, "key" | "id"> & {
3709
+ }, "id" | "key"> & {
3710
3710
  key: string;
3711
3711
  }, {
3712
3712
  title: string;
@@ -3757,6 +3757,12 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
3757
3757
  }, z.core.$strict>;
3758
3758
  /** One manifest bundle. Missing entries never delete remotely owned resources. */
3759
3759
  declare const projectDeploymentSchema: z.ZodObject<{
3760
+ types: z.ZodDefault<z.ZodArray<z.ZodObject<{
3761
+ code: z.ZodString;
3762
+ provider: z.ZodEnum<{
3763
+ "workers-ai": "workers-ai";
3764
+ }>;
3765
+ }, z.core.$strip>>>;
3760
3766
  collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
3761
3767
  title: z.ZodString;
3762
3768
  key: z.ZodOptional<z.ZodString>;
@@ -3765,19 +3771,13 @@ declare const projectDeploymentSchema: z.ZodObject<{
3765
3771
  title: string;
3766
3772
  key?: string | undefined;
3767
3773
  id?: string | undefined;
3768
- }, "key" | "id"> & {
3774
+ }, "id" | "key"> & {
3769
3775
  key: string;
3770
3776
  }, {
3771
3777
  title: string;
3772
3778
  key?: string | undefined;
3773
3779
  id?: string | undefined;
3774
3780
  }>>>>;
3775
- types: z.ZodDefault<z.ZodArray<z.ZodObject<{
3776
- code: z.ZodString;
3777
- provider: z.ZodEnum<{
3778
- "workers-ai": "workers-ai";
3779
- }>;
3780
- }, z.core.$strip>>>;
3781
3781
  supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3782
3782
  staff: "staff";
3783
3783
  quiz: "quiz";
@@ -3999,7 +3999,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
3999
3999
  inviterGroup?: string | undefined;
4000
4000
  key?: string | undefined;
4001
4001
  id?: string | undefined;
4002
- }, "key" | "id"> & {
4002
+ }, "id" | "key"> & {
4003
4003
  key: string;
4004
4004
  }, {
4005
4005
  title: string;
@@ -4102,6 +4102,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
4102
4102
  leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
4103
4103
  title: z.ZodString;
4104
4104
  balance: z.ZodString;
4105
+ group: z.ZodOptional<z.ZodString>;
4105
4106
  score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
4106
4107
  kind: z.ZodLiteral<"balance">;
4107
4108
  }, z.core.$strict>, z.ZodObject<{
@@ -4150,7 +4151,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
4150
4151
  participants: "participants";
4151
4152
  public: "public";
4152
4153
  }>>;
4153
- group: z.ZodOptional<z.ZodString>;
4154
4154
  key: z.ZodOptional<z.ZodString>;
4155
4155
  id: z.ZodOptional<z.ZodString>;
4156
4156
  }, z.core.$strict>, z.ZodTransform<Omit<{
@@ -4196,7 +4196,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
4196
4196
  group?: string | undefined;
4197
4197
  key?: string | undefined;
4198
4198
  id?: string | undefined;
4199
- }, "key" | "id"> & {
4199
+ }, "id" | "key"> & {
4200
4200
  key: string;
4201
4201
  }, {
4202
4202
  title: string;
@@ -4493,8 +4493,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4493
4493
  typeVersion: z.ZodString;
4494
4494
  }, z.core.$strict>>;
4495
4495
  lifecycle: z.ZodDefault<z.ZodEnum<{
4496
- active: "active";
4497
4496
  paused: "paused";
4497
+ active: "active";
4498
4498
  archived: "archived";
4499
4499
  }>>;
4500
4500
  configuration: z.ZodOptional<z.ZodObject<{
@@ -4599,12 +4599,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4599
4599
  kind: "resource";
4600
4600
  default: string;
4601
4601
  source: {
4602
- provider: "domino";
4603
- resource: "point-ledger";
4604
- } | {
4605
4602
  provider: "discord";
4606
4603
  resource: "channel";
4607
4604
  types: ("text" | "announcement")[];
4605
+ } | {
4606
+ provider: "domino";
4607
+ resource: "point-ledger";
4608
4608
  } | {
4609
4609
  provider: "discord";
4610
4610
  resource: "role";
@@ -4728,7 +4728,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
4728
4728
  id: string;
4729
4729
  createdAt: number;
4730
4730
  legacy: boolean;
4731
- lifecycle: "active" | "paused" | "archived";
4731
+ lifecycle: "paused" | "active" | "archived";
4732
4732
  key?: string | undefined;
4733
4733
  origin?: {
4734
4734
  typeVersion: string;
@@ -5479,8 +5479,8 @@ declare const deploymentResultSchema: z.ZodObject<{
5479
5479
  typeVersion: z.ZodString;
5480
5480
  }, z.core.$strict>>;
5481
5481
  lifecycle: z.ZodDefault<z.ZodEnum<{
5482
- active: "active";
5483
5482
  paused: "paused";
5483
+ active: "active";
5484
5484
  archived: "archived";
5485
5485
  }>>;
5486
5486
  configuration: z.ZodOptional<z.ZodObject<{
@@ -5585,12 +5585,12 @@ declare const deploymentResultSchema: z.ZodObject<{
5585
5585
  kind: "resource";
5586
5586
  default: string;
5587
5587
  source: {
5588
- provider: "domino";
5589
- resource: "point-ledger";
5590
- } | {
5591
5588
  provider: "discord";
5592
5589
  resource: "channel";
5593
5590
  types: ("text" | "announcement")[];
5591
+ } | {
5592
+ provider: "domino";
5593
+ resource: "point-ledger";
5594
5594
  } | {
5595
5595
  provider: "discord";
5596
5596
  resource: "role";
@@ -5714,7 +5714,7 @@ declare const deploymentResultSchema: z.ZodObject<{
5714
5714
  id: string;
5715
5715
  createdAt: number;
5716
5716
  legacy: boolean;
5717
- lifecycle: "active" | "paused" | "archived";
5717
+ lifecycle: "paused" | "active" | "archived";
5718
5718
  key?: string | undefined;
5719
5719
  origin?: {
5720
5720
  typeVersion: string;
@@ -6483,7 +6483,7 @@ declare function createRelayClient(options: {
6483
6483
  accounts: {
6484
6484
  id: string;
6485
6485
  program: string;
6486
- kind: "fixed" | "milestone" | "bonus";
6486
+ kind: "milestone" | "fixed" | "bonus";
6487
6487
  balance: string;
6488
6488
  earned: number;
6489
6489
  settled: number;
@@ -6673,7 +6673,7 @@ declare function createRelayClient(options: {
6673
6673
  quest: string;
6674
6674
  member: string;
6675
6675
  evidence: string | null;
6676
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
6676
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
6677
6677
  reason: string | null;
6678
6678
  retries: number;
6679
6679
  generation: number;
@@ -6716,7 +6716,7 @@ declare function createRelayClient(options: {
6716
6716
  } | null;
6717
6717
  release: string;
6718
6718
  interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
6719
- lifecycle: "active" | "paused" | "archived";
6719
+ lifecycle: "paused" | "active" | "archived";
6720
6720
  rewards: {
6721
6721
  label: string;
6722
6722
  }[];
@@ -6758,7 +6758,7 @@ declare function createRelayClient(options: {
6758
6758
  quest: string;
6759
6759
  member: string;
6760
6760
  evidence: string | null;
6761
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
6761
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
6762
6762
  reason: string | null;
6763
6763
  retries: number;
6764
6764
  generation: number;
@@ -6887,7 +6887,7 @@ declare function createRelayClient(options: {
6887
6887
  quest: string;
6888
6888
  member: string;
6889
6889
  evidence: string | null;
6890
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
6890
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
6891
6891
  reason: string | null;
6892
6892
  retries: number;
6893
6893
  generation: number;
@@ -6930,7 +6930,7 @@ declare function createRelayClient(options: {
6930
6930
  } | null;
6931
6931
  release: string;
6932
6932
  interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
6933
- lifecycle: "active" | "paused" | "archived";
6933
+ lifecycle: "paused" | "active" | "archived";
6934
6934
  rewards: {
6935
6935
  label: string;
6936
6936
  }[];
@@ -7055,7 +7055,7 @@ declare function createRelayClient(options: {
7055
7055
  quest: string;
7056
7056
  member: string;
7057
7057
  evidence: string | null;
7058
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
7058
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
7059
7059
  reason: string | null;
7060
7060
  retries: number;
7061
7061
  generation: number;
@@ -7098,7 +7098,7 @@ declare function createRelayClient(options: {
7098
7098
  } | null;
7099
7099
  release: string;
7100
7100
  interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
7101
- lifecycle: "active" | "paused" | "archived";
7101
+ lifecycle: "paused" | "active" | "archived";
7102
7102
  rewards: {
7103
7103
  label: string;
7104
7104
  }[];
@@ -7226,7 +7226,7 @@ declare function createRelayClient(options: {
7226
7226
  quest: string;
7227
7227
  member: string;
7228
7228
  evidence: string | null;
7229
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
7229
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
7230
7230
  reason: string | null;
7231
7231
  retries: number;
7232
7232
  generation: number;
@@ -7269,7 +7269,7 @@ declare function createRelayClient(options: {
7269
7269
  } | null;
7270
7270
  release: string;
7271
7271
  interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
7272
- lifecycle: "active" | "paused" | "archived";
7272
+ lifecycle: "paused" | "active" | "archived";
7273
7273
  rewards: {
7274
7274
  label: string;
7275
7275
  }[];
@@ -7460,7 +7460,7 @@ declare function createRelayClient(options: {
7460
7460
  quest: string;
7461
7461
  member: string;
7462
7462
  evidence: string | null;
7463
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
7463
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
7464
7464
  reason: string | null;
7465
7465
  retries: number;
7466
7466
  generation: number;
@@ -7589,7 +7589,7 @@ declare function createRelayClient(options: {
7589
7589
  quest: string;
7590
7590
  member: string;
7591
7591
  evidence: string | null;
7592
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
7592
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
7593
7593
  reason: string | null;
7594
7594
  retries: number;
7595
7595
  generation: number;
@@ -7750,7 +7750,7 @@ declare function createRelayClient(options: {
7750
7750
  provider: "discord";
7751
7751
  action: "grant-role";
7752
7752
  roleId: string;
7753
- status: "failed" | "pending" | "delivered";
7753
+ status: "pending" | "delivered" | "failed";
7754
7754
  attempts: number;
7755
7755
  nextAt: number;
7756
7756
  lastError: string | null;
@@ -7766,7 +7766,7 @@ declare function createRelayClient(options: {
7766
7766
  quest: string;
7767
7767
  member: string;
7768
7768
  evidence: string | null;
7769
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
7769
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
7770
7770
  reason: string | null;
7771
7771
  retries: number;
7772
7772
  generation: number;
@@ -7826,7 +7826,7 @@ declare function createRelayClient(options: {
7826
7826
  quest: string;
7827
7827
  member: string;
7828
7828
  evidence: string | null;
7829
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
7829
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
7830
7830
  reason: string | null;
7831
7831
  retries: number;
7832
7832
  generation: number;
@@ -7941,12 +7941,12 @@ declare function createRelayClient(options: {
7941
7941
  kind: "resource";
7942
7942
  default: string;
7943
7943
  source: {
7944
- provider: "domino";
7945
- resource: "point-ledger";
7946
- } | {
7947
7944
  provider: "discord";
7948
7945
  resource: "channel";
7949
7946
  types: ("text" | "announcement")[];
7947
+ } | {
7948
+ provider: "domino";
7949
+ resource: "point-ledger";
7950
7950
  } | {
7951
7951
  provider: "discord";
7952
7952
  resource: "role";
@@ -8109,12 +8109,12 @@ declare function createRelayClient(options: {
8109
8109
  kind: "resource";
8110
8110
  default: string;
8111
8111
  source: {
8112
- provider: "domino";
8113
- resource: "point-ledger";
8114
- } | {
8115
8112
  provider: "discord";
8116
8113
  resource: "channel";
8117
8114
  types: ("text" | "announcement")[];
8115
+ } | {
8116
+ provider: "domino";
8117
+ resource: "point-ledger";
8118
8118
  } | {
8119
8119
  provider: "discord";
8120
8120
  resource: "role";
@@ -8276,12 +8276,12 @@ declare function createRelayClient(options: {
8276
8276
  kind: "resource";
8277
8277
  default: string;
8278
8278
  source: {
8279
- provider: "domino";
8280
- resource: "point-ledger";
8281
- } | {
8282
8279
  provider: "discord";
8283
8280
  resource: "channel";
8284
8281
  types: ("text" | "announcement")[];
8282
+ } | {
8283
+ provider: "domino";
8284
+ resource: "point-ledger";
8285
8285
  } | {
8286
8286
  provider: "discord";
8287
8287
  resource: "role";
@@ -8405,7 +8405,7 @@ declare function createRelayClient(options: {
8405
8405
  id: string;
8406
8406
  createdAt: number;
8407
8407
  legacy: boolean;
8408
- lifecycle: "active" | "paused" | "archived";
8408
+ lifecycle: "paused" | "active" | "archived";
8409
8409
  key?: string | undefined;
8410
8410
  origin?: {
8411
8411
  typeVersion: string;
@@ -8521,7 +8521,7 @@ declare function createRelayClient(options: {
8521
8521
  quest: string;
8522
8522
  member: string;
8523
8523
  evidence: string | null;
8524
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
8524
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
8525
8525
  reason: string | null;
8526
8526
  retries: number;
8527
8527
  generation: number;
@@ -8618,12 +8618,12 @@ declare function createRelayClient(options: {
8618
8618
  kind: "resource";
8619
8619
  default: string;
8620
8620
  source: {
8621
- provider: "domino";
8622
- resource: "point-ledger";
8623
- } | {
8624
8621
  provider: "discord";
8625
8622
  resource: "channel";
8626
8623
  types: ("text" | "announcement")[];
8624
+ } | {
8625
+ provider: "domino";
8626
+ resource: "point-ledger";
8627
8627
  } | {
8628
8628
  provider: "discord";
8629
8629
  resource: "role";
@@ -8747,7 +8747,7 @@ declare function createRelayClient(options: {
8747
8747
  id: string;
8748
8748
  createdAt: number;
8749
8749
  legacy: boolean;
8750
- lifecycle: "active" | "paused" | "archived";
8750
+ lifecycle: "paused" | "active" | "archived";
8751
8751
  key?: string | undefined;
8752
8752
  origin?: {
8753
8753
  typeVersion: string;
@@ -8814,12 +8814,12 @@ declare function createRelayClient(options: {
8814
8814
  kind: "resource";
8815
8815
  default: string;
8816
8816
  source: {
8817
- provider: "domino";
8818
- resource: "point-ledger";
8819
- } | {
8820
8817
  provider: "discord";
8821
8818
  resource: "channel";
8822
8819
  types: ("text" | "announcement")[];
8820
+ } | {
8821
+ provider: "domino";
8822
+ resource: "point-ledger";
8823
8823
  } | {
8824
8824
  provider: "discord";
8825
8825
  resource: "role";
@@ -8943,7 +8943,7 @@ declare function createRelayClient(options: {
8943
8943
  id: string;
8944
8944
  createdAt: number;
8945
8945
  legacy: boolean;
8946
- lifecycle: "active" | "paused" | "archived";
8946
+ lifecycle: "paused" | "active" | "archived";
8947
8947
  key?: string | undefined;
8948
8948
  origin?: {
8949
8949
  typeVersion: string;
@@ -9058,7 +9058,7 @@ declare function createRelayClient(options: {
9058
9058
  quest: string;
9059
9059
  member: string;
9060
9060
  evidence: string | null;
9061
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9061
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
9062
9062
  reason: string | null;
9063
9063
  retries: number;
9064
9064
  generation: number;
@@ -9381,7 +9381,7 @@ declare function createRelayClient(options: {
9381
9381
  quest: string;
9382
9382
  member: string;
9383
9383
  evidence: string | null;
9384
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9384
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
9385
9385
  reason: string | null;
9386
9386
  retries: number;
9387
9387
  generation: number;
@@ -9428,7 +9428,7 @@ declare function createRelayClient(options: {
9428
9428
  quest: string;
9429
9429
  member: string;
9430
9430
  evidence: string | null;
9431
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9431
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
9432
9432
  reason: string | null;
9433
9433
  retries: number;
9434
9434
  generation: number;
@@ -9481,7 +9481,7 @@ declare function createRelayClient(options: {
9481
9481
  quest: string;
9482
9482
  member: string;
9483
9483
  evidence: string | null;
9484
- status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review" | "failed";
9484
+ status: "failed" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "needs-review";
9485
9485
  reason: string | null;
9486
9486
  retries: number;
9487
9487
  generation: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domino-sdk/relay",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {