@domino-sdk/relay 1.38.1 → 1.39.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/authoring.d.ts +6 -6
- package/dist/authoring.js +1 -1
- package/dist/browser.d.ts +4 -4
- package/dist/browser.js +5 -5
- package/dist/{chunk-SAR77VQN.js → chunk-4PYFM2YF.js} +1 -1
- package/dist/{chunk-KEYQHJHU.js → chunk-E4CDOF4H.js} +7 -2
- package/dist/{chunk-BEQIQFMB.js → chunk-JIHWQCVW.js} +1 -1
- package/dist/{chunk-DP4YWFMY.js → chunk-MLIXJPKL.js} +1 -0
- package/dist/{chunk-2CP3SULY.js → chunk-RW4XQN4Z.js} +12 -0
- package/dist/{chunk-JMWMUYXW.js → chunk-VYAANO5L.js} +20 -3
- package/dist/{chunk-SR45OUAA.js → chunk-X7LHRYAO.js} +1 -1
- package/dist/{chunk-JYHRPMCE.js → chunk-XZKZJIES.js} +1 -1
- package/dist/{client-DjwKrpFo.d.ts → client-CxHKODc4.d.ts} +26 -2
- package/dist/{groups-JzAQ2JIN.d.ts → groups-DY5rZssO.d.ts} +31 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/internal.d.ts +3 -3
- package/dist/internal.js +3 -3
- package/dist/{offers-CIDAJEYs.d.ts → offers-DtYGNKdQ.d.ts} +1 -1
- package/dist/portal-proxy.js +2 -2
- package/dist/react/index.d.ts +16 -8
- package/dist/react/index.js +17 -6
- package/dist/schema.d.ts +54 -4
- package/dist/schema.js +7 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +6 -6
- package/dist/{submission-input-UBqB8NFC.d.ts → submission-input-BkIbBPRU.d.ts} +1 -1
- package/dist/{telegram-browser-2IllFeh-.d.ts → telegram-browser-laDdm730.d.ts} +1 -1
- package/dist/{transport-CqyCLMSR.d.ts → transport-CkTEfXL9.d.ts} +2 -2
- package/package.json +1 -1
package/dist/authoring.d.ts
CHANGED
|
@@ -2,16 +2,16 @@ import { x as xContentBodySchema, I as IdentityKind, n as customSourceSchema, W
|
|
|
2
2
|
export { a9 as LedgerSetting, aa as TrackerPage, ab as TrackerReadQuery, ac as trackerDataSchema, ad as trackerTriggerContextSchema } from './schema-Cgmj-CbC.js';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
export { z } from 'zod';
|
|
5
|
-
import { f as badgeDeclarationSchema, B as Badge } from './offers-
|
|
6
|
-
export { g as defineOffer } from './offers-
|
|
7
|
-
import { E as EngagementBudget,
|
|
8
|
-
export {
|
|
5
|
+
import { f as badgeDeclarationSchema, B as Badge } from './offers-DtYGNKdQ.js';
|
|
6
|
+
export { g as defineOffer } from './offers-DtYGNKdQ.js';
|
|
7
|
+
import { E as EngagementBudget, s as leaderboardDefinitionSchema, t as AuthoringIdentity, u as pointLedgerDeclarationSchema, v as referralAuthoringSchema, C as CampaignDefinition, A as AvailabilityWindow } from './groups-DY5rZssO.js';
|
|
8
|
+
export { w as defineCampaign, x as defineGroup } from './groups-DY5rZssO.js';
|
|
9
9
|
import { d as discordMessagesSourceSchema, D as DiscordMessageData, c as DiscordMessageTextData, e as discordReactionsSourceSchema, f as DiscordReactionData, g as TelegramReader, h as DiscordReader } from './accounts-DRPENuZe.js';
|
|
10
10
|
export { i as TelegramChatMember, j as TelegramChatMemberStatus, k as TelegramReactionData } from './accounts-DRPENuZe.js';
|
|
11
11
|
import { Q as QuizContent, a as StreakPolicy } from './streaks-0YuipsUQ.js';
|
|
12
12
|
import { R as ResourceSource, S as Setting, I as IntegrationModule, B as Budget, a as IntegerSettings } from './integrations-CllF-kWg.js';
|
|
13
|
-
import { P as Prerequisite, T as TextEvidence, U as UrlEvidence, a as TextOptions, b as UrlOptions } from './submission-input-
|
|
14
|
-
export { c as balanceAtLeast, d as completed, i as inGroup } from './submission-input-
|
|
13
|
+
import { P as Prerequisite, T as TextEvidence, U as UrlEvidence, a as TextOptions, b as UrlOptions } from './submission-input-BkIbBPRU.js';
|
|
14
|
+
export { c as balanceAtLeast, d as completed, i as inGroup } from './submission-input-BkIbBPRU.js';
|
|
15
15
|
import { I as ImageReader, X as XReader } from './x-vVG6gZqi.js';
|
|
16
16
|
import { h as WalletReader } from './wallet-t7uNDg9p.js';
|
|
17
17
|
export { i as CosmosDenom, a as CosmosNetwork, E as EvmChainId, j as WalletBalance, k as WalletBalanceQuery, l as cosmosDenomSchema, m as cosmosNetworkSchema, n as isEvmChainId } from './wallet-t7uNDg9p.js';
|
package/dist/authoring.js
CHANGED
package/dist/browser.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { o as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-
|
|
2
|
-
export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, a as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, S as SignInClient, b as SignInIcon, c as SignInMethods, d as SignInOption, e as SignInOptions, f as SignInUnavailable, g as SignInWallet, h as SolanaInjectedProvider, i as StandardWallet, j as StandardWalletAccount, T as TelegramSignInOption, W as WalletSignInOption, k as cosmosChainList, l as cosmosSigner, m as discoverCosmosWallets, n as discoverEvmWallets, o as discoverSignInWallets, p as discoverSolanaWallets, q as evmSigner, s as signInOptions, r as solanaSigner, t as telegramMiniAppInitData, w as walletStandardSolanaSigner } from './telegram-browser-
|
|
3
|
-
import './groups-
|
|
1
|
+
import { o as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-CxHKODc4.js';
|
|
2
|
+
export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, a as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, S as SignInClient, b as SignInIcon, c as SignInMethods, d as SignInOption, e as SignInOptions, f as SignInUnavailable, g as SignInWallet, h as SolanaInjectedProvider, i as StandardWallet, j as StandardWalletAccount, T as TelegramSignInOption, W as WalletSignInOption, k as cosmosChainList, l as cosmosSigner, m as discoverCosmosWallets, n as discoverEvmWallets, o as discoverSignInWallets, p as discoverSolanaWallets, q as evmSigner, s as signInOptions, r as solanaSigner, t as telegramMiniAppInitData, w as walletStandardSolanaSigner } from './telegram-browser-laDdm730.js';
|
|
3
|
+
import './groups-DY5rZssO.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import './schema-Cgmj-CbC.js';
|
|
6
6
|
import './pages-DR2YRvAp.js';
|
|
7
|
-
import './submission-input-
|
|
7
|
+
import './submission-input-BkIbBPRU.js';
|
|
8
8
|
import './action-DBzILFx9.js';
|
|
9
9
|
import './participant-activity-CoB2F30C.js';
|
|
10
10
|
import './accounts-DRPENuZe.js';
|
package/dist/browser.js
CHANGED
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
solanaSigner,
|
|
13
13
|
telegramMiniAppInitData,
|
|
14
14
|
walletStandardSolanaSigner
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-JIHWQCVW.js";
|
|
16
|
+
import "./chunk-VYAANO5L.js";
|
|
17
17
|
import "./chunk-CRX274HO.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-XZKZJIES.js";
|
|
19
|
+
import "./chunk-RW4XQN4Z.js";
|
|
20
20
|
import "./chunk-B65YJ6K4.js";
|
|
21
21
|
import "./chunk-SBW52XXL.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-4PYFM2YF.js";
|
|
23
23
|
import "./chunk-FTGW72A6.js";
|
|
24
24
|
import "./chunk-OEO5OBY5.js";
|
|
25
25
|
export {
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
questTypeVersionSchema,
|
|
25
25
|
questViewSchema,
|
|
26
26
|
rewardDeliveriesSchema
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XZKZJIES.js";
|
|
28
28
|
import {
|
|
29
29
|
badgeArtifactSchema,
|
|
30
30
|
badgeSchema,
|
|
@@ -34,6 +34,7 @@ import {
|
|
|
34
34
|
engagementPageSchema,
|
|
35
35
|
leaderboardArtifactSchema,
|
|
36
36
|
leaderboardDefinitionSchema,
|
|
37
|
+
leaderboardHistoryPageSchema,
|
|
37
38
|
leaderboardPageSchema,
|
|
38
39
|
leaderboardPlacementSchema,
|
|
39
40
|
leaderboardPreviewSchema,
|
|
@@ -57,7 +58,7 @@ import {
|
|
|
57
58
|
referralDefinitionSchema,
|
|
58
59
|
referralHistorySchema,
|
|
59
60
|
referralSummarySchema
|
|
60
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-RW4XQN4Z.js";
|
|
61
62
|
import {
|
|
62
63
|
telegramAccountConnectionSchema
|
|
63
64
|
} from "./chunk-B65YJ6K4.js";
|
|
@@ -462,6 +463,9 @@ var participantResponseSchemas = lazyResponseReaders({
|
|
|
462
463
|
get leaderboardDefinitionSchema() {
|
|
463
464
|
return knownResponse(leaderboardDefinitionSchema);
|
|
464
465
|
},
|
|
466
|
+
get leaderboardHistoryPageSchema() {
|
|
467
|
+
return knownResponse(leaderboardHistoryPageSchema);
|
|
468
|
+
},
|
|
465
469
|
get leaderboardPageSchema() {
|
|
466
470
|
return knownResponse(leaderboardPageSchema);
|
|
467
471
|
},
|
|
@@ -570,6 +574,7 @@ var participantResponses = {
|
|
|
570
574
|
evidenceSchema: responseSchema(evidenceSchema),
|
|
571
575
|
exchangeResultSchema: responseSchema(exchangeResultSchema),
|
|
572
576
|
leaderboardDefinitionSchema: responseSchema(leaderboardDefinitionSchema),
|
|
577
|
+
leaderboardHistoryPageSchema: responseSchema(leaderboardHistoryPageSchema),
|
|
573
578
|
leaderboardPageSchema: responseSchema(leaderboardPageSchema),
|
|
574
579
|
leaderboardPlacementSchema: responseSchema(leaderboardPlacementSchema),
|
|
575
580
|
linkedWalletSchema: responseSchema(linkedWalletSchema),
|
|
@@ -41,6 +41,7 @@ var participantRoutes = [
|
|
|
41
41
|
{ method: "GET", path: "/v1/me/deliveries" },
|
|
42
42
|
{ method: "GET", path: "/v1/me/points" },
|
|
43
43
|
{ method: "GET", path: `/v1/me/points/:ledger${id}/history` },
|
|
44
|
+
{ method: "GET", path: `/v1/me/leaderboards/:board${id}/history` },
|
|
44
45
|
{ method: "GET", path: "/v1/me/activity" },
|
|
45
46
|
{ method: "GET", path: "/v1/me/wallets" },
|
|
46
47
|
{ method: "POST", path: "/v1/me/wallets/challenge" },
|
|
@@ -554,6 +554,16 @@ var leaderboardPlacementSchema = z5.object({
|
|
|
554
554
|
/** Ranked participants on the board. */
|
|
555
555
|
total: integer.nonnegative()
|
|
556
556
|
});
|
|
557
|
+
var leaderboardHistoryQuerySchema = z5.strictObject({
|
|
558
|
+
board: identifier,
|
|
559
|
+
cursor: pageCursorSchema.optional()
|
|
560
|
+
});
|
|
561
|
+
var leaderboardHistoryPageSchema = z5.object({
|
|
562
|
+
leaderboard: identifier,
|
|
563
|
+
period: z5.object({ start: timestamp.nullable(), end: timestamp.nullable() }),
|
|
564
|
+
items: z5.array(pointEntrySchema),
|
|
565
|
+
nextCursor: pageCursorSchema.nullable()
|
|
566
|
+
});
|
|
557
567
|
var leaderboardPreviewSchema = z5.object({
|
|
558
568
|
published: publishedLeaderboardSchema,
|
|
559
569
|
before: leaderboardPageSchema.nullable(),
|
|
@@ -1025,6 +1035,8 @@ export {
|
|
|
1025
1035
|
leaderboardRowSchema,
|
|
1026
1036
|
leaderboardPageSchema,
|
|
1027
1037
|
leaderboardPlacementSchema,
|
|
1038
|
+
leaderboardHistoryQuerySchema,
|
|
1039
|
+
leaderboardHistoryPageSchema,
|
|
1028
1040
|
leaderboardPreviewSchema,
|
|
1029
1041
|
pointsMutationSchema,
|
|
1030
1042
|
pointsEntrySchema,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
questOutcomeSchema,
|
|
18
18
|
rewardDeliveriesSchema,
|
|
19
19
|
rewardDeliveryQuerySchema
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XZKZJIES.js";
|
|
21
21
|
import {
|
|
22
22
|
AVATAR_UPLOAD_LIMIT,
|
|
23
23
|
avatarUploadTypes,
|
|
@@ -26,6 +26,8 @@ import {
|
|
|
26
26
|
engagementPageQuerySchema,
|
|
27
27
|
engagementPageSchema,
|
|
28
28
|
leaderboardDefinitionResponseSchema,
|
|
29
|
+
leaderboardHistoryPageSchema,
|
|
30
|
+
leaderboardHistoryQuerySchema,
|
|
29
31
|
leaderboardPageSchema,
|
|
30
32
|
leaderboardPlacementSchema,
|
|
31
33
|
leaderboardQuerySchema,
|
|
@@ -46,7 +48,7 @@ import {
|
|
|
46
48
|
referralDefinitionSchema,
|
|
47
49
|
referralHistorySchema,
|
|
48
50
|
referralSummarySchema
|
|
49
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-RW4XQN4Z.js";
|
|
50
52
|
import {
|
|
51
53
|
telegramAccountConnectionSchema,
|
|
52
54
|
telegramMiniAppSignInSchema,
|
|
@@ -61,7 +63,7 @@ import {
|
|
|
61
63
|
} from "./chunk-SBW52XXL.js";
|
|
62
64
|
import {
|
|
63
65
|
clientIdentity
|
|
64
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-4PYFM2YF.js";
|
|
65
67
|
import {
|
|
66
68
|
exchangeResultSchema,
|
|
67
69
|
exchangeSchema,
|
|
@@ -2254,6 +2256,21 @@ function relayClient(options) {
|
|
|
2254
2256
|
{ options: requestOptions }
|
|
2255
2257
|
);
|
|
2256
2258
|
},
|
|
2259
|
+
/**
|
|
2260
|
+
* The member's own entries that count toward one board's score, by key or ID, most recently
|
|
2261
|
+
* recorded first: its ledger filtered by the board's window, quests and calculation, so every
|
|
2262
|
+
* page together sums to the member's score. `period` is the window the first page counted,
|
|
2263
|
+
* which later pages keep. An excluded member, or one outside the board's group, gets no
|
|
2264
|
+
* entries; an unknown board is `not-found`, an archived one `leaderboard-archived`.
|
|
2265
|
+
*/
|
|
2266
|
+
leaderboardHistory: async (query, requestOptions) => {
|
|
2267
|
+
const { board, cursor } = parseInput(leaderboardHistoryQuerySchema, query);
|
|
2268
|
+
return request(
|
|
2269
|
+
withQuery(`/v1/me/leaderboards/${board}/history`, { cursor }),
|
|
2270
|
+
leaderboardHistoryPageSchema,
|
|
2271
|
+
{ options: requestOptions }
|
|
2272
|
+
);
|
|
2273
|
+
},
|
|
2257
2274
|
/** Claims a quest for the signed-in member. Quest controllers (`quests.open`) call this. */
|
|
2258
2275
|
claim: async (value, requestOptions) => {
|
|
2259
2276
|
const claim = parseInput(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b4 as referralAcceptSchema, i as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, o as PointHistoryQuery, m as PointEntryKind, f as LeaderboardHistoryQuery, a9 as engagementPageQuerySchema } from './groups-DY5rZssO.js';
|
|
2
2
|
import { j as QuestView, k as ResponseSchema, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery, a0 as questExperienceSchema, t as RewardDeliveryQuery, l as RewardDeliveryAction, H as contentQualificationQuerySchema } from './pages-DR2YRvAp.js';
|
|
3
|
-
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-
|
|
3
|
+
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-BkIbBPRU.js';
|
|
4
4
|
import { a as RequestError, b as RequestErrorDetails, c as RequestErrorKind, e as createRelayAction, O as OptionalActionId } from './action-DBzILFx9.js';
|
|
5
5
|
import { f as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, h as TrackerSkipCode, cs as submitSchema, bl as contentPerformanceQuerySchema } from './schema-Cgmj-CbC.js';
|
|
6
6
|
import { b as ParticipantSession, d as exchangeSchema, R as RelayEvent, P as ParticipantActivity } from './participant-activity-CoB2F30C.js';
|
|
@@ -4430,6 +4430,30 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4430
4430
|
}[];
|
|
4431
4431
|
nextCursor: string | null;
|
|
4432
4432
|
}>;
|
|
4433
|
+
/**
|
|
4434
|
+
* The member's own entries that count toward one board's score, by key or ID, most recently
|
|
4435
|
+
* recorded first: its ledger filtered by the board's window, quests and calculation, so every
|
|
4436
|
+
* page together sums to the member's score. `period` is the window the first page counted,
|
|
4437
|
+
* which later pages keep. An excluded member, or one outside the board's group, gets no
|
|
4438
|
+
* entries; an unknown board is `not-found`, an archived one `leaderboard-archived`.
|
|
4439
|
+
*/
|
|
4440
|
+
leaderboardHistory: (query: LeaderboardHistoryQuery, requestOptions?: RelayRequestOptions) => Promise<{
|
|
4441
|
+
leaderboard: string;
|
|
4442
|
+
period: {
|
|
4443
|
+
start: number | null;
|
|
4444
|
+
end: number | null;
|
|
4445
|
+
};
|
|
4446
|
+
items: {
|
|
4447
|
+
id: string;
|
|
4448
|
+
amount: number;
|
|
4449
|
+
kind: PointEntryKind;
|
|
4450
|
+
at: number;
|
|
4451
|
+
quest: string | null;
|
|
4452
|
+
reverses: string | null;
|
|
4453
|
+
imported?: boolean | undefined;
|
|
4454
|
+
}[];
|
|
4455
|
+
nextCursor: string | null;
|
|
4456
|
+
}>;
|
|
4433
4457
|
/** Claims a quest for the signed-in member. Quest controllers (`quests.open`) call this. */
|
|
4434
4458
|
claim: (value: OptionalActionId<Omit<z.input<typeof submitSchema>, "member">>, requestOptions?: RelayRequestOptions) => Promise<{
|
|
4435
4459
|
id: string;
|
|
@@ -1316,6 +1316,36 @@ declare const leaderboardPlacementSchema: z.ZodObject<{
|
|
|
1316
1316
|
total: z.ZodNumber;
|
|
1317
1317
|
}, z.core.$strip>;
|
|
1318
1318
|
type LeaderboardPlacement = z.infer<typeof leaderboardPlacementSchema>;
|
|
1319
|
+
/** `relay.me.leaderboardHistory()`: one board, by key or ID. */
|
|
1320
|
+
declare const leaderboardHistoryQuerySchema: z.ZodObject<{
|
|
1321
|
+
board: z.ZodString;
|
|
1322
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1323
|
+
}, z.core.$strict>;
|
|
1324
|
+
type LeaderboardHistoryQuery = z.input<typeof leaderboardHistoryQuerySchema>;
|
|
1325
|
+
/**
|
|
1326
|
+
* One page of the signed-in member's own point entries that count toward a board's score, the most
|
|
1327
|
+
* recently recorded first: the board's ledger filtered by its window, quests and calculation, so
|
|
1328
|
+
* every page together sums to the member's score. `period` is the window the first page counted;
|
|
1329
|
+
* later pages keep it. An excluded member, or one outside the board's group, has no entries.
|
|
1330
|
+
*/
|
|
1331
|
+
declare const leaderboardHistoryPageSchema: z.ZodObject<{
|
|
1332
|
+
leaderboard: z.ZodString;
|
|
1333
|
+
period: z.ZodObject<{
|
|
1334
|
+
start: z.ZodNullable<z.ZodNumber>;
|
|
1335
|
+
end: z.ZodNullable<z.ZodNumber>;
|
|
1336
|
+
}, z.core.$strip>;
|
|
1337
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1338
|
+
id: z.ZodString;
|
|
1339
|
+
amount: z.ZodNumber;
|
|
1340
|
+
kind: z.ZodType<PointEntryKind, unknown, z.core.$ZodTypeInternals<PointEntryKind, unknown>>;
|
|
1341
|
+
at: z.ZodNumber;
|
|
1342
|
+
quest: z.ZodNullable<z.ZodString>;
|
|
1343
|
+
reverses: z.ZodNullable<z.ZodString>;
|
|
1344
|
+
imported: z.ZodOptional<z.ZodBoolean>;
|
|
1345
|
+
}, z.core.$strip>>;
|
|
1346
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
1347
|
+
}, z.core.$strip>;
|
|
1348
|
+
type LeaderboardHistoryPage = z.infer<typeof leaderboardHistoryPageSchema>;
|
|
1319
1349
|
declare const leaderboardPreviewSchema: z.ZodObject<{
|
|
1320
1350
|
published: z.ZodObject<{
|
|
1321
1351
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2766,4 +2796,4 @@ declare const groupMemberPageSchema: z.ZodObject<{
|
|
|
2766
2796
|
/** @compat output */
|
|
2767
2797
|
type GroupMemberPage = z.infer<typeof groupMemberPageSchema>;
|
|
2768
2798
|
|
|
2769
|
-
export {
|
|
2799
|
+
export { createGroupSchema as $, type AvailabilityWindow as A, type GroupMemberPage as B, type CampaignDefinition as C, type GroupPage as D, type EngagementBudget as E, type GroupPageQuery as F, type GroupMember as G, type LeaderboardExclusionGroup as H, type LeaderboardSettlement as I, type LeaderboardSettlementPolicy as J, type KnownPointEntryKind as K, type LeaderboardDefinition as L, type MemberCampaignEnrollmentInput as M, type LeaderboardSettlementSummary as N, type ManagedGroup as O, type PointBalance as P, type ManagedPointHistoryPage as Q, type ReferralDefinition as R, type ManagedPointLedger as S, type PointLedger as T, addGroupMemberSchema as U, availabilityWindowSchema as V, campaignDefinitionSchema as W, campaignEnrollmentInputSchema as X, campaignEnrollmentSchema as Y, campaignViewSchema as Z, campaignWithdrawalInputSchema as _, type CampaignEnrollment as a, pointsResultSchema as a$, createPointLedgerSchema as a0, engagementArtifactSchema as a1, engagementBoundaryPageSchema as a2, engagementBudgetSchema as a3, engagementChangePreviewInputSchema as a4, engagementChangePreviewSchema as a5, engagementChangeSchema as a6, engagementDefinitionSchema as a7, engagementDeploymentEntrySchema as a8, engagementPageQuerySchema as a9, leaderboardPrizeSchema as aA, leaderboardQuerySchema as aB, leaderboardRowSchema as aC, leaderboardSettlementApprovalSchema as aD, leaderboardSettlementPolicySchema as aE, leaderboardSettlementRowSchema as aF, leaderboardSettlementSchema as aG, leaderboardSettlementStatusSchema as aH, leaderboardSettlementSummarySchema as aI, leaderboardWindowSchema as aJ, managedGroupSchema as aK, managedPointHistoryPageSchema as aL, managedPointLedgerSchema as aM, memberCampaignEnrollmentInputSchema as aN, memberCampaignWithdrawalInputSchema as aO, pointBalanceSchema as aP, pointBalancesSchema as aQ, pointEntrySchema as aR, pointHistoryPageSchema as aS, pointHistoryQuerySchema as aT, pointLedgerArtifactSchema as aU, pointLedgerPropertiesSchema as aV, pointLedgerReferenceSchema as aW, pointLedgerSchema as aX, pointsAccountSchema as aY, pointsEntrySchema as aZ, pointsMutationSchema as a_, engagementPageSchema as aa, engagementPublishSchema as ab, engagementRuleSchema as ac, engagementRuleVersionPageSchema as ad, engagementScoreInputSchema as ae, engagementScoreSchema as af, engagementSettlementSchema as ag, engagementVersionPageSchema as ah, engagementVersionQuerySchema as ai, groupMemberPageSchema as aj, groupMemberSchema as ak, groupPageQuerySchema as al, groupPageSchema as am, leaderboardArtifactSchema as an, leaderboardAuthoringSchema as ao, leaderboardDefinitionResponseSchema as ap, leaderboardExclusionGroupBindingSchema as aq, leaderboardExclusionGroupSchema as ar, leaderboardExclusionSchema as as, leaderboardGroupSchema as at, leaderboardHistoryPageSchema as au, leaderboardHistoryQuerySchema as av, leaderboardPageSchema as aw, leaderboardPlacementSchema as ax, leaderboardPreviewSchema as ay, leaderboardPrizeRewardSchema as az, type CampaignEnrollmentInput as b, projectGroupKey as b0, projectGroupSchema as b1, publishedLeaderboardSchema as b2, publishedReferralSchema as b3, referralAcceptSchema as b4, referralAccountSchema as b5, referralArtifactSchema as b6, referralControlSchema as b7, referralDefinitionSchema as b8, referralHistorySchema as b9, referralManagementSchema as ba, referralQualificationSchema as bb, referralRelationshipSchema as bc, referralRewardResolutionSchema as bd, referralSummarySchema as be, referralSuspensionSchema as bf, removeGroupMemberSchema as bg, updateGroupSchema as bh, 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 PointBalances as k, type PointEntry as l, PointEntryKind as m, type PointHistoryPage as n, type PointHistoryQuery as o, type PointLedgerReference as p, type ProjectGroup as q, type ProjectGroupReference as r, leaderboardDefinitionSchema as s, type AuthoringIdentity as t, pointLedgerDeclarationSchema as u, referralAuthoringSchema as v, defineCampaign as w, defineGroup as x, type EngagementDefinition as y, type EngagementRuleVersionPage as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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-DtYGNKdQ.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-
|
|
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-CxHKODc4.js';
|
|
4
4
|
export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownTrackerSkipCode, M as MemberProgress, Q as QuestBudgetView, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, R as Reward, S as SubmissionEvidence, g as SubmitInput, T as TieredRewardReference, h as TrackerSkipCode } from './schema-Cgmj-CbC.js';
|
|
5
5
|
export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
|
|
6
6
|
export { P as Page, a as PageQuery, Q as QuestClaimInput, b as QuestEnrollment, c as QuestEnrollmentInput, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './pages-DR2YRvAp.js';
|
|
7
7
|
export { A as AccountConnection, a as AuthProvider, T as TelegramAccountConnection, b as TelegramSignInMethods } from './accounts-DRPENuZe.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-CoB2F30C.js';
|
|
9
|
-
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, K as KnownPointEntryKind, L as LeaderboardDefinition, e as
|
|
9
|
+
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardHistoryPage, f as LeaderboardHistoryQuery, g as LeaderboardPage, h as LeaderboardPlacement, i as LeaderboardQuery, M as MemberCampaignEnrollmentInput, j as MemberCampaignWithdrawalInput, P as PointBalance, k as PointBalances, l as PointEntry, m as PointEntryKind, n as PointHistoryPage, o as PointHistoryQuery, p as PointLedgerReference, q as ProjectGroup, r as ProjectGroupReference, R as ReferralDefinition } from './groups-DY5rZssO.js';
|
|
10
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-DDbgRubQ.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-
|
|
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-BkIbBPRU.js';
|
|
12
12
|
export { A as AvatarProvider, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, d as ProfileReferral, e as ProfileSummary, f as ProfileUpdate, g as ProfileVisibility } from './profiles-BHuQdzsW.js';
|
|
13
13
|
export { Q as QuizContent, S as StreakProgress } from './streaks-0YuipsUQ.js';
|
|
14
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-t7uNDg9p.js';
|
package/dist/index.js
CHANGED
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
QuestUpdatedError,
|
|
7
7
|
createRelayClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VYAANO5L.js";
|
|
9
9
|
import {
|
|
10
10
|
createRelayAction
|
|
11
11
|
} from "./chunk-CRX274HO.js";
|
|
12
12
|
import {
|
|
13
13
|
QuestOutcomeState
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XZKZJIES.js";
|
|
15
15
|
import {
|
|
16
16
|
PointEntryKind
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RW4XQN4Z.js";
|
|
18
18
|
import "./chunk-B65YJ6K4.js";
|
|
19
19
|
import "./chunk-SBW52XXL.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-4PYFM2YF.js";
|
|
21
21
|
import {
|
|
22
22
|
sessionMember
|
|
23
23
|
} from "./chunk-FTGW72A6.js";
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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-
|
|
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-CkTEfXL9.js';
|
|
2
2
|
export { E as Extracted } from './x-vVG6gZqi.js';
|
|
3
3
|
import { c as RequestErrorKind } from './action-DBzILFx9.js';
|
|
4
4
|
export { i as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, j as trackerDataIssue, k as trackerDataIssues, l as trackerDataPathTypes, m as trackerDataRecordSteps, w as whereSchemaIssue } from './schema-Cgmj-CbC.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './pages-DR2YRvAp.js';
|
|
7
|
-
import './offers-
|
|
8
|
-
import './groups-
|
|
7
|
+
import './offers-DtYGNKdQ.js';
|
|
8
|
+
import './groups-DY5rZssO.js';
|
|
9
9
|
import './profiles-BHuQdzsW.js';
|
|
10
10
|
import './automatic-outcomes-DDbgRubQ.js';
|
|
11
11
|
import './attempt-captures-CSiN1HKd.js';
|
package/dist/internal.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
participantExchangeSchema,
|
|
10
10
|
questConfiguration,
|
|
11
11
|
sequenceCursorSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-X7LHRYAO.js";
|
|
13
13
|
import {
|
|
14
14
|
parseImageExtraction,
|
|
15
15
|
parseImageResult
|
|
@@ -25,14 +25,14 @@ import {
|
|
|
25
25
|
isParticipantRoute,
|
|
26
26
|
participantRoutePattern,
|
|
27
27
|
participantRoutes
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MLIXJPKL.js";
|
|
29
29
|
import {
|
|
30
30
|
MANAGEMENT_TIMEOUT,
|
|
31
31
|
lifetime,
|
|
32
32
|
retryAfter,
|
|
33
33
|
retrying
|
|
34
34
|
} from "./chunk-SBW52XXL.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-4PYFM2YF.js";
|
|
36
36
|
import "./chunk-FTGW72A6.js";
|
|
37
37
|
import {
|
|
38
38
|
schemaCheckedReader,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
import { q as ResourceHandle } from './schema-Cgmj-CbC.js';
|
|
3
|
-
import {
|
|
3
|
+
import { t as AuthoringIdentity } from './groups-DY5rZssO.js';
|
|
4
4
|
|
|
5
5
|
declare const badgePropertiesSchema: z.ZodObject<{
|
|
6
6
|
name: z.ZodString;
|
package/dist/portal-proxy.js
CHANGED
package/dist/react/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-DtYGNKdQ.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-
|
|
3
|
+
import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-CxHKODc4.js';
|
|
4
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';
|
|
@@ -9,12 +9,12 @@ import { z } from 'zod';
|
|
|
9
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-laDdm730.js';
|
|
13
|
+
export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-laDdm730.js';
|
|
14
14
|
import { f as WalletSigner, d as WalletSignInNetwork, L as LinkedWallet } from '../wallet-t7uNDg9p.js';
|
|
15
|
-
import {
|
|
15
|
+
import { h as LeaderboardPlacement, be as referralSummarySchema, g as LeaderboardPage, l as PointEntry, k as PointBalances, p as PointLedgerReference } from '../groups-DY5rZssO.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-BkIbBPRU.js';
|
|
18
18
|
import '../action-DBzILFx9.js';
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -363,7 +363,7 @@ declare const relayKeys: {
|
|
|
363
363
|
readonly wallets: readonly ["wallets"];
|
|
364
364
|
/** `useMyProfile`, `useProfile`, `useProfileCompletions`, `useProfileReferral`. */
|
|
365
365
|
readonly profiles: readonly ["profiles"];
|
|
366
|
-
/** `useLeaderboard`, `useLeaderboardPlacement`. */
|
|
366
|
+
/** `useLeaderboard`, `useLeaderboardPlacement`, `useLeaderboardHistory`. */
|
|
367
367
|
readonly leaderboards: readonly ["leaderboards"];
|
|
368
368
|
/** `useReferralSummary`. */
|
|
369
369
|
readonly referrals: readonly ["referrals"];
|
|
@@ -1902,6 +1902,14 @@ declare function useLeaderboard(board: string, options?: {
|
|
|
1902
1902
|
limit?: number;
|
|
1903
1903
|
intervalMs?: number;
|
|
1904
1904
|
}): Query<LeaderboardPage>;
|
|
1905
|
+
/**
|
|
1906
|
+
* The signed-in participant's own entries that count toward one board's score, by key or ID, most
|
|
1907
|
+
* recently recorded first, a page at a time: `data.items`, and `loadMore()` while `data.nextCursor`
|
|
1908
|
+
* is set. Every page together sums to the participant's score on the board. Starts over whenever
|
|
1909
|
+
* one of the participant's quests completes. An excluded participant, or one outside the board's
|
|
1910
|
+
* group, gets no items; an unknown board is an `error` with code `not-found`.
|
|
1911
|
+
*/
|
|
1912
|
+
declare function useLeaderboardHistory(board: string): MemberPagedQuery<PointEntry>;
|
|
1905
1913
|
|
|
1906
1914
|
/**
|
|
1907
1915
|
* The signed-in participant's balance in each of the project's point ledgers, as `data.items`:
|
|
@@ -1960,4 +1968,4 @@ declare function usePointLedgers(): Query<PointLedgerReference[]>;
|
|
|
1960
1968
|
*/
|
|
1961
1969
|
declare function useTieredRewards(): Query<TieredRewardReference[]>;
|
|
1962
1970
|
|
|
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 };
|
|
1971
|
+
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, useLeaderboardHistory, 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,16 +9,16 @@ import {
|
|
|
9
9
|
readSignInMethods,
|
|
10
10
|
signInOptionsFrom,
|
|
11
11
|
telegramMiniAppInitData
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-JIHWQCVW.js";
|
|
13
|
+
import "../chunk-VYAANO5L.js";
|
|
14
14
|
import {
|
|
15
15
|
createRelayAction
|
|
16
16
|
} from "../chunk-CRX274HO.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-XZKZJIES.js";
|
|
18
|
+
import "../chunk-RW4XQN4Z.js";
|
|
19
19
|
import "../chunk-B65YJ6K4.js";
|
|
20
20
|
import "../chunk-SBW52XXL.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-4PYFM2YF.js";
|
|
22
22
|
import {
|
|
23
23
|
sessionMember
|
|
24
24
|
} from "../chunk-FTGW72A6.js";
|
|
@@ -57,7 +57,7 @@ var relayKeys = {
|
|
|
57
57
|
wallets: ["wallets"],
|
|
58
58
|
/** `useMyProfile`, `useProfile`, `useProfileCompletions`, `useProfileReferral`. */
|
|
59
59
|
profiles: ["profiles"],
|
|
60
|
-
/** `useLeaderboard`, `useLeaderboardPlacement`. */
|
|
60
|
+
/** `useLeaderboard`, `useLeaderboardPlacement`, `useLeaderboardHistory`. */
|
|
61
61
|
leaderboards: ["leaderboards"],
|
|
62
62
|
/** `useReferralSummary`. */
|
|
63
63
|
referrals: ["referrals"],
|
|
@@ -2952,6 +2952,16 @@ function useLeaderboard(board, options = {}) {
|
|
|
2952
2952
|
{ intervalMs }
|
|
2953
2953
|
);
|
|
2954
2954
|
}
|
|
2955
|
+
function useLeaderboardHistory(board) {
|
|
2956
|
+
const relay = useRelay();
|
|
2957
|
+
return useMemberPages(
|
|
2958
|
+
[...relayKeys.leaderboards, board, "history"],
|
|
2959
|
+
({ cursor, ...options }) => relay.me.leaderboardHistory(
|
|
2960
|
+
cursor ? { board, cursor } : { board },
|
|
2961
|
+
options
|
|
2962
|
+
)
|
|
2963
|
+
);
|
|
2964
|
+
}
|
|
2955
2965
|
|
|
2956
2966
|
// src/react/balances.ts
|
|
2957
2967
|
function useBalances() {
|
|
@@ -3057,6 +3067,7 @@ export {
|
|
|
3057
3067
|
useInvalidate,
|
|
3058
3068
|
useInvitation,
|
|
3059
3069
|
useLeaderboard,
|
|
3070
|
+
useLeaderboardHistory,
|
|
3060
3071
|
useLeaderboardPlacement,
|
|
3061
3072
|
useMe,
|
|
3062
3073
|
useMemberPages,
|
package/dist/schema.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ export { ae as AccountRole, af as AppIdentityKind, A as Attempt, ag as Bound, ah
|
|
|
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
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 {
|
|
7
|
-
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, E as EngagementBudget,
|
|
6
|
+
import { m as PointEntryKind } from './groups-DY5rZssO.js';
|
|
7
|
+
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, E as EngagementBudget, y as EngagementDefinition, z as EngagementRuleVersionPage, G as GroupMember, B as GroupMemberPage, D as GroupPage, F as GroupPageQuery, K as KnownPointEntryKind, L as LeaderboardDefinition, H as LeaderboardExclusionGroup, e as LeaderboardHistoryPage, f as LeaderboardHistoryQuery, g as LeaderboardPage, h as LeaderboardPlacement, i as LeaderboardQuery, I as LeaderboardSettlement, J as LeaderboardSettlementPolicy, N as LeaderboardSettlementSummary, O as ManagedGroup, Q as ManagedPointHistoryPage, S as ManagedPointLedger, M as MemberCampaignEnrollmentInput, j as MemberCampaignWithdrawalInput, P as PointBalance, k as PointBalances, l as PointEntry, n as PointHistoryPage, o as PointHistoryQuery, T as PointLedger, p as PointLedgerReference, q as ProjectGroup, r as ProjectGroupReference, R as ReferralDefinition, U as addGroupMemberSchema, V as availabilityWindowSchema, W as campaignDefinitionSchema, X as campaignEnrollmentInputSchema, Y as campaignEnrollmentSchema, Z as campaignViewSchema, _ as campaignWithdrawalInputSchema, $ as createGroupSchema, a0 as createPointLedgerSchema, w as defineCampaign, x as defineGroup, a1 as engagementArtifactSchema, a2 as engagementBoundaryPageSchema, a3 as engagementBudgetSchema, a4 as engagementChangePreviewInputSchema, a5 as engagementChangePreviewSchema, a6 as engagementChangeSchema, a7 as engagementDefinitionSchema, a8 as engagementDeploymentEntrySchema, a9 as engagementPageQuerySchema, aa as engagementPageSchema, ab as engagementPublishSchema, ac as engagementRuleSchema, ad as engagementRuleVersionPageSchema, ae as engagementScoreInputSchema, af as engagementScoreSchema, ag as engagementSettlementSchema, ah as engagementVersionPageSchema, ai as engagementVersionQuerySchema, aj as groupMemberPageSchema, ak as groupMemberSchema, al as groupPageQuerySchema, am as groupPageSchema, an as leaderboardArtifactSchema, ao as leaderboardAuthoringSchema, ap as leaderboardDefinitionResponseSchema, s as leaderboardDefinitionSchema, aq as leaderboardExclusionGroupBindingSchema, ar as leaderboardExclusionGroupSchema, as as leaderboardExclusionSchema, at as leaderboardGroupSchema, au as leaderboardHistoryPageSchema, av as leaderboardHistoryQuerySchema, aw as leaderboardPageSchema, ax as leaderboardPlacementSchema, ay as leaderboardPreviewSchema, az as leaderboardPrizeRewardSchema, aA as leaderboardPrizeSchema, aB as leaderboardQuerySchema, aC as leaderboardRowSchema, aD as leaderboardSettlementApprovalSchema, aE as leaderboardSettlementPolicySchema, aF as leaderboardSettlementRowSchema, aG as leaderboardSettlementSchema, aH as leaderboardSettlementStatusSchema, aI as leaderboardSettlementSummarySchema, aJ as leaderboardWindowSchema, aK as managedGroupSchema, aL as managedPointHistoryPageSchema, aM as managedPointLedgerSchema, aN as memberCampaignEnrollmentInputSchema, aO as memberCampaignWithdrawalInputSchema, aP as pointBalanceSchema, aQ as pointBalancesSchema, aR as pointEntrySchema, aS as pointHistoryPageSchema, aT as pointHistoryQuerySchema, aU as pointLedgerArtifactSchema, u as pointLedgerDeclarationSchema, aV as pointLedgerPropertiesSchema, aW as pointLedgerReferenceSchema, aX as pointLedgerSchema, aY as pointsAccountSchema, aZ as pointsEntrySchema, a_ as pointsMutationSchema, a$ as pointsResultSchema, b0 as projectGroupKey, b1 as projectGroupSchema, b2 as publishedLeaderboardSchema, b3 as publishedReferralSchema, b4 as referralAcceptSchema, b5 as referralAccountSchema, b6 as referralArtifactSchema, v as referralAuthoringSchema, b7 as referralControlSchema, b8 as referralDefinitionSchema, b9 as referralHistorySchema, ba as referralManagementSchema, bb as referralQualificationSchema, bc as referralRelationshipSchema, bd as referralRewardResolutionSchema, be as referralSummarySchema, bf as referralSuspensionSchema, bg as removeGroupMemberSchema, bh as updateGroupSchema } from './groups-DY5rZssO.js';
|
|
8
8
|
import { k as ResponseSchema, R as ResponseResult, l as RewardDeliveryAction } from './pages-DR2YRvAp.js';
|
|
9
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
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';
|
|
@@ -12,9 +12,9 @@ export { B as Budget, E as EvaluatorIntegrationProvider, a as IntegerSettings, I
|
|
|
12
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-DtYGNKdQ.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-BkIbBPRU.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';
|
|
@@ -892,6 +892,39 @@ declare const participantResponseSchemas: {
|
|
|
892
892
|
}[];
|
|
893
893
|
} | undefined;
|
|
894
894
|
}, unknown>>;
|
|
895
|
+
leaderboardHistoryPageSchema: z.ZodType<{
|
|
896
|
+
leaderboard: string;
|
|
897
|
+
period: {
|
|
898
|
+
start: number | null;
|
|
899
|
+
end: number | null;
|
|
900
|
+
};
|
|
901
|
+
items: {
|
|
902
|
+
id: string;
|
|
903
|
+
amount: number;
|
|
904
|
+
kind: PointEntryKind;
|
|
905
|
+
at: number;
|
|
906
|
+
quest: string | null;
|
|
907
|
+
reverses: string | null;
|
|
908
|
+
imported?: boolean | undefined;
|
|
909
|
+
}[];
|
|
910
|
+
nextCursor: string | null;
|
|
911
|
+
}, unknown, zod_v4_core.$ZodTypeInternals<{
|
|
912
|
+
leaderboard: string;
|
|
913
|
+
period: {
|
|
914
|
+
start: number | null;
|
|
915
|
+
end: number | null;
|
|
916
|
+
};
|
|
917
|
+
items: {
|
|
918
|
+
id: string;
|
|
919
|
+
amount: number;
|
|
920
|
+
kind: PointEntryKind;
|
|
921
|
+
at: number;
|
|
922
|
+
quest: string | null;
|
|
923
|
+
reverses: string | null;
|
|
924
|
+
imported?: boolean | undefined;
|
|
925
|
+
}[];
|
|
926
|
+
nextCursor: string | null;
|
|
927
|
+
}, unknown>>;
|
|
895
928
|
leaderboardPageSchema: z.ZodType<{
|
|
896
929
|
leaderboard: string;
|
|
897
930
|
title: string;
|
|
@@ -6463,6 +6496,23 @@ declare const participantResponses: {
|
|
|
6463
6496
|
}[];
|
|
6464
6497
|
} | undefined;
|
|
6465
6498
|
}>>;
|
|
6499
|
+
leaderboardHistoryPageSchema: ResponseSchema<ResponseResult<{
|
|
6500
|
+
leaderboard: string;
|
|
6501
|
+
period: {
|
|
6502
|
+
start: number | null;
|
|
6503
|
+
end: number | null;
|
|
6504
|
+
};
|
|
6505
|
+
items: {
|
|
6506
|
+
id: string;
|
|
6507
|
+
amount: number;
|
|
6508
|
+
kind: PointEntryKind;
|
|
6509
|
+
at: number;
|
|
6510
|
+
quest: string | null;
|
|
6511
|
+
reverses: string | null;
|
|
6512
|
+
imported?: boolean | undefined;
|
|
6513
|
+
}[];
|
|
6514
|
+
nextCursor: string | null;
|
|
6515
|
+
}>>;
|
|
6466
6516
|
leaderboardPageSchema: ResponseSchema<ResponseResult<{
|
|
6467
6517
|
leaderboard: string;
|
|
6468
6518
|
title: string;
|
package/dist/schema.js
CHANGED
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
rejectDeploymentSchema,
|
|
43
43
|
rollbackDeploymentSchema,
|
|
44
44
|
submitDeploymentSchema
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-E4CDOF4H.js";
|
|
46
46
|
import {
|
|
47
47
|
capabilityErrorCodes,
|
|
48
48
|
capabilityFailureSchema
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
rewardDeliverySchema,
|
|
118
118
|
roleReconciliationSchema,
|
|
119
119
|
saveQuestDraftSchema
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-XZKZJIES.js";
|
|
121
121
|
import {
|
|
122
122
|
AVATAR_UPLOAD_LIMIT,
|
|
123
123
|
PointEntryKind,
|
|
@@ -160,6 +160,8 @@ import {
|
|
|
160
160
|
leaderboardExclusionGroupSchema,
|
|
161
161
|
leaderboardExclusionSchema,
|
|
162
162
|
leaderboardGroupSchema,
|
|
163
|
+
leaderboardHistoryPageSchema,
|
|
164
|
+
leaderboardHistoryQuerySchema,
|
|
163
165
|
leaderboardPageSchema,
|
|
164
166
|
leaderboardPlacementSchema,
|
|
165
167
|
leaderboardPreviewSchema,
|
|
@@ -236,7 +238,7 @@ import {
|
|
|
236
238
|
referralRewardResolutionSchema,
|
|
237
239
|
referralSummarySchema,
|
|
238
240
|
referralSuspensionSchema
|
|
239
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-RW4XQN4Z.js";
|
|
240
242
|
import {
|
|
241
243
|
telegramAccountConnectionSchema,
|
|
242
244
|
telegramChatConnectionSchema,
|
|
@@ -760,6 +762,8 @@ export {
|
|
|
760
762
|
leaderboardExclusionGroupSchema,
|
|
761
763
|
leaderboardExclusionSchema,
|
|
762
764
|
leaderboardGroupSchema,
|
|
765
|
+
leaderboardHistoryPageSchema,
|
|
766
|
+
leaderboardHistoryQuerySchema,
|
|
763
767
|
leaderboardListResponseSchema,
|
|
764
768
|
leaderboardPageSchema,
|
|
765
769
|
leaderboardPlacementSchema,
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { ah as CompletionSource, ai as CompletionSourceKind, ao as KnownCompletionSourceKind, bs as entitlementCorrectionSchema, bu as entitlementSchema, bI as memberIdentitySchema, j as trackerDataIssue, k as trackerDataIssues, d9 as trackerTriggerOutcomePageSchema, w as whereSchemaIssue } from '../schema-Cgmj-CbC.js';
|
|
2
|
-
export { A as APP_KV_LIMIT, o as APP_MIGRATION_FILE_BYTES, r as APP_MIGRATION_LIMIT, t as APP_MIGRATION_TOTAL_BYTES, u as APP_SCHEDULE_LIMIT, w as APP_SCHEDULE_MIN_INTERVAL, x as APP_SCHEDULE_RESULT_BYTES, y as APP_SCHEDULE_TIMEOUT, z as APP_SECRET_LIMIT, B as APP_SQL_LIMIT, C as APP_STORAGE_CELL_CHARACTERS, D as APP_STORAGE_PREVIEW_CHARACTERS, E as APP_STORAGE_ROW_LIMIT, F as Access, G as AccessHistoryQuery, H as AppSchedule, J as AppScheduleDiagnostic, K as AppScheduleList, L as AppScheduleResult, N as AppScheduleRun, O as AppScheduleRuns, Q as AppSchedules, S as AppSecret, T as AppSecretDeclaration, U as AppSecretInput, V as AppSecretList, W as AppStorage, X as AppStorageCell, Y as AppStorageCellPage, Z as AppStorageKeys, _ as AppStorageKind, $ as AppStorageList, a0 as AppStorageRows, a1 as AppStorageTables, a2 as AppStorageValue, a3 as AuditPage, a4 as AuditQuery, a5 as AuditRecord, a6 as BalanceCheck, a7 as BuildArtifacts, a8 as BuildIdentity, a9 as BuildSnapshot, aa as BuildStatus, ab as CompletionRevocation, ac as CompletionRevocationShortfall, ad as CompletionRevokeInput, ae as CredentialSecret, af as DEFAULT_MANAGEMENT_TIMEOUT, ag as HostedAppSecrets, ah as HostedBuild, ai as HostedDeploymentKey, aj as HostedKey, ak as HostedKeyPermission, al as HostedManagementEnv, am as IdentityLinkRelinkInput, an as InventoryItemAction, ao as InventoryItemRename, ap as InventoryItemState, aq as InventoryStockCorrection, ar as KnownMemberImportRefusalCode, as as KnownPayoutSourceKind, at as LeaderboardSettlementRejection, au as LeaderboardSettlementReview, av as ListQuery, aw as ManagedAttempt, ax as ManagedAttemptPage, ay as ManagedAttemptQuery, az as ManagedEntitlement, aA as ManagedEntitlementPage, aB as ManagedEntitlementQuery, aC as ManagedMemberIdentity, aD as ManagedMemberPage, aE as ManagedMemberProgress, aF as ManagedMemberQuery, aG as ManagedOAuthAccount, aH as ManagedQuestEnrollment, aI as ManagedReleasePage, aJ as ManagedReleaseQuery, aK as ManagedResource, aL as ManagedStockItem, aM as ManagedTelegramAccount, aN as ManagedWallet, aO as ManagementCallOptions, aP as ManagementClient, aQ as ManagementClientOptions, aR as ManagementError, aS as ManagementErrorCode, aT as ManagementErrorInit, aU as ManagementErrorKind, aV as ManagementPage, aW as ManagementRawInit, aX as MemberDetail, aY as MemberIdentityLink, aZ as MemberIdentityLinkChangeInput, a_ as MemberIdentitySelector, a$ as MemberIdentitySignInInput, b0 as MemberIdentityState, b1 as MemberIdentityStatePage, b2 as MemberImport, b3 as MemberImportAccount, b4 as MemberImportCreateInput, b5 as MemberImportIdentity, b6 as MemberImportListQuery, b7 as MemberImportRefusal, b8 as MemberImportRefusalCode, b9 as MemberImportRow, ba as MemberImportRowInput, bb as MemberImportRowQuery, bc as MemberImportRowResult, bd as MemberImportRowsInput, be as MemberImportSummary, bf as OperatorUser, bg as ParticipantSignIn, bh as ParticipantSignInInput, bi as PayoutSourceKind, bj as Permission, bk as Person, bl as Project, bm as ProjectMetrics, bn as QuestEnrollmentState, bo as QuestEnrollmentWithdrawalInput, bp as QuestLifecycle, bq as QuestLifecycleInput, R as REFERRAL_INTEGRATION_REWARD_ERROR, br as ResourceArchiveInput, bs as ResourceLifecycleInput, bt as RevokedDeliveryOutcome, bu as RevokedEntitlementOutcome, bv as RevokedReferralOutcome, bw as ScheduledInvocation, bx as ServiceKey, by as StagedDeployment, bz as StagedDeploymentContent, bA as StagingAccess, bB as StagingAccessInput, bC as StagingLink, bD as StarterId, bE as StarterTemplate, bF as TestMember, bG as TestMemberActionInput, bH as TestMemberAdvanceInput, bI as TestMemberCreateInput, bJ as TestMemberHistory, bK as TestMemberHistoryQuery, bL as TestMemberResetInput, bM as TestMemberResetResult, bN as TestMemberWallet, bO as TestMemberWalletLinkInput, bP as TestMemberWalletUnlinkInput, bQ as WEBHOOK_MAX_BYTES, bR as WalletBalanceChains, bS as WebhookDeleteInput, bT as WebhookEndpointState, bU as WebhookEvent, bV as accessHistoryQuerySchema, bW as accessSchema, bX as accountProfileSchema, bY as appIdentitySelectorSchema, bZ as appMigrationNameSchema, b_ as appRoutingSchema, b$ as appScheduleDiagnosticSchema, c0 as appScheduleListSchema, c1 as appScheduleNameSchema, c2 as appSchedulePathSchema, c3 as appScheduleResultSchema, c4 as appScheduleRunSchema, c5 as appScheduleRunsSchema, c6 as appScheduleSchema, c7 as appScheduleStateSchema, c8 as appSchedulesSchema, c9 as appSecretDeclarationSchema, ca as appSecretDeclarationsSchema, cb as appSecretInputSchema, cc as appSecretListSchema, cd as appSecretNameSchema, ce as appSecretSchema, cf as appSecretValueSchema, cg as appStorageCellPageSchema, ch as appStorageCellSchema, ci as appStorageKeysSchema, cj as appStorageKindSchema, ck as appStorageListSchema, cl as appStorageRowsSchema, cm as appStorageSchema, cn as appStorageTablesSchema, co as appStorageValueSchema, cp as assetPathSchema, cq as auditPageSchema, cr as auditQuerySchema, cs as auditRecordSchema, ct as balanceCheckSchema, cu as buildArtifactsSchema, cv as buildIdentitySchema, cw as buildPhaseSchema, cx as buildSnapshotSchema, cy as buildStatusSchema, cz as commitSchema, cA as compareAppMigrations, cB as completionRevocationSchema, cC as completionRevocationShortfallSchema, cD as completionRevokeSchema, c as containsReferralIntegrationReward, cE as createManagementClient, cF as createRepositorySchema, cG as credentialSecretInputSchema, cH as credentialSecretSchema, cI as developmentPreflightSchema, cJ as deviceApproveSchema, cK as deviceRedeemSchema, cL as deviceStartSchema, cM as environmentSchema, cN as grantRecordSchema, cO as grantSchema, cP as hostedAppSchema, cQ as hostedAppSecretsSchema, cR as hostedBuildSchema, cS as hostedDeploymentKeySchema, cT as hostedKeyPermissions, cU as hostedKeySchema, cV as hostedKeySecretSchema, cW as hostedManagementBindings, cX as hostedManagementClient, i as identityIntegrationInputSchema, a as identityIntegrationSchema, d as identityKindClaimSchema, cY as identityLinkRelinkInputSchema, cZ as identityLinkSelectorSchema, c_ as ingestTrackerScopeSchema, c$ as inventoryItemActionSchema, d0 as inventoryItemPageSchema, d1 as inventoryItemRenameSchema, d2 as inventoryItemStateSchema, d3 as inventorySchema, d4 as inventoryStockCorrectionSchema, e as isIntegrationParticipantPath, d5 as isManagementError, f as isParticipantRoute, d6 as issuedServiceKeySchema, d7 as issuedTokenSchema, d8 as leaderboardSettlementRejectionSchema, d9 as leaderboardSettlementReviewPageSchema, da as leaderboardSettlementReviewQuerySchema, db as leaderboardSettlementReviewSchema, dc as leaderboardSettlementReviewSummarySchema, dd as managedAttemptPageSchema, de as managedAttemptQuerySchema, df as managedAttemptSchema, dg as managedEntitlementPageSchema, dh as managedEntitlementQuerySchema, di as managedEntitlementSchema, dj as managedMemberIdentitySchema, dk as managedMemberPageSchema, dl as managedMemberProgressSchema, dm as managedMemberQuerySchema, dn as managedOAuthAccountSchema, dp as managedQuestEnrollmentPageSchema, dq as managedQuestEnrollmentSchema, dr as managedReleasePageSchema, ds as managedReleaseQuerySchema, dt as managedResourceSchema, du as managedStockItemSchema, dv as managedTelegramAccountSchema, dw as managedWalletSchema, dx as managementErrorSchema, dy as managementResponseSchemas, dz as managementResponses, dA as memberAccountSchema, dB as memberDetailSchema, dC as memberIdentityChangeInputSchema, dD as memberIdentityLinkChangeInputSchema, dE as memberIdentityLinkPageSchema, dF as memberIdentityLinkSchema, dG as memberIdentitySelectorSchema, dH as memberIdentitySignInInputSchema, dI as memberIdentityStatePageSchema, dJ as memberIdentityStateSchema, dK as memberImportAccountSchema, dL as memberImportActionSchema, dM as memberImportCreateSchema, dN as memberImportIdentitySchema, dO as memberImportListQuerySchema, dP as memberImportPageSchema, dQ as memberImportRefusalSchema, dR as memberImportRowPageSchema, dS as memberImportRowQuerySchema, dT as memberImportRowResultSchema, dU as memberImportRowSchema, dV as memberImportRowsInputSchema, dW as memberImportSchema, dX as memberImportSummarySchema, dY as memberLookupSchema, dZ as memberOAuthUnlinkInputSchema, d_ as memberSchema, d$ as memberTelegramUnlinkInputSchema, e0 as memberWalletSignInInputSchema, e1 as memberWalletUnlinkInputSchema, e2 as metricsSchema, e3 as nextScheduleRun, e4 as oauthIdentitySelectorSchema, e5 as operationInputSchema, e6 as operationSchema, e7 as operatorUserSchema, e8 as pageSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, e9 as participantSignInInputSchema, ea as participantSignInSchema, eb as permissionSchema, ec as personSchema, ed as projectDeletionInputSchema, ee as projectDeletionSchema, ef as projectInputSchema, eg as projectMetricsSchema, eh as projectSchema, ei as projectSetupSchema, ej as projectTransferInputSchema, ek as projectTransferSchema, el as projectUpdateInputSchema, em as querySchema, q as questConfiguration, en as questEnrollmentStateSchema, eo as questEnrollmentWithdrawalInputSchema, ep as questLifecycleInputSchema, eq as questLifecycleSchema, er as readinessSchema, es as repositorySchema, et as resourceArchiveInputSchema, eu as resourceLifecycleInputSchema, ev as resourceLifecycleKindSchema, ew as resourceLifecyclePaths, ex as resourceLifecycleResultSchema, ey as rolePermissions, ez as roleSchema, eA as scheduleResult, eB as scheduledInvocationSchema, s as sequenceCursorSchema, eC as serviceKeyInputSchema, eD as serviceKeySchema, l as sourceDataSchema, n as sourceRoles, eE as stageRequestSchema, eF as stagedDeploymentContentSchema, eG as stagedDeploymentKey, eH as stagedDeploymentLimits, eI as stagedDeploymentSchema, eJ as stagingAccessInputSchema, eK as stagingAccessModeSchema, eL as stagingAccessSchema, eM as stagingLinkSchema, eN as stagingPathSchema, eO as starterIdSchema, eP as starterTemplates, eQ as stockAdditionSchema, eR as stockInputSchema, eS as teamSchema, eT as telegramBotIdSchema, eU as telegramIdentitySelectorSchema, eV as testMemberActionSchema, eW as testMemberAdvanceSchema, eX as testMemberCreateSchema, eY as testMemberHistoryQuerySchema, eZ as testMemberHistorySchema, e_ as testMemberResetResultSchema, e$ as testMemberResetSchema, f0 as testMemberSchema, f1 as testMemberWalletLinkSchema, f2 as testMemberWalletSchema, f3 as testMemberWalletUnlinkSchema, f4 as tokenInputSchema, f5 as tokenSchema, f6 as tokenScopeInputSchema, v as validateQuestShape, f7 as verifiedPassSchema, f8 as verifyScheduledRequest, f9 as verifyWebhook, fa as walletBalanceChainsSchema, fb as walletIdentitySelectorSchema, fc as webhookControlInputSchema, fd as webhookCreateInputSchema, fe as webhookDeleteInputSchema, ff as webhookDeliveryPageSchema, fg as webhookDeliverySchema, fh as webhookEndpointSchema, fi as webhookEndpointStateSchema, fj as webhookEventSchema, fk as webhookInputSchema, fl as webhookQuerySchema, fm as webhookRotateInputSchema, fn as webhookSecretSchema, fo as webhookStatePageSchema, fp as webhookStateQuerySchema, fq as webhookUpdateSchema } from '../transport-CqyCLMSR.js';
|
|
2
|
+
export { A as APP_KV_LIMIT, o as APP_MIGRATION_FILE_BYTES, r as APP_MIGRATION_LIMIT, t as APP_MIGRATION_TOTAL_BYTES, u as APP_SCHEDULE_LIMIT, w as APP_SCHEDULE_MIN_INTERVAL, x as APP_SCHEDULE_RESULT_BYTES, y as APP_SCHEDULE_TIMEOUT, z as APP_SECRET_LIMIT, B as APP_SQL_LIMIT, C as APP_STORAGE_CELL_CHARACTERS, D as APP_STORAGE_PREVIEW_CHARACTERS, E as APP_STORAGE_ROW_LIMIT, F as Access, G as AccessHistoryQuery, H as AppSchedule, J as AppScheduleDiagnostic, K as AppScheduleList, L as AppScheduleResult, N as AppScheduleRun, O as AppScheduleRuns, Q as AppSchedules, S as AppSecret, T as AppSecretDeclaration, U as AppSecretInput, V as AppSecretList, W as AppStorage, X as AppStorageCell, Y as AppStorageCellPage, Z as AppStorageKeys, _ as AppStorageKind, $ as AppStorageList, a0 as AppStorageRows, a1 as AppStorageTables, a2 as AppStorageValue, a3 as AuditPage, a4 as AuditQuery, a5 as AuditRecord, a6 as BalanceCheck, a7 as BuildArtifacts, a8 as BuildIdentity, a9 as BuildSnapshot, aa as BuildStatus, ab as CompletionRevocation, ac as CompletionRevocationShortfall, ad as CompletionRevokeInput, ae as CredentialSecret, af as DEFAULT_MANAGEMENT_TIMEOUT, ag as HostedAppSecrets, ah as HostedBuild, ai as HostedDeploymentKey, aj as HostedKey, ak as HostedKeyPermission, al as HostedManagementEnv, am as IdentityLinkRelinkInput, an as InventoryItemAction, ao as InventoryItemRename, ap as InventoryItemState, aq as InventoryStockCorrection, ar as KnownMemberImportRefusalCode, as as KnownPayoutSourceKind, at as LeaderboardSettlementRejection, au as LeaderboardSettlementReview, av as ListQuery, aw as ManagedAttempt, ax as ManagedAttemptPage, ay as ManagedAttemptQuery, az as ManagedEntitlement, aA as ManagedEntitlementPage, aB as ManagedEntitlementQuery, aC as ManagedMemberIdentity, aD as ManagedMemberPage, aE as ManagedMemberProgress, aF as ManagedMemberQuery, aG as ManagedOAuthAccount, aH as ManagedQuestEnrollment, aI as ManagedReleasePage, aJ as ManagedReleaseQuery, aK as ManagedResource, aL as ManagedStockItem, aM as ManagedTelegramAccount, aN as ManagedWallet, aO as ManagementCallOptions, aP as ManagementClient, aQ as ManagementClientOptions, aR as ManagementError, aS as ManagementErrorCode, aT as ManagementErrorInit, aU as ManagementErrorKind, aV as ManagementPage, aW as ManagementRawInit, aX as MemberDetail, aY as MemberIdentityLink, aZ as MemberIdentityLinkChangeInput, a_ as MemberIdentitySelector, a$ as MemberIdentitySignInInput, b0 as MemberIdentityState, b1 as MemberIdentityStatePage, b2 as MemberImport, b3 as MemberImportAccount, b4 as MemberImportCreateInput, b5 as MemberImportIdentity, b6 as MemberImportListQuery, b7 as MemberImportRefusal, b8 as MemberImportRefusalCode, b9 as MemberImportRow, ba as MemberImportRowInput, bb as MemberImportRowQuery, bc as MemberImportRowResult, bd as MemberImportRowsInput, be as MemberImportSummary, bf as OperatorUser, bg as ParticipantSignIn, bh as ParticipantSignInInput, bi as PayoutSourceKind, bj as Permission, bk as Person, bl as Project, bm as ProjectMetrics, bn as QuestEnrollmentState, bo as QuestEnrollmentWithdrawalInput, bp as QuestLifecycle, bq as QuestLifecycleInput, R as REFERRAL_INTEGRATION_REWARD_ERROR, br as ResourceArchiveInput, bs as ResourceLifecycleInput, bt as RevokedDeliveryOutcome, bu as RevokedEntitlementOutcome, bv as RevokedReferralOutcome, bw as ScheduledInvocation, bx as ServiceKey, by as StagedDeployment, bz as StagedDeploymentContent, bA as StagingAccess, bB as StagingAccessInput, bC as StagingLink, bD as StarterId, bE as StarterTemplate, bF as TestMember, bG as TestMemberActionInput, bH as TestMemberAdvanceInput, bI as TestMemberCreateInput, bJ as TestMemberHistory, bK as TestMemberHistoryQuery, bL as TestMemberResetInput, bM as TestMemberResetResult, bN as TestMemberWallet, bO as TestMemberWalletLinkInput, bP as TestMemberWalletUnlinkInput, bQ as WEBHOOK_MAX_BYTES, bR as WalletBalanceChains, bS as WebhookDeleteInput, bT as WebhookEndpointState, bU as WebhookEvent, bV as accessHistoryQuerySchema, bW as accessSchema, bX as accountProfileSchema, bY as appIdentitySelectorSchema, bZ as appMigrationNameSchema, b_ as appRoutingSchema, b$ as appScheduleDiagnosticSchema, c0 as appScheduleListSchema, c1 as appScheduleNameSchema, c2 as appSchedulePathSchema, c3 as appScheduleResultSchema, c4 as appScheduleRunSchema, c5 as appScheduleRunsSchema, c6 as appScheduleSchema, c7 as appScheduleStateSchema, c8 as appSchedulesSchema, c9 as appSecretDeclarationSchema, ca as appSecretDeclarationsSchema, cb as appSecretInputSchema, cc as appSecretListSchema, cd as appSecretNameSchema, ce as appSecretSchema, cf as appSecretValueSchema, cg as appStorageCellPageSchema, ch as appStorageCellSchema, ci as appStorageKeysSchema, cj as appStorageKindSchema, ck as appStorageListSchema, cl as appStorageRowsSchema, cm as appStorageSchema, cn as appStorageTablesSchema, co as appStorageValueSchema, cp as assetPathSchema, cq as auditPageSchema, cr as auditQuerySchema, cs as auditRecordSchema, ct as balanceCheckSchema, cu as buildArtifactsSchema, cv as buildIdentitySchema, cw as buildPhaseSchema, cx as buildSnapshotSchema, cy as buildStatusSchema, cz as commitSchema, cA as compareAppMigrations, cB as completionRevocationSchema, cC as completionRevocationShortfallSchema, cD as completionRevokeSchema, c as containsReferralIntegrationReward, cE as createManagementClient, cF as createRepositorySchema, cG as credentialSecretInputSchema, cH as credentialSecretSchema, cI as developmentPreflightSchema, cJ as deviceApproveSchema, cK as deviceRedeemSchema, cL as deviceStartSchema, cM as environmentSchema, cN as grantRecordSchema, cO as grantSchema, cP as hostedAppSchema, cQ as hostedAppSecretsSchema, cR as hostedBuildSchema, cS as hostedDeploymentKeySchema, cT as hostedKeyPermissions, cU as hostedKeySchema, cV as hostedKeySecretSchema, cW as hostedManagementBindings, cX as hostedManagementClient, i as identityIntegrationInputSchema, a as identityIntegrationSchema, d as identityKindClaimSchema, cY as identityLinkRelinkInputSchema, cZ as identityLinkSelectorSchema, c_ as ingestTrackerScopeSchema, c$ as inventoryItemActionSchema, d0 as inventoryItemPageSchema, d1 as inventoryItemRenameSchema, d2 as inventoryItemStateSchema, d3 as inventorySchema, d4 as inventoryStockCorrectionSchema, e as isIntegrationParticipantPath, d5 as isManagementError, f as isParticipantRoute, d6 as issuedServiceKeySchema, d7 as issuedTokenSchema, d8 as leaderboardSettlementRejectionSchema, d9 as leaderboardSettlementReviewPageSchema, da as leaderboardSettlementReviewQuerySchema, db as leaderboardSettlementReviewSchema, dc as leaderboardSettlementReviewSummarySchema, dd as managedAttemptPageSchema, de as managedAttemptQuerySchema, df as managedAttemptSchema, dg as managedEntitlementPageSchema, dh as managedEntitlementQuerySchema, di as managedEntitlementSchema, dj as managedMemberIdentitySchema, dk as managedMemberPageSchema, dl as managedMemberProgressSchema, dm as managedMemberQuerySchema, dn as managedOAuthAccountSchema, dp as managedQuestEnrollmentPageSchema, dq as managedQuestEnrollmentSchema, dr as managedReleasePageSchema, ds as managedReleaseQuerySchema, dt as managedResourceSchema, du as managedStockItemSchema, dv as managedTelegramAccountSchema, dw as managedWalletSchema, dx as managementErrorSchema, dy as managementResponseSchemas, dz as managementResponses, dA as memberAccountSchema, dB as memberDetailSchema, dC as memberIdentityChangeInputSchema, dD as memberIdentityLinkChangeInputSchema, dE as memberIdentityLinkPageSchema, dF as memberIdentityLinkSchema, dG as memberIdentitySelectorSchema, dH as memberIdentitySignInInputSchema, dI as memberIdentityStatePageSchema, dJ as memberIdentityStateSchema, dK as memberImportAccountSchema, dL as memberImportActionSchema, dM as memberImportCreateSchema, dN as memberImportIdentitySchema, dO as memberImportListQuerySchema, dP as memberImportPageSchema, dQ as memberImportRefusalSchema, dR as memberImportRowPageSchema, dS as memberImportRowQuerySchema, dT as memberImportRowResultSchema, dU as memberImportRowSchema, dV as memberImportRowsInputSchema, dW as memberImportSchema, dX as memberImportSummarySchema, dY as memberLookupSchema, dZ as memberOAuthUnlinkInputSchema, d_ as memberSchema, d$ as memberTelegramUnlinkInputSchema, e0 as memberWalletSignInInputSchema, e1 as memberWalletUnlinkInputSchema, e2 as metricsSchema, e3 as nextScheduleRun, e4 as oauthIdentitySelectorSchema, e5 as operationInputSchema, e6 as operationSchema, e7 as operatorUserSchema, e8 as pageSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, e9 as participantSignInInputSchema, ea as participantSignInSchema, eb as permissionSchema, ec as personSchema, ed as projectDeletionInputSchema, ee as projectDeletionSchema, ef as projectInputSchema, eg as projectMetricsSchema, eh as projectSchema, ei as projectSetupSchema, ej as projectTransferInputSchema, ek as projectTransferSchema, el as projectUpdateInputSchema, em as querySchema, q as questConfiguration, en as questEnrollmentStateSchema, eo as questEnrollmentWithdrawalInputSchema, ep as questLifecycleInputSchema, eq as questLifecycleSchema, er as readinessSchema, es as repositorySchema, et as resourceArchiveInputSchema, eu as resourceLifecycleInputSchema, ev as resourceLifecycleKindSchema, ew as resourceLifecyclePaths, ex as resourceLifecycleResultSchema, ey as rolePermissions, ez as roleSchema, eA as scheduleResult, eB as scheduledInvocationSchema, s as sequenceCursorSchema, eC as serviceKeyInputSchema, eD as serviceKeySchema, l as sourceDataSchema, n as sourceRoles, eE as stageRequestSchema, eF as stagedDeploymentContentSchema, eG as stagedDeploymentKey, eH as stagedDeploymentLimits, eI as stagedDeploymentSchema, eJ as stagingAccessInputSchema, eK as stagingAccessModeSchema, eL as stagingAccessSchema, eM as stagingLinkSchema, eN as stagingPathSchema, eO as starterIdSchema, eP as starterTemplates, eQ as stockAdditionSchema, eR as stockInputSchema, eS as teamSchema, eT as telegramBotIdSchema, eU as telegramIdentitySelectorSchema, eV as testMemberActionSchema, eW as testMemberAdvanceSchema, eX as testMemberCreateSchema, eY as testMemberHistoryQuerySchema, eZ as testMemberHistorySchema, e_ as testMemberResetResultSchema, e$ as testMemberResetSchema, f0 as testMemberSchema, f1 as testMemberWalletLinkSchema, f2 as testMemberWalletSchema, f3 as testMemberWalletUnlinkSchema, f4 as tokenInputSchema, f5 as tokenSchema, f6 as tokenScopeInputSchema, v as validateQuestShape, f7 as verifiedPassSchema, f8 as verifyScheduledRequest, f9 as verifyWebhook, fa as walletBalanceChainsSchema, fb as walletIdentitySelectorSchema, fc as webhookControlInputSchema, fd as webhookCreateInputSchema, fe as webhookDeleteInputSchema, ff as webhookDeliveryPageSchema, fg as webhookDeliverySchema, fh as webhookEndpointSchema, fi as webhookEndpointStateSchema, fj as webhookEventSchema, fk as webhookInputSchema, fl as webhookQuerySchema, fm as webhookRotateInputSchema, fn as webhookSecretSchema, fo as webhookStatePageSchema, fp as webhookStateQuerySchema, fq as webhookUpdateSchema } from '../transport-CkTEfXL9.js';
|
|
3
3
|
export { M as ManagementStateQuery, L as managementStateQuerySchema } from '../pages-DR2YRvAp.js';
|
|
4
|
-
import '../offers-
|
|
4
|
+
import '../offers-DtYGNKdQ.js';
|
|
5
5
|
import '../action-DBzILFx9.js';
|
|
6
|
-
export { G as GroupMember,
|
|
6
|
+
export { G as GroupMember, B as GroupMemberPage, D as GroupPage, F as GroupPageQuery, O as ManagedGroup, U as addGroupMemberSchema, $ as createGroupSchema, ad as engagementRuleVersionPageSchema, aj as groupMemberPageSchema, ak as groupMemberSchema, al as groupPageQuerySchema, am as groupPageSchema, aK as managedGroupSchema, aL as managedPointHistoryPageSchema, aV as pointLedgerPropertiesSchema, ba as referralManagementSchema, bb as referralQualificationSchema, bd as referralRewardResolutionSchema, bf as referralSuspensionSchema, bg as removeGroupMemberSchema, bh as updateGroupSchema } from '../groups-DY5rZssO.js';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import '../profiles-BHuQdzsW.js';
|
|
9
9
|
import '../automatic-outcomes-DDbgRubQ.js';
|
package/dist/server/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
publishDeploymentSchema,
|
|
28
28
|
rejectDeploymentSchema,
|
|
29
29
|
submitDeploymentSchema
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-E4CDOF4H.js";
|
|
31
31
|
import "../chunk-4OC7REYX.js";
|
|
32
32
|
import {
|
|
33
33
|
DEFAULT_MANAGEMENT_TIMEOUT,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
participantExchangeSchema,
|
|
49
49
|
questConfiguration,
|
|
50
50
|
sequenceCursorSchema
|
|
51
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-X7LHRYAO.js";
|
|
52
52
|
import {
|
|
53
53
|
parseImageExtraction,
|
|
54
54
|
parseImageResult
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
isParticipantRoute,
|
|
69
69
|
participantRoutePattern,
|
|
70
70
|
participantRoutes
|
|
71
|
-
} from "../chunk-
|
|
71
|
+
} from "../chunk-MLIXJPKL.js";
|
|
72
72
|
import {
|
|
73
73
|
withActionId
|
|
74
74
|
} from "../chunk-CRX274HO.js";
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
rewardDeliveryQuerySchema,
|
|
91
91
|
rewardDeliverySchema,
|
|
92
92
|
saveQuestDraftSchema
|
|
93
|
-
} from "../chunk-
|
|
93
|
+
} from "../chunk-XZKZJIES.js";
|
|
94
94
|
import {
|
|
95
95
|
badgeMutationResultSchema,
|
|
96
96
|
badgeMutationSchema,
|
|
@@ -144,14 +144,14 @@ import {
|
|
|
144
144
|
referralQualificationSchema,
|
|
145
145
|
referralRewardResolutionSchema,
|
|
146
146
|
referralSuspensionSchema
|
|
147
|
-
} from "../chunk-
|
|
147
|
+
} from "../chunk-RW4XQN4Z.js";
|
|
148
148
|
import {
|
|
149
149
|
telegramChatConnectionSchema,
|
|
150
150
|
telegramChatIdSchema,
|
|
151
151
|
telegramChatsSchema
|
|
152
152
|
} from "../chunk-B65YJ6K4.js";
|
|
153
153
|
import "../chunk-SBW52XXL.js";
|
|
154
|
-
import "../chunk-
|
|
154
|
+
import "../chunk-4PYFM2YF.js";
|
|
155
155
|
import "../chunk-FTGW72A6.js";
|
|
156
156
|
import {
|
|
157
157
|
CompletionSourceKind,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
import { L as LedgerReference, r as QuestHandle } from './schema-Cgmj-CbC.js';
|
|
3
|
-
import {
|
|
3
|
+
import { r as ProjectGroupReference } from './groups-DY5rZssO.js';
|
|
4
4
|
|
|
5
5
|
declare const completionPrerequisiteSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6
6
|
kind: z.ZodLiteral<"completion">;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as AuthProvider, b as TelegramSignInMethods } from './accounts-DRPENuZe.js';
|
|
2
|
-
import { p as createRelayClient, k as RelayRequestOptions, g as RelayError } from './client-
|
|
2
|
+
import { p as createRelayClient, k as RelayRequestOptions, g as RelayError } from './client-CxHKODc4.js';
|
|
3
3
|
import { b as ParticipantSession } from './participant-activity-CoB2F30C.js';
|
|
4
4
|
import { C as CosmosChain, a as CosmosNetwork, f as WalletSigner, d as WalletSignInNetwork } from './wallet-t7uNDg9p.js';
|
|
5
5
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
import { at as PublishedRelease, O as OpenIdentityKind, a as AttemptStatus, u as TrackerSource, D as TrackerDataSchema, aY as TrackerSourceResponse, av as QuestDescription, ai as CompletionSourceKind, aV as TrackerQuery, cF as trackerContentReadSchema, cI as trackerControlSchema, cQ as trackerIngestSchema, aS as TrackerOutcomeQuery, a$ as TrackerTriggerOutcomeQuery, cT as trackerOutcomeRetrySchema, aU as TrackerPreviewInput, cJ as trackerCreateSchema, dd as trackerUpdateSchema, bl as contentPerformanceQuerySchema, cs as submitSchema, cm as staffDecisionSchema, bd as beginHandoverSchema, bi as confirmHandoverSchema, bs as entitlementCorrectionSchema, bn as createStockItemSchema, bh as configurePickupSchema, aC as QuestSubmissionStatus, c1 as questSettingsInputSchema } from './schema-Cgmj-CbC.js';
|
|
3
3
|
import { k as ResponseSchema, a as PageQuery, H as contentQualificationQuerySchema, u as allocateQuestSchema, x as catalogDeploymentSchema, ah as saveQuestDraftSchema, T as publishQuestDraftSchema, M as ManagementStateQuery, t as RewardDeliveryQuery, l as RewardDeliveryAction, N as memberEnrollmentInputSchema, R as ResponseResult } from './pages-DR2YRvAp.js';
|
|
4
|
-
import { p as createBadgeSchema, m as badgeMutationSchema, n as badgePropertiesSchema, j as RedemptionQuery, w as offerControlSchema, D as redemptionCancellationSchema } from './offers-
|
|
4
|
+
import { p as createBadgeSchema, m as badgeMutationSchema, n as badgePropertiesSchema, j as RedemptionQuery, w as offerControlSchema, D as redemptionCancellationSchema } from './offers-DtYGNKdQ.js';
|
|
5
5
|
import { a as RequestError, c as RequestErrorKind, O as OptionalActionId } from './action-DBzILFx9.js';
|
|
6
|
-
import {
|
|
6
|
+
import { a4 as engagementChangePreviewInputSchema, a6 as engagementChangeSchema, ai as engagementVersionQuerySchema, a9 as engagementPageQuerySchema, ab as engagementPublishSchema, a0 as createPointLedgerSchema, aV as pointLedgerPropertiesSchema, aX as pointLedgerSchema, aM as managedPointLedgerSchema, a_ as pointsMutationSchema, Q as ManagedPointHistoryPage, ba as referralManagementSchema, bf as referralSuspensionSchema, bb as referralQualificationSchema, bd as referralRewardResolutionSchema, b7 as referralControlSchema, aB as leaderboardQuerySchema, as as leaderboardExclusionSchema, aq as leaderboardExclusionGroupBindingSchema, r as ProjectGroupReference, at as leaderboardGroupSchema, aD as leaderboardSettlementApprovalSchema, F as GroupPageQuery, $ as createGroupSchema, bh as updateGroupSchema, U as addGroupMemberSchema, bg as removeGroupMemberSchema, aN as memberCampaignEnrollmentInputSchema, aO as memberCampaignWithdrawalInputSchema } from './groups-DY5rZssO.js';
|
|
7
7
|
import { C as profileSettingsInputSchema, z as profileModerationSchema } from './profiles-BHuQdzsW.js';
|
|
8
8
|
import { r as collectionBeginSchema, z as counterHistoryQuerySchema, E as counterModerationSchema, o as automaticSchedulingQuerySchema, p as automaticSchedulingRetrySchema, l as automaticOutcomeQuerySchema, g as automaticCatchUpInputSchema, f as automaticCatchUpConfirmSchema } from './automatic-outcomes-DDbgRubQ.js';
|
|
9
9
|
import './attempt-captures-CSiN1HKd.js';
|