@domino-sdk/relay 1.7.0 → 1.10.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/action-9Xl0StBg.d.ts +33 -0
- package/dist/{activity-Br6vyYze.d.ts → activity-C0O3g7VJ.d.ts} +9 -9
- package/dist/authoring.d.ts +12 -12
- package/dist/authoring.js +3 -3
- package/dist/{automatic-outcomes-C1Q9LrDb.d.ts → automatic-outcomes-kPIDv6X_.d.ts} +1 -1
- package/dist/avatar.d.ts +2 -2
- package/dist/browser.d.ts +9 -8
- package/dist/browser.js +8 -6
- package/dist/{capability-error-Bv996M-h.d.ts → capability-error-ty3SqD_b.d.ts} +1 -1
- package/dist/{chunk-KGJSKGKI.js → chunk-23JUD56J.js} +1119 -910
- package/dist/{chunk-ZOUEEK5L.js → chunk-7BRHUUVB.js} +83 -26
- package/dist/{chunk-C25TDFHN.js → chunk-BKLGWPPD.js} +48 -37
- package/dist/{chunk-6ON4RMEN.js → chunk-BUXNTVER.js} +1 -1
- package/dist/{chunk-BFZHJA2B.js → chunk-GEPSEVQO.js} +2 -2
- package/dist/chunk-GFAFH7XR.js +98 -0
- package/dist/{chunk-6RBF3UDA.js → chunk-GPS546KR.js} +232 -7
- package/dist/{chunk-5ECM6AWV.js → chunk-MMWTHVXW.js} +3 -3
- package/dist/chunk-N2HXMTVA.js +13 -0
- package/dist/{chunk-23QJ7WH4.js → chunk-QL77V77D.js} +1 -1
- package/dist/{chunk-GMPPLZKH.js → chunk-UIR6NSYZ.js} +243 -228
- package/dist/{chunk-JW4G3SY5.js → chunk-WRBPLXVP.js} +60 -47
- package/dist/{client-pfml_XAa.d.ts → client-Yq11HA_f.d.ts} +64 -43
- package/dist/{groups-BpWEqaPn.d.ts → groups-BK8ts2yK.d.ts} +94 -6
- package/dist/{images-BaKYd0fl.d.ts → images-aw6W7vFZ.d.ts} +2 -2
- package/dist/index.d.ts +10 -9
- package/dist/index.js +10 -5
- package/dist/internal.d.ts +3 -3
- package/dist/internal.js +5 -5
- package/dist/{offers-CYtal8jO.d.ts → offers-C2FANzrG.d.ts} +3 -3
- package/dist/{pages-CixTNnF4.d.ts → pages-D00JDZB-.d.ts} +70 -39
- package/dist/portal-proxy.js +8 -2
- package/dist/react/index.d.ts +203 -19
- package/dist/react/index.js +256 -113
- package/dist/{referral-reward-kinds-ClxAuCGx.d.ts → referral-reward-kinds-M3f0PdiR.d.ts} +2 -2
- package/dist/{schema-CQydLqw4.d.ts → schema-DEM8y8Fm.d.ts} +16 -16
- package/dist/schema.d.ts +11239 -13
- package/dist/schema.js +38 -6
- package/dist/server/index.d.ts +43693 -52
- package/dist/server/index.js +465 -53
- package/dist/{sign-in-options-CtXUFV7E.d.ts → sign-in-options-Coim0G1u.d.ts} +3 -3
- package/dist/{submission-input-CLefHTrj.d.ts → submission-input-BbBJTVlT.d.ts} +3 -3
- package/dist/util.d-w9f9t3ua.d.ts +5 -0
- package/dist/{wallet-YssWxGg8.d.ts → wallet-CDyo-U4n.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/{profiles-D2aFcOxu.d.ts → profiles-BHMVj0kM.d.ts} +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { P as PhotoResult } from './schema-
|
|
2
|
+
import { P as PhotoResult } from './schema-DEM8y8Fm.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Quest code names an image; the platform fetches, decodes and pins it. No bytes or URLs cross the
|
|
@@ -231,4 +231,4 @@ interface ImageReader {
|
|
|
231
231
|
}): Promise<ImageSightings>;
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
export { type Extracted as E, type
|
|
234
|
+
export { type Extracted as E, type ImageReader as I, type PublishedImage as P, type ImageAssetArtifact as a, type ImageComparison as b, type ImageExtraction as c, type ImageFields as d, type ImageInspection as e, type ImageReference as f, type ImageRequest as g, type ImageSightings as h, imageAssetArtifactSchema as i, imageComparisonSchema as j, imageExtractionSchema as k, imageFieldSchema as l, imageFieldsSchema as m, imageInspectionSchema as n, imageReferenceSchema as o, imageRequestSchema as p, imageSightingsSchema as q, imageUploadRequestSchema as r, imageUploadsSchema as s, publishedImageSchema as t };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { R as RelayAction, c as createRelayAction } from './action-9Xl0StBg.js';
|
|
2
|
+
export { C as ClaimSubmission, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionDraft, m as SubmissionStatus, n as SubmissionStore, V as ValueSubmission, o as createRelayClient, p as isRelayError } from './client-Yq11HA_f.js';
|
|
2
3
|
export { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind, c as RequestRecovery, i as isRequestError } from './request-error-D_dUPLwo.js';
|
|
3
|
-
export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownTrackerSkipCode, M as MemberProgress, Q as QuestBudgetView, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, R as Reward, S as SubmissionEvidence, g as SubmitInput, T as TieredRewardReference, h as TrackerSkipCode } from './schema-
|
|
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-DEM8y8Fm.js';
|
|
4
5
|
export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
|
|
5
|
-
export { A as AccountConnection, a as AuthProvider, M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, b as TextOptions, U as UrlEvidence, c as UrlOptions, V as ValueEvidence } from './submission-input-
|
|
6
|
+
export { A as AccountConnection, a as AuthProvider, M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, b as TextOptions, U as UrlEvidence, c as UrlOptions, V as ValueEvidence } from './submission-input-BbBJTVlT.js';
|
|
6
7
|
export { E as ExchangeInput, M as MemberSummary, P as ParticipantActivity, a as ParticipantPrincipal, b as ParticipantSession, R as RelayEvent, S as Session, s as sessionMember } from './participant-activity-DkL3nY5a.js';
|
|
7
|
-
export { P as Page, a as PageQuery, Q as QuestClaimInput, b as QuestEnrollment, c as QuestEnrollmentInput, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView } from './pages-
|
|
8
|
-
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition } from './groups-
|
|
9
|
-
export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-
|
|
10
|
-
export { O as Offer, a as OfferDefinition, b as OfferPrice, R as RedeemOfferInput, c as Redemption } from './offers-
|
|
11
|
-
export { A as AvatarProvider, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, d as ProfileReferral, e as ProfileSummary, f as ProfileUpdate, g as ProfileVisibility } from './profiles-
|
|
8
|
+
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 } from './pages-D00JDZB-.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 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-BK8ts2yK.js';
|
|
10
|
+
export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-kPIDv6X_.js';
|
|
11
|
+
export { O as Offer, a as OfferDefinition, b as OfferPrice, R as RedeemOfferInput, c as Redemption } from './offers-C2FANzrG.js';
|
|
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-BHMVj0kM.js';
|
|
12
13
|
export { Q as QuizContent, S as StreakProgress } from './streaks-CWyq8Px5.js';
|
|
13
|
-
export { C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, W as WalletAddressInput, b as WalletChain, c as WalletMessageChallenge, d as WalletSignInNetwork, e as WalletSignature, f as WalletSigner, g as WalletUnlinkInput } from './wallet-
|
|
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-CDyo-U4n.js';
|
|
14
15
|
export { P as ParticipantDelivery } from './participant-rewards-3duLb8YJ.js';
|
|
15
16
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -5,27 +5,31 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
QuestUpdatedError,
|
|
7
7
|
createRelayClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7BRHUUVB.js";
|
|
9
|
+
import {
|
|
10
|
+
createRelayAction
|
|
11
|
+
} from "./chunk-GFAFH7XR.js";
|
|
9
12
|
import {
|
|
10
13
|
QuestOutcomeState
|
|
11
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BKLGWPPD.js";
|
|
12
15
|
import {
|
|
13
16
|
PointEntryKind,
|
|
14
17
|
RelayError,
|
|
15
18
|
RelayErrorCode,
|
|
16
19
|
isRelayError
|
|
17
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UIR6NSYZ.js";
|
|
18
21
|
import "./chunk-6QJ3LADK.js";
|
|
19
22
|
import {
|
|
20
23
|
RequestError,
|
|
21
24
|
isRequestError
|
|
22
25
|
} from "./chunk-NPGENI7K.js";
|
|
26
|
+
import "./chunk-N2HXMTVA.js";
|
|
23
27
|
import {
|
|
24
28
|
sessionMember
|
|
25
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BUXNTVER.js";
|
|
26
30
|
import {
|
|
27
31
|
AttemptStatus
|
|
28
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-23JUD56J.js";
|
|
29
33
|
export {
|
|
30
34
|
AttemptStatus,
|
|
31
35
|
PointEntryKind,
|
|
@@ -34,6 +38,7 @@ export {
|
|
|
34
38
|
RelayError,
|
|
35
39
|
RelayErrorCode,
|
|
36
40
|
RequestError,
|
|
41
|
+
createRelayAction,
|
|
37
42
|
createRelayClient,
|
|
38
43
|
formatUnits,
|
|
39
44
|
isRelayError,
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { I as IdentityKindClaim, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, m as sourceRoles, v as validateQuestShape } from './referral-reward-kinds-
|
|
2
|
-
export { E as Extracted } from './images-
|
|
1
|
+
export { I as IdentityKindClaim, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, m as sourceRoles, v as validateQuestShape } from './referral-reward-kinds-M3f0PdiR.js';
|
|
2
|
+
export { E as Extracted } from './images-aw6W7vFZ.js';
|
|
3
3
|
import { b as RequestErrorKind } from './request-error-D_dUPLwo.js';
|
|
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-
|
|
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-DEM8y8Fm.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
|
7
7
|
/** The management client's and the CLI's default deadline per call. */
|
package/dist/internal.js
CHANGED
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
participantExchangeSchema,
|
|
11
11
|
questConfiguration,
|
|
12
12
|
sequenceCursorSchema
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-MMWTHVXW.js";
|
|
14
|
+
import "./chunk-WRBPLXVP.js";
|
|
15
15
|
import {
|
|
16
16
|
sourceDataSchema,
|
|
17
17
|
sourceRoles,
|
|
18
18
|
validateQuestShape
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QL77V77D.js";
|
|
20
20
|
import {
|
|
21
21
|
isIntegrationParticipantPath,
|
|
22
22
|
isParticipantRoute,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
retrying
|
|
31
31
|
} from "./chunk-6QJ3LADK.js";
|
|
32
32
|
import "./chunk-NPGENI7K.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-BUXNTVER.js";
|
|
34
34
|
import {
|
|
35
35
|
schemaCheckedReader,
|
|
36
36
|
trackerDataBatchSteps,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
trackerDataPathTypes,
|
|
40
40
|
trackerDataRecordSteps,
|
|
41
41
|
whereSchemaIssue
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-23JUD56J.js";
|
|
43
43
|
export {
|
|
44
44
|
MANAGEMENT_TIMEOUT,
|
|
45
45
|
REFERRAL_INTEGRATION_REWARD_ERROR,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as ResourceHandle } from './schema-DEM8y8Fm.js';
|
|
2
|
+
import { q as AuthoringIdentity } from './groups-BK8ts2yK.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
declare const offerPriceSchema: z.ZodObject<{
|
|
@@ -429,4 +429,4 @@ declare function defineOffer(input: OfferAuthoring & AuthoringIdentity): {
|
|
|
429
429
|
key: string;
|
|
430
430
|
} & ResourceHandle<"offer">;
|
|
431
431
|
|
|
432
|
-
export { type Offer as O, type RedeemOfferInput as R, type OfferDefinition as a, type OfferPrice as b, type Redemption as c,
|
|
432
|
+
export { type Offer as O, type RedeemOfferInput as R, type OfferDefinition as a, type OfferPrice as b, type Redemption as c, defineOffer as d, type OfferAuthoring as e, offerAuthoringSchema as f, offerAvailabilitySchema as g, offerControlSchema as h, offerDefinitionSchema as i, offerLimitSchema as j, offerPriceSchema as k, offerSchema as l, redemptionCancellationSchema as m, redemptionSchema as n, offerArtifactSchema as o, redeemOfferSchema as r };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a as AttemptStatus,
|
|
2
|
+
import { a as AttemptStatus, bL as questDescriptionSchema, h as TrackerSkipCode } from './schema-DEM8y8Fm.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The delivery actions this SDK knows. `RewardDelivery.action` is an open string: Relay can add
|
|
@@ -187,11 +187,11 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
187
187
|
type RewardDelivery = z.infer<typeof rewardDeliverySchema>;
|
|
188
188
|
|
|
189
189
|
declare const interactionSchema: z.ZodEnum<{
|
|
190
|
+
url: "url";
|
|
190
191
|
text: "text";
|
|
191
192
|
staff: "staff";
|
|
192
193
|
claim: "claim";
|
|
193
194
|
automatic: "automatic";
|
|
194
|
-
url: "url";
|
|
195
195
|
quiz: "quiz";
|
|
196
196
|
photo: "photo";
|
|
197
197
|
}>;
|
|
@@ -430,8 +430,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
430
430
|
required: "required";
|
|
431
431
|
}>>;
|
|
432
432
|
since: z.ZodOptional<z.ZodEnum<{
|
|
433
|
-
activation: "activation";
|
|
434
433
|
window: "window";
|
|
434
|
+
activation: "activation";
|
|
435
435
|
enrollment: "enrollment";
|
|
436
436
|
}>>;
|
|
437
437
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -652,8 +652,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
|
|
|
652
652
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
653
653
|
}, z.core.$strict>>;
|
|
654
654
|
collections: z.ZodArray<z.ZodObject<{
|
|
655
|
-
id: z.ZodString;
|
|
656
655
|
key: z.ZodOptional<z.ZodString>;
|
|
656
|
+
id: z.ZodString;
|
|
657
657
|
title: z.ZodString;
|
|
658
658
|
quests: z.ZodArray<z.ZodString>;
|
|
659
659
|
}, z.core.$strict>>;
|
|
@@ -706,8 +706,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
706
706
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
707
707
|
}, z.core.$strict>>;
|
|
708
708
|
collections: z.ZodArray<z.ZodObject<{
|
|
709
|
-
id: z.ZodString;
|
|
710
709
|
key: z.ZodOptional<z.ZodString>;
|
|
710
|
+
id: z.ZodString;
|
|
711
711
|
title: z.ZodString;
|
|
712
712
|
quests: z.ZodArray<z.ZodString>;
|
|
713
713
|
}, z.core.$strict>>;
|
|
@@ -761,8 +761,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
761
761
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
762
762
|
}, z.core.$strict>>;
|
|
763
763
|
collections: z.ZodArray<z.ZodObject<{
|
|
764
|
-
id: z.ZodString;
|
|
765
764
|
key: z.ZodOptional<z.ZodString>;
|
|
765
|
+
id: z.ZodString;
|
|
766
766
|
title: z.ZodString;
|
|
767
767
|
quests: z.ZodArray<z.ZodString>;
|
|
768
768
|
}, z.core.$strict>>;
|
|
@@ -1000,8 +1000,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1000
1000
|
required: "required";
|
|
1001
1001
|
}>>;
|
|
1002
1002
|
since: z.ZodOptional<z.ZodEnum<{
|
|
1003
|
-
activation: "activation";
|
|
1004
1003
|
window: "window";
|
|
1004
|
+
activation: "activation";
|
|
1005
1005
|
enrollment: "enrollment";
|
|
1006
1006
|
}>>;
|
|
1007
1007
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1216,8 +1216,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1216
1216
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
1217
1217
|
}, z.core.$strict>>;
|
|
1218
1218
|
collections: z.ZodArray<z.ZodObject<{
|
|
1219
|
-
id: z.ZodString;
|
|
1220
1219
|
key: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
id: z.ZodString;
|
|
1221
1221
|
title: z.ZodString;
|
|
1222
1222
|
quests: z.ZodArray<z.ZodString>;
|
|
1223
1223
|
}, z.core.$strict>>;
|
|
@@ -1271,8 +1271,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1271
1271
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
1272
1272
|
}, z.core.$strict>>;
|
|
1273
1273
|
collections: z.ZodArray<z.ZodObject<{
|
|
1274
|
-
id: z.ZodString;
|
|
1275
1274
|
key: z.ZodOptional<z.ZodString>;
|
|
1275
|
+
id: z.ZodString;
|
|
1276
1276
|
title: z.ZodString;
|
|
1277
1277
|
quests: z.ZodArray<z.ZodString>;
|
|
1278
1278
|
}, z.core.$strict>>;
|
|
@@ -1502,8 +1502,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1502
1502
|
required: "required";
|
|
1503
1503
|
}>>;
|
|
1504
1504
|
since: z.ZodOptional<z.ZodEnum<{
|
|
1505
|
-
activation: "activation";
|
|
1506
1505
|
window: "window";
|
|
1506
|
+
activation: "activation";
|
|
1507
1507
|
enrollment: "enrollment";
|
|
1508
1508
|
}>>;
|
|
1509
1509
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1654,11 +1654,11 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1654
1654
|
}, z.core.$strict>>;
|
|
1655
1655
|
}, z.core.$strict>>>;
|
|
1656
1656
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1657
|
+
url: "url";
|
|
1657
1658
|
text: "text";
|
|
1658
1659
|
staff: "staff";
|
|
1659
1660
|
claim: "claim";
|
|
1660
1661
|
automatic: "automatic";
|
|
1661
|
-
url: "url";
|
|
1662
1662
|
quiz: "quiz";
|
|
1663
1663
|
photo: "photo";
|
|
1664
1664
|
}>>;
|
|
@@ -1676,11 +1676,11 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1676
1676
|
key: z.ZodString;
|
|
1677
1677
|
}, z.core.$strict>>>;
|
|
1678
1678
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1679
|
+
url: "url";
|
|
1679
1680
|
text: "text";
|
|
1680
1681
|
staff: "staff";
|
|
1681
1682
|
claim: "claim";
|
|
1682
1683
|
automatic: "automatic";
|
|
1683
|
-
url: "url";
|
|
1684
1684
|
quiz: "quiz";
|
|
1685
1685
|
photo: "photo";
|
|
1686
1686
|
}>>>;
|
|
@@ -1915,8 +1915,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1915
1915
|
required: "required";
|
|
1916
1916
|
}>>;
|
|
1917
1917
|
since: z.ZodOptional<z.ZodEnum<{
|
|
1918
|
-
activation: "activation";
|
|
1919
1918
|
window: "window";
|
|
1919
|
+
activation: "activation";
|
|
1920
1920
|
enrollment: "enrollment";
|
|
1921
1921
|
}>>;
|
|
1922
1922
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2042,11 +2042,11 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
2042
2042
|
title: z.ZodString;
|
|
2043
2043
|
}, z.core.$strict>>;
|
|
2044
2044
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
2045
|
+
url: "url";
|
|
2045
2046
|
text: "text";
|
|
2046
2047
|
staff: "staff";
|
|
2047
2048
|
claim: "claim";
|
|
2048
2049
|
automatic: "automatic";
|
|
2049
|
-
url: "url";
|
|
2050
2050
|
quiz: "quiz";
|
|
2051
2051
|
photo: "photo";
|
|
2052
2052
|
}>>;
|
|
@@ -2100,8 +2100,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
|
|
|
2100
2100
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
2101
2101
|
}, z.core.$strict>>;
|
|
2102
2102
|
collections: z.ZodArray<z.ZodObject<{
|
|
2103
|
-
id: z.ZodString;
|
|
2104
2103
|
key: z.ZodOptional<z.ZodString>;
|
|
2104
|
+
id: z.ZodString;
|
|
2105
2105
|
title: z.ZodString;
|
|
2106
2106
|
quests: z.ZodArray<z.ZodString>;
|
|
2107
2107
|
}, z.core.$strict>>;
|
|
@@ -2252,8 +2252,8 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2252
2252
|
required: "required";
|
|
2253
2253
|
}>>;
|
|
2254
2254
|
since: z.ZodOptional<z.ZodEnum<{
|
|
2255
|
-
activation: "activation";
|
|
2256
2255
|
window: "window";
|
|
2256
|
+
activation: "activation";
|
|
2257
2257
|
enrollment: "enrollment";
|
|
2258
2258
|
}>>;
|
|
2259
2259
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2267,9 +2267,9 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2267
2267
|
availability: z.ZodUnion<(z.ZodObject<{
|
|
2268
2268
|
kind: z.ZodLiteral<"available">;
|
|
2269
2269
|
input: z.ZodEnum<{
|
|
2270
|
+
url: "url";
|
|
2270
2271
|
text: "text";
|
|
2271
2272
|
none: "none";
|
|
2272
|
-
url: "url";
|
|
2273
2273
|
quiz: "quiz";
|
|
2274
2274
|
photo: "photo";
|
|
2275
2275
|
}>;
|
|
@@ -2307,12 +2307,12 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2307
2307
|
}, z.core.$strip> | z.ZodObject<{
|
|
2308
2308
|
kind: z.ZodLiteral<"blocked">;
|
|
2309
2309
|
reason: z.ZodEnum<{
|
|
2310
|
-
paused: "paused";
|
|
2311
2310
|
"outside-window": "outside-window";
|
|
2311
|
+
"enrollment-required": "enrollment-required";
|
|
2312
2312
|
"budget-exhausted": "budget-exhausted";
|
|
2313
|
+
paused: "paused";
|
|
2313
2314
|
"connection-required": "connection-required";
|
|
2314
2315
|
"wallet-required": "wallet-required";
|
|
2315
|
-
"enrollment-required": "enrollment-required";
|
|
2316
2316
|
}>;
|
|
2317
2317
|
window: z.ZodOptional<z.ZodEnum<{
|
|
2318
2318
|
quest: "quest";
|
|
@@ -2572,11 +2572,11 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
2572
2572
|
}, z.core.$strip>>;
|
|
2573
2573
|
release: z.ZodString;
|
|
2574
2574
|
interaction: z.ZodEnum<{
|
|
2575
|
+
url: "url";
|
|
2575
2576
|
text: "text";
|
|
2576
2577
|
staff: "staff";
|
|
2577
2578
|
claim: "claim";
|
|
2578
2579
|
automatic: "automatic";
|
|
2579
|
-
url: "url";
|
|
2580
2580
|
quiz: "quiz";
|
|
2581
2581
|
photo: "photo";
|
|
2582
2582
|
}>;
|
|
@@ -2727,8 +2727,8 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2727
2727
|
required: "required";
|
|
2728
2728
|
}>>;
|
|
2729
2729
|
since: z.ZodOptional<z.ZodEnum<{
|
|
2730
|
-
activation: "activation";
|
|
2731
2730
|
window: "window";
|
|
2731
|
+
activation: "activation";
|
|
2732
2732
|
enrollment: "enrollment";
|
|
2733
2733
|
}>>;
|
|
2734
2734
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2742,9 +2742,9 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2742
2742
|
availability: z.ZodUnion<(z.ZodObject<{
|
|
2743
2743
|
kind: z.ZodLiteral<"available">;
|
|
2744
2744
|
input: z.ZodEnum<{
|
|
2745
|
+
url: "url";
|
|
2745
2746
|
text: "text";
|
|
2746
2747
|
none: "none";
|
|
2747
|
-
url: "url";
|
|
2748
2748
|
quiz: "quiz";
|
|
2749
2749
|
photo: "photo";
|
|
2750
2750
|
}>;
|
|
@@ -2782,12 +2782,12 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2782
2782
|
}, z.core.$strip> | z.ZodObject<{
|
|
2783
2783
|
kind: z.ZodLiteral<"blocked">;
|
|
2784
2784
|
reason: z.ZodEnum<{
|
|
2785
|
-
paused: "paused";
|
|
2786
2785
|
"outside-window": "outside-window";
|
|
2786
|
+
"enrollment-required": "enrollment-required";
|
|
2787
2787
|
"budget-exhausted": "budget-exhausted";
|
|
2788
|
+
paused: "paused";
|
|
2788
2789
|
"connection-required": "connection-required";
|
|
2789
2790
|
"wallet-required": "wallet-required";
|
|
2790
|
-
"enrollment-required": "enrollment-required";
|
|
2791
2791
|
}>;
|
|
2792
2792
|
window: z.ZodOptional<z.ZodEnum<{
|
|
2793
2793
|
quest: "quest";
|
|
@@ -3047,11 +3047,11 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
3047
3047
|
}, z.core.$strip>>;
|
|
3048
3048
|
release: z.ZodString;
|
|
3049
3049
|
interaction: z.ZodEnum<{
|
|
3050
|
+
url: "url";
|
|
3050
3051
|
text: "text";
|
|
3051
3052
|
staff: "staff";
|
|
3052
3053
|
claim: "claim";
|
|
3053
3054
|
automatic: "automatic";
|
|
3054
|
-
url: "url";
|
|
3055
3055
|
quiz: "quiz";
|
|
3056
3056
|
photo: "photo";
|
|
3057
3057
|
}>;
|
|
@@ -3379,8 +3379,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3379
3379
|
required: "required";
|
|
3380
3380
|
}>>;
|
|
3381
3381
|
since: z.ZodOptional<z.ZodEnum<{
|
|
3382
|
-
activation: "activation";
|
|
3383
3382
|
window: "window";
|
|
3383
|
+
activation: "activation";
|
|
3384
3384
|
enrollment: "enrollment";
|
|
3385
3385
|
}>>;
|
|
3386
3386
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3394,9 +3394,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3394
3394
|
availability: z.ZodUnion<(z.ZodObject<{
|
|
3395
3395
|
kind: z.ZodLiteral<"available">;
|
|
3396
3396
|
input: z.ZodEnum<{
|
|
3397
|
+
url: "url";
|
|
3397
3398
|
text: "text";
|
|
3398
3399
|
none: "none";
|
|
3399
|
-
url: "url";
|
|
3400
3400
|
quiz: "quiz";
|
|
3401
3401
|
photo: "photo";
|
|
3402
3402
|
}>;
|
|
@@ -3434,12 +3434,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3434
3434
|
}, z.core.$strip> | z.ZodObject<{
|
|
3435
3435
|
kind: z.ZodLiteral<"blocked">;
|
|
3436
3436
|
reason: z.ZodEnum<{
|
|
3437
|
-
paused: "paused";
|
|
3438
3437
|
"outside-window": "outside-window";
|
|
3438
|
+
"enrollment-required": "enrollment-required";
|
|
3439
3439
|
"budget-exhausted": "budget-exhausted";
|
|
3440
|
+
paused: "paused";
|
|
3440
3441
|
"connection-required": "connection-required";
|
|
3441
3442
|
"wallet-required": "wallet-required";
|
|
3442
|
-
"enrollment-required": "enrollment-required";
|
|
3443
3443
|
}>;
|
|
3444
3444
|
window: z.ZodOptional<z.ZodEnum<{
|
|
3445
3445
|
quest: "quest";
|
|
@@ -3699,11 +3699,11 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3699
3699
|
}, z.core.$strip>>;
|
|
3700
3700
|
release: z.ZodString;
|
|
3701
3701
|
interaction: z.ZodEnum<{
|
|
3702
|
+
url: "url";
|
|
3702
3703
|
text: "text";
|
|
3703
3704
|
staff: "staff";
|
|
3704
3705
|
claim: "claim";
|
|
3705
3706
|
automatic: "automatic";
|
|
3706
|
-
url: "url";
|
|
3707
3707
|
quiz: "quiz";
|
|
3708
3708
|
photo: "photo";
|
|
3709
3709
|
}>;
|
|
@@ -3854,8 +3854,8 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3854
3854
|
required: "required";
|
|
3855
3855
|
}>>;
|
|
3856
3856
|
since: z.ZodOptional<z.ZodEnum<{
|
|
3857
|
-
activation: "activation";
|
|
3858
3857
|
window: "window";
|
|
3858
|
+
activation: "activation";
|
|
3859
3859
|
enrollment: "enrollment";
|
|
3860
3860
|
}>>;
|
|
3861
3861
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3869,9 +3869,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3869
3869
|
availability: z.ZodUnion<(z.ZodObject<{
|
|
3870
3870
|
kind: z.ZodLiteral<"available">;
|
|
3871
3871
|
input: z.ZodEnum<{
|
|
3872
|
+
url: "url";
|
|
3872
3873
|
text: "text";
|
|
3873
3874
|
none: "none";
|
|
3874
|
-
url: "url";
|
|
3875
3875
|
quiz: "quiz";
|
|
3876
3876
|
photo: "photo";
|
|
3877
3877
|
}>;
|
|
@@ -3909,12 +3909,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
3909
3909
|
}, z.core.$strip> | z.ZodObject<{
|
|
3910
3910
|
kind: z.ZodLiteral<"blocked">;
|
|
3911
3911
|
reason: z.ZodEnum<{
|
|
3912
|
-
paused: "paused";
|
|
3913
3912
|
"outside-window": "outside-window";
|
|
3913
|
+
"enrollment-required": "enrollment-required";
|
|
3914
3914
|
"budget-exhausted": "budget-exhausted";
|
|
3915
|
+
paused: "paused";
|
|
3915
3916
|
"connection-required": "connection-required";
|
|
3916
3917
|
"wallet-required": "wallet-required";
|
|
3917
|
-
"enrollment-required": "enrollment-required";
|
|
3918
3918
|
}>;
|
|
3919
3919
|
window: z.ZodOptional<z.ZodEnum<{
|
|
3920
3920
|
quest: "quest";
|
|
@@ -4174,11 +4174,11 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
4174
4174
|
}, z.core.$strip>>;
|
|
4175
4175
|
release: z.ZodString;
|
|
4176
4176
|
interaction: z.ZodEnum<{
|
|
4177
|
+
url: "url";
|
|
4177
4178
|
text: "text";
|
|
4178
4179
|
staff: "staff";
|
|
4179
4180
|
claim: "claim";
|
|
4180
4181
|
automatic: "automatic";
|
|
4181
|
-
url: "url";
|
|
4182
4182
|
quiz: "quiz";
|
|
4183
4183
|
photo: "photo";
|
|
4184
4184
|
}>;
|
|
@@ -4267,8 +4267,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
4267
4267
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
4268
4268
|
}, z.core.$strict>>;
|
|
4269
4269
|
collections: z.ZodArray<z.ZodObject<{
|
|
4270
|
-
id: z.ZodString;
|
|
4271
4270
|
key: z.ZodOptional<z.ZodString>;
|
|
4271
|
+
id: z.ZodString;
|
|
4272
4272
|
title: z.ZodString;
|
|
4273
4273
|
quests: z.ZodArray<z.ZodString>;
|
|
4274
4274
|
}, z.core.$strict>>;
|
|
@@ -4322,8 +4322,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
4322
4322
|
expectedRelease: z.ZodNullable<z.ZodString>;
|
|
4323
4323
|
}, z.core.$strict>>;
|
|
4324
4324
|
collections: z.ZodArray<z.ZodObject<{
|
|
4325
|
-
id: z.ZodString;
|
|
4326
4325
|
key: z.ZodOptional<z.ZodString>;
|
|
4326
|
+
id: z.ZodString;
|
|
4327
4327
|
title: z.ZodString;
|
|
4328
4328
|
quests: z.ZodArray<z.ZodString>;
|
|
4329
4329
|
}, z.core.$strict>>;
|
|
@@ -4553,8 +4553,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
4553
4553
|
required: "required";
|
|
4554
4554
|
}>>;
|
|
4555
4555
|
since: z.ZodOptional<z.ZodEnum<{
|
|
4556
|
-
activation: "activation";
|
|
4557
4556
|
window: "window";
|
|
4557
|
+
activation: "activation";
|
|
4558
4558
|
enrollment: "enrollment";
|
|
4559
4559
|
}>>;
|
|
4560
4560
|
historical: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4719,6 +4719,37 @@ declare const allocatedQuestSchema: z.ZodObject<{
|
|
|
4719
4719
|
id: z.ZodString;
|
|
4720
4720
|
}, z.core.$strip>;
|
|
4721
4721
|
|
|
4722
|
+
declare const responseFormat: unique symbol;
|
|
4723
|
+
/** A schema whose output explicitly represents unsupported server variants. */
|
|
4724
|
+
type ResponseSchema<T> = z.ZodType<T> & {
|
|
4725
|
+
readonly [responseFormat]: true;
|
|
4726
|
+
};
|
|
4727
|
+
/**
|
|
4728
|
+
* A separate reader for a known wire shape. Input schemas are never mutated. Object fields
|
|
4729
|
+
* are stripped at every depth; collection quotas do not constrain a server response.
|
|
4730
|
+
*/
|
|
4731
|
+
declare function responseShape<S extends z.core.$ZodType>(schema: S): S;
|
|
4732
|
+
/** The original wire entity. No action is inferred from its unknown variant. */
|
|
4733
|
+
type UnsupportedResponse = {
|
|
4734
|
+
kind: "unsupported";
|
|
4735
|
+
raw: z.infer<ReturnType<typeof z.json>>;
|
|
4736
|
+
};
|
|
4737
|
+
/** @compat output */
|
|
4738
|
+
type ResponseResult<T> = {
|
|
4739
|
+
kind: "supported";
|
|
4740
|
+
value: T;
|
|
4741
|
+
} | UnsupportedResponse;
|
|
4742
|
+
/**
|
|
4743
|
+
* Opt-in response contract for a complete entity or operation. A new variant keeps the whole
|
|
4744
|
+
* raw entity; semantic arrays such as requirements and rewards remain atomic.
|
|
4745
|
+
*/
|
|
4746
|
+
declare function responseSchema<T>(schema: z.ZodType<T>): ResponseSchema<ResponseResult<T>>;
|
|
4747
|
+
/** An entity list is complete only when `unsupportedCount` is zero. Item order is retained. */
|
|
4748
|
+
declare function responseListSchema<T>(schema: z.ZodType<T>): ResponseSchema<{
|
|
4749
|
+
items: ResponseResult<T>[];
|
|
4750
|
+
unsupportedCount: number;
|
|
4751
|
+
}>;
|
|
4752
|
+
|
|
4722
4753
|
declare const contentQualificationDecisionSchema: z.ZodObject<{
|
|
4723
4754
|
kind: z.ZodEnum<{
|
|
4724
4755
|
accept: "accept";
|
|
@@ -4942,4 +4973,4 @@ type Page<T> = {
|
|
|
4942
4973
|
nextCursor: string | null;
|
|
4943
4974
|
};
|
|
4944
4975
|
|
|
4945
|
-
export {
|
|
4976
|
+
export { questOutcomePageSchema as $, contentPerformancePolicySchema as A, contentQualificationDecisionSchema as B, type ContentMetric as C, contentQualificationPageSchema as D, contentQualificationQuerySchema as E, contentQualificationSchema as F, interactionSchema as G, knownRewardDeliverySchema as H, memberEnrollmentInputSchema as I, pageCursorSchema as J, pageQuerySchema as K, publishQuestDraftSchema as L, type MemberEnrollmentInput as M, questCatalogSchema as N, questClaimInputSchema as O, type Page as P, type QuestClaimInput as Q, type ResponseResult as R, questCollectionSchema as S, questDraftChangesSchema as T, type UnsupportedResponse as U, questDraftSchema as V, questEnrollmentInputSchema as W, questEnrollmentSchema as X, questExperienceSchema as Y, questInstanceSchema as Z, questInteraction as _, type PageQuery as a, questOutcomeQuerySchema as a0, questOutcomeSchema as a1, questPublicationPreviewSchema as a2, questRewardViewSchema as a3, questTypeVersionSchema as a4, questViewSchema as a5, responseListSchema as a6, responseSchema as a7, responseShape as a8, rewardDeliveriesSchema as a9, rewardDeliverySchema as aa, roleReconciliationSchema as ab, saveQuestDraftSchema as ac, 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 QuestCatalog as n, type QuestDraft as o, type QuestInstance as p, type RewardDelivery as q, allocateQuestSchema as r, allocatedQuestSchema as s, catalogDeploymentPreviewSchema as t, catalogDeploymentSchema as u, collectionSlotDeclarationSchema as v, collectionSlotSchema as w, collectionViewSchema as x, contentMetricSchema as y, contentMetricsSchema as z };
|
package/dist/portal-proxy.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isParticipantRoute
|
|
3
3
|
} from "./chunk-AXRMT33W.js";
|
|
4
|
+
import {
|
|
5
|
+
clientIdentity
|
|
6
|
+
} from "./chunk-N2HXMTVA.js";
|
|
4
7
|
import {
|
|
5
8
|
exchangeResultSchema
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-BUXNTVER.js";
|
|
10
|
+
import "./chunk-23JUD56J.js";
|
|
8
11
|
|
|
9
12
|
// src/portal-proxy.ts
|
|
10
13
|
var statusCode = (status) => ({
|
|
@@ -52,6 +55,8 @@ async function proxyParticipant(request, upstream) {
|
|
|
52
55
|
"Origin",
|
|
53
56
|
"Content-Type",
|
|
54
57
|
"X-Relay-CSRF",
|
|
58
|
+
"X-Domino-Client",
|
|
59
|
+
"X-Domino-Response",
|
|
55
60
|
"X-Relay-Session",
|
|
56
61
|
"X-Relay-Upload-ID",
|
|
57
62
|
"CF-Connecting-IP"
|
|
@@ -124,6 +129,7 @@ function createParticipantBackend(options) {
|
|
|
124
129
|
redirect: "manual",
|
|
125
130
|
headers: {
|
|
126
131
|
Authorization: "Bearer " + options.integrationKey,
|
|
132
|
+
"X-Domino-Client": clientIdentity(),
|
|
127
133
|
"Content-Type": "application/json"
|
|
128
134
|
},
|
|
129
135
|
body: JSON.stringify({ subject: identity.subject, previousToken })
|