@domino-sdk/relay 1.37.1 → 1.38.1
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/{attempt-captures-B2Clh9Df.d.ts → attempt-captures-CSiN1HKd.d.ts} +1 -1
- package/dist/authoring.d.ts +23 -9
- package/dist/authoring.js +14 -6
- package/dist/{automatic-outcomes-BiarOoiy.d.ts → automatic-outcomes-DDbgRubQ.d.ts} +1 -1
- package/dist/browser.d.ts +6 -6
- package/dist/browser.js +10 -10
- package/dist/{chunk-WYFGWUUJ.js → chunk-2CP3SULY.js} +1 -1
- package/dist/{chunk-2NNVJUP4.js → chunk-B65YJ6K4.js} +1 -1
- package/dist/{chunk-6KNYVJHM.js → chunk-BEQIQFMB.js} +2 -2
- package/dist/{chunk-PWHKIZ2F.js → chunk-BYX27T2S.js} +2 -2
- package/dist/{chunk-OTDMH4IB.js → chunk-CRX274HO.js} +1 -1
- package/dist/{chunk-EOCAYQUY.js → chunk-FTGW72A6.js} +1 -1
- package/dist/{chunk-TIXJGCWY.js → chunk-JMWMUYXW.js} +12 -10
- package/dist/{chunk-2GGITG27.js → chunk-JYHRPMCE.js} +8 -2
- package/dist/{chunk-DOTZUOUI.js → chunk-KEYQHJHU.js} +6 -6
- package/dist/{chunk-5D3O4GEM.js → chunk-OEO5OBY5.js} +30 -2
- package/dist/{chunk-4MPF5Y5A.js → chunk-SAR77VQN.js} +1 -1
- package/dist/{chunk-IBNS3X7D.js → chunk-SBW52XXL.js} +1 -1
- package/dist/{chunk-FSJPYDW7.js → chunk-SR45OUAA.js} +4 -4
- package/dist/{chunk-ZG7XRZIF.js → chunk-V7KYVH3Z.js} +1 -1
- package/dist/{chunk-FB5GDPUU.js → chunk-YNQPFRQO.js} +7 -2
- package/dist/{chunk-XJCOVZZJ.js → chunk-ZT7FPD7B.js} +1 -1
- package/dist/{client-B3rMXsx2.d.ts → client-DjwKrpFo.d.ts} +18 -4
- package/dist/{deployments-CztfY7C8.d.ts → deployments-DYeuxXYg.d.ts} +29 -1
- package/dist/{groups-CRUAE6hI.d.ts → groups-JzAQ2JIN.d.ts} +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -9
- package/dist/internal.d.ts +9 -9
- package/dist/internal.js +8 -8
- package/dist/{offers-B04ZE2JR.d.ts → offers-CIDAJEYs.d.ts} +2 -2
- package/dist/{pages-B5agdH0f.d.ts → pages-DR2YRvAp.d.ts} +20 -1
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +29 -18
- package/dist/react/index.js +60 -17
- package/dist/{schema--jNn3OfJ.d.ts → schema-Cgmj-CbC.d.ts} +18 -1
- package/dist/schema.d.ts +28 -11
- package/dist/schema.js +11 -7
- package/dist/server/index.d.ts +9 -9
- package/dist/server/index.js +14 -14
- package/dist/{submission-input-DGBBygFe.d.ts → submission-input-UBqB8NFC.d.ts} +2 -2
- package/dist/{telegram-browser-CiTSBNKo.d.ts → telegram-browser-2IllFeh-.d.ts} +1 -1
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +5 -5
- package/dist/{transport-BLq1PH-O.d.ts → transport-CqyCLMSR.d.ts} +218 -10
- package/dist/{x-imfTy_I1.d.ts → x-vVG6gZqi.d.ts} +1 -1
- package/package.json +1 -1
package/dist/react/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { B as Badge, b as MemberBadges, O as Offer, e as Redemption } from '../offers-
|
|
1
|
+
import { B as Badge, b as MemberBadges, O as Offer, e as Redemption } from '../offers-CIDAJEYs.js';
|
|
2
2
|
import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../participant-activity-CoB2F30C.js';
|
|
3
|
-
import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-
|
|
4
|
-
import { P as Page, A as collectionViewSchema, j as QuestView, g as QuestOutcomeQuery, e as QuestOutcome } from '../pages-
|
|
3
|
+
import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-DjwKrpFo.js';
|
|
4
|
+
import { P as Page, A as collectionViewSchema, j as QuestView, g as QuestOutcomeQuery, e as QuestOutcome } from '../pages-DR2YRvAp.js';
|
|
5
5
|
import * as react from 'react';
|
|
6
6
|
import { ReactNode } from 'react';
|
|
7
7
|
import { J as JSONType } from '../util.d-w9f9t3ua.js';
|
|
8
8
|
import { z } from 'zod';
|
|
9
|
-
import { E as Entitlement, a as AttemptStatus, T as TieredRewardReference } from '../schema
|
|
9
|
+
import { E as Entitlement, a as AttemptStatus, T as TieredRewardReference } from '../schema-Cgmj-CbC.js';
|
|
10
10
|
import { a as AuthProvider, A as AccountConnection } from '../accounts-DRPENuZe.js';
|
|
11
11
|
export { T as TelegramAccountConnection, b as TelegramSignInMethods } from '../accounts-DRPENuZe.js';
|
|
12
|
-
import { c as SignInMethods, C as CosmosChains, d as SignInOption, f as SignInUnavailable, T as TelegramSignInOption, g as SignInWallet, D as DiscoveredWallet } from '../telegram-browser-
|
|
13
|
-
export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-
|
|
12
|
+
import { c as SignInMethods, C as CosmosChains, d as SignInOption, f as SignInUnavailable, T as TelegramSignInOption, g as SignInWallet, D as DiscoveredWallet } from '../telegram-browser-2IllFeh-.js';
|
|
13
|
+
export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-2IllFeh-.js';
|
|
14
14
|
import { f as WalletSigner, d as WalletSignInNetwork, L as LinkedWallet } from '../wallet-t7uNDg9p.js';
|
|
15
|
-
import { f as LeaderboardPlacement, ba as referralSummarySchema, e as LeaderboardPage, i as PointBalances, j as PointEntry, n as PointLedgerReference } from '../groups-
|
|
15
|
+
import { f as LeaderboardPlacement, ba as referralSummarySchema, e as LeaderboardPage, i as PointBalances, j as PointEntry, n as PointLedgerReference } from '../groups-JzAQ2JIN.js';
|
|
16
16
|
import { f as ProfileUpdate, e as ProfileSummary, a as ProfileCompletion, d as ProfileReferral } from '../profiles-BHuQdzsW.js';
|
|
17
|
-
import '../submission-input-
|
|
17
|
+
import '../submission-input-UBqB8NFC.js';
|
|
18
18
|
import '../action-DBzILFx9.js';
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -1232,6 +1232,7 @@ declare function useQuest(observed: QuestView): {
|
|
|
1232
1232
|
budget: string;
|
|
1233
1233
|
} | null;
|
|
1234
1234
|
} | null | undefined;
|
|
1235
|
+
retryAt?: number | undefined;
|
|
1235
1236
|
};
|
|
1236
1237
|
/** Input recovered after the quest changed. Prefill the form with it. */
|
|
1237
1238
|
draft: SubmissionDraft | null;
|
|
@@ -1267,11 +1268,13 @@ type QuestTone = "open" | "done" | "waiting" | "attention" | "locked" | "off";
|
|
|
1267
1268
|
* - `retryable`: verification could not run; the participant can retry.
|
|
1268
1269
|
* - `staff-required`: a staff member confirms it.
|
|
1269
1270
|
* - `rejected`: the last submission was not accepted; the participant can try again.
|
|
1271
|
+
* - `retry-cooldown`: the last submission was not accepted, and the quest's retry cooldown runs
|
|
1272
|
+
* until `retryAt`.
|
|
1270
1273
|
* - `ready`: the participant can act now.
|
|
1271
1274
|
*
|
|
1272
1275
|
* @compat open
|
|
1273
1276
|
*/
|
|
1274
|
-
type KnownQuestStatusCode = "completed" | "paused" | "closed" | "counter" | "counter-budget-exhausted" | "counter-revoked" | "streak" | "streak-budget-exhausted" | "automatic" | "in-progress" | "locked" | "budget-exhausted" | "connection-required" | "wallet-required" | "outside-window" | "enrollment-required" | "checking" | "evaluator-deferred" | "evaluator-progress" | "in-review" | "retryable" | "staff-required" | "rejected" | "ready";
|
|
1277
|
+
type KnownQuestStatusCode = "completed" | "paused" | "closed" | "counter" | "counter-budget-exhausted" | "counter-revoked" | "streak" | "streak-budget-exhausted" | "automatic" | "in-progress" | "locked" | "budget-exhausted" | "connection-required" | "wallet-required" | "outside-window" | "enrollment-required" | "checking" | "evaluator-deferred" | "evaluator-progress" | "in-review" | "retryable" | "staff-required" | "rejected" | "retry-cooldown" | "ready";
|
|
1275
1278
|
/** A known code, or one a newer SDK adds: render unknown codes with a neutral fallback. */
|
|
1276
1279
|
type QuestStatusCode = KnownQuestStatusCode | (string & {});
|
|
1277
1280
|
type QuestStatus = {
|
|
@@ -1284,6 +1287,8 @@ type QuestStatus = {
|
|
|
1284
1287
|
* string when it gave none.
|
|
1285
1288
|
*/
|
|
1286
1289
|
reason?: string;
|
|
1290
|
+
/** Unix milliseconds when the participant may submit again, when `code` is `retry-cooldown`. */
|
|
1291
|
+
retryAt?: number;
|
|
1287
1292
|
};
|
|
1288
1293
|
/** `QuestStatus` in English: a short `label`, and a sentence of `detail` when there is more. */
|
|
1289
1294
|
type QuestStatusText = QuestStatus & {
|
|
@@ -1314,18 +1319,24 @@ declare function completionCountText(view: QuestView): string | null;
|
|
|
1314
1319
|
*/
|
|
1315
1320
|
declare function canRepeat(view: QuestView): boolean;
|
|
1316
1321
|
/**
|
|
1317
|
-
* What a QuestView means for the participant, as a tone and a code.
|
|
1318
|
-
*
|
|
1319
|
-
*
|
|
1322
|
+
* What a QuestView means for the participant, as a tone and a code. Free of copy: render the code
|
|
1323
|
+
* in your own words, or call `questStatusText` for English. The code is an open string, so a
|
|
1324
|
+
* `switch` over it needs a `default` for codes a newer SDK adds. `now` (Unix milliseconds, the
|
|
1325
|
+
* current time by default) decides whether a retry cooldown is still running.
|
|
1320
1326
|
*/
|
|
1321
|
-
declare function questStatus(view: QuestView): QuestStatus;
|
|
1327
|
+
declare function questStatus(view: QuestView, now?: number): QuestStatus;
|
|
1328
|
+
/** True while the quest's retry cooldown after the participant's rejected attempt runs. */
|
|
1329
|
+
declare function isCoolingDown(view: QuestView, now?: number): boolean;
|
|
1322
1330
|
/**
|
|
1323
1331
|
* `questStatus` in English, for apps that do not localize: a `label` such as "In review", and a
|
|
1324
|
-
* `detail` sentence when there is more to say.
|
|
1332
|
+
* `detail` sentence when there is more to say. `now` is as in `questStatus`.
|
|
1325
1333
|
*/
|
|
1326
|
-
declare function questStatusText(view: QuestView): QuestStatusText;
|
|
1327
|
-
/**
|
|
1328
|
-
|
|
1334
|
+
declare function questStatusText(view: QuestView, now?: number): QuestStatusText;
|
|
1335
|
+
/**
|
|
1336
|
+
* True when the participant can submit something right now (`now`, Unix milliseconds, the current
|
|
1337
|
+
* time by default): not while a retry cooldown runs.
|
|
1338
|
+
*/
|
|
1339
|
+
declare function canSubmit(view: QuestView, now?: number): boolean;
|
|
1329
1340
|
/**
|
|
1330
1341
|
* "x of y completed" for a list of quests: `total` counts every quest that is not archived or
|
|
1331
1342
|
* repeatable, including locked and paused ones, because they are still part of what the
|
|
@@ -1949,4 +1960,4 @@ declare function usePointLedgers(): Query<PointLedgerReference[]>;
|
|
|
1949
1960
|
*/
|
|
1950
1961
|
declare function useTieredRewards(): Query<TieredRewardReference[]>;
|
|
1951
1962
|
|
|
1952
|
-
export { type Collection, CosmosChains, DiscoveredWallet, type ExperienceData, type Invitation, type KnownQuestStatusCode, type KnownRoleDeliveryStatus, type MemberPagedQuery, type MemberQuery, type MemberQueryOptions, type MemberSnapshot, type Mutation, type MutationContext, type MutationOptions, type MutationStatus, type OAuthProvider, Page, type PageLoader, type PageRead, type PagedQuery, type Query, type QueryContext, type QueryKey, type QueryOptions, type QueryRead, type QuerySnapshot, type QuestInput, type QuestNotice, type QuestStatus, type QuestStatusCode, type QuestStatusText, type QuestTone, type ReferralSummary, type RelayActionResult, RelayClient, type RelayPolling, RelayProvider, type RelayQueryOptions, type RoleDelivery, type RoleDeliveryStatus, type SavedSubmission, SignInMethods, SignInOption, SignInUnavailable, SignInWallet, TelegramSignInOption, canRepeat, canSubmit, captureReferralCode, completionCountText, isAutomatic, isConnected, isFinished, progressOf, questGroups, questStatus, questStatusText, relayKeys, roleDeliveryLabel, roleDeliveryStatus, useAccounts, useActivity, useBadgeCatalog, useBadges, useBalances, useDeliveries, useEntitlements, useExperience, useInvalidate, useInvitation, useLeaderboard, useLeaderboardPlacement, useMe, useMemberPages, useMemberQuery, useMyProfile, useOffers, usePointHistory, usePointLedgers, useProfile, useProfileBadges, useProfileCompletions, useProfileReferral, useQuest, useQuestOutcomes, useRedeemOffer, useReferralSummary, useRelay, useRelayAction, useRelayMutation, useRelayPages, useRelayQuery, useSession, useSetQueryData, useSignIn, useSignInMethods, useSignInOptions, useSignInWallets, useSignOut, useTelegramAccount, useTieredRewards, useWalletDiscovery, useWallets };
|
|
1963
|
+
export { type Collection, CosmosChains, DiscoveredWallet, type ExperienceData, type Invitation, type KnownQuestStatusCode, type KnownRoleDeliveryStatus, type MemberPagedQuery, type MemberQuery, type MemberQueryOptions, type MemberSnapshot, type Mutation, type MutationContext, type MutationOptions, type MutationStatus, type OAuthProvider, Page, type PageLoader, type PageRead, type PagedQuery, type Query, type QueryContext, type QueryKey, type QueryOptions, type QueryRead, type QuerySnapshot, type QuestInput, type QuestNotice, type QuestStatus, type QuestStatusCode, type QuestStatusText, type QuestTone, type ReferralSummary, type RelayActionResult, RelayClient, type RelayPolling, RelayProvider, type RelayQueryOptions, type RoleDelivery, type RoleDeliveryStatus, type SavedSubmission, SignInMethods, SignInOption, SignInUnavailable, SignInWallet, TelegramSignInOption, canRepeat, canSubmit, captureReferralCode, completionCountText, isAutomatic, isConnected, isCoolingDown, isFinished, progressOf, questGroups, questStatus, questStatusText, relayKeys, roleDeliveryLabel, roleDeliveryStatus, useAccounts, useActivity, useBadgeCatalog, useBadges, useBalances, useDeliveries, useEntitlements, useExperience, useInvalidate, useInvitation, useLeaderboard, useLeaderboardPlacement, useMe, useMemberPages, useMemberQuery, useMyProfile, useOffers, usePointHistory, usePointLedgers, useProfile, useProfileBadges, useProfileCompletions, useProfileReferral, useQuest, useQuestOutcomes, useRedeemOffer, useReferralSummary, useRelay, useRelayAction, useRelayMutation, useRelayPages, useRelayQuery, useSession, useSetQueryData, useSignIn, useSignInMethods, useSignInOptions, useSignInWallets, useSignOut, useTelegramAccount, useTieredRewards, useWalletDiscovery, useWallets };
|
package/dist/react/index.js
CHANGED
|
@@ -9,19 +9,19 @@ import {
|
|
|
9
9
|
readSignInMethods,
|
|
10
10
|
signInOptionsFrom,
|
|
11
11
|
telegramMiniAppInitData
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-BEQIQFMB.js";
|
|
13
|
+
import "../chunk-JMWMUYXW.js";
|
|
14
14
|
import {
|
|
15
15
|
createRelayAction
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-CRX274HO.js";
|
|
17
|
+
import "../chunk-JYHRPMCE.js";
|
|
18
|
+
import "../chunk-2CP3SULY.js";
|
|
19
|
+
import "../chunk-B65YJ6K4.js";
|
|
20
|
+
import "../chunk-SBW52XXL.js";
|
|
21
|
+
import "../chunk-SAR77VQN.js";
|
|
22
22
|
import {
|
|
23
23
|
sessionMember
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-FTGW72A6.js";
|
|
25
25
|
import {
|
|
26
26
|
RelayError,
|
|
27
27
|
RelayErrorCode,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
clientError,
|
|
30
30
|
isRelayError,
|
|
31
31
|
isRequestError
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-OEO5OBY5.js";
|
|
33
33
|
|
|
34
34
|
// src/react/context.ts
|
|
35
35
|
import { createContext, useContext } from "react";
|
|
@@ -749,10 +749,13 @@ function canRepeat(view) {
|
|
|
749
749
|
function visibleQuests(quests) {
|
|
750
750
|
return quests.filter((q) => q.visibility !== "hidden");
|
|
751
751
|
}
|
|
752
|
-
function questStatus(view) {
|
|
753
|
-
return knownStatus(view);
|
|
752
|
+
function questStatus(view, now = Date.now()) {
|
|
753
|
+
return knownStatus(view, now);
|
|
754
754
|
}
|
|
755
|
-
function
|
|
755
|
+
function isCoolingDown(view, now = Date.now()) {
|
|
756
|
+
return view.retryAt !== void 0 && view.retryAt > now;
|
|
757
|
+
}
|
|
758
|
+
function knownStatus(view, now) {
|
|
756
759
|
if (isFinished(view)) {
|
|
757
760
|
return { tone: "done", code: "completed" };
|
|
758
761
|
}
|
|
@@ -777,6 +780,14 @@ function knownStatus(view) {
|
|
|
777
780
|
...availability.reason === "outside-window" && availability.window ? { window: availability.window } : {}
|
|
778
781
|
};
|
|
779
782
|
}
|
|
783
|
+
if (availability.kind === "available" && isCoolingDown(view, now)) {
|
|
784
|
+
return {
|
|
785
|
+
tone: "attention",
|
|
786
|
+
code: "retry-cooldown",
|
|
787
|
+
reason: view.attempt?.status === "rejected" ? view.attempt.reason ?? "" : "",
|
|
788
|
+
retryAt: view.retryAt
|
|
789
|
+
};
|
|
790
|
+
}
|
|
780
791
|
const ownSubmission = view.trigger.kind === "manual" && view.trigger.actor !== "staff";
|
|
781
792
|
const submissionFirst = ownSubmission && (availability.kind === "checking" || availability.kind === "needs-review" || availability.kind === "retryable");
|
|
782
793
|
if (view.counter && availability.kind !== "locked" && !submissionFirst) {
|
|
@@ -829,8 +840,8 @@ function knownStatus(view) {
|
|
|
829
840
|
} : { tone: "open", code: "ready" };
|
|
830
841
|
}
|
|
831
842
|
}
|
|
832
|
-
function questStatusText(view) {
|
|
833
|
-
const status = knownStatus(view);
|
|
843
|
+
function questStatusText(view, now = Date.now()) {
|
|
844
|
+
const status = knownStatus(view, now);
|
|
834
845
|
const words = (label, detail) => detail === void 0 ? { ...status, label } : { ...status, label, detail };
|
|
835
846
|
const rejection = status.reason === void 0 ? null : sentence(status.reason || "That submission wasn't accepted.");
|
|
836
847
|
switch (status.code) {
|
|
@@ -935,12 +946,17 @@ function questStatusText(view) {
|
|
|
935
946
|
"Try again",
|
|
936
947
|
status.reason || "That submission wasn't accepted."
|
|
937
948
|
);
|
|
949
|
+
case "retry-cooldown":
|
|
950
|
+
return words(
|
|
951
|
+
"Try again soon",
|
|
952
|
+
`${rejection ?? "That submission wasn't accepted."} You can try again ${waitText((status.retryAt ?? now) - now)}.`
|
|
953
|
+
);
|
|
938
954
|
case "ready":
|
|
939
955
|
return words("Ready");
|
|
940
956
|
}
|
|
941
957
|
}
|
|
942
|
-
function canSubmit(view) {
|
|
943
|
-
return !isFinished(view) && !(view.counter?.repeat === "once" && view.counter.settled > 0) && !isAutomatic(view) && view.lifecycle === "active" && view.availability.kind === "available";
|
|
958
|
+
function canSubmit(view, now = Date.now()) {
|
|
959
|
+
return !isFinished(view) && !(view.counter?.repeat === "once" && view.counter.settled > 0) && !isAutomatic(view) && view.lifecycle === "active" && view.availability.kind === "available" && !isCoolingDown(view, now);
|
|
944
960
|
}
|
|
945
961
|
function progressOf(quests) {
|
|
946
962
|
const counted = quests.filter(
|
|
@@ -951,6 +967,20 @@ function progressOf(quests) {
|
|
|
951
967
|
done: counted.filter(isFinished).length
|
|
952
968
|
};
|
|
953
969
|
}
|
|
970
|
+
function waitText(ms) {
|
|
971
|
+
const format = new Intl.RelativeTimeFormat("en", { numeric: "always" });
|
|
972
|
+
const seconds = Math.max(1, Math.ceil(ms / 1e3));
|
|
973
|
+
if (seconds < 60) {
|
|
974
|
+
return format.format(seconds, "second");
|
|
975
|
+
}
|
|
976
|
+
if (seconds < 3600) {
|
|
977
|
+
return format.format(Math.ceil(seconds / 60), "minute");
|
|
978
|
+
}
|
|
979
|
+
if (seconds < 86400) {
|
|
980
|
+
return format.format(Math.ceil(seconds / 3600), "hour");
|
|
981
|
+
}
|
|
982
|
+
return format.format(Math.ceil(seconds / 86400), "day");
|
|
983
|
+
}
|
|
954
984
|
function sentence(text) {
|
|
955
985
|
const trimmed = text.trim();
|
|
956
986
|
return /[.!?]$/.test(trimmed) ? trimmed : `${trimmed}.`;
|
|
@@ -2087,6 +2117,18 @@ function useQuest(observed) {
|
|
|
2087
2117
|
const [receipt, setReceipt] = useState5(null);
|
|
2088
2118
|
useEffect5(() => setLatest(null), [observed.release]);
|
|
2089
2119
|
const view = latest ?? observed;
|
|
2120
|
+
const [, setCooledDown] = useState5(0);
|
|
2121
|
+
useEffect5(() => {
|
|
2122
|
+
const wait = view.retryAt === void 0 ? 0 : view.retryAt - Date.now();
|
|
2123
|
+
if (wait <= 0) {
|
|
2124
|
+
return;
|
|
2125
|
+
}
|
|
2126
|
+
const timer = setTimeout(
|
|
2127
|
+
() => setCooledDown((count) => count + 1),
|
|
2128
|
+
wait + 1
|
|
2129
|
+
);
|
|
2130
|
+
return () => clearTimeout(timer);
|
|
2131
|
+
}, [view.retryAt]);
|
|
2090
2132
|
const { quest, release } = view;
|
|
2091
2133
|
const completed = isFinished(view) || isAutomatic(view);
|
|
2092
2134
|
const attempt = view.attempt?.id;
|
|
@@ -2994,6 +3036,7 @@ export {
|
|
|
2994
3036
|
completionCountText,
|
|
2995
3037
|
isAutomatic,
|
|
2996
3038
|
isConnected,
|
|
3039
|
+
isCoolingDown,
|
|
2997
3040
|
isFinished,
|
|
2998
3041
|
progressOf,
|
|
2999
3042
|
questGroups,
|
|
@@ -1998,6 +1998,16 @@ declare const deferPolicy: {
|
|
|
1998
1998
|
readonly horizonMs: 86400000;
|
|
1999
1999
|
readonly maxDefers: 100;
|
|
2000
2000
|
};
|
|
2001
|
+
/**
|
|
2002
|
+
* Bounds of a quest's retry cooldown (`retryCooldownMs`): how long a member waits after a rejected
|
|
2003
|
+
* attempt before submitting the quest again. Unrelated to `deferPolicy`, which reschedules an
|
|
2004
|
+
* evaluation that has not finished.
|
|
2005
|
+
*/
|
|
2006
|
+
declare const retryCooldownPolicy: {
|
|
2007
|
+
readonly minMs: 1000;
|
|
2008
|
+
readonly maxMs: 604800000;
|
|
2009
|
+
};
|
|
2010
|
+
declare const retryCooldownMsSchema: z.ZodNumber;
|
|
2001
2011
|
declare const evaluatorProgressSchema: z.ZodObject<{
|
|
2002
2012
|
current: z.ZodNumber;
|
|
2003
2013
|
target: z.ZodNumber;
|
|
@@ -2620,6 +2630,7 @@ declare const questDescriptionSchema: z.ZodObject<{
|
|
|
2620
2630
|
balance: z.ZodString;
|
|
2621
2631
|
}, z.core.$strict>]>;
|
|
2622
2632
|
}, z.core.$strict>>>;
|
|
2633
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
2623
2634
|
}, z.core.$strict>;
|
|
2624
2635
|
type QuestDescription = z.infer<typeof questDescriptionSchema>;
|
|
2625
2636
|
declare const artifactSchema: z.ZodObject<{
|
|
@@ -3039,6 +3050,7 @@ declare const storedQuestDescriptionSchema: z.ZodObject<{
|
|
|
3039
3050
|
balance: z.ZodString;
|
|
3040
3051
|
}, z.core.$strict>]>;
|
|
3041
3052
|
}, z.core.$strict>>>;
|
|
3053
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
3042
3054
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3043
3055
|
kind: z.ZodLiteral<"streak">;
|
|
3044
3056
|
days: z.ZodNumber;
|
|
@@ -3401,6 +3413,7 @@ declare const publishedReleaseSchema: z.ZodObject<{
|
|
|
3401
3413
|
balance: z.ZodString;
|
|
3402
3414
|
}, z.core.$strict>]>;
|
|
3403
3415
|
}, z.core.$strict>>>;
|
|
3416
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
3404
3417
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3405
3418
|
kind: z.ZodLiteral<"streak">;
|
|
3406
3419
|
days: z.ZodNumber;
|
|
@@ -3896,6 +3909,7 @@ declare const templateSchema: z.ZodObject<{
|
|
|
3896
3909
|
balance: z.ZodString;
|
|
3897
3910
|
}, z.core.$strict>]>;
|
|
3898
3911
|
}, z.core.$strict>>>;
|
|
3912
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
3899
3913
|
}, z.core.$strict>;
|
|
3900
3914
|
}, z.core.$strip>;
|
|
3901
3915
|
declare const quizAnswersSchema: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodTransform<{
|
|
@@ -5119,6 +5133,7 @@ declare const memberProgressSchema: z.ZodObject<{
|
|
|
5119
5133
|
remaining: z.ZodNumber;
|
|
5120
5134
|
resetsAt: z.ZodNullable<z.ZodNumber>;
|
|
5121
5135
|
}, z.core.$strip>>>;
|
|
5136
|
+
retryAt: z.ZodOptional<z.ZodNumber>;
|
|
5122
5137
|
attempt: z.ZodNullable<z.ZodObject<{
|
|
5123
5138
|
id: z.ZodString;
|
|
5124
5139
|
release: z.ZodString;
|
|
@@ -5696,6 +5711,7 @@ declare const snapshotSchema: z.ZodObject<{
|
|
|
5696
5711
|
balance: z.ZodString;
|
|
5697
5712
|
}, z.core.$strict>]>;
|
|
5698
5713
|
}, z.core.$strict>>>;
|
|
5714
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
5699
5715
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5700
5716
|
kind: z.ZodLiteral<"streak">;
|
|
5701
5717
|
days: z.ZodNumber;
|
|
@@ -6146,6 +6162,7 @@ declare const errorSchema: z.ZodObject<{
|
|
|
6146
6162
|
group: z.ZodString;
|
|
6147
6163
|
title: z.ZodString;
|
|
6148
6164
|
}, z.core.$strip>]>>>;
|
|
6165
|
+
retryAt: z.ZodOptional<z.ZodNumber>;
|
|
6149
6166
|
}, z.core.$strip>;
|
|
6150
6167
|
declare const staffDecisionSchema: z.ZodObject<{
|
|
6151
6168
|
actionId: z.ZodString;
|
|
@@ -6452,4 +6469,4 @@ declare const contentPerformancePageSchema: z.ZodObject<{
|
|
|
6452
6469
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
6453
6470
|
}, z.core.$strict>;
|
|
6454
6471
|
|
|
6455
|
-
export { type Decision as $, type Attempt as A, type SourceRoles as B, type LedgerHandle as C, type TrackerDataSchema as D, type Entitlement as E, xSearchSourceSchema as F, type GroupHandle as G, type XContentMetric as H, type IdentityKind as I, type TrackerTriggerPolicy as J, type KnownAttemptStatus as K, type LedgerReference as L, type MemberProgress as M, type Where as N, type OpenIdentityKind as O, type MemberIdentity as P, type QuestBudgetView as Q, type Reward as R, type SubmissionEvidence as S, type TieredRewardReference as T, type TrackerTriggerContext as U, type TrackerReader as V, type WithRecordData as W, type XTweet as X, type TextReviewInput as Y, type TextResult as Z, type PhotoResult as _, AttemptStatus as a, type TrackerTriggerOutcomeQuery as a$, rewardSchema as a0, type TrackerTriggerMode as a1, type RoleOf as a2, type WhereSetting as a3, type ContentBody as a4, type BadgeHandle as a5, type ContentMetricName as a6, triggerSchema as a7, type TieredRewardDefinition as a8, type LedgerSetting as a9, type QuestSubmission as aA, type QuestSubmissionResult as aB, QuestSubmissionStatus as aC, type QuestSubmissionUpdate as aD, type ReleaseInput as aE, type ReviewPage as aF, type Snapshot as aG, type TrackerAccount as aH, type TrackerAttribution as aI, type TrackerBound as aJ, type TrackerCondition as aK, type TrackerContent as aL, type TrackerContentQuery as aM, type TrackerCreateInput as aN, type TrackerDataIssue as aO, type TrackerDefinition as aP, type TrackerDefinitionResponse as aQ, type TrackerOutcome as aR, type TrackerOutcomeQuery as aS, type TrackerPreview as aT, type TrackerPreviewInput as aU, type TrackerQuery as aV, type TrackerRecord as aW, type TrackerSourceKind as aX, type TrackerSourceResponse as aY, type TrackerStatus as aZ, type TrackerTriggerOutcomePage as a_, type TrackerPage as aa, type TrackerReadQuery as ab, trackerDataSchema as ac, trackerTriggerContextSchema as ad, type AccountRole as ae, type AppIdentityKind as af, type Bound as ag, type CompletionSource as ah, CompletionSourceKind as ai, type Condition as aj, type ContentPerformanceSnapshot as ak, type DataLeaves as al, type EntitlementCorrection as am, type EntitlementState as an, type KnownCompletionSourceKind as ao, type KnownIdentityKind as ap, type KnownQuestSubmissionStatus as aq, type MemberPage as ar, type PickupAvailability as as, type PublishedRelease as at, type QuestAvailability as au, type QuestDescription as av, type QuestPresentationContent as aw, type QuestSettingsInput as ax, type QuestStep as ay, type QuestStepAction as az, type EvaluatorProgress as b, questPresentationSchema as b$, type TrackerUpdateInput as b0, type TrackerWhere as b1, type TriggerEnrollment as b2, type TriggerHistorical as b3, type TriggerSince as b4, type TypedTrackerRecord as b5, accountRoleSchema as b6, appIdentityKindSchema as b7, artifactSchema as b8, attemptSchema as b9, 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, questPresentationContentSchema as bZ, questPresentationRequirementSchema as b_, badgeReward as ba, badgeRewardSchema as bb, batchReleaseSchema as bc, beginHandoverSchema as bd, beneficiaryRole as be, completionRecordSchema as bf, completionSourceSchema as bg, configurePickupSchema as bh, confirmHandoverSchema as bi, contentMetricNameSchema as bj, contentPerformancePageSchema as bk, contentPerformanceQuerySchema as bl, contentPerformanceSnapshotSchema as bm, createStockItemSchema as bn, customContentSchema as bo, decisionSchema as bp, defaultTriggerMode as bq, deferPolicy as br, entitlementCorrectionSchema as bs, entitlementRecoverySchema as bt, entitlementSchema as bu, entitlementStateSchema as bv, errorSchema as bw, evaluatorProgressSchema as bx, evaluatorProtocol as by, evaluatorProtocolSchema as bz, type KnownTrackerSkipCode as c,
|
|
6472
|
+
export { type Decision as $, type Attempt as A, type SourceRoles as B, type LedgerHandle as C, type TrackerDataSchema as D, type Entitlement as E, xSearchSourceSchema as F, type GroupHandle as G, type XContentMetric as H, type IdentityKind as I, type TrackerTriggerPolicy as J, type KnownAttemptStatus as K, type LedgerReference as L, type MemberProgress as M, type Where as N, type OpenIdentityKind as O, type MemberIdentity as P, type QuestBudgetView as Q, type Reward as R, type SubmissionEvidence as S, type TieredRewardReference as T, type TrackerTriggerContext as U, type TrackerReader as V, type WithRecordData as W, type XTweet as X, type TextReviewInput as Y, type TextResult as Z, type PhotoResult as _, AttemptStatus as a, type TrackerTriggerOutcomeQuery as a$, rewardSchema as a0, type TrackerTriggerMode as a1, type RoleOf as a2, type WhereSetting as a3, type ContentBody as a4, type BadgeHandle as a5, type ContentMetricName as a6, triggerSchema as a7, type TieredRewardDefinition as a8, type LedgerSetting as a9, type QuestSubmission as aA, type QuestSubmissionResult as aB, QuestSubmissionStatus as aC, type QuestSubmissionUpdate as aD, type ReleaseInput as aE, type ReviewPage as aF, type Snapshot as aG, type TrackerAccount as aH, type TrackerAttribution as aI, type TrackerBound as aJ, type TrackerCondition as aK, type TrackerContent as aL, type TrackerContentQuery as aM, type TrackerCreateInput as aN, type TrackerDataIssue as aO, type TrackerDefinition as aP, type TrackerDefinitionResponse as aQ, type TrackerOutcome as aR, type TrackerOutcomeQuery as aS, type TrackerPreview as aT, type TrackerPreviewInput as aU, type TrackerQuery as aV, type TrackerRecord as aW, type TrackerSourceKind as aX, type TrackerSourceResponse as aY, type TrackerStatus as aZ, type TrackerTriggerOutcomePage as a_, type TrackerPage as aa, type TrackerReadQuery as ab, trackerDataSchema as ac, trackerTriggerContextSchema as ad, type AccountRole as ae, type AppIdentityKind as af, type Bound as ag, type CompletionSource as ah, CompletionSourceKind as ai, type Condition as aj, type ContentPerformanceSnapshot as ak, type DataLeaves as al, type EntitlementCorrection as am, type EntitlementState as an, type KnownCompletionSourceKind as ao, type KnownIdentityKind as ap, type KnownQuestSubmissionStatus as aq, type MemberPage as ar, type PickupAvailability as as, type PublishedRelease as at, type QuestAvailability as au, type QuestDescription as av, type QuestPresentationContent as aw, type QuestSettingsInput as ax, type QuestStep as ay, type QuestStepAction as az, type EvaluatorProgress as b, questPresentationSchema as b$, type TrackerUpdateInput as b0, type TrackerWhere as b1, type TriggerEnrollment as b2, type TriggerHistorical as b3, type TriggerSince as b4, type TypedTrackerRecord as b5, accountRoleSchema as b6, appIdentityKindSchema as b7, artifactSchema as b8, attemptSchema as b9, 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, questPresentationContentSchema as bZ, questPresentationRequirementSchema as b_, badgeReward as ba, badgeRewardSchema as bb, batchReleaseSchema as bc, beginHandoverSchema as bd, beneficiaryRole as be, completionRecordSchema as bf, completionSourceSchema as bg, configurePickupSchema as bh, confirmHandoverSchema as bi, contentMetricNameSchema as bj, contentPerformancePageSchema as bk, contentPerformanceQuerySchema as bl, contentPerformanceSnapshotSchema as bm, createStockItemSchema as bn, customContentSchema as bo, decisionSchema as bp, defaultTriggerMode as bq, deferPolicy as br, entitlementCorrectionSchema as bs, entitlementRecoverySchema as bt, entitlementSchema as bu, entitlementStateSchema as bv, errorSchema as bw, evaluatorProgressSchema as bx, evaluatorProtocol as by, evaluatorProtocolSchema as bz, type KnownTrackerSkipCode as c, trackerRecordAccountSchema as c$, questProfileSchema as c0, questSettingsInputSchema as c1, questStepActionSchema as c2, questStepSchema as c3, questSubmissionResultSchema as c4, questSubmissionSchema as c5, questSubmissionUpdateSchema as c6, quizAnswersSchema as c7, quizEvidenceSchema as c8, releaseSchema as c9, trackerArtifactSchema as cA, trackerAttributionSchema as cB, trackerBoundSchema as cC, trackerConditionSchema as cD, trackerContentQuerySchema as cE, trackerContentReadSchema as cF, trackerContentSchema as cG, trackerContentStageSchema as cH, trackerControlSchema as cI, trackerCreateSchema as cJ, trackerDataMaxBranches as cK, trackerDataMaxEntries as cL, trackerDataSchemaSchema as cM, trackerDefinitionResponseSchema as cN, trackerEvidenceSchema as cO, trackerIngestResultSchema as cP, trackerIngestSchema as cQ, trackerOutcomePageSchema as cR, trackerOutcomeQuerySchema as cS, trackerOutcomeRetrySchema as cT, trackerOutcomeSchema as cU, trackerPageSchema as cV, trackerPreviewInputSchema as cW, trackerPreviewLimits as cX, trackerPreviewSchema as cY, trackerPropertiesSchema as cZ, trackerQuerySchema as c_, reservationSchema as ca, retryCooldownMsSchema as cb, retryCooldownPolicy as cc, reviewItemSchema as cd, reviewListSchema as ce, reviewModeSchema as cf, reviewPageSchema as cg, rewardBundleSchema as ch, rewardKey as ci, snapshotSchema as cj, sourceContent as ck, sourceIdentities as cl, staffDecisionSchema as cm, stockItemSchema as cn, stockSchema as co, storedQuestDescriptionSchema as cp, storedReviewModeSchema as cq, submissionEvidenceSchema as cr, submitSchema as cs, templateSchema as ct, textResultSchema as cu, textReviewInputSchema as cv, tierRewardSchema as cw, tieredRewardDefinitionSchema as cx, tieredRewardReferenceSchema as cy, trackerAccountSchema as cz, type QuestPresentation as d, trackerRecordInputSchema as d0, trackerRecordSchema as d1, trackerSkipCodes as d2, trackerSourceKinds as d3, trackerSourceResponseSchema as d4, trackerSourceSchema as d5, trackerStatusSchema as d6, trackerSummarySchema as d7, trackerTriggerModeSchema as d8, trackerTriggerOutcomePageSchema as d9, trackerTriggerOutcomeQuerySchema as da, trackerTriggerPolicySchema as db, trackerTriggerRecordSchema as dc, trackerUpdateSchema as dd, trackerWhereSchema as de, triggerAdmission as df, triggerEnrollmentSchema as dg, triggerHistoricalSchema as dh, triggerMode as di, triggerSinceSchema as dj, whereConditions as dk, whereSettings as dl, xAccountRoles as dm, xContentMetrics as dn, xTweetSchema as dp, 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, customSourceSchema as n, type WithContent as o, type WithAccountRoles as p, type ResourceHandle as q, type QuestHandle as r, schemaCheckedReader as s, trackerDataBatchSteps as t, type TrackerSource as u, trackerDefinitionSchema as v, whereSchemaIssue as w, xContentBodySchema as x, type Tracker as y, type TrackerData as z };
|
package/dist/schema.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { a as AttemptStatus, h as TrackerSkipCode } from './schema
|
|
2
|
-
export { ae as AccountRole, af as AppIdentityKind, A as Attempt, ag as Bound, ah as CompletionSource, ai as CompletionSourceKind, aj as Condition, a4 as ContentBody, a6 as ContentMetricName, ak as ContentPerformanceSnapshot, al as DataLeaves, $ as Decision, E as Entitlement, am as EntitlementCorrection, an as EntitlementState, b as EvaluatorProgress, I as IdentityKind, K as KnownAttemptStatus, ao as KnownCompletionSourceKind, ap as KnownIdentityKind, aq as KnownQuestSubmissionStatus, c as KnownTrackerSkipCode, P as MemberIdentity, ar as MemberPage, M as MemberProgress, O as OpenIdentityKind, _ as PhotoResult, as as PickupAvailability, at as PublishedRelease, au as QuestAvailability, Q as QuestBudgetView, av as QuestDescription, d as QuestPresentation, aw as QuestPresentationContent, e as QuestProfile, ax as QuestSettingsInput, ay as QuestStep, az as QuestStepAction, aA as QuestSubmission, aB as QuestSubmissionResult, aC as QuestSubmissionStatus, aD as QuestSubmissionUpdate, f as QuizEvidence, aE as ReleaseInput, aF as ReviewPage, R as Reward, a2 as RoleOf, aG as Snapshot, B as SourceRoles, S as SubmissionEvidence, g as SubmitInput, Z as TextResult, Y as TextReviewInput, a8 as TieredRewardDefinition, T as TieredRewardReference, y as Tracker, aH as TrackerAccount, aI as TrackerAttribution, aJ as TrackerBound, aK as TrackerCondition, aL as TrackerContent, aM as TrackerContentQuery, aN as TrackerCreateInput, z as TrackerData, aO as TrackerDataIssue, D as TrackerDataSchema, aP as TrackerDefinition, aQ as TrackerDefinitionResponse, aR as TrackerOutcome, aS as TrackerOutcomeQuery, aa as TrackerPage, aT as TrackerPreview, aU as TrackerPreviewInput, aV as TrackerQuery, ab as TrackerReadQuery, V as TrackerReader, aW as TrackerRecord, u as TrackerSource, aX as TrackerSourceKind, aY as TrackerSourceResponse, aZ as TrackerStatus, U as TrackerTriggerContext, a1 as TrackerTriggerMode, a_ as TrackerTriggerOutcomePage, a$ as TrackerTriggerOutcomeQuery, J as TrackerTriggerPolicy, b0 as TrackerUpdateInput, b1 as TrackerWhere, b2 as TriggerEnrollment, b3 as TriggerHistorical, b4 as TriggerSince, b5 as TypedTrackerRecord, N as Where, a3 as WhereSetting, p as WithAccountRoles, o as WithContent, W as WithRecordData, H as XContentMetric, X as XTweet, b6 as accountRoleSchema, b7 as appIdentityKindSchema, b8 as artifactSchema, b9 as attemptSchema, ba as badgeReward, bb as badgeRewardSchema, bc as batchReleaseSchema, bd as beginHandoverSchema, be as beneficiaryRole, bf as completionRecordSchema, bg as completionSourceSchema, bh as configurePickupSchema, bi as confirmHandoverSchema, bj as contentMetricNameSchema, bk as contentPerformancePageSchema, bl as contentPerformanceQuerySchema, bm as contentPerformanceSnapshotSchema, bn as createStockItemSchema, bo as customContentSchema, n as customSourceSchema, bp as decisionSchema, bq as defaultTriggerMode, br as deferPolicy, bs as entitlementCorrectionSchema, bt as entitlementRecoverySchema, bu as entitlementSchema, bv as entitlementStateSchema, bw as errorSchema, bx as evaluatorProgressSchema, by as evaluatorProtocol, bz 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 questPresentationContentSchema, b_ as questPresentationRequirementSchema, b$ as questPresentationSchema, c0 as questProfileSchema, c1 as questSettingsInputSchema, c2 as questStepActionSchema, c3 as questStepSchema, c4 as questSubmissionResultSchema, c5 as questSubmissionSchema, c6 as questSubmissionUpdateSchema, c7 as quizAnswersSchema, c8 as quizEvidenceSchema, c9 as releaseSchema, ca as reservationSchema, cb as
|
|
1
|
+
import { a as AttemptStatus, h as TrackerSkipCode } from './schema-Cgmj-CbC.js';
|
|
2
|
+
export { ae as AccountRole, af as AppIdentityKind, A as Attempt, ag as Bound, ah as CompletionSource, ai as CompletionSourceKind, aj as Condition, a4 as ContentBody, a6 as ContentMetricName, ak as ContentPerformanceSnapshot, al as DataLeaves, $ as Decision, E as Entitlement, am as EntitlementCorrection, an as EntitlementState, b as EvaluatorProgress, I as IdentityKind, K as KnownAttemptStatus, ao as KnownCompletionSourceKind, ap as KnownIdentityKind, aq as KnownQuestSubmissionStatus, c as KnownTrackerSkipCode, P as MemberIdentity, ar as MemberPage, M as MemberProgress, O as OpenIdentityKind, _ as PhotoResult, as as PickupAvailability, at as PublishedRelease, au as QuestAvailability, Q as QuestBudgetView, av as QuestDescription, d as QuestPresentation, aw as QuestPresentationContent, e as QuestProfile, ax as QuestSettingsInput, ay as QuestStep, az as QuestStepAction, aA as QuestSubmission, aB as QuestSubmissionResult, aC as QuestSubmissionStatus, aD as QuestSubmissionUpdate, f as QuizEvidence, aE as ReleaseInput, aF as ReviewPage, R as Reward, a2 as RoleOf, aG as Snapshot, B as SourceRoles, S as SubmissionEvidence, g as SubmitInput, Z as TextResult, Y as TextReviewInput, a8 as TieredRewardDefinition, T as TieredRewardReference, y as Tracker, aH as TrackerAccount, aI as TrackerAttribution, aJ as TrackerBound, aK as TrackerCondition, aL as TrackerContent, aM as TrackerContentQuery, aN as TrackerCreateInput, z as TrackerData, aO as TrackerDataIssue, D as TrackerDataSchema, aP as TrackerDefinition, aQ as TrackerDefinitionResponse, aR as TrackerOutcome, aS as TrackerOutcomeQuery, aa as TrackerPage, aT as TrackerPreview, aU as TrackerPreviewInput, aV as TrackerQuery, ab as TrackerReadQuery, V as TrackerReader, aW as TrackerRecord, u as TrackerSource, aX as TrackerSourceKind, aY as TrackerSourceResponse, aZ as TrackerStatus, U as TrackerTriggerContext, a1 as TrackerTriggerMode, a_ as TrackerTriggerOutcomePage, a$ as TrackerTriggerOutcomeQuery, J as TrackerTriggerPolicy, b0 as TrackerUpdateInput, b1 as TrackerWhere, b2 as TriggerEnrollment, b3 as TriggerHistorical, b4 as TriggerSince, b5 as TypedTrackerRecord, N as Where, a3 as WhereSetting, p as WithAccountRoles, o as WithContent, W as WithRecordData, H as XContentMetric, X as XTweet, b6 as accountRoleSchema, b7 as appIdentityKindSchema, b8 as artifactSchema, b9 as attemptSchema, ba as badgeReward, bb as badgeRewardSchema, bc as batchReleaseSchema, bd as beginHandoverSchema, be as beneficiaryRole, bf as completionRecordSchema, bg as completionSourceSchema, bh as configurePickupSchema, bi as confirmHandoverSchema, bj as contentMetricNameSchema, bk as contentPerformancePageSchema, bl as contentPerformanceQuerySchema, bm as contentPerformanceSnapshotSchema, bn as createStockItemSchema, bo as customContentSchema, n as customSourceSchema, bp as decisionSchema, bq as defaultTriggerMode, br as deferPolicy, bs as entitlementCorrectionSchema, bt as entitlementRecoverySchema, bu as entitlementSchema, bv as entitlementStateSchema, bw as errorSchema, bx as evaluatorProgressSchema, by as evaluatorProtocol, bz 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 questPresentationContentSchema, b_ as questPresentationRequirementSchema, b$ as questPresentationSchema, c0 as questProfileSchema, c1 as questSettingsInputSchema, c2 as questStepActionSchema, c3 as questStepSchema, c4 as questSubmissionResultSchema, c5 as questSubmissionSchema, c6 as questSubmissionUpdateSchema, c7 as quizAnswersSchema, c8 as quizEvidenceSchema, c9 as releaseSchema, ca as reservationSchema, cb as retryCooldownMsSchema, cc as retryCooldownPolicy, cd as reviewItemSchema, ce as reviewListSchema, cf as reviewModeSchema, cg as reviewPageSchema, ch as rewardBundleSchema, ci as rewardKey, a0 as rewardSchema, cj as snapshotSchema, ck as sourceContent, cl as sourceIdentities, cm as staffDecisionSchema, cn as stockItemSchema, co as stockSchema, cp as storedQuestDescriptionSchema, cq as storedReviewModeSchema, cr as submissionEvidenceSchema, cs as submitSchema, ct as templateSchema, cu as textResultSchema, cv as textReviewInputSchema, cw as tierRewardSchema, cx as tieredRewardDefinitionSchema, cy as tieredRewardReferenceSchema, cz as trackerAccountSchema, cA as trackerArtifactSchema, cB as trackerAttributionSchema, cC as trackerBoundSchema, cD as trackerConditionSchema, cE as trackerContentQuerySchema, cF as trackerContentReadSchema, cG as trackerContentSchema, cH as trackerContentStageSchema, cI as trackerControlSchema, cJ as trackerCreateSchema, cK as trackerDataMaxBranches, cL as trackerDataMaxEntries, cM as trackerDataSchemaSchema, cN as trackerDefinitionResponseSchema, v as trackerDefinitionSchema, cO as trackerEvidenceSchema, cP as trackerIngestResultSchema, cQ as trackerIngestSchema, cR as trackerOutcomePageSchema, cS as trackerOutcomeQuerySchema, cT as trackerOutcomeRetrySchema, cU as trackerOutcomeSchema, cV as trackerPageSchema, cW as trackerPreviewInputSchema, cX as trackerPreviewLimits, cY as trackerPreviewSchema, cZ as trackerPropertiesSchema, c_ as trackerQuerySchema, c$ as trackerRecordAccountSchema, d0 as trackerRecordInputSchema, d1 as trackerRecordSchema, d2 as trackerSkipCodes, d3 as trackerSourceKinds, d4 as trackerSourceResponseSchema, d5 as trackerSourceSchema, d6 as trackerStatusSchema, d7 as trackerSummarySchema, ad as trackerTriggerContextSchema, d8 as trackerTriggerModeSchema, d9 as trackerTriggerOutcomePageSchema, da as trackerTriggerOutcomeQuerySchema, db as trackerTriggerPolicySchema, dc as trackerTriggerRecordSchema, dd as trackerUpdateSchema, de as trackerWhereSchema, df as triggerAdmission, dg as triggerEnrollmentSchema, dh as triggerHistoricalSchema, di as triggerMode, a7 as triggerSchema, dj as triggerSinceSchema, dk as whereConditions, dl as whereSettings, dm as xAccountRoles, x as xContentBodySchema, dn as xContentMetrics, F as xSearchSourceSchema, dp as xTweetSchema } from './schema-Cgmj-CbC.js';
|
|
3
3
|
export { A as AccountConnection, a as AuthProvider, l as DiscordMember, m as DiscordMessage, D as DiscordMessageData, c as DiscordMessageTextData, f as DiscordReactionData, h as DiscordReader, T as TelegramAccountConnection, n as TelegramChat, o as TelegramChatConnection, i as TelegramChatMember, j as TelegramChatMemberStatus, p as TelegramChats, k as TelegramReactionData, g as TelegramReader, b as TelegramSignInMethods, q as accountConnectionSchema, r as authProviderSchema, s as discordMemberInputSchema, t as discordMemberSchema, u as discordMessageDataSchema, v as discordMessageInputSchema, w as discordMessageSchema, x as discordMessageTextDataSchema, d as discordMessagesSourceSchema, y as discordReactionDataSchema, e as discordReactionsSourceSchema, z as discordResourceSourceSchema, B as discordRewardSchema, C as telegramAccountConnectionSchema, E as telegramChatConnectionSchema, F as telegramChatIdSchema, G as telegramChatMemberSchema, H as telegramChatSchema, I as telegramChatsSchema, J as telegramInitDataSchema, K as telegramMemberInputSchema, L as telegramMiniAppSignInSchema, M as telegramReactionDataSchema, N as telegramReactionsNamespace, O as telegramSignInMethodsSchema } from './accounts-DRPENuZe.js';
|
|
4
4
|
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-CoB2F30C.js';
|
|
5
|
-
export { C as CalendarPeriod, D as DeploymentHistoryPage, a as DeploymentHistoryQuery, b as DeploymentPreview, c as DeploymentRecord, d as DeploymentWarning, P as ProjectCalendar, e as ProjectCalendarInput, f as activityTypeSchema, g as activityTypes, h as calendarPeriodSchema, i as canonicalTimeZone, j as deploymentActionSchema, k as deploymentHistoryPageSchema, l as deploymentHistoryQuerySchema, m as deploymentPreviewSchema, n as deploymentRecordSchema, o as deploymentRejectionSchema, p as deploymentResultSchema, q as deploymentSourceSchema, r as deploymentWarningSchema, s as projectCalendarDeclarationSchema, t as projectCalendarInputSchema, u as projectCalendarSchema, v as projectCatalogArtifactSchema, w as projectDeploymentSchema, x as promoteDeploymentSchema, y as publishDeploymentSchema, z as refuseStreakTimeZone, A as refuseWindowTimeZone, B as rejectDeploymentSchema, E as rollbackDeploymentSchema, F as submitDeploymentSchema, G as timeZoneNameSchema, H as timeZoneSchema } from './deployments-
|
|
6
|
-
import { k as PointEntryKind } from './groups-
|
|
7
|
-
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, E as EngagementBudget, w as EngagementDefinition, x as EngagementRuleVersionPage, G as GroupMember, y as GroupMemberPage, z as GroupPage, B as GroupPageQuery, K as KnownPointEntryKind, L as LeaderboardDefinition, D as LeaderboardExclusionGroup, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, F as LeaderboardSettlement, H as LeaderboardSettlementPolicy, I as LeaderboardSettlementSummary, J as ManagedGroup, N as ManagedPointHistoryPage, O as ManagedPointLedger, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, l as PointHistoryPage, m as PointHistoryQuery, Q as PointLedger, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition, S as addGroupMemberSchema, T as availabilityWindowSchema, U as campaignDefinitionSchema, V as campaignEnrollmentInputSchema, W as campaignEnrollmentSchema, X as campaignViewSchema, Y as campaignWithdrawalInputSchema, Z as createGroupSchema, _ as createPointLedgerSchema, u as defineCampaign, v as defineGroup, $ as engagementArtifactSchema, a0 as engagementBoundaryPageSchema, a1 as engagementBudgetSchema, a2 as engagementChangePreviewInputSchema, a3 as engagementChangePreviewSchema, a4 as engagementChangeSchema, a5 as engagementDefinitionSchema, a6 as engagementDeploymentEntrySchema, a7 as engagementPageQuerySchema, a8 as engagementPageSchema, a9 as engagementPublishSchema, aa as engagementRuleSchema, ab as engagementRuleVersionPageSchema, ac as engagementScoreInputSchema, ad as engagementScoreSchema, ae as engagementSettlementSchema, af as engagementVersionPageSchema, ag as engagementVersionQuerySchema, ah as groupMemberPageSchema, ai as groupMemberSchema, aj as groupPageQuerySchema, ak as groupPageSchema, al as leaderboardArtifactSchema, am as leaderboardAuthoringSchema, an as leaderboardDefinitionResponseSchema, q as leaderboardDefinitionSchema, ao as leaderboardExclusionGroupBindingSchema, ap as leaderboardExclusionGroupSchema, aq as leaderboardExclusionSchema, ar as leaderboardGroupSchema, as as leaderboardPageSchema, at as leaderboardPlacementSchema, au as leaderboardPreviewSchema, av as leaderboardPrizeRewardSchema, aw as leaderboardPrizeSchema, ax as leaderboardQuerySchema, ay as leaderboardRowSchema, az as leaderboardSettlementApprovalSchema, aA as leaderboardSettlementPolicySchema, aB as leaderboardSettlementRowSchema, aC as leaderboardSettlementSchema, aD as leaderboardSettlementStatusSchema, aE as leaderboardSettlementSummarySchema, aF as leaderboardWindowSchema, aG as managedGroupSchema, aH as managedPointHistoryPageSchema, aI as managedPointLedgerSchema, aJ as memberCampaignEnrollmentInputSchema, aK as memberCampaignWithdrawalInputSchema, aL as pointBalanceSchema, aM as pointBalancesSchema, aN as pointEntrySchema, aO as pointHistoryPageSchema, aP as pointHistoryQuerySchema, aQ as pointLedgerArtifactSchema, s as pointLedgerDeclarationSchema, aR as pointLedgerPropertiesSchema, aS as pointLedgerReferenceSchema, aT as pointLedgerSchema, aU as pointsAccountSchema, aV as pointsEntrySchema, aW as pointsMutationSchema, aX as pointsResultSchema, aY as projectGroupKey, aZ as projectGroupSchema, a_ as publishedLeaderboardSchema, a$ as publishedReferralSchema, b0 as referralAcceptSchema, b1 as referralAccountSchema, b2 as referralArtifactSchema, t as referralAuthoringSchema, b3 as referralControlSchema, b4 as referralDefinitionSchema, b5 as referralHistorySchema, b6 as referralManagementSchema, b7 as referralQualificationSchema, b8 as referralRelationshipSchema, b9 as referralRewardResolutionSchema, ba as referralSummarySchema, bb as referralSuspensionSchema, bc as removeGroupMemberSchema, bd as updateGroupSchema } from './groups-
|
|
8
|
-
import { k as ResponseSchema, R as ResponseResult, l as RewardDeliveryAction } from './pages-
|
|
9
|
-
export { C as ContentMetric, m as ContentPerformancePolicy, M as ManagementStateQuery, n as MemberEnrollmentInput, P as Page, a as PageQuery, o as QuestCatalog, Q as QuestClaimInput, q as QuestDraft, b as QuestEnrollment, c as QuestEnrollmentInput, r as QuestInstance, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView, s as RewardDelivery, t as RewardDeliveryQuery, U as UnsupportedResponse, u as allocateQuestSchema, v as allocatedQuestSchema, w as catalogDeploymentPreviewSchema, x as catalogDeploymentSchema, y as collectionSlotDeclarationSchema, z as collectionSlotSchema, A as collectionViewSchema, B as contentMetricSchema, D as contentMetricsSchema, E as contentPerformancePolicySchema, F as contentQualificationDecisionSchema, G as contentQualificationPageSchema, H as contentQualificationQuerySchema, I as contentQualificationSchema, J as interactionSchema, K as knownRewardDeliverySchema, L as managementStateQuerySchema, N as memberEnrollmentInputSchema, O as pageCursorSchema, S as pageQuerySchema, p as paginate, T as publishQuestDraftSchema, V as questCatalogSchema, W as questClaimInputSchema, X as questCollectionSchema, Y as questDraftChangesSchema, Z as questDraftSchema, _ as questEnrollmentInputSchema, $ as questEnrollmentSchema, a0 as questExperienceSchema, a1 as questInstanceSchema, a2 as questInteraction, a3 as questOutcomePageSchema, a4 as questOutcomeQuerySchema, a5 as questOutcomeSchema, a6 as questPublicationPreviewSchema, a7 as questRewardViewSchema, a8 as questTypeVersionSchema, a9 as questViewSchema, aa as responseListSchema, ab as responseSchema, ac as responseShape, ad as rewardDeliveriesSchema, ae as rewardDeliveryQuerySchema, af as rewardDeliverySchema, ag as roleReconciliationSchema, ah as saveQuestDraftSchema } from './pages-
|
|
10
|
-
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-
|
|
5
|
+
export { C as CalendarPeriod, D as DeploymentHistoryPage, a as DeploymentHistoryQuery, b as DeploymentPreview, c as DeploymentRecord, d as DeploymentWarning, P as ProjectCalendar, e as ProjectCalendarInput, f as activityTypeSchema, g as activityTypes, h as calendarPeriodSchema, i as canonicalTimeZone, j as deploymentActionSchema, k as deploymentHistoryPageSchema, l as deploymentHistoryQuerySchema, m as deploymentPreviewSchema, n as deploymentRecordSchema, o as deploymentRejectionSchema, p as deploymentResultSchema, q as deploymentSourceSchema, r as deploymentWarningSchema, s as projectCalendarDeclarationSchema, t as projectCalendarInputSchema, u as projectCalendarSchema, v as projectCatalogArtifactSchema, w as projectDeploymentSchema, x as promoteDeploymentSchema, y as publishDeploymentSchema, z as refuseStreakTimeZone, A as refuseWindowTimeZone, B as rejectDeploymentSchema, E as rollbackDeploymentSchema, F as submitDeploymentSchema, G as timeZoneNameSchema, H as timeZoneSchema } from './deployments-DYeuxXYg.js';
|
|
6
|
+
import { k as PointEntryKind } from './groups-JzAQ2JIN.js';
|
|
7
|
+
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, E as EngagementBudget, w as EngagementDefinition, x as EngagementRuleVersionPage, G as GroupMember, y as GroupMemberPage, z as GroupPage, B as GroupPageQuery, K as KnownPointEntryKind, L as LeaderboardDefinition, D as LeaderboardExclusionGroup, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, F as LeaderboardSettlement, H as LeaderboardSettlementPolicy, I as LeaderboardSettlementSummary, J as ManagedGroup, N as ManagedPointHistoryPage, O as ManagedPointLedger, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, l as PointHistoryPage, m as PointHistoryQuery, Q as PointLedger, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition, S as addGroupMemberSchema, T as availabilityWindowSchema, U as campaignDefinitionSchema, V as campaignEnrollmentInputSchema, W as campaignEnrollmentSchema, X as campaignViewSchema, Y as campaignWithdrawalInputSchema, Z as createGroupSchema, _ as createPointLedgerSchema, u as defineCampaign, v as defineGroup, $ as engagementArtifactSchema, a0 as engagementBoundaryPageSchema, a1 as engagementBudgetSchema, a2 as engagementChangePreviewInputSchema, a3 as engagementChangePreviewSchema, a4 as engagementChangeSchema, a5 as engagementDefinitionSchema, a6 as engagementDeploymentEntrySchema, a7 as engagementPageQuerySchema, a8 as engagementPageSchema, a9 as engagementPublishSchema, aa as engagementRuleSchema, ab as engagementRuleVersionPageSchema, ac as engagementScoreInputSchema, ad as engagementScoreSchema, ae as engagementSettlementSchema, af as engagementVersionPageSchema, ag as engagementVersionQuerySchema, ah as groupMemberPageSchema, ai as groupMemberSchema, aj as groupPageQuerySchema, ak as groupPageSchema, al as leaderboardArtifactSchema, am as leaderboardAuthoringSchema, an as leaderboardDefinitionResponseSchema, q as leaderboardDefinitionSchema, ao as leaderboardExclusionGroupBindingSchema, ap as leaderboardExclusionGroupSchema, aq as leaderboardExclusionSchema, ar as leaderboardGroupSchema, as as leaderboardPageSchema, at as leaderboardPlacementSchema, au as leaderboardPreviewSchema, av as leaderboardPrizeRewardSchema, aw as leaderboardPrizeSchema, ax as leaderboardQuerySchema, ay as leaderboardRowSchema, az as leaderboardSettlementApprovalSchema, aA as leaderboardSettlementPolicySchema, aB as leaderboardSettlementRowSchema, aC as leaderboardSettlementSchema, aD as leaderboardSettlementStatusSchema, aE as leaderboardSettlementSummarySchema, aF as leaderboardWindowSchema, aG as managedGroupSchema, aH as managedPointHistoryPageSchema, aI as managedPointLedgerSchema, aJ as memberCampaignEnrollmentInputSchema, aK as memberCampaignWithdrawalInputSchema, aL as pointBalanceSchema, aM as pointBalancesSchema, aN as pointEntrySchema, aO as pointHistoryPageSchema, aP as pointHistoryQuerySchema, aQ as pointLedgerArtifactSchema, s as pointLedgerDeclarationSchema, aR as pointLedgerPropertiesSchema, aS as pointLedgerReferenceSchema, aT as pointLedgerSchema, aU as pointsAccountSchema, aV as pointsEntrySchema, aW as pointsMutationSchema, aX as pointsResultSchema, aY as projectGroupKey, aZ as projectGroupSchema, a_ as publishedLeaderboardSchema, a$ as publishedReferralSchema, b0 as referralAcceptSchema, b1 as referralAccountSchema, b2 as referralArtifactSchema, t as referralAuthoringSchema, b3 as referralControlSchema, b4 as referralDefinitionSchema, b5 as referralHistorySchema, b6 as referralManagementSchema, b7 as referralQualificationSchema, b8 as referralRelationshipSchema, b9 as referralRewardResolutionSchema, ba as referralSummarySchema, bb as referralSuspensionSchema, bc as removeGroupMemberSchema, bd as updateGroupSchema } from './groups-JzAQ2JIN.js';
|
|
8
|
+
import { k as ResponseSchema, R as ResponseResult, l as RewardDeliveryAction } from './pages-DR2YRvAp.js';
|
|
9
|
+
export { C as ContentMetric, m as ContentPerformancePolicy, M as ManagementStateQuery, n as MemberEnrollmentInput, P as Page, a as PageQuery, o as QuestCatalog, Q as QuestClaimInput, q as QuestDraft, b as QuestEnrollment, c as QuestEnrollmentInput, r as QuestInstance, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView, s as RewardDelivery, t as RewardDeliveryQuery, U as UnsupportedResponse, u as allocateQuestSchema, v as allocatedQuestSchema, w as catalogDeploymentPreviewSchema, x as catalogDeploymentSchema, y as collectionSlotDeclarationSchema, z as collectionSlotSchema, A as collectionViewSchema, B as contentMetricSchema, D as contentMetricsSchema, E as contentPerformancePolicySchema, F as contentQualificationDecisionSchema, G as contentQualificationPageSchema, H as contentQualificationQuerySchema, I as contentQualificationSchema, J as interactionSchema, K as knownRewardDeliverySchema, L as managementStateQuerySchema, N as memberEnrollmentInputSchema, O as pageCursorSchema, S as pageQuerySchema, p as paginate, T as publishQuestDraftSchema, V as questCatalogSchema, W as questClaimInputSchema, X as questCollectionSchema, Y as questDraftChangesSchema, Z as questDraftSchema, _ as questEnrollmentInputSchema, $ as questEnrollmentSchema, a0 as questExperienceSchema, a1 as questInstanceSchema, a2 as questInteraction, a3 as questOutcomePageSchema, a4 as questOutcomeQuerySchema, a5 as questOutcomeSchema, a6 as questPublicationPreviewSchema, a7 as questRewardViewSchema, a8 as questTypeVersionSchema, a9 as questViewSchema, aa as responseListSchema, ab as responseSchema, ac as responseShape, ad as rewardDeliveriesSchema, ae as rewardDeliveryQuerySchema, af as rewardDeliverySchema, ag as roleReconciliationSchema, ah as saveQuestDraftSchema } from './pages-DR2YRvAp.js';
|
|
10
|
+
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-DDbgRubQ.js';
|
|
11
11
|
export { B as Budget, E as EvaluatorIntegrationProvider, a as IntegerSettings, I as IntegrationModule, b as IntegrationProvider, P as ProjectIntegration, c as ResourceOption, R as ResourceSource, S as Setting, d as SettingField, e as SettingsValues, f as budgetSchema, g as compatibleSettingKinds, h as completionKeySchema, i as completionPolicySchema, j as discordServerSchema, k as evaluatorIntegrationProviderSchema, l as integrationProviderSchema, m as missingResourceSettings, p as parseSettings, n as projectIntegrationSchema, r as resourceOptionsSchema, o as resourceRequestSchema, q as resourceSourceSchema, s as settingFieldSchema, t as settingsFieldsSchema, u as settingsValuesSchema } from './integrations-CllF-kWg.js';
|
|
12
|
-
export { E as Extracted, a as ImageAssetArtifact, b as ImageComparison, c as ImageExtraction, d as ImageFields, e as ImageInspection, I as ImageReader, f as ImageReference, g as ImageRequest, h as ImageSightings, P as PublishedImage, i as XConnection, j as XPost, k as XProfile, X as XReader, l as XUser, m as XUserLookupInput, n as imageAssetArtifactSchema, o as imageComparisonSchema, p as imageExtractionSchema, q as imageFieldSchema, r as imageFieldsSchema, s as imageInspectionSchema, t as imageReferenceSchema, u as imageRequestSchema, v as imageSightingsSchema, w as imageUploadRequestSchema, x as imageUploadsSchema, y as publishedImageSchema, z as xConnectionSchema, A as xIdSchema, B as xPostSchema, C as xProfileSchema, D as xRequestSchema, F as xUserLookupInputSchema, G as xUserSchema, H as xUsernameSchema } from './x-
|
|
12
|
+
export { E as Extracted, a as ImageAssetArtifact, b as ImageComparison, c as ImageExtraction, d as ImageFields, e as ImageInspection, I as ImageReader, f as ImageReference, g as ImageRequest, h as ImageSightings, P as PublishedImage, i as XConnection, j as XPost, k as XProfile, X as XReader, l as XUser, m as XUserLookupInput, n as imageAssetArtifactSchema, o as imageComparisonSchema, p as imageExtractionSchema, q as imageFieldSchema, r as imageFieldsSchema, s as imageInspectionSchema, t as imageReferenceSchema, u as imageRequestSchema, v as imageSightingsSchema, w as imageUploadRequestSchema, x as imageUploadsSchema, y as publishedImageSchema, z as xConnectionSchema, A as xIdSchema, B as xPostSchema, C as xProfileSchema, D as xRequestSchema, F as xUserLookupInputSchema, G as xUserSchema, H as xUsernameSchema } from './x-vVG6gZqi.js';
|
|
13
13
|
import * as z from 'zod';
|
|
14
14
|
import * as zod_v4_core from 'zod/v4/core';
|
|
15
|
-
export { B as Badge, M as ManagedBadge, a as MemberBadge, b as MemberBadges, O as Offer, h as OfferAuthoring, c as OfferDefinition, d as OfferPrice, R as RedeemOfferInput, e as Redemption, i as RedemptionPage, j as RedemptionQuery, k as badgeArtifactSchema, f as badgeDeclarationSchema, l as badgeMutationResultSchema, m as badgeMutationSchema, n as badgePropertiesSchema, o as badgeSchema, p as createBadgeSchema, g as defineOffer, q as managedBadgeSchema, r as memberBadgeSchema, s as memberBadgesSchema, t as offerArtifactSchema, u as offerAuthoringSchema, v as offerAvailabilitySchema, w as offerControlSchema, x as offerDefinitionSchema, y as offerLimitSchema, z as offerPriceSchema, A as offerSchema, C as redeemOfferSchema, D as redemptionCancellationSchema, E as redemptionPageSchema, F as redemptionQuerySchema, G as redemptionSchema } from './offers-
|
|
15
|
+
export { B as Badge, M as ManagedBadge, a as MemberBadge, b as MemberBadges, O as Offer, h as OfferAuthoring, c as OfferDefinition, d as OfferPrice, R as RedeemOfferInput, e as Redemption, i as RedemptionPage, j as RedemptionQuery, k as badgeArtifactSchema, f as badgeDeclarationSchema, l as badgeMutationResultSchema, m as badgeMutationSchema, n as badgePropertiesSchema, o as badgeSchema, p as createBadgeSchema, g as defineOffer, q as managedBadgeSchema, r as memberBadgeSchema, s as memberBadgesSchema, t as offerArtifactSchema, u as offerAuthoringSchema, v as offerAvailabilitySchema, w as offerControlSchema, x as offerDefinitionSchema, y as offerLimitSchema, z as offerPriceSchema, A as offerSchema, C as redeemOfferSchema, D as redemptionCancellationSchema, E as redemptionPageSchema, F as redemptionQuerySchema, G as redemptionSchema } from './offers-CIDAJEYs.js';
|
|
16
16
|
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-BHuQdzsW.js';
|
|
17
|
-
export { M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, a as TextOptions, U as UrlEvidence, b as UrlOptions, V as ValueEvidence, c as balanceAtLeast, e as balancePrerequisiteSchema, d as completed, f as completionPrerequisiteSchema, g as groupPrerequisiteSchema, i as inGroup, m as missingPrerequisiteSchema, p as prerequisiteSchema, t as textEvidenceSchema, h as textOptionsSchema, u as urlEvidenceSchema, j as urlOptionsSchema, v as validateSubmissionValue, k as valueEvidenceSchema, x as xPostId } from './submission-input-
|
|
17
|
+
export { M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, a as TextOptions, U as UrlEvidence, b as UrlOptions, V as ValueEvidence, c as balanceAtLeast, e as balancePrerequisiteSchema, d as completed, f as completionPrerequisiteSchema, g as groupPrerequisiteSchema, i as inGroup, m as missingPrerequisiteSchema, p as prerequisiteSchema, t as textEvidenceSchema, h as textOptionsSchema, u as urlEvidenceSchema, j as urlOptionsSchema, v as validateSubmissionValue, k as valueEvidenceSchema, x as xPostId } from './submission-input-UBqB8NFC.js';
|
|
18
18
|
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-0YuipsUQ.js';
|
|
19
19
|
export { P as ParticipantDelivery, p as participantDeliveriesSchema, a as participantDeliverySchema, b as participantEntitlementsSchema } from './participant-rewards-BcWkBRn_.js';
|
|
20
20
|
export { C as CosmosChain, i as CosmosDenom, a as CosmosNetwork, E as EvmChainId, L as LinkedWallet, o as WALLETS_PER_CHAIN, W as WalletAddressInput, j as WalletBalance, k as WalletBalanceQuery, b as WalletChain, c as WalletMessageChallenge, h as WalletReader, d as WalletSignInNetwork, e as WalletSignature, f as WalletSigner, g as WalletUnlinkInput, p as caip10, q as cosmosAddressSchema, r as cosmosChain, l as cosmosDenomSchema, m as cosmosNetworkSchema, s as evmAddressSchema, t as evmChainIdSchema, n as isEvmChainId, u as linkedWalletSchema, v as solanaAddressSchema, w as solanaMainnet, x as walletAddressInput, y as walletAddressInputSchema, z as walletBalanceSchema, A as walletChainSchema, B as walletMessageChallengeSchema, D as walletSignInFamilies, F as walletSignInNetwork, G as walletSignInNetworkSchema, H as walletSignInNetworksSchema, I as walletSignatureSchema, J as walletUnlinkInputSchema } from './wallet-t7uNDg9p.js';
|
|
@@ -1469,6 +1469,7 @@ declare const participantResponseSchemas: {
|
|
|
1469
1469
|
budget: string;
|
|
1470
1470
|
} | null;
|
|
1471
1471
|
} | null | undefined;
|
|
1472
|
+
retryAt?: number | undefined;
|
|
1472
1473
|
}[];
|
|
1473
1474
|
entitlements: ({
|
|
1474
1475
|
[x: string]: unknown;
|
|
@@ -1997,6 +1998,7 @@ declare const participantResponseSchemas: {
|
|
|
1997
1998
|
budget: string;
|
|
1998
1999
|
} | null;
|
|
1999
2000
|
} | null | undefined;
|
|
2001
|
+
retryAt?: number | undefined;
|
|
2000
2002
|
}[];
|
|
2001
2003
|
entitlements: ({
|
|
2002
2004
|
[x: string]: unknown;
|
|
@@ -3896,6 +3898,7 @@ declare const participantResponseSchemas: {
|
|
|
3896
3898
|
budget: string;
|
|
3897
3899
|
} | null;
|
|
3898
3900
|
} | null | undefined;
|
|
3901
|
+
retryAt?: number | undefined;
|
|
3899
3902
|
}[];
|
|
3900
3903
|
collections: {
|
|
3901
3904
|
id: string;
|
|
@@ -4303,6 +4306,7 @@ declare const participantResponseSchemas: {
|
|
|
4303
4306
|
budget: string;
|
|
4304
4307
|
} | null;
|
|
4305
4308
|
} | null | undefined;
|
|
4309
|
+
retryAt?: number | undefined;
|
|
4306
4310
|
}[];
|
|
4307
4311
|
key?: string | undefined;
|
|
4308
4312
|
description?: string | undefined;
|
|
@@ -4867,6 +4871,7 @@ declare const participantResponseSchemas: {
|
|
|
4867
4871
|
budget: string;
|
|
4868
4872
|
} | null;
|
|
4869
4873
|
} | null | undefined;
|
|
4874
|
+
retryAt?: number | undefined;
|
|
4870
4875
|
}[];
|
|
4871
4876
|
collections: {
|
|
4872
4877
|
id: string;
|
|
@@ -5274,6 +5279,7 @@ declare const participantResponseSchemas: {
|
|
|
5274
5279
|
budget: string;
|
|
5275
5280
|
} | null;
|
|
5276
5281
|
} | null | undefined;
|
|
5282
|
+
retryAt?: number | undefined;
|
|
5277
5283
|
}[];
|
|
5278
5284
|
key?: string | undefined;
|
|
5279
5285
|
description?: string | undefined;
|
|
@@ -6934,6 +6940,7 @@ declare const participantResponses: {
|
|
|
6934
6940
|
budget: string;
|
|
6935
6941
|
} | null;
|
|
6936
6942
|
} | null | undefined;
|
|
6943
|
+
retryAt?: number | undefined;
|
|
6937
6944
|
}[];
|
|
6938
6945
|
entitlements: ({
|
|
6939
6946
|
[x: string]: unknown;
|
|
@@ -8247,6 +8254,7 @@ declare const participantResponses: {
|
|
|
8247
8254
|
budget: string;
|
|
8248
8255
|
} | null;
|
|
8249
8256
|
} | null | undefined;
|
|
8257
|
+
retryAt?: number | undefined;
|
|
8250
8258
|
}[];
|
|
8251
8259
|
collections: {
|
|
8252
8260
|
id: string;
|
|
@@ -8654,6 +8662,7 @@ declare const participantResponses: {
|
|
|
8654
8662
|
budget: string;
|
|
8655
8663
|
} | null;
|
|
8656
8664
|
} | null | undefined;
|
|
8665
|
+
retryAt?: number | undefined;
|
|
8657
8666
|
}[];
|
|
8658
8667
|
key?: string | undefined;
|
|
8659
8668
|
description?: string | undefined;
|
|
@@ -9811,6 +9820,7 @@ declare const questExperienceResponseSchema: ResponseSchema<{
|
|
|
9811
9820
|
budget: string;
|
|
9812
9821
|
} | null;
|
|
9813
9822
|
} | null | undefined;
|
|
9823
|
+
retryAt?: number | undefined;
|
|
9814
9824
|
}>[];
|
|
9815
9825
|
unsupportedCount: number;
|
|
9816
9826
|
};
|
|
@@ -10222,6 +10232,7 @@ declare const questExperienceResponseSchema: ResponseSchema<{
|
|
|
10222
10232
|
budget: string;
|
|
10223
10233
|
} | null;
|
|
10224
10234
|
} | null | undefined;
|
|
10235
|
+
retryAt?: number | undefined;
|
|
10225
10236
|
}>[];
|
|
10226
10237
|
unsupportedCount: number;
|
|
10227
10238
|
};
|
|
@@ -10764,6 +10775,7 @@ declare const memberProgressResponseSchema: ResponseSchema<{
|
|
|
10764
10775
|
budget: string;
|
|
10765
10776
|
} | null;
|
|
10766
10777
|
} | null | undefined;
|
|
10778
|
+
retryAt?: number | undefined;
|
|
10767
10779
|
}>[];
|
|
10768
10780
|
unsupportedCount: number;
|
|
10769
10781
|
};
|
|
@@ -11224,6 +11236,7 @@ declare const questCatalogResponseSchema: ResponseSchema<{
|
|
|
11224
11236
|
from: number;
|
|
11225
11237
|
until: number;
|
|
11226
11238
|
} | undefined;
|
|
11239
|
+
retryCooldownMs?: number | undefined;
|
|
11227
11240
|
};
|
|
11228
11241
|
provider: "workers-ai" | "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error";
|
|
11229
11242
|
createdAt: number;
|
|
@@ -11299,6 +11312,7 @@ declare const questCatalogResponseSchema: ResponseSchema<{
|
|
|
11299
11312
|
chain?: "solana" | "eip155" | "cosmos" | undefined;
|
|
11300
11313
|
})[] | undefined;
|
|
11301
11314
|
} | undefined;
|
|
11315
|
+
retryCooldownMs?: number | null | undefined;
|
|
11302
11316
|
}>[];
|
|
11303
11317
|
unsupportedCount: number;
|
|
11304
11318
|
};
|
|
@@ -11362,6 +11376,7 @@ declare const questCatalogResponseSchema: ResponseSchema<{
|
|
|
11362
11376
|
chain?: "solana" | "eip155" | "cosmos" | undefined;
|
|
11363
11377
|
})[] | undefined;
|
|
11364
11378
|
} | undefined;
|
|
11379
|
+
retryCooldownMs?: number | null | undefined;
|
|
11365
11380
|
}[];
|
|
11366
11381
|
collections: {
|
|
11367
11382
|
id: string;
|
|
@@ -11433,6 +11448,7 @@ declare const questCatalogResponseSchema: ResponseSchema<{
|
|
|
11433
11448
|
chain?: "solana" | "eip155" | "cosmos" | undefined;
|
|
11434
11449
|
})[] | undefined;
|
|
11435
11450
|
} | undefined;
|
|
11451
|
+
retryCooldownMs?: number | null | undefined;
|
|
11436
11452
|
}[];
|
|
11437
11453
|
collections: {
|
|
11438
11454
|
id: string;
|
|
@@ -11748,6 +11764,7 @@ declare const questCatalogResponseSchema: ResponseSchema<{
|
|
|
11748
11764
|
from: number;
|
|
11749
11765
|
until: number;
|
|
11750
11766
|
} | undefined;
|
|
11767
|
+
retryCooldownMs?: number | undefined;
|
|
11751
11768
|
key?: string | undefined;
|
|
11752
11769
|
origin?: {
|
|
11753
11770
|
typeVersion: string;
|