@domino-sdk/relay 1.56.0 → 1.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/dist/{accounts-DRPENuZe.d.ts → accounts-DoabriBX.d.ts} +21 -7
  3. package/dist/{attempt-captures-CxxO7DeD.d.ts → attempt-captures-W2dgzGqE.d.ts} +1 -1
  4. package/dist/authoring.d.ts +323 -39
  5. package/dist/authoring.js +312 -18
  6. package/dist/{automatic-outcomes-DxW_v5Wc.d.ts → automatic-outcomes-Cmou89IS.d.ts} +1 -1
  7. package/dist/avatar.d.ts +1 -2
  8. package/dist/browser.d.ts +19 -11
  9. package/dist/browser.js +12 -10
  10. package/dist/{capability-error-DSd8EMQC.d.ts → capability-error-DufwG3G0.d.ts} +21 -7
  11. package/dist/{chunk-OTITLABX.js → chunk-2FHNY52R.js} +8 -2
  12. package/dist/{chunk-QNQNKIAA.js → chunk-422J3QRW.js} +12 -2
  13. package/dist/{chunk-INSWI2VZ.js → chunk-4OFH4BNX.js} +1 -1
  14. package/dist/{chunk-KBVH4XZC.js → chunk-6ZG7WNYX.js} +1 -1
  15. package/dist/{chunk-BHHUSBSD.js → chunk-GBSDAD3N.js} +1627 -887
  16. package/dist/{chunk-W5U2WXG3.js → chunk-KUPVQXUJ.js} +2 -2
  17. package/dist/{chunk-G6XVBYH7.js → chunk-KWFY7L7X.js} +4 -4
  18. package/dist/{chunk-BJYMTCWG.js → chunk-MJEJQH5A.js} +18 -6
  19. package/dist/{chunk-ULQU7KC4.js → chunk-N3LJ6GFK.js} +1 -5
  20. package/dist/{chunk-ABJ4G47X.js → chunk-N7YOS4ZU.js} +1 -1
  21. package/dist/{chunk-MNU6UPXY.js → chunk-OTEUP2SG.js} +1 -1
  22. package/dist/{chunk-NK6EER33.js → chunk-VVRQQRMQ.js} +12 -12
  23. package/dist/{chunk-H2MD6E7Z.js → chunk-VWMIA2TT.js} +8 -2
  24. package/dist/{chunk-RBPMT53S.js → chunk-XQKUJL7H.js} +25 -5
  25. package/dist/{chunk-CXKXPB7K.js → chunk-Y2IGFLD2.js} +36 -11
  26. package/dist/{chunk-VSHV7FEA.js → chunk-YNW2ZUUP.js} +56 -153
  27. package/dist/{chunk-CK7HO32Z.js → chunk-YOAPPIWN.js} +2 -2
  28. package/dist/{client-bX3oTpRu.d.ts → client-Cw1pB5sv.d.ts} +121 -117
  29. package/dist/{deployments-D3lxfQMB.d.ts → deployments-DI-W7fBq.d.ts} +1105 -182
  30. package/dist/{groups-DPE004_V.d.ts → groups-9Jm3peq3.d.ts} +14 -7
  31. package/dist/index.d.ts +10 -11
  32. package/dist/index.js +9 -9
  33. package/dist/{integrations-CcD5NPEA.d.ts → integrations-CmIkP1Gi.d.ts} +48 -32
  34. package/dist/internal.d.ts +10 -10
  35. package/dist/internal.js +8 -8
  36. package/dist/{offers-CtzMeB7O.d.ts → offers-CqXfMIxq.d.ts} +7 -2
  37. package/dist/{pages-BlLqB8ZQ.d.ts → pages-Bti7g5mX.d.ts} +184 -10
  38. package/dist/{participant-activity-iciCEs_8.d.ts → participant-activity-DHL8QYks.d.ts} +4 -0
  39. package/dist/portal-proxy.js +3 -3
  40. package/dist/react/index.d.ts +74 -74
  41. package/dist/react/index.js +10 -10
  42. package/dist/runtime/authoring.js +1 -1
  43. package/dist/runtime/chunks/ADUMK6CR.js +1 -0
  44. package/dist/runtime/chunks/EWU4OKSY.js +62 -0
  45. package/dist/runtime/manifest.json +5 -5
  46. package/dist/runtime/schema.js +1 -1
  47. package/dist/runtime/zod.js +1 -1
  48. package/dist/{schema-C4m9RhCR.d.ts → schema-CwbRkmlr.d.ts} +324 -35
  49. package/dist/schema.d.ts +854 -437
  50. package/dist/schema.js +103 -25
  51. package/dist/server/index.d.ts +10 -10
  52. package/dist/server/index.js +711 -81
  53. package/dist/{submission-input-wTiYGdgA.d.ts → submission-input-D9EGH_yb.d.ts} +2 -2
  54. package/dist/{telegram-browser-Bh3i0HiH.d.ts → telegram-browser-CTJh4Ro_.d.ts} +4 -4
  55. package/dist/testing.d.ts +89 -9
  56. package/dist/testing.js +218 -13
  57. package/dist/{transport-CnKA-_RL.d.ts → transport-B8Ss5lcz.d.ts} +9189 -2009
  58. package/dist/wallet-DZWL7lJH.d.ts +972 -0
  59. package/dist/{x-1czZFVUW.d.ts → x-KFJD2x8y.d.ts} +3 -3
  60. package/package.json +2 -2
  61. package/dist/profiles-BoOK03cR.d.ts +0 -299
  62. package/dist/runtime/chunks/IDOMZWRY.js +0 -40
  63. package/dist/runtime/chunks/NDB42VFF.js +0 -1
  64. package/dist/util.d-w9f9t3ua.d.ts +0 -5
  65. package/dist/wallet-Ac7OFpOr.d.ts +0 -228
@@ -1,5 +1,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-CwbRkmlr.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<{
@@ -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;
@@ -2767,10 +2770,14 @@ declare const removeGroupMemberSchema: z.ZodObject<{
2767
2770
  actionId: z.ZodString;
2768
2771
  reason: z.ZodString;
2769
2772
  }, z.core.$strict>;
2773
+ /** Archives or unarchives a group, with an optional reason for the audit history. */
2774
+ declare const groupArchiveInputSchema: z.ZodObject<{
2775
+ reason: z.ZodOptional<z.ZodString>;
2776
+ }, z.core.$strict>;
2777
+ type GroupArchiveInput = z.input<typeof groupArchiveInputSchema>;
2770
2778
  /** One page of groups or of a group's members: pass `nextCursor` back as `cursor`. */
2771
2779
  declare const groupPageQuerySchema: z.ZodObject<{
2772
2780
  cursor: z.ZodOptional<z.ZodString>;
2773
- /** Items per page, 1–100; the default is 50. */
2774
2781
  limit: z.ZodOptional<z.ZodNumber>;
2775
2782
  }, z.core.$strict>;
2776
2783
  type GroupPageQuery = z.input<typeof groupPageQuerySchema>;
@@ -2817,4 +2824,4 @@ declare const groupMemberPageSchema: z.ZodObject<{
2817
2824
  /** @compat output */
2818
2825
  type GroupMemberPage = z.infer<typeof groupMemberPageSchema>;
2819
2826
 
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 };
2827
+ 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-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-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-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-BlLqB8ZQ.js';
7
- export { A as AccountConnection, a as AuthProvider, T as TelegramAccountConnection, b as TelegramSignInMethods } from './accounts-DRPENuZe.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-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';
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
- 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-VVRQQRMQ.js";
9
9
  import {
10
10
  createRelayAction
11
- } from "./chunk-INSWI2VZ.js";
11
+ } from "./chunk-4OFH4BNX.js";
12
12
  import {
13
13
  QuestOutcomeState
14
- } from "./chunk-RBPMT53S.js";
15
- import "./chunk-BJYMTCWG.js";
14
+ } from "./chunk-XQKUJL7H.js";
15
+ import "./chunk-MJEJQH5A.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-YNW2ZUUP.js";
19
+ import "./chunk-6ZG7WNYX.js";
20
+ import "./chunk-N7YOS4ZU.js";
21
21
  import {
22
22
  sessionMember
23
- } from "./chunk-QNQNKIAA.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-BHHUSBSD.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 { k as WalletBalanceQuery } from './wallet-Ac7OFpOr.js';
3
- import { C as ResourceHandle } from './schema-C4m9RhCR.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">;
@@ -249,11 +253,6 @@ declare function parseSettings(fields: Record<string, SettingField>, input: unkn
249
253
  declare function missingResourceSettings(fields: Record<string, SettingField>, values: SettingsValues): string[];
250
254
  declare function compatibleSettingKinds(previous: SettingField, next: SettingField): boolean;
251
255
 
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
256
  /**
258
257
  * A YouTube Short's body, as `content()` quests read it in `ctx.tracker.content.body`. Every field
259
258
  * is what YouTube reported when Relay last read the video.
@@ -272,11 +271,6 @@ type YouTubeShortBody = z.infer<typeof youtubeShortBodySchema>;
272
271
  declare const youtubeShortMetrics: readonly ["views", "likes", "comments"];
273
272
  type YouTubeShortMetric = (typeof youtubeShortMetrics)[number];
274
273
 
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
274
  /**
281
275
  * A TikTok video's body, as `content()` quests read it in `ctx.tracker.content.body`. Every field
282
276
  * is what TikTok reported when Relay last read the video.
@@ -319,12 +313,9 @@ declare const dashboardPanelAuthoringSchema: z.ZodObject<{
319
313
  key: z.ZodString;
320
314
  title: z.ZodString;
321
315
  description: z.ZodOptional<z.ZodString>;
322
- /** A metric ID from the catalog (`analytics.catalog`). */
323
316
  metric: z.ZodString;
324
317
  breakdown: z.ZodOptional<z.ZodString>;
325
- /** Each filter names one key or a list of keys; a list matches any of them. */
326
318
  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
319
  ledger: z.ZodOptional<z.ZodString>;
329
320
  chart: z.ZodEnum<{
330
321
  number: "number";
@@ -338,14 +329,12 @@ declare const dashboardAuthoringSchema: z.ZodObject<{
338
329
  key: z.ZodString;
339
330
  title: z.ZodString;
340
331
  description: z.ZodOptional<z.ZodString>;
341
- /** The range the dashboard opens with. Defaults to `30d`. */
342
332
  defaultRange: z.ZodOptional<z.ZodEnum<{
343
333
  "7d": "7d";
344
334
  "30d": "30d";
345
335
  "90d": "90d";
346
336
  all: "all";
347
337
  }>>;
348
- /** Orders dashboards in lists: by position, those without one last, then by title. */
349
338
  position: z.ZodOptional<z.ZodNumber>;
350
339
  sections: z.ZodArray<z.ZodObject<{
351
340
  title: z.ZodOptional<z.ZodString>;
@@ -354,12 +343,9 @@ declare const dashboardAuthoringSchema: z.ZodObject<{
354
343
  key: z.ZodString;
355
344
  title: z.ZodString;
356
345
  description: z.ZodOptional<z.ZodString>;
357
- /** A metric ID from the catalog (`analytics.catalog`). */
358
346
  metric: z.ZodString;
359
347
  breakdown: z.ZodOptional<z.ZodString>;
360
- /** Each filter names one key or a list of keys; a list matches any of them. */
361
348
  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
349
  ledger: z.ZodOptional<z.ZodString>;
364
350
  chart: z.ZodEnum<{
365
351
  number: "number";
@@ -390,12 +376,9 @@ declare const dashboardDefinitionSchema: z.ZodObject<{
390
376
  key: z.ZodString;
391
377
  title: z.ZodString;
392
378
  description: z.ZodOptional<z.ZodString>;
393
- /** A metric ID from the catalog (`analytics.catalog`). */
394
379
  metric: z.ZodString;
395
380
  breakdown: z.ZodOptional<z.ZodString>;
396
- /** Each filter names one key or a list of keys; a list matches any of them. */
397
381
  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
382
  ledger: z.ZodOptional<z.ZodString>;
400
383
  chart: z.ZodEnum<{
401
384
  number: "number";
@@ -413,14 +396,12 @@ declare const dashboardArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
413
396
  key: z.ZodString;
414
397
  title: z.ZodString;
415
398
  description: z.ZodOptional<z.ZodString>;
416
- /** The range the dashboard opens with. Defaults to `30d`. */
417
399
  defaultRange: z.ZodOptional<z.ZodEnum<{
418
400
  "7d": "7d";
419
401
  "30d": "30d";
420
402
  "90d": "90d";
421
403
  all: "all";
422
404
  }>>;
423
- /** Orders dashboards in lists: by position, those without one last, then by title. */
424
405
  position: z.ZodOptional<z.ZodNumber>;
425
406
  sections: z.ZodArray<z.ZodObject<{
426
407
  title: z.ZodOptional<z.ZodString>;
@@ -429,12 +410,9 @@ declare const dashboardArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
429
410
  key: z.ZodString;
430
411
  title: z.ZodString;
431
412
  description: z.ZodOptional<z.ZodString>;
432
- /** A metric ID from the catalog (`analytics.catalog`). */
433
413
  metric: z.ZodString;
434
414
  breakdown: z.ZodOptional<z.ZodString>;
435
- /** Each filter names one key or a list of keys; a list matches any of them. */
436
415
  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
416
  ledger: z.ZodOptional<z.ZodString>;
439
417
  chart: z.ZodEnum<{
440
418
  number: "number";
@@ -505,12 +483,9 @@ declare const dashboardPreviewSchema: z.ZodObject<{
505
483
  key: z.ZodString;
506
484
  title: z.ZodString;
507
485
  description: z.ZodOptional<z.ZodString>;
508
- /** A metric ID from the catalog (`analytics.catalog`). */
509
486
  metric: z.ZodString;
510
487
  breakdown: z.ZodOptional<z.ZodString>;
511
- /** Each filter names one key or a list of keys; a list matches any of them. */
512
488
  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
489
  ledger: z.ZodOptional<z.ZodString>;
515
490
  chart: z.ZodEnum<{
516
491
  number: "number";
@@ -591,6 +566,47 @@ declare function defineDashboard(input: DashboardInput): {
591
566
  position?: number | undefined;
592
567
  } & ResourceHandle<"dashboard">;
593
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
+
594
610
  /** Modules a quest can declare to enable provider readers. Project connections are separate. */
595
611
  declare const evaluatorIntegrationProviderSchema: z.ZodEnum<{
596
612
  discord: "discord";
@@ -630,4 +646,4 @@ declare const projectIntegrationSchema: z.ZodObject<{
630
646
  }, z.core.$strip>;
631
647
  type ProjectIntegration = z.infer<typeof projectIntegrationSchema>;
632
648
 
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 };
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-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-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-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-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-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-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-D3lxfQMB.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-G6XVBYH7.js";
12
+ } from "./chunk-KWFY7L7X.js";
13
13
  import {
14
14
  parseImageExtraction,
15
15
  parseImageResult
16
- } from "./chunk-W5U2WXG3.js";
17
- import "./chunk-CK7HO32Z.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-H2MD6E7Z.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-KBVH4XZC.js";
39
- import "./chunk-ABJ4G47X.js";
40
- import "./chunk-QNQNKIAA.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-BHHUSBSD.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 { C as ResourceHandle } from './schema-C4m9RhCR.js';
3
- import { m as AuthoringIdentity } from './groups-DPE004_V.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;
@@ -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>]>;
@@ -557,6 +561,7 @@ declare const offerSchema: z.ZodObject<{
557
561
  }, z.core.$strict>, z.ZodObject<{
558
562
  kind: z.ZodLiteral<"paused">;
559
563
  }, z.core.$strict>], "kind">;
564
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
560
565
  missing: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
561
566
  kind: z.ZodLiteral<"completion">;
562
567
  quest: z.ZodString;