@domino-sdk/relay 1.6.0 → 1.7.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/dist/{activity-mPUN4v5Q.d.ts → activity-Br6vyYze.d.ts} +1 -1
- package/dist/authoring.d.ts +8 -8
- package/dist/{automatic-outcomes-DmuqzQiH.d.ts → automatic-outcomes-C1Q9LrDb.d.ts} +1 -1
- package/dist/browser.d.ts +6 -6
- package/dist/{client-CQuTAjSs.d.ts → client-pfml_XAa.d.ts} +4 -4
- package/dist/{groups-D08JtrZu.d.ts → groups-BpWEqaPn.d.ts} +1 -1
- package/dist/{images-D7en0Awp.d.ts → images-BaKYd0fl.d.ts} +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/internal.d.ts +5 -119
- package/dist/internal.js +1 -1
- package/dist/{offers-BENZl5l5.d.ts → offers-CYtal8jO.d.ts} +2 -2
- package/dist/{pages-CBa-_u_n.d.ts → pages-CixTNnF4.d.ts} +1 -1
- package/dist/react/index.d.ts +8 -8
- package/dist/referral-reward-kinds-ClxAuCGx.d.ts +171 -0
- package/dist/{schema-BPdHSCAc.d.ts → schema-CQydLqw4.d.ts} +1 -1
- package/dist/schema.d.ts +8 -8
- package/dist/server/index.d.ts +13 -12
- package/dist/server/index.js +43 -6
- package/dist/{sign-in-options-FPKoZMfo.d.ts → sign-in-options-CtXUFV7E.d.ts} +2 -2
- package/dist/{submission-input-BzIWutQi.d.ts → submission-input-CLefHTrj.d.ts} +2 -2
- package/package.json +1 -1
- package/dist/identity-integration-BPovus6e.d.ts +0 -58
- /package/dist/{chunk-QGLHZ2E5.js → chunk-5ECM6AWV.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { O as OpenIdentityKind,
|
|
2
|
+
import { O as OpenIdentityKind, ac as TrackerDataSchema } from './schema-CQydLqw4.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The canonical name of a named IANA timezone, or null for an unknown name or a fixed offset.
|
package/dist/authoring.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { cR as xContentBodySchema, I as IdentityKind, a_ as customSourceSchema, aG as WithRecordData, aF as WithContent, aE as WithAccountRoles, cW as QuestHandle, cX as LedgerReference, cY as GroupHandle, cV as ResourceHandle, ao as TrackerSource, cf as trackerDefinitionSchema, a3 as Tracker, aa as TrackerData, $ as SourceRoles, cZ as LedgerHandle, cT as xSearchSourceSchema, aI as XTweet, aH as XContentMetric, aw as TrackerTriggerPolicy, aC as Where, H as MemberIdentity, as as TrackerTriggerContext, am as TrackerReader, a1 as TextReviewInput, a0 as TextResult, P as PhotoResult, x as Decision, bM as rewardSchema, at as TrackerTriggerMode, Z as RoleOf, aD as WhereSetting, r as ContentBody, u as ContentMetricName, cM as triggerSchema, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, a2 as TieredRewardDefinition } from './schema-CQydLqw4.js';
|
|
2
|
+
export { c_ as LedgerSetting, ac as TrackerDataSchema, ah as TrackerPage, al as TrackerReadQuery, c$ as trackerDataSchema, cB as trackerTriggerContextSchema } from './schema-CQydLqw4.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
export { z } from 'zod';
|
|
5
|
-
import { E as EngagementBudget, ai as leaderboardDefinitionSchema, b9 as AuthoringIdentity, aK as pointLedgerDeclarationSchema, aZ as referralAuthoringSchema, C as CampaignDefinition, A as AvailabilityWindow } from './groups-
|
|
6
|
-
export { U as defineCampaign, V as defineGroup } from './groups-
|
|
7
|
-
import { u as discordMessagesSourceSchema, e as DiscordMessageData, f as DiscordMessageTextData, w as discordReactionsSourceSchema, g as DiscordReactionData, h as DiscordReader, P as Prerequisite, T as TextEvidence, U as UrlEvidence, b as TextOptions, c as UrlOptions } from './submission-input-
|
|
8
|
-
export { k as balanceAtLeast, m as completed, B as inGroup } from './submission-input-
|
|
5
|
+
import { E as EngagementBudget, ai as leaderboardDefinitionSchema, b9 as AuthoringIdentity, aK as pointLedgerDeclarationSchema, aZ as referralAuthoringSchema, C as CampaignDefinition, A as AvailabilityWindow } from './groups-BpWEqaPn.js';
|
|
6
|
+
export { U as defineCampaign, V as defineGroup } from './groups-BpWEqaPn.js';
|
|
7
|
+
import { u as discordMessagesSourceSchema, e as DiscordMessageData, f as DiscordMessageTextData, w as discordReactionsSourceSchema, g as DiscordReactionData, h as DiscordReader, P as Prerequisite, T as TextEvidence, U as UrlEvidence, b as TextOptions, c as UrlOptions } from './submission-input-CLefHTrj.js';
|
|
8
|
+
export { k as balanceAtLeast, m as completed, B as inGroup } from './submission-input-CLefHTrj.js';
|
|
9
9
|
import { Q as QuizContent, a as StreakPolicy } from './streaks-CWyq8Px5.js';
|
|
10
10
|
import { d as ResourceSource, S as Setting, b as IntegrationModule, i as XReader, B as Budget, I as IntegerSettings } from './capability-error-Bv996M-h.js';
|
|
11
11
|
export { L as CapabilityError, C as CapabilityErrorCode, k as capabilityErrorCodes } from './capability-error-Bv996M-h.js';
|
|
12
|
-
import { e as ImageReader } from './images-
|
|
13
|
-
export { e as defineOffer } from './offers-
|
|
12
|
+
import { e as ImageReader } from './images-BaKYd0fl.js';
|
|
13
|
+
export { e as defineOffer } from './offers-CYtal8jO.js';
|
|
14
14
|
import { l as WalletReader } from './wallet-YssWxGg8.js';
|
|
15
15
|
export { h as CosmosDenom, a as CosmosNetwork, E as EvmChainId, j as WalletBalance, k as WalletBalanceQuery, p as cosmosDenomSchema, q as cosmosNetworkSchema, t as isEvmChainId } from './wallet-YssWxGg8.js';
|
|
16
16
|
export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-
|
|
2
|
-
export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, a as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, S as SignInClient, b as SignInIcon, c as SignInMethods, d as SignInOption, e as SignInOptions, f as SignInUnavailable, g as SignInWallet, h as SolanaInjectedProvider, i as StandardWallet, j as StandardWalletAccount, W as WalletSignInOption, k as cosmosChainList, l as cosmosSigner, m as discoverCosmosWallets, n as discoverEvmWallets, o as discoverSignInWallets, p as discoverSolanaWallets, q as evmSigner, s as signInOptions, r as solanaSigner, w as walletStandardSolanaSigner } from './sign-in-options-
|
|
3
|
-
import './groups-
|
|
1
|
+
import { m as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-pfml_XAa.js';
|
|
2
|
+
export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, a as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, S as SignInClient, b as SignInIcon, c as SignInMethods, d as SignInOption, e as SignInOptions, f as SignInUnavailable, g as SignInWallet, h as SolanaInjectedProvider, i as StandardWallet, j as StandardWalletAccount, W as WalletSignInOption, k as cosmosChainList, l as cosmosSigner, m as discoverCosmosWallets, n as discoverEvmWallets, o as discoverSignInWallets, p as discoverSolanaWallets, q as evmSigner, s as signInOptions, r as solanaSigner, w as walletStandardSolanaSigner } from './sign-in-options-CtXUFV7E.js';
|
|
3
|
+
import './groups-BpWEqaPn.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import './schema-
|
|
6
|
-
import './pages-
|
|
7
|
-
import './submission-input-
|
|
5
|
+
import './schema-CQydLqw4.js';
|
|
6
|
+
import './pages-CixTNnF4.js';
|
|
7
|
+
import './submission-input-CLefHTrj.js';
|
|
8
8
|
import './request-error-D_dUPLwo.js';
|
|
9
9
|
import './participant-activity-DkL3nY5a.js';
|
|
10
10
|
import './profiles-D2aFcOxu.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { aW as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, m as PointHistoryQuery, k as PointEntryKind, a2 as engagementPageQuerySchema } from './groups-
|
|
2
|
-
import { j as QuestView, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery, V as questExperienceSchema, o as RewardDeliveryAction, B as contentQualificationQuerySchema } from './pages-
|
|
3
|
-
import { M as MissingPrerequisite, V as ValueEvidence, a as AuthProvider } from './submission-input-
|
|
1
|
+
import { aW as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, m as PointHistoryQuery, k as PointEntryKind, a2 as engagementPageQuerySchema } from './groups-BpWEqaPn.js';
|
|
2
|
+
import { j as QuestView, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery, V as questExperienceSchema, o as RewardDeliveryAction, B as contentQualificationQuerySchema } from './pages-CixTNnF4.js';
|
|
3
|
+
import { M as MissingPrerequisite, V as ValueEvidence, a as AuthProvider } from './submission-input-CLefHTrj.js';
|
|
4
4
|
import { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind } from './request-error-D_dUPLwo.js';
|
|
5
|
-
import { f as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, h as TrackerSkipCode,
|
|
5
|
+
import { f as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, h as TrackerSkipCode, bW as submitSchema, aW as contentPerformanceQuerySchema } from './schema-CQydLqw4.js';
|
|
6
6
|
import { b as ParticipantSession, d as exchangeSchema, R as RelayEvent, P as ParticipantActivity } from './participant-activity-DkL3nY5a.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { F as profileUpdateSchema, c as ProfileCompletionQuery } from './profiles-D2aFcOxu.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { cV as ResourceHandle, cY as GroupHandle } from './schema-CQydLqw4.js';
|
|
3
3
|
|
|
4
4
|
declare const pointLedgerPropertiesSchema: z.ZodObject<{
|
|
5
5
|
name: z.ZodString;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { C as ClaimSubmission, 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, S as SubmissionDraft, l as SubmissionStatus, m as SubmissionStore, V as ValueSubmission, n as createRelayClient, o as isRelayError } from './client-
|
|
1
|
+
export { C as ClaimSubmission, 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, S as SubmissionDraft, l as SubmissionStatus, m as SubmissionStore, V as ValueSubmission, n as createRelayClient, o as isRelayError } from './client-pfml_XAa.js';
|
|
2
2
|
export { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind, c as RequestRecovery, i as isRequestError } from './request-error-D_dUPLwo.js';
|
|
3
|
-
export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownTrackerSkipCode, M as MemberProgress, Q as QuestBudgetView, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, R as Reward, S as SubmissionEvidence, g as SubmitInput, T as TieredRewardReference, h as TrackerSkipCode } from './schema-
|
|
3
|
+
export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownTrackerSkipCode, M as MemberProgress, Q as QuestBudgetView, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, R as Reward, S as SubmissionEvidence, g as SubmitInput, T as TieredRewardReference, h as TrackerSkipCode } from './schema-CQydLqw4.js';
|
|
4
4
|
export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
|
|
5
|
-
export { A as AccountConnection, a as AuthProvider, M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, b as TextOptions, U as UrlEvidence, c as UrlOptions, V as ValueEvidence } from './submission-input-
|
|
5
|
+
export { A as AccountConnection, a as AuthProvider, M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, b as TextOptions, U as UrlEvidence, c as UrlOptions, V as ValueEvidence } from './submission-input-CLefHTrj.js';
|
|
6
6
|
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-DkL3nY5a.js';
|
|
7
|
-
export { P as Page, a as PageQuery, Q as QuestClaimInput, b as QuestEnrollment, c as QuestEnrollmentInput, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView } from './pages-
|
|
8
|
-
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition } from './groups-
|
|
9
|
-
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-
|
|
10
|
-
export { O as Offer, a as OfferDefinition, b as OfferPrice, R as RedeemOfferInput, c as Redemption } from './offers-
|
|
7
|
+
export { P as Page, a as PageQuery, Q as QuestClaimInput, b as QuestEnrollment, c as QuestEnrollmentInput, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView } from './pages-CixTNnF4.js';
|
|
8
|
+
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition } from './groups-BpWEqaPn.js';
|
|
9
|
+
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-C1Q9LrDb.js';
|
|
10
|
+
export { O as Offer, a as OfferDefinition, b as OfferPrice, R as RedeemOfferInput, c as Redemption } from './offers-CYtal8jO.js';
|
|
11
11
|
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-D2aFcOxu.js';
|
|
12
12
|
export { Q as QuizContent, S as StreakProgress } from './streaks-CWyq8Px5.js';
|
|
13
13
|
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-YssWxGg8.js';
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,94 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
export { I as IdentityKindClaim, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, c as identityKindClaimSchema, p as participantExchangeSchema } from './identity-integration-BPovus6e.js';
|
|
4
|
-
import { c as ImageFields, g as ImageRequest } from './images-D7en0Awp.js';
|
|
5
|
-
export { E as Extracted } from './images-D7en0Awp.js';
|
|
1
|
+
export { I as IdentityKindClaim, 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, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, m as sourceRoles, v as validateQuestShape } from './referral-reward-kinds-ClxAuCGx.js';
|
|
2
|
+
export { E as Extracted } from './images-BaKYd0fl.js';
|
|
6
3
|
import { b as RequestErrorKind } from './request-error-D_dUPLwo.js';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/** Older releases did not record ownership. Preserve every value, including defaults. */
|
|
10
|
-
declare function questConfiguration(release: PublishedRelease): {
|
|
11
|
-
defaults: Record<string, string | number | boolean | {
|
|
12
|
-
id: string;
|
|
13
|
-
prompt: string;
|
|
14
|
-
choices: {
|
|
15
|
-
id: string;
|
|
16
|
-
label: string;
|
|
17
|
-
}[];
|
|
18
|
-
correct: string;
|
|
19
|
-
}[]>;
|
|
20
|
-
overrides: Record<string, string | number | boolean | {
|
|
21
|
-
id: string;
|
|
22
|
-
prompt: string;
|
|
23
|
-
choices: {
|
|
24
|
-
id: string;
|
|
25
|
-
label: string;
|
|
26
|
-
}[];
|
|
27
|
-
correct: string;
|
|
28
|
-
}[]>;
|
|
29
|
-
preserved: string[];
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
/** Every declared field is present with its declared type or null; nothing else is returned. */
|
|
33
|
-
declare function parseImageExtraction(raw: ImageFields, value: unknown): {
|
|
34
|
-
values: Record<string, string | number | boolean | null>;
|
|
35
|
-
reason: string;
|
|
36
|
-
};
|
|
37
|
-
declare function parseImageResult(request: ImageRequest, value: unknown): {
|
|
38
|
-
kind: "pass" | "fail" | "unclear";
|
|
39
|
-
reason: string;
|
|
40
|
-
} | {
|
|
41
|
-
width: number;
|
|
42
|
-
height: number;
|
|
43
|
-
format: "jpeg" | "png" | "webp" | "gif" | "avif";
|
|
44
|
-
bytes: number;
|
|
45
|
-
sha256: string;
|
|
46
|
-
phash: string;
|
|
47
|
-
dhash: string;
|
|
48
|
-
} | {
|
|
49
|
-
identical: boolean;
|
|
50
|
-
phashDistance: number;
|
|
51
|
-
dhashDistance: number;
|
|
52
|
-
} | {
|
|
53
|
-
values: Record<string, string | number | boolean | null>;
|
|
54
|
-
reason: string;
|
|
55
|
-
} | {
|
|
56
|
-
matches: number;
|
|
57
|
-
closestDistance: number | null;
|
|
58
|
-
firstSeenAt: number | null;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* One participant route. `path` uses the API's route syntax: every parameter is `:name{pattern}`,
|
|
63
|
-
* one path segment matched by `pattern`.
|
|
64
|
-
*/
|
|
65
|
-
type ParticipantRoute = {
|
|
66
|
-
method: "GET" | "POST";
|
|
67
|
-
path: `/v1/${string}`;
|
|
68
|
-
/**
|
|
69
|
-
* Sign-in routes only hosted apps reach: identity integrations' apps have their own login. They
|
|
70
|
-
* still connect accounts through /v1/auth/start and /v1/auth/complete.
|
|
71
|
-
*/
|
|
72
|
-
hostedOnly?: true;
|
|
73
|
-
};
|
|
74
|
-
declare const participantRoutes: readonly ParticipantRoute[];
|
|
75
|
-
/**
|
|
76
|
-
* The expression a route path matches: its literal parts exactly, each `:name{pattern}` one path
|
|
77
|
-
* segment. A parameter whose pattern can match "/" would span segments, so it is refused, as is a
|
|
78
|
-
* parameter without a pattern.
|
|
79
|
-
*/
|
|
80
|
-
declare function participantRoutePattern(path: string): RegExp;
|
|
81
|
-
/**
|
|
82
|
-
* A route a hosted app reaches through `proxyParticipant`: exactly a listed method and path.
|
|
83
|
-
* Another method on a listed path is not a participant route either.
|
|
84
|
-
*/
|
|
85
|
-
declare function isParticipantRoute(path: string, method: string): boolean;
|
|
86
|
-
/**
|
|
87
|
-
* A path an identity integration reaches, with any method: the API answers a method its route
|
|
88
|
-
* does not register with 405, and OPTIONS with the route's `Allow` header. Sign-in routes are
|
|
89
|
-
* hosted-only.
|
|
90
|
-
*/
|
|
91
|
-
declare function isIntegrationParticipantPath(path: string): boolean;
|
|
4
|
+
export { i as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, j as trackerDataIssue, k as trackerDataIssues, l as trackerDataPathTypes, m as trackerDataRecordSteps, w as whereSchemaIssue } from './schema-CQydLqw4.js';
|
|
5
|
+
import 'zod';
|
|
92
6
|
|
|
93
7
|
/** The management client's and the CLI's default deadline per call. */
|
|
94
8
|
declare const MANAGEMENT_TIMEOUT = 30000;
|
|
@@ -135,32 +49,4 @@ type Rules = {
|
|
|
135
49
|
*/
|
|
136
50
|
declare function retrying<T>(life: Lifetime, rules: Rules, attempt: () => Promise<T>): Promise<T>;
|
|
137
51
|
|
|
138
|
-
|
|
139
|
-
* How Relay reads back a cursor it issued over a numeric position. Clients treat cursors as
|
|
140
|
-
* opaque strings (`pageCursorSchema`); only the server parses them, so the format can change.
|
|
141
|
-
*/
|
|
142
|
-
declare const sequenceCursorSchema: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>, z.ZodNumber>;
|
|
143
|
-
|
|
144
|
-
/** The account roles a source's records can name: `author` and any others the source declares. */
|
|
145
|
-
declare function sourceRoles(source: TrackerSourceResponse): readonly string[];
|
|
146
|
-
/**
|
|
147
|
-
* The schema a source's record `data` matches: a custom source's declared schema, a Discord
|
|
148
|
-
* source's fixed one, or undefined for X (provider payloads) and untyped custom trackers.
|
|
149
|
-
*/
|
|
150
|
-
declare function sourceDataSchema(source: TrackerSource): TrackerDataSchema | undefined;
|
|
151
|
-
|
|
152
|
-
/** Rules independent of published resources, permissions and another release. */
|
|
153
|
-
type QuestShape = Pick<QuestDescription, "trigger" | "performance"> & {
|
|
154
|
-
completion: Pick<QuestDescription["completion"], "kind">;
|
|
155
|
-
requires: readonly unknown[];
|
|
156
|
-
};
|
|
157
|
-
/** The same trigger/completion matrix for authoring, publication and graph validation. */
|
|
158
|
-
declare function validateQuestShape(description: QuestShape, options?: {
|
|
159
|
-
template?: boolean;
|
|
160
|
-
}): void;
|
|
161
|
-
|
|
162
|
-
declare const REFERRAL_INTEGRATION_REWARD_ERROR = "Referral programs can grant points and tiered rewards; Discord roles need a quest";
|
|
163
|
-
/** Detect the unsupported reward in loose authoring, published, or reward-list shapes. */
|
|
164
|
-
declare function containsReferralIntegrationReward(value: unknown): boolean;
|
|
165
|
-
|
|
166
|
-
export { type AttemptFailure, type Lifetime, MANAGEMENT_TIMEOUT, type ParticipantRoute, REFERRAL_INTEGRATION_REWARD_ERROR, containsReferralIntegrationReward, isIntegrationParticipantPath, isParticipantRoute, lifetime, parseImageExtraction, parseImageResult, participantRoutePattern, participantRoutes, questConfiguration, retryAfter, retrying, sequenceCursorSchema, sourceDataSchema, sourceRoles, validateQuestShape };
|
|
52
|
+
export { type AttemptFailure, type Lifetime, MANAGEMENT_TIMEOUT, lifetime, retryAfter, retrying };
|
package/dist/internal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b9 as AuthoringIdentity } from './groups-
|
|
1
|
+
import { cV as ResourceHandle } from './schema-CQydLqw4.js';
|
|
2
|
+
import { b9 as AuthoringIdentity } from './groups-BpWEqaPn.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
declare const offerPriceSchema: z.ZodObject<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a as AttemptStatus,
|
|
2
|
+
import { a as AttemptStatus, by as questDescriptionSchema, h as TrackerSkipCode } from './schema-CQydLqw4.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The delivery actions this SDK knows. `RewardDelivery.action` is an open string: Relay can add
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../participant-activity-DkL3nY5a.js';
|
|
2
|
-
import { g as RelayError, R as RelayClient, S as SubmissionDraft } from '../client-
|
|
3
|
-
import { P as Page, j as QuestView, g as QuestOutcomeQuery, e as QuestOutcome } from '../pages-
|
|
2
|
+
import { g as RelayError, R as RelayClient, S as SubmissionDraft } from '../client-pfml_XAa.js';
|
|
3
|
+
import { P as Page, j as QuestView, g as QuestOutcomeQuery, e as QuestOutcome } from '../pages-CixTNnF4.js';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import { ReactNode } from 'react';
|
|
6
|
-
import { E as Entitlement, a as AttemptStatus, T as TieredRewardReference } from '../schema-
|
|
7
|
-
import { a as AuthProvider, A as AccountConnection } from '../submission-input-
|
|
8
|
-
import { c as SignInMethods, C as CosmosChains, d as SignInOption, f as SignInUnavailable, g as SignInWallet, D as DiscoveredWallet } from '../sign-in-options-
|
|
9
|
-
export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption } from '../sign-in-options-
|
|
6
|
+
import { E as Entitlement, a as AttemptStatus, T as TieredRewardReference } from '../schema-CQydLqw4.js';
|
|
7
|
+
import { a as AuthProvider, A as AccountConnection } from '../submission-input-CLefHTrj.js';
|
|
8
|
+
import { c as SignInMethods, C as CosmosChains, d as SignInOption, f as SignInUnavailable, g as SignInWallet, D as DiscoveredWallet } from '../sign-in-options-CtXUFV7E.js';
|
|
9
|
+
export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption } from '../sign-in-options-CtXUFV7E.js';
|
|
10
10
|
import { f as WalletSigner, d as WalletSignInNetwork, L as LinkedWallet } from '../wallet-YssWxGg8.js';
|
|
11
|
-
import { f as LeaderboardPlacement, b5 as referralSummarySchema, e as LeaderboardPage, i as PointBalances, j as PointEntry, n as PointLedgerReference } from '../groups-
|
|
11
|
+
import { f as LeaderboardPlacement, b5 as referralSummarySchema, e as LeaderboardPage, i as PointBalances, j as PointEntry, n as PointLedgerReference } from '../groups-BpWEqaPn.js';
|
|
12
12
|
import { f as ProfileUpdate, e as ProfileSummary, a as ProfileCompletion, d as ProfileReferral } from '../profiles-D2aFcOxu.js';
|
|
13
13
|
import { z } from 'zod';
|
|
14
|
-
import { O as Offer, c as Redemption } from '../offers-
|
|
14
|
+
import { O as Offer, c as Redemption } from '../offers-CYtal8jO.js';
|
|
15
15
|
import '../request-error-D_dUPLwo.js';
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { N as PublishedRelease, O as OpenIdentityKind, ao as TrackerSource, ac as TrackerDataSchema, aq as TrackerSourceResponse, V as QuestDescription } from './schema-CQydLqw4.js';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { c as ImageFields, g as ImageRequest } from './images-BaKYd0fl.js';
|
|
4
|
+
|
|
5
|
+
/** Older releases did not record ownership. Preserve every value, including defaults. */
|
|
6
|
+
declare function questConfiguration(release: PublishedRelease): {
|
|
7
|
+
defaults: Record<string, string | number | boolean | {
|
|
8
|
+
id: string;
|
|
9
|
+
prompt: string;
|
|
10
|
+
choices: {
|
|
11
|
+
id: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}[];
|
|
14
|
+
correct: string;
|
|
15
|
+
}[]>;
|
|
16
|
+
overrides: Record<string, string | number | boolean | {
|
|
17
|
+
id: string;
|
|
18
|
+
prompt: string;
|
|
19
|
+
choices: {
|
|
20
|
+
id: string;
|
|
21
|
+
label: string;
|
|
22
|
+
}[];
|
|
23
|
+
correct: string;
|
|
24
|
+
}[]>;
|
|
25
|
+
preserved: string[];
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
declare const identityIntegrationInputSchema: z.ZodObject<{
|
|
29
|
+
name: z.ZodString;
|
|
30
|
+
origin: z.ZodString;
|
|
31
|
+
identityKind: z.ZodOptional<z.ZodTemplateLiteral<`app:${string}`>>;
|
|
32
|
+
adoptIdentitiesFrom: z.ZodOptional<z.ZodString>;
|
|
33
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, z.core.$strict>;
|
|
35
|
+
/** An integration as responses return it: fields a newer Relay adds are ignored. */
|
|
36
|
+
declare const identityIntegrationSchema: z.ZodObject<{
|
|
37
|
+
id: z.ZodString;
|
|
38
|
+
name: z.ZodString;
|
|
39
|
+
origin: z.ZodString;
|
|
40
|
+
expiresAt: z.ZodNumber;
|
|
41
|
+
identityKind: z.ZodDefault<z.ZodNullable<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
|
|
42
|
+
organization: z.ZodString;
|
|
43
|
+
project: z.ZodString;
|
|
44
|
+
environment: z.ZodEnum<{
|
|
45
|
+
test: "test";
|
|
46
|
+
live: "live";
|
|
47
|
+
}>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
declare const identityIntegrationSecretSchema: z.ZodObject<{
|
|
50
|
+
id: z.ZodString;
|
|
51
|
+
name: z.ZodString;
|
|
52
|
+
origin: z.ZodString;
|
|
53
|
+
expiresAt: z.ZodNumber;
|
|
54
|
+
identityKind: z.ZodDefault<z.ZodNullable<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
|
|
55
|
+
organization: z.ZodString;
|
|
56
|
+
project: z.ZodString;
|
|
57
|
+
environment: z.ZodEnum<{
|
|
58
|
+
test: "test";
|
|
59
|
+
live: "live";
|
|
60
|
+
}>;
|
|
61
|
+
token: z.ZodString;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
/**
|
|
64
|
+
* An `app:<name>` kind claimed in the project and environment, and the integration that owns its
|
|
65
|
+
* identities: the live one, or the disconnected one a new integration would adopt them from.
|
|
66
|
+
*/
|
|
67
|
+
declare const identityKindClaimSchema: z.ZodObject<{
|
|
68
|
+
kind: z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>;
|
|
69
|
+
integration: z.ZodString;
|
|
70
|
+
integrationName: z.ZodString;
|
|
71
|
+
connected: z.ZodBoolean;
|
|
72
|
+
linked: z.ZodNumber;
|
|
73
|
+
unlinked: z.ZodNumber;
|
|
74
|
+
claimedAt: z.ZodNumber;
|
|
75
|
+
}, z.core.$strip>;
|
|
76
|
+
type IdentityKindClaim = z.infer<typeof identityKindClaimSchema>;
|
|
77
|
+
declare const participantExchangeSchema: z.ZodObject<{
|
|
78
|
+
subject: z.ZodString;
|
|
79
|
+
previousToken: z.ZodOptional<z.ZodString>;
|
|
80
|
+
}, z.core.$strict>;
|
|
81
|
+
|
|
82
|
+
/** Every declared field is present with its declared type or null; nothing else is returned. */
|
|
83
|
+
declare function parseImageExtraction(raw: ImageFields, value: unknown): {
|
|
84
|
+
values: Record<string, string | number | boolean | null>;
|
|
85
|
+
reason: string;
|
|
86
|
+
};
|
|
87
|
+
declare function parseImageResult(request: ImageRequest, value: unknown): {
|
|
88
|
+
kind: "pass" | "fail" | "unclear";
|
|
89
|
+
reason: string;
|
|
90
|
+
} | {
|
|
91
|
+
width: number;
|
|
92
|
+
height: number;
|
|
93
|
+
format: "jpeg" | "png" | "webp" | "gif" | "avif";
|
|
94
|
+
bytes: number;
|
|
95
|
+
sha256: string;
|
|
96
|
+
phash: string;
|
|
97
|
+
dhash: string;
|
|
98
|
+
} | {
|
|
99
|
+
identical: boolean;
|
|
100
|
+
phashDistance: number;
|
|
101
|
+
dhashDistance: number;
|
|
102
|
+
} | {
|
|
103
|
+
values: Record<string, string | number | boolean | null>;
|
|
104
|
+
reason: string;
|
|
105
|
+
} | {
|
|
106
|
+
matches: number;
|
|
107
|
+
closestDistance: number | null;
|
|
108
|
+
firstSeenAt: number | null;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* One participant route. `path` uses the API's route syntax: every parameter is `:name{pattern}`,
|
|
113
|
+
* one path segment matched by `pattern`.
|
|
114
|
+
*/
|
|
115
|
+
type ParticipantRoute = {
|
|
116
|
+
method: "GET" | "POST";
|
|
117
|
+
path: `/v1/${string}`;
|
|
118
|
+
/**
|
|
119
|
+
* Sign-in routes only hosted apps reach: identity integrations' apps have their own login. They
|
|
120
|
+
* still connect accounts through /v1/auth/start and /v1/auth/complete.
|
|
121
|
+
*/
|
|
122
|
+
hostedOnly?: true;
|
|
123
|
+
};
|
|
124
|
+
declare const participantRoutes: readonly ParticipantRoute[];
|
|
125
|
+
/**
|
|
126
|
+
* The expression a route path matches: its literal parts exactly, each `:name{pattern}` one path
|
|
127
|
+
* segment. A parameter whose pattern can match "/" would span segments, so it is refused, as is a
|
|
128
|
+
* parameter without a pattern.
|
|
129
|
+
*/
|
|
130
|
+
declare function participantRoutePattern(path: string): RegExp;
|
|
131
|
+
/**
|
|
132
|
+
* A route a hosted app reaches through `proxyParticipant`: exactly a listed method and path.
|
|
133
|
+
* Another method on a listed path is not a participant route either.
|
|
134
|
+
*/
|
|
135
|
+
declare function isParticipantRoute(path: string, method: string): boolean;
|
|
136
|
+
/**
|
|
137
|
+
* A path an identity integration reaches, with any method: the API answers a method its route
|
|
138
|
+
* does not register with 405, and OPTIONS with the route's `Allow` header. Sign-in routes are
|
|
139
|
+
* hosted-only.
|
|
140
|
+
*/
|
|
141
|
+
declare function isIntegrationParticipantPath(path: string): boolean;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* How Relay reads back a cursor it issued over a numeric position. Clients treat cursors as
|
|
145
|
+
* opaque strings (`pageCursorSchema`); only the server parses them, so the format can change.
|
|
146
|
+
*/
|
|
147
|
+
declare const sequenceCursorSchema: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>, z.ZodNumber>;
|
|
148
|
+
|
|
149
|
+
/** The account roles a source's records can name: `author` and any others the source declares. */
|
|
150
|
+
declare function sourceRoles(source: TrackerSourceResponse): readonly string[];
|
|
151
|
+
/**
|
|
152
|
+
* The schema a source's record `data` matches: a custom source's declared schema, a Discord
|
|
153
|
+
* source's fixed one, or undefined for X (provider payloads) and untyped custom trackers.
|
|
154
|
+
*/
|
|
155
|
+
declare function sourceDataSchema(source: TrackerSource): TrackerDataSchema | undefined;
|
|
156
|
+
|
|
157
|
+
/** Rules independent of published resources, permissions and another release. */
|
|
158
|
+
type QuestShape = Pick<QuestDescription, "trigger" | "performance"> & {
|
|
159
|
+
completion: Pick<QuestDescription["completion"], "kind">;
|
|
160
|
+
requires: readonly unknown[];
|
|
161
|
+
};
|
|
162
|
+
/** The same trigger/completion matrix for authoring, publication and graph validation. */
|
|
163
|
+
declare function validateQuestShape(description: QuestShape, options?: {
|
|
164
|
+
template?: boolean;
|
|
165
|
+
}): void;
|
|
166
|
+
|
|
167
|
+
declare const REFERRAL_INTEGRATION_REWARD_ERROR = "Referral programs can grant points and tiered rewards; Discord roles need a quest";
|
|
168
|
+
/** Detect the unsupported reward in loose authoring, published, or reward-list shapes. */
|
|
169
|
+
declare function containsReferralIntegrationReward(value: unknown): boolean;
|
|
170
|
+
|
|
171
|
+
export { type IdentityKindClaim as I, type ParticipantRoute as P, REFERRAL_INTEGRATION_REWARD_ERROR as R, identityIntegrationSchema as a, identityIntegrationSecretSchema as b, containsReferralIntegrationReward as c, identityKindClaimSchema as d, isIntegrationParticipantPath as e, isParticipantRoute as f, parseImageResult as g, participantExchangeSchema as h, identityIntegrationInputSchema as i, participantRoutePattern as j, participantRoutes as k, sourceDataSchema as l, sourceRoles as m, parseImageExtraction as p, questConfiguration as q, sequenceCursorSchema as s, validateQuestShape as v };
|
|
@@ -5726,4 +5726,4 @@ declare const contentPerformancePageSchema: z.ZodObject<{
|
|
|
5726
5726
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
5727
5727
|
}, z.core.$strict>;
|
|
5728
5728
|
|
|
5729
|
-
export { type
|
|
5729
|
+
export { type SourceRoles as $, type Attempt as A, type Bound as B, type CompletionSource as C, type DataLeaves as D, type Entitlement as E, type KnownCompletionSourceKind as F, type KnownIdentityKind as G, type MemberIdentity as H, type IdentityKind as I, type MemberPage as J, type KnownAttemptStatus as K, type PickupAvailability as L, type MemberProgress as M, type PublishedRelease as N, type OpenIdentityKind as O, type PhotoResult as P, type QuestBudgetView as Q, type Reward as R, type SubmissionEvidence as S, type TieredRewardReference as T, type QuestAvailability as U, type QuestDescription as V, type QuestSettingsInput as W, type ReleaseInput as X, type ReviewPage as Y, type RoleOf as Z, type Snapshot as _, AttemptStatus as a, decisionSchema as a$, type TextResult as a0, type TextReviewInput as a1, type TieredRewardDefinition as a2, type Tracker as a3, type TrackerAccount as a4, type TrackerAttribution as a5, type TrackerBound as a6, type TrackerCondition as a7, type TrackerContent as a8, type TrackerContentQuery as a9, type TriggerSince as aA, type TypedTrackerRecord as aB, type Where as aC, type WhereSetting as aD, type WithAccountRoles as aE, type WithContent as aF, type WithRecordData as aG, type XContentMetric as aH, type XTweet as aI, accountRoleSchema as aJ, appIdentityKindSchema as aK, artifactSchema as aL, attemptSchema as aM, batchReleaseSchema as aN, beginHandoverSchema as aO, beneficiaryRole as aP, completionRecordSchema as aQ, completionSourceSchema as aR, configurePickupSchema as aS, confirmHandoverSchema as aT, contentMetricNameSchema as aU, contentPerformancePageSchema as aV, contentPerformanceQuerySchema as aW, contentPerformanceSnapshotSchema as aX, createStockItemSchema as aY, customContentSchema as aZ, customSourceSchema as a_, type TrackerData as aa, type TrackerDataIssue as ab, type TrackerDataSchema as ac, type TrackerDefinition as ad, type TrackerDefinitionResponse as ae, type TrackerOutcome as af, type TrackerOutcomeQuery as ag, type TrackerPage as ah, type TrackerPreview as ai, type TrackerPreviewInput as aj, type TrackerQuery as ak, type TrackerReadQuery as al, type TrackerReader as am, type TrackerRecord as an, type TrackerSource as ao, type TrackerSourceKind as ap, type TrackerSourceResponse as aq, type TrackerStatus as ar, type TrackerTriggerContext as as, type TrackerTriggerMode as at, type TrackerTriggerOutcomePage as au, type TrackerTriggerOutcomeQuery as av, type TrackerTriggerPolicy as aw, type TrackerWhere as ax, type TriggerEnrollment as ay, type TriggerHistorical as az, type EvaluatorProgress as b, tieredRewardDefinitionSchema as b$, defaultTriggerMode as b0, deferPolicy as b1, entitlementCorrectionSchema as b2, entitlementRecoverySchema as b3, entitlementSchema as b4, entitlementStateSchema as b5, errorSchema as b6, evaluatorProgressSchema as b7, evaluatorProtocol as b8, evaluatorProtocolSchema as b9, questProfileSchema as bA, questSettingsInputSchema as bB, quizAnswersSchema as bC, quizEvidenceSchema as bD, releaseSchema as bE, reservationSchema as bF, reviewItemSchema as bG, reviewListSchema as bH, reviewModeSchema as bI, reviewPageSchema as bJ, rewardBundleSchema as bK, rewardKey as bL, rewardSchema as bM, snapshotSchema as bN, sourceContent as bO, sourceIdentities as bP, staffDecisionSchema as bQ, stockItemSchema as bR, stockSchema as bS, storedQuestDescriptionSchema as bT, storedReviewModeSchema as bU, submissionEvidenceSchema as bV, submitSchema as bW, templateSchema as bX, textResultSchema as bY, textReviewInputSchema as bZ, tierRewardSchema as b_, eventSchema as ba, evidenceSchema as bb, identityKindSchema as bc, integrationRewardSchema as bd, isAppIdentityKind as be, isKnownTrackerSource as bf, knownIdentityKinds as bg, mediaUrlSchema as bh, memberIdentitySchema as bi, memberListSchema as bj, memberPageSchema as bk, memberProgressSchema as bl, openIdentityKindSchema as bm, photoResultSchema as bn, pickupAllocationSchema as bo, pickupAvailabilitySchema as bp, pickupCatalogSchema as bq, pickupPolicySchema as br, pickupSelectionSchema as bs, pointsRewardSchema as bt, publishedReleaseSchema as bu, publishedTrackerSchema as bv, questAvailabilitySchema as bw, questBudgetViewSchema as bx, questDescriptionSchema as by, questPresentationSchema as bz, type KnownTrackerSkipCode as c, trackerDataSchema as c$, tieredRewardReferenceSchema as c0, trackerAccountSchema as c1, trackerArtifactSchema as c2, trackerAttributionSchema as c3, trackerBoundSchema as c4, trackerConditionSchema as c5, trackerContentQuerySchema as c6, trackerContentReadSchema as c7, trackerContentSchema as c8, trackerContentStageSchema as c9, trackerSummarySchema as cA, trackerTriggerContextSchema as cB, trackerTriggerModeSchema as cC, trackerTriggerOutcomePageSchema as cD, trackerTriggerOutcomeQuerySchema as cE, trackerTriggerPolicySchema as cF, trackerTriggerRecordSchema as cG, trackerWhereSchema as cH, triggerAdmission as cI, triggerEnrollmentSchema as cJ, triggerHistoricalSchema as cK, triggerMode as cL, triggerSchema as cM, triggerSinceSchema as cN, whereConditions as cO, whereSettings as cP, xAccountRoles as cQ, xContentBodySchema as cR, xContentMetrics as cS, xSearchSourceSchema as cT, xTweetSchema as cU, type ResourceHandle as cV, type QuestHandle as cW, type LedgerReference as cX, type GroupHandle as cY, type LedgerHandle as cZ, type LedgerSetting as c_, trackerControlSchema as ca, trackerDataMaxBranches as cb, trackerDataMaxEntries as cc, trackerDataSchemaSchema as cd, trackerDefinitionResponseSchema as ce, trackerDefinitionSchema as cf, trackerEvidenceSchema as cg, trackerIngestResultSchema as ch, trackerIngestSchema as ci, trackerOutcomePageSchema as cj, trackerOutcomeQuerySchema as ck, trackerOutcomeRetrySchema as cl, trackerOutcomeSchema as cm, trackerPageSchema as cn, trackerPreviewInputSchema as co, trackerPreviewLimits as cp, trackerPreviewSchema as cq, trackerQuerySchema as cr, trackerRecordAccountSchema as cs, trackerRecordInputSchema as ct, trackerRecordSchema as cu, trackerSkipCodes as cv, trackerSourceKinds as cw, trackerSourceResponseSchema as cx, trackerSourceSchema as cy, trackerStatusSchema as cz, type QuestPresentation as d, type QuestProfile as e, type QuizEvidence as f, type SubmitInput as g, type TrackerSkipCode as h, type TrackerDataBudget as i, trackerDataIssue as j, trackerDataIssues as k, trackerDataPathTypes as l, trackerDataRecordSteps as m, type AccountRole as n, type AppIdentityKind as o, CompletionSourceKind as p, type Condition as q, type ContentBody as r, schemaCheckedReader as s, trackerDataBatchSteps as t, type ContentMetricName as u, type ContentPerformanceSnapshot as v, whereSchemaIssue as w, type Decision as x, type EntitlementCorrection as y, type EntitlementState as z };
|
package/dist/schema.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { A as AccountConnection, a as AuthProvider, D as DiscordMember, d as DiscordMessage, e as DiscordMessageData, f as DiscordMessageTextData, g as DiscordReactionData, h as DiscordReader, M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, b as TextOptions, U as UrlEvidence, c as UrlOptions, V as ValueEvidence, i as accountConnectionSchema, j as authProviderSchema, k as balanceAtLeast, l as balancePrerequisiteSchema, m as completed, n as completionPrerequisiteSchema, o as discordMemberInputSchema, p as discordMemberSchema, q as discordMessageDataSchema, r as discordMessageInputSchema, s as discordMessageSchema, t as discordMessageTextDataSchema, u as discordMessagesSourceSchema, v as discordReactionDataSchema, w as discordReactionsSourceSchema, x as discordResourceSourceSchema, y as discordRewardSchema, z as groupPrerequisiteSchema, B as inGroup, C as missingPrerequisiteSchema, E as prerequisiteSchema, F as textEvidenceSchema, G as textOptionsSchema, H as urlEvidenceSchema, I as urlOptionsSchema, J as validateSubmissionValue, K as valueEvidenceSchema, L as xPostId } from './submission-input-
|
|
1
|
+
export { n as AccountRole, o as AppIdentityKind, A as Attempt, a as AttemptStatus, B as Bound, C as CompletionSource, p as CompletionSourceKind, q as Condition, r as ContentBody, u as ContentMetricName, v as ContentPerformanceSnapshot, D as DataLeaves, x as Decision, E as Entitlement, y as EntitlementCorrection, z as EntitlementState, b as EvaluatorProgress, I as IdentityKind, K as KnownAttemptStatus, F as KnownCompletionSourceKind, G as KnownIdentityKind, c as KnownTrackerSkipCode, H as MemberIdentity, J as MemberPage, M as MemberProgress, O as OpenIdentityKind, P as PhotoResult, L as PickupAvailability, N as PublishedRelease, U as QuestAvailability, Q as QuestBudgetView, V as QuestDescription, d as QuestPresentation, e as QuestProfile, W as QuestSettingsInput, f as QuizEvidence, X as ReleaseInput, Y as ReviewPage, R as Reward, Z as RoleOf, _ as Snapshot, $ as SourceRoles, S as SubmissionEvidence, g as SubmitInput, a0 as TextResult, a1 as TextReviewInput, a2 as TieredRewardDefinition, T as TieredRewardReference, a3 as Tracker, a4 as TrackerAccount, a5 as TrackerAttribution, a6 as TrackerBound, a7 as TrackerCondition, a8 as TrackerContent, a9 as TrackerContentQuery, aa as TrackerData, ab as TrackerDataIssue, ac as TrackerDataSchema, ad as TrackerDefinition, ae as TrackerDefinitionResponse, af as TrackerOutcome, ag as TrackerOutcomeQuery, ah as TrackerPage, ai as TrackerPreview, aj as TrackerPreviewInput, ak as TrackerQuery, al as TrackerReadQuery, am as TrackerReader, an as TrackerRecord, h as TrackerSkipCode, ao as TrackerSource, ap as TrackerSourceKind, aq as TrackerSourceResponse, ar as TrackerStatus, as as TrackerTriggerContext, at as TrackerTriggerMode, au as TrackerTriggerOutcomePage, av as TrackerTriggerOutcomeQuery, aw as TrackerTriggerPolicy, ax as TrackerWhere, ay as TriggerEnrollment, az as TriggerHistorical, aA as TriggerSince, aB as TypedTrackerRecord, aC as Where, aD as WhereSetting, aE as WithAccountRoles, aF as WithContent, aG as WithRecordData, aH as XContentMetric, aI as XTweet, aJ as accountRoleSchema, aK as appIdentityKindSchema, aL as artifactSchema, aM as attemptSchema, aN as batchReleaseSchema, aO as beginHandoverSchema, aP as beneficiaryRole, aQ as completionRecordSchema, aR as completionSourceSchema, aS as configurePickupSchema, aT as confirmHandoverSchema, aU as contentMetricNameSchema, aV as contentPerformancePageSchema, aW as contentPerformanceQuerySchema, aX as contentPerformanceSnapshotSchema, aY as createStockItemSchema, aZ as customContentSchema, a_ as customSourceSchema, a$ as decisionSchema, b0 as defaultTriggerMode, b1 as deferPolicy, b2 as entitlementCorrectionSchema, b3 as entitlementRecoverySchema, b4 as entitlementSchema, b5 as entitlementStateSchema, b6 as errorSchema, b7 as evaluatorProgressSchema, b8 as evaluatorProtocol, b9 as evaluatorProtocolSchema, ba as eventSchema, bb as evidenceSchema, bc as identityKindSchema, bd as integrationRewardSchema, be as isAppIdentityKind, bf as isKnownTrackerSource, bg as knownIdentityKinds, bh as mediaUrlSchema, bi as memberIdentitySchema, bj as memberListSchema, bk as memberPageSchema, bl as memberProgressSchema, bm as openIdentityKindSchema, bn as photoResultSchema, bo as pickupAllocationSchema, bp as pickupAvailabilitySchema, bq as pickupCatalogSchema, br as pickupPolicySchema, bs as pickupSelectionSchema, bt as pointsRewardSchema, bu as publishedReleaseSchema, bv as publishedTrackerSchema, bw as questAvailabilitySchema, bx as questBudgetViewSchema, by as questDescriptionSchema, bz as questPresentationSchema, bA as questProfileSchema, bB as questSettingsInputSchema, bC as quizAnswersSchema, bD as quizEvidenceSchema, bE as releaseSchema, bF as reservationSchema, bG as reviewItemSchema, bH as reviewListSchema, bI as reviewModeSchema, bJ as reviewPageSchema, bK as rewardBundleSchema, bL as rewardKey, bM as rewardSchema, bN as snapshotSchema, bO as sourceContent, bP as sourceIdentities, bQ as staffDecisionSchema, bR as stockItemSchema, bS as stockSchema, bT as storedQuestDescriptionSchema, bU as storedReviewModeSchema, bV as submissionEvidenceSchema, bW as submitSchema, bX as templateSchema, bY as textResultSchema, bZ as textReviewInputSchema, b_ as tierRewardSchema, b$ as tieredRewardDefinitionSchema, c0 as tieredRewardReferenceSchema, c1 as trackerAccountSchema, c2 as trackerArtifactSchema, c3 as trackerAttributionSchema, c4 as trackerBoundSchema, c5 as trackerConditionSchema, c6 as trackerContentQuerySchema, c7 as trackerContentReadSchema, c8 as trackerContentSchema, c9 as trackerContentStageSchema, ca as trackerControlSchema, cb as trackerDataMaxBranches, cc as trackerDataMaxEntries, cd as trackerDataSchemaSchema, ce as trackerDefinitionResponseSchema, cf as trackerDefinitionSchema, cg as trackerEvidenceSchema, ch as trackerIngestResultSchema, ci as trackerIngestSchema, cj as trackerOutcomePageSchema, ck as trackerOutcomeQuerySchema, cl as trackerOutcomeRetrySchema, cm as trackerOutcomeSchema, cn as trackerPageSchema, co as trackerPreviewInputSchema, cp as trackerPreviewLimits, cq as trackerPreviewSchema, cr as trackerQuerySchema, cs as trackerRecordAccountSchema, ct as trackerRecordInputSchema, cu as trackerRecordSchema, cv as trackerSkipCodes, cw as trackerSourceKinds, cx as trackerSourceResponseSchema, cy as trackerSourceSchema, cz as trackerStatusSchema, cA as trackerSummarySchema, cB as trackerTriggerContextSchema, cC as trackerTriggerModeSchema, cD as trackerTriggerOutcomePageSchema, cE as trackerTriggerOutcomeQuerySchema, cF as trackerTriggerPolicySchema, cG as trackerTriggerRecordSchema, cH as trackerWhereSchema, cI as triggerAdmission, cJ as triggerEnrollmentSchema, cK as triggerHistoricalSchema, cL as triggerMode, cM as triggerSchema, cN as triggerSinceSchema, cO as whereConditions, cP as whereSettings, cQ as xAccountRoles, cR as xContentBodySchema, cS as xContentMetrics, cT as xSearchSourceSchema, cU as xTweetSchema } from './schema-CQydLqw4.js';
|
|
2
|
+
export { A as AccountConnection, a as AuthProvider, D as DiscordMember, d as DiscordMessage, e as DiscordMessageData, f as DiscordMessageTextData, g as DiscordReactionData, h as DiscordReader, M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, b as TextOptions, U as UrlEvidence, c as UrlOptions, V as ValueEvidence, i as accountConnectionSchema, j as authProviderSchema, k as balanceAtLeast, l as balancePrerequisiteSchema, m as completed, n as completionPrerequisiteSchema, o as discordMemberInputSchema, p as discordMemberSchema, q as discordMessageDataSchema, r as discordMessageInputSchema, s as discordMessageSchema, t as discordMessageTextDataSchema, u as discordMessagesSourceSchema, v as discordReactionDataSchema, w as discordReactionsSourceSchema, x as discordResourceSourceSchema, y as discordRewardSchema, z as groupPrerequisiteSchema, B as inGroup, C as missingPrerequisiteSchema, E as prerequisiteSchema, F as textEvidenceSchema, G as textOptionsSchema, H as urlEvidenceSchema, I as urlOptionsSchema, J as validateSubmissionValue, K as valueEvidenceSchema, L as xPostId } from './submission-input-CLefHTrj.js';
|
|
3
3
|
export { E as ExchangeInput, M as MemberSummary, P as ParticipantActivity, a as ParticipantPrincipal, b as ParticipantSession, R as RelayEvent, S as Session, c as authScopeSchema, e as exchangeResultSchema, d as exchangeSchema, k as knownRelayEventSchema, m as memberSummarySchema, p as participantActivityQuerySchema, f as participantActivitySchema, g as participantPrincipalSchema, h as participantSessionSchema, i as principalSchema, r as relayEventSchema, s as sessionMember, j as sessionSchema } from './participant-activity-DkL3nY5a.js';
|
|
4
|
-
export { C as CalendarPeriod, D as DeploymentPreview, a as DeploymentRecord, P as ProjectCalendar, b as ProjectCalendarInput, c as activityTypeSchema, d as activityTypes, e as calendarPeriodSchema, f as canonicalTimeZone, g as deploymentActionSchema, h as deploymentPreviewSchema, i as deploymentRecordSchema, j as deploymentRejectionSchema, k as deploymentResultSchema, l as deploymentSourceSchema, p as projectCalendarDeclarationSchema, m as projectCalendarInputSchema, n as projectCalendarSchema, o as projectCatalogArtifactSchema, q as projectDeploymentSchema, r as promoteDeploymentSchema, s as publishDeploymentSchema, t as refuseStreakTimeZone, u as refuseWindowTimeZone, v as rejectDeploymentSchema, w as rollbackDeploymentSchema, x as submitDeploymentSchema, y as timeZoneNameSchema, z as timeZoneSchema } from './activity-
|
|
5
|
-
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, E as EngagementBudget, q as EngagementDefinition, r as EngagementRuleVersionPage, G as GroupMember, s as GroupMemberPage, t as GroupPage, u as GroupPageQuery, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, v as LeaderboardSettlement, w as LeaderboardSettlementPolicy, x as LeaderboardSettlementSummary, y as ManagedGroup, z as ManagedPointHistoryPage, B as ManagedPointLedger, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, D as PointLedger, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition, F as addGroupMemberSchema, H as availabilityWindowSchema, I as campaignDefinitionSchema, J as campaignEnrollmentInputSchema, N as campaignEnrollmentSchema, O as campaignViewSchema, Q as campaignWithdrawalInputSchema, S as createGroupSchema, T as createPointLedgerSchema, U as defineCampaign, V as defineGroup, W as engagementArtifactSchema, X as engagementBoundaryPageSchema, Y as engagementBudgetSchema, Z as engagementChangePreviewInputSchema, _ as engagementChangePreviewSchema, $ as engagementChangeSchema, a0 as engagementDefinitionSchema, a1 as engagementDeploymentEntrySchema, a2 as engagementPageQuerySchema, a3 as engagementPageSchema, a4 as engagementPublishSchema, a5 as engagementRuleSchema, a6 as engagementRuleVersionPageSchema, a7 as engagementScoreInputSchema, a8 as engagementScoreSchema, a9 as engagementSettlementSchema, aa as engagementVersionPageSchema, ab as engagementVersionQuerySchema, ac as groupMemberPageSchema, ad as groupMemberSchema, ae as groupPageQuerySchema, af as groupPageSchema, ag as leaderboardArtifactSchema, ah as leaderboardAuthoringSchema, ai as leaderboardDefinitionSchema, aj as leaderboardExclusionSchema, ak as leaderboardGroupSchema, al as leaderboardPageSchema, am as leaderboardPlacementSchema, an as leaderboardPreviewSchema, ao as leaderboardPrizeRewardSchema, ap as leaderboardPrizeSchema, aq as leaderboardQuerySchema, ar as leaderboardRowSchema, as as leaderboardSettlementApprovalSchema, at as leaderboardSettlementPolicySchema, au as leaderboardSettlementRowSchema, av as leaderboardSettlementSchema, aw as leaderboardSettlementStatusSchema, ax as leaderboardSettlementSummarySchema, ay as leaderboardWindowSchema, az as managedGroupSchema, aA as managedPointHistoryPageSchema, aB as managedPointLedgerSchema, aC as memberCampaignEnrollmentInputSchema, aD as memberCampaignWithdrawalInputSchema, aE as pointBalanceSchema, aF as pointBalancesSchema, aG as pointEntrySchema, aH as pointHistoryPageSchema, aI as pointHistoryQuerySchema, aJ as pointLedgerArtifactSchema, aK as pointLedgerDeclarationSchema, aL as pointLedgerPropertiesSchema, aM as pointLedgerReferenceSchema, aN as pointLedgerSchema, aO as pointsAccountSchema, aP as pointsEntrySchema, aQ as pointsMutationSchema, aR as pointsResultSchema, aS as projectGroupKey, aT as projectGroupSchema, aU as publishedLeaderboardSchema, aV as publishedReferralSchema, aW as referralAcceptSchema, aX as referralAccountSchema, aY as referralArtifactSchema, aZ as referralAuthoringSchema, a_ as referralControlSchema, a$ as referralDefinitionSchema, b0 as referralHistorySchema, b1 as referralManagementSchema, b2 as referralQualificationSchema, b3 as referralRelationshipSchema, b4 as referralRewardResolutionSchema, b5 as referralSummarySchema, b6 as referralSuspensionSchema, b7 as removeGroupMemberSchema, b8 as updateGroupSchema } from './groups-
|
|
6
|
-
export { C as ContentMetric, k as ContentPerformancePolicy, M as MemberEnrollmentInput, P as Page, a as PageQuery, l as QuestCatalog, Q as QuestClaimInput, m as QuestDraft, b as QuestEnrollment, c as QuestEnrollmentInput, n as QuestInstance, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView, R as RewardDelivery, o as RewardDeliveryAction, p as allocateQuestSchema, q as allocatedQuestSchema, r as catalogDeploymentPreviewSchema, s as catalogDeploymentSchema, t as collectionSlotDeclarationSchema, u as collectionSlotSchema, v as collectionViewSchema, w as contentMetricSchema, x as contentMetricsSchema, y as contentPerformancePolicySchema, z as contentQualificationDecisionSchema, A as contentQualificationPageSchema, B as contentQualificationQuerySchema, D as contentQualificationSchema, E as interactionSchema, F as knownRewardDeliverySchema, G as memberEnrollmentInputSchema, H as pageCursorSchema, I as pageQuerySchema, J as publishQuestDraftSchema, K as questCatalogSchema, L as questClaimInputSchema, N as questCollectionSchema, O as questDraftChangesSchema, S as questDraftSchema, T as questEnrollmentInputSchema, U as questEnrollmentSchema, V as questExperienceSchema, W as questInstanceSchema, X as questInteraction, Y as questOutcomePageSchema, Z as questOutcomeQuerySchema, _ as questOutcomeSchema, $ as questPublicationPreviewSchema, a0 as questRewardViewSchema, a1 as questTypeVersionSchema, a2 as questViewSchema, a3 as rewardDeliveriesSchema, a4 as rewardDeliverySchema, a5 as roleReconciliationSchema, a6 as saveQuestDraftSchema } from './pages-
|
|
7
|
-
export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress, f as automaticCatchUpConfirmSchema, g as automaticCatchUpInputSchema, h as automaticCatchUpPreviewSchema, i as automaticCatchUpResultSchema, j as automaticEventSchema, k as automaticOutcomePageSchema, l as automaticOutcomeQuerySchema, m as automaticOutcomeSchema, n as automaticSchedulingPageSchema, o as automaticSchedulingQuerySchema, p as automaticSchedulingRetrySchema, q as automaticSchedulingSchema, r as collectionBeginSchema, s as collectionCodeSchema, t as collectionPassSchema, u as collectionPreviewSchema, v as collectionResolveSchema, w as counterAchievementSchema, x as counterContributionSchema, y as counterGoalSchema, z as counterHistoryQuerySchema, B as counterHistorySchema, D as counterModerationResultSchema, E as counterModerationSchema, F as counterPolicySchema, G as counterProgressSchema, H as counterWindowSchema, I as isRetryableAutomaticOutcome } from './automatic-outcomes-
|
|
4
|
+
export { C as CalendarPeriod, D as DeploymentPreview, a as DeploymentRecord, P as ProjectCalendar, b as ProjectCalendarInput, c as activityTypeSchema, d as activityTypes, e as calendarPeriodSchema, f as canonicalTimeZone, g as deploymentActionSchema, h as deploymentPreviewSchema, i as deploymentRecordSchema, j as deploymentRejectionSchema, k as deploymentResultSchema, l as deploymentSourceSchema, p as projectCalendarDeclarationSchema, m as projectCalendarInputSchema, n as projectCalendarSchema, o as projectCatalogArtifactSchema, q as projectDeploymentSchema, r as promoteDeploymentSchema, s as publishDeploymentSchema, t as refuseStreakTimeZone, u as refuseWindowTimeZone, v as rejectDeploymentSchema, w as rollbackDeploymentSchema, x as submitDeploymentSchema, y as timeZoneNameSchema, z as timeZoneSchema } from './activity-Br6vyYze.js';
|
|
5
|
+
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, E as EngagementBudget, q as EngagementDefinition, r as EngagementRuleVersionPage, G as GroupMember, s as GroupMemberPage, t as GroupPage, u as GroupPageQuery, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, v as LeaderboardSettlement, w as LeaderboardSettlementPolicy, x as LeaderboardSettlementSummary, y as ManagedGroup, z as ManagedPointHistoryPage, B as ManagedPointLedger, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, D as PointLedger, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition, F as addGroupMemberSchema, H as availabilityWindowSchema, I as campaignDefinitionSchema, J as campaignEnrollmentInputSchema, N as campaignEnrollmentSchema, O as campaignViewSchema, Q as campaignWithdrawalInputSchema, S as createGroupSchema, T as createPointLedgerSchema, U as defineCampaign, V as defineGroup, W as engagementArtifactSchema, X as engagementBoundaryPageSchema, Y as engagementBudgetSchema, Z as engagementChangePreviewInputSchema, _ as engagementChangePreviewSchema, $ as engagementChangeSchema, a0 as engagementDefinitionSchema, a1 as engagementDeploymentEntrySchema, a2 as engagementPageQuerySchema, a3 as engagementPageSchema, a4 as engagementPublishSchema, a5 as engagementRuleSchema, a6 as engagementRuleVersionPageSchema, a7 as engagementScoreInputSchema, a8 as engagementScoreSchema, a9 as engagementSettlementSchema, aa as engagementVersionPageSchema, ab as engagementVersionQuerySchema, ac as groupMemberPageSchema, ad as groupMemberSchema, ae as groupPageQuerySchema, af as groupPageSchema, ag as leaderboardArtifactSchema, ah as leaderboardAuthoringSchema, ai as leaderboardDefinitionSchema, aj as leaderboardExclusionSchema, ak as leaderboardGroupSchema, al as leaderboardPageSchema, am as leaderboardPlacementSchema, an as leaderboardPreviewSchema, ao as leaderboardPrizeRewardSchema, ap as leaderboardPrizeSchema, aq as leaderboardQuerySchema, ar as leaderboardRowSchema, as as leaderboardSettlementApprovalSchema, at as leaderboardSettlementPolicySchema, au as leaderboardSettlementRowSchema, av as leaderboardSettlementSchema, aw as leaderboardSettlementStatusSchema, ax as leaderboardSettlementSummarySchema, ay as leaderboardWindowSchema, az as managedGroupSchema, aA as managedPointHistoryPageSchema, aB as managedPointLedgerSchema, aC as memberCampaignEnrollmentInputSchema, aD as memberCampaignWithdrawalInputSchema, aE as pointBalanceSchema, aF as pointBalancesSchema, aG as pointEntrySchema, aH as pointHistoryPageSchema, aI as pointHistoryQuerySchema, aJ as pointLedgerArtifactSchema, aK as pointLedgerDeclarationSchema, aL as pointLedgerPropertiesSchema, aM as pointLedgerReferenceSchema, aN as pointLedgerSchema, aO as pointsAccountSchema, aP as pointsEntrySchema, aQ as pointsMutationSchema, aR as pointsResultSchema, aS as projectGroupKey, aT as projectGroupSchema, aU as publishedLeaderboardSchema, aV as publishedReferralSchema, aW as referralAcceptSchema, aX as referralAccountSchema, aY as referralArtifactSchema, aZ as referralAuthoringSchema, a_ as referralControlSchema, a$ as referralDefinitionSchema, b0 as referralHistorySchema, b1 as referralManagementSchema, b2 as referralQualificationSchema, b3 as referralRelationshipSchema, b4 as referralRewardResolutionSchema, b5 as referralSummarySchema, b6 as referralSuspensionSchema, b7 as removeGroupMemberSchema, b8 as updateGroupSchema } from './groups-BpWEqaPn.js';
|
|
6
|
+
export { C as ContentMetric, k as ContentPerformancePolicy, M as MemberEnrollmentInput, P as Page, a as PageQuery, l as QuestCatalog, Q as QuestClaimInput, m as QuestDraft, b as QuestEnrollment, c as QuestEnrollmentInput, n as QuestInstance, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView, R as RewardDelivery, o as RewardDeliveryAction, p as allocateQuestSchema, q as allocatedQuestSchema, r as catalogDeploymentPreviewSchema, s as catalogDeploymentSchema, t as collectionSlotDeclarationSchema, u as collectionSlotSchema, v as collectionViewSchema, w as contentMetricSchema, x as contentMetricsSchema, y as contentPerformancePolicySchema, z as contentQualificationDecisionSchema, A as contentQualificationPageSchema, B as contentQualificationQuerySchema, D as contentQualificationSchema, E as interactionSchema, F as knownRewardDeliverySchema, G as memberEnrollmentInputSchema, H as pageCursorSchema, I as pageQuerySchema, J as publishQuestDraftSchema, K as questCatalogSchema, L as questClaimInputSchema, N as questCollectionSchema, O as questDraftChangesSchema, S as questDraftSchema, T as questEnrollmentInputSchema, U as questEnrollmentSchema, V as questExperienceSchema, W as questInstanceSchema, X as questInteraction, Y as questOutcomePageSchema, Z as questOutcomeQuerySchema, _ as questOutcomeSchema, $ as questPublicationPreviewSchema, a0 as questRewardViewSchema, a1 as questTypeVersionSchema, a2 as questViewSchema, a3 as rewardDeliveriesSchema, a4 as rewardDeliverySchema, a5 as roleReconciliationSchema, a6 as saveQuestDraftSchema } from './pages-CixTNnF4.js';
|
|
7
|
+
export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress, f as automaticCatchUpConfirmSchema, g as automaticCatchUpInputSchema, h as automaticCatchUpPreviewSchema, i as automaticCatchUpResultSchema, j as automaticEventSchema, k as automaticOutcomePageSchema, l as automaticOutcomeQuerySchema, m as automaticOutcomeSchema, n as automaticSchedulingPageSchema, o as automaticSchedulingQuerySchema, p as automaticSchedulingRetrySchema, q as automaticSchedulingSchema, r as collectionBeginSchema, s as collectionCodeSchema, t as collectionPassSchema, u as collectionPreviewSchema, v as collectionResolveSchema, w as counterAchievementSchema, x as counterContributionSchema, y as counterGoalSchema, z as counterHistoryQuerySchema, B as counterHistorySchema, D as counterModerationResultSchema, E as counterModerationSchema, F as counterPolicySchema, G as counterProgressSchema, H as counterWindowSchema, I as isRetryableAutomaticOutcome } from './automatic-outcomes-C1Q9LrDb.js';
|
|
8
8
|
export { B as Budget, C as CapabilityErrorCode, a as CapabilityFailure, E as EvaluatorIntegrationProvider, I as IntegerSettings, b as IntegrationModule, c as IntegrationProvider, K as KnownCapabilityErrorCode, P as ProjectIntegration, R as ResourceOption, d as ResourceSource, S as Setting, e as SettingField, f as SettingsValues, X as XConnection, g as XPost, h as XProfile, i as XReader, j as budgetSchema, k as capabilityErrorCodes, l as capabilityFailureSchema, m as compatibleSettingKinds, n as completionKeySchema, o as completionPolicySchema, p as discordServerSchema, q as evaluatorIntegrationProviderSchema, r as integrationProviderSchema, s as missingResourceSettings, t as parseSettings, u as projectIntegrationSchema, v as resourceOptionsSchema, w as resourceRequestSchema, x as resourceSourceSchema, y as settingFieldSchema, z as settingsFieldsSchema, A as settingsValuesSchema, D as xConnectionSchema, F as xIdSchema, G as xPostSchema, H as xProfileSchema, J as xRequestSchema } from './capability-error-Bv996M-h.js';
|
|
9
|
-
export { E as Extracted, I as ImageAssetArtifact, a as ImageComparison, b as ImageExtraction, c as ImageFields, d as ImageInspection, e as ImageReader, f as ImageReference, g as ImageRequest, h as ImageSightings, P as PublishedImage, i as imageAssetArtifactSchema, j as imageComparisonSchema, k as imageExtractionSchema, l as imageFieldSchema, m as imageFieldsSchema, n as imageInspectionSchema, o as imageReferenceSchema, p as imageRequestSchema, q as imageSightingsSchema, r as imageUploadRequestSchema, s as imageUploadsSchema, t as publishedImageSchema } from './images-
|
|
10
|
-
export { O as Offer, d as OfferAuthoring, a as OfferDefinition, b as OfferPrice, R as RedeemOfferInput, c as Redemption, e as defineOffer, o as offerArtifactSchema, f as offerAuthoringSchema, g as offerAvailabilitySchema, h as offerControlSchema, i as offerDefinitionSchema, j as offerLimitSchema, k as offerPriceSchema, l as offerSchema, r as redeemOfferSchema, m as redemptionCancellationSchema, n as redemptionSchema } from './offers-
|
|
9
|
+
export { E as Extracted, I as ImageAssetArtifact, a as ImageComparison, b as ImageExtraction, c as ImageFields, d as ImageInspection, e as ImageReader, f as ImageReference, g as ImageRequest, h as ImageSightings, P as PublishedImage, i as imageAssetArtifactSchema, j as imageComparisonSchema, k as imageExtractionSchema, l as imageFieldSchema, m as imageFieldsSchema, n as imageInspectionSchema, o as imageReferenceSchema, p as imageRequestSchema, q as imageSightingsSchema, r as imageUploadRequestSchema, s as imageUploadsSchema, t as publishedImageSchema } from './images-BaKYd0fl.js';
|
|
10
|
+
export { O as Offer, d as OfferAuthoring, a as OfferDefinition, b as OfferPrice, R as RedeemOfferInput, c as Redemption, e as defineOffer, o as offerArtifactSchema, f as offerAuthoringSchema, g as offerAvailabilitySchema, h as offerControlSchema, i as offerDefinitionSchema, j as offerLimitSchema, k as offerPriceSchema, l as offerSchema, r as redeemOfferSchema, m as redemptionCancellationSchema, n as redemptionSchema } from './offers-CYtal8jO.js';
|
|
11
11
|
export { h as AVATAR_UPLOAD_LIMIT, A as AvatarProvider, M as ManagedProfile, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, i as ProfileDefaultProvider, j as ProfileDefaults, k as ProfileModeration, d as ProfileReferral, l as ProfileSettings, m as ProfileSettingsInput, e as ProfileSummary, f as ProfileUpdate, g as ProfileVisibility, n as avatarProviderSchema, o as avatarSeedSchema, p as avatarUploadTypes, q as displayNameSchema, r as managedProfileSchema, s as ownProfileSchema, t as profileAvatarSchema, u as profileCompletionPageSchema, v as profileCompletionQuerySchema, w as profileCompletionSchema, x as profileDefaultProviderSchema, y as profileDefaultsSchema, z as profileModerationSchema, B as profileReferralSchema, C as profileSettingsInputSchema, D as profileSettingsSchema, E as profileSummarySchema, F as profileUpdateSchema, G as profileVisibilitySchema } from './profiles-D2aFcOxu.js';
|
|
12
12
|
export { Q as QuizContent, a as StreakPolicy, S as StreakProgress, q as quizChoiceSchema, b as quizContentSchema, c as quizQuestionSchema, d as quizQuestionsSchema, s as streakPolicySchema, e as streakProgressSchema } from './streaks-CWyq8Px5.js';
|
|
13
13
|
export { P as ParticipantDelivery, p as participantDeliveriesSchema, a as participantDeliverySchema, b as participantEntitlementsSchema } from './participant-rewards-3duLb8YJ.js';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { a as PageQuery, B as contentQualificationQuerySchema, p as allocateQuestSchema, s as catalogDeploymentSchema, a6 as saveQuestDraftSchema, J as publishQuestDraftSchema, o as RewardDeliveryAction, G as memberEnrollmentInputSchema } from '../pages-
|
|
2
|
-
import { a as AttemptStatus,
|
|
3
|
-
export { C as CompletionSource,
|
|
1
|
+
import { a as PageQuery, B as contentQualificationQuerySchema, p as allocateQuestSchema, s as catalogDeploymentSchema, a6 as saveQuestDraftSchema, J as publishQuestDraftSchema, o as RewardDeliveryAction, G as memberEnrollmentInputSchema } from '../pages-CixTNnF4.js';
|
|
2
|
+
import { a as AttemptStatus, p as CompletionSourceKind, O as OpenIdentityKind, ac as TrackerDataSchema, ak as TrackerQuery, c7 as trackerContentReadSchema, ca as trackerControlSchema, ci as trackerIngestSchema, ag as TrackerOutcomeQuery, av as TrackerTriggerOutcomeQuery, cl as trackerOutcomeRetrySchema, aj as TrackerPreviewInput, aW as contentPerformanceQuerySchema, bW as submitSchema, bQ as staffDecisionSchema, aO as beginHandoverSchema, aT as confirmHandoverSchema, b2 as entitlementCorrectionSchema, aY as createStockItemSchema, aS as configurePickupSchema, bB as questSettingsInputSchema } from '../schema-CQydLqw4.js';
|
|
3
|
+
export { C as CompletionSource, F as KnownCompletionSourceKind, b4 as entitlementSchema, bi as memberIdentitySchema, j as trackerDataIssue, k as trackerDataIssues, cD as trackerTriggerOutcomePageSchema, w as whereSchemaIssue } from '../schema-CQydLqw4.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { r as collectionBeginSchema, z as counterHistoryQuerySchema, E as counterModerationSchema, o as automaticSchedulingQuerySchema, p as automaticSchedulingRetrySchema, l as automaticOutcomeQuerySchema, g as automaticCatchUpInputSchema, f as automaticCatchUpConfirmSchema } from '../automatic-outcomes-
|
|
6
|
-
import { q as projectDeploymentSchema, k as deploymentResultSchema, s as publishDeploymentSchema, i as deploymentRecordSchema, x as submitDeploymentSchema, j as deploymentRejectionSchema, v as rejectDeploymentSchema, g as deploymentActionSchema, r as promoteDeploymentSchema, w as rollbackDeploymentSchema, m as projectCalendarInputSchema } from '../activity-
|
|
7
|
-
export { c as activityTypeSchema, d as activityTypes } from '../activity-
|
|
8
|
-
import { Z as engagementChangePreviewInputSchema, $ as engagementChangeSchema, ab as engagementVersionQuerySchema, a2 as engagementPageQuerySchema, a4 as engagementPublishSchema, T as createPointLedgerSchema, aL as pointLedgerPropertiesSchema, aN as pointLedgerSchema, aQ as pointsMutationSchema, z as ManagedPointHistoryPage, b1 as referralManagementSchema, b6 as referralSuspensionSchema, b2 as referralQualificationSchema, b4 as referralRewardResolutionSchema, a_ as referralControlSchema, aq as leaderboardQuerySchema, aj as leaderboardExclusionSchema, p as ProjectGroupReference, ak as leaderboardGroupSchema, as as leaderboardSettlementApprovalSchema, u as GroupPageQuery, S as createGroupSchema, b8 as updateGroupSchema, F as addGroupMemberSchema, b7 as removeGroupMemberSchema, aC as memberCampaignEnrollmentInputSchema, aD as memberCampaignWithdrawalInputSchema } from '../groups-
|
|
9
|
-
export { G as GroupMember, s as GroupMemberPage, t as GroupPage, y as ManagedGroup, a6 as engagementRuleVersionPageSchema, ac as groupMemberPageSchema, ad as groupMemberSchema, ae as groupPageQuerySchema, af as groupPageSchema, az as managedGroupSchema, aA as managedPointHistoryPageSchema } from '../groups-
|
|
10
|
-
|
|
5
|
+
import { r as collectionBeginSchema, z as counterHistoryQuerySchema, E as counterModerationSchema, o as automaticSchedulingQuerySchema, p as automaticSchedulingRetrySchema, l as automaticOutcomeQuerySchema, g as automaticCatchUpInputSchema, f as automaticCatchUpConfirmSchema } from '../automatic-outcomes-C1Q9LrDb.js';
|
|
6
|
+
import { q as projectDeploymentSchema, k as deploymentResultSchema, s as publishDeploymentSchema, i as deploymentRecordSchema, x as submitDeploymentSchema, j as deploymentRejectionSchema, v as rejectDeploymentSchema, g as deploymentActionSchema, r as promoteDeploymentSchema, w as rollbackDeploymentSchema, m as projectCalendarInputSchema } from '../activity-Br6vyYze.js';
|
|
7
|
+
export { c as activityTypeSchema, d as activityTypes } from '../activity-Br6vyYze.js';
|
|
8
|
+
import { Z as engagementChangePreviewInputSchema, $ as engagementChangeSchema, ab as engagementVersionQuerySchema, a2 as engagementPageQuerySchema, a4 as engagementPublishSchema, T as createPointLedgerSchema, aL as pointLedgerPropertiesSchema, aN as pointLedgerSchema, aQ as pointsMutationSchema, z as ManagedPointHistoryPage, b1 as referralManagementSchema, b6 as referralSuspensionSchema, b2 as referralQualificationSchema, b4 as referralRewardResolutionSchema, a_ as referralControlSchema, aq as leaderboardQuerySchema, aj as leaderboardExclusionSchema, p as ProjectGroupReference, ak as leaderboardGroupSchema, as as leaderboardSettlementApprovalSchema, u as GroupPageQuery, S as createGroupSchema, b8 as updateGroupSchema, F as addGroupMemberSchema, b7 as removeGroupMemberSchema, aC as memberCampaignEnrollmentInputSchema, aD as memberCampaignWithdrawalInputSchema } from '../groups-BpWEqaPn.js';
|
|
9
|
+
export { G as GroupMember, s as GroupMemberPage, t as GroupPage, y as ManagedGroup, a6 as engagementRuleVersionPageSchema, ac as groupMemberPageSchema, ad as groupMemberSchema, ae as groupPageQuerySchema, af as groupPageSchema, az as managedGroupSchema, aA as managedPointHistoryPageSchema } from '../groups-BpWEqaPn.js';
|
|
10
|
+
export { E as Extracted } from '../images-BaKYd0fl.js';
|
|
11
|
+
import { h as offerControlSchema, m as redemptionCancellationSchema } from '../offers-CYtal8jO.js';
|
|
11
12
|
import { C as profileSettingsInputSchema, z as profileModerationSchema } from '../profiles-D2aFcOxu.js';
|
|
12
|
-
import { i as identityIntegrationInputSchema } from '../
|
|
13
|
-
export { a as identityIntegrationSchema,
|
|
13
|
+
import { i as identityIntegrationInputSchema } from '../referral-reward-kinds-ClxAuCGx.js';
|
|
14
|
+
export { R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, a as identityIntegrationSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, m as sourceRoles, v as validateQuestShape } from '../referral-reward-kinds-ClxAuCGx.js';
|
|
14
15
|
import { R as RequestError, b as RequestErrorKind } from '../request-error-D_dUPLwo.js';
|
|
15
16
|
|
|
16
17
|
type KnownPayoutSourceKind = (typeof PayoutSourceKind)[keyof typeof PayoutSourceKind];
|
|
@@ -25904,4 +25905,4 @@ declare function managementClient(options: ManagementClientOptions): {
|
|
|
25904
25905
|
}>;
|
|
25905
25906
|
};
|
|
25906
25907
|
|
|
25907
|
-
export { APP_KV_LIMIT, APP_MIGRATION_FILE_BYTES, APP_MIGRATION_LIMIT, APP_MIGRATION_TOTAL_BYTES, APP_SECRET_LIMIT, APP_SQL_LIMIT, APP_STORAGE_PREVIEW_CHARACTERS, APP_STORAGE_ROW_LIMIT, type Access, type AccessHistoryQuery, type AppSecret, type AppSecretDeclaration, type AppSecretInput, type AppSecretList, type AppStorage, type AppStorageCell, type AppStorageKeys, type AppStorageKind, type AppStorageList, type AppStorageRows, type AppStorageTables, type AppStorageValue, type AuditPage, type AuditQuery, type AuditRecord, type BalanceCheck, type BuildArtifacts, type BuildIdentity, type BuildSnapshot, type BuildStatus, type CompletionRevocation, type CompletionRevocationShortfall, type CompletionRevokeInput, CompletionSourceKind, DEFAULT_MANAGEMENT_TIMEOUT, GroupPageQuery, type HostedAppSecrets, type HostedBuild, type HostedDeploymentKey, type HostedKey, type HostedKeyPermission, type HostedManagementEnv, type KnownPayoutSourceKind, type ListQuery, type ManagedAttempt, type ManagedAttemptPage, type ManagedAttemptQuery, type ManagedEntitlement, type ManagedEntitlementPage, type ManagedEntitlementQuery, type ManagedMemberIdentity, type ManagedMemberPage, type ManagedMemberQuery, type ManagedOAuthAccount, type ManagedResource, type ManagedStockItem, type ManagedWallet, type ManagementCallOptions, type ManagementClient, type ManagementClientOptions, ManagementError, ManagementErrorCode, type ManagementErrorInit, type ManagementErrorKind, type ManagementPage, type ManagementRawInit, type MemberDetail, type OperatorUser, type ParticipantSignIn, type ParticipantSignInInput, PayoutSourceKind, type Permission, type Person, type Project, type ProjectMetrics, type QuestLifecycle, type QuestLifecycleInput, type ResourceLifecycleInput, RevokedDeliveryOutcome, RevokedEntitlementOutcome, RevokedReferralOutcome, type StagedDeployment, type StagedDeploymentContent, type StagingAccess, type StagingAccessInput, type StagingLink, type StarterId, type StarterTemplate, type TestMember, type TestMemberActionInput, type TestMemberAdvanceInput, type TestMemberCreateInput, type TestMemberHistory, type TestMemberHistoryQuery, type TestMemberResetInput, type TestMemberResetResult, WEBHOOK_MAX_BYTES, type WalletBalanceChains, type WebhookEvent, accessHistoryQuerySchema, accessSchema, accountProfileSchema, addGroupMemberSchema, appMigrationNameSchema, appRoutingSchema, appSecretDeclarationSchema, appSecretDeclarationsSchema, appSecretInputSchema, appSecretListSchema, appSecretNameSchema, appSecretSchema, appSecretValueSchema, appStorageCellSchema, appStorageKeysSchema, appStorageKindSchema, appStorageListSchema, appStorageRowsSchema, appStorageSchema, appStorageTablesSchema, appStorageValueSchema, assetPathSchema, auditPageSchema, auditQuerySchema, auditRecordSchema, balanceCheckSchema, buildArtifactsSchema, buildIdentitySchema, buildPhaseSchema, buildSnapshotSchema, buildStatusSchema, commitSchema, compareAppMigrations, completionRevocationSchema, completionRevocationShortfallSchema, completionRevokeSchema, createGroupSchema, createManagementClient, createRepositorySchema, deploymentActionSchema, deploymentRejectionSchema, developmentPreflightSchema, deviceApproveSchema, deviceRedeemSchema, deviceStartSchema, entitlementCorrectionSchema, environmentSchema, grantRecordSchema, grantSchema, hostedAppSchema, hostedAppSecretsSchema, hostedBuildSchema, hostedDeploymentKeySchema, hostedKeyPermissions, hostedKeySchema, hostedKeySecretSchema, hostedManagementBindings, hostedManagementClient, ingestTrackerScopeSchema, inventorySchema, isManagementError, issuedTokenSchema, managedAttemptPageSchema, managedAttemptQuerySchema, managedAttemptSchema, managedEntitlementPageSchema, managedEntitlementQuerySchema, managedEntitlementSchema, managedMemberIdentitySchema, managedMemberPageSchema, managedMemberQuerySchema, managedOAuthAccountSchema, managedResourceSchema, managedStockItemSchema, managedWalletSchema, managementErrorSchema, memberAccountSchema, memberDetailSchema, memberIdentityChangeInputSchema, memberLookupSchema, memberOAuthUnlinkInputSchema, memberSchema, memberWalletSignInInputSchema, memberWalletUnlinkInputSchema, metricsSchema, operationInputSchema, operationSchema, operatorUserSchema, pageSchema, participantSignInInputSchema, participantSignInSchema, permissionSchema, personSchema, pointLedgerPropertiesSchema, projectDeletionInputSchema, projectDeletionSchema, projectInputSchema, projectMetricsSchema, projectSchema, projectSetupSchema, projectTransferInputSchema, projectTransferSchema, projectUpdateInputSchema, querySchema, questLifecycleInputSchema, questLifecycleSchema, readinessSchema, referralManagementSchema, referralQualificationSchema, referralRewardResolutionSchema, referralSuspensionSchema, removeGroupMemberSchema, repositorySchema, resourceLifecycleInputSchema, resourceLifecycleKindSchema, resourceLifecycleResultSchema, rolePermissions, roleSchema, stageRequestSchema, stagedDeploymentContentSchema, stagedDeploymentKey, stagedDeploymentLimits, stagedDeploymentSchema, stagingAccessInputSchema, stagingAccessModeSchema, stagingAccessSchema, stagingLinkSchema, stagingPathSchema, starterIdSchema, starterTemplates, stockAdditionSchema, stockInputSchema, teamSchema, testMemberActionSchema, testMemberAdvanceSchema, testMemberCreateSchema, testMemberHistoryQuerySchema, testMemberHistorySchema, testMemberResetResultSchema, testMemberResetSchema, testMemberSchema, tokenInputSchema, tokenSchema, tokenScopeInputSchema, updateGroupSchema, verifiedPassSchema, verifyWebhook, walletBalanceChainsSchema, webhookDeliveryPageSchema, webhookDeliverySchema, webhookEndpointSchema, webhookEventSchema, webhookInputSchema, webhookQuerySchema, webhookSecretSchema, webhookUpdateSchema };
|
|
25908
|
+
export { APP_KV_LIMIT, APP_MIGRATION_FILE_BYTES, APP_MIGRATION_LIMIT, APP_MIGRATION_TOTAL_BYTES, APP_SECRET_LIMIT, APP_SQL_LIMIT, APP_STORAGE_PREVIEW_CHARACTERS, APP_STORAGE_ROW_LIMIT, type Access, type AccessHistoryQuery, type AppSecret, type AppSecretDeclaration, type AppSecretInput, type AppSecretList, type AppStorage, type AppStorageCell, type AppStorageKeys, type AppStorageKind, type AppStorageList, type AppStorageRows, type AppStorageTables, type AppStorageValue, type AuditPage, type AuditQuery, type AuditRecord, type BalanceCheck, type BuildArtifacts, type BuildIdentity, type BuildSnapshot, type BuildStatus, type CompletionRevocation, type CompletionRevocationShortfall, type CompletionRevokeInput, CompletionSourceKind, DEFAULT_MANAGEMENT_TIMEOUT, GroupPageQuery, type HostedAppSecrets, type HostedBuild, type HostedDeploymentKey, type HostedKey, type HostedKeyPermission, type HostedManagementEnv, type KnownPayoutSourceKind, type ListQuery, type ManagedAttempt, type ManagedAttemptPage, type ManagedAttemptQuery, type ManagedEntitlement, type ManagedEntitlementPage, type ManagedEntitlementQuery, type ManagedMemberIdentity, type ManagedMemberPage, type ManagedMemberQuery, type ManagedOAuthAccount, type ManagedResource, type ManagedStockItem, type ManagedWallet, type ManagementCallOptions, type ManagementClient, type ManagementClientOptions, ManagementError, ManagementErrorCode, type ManagementErrorInit, type ManagementErrorKind, type ManagementPage, type ManagementRawInit, type MemberDetail, type OperatorUser, type ParticipantSignIn, type ParticipantSignInInput, PayoutSourceKind, type Permission, type Person, type Project, type ProjectMetrics, type QuestLifecycle, type QuestLifecycleInput, type ResourceLifecycleInput, RevokedDeliveryOutcome, RevokedEntitlementOutcome, RevokedReferralOutcome, type StagedDeployment, type StagedDeploymentContent, type StagingAccess, type StagingAccessInput, type StagingLink, type StarterId, type StarterTemplate, type TestMember, type TestMemberActionInput, type TestMemberAdvanceInput, type TestMemberCreateInput, type TestMemberHistory, type TestMemberHistoryQuery, type TestMemberResetInput, type TestMemberResetResult, WEBHOOK_MAX_BYTES, type WalletBalanceChains, type WebhookEvent, accessHistoryQuerySchema, accessSchema, accountProfileSchema, addGroupMemberSchema, appMigrationNameSchema, appRoutingSchema, appSecretDeclarationSchema, appSecretDeclarationsSchema, appSecretInputSchema, appSecretListSchema, appSecretNameSchema, appSecretSchema, appSecretValueSchema, appStorageCellSchema, appStorageKeysSchema, appStorageKindSchema, appStorageListSchema, appStorageRowsSchema, appStorageSchema, appStorageTablesSchema, appStorageValueSchema, assetPathSchema, auditPageSchema, auditQuerySchema, auditRecordSchema, balanceCheckSchema, buildArtifactsSchema, buildIdentitySchema, buildPhaseSchema, buildSnapshotSchema, buildStatusSchema, commitSchema, compareAppMigrations, completionRevocationSchema, completionRevocationShortfallSchema, completionRevokeSchema, createGroupSchema, createManagementClient, createRepositorySchema, deploymentActionSchema, deploymentRejectionSchema, developmentPreflightSchema, deviceApproveSchema, deviceRedeemSchema, deviceStartSchema, entitlementCorrectionSchema, environmentSchema, grantRecordSchema, grantSchema, hostedAppSchema, hostedAppSecretsSchema, hostedBuildSchema, hostedDeploymentKeySchema, hostedKeyPermissions, hostedKeySchema, hostedKeySecretSchema, hostedManagementBindings, hostedManagementClient, identityIntegrationInputSchema, ingestTrackerScopeSchema, inventorySchema, isManagementError, issuedTokenSchema, managedAttemptPageSchema, managedAttemptQuerySchema, managedAttemptSchema, managedEntitlementPageSchema, managedEntitlementQuerySchema, managedEntitlementSchema, managedMemberIdentitySchema, managedMemberPageSchema, managedMemberQuerySchema, managedOAuthAccountSchema, managedResourceSchema, managedStockItemSchema, managedWalletSchema, managementErrorSchema, memberAccountSchema, memberDetailSchema, memberIdentityChangeInputSchema, memberLookupSchema, memberOAuthUnlinkInputSchema, memberSchema, memberWalletSignInInputSchema, memberWalletUnlinkInputSchema, metricsSchema, operationInputSchema, operationSchema, operatorUserSchema, pageSchema, participantSignInInputSchema, participantSignInSchema, permissionSchema, personSchema, pointLedgerPropertiesSchema, projectDeletionInputSchema, projectDeletionSchema, projectInputSchema, projectMetricsSchema, projectSchema, projectSetupSchema, projectTransferInputSchema, projectTransferSchema, projectUpdateInputSchema, querySchema, questLifecycleInputSchema, questLifecycleSchema, readinessSchema, referralManagementSchema, referralQualificationSchema, referralRewardResolutionSchema, referralSuspensionSchema, removeGroupMemberSchema, repositorySchema, resourceLifecycleInputSchema, resourceLifecycleKindSchema, resourceLifecycleResultSchema, rolePermissions, roleSchema, stageRequestSchema, stagedDeploymentContentSchema, stagedDeploymentKey, stagedDeploymentLimits, stagedDeploymentSchema, stagingAccessInputSchema, stagingAccessModeSchema, stagingAccessSchema, stagingLinkSchema, stagingPathSchema, starterIdSchema, starterTemplates, stockAdditionSchema, stockInputSchema, teamSchema, testMemberActionSchema, testMemberAdvanceSchema, testMemberCreateSchema, testMemberHistoryQuerySchema, testMemberHistorySchema, testMemberResetResultSchema, testMemberResetSchema, testMemberSchema, tokenInputSchema, tokenSchema, tokenScopeInputSchema, updateGroupSchema, verifiedPassSchema, verifyWebhook, walletBalanceChainsSchema, webhookDeliveryPageSchema, webhookDeliverySchema, webhookEndpointSchema, webhookEventSchema, webhookInputSchema, webhookQuerySchema, webhookSecretSchema, webhookUpdateSchema };
|
package/dist/server/index.js
CHANGED
|
@@ -24,16 +24,32 @@ import {
|
|
|
24
24
|
} from "../chunk-6RBF3UDA.js";
|
|
25
25
|
import "../chunk-MC6V6VMG.js";
|
|
26
26
|
import {
|
|
27
|
+
REFERRAL_INTEGRATION_REWARD_ERROR,
|
|
28
|
+
containsReferralIntegrationReward,
|
|
27
29
|
identityIntegrationInputSchema,
|
|
28
30
|
identityIntegrationSchema,
|
|
29
31
|
identityIntegrationSecretSchema,
|
|
30
|
-
identityKindClaimSchema
|
|
31
|
-
|
|
32
|
+
identityKindClaimSchema,
|
|
33
|
+
parseImageExtraction,
|
|
34
|
+
parseImageResult,
|
|
35
|
+
participantExchangeSchema,
|
|
36
|
+
questConfiguration,
|
|
37
|
+
sequenceCursorSchema
|
|
38
|
+
} from "../chunk-5ECM6AWV.js";
|
|
32
39
|
import {
|
|
33
40
|
imageAssetArtifactSchema
|
|
34
41
|
} from "../chunk-JW4G3SY5.js";
|
|
35
|
-
import
|
|
36
|
-
|
|
42
|
+
import {
|
|
43
|
+
sourceDataSchema,
|
|
44
|
+
sourceRoles,
|
|
45
|
+
validateQuestShape
|
|
46
|
+
} from "../chunk-23QJ7WH4.js";
|
|
47
|
+
import {
|
|
48
|
+
isIntegrationParticipantPath,
|
|
49
|
+
isParticipantRoute,
|
|
50
|
+
participantRoutePattern,
|
|
51
|
+
participantRoutes
|
|
52
|
+
} from "../chunk-AXRMT33W.js";
|
|
37
53
|
import {
|
|
38
54
|
allocateQuestSchema,
|
|
39
55
|
allocatedQuestSchema,
|
|
@@ -166,6 +182,8 @@ import {
|
|
|
166
182
|
trackerContentReadSchema,
|
|
167
183
|
trackerContentSchema,
|
|
168
184
|
trackerControlSchema,
|
|
185
|
+
trackerDataIssue,
|
|
186
|
+
trackerDataIssues,
|
|
169
187
|
trackerIngestResultSchema,
|
|
170
188
|
trackerIngestSchema,
|
|
171
189
|
trackerOutcomePageSchema,
|
|
@@ -180,7 +198,8 @@ import {
|
|
|
180
198
|
trackerSummarySchema,
|
|
181
199
|
trackerTriggerOutcomePageSchema,
|
|
182
200
|
trackerTriggerOutcomeQuerySchema,
|
|
183
|
-
updateGroupSchema
|
|
201
|
+
updateGroupSchema,
|
|
202
|
+
whereSchemaIssue
|
|
184
203
|
} from "../chunk-KGJSKGKI.js";
|
|
185
204
|
|
|
186
205
|
// src/server/test-members.ts
|
|
@@ -3129,6 +3148,7 @@ export {
|
|
|
3129
3148
|
ManagementError,
|
|
3130
3149
|
ManagementErrorCode,
|
|
3131
3150
|
PayoutSourceKind,
|
|
3151
|
+
REFERRAL_INTEGRATION_REWARD_ERROR,
|
|
3132
3152
|
RevokedDeliveryOutcome,
|
|
3133
3153
|
RevokedEntitlementOutcome,
|
|
3134
3154
|
RevokedReferralOutcome,
|
|
@@ -3171,6 +3191,7 @@ export {
|
|
|
3171
3191
|
completionRevocationSchema,
|
|
3172
3192
|
completionRevocationShortfallSchema,
|
|
3173
3193
|
completionRevokeSchema,
|
|
3194
|
+
containsReferralIntegrationReward,
|
|
3174
3195
|
createGroupSchema,
|
|
3175
3196
|
createManagementClient,
|
|
3176
3197
|
createRepositorySchema,
|
|
@@ -3199,11 +3220,14 @@ export {
|
|
|
3199
3220
|
hostedKeySecretSchema,
|
|
3200
3221
|
hostedManagementBindings,
|
|
3201
3222
|
hostedManagementClient,
|
|
3223
|
+
identityIntegrationInputSchema,
|
|
3202
3224
|
identityIntegrationSchema,
|
|
3203
3225
|
identityKindClaimSchema,
|
|
3204
3226
|
ingestTrackerScopeSchema,
|
|
3205
3227
|
inventorySchema,
|
|
3228
|
+
isIntegrationParticipantPath,
|
|
3206
3229
|
isManagementError,
|
|
3230
|
+
isParticipantRoute,
|
|
3207
3231
|
issuedTokenSchema,
|
|
3208
3232
|
managedAttemptPageSchema,
|
|
3209
3233
|
managedAttemptQuerySchema,
|
|
@@ -3235,6 +3259,11 @@ export {
|
|
|
3235
3259
|
operationSchema,
|
|
3236
3260
|
operatorUserSchema,
|
|
3237
3261
|
pageSchema,
|
|
3262
|
+
parseImageExtraction,
|
|
3263
|
+
parseImageResult,
|
|
3264
|
+
participantExchangeSchema,
|
|
3265
|
+
participantRoutePattern,
|
|
3266
|
+
participantRoutes,
|
|
3238
3267
|
participantSignInInputSchema,
|
|
3239
3268
|
participantSignInSchema,
|
|
3240
3269
|
permissionSchema,
|
|
@@ -3250,6 +3279,7 @@ export {
|
|
|
3250
3279
|
projectTransferSchema,
|
|
3251
3280
|
projectUpdateInputSchema,
|
|
3252
3281
|
querySchema,
|
|
3282
|
+
questConfiguration,
|
|
3253
3283
|
questLifecycleInputSchema,
|
|
3254
3284
|
questLifecycleSchema,
|
|
3255
3285
|
readinessSchema,
|
|
@@ -3264,6 +3294,9 @@ export {
|
|
|
3264
3294
|
resourceLifecycleResultSchema,
|
|
3265
3295
|
rolePermissions,
|
|
3266
3296
|
roleSchema,
|
|
3297
|
+
sequenceCursorSchema,
|
|
3298
|
+
sourceDataSchema,
|
|
3299
|
+
sourceRoles,
|
|
3267
3300
|
stageRequestSchema,
|
|
3268
3301
|
stagedDeploymentContentSchema,
|
|
3269
3302
|
stagedDeploymentKey,
|
|
@@ -3290,8 +3323,11 @@ export {
|
|
|
3290
3323
|
tokenInputSchema,
|
|
3291
3324
|
tokenSchema,
|
|
3292
3325
|
tokenScopeInputSchema,
|
|
3326
|
+
trackerDataIssue,
|
|
3327
|
+
trackerDataIssues,
|
|
3293
3328
|
trackerTriggerOutcomePageSchema,
|
|
3294
3329
|
updateGroupSchema,
|
|
3330
|
+
validateQuestShape,
|
|
3295
3331
|
verifiedPassSchema,
|
|
3296
3332
|
verifyWebhook,
|
|
3297
3333
|
walletBalanceChainsSchema,
|
|
@@ -3302,5 +3338,6 @@ export {
|
|
|
3302
3338
|
webhookInputSchema,
|
|
3303
3339
|
webhookQuerySchema,
|
|
3304
3340
|
webhookSecretSchema,
|
|
3305
|
-
webhookUpdateSchema
|
|
3341
|
+
webhookUpdateSchema,
|
|
3342
|
+
whereSchemaIssue
|
|
3306
3343
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as AuthProvider } from './submission-input-
|
|
2
|
-
import { n as createRelayClient, g as RelayError } from './client-
|
|
1
|
+
import { a as AuthProvider } from './submission-input-CLefHTrj.js';
|
|
2
|
+
import { n as createRelayClient, g as RelayError } from './client-pfml_XAa.js';
|
|
3
3
|
import { C as CosmosChain, a as CosmosNetwork, f as WalletSigner, d as WalletSignInNetwork } from './wallet-YssWxGg8.js';
|
|
4
4
|
|
|
5
5
|
/** An EIP-1193 provider, such as `window.ethereum` or an EIP-6963 announcement's provider. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
import { p as ProjectGroupReference } from './groups-
|
|
2
|
+
import { cX as LedgerReference, cW as QuestHandle } from './schema-CQydLqw4.js';
|
|
3
|
+
import { p as ProjectGroupReference } from './groups-BpWEqaPn.js';
|
|
4
4
|
|
|
5
5
|
/** A Discord message as `ctx.discord.message()` reads it, from the project's Discord server. */
|
|
6
6
|
declare const discordMessageSchema: z.ZodObject<{
|
package/package.json
CHANGED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { O as OpenIdentityKind } from './schema-BPdHSCAc.js';
|
|
2
|
-
import { z } from 'zod';
|
|
3
|
-
|
|
4
|
-
declare const identityIntegrationInputSchema: z.ZodObject<{
|
|
5
|
-
name: z.ZodString;
|
|
6
|
-
origin: z.ZodString;
|
|
7
|
-
identityKind: z.ZodOptional<z.ZodTemplateLiteral<`app:${string}`>>;
|
|
8
|
-
adoptIdentitiesFrom: z.ZodOptional<z.ZodString>;
|
|
9
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
10
|
-
}, z.core.$strict>;
|
|
11
|
-
/** An integration as responses return it: fields a newer Relay adds are ignored. */
|
|
12
|
-
declare const identityIntegrationSchema: z.ZodObject<{
|
|
13
|
-
id: z.ZodString;
|
|
14
|
-
name: z.ZodString;
|
|
15
|
-
origin: z.ZodString;
|
|
16
|
-
expiresAt: z.ZodNumber;
|
|
17
|
-
identityKind: z.ZodDefault<z.ZodNullable<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
|
|
18
|
-
organization: z.ZodString;
|
|
19
|
-
project: z.ZodString;
|
|
20
|
-
environment: z.ZodEnum<{
|
|
21
|
-
test: "test";
|
|
22
|
-
live: "live";
|
|
23
|
-
}>;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
declare const identityIntegrationSecretSchema: z.ZodObject<{
|
|
26
|
-
id: z.ZodString;
|
|
27
|
-
name: z.ZodString;
|
|
28
|
-
origin: z.ZodString;
|
|
29
|
-
expiresAt: z.ZodNumber;
|
|
30
|
-
identityKind: z.ZodDefault<z.ZodNullable<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
|
|
31
|
-
organization: z.ZodString;
|
|
32
|
-
project: z.ZodString;
|
|
33
|
-
environment: z.ZodEnum<{
|
|
34
|
-
test: "test";
|
|
35
|
-
live: "live";
|
|
36
|
-
}>;
|
|
37
|
-
token: z.ZodString;
|
|
38
|
-
}, z.core.$strip>;
|
|
39
|
-
/**
|
|
40
|
-
* An `app:<name>` kind claimed in the project and environment, and the integration that owns its
|
|
41
|
-
* identities: the live one, or the disconnected one a new integration would adopt them from.
|
|
42
|
-
*/
|
|
43
|
-
declare const identityKindClaimSchema: z.ZodObject<{
|
|
44
|
-
kind: z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>;
|
|
45
|
-
integration: z.ZodString;
|
|
46
|
-
integrationName: z.ZodString;
|
|
47
|
-
connected: z.ZodBoolean;
|
|
48
|
-
linked: z.ZodNumber;
|
|
49
|
-
unlinked: z.ZodNumber;
|
|
50
|
-
claimedAt: z.ZodNumber;
|
|
51
|
-
}, z.core.$strip>;
|
|
52
|
-
type IdentityKindClaim = z.infer<typeof identityKindClaimSchema>;
|
|
53
|
-
declare const participantExchangeSchema: z.ZodObject<{
|
|
54
|
-
subject: z.ZodString;
|
|
55
|
-
previousToken: z.ZodOptional<z.ZodString>;
|
|
56
|
-
}, z.core.$strict>;
|
|
57
|
-
|
|
58
|
-
export { type IdentityKindClaim as I, identityIntegrationSchema as a, identityIntegrationSecretSchema as b, identityKindClaimSchema as c, identityIntegrationInputSchema as i, participantExchangeSchema as p };
|
|
File without changes
|