@domino-sdk/relay 1.60.0 → 1.62.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 (80) hide show
  1. package/CHANGELOG.md +175 -8
  2. package/README.md +3 -2
  3. package/dist/{schema-CwbRkmlr.d.ts → accounts-CCqCKCVx.d.ts} +3127 -1764
  4. package/dist/action-9Xl0StBg.d.ts +33 -0
  5. package/dist/{analytics-URV-mxjH.d.ts → analytics-BwAKLi7O.d.ts} +347 -3
  6. package/dist/{attempt-captures-W2dgzGqE.d.ts → attempt-captures-Cm-5G0PC.d.ts} +1 -1
  7. package/dist/authoring.d.ts +130 -42
  8. package/dist/authoring.js +105 -19
  9. package/dist/{automatic-outcomes-Cmou89IS.d.ts → automatic-outcomes-pAsOyIVp.d.ts} +5 -1
  10. package/dist/avatar.d.ts +1 -1
  11. package/dist/browser.d.ts +15 -11
  12. package/dist/browser.js +15 -11
  13. package/dist/{integrations-CmIkP1Gi.d.ts → capability-error-DFMwSuSf.d.ts} +160 -42
  14. package/dist/{pages-Bti7g5mX.d.ts → catalog--ZIlskAo.d.ts} +39 -561
  15. package/dist/{chunk-N3LJ6GFK.js → chunk-3KLC4AMA.js} +40 -11
  16. package/dist/{chunk-6ZG7WNYX.js → chunk-3PYYGFSB.js} +14 -2
  17. package/dist/{chunk-VWMIA2TT.js → chunk-5TEYFX6X.js} +2 -2
  18. package/dist/chunk-6WCIWXUV.js +31 -0
  19. package/dist/chunk-CICDIBOF.js +373 -0
  20. package/dist/{chunk-MHPKEVEW.js → chunk-CZFXGGEK.js} +5 -0
  21. package/dist/chunk-D26YNACF.js +320 -0
  22. package/dist/{chunk-KUPVQXUJ.js → chunk-E6IKQHTX.js} +2 -2
  23. package/dist/chunk-FWLQ5XCS.js +21 -0
  24. package/dist/{chunk-VVRQQRMQ.js → chunk-GKIFABGN.js} +150 -61
  25. package/dist/chunk-GTDW453U.js +522 -0
  26. package/dist/{chunk-Y2IGFLD2.js → chunk-HTZHBTIL.js} +69 -27
  27. package/dist/chunk-K2KS3JLY.js +188 -0
  28. package/dist/{chunk-GBSDAD3N.js → chunk-MK425RXJ.js} +3140 -3202
  29. package/dist/{chunk-YOAPPIWN.js → chunk-QYPMPWVX.js} +1 -1
  30. package/dist/chunk-UAKYDVT3.js +565 -0
  31. package/dist/{chunk-KWFY7L7X.js → chunk-UPQPUJOU.js} +36 -123
  32. package/dist/{chunk-2FHNY52R.js → chunk-UW5232GG.js} +65 -19
  33. package/dist/chunk-WSBYWVTZ.js +717 -0
  34. package/dist/{chunk-422J3QRW.js → chunk-XJFYAXET.js} +9 -8
  35. package/dist/{chunk-OTEUP2SG.js → chunk-XNKSSE32.js} +1 -1
  36. package/dist/{chunk-4OFH4BNX.js → chunk-Y322OTCH.js} +1 -1
  37. package/dist/{client-Cw1pB5sv.d.ts → client-B-hbHX30.d.ts} +109 -40
  38. package/dist/{deployments-DI-W7fBq.d.ts → deployments-M4OHn7G3.d.ts} +407 -18
  39. package/dist/identity-integration-3mX6b5iH.d.ts +1241 -0
  40. package/dist/index.d.ts +13 -11
  41. package/dist/index.js +14 -11
  42. package/dist/internal.d.ts +14 -12
  43. package/dist/internal.js +26 -14
  44. package/dist/{offers-CqXfMIxq.d.ts → offers-DhAtss4_.d.ts} +21 -4
  45. package/dist/pages-B8q8Y_dQ.d.ts +715 -0
  46. package/dist/{participant-activity-DHL8QYks.d.ts → participant-activity-D-Drp24G.d.ts} +16 -3
  47. package/dist/portal-proxy.d.ts +59 -2
  48. package/dist/portal-proxy.js +109 -23
  49. package/dist/react/index.d.ts +211 -27
  50. package/dist/react/index.js +286 -29
  51. package/dist/{action-DBzILFx9.d.ts → request-error-D_dUPLwo.d.ts} +1 -31
  52. package/dist/runtime/authoring.js +1 -1
  53. package/dist/runtime/chunks/Y4OAVXFR.js +1 -0
  54. package/dist/runtime/manifest.json +3 -3
  55. package/dist/runtime/schema.js +1 -1
  56. package/dist/schema.d.ts +154 -30
  57. package/dist/schema.js +128 -75
  58. package/dist/server/index.d.ts +14 -12
  59. package/dist/server/index.js +2189 -1631
  60. package/dist/sign-in-providers-BkjcDsFF.d.ts +39 -0
  61. package/dist/submission-input-DHGKhXfp.d.ts +342 -0
  62. package/dist/{telegram-browser-CTJh4Ro_.d.ts → telegram-browser-BCE7zdOb.d.ts} +49 -6
  63. package/dist/telegram.d.ts +64 -0
  64. package/dist/telegram.js +23 -0
  65. package/dist/testing.d.ts +112 -15
  66. package/dist/testing.js +321 -16
  67. package/dist/tracker-data-Hb1uQnk5.d.ts +1855 -0
  68. package/dist/{transport-B8Ss5lcz.d.ts → transport-DkhX2Cbs.d.ts} +5863 -2217
  69. package/dist/{wallet-DZWL7lJH.d.ts → wallet-DTO7SXj7.d.ts} +27 -7
  70. package/package.json +5 -1
  71. package/dist/accounts-DoabriBX.d.ts +0 -306
  72. package/dist/capability-error-DufwG3G0.d.ts +0 -159
  73. package/dist/chunk-MJEJQH5A.js +0 -962
  74. package/dist/chunk-N7YOS4ZU.js +0 -13
  75. package/dist/chunk-XQKUJL7H.js +0 -602
  76. package/dist/chunk-YNW2ZUUP.js +0 -247
  77. package/dist/groups-9Jm3peq3.d.ts +0 -2827
  78. package/dist/runtime/chunks/ADUMK6CR.js +0 -1
  79. package/dist/submission-input-D9EGH_yb.d.ts +0 -146
  80. package/dist/x-KFJD2x8y.d.ts +0 -331
package/dist/index.d.ts CHANGED
@@ -1,15 +1,17 @@
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
- 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-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';
1
+ export { B as Badge, a as BadgeCatalog, M as ManagedBadge, b as MemberBadge, c as MemberBadges, O as Offer, d as OfferDefinition, e as OfferPrice, R as RedeemOfferInput, f as Redemption } from './offers-DhAtss4_.js';
2
+ export { R as RelayAction, c as createRelayAction } from './action-9Xl0StBg.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-B-hbHX30.js';
4
+ export { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind, c as RequestRecovery, i as isRequestError } from './request-error-D_dUPLwo.js';
5
+ export { A as AccountConnection, a as Attempt, b as AttemptStatus, c as AuthProvider, d as AvailabilityWindow, C as CampaignDefinition, e as CampaignEnrollment, f as CampaignEnrollmentInput, g as CampaignView, h as CampaignWithdrawalInput, E as Entitlement, i as EvaluatorProgress, K as KnownAttemptStatus, j as KnownPointEntryKind, k as KnownSignInAccountStatus, l as KnownSignInProvider, L as LeaderboardDefinition, m as LeaderboardHistoryPage, n as LeaderboardHistoryQuery, o as LeaderboardPage, p as LeaderboardPlacement, q as LeaderboardQuery, M as MemberCampaignEnrollmentInput, r as MemberCampaignWithdrawalInput, s as MemberProgress, P as PointBalance, t as PointBalances, u as PointEntry, v as PointEntryKind, w as PointHistoryPage, x as PointHistoryQuery, y as PointLedgerReference, z as ProjectGroup, B as ProjectGroupReference, Q as QuestBudgetView, D as QuestPresentation, F as QuestProfile, G as QuizEvidence, R as ReferralDefinition, H as Reward, S as SignInAccount, I as SignInAccountStatus, J as SignInProvider, N as SignInProviderOption, O as SubmissionEvidence, T as SubmitInput, U as TieredRewardReference } from './accounts-CCqCKCVx.js';
5
6
  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-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';
7
+ export { C as ConsentChannel, a as ConsentInput, b as ConsentSource, c as ConsentState, d as CreatorAccount, e as CreatorAccountProvider, f as CreatorAccounts, K as KnownConsentChannel, g as KnownConsentSource, h as KnownConsentState, M as MemberConsent, P as Page, i as PageQuery, Q as QuestClaimInput, j as QuestEnrollment, k as QuestEnrollmentInput, l as QuestOutcome, m as QuestOutcomePage, n as QuestOutcomeQuery, o as QuestOutcomeState, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './pages-B8q8Y_dQ.js';
8
+ export { M as MissingPrerequisite, P as Prerequisite, T as TelegramAccountConnection, a as TelegramSignInMethods, b as TextEvidence, c as TextOptions, U as UrlEvidence, d as UrlOptions, V as ValueEvidence } from './submission-input-DHGKhXfp.js';
9
+ 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-D-Drp24G.js';
10
+ export { Q as QuestInteraction, a as QuestRewardView, b as QuestView } from './catalog--ZIlskAo.js';
11
+ 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-pAsOyIVp.js';
12
+ export { K as KnownTrackerSkipCode, T as TrackerSkipCode } from './tracker-data-Hb1uQnk5.js';
13
+ 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-DTO7SXj7.js';
13
14
  export { Q as QuizContent, S as StreakProgress } from './streaks-0YuipsUQ.js';
14
15
  export { P as ParticipantDelivery } from './participant-rewards-BcWkBRn_.js';
15
16
  import 'zod';
17
+ import './sign-in-providers-BkjcDsFF.js';
package/dist/index.js CHANGED
@@ -5,31 +5,34 @@ import {
5
5
  import {
6
6
  QuestUpdatedError,
7
7
  createRelayClient
8
- } from "./chunk-VVRQQRMQ.js";
8
+ } from "./chunk-GKIFABGN.js";
9
9
  import {
10
10
  createRelayAction
11
- } from "./chunk-4OFH4BNX.js";
11
+ } from "./chunk-Y322OTCH.js";
12
+ import "./chunk-6WCIWXUV.js";
12
13
  import {
13
14
  QuestOutcomeState
14
- } from "./chunk-XQKUJL7H.js";
15
- import "./chunk-MJEJQH5A.js";
15
+ } from "./chunk-CICDIBOF.js";
16
+ import "./chunk-D26YNACF.js";
17
+ import "./chunk-GTDW453U.js";
16
18
  import {
17
19
  PointEntryKind
18
- } from "./chunk-YNW2ZUUP.js";
19
- import "./chunk-6ZG7WNYX.js";
20
- import "./chunk-N7YOS4ZU.js";
20
+ } from "./chunk-WSBYWVTZ.js";
21
+ import "./chunk-3PYYGFSB.js";
21
22
  import {
22
23
  sessionMember
23
- } from "./chunk-422J3QRW.js";
24
+ } from "./chunk-XJFYAXET.js";
24
25
  import {
25
26
  AttemptStatus,
27
+ paginate
28
+ } from "./chunk-MK425RXJ.js";
29
+ import {
26
30
  RelayError,
27
31
  RelayErrorCode,
28
32
  RequestError,
29
33
  isRelayError,
30
- isRequestError,
31
- paginate
32
- } from "./chunk-GBSDAD3N.js";
34
+ isRequestError
35
+ } from "./chunk-K2KS3JLY.js";
33
36
  export {
34
37
  AttemptStatus,
35
38
  PointEntryKind,
@@ -1,17 +1,19 @@
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
- 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-CwbRkmlr.js';
1
+ export { M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as isIntegrationParticipantPath, a as isParticipantRoute, m as managementTransport, p as parseImageExtraction, b as parseImageResult, d as participantRoutePattern, e as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, f as sourceDataSchema, g as sourceRoles, v as validateQuestShape } from './transport-DkhX2Cbs.js';
2
+ export { A as AccountVouchedBy, I as IdentityIntegration, a as IdentityIntegrationAccountVouchingInput, b as IdentityKindClaim, P as ParticipantExchangeAccountResult, c as ParticipantExchangeInput, d as ParticipantExchangeResult, e as accountVouchedBySchema, i as identityIntegrationAccountVouchingInputSchema, f as identityIntegrationInputSchema, g as identityIntegrationSchema, h as identityIntegrationSecretSchema, j as identityKindClaimSchema, p as participantExchangeAccountResultSchema, k as participantExchangeAccountsSchema, l as participantExchangeResultSchema, m as participantExchangeSchema } from './identity-integration-3mX6b5iH.js';
3
+ export { E as Extracted } from './analytics-BwAKLi7O.js';
4
+ import { b as RequestErrorKind } from './request-error-D_dUPLwo.js';
5
+ export { a as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, b as trackerDataIssue, c as trackerDataIssues, d as trackerDataPathTypes, e as trackerDataRecordSteps, w as whereSchemaIssue } from './tracker-data-Hb1uQnk5.js';
5
6
  export { H as HostEnvironment, h as hostEnvironmentPath, a as hostEnvironmentSchema } from './host-environment-FN4zg3hw.js';
6
7
  import 'zod';
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
- import './analytics-URV-mxjH.js';
14
- import './deployments-DI-W7fBq.js';
8
+ import './accounts-CCqCKCVx.js';
9
+ import './wallet-DTO7SXj7.js';
10
+ import './pages-B8q8Y_dQ.js';
11
+ import './offers-DhAtss4_.js';
12
+ import './action-9Xl0StBg.js';
13
+ import './catalog--ZIlskAo.js';
14
+ import './automatic-outcomes-pAsOyIVp.js';
15
+ import './attempt-captures-Cm-5G0PC.js';
16
+ import './deployments-M4OHn7G3.js';
15
17
 
16
18
  /** The management client's and the CLI's default deadline per call. */
17
19
  declare const MANAGEMENT_TIMEOUT = 30000;
package/dist/internal.js CHANGED
@@ -1,31 +1,38 @@
1
1
  import {
2
2
  REFERRAL_INTEGRATION_REWARD_ERROR,
3
3
  containsReferralIntegrationReward,
4
- identityIntegrationInputSchema,
5
- identityIntegrationSchema,
6
- identityIntegrationSecretSchema,
7
- identityKindClaimSchema,
8
4
  managementTransport,
9
- participantExchangeSchema,
10
5
  questConfiguration,
11
6
  sequenceCursorSchema
12
- } from "./chunk-KWFY7L7X.js";
7
+ } from "./chunk-UPQPUJOU.js";
13
8
  import {
14
9
  parseImageExtraction,
15
10
  parseImageResult
16
- } from "./chunk-KUPVQXUJ.js";
17
- import "./chunk-YOAPPIWN.js";
11
+ } from "./chunk-E6IKQHTX.js";
12
+ import "./chunk-QYPMPWVX.js";
18
13
  import {
19
14
  sourceDataSchema,
20
15
  sourceRoles,
21
16
  validateQuestShape
22
- } from "./chunk-VWMIA2TT.js";
17
+ } from "./chunk-5TEYFX6X.js";
18
+ import {
19
+ accountVouchedBySchema,
20
+ identityIntegrationAccountVouchingInputSchema,
21
+ identityIntegrationInputSchema,
22
+ identityIntegrationSchema,
23
+ identityIntegrationSecretSchema,
24
+ identityKindClaimSchema,
25
+ participantExchangeAccountResultSchema,
26
+ participantExchangeAccountsSchema,
27
+ participantExchangeResultSchema,
28
+ participantExchangeSchema
29
+ } from "./chunk-UAKYDVT3.js";
23
30
  import {
24
31
  isIntegrationParticipantPath,
25
32
  isParticipantRoute,
26
33
  participantRoutePattern,
27
34
  participantRoutes
28
- } from "./chunk-MHPKEVEW.js";
35
+ } from "./chunk-CZFXGGEK.js";
29
36
  import {
30
37
  hostEnvironmentPath,
31
38
  hostEnvironmentSchema
@@ -35,9 +42,8 @@ import {
35
42
  lifetime,
36
43
  retryAfter,
37
44
  retrying
38
- } from "./chunk-6ZG7WNYX.js";
39
- import "./chunk-N7YOS4ZU.js";
40
- import "./chunk-422J3QRW.js";
45
+ } from "./chunk-3PYYGFSB.js";
46
+ import "./chunk-XJFYAXET.js";
41
47
  import {
42
48
  schemaCheckedReader,
43
49
  trackerDataBatchSteps,
@@ -46,13 +52,16 @@ import {
46
52
  trackerDataPathTypes,
47
53
  trackerDataRecordSteps,
48
54
  whereSchemaIssue
49
- } from "./chunk-GBSDAD3N.js";
55
+ } from "./chunk-MK425RXJ.js";
56
+ import "./chunk-K2KS3JLY.js";
50
57
  export {
51
58
  MANAGEMENT_TIMEOUT,
52
59
  REFERRAL_INTEGRATION_REWARD_ERROR,
60
+ accountVouchedBySchema,
53
61
  containsReferralIntegrationReward,
54
62
  hostEnvironmentPath,
55
63
  hostEnvironmentSchema,
64
+ identityIntegrationAccountVouchingInputSchema,
56
65
  identityIntegrationInputSchema,
57
66
  identityIntegrationSchema,
58
67
  identityIntegrationSecretSchema,
@@ -63,6 +72,9 @@ export {
63
72
  managementTransport,
64
73
  parseImageExtraction,
65
74
  parseImageResult,
75
+ participantExchangeAccountResultSchema,
76
+ participantExchangeAccountsSchema,
77
+ participantExchangeResultSchema,
66
78
  participantExchangeSchema,
67
79
  participantRoutePattern,
68
80
  participantRoutes,
@@ -1,6 +1,6 @@
1
1
  import * as z from 'zod';
2
- import { y as ResourceHandle } from './schema-CwbRkmlr.js';
3
- import { l as AuthoringIdentity } from './groups-9Jm3peq3.js';
2
+ import { R as ResourceHandle } from './tracker-data-Hb1uQnk5.js';
3
+ import { Z as AuthoringIdentity } from './accounts-CCqCKCVx.js';
4
4
 
5
5
  declare const badgePropertiesSchema: z.ZodObject<{
6
6
  name: z.ZodString;
@@ -65,6 +65,16 @@ declare const memberBadgesSchema: z.ZodObject<{
65
65
  awardedAt: z.ZodNumber;
66
66
  }, z.core.$strip>>;
67
67
  }, z.core.$strip>;
68
+ /** `GET /v1/badges/catalog`: the active catalog. */
69
+ declare const badgeCatalogSchema: z.ZodObject<{
70
+ items: z.ZodArray<z.ZodObject<{
71
+ name: z.ZodString;
72
+ description: z.ZodDefault<z.ZodString>;
73
+ image: z.ZodString;
74
+ id: z.ZodString;
75
+ key: z.ZodNullable<z.ZodString>;
76
+ }, z.core.$strip>>;
77
+ }, z.core.$strip>;
68
78
  declare const badgeMutationSchema: z.ZodObject<{
69
79
  actionId: z.ZodString;
70
80
  reason: z.ZodString;
@@ -75,10 +85,14 @@ declare const badgeMutationResultSchema: z.ZodObject<{
75
85
  awarded: z.ZodBoolean;
76
86
  changed: z.ZodBoolean;
77
87
  }, z.core.$strip>;
88
+ /** @compat output */
78
89
  type Badge = z.infer<typeof badgeSchema>;
79
90
  type ManagedBadge = z.infer<typeof managedBadgeSchema>;
91
+ /** @compat output */
80
92
  type MemberBadge = z.infer<typeof memberBadgeSchema>;
93
+ /** @compat output */
81
94
  type MemberBadges = z.infer<typeof memberBadgesSchema>;
95
+ type BadgeCatalog = z.infer<typeof badgeCatalogSchema>;
82
96
 
83
97
  declare const offerPriceSchema: z.ZodObject<{
84
98
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -774,7 +788,10 @@ declare const redemptionCancellationSchema: z.ZodObject<{
774
788
  revision: z.ZodNumber;
775
789
  reason: z.ZodString;
776
790
  }, z.core.$strict>;
777
- /** Define one points-priced offer for a tier reward. The reward title is used when no title is set. */
791
+ /**
792
+ * Define one points-priced offer for a tier reward. The reward title is used when no title is set.
793
+ * @deprecated Import `defineOffer` from `@domino-sdk/relay/authoring`, which also refuses badge and group rewards when defined. Removed from `@domino-sdk/relay/schema` in 2.0.0.
794
+ */
778
795
  declare function defineOffer(input: OfferAuthoring & AuthoringIdentity): {
779
796
  title: string;
780
797
  enabled: boolean;
@@ -830,4 +847,4 @@ declare function defineOffer(input: OfferAuthoring & AuthoringIdentity): {
830
847
  })[] | undefined;
831
848
  } & ResourceHandle<"offer">;
832
849
 
833
- export { offerSchema as A, type Badge as B, redeemOfferSchema as C, redemptionCancellationSchema as D, redemptionPageSchema as E, redemptionQuerySchema as F, redemptionSchema as G, type ManagedBadge as M, type Offer as O, type RedeemOfferInput as R, type MemberBadge as a, type MemberBadges as b, type OfferDefinition as c, type OfferPrice as d, type Redemption as e, badgeDeclarationSchema as f, defineOffer as g, type OfferAuthoring as h, type RedemptionPage as i, type RedemptionQuery as j, badgeArtifactSchema as k, badgeMutationResultSchema as l, badgeMutationSchema as m, badgePropertiesSchema as n, badgeSchema as o, createBadgeSchema as p, managedBadgeSchema as q, memberBadgeSchema as r, memberBadgesSchema as s, offerArtifactSchema as t, offerAuthoringSchema as u, offerAvailabilitySchema as v, offerControlSchema as w, offerDefinitionSchema as x, offerLimitSchema as y, offerPriceSchema as z };
850
+ export { offerLimitSchema as A, type Badge as B, offerPriceSchema as C, offerSchema as D, redeemOfferSchema as E, redemptionCancellationSchema as F, redemptionPageSchema as G, redemptionQuerySchema as H, redemptionSchema as I, type ManagedBadge as M, type Offer as O, type RedeemOfferInput as R, type BadgeCatalog as a, type MemberBadge as b, type MemberBadges as c, type OfferDefinition as d, type OfferPrice as e, type Redemption as f, badgeDeclarationSchema as g, type OfferAuthoring as h, type RedemptionPage as i, type RedemptionQuery as j, badgeArtifactSchema as k, badgeCatalogSchema as l, badgeMutationResultSchema as m, badgeMutationSchema as n, badgePropertiesSchema as o, badgeSchema as p, createBadgeSchema as q, defineOffer as r, managedBadgeSchema as s, memberBadgeSchema as t, memberBadgesSchema as u, offerArtifactSchema as v, offerAuthoringSchema as w, offerAvailabilitySchema as x, offerControlSchema as y, offerDefinitionSchema as z };