@domino-sdk/relay 1.55.0 → 1.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +85 -0
- package/dist/{accounts-DRPENuZe.d.ts → accounts-CVonEkdb.d.ts} +18 -7
- package/dist/{attempt-captures-CxxO7DeD.d.ts → attempt-captures-DBj-rxak.d.ts} +1 -1
- package/dist/authoring.d.ts +306 -72
- package/dist/authoring.js +264 -9
- package/dist/{automatic-outcomes-DxW_v5Wc.d.ts → automatic-outcomes-FS9okvBP.d.ts} +1 -1
- package/dist/avatar.d.ts +1 -2
- package/dist/browser.d.ts +8 -9
- package/dist/browser.js +10 -10
- package/dist/{capability-error-DSd8EMQC.d.ts → capability-error-DDJl0LY-.d.ts} +0 -6
- package/dist/{chunk-IZRITLVV.js → chunk-2LKGAL63.js} +2 -2
- package/dist/{chunk-GL43VQ5D.js → chunk-577DG2IT.js} +38 -8
- package/dist/{chunk-UY6KMLQG.js → chunk-6U5WWH3W.js} +141 -100
- package/dist/{chunk-YCOKTQ4E.js → chunk-AWWCEP7F.js} +1403 -882
- package/dist/{chunk-56DBFNR2.js → chunk-EQF4ID47.js} +1 -1
- package/dist/{chunk-YEVD4A5X.js → chunk-IBROKMFV.js} +2 -2
- package/dist/{chunk-XALIFNMD.js → chunk-KBCTII6C.js} +1 -1
- package/dist/{chunk-WHG5WE43.js → chunk-KYUQEZZA.js} +1 -1
- package/dist/{chunk-WUEQOKJH.js → chunk-LDLOB2UZ.js} +4 -4
- package/dist/{chunk-IUF7DW76.js → chunk-M2JQPDUX.js} +39 -9
- package/dist/{chunk-MLIXJPKL.js → chunk-MHPKEVEW.js} +1 -0
- package/dist/{chunk-TLK2MD4S.js → chunk-R4S6BFOH.js} +1 -1
- package/dist/{chunk-VFBQVY4X.js → chunk-TZJT5CRF.js} +1 -1
- package/dist/{chunk-C7QZ4UBB.js → chunk-UEMLYPKJ.js} +21 -5
- package/dist/{chunk-F6HECAXA.js → chunk-W42KMMH5.js} +140 -101
- package/dist/{chunk-WHMXXHPX.js → chunk-XGXDINGM.js} +16 -3
- package/dist/{chunk-SABMNPF2.js → chunk-YMWRLAAP.js} +1 -1
- package/dist/{chunk-YE3XYB2F.js → chunk-YRSU2X2P.js} +2 -2
- package/dist/{client-C4zUZKpj.d.ts → client-3b9HjSzZ.d.ts} +191 -117
- package/dist/{deployments-B32QS1CI.d.ts → deployments-BydFVj4Q.d.ts} +798 -235
- package/dist/{groups-O6onGPmC.d.ts → groups-CFuTfFqG.d.ts} +15 -9
- package/dist/index.d.ts +9 -10
- package/dist/index.js +9 -9
- package/dist/{integrations-C6_uUh-s.d.ts → integrations-DrbKQSTD.d.ts} +42 -22
- package/dist/internal.d.ts +10 -10
- package/dist/internal.js +9 -9
- package/dist/{offers-BMDNcvwB.d.ts → offers-DAfe1O3_.d.ts} +211 -2
- package/dist/{pages-BFloMpyQ.d.ts → pages-ChDVLrgR.d.ts} +95 -10
- package/dist/portal-proxy.js +4 -4
- package/dist/react/index.d.ts +149 -72
- package/dist/react/index.js +65 -10
- package/dist/runtime/authoring.js +1 -1
- package/dist/runtime/chunks/BG43KQ2T.js +1 -0
- package/dist/runtime/chunks/EWU4OKSY.js +62 -0
- package/dist/runtime/manifest.json +5 -5
- package/dist/runtime/schema.js +1 -1
- package/dist/runtime/zod.js +1 -1
- package/dist/{schema-C4m9RhCR.d.ts → schema-BA0nRRlt.d.ts} +184 -35
- package/dist/schema.d.ts +1265 -697
- package/dist/schema.js +96 -12
- package/dist/server/index.d.ts +10 -10
- package/dist/server/index.js +1644 -1105
- package/dist/{submission-input-BbdawqVy.d.ts → submission-input-DxQ6RnKo.d.ts} +2 -2
- package/dist/{telegram-browser-CwaxROAZ.d.ts → telegram-browser-o3OIxGrJ.d.ts} +3 -3
- package/dist/testing.d.ts +89 -9
- package/dist/testing.js +215 -10
- package/dist/{transport-CZJOW5Sr.d.ts → transport-D_Eqf78J.d.ts} +8592 -4384
- package/dist/wallet-B06zvDXp.d.ts +972 -0
- package/dist/{x-1czZFVUW.d.ts → x-C28SNifw.d.ts} +2 -2
- package/package.json +2 -2
- package/dist/profiles-BoOK03cR.d.ts +0 -299
- package/dist/runtime/chunks/IDOMZWRY.js +0 -40
- package/dist/runtime/chunks/WKATKZXE.js +0 -1
- package/dist/util.d-w9f9t3ua.d.ts +0 -5
- package/dist/wallet-Ac7OFpOr.d.ts +0 -228
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { g as PointEntryKind,
|
|
2
|
+
import { g as PointEntryKind, y as ResourceHandle, G as GroupHandle } from './schema-BA0nRRlt.js';
|
|
3
3
|
|
|
4
4
|
type AuthoringIdentity = {
|
|
5
5
|
key: string;
|
|
@@ -868,7 +868,7 @@ declare const leaderboardAuthoringSchema: z.ZodObject<{
|
|
|
868
868
|
minScore: z.ZodOptional<z.ZodNumber>;
|
|
869
869
|
}, z.core.$strict>>;
|
|
870
870
|
}, z.core.$strict>>;
|
|
871
|
-
score: z.
|
|
871
|
+
score: z.ZodPreprocess<z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
872
872
|
kind: z.ZodLiteral<"balance">;
|
|
873
873
|
}, z.core.$strict>, z.ZodObject<{
|
|
874
874
|
window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -909,7 +909,7 @@ declare const leaderboardAuthoringSchema: z.ZodObject<{
|
|
|
909
909
|
month: "month";
|
|
910
910
|
}>;
|
|
911
911
|
}, z.core.$strip>], "kind">>;
|
|
912
|
-
}, z.core.$strict>], "kind"
|
|
912
|
+
}, z.core.$strict>], "kind">>, unknown>;
|
|
913
913
|
group: z.ZodOptional<z.ZodString>;
|
|
914
914
|
key: z.ZodString;
|
|
915
915
|
}, z.core.$strict>;
|
|
@@ -966,7 +966,7 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
966
966
|
minScore: z.ZodOptional<z.ZodNumber>;
|
|
967
967
|
}, z.core.$strict>>;
|
|
968
968
|
}, z.core.$strict>>;
|
|
969
|
-
score: z.
|
|
969
|
+
score: z.ZodPreprocess<z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
970
970
|
kind: z.ZodLiteral<"balance">;
|
|
971
971
|
}, z.core.$strict>, z.ZodObject<{
|
|
972
972
|
window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1007,7 +1007,7 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1007
1007
|
month: "month";
|
|
1008
1008
|
}>;
|
|
1009
1009
|
}, z.core.$strip>], "kind">>;
|
|
1010
|
-
}, z.core.$strict>], "kind"
|
|
1010
|
+
}, z.core.$strict>], "kind">>, unknown>;
|
|
1011
1011
|
group: z.ZodOptional<z.ZodString>;
|
|
1012
1012
|
key: z.ZodString;
|
|
1013
1013
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2734,8 +2734,10 @@ declare const projectGroupAuthoringSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2734
2734
|
title?: string | undefined;
|
|
2735
2735
|
}>>;
|
|
2736
2736
|
/**
|
|
2737
|
-
* Define one project group for prerequisites, leaderboards, and referrals. The handle
|
|
2738
|
-
* group by its key
|
|
2737
|
+
* Define one project group for prerequisites, rewards, leaderboards, and referrals. The handle
|
|
2738
|
+
* names the group by its key. Publishing code that names it creates the group, with no members,
|
|
2739
|
+
* where the environment lacks it: titled from this handle for a reward or `inGroup`, and with its
|
|
2740
|
+
* key for a leaderboard or referral rule. Operators manage its members in Console or with
|
|
2739
2741
|
* `management.groups`.
|
|
2740
2742
|
*/
|
|
2741
2743
|
declare function defineGroup(input: Omit<z.input<typeof projectGroupAuthoringSchema>, "key" | "id"> & AuthoringIdentity): {
|
|
@@ -2765,10 +2767,14 @@ declare const removeGroupMemberSchema: z.ZodObject<{
|
|
|
2765
2767
|
actionId: z.ZodString;
|
|
2766
2768
|
reason: z.ZodString;
|
|
2767
2769
|
}, z.core.$strict>;
|
|
2770
|
+
/** Archives or unarchives a group, with an optional reason for the audit history. */
|
|
2771
|
+
declare const groupArchiveInputSchema: z.ZodObject<{
|
|
2772
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2773
|
+
}, z.core.$strict>;
|
|
2774
|
+
type GroupArchiveInput = z.input<typeof groupArchiveInputSchema>;
|
|
2768
2775
|
/** One page of groups or of a group's members: pass `nextCursor` back as `cursor`. */
|
|
2769
2776
|
declare const groupPageQuerySchema: z.ZodObject<{
|
|
2770
2777
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2771
|
-
/** Items per page, 1–100; the default is 50. */
|
|
2772
2778
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2773
2779
|
}, z.core.$strict>;
|
|
2774
2780
|
type GroupPageQuery = z.input<typeof groupPageQuerySchema>;
|
|
@@ -2815,4 +2821,4 @@ declare const groupMemberPageSchema: z.ZodObject<{
|
|
|
2815
2821
|
/** @compat output */
|
|
2816
2822
|
type GroupMemberPage = z.infer<typeof groupMemberPageSchema>;
|
|
2817
2823
|
|
|
2818
|
-
export {
|
|
2824
|
+
export { engagementChangePreviewInputSchema as $, type AvailabilityWindow as A, type LeaderboardPoolUnit as B, type CampaignDefinition as C, type LeaderboardSettlement as D, type EngagementBudget as E, type LeaderboardSettlementPolicy as F, type GroupArchiveInput as G, type LeaderboardSettlementPool as H, type LeaderboardSettlementSummary as I, type ManagedGroup as J, type ManagedPointHistoryPage as K, type LeaderboardDefinition as L, type MemberCampaignEnrollmentInput as M, addGroupMemberSchema as N, availabilityWindowSchema as O, type ProjectGroup as P, baseUnitsSchema as Q, type ReferralDefinition as R, campaignDefinitionSchema as S, campaignEnrollmentInputSchema as T, campaignEnrollmentSchema as U, campaignViewSchema as V, campaignWithdrawalInputSchema as W, createGroupSchema as X, engagementArtifactSchema as Y, engagementBoundaryPageSchema as Z, engagementBudgetSchema as _, type CampaignEnrollment as a, referralQualificationSchema as a$, engagementChangePreviewSchema as a0, engagementChangeSchema as a1, engagementDefinitionSchema as a2, engagementDeploymentEntrySchema as a3, engagementPageSchema as a4, engagementPublishSchema as a5, engagementRuleSchema as a6, engagementRuleVersionPageSchema as a7, engagementScoreInputSchema as a8, engagementScoreSchema as a9, leaderboardSettlementApprovalSchema as aA, leaderboardSettlementPolicySchema as aB, leaderboardSettlementPoolSchema as aC, leaderboardSettlementRowSchema as aD, leaderboardSettlementSchema as aE, leaderboardSettlementStatusSchema as aF, leaderboardSettlementSummarySchema as aG, leaderboardSettlementUnmeasuredSchema as aH, leaderboardWindowSchema as aI, managedGroupSchema as aJ, managedPointHistoryPageSchema as aK, memberCampaignEnrollmentInputSchema as aL, memberCampaignWithdrawalInputSchema as aM, pointsAccountSchema as aN, pointsEntrySchema as aO, pointsMutationSchema as aP, pointsResultSchema as aQ, projectGroupKey as aR, projectGroupSchema as aS, publishedLeaderboardSchema as aT, publishedReferralSchema as aU, referralAccountSchema as aV, referralArtifactSchema as aW, referralControlSchema as aX, referralDefinitionSchema as aY, referralHistorySchema as aZ, referralManagementSchema as a_, engagementSettlementSchema as aa, engagementVersionPageSchema as ab, engagementVersionQuerySchema as ac, groupArchiveInputSchema as ad, groupMemberPageSchema as ae, groupMemberSchema as af, groupPageQuerySchema as ag, groupPageSchema as ah, leaderboardArtifactSchema as ai, leaderboardAuthoringSchema as aj, leaderboardDefinitionResponseSchema as ak, leaderboardExclusionGroupBindingSchema as al, leaderboardExclusionGroupSchema as am, leaderboardExclusionSchema as an, leaderboardGroupSchema as ao, leaderboardHistoryPageSchema as ap, leaderboardHistoryQuerySchema as aq, leaderboardPageSchema as ar, leaderboardPlacementSchema as as, leaderboardPoolSchema as at, leaderboardPoolUnitSchema as au, leaderboardPreviewSchema as av, leaderboardPrizeRewardSchema as aw, leaderboardPrizeSchema as ax, leaderboardQuerySchema as ay, leaderboardRowSchema as az, type CampaignEnrollmentInput as b, referralRelationshipSchema as b0, referralRewardResolutionSchema as b1, referralSummarySchema as b2, referralSuspensionSchema as b3, removeGroupMemberSchema as b4, updateGroupSchema as b5, type CampaignView as c, type CampaignWithdrawalInput as d, type LeaderboardHistoryPage as e, type LeaderboardHistoryQuery as f, type LeaderboardPage as g, type LeaderboardPlacement as h, type LeaderboardQuery as i, type MemberCampaignWithdrawalInput as j, type ProjectGroupReference as k, type AuthoringIdentity as l, leaderboardDefinitionSchema as m, defineCampaign as n, defineGroup as o, referralAcceptSchema as p, engagementPageQuerySchema as q, referralAuthoringSchema as r, type EngagementDefinition as s, type EngagementRuleVersionPage as t, type GroupMember as u, type GroupMemberPage as v, type GroupPage as w, type GroupPageQuery as x, type LeaderboardExclusionGroup as y, type LeaderboardPool as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
export { B as Badge, M as ManagedBadge, a as MemberBadge, b as MemberBadges, O as Offer, c as OfferDefinition, d as OfferPrice, R as RedeemOfferInput, e as Redemption } from './offers-
|
|
1
|
+
export { B as Badge, M as ManagedBadge, a as MemberBadge, b as MemberBadges, O as Offer, c as OfferDefinition, d as OfferPrice, R as RedeemOfferInput, e as Redemption } from './offers-DAfe1O3_.js';
|
|
2
2
|
export { R as RelayAction, a as RequestError, b as RequestErrorDetails, c as RequestErrorKind, d as RequestRecovery, e as createRelayAction, i as isRequestError } from './action-DBzILFx9.js';
|
|
3
|
-
export { A as AuthStartInput, C as ClaimSubmission, E as EmailVerification, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionCallOptions, m as SubmissionDraft, n as SubmissionStatus, o as SubmissionStore, V as ValueSubmission, p as createRelayClient, q as isRelayError } from './client-
|
|
4
|
-
export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownPointEntryKind, d as KnownTrackerSkipCode, M as MemberProgress, P as PointBalance, e as PointBalances, f as PointEntry, g as PointEntryKind, h as PointHistoryPage, i as PointHistoryQuery, j as PointLedgerReference, Q as QuestBudgetView, k as QuestPresentation, l as QuestProfile, m as QuizEvidence, R as Reward, S as SubmissionEvidence, n as SubmitInput, T as TieredRewardReference, o as TrackerSkipCode } from './schema-
|
|
3
|
+
export { A as AuthStartInput, C as ClaimSubmission, E as EmailVerification, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionCallOptions, m as SubmissionDraft, n as SubmissionStatus, o as SubmissionStore, V as ValueSubmission, p as createRelayClient, q as isRelayError } from './client-3b9HjSzZ.js';
|
|
4
|
+
export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownPointEntryKind, d as KnownTrackerSkipCode, M as MemberProgress, P as PointBalance, e as PointBalances, f as PointEntry, g as PointEntryKind, h as PointHistoryPage, i as PointHistoryQuery, j as PointLedgerReference, Q as QuestBudgetView, k as QuestPresentation, l as QuestProfile, m as QuizEvidence, R as Reward, S as SubmissionEvidence, n as SubmitInput, T as TieredRewardReference, o as TrackerSkipCode } from './schema-BA0nRRlt.js';
|
|
5
5
|
export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
|
|
6
|
-
export { P as Page,
|
|
7
|
-
export { A as AccountConnection, a as AuthProvider, T as TelegramAccountConnection, b as TelegramSignInMethods } from './accounts-
|
|
6
|
+
export { C as CreatorAccount, a as CreatorAccountProvider, b as CreatorAccounts, P as Page, c as PageQuery, Q as QuestClaimInput, d as QuestEnrollment, e as QuestEnrollmentInput, f as QuestInteraction, g as QuestOutcome, h as QuestOutcomePage, i as QuestOutcomeQuery, j as QuestOutcomeState, k as QuestRewardView, l as QuestView, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './pages-ChDVLrgR.js';
|
|
7
|
+
export { A as AccountConnection, a as AuthProvider, T as TelegramAccountConnection, b as TelegramSignInMethods } from './accounts-CVonEkdb.js';
|
|
8
8
|
export { E as ExchangeInput, M as MemberSummary, P as ParticipantActivity, a as ParticipantPrincipal, b as ParticipantSession, R as RelayEvent, S as Session, s as sessionMember } from './participant-activity-iciCEs_8.js';
|
|
9
|
-
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, L as LeaderboardDefinition, e as LeaderboardHistoryPage, f as LeaderboardHistoryQuery, g as LeaderboardPage, h as LeaderboardPlacement, i as LeaderboardQuery, M as MemberCampaignEnrollmentInput, j as MemberCampaignWithdrawalInput, P as ProjectGroup, k as ProjectGroupReference, R as ReferralDefinition } from './groups-
|
|
10
|
-
export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-
|
|
11
|
-
export { M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, a as TextOptions, U as UrlEvidence, b as UrlOptions, V as ValueEvidence } from './submission-input-
|
|
12
|
-
export { A as AvatarProvider, O as OwnProfile, P as ProfileAvatar,
|
|
9
|
+
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, L as LeaderboardDefinition, e as LeaderboardHistoryPage, f as LeaderboardHistoryQuery, g as LeaderboardPage, h as LeaderboardPlacement, i as LeaderboardQuery, M as MemberCampaignEnrollmentInput, j as MemberCampaignWithdrawalInput, P as ProjectGroup, k as ProjectGroupReference, R as ReferralDefinition } from './groups-CFuTfFqG.js';
|
|
10
|
+
export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-FS9okvBP.js';
|
|
11
|
+
export { M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, a as TextOptions, U as UrlEvidence, b as UrlOptions, V as ValueEvidence } from './submission-input-DxQ6RnKo.js';
|
|
12
|
+
export { A as AvatarProvider, C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, O as OwnProfile, P as ProfileAvatar, b as ProfileCompletion, c as ProfileCompletionPage, d as ProfileCompletionQuery, e as ProfileReferral, f as ProfileSummary, g as ProfileUpdate, h as ProfileVisibility, W as WalletAddressInput, i as WalletChain, j as WalletMessageChallenge, k as WalletSignInNetwork, l as WalletSignature, m as WalletSigner, n as WalletUnlinkInput } from './wallet-B06zvDXp.js';
|
|
13
13
|
export { Q as QuizContent, S as StreakProgress } from './streaks-0YuipsUQ.js';
|
|
14
|
-
export { C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, W as WalletAddressInput, b as WalletChain, c as WalletMessageChallenge, d as WalletSignInNetwork, e as WalletSignature, f as WalletSigner, g as WalletUnlinkInput } from './wallet-Ac7OFpOr.js';
|
|
15
14
|
export { P as ParticipantDelivery } from './participant-rewards-BcWkBRn_.js';
|
|
16
15
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -5,22 +5,22 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
QuestUpdatedError,
|
|
7
7
|
createRelayClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-577DG2IT.js";
|
|
9
9
|
import {
|
|
10
10
|
createRelayAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KYUQEZZA.js";
|
|
12
12
|
import {
|
|
13
13
|
QuestOutcomeState
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-6U5WWH3W.js";
|
|
15
|
+
import "./chunk-UEMLYPKJ.js";
|
|
16
16
|
import {
|
|
17
17
|
PointEntryKind
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-XGXDINGM.js";
|
|
19
|
+
import "./chunk-R4S6BFOH.js";
|
|
20
|
+
import "./chunk-TZJT5CRF.js";
|
|
21
21
|
import {
|
|
22
22
|
sessionMember
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EQF4ID47.js";
|
|
24
24
|
import {
|
|
25
25
|
AttemptStatus,
|
|
26
26
|
RelayError,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
isRelayError,
|
|
30
30
|
isRequestError,
|
|
31
31
|
paginate
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-AWWCEP7F.js";
|
|
33
33
|
export {
|
|
34
34
|
AttemptStatus,
|
|
35
35
|
PointEntryKind,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { H as WalletBalanceQuery } from './wallet-B06zvDXp.js';
|
|
3
|
+
import { y as ResourceHandle } from './schema-BA0nRRlt.js';
|
|
4
4
|
import { A as AnalyticsMetricId, a as analyticsCatalog } from './analytics-URV-mxjH.js';
|
|
5
5
|
|
|
6
6
|
declare const resourceSourceSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -249,6 +249,45 @@ declare function parseSettings(fields: Record<string, SettingField>, input: unkn
|
|
|
249
249
|
declare function missingResourceSettings(fields: Record<string, SettingField>, values: SettingsValues): string[];
|
|
250
250
|
declare function compatibleSettingKinds(previous: SettingField, next: SettingField): boolean;
|
|
251
251
|
|
|
252
|
+
/**
|
|
253
|
+
* A YouTube Short's body, as `content()` quests read it in `ctx.tracker.content.body`. Every field
|
|
254
|
+
* is what YouTube reported when Relay last read the video.
|
|
255
|
+
*
|
|
256
|
+
* @compat output
|
|
257
|
+
*/
|
|
258
|
+
declare const youtubeShortBodySchema: z.ZodObject<{
|
|
259
|
+
title: z.ZodString;
|
|
260
|
+
description: z.ZodString;
|
|
261
|
+
tags: z.ZodArray<z.ZodString>;
|
|
262
|
+
durationSeconds: z.ZodNumber;
|
|
263
|
+
publishedAt: z.ZodNumber;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
type YouTubeShortBody = z.infer<typeof youtubeShortBodySchema>;
|
|
266
|
+
/** The counters a YouTube Short's samples measure. A counter YouTube hides is unknown, never zero. */
|
|
267
|
+
declare const youtubeShortMetrics: readonly ["views", "likes", "comments"];
|
|
268
|
+
type YouTubeShortMetric = (typeof youtubeShortMetrics)[number];
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* A TikTok video's body, as `content()` quests read it in `ctx.tracker.content.body`. Every field
|
|
272
|
+
* is what TikTok reported when Relay last read the video.
|
|
273
|
+
*
|
|
274
|
+
* @compat output
|
|
275
|
+
*/
|
|
276
|
+
declare const tiktokVideoBodySchema: z.ZodObject<{
|
|
277
|
+
title: z.ZodString;
|
|
278
|
+
description: z.ZodString;
|
|
279
|
+
durationSeconds: z.ZodNumber;
|
|
280
|
+
width: z.ZodNumber;
|
|
281
|
+
height: z.ZodNumber;
|
|
282
|
+
createdAt: z.ZodNumber;
|
|
283
|
+
shareUrl: z.ZodString;
|
|
284
|
+
isAigc: z.ZodBoolean;
|
|
285
|
+
}, z.core.$strip>;
|
|
286
|
+
type TikTokVideoBody = z.infer<typeof tiktokVideoBodySchema>;
|
|
287
|
+
/** The counters a TikTok video's samples measure. A counter TikTok omits is unknown, never zero. */
|
|
288
|
+
declare const tiktokVideoMetrics: readonly ["views", "likes", "comments", "shares"];
|
|
289
|
+
type TikTokVideoMetric = (typeof tiktokVideoMetrics)[number];
|
|
290
|
+
|
|
252
291
|
/**
|
|
253
292
|
* How many panels one dashboard holds and how many dashboards that are not archived a project
|
|
254
293
|
* holds. Panels are computed at read time without rollups, so the caps keep a read affordable.
|
|
@@ -270,12 +309,9 @@ declare const dashboardPanelAuthoringSchema: z.ZodObject<{
|
|
|
270
309
|
key: z.ZodString;
|
|
271
310
|
title: z.ZodString;
|
|
272
311
|
description: z.ZodOptional<z.ZodString>;
|
|
273
|
-
/** A metric ID from the catalog (`analytics.catalog`). */
|
|
274
312
|
metric: z.ZodString;
|
|
275
313
|
breakdown: z.ZodOptional<z.ZodString>;
|
|
276
|
-
/** Each filter names one key or a list of keys; a list matches any of them. */
|
|
277
314
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
278
|
-
/** The point ledger a points metric reads, by key. */
|
|
279
315
|
ledger: z.ZodOptional<z.ZodString>;
|
|
280
316
|
chart: z.ZodEnum<{
|
|
281
317
|
number: "number";
|
|
@@ -289,14 +325,12 @@ declare const dashboardAuthoringSchema: z.ZodObject<{
|
|
|
289
325
|
key: z.ZodString;
|
|
290
326
|
title: z.ZodString;
|
|
291
327
|
description: z.ZodOptional<z.ZodString>;
|
|
292
|
-
/** The range the dashboard opens with. Defaults to `30d`. */
|
|
293
328
|
defaultRange: z.ZodOptional<z.ZodEnum<{
|
|
294
329
|
"7d": "7d";
|
|
295
330
|
"30d": "30d";
|
|
296
331
|
"90d": "90d";
|
|
297
332
|
all: "all";
|
|
298
333
|
}>>;
|
|
299
|
-
/** Orders dashboards in lists: by position, those without one last, then by title. */
|
|
300
334
|
position: z.ZodOptional<z.ZodNumber>;
|
|
301
335
|
sections: z.ZodArray<z.ZodObject<{
|
|
302
336
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -305,12 +339,9 @@ declare const dashboardAuthoringSchema: z.ZodObject<{
|
|
|
305
339
|
key: z.ZodString;
|
|
306
340
|
title: z.ZodString;
|
|
307
341
|
description: z.ZodOptional<z.ZodString>;
|
|
308
|
-
/** A metric ID from the catalog (`analytics.catalog`). */
|
|
309
342
|
metric: z.ZodString;
|
|
310
343
|
breakdown: z.ZodOptional<z.ZodString>;
|
|
311
|
-
/** Each filter names one key or a list of keys; a list matches any of them. */
|
|
312
344
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
313
|
-
/** The point ledger a points metric reads, by key. */
|
|
314
345
|
ledger: z.ZodOptional<z.ZodString>;
|
|
315
346
|
chart: z.ZodEnum<{
|
|
316
347
|
number: "number";
|
|
@@ -341,12 +372,9 @@ declare const dashboardDefinitionSchema: z.ZodObject<{
|
|
|
341
372
|
key: z.ZodString;
|
|
342
373
|
title: z.ZodString;
|
|
343
374
|
description: z.ZodOptional<z.ZodString>;
|
|
344
|
-
/** A metric ID from the catalog (`analytics.catalog`). */
|
|
345
375
|
metric: z.ZodString;
|
|
346
376
|
breakdown: z.ZodOptional<z.ZodString>;
|
|
347
|
-
/** Each filter names one key or a list of keys; a list matches any of them. */
|
|
348
377
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
349
|
-
/** The point ledger a points metric reads, by key. */
|
|
350
378
|
ledger: z.ZodOptional<z.ZodString>;
|
|
351
379
|
chart: z.ZodEnum<{
|
|
352
380
|
number: "number";
|
|
@@ -364,14 +392,12 @@ declare const dashboardArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
364
392
|
key: z.ZodString;
|
|
365
393
|
title: z.ZodString;
|
|
366
394
|
description: z.ZodOptional<z.ZodString>;
|
|
367
|
-
/** The range the dashboard opens with. Defaults to `30d`. */
|
|
368
395
|
defaultRange: z.ZodOptional<z.ZodEnum<{
|
|
369
396
|
"7d": "7d";
|
|
370
397
|
"30d": "30d";
|
|
371
398
|
"90d": "90d";
|
|
372
399
|
all: "all";
|
|
373
400
|
}>>;
|
|
374
|
-
/** Orders dashboards in lists: by position, those without one last, then by title. */
|
|
375
401
|
position: z.ZodOptional<z.ZodNumber>;
|
|
376
402
|
sections: z.ZodArray<z.ZodObject<{
|
|
377
403
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -380,12 +406,9 @@ declare const dashboardArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
380
406
|
key: z.ZodString;
|
|
381
407
|
title: z.ZodString;
|
|
382
408
|
description: z.ZodOptional<z.ZodString>;
|
|
383
|
-
/** A metric ID from the catalog (`analytics.catalog`). */
|
|
384
409
|
metric: z.ZodString;
|
|
385
410
|
breakdown: z.ZodOptional<z.ZodString>;
|
|
386
|
-
/** Each filter names one key or a list of keys; a list matches any of them. */
|
|
387
411
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
388
|
-
/** The point ledger a points metric reads, by key. */
|
|
389
412
|
ledger: z.ZodOptional<z.ZodString>;
|
|
390
413
|
chart: z.ZodEnum<{
|
|
391
414
|
number: "number";
|
|
@@ -456,12 +479,9 @@ declare const dashboardPreviewSchema: z.ZodObject<{
|
|
|
456
479
|
key: z.ZodString;
|
|
457
480
|
title: z.ZodString;
|
|
458
481
|
description: z.ZodOptional<z.ZodString>;
|
|
459
|
-
/** A metric ID from the catalog (`analytics.catalog`). */
|
|
460
482
|
metric: z.ZodString;
|
|
461
483
|
breakdown: z.ZodOptional<z.ZodString>;
|
|
462
|
-
/** Each filter names one key or a list of keys; a list matches any of them. */
|
|
463
484
|
filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
464
|
-
/** The point ledger a points metric reads, by key. */
|
|
465
485
|
ledger: z.ZodOptional<z.ZodString>;
|
|
466
486
|
chart: z.ZodEnum<{
|
|
467
487
|
number: "number";
|
|
@@ -581,4 +601,4 @@ declare const projectIntegrationSchema: z.ZodObject<{
|
|
|
581
601
|
}, z.core.$strip>;
|
|
582
602
|
type ProjectIntegration = z.infer<typeof projectIntegrationSchema>;
|
|
583
603
|
|
|
584
|
-
export { type AmountSetting as A, type BalanceChain as B,
|
|
604
|
+
export { tiktokVideoMetrics as $, type AmountSetting as A, type BalanceChain as B, evaluatorIntegrationProviderSchema as C, type DashboardInput as D, type EvaluatorIntegrationProvider as E, integrationProviderSchema as F, isAmount as G, isBalanceChain as H, type IntegrationModule as I, isBoundSetting as J, missingResourceSettings as K, normalizeDashboard as L, parseSettings as M, projectIntegrationSchema as N, resourceOptionsSchema as O, type ProjectIntegration as P, resourceRequestSchema as Q, type ResourceSource as R, type Setting as S, type TikTokVideoBody as T, resourceSourceSchema as U, settingFieldSchema as V, settingsFieldsSchema as W, settingsValuesSchema as X, type YouTubeShortBody as Y, textSettingSchema as Z, tiktokVideoBodySchema as _, type BoundSettings as a, youtubeShortBodySchema as a0, youtubeShortMetrics as a1, type DashboardPanelInput as b, type TikTokVideoMetric as c, type YouTubeShortMetric as d, defineDashboard as e, type DashboardAuthoring as f, type DashboardDefinition as g, type DashboardIssue as h, type DashboardPanel as i, type DashboardPreview as j, type IntegerSettings as k, type IntegrationProvider as l, type ResourceOption as m, type SettingField as n, type SettingsValues as o, compatibleSettingKinds as p, dashboardArtifactSchema as q, dashboardAuthoringSchema as r, dashboardDefinitionSchema as s, dashboardIssue as t, dashboardLimits as u, dashboardPanelAuthoringSchema as v, dashboardPanels as w, dashboardPreviewSchema as x, defaultPanelWidths as y, discordServerSchema as z };
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { I as IdentityKindClaim, M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, m as managementTransport, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, v as validateQuestShape } from './transport-
|
|
2
|
-
export { E as Extracted } from './x-
|
|
1
|
+
export { I as IdentityKindClaim, M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, m as managementTransport, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, v as validateQuestShape } from './transport-D_Eqf78J.js';
|
|
2
|
+
export { E as Extracted } from './x-C28SNifw.js';
|
|
3
3
|
import { c as RequestErrorKind } from './action-DBzILFx9.js';
|
|
4
|
-
export { p as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, q as trackerDataIssue, r as trackerDataIssues, u as trackerDataPathTypes, v as trackerDataRecordSteps, w as whereSchemaIssue } from './schema-
|
|
4
|
+
export { p as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, q as trackerDataIssue, r as trackerDataIssues, u as trackerDataPathTypes, v as trackerDataRecordSteps, w as whereSchemaIssue } from './schema-BA0nRRlt.js';
|
|
5
5
|
export { H as HostEnvironment, h as hostEnvironmentPath, a as hostEnvironmentSchema } from './host-environment-FN4zg3hw.js';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import './pages-
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './automatic-outcomes-
|
|
12
|
-
import './attempt-captures-
|
|
7
|
+
import './pages-ChDVLrgR.js';
|
|
8
|
+
import './wallet-B06zvDXp.js';
|
|
9
|
+
import './offers-DAfe1O3_.js';
|
|
10
|
+
import './groups-CFuTfFqG.js';
|
|
11
|
+
import './automatic-outcomes-FS9okvBP.js';
|
|
12
|
+
import './attempt-captures-DBj-rxak.js';
|
|
13
13
|
import './analytics-URV-mxjH.js';
|
|
14
|
-
import './deployments-
|
|
14
|
+
import './deployments-BydFVj4Q.js';
|
|
15
15
|
|
|
16
16
|
/** The management client's and the CLI's default deadline per call. */
|
|
17
17
|
declare const MANAGEMENT_TIMEOUT = 30000;
|
package/dist/internal.js
CHANGED
|
@@ -9,23 +9,23 @@ import {
|
|
|
9
9
|
participantExchangeSchema,
|
|
10
10
|
questConfiguration,
|
|
11
11
|
sequenceCursorSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LDLOB2UZ.js";
|
|
13
13
|
import {
|
|
14
14
|
parseImageExtraction,
|
|
15
15
|
parseImageResult
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-YRSU2X2P.js";
|
|
17
|
+
import "./chunk-IBROKMFV.js";
|
|
18
18
|
import {
|
|
19
19
|
sourceDataSchema,
|
|
20
20
|
sourceRoles,
|
|
21
21
|
validateQuestShape
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YMWRLAAP.js";
|
|
23
23
|
import {
|
|
24
24
|
isIntegrationParticipantPath,
|
|
25
25
|
isParticipantRoute,
|
|
26
26
|
participantRoutePattern,
|
|
27
27
|
participantRoutes
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MHPKEVEW.js";
|
|
29
29
|
import {
|
|
30
30
|
hostEnvironmentPath,
|
|
31
31
|
hostEnvironmentSchema
|
|
@@ -35,9 +35,9 @@ import {
|
|
|
35
35
|
lifetime,
|
|
36
36
|
retryAfter,
|
|
37
37
|
retrying
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-R4S6BFOH.js";
|
|
39
|
+
import "./chunk-TZJT5CRF.js";
|
|
40
|
+
import "./chunk-EQF4ID47.js";
|
|
41
41
|
import {
|
|
42
42
|
schemaCheckedReader,
|
|
43
43
|
trackerDataBatchSteps,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
trackerDataPathTypes,
|
|
47
47
|
trackerDataRecordSteps,
|
|
48
48
|
whereSchemaIssue
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-AWWCEP7F.js";
|
|
50
50
|
export {
|
|
51
51
|
MANAGEMENT_TIMEOUT,
|
|
52
52
|
REFERRAL_INTEGRATION_REWARD_ERROR,
|