@domino-sdk/relay 1.56.0 → 1.59.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 (64) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/dist/{accounts-DRPENuZe.d.ts → accounts-CVonEkdb.d.ts} +18 -7
  3. package/dist/{attempt-captures-CxxO7DeD.d.ts → attempt-captures-DBj-rxak.d.ts} +1 -1
  4. package/dist/authoring.d.ts +180 -28
  5. package/dist/authoring.js +236 -11
  6. package/dist/{automatic-outcomes-DxW_v5Wc.d.ts → automatic-outcomes-FS9okvBP.d.ts} +1 -1
  7. package/dist/avatar.d.ts +1 -2
  8. package/dist/browser.d.ts +8 -9
  9. package/dist/browser.js +10 -10
  10. package/dist/{capability-error-DSd8EMQC.d.ts → capability-error-DDJl0LY-.d.ts} +0 -6
  11. package/dist/{chunk-OTITLABX.js → chunk-2LKGAL63.js} +2 -2
  12. package/dist/{chunk-NK6EER33.js → chunk-577DG2IT.js} +8 -8
  13. package/dist/{chunk-RBPMT53S.js → chunk-6U5WWH3W.js} +19 -4
  14. package/dist/{chunk-BHHUSBSD.js → chunk-AWWCEP7F.js} +1402 -881
  15. package/dist/{chunk-QNQNKIAA.js → chunk-EQF4ID47.js} +1 -1
  16. package/dist/{chunk-CK7HO32Z.js → chunk-IBROKMFV.js} +2 -2
  17. package/dist/{chunk-MNU6UPXY.js → chunk-KBCTII6C.js} +1 -1
  18. package/dist/{chunk-INSWI2VZ.js → chunk-KYUQEZZA.js} +1 -1
  19. package/dist/{chunk-G6XVBYH7.js → chunk-LDLOB2UZ.js} +4 -4
  20. package/dist/{chunk-CXKXPB7K.js → chunk-M2JQPDUX.js} +34 -9
  21. package/dist/{chunk-KBVH4XZC.js → chunk-R4S6BFOH.js} +1 -1
  22. package/dist/{chunk-ABJ4G47X.js → chunk-TZJT5CRF.js} +1 -1
  23. package/dist/{chunk-BJYMTCWG.js → chunk-UEMLYPKJ.js} +7 -4
  24. package/dist/{chunk-ULQU7KC4.js → chunk-W42KMMH5.js} +1 -5
  25. package/dist/{chunk-VSHV7FEA.js → chunk-XGXDINGM.js} +16 -3
  26. package/dist/{chunk-H2MD6E7Z.js → chunk-YMWRLAAP.js} +1 -1
  27. package/dist/{chunk-W5U2WXG3.js → chunk-YRSU2X2P.js} +2 -2
  28. package/dist/{client-bX3oTpRu.d.ts → client-3b9HjSzZ.d.ts} +115 -116
  29. package/dist/{deployments-D3lxfQMB.d.ts → deployments-BydFVj4Q.d.ts} +314 -175
  30. package/dist/{groups-DPE004_V.d.ts → groups-CFuTfFqG.d.ts} +11 -7
  31. package/dist/index.d.ts +9 -10
  32. package/dist/index.js +9 -9
  33. package/dist/{integrations-CcD5NPEA.d.ts → integrations-DrbKQSTD.d.ts} +3 -32
  34. package/dist/internal.d.ts +10 -10
  35. package/dist/internal.js +8 -8
  36. package/dist/{offers-CtzMeB7O.d.ts → offers-DAfe1O3_.d.ts} +6 -2
  37. package/dist/{pages-BlLqB8ZQ.d.ts → pages-ChDVLrgR.d.ts} +39 -10
  38. package/dist/portal-proxy.js +3 -3
  39. package/dist/react/index.d.ts +71 -72
  40. package/dist/react/index.js +10 -10
  41. package/dist/runtime/authoring.js +1 -1
  42. package/dist/runtime/chunks/BG43KQ2T.js +1 -0
  43. package/dist/runtime/chunks/EWU4OKSY.js +62 -0
  44. package/dist/runtime/manifest.json +5 -5
  45. package/dist/runtime/schema.js +1 -1
  46. package/dist/runtime/zod.js +1 -1
  47. package/dist/{schema-C4m9RhCR.d.ts → schema-BA0nRRlt.d.ts} +184 -35
  48. package/dist/schema.d.ts +754 -432
  49. package/dist/schema.js +77 -13
  50. package/dist/server/index.d.ts +10 -10
  51. package/dist/server/index.js +434 -55
  52. package/dist/{submission-input-wTiYGdgA.d.ts → submission-input-DxQ6RnKo.d.ts} +2 -2
  53. package/dist/{telegram-browser-Bh3i0HiH.d.ts → telegram-browser-o3OIxGrJ.d.ts} +3 -3
  54. package/dist/testing.d.ts +89 -9
  55. package/dist/testing.js +215 -10
  56. package/dist/{transport-CnKA-_RL.d.ts → transport-D_Eqf78J.d.ts} +3997 -2030
  57. package/dist/wallet-B06zvDXp.d.ts +972 -0
  58. package/dist/{x-1czZFVUW.d.ts → x-C28SNifw.d.ts} +2 -2
  59. package/package.json +2 -2
  60. package/dist/profiles-BoOK03cR.d.ts +0 -299
  61. package/dist/runtime/chunks/IDOMZWRY.js +0 -40
  62. package/dist/runtime/chunks/NDB42VFF.js +0 -1
  63. package/dist/util.d-w9f9t3ua.d.ts +0 -5
  64. package/dist/wallet-Ac7OFpOr.d.ts +0 -228
@@ -1,5 +1,5 @@
1
1
  import * as z from 'zod';
2
- import { g as PointEntryKind, C as ResourceHandle, G as GroupHandle } from './schema-C4m9RhCR.js';
2
+ import { g as PointEntryKind, y as ResourceHandle, G as GroupHandle } from './schema-BA0nRRlt.js';
3
3
 
4
4
  type AuthoringIdentity = {
5
5
  key: string;
@@ -868,7 +868,7 @@ declare const leaderboardAuthoringSchema: z.ZodObject<{
868
868
  minScore: z.ZodOptional<z.ZodNumber>;
869
869
  }, z.core.$strict>>;
870
870
  }, z.core.$strict>>;
871
- score: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
871
+ score: z.ZodPreprocess<z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
872
872
  kind: z.ZodLiteral<"balance">;
873
873
  }, z.core.$strict>, z.ZodObject<{
874
874
  window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -909,7 +909,7 @@ declare const leaderboardAuthoringSchema: z.ZodObject<{
909
909
  month: "month";
910
910
  }>;
911
911
  }, z.core.$strip>], "kind">>;
912
- }, z.core.$strict>], "kind">>>;
912
+ }, z.core.$strict>], "kind">>, unknown>;
913
913
  group: z.ZodOptional<z.ZodString>;
914
914
  key: z.ZodString;
915
915
  }, z.core.$strict>;
@@ -966,7 +966,7 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
966
966
  minScore: z.ZodOptional<z.ZodNumber>;
967
967
  }, z.core.$strict>>;
968
968
  }, z.core.$strict>>;
969
- score: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
969
+ score: z.ZodPreprocess<z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
970
970
  kind: z.ZodLiteral<"balance">;
971
971
  }, z.core.$strict>, z.ZodObject<{
972
972
  window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1007,7 +1007,7 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
1007
1007
  month: "month";
1008
1008
  }>;
1009
1009
  }, z.core.$strip>], "kind">>;
1010
- }, z.core.$strict>], "kind">>>;
1010
+ }, z.core.$strict>], "kind">>, unknown>;
1011
1011
  group: z.ZodOptional<z.ZodString>;
1012
1012
  key: z.ZodString;
1013
1013
  }, z.core.$strict>, z.ZodObject<{
@@ -2767,10 +2767,14 @@ declare const removeGroupMemberSchema: z.ZodObject<{
2767
2767
  actionId: z.ZodString;
2768
2768
  reason: z.ZodString;
2769
2769
  }, z.core.$strict>;
2770
+ /** Archives or unarchives a group, with an optional reason for the audit history. */
2771
+ declare const groupArchiveInputSchema: z.ZodObject<{
2772
+ reason: z.ZodOptional<z.ZodString>;
2773
+ }, z.core.$strict>;
2774
+ type GroupArchiveInput = z.input<typeof groupArchiveInputSchema>;
2770
2775
  /** One page of groups or of a group's members: pass `nextCursor` back as `cursor`. */
2771
2776
  declare const groupPageQuerySchema: z.ZodObject<{
2772
2777
  cursor: z.ZodOptional<z.ZodString>;
2773
- /** Items per page, 1–100; the default is 50. */
2774
2778
  limit: z.ZodOptional<z.ZodNumber>;
2775
2779
  }, z.core.$strict>;
2776
2780
  type GroupPageQuery = z.input<typeof groupPageQuerySchema>;
@@ -2817,4 +2821,4 @@ declare const groupMemberPageSchema: z.ZodObject<{
2817
2821
  /** @compat output */
2818
2822
  type GroupMemberPage = z.infer<typeof groupMemberPageSchema>;
2819
2823
 
2820
- export { engagementChangePreviewSchema as $, type AvailabilityWindow as A, type LeaderboardSettlement as B, type CampaignDefinition as C, type LeaderboardSettlementPolicy as D, type EngagementBudget as E, type LeaderboardSettlementPool as F, type GroupMember as G, type LeaderboardSettlementSummary as H, type ManagedGroup as I, type ManagedPointHistoryPage as J, addGroupMemberSchema as K, type LeaderboardDefinition as L, type MemberCampaignEnrollmentInput as M, availabilityWindowSchema as N, baseUnitsSchema as O, type ProjectGroup as P, campaignDefinitionSchema as Q, type ReferralDefinition as R, campaignEnrollmentInputSchema as S, campaignEnrollmentSchema as T, campaignViewSchema as U, campaignWithdrawalInputSchema as V, createGroupSchema as W, engagementArtifactSchema as X, engagementBoundaryPageSchema as Y, engagementBudgetSchema as Z, engagementChangePreviewInputSchema as _, type CampaignEnrollment as a, referralRewardResolutionSchema as a$, engagementChangeSchema as a0, engagementDefinitionSchema as a1, engagementDeploymentEntrySchema as a2, engagementPageSchema as a3, engagementPublishSchema as a4, engagementRuleSchema as a5, engagementRuleVersionPageSchema as a6, engagementScoreInputSchema as a7, engagementScoreSchema as a8, engagementSettlementSchema as a9, leaderboardSettlementPoolSchema as aA, leaderboardSettlementRowSchema as aB, leaderboardSettlementSchema as aC, leaderboardSettlementStatusSchema as aD, leaderboardSettlementSummarySchema as aE, leaderboardSettlementUnmeasuredSchema as aF, leaderboardWindowSchema as aG, managedGroupSchema as aH, managedPointHistoryPageSchema as aI, memberCampaignEnrollmentInputSchema as aJ, memberCampaignWithdrawalInputSchema as aK, pointsAccountSchema as aL, pointsEntrySchema as aM, pointsMutationSchema as aN, pointsResultSchema as aO, projectGroupKey as aP, projectGroupSchema as aQ, publishedLeaderboardSchema as aR, publishedReferralSchema as aS, referralAccountSchema as aT, referralArtifactSchema as aU, referralControlSchema as aV, referralDefinitionSchema as aW, referralHistorySchema as aX, referralManagementSchema as aY, referralQualificationSchema as aZ, referralRelationshipSchema as a_, engagementVersionPageSchema as aa, engagementVersionQuerySchema as ab, groupMemberPageSchema as ac, groupMemberSchema as ad, groupPageQuerySchema as ae, groupPageSchema as af, leaderboardArtifactSchema as ag, leaderboardAuthoringSchema as ah, leaderboardDefinitionResponseSchema as ai, leaderboardExclusionGroupBindingSchema as aj, leaderboardExclusionGroupSchema as ak, leaderboardExclusionSchema as al, leaderboardGroupSchema as am, leaderboardHistoryPageSchema as an, leaderboardHistoryQuerySchema as ao, leaderboardPageSchema as ap, leaderboardPlacementSchema as aq, leaderboardPoolSchema as ar, leaderboardPoolUnitSchema as as, leaderboardPreviewSchema as at, leaderboardPrizeRewardSchema as au, leaderboardPrizeSchema as av, leaderboardQuerySchema as aw, leaderboardRowSchema as ax, leaderboardSettlementApprovalSchema as ay, leaderboardSettlementPolicySchema as az, type CampaignEnrollmentInput as b, referralSummarySchema as b0, referralSuspensionSchema as b1, removeGroupMemberSchema as b2, updateGroupSchema as b3, type CampaignView as c, type CampaignWithdrawalInput as d, type LeaderboardHistoryPage as e, type LeaderboardHistoryQuery as f, type LeaderboardPage as g, type LeaderboardPlacement as h, type LeaderboardQuery as i, type MemberCampaignWithdrawalInput as j, type ProjectGroupReference as k, leaderboardDefinitionSchema as l, type AuthoringIdentity as m, defineCampaign as n, defineGroup as o, referralAcceptSchema as p, engagementPageQuerySchema as q, referralAuthoringSchema as r, type EngagementDefinition as s, type EngagementRuleVersionPage as t, type GroupMemberPage as u, type GroupPage as v, type GroupPageQuery as w, type LeaderboardExclusionGroup as x, type LeaderboardPool as y, type LeaderboardPoolUnit as z };
2824
+ export { engagementChangePreviewInputSchema as $, type AvailabilityWindow as A, type LeaderboardPoolUnit as B, type CampaignDefinition as C, type LeaderboardSettlement as D, type EngagementBudget as E, type LeaderboardSettlementPolicy as F, type GroupArchiveInput as G, type LeaderboardSettlementPool as H, type LeaderboardSettlementSummary as I, type ManagedGroup as J, type ManagedPointHistoryPage as K, type LeaderboardDefinition as L, type MemberCampaignEnrollmentInput as M, addGroupMemberSchema as N, availabilityWindowSchema as O, type ProjectGroup as P, baseUnitsSchema as Q, type ReferralDefinition as R, campaignDefinitionSchema as S, campaignEnrollmentInputSchema as T, campaignEnrollmentSchema as U, campaignViewSchema as V, campaignWithdrawalInputSchema as W, createGroupSchema as X, engagementArtifactSchema as Y, engagementBoundaryPageSchema as Z, engagementBudgetSchema as _, type CampaignEnrollment as a, referralQualificationSchema as a$, engagementChangePreviewSchema as a0, engagementChangeSchema as a1, engagementDefinitionSchema as a2, engagementDeploymentEntrySchema as a3, engagementPageSchema as a4, engagementPublishSchema as a5, engagementRuleSchema as a6, engagementRuleVersionPageSchema as a7, engagementScoreInputSchema as a8, engagementScoreSchema as a9, leaderboardSettlementApprovalSchema as aA, leaderboardSettlementPolicySchema as aB, leaderboardSettlementPoolSchema as aC, leaderboardSettlementRowSchema as aD, leaderboardSettlementSchema as aE, leaderboardSettlementStatusSchema as aF, leaderboardSettlementSummarySchema as aG, leaderboardSettlementUnmeasuredSchema as aH, leaderboardWindowSchema as aI, managedGroupSchema as aJ, managedPointHistoryPageSchema as aK, memberCampaignEnrollmentInputSchema as aL, memberCampaignWithdrawalInputSchema as aM, pointsAccountSchema as aN, pointsEntrySchema as aO, pointsMutationSchema as aP, pointsResultSchema as aQ, projectGroupKey as aR, projectGroupSchema as aS, publishedLeaderboardSchema as aT, publishedReferralSchema as aU, referralAccountSchema as aV, referralArtifactSchema as aW, referralControlSchema as aX, referralDefinitionSchema as aY, referralHistorySchema as aZ, referralManagementSchema as a_, engagementSettlementSchema as aa, engagementVersionPageSchema as ab, engagementVersionQuerySchema as ac, groupArchiveInputSchema as ad, groupMemberPageSchema as ae, groupMemberSchema as af, groupPageQuerySchema as ag, groupPageSchema as ah, leaderboardArtifactSchema as ai, leaderboardAuthoringSchema as aj, leaderboardDefinitionResponseSchema as ak, leaderboardExclusionGroupBindingSchema as al, leaderboardExclusionGroupSchema as am, leaderboardExclusionSchema as an, leaderboardGroupSchema as ao, leaderboardHistoryPageSchema as ap, leaderboardHistoryQuerySchema as aq, leaderboardPageSchema as ar, leaderboardPlacementSchema as as, leaderboardPoolSchema as at, leaderboardPoolUnitSchema as au, leaderboardPreviewSchema as av, leaderboardPrizeRewardSchema as aw, leaderboardPrizeSchema as ax, leaderboardQuerySchema as ay, leaderboardRowSchema as az, type CampaignEnrollmentInput as b, referralRelationshipSchema as b0, referralRewardResolutionSchema as b1, referralSummarySchema as b2, referralSuspensionSchema as b3, removeGroupMemberSchema as b4, updateGroupSchema as b5, type CampaignView as c, type CampaignWithdrawalInput as d, type LeaderboardHistoryPage as e, type LeaderboardHistoryQuery as f, type LeaderboardPage as g, type LeaderboardPlacement as h, type LeaderboardQuery as i, type MemberCampaignWithdrawalInput as j, type ProjectGroupReference as k, type AuthoringIdentity as l, leaderboardDefinitionSchema as m, defineCampaign as n, defineGroup as o, referralAcceptSchema as p, engagementPageQuerySchema as q, referralAuthoringSchema as r, type EngagementDefinition as s, type EngagementRuleVersionPage as t, type GroupMember as u, type GroupMemberPage as v, type GroupPage as w, type GroupPageQuery as x, type LeaderboardExclusionGroup as y, type LeaderboardPool as z };
package/dist/index.d.ts CHANGED
@@ -1,16 +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-CtzMeB7O.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-DAfe1O3_.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-bX3oTpRu.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-C4m9RhCR.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';
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-BlLqB8ZQ.js';
7
- export { A as AccountConnection, a as AuthProvider, T as TelegramAccountConnection, b as TelegramSignInMethods } from './accounts-DRPENuZe.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
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-DPE004_V.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-DxW_v5Wc.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-wTiYGdgA.js';
12
- export { A as AvatarProvider, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, d as ProfileReferral, e as ProfileSummary, f as ProfileUpdate, g as ProfileVisibility } from './profiles-BoOK03cR.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';
13
13
  export { Q as QuizContent, S as StreakProgress } from './streaks-0YuipsUQ.js';
14
- export { C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, W as WalletAddressInput, b as WalletChain, c as WalletMessageChallenge, d as WalletSignInNetwork, e as WalletSignature, f as WalletSigner, g as WalletUnlinkInput } from './wallet-Ac7OFpOr.js';
15
14
  export { P as ParticipantDelivery } from './participant-rewards-BcWkBRn_.js';
16
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-NK6EER33.js";
8
+ } from "./chunk-577DG2IT.js";
9
9
  import {
10
10
  createRelayAction
11
- } from "./chunk-INSWI2VZ.js";
11
+ } from "./chunk-KYUQEZZA.js";
12
12
  import {
13
13
  QuestOutcomeState
14
- } from "./chunk-RBPMT53S.js";
15
- import "./chunk-BJYMTCWG.js";
14
+ } from "./chunk-6U5WWH3W.js";
15
+ import "./chunk-UEMLYPKJ.js";
16
16
  import {
17
17
  PointEntryKind
18
- } from "./chunk-VSHV7FEA.js";
19
- import "./chunk-KBVH4XZC.js";
20
- import "./chunk-ABJ4G47X.js";
18
+ } from "./chunk-XGXDINGM.js";
19
+ import "./chunk-R4S6BFOH.js";
20
+ import "./chunk-TZJT5CRF.js";
21
21
  import {
22
22
  sessionMember
23
- } from "./chunk-QNQNKIAA.js";
23
+ } from "./chunk-EQF4ID47.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-BHHUSBSD.js";
32
+ } from "./chunk-AWWCEP7F.js";
33
33
  export {
34
34
  AttemptStatus,
35
35
  PointEntryKind,
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
- import { k as WalletBalanceQuery } from './wallet-Ac7OFpOr.js';
3
- import { C as ResourceHandle } from './schema-C4m9RhCR.js';
2
+ import { H as WalletBalanceQuery } from './wallet-B06zvDXp.js';
3
+ import { y as ResourceHandle } from './schema-BA0nRRlt.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<{
@@ -249,11 +249,6 @@ declare function parseSettings(fields: Record<string, SettingField>, input: unkn
249
249
  declare function missingResourceSettings(fields: Record<string, SettingField>, values: SettingsValues): string[];
250
250
  declare function compatibleSettingKinds(previous: SettingField, next: SettingField): boolean;
251
251
 
252
- /**
253
- * The namespace of the tracker source `youtube.shorts()` makes. Relay alone writes its records,
254
- * from the channels members link; ingestion into it is refused.
255
- */
256
- declare const youtubeShortsNamespace = "youtube-shorts";
257
252
  /**
258
253
  * A YouTube Short's body, as `content()` quests read it in `ctx.tracker.content.body`. Every field
259
254
  * is what YouTube reported when Relay last read the video.
@@ -272,11 +267,6 @@ type YouTubeShortBody = z.infer<typeof youtubeShortBodySchema>;
272
267
  declare const youtubeShortMetrics: readonly ["views", "likes", "comments"];
273
268
  type YouTubeShortMetric = (typeof youtubeShortMetrics)[number];
274
269
 
275
- /**
276
- * The namespace of the tracker source `tiktok.videos()` makes. Relay alone writes its records, from
277
- * the TikTok accounts members link; ingestion into it is refused.
278
- */
279
- declare const tiktokVideosNamespace = "tiktok-videos";
280
270
  /**
281
271
  * A TikTok video's body, as `content()` quests read it in `ctx.tracker.content.body`. Every field
282
272
  * is what TikTok reported when Relay last read the video.
@@ -319,12 +309,9 @@ declare const dashboardPanelAuthoringSchema: z.ZodObject<{
319
309
  key: z.ZodString;
320
310
  title: z.ZodString;
321
311
  description: z.ZodOptional<z.ZodString>;
322
- /** A metric ID from the catalog (`analytics.catalog`). */
323
312
  metric: z.ZodString;
324
313
  breakdown: z.ZodOptional<z.ZodString>;
325
- /** Each filter names one key or a list of keys; a list matches any of them. */
326
314
  filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
327
- /** The point ledger a points metric reads, by key. */
328
315
  ledger: z.ZodOptional<z.ZodString>;
329
316
  chart: z.ZodEnum<{
330
317
  number: "number";
@@ -338,14 +325,12 @@ declare const dashboardAuthoringSchema: z.ZodObject<{
338
325
  key: z.ZodString;
339
326
  title: z.ZodString;
340
327
  description: z.ZodOptional<z.ZodString>;
341
- /** The range the dashboard opens with. Defaults to `30d`. */
342
328
  defaultRange: z.ZodOptional<z.ZodEnum<{
343
329
  "7d": "7d";
344
330
  "30d": "30d";
345
331
  "90d": "90d";
346
332
  all: "all";
347
333
  }>>;
348
- /** Orders dashboards in lists: by position, those without one last, then by title. */
349
334
  position: z.ZodOptional<z.ZodNumber>;
350
335
  sections: z.ZodArray<z.ZodObject<{
351
336
  title: z.ZodOptional<z.ZodString>;
@@ -354,12 +339,9 @@ declare const dashboardAuthoringSchema: z.ZodObject<{
354
339
  key: z.ZodString;
355
340
  title: z.ZodString;
356
341
  description: z.ZodOptional<z.ZodString>;
357
- /** A metric ID from the catalog (`analytics.catalog`). */
358
342
  metric: z.ZodString;
359
343
  breakdown: z.ZodOptional<z.ZodString>;
360
- /** Each filter names one key or a list of keys; a list matches any of them. */
361
344
  filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
362
- /** The point ledger a points metric reads, by key. */
363
345
  ledger: z.ZodOptional<z.ZodString>;
364
346
  chart: z.ZodEnum<{
365
347
  number: "number";
@@ -390,12 +372,9 @@ declare const dashboardDefinitionSchema: z.ZodObject<{
390
372
  key: z.ZodString;
391
373
  title: z.ZodString;
392
374
  description: z.ZodOptional<z.ZodString>;
393
- /** A metric ID from the catalog (`analytics.catalog`). */
394
375
  metric: z.ZodString;
395
376
  breakdown: z.ZodOptional<z.ZodString>;
396
- /** Each filter names one key or a list of keys; a list matches any of them. */
397
377
  filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
398
- /** The point ledger a points metric reads, by key. */
399
378
  ledger: z.ZodOptional<z.ZodString>;
400
379
  chart: z.ZodEnum<{
401
380
  number: "number";
@@ -413,14 +392,12 @@ declare const dashboardArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
413
392
  key: z.ZodString;
414
393
  title: z.ZodString;
415
394
  description: z.ZodOptional<z.ZodString>;
416
- /** The range the dashboard opens with. Defaults to `30d`. */
417
395
  defaultRange: z.ZodOptional<z.ZodEnum<{
418
396
  "7d": "7d";
419
397
  "30d": "30d";
420
398
  "90d": "90d";
421
399
  all: "all";
422
400
  }>>;
423
- /** Orders dashboards in lists: by position, those without one last, then by title. */
424
401
  position: z.ZodOptional<z.ZodNumber>;
425
402
  sections: z.ZodArray<z.ZodObject<{
426
403
  title: z.ZodOptional<z.ZodString>;
@@ -429,12 +406,9 @@ declare const dashboardArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
429
406
  key: z.ZodString;
430
407
  title: z.ZodString;
431
408
  description: z.ZodOptional<z.ZodString>;
432
- /** A metric ID from the catalog (`analytics.catalog`). */
433
409
  metric: z.ZodString;
434
410
  breakdown: z.ZodOptional<z.ZodString>;
435
- /** Each filter names one key or a list of keys; a list matches any of them. */
436
411
  filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
437
- /** The point ledger a points metric reads, by key. */
438
412
  ledger: z.ZodOptional<z.ZodString>;
439
413
  chart: z.ZodEnum<{
440
414
  number: "number";
@@ -505,12 +479,9 @@ declare const dashboardPreviewSchema: z.ZodObject<{
505
479
  key: z.ZodString;
506
480
  title: z.ZodString;
507
481
  description: z.ZodOptional<z.ZodString>;
508
- /** A metric ID from the catalog (`analytics.catalog`). */
509
482
  metric: z.ZodString;
510
483
  breakdown: z.ZodOptional<z.ZodString>;
511
- /** Each filter names one key or a list of keys; a list matches any of them. */
512
484
  filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
513
- /** The point ledger a points metric reads, by key. */
514
485
  ledger: z.ZodOptional<z.ZodString>;
515
486
  chart: z.ZodEnum<{
516
487
  number: "number";
@@ -630,4 +601,4 @@ declare const projectIntegrationSchema: z.ZodObject<{
630
601
  }, z.core.$strip>;
631
602
  type ProjectIntegration = z.infer<typeof projectIntegrationSchema>;
632
603
 
633
- 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, tiktokVideosNamespace as a0, youtubeShortBodySchema as a1, youtubeShortMetrics as a2, youtubeShortsNamespace as a3, 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 };
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 };
@@ -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-CnKA-_RL.js';
2
- export { E as Extracted } from './x-1czZFVUW.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-D_Eqf78J.js';
2
+ export { E as Extracted } from './x-C28SNifw.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-C4m9RhCR.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';
5
5
  export { H as HostEnvironment, h as hostEnvironmentPath, a as hostEnvironmentSchema } from './host-environment-FN4zg3hw.js';
6
6
  import 'zod';
7
- import './pages-BlLqB8ZQ.js';
8
- import './offers-CtzMeB7O.js';
9
- import './groups-DPE004_V.js';
10
- import './profiles-BoOK03cR.js';
11
- import './automatic-outcomes-DxW_v5Wc.js';
12
- import './attempt-captures-CxxO7DeD.js';
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';
13
13
  import './analytics-URV-mxjH.js';
14
- import './deployments-D3lxfQMB.js';
14
+ import './deployments-BydFVj4Q.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-G6XVBYH7.js";
12
+ } from "./chunk-LDLOB2UZ.js";
13
13
  import {
14
14
  parseImageExtraction,
15
15
  parseImageResult
16
- } from "./chunk-W5U2WXG3.js";
17
- import "./chunk-CK7HO32Z.js";
16
+ } from "./chunk-YRSU2X2P.js";
17
+ import "./chunk-IBROKMFV.js";
18
18
  import {
19
19
  sourceDataSchema,
20
20
  sourceRoles,
21
21
  validateQuestShape
22
- } from "./chunk-H2MD6E7Z.js";
22
+ } from "./chunk-YMWRLAAP.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-KBVH4XZC.js";
39
- import "./chunk-ABJ4G47X.js";
40
- import "./chunk-QNQNKIAA.js";
38
+ } from "./chunk-R4S6BFOH.js";
39
+ import "./chunk-TZJT5CRF.js";
40
+ import "./chunk-EQF4ID47.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-BHHUSBSD.js";
49
+ } from "./chunk-AWWCEP7F.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 { C as ResourceHandle } from './schema-C4m9RhCR.js';
3
- import { m as AuthoringIdentity } from './groups-DPE004_V.js';
2
+ import { y as ResourceHandle } from './schema-BA0nRRlt.js';
3
+ import { l as AuthoringIdentity } from './groups-CFuTfFqG.js';
4
4
 
5
5
  declare const badgePropertiesSchema: z.ZodObject<{
6
6
  name: z.ZodString;
@@ -204,6 +204,7 @@ declare const offerAuthoringSchema: z.ZodPipe<z.ZodObject<{
204
204
  }, z.core.$strict>;
205
205
  stock: z.ZodNumber;
206
206
  title: z.ZodOptional<z.ZodString>;
207
+ enabled: z.ZodOptional<z.ZodLiteral<true>>;
207
208
  key: z.ZodString;
208
209
  }, z.core.$strict>, z.ZodTransform<{
209
210
  title: string;
@@ -310,6 +311,7 @@ declare const offerAuthoringSchema: z.ZodPipe<z.ZodObject<{
310
311
  title: string;
311
312
  })[] | undefined;
312
313
  title?: string | undefined;
314
+ enabled?: true | undefined;
313
315
  }>>;
314
316
  type OfferAuthoring = z.input<typeof offerAuthoringSchema>;
315
317
  declare const offerArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
@@ -367,6 +369,7 @@ declare const offerArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
367
369
  }, z.core.$strict>;
368
370
  stock: z.ZodNumber;
369
371
  title: z.ZodOptional<z.ZodString>;
372
+ enabled: z.ZodOptional<z.ZodLiteral<true>>;
370
373
  key: z.ZodString;
371
374
  }, z.core.$strict>, z.ZodTransform<{
372
375
  title: string;
@@ -473,6 +476,7 @@ declare const offerArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
473
476
  title: string;
474
477
  })[] | undefined;
475
478
  title?: string | undefined;
479
+ enabled?: true | undefined;
476
480
  }>>, z.ZodObject<{
477
481
  code: z.ZodString;
478
482
  }, z.core.$strict>]>;
@@ -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, cu as questDescriptionSchema, o as TrackerSkipCode } from './schema-BA0nRRlt.js';
3
+ import { af as SolanaIdlSource } from './wallet-B06zvDXp.js';
3
4
 
4
5
  /**
5
6
  * The delivery actions this SDK knows. `RewardDelivery.action` is an open string: Relay can add
@@ -199,6 +200,32 @@ declare const rewardDeliveryQuerySchema: z.ZodObject<{
199
200
  }, z.core.$strict>;
200
201
  type RewardDeliveryQuery = z.input<typeof rewardDeliveryQuerySchema>;
201
202
  type RewardDelivery = z.infer<typeof rewardDeliverySchema>;
203
+ /**
204
+ * A Discord role the project's reward deliveries grant, with every delivery of it counted, however
205
+ * old. `quests` names the quests whose completions requested it.
206
+ */
207
+ declare const discordRoleRewardSchema: z.ZodObject<{
208
+ roleId: z.ZodString;
209
+ quests: z.ZodArray<z.ZodString>;
210
+ deliveries: z.ZodObject<{
211
+ pending: z.ZodNumber;
212
+ delivered: z.ZodNumber;
213
+ failed: z.ZodNumber;
214
+ }, z.core.$strip>;
215
+ }, z.core.$strip>;
216
+ /** Every Discord role the project's reward deliveries grant, in this environment, by role ID. */
217
+ declare const discordRoleRewardsSchema: z.ZodObject<{
218
+ roles: z.ZodArray<z.ZodObject<{
219
+ roleId: z.ZodString;
220
+ quests: z.ZodArray<z.ZodString>;
221
+ deliveries: z.ZodObject<{
222
+ pending: z.ZodNumber;
223
+ delivered: z.ZodNumber;
224
+ failed: z.ZodNumber;
225
+ }, z.core.$strip>;
226
+ }, z.core.$strip>>;
227
+ }, z.core.$strip>;
228
+ type DiscordRoleReward = z.infer<typeof discordRoleRewardSchema>;
202
229
 
203
230
  declare const interactionSchema: z.ZodEnum<{
204
231
  url: "url";
@@ -2086,6 +2113,11 @@ declare const questCatalogSchema: z.ZodObject<{
2086
2113
  }, z.core.$strict>], "kind">>>;
2087
2114
  }, z.core.$strict>>;
2088
2115
  }, z.core.$strict>>;
2116
+ solanaIdls: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2117
+ program: z.ZodString;
2118
+ source: z.ZodType<SolanaIdlSource>;
2119
+ idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
2120
+ }, z.core.$strict>>>;
2089
2121
  }, z.core.$strict>>>;
2090
2122
  supportedInteractions: z.ZodArray<z.ZodEnum<{
2091
2123
  url: "url";
@@ -5569,6 +5601,11 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
5569
5601
  }, z.core.$strict>], "kind">>>;
5570
5602
  }, z.core.$strict>>;
5571
5603
  }, z.core.$strict>>;
5604
+ solanaIdls: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5605
+ program: z.ZodString;
5606
+ source: z.ZodType<SolanaIdlSource>;
5607
+ idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
5608
+ }, z.core.$strict>>>;
5572
5609
  }, z.core.$strict>>;
5573
5610
  affectedCollections: z.ZodArray<z.ZodObject<{
5574
5611
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -5690,13 +5727,11 @@ declare const contentQualificationDecisionSchema: z.ZodObject<{
5690
5727
  declare const contentQualificationQuerySchema: z.ZodObject<{
5691
5728
  quest: z.ZodString;
5692
5729
  member: z.ZodOptional<z.ZodString>;
5693
- /** A content item's record ID in the quest's tracker. */
5694
5730
  content: z.ZodOptional<z.ZodString>;
5695
5731
  cursor: z.ZodOptional<z.ZodString>;
5696
5732
  }, z.core.$strict>;
5697
5733
  declare const contentQualificationSchema: z.ZodObject<{
5698
5734
  quest: z.ZodString;
5699
- /** The content item's record ID in the quest's tracker. */
5700
5735
  content: z.ZodString;
5701
5736
  member: z.ZodString;
5702
5737
  release: z.ZodString;
@@ -5729,7 +5764,6 @@ declare const contentQualificationSchema: z.ZodObject<{
5729
5764
  declare const contentQualificationPageSchema: z.ZodObject<{
5730
5765
  items: z.ZodArray<z.ZodObject<{
5731
5766
  quest: z.ZodString;
5732
- /** The content item's record ID in the quest's tracker. */
5733
5767
  content: z.ZodString;
5734
5768
  member: z.ZodString;
5735
5769
  release: z.ZodString;
@@ -5776,7 +5810,6 @@ type ContentPerformancePolicy = z.infer<typeof contentPerformancePolicySchema>;
5776
5810
  /** `relay.quests.enroll()`: the signed-in member enrolls in a quest that requires enrollment. */
5777
5811
  declare const questEnrollmentInputSchema: z.ZodObject<{
5778
5812
  actionId: z.ZodString;
5779
- /** Quest key or ID. */
5780
5813
  quest: z.ZodString;
5781
5814
  }, z.core.$strict>;
5782
5815
  type QuestEnrollmentInput = z.input<typeof questEnrollmentInputSchema>;
@@ -5804,9 +5837,7 @@ type QuestEnrollment = z.infer<typeof questEnrollmentSchema>;
5804
5837
  */
5805
5838
  declare const questClaimInputSchema: z.ZodObject<{
5806
5839
  actionId: z.ZodString;
5807
- /** Quest key or ID. */
5808
5840
  quest: z.ZodString;
5809
- /** The outcome's tracker, as `QuestOutcome.tracker` names it. */
5810
5841
  tracker: z.ZodString;
5811
5842
  record: z.ZodString;
5812
5843
  observedAt: z.ZodNumber;
@@ -5849,13 +5880,11 @@ declare const questOutcomeSchema: z.ZodObject<{
5849
5880
  type QuestOutcome = z.infer<typeof questOutcomeSchema>;
5850
5881
  /** `relay.quests.outcomes()`: newest first, optionally one quest, state or code. */
5851
5882
  declare const questOutcomeQuerySchema: z.ZodObject<{
5852
- /** Quest key or ID. */
5853
5883
  quest: z.ZodOptional<z.ZodString>;
5854
5884
  state: z.ZodOptional<z.ZodEnum<{
5855
5885
  admitted: "admitted";
5856
5886
  skipped: "skipped";
5857
5887
  }>>;
5858
- /** Only skips with this code, such as `historical`. */
5859
5888
  code: z.ZodOptional<z.ZodString>;
5860
5889
  cursor: z.ZodOptional<z.ZodString>;
5861
5890
  }, z.core.$strict>;
@@ -5919,4 +5948,4 @@ declare const managementStateQuerySchema: z.ZodObject<{
5919
5948
  }, z.core.$strict>;
5920
5949
  type ManagementStateQuery = z.input<typeof managementStateQuerySchema>;
5921
5950
 
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 };
5951
+ 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 };
@@ -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-TZJT5CRF.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-EQF4ID47.js";
12
+ import "./chunk-AWWCEP7F.js";
13
13
 
14
14
  // src/portal-proxy.ts
15
15
  import * as z from "zod";