@domino-sdk/relay 1.74.0 → 1.75.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/CHANGELOG.md +37 -0
- package/dist/authoring.d.ts +6 -6
- package/dist/authoring.js +4 -4
- package/dist/browser.d.ts +3 -3
- package/dist/browser.js +8 -8
- package/dist/{capability-error-Bn6cCqof.d.ts → capability-error-D56xxE2i.d.ts} +1 -1
- package/dist/{chunk-CW7FJ5PX.js → chunk-3KHVIUKK.js} +1 -1
- package/dist/{chunk-2LURSPDM.js → chunk-4WODSE6Y.js} +2 -2
- package/dist/{chunk-ELHMJODS.js → chunk-7B7MDHJ6.js} +1 -1
- package/dist/{chunk-6TDHRGBM.js → chunk-7QHROIML.js} +3 -0
- package/dist/{chunk-F66GGNKD.js → chunk-CEG67D4T.js} +1 -1
- package/dist/{chunk-JZT2NLSG.js → chunk-E2DB4MKM.js} +756 -662
- package/dist/{chunk-SVZ3QWHT.js → chunk-FBS65R66.js} +2 -2
- package/dist/{chunk-KP55TMCC.js → chunk-HEQ7HLXG.js} +1 -1
- package/dist/{chunk-TGQNNMCY.js → chunk-IMX45NSW.js} +6 -6
- package/dist/{chunk-RALBAKKX.js → chunk-K3PEQXDV.js} +1 -1
- package/dist/{chunk-7I7P5UVC.js → chunk-SIKP4VMU.js} +56 -7
- package/dist/{chunk-NI6XRGEL.js → chunk-SPLXHFVX.js} +2 -2
- package/dist/{chunk-KGZ7SRKJ.js → chunk-TAZ5AEYF.js} +1 -1
- package/dist/{chunk-DNOLNMCW.js → chunk-UHYKKC5U.js} +9 -8
- package/dist/{chunk-T4PTFCSB.js → chunk-XEXB3WZE.js} +1 -1
- package/dist/{chunk-HCOLMJFX.js → chunk-XJCKQSFS.js} +4 -3
- package/dist/{chunk-724CKAC7.js → chunk-ZEYI662X.js} +3 -3
- package/dist/{client-B2aVGf38.d.ts → client-336yROej.d.ts} +2 -2
- package/dist/{identity-integration-C03rUYc0.d.ts → identity-integration-DnSgQjbY.d.ts} +2 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +7 -7
- package/dist/internal.d.ts +35 -19
- package/dist/internal.js +21 -17
- package/dist/{limits-p-Mg0oSi.d.ts → limits-DICxln-i.d.ts} +6 -0
- package/dist/portal-proxy.d.ts +7 -0
- package/dist/portal-proxy.js +125 -50
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +8 -8
- package/dist/runtime/authoring.js +1 -1
- package/dist/runtime/chunks/H6GH644T.js +1 -0
- package/dist/runtime/manifest.json +3 -3
- package/dist/runtime/schema.js +1 -1
- package/dist/schema.d.ts +4 -4
- package/dist/schema.js +7 -7
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +92 -18
- package/dist/{sign-in-providers-BG22ZZkl.d.ts → sign-in-providers-BMtk_NWY.d.ts} +1 -1
- package/dist/solana.d.ts +2 -2
- package/dist/solana.js +8 -8
- package/dist/{station-check-in-a1deSjbm.d.ts → station-check-in-vcDKQOet.d.ts} +2 -2
- package/dist/{submission-input-DBDLkTF8.d.ts → submission-input-D_NiBR0W.d.ts} +6 -1
- package/dist/telegram.d.ts +2 -2
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +15 -5
- package/dist/{transport-D77Rbf4D.d.ts → transport-BMwM6JlS.d.ts} +383 -32
- package/package.json +2 -1
- package/dist/runtime/chunks/NYEWMPJH.js +0 -1
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
imageFieldsSchema,
|
|
5
5
|
imageInspectionSchema,
|
|
6
6
|
imageSightingsSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-K3PEQXDV.js";
|
|
8
8
|
import {
|
|
9
9
|
capabilityFailureSchema
|
|
10
10
|
} from "./chunk-MWMCQLCG.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
rewardBundleSchema,
|
|
18
18
|
settingsValuesSchema,
|
|
19
19
|
trackerTriggerContextSchema
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7QHROIML.js";
|
|
21
21
|
|
|
22
22
|
// src/image-results.ts
|
|
23
23
|
import * as z from "zod";
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
imageSightingsSchema,
|
|
7
7
|
imageUploadsSchema,
|
|
8
8
|
publishedImageSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-K3PEQXDV.js";
|
|
10
10
|
import {
|
|
11
11
|
dashboardArtifactSchema,
|
|
12
12
|
dashboardIssue,
|
|
13
13
|
dashboardPreviewSchema,
|
|
14
14
|
normalizeDashboard
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XEXB3WZE.js";
|
|
16
16
|
import {
|
|
17
17
|
authProvidersSchema,
|
|
18
18
|
collectionPassSchema,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
questOutcomePageSchema,
|
|
24
24
|
questOutcomeSchema,
|
|
25
25
|
rewardDeliveriesSchema
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HEQ7HLXG.js";
|
|
27
27
|
import {
|
|
28
28
|
catalogDeploymentSchema,
|
|
29
29
|
collectionViewSchema,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
questExperienceSchema,
|
|
38
38
|
questTypeVersionSchema,
|
|
39
39
|
questViewSchema
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-3KHVIUKK.js";
|
|
41
41
|
import {
|
|
42
42
|
engagementArtifactSchema,
|
|
43
43
|
engagementBoundaryPageSchema,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
referralDefinitionSchema,
|
|
53
53
|
referralHistorySchema,
|
|
54
54
|
referralSummarySchema
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-TAZ5AEYF.js";
|
|
56
56
|
import {
|
|
57
57
|
accountConnectionSchema,
|
|
58
58
|
attemptSchema,
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
walletTransactionChallengeSchema,
|
|
121
121
|
walletTransactionsSchema,
|
|
122
122
|
whereSettings
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-7QHROIML.js";
|
|
124
124
|
|
|
125
125
|
// src/deployments.ts
|
|
126
126
|
import * as z from "zod";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
imageAssetArtifactSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K3PEQXDV.js";
|
|
4
4
|
import {
|
|
5
5
|
authScopeSchema,
|
|
6
6
|
exchangeResultSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3KHVIUKK.js";
|
|
8
8
|
import {
|
|
9
9
|
appIdentityKindSchema,
|
|
10
10
|
cosmosAddressSchema,
|
|
@@ -16,8 +16,9 @@ import {
|
|
|
16
16
|
offsetDateTimeSchema,
|
|
17
17
|
openIdentityKindSchema,
|
|
18
18
|
pageCursorSchema,
|
|
19
|
+
pageLimit,
|
|
19
20
|
solanaAddressSchema
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7QHROIML.js";
|
|
21
22
|
|
|
22
23
|
// src/credential-secrets.ts
|
|
23
24
|
import * as z from "zod";
|
|
@@ -412,7 +413,11 @@ var memberImportPageSchema = /* @__PURE__ */ (() => z2.object({
|
|
|
412
413
|
}))();
|
|
413
414
|
var memberImportListQuerySchema = /* @__PURE__ */ (() => z2.object({
|
|
414
415
|
cursor: z2.string().max(200).optional(),
|
|
415
|
-
limit: z2.coerce.number().int().min(1).max(100).optional()
|
|
416
|
+
limit: z2.coerce.number().int().min(1).max(100).optional(),
|
|
417
|
+
/** Only imports in this state, as `state` names it. */
|
|
418
|
+
state: z2.string().min(1).max(40).optional(),
|
|
419
|
+
/** Only imports whose `source` contains this text, ignoring case. */
|
|
420
|
+
q: z2.string().max(200).optional()
|
|
416
421
|
}).strict())();
|
|
417
422
|
|
|
418
423
|
// src/server/schedules.ts
|
|
@@ -563,9 +568,23 @@ var appScheduleRunSchema = /* @__PURE__ */ (() => z3.object({
|
|
|
563
568
|
/** The app's JSON answer when it sent a valid result. Absent on runs from before results. */
|
|
564
569
|
result: appScheduleResultSchema.nullable().optional()
|
|
565
570
|
}))();
|
|
571
|
+
var runStatuses = appScheduleRunSchema.shape.status.options;
|
|
572
|
+
var appScheduleRunsQuerySchema = /* @__PURE__ */ (() => z3.strictObject({
|
|
573
|
+
status: z3.union([
|
|
574
|
+
z3.array(z3.enum(runStatuses)).min(1).max(runStatuses.length),
|
|
575
|
+
z3.string().max(100).transform((value) => value.split(",")).pipe(z3.array(z3.enum(runStatuses)).min(1).max(runStatuses.length))
|
|
576
|
+
]).optional(),
|
|
577
|
+
limit: pageLimit,
|
|
578
|
+
cursor: pageCursorSchema.optional()
|
|
579
|
+
}))();
|
|
566
580
|
var appScheduleRunsSchema = /* @__PURE__ */ (() => z3.object({
|
|
567
|
-
/**
|
|
568
|
-
|
|
581
|
+
/**
|
|
582
|
+
* Newest first: one page of the schedule's kept runs, including a queued or running one. Relay
|
|
583
|
+
* keeps a schedule's latest 200 runs.
|
|
584
|
+
*/
|
|
585
|
+
runs: z3.array(appScheduleRunSchema),
|
|
586
|
+
/** Pass back as `cursor` for older runs; null on the last page. Relay versions before it leave it out. */
|
|
587
|
+
nextCursor: pageCursorSchema.nullish()
|
|
569
588
|
}))();
|
|
570
589
|
var appScheduleListSchema = /* @__PURE__ */ (() => z3.object({
|
|
571
590
|
state: appScheduleStateSchema,
|
|
@@ -813,7 +832,17 @@ var appStorageRowsSchema = /* @__PURE__ */ (() => z5.object({
|
|
|
813
832
|
offset: z5.number().int().min(0),
|
|
814
833
|
total: z5.number().int().min(0),
|
|
815
834
|
/** Pass back as `cursor` for the next page; null on the last one. */
|
|
816
|
-
nextCursor: pageCursorSchema.nullable().default(null)
|
|
835
|
+
nextCursor: pageCursorSchema.nullable().default(null),
|
|
836
|
+
/**
|
|
837
|
+
* The columns a row's key holds: the primary key's, or `rowid` when the table has none. Null
|
|
838
|
+
* for a view or a table without either. Absent from a Relay older than this field.
|
|
839
|
+
*/
|
|
840
|
+
keyColumns: z5.array(z5.string()).nullish(),
|
|
841
|
+
/**
|
|
842
|
+
* Each row's key, in `rows` order, to pass to `storage.cell` as `key`, which finds the row
|
|
843
|
+
* wherever it moves. Null for a row keyed by a BLOB, NULL or a very long value.
|
|
844
|
+
*/
|
|
845
|
+
rowKeys: z5.array(z5.string().nullable()).nullish()
|
|
817
846
|
}))();
|
|
818
847
|
var appStorageKeysSchema = /* @__PURE__ */ (() => z5.object({
|
|
819
848
|
keys: z5.array(
|
|
@@ -846,6 +875,24 @@ var appStorageCellPageSchema = /* @__PURE__ */ (() => z5.object({
|
|
|
846
875
|
/** Up to 100,000 characters from `offset`. Null for a BLOB, whose bytes are never read, and NULL. */
|
|
847
876
|
text: z5.string().nullable(),
|
|
848
877
|
/** Pass back as `cursor` for the next page; null on the last one. */
|
|
878
|
+
nextCursor: pageCursorSchema.nullable().default(null),
|
|
879
|
+
/**
|
|
880
|
+
* Changes when the value does: pages whose revisions differ are from different values, so
|
|
881
|
+
* never join them. Null for a BLOB and NULL; absent from a Relay older than this field.
|
|
882
|
+
*/
|
|
883
|
+
revision: z5.string().nullish()
|
|
884
|
+
}))();
|
|
885
|
+
var appStorageValueBytesSchema = /* @__PURE__ */ (() => z5.object({
|
|
886
|
+
key: z5.string(),
|
|
887
|
+
/** The whole value's size in bytes. */
|
|
888
|
+
size: z5.number().int().min(0),
|
|
889
|
+
/** How many bytes come before this page. */
|
|
890
|
+
offset: z5.number().int().min(0),
|
|
891
|
+
/** Up to `limits.apps.storageValueBytes` bytes from `offset`, base64-encoded. */
|
|
892
|
+
base64: z5.string(),
|
|
893
|
+
/** Changes when the value does: pages whose revisions differ are from different values. */
|
|
894
|
+
revision: z5.string(),
|
|
895
|
+
/** Pass back as `cursor` for the next page; null on the last one. */
|
|
849
896
|
nextCursor: pageCursorSchema.nullable().default(null)
|
|
850
897
|
}))();
|
|
851
898
|
var storageTableNameSchema = /* @__PURE__ */ (() => z5.string().min(1).max(512))();
|
|
@@ -1525,6 +1572,7 @@ export {
|
|
|
1525
1572
|
appScheduleResultSchema,
|
|
1526
1573
|
scheduleResult,
|
|
1527
1574
|
appScheduleRunSchema,
|
|
1575
|
+
appScheduleRunsQuerySchema,
|
|
1528
1576
|
appScheduleRunsSchema,
|
|
1529
1577
|
appScheduleListSchema,
|
|
1530
1578
|
scheduledInvocationSchema,
|
|
@@ -1560,6 +1608,7 @@ export {
|
|
|
1560
1608
|
appStorageValueSchema,
|
|
1561
1609
|
APP_STORAGE_CELL_CHARACTERS,
|
|
1562
1610
|
appStorageCellPageSchema,
|
|
1611
|
+
appStorageValueBytesSchema,
|
|
1563
1612
|
appStorageSqlClearSchema,
|
|
1564
1613
|
appStorageKvClearSchema,
|
|
1565
1614
|
appStorageSqlClearResultSchema,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
imageRequestSchema,
|
|
3
3
|
xRequestSchema
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-K3PEQXDV.js";
|
|
5
5
|
import {
|
|
6
6
|
cosmosAddressSchema,
|
|
7
7
|
cosmosNetworkSchema,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
textReviewInputSchema,
|
|
25
25
|
trackerContentQuerySchema,
|
|
26
26
|
trackerQuerySchema
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7QHROIML.js";
|
|
28
28
|
|
|
29
29
|
// src/capability-requests.ts
|
|
30
30
|
import * as z from "zod";
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
createHttpExchange,
|
|
10
10
|
untilAborted,
|
|
11
11
|
withQuery
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CEG67D4T.js";
|
|
13
13
|
import {
|
|
14
14
|
PARTICIPANT_TIMEOUT,
|
|
15
15
|
lifetime,
|
|
16
16
|
retrying,
|
|
17
17
|
validTimeout
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XJCKQSFS.js";
|
|
19
19
|
import {
|
|
20
20
|
authProvidersSchema,
|
|
21
21
|
collectionPassSchema,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
questOutcomeSchema,
|
|
35
35
|
rewardDeliveriesSchema,
|
|
36
36
|
rewardDeliveryQuerySchema
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HEQ7HLXG.js";
|
|
38
38
|
import {
|
|
39
39
|
exchangeResultSchema,
|
|
40
40
|
exchangeSchema,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
participantSessionSchema,
|
|
45
45
|
questExperienceSchema,
|
|
46
46
|
sessionMember
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-3KHVIUKK.js";
|
|
48
48
|
import {
|
|
49
49
|
engagementBoundaryPageSchema,
|
|
50
50
|
engagementPageQuerySchema,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
referralDefinitionSchema,
|
|
56
56
|
referralHistorySchema,
|
|
57
57
|
referralSummarySchema
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-TAZ5AEYF.js";
|
|
59
59
|
import {
|
|
60
60
|
AVATAR_UPLOAD_LIMIT,
|
|
61
61
|
accountConnectionSchema,
|
|
@@ -85,6 +85,7 @@ import {
|
|
|
85
85
|
missingPrerequisiteSchema,
|
|
86
86
|
ownProfileSchema,
|
|
87
87
|
pageQuerySchema,
|
|
88
|
+
photoEvidenceByteLimit,
|
|
88
89
|
pointBalancesSchema,
|
|
89
90
|
pointHistoryPageSchema,
|
|
90
91
|
pointHistoryQuerySchema,
|
|
@@ -114,7 +115,7 @@ import {
|
|
|
114
115
|
walletTransactionChallengeSchema,
|
|
115
116
|
walletTransactionProofSchema,
|
|
116
117
|
walletUnlinkInputSchema
|
|
117
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-7QHROIML.js";
|
|
118
119
|
import {
|
|
119
120
|
RelayError,
|
|
120
121
|
RelayErrorCode,
|
|
@@ -489,7 +490,7 @@ function legacySubmissions(transport, configuredStore, namespace) {
|
|
|
489
490
|
...handle,
|
|
490
491
|
async submit(file, call) {
|
|
491
492
|
const step = steps(call);
|
|
492
|
-
if (!["image/jpeg", "image/png"].includes(file.type) || file.size === 0 || file.size >
|
|
493
|
+
if (!["image/jpeg", "image/png"].includes(file.type) || file.size === 0 || file.size > photoEvidenceByteLimit) {
|
|
493
494
|
throw clientError(
|
|
494
495
|
"Choose a JPG or PNG photo under 5 MB",
|
|
495
496
|
RelayErrorCode.InvalidInput
|
|
@@ -768,7 +769,7 @@ function submissions(transport, configuredStore, namespace) {
|
|
|
768
769
|
return legacyHandle.submit(file, call);
|
|
769
770
|
}
|
|
770
771
|
const step = steps(call);
|
|
771
|
-
if (!["image/jpeg", "image/png"].includes(file.type) || file.size === 0 || file.size >
|
|
772
|
+
if (!["image/jpeg", "image/png"].includes(file.type) || file.size === 0 || file.size > photoEvidenceByteLimit) {
|
|
772
773
|
throw clientError(
|
|
773
774
|
"Choose a JPG or PNG photo under 5 MB",
|
|
774
775
|
RelayErrorCode.InvalidInput
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// package.json
|
|
6
6
|
var name = "@domino-sdk/relay";
|
|
7
|
-
var version = "1.
|
|
7
|
+
var version = "1.75.0";
|
|
8
8
|
|
|
9
9
|
// src/client-identity.ts
|
|
10
10
|
function clientIdentity() {
|
|
@@ -20,6 +20,7 @@ var transientStatuses = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([429, 500
|
|
|
20
20
|
function validTimeout(value) {
|
|
21
21
|
return typeof value === "number" && Number.isFinite(value) && value > 0;
|
|
22
22
|
}
|
|
23
|
+
var MAX_TIMER = 2 ** 31 - 1;
|
|
23
24
|
function lifetime(timeout, caller) {
|
|
24
25
|
const deadline = new AbortController();
|
|
25
26
|
const expiresAt = Date.now() + timeout;
|
|
@@ -27,7 +28,7 @@ function lifetime(timeout, caller) {
|
|
|
27
28
|
() => deadline.abort(
|
|
28
29
|
new DOMException(`No answer within ${timeout} ms`, "TimeoutError")
|
|
29
30
|
),
|
|
30
|
-
timeout
|
|
31
|
+
Math.min(timeout, MAX_TIMER)
|
|
31
32
|
);
|
|
32
33
|
const signal = caller ? AbortSignal.any([caller, deadline.signal]) : deadline.signal;
|
|
33
34
|
return {
|
|
@@ -70,7 +71,7 @@ function pause(ms, signal) {
|
|
|
70
71
|
signal.removeEventListener("abort", done);
|
|
71
72
|
resolve();
|
|
72
73
|
};
|
|
73
|
-
const timer = setTimeout(done, ms);
|
|
74
|
+
const timer = setTimeout(done, Math.min(ms, MAX_TIMER));
|
|
74
75
|
signal.addEventListener("abort", done, { once: true });
|
|
75
76
|
});
|
|
76
77
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRelayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UHYKKC5U.js";
|
|
4
4
|
import {
|
|
5
5
|
connectSolanaAccount,
|
|
6
6
|
noAccount,
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
} from "./chunk-MDSSIOBC.js";
|
|
10
10
|
import {
|
|
11
11
|
sessionMember
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3KHVIUKK.js";
|
|
13
13
|
import {
|
|
14
14
|
base58,
|
|
15
15
|
cosmosChain
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7QHROIML.js";
|
|
17
17
|
import {
|
|
18
18
|
RelayErrorCode,
|
|
19
19
|
asRelayError,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { G as QuizEvidence, a as Attempt, s as MemberProgress, at as referralAcceptSchema, q as LeaderboardQuery, b as AttemptStatus, X as AttemptCodeSource, O as StationCheckIn, f as CampaignEnrollmentInput, h as CampaignWithdrawalInput, J as SignInProvider, c as AuthProvider, I as SignInAccountStatus, x as PointHistoryQuery, v as PointEntryKind, n as LeaderboardHistoryQuery, au as submitSchema, av as engagementPageQuerySchema, aw as contentPerformanceQuerySchema } from './accounts-C9as33l1.js';
|
|
2
|
-
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-
|
|
2
|
+
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-D_NiBR0W.js';
|
|
3
3
|
import { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind } from './request-error-C24SY7n9.js';
|
|
4
4
|
import { d as WalletProofKind, ar as walletAddressInputSchema, as as walletSignatureSchema, at as walletTransactionProofSchema, L as LinkedWallet, g as WalletSigner } from './wallet-CeqgtXNm.js';
|
|
5
5
|
import { q as ResponseSchema, i as PageQuery, k as QuestEnrollmentInput, Q as QuestClaimInput, n as QuestOutcomeQuery, M as MemberConsent, a as ConsentInput, e as CreatorAccountProvider, r as RewardDeliveryQuery, s as RewardDeliveryPage, t as contentQualificationQuerySchema } from './reward-deliveries-zWfsgc6m.js';
|
|
@@ -8,7 +8,7 @@ import { T as TrackerSkipCode, S as SkipEnrollment } from './tracker-data-Dwq9dW
|
|
|
8
8
|
import { b as ParticipantSession, e as exchangeSchema, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from './participant-activity-BznrcePT.js';
|
|
9
9
|
import * as z from 'zod';
|
|
10
10
|
import { c as createRelayAction, O as OptionalActionId } from './action-BDFKqGlH.js';
|
|
11
|
-
import { A as AuthProviders } from './sign-in-providers-
|
|
11
|
+
import { A as AuthProviders } from './sign-in-providers-BMtk_NWY.js';
|
|
12
12
|
import { p as profileUpdateSchema, c as ProfileCompletionQuery } from './profiles-CLDKZVFx.js';
|
|
13
13
|
|
|
14
14
|
/** What happened, as in every Domino client error (see `RequestError`). */
|
|
@@ -1005,6 +1005,8 @@ declare const memberImportPageSchema: z.ZodObject<{
|
|
|
1005
1005
|
declare const memberImportListQuerySchema: z.ZodObject<{
|
|
1006
1006
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1007
1007
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1008
|
+
state: z.ZodOptional<z.ZodString>;
|
|
1009
|
+
q: z.ZodOptional<z.ZodString>;
|
|
1008
1010
|
}, z.core.$strict>;
|
|
1009
1011
|
type MemberImportListQuery = z.input<typeof memberImportListQuerySchema>;
|
|
1010
1012
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { B as Badge, a as BadgeCatalog, M as ManagedBadge, b as MemberBadge, c as MemberBadges, O as Offer, d as OfferDefinition, e as OfferPrice, R as RedeemOfferInput, f as Redemption } from './offers-CnMyMeQo.js';
|
|
2
2
|
export { R as RelayAction, c as createRelayAction } from './action-BDFKqGlH.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-336yROej.js';
|
|
4
4
|
export { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind, c as RequestRecovery, i as isRequestError } from './request-error-C24SY7n9.js';
|
|
5
5
|
export { A as AccountConnection, a as Attempt, b as AttemptStatus, c as AuthProvider, d as AvailabilityWindow, C as CampaignDefinition, e as CampaignEnrollment, f as CampaignEnrollmentInput, g as CampaignView, h as CampaignWithdrawalInput, E as Entitlement, i as EvaluatorProgress, K as KnownAttemptStatus, j as KnownPointEntryKind, k as KnownSignInAccountStatus, l as KnownSignInProvider, L as LeaderboardDefinition, m as LeaderboardHistoryPage, n as LeaderboardHistoryQuery, o as LeaderboardPage, p as LeaderboardPlacement, q as LeaderboardQuery, M as MemberCampaignEnrollmentInput, r as MemberCampaignWithdrawalInput, s as MemberProgress, P as PointBalance, t as PointBalances, u as PointEntry, v as PointEntryKind, w as PointHistoryPage, x as PointHistoryQuery, y as PointLedgerReference, z as ProjectGroup, B as ProjectGroupReference, Q as QuestBudgetView, D as QuestPresentation, F as QuestProfile, G as QuizEvidence, R as ReferralDefinition, H as Reward, S as SignInAccount, I as SignInAccountStatus, J as SignInProvider, N as SignInProviderOption, O as StationCheckIn, T as SubmissionEvidence, U as SubmitInput, V as TieredRewardReference } from './accounts-C9as33l1.js';
|
|
6
6
|
export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
|
|
7
7
|
export { C as ConsentChannel, a as ConsentInput, b as ConsentSource, c as ConsentState, d as CreatorAccount, e as CreatorAccountProvider, f as CreatorAccounts, K as KnownConsentChannel, g as KnownConsentSource, h as KnownConsentState, M as MemberConsent, P as Page, i as PageQuery, Q as QuestClaimInput, j as QuestEnrollment, k as QuestEnrollmentInput, l as QuestOutcome, m as QuestOutcomePage, n as QuestOutcomeQuery, o as QuestOutcomeState, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './reward-deliveries-zWfsgc6m.js';
|
|
8
|
-
export { M as MissingPrerequisite, P as Prerequisite, T as TelegramAccountConnection, a as TelegramSignInMethods, b as TextEvidence, c as TextOptions, U as UrlEvidence, d as UrlOptions, V as ValueEvidence } from './submission-input-
|
|
8
|
+
export { M as MissingPrerequisite, P as Prerequisite, T as TelegramAccountConnection, a as TelegramSignInMethods, b as TextEvidence, c as TextOptions, U as UrlEvidence, d as UrlOptions, V as ValueEvidence } from './submission-input-D_NiBR0W.js';
|
|
9
9
|
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-BznrcePT.js';
|
|
10
10
|
export { Q as QuestInteraction, a as QuestRewardView, b as QuestView } from './catalog-9I6t18qP.js';
|
|
11
11
|
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-D0yMHSHL.js';
|
|
@@ -15,4 +15,4 @@ export { Q as QuizContent, S as StreakProgress } from './streaks-MAqKHbHC.js';
|
|
|
15
15
|
export { C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, W as WalletAddressInput, b as WalletChain, c as WalletMessageChallenge, d as WalletProofKind, e as WalletSignInNetwork, f as WalletSignature, g as WalletSigner, h as WalletTransactionChallenge, i as WalletTransactionProof, j as WalletUnlinkInput } from './wallet-CeqgtXNm.js';
|
|
16
16
|
export { P as ParticipantDelivery } from './participant-rewards-s5Gn23qb.js';
|
|
17
17
|
import 'zod';
|
|
18
|
-
import './sign-in-providers-
|
|
18
|
+
import './sign-in-providers-BMtk_NWY.js';
|
package/dist/index.js
CHANGED
|
@@ -5,25 +5,25 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
QuestUpdatedError,
|
|
7
7
|
createRelayClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UHYKKC5U.js";
|
|
9
9
|
import {
|
|
10
10
|
createRelayAction
|
|
11
11
|
} from "./chunk-E73HZCG2.js";
|
|
12
12
|
import "./chunk-AL5XMXPO.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-CEG67D4T.js";
|
|
14
|
+
import "./chunk-XJCKQSFS.js";
|
|
15
15
|
import {
|
|
16
16
|
QuestOutcomeState
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HEQ7HLXG.js";
|
|
18
18
|
import {
|
|
19
19
|
sessionMember
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-3KHVIUKK.js";
|
|
21
|
+
import "./chunk-TAZ5AEYF.js";
|
|
22
22
|
import {
|
|
23
23
|
AttemptStatus,
|
|
24
24
|
PointEntryKind,
|
|
25
25
|
paginate
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7QHROIML.js";
|
|
27
27
|
import {
|
|
28
28
|
RelayError,
|
|
29
29
|
RelayErrorCode,
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { a as ManagementEndpoint } from './transport-
|
|
2
|
-
import { managedAttemptPageSchema, managedAttemptSchema, evidenceRedactionResultSchema, evidenceRetentionResultSchema, evidenceRetentionSettingSchema, BillingPlan, memberCompletionPageSchema, completionRevocationSchema, completionRestorationSchema, completionReceiptSchema, completionReceiptListSchema, ConnectionStatus, ConnectionReconnectReason, ConnectionSyncKind, ConnectionSyncStatus, PluginSlot, ProjectRole, managedEntitlementPageSchema, managedEntitlementSchema, inventoryItemPageSchema, inventoryItemStateSchema, stockAdditionSchema, leaderboardSettlementReviewPageSchema, leaderboardSettlementReviewSchema, leaderboardSettlementExportSchema, solanaPayoutPageSchema, solanaPayoutSchema, solanaPayoutConfirmationResultSchema, RevokedEntitlementOutcome, RevokedDeliveryOutcome, RevokedReferralOutcome, IdentitySource, MemberBanRunStatus, ManagedAccountStatus, offerLifecycleResultSchema, tieredRewardLifecycleResultSchema, operationSchema, ProjectPermission, StationProof, StationStatus, TestMemberDecisionKind } from './server/index.js';
|
|
3
|
-
export {
|
|
1
|
+
import { a as ManagementEndpoint } from './transport-BMwM6JlS.js';
|
|
2
|
+
import { managedAttemptPageSchema, managedAttemptSchema, evidenceRedactionResultSchema, evidenceRetentionResultSchema, evidenceRetentionSettingSchema, BillingPlan, memberCompletionPageSchema, completionRevocationSchema, completionRestorationSchema, completionReceiptSchema, completionReceiptListSchema, ConnectionStatus, ConnectionReconnectReason, ConnectionSyncKind, ConnectionSyncStatus, PluginSlot, ProjectRole, managedEntitlementPageSchema, managedEntitlementSchema, inventoryItemPageSchema, inventoryItemStateSchema, stockAdditionSchema, leaderboardMemberStandingSchema, leaderboardSettlementReviewPageSchema, leaderboardSettlementReviewSchema, leaderboardSettlementExportSchema, solanaPayoutPageSchema, solanaPayoutSchema, solanaPayoutConfirmationResultSchema, RevokedEntitlementOutcome, RevokedDeliveryOutcome, RevokedReferralOutcome, IdentitySource, MemberBanRunStatus, ManagedAccountStatus, offerLifecycleResultSchema, tieredRewardLifecycleResultSchema, operationSchema, ProjectPermission, StationProof, StationStatus, managedReferralHistorySchema, TestMemberDecisionKind } from './server/index.js';
|
|
3
|
+
export { U as EndpointMethod, V as EndpointPermission, X as EndpointResult, Y as HOSTING_NAME_PATTERN, Z as ID_PATTERN, _ as ManagementTransportOptions, $ as OrganizationRule, a0 as ParameterPattern, a1 as ParticipantRoute, a2 as PathParameters, a3 as QuestShapeError, a4 as REFERRAL_INTEGRATION_REWARD_ERROR, a5 as SEGMENT_PATTERN, a6 as UUID_PATTERN, a7 as containsReferralIntegrationReward, a8 as endpointRoute, a9 as isIntegrationParticipantPath, aa as isParticipantRoute, ab as managementEndpoint, ac as managementTransport, ad as nextScheduleRun, ae as ok, af as parseImageExtraction, ag as parseImageResult, ah as participantRoutePattern, ai as participantRoutes, aj as questConfiguration, ak as sequenceCursorSchema, al as sourceDataSchema, am as sourceRoles, an as validateQuestShape } from './transport-BMwM6JlS.js';
|
|
4
4
|
import { MemberImportState, MemberImportRefusalCode } from './server/index.js';
|
|
5
|
-
export { A as AccountVouchedBy, d as IdentityIntegration, e as IdentityIntegrationAccountVouchingInput, f as IdentityIntegrationAppSecret, I as IdentityIntegrationKey, g as IdentityKindClaim, K as KnownIdentityIntegrationEnvironment, P as ParticipantExchangeAccountResult, h as ParticipantExchangeInput, a as ParticipantExchangeResult, i as accountVouchedBySchema, j as appLoginOriginSchema, k as httpsOriginSchema, l as identityIntegrationAccountVouchingInputSchema, m as identityIntegrationAppSecretSchema, n as identityIntegrationInputSchema, o as identityIntegrationKeySchema, p as identityIntegrationSchema, q as identityIntegrationSecretSchema, r as identityKindClaimSchema, s as participantExchangeAccountResultSchema, t as participantExchangeAccountsSchema, u as participantExchangeResultSchema, v as participantExchangeSchema } from './identity-integration-
|
|
6
|
-
import { E as Extracted } from './limits-
|
|
5
|
+
export { A as AccountVouchedBy, d as IdentityIntegration, e as IdentityIntegrationAccountVouchingInput, f as IdentityIntegrationAppSecret, I as IdentityIntegrationKey, g as IdentityKindClaim, K as KnownIdentityIntegrationEnvironment, P as ParticipantExchangeAccountResult, h as ParticipantExchangeInput, a as ParticipantExchangeResult, i as accountVouchedBySchema, j as appLoginOriginSchema, k as httpsOriginSchema, l as identityIntegrationAccountVouchingInputSchema, m as identityIntegrationAppSecretSchema, n as identityIntegrationInputSchema, o as identityIntegrationKeySchema, p as identityIntegrationSchema, q as identityIntegrationSecretSchema, r as identityKindClaimSchema, s as participantExchangeAccountResultSchema, t as participantExchangeAccountsSchema, u as participantExchangeResultSchema, v as participantExchangeSchema } from './identity-integration-DnSgQjbY.js';
|
|
6
|
+
import { E as Extracted } from './limits-DICxln-i.js';
|
|
7
7
|
import { ImageReference, ImageFields } from './schema.js';
|
|
8
8
|
import { IntegrationModuleProvider, GalleryKind } from './authoring.js';
|
|
9
9
|
import { AttemptStatus, SignInProvider } from './index.js';
|
|
10
|
-
import { AttemptCodeSource, attemptSchema, RewardType, contentPerformancePageSchema, engagementPageSchema, engagementBoundaryPageSchema, engagementVersionPageSchema, engagementRuleVersionPageSchema, engagementRuleSchema, engagementChangePreviewSchema, entitlementSchema, stockItemSchema, pickupCatalogSchema, pickupAvailabilitySchema, leaderboardPageSchema, leaderboardExclusionGroupSchema, leaderboardSettlementSchema, CompletionSourceKind, KnownAttemptActionKind, QuestSubmissionStatus, referralManagementSchema } from './schema.js';
|
|
10
|
+
import { AttemptCodeSource, attemptSchema, RewardType, contentPerformancePageSchema, engagementPageSchema, engagementBoundaryPageSchema, engagementVersionPageSchema, engagementRuleVersionPageSchema, engagementRuleSchema, engagementChangePreviewSchema, entitlementSchema, stockItemSchema, pickupCatalogSchema, pickupAvailabilitySchema, leaderboardPageSchema, leaderboardHistoryPageSchema, leaderboardExclusionGroupSchema, leaderboardSettlementSchema, CompletionSourceKind, KnownAttemptActionKind, QuestSubmissionStatus, referralManagementSchema } from './schema.js';
|
|
11
11
|
export { ew as stationRefusal } from './accounts-C9as33l1.js';
|
|
12
|
+
import { TelegramChatMemberStatus } from './authoring.js';
|
|
13
|
+
export { S as photoEvidenceByteLimit } from './submission-input-D_NiBR0W.js';
|
|
12
14
|
import { StandardWallet, StandardWalletAccount } from './browser.js';
|
|
13
15
|
import { SolanaSeed, NftCollection, WalletBalanceQuery, WalletNftsQuery, WalletCallQuery, WalletDelegationsQuery, WalletEventsQuery, WalletTransactionsQuery, WalletProgramAccountQuery, WalletStakeQuery } from './authoring.js';
|
|
14
16
|
import { WalletProofKind } from './index.js';
|
|
@@ -20,9 +22,8 @@ import { SkipEnrollment } from './index.js';
|
|
|
20
22
|
import { OpenIdentityKind, trackerStatusSchema, trackerPageSchema, trackerContentSchema, trackerSummarySchema, trackerOutcomePageSchema, trackerTriggerOutcomePageSchema, trackerIngestResultSchema, trackerOutcomeSchema, trackerPreviewSchema } from './schema.js';
|
|
21
23
|
export { bL as TrackerDataBudget, bM as schemaCheckedReader, E as sourceContent, bN as trackerDataBatchSteps, bO as trackerDataIssue, bP as trackerDataIssues, bQ as trackerDataPathTypes, bR as trackerDataRecordSteps, bS as walletProgramAccounts, bT as whereSchemaIssue, F as whereSettings } from './tracker-data-Dwq9dWEm.js';
|
|
22
24
|
export { H as HostEnvironment, h as hostEnvironmentPath, a as hostEnvironmentSchema } from './host-environment-DUw5-Cvj.js';
|
|
23
|
-
export { k as compatibleSettingKinds, l as dashboardIssue, m as isBoundSetting, n as normalizeDashboard } from './capability-error-
|
|
25
|
+
export { k as compatibleSettingKinds, l as dashboardIssue, m as isBoundSetting, n as normalizeDashboard } from './capability-error-D56xxE2i.js';
|
|
24
26
|
import * as z from 'zod';
|
|
25
|
-
import { TelegramChatMemberStatus } from './authoring.js';
|
|
26
27
|
import { EvaluationContext, MemberCompletionQuery } from './authoring.js';
|
|
27
28
|
export { m as walletBalances, n as walletNfts, o as walletProgramActivity, p as walletStake } from './stake-BSVjB3BJ.js';
|
|
28
29
|
import * as zod_v4_core from 'zod/v4/core';
|
|
@@ -15054,6 +15055,8 @@ declare const storageEndpoints: {
|
|
|
15054
15055
|
offset: z.ZodNumber;
|
|
15055
15056
|
total: z.ZodNumber;
|
|
15056
15057
|
nextCursor: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
15058
|
+
keyColumns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
15059
|
+
rowKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>>>>;
|
|
15057
15060
|
}, z.core.$strip>, "GET"> & {
|
|
15058
15061
|
readonly ledger: null;
|
|
15059
15062
|
};
|
|
@@ -15072,6 +15075,7 @@ declare const storageEndpoints: {
|
|
|
15072
15075
|
offset: z.ZodNumber;
|
|
15073
15076
|
text: z.ZodNullable<z.ZodString>;
|
|
15074
15077
|
nextCursor: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
15078
|
+
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15075
15079
|
}, z.core.$strip>, "GET"> & {
|
|
15076
15080
|
readonly ledger: null;
|
|
15077
15081
|
};
|
|
@@ -15093,6 +15097,16 @@ declare const storageEndpoints: {
|
|
|
15093
15097
|
}, z.core.$strip>, "GET"> & {
|
|
15094
15098
|
readonly ledger: null;
|
|
15095
15099
|
};
|
|
15100
|
+
bytes: ManagementEndpoint<"/storage/kv/{name}/bytes", () => z.ZodObject<{
|
|
15101
|
+
key: z.ZodString;
|
|
15102
|
+
size: z.ZodNumber;
|
|
15103
|
+
offset: z.ZodNumber;
|
|
15104
|
+
base64: z.ZodString;
|
|
15105
|
+
revision: z.ZodString;
|
|
15106
|
+
nextCursor: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
15107
|
+
}, z.core.$strip>, "GET"> & {
|
|
15108
|
+
readonly ledger: null;
|
|
15109
|
+
};
|
|
15096
15110
|
clear: ManagementEndpoint<"/storage/{kind}/{name}/clear", () => z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15097
15111
|
environment: z.ZodString;
|
|
15098
15112
|
kind: z.ZodLiteral<"sql">;
|
|
@@ -15213,6 +15227,7 @@ declare const scheduleEndpoints: {
|
|
|
15213
15227
|
}, z.core.$strip>>>;
|
|
15214
15228
|
}, z.core.$strip>>>;
|
|
15215
15229
|
}, z.core.$strip>>;
|
|
15230
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15216
15231
|
}, z.core.$strip>, "GET"> & {
|
|
15217
15232
|
readonly ledger: null;
|
|
15218
15233
|
};
|
|
@@ -15986,6 +16001,16 @@ declare const leaderboardEndpoints: {
|
|
|
15986
16001
|
} & {
|
|
15987
16002
|
readonly bodyLimit?: undefined;
|
|
15988
16003
|
};
|
|
16004
|
+
memberStanding: ManagementEndpoint<"/leaderboards/{leaderboard}/members/{member}", () => typeof leaderboardMemberStandingSchema, "GET"> & {
|
|
16005
|
+
readonly ledger: "leaderboards.memberStanding";
|
|
16006
|
+
} & {
|
|
16007
|
+
readonly bodyLimit?: undefined;
|
|
16008
|
+
};
|
|
16009
|
+
memberEntries: ManagementEndpoint<"/leaderboards/{leaderboard}/members/{member}/entries", () => typeof leaderboardHistoryPageSchema, "GET"> & {
|
|
16010
|
+
readonly ledger: "leaderboards.memberEntries";
|
|
16011
|
+
} & {
|
|
16012
|
+
readonly bodyLimit?: undefined;
|
|
16013
|
+
};
|
|
15989
16014
|
history: ManagementEndpoint<"/leaderboards/{leaderboard}/history", () => z.ZodArray<z.ZodObject<{
|
|
15990
16015
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15991
16016
|
version: z.ZodString;
|
|
@@ -28582,6 +28607,7 @@ declare const projectEndpoints: {
|
|
|
28582
28607
|
live: "live";
|
|
28583
28608
|
}>>;
|
|
28584
28609
|
}, z.core.$strip>>;
|
|
28610
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
28585
28611
|
credential: z.ZodOptional<z.ZodObject<{
|
|
28586
28612
|
kind: z.ZodString;
|
|
28587
28613
|
id: z.ZodString;
|
|
@@ -31915,17 +31941,7 @@ declare const referralEndpoints: {
|
|
|
31915
31941
|
} & {
|
|
31916
31942
|
readonly bodyLimit?: undefined;
|
|
31917
31943
|
};
|
|
31918
|
-
history: ManagementEndpoint<"/referrals/history/{member}", () =>
|
|
31919
|
-
items: z.ZodArray<z.ZodObject<{
|
|
31920
|
-
id: z.ZodNumber;
|
|
31921
|
-
program: z.ZodString;
|
|
31922
|
-
balance: z.ZodString;
|
|
31923
|
-
amount: z.ZodNumber;
|
|
31924
|
-
at: z.ZodNumber;
|
|
31925
|
-
reason: z.ZodString;
|
|
31926
|
-
}, z.core.$strip>>;
|
|
31927
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
31928
|
-
}, z.core.$strip>, "GET"> & {
|
|
31944
|
+
history: ManagementEndpoint<"/referrals/history/{member}", () => typeof managedReferralHistorySchema, "GET"> & {
|
|
31929
31945
|
readonly ledger: "referrals.memberHistory";
|
|
31930
31946
|
} & {
|
|
31931
31947
|
readonly bodyLimit?: undefined;
|