@domino-sdk/relay 1.59.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 (60) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/{accounts-CVonEkdb.d.ts → accounts-DoabriBX.d.ts} +4 -1
  3. package/dist/{attempt-captures-DBj-rxak.d.ts → attempt-captures-W2dgzGqE.d.ts} +1 -1
  4. package/dist/authoring.d.ts +160 -28
  5. package/dist/authoring.js +83 -14
  6. package/dist/{automatic-outcomes-FS9okvBP.d.ts → automatic-outcomes-Cmou89IS.d.ts} +1 -1
  7. package/dist/avatar.d.ts +1 -1
  8. package/dist/browser.d.ts +19 -10
  9. package/dist/browser.js +12 -10
  10. package/dist/{capability-error-DDJl0LY-.d.ts → capability-error-DufwG3G0.d.ts} +21 -1
  11. package/dist/{chunk-2LKGAL63.js → chunk-2FHNY52R.js} +8 -2
  12. package/dist/{chunk-EQF4ID47.js → chunk-422J3QRW.js} +12 -2
  13. package/dist/{chunk-KYUQEZZA.js → chunk-4OFH4BNX.js} +1 -1
  14. package/dist/{chunk-R4S6BFOH.js → chunk-6ZG7WNYX.js} +1 -1
  15. package/dist/{chunk-AWWCEP7F.js → chunk-GBSDAD3N.js} +811 -592
  16. package/dist/{chunk-YRSU2X2P.js → chunk-KUPVQXUJ.js} +2 -2
  17. package/dist/{chunk-LDLOB2UZ.js → chunk-KWFY7L7X.js} +4 -4
  18. package/dist/{chunk-UEMLYPKJ.js → chunk-MJEJQH5A.js} +13 -4
  19. package/dist/{chunk-W42KMMH5.js → chunk-N3LJ6GFK.js} +1 -1
  20. package/dist/{chunk-TZJT5CRF.js → chunk-N7YOS4ZU.js} +1 -1
  21. package/dist/{chunk-KBCTII6C.js → chunk-OTEUP2SG.js} +1 -1
  22. package/dist/{chunk-577DG2IT.js → chunk-VVRQQRMQ.js} +12 -12
  23. package/dist/{chunk-YMWRLAAP.js → chunk-VWMIA2TT.js} +8 -2
  24. package/dist/{chunk-6U5WWH3W.js → chunk-XQKUJL7H.js} +9 -4
  25. package/dist/{chunk-M2JQPDUX.js → chunk-Y2IGFLD2.js} +9 -9
  26. package/dist/chunk-YNW2ZUUP.js +247 -0
  27. package/dist/{chunk-IBROKMFV.js → chunk-YOAPPIWN.js} +1 -1
  28. package/dist/{client-3b9HjSzZ.d.ts → client-Cw1pB5sv.d.ts} +12 -7
  29. package/dist/{deployments-BydFVj4Q.d.ts → deployments-DI-W7fBq.d.ts} +786 -2
  30. package/dist/{groups-CFuTfFqG.d.ts → groups-9Jm3peq3.d.ts} +4 -1
  31. package/dist/index.d.ts +10 -10
  32. package/dist/index.js +9 -9
  33. package/dist/{integrations-DrbKQSTD.d.ts → integrations-CmIkP1Gi.d.ts} +48 -3
  34. package/dist/internal.d.ts +10 -10
  35. package/dist/internal.js +8 -8
  36. package/dist/{offers-DAfe1O3_.d.ts → offers-CqXfMIxq.d.ts} +3 -2
  37. package/dist/{pages-ChDVLrgR.d.ts → pages-Bti7g5mX.d.ts} +147 -2
  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 +15 -14
  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/manifest.json +3 -3
  45. package/dist/runtime/schema.js +1 -1
  46. package/dist/{schema-BA0nRRlt.d.ts → schema-CwbRkmlr.d.ts} +142 -2
  47. package/dist/schema.d.ts +112 -17
  48. package/dist/schema.js +35 -21
  49. package/dist/server/index.d.ts +10 -10
  50. package/dist/server/index.js +292 -41
  51. package/dist/{submission-input-DxQ6RnKo.d.ts → submission-input-D9EGH_yb.d.ts} +2 -2
  52. package/dist/{telegram-browser-o3OIxGrJ.d.ts → telegram-browser-CTJh4Ro_.d.ts} +4 -4
  53. package/dist/testing.d.ts +7 -7
  54. package/dist/testing.js +8 -8
  55. package/dist/{transport-D_Eqf78J.d.ts → transport-B8Ss5lcz.d.ts} +5331 -118
  56. package/dist/{wallet-B06zvDXp.d.ts → wallet-DZWL7lJH.d.ts} +1 -1
  57. package/dist/{x-C28SNifw.d.ts → x-KFJD2x8y.d.ts} +2 -2
  58. package/package.json +1 -1
  59. package/dist/chunk-XGXDINGM.js +0 -357
  60. package/dist/runtime/chunks/BG43KQ2T.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import * as z from 'zod';
2
- import { g as PointEntryKind, y as ResourceHandle, G as GroupHandle } from './schema-BA0nRRlt.js';
2
+ import { g as PointEntryKind, y as ResourceHandle, G as GroupHandle } from './schema-CwbRkmlr.js';
3
3
 
4
4
  type AuthoringIdentity = {
5
5
  key: string;
@@ -2412,6 +2412,7 @@ declare const referralRelationshipSchema: z.ZodObject<{
2412
2412
  inviter: z.ZodString;
2413
2413
  acceptedAt: z.ZodNumber;
2414
2414
  suspended: z.ZodBoolean;
2415
+ import: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2415
2416
  }, z.core.$strip>;
2416
2417
  declare const referralAccountSchema: z.ZodObject<{
2417
2418
  id: z.ZodString;
@@ -2581,12 +2582,14 @@ declare const referralManagementSchema: z.ZodObject<{
2581
2582
  inviter: z.ZodString;
2582
2583
  acceptedAt: z.ZodNumber;
2583
2584
  suspended: z.ZodBoolean;
2585
+ import: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2584
2586
  }, z.core.$strip>>;
2585
2587
  qualifications: z.ZodArray<z.ZodObject<{
2586
2588
  member: z.ZodString;
2587
2589
  program: z.ZodString;
2588
2590
  qualified: z.ZodBoolean;
2589
2591
  qualifiedAt: z.ZodNumber;
2592
+ import: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2590
2593
  }, z.core.$strip>>;
2591
2594
  accounts: z.ZodArray<z.ZodObject<{
2592
2595
  id: z.ZodString;
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- export { B as Badge, M as ManagedBadge, a as MemberBadge, b as MemberBadges, O as Offer, c as OfferDefinition, d as OfferPrice, R as RedeemOfferInput, e as Redemption } from './offers-DAfe1O3_.js';
1
+ export { B as Badge, M as ManagedBadge, a as MemberBadge, b as MemberBadges, O as Offer, c as OfferDefinition, d as OfferPrice, R as RedeemOfferInput, e as Redemption } from './offers-CqXfMIxq.js';
2
2
  export { R as RelayAction, a as RequestError, b as RequestErrorDetails, c as RequestErrorKind, d as RequestRecovery, e as createRelayAction, i as isRequestError } from './action-DBzILFx9.js';
3
- export { A as AuthStartInput, C as ClaimSubmission, E as EmailVerification, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionCallOptions, m as SubmissionDraft, n as SubmissionStatus, o as SubmissionStore, V as ValueSubmission, p as createRelayClient, q as isRelayError } from './client-3b9HjSzZ.js';
4
- export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownPointEntryKind, d as KnownTrackerSkipCode, M as MemberProgress, P as PointBalance, e as PointBalances, f as PointEntry, g as PointEntryKind, h as PointHistoryPage, i as PointHistoryQuery, j as PointLedgerReference, Q as QuestBudgetView, k as QuestPresentation, l as QuestProfile, m as QuizEvidence, R as Reward, S as SubmissionEvidence, n as SubmitInput, T as TieredRewardReference, o as TrackerSkipCode } from './schema-BA0nRRlt.js';
3
+ export { A as AuthStartInput, C as ClaimSubmission, E as EmailVerification, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionCallOptions, m as SubmissionDraft, n as SubmissionStatus, o as SubmissionStore, V as ValueSubmission, p as createRelayClient, q as isRelayError } from './client-Cw1pB5sv.js';
4
+ export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownPointEntryKind, d as KnownTrackerSkipCode, M as MemberProgress, P as PointBalance, e as PointBalances, f as PointEntry, g as PointEntryKind, h as PointHistoryPage, i as PointHistoryQuery, j as PointLedgerReference, Q as QuestBudgetView, k as QuestPresentation, l as QuestProfile, m as QuizEvidence, R as Reward, S as SubmissionEvidence, n as SubmitInput, T as TieredRewardReference, o as TrackerSkipCode } from './schema-CwbRkmlr.js';
5
5
  export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
6
- export { C as CreatorAccount, a as CreatorAccountProvider, b as CreatorAccounts, P as Page, c as PageQuery, Q as QuestClaimInput, d as QuestEnrollment, e as QuestEnrollmentInput, f as QuestInteraction, g as QuestOutcome, h as QuestOutcomePage, i as QuestOutcomeQuery, j as QuestOutcomeState, k as QuestRewardView, l as QuestView, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './pages-ChDVLrgR.js';
7
- export { A as AccountConnection, a as AuthProvider, T as TelegramAccountConnection, b as TelegramSignInMethods } from './accounts-CVonEkdb.js';
8
- export { E as ExchangeInput, M as MemberSummary, P as ParticipantActivity, a as ParticipantPrincipal, b as ParticipantSession, R as RelayEvent, S as Session, s as sessionMember } from './participant-activity-iciCEs_8.js';
9
- export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, L as LeaderboardDefinition, e as LeaderboardHistoryPage, f as LeaderboardHistoryQuery, g as LeaderboardPage, h as LeaderboardPlacement, i as LeaderboardQuery, M as MemberCampaignEnrollmentInput, j as MemberCampaignWithdrawalInput, P as ProjectGroup, k as ProjectGroupReference, R as ReferralDefinition } from './groups-CFuTfFqG.js';
10
- export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-FS9okvBP.js';
11
- export { M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, a as TextOptions, U as UrlEvidence, b as UrlOptions, V as ValueEvidence } from './submission-input-DxQ6RnKo.js';
12
- export { A as AvatarProvider, C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, O as OwnProfile, P as ProfileAvatar, b as ProfileCompletion, c as ProfileCompletionPage, d as ProfileCompletionQuery, e as ProfileReferral, f as ProfileSummary, g as ProfileUpdate, h as ProfileVisibility, W as WalletAddressInput, i as WalletChain, j as WalletMessageChallenge, k as WalletSignInNetwork, l as WalletSignature, m as WalletSigner, n as WalletUnlinkInput } from './wallet-B06zvDXp.js';
6
+ export { C as CreatorAccount, a as CreatorAccountProvider, b as CreatorAccounts, P as Page, c as PageQuery, Q as QuestClaimInput, d as QuestEnrollment, e as QuestEnrollmentInput, f as QuestInteraction, g as QuestOutcome, h as QuestOutcomePage, i as QuestOutcomeQuery, j as QuestOutcomeState, k as QuestRewardView, l as QuestView, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './pages-Bti7g5mX.js';
7
+ export { A as AccountConnection, a as AuthProvider, T as TelegramAccountConnection, b as TelegramSignInMethods } from './accounts-DoabriBX.js';
8
+ export { E as ExchangeInput, M as MemberSummary, P as ParticipantActivity, a as ParticipantPrincipal, b as ParticipantSession, R as RelayEvent, S as Session, s as sessionMember } from './participant-activity-DHL8QYks.js';
9
+ export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, L as LeaderboardDefinition, e as LeaderboardHistoryPage, f as LeaderboardHistoryQuery, g as LeaderboardPage, h as LeaderboardPlacement, i as LeaderboardQuery, M as MemberCampaignEnrollmentInput, j as MemberCampaignWithdrawalInput, P as ProjectGroup, k as ProjectGroupReference, R as ReferralDefinition } from './groups-9Jm3peq3.js';
10
+ export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-Cmou89IS.js';
11
+ export { M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, a as TextOptions, U as UrlEvidence, b as UrlOptions, V as ValueEvidence } from './submission-input-D9EGH_yb.js';
12
+ export { A as AvatarProvider, C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, O as OwnProfile, P as ProfileAvatar, b as ProfileCompletion, c as ProfileCompletionPage, d as ProfileCompletionQuery, e as ProfileReferral, f as ProfileSummary, g as ProfileUpdate, h as ProfileVisibility, W as WalletAddressInput, i as WalletChain, j as WalletMessageChallenge, k as WalletSignInNetwork, l as WalletSignature, m as WalletSigner, n as WalletUnlinkInput } from './wallet-DZWL7lJH.js';
13
13
  export { Q as QuizContent, S as StreakProgress } from './streaks-0YuipsUQ.js';
14
14
  export { P as ParticipantDelivery } from './participant-rewards-BcWkBRn_.js';
15
15
  import 'zod';
package/dist/index.js CHANGED
@@ -5,22 +5,22 @@ import {
5
5
  import {
6
6
  QuestUpdatedError,
7
7
  createRelayClient
8
- } from "./chunk-577DG2IT.js";
8
+ } from "./chunk-VVRQQRMQ.js";
9
9
  import {
10
10
  createRelayAction
11
- } from "./chunk-KYUQEZZA.js";
11
+ } from "./chunk-4OFH4BNX.js";
12
12
  import {
13
13
  QuestOutcomeState
14
- } from "./chunk-6U5WWH3W.js";
15
- import "./chunk-UEMLYPKJ.js";
14
+ } from "./chunk-XQKUJL7H.js";
15
+ import "./chunk-MJEJQH5A.js";
16
16
  import {
17
17
  PointEntryKind
18
- } from "./chunk-XGXDINGM.js";
19
- import "./chunk-R4S6BFOH.js";
20
- import "./chunk-TZJT5CRF.js";
18
+ } from "./chunk-YNW2ZUUP.js";
19
+ import "./chunk-6ZG7WNYX.js";
20
+ import "./chunk-N7YOS4ZU.js";
21
21
  import {
22
22
  sessionMember
23
- } from "./chunk-EQF4ID47.js";
23
+ } from "./chunk-422J3QRW.js";
24
24
  import {
25
25
  AttemptStatus,
26
26
  RelayError,
@@ -29,7 +29,7 @@ import {
29
29
  isRelayError,
30
30
  isRequestError,
31
31
  paginate
32
- } from "./chunk-AWWCEP7F.js";
32
+ } from "./chunk-GBSDAD3N.js";
33
33
  export {
34
34
  AttemptStatus,
35
35
  PointEntryKind,
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
- import { H as WalletBalanceQuery } from './wallet-B06zvDXp.js';
3
- import { y as ResourceHandle } from './schema-BA0nRRlt.js';
2
+ import { H as WalletBalanceQuery } from './wallet-DZWL7lJH.js';
3
+ import { y as ResourceHandle } from './schema-CwbRkmlr.js';
4
4
  import { A as AnalyticsMetricId, a as analyticsCatalog } from './analytics-URV-mxjH.js';
5
5
 
6
6
  declare const resourceSourceSchema: z.ZodUnion<readonly [z.ZodObject<{
@@ -13,6 +13,7 @@ declare const resourceSourceSchema: z.ZodUnion<readonly [z.ZodObject<{
13
13
  text: "text";
14
14
  announcement: "announcement";
15
15
  }>>;
16
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
16
17
  }, z.core.$strict>, z.ZodObject<{
17
18
  provider: z.ZodLiteral<"discord">;
18
19
  resource: z.ZodLiteral<"role">;
@@ -30,6 +31,7 @@ declare const resourceRequestSchema: z.ZodObject<{
30
31
  text: "text";
31
32
  announcement: "announcement";
32
33
  }>>;
34
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
33
35
  }, z.core.$strict>, z.ZodObject<{
34
36
  provider: z.ZodLiteral<"discord">;
35
37
  resource: z.ZodLiteral<"role">;
@@ -76,6 +78,7 @@ declare const settingFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
76
78
  text: "text";
77
79
  announcement: "announcement";
78
80
  }>>;
81
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
79
82
  }, z.core.$strict>, z.ZodObject<{
80
83
  provider: z.ZodLiteral<"discord">;
81
84
  resource: z.ZodLiteral<"role">;
@@ -149,6 +152,7 @@ declare const settingsFieldsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedU
149
152
  text: "text";
150
153
  announcement: "announcement";
151
154
  }>>;
155
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
152
156
  }, z.core.$strict>, z.ZodObject<{
153
157
  provider: z.ZodLiteral<"discord">;
154
158
  resource: z.ZodLiteral<"role">;
@@ -562,6 +566,47 @@ declare function defineDashboard(input: DashboardInput): {
562
566
  position?: number | undefined;
563
567
  } & ResourceHandle<"dashboard">;
564
568
 
569
+ /**
570
+ * An announcement's text, at most 1000 characters, with `{placeholder}`s (`announcementPlaceholders`)
571
+ * that Relay fills when it posts. `{{` and `}}` are literal braces.
572
+ */
573
+ declare const announcementTextSchema: z.ZodString;
574
+ /** An announcement Domino's bot posts in one of the project's connected Telegram chats. */
575
+ declare const telegramAnnouncementSchema: z.ZodObject<{
576
+ action: z.ZodLiteral<"post-message">;
577
+ text: z.ZodString;
578
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
579
+ provider: z.ZodLiteral<"telegram">;
580
+ chat: z.ZodString;
581
+ }, z.core.$strict>;
582
+ /** An announcement Domino's bot posts in a channel of the project's connected Discord server. */
583
+ declare const discordAnnouncementSchema: z.ZodObject<{
584
+ action: z.ZodLiteral<"post-message">;
585
+ text: z.ZodString;
586
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
587
+ provider: z.ZodLiteral<"discord">;
588
+ channel: z.ZodString;
589
+ }, z.core.$strict>;
590
+ /**
591
+ * A message Relay posts when a completion of the quest pays, after its rewards commit. A failed
592
+ * post never undoes the rewards. Build one with `telegram.postMessage()` or
593
+ * `discord.postMessage()`.
594
+ */
595
+ declare const announcementSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
596
+ action: z.ZodLiteral<"post-message">;
597
+ text: z.ZodString;
598
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
599
+ provider: z.ZodLiteral<"telegram">;
600
+ chat: z.ZodString;
601
+ }, z.core.$strict>, z.ZodObject<{
602
+ action: z.ZodLiteral<"post-message">;
603
+ text: z.ZodString;
604
+ replyToTriggeringMessage: z.ZodOptional<z.ZodBoolean>;
605
+ provider: z.ZodLiteral<"discord">;
606
+ channel: z.ZodString;
607
+ }, z.core.$strict>], "provider">;
608
+ type Announcement = z.infer<typeof announcementSchema>;
609
+
565
610
  /** Modules a quest can declare to enable provider readers. Project connections are separate. */
566
611
  declare const evaluatorIntegrationProviderSchema: z.ZodEnum<{
567
612
  discord: "discord";
@@ -601,4 +646,4 @@ declare const projectIntegrationSchema: z.ZodObject<{
601
646
  }, z.core.$strip>;
602
647
  type ProjectIntegration = z.infer<typeof projectIntegrationSchema>;
603
648
 
604
- export { tiktokVideoMetrics as $, type AmountSetting as A, type BalanceChain as B, evaluatorIntegrationProviderSchema as C, type DashboardInput as D, type EvaluatorIntegrationProvider as E, integrationProviderSchema as F, isAmount as G, isBalanceChain as H, type IntegrationModule as I, isBoundSetting as J, missingResourceSettings as K, normalizeDashboard as L, parseSettings as M, projectIntegrationSchema as N, resourceOptionsSchema as O, type ProjectIntegration as P, resourceRequestSchema as Q, type ResourceSource as R, type Setting as S, type TikTokVideoBody as T, resourceSourceSchema as U, settingFieldSchema as V, settingsFieldsSchema as W, settingsValuesSchema as X, type YouTubeShortBody as Y, textSettingSchema as Z, tiktokVideoBodySchema as _, type BoundSettings as a, youtubeShortBodySchema as a0, youtubeShortMetrics as a1, type DashboardPanelInput as b, type TikTokVideoMetric as c, type YouTubeShortMetric as d, defineDashboard as e, type DashboardAuthoring as f, type DashboardDefinition as g, type DashboardIssue as h, type DashboardPanel as i, type DashboardPreview as j, type IntegerSettings as k, type IntegrationProvider as l, type ResourceOption as m, type SettingField as n, type SettingsValues as o, compatibleSettingKinds as p, dashboardArtifactSchema as q, dashboardAuthoringSchema as r, dashboardDefinitionSchema as s, dashboardIssue as t, dashboardLimits as u, dashboardPanelAuthoringSchema as v, dashboardPanels as w, dashboardPreviewSchema as x, defaultPanelWidths as y, discordServerSchema as z };
649
+ export { settingsFieldsSchema as $, type AmountSetting as A, type BalanceChain as B, dashboardPreviewSchema as C, type DashboardInput as D, type EvaluatorIntegrationProvider as E, defaultPanelWidths as F, discordAnnouncementSchema as G, discordServerSchema as H, type IntegrationModule as I, evaluatorIntegrationProviderSchema as J, integrationProviderSchema as K, isAmount as L, isBalanceChain as M, isBoundSetting as N, missingResourceSettings as O, type ProjectIntegration as P, normalizeDashboard as Q, type ResourceSource as R, type Setting as S, type TikTokVideoBody as T, parseSettings as U, projectIntegrationSchema as V, resourceOptionsSchema as W, resourceRequestSchema as X, type YouTubeShortBody as Y, resourceSourceSchema as Z, settingFieldSchema as _, type BoundSettings as a, settingsValuesSchema as a0, telegramAnnouncementSchema as a1, textSettingSchema as a2, tiktokVideoBodySchema as a3, tiktokVideoMetrics as a4, youtubeShortBodySchema as a5, youtubeShortMetrics as a6, type Announcement as b, type DashboardPanelInput as c, type TikTokVideoMetric as d, type YouTubeShortMetric as e, defineDashboard as f, type DashboardAuthoring as g, type DashboardDefinition as h, type DashboardIssue as i, type DashboardPanel as j, type DashboardPreview as k, type IntegerSettings as l, type IntegrationProvider as m, type ResourceOption as n, type SettingField as o, type SettingsValues as p, announcementSchema as q, announcementTextSchema as r, compatibleSettingKinds as s, dashboardArtifactSchema as t, dashboardAuthoringSchema as u, dashboardDefinitionSchema as v, dashboardIssue as w, dashboardLimits as x, dashboardPanelAuthoringSchema as y, dashboardPanels as z };
@@ -1,17 +1,17 @@
1
- export { I as IdentityKindClaim, M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, m as managementTransport, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, v as validateQuestShape } from './transport-D_Eqf78J.js';
2
- export { E as Extracted } from './x-C28SNifw.js';
1
+ export { I as IdentityKindClaim, M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, m as managementTransport, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, v as validateQuestShape } from './transport-B8Ss5lcz.js';
2
+ export { E as Extracted } from './x-KFJD2x8y.js';
3
3
  import { c as RequestErrorKind } from './action-DBzILFx9.js';
4
- export { p as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, q as trackerDataIssue, r as trackerDataIssues, u as trackerDataPathTypes, v as trackerDataRecordSteps, w as whereSchemaIssue } from './schema-BA0nRRlt.js';
4
+ export { p as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, q as trackerDataIssue, r as trackerDataIssues, u as trackerDataPathTypes, v as trackerDataRecordSteps, w as whereSchemaIssue } from './schema-CwbRkmlr.js';
5
5
  export { H as HostEnvironment, h as hostEnvironmentPath, a as hostEnvironmentSchema } from './host-environment-FN4zg3hw.js';
6
6
  import 'zod';
7
- import './pages-ChDVLrgR.js';
8
- import './wallet-B06zvDXp.js';
9
- import './offers-DAfe1O3_.js';
10
- import './groups-CFuTfFqG.js';
11
- import './automatic-outcomes-FS9okvBP.js';
12
- import './attempt-captures-DBj-rxak.js';
7
+ import './pages-Bti7g5mX.js';
8
+ import './wallet-DZWL7lJH.js';
9
+ import './offers-CqXfMIxq.js';
10
+ import './groups-9Jm3peq3.js';
11
+ import './automatic-outcomes-Cmou89IS.js';
12
+ import './attempt-captures-W2dgzGqE.js';
13
13
  import './analytics-URV-mxjH.js';
14
- import './deployments-BydFVj4Q.js';
14
+ import './deployments-DI-W7fBq.js';
15
15
 
16
16
  /** The management client's and the CLI's default deadline per call. */
17
17
  declare const MANAGEMENT_TIMEOUT = 30000;
package/dist/internal.js CHANGED
@@ -9,17 +9,17 @@ import {
9
9
  participantExchangeSchema,
10
10
  questConfiguration,
11
11
  sequenceCursorSchema
12
- } from "./chunk-LDLOB2UZ.js";
12
+ } from "./chunk-KWFY7L7X.js";
13
13
  import {
14
14
  parseImageExtraction,
15
15
  parseImageResult
16
- } from "./chunk-YRSU2X2P.js";
17
- import "./chunk-IBROKMFV.js";
16
+ } from "./chunk-KUPVQXUJ.js";
17
+ import "./chunk-YOAPPIWN.js";
18
18
  import {
19
19
  sourceDataSchema,
20
20
  sourceRoles,
21
21
  validateQuestShape
22
- } from "./chunk-YMWRLAAP.js";
22
+ } from "./chunk-VWMIA2TT.js";
23
23
  import {
24
24
  isIntegrationParticipantPath,
25
25
  isParticipantRoute,
@@ -35,9 +35,9 @@ import {
35
35
  lifetime,
36
36
  retryAfter,
37
37
  retrying
38
- } from "./chunk-R4S6BFOH.js";
39
- import "./chunk-TZJT5CRF.js";
40
- import "./chunk-EQF4ID47.js";
38
+ } from "./chunk-6ZG7WNYX.js";
39
+ import "./chunk-N7YOS4ZU.js";
40
+ import "./chunk-422J3QRW.js";
41
41
  import {
42
42
  schemaCheckedReader,
43
43
  trackerDataBatchSteps,
@@ -46,7 +46,7 @@ import {
46
46
  trackerDataPathTypes,
47
47
  trackerDataRecordSteps,
48
48
  whereSchemaIssue
49
- } from "./chunk-AWWCEP7F.js";
49
+ } from "./chunk-GBSDAD3N.js";
50
50
  export {
51
51
  MANAGEMENT_TIMEOUT,
52
52
  REFERRAL_INTEGRATION_REWARD_ERROR,
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
- import { y as ResourceHandle } from './schema-BA0nRRlt.js';
3
- import { l as AuthoringIdentity } from './groups-CFuTfFqG.js';
2
+ import { y as ResourceHandle } from './schema-CwbRkmlr.js';
3
+ import { l as AuthoringIdentity } from './groups-9Jm3peq3.js';
4
4
 
5
5
  declare const badgePropertiesSchema: z.ZodObject<{
6
6
  name: z.ZodString;
@@ -561,6 +561,7 @@ declare const offerSchema: z.ZodObject<{
561
561
  }, z.core.$strict>, z.ZodObject<{
562
562
  kind: z.ZodLiteral<"paused">;
563
563
  }, z.core.$strict>], "kind">;
564
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
564
565
  missing: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
565
566
  kind: z.ZodLiteral<"completion">;
566
567
  quest: z.ZodString;
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
- import { a as AttemptStatus, cu as questDescriptionSchema, o as TrackerSkipCode } from './schema-BA0nRRlt.js';
3
- import { af as SolanaIdlSource } from './wallet-B06zvDXp.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';
4
4
 
5
5
  /**
6
6
  * The delivery actions this SDK knows. `RewardDelivery.action` is an open string: Relay can add
@@ -9,6 +9,11 @@ import { af as SolanaIdlSource } from './wallet-B06zvDXp.js';
9
9
  declare const RewardDeliveryAction: {
10
10
  /** Delivers a quest's Discord role reward. */
11
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";
12
17
  };
13
18
  /** A known action, or one a newer Relay sends. */
14
19
  type RewardDeliveryAction = (typeof RewardDeliveryAction)[keyof typeof RewardDeliveryAction] | (string & {});
@@ -331,6 +336,7 @@ declare const questTypeVersionSchema: z.ZodObject<{
331
336
  text: "text";
332
337
  announcement: "announcement";
333
338
  }>>;
339
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
334
340
  }, z.core.$strict>, z.ZodObject<{
335
341
  provider: z.ZodLiteral<"discord">;
336
342
  resource: z.ZodLiteral<"role">;
@@ -420,6 +426,19 @@ declare const questTypeVersionSchema: z.ZodObject<{
420
426
  action: z.ZodLiteral<"grant-role">;
421
427
  roleId: z.ZodString;
422
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">>>;
423
442
  humanReview: z.ZodBoolean;
424
443
  trigger: z.ZodUnion<readonly [z.ZodObject<{
425
444
  kind: z.ZodLiteral<"manual">;
@@ -584,6 +603,20 @@ declare const questTypeVersionSchema: z.ZodObject<{
584
603
  balance: z.ZodString;
585
604
  }, z.core.$strict>]>;
586
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>>>;
587
620
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
588
621
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
589
622
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1084,6 +1117,7 @@ declare const questCatalogSchema: z.ZodObject<{
1084
1117
  text: "text";
1085
1118
  announcement: "announcement";
1086
1119
  }>>;
1120
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
1087
1121
  }, z.core.$strict>, z.ZodObject<{
1088
1122
  provider: z.ZodLiteral<"discord">;
1089
1123
  resource: z.ZodLiteral<"role">;
@@ -1173,6 +1207,19 @@ declare const questCatalogSchema: z.ZodObject<{
1173
1207
  action: z.ZodLiteral<"grant-role">;
1174
1208
  roleId: z.ZodString;
1175
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">>>;
1176
1223
  humanReview: z.ZodBoolean;
1177
1224
  trigger: z.ZodUnion<readonly [z.ZodObject<{
1178
1225
  kind: z.ZodLiteral<"manual">;
@@ -1337,6 +1384,20 @@ declare const questCatalogSchema: z.ZodObject<{
1337
1384
  balance: z.ZodString;
1338
1385
  }, z.core.$strict>]>;
1339
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>>>;
1340
1401
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
1341
1402
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
1342
1403
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1724,6 +1785,7 @@ declare const questCatalogSchema: z.ZodObject<{
1724
1785
  text: "text";
1725
1786
  announcement: "announcement";
1726
1787
  }>>;
1788
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
1727
1789
  }, z.core.$strict>, z.ZodObject<{
1728
1790
  provider: z.ZodLiteral<"discord">;
1729
1791
  resource: z.ZodLiteral<"role">;
@@ -1813,6 +1875,19 @@ declare const questCatalogSchema: z.ZodObject<{
1813
1875
  action: z.ZodLiteral<"grant-role">;
1814
1876
  roleId: z.ZodString;
1815
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">>>;
1816
1891
  humanReview: z.ZodBoolean;
1817
1892
  trigger: z.ZodUnion<readonly [z.ZodObject<{
1818
1893
  kind: z.ZodLiteral<"manual">;
@@ -1977,6 +2052,20 @@ declare const questCatalogSchema: z.ZodObject<{
1977
2052
  balance: z.ZodString;
1978
2053
  }, z.core.$strict>]>;
1979
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>>>;
1980
2069
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
1981
2070
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
1982
2071
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2248,6 +2337,7 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2248
2337
  text: "text";
2249
2338
  announcement: "announcement";
2250
2339
  }>>;
2340
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
2251
2341
  }, z.core.$strict>, z.ZodObject<{
2252
2342
  provider: z.ZodLiteral<"discord">;
2253
2343
  resource: z.ZodLiteral<"role">;
@@ -2337,6 +2427,19 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2337
2427
  action: z.ZodLiteral<"grant-role">;
2338
2428
  roleId: z.ZodString;
2339
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">>>;
2340
2443
  humanReview: z.ZodBoolean;
2341
2444
  trigger: z.ZodUnion<readonly [z.ZodObject<{
2342
2445
  kind: z.ZodLiteral<"manual">;
@@ -2501,6 +2604,20 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
2501
2604
  balance: z.ZodString;
2502
2605
  }, z.core.$strict>]>;
2503
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>>>;
2504
2621
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
2505
2622
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
2506
2623
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5212,6 +5329,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
5212
5329
  text: "text";
5213
5330
  announcement: "announcement";
5214
5331
  }>>;
5332
+ postable: z.ZodOptional<z.ZodLiteral<true>>;
5215
5333
  }, z.core.$strict>, z.ZodObject<{
5216
5334
  provider: z.ZodLiteral<"discord">;
5217
5335
  resource: z.ZodLiteral<"role">;
@@ -5301,6 +5419,19 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
5301
5419
  action: z.ZodLiteral<"grant-role">;
5302
5420
  roleId: z.ZodString;
5303
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">>>;
5304
5435
  humanReview: z.ZodBoolean;
5305
5436
  trigger: z.ZodUnion<readonly [z.ZodObject<{
5306
5437
  kind: z.ZodLiteral<"manual">;
@@ -5465,6 +5596,20 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
5465
5596
  balance: z.ZodString;
5466
5597
  }, z.core.$strict>]>;
5467
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>>>;
5468
5613
  retryCooldownMs: z.ZodOptional<z.ZodNumber>;
5469
5614
  completionCooldownMs: z.ZodOptional<z.ZodNumber>;
5470
5615
  completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -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-TZJT5CRF.js";
6
+ } from "./chunk-N7YOS4ZU.js";
7
7
  import {
8
8
  exchangeResultSchema,
9
9
  participantPrincipalSchema,
10
10
  sessionMember
11
- } from "./chunk-EQF4ID47.js";
12
- import "./chunk-AWWCEP7F.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";
@@ -1,20 +1,20 @@
1
- import { B as Badge, b as MemberBadges, O as Offer, e as Redemption } from '../offers-DAfe1O3_.js';
2
- import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../participant-activity-iciCEs_8.js';
3
- import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-3b9HjSzZ.js';
4
- import { P as Page, H as collectionViewSchema, l as QuestView, a as CreatorAccountProvider, i as QuestOutcomeQuery, g as QuestOutcome } from '../pages-ChDVLrgR.js';
5
- export { C as CreatorAccount, b as CreatorAccounts } from '../pages-ChDVLrgR.js';
1
+ import { B as Badge, b as MemberBadges, O as Offer, e as Redemption } from '../offers-CqXfMIxq.js';
2
+ import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../participant-activity-DHL8QYks.js';
3
+ import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-Cw1pB5sv.js';
4
+ import { P as Page, H as collectionViewSchema, l as QuestView, a as CreatorAccountProvider, i as QuestOutcomeQuery, g as QuestOutcome } from '../pages-Bti7g5mX.js';
5
+ export { C as CreatorAccount, b as CreatorAccounts } from '../pages-Bti7g5mX.js';
6
6
  import * as react from 'react';
7
7
  import { ReactNode } from 'react';
8
8
  import * as z from 'zod';
9
9
  import { z as z$1 } from 'zod';
10
- import { E as Entitlement, a as AttemptStatus, f as PointEntry, e as PointBalances, j as PointLedgerReference, T as TieredRewardReference } from '../schema-BA0nRRlt.js';
11
- import { a as AuthProvider, A as AccountConnection } from '../accounts-CVonEkdb.js';
12
- export { T as TelegramAccountConnection, b as TelegramSignInMethods } from '../accounts-CVonEkdb.js';
13
- import { c as SignInMethods, C as CosmosChains, d as SignInOption, f as SignInUnavailable, T as TelegramSignInOption, g as SignInWallet, D as DiscoveredWallet } from '../telegram-browser-o3OIxGrJ.js';
14
- export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-o3OIxGrJ.js';
15
- import { m as WalletSigner, k as WalletSignInNetwork, L as LinkedWallet, g as ProfileUpdate, f as ProfileSummary, b as ProfileCompletion, e as ProfileReferral } from '../wallet-B06zvDXp.js';
16
- import { h as LeaderboardPlacement, b2 as referralSummarySchema, g as LeaderboardPage } from '../groups-CFuTfFqG.js';
17
- import '../submission-input-DxQ6RnKo.js';
10
+ import { E as Entitlement, a as AttemptStatus, f as PointEntry, e as PointBalances, j as PointLedgerReference, T as TieredRewardReference } from '../schema-CwbRkmlr.js';
11
+ import { a as AuthProvider, A as AccountConnection } from '../accounts-DoabriBX.js';
12
+ export { T as TelegramAccountConnection, b as TelegramSignInMethods } from '../accounts-DoabriBX.js';
13
+ import { c as SignInMethods, C as CosmosChains, d as SignInOption, f as SignInUnavailable, T as TelegramSignInOption, g as SignInWallet, D as DiscoveredWallet } from '../telegram-browser-CTJh4Ro_.js';
14
+ export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-CTJh4Ro_.js';
15
+ import { m as WalletSigner, k as WalletSignInNetwork, L as LinkedWallet, g as ProfileUpdate, f as ProfileSummary, b as ProfileCompletion, e as ProfileReferral } from '../wallet-DZWL7lJH.js';
16
+ import { h as LeaderboardPlacement, b2 as referralSummarySchema, g as LeaderboardPage } from '../groups-9Jm3peq3.js';
17
+ import '../submission-input-D9EGH_yb.js';
18
18
  import '../action-DBzILFx9.js';
19
19
 
20
20
  /**
@@ -1843,7 +1843,8 @@ declare function useSignInMethods(): Query<SignInMethods>;
1843
1843
  * `<img src={defaultAvatar(me.data.avatarSeed)} />`. The seed is derived from the member and
1844
1844
  * reveals nothing about them; linking wallets or accounts does not change it. `data.email` is the
1845
1845
  * member's own sign-in email address for "signed in as", or null when they have none, and
1846
- * `data.emails` lists every verified address that signs them in.
1846
+ * `data.emails` lists every verified address that signs them in. `data.clock` is the member's
1847
+ * clock: pass `data` to `memberTime()` from `@domino-sdk/relay/browser` for their current time.
1847
1848
  */
1848
1849
  declare function useMe(): MemberQuery<MemberSummary>;
1849
1850
  /**