@domino-sdk/relay 1.56.0 → 1.60.0

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.
Files changed (65) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/dist/{accounts-DRPENuZe.d.ts → accounts-DoabriBX.d.ts} +21 -7
  3. package/dist/{attempt-captures-CxxO7DeD.d.ts → attempt-captures-W2dgzGqE.d.ts} +1 -1
  4. package/dist/authoring.d.ts +323 -39
  5. package/dist/authoring.js +312 -18
  6. package/dist/{automatic-outcomes-DxW_v5Wc.d.ts → automatic-outcomes-Cmou89IS.d.ts} +1 -1
  7. package/dist/avatar.d.ts +1 -2
  8. package/dist/browser.d.ts +19 -11
  9. package/dist/browser.js +12 -10
  10. package/dist/{capability-error-DSd8EMQC.d.ts → capability-error-DufwG3G0.d.ts} +21 -7
  11. package/dist/{chunk-OTITLABX.js → chunk-2FHNY52R.js} +8 -2
  12. package/dist/{chunk-QNQNKIAA.js → chunk-422J3QRW.js} +12 -2
  13. package/dist/{chunk-INSWI2VZ.js → chunk-4OFH4BNX.js} +1 -1
  14. package/dist/{chunk-KBVH4XZC.js → chunk-6ZG7WNYX.js} +1 -1
  15. package/dist/{chunk-BHHUSBSD.js → chunk-GBSDAD3N.js} +1627 -887
  16. package/dist/{chunk-W5U2WXG3.js → chunk-KUPVQXUJ.js} +2 -2
  17. package/dist/{chunk-G6XVBYH7.js → chunk-KWFY7L7X.js} +4 -4
  18. package/dist/{chunk-BJYMTCWG.js → chunk-MJEJQH5A.js} +18 -6
  19. package/dist/{chunk-ULQU7KC4.js → chunk-N3LJ6GFK.js} +1 -5
  20. package/dist/{chunk-ABJ4G47X.js → chunk-N7YOS4ZU.js} +1 -1
  21. package/dist/{chunk-MNU6UPXY.js → chunk-OTEUP2SG.js} +1 -1
  22. package/dist/{chunk-NK6EER33.js → chunk-VVRQQRMQ.js} +12 -12
  23. package/dist/{chunk-H2MD6E7Z.js → chunk-VWMIA2TT.js} +8 -2
  24. package/dist/{chunk-RBPMT53S.js → chunk-XQKUJL7H.js} +25 -5
  25. package/dist/{chunk-CXKXPB7K.js → chunk-Y2IGFLD2.js} +36 -11
  26. package/dist/{chunk-VSHV7FEA.js → chunk-YNW2ZUUP.js} +56 -153
  27. package/dist/{chunk-CK7HO32Z.js → chunk-YOAPPIWN.js} +2 -2
  28. package/dist/{client-bX3oTpRu.d.ts → client-Cw1pB5sv.d.ts} +121 -117
  29. package/dist/{deployments-D3lxfQMB.d.ts → deployments-DI-W7fBq.d.ts} +1105 -182
  30. package/dist/{groups-DPE004_V.d.ts → groups-9Jm3peq3.d.ts} +14 -7
  31. package/dist/index.d.ts +10 -11
  32. package/dist/index.js +9 -9
  33. package/dist/{integrations-CcD5NPEA.d.ts → integrations-CmIkP1Gi.d.ts} +48 -32
  34. package/dist/internal.d.ts +10 -10
  35. package/dist/internal.js +8 -8
  36. package/dist/{offers-CtzMeB7O.d.ts → offers-CqXfMIxq.d.ts} +7 -2
  37. package/dist/{pages-BlLqB8ZQ.d.ts → pages-Bti7g5mX.d.ts} +184 -10
  38. package/dist/{participant-activity-iciCEs_8.d.ts → participant-activity-DHL8QYks.d.ts} +4 -0
  39. package/dist/portal-proxy.js +3 -3
  40. package/dist/react/index.d.ts +74 -74
  41. package/dist/react/index.js +10 -10
  42. package/dist/runtime/authoring.js +1 -1
  43. package/dist/runtime/chunks/ADUMK6CR.js +1 -0
  44. package/dist/runtime/chunks/EWU4OKSY.js +62 -0
  45. package/dist/runtime/manifest.json +5 -5
  46. package/dist/runtime/schema.js +1 -1
  47. package/dist/runtime/zod.js +1 -1
  48. package/dist/{schema-C4m9RhCR.d.ts → schema-CwbRkmlr.d.ts} +324 -35
  49. package/dist/schema.d.ts +854 -437
  50. package/dist/schema.js +103 -25
  51. package/dist/server/index.d.ts +10 -10
  52. package/dist/server/index.js +711 -81
  53. package/dist/{submission-input-wTiYGdgA.d.ts → submission-input-D9EGH_yb.d.ts} +2 -2
  54. package/dist/{telegram-browser-Bh3i0HiH.d.ts → telegram-browser-CTJh4Ro_.d.ts} +4 -4
  55. package/dist/testing.d.ts +89 -9
  56. package/dist/testing.js +218 -13
  57. package/dist/{transport-CnKA-_RL.d.ts → transport-B8Ss5lcz.d.ts} +9189 -2009
  58. package/dist/wallet-DZWL7lJH.d.ts +972 -0
  59. package/dist/{x-1czZFVUW.d.ts → x-KFJD2x8y.d.ts} +3 -3
  60. package/package.json +2 -2
  61. package/dist/profiles-BoOK03cR.d.ts +0 -299
  62. package/dist/runtime/chunks/IDOMZWRY.js +0 -40
  63. package/dist/runtime/chunks/NDB42VFF.js +0 -1
  64. package/dist/util.d-w9f9t3ua.d.ts +0 -5
  65. package/dist/wallet-Ac7OFpOr.d.ts +0 -228
@@ -1,5 +1,6 @@
1
1
  import * as z from 'zod';
2
- import { a as AttemptStatus, cm as questDescriptionSchema, o as TrackerSkipCode } from './schema-C4m9RhCR.js';
2
+ import { a as AttemptStatus, aq as questDescriptionSchema, o as TrackerSkipCode } from './schema-CwbRkmlr.js';
3
+ import { af as SolanaIdlSource } from './wallet-DZWL7lJH.js';
3
4
 
4
5
  /**
5
6
  * The delivery actions this SDK knows. `RewardDelivery.action` is an open string: Relay can add
@@ -8,6 +9,11 @@ import { a as AttemptStatus, cm as questDescriptionSchema, o as TrackerSkipCode
8
9
  declare const RewardDeliveryAction: {
9
10
  /** Delivers a quest's Discord role reward. */
10
11
  readonly GrantRole: "grant-role";
12
+ /**
13
+ * Posts a quest's announcement in a Telegram chat or Discord channel. Its `provider` is
14
+ * `telegram` or `discord`, and its `roleId` is empty.
15
+ */
16
+ readonly PostMessage: "post-message";
11
17
  };
12
18
  /** A known action, or one a newer Relay sends. */
13
19
  type RewardDeliveryAction = (typeof RewardDeliveryAction)[keyof typeof RewardDeliveryAction] | (string & {});
@@ -199,6 +205,32 @@ declare const rewardDeliveryQuerySchema: z.ZodObject<{
199
205
  }, z.core.$strict>;
200
206
  type RewardDeliveryQuery = z.input<typeof rewardDeliveryQuerySchema>;
201
207
  type RewardDelivery = z.infer<typeof rewardDeliverySchema>;
208
+ /**
209
+ * A Discord role the project's reward deliveries grant, with every delivery of it counted, however
210
+ * old. `quests` names the quests whose completions requested it.
211
+ */
212
+ declare const discordRoleRewardSchema: z.ZodObject<{
213
+ roleId: z.ZodString;
214
+ quests: z.ZodArray<z.ZodString>;
215
+ deliveries: z.ZodObject<{
216
+ pending: z.ZodNumber;
217
+ delivered: z.ZodNumber;
218
+ failed: z.ZodNumber;
219
+ }, z.core.$strip>;
220
+ }, z.core.$strip>;
221
+ /** Every Discord role the project's reward deliveries grant, in this environment, by role ID. */
222
+ declare const discordRoleRewardsSchema: z.ZodObject<{
223
+ roles: z.ZodArray<z.ZodObject<{
224
+ roleId: z.ZodString;
225
+ quests: z.ZodArray<z.ZodString>;
226
+ deliveries: z.ZodObject<{
227
+ pending: z.ZodNumber;
228
+ delivered: z.ZodNumber;
229
+ failed: z.ZodNumber;
230
+ }, z.core.$strip>;
231
+ }, z.core.$strip>>;
232
+ }, z.core.$strip>;
233
+ type DiscordRoleReward = z.infer<typeof discordRoleRewardSchema>;
202
234
 
203
235
  declare const interactionSchema: z.ZodEnum<{
204
236
  url: "url";
@@ -304,6 +336,7 @@ declare const questTypeVersionSchema: z.ZodObject<{
304
336
  text: "text";
305
337
  announcement: "announcement";
306
338
  }>>;
339
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
307
340
  }, z.core.$strict>, z.ZodObject<{
308
341
  provider: z.ZodLiteral<"discord">;
309
342
  resource: z.ZodLiteral<"role">;
@@ -393,6 +426,19 @@ declare const questTypeVersionSchema: z.ZodObject<{
393
426
  action: z.ZodLiteral<"grant-role">;
394
427
  roleId: z.ZodString;
395
428
  }, z.core.$strict>]>>;
429
+ announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
430
+ action: z.ZodLiteral<"post-message">;
431
+ text: z.ZodString;
432
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
433
+ provider: z.ZodLiteral<"telegram">;
434
+ chat: z.ZodString;
435
+ }, z.core.$strict>, z.ZodObject<{
436
+ action: z.ZodLiteral<"post-message">;
437
+ text: z.ZodString;
438
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
439
+ provider: z.ZodLiteral<"discord">;
440
+ channel: z.ZodString;
441
+ }, z.core.$strict>], "provider">>>;
396
442
  humanReview: z.ZodBoolean;
397
443
  trigger: z.ZodUnion<readonly [z.ZodObject<{
398
444
  kind: z.ZodLiteral<"manual">;
@@ -557,6 +603,20 @@ declare const questTypeVersionSchema: z.ZodObject<{
557
603
  balance: z.ZodString;
558
604
  }, z.core.$strict>]>;
559
605
  }, z.core.$strict>>>;
606
+ authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
607
+ id: z.ZodString;
608
+ period: z.ZodEnum<{
609
+ lifetime: "lifetime";
610
+ day: "day";
611
+ week: "week";
612
+ month: "month";
613
+ }>;
614
+ limit: z.ZodNumber;
615
+ cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
616
+ balance: z.ZodString;
617
+ }, z.core.$strict>]>;
618
+ scope: z.ZodLiteral<"author">;
619
+ }, z.core.$strict>>>;
560
620
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
561
621
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
562
622
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1057,6 +1117,7 @@ declare const questCatalogSchema: z.ZodObject<{
1057
1117
  text: "text";
1058
1118
  announcement: "announcement";
1059
1119
  }>>;
1120
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
1060
1121
  }, z.core.$strict>, z.ZodObject<{
1061
1122
  provider: z.ZodLiteral<"discord">;
1062
1123
  resource: z.ZodLiteral<"role">;
@@ -1146,6 +1207,19 @@ declare const questCatalogSchema: z.ZodObject<{
1146
1207
  action: z.ZodLiteral<"grant-role">;
1147
1208
  roleId: z.ZodString;
1148
1209
  }, z.core.$strict>]>>;
1210
+ announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1211
+ action: z.ZodLiteral<"post-message">;
1212
+ text: z.ZodString;
1213
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
1214
+ provider: z.ZodLiteral<"telegram">;
1215
+ chat: z.ZodString;
1216
+ }, z.core.$strict>, z.ZodObject<{
1217
+ action: z.ZodLiteral<"post-message">;
1218
+ text: z.ZodString;
1219
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
1220
+ provider: z.ZodLiteral<"discord">;
1221
+ channel: z.ZodString;
1222
+ }, z.core.$strict>], "provider">>>;
1149
1223
  humanReview: z.ZodBoolean;
1150
1224
  trigger: z.ZodUnion<readonly [z.ZodObject<{
1151
1225
  kind: z.ZodLiteral<"manual">;
@@ -1310,6 +1384,20 @@ declare const questCatalogSchema: z.ZodObject<{
1310
1384
  balance: z.ZodString;
1311
1385
  }, z.core.$strict>]>;
1312
1386
  }, z.core.$strict>>>;
1387
+ authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1388
+ id: z.ZodString;
1389
+ period: z.ZodEnum<{
1390
+ lifetime: "lifetime";
1391
+ day: "day";
1392
+ week: "week";
1393
+ month: "month";
1394
+ }>;
1395
+ limit: z.ZodNumber;
1396
+ cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1397
+ balance: z.ZodString;
1398
+ }, z.core.$strict>]>;
1399
+ scope: z.ZodLiteral<"author">;
1400
+ }, z.core.$strict>>>;
1313
1401
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
1314
1402
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
1315
1403
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1697,6 +1785,7 @@ declare const questCatalogSchema: z.ZodObject<{
1697
1785
  text: "text";
1698
1786
  announcement: "announcement";
1699
1787
  }>>;
1788
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
1700
1789
  }, z.core.$strict>, z.ZodObject<{
1701
1790
  provider: z.ZodLiteral<"discord">;
1702
1791
  resource: z.ZodLiteral<"role">;
@@ -1786,6 +1875,19 @@ declare const questCatalogSchema: z.ZodObject<{
1786
1875
  action: z.ZodLiteral<"grant-role">;
1787
1876
  roleId: z.ZodString;
1788
1877
  }, z.core.$strict>]>>;
1878
+ announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1879
+ action: z.ZodLiteral<"post-message">;
1880
+ text: z.ZodString;
1881
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
1882
+ provider: z.ZodLiteral<"telegram">;
1883
+ chat: z.ZodString;
1884
+ }, z.core.$strict>, z.ZodObject<{
1885
+ action: z.ZodLiteral<"post-message">;
1886
+ text: z.ZodString;
1887
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
1888
+ provider: z.ZodLiteral<"discord">;
1889
+ channel: z.ZodString;
1890
+ }, z.core.$strict>], "provider">>>;
1789
1891
  humanReview: z.ZodBoolean;
1790
1892
  trigger: z.ZodUnion<readonly [z.ZodObject<{
1791
1893
  kind: z.ZodLiteral<"manual">;
@@ -1950,6 +2052,20 @@ declare const questCatalogSchema: z.ZodObject<{
1950
2052
  balance: z.ZodString;
1951
2053
  }, z.core.$strict>]>;
1952
2054
  }, z.core.$strict>>>;
2055
+ authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2056
+ id: z.ZodString;
2057
+ period: z.ZodEnum<{
2058
+ lifetime: "lifetime";
2059
+ day: "day";
2060
+ week: "week";
2061
+ month: "month";
2062
+ }>;
2063
+ limit: z.ZodNumber;
2064
+ cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2065
+ balance: z.ZodString;
2066
+ }, z.core.$strict>]>;
2067
+ scope: z.ZodLiteral<"author">;
2068
+ }, z.core.$strict>>>;
1953
2069
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
1954
2070
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
1955
2071
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2086,6 +2202,11 @@ declare const questCatalogSchema: z.ZodObject<{
2086
2202
  }, z.core.$strict>], "kind">>>;
2087
2203
  }, z.core.$strict>>;
2088
2204
  }, z.core.$strict>>;
2205
+ solanaIdls: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2206
+ program: z.ZodString;
2207
+ source: z.ZodType<SolanaIdlSource>;
2208
+ idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
2209
+ }, z.core.$strict>>>;
2089
2210
  }, z.core.$strict>>>;
2090
2211
  supportedInteractions: z.ZodArray<z.ZodEnum<{
2091
2212
  url: "url";
@@ -2216,6 +2337,7 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2216
2337
  text: "text";
2217
2338
  announcement: "announcement";
2218
2339
  }>>;
2340
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
2219
2341
  }, z.core.$strict>, z.ZodObject<{
2220
2342
  provider: z.ZodLiteral<"discord">;
2221
2343
  resource: z.ZodLiteral<"role">;
@@ -2305,6 +2427,19 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2305
2427
  action: z.ZodLiteral<"grant-role">;
2306
2428
  roleId: z.ZodString;
2307
2429
  }, z.core.$strict>]>>;
2430
+ announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2431
+ action: z.ZodLiteral<"post-message">;
2432
+ text: z.ZodString;
2433
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
2434
+ provider: z.ZodLiteral<"telegram">;
2435
+ chat: z.ZodString;
2436
+ }, z.core.$strict>, z.ZodObject<{
2437
+ action: z.ZodLiteral<"post-message">;
2438
+ text: z.ZodString;
2439
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
2440
+ provider: z.ZodLiteral<"discord">;
2441
+ channel: z.ZodString;
2442
+ }, z.core.$strict>], "provider">>>;
2308
2443
  humanReview: z.ZodBoolean;
2309
2444
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2310
2445
  kind: z.ZodLiteral<"manual">;
@@ -2469,6 +2604,20 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2469
2604
  balance: z.ZodString;
2470
2605
  }, z.core.$strict>]>;
2471
2606
  }, z.core.$strict>>>;
2607
+ authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2608
+ id: z.ZodString;
2609
+ period: z.ZodEnum<{
2610
+ lifetime: "lifetime";
2611
+ day: "day";
2612
+ week: "week";
2613
+ month: "month";
2614
+ }>;
2615
+ limit: z.ZodNumber;
2616
+ cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2617
+ balance: z.ZodString;
2618
+ }, z.core.$strict>]>;
2619
+ scope: z.ZodLiteral<"author">;
2620
+ }, z.core.$strict>>>;
2472
2621
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
2473
2622
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
2474
2623
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5180,6 +5329,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
5180
5329
  text: "text";
5181
5330
  announcement: "announcement";
5182
5331
  }>>;
5332
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
5183
5333
  }, z.core.$strict>, z.ZodObject<{
5184
5334
  provider: z.ZodLiteral<"discord">;
5185
5335
  resource: z.ZodLiteral<"role">;
@@ -5269,6 +5419,19 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
5269
5419
  action: z.ZodLiteral<"grant-role">;
5270
5420
  roleId: z.ZodString;
5271
5421
  }, z.core.$strict>]>>;
5422
+ announcements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5423
+ action: z.ZodLiteral<"post-message">;
5424
+ text: z.ZodString;
5425
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
5426
+ provider: z.ZodLiteral<"telegram">;
5427
+ chat: z.ZodString;
5428
+ }, z.core.$strict>, z.ZodObject<{
5429
+ action: z.ZodLiteral<"post-message">;
5430
+ text: z.ZodString;
5431
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
5432
+ provider: z.ZodLiteral<"discord">;
5433
+ channel: z.ZodString;
5434
+ }, z.core.$strict>], "provider">>>;
5272
5435
  humanReview: z.ZodBoolean;
5273
5436
  trigger: z.ZodUnion<readonly [z.ZodObject<{
5274
5437
  kind: z.ZodLiteral<"manual">;
@@ -5433,6 +5596,20 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
5433
5596
  balance: z.ZodString;
5434
5597
  }, z.core.$strict>]>;
5435
5598
  }, z.core.$strict>>>;
5599
+ authorBudgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
5600
+ id: z.ZodString;
5601
+ period: z.ZodEnum<{
5602
+ lifetime: "lifetime";
5603
+ day: "day";
5604
+ week: "week";
5605
+ month: "month";
5606
+ }>;
5607
+ limit: z.ZodNumber;
5608
+ cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
5609
+ balance: z.ZodString;
5610
+ }, z.core.$strict>]>;
5611
+ scope: z.ZodLiteral<"author">;
5612
+ }, z.core.$strict>>>;
5436
5613
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
5437
5614
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
5438
5615
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5569,6 +5746,11 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
5569
5746
  }, z.core.$strict>], "kind">>>;
5570
5747
  }, z.core.$strict>>;
5571
5748
  }, z.core.$strict>>;
5749
+ solanaIdls: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5750
+ program: z.ZodString;
5751
+ source: z.ZodType<SolanaIdlSource>;
5752
+ idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
5753
+ }, z.core.$strict>>>;
5572
5754
  }, z.core.$strict>>;
5573
5755
  affectedCollections: z.ZodArray<z.ZodObject<{
5574
5756
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -5690,13 +5872,11 @@ declare const contentQualificationDecisionSchema: z.ZodObject<{
5690
5872
  declare const contentQualificationQuerySchema: z.ZodObject<{
5691
5873
  quest: z.ZodString;
5692
5874
  member: z.ZodOptional<z.ZodString>;
5693
- /** A content item's record ID in the quest's tracker. */
5694
5875
  content: z.ZodOptional<z.ZodString>;
5695
5876
  cursor: z.ZodOptional<z.ZodString>;
5696
5877
  }, z.core.$strict>;
5697
5878
  declare const contentQualificationSchema: z.ZodObject<{
5698
5879
  quest: z.ZodString;
5699
- /** The content item's record ID in the quest's tracker. */
5700
5880
  content: z.ZodString;
5701
5881
  member: z.ZodString;
5702
5882
  release: z.ZodString;
@@ -5729,7 +5909,6 @@ declare const contentQualificationSchema: z.ZodObject<{
5729
5909
  declare const contentQualificationPageSchema: z.ZodObject<{
5730
5910
  items: z.ZodArray<z.ZodObject<{
5731
5911
  quest: z.ZodString;
5732
- /** The content item's record ID in the quest's tracker. */
5733
5912
  content: z.ZodString;
5734
5913
  member: z.ZodString;
5735
5914
  release: z.ZodString;
@@ -5776,7 +5955,6 @@ type ContentPerformancePolicy = z.infer<typeof contentPerformancePolicySchema>;
5776
5955
  /** `relay.quests.enroll()`: the signed-in member enrolls in a quest that requires enrollment. */
5777
5956
  declare const questEnrollmentInputSchema: z.ZodObject<{
5778
5957
  actionId: z.ZodString;
5779
- /** Quest key or ID. */
5780
5958
  quest: z.ZodString;
5781
5959
  }, z.core.$strict>;
5782
5960
  type QuestEnrollmentInput = z.input<typeof questEnrollmentInputSchema>;
@@ -5804,9 +5982,7 @@ type QuestEnrollment = z.infer<typeof questEnrollmentSchema>;
5804
5982
  */
5805
5983
  declare const questClaimInputSchema: z.ZodObject<{
5806
5984
  actionId: z.ZodString;
5807
- /** Quest key or ID. */
5808
5985
  quest: z.ZodString;
5809
- /** The outcome's tracker, as `QuestOutcome.tracker` names it. */
5810
5986
  tracker: z.ZodString;
5811
5987
  record: z.ZodString;
5812
5988
  observedAt: z.ZodNumber;
@@ -5849,13 +6025,11 @@ declare const questOutcomeSchema: z.ZodObject<{
5849
6025
  type QuestOutcome = z.infer<typeof questOutcomeSchema>;
5850
6026
  /** `relay.quests.outcomes()`: newest first, optionally one quest, state or code. */
5851
6027
  declare const questOutcomeQuerySchema: z.ZodObject<{
5852
- /** Quest key or ID. */
5853
6028
  quest: z.ZodOptional<z.ZodString>;
5854
6029
  state: z.ZodOptional<z.ZodEnum<{
5855
6030
  admitted: "admitted";
5856
6031
  skipped: "skipped";
5857
6032
  }>>;
5858
- /** Only skips with this code, such as `historical`. */
5859
6033
  code: z.ZodOptional<z.ZodString>;
5860
6034
  cursor: z.ZodOptional<z.ZodString>;
5861
6035
  }, z.core.$strict>;
@@ -5919,4 +6093,4 @@ declare const managementStateQuerySchema: z.ZodObject<{
5919
6093
  }, z.core.$strict>;
5920
6094
  type ManagementStateQuery = z.input<typeof managementStateQuerySchema>;
5921
6095
 
5922
- export { pageQuerySchema as $, allocatedQuestSchema as A, catalogDeploymentPreviewSchema as B, type CreatorAccount as C, catalogDeploymentSchema as D, collectionSlotDeclarationSchema as E, collectionSlotSchema as F, collectionViewSchema as G, contentMetricSchema as H, contentMetricsSchema as I, contentPerformancePolicySchema as J, contentQualificationDecisionSchema as K, contentQualificationPageSchema as L, type ManagementStateQuery as M, contentQualificationSchema as N, creatorAccountProviderSchema as O, type Page as P, type QuestClaimInput as Q, type ResponseResult as R, creatorAccountSchema as S, creatorAccountsSchema as T, type UnsupportedResponse as U, interactionSchema as V, knownCreatorAccountProviders as W, knownRewardDeliverySchema as X, managementStateQuerySchema as Y, memberEnrollmentInputSchema as Z, pageCursorSchema as _, type CreatorAccountProvider as a, publishQuestDraftSchema as a0, questCatalogSchema as a1, questClaimInputSchema as a2, questCollectionSchema as a3, questDraftChangesSchema as a4, questDraftSchema as a5, questEnrollmentInputSchema as a6, questEnrollmentSchema as a7, questInstanceSchema as a8, questInteraction as a9, questOutcomePageSchema as aa, questOutcomeQuerySchema as ab, questOutcomeSchema as ac, questPublicationPreviewSchema as ad, questRewardViewSchema as ae, questTypeVersionSchema as af, questViewSchema as ag, responseListSchema as ah, responseSchema as ai, responseShape as aj, rewardDeliveriesSchema as ak, rewardDeliveryQuerySchema as al, rewardDeliverySchema as am, roleReconciliationSchema as an, saveQuestDraftSchema as ao, type CreatorAccounts as b, type PageQuery as c, type QuestEnrollment as d, type QuestEnrollmentInput as e, type QuestInteraction as f, type QuestOutcome as g, type QuestOutcomePage as h, type QuestOutcomeQuery as i, QuestOutcomeState as j, type QuestRewardView as k, type QuestView as l, type ResponseSchema as m, type RewardDeliveryQuery as n, RewardDeliveryAction as o, paginate as p, questExperienceSchema as q, contentQualificationQuerySchema as r, type ContentMetric as s, type ContentPerformancePolicy as t, type MemberEnrollmentInput as u, type QuestCatalog as v, type QuestDraft as w, type QuestInstance as x, type RewardDelivery as y, allocateQuestSchema as z };
6096
+ export { managementStateQuerySchema as $, allocatedQuestSchema as A, catalogDeploymentPreviewSchema as B, type CreatorAccount as C, type DiscordRoleReward as D, catalogDeploymentSchema as E, collectionSlotDeclarationSchema as F, collectionSlotSchema as G, collectionViewSchema as H, contentMetricSchema as I, contentMetricsSchema as J, contentPerformancePolicySchema as K, contentQualificationDecisionSchema as L, type ManagementStateQuery as M, contentQualificationPageSchema as N, contentQualificationSchema as O, type Page as P, type QuestClaimInput as Q, type ResponseResult as R, creatorAccountProviderSchema as S, creatorAccountSchema as T, type UnsupportedResponse as U, creatorAccountsSchema as V, discordRoleRewardSchema as W, discordRoleRewardsSchema as X, interactionSchema as Y, knownCreatorAccountProviders as Z, knownRewardDeliverySchema as _, type CreatorAccountProvider as a, memberEnrollmentInputSchema as a0, pageCursorSchema as a1, pageQuerySchema as a2, publishQuestDraftSchema as a3, questCatalogSchema as a4, questClaimInputSchema as a5, questCollectionSchema as a6, questDraftChangesSchema as a7, questDraftSchema as a8, questEnrollmentInputSchema as a9, questEnrollmentSchema as aa, questInstanceSchema as ab, questInteraction as ac, questOutcomePageSchema as ad, questOutcomeQuerySchema as ae, questOutcomeSchema as af, questPublicationPreviewSchema as ag, questRewardViewSchema as ah, questTypeVersionSchema as ai, questViewSchema as aj, responseListSchema as ak, responseSchema as al, responseShape as am, rewardDeliveriesSchema as an, rewardDeliveryQuerySchema as ao, rewardDeliverySchema as ap, roleReconciliationSchema as aq, saveQuestDraftSchema as ar, type CreatorAccounts as b, type PageQuery as c, type QuestEnrollment as d, type QuestEnrollmentInput as e, type QuestInteraction as f, type QuestOutcome as g, type QuestOutcomePage as h, type QuestOutcomeQuery as i, QuestOutcomeState as j, type QuestRewardView as k, type QuestView as l, type ResponseSchema as m, type RewardDeliveryQuery as n, RewardDeliveryAction as o, paginate as p, questExperienceSchema as q, contentQualificationQuerySchema as r, type ContentMetric as s, type ContentPerformancePolicy as t, type MemberEnrollmentInput as u, type QuestCatalog as v, type QuestDraft as w, type QuestInstance as x, type RewardDelivery as y, allocateQuestSchema as z };
@@ -94,6 +94,10 @@ declare const memberSummarySchema: z.ZodObject<{
94
94
  avatarSeed: z.ZodString;
95
95
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
96
  emails: z.ZodOptional<z.ZodArray<z.ZodString>>;
97
+ clock: z.ZodOptional<z.ZodObject<{
98
+ now: z.ZodNumber;
99
+ offsetMs: z.ZodNumber;
100
+ }, z.core.$strip>>;
97
101
  }, z.core.$strip>;
98
102
  type MemberSummary = z.infer<typeof memberSummarySchema>;
99
103
  declare const exchangeSchema: z.ZodObject<{
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-MHPKEVEW.js";
4
4
  import {
5
5
  clientIdentity
6
- } from "./chunk-ABJ4G47X.js";
6
+ } from "./chunk-N7YOS4ZU.js";
7
7
  import {
8
8
  exchangeResultSchema,
9
9
  participantPrincipalSchema,
10
10
  sessionMember
11
- } from "./chunk-QNQNKIAA.js";
12
- import "./chunk-BHHUSBSD.js";
11
+ } from "./chunk-422J3QRW.js";
12
+ import "./chunk-GBSDAD3N.js";
13
13
 
14
14
  // src/portal-proxy.ts
15
15
  import * as z from "zod";