@domino-sdk/relay 1.61.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.
- package/CHANGELOG.md +156 -8
- package/README.md +3 -2
- package/dist/{schema-CZ6Rj0ZF.d.ts → accounts-CCqCKCVx.d.ts} +3127 -1764
- package/dist/action-9Xl0StBg.d.ts +33 -0
- package/dist/{integrations-B3y36OaB.d.ts → analytics-BwAKLi7O.d.ts} +347 -57
- package/dist/{attempt-captures-DYnJVkfg.d.ts → attempt-captures-Cm-5G0PC.d.ts} +1 -1
- package/dist/authoring.d.ts +130 -42
- package/dist/authoring.js +112 -37
- package/dist/{automatic-outcomes-If88LR9f.d.ts → automatic-outcomes-pAsOyIVp.d.ts} +5 -1
- package/dist/avatar.d.ts +1 -1
- package/dist/browser.d.ts +15 -11
- package/dist/browser.js +15 -11
- package/dist/{announcements-CHx3-HBw.d.ts → capability-error-DFMwSuSf.d.ts} +161 -4
- package/dist/{pages-K7-KjSXw.d.ts → catalog--ZIlskAo.d.ts} +39 -561
- package/dist/{chunk-DYXDZFKA.js → chunk-3KLC4AMA.js} +37 -11
- package/dist/{chunk-XBV2CK2H.js → chunk-3PYYGFSB.js} +14 -2
- package/dist/{chunk-RHBS5FJL.js → chunk-5TEYFX6X.js} +2 -2
- package/dist/chunk-6WCIWXUV.js +31 -0
- package/dist/chunk-CICDIBOF.js +373 -0
- package/dist/{chunk-MHPKEVEW.js → chunk-CZFXGGEK.js} +5 -0
- package/dist/chunk-D26YNACF.js +320 -0
- package/dist/{chunk-5I54XBK2.js → chunk-E6IKQHTX.js} +2 -2
- package/dist/chunk-FWLQ5XCS.js +21 -0
- package/dist/{chunk-SKGTNTLF.js → chunk-GKIFABGN.js} +150 -61
- package/dist/chunk-GTDW453U.js +522 -0
- package/dist/{chunk-VURRFVNP.js → chunk-HTZHBTIL.js} +69 -27
- package/dist/chunk-K2KS3JLY.js +188 -0
- package/dist/{chunk-ZDJLPN4L.js → chunk-MK425RXJ.js} +3143 -3209
- package/dist/{chunk-L77O64I4.js → chunk-QYPMPWVX.js} +1 -1
- package/dist/chunk-UAKYDVT3.js +565 -0
- package/dist/{chunk-DHXDBAJF.js → chunk-UPQPUJOU.js} +36 -123
- package/dist/{chunk-24I4R732.js → chunk-UW5232GG.js} +34 -19
- package/dist/chunk-WSBYWVTZ.js +717 -0
- package/dist/{chunk-PPB7HALD.js → chunk-XJFYAXET.js} +9 -8
- package/dist/{chunk-7A4J67ZL.js → chunk-XNKSSE32.js} +1 -1
- package/dist/{chunk-QEAS4ZGS.js → chunk-Y322OTCH.js} +1 -1
- package/dist/{client-C51w7fMb.d.ts → client-B-hbHX30.d.ts} +109 -40
- package/dist/{deployments-kWoHFaqj.d.ts → deployments-M4OHn7G3.d.ts} +407 -18
- package/dist/identity-integration-3mX6b5iH.d.ts +1241 -0
- package/dist/index.d.ts +13 -11
- package/dist/index.js +14 -11
- package/dist/internal.d.ts +14 -12
- package/dist/internal.js +26 -14
- package/dist/{offers-BoV4ryUc.d.ts → offers-DhAtss4_.d.ts} +21 -4
- package/dist/pages-B8q8Y_dQ.d.ts +715 -0
- package/dist/{participant-activity-DHL8QYks.d.ts → participant-activity-D-Drp24G.d.ts} +16 -3
- package/dist/portal-proxy.d.ts +59 -2
- package/dist/portal-proxy.js +109 -23
- package/dist/react/index.d.ts +206 -26
- package/dist/react/index.js +153 -25
- package/dist/{action-DBzILFx9.d.ts → request-error-D_dUPLwo.d.ts} +1 -31
- package/dist/runtime/authoring.js +1 -1
- package/dist/runtime/chunks/Y4OAVXFR.js +1 -0
- package/dist/runtime/manifest.json +3 -3
- package/dist/runtime/schema.js +1 -1
- package/dist/schema.d.ts +154 -30
- package/dist/schema.js +126 -75
- package/dist/server/index.d.ts +14 -12
- package/dist/server/index.js +2137 -1633
- package/dist/sign-in-providers-BkjcDsFF.d.ts +39 -0
- package/dist/submission-input-DHGKhXfp.d.ts +342 -0
- package/dist/{telegram-browser-BUceZIGZ.d.ts → telegram-browser-BCE7zdOb.d.ts} +46 -6
- package/dist/telegram.d.ts +64 -0
- package/dist/telegram.js +23 -0
- package/dist/testing.d.ts +112 -15
- package/dist/testing.js +321 -16
- package/dist/tracker-data-Hb1uQnk5.d.ts +1855 -0
- package/dist/{transport-BrX9pIGN.d.ts → transport-DkhX2Cbs.d.ts} +5764 -2217
- package/dist/{wallet-CIqFoxdm.d.ts → wallet-DTO7SXj7.d.ts} +20 -7
- package/package.json +5 -1
- package/dist/accounts-DoabriBX.d.ts +0 -306
- package/dist/capability-error-DufwG3G0.d.ts +0 -159
- package/dist/chunk-3Y3L2F54.js +0 -982
- package/dist/chunk-EN3M5Z4J.js +0 -13
- package/dist/chunk-QNUHWK7R.js +0 -602
- package/dist/chunk-SE4PFJPT.js +0 -247
- package/dist/groups-CqcA2Ycs.d.ts +0 -2827
- package/dist/runtime/chunks/5QVFB4TU.js +0 -1
- package/dist/submission-input-C54Q8yAD.d.ts +0 -146
- package/dist/x-D1PGi8Sq.d.ts +0 -331
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
export { B as Badge, M as ManagedBadge,
|
|
2
|
-
export { R as RelayAction,
|
|
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-
|
|
4
|
-
export {
|
|
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
|
|
7
|
-
export {
|
|
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-
|
|
9
|
-
export {
|
|
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-
|
|
11
|
-
export {
|
|
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-
|
|
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-
|
|
8
|
+
} from "./chunk-GKIFABGN.js";
|
|
9
9
|
import {
|
|
10
10
|
createRelayAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Y322OTCH.js";
|
|
12
|
+
import "./chunk-6WCIWXUV.js";
|
|
12
13
|
import {
|
|
13
14
|
QuestOutcomeState
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-CICDIBOF.js";
|
|
16
|
+
import "./chunk-D26YNACF.js";
|
|
17
|
+
import "./chunk-GTDW453U.js";
|
|
16
18
|
import {
|
|
17
19
|
PointEntryKind
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-EN3M5Z4J.js";
|
|
20
|
+
} from "./chunk-WSBYWVTZ.js";
|
|
21
|
+
import "./chunk-3PYYGFSB.js";
|
|
21
22
|
import {
|
|
22
23
|
sessionMember
|
|
23
|
-
} from "./chunk-
|
|
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
|
-
|
|
32
|
-
} from "./chunk-ZDJLPN4L.js";
|
|
34
|
+
isRequestError
|
|
35
|
+
} from "./chunk-K2KS3JLY.js";
|
|
33
36
|
export {
|
|
34
37
|
AttemptStatus,
|
|
35
38
|
PointEntryKind,
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
|
|
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 './
|
|
8
|
-
import './wallet-
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
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-
|
|
7
|
+
} from "./chunk-UPQPUJOU.js";
|
|
13
8
|
import {
|
|
14
9
|
parseImageExtraction,
|
|
15
10
|
parseImageResult
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-PPB7HALD.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-
|
|
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 {
|
|
3
|
-
import {
|
|
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
|
-
/**
|
|
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 {
|
|
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 };
|