@domino-sdk/relay 1.30.0 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring.d.ts +40 -40
- package/dist/authoring.js +4 -4
- package/dist/browser.d.ts +3 -3
- package/dist/browser.js +10 -10
- package/dist/{chunk-DDA7G23P.js → chunk-32UPB7Q3.js} +1 -1
- package/dist/{chunk-LPURBE7D.js → chunk-3WJBL74Q.js} +1 -1
- package/dist/{chunk-PNCLJOUD.js → chunk-466IRAJP.js} +1 -1
- package/dist/{chunk-C3KL5SGM.js → chunk-5QZGXYH7.js} +12 -1
- package/dist/{chunk-AOB3N4QO.js → chunk-A7SJDWBR.js} +1 -1
- package/dist/{chunk-24BMKPCY.js → chunk-BEGFBWEG.js} +17 -6
- package/dist/{chunk-JNBNL7FE.js → chunk-BUHGXKPY.js} +1 -1
- package/dist/{chunk-FHOEVR3S.js → chunk-F3JLZ7MR.js} +25 -12
- package/dist/{chunk-W7PDXGYB.js → chunk-IJT4EKFY.js} +1 -1
- package/dist/{chunk-FPKBRUIC.js → chunk-KUZXNKHL.js} +1 -1
- package/dist/{chunk-NFLNEKZ5.js → chunk-LSJPJQW4.js} +4 -4
- package/dist/{chunk-MNL5NSC4.js → chunk-MHPTCD5O.js} +10 -4
- package/dist/{chunk-BVEWY2ZL.js → chunk-OW22TOV7.js} +1 -0
- package/dist/{chunk-P23AWV76.js → chunk-V36CPSZW.js} +2 -2
- package/dist/{chunk-CCTZIHWN.js → chunk-V7K7XXFB.js} +1 -1
- package/dist/{chunk-CMGGWWH3.js → chunk-WULPIU3Z.js} +2 -2
- package/dist/{client-Ciy0g8Hx.d.ts → client-CFFgPnIX.d.ts} +7 -2
- package/dist/deployments-DMVpPnGX.d.ts +22166 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +8 -8
- package/dist/{offers-DzdzB2ZI.d.ts → offers-D14uyLQQ.d.ts} +90 -1
- package/dist/{pages-DFZThUH7.d.ts → pages-C1tNuRoB.d.ts} +15 -1
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +10 -10
- package/dist/schema.d.ts +316 -313
- package/dist/schema.js +17 -7
- package/dist/server/index.d.ts +4 -4
- package/dist/server/index.js +77 -19
- package/dist/{telegram-browser-DJiawHY-.d.ts → telegram-browser-zPO8yYDJ.d.ts} +1 -1
- package/dist/testing.js +5 -5
- package/dist/{transport-BSGalAsT.d.ts → transport-leWfCbHS.d.ts} +76256 -35680
- package/package.json +1 -1
- package/dist/deployments-V_BQ1PdE.d.ts +0 -10020
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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-D14uyLQQ.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-CFFgPnIX.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-DquhoBae.js';
|
|
5
5
|
export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
|
|
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-
|
|
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-C1tNuRoB.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-BPZiW7m7.js';
|
|
9
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 LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition } from './groups-sgKusEzF.js';
|
package/dist/index.js
CHANGED
|
@@ -5,22 +5,22 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
QuestUpdatedError,
|
|
7
7
|
createRelayClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-F3JLZ7MR.js";
|
|
9
9
|
import {
|
|
10
10
|
createRelayAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IJT4EKFY.js";
|
|
12
12
|
import {
|
|
13
13
|
QuestOutcomeState
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MHPTCD5O.js";
|
|
15
15
|
import {
|
|
16
16
|
PointEntryKind
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-5QZGXYH7.js";
|
|
18
|
+
import "./chunk-BUHGXKPY.js";
|
|
19
|
+
import "./chunk-V7K7XXFB.js";
|
|
20
|
+
import "./chunk-A7SJDWBR.js";
|
|
21
21
|
import {
|
|
22
22
|
sessionMember
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-466IRAJP.js";
|
|
24
24
|
import {
|
|
25
25
|
AttemptStatus,
|
|
26
26
|
RelayError,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
isRelayError,
|
|
30
30
|
isRequestError,
|
|
31
31
|
paginate
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-OW22TOV7.js";
|
|
33
33
|
export {
|
|
34
34
|
AttemptStatus,
|
|
35
35
|
PointEntryKind,
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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-leWfCbHS.js';
|
|
2
2
|
export { E as Extracted } from './x-58jkoblN.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-DquhoBae.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import './pages-
|
|
7
|
-
import './offers-
|
|
6
|
+
import './pages-C1tNuRoB.js';
|
|
7
|
+
import './offers-D14uyLQQ.js';
|
|
8
8
|
import './groups-sgKusEzF.js';
|
|
9
9
|
import './profiles-BHuQdzsW.js';
|
|
10
10
|
import './automatic-outcomes-CHiFP_U-.js';
|
|
11
11
|
import './attempt-captures-nMDnKGdI.js';
|
|
12
|
-
import './deployments-
|
|
12
|
+
import './deployments-DMVpPnGX.js';
|
|
13
13
|
|
|
14
14
|
/** The management client's and the CLI's default deadline per call. */
|
|
15
15
|
declare const MANAGEMENT_TIMEOUT = 30000;
|
package/dist/internal.js
CHANGED
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
participantExchangeSchema,
|
|
10
10
|
questConfiguration,
|
|
11
11
|
sequenceCursorSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LSJPJQW4.js";
|
|
13
13
|
import {
|
|
14
14
|
parseImageExtraction,
|
|
15
15
|
parseImageResult
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-V36CPSZW.js";
|
|
17
|
+
import "./chunk-KUZXNKHL.js";
|
|
18
18
|
import {
|
|
19
19
|
sourceDataSchema,
|
|
20
20
|
sourceRoles,
|
|
21
21
|
validateQuestShape
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3WJBL74Q.js";
|
|
23
23
|
import {
|
|
24
24
|
isIntegrationParticipantPath,
|
|
25
25
|
isParticipantRoute,
|
|
@@ -31,9 +31,9 @@ import {
|
|
|
31
31
|
lifetime,
|
|
32
32
|
retryAfter,
|
|
33
33
|
retrying
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-V7K7XXFB.js";
|
|
35
|
+
import "./chunk-A7SJDWBR.js";
|
|
36
|
+
import "./chunk-466IRAJP.js";
|
|
37
37
|
import {
|
|
38
38
|
schemaCheckedReader,
|
|
39
39
|
trackerDataBatchSteps,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
trackerDataPathTypes,
|
|
43
43
|
trackerDataRecordSteps,
|
|
44
44
|
whereSchemaIssue
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-OW22TOV7.js";
|
|
46
46
|
export {
|
|
47
47
|
MANAGEMENT_TIMEOUT,
|
|
48
48
|
REFERRAL_INTEGRATION_REWARD_ERROR,
|
|
@@ -470,6 +470,95 @@ declare const redemptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
470
470
|
redeemedAt: z.ZodNumber;
|
|
471
471
|
}, z.core.$strict>], "status">;
|
|
472
472
|
type Redemption = z.infer<typeof redemptionSchema>;
|
|
473
|
+
/**
|
|
474
|
+
* Which redemptions `management.redemptions.history` reads: one member's or everyone's, a page's
|
|
475
|
+
* `nextCursor` as `cursor`, and `limit`, 1 to 100 a page, 25 by default.
|
|
476
|
+
*/
|
|
477
|
+
declare const redemptionQuerySchema: z.ZodObject<{
|
|
478
|
+
member: z.ZodOptional<z.ZodString>;
|
|
479
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
480
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
481
|
+
}, z.core.$strict>;
|
|
482
|
+
type RedemptionQuery = z.input<typeof redemptionQuerySchema>;
|
|
483
|
+
/** One page of redemptions, newest first. */
|
|
484
|
+
declare const redemptionPageSchema: z.ZodObject<{
|
|
485
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
486
|
+
status: z.ZodLiteral<"fulfilled">;
|
|
487
|
+
id: z.ZodString;
|
|
488
|
+
offer: z.ZodString;
|
|
489
|
+
member: z.ZodString;
|
|
490
|
+
reservation: z.ZodString;
|
|
491
|
+
price: z.ZodObject<{
|
|
492
|
+
kind: z.ZodDefault<z.ZodLiteral<"points">>;
|
|
493
|
+
balance: z.ZodString;
|
|
494
|
+
amount: z.ZodNumber;
|
|
495
|
+
}, z.core.$strict>;
|
|
496
|
+
reward: z.ZodObject<{
|
|
497
|
+
kind: z.ZodLiteral<"tier">;
|
|
498
|
+
reward: z.ZodObject<{
|
|
499
|
+
badge: z.ZodOptional<z.ZodString>;
|
|
500
|
+
id: z.ZodString;
|
|
501
|
+
title: z.ZodString;
|
|
502
|
+
tiers: z.ZodArray<z.ZodObject<{
|
|
503
|
+
id: z.ZodString;
|
|
504
|
+
title: z.ZodString;
|
|
505
|
+
}, z.core.$strict>>;
|
|
506
|
+
inventory: z.ZodObject<{
|
|
507
|
+
kind: z.ZodLiteral<"untracked">;
|
|
508
|
+
}, z.core.$strict>;
|
|
509
|
+
fulfillment: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
510
|
+
kind: z.ZodLiteral<"staff-handover">;
|
|
511
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
512
|
+
kind: z.ZodLiteral<"automatic">;
|
|
513
|
+
}, z.core.$strict>], "kind">;
|
|
514
|
+
}, z.core.$strict>;
|
|
515
|
+
tier: z.ZodString;
|
|
516
|
+
}, z.core.$strict>;
|
|
517
|
+
entitlement: z.ZodString;
|
|
518
|
+
revision: z.ZodNumber;
|
|
519
|
+
redeemedAt: z.ZodNumber;
|
|
520
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
521
|
+
status: z.ZodLiteral<"canceled">;
|
|
522
|
+
canceledAt: z.ZodNumber;
|
|
523
|
+
reason: z.ZodString;
|
|
524
|
+
id: z.ZodString;
|
|
525
|
+
offer: z.ZodString;
|
|
526
|
+
member: z.ZodString;
|
|
527
|
+
reservation: z.ZodString;
|
|
528
|
+
price: z.ZodObject<{
|
|
529
|
+
kind: z.ZodDefault<z.ZodLiteral<"points">>;
|
|
530
|
+
balance: z.ZodString;
|
|
531
|
+
amount: z.ZodNumber;
|
|
532
|
+
}, z.core.$strict>;
|
|
533
|
+
reward: z.ZodObject<{
|
|
534
|
+
kind: z.ZodLiteral<"tier">;
|
|
535
|
+
reward: z.ZodObject<{
|
|
536
|
+
badge: z.ZodOptional<z.ZodString>;
|
|
537
|
+
id: z.ZodString;
|
|
538
|
+
title: z.ZodString;
|
|
539
|
+
tiers: z.ZodArray<z.ZodObject<{
|
|
540
|
+
id: z.ZodString;
|
|
541
|
+
title: z.ZodString;
|
|
542
|
+
}, z.core.$strict>>;
|
|
543
|
+
inventory: z.ZodObject<{
|
|
544
|
+
kind: z.ZodLiteral<"untracked">;
|
|
545
|
+
}, z.core.$strict>;
|
|
546
|
+
fulfillment: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
547
|
+
kind: z.ZodLiteral<"staff-handover">;
|
|
548
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
549
|
+
kind: z.ZodLiteral<"automatic">;
|
|
550
|
+
}, z.core.$strict>], "kind">;
|
|
551
|
+
}, z.core.$strict>;
|
|
552
|
+
tier: z.ZodString;
|
|
553
|
+
}, z.core.$strict>;
|
|
554
|
+
entitlement: z.ZodString;
|
|
555
|
+
revision: z.ZodNumber;
|
|
556
|
+
redeemedAt: z.ZodNumber;
|
|
557
|
+
}, z.core.$strict>], "status">>;
|
|
558
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
559
|
+
}, z.core.$strip>;
|
|
560
|
+
/** @compat output */
|
|
561
|
+
type RedemptionPage = z.infer<typeof redemptionPageSchema>;
|
|
473
562
|
declare const offerControlSchema: z.ZodObject<{
|
|
474
563
|
actionId: z.ZodString;
|
|
475
564
|
revision: z.ZodNumber;
|
|
@@ -518,4 +607,4 @@ declare function defineOffer(input: OfferAuthoring & AuthoringIdentity): {
|
|
|
518
607
|
key: string;
|
|
519
608
|
} & ResourceHandle<"offer">;
|
|
520
609
|
|
|
521
|
-
export {
|
|
610
|
+
export { offerSchema as A, type Badge as B, redeemOfferSchema as C, redemptionCancellationSchema as D, redemptionPageSchema as E, redemptionQuerySchema as F, redemptionSchema as G, type ManagedBadge as M, type Offer as O, type RedeemOfferInput as R, type MemberBadge as a, type MemberBadges as b, type OfferDefinition as c, type OfferPrice as d, type Redemption as e, badgeDeclarationSchema as f, defineOffer as g, type OfferAuthoring as h, type RedemptionPage as i, type RedemptionQuery as j, badgeArtifactSchema as k, badgeMutationResultSchema as l, badgeMutationSchema as m, badgePropertiesSchema as n, badgeSchema as o, createBadgeSchema as p, managedBadgeSchema as q, memberBadgeSchema as r, memberBadgesSchema as s, offerArtifactSchema as t, offerAuthoringSchema as u, offerAvailabilitySchema as v, offerControlSchema as w, offerDefinitionSchema as x, offerLimitSchema as y, offerPriceSchema as z };
|
|
@@ -123,6 +123,10 @@ declare const rewardDeliverySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
123
123
|
reason: z.ZodNullable<z.ZodString>;
|
|
124
124
|
}, z.core.$catchall<z.ZodJSONSchema>>>>;
|
|
125
125
|
}, z.core.$catchall<z.ZodOptional<z.ZodJSONSchema>>>]>;
|
|
126
|
+
/**
|
|
127
|
+
* One page of reward deliveries, newest first. Pass `nextCursor` back as `cursor` for older ones;
|
|
128
|
+
* it is null on the last page.
|
|
129
|
+
*/
|
|
126
130
|
declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
127
131
|
deliveries: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
128
132
|
id: z.ZodString;
|
|
@@ -183,7 +187,17 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
183
187
|
reason: z.ZodNullable<z.ZodString>;
|
|
184
188
|
}, z.core.$catchall<z.ZodJSONSchema>>>>;
|
|
185
189
|
}, z.core.$catchall<z.ZodOptional<z.ZodJSONSchema>>>]>>;
|
|
190
|
+
nextCursor: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
186
191
|
}, z.core.$strip>;
|
|
192
|
+
/**
|
|
193
|
+
* Which page of reward deliveries to read: a page's `nextCursor` as `cursor`, and `limit`, 1 to
|
|
194
|
+
* 500 deliveries a page, 500 by default.
|
|
195
|
+
*/
|
|
196
|
+
declare const rewardDeliveryQuerySchema: z.ZodObject<{
|
|
197
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
198
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
199
|
+
}, z.core.$strict>;
|
|
200
|
+
type RewardDeliveryQuery = z.input<typeof rewardDeliveryQuerySchema>;
|
|
187
201
|
type RewardDelivery = z.infer<typeof rewardDeliverySchema>;
|
|
188
202
|
|
|
189
203
|
declare const interactionSchema: z.ZodEnum<{
|
|
@@ -5753,4 +5767,4 @@ declare const managementStateQuerySchema: z.ZodObject<{
|
|
|
5753
5767
|
}, z.core.$strict>;
|
|
5754
5768
|
type ManagementStateQuery = z.input<typeof managementStateQuerySchema>;
|
|
5755
5769
|
|
|
5756
|
-
export {
|
|
5770
|
+
export { questEnrollmentSchema as $, collectionViewSchema as A, contentMetricSchema as B, type ContentMetric as C, contentMetricsSchema as D, contentPerformancePolicySchema as E, contentQualificationDecisionSchema as F, contentQualificationPageSchema as G, contentQualificationQuerySchema as H, contentQualificationSchema as I, interactionSchema as J, knownRewardDeliverySchema as K, managementStateQuerySchema as L, type ManagementStateQuery as M, memberEnrollmentInputSchema as N, pageCursorSchema as O, type Page as P, type QuestClaimInput as Q, type ResponseResult as R, pageQuerySchema as S, publishQuestDraftSchema as T, type UnsupportedResponse as U, questCatalogSchema as V, questClaimInputSchema as W, questCollectionSchema as X, questDraftChangesSchema as Y, questDraftSchema as Z, questEnrollmentInputSchema as _, type PageQuery as a, questExperienceSchema as a0, questInstanceSchema as a1, questInteraction as a2, questOutcomePageSchema as a3, questOutcomeQuerySchema as a4, questOutcomeSchema as a5, questPublicationPreviewSchema as a6, questRewardViewSchema as a7, questTypeVersionSchema as a8, questViewSchema as a9, responseListSchema as aa, responseSchema as ab, responseShape as ac, rewardDeliveriesSchema as ad, rewardDeliveryQuerySchema as ae, rewardDeliverySchema as af, roleReconciliationSchema as ag, saveQuestDraftSchema as ah, type QuestEnrollment as b, type QuestEnrollmentInput as c, type QuestInteraction as d, type QuestOutcome as e, type QuestOutcomePage as f, type QuestOutcomeQuery as g, QuestOutcomeState as h, type QuestRewardView as i, type QuestView as j, type ResponseSchema as k, RewardDeliveryAction as l, type ContentPerformancePolicy as m, type MemberEnrollmentInput as n, type QuestCatalog as o, paginate as p, type QuestDraft as q, type QuestInstance as r, type RewardDelivery as s, type RewardDeliveryQuery as t, allocateQuestSchema as u, allocatedQuestSchema as v, catalogDeploymentPreviewSchema as w, catalogDeploymentSchema as x, collectionSlotDeclarationSchema as y, collectionSlotSchema as z };
|
package/dist/portal-proxy.js
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-DP4YWFMY.js";
|
|
4
4
|
import {
|
|
5
5
|
clientIdentity
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-A7SJDWBR.js";
|
|
7
7
|
import {
|
|
8
8
|
exchangeResultSchema
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-466IRAJP.js";
|
|
10
|
+
import "./chunk-OW22TOV7.js";
|
|
11
11
|
|
|
12
12
|
// src/portal-proxy.ts
|
|
13
13
|
var statusCode = (status) => ({
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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-D14uyLQQ.js';
|
|
2
2
|
import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../participant-activity-BPZiW7m7.js';
|
|
3
|
-
import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-
|
|
4
|
-
import { P as Page,
|
|
3
|
+
import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-CFFgPnIX.js';
|
|
4
|
+
import { P as Page, A as collectionViewSchema, j as QuestView, g as QuestOutcomeQuery, e as QuestOutcome } from '../pages-C1tNuRoB.js';
|
|
5
5
|
import * as react from 'react';
|
|
6
6
|
import { ReactNode } from 'react';
|
|
7
7
|
import { J as JSONType } from '../util.d-w9f9t3ua.js';
|
|
@@ -9,8 +9,8 @@ import { z } from 'zod';
|
|
|
9
9
|
import { E as Entitlement, a as AttemptStatus, T as TieredRewardReference } from '../schema-DquhoBae.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-zPO8yYDJ.js';
|
|
13
|
+
export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-zPO8yYDJ.js';
|
|
14
14
|
import { f as WalletSigner, d as WalletSignInNetwork, L as LinkedWallet } from '../wallet-t7uNDg9p.js';
|
|
15
15
|
import { f as LeaderboardPlacement, ba as referralSummarySchema, e as LeaderboardPage, i as PointBalances, j as PointEntry, n as PointLedgerReference } from '../groups-sgKusEzF.js';
|
|
16
16
|
import { f as ProfileUpdate, e as ProfileSummary, a as ProfileCompletion, d as ProfileReferral } from '../profiles-BHuQdzsW.js';
|
package/dist/react/index.js
CHANGED
|
@@ -9,19 +9,19 @@ import {
|
|
|
9
9
|
readSignInMethods,
|
|
10
10
|
signInOptionsFrom,
|
|
11
11
|
telegramMiniAppInitData
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-WULPIU3Z.js";
|
|
13
|
+
import "../chunk-F3JLZ7MR.js";
|
|
14
14
|
import {
|
|
15
15
|
createRelayAction
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-IJT4EKFY.js";
|
|
17
|
+
import "../chunk-MHPTCD5O.js";
|
|
18
|
+
import "../chunk-5QZGXYH7.js";
|
|
19
|
+
import "../chunk-BUHGXKPY.js";
|
|
20
|
+
import "../chunk-V7K7XXFB.js";
|
|
21
|
+
import "../chunk-A7SJDWBR.js";
|
|
22
22
|
import {
|
|
23
23
|
sessionMember
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-466IRAJP.js";
|
|
25
25
|
import {
|
|
26
26
|
RelayError,
|
|
27
27
|
RelayErrorCode,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
clientError,
|
|
30
30
|
isRelayError,
|
|
31
31
|
isRequestError
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-OW22TOV7.js";
|
|
33
33
|
|
|
34
34
|
// src/react/context.ts
|
|
35
35
|
import { createContext, useContext } from "react";
|