@domino-sdk/relay 1.37.1 → 1.38.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/{attempt-captures-B2Clh9Df.d.ts → attempt-captures-CSiN1HKd.d.ts} +1 -1
- package/dist/authoring.d.ts +23 -9
- package/dist/authoring.js +14 -6
- package/dist/{automatic-outcomes-BiarOoiy.d.ts → automatic-outcomes-DDbgRubQ.d.ts} +1 -1
- package/dist/browser.d.ts +6 -6
- package/dist/browser.js +10 -10
- package/dist/{chunk-WYFGWUUJ.js → chunk-2CP3SULY.js} +1 -1
- package/dist/{chunk-2NNVJUP4.js → chunk-B65YJ6K4.js} +1 -1
- package/dist/{chunk-PWHKIZ2F.js → chunk-BYX27T2S.js} +2 -2
- package/dist/{chunk-TIXJGCWY.js → chunk-CHQWG5KQ.js} +12 -10
- package/dist/{chunk-OTDMH4IB.js → chunk-CRX274HO.js} +1 -1
- package/dist/{chunk-6KNYVJHM.js → chunk-DZZ5GSJ6.js} +2 -2
- package/dist/{chunk-EOCAYQUY.js → chunk-FTGW72A6.js} +1 -1
- package/dist/{chunk-2GGITG27.js → chunk-JYHRPMCE.js} +8 -2
- package/dist/{chunk-DOTZUOUI.js → chunk-KEYQHJHU.js} +6 -6
- package/dist/{chunk-4MPF5Y5A.js → chunk-KTHHGZSJ.js} +1 -1
- package/dist/{chunk-5D3O4GEM.js → chunk-OEO5OBY5.js} +30 -2
- package/dist/{chunk-IBNS3X7D.js → chunk-SBW52XXL.js} +1 -1
- package/dist/{chunk-ZG7XRZIF.js → chunk-V7KYVH3Z.js} +1 -1
- package/dist/{chunk-FB5GDPUU.js → chunk-YNQPFRQO.js} +7 -2
- package/dist/{chunk-FSJPYDW7.js → chunk-Z3SG7LKF.js} +4 -4
- package/dist/{chunk-XJCOVZZJ.js → chunk-ZT7FPD7B.js} +1 -1
- package/dist/{client-B3rMXsx2.d.ts → client-DjwKrpFo.d.ts} +18 -4
- package/dist/{deployments-CztfY7C8.d.ts → deployments-DYeuxXYg.d.ts} +29 -1
- package/dist/{groups-CRUAE6hI.d.ts → groups-JzAQ2JIN.d.ts} +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -9
- package/dist/internal.d.ts +9 -9
- package/dist/internal.js +8 -8
- package/dist/{offers-B04ZE2JR.d.ts → offers-CIDAJEYs.d.ts} +2 -2
- package/dist/{pages-B5agdH0f.d.ts → pages-DR2YRvAp.d.ts} +20 -1
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +29 -18
- package/dist/react/index.js +60 -17
- package/dist/{schema--jNn3OfJ.d.ts → schema-Cgmj-CbC.d.ts} +18 -1
- package/dist/schema.d.ts +28 -11
- package/dist/schema.js +11 -7
- package/dist/server/index.d.ts +9 -9
- package/dist/server/index.js +14 -14
- package/dist/{submission-input-DGBBygFe.d.ts → submission-input-UBqB8NFC.d.ts} +2 -2
- package/dist/{telegram-browser-CiTSBNKo.d.ts → telegram-browser-2IllFeh-.d.ts} +1 -1
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +5 -5
- package/dist/{transport-BLq1PH-O.d.ts → transport-B3DkXMNu.d.ts} +217 -9
- package/dist/{x-imfTy_I1.d.ts → x-vVG6gZqi.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b0 as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, m as PointHistoryQuery, k as PointEntryKind, a7 as engagementPageQuerySchema } from './groups-
|
|
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-
|
|
3
|
-
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-
|
|
1
|
+
import { b0 as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, m as PointHistoryQuery, k as PointEntryKind, a7 as engagementPageQuerySchema } from './groups-JzAQ2JIN.js';
|
|
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-UBqB8NFC.js';
|
|
4
4
|
import { a as RequestError, b as RequestErrorDetails, c as RequestErrorKind, e as createRelayAction, O as OptionalActionId } from './action-DBzILFx9.js';
|
|
5
|
-
import { f as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, h as TrackerSkipCode,
|
|
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';
|
|
7
7
|
import * as z from 'zod';
|
|
8
8
|
import { a as AuthProvider } from './accounts-DRPENuZe.js';
|
|
@@ -54,6 +54,11 @@ declare const RelayErrorCode: {
|
|
|
54
54
|
readonly QuestUpdated: "quest-updated";
|
|
55
55
|
/** Wait for the deferred attempt before submitting another action. */
|
|
56
56
|
readonly AttemptPending: "attempt-pending";
|
|
57
|
+
/**
|
|
58
|
+
* The member's last attempt was rejected and the quest's retry cooldown is running; `retryAt`
|
|
59
|
+
* says when they may submit again.
|
|
60
|
+
*/
|
|
61
|
+
readonly RetryCooldown: "retry-cooldown";
|
|
57
62
|
/** The quiz changed since the member answered it. */
|
|
58
63
|
readonly StaleQuiz: "stale-quiz";
|
|
59
64
|
/** Relay refused the submitted evidence. */
|
|
@@ -110,6 +115,8 @@ type RelayErrorDetails = RequestErrorDetails & {
|
|
|
110
115
|
/** Which window refused admission when `code` is `outside-window`. */
|
|
111
116
|
window?: "tracker" | "quest";
|
|
112
117
|
missing?: MissingPrerequisite[];
|
|
118
|
+
/** Unix milliseconds when the member may submit again, when `code` is `retry-cooldown`. */
|
|
119
|
+
retryAt?: number;
|
|
113
120
|
};
|
|
114
121
|
declare const relayErrorBrand: unique symbol;
|
|
115
122
|
/** Whether `value` is a `RelayError` from any copy of the SDK. Prefer it to `instanceof`. */
|
|
@@ -127,6 +134,8 @@ declare class RelayError extends RequestError {
|
|
|
127
134
|
readonly window: "tracker" | "quest" | undefined;
|
|
128
135
|
/** Prerequisites the member does not currently meet, when Relay refused for that reason. */
|
|
129
136
|
readonly missing: MissingPrerequisite[];
|
|
137
|
+
/** Unix milliseconds when the member may submit again, when `code` is `retry-cooldown`. */
|
|
138
|
+
readonly retryAt: number | undefined;
|
|
130
139
|
constructor(message: string, details: RelayErrorDetails);
|
|
131
140
|
}
|
|
132
141
|
|
|
@@ -1874,6 +1883,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1874
1883
|
budget: string;
|
|
1875
1884
|
} | null;
|
|
1876
1885
|
} | null | undefined;
|
|
1886
|
+
retryAt?: number | undefined;
|
|
1877
1887
|
}>;
|
|
1878
1888
|
/**
|
|
1879
1889
|
* Enrolls the signed-in member in a quest whose tracker trigger requires enrollment. Activity
|
|
@@ -2554,6 +2564,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2554
2564
|
budget: string;
|
|
2555
2565
|
} | null;
|
|
2556
2566
|
} | null | undefined;
|
|
2567
|
+
retryAt?: number | undefined;
|
|
2557
2568
|
}[];
|
|
2558
2569
|
collections: {
|
|
2559
2570
|
id: string;
|
|
@@ -2961,6 +2972,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2961
2972
|
budget: string;
|
|
2962
2973
|
} | null;
|
|
2963
2974
|
} | null | undefined;
|
|
2975
|
+
retryAt?: number | undefined;
|
|
2964
2976
|
}[];
|
|
2965
2977
|
key?: string | undefined;
|
|
2966
2978
|
description?: string | undefined;
|
|
@@ -3374,6 +3386,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3374
3386
|
budget: string;
|
|
3375
3387
|
} | null;
|
|
3376
3388
|
} | null | undefined;
|
|
3389
|
+
retryAt?: number | undefined;
|
|
3377
3390
|
}[];
|
|
3378
3391
|
key?: string | undefined;
|
|
3379
3392
|
description?: string | undefined;
|
|
@@ -4178,6 +4191,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4178
4191
|
budget: string;
|
|
4179
4192
|
} | null;
|
|
4180
4193
|
} | null | undefined;
|
|
4194
|
+
retryAt?: number | undefined;
|
|
4181
4195
|
}[];
|
|
4182
4196
|
entitlements: ({
|
|
4183
4197
|
[x: string]: unknown;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { O as OpenIdentityKind, D as TrackerDataSchema } from './schema
|
|
2
|
+
import { O as OpenIdentityKind, D as TrackerDataSchema } from './schema-Cgmj-CbC.js';
|
|
3
3
|
|
|
4
4
|
/** Shared with participant activity. Types remain open to future event kinds. */
|
|
5
5
|
declare const activityTypes: {
|
|
@@ -1429,6 +1429,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1429
1429
|
balance: z.ZodString;
|
|
1430
1430
|
}, z.core.$strict>]>;
|
|
1431
1431
|
}, z.core.$strict>>>;
|
|
1432
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
1432
1433
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1433
1434
|
kind: z.ZodLiteral<"streak">;
|
|
1434
1435
|
days: z.ZodNumber;
|
|
@@ -1895,6 +1896,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
1895
1896
|
balance: z.ZodString;
|
|
1896
1897
|
}, z.core.$strict>]>;
|
|
1897
1898
|
}, z.core.$strict>>>;
|
|
1899
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
1898
1900
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1899
1901
|
kind: z.ZodLiteral<"streak">;
|
|
1900
1902
|
days: z.ZodNumber;
|
|
@@ -2939,6 +2941,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
2939
2941
|
balance: z.ZodString;
|
|
2940
2942
|
}, z.core.$strict>]>;
|
|
2941
2943
|
}, z.core.$strict>>>;
|
|
2944
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
2942
2945
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2943
2946
|
kind: z.ZodLiteral<"streak">;
|
|
2944
2947
|
days: z.ZodNumber;
|
|
@@ -3405,6 +3408,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
3405
3408
|
balance: z.ZodString;
|
|
3406
3409
|
}, z.core.$strict>]>;
|
|
3407
3410
|
}, z.core.$strict>>>;
|
|
3411
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
3408
3412
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3409
3413
|
kind: z.ZodLiteral<"streak">;
|
|
3410
3414
|
days: z.ZodNumber;
|
|
@@ -4452,6 +4456,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4452
4456
|
balance: z.ZodString;
|
|
4453
4457
|
}, z.core.$strict>]>;
|
|
4454
4458
|
}, z.core.$strict>>>;
|
|
4459
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
4455
4460
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4456
4461
|
kind: z.ZodLiteral<"streak">;
|
|
4457
4462
|
days: z.ZodNumber;
|
|
@@ -4918,6 +4923,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4918
4923
|
balance: z.ZodString;
|
|
4919
4924
|
}, z.core.$strict>]>;
|
|
4920
4925
|
}, z.core.$strict>>>;
|
|
4926
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
4921
4927
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4922
4928
|
kind: z.ZodLiteral<"streak">;
|
|
4923
4929
|
days: z.ZodNumber;
|
|
@@ -5966,6 +5972,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5966
5972
|
balance: z.ZodString;
|
|
5967
5973
|
}, z.core.$strict>]>;
|
|
5968
5974
|
}, z.core.$strict>>>;
|
|
5975
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
5969
5976
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5970
5977
|
kind: z.ZodLiteral<"streak">;
|
|
5971
5978
|
days: z.ZodNumber;
|
|
@@ -6432,6 +6439,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6432
6439
|
balance: z.ZodString;
|
|
6433
6440
|
}, z.core.$strict>]>;
|
|
6434
6441
|
}, z.core.$strict>>>;
|
|
6442
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
6435
6443
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6436
6444
|
kind: z.ZodLiteral<"streak">;
|
|
6437
6445
|
days: z.ZodNumber;
|
|
@@ -7482,6 +7490,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7482
7490
|
balance: z.ZodString;
|
|
7483
7491
|
}, z.core.$strict>]>;
|
|
7484
7492
|
}, z.core.$strict>>>;
|
|
7493
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
7485
7494
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7486
7495
|
kind: z.ZodLiteral<"streak">;
|
|
7487
7496
|
days: z.ZodNumber;
|
|
@@ -7948,6 +7957,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7948
7957
|
balance: z.ZodString;
|
|
7949
7958
|
}, z.core.$strict>]>;
|
|
7950
7959
|
}, z.core.$strict>>>;
|
|
7960
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
7951
7961
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7952
7962
|
kind: z.ZodLiteral<"streak">;
|
|
7953
7963
|
days: z.ZodNumber;
|
|
@@ -9001,6 +9011,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9001
9011
|
balance: z.ZodString;
|
|
9002
9012
|
}, z.core.$strict>]>;
|
|
9003
9013
|
}, z.core.$strict>>>;
|
|
9014
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
9004
9015
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9005
9016
|
kind: z.ZodLiteral<"streak">;
|
|
9006
9017
|
days: z.ZodNumber;
|
|
@@ -9467,6 +9478,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9467
9478
|
balance: z.ZodString;
|
|
9468
9479
|
}, z.core.$strict>]>;
|
|
9469
9480
|
}, z.core.$strict>>>;
|
|
9481
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
9470
9482
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9471
9483
|
kind: z.ZodLiteral<"streak">;
|
|
9472
9484
|
days: z.ZodNumber;
|
|
@@ -10533,6 +10545,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
10533
10545
|
balance: z.ZodString;
|
|
10534
10546
|
}, z.core.$strict>]>;
|
|
10535
10547
|
}, z.core.$strict>>>;
|
|
10548
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
10536
10549
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10537
10550
|
kind: z.ZodLiteral<"streak">;
|
|
10538
10551
|
days: z.ZodNumber;
|
|
@@ -10999,6 +11012,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
10999
11012
|
balance: z.ZodString;
|
|
11000
11013
|
}, z.core.$strict>]>;
|
|
11001
11014
|
}, z.core.$strict>>>;
|
|
11015
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
11002
11016
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11003
11017
|
kind: z.ZodLiteral<"streak">;
|
|
11004
11018
|
days: z.ZodNumber;
|
|
@@ -12047,6 +12061,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
12047
12061
|
balance: z.ZodString;
|
|
12048
12062
|
}, z.core.$strict>]>;
|
|
12049
12063
|
}, z.core.$strict>>>;
|
|
12064
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
12050
12065
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12051
12066
|
kind: z.ZodLiteral<"streak">;
|
|
12052
12067
|
days: z.ZodNumber;
|
|
@@ -12513,6 +12528,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
12513
12528
|
balance: z.ZodString;
|
|
12514
12529
|
}, z.core.$strict>]>;
|
|
12515
12530
|
}, z.core.$strict>>>;
|
|
12531
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
12516
12532
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12517
12533
|
kind: z.ZodLiteral<"streak">;
|
|
12518
12534
|
days: z.ZodNumber;
|
|
@@ -13563,6 +13579,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
13563
13579
|
balance: z.ZodString;
|
|
13564
13580
|
}, z.core.$strict>]>;
|
|
13565
13581
|
}, z.core.$strict>>>;
|
|
13582
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
13566
13583
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13567
13584
|
kind: z.ZodLiteral<"streak">;
|
|
13568
13585
|
days: z.ZodNumber;
|
|
@@ -14029,6 +14046,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
14029
14046
|
balance: z.ZodString;
|
|
14030
14047
|
}, z.core.$strict>]>;
|
|
14031
14048
|
}, z.core.$strict>>>;
|
|
14049
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
14032
14050
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14033
14051
|
kind: z.ZodLiteral<"streak">;
|
|
14034
14052
|
days: z.ZodNumber;
|
|
@@ -15082,6 +15100,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
15082
15100
|
balance: z.ZodString;
|
|
15083
15101
|
}, z.core.$strict>]>;
|
|
15084
15102
|
}, z.core.$strict>>>;
|
|
15103
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
15085
15104
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15086
15105
|
kind: z.ZodLiteral<"streak">;
|
|
15087
15106
|
days: z.ZodNumber;
|
|
@@ -15548,6 +15567,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
15548
15567
|
balance: z.ZodString;
|
|
15549
15568
|
}, z.core.$strict>]>;
|
|
15550
15569
|
}, z.core.$strict>>>;
|
|
15570
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
15551
15571
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15552
15572
|
kind: z.ZodLiteral<"streak">;
|
|
15553
15573
|
days: z.ZodNumber;
|
|
@@ -16602,6 +16622,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
16602
16622
|
balance: z.ZodString;
|
|
16603
16623
|
}, z.core.$strict>]>;
|
|
16604
16624
|
}, z.core.$strict>>>;
|
|
16625
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
16605
16626
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16606
16627
|
kind: z.ZodLiteral<"streak">;
|
|
16607
16628
|
days: z.ZodNumber;
|
|
@@ -17068,6 +17089,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
17068
17089
|
balance: z.ZodString;
|
|
17069
17090
|
}, z.core.$strict>]>;
|
|
17070
17091
|
}, z.core.$strict>>>;
|
|
17092
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
17071
17093
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17072
17094
|
kind: z.ZodLiteral<"streak">;
|
|
17073
17095
|
days: z.ZodNumber;
|
|
@@ -18116,6 +18138,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
18116
18138
|
balance: z.ZodString;
|
|
18117
18139
|
}, z.core.$strict>]>;
|
|
18118
18140
|
}, z.core.$strict>>>;
|
|
18141
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
18119
18142
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18120
18143
|
kind: z.ZodLiteral<"streak">;
|
|
18121
18144
|
days: z.ZodNumber;
|
|
@@ -18582,6 +18605,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
18582
18605
|
balance: z.ZodString;
|
|
18583
18606
|
}, z.core.$strict>]>;
|
|
18584
18607
|
}, z.core.$strict>>>;
|
|
18608
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
18585
18609
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18586
18610
|
kind: z.ZodLiteral<"streak">;
|
|
18587
18611
|
days: z.ZodNumber;
|
|
@@ -19632,6 +19656,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
19632
19656
|
balance: z.ZodString;
|
|
19633
19657
|
}, z.core.$strict>]>;
|
|
19634
19658
|
}, z.core.$strict>>>;
|
|
19659
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
19635
19660
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19636
19661
|
kind: z.ZodLiteral<"streak">;
|
|
19637
19662
|
days: z.ZodNumber;
|
|
@@ -20098,6 +20123,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
20098
20123
|
balance: z.ZodString;
|
|
20099
20124
|
}, z.core.$strict>]>;
|
|
20100
20125
|
}, z.core.$strict>>>;
|
|
20126
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
20101
20127
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20102
20128
|
kind: z.ZodLiteral<"streak">;
|
|
20103
20129
|
days: z.ZodNumber;
|
|
@@ -21151,6 +21177,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
21151
21177
|
balance: z.ZodString;
|
|
21152
21178
|
}, z.core.$strict>]>;
|
|
21153
21179
|
}, z.core.$strict>>>;
|
|
21180
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
21154
21181
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21155
21182
|
kind: z.ZodLiteral<"streak">;
|
|
21156
21183
|
days: z.ZodNumber;
|
|
@@ -21617,6 +21644,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
|
|
|
21617
21644
|
balance: z.ZodString;
|
|
21618
21645
|
}, z.core.$strict>]>;
|
|
21619
21646
|
}, z.core.$strict>>>;
|
|
21647
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
21620
21648
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21621
21649
|
kind: z.ZodLiteral<"streak">;
|
|
21622
21650
|
days: z.ZodNumber;
|
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-CIDAJEYs.js';
|
|
2
2
|
export { R as RelayAction, a as RequestError, b as RequestErrorDetails, c as RequestErrorKind, d as RequestRecovery, e as createRelayAction, i as isRequestError } from './action-DBzILFx9.js';
|
|
3
|
-
export { A as AuthStartInput, C as ClaimSubmission, E as EmailVerification, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionCallOptions, m as SubmissionDraft, n as SubmissionStatus, o as SubmissionStore, V as ValueSubmission, p as createRelayClient, q as isRelayError } from './client-
|
|
4
|
-
export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as 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
|
|
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-DjwKrpFo.js';
|
|
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
|
-
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-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 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-
|
|
10
|
-
export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-
|
|
11
|
-
export { M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, a as TextOptions, U as UrlEvidence, b as UrlOptions, V as ValueEvidence } from './submission-input-
|
|
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-JzAQ2JIN.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-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-UBqB8NFC.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,22 +5,22 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
QuestUpdatedError,
|
|
7
7
|
createRelayClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CHQWG5KQ.js";
|
|
9
9
|
import {
|
|
10
10
|
createRelayAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CRX274HO.js";
|
|
12
12
|
import {
|
|
13
13
|
QuestOutcomeState
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JYHRPMCE.js";
|
|
15
15
|
import {
|
|
16
16
|
PointEntryKind
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-2CP3SULY.js";
|
|
18
|
+
import "./chunk-B65YJ6K4.js";
|
|
19
|
+
import "./chunk-SBW52XXL.js";
|
|
20
|
+
import "./chunk-KTHHGZSJ.js";
|
|
21
21
|
import {
|
|
22
22
|
sessionMember
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FTGW72A6.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-OEO5OBY5.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-
|
|
2
|
-
export { E as Extracted } from './x-
|
|
1
|
+
export { I as IdentityKindClaim, M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, m as managementTransport, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, v as validateQuestShape } from './transport-B3DkXMNu.js';
|
|
2
|
+
export { E as Extracted } from './x-vVG6gZqi.js';
|
|
3
3
|
import { c as RequestErrorKind } from './action-DBzILFx9.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-Cgmj-CbC.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import './pages-
|
|
7
|
-
import './offers-
|
|
8
|
-
import './groups-
|
|
6
|
+
import './pages-DR2YRvAp.js';
|
|
7
|
+
import './offers-CIDAJEYs.js';
|
|
8
|
+
import './groups-JzAQ2JIN.js';
|
|
9
9
|
import './profiles-BHuQdzsW.js';
|
|
10
|
-
import './automatic-outcomes-
|
|
11
|
-
import './attempt-captures-
|
|
12
|
-
import './deployments-
|
|
10
|
+
import './automatic-outcomes-DDbgRubQ.js';
|
|
11
|
+
import './attempt-captures-CSiN1HKd.js';
|
|
12
|
+
import './deployments-DYeuxXYg.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-Z3SG7LKF.js";
|
|
13
13
|
import {
|
|
14
14
|
parseImageExtraction,
|
|
15
15
|
parseImageResult
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-BYX27T2S.js";
|
|
17
|
+
import "./chunk-V7KYVH3Z.js";
|
|
18
18
|
import {
|
|
19
19
|
sourceDataSchema,
|
|
20
20
|
sourceRoles,
|
|
21
21
|
validateQuestShape
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YNQPFRQO.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-SBW52XXL.js";
|
|
35
|
+
import "./chunk-KTHHGZSJ.js";
|
|
36
|
+
import "./chunk-FTGW72A6.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-OEO5OBY5.js";
|
|
46
46
|
export {
|
|
47
47
|
MANAGEMENT_TIMEOUT,
|
|
48
48
|
REFERRAL_INTEGRATION_REWARD_ERROR,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { q as ResourceHandle } from './schema
|
|
3
|
-
import { r as AuthoringIdentity } from './groups-
|
|
2
|
+
import { q as ResourceHandle } from './schema-Cgmj-CbC.js';
|
|
3
|
+
import { r as AuthoringIdentity } from './groups-JzAQ2JIN.js';
|
|
4
4
|
|
|
5
5
|
declare const badgePropertiesSchema: z.ZodObject<{
|
|
6
6
|
name: z.ZodString;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { a as AttemptStatus, bY as questDescriptionSchema, h as TrackerSkipCode } from './schema
|
|
2
|
+
import { a as AttemptStatus, bY as questDescriptionSchema, h as TrackerSkipCode } from './schema-Cgmj-CbC.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The delivery actions this SDK knows. `RewardDelivery.action` is an open string: Relay can add
|
|
@@ -551,6 +551,7 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
551
551
|
balance: z.ZodString;
|
|
552
552
|
}, z.core.$strict>]>;
|
|
553
553
|
}, z.core.$strict>>>;
|
|
554
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
554
555
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
555
556
|
kind: z.ZodLiteral<"streak">;
|
|
556
557
|
days: z.ZodNumber;
|
|
@@ -684,6 +685,7 @@ declare const questInstanceSchema: z.ZodObject<{
|
|
|
684
685
|
group: z.ZodString;
|
|
685
686
|
title: z.ZodString;
|
|
686
687
|
}, z.core.$strict>], "kind">>;
|
|
688
|
+
retryCooldownMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
687
689
|
status: z.ZodEnum<{
|
|
688
690
|
paused: "paused";
|
|
689
691
|
active: "active";
|
|
@@ -756,6 +758,7 @@ declare const questDraftChangesSchema: z.ZodObject<{
|
|
|
756
758
|
group: z.ZodString;
|
|
757
759
|
title: z.ZodString;
|
|
758
760
|
}, z.core.$strict>], "kind">>;
|
|
761
|
+
retryCooldownMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
759
762
|
status: z.ZodEnum<{
|
|
760
763
|
paused: "paused";
|
|
761
764
|
active: "active";
|
|
@@ -843,6 +846,7 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
843
846
|
group: z.ZodString;
|
|
844
847
|
title: z.ZodString;
|
|
845
848
|
}, z.core.$strict>], "kind">>;
|
|
849
|
+
retryCooldownMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
846
850
|
status: z.ZodEnum<{
|
|
847
851
|
paused: "paused";
|
|
848
852
|
active: "active";
|
|
@@ -931,6 +935,7 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
931
935
|
group: z.ZodString;
|
|
932
936
|
title: z.ZodString;
|
|
933
937
|
}, z.core.$strict>], "kind">>;
|
|
938
|
+
retryCooldownMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
934
939
|
status: z.ZodEnum<{
|
|
935
940
|
paused: "paused";
|
|
936
941
|
active: "active";
|
|
@@ -1288,6 +1293,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1288
1293
|
balance: z.ZodString;
|
|
1289
1294
|
}, z.core.$strict>]>;
|
|
1290
1295
|
}, z.core.$strict>>>;
|
|
1296
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
1291
1297
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1292
1298
|
kind: z.ZodLiteral<"streak">;
|
|
1293
1299
|
days: z.ZodNumber;
|
|
@@ -1405,6 +1411,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1405
1411
|
group: z.ZodString;
|
|
1406
1412
|
title: z.ZodString;
|
|
1407
1413
|
}, z.core.$strict>], "kind">>;
|
|
1414
|
+
retryCooldownMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1408
1415
|
status: z.ZodEnum<{
|
|
1409
1416
|
paused: "paused";
|
|
1410
1417
|
active: "active";
|
|
@@ -1481,6 +1488,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1481
1488
|
group: z.ZodString;
|
|
1482
1489
|
title: z.ZodString;
|
|
1483
1490
|
}, z.core.$strict>], "kind">>;
|
|
1491
|
+
retryCooldownMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1484
1492
|
status: z.ZodEnum<{
|
|
1485
1493
|
paused: "paused";
|
|
1486
1494
|
active: "active";
|
|
@@ -1569,6 +1577,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1569
1577
|
group: z.ZodString;
|
|
1570
1578
|
title: z.ZodString;
|
|
1571
1579
|
}, z.core.$strict>], "kind">>;
|
|
1580
|
+
retryCooldownMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1572
1581
|
status: z.ZodEnum<{
|
|
1573
1582
|
paused: "paused";
|
|
1574
1583
|
active: "active";
|
|
@@ -1918,6 +1927,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1918
1927
|
balance: z.ZodString;
|
|
1919
1928
|
}, z.core.$strict>]>;
|
|
1920
1929
|
}, z.core.$strict>>>;
|
|
1930
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
1921
1931
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1922
1932
|
kind: z.ZodLiteral<"streak">;
|
|
1923
1933
|
days: z.ZodNumber;
|
|
@@ -2421,6 +2431,7 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
2421
2431
|
balance: z.ZodString;
|
|
2422
2432
|
}, z.core.$strict>]>;
|
|
2423
2433
|
}, z.core.$strict>>>;
|
|
2434
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
2424
2435
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2425
2436
|
kind: z.ZodLiteral<"streak">;
|
|
2426
2437
|
days: z.ZodNumber;
|
|
@@ -2553,6 +2564,7 @@ declare const saveQuestDraftSchema: z.ZodObject<{
|
|
|
2553
2564
|
group: z.ZodString;
|
|
2554
2565
|
title: z.ZodString;
|
|
2555
2566
|
}, z.core.$strict>], "kind">>;
|
|
2567
|
+
retryCooldownMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2556
2568
|
status: z.ZodEnum<{
|
|
2557
2569
|
paused: "paused";
|
|
2558
2570
|
active: "active";
|
|
@@ -3002,6 +3014,7 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
3002
3014
|
remaining: z.ZodNumber;
|
|
3003
3015
|
resetsAt: z.ZodNullable<z.ZodNumber>;
|
|
3004
3016
|
}, z.core.$strip>>>;
|
|
3017
|
+
retryAt: z.ZodOptional<z.ZodNumber>;
|
|
3005
3018
|
attempt: z.ZodNullable<z.ZodObject<{
|
|
3006
3019
|
id: z.ZodString;
|
|
3007
3020
|
release: z.ZodString;
|
|
@@ -3515,6 +3528,7 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
3515
3528
|
remaining: z.ZodNumber;
|
|
3516
3529
|
resetsAt: z.ZodNullable<z.ZodNumber>;
|
|
3517
3530
|
}, z.core.$strip>>>;
|
|
3531
|
+
retryAt: z.ZodOptional<z.ZodNumber>;
|
|
3518
3532
|
attempt: z.ZodNullable<z.ZodObject<{
|
|
3519
3533
|
id: z.ZodString;
|
|
3520
3534
|
release: z.ZodString;
|
|
@@ -4202,6 +4216,7 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
4202
4216
|
remaining: z.ZodNumber;
|
|
4203
4217
|
resetsAt: z.ZodNullable<z.ZodNumber>;
|
|
4204
4218
|
}, z.core.$strip>>>;
|
|
4219
|
+
retryAt: z.ZodOptional<z.ZodNumber>;
|
|
4205
4220
|
attempt: z.ZodNullable<z.ZodObject<{
|
|
4206
4221
|
id: z.ZodString;
|
|
4207
4222
|
release: z.ZodString;
|
|
@@ -4715,6 +4730,7 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
4715
4730
|
remaining: z.ZodNumber;
|
|
4716
4731
|
resetsAt: z.ZodNullable<z.ZodNumber>;
|
|
4717
4732
|
}, z.core.$strip>>>;
|
|
4733
|
+
retryAt: z.ZodOptional<z.ZodNumber>;
|
|
4718
4734
|
attempt: z.ZodNullable<z.ZodObject<{
|
|
4719
4735
|
id: z.ZodString;
|
|
4720
4736
|
release: z.ZodString;
|
|
@@ -4906,6 +4922,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
4906
4922
|
group: z.ZodString;
|
|
4907
4923
|
title: z.ZodString;
|
|
4908
4924
|
}, z.core.$strict>], "kind">>;
|
|
4925
|
+
retryCooldownMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4909
4926
|
status: z.ZodEnum<{
|
|
4910
4927
|
paused: "paused";
|
|
4911
4928
|
active: "active";
|
|
@@ -4994,6 +5011,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
4994
5011
|
group: z.ZodString;
|
|
4995
5012
|
title: z.ZodString;
|
|
4996
5013
|
}, z.core.$strict>], "kind">>;
|
|
5014
|
+
retryCooldownMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4997
5015
|
status: z.ZodEnum<{
|
|
4998
5016
|
paused: "paused";
|
|
4999
5017
|
active: "active";
|
|
@@ -5343,6 +5361,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
5343
5361
|
balance: z.ZodString;
|
|
5344
5362
|
}, z.core.$strict>]>;
|
|
5345
5363
|
}, z.core.$strict>>>;
|
|
5364
|
+
retryCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
5346
5365
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5347
5366
|
kind: z.ZodLiteral<"streak">;
|
|
5348
5367
|
days: z.ZodNumber;
|
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-KTHHGZSJ.js";
|
|
7
7
|
import {
|
|
8
8
|
exchangeResultSchema
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-FTGW72A6.js";
|
|
10
|
+
import "./chunk-OEO5OBY5.js";
|
|
11
11
|
|
|
12
12
|
// src/portal-proxy.ts
|
|
13
13
|
var statusCode = (status) => ({
|