@domino-sdk/relay 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring.d.ts +3 -2
- package/dist/authoring.js +10 -3
- package/dist/browser.d.ts +54 -54
- package/dist/browser.js +2 -2
- package/dist/{chunk-CE5XVIJQ.js → chunk-XOEREIXI.js} +202 -70
- package/dist/{chunk-NLMEK77N.js → chunk-Y7FVHF65.js} +7 -3
- package/dist/index.d.ts +192 -108
- package/dist/index.js +38 -4
- package/dist/{settings-B61jIDDA.d.ts → settings-CgI5nDQr.d.ts} +341 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { errorSchema, QuizEvidence, Attempt, SubmitInput, MemberProgress, questDescriptionSchema, PublishedRelease, ReviewListOptions, MemberListOptions, ReleaseInput, beginHandoverSchema } from './schema.js';
|
|
3
3
|
export { Decision, Entitlement, MemberPage, PhotoResult, PickupAvailability, QuestAvailability, QuestDescription, QuestPresentation, QuestSettingsInput, ReviewPage, Reward, Snapshot, TieredRewardDefinition, artifactSchema, attemptSchema, batchReleaseSchema, completionRecordSchema, configurePickupSchema, confirmHandoverSchema, createStockItemSchema, decisionSchema, entitlementSchema, eventSchema, evidenceSchema, identifier, integrationRewardSchema, mediaUrlSchema, memberListSchema, memberPageSchema, memberProgressSchema, photoResultSchema, pickupAllocationSchema, pickupAvailabilitySchema, pickupCatalogSchema, pickupPolicySchema, pickupSelectionSchema, pointsRewardSchema, prerequisiteSchema, publishedReleaseSchema, questAvailabilitySchema, questPresentationSchema, questSettingsInputSchema, quizAnswersSchema, quizEvidenceSchema, releaseSchema, reservationSchema, reviewItemSchema, reviewListSchema, reviewModeSchema, reviewPageSchema, rewardBundleSchema, rewardKey, rewardSchema, snapshotSchema, staffDecisionSchema, stockItemSchema, stockSchema, storedReviewModeSchema, submitSchema, templateSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema } from './schema.js';
|
|
4
|
-
import { r as referralAcceptSchema, L as LeaderboardQuery, w as walletChallengeInputSchema,
|
|
5
|
-
export {
|
|
4
|
+
import { r as referralAcceptSchema, L as LeaderboardQuery, w as walletChallengeInputSchema, i as walletProofSchema, j as AuthProvider } from './settings-CgI5nDQr.js';
|
|
5
|
+
export { k as AccountConnection, B as Budget, D as DiscordMember, a as DiscordMessage, I as IntegrationProvider, l as LeaderboardDefinition, m as LeaderboardPage, O as Observation, P as ProjectIntegration, Q as QuizContent, R as ReferralDefinition, n as ResourceOption, q as ResourceSource, t as SettingField, u as SettingsValues, S as SolanaBalance, b as StreakPolicy, v as StreakProgress, y as TrackerDefinition, z as TrackerQuery, T as TrackerReader, C as TrackerRecord, E as TrackerStatus, W as WalletConnection, X as XTweet, F as accountConnectionSchema, G as authProviderSchema, H as budgetSchema, J as communityTimeZoneSchema, K as compatibleSettingKinds, M as completionKeySchema, N as completionPolicySchema, c as customSource, d as defineLeaderboard, e as defineReferral, f as defineTracker, g as discord, U as discordMemberInputSchema, V as discordMemberSchema, Y as discordMessageInputSchema, Z as discordMessageSchema, _ as discordReactionSchema, $ as discordServerSchema, a0 as integrationProviderSchema, a1 as leaderboardArtifactSchema, a2 as leaderboardAuthoringSchema, a3 as leaderboardDefinitionSchema, a4 as leaderboardExclusionSchema, a5 as leaderboardGroupSchema, a6 as leaderboardPageSchema, a7 as leaderboardPreviewSchema, a8 as leaderboardQuerySchema, a9 as leaderboardRowSchema, aa as leaderboardWindowSchema, ab as missingResourceSettings, ac as observationInputSchema, ad as observationReceiptSchema, ae as observationSchema, o as observationTriggerSchema, af as parseSettings, p as pointLedgers, ag as pointsAccountSchema, ah as pointsEntrySchema, ai as pointsMutationSchema, aj as pointsResultSchema, ak as projectIntegrationSchema, al as publishedLeaderboardSchema, am as publishedReferralSchema, an as publishedTrackerSchema, ao as quizChoiceSchema, ap as quizContentSchema, aq as quizQuestionSchema, ar as quizQuestionsSchema, as as referralAccountSchema, at as referralArtifactSchema, au as referralAuthoringSchema, av as referralControlSchema, aw as referralDefinitionSchema, ax as referralHistorySchema, ay as referralManagementSchema, az as referralRelationshipSchema, aA as referralSummarySchema, aB as resourceOptionsSchema, aC as resourceRequestSchema, aD as resourceSourceSchema, aE as settingFieldSchema, s as settings, aF as settingsFieldsSchema, aG as settingsValuesSchema, aH as solanaAddressSchema, aI as solanaBalanceSchema, h as streak, aJ as streakPolicySchema, aK as streakProgressSchema, aL as trackerArtifactSchema, aM as trackerControlSchema, aN as trackerDefinitionSchema, aO as trackerIngestResultSchema, aP as trackerIngestSchema, aQ as trackerPageSchema, aR as trackerQuerySchema, aS as trackerRecordInputSchema, aT as trackerRecordSchema, aU as trackerSourceSchema, aV as trackerStatusSchema, aW as trackerSummarySchema, aX as walletChallengeSchema, aY as walletConnectionSchema, x, aZ as xTweetSchema } from './settings-CgI5nDQr.js';
|
|
6
6
|
|
|
7
7
|
declare class RelayError extends Error {
|
|
8
8
|
readonly status: number;
|
|
@@ -190,9 +190,9 @@ type ProgressObserver = {
|
|
|
190
190
|
};
|
|
191
191
|
|
|
192
192
|
declare const interactionSchema: z.ZodEnum<{
|
|
193
|
-
staff: "staff";
|
|
194
193
|
quiz: "quiz";
|
|
195
194
|
photo: "photo";
|
|
195
|
+
staff: "staff";
|
|
196
196
|
automatic: "automatic";
|
|
197
197
|
claim: "claim";
|
|
198
198
|
}>;
|
|
@@ -375,8 +375,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
375
375
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
376
376
|
id: z.ZodString;
|
|
377
377
|
scope: z.ZodEnum<{
|
|
378
|
-
project: "project";
|
|
379
378
|
member: "member";
|
|
379
|
+
project: "project";
|
|
380
380
|
}>;
|
|
381
381
|
period: z.ZodEnum<{
|
|
382
382
|
day: "day";
|
|
@@ -721,8 +721,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
721
721
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
722
722
|
id: z.ZodString;
|
|
723
723
|
scope: z.ZodEnum<{
|
|
724
|
-
project: "project";
|
|
725
724
|
member: "member";
|
|
725
|
+
project: "project";
|
|
726
726
|
}>;
|
|
727
727
|
period: z.ZodEnum<{
|
|
728
728
|
day: "day";
|
|
@@ -1011,8 +1011,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1011
1011
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1012
1012
|
id: z.ZodString;
|
|
1013
1013
|
scope: z.ZodEnum<{
|
|
1014
|
-
project: "project";
|
|
1015
1014
|
member: "member";
|
|
1015
|
+
project: "project";
|
|
1016
1016
|
}>;
|
|
1017
1017
|
period: z.ZodEnum<{
|
|
1018
1018
|
day: "day";
|
|
@@ -1108,7 +1108,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1108
1108
|
createdAt: z.ZodNumber;
|
|
1109
1109
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1110
1110
|
quest: string;
|
|
1111
|
-
runtimeVersion:
|
|
1111
|
+
runtimeVersion: 1 | 2;
|
|
1112
1112
|
title: string;
|
|
1113
1113
|
presentation: {
|
|
1114
1114
|
quiz?: {
|
|
@@ -1145,12 +1145,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1145
1145
|
kind: "resource";
|
|
1146
1146
|
default: string;
|
|
1147
1147
|
source: {
|
|
1148
|
-
provider: "domino";
|
|
1149
|
-
resource: "point-ledger";
|
|
1150
|
-
} | {
|
|
1151
1148
|
provider: "discord";
|
|
1152
1149
|
resource: "channel";
|
|
1153
1150
|
types: ("text" | "announcement")[];
|
|
1151
|
+
} | {
|
|
1152
|
+
provider: "domino";
|
|
1153
|
+
resource: "point-ledger";
|
|
1154
1154
|
} | {
|
|
1155
1155
|
provider: "discord";
|
|
1156
1156
|
resource: "role";
|
|
@@ -1262,7 +1262,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1262
1262
|
visibility: "visible" | "hidden";
|
|
1263
1263
|
budgets: {
|
|
1264
1264
|
id: string;
|
|
1265
|
-
scope: "
|
|
1265
|
+
scope: "member" | "project";
|
|
1266
1266
|
period: "day" | "lifetime";
|
|
1267
1267
|
limit: number;
|
|
1268
1268
|
cost: number | {
|
|
@@ -1338,9 +1338,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1338
1338
|
createdAt: number;
|
|
1339
1339
|
}>>]>>>;
|
|
1340
1340
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1341
|
-
staff: "staff";
|
|
1342
1341
|
quiz: "quiz";
|
|
1343
1342
|
photo: "photo";
|
|
1343
|
+
staff: "staff";
|
|
1344
1344
|
automatic: "automatic";
|
|
1345
1345
|
claim: "claim";
|
|
1346
1346
|
}>>;
|
|
@@ -1369,9 +1369,9 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1369
1369
|
id?: string | undefined;
|
|
1370
1370
|
}>>>>;
|
|
1371
1371
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1372
|
-
staff: "staff";
|
|
1373
1372
|
quiz: "quiz";
|
|
1374
1373
|
photo: "photo";
|
|
1374
|
+
staff: "staff";
|
|
1375
1375
|
automatic: "automatic";
|
|
1376
1376
|
claim: "claim";
|
|
1377
1377
|
}>>>;
|
|
@@ -1555,8 +1555,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1555
1555
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1556
1556
|
id: z.ZodString;
|
|
1557
1557
|
scope: z.ZodEnum<{
|
|
1558
|
-
project: "project";
|
|
1559
1558
|
member: "member";
|
|
1559
|
+
project: "project";
|
|
1560
1560
|
}>;
|
|
1561
1561
|
period: z.ZodEnum<{
|
|
1562
1562
|
day: "day";
|
|
@@ -1583,9 +1583,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1583
1583
|
title: z.ZodString;
|
|
1584
1584
|
}, z.core.$strict>>;
|
|
1585
1585
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1586
|
-
staff: "staff";
|
|
1587
1586
|
quiz: "quiz";
|
|
1588
1587
|
photo: "photo";
|
|
1588
|
+
staff: "staff";
|
|
1589
1589
|
automatic: "automatic";
|
|
1590
1590
|
claim: "claim";
|
|
1591
1591
|
}>>;
|
|
@@ -1654,10 +1654,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1654
1654
|
}, z.core.$strict>>;
|
|
1655
1655
|
}, z.core.$strict>>;
|
|
1656
1656
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1657
|
-
discord: "discord";
|
|
1658
1657
|
google: "google";
|
|
1659
1658
|
apple: "apple";
|
|
1660
1659
|
x: "x";
|
|
1660
|
+
discord: "discord";
|
|
1661
1661
|
}>>>;
|
|
1662
1662
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1663
1663
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -1773,12 +1773,12 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1773
1773
|
}, Record<string, string>>>;
|
|
1774
1774
|
}, z.core.$strict>>;
|
|
1775
1775
|
status: z.ZodEnum<{
|
|
1776
|
+
"needs-review": "needs-review";
|
|
1776
1777
|
queued: "queued";
|
|
1777
1778
|
evaluating: "evaluating";
|
|
1778
1779
|
accepted: "accepted";
|
|
1779
1780
|
progressed: "progressed";
|
|
1780
1781
|
rejected: "rejected";
|
|
1781
|
-
"needs-review": "needs-review";
|
|
1782
1782
|
failed: "failed";
|
|
1783
1783
|
}>;
|
|
1784
1784
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -1816,9 +1816,9 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1816
1816
|
}, z.core.$strip>>;
|
|
1817
1817
|
release: z.ZodString;
|
|
1818
1818
|
interaction: z.ZodEnum<{
|
|
1819
|
-
staff: "staff";
|
|
1820
1819
|
quiz: "quiz";
|
|
1821
1820
|
photo: "photo";
|
|
1821
|
+
staff: "staff";
|
|
1822
1822
|
automatic: "automatic";
|
|
1823
1823
|
claim: "claim";
|
|
1824
1824
|
}>;
|
|
@@ -1860,10 +1860,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
1860
1860
|
}, z.core.$strict>>;
|
|
1861
1861
|
}, z.core.$strict>>;
|
|
1862
1862
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1863
|
-
discord: "discord";
|
|
1864
1863
|
google: "google";
|
|
1865
1864
|
apple: "apple";
|
|
1866
1865
|
x: "x";
|
|
1866
|
+
discord: "discord";
|
|
1867
1867
|
}>>>;
|
|
1868
1868
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1869
1869
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -1979,12 +1979,12 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
1979
1979
|
}, Record<string, string>>>;
|
|
1980
1980
|
}, z.core.$strict>>;
|
|
1981
1981
|
status: z.ZodEnum<{
|
|
1982
|
+
"needs-review": "needs-review";
|
|
1982
1983
|
queued: "queued";
|
|
1983
1984
|
evaluating: "evaluating";
|
|
1984
1985
|
accepted: "accepted";
|
|
1985
1986
|
progressed: "progressed";
|
|
1986
1987
|
rejected: "rejected";
|
|
1987
|
-
"needs-review": "needs-review";
|
|
1988
1988
|
failed: "failed";
|
|
1989
1989
|
}>;
|
|
1990
1990
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2022,9 +2022,9 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2022
2022
|
}, z.core.$strip>>;
|
|
2023
2023
|
release: z.ZodString;
|
|
2024
2024
|
interaction: z.ZodEnum<{
|
|
2025
|
-
staff: "staff";
|
|
2026
2025
|
quiz: "quiz";
|
|
2027
2026
|
photo: "photo";
|
|
2027
|
+
staff: "staff";
|
|
2028
2028
|
automatic: "automatic";
|
|
2029
2029
|
claim: "claim";
|
|
2030
2030
|
}>;
|
|
@@ -2065,10 +2065,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2065
2065
|
}, z.core.$strict>>;
|
|
2066
2066
|
}, z.core.$strict>>;
|
|
2067
2067
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2068
|
-
discord: "discord";
|
|
2069
2068
|
google: "google";
|
|
2070
2069
|
apple: "apple";
|
|
2071
2070
|
x: "x";
|
|
2071
|
+
discord: "discord";
|
|
2072
2072
|
}>>>;
|
|
2073
2073
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2074
2074
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2184,12 +2184,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2184
2184
|
}, Record<string, string>>>;
|
|
2185
2185
|
}, z.core.$strict>>;
|
|
2186
2186
|
status: z.ZodEnum<{
|
|
2187
|
+
"needs-review": "needs-review";
|
|
2187
2188
|
queued: "queued";
|
|
2188
2189
|
evaluating: "evaluating";
|
|
2189
2190
|
accepted: "accepted";
|
|
2190
2191
|
progressed: "progressed";
|
|
2191
2192
|
rejected: "rejected";
|
|
2192
|
-
"needs-review": "needs-review";
|
|
2193
2193
|
failed: "failed";
|
|
2194
2194
|
}>;
|
|
2195
2195
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2227,9 +2227,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2227
2227
|
}, z.core.$strip>>;
|
|
2228
2228
|
release: z.ZodString;
|
|
2229
2229
|
interaction: z.ZodEnum<{
|
|
2230
|
-
staff: "staff";
|
|
2231
2230
|
quiz: "quiz";
|
|
2232
2231
|
photo: "photo";
|
|
2232
|
+
staff: "staff";
|
|
2233
2233
|
automatic: "automatic";
|
|
2234
2234
|
claim: "claim";
|
|
2235
2235
|
}>;
|
|
@@ -2271,10 +2271,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2271
2271
|
}, z.core.$strict>>;
|
|
2272
2272
|
}, z.core.$strict>>;
|
|
2273
2273
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2274
|
-
discord: "discord";
|
|
2275
2274
|
google: "google";
|
|
2276
2275
|
apple: "apple";
|
|
2277
2276
|
x: "x";
|
|
2277
|
+
discord: "discord";
|
|
2278
2278
|
}>>>;
|
|
2279
2279
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2280
2280
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2390,12 +2390,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2390
2390
|
}, Record<string, string>>>;
|
|
2391
2391
|
}, z.core.$strict>>;
|
|
2392
2392
|
status: z.ZodEnum<{
|
|
2393
|
+
"needs-review": "needs-review";
|
|
2393
2394
|
queued: "queued";
|
|
2394
2395
|
evaluating: "evaluating";
|
|
2395
2396
|
accepted: "accepted";
|
|
2396
2397
|
progressed: "progressed";
|
|
2397
2398
|
rejected: "rejected";
|
|
2398
|
-
"needs-review": "needs-review";
|
|
2399
2399
|
failed: "failed";
|
|
2400
2400
|
}>;
|
|
2401
2401
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2433,9 +2433,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2433
2433
|
}, z.core.$strip>>;
|
|
2434
2434
|
release: z.ZodString;
|
|
2435
2435
|
interaction: z.ZodEnum<{
|
|
2436
|
-
staff: "staff";
|
|
2437
2436
|
quiz: "quiz";
|
|
2438
2437
|
photo: "photo";
|
|
2438
|
+
staff: "staff";
|
|
2439
2439
|
automatic: "automatic";
|
|
2440
2440
|
claim: "claim";
|
|
2441
2441
|
}>;
|
|
@@ -2697,8 +2697,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2697
2697
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2698
2698
|
id: z.ZodString;
|
|
2699
2699
|
scope: z.ZodEnum<{
|
|
2700
|
-
project: "project";
|
|
2701
2700
|
member: "member";
|
|
2701
|
+
project: "project";
|
|
2702
2702
|
}>;
|
|
2703
2703
|
period: z.ZodEnum<{
|
|
2704
2704
|
day: "day";
|
|
@@ -2794,7 +2794,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2794
2794
|
createdAt: z.ZodNumber;
|
|
2795
2795
|
}, z.core.$strip>, z.ZodTransform<{
|
|
2796
2796
|
quest: string;
|
|
2797
|
-
runtimeVersion:
|
|
2797
|
+
runtimeVersion: 1 | 2;
|
|
2798
2798
|
title: string;
|
|
2799
2799
|
presentation: {
|
|
2800
2800
|
quiz?: {
|
|
@@ -2831,12 +2831,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2831
2831
|
kind: "resource";
|
|
2832
2832
|
default: string;
|
|
2833
2833
|
source: {
|
|
2834
|
-
provider: "domino";
|
|
2835
|
-
resource: "point-ledger";
|
|
2836
|
-
} | {
|
|
2837
2834
|
provider: "discord";
|
|
2838
2835
|
resource: "channel";
|
|
2839
2836
|
types: ("text" | "announcement")[];
|
|
2837
|
+
} | {
|
|
2838
|
+
provider: "domino";
|
|
2839
|
+
resource: "point-ledger";
|
|
2840
2840
|
} | {
|
|
2841
2841
|
provider: "discord";
|
|
2842
2842
|
resource: "role";
|
|
@@ -2948,7 +2948,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2948
2948
|
visibility: "visible" | "hidden";
|
|
2949
2949
|
budgets: {
|
|
2950
2950
|
id: string;
|
|
2951
|
-
scope: "
|
|
2951
|
+
scope: "member" | "project";
|
|
2952
2952
|
period: "day" | "lifetime";
|
|
2953
2953
|
limit: number;
|
|
2954
2954
|
cost: number | {
|
|
@@ -3099,8 +3099,8 @@ declare const rewardDeliverySchema: z.ZodObject<{
|
|
|
3099
3099
|
action: z.ZodLiteral<"grant-role">;
|
|
3100
3100
|
roleId: z.ZodString;
|
|
3101
3101
|
status: z.ZodEnum<{
|
|
3102
|
-
failed: "failed";
|
|
3103
3102
|
pending: "pending";
|
|
3103
|
+
failed: "failed";
|
|
3104
3104
|
delivered: "delivered";
|
|
3105
3105
|
}>;
|
|
3106
3106
|
attempts: z.ZodNumber;
|
|
@@ -3119,8 +3119,8 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
3119
3119
|
action: z.ZodLiteral<"grant-role">;
|
|
3120
3120
|
roleId: z.ZodString;
|
|
3121
3121
|
status: z.ZodEnum<{
|
|
3122
|
-
failed: "failed";
|
|
3123
3122
|
pending: "pending";
|
|
3123
|
+
failed: "failed";
|
|
3124
3124
|
delivered: "delivered";
|
|
3125
3125
|
}>;
|
|
3126
3126
|
attempts: z.ZodNumber;
|
|
@@ -3289,12 +3289,31 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3289
3289
|
}>;
|
|
3290
3290
|
}, z.core.$strip>>>;
|
|
3291
3291
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3292
|
-
staff: "staff";
|
|
3293
3292
|
quiz: "quiz";
|
|
3294
3293
|
photo: "photo";
|
|
3294
|
+
staff: "staff";
|
|
3295
3295
|
automatic: "automatic";
|
|
3296
3296
|
claim: "claim";
|
|
3297
3297
|
}>>>;
|
|
3298
|
+
trackers: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3299
|
+
key: z.ZodString;
|
|
3300
|
+
title: z.ZodString;
|
|
3301
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3302
|
+
kind: z.ZodLiteral<"x-search">;
|
|
3303
|
+
query: z.ZodString;
|
|
3304
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3305
|
+
kind: z.ZodLiteral<"custom">;
|
|
3306
|
+
namespace: z.ZodString;
|
|
3307
|
+
}, z.core.$strict>], "kind">;
|
|
3308
|
+
window: z.ZodObject<{
|
|
3309
|
+
start: z.ZodNumber;
|
|
3310
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
3311
|
+
}, z.core.$strict>;
|
|
3312
|
+
refreshSeconds: z.ZodDefault<z.ZodNumber>;
|
|
3313
|
+
maxPages: z.ZodDefault<z.ZodNumber>;
|
|
3314
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3315
|
+
code: z.ZodString;
|
|
3316
|
+
}, z.core.$strict>]>>>;
|
|
3298
3317
|
pointLedgers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3299
3318
|
name: z.ZodString;
|
|
3300
3319
|
description: z.ZodDefault<z.ZodString>;
|
|
@@ -3593,6 +3612,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3593
3612
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
3594
3613
|
title: z.ZodString;
|
|
3595
3614
|
balance: z.ZodString;
|
|
3615
|
+
group: z.ZodOptional<z.ZodString>;
|
|
3596
3616
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3597
3617
|
kind: z.ZodLiteral<"balance">;
|
|
3598
3618
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3641,7 +3661,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3641
3661
|
participants: "participants";
|
|
3642
3662
|
public: "public";
|
|
3643
3663
|
}>>;
|
|
3644
|
-
group: z.ZodOptional<z.ZodString>;
|
|
3645
3664
|
key: z.ZodOptional<z.ZodString>;
|
|
3646
3665
|
id: z.ZodOptional<z.ZodString>;
|
|
3647
3666
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -3760,12 +3779,31 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3760
3779
|
}>;
|
|
3761
3780
|
}, z.core.$strip>>>;
|
|
3762
3781
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3763
|
-
staff: "staff";
|
|
3764
3782
|
quiz: "quiz";
|
|
3765
3783
|
photo: "photo";
|
|
3784
|
+
staff: "staff";
|
|
3766
3785
|
automatic: "automatic";
|
|
3767
3786
|
claim: "claim";
|
|
3768
3787
|
}>>>;
|
|
3788
|
+
trackers: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3789
|
+
key: z.ZodString;
|
|
3790
|
+
title: z.ZodString;
|
|
3791
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3792
|
+
kind: z.ZodLiteral<"x-search">;
|
|
3793
|
+
query: z.ZodString;
|
|
3794
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3795
|
+
kind: z.ZodLiteral<"custom">;
|
|
3796
|
+
namespace: z.ZodString;
|
|
3797
|
+
}, z.core.$strict>], "kind">;
|
|
3798
|
+
window: z.ZodObject<{
|
|
3799
|
+
start: z.ZodNumber;
|
|
3800
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
3801
|
+
}, z.core.$strict>;
|
|
3802
|
+
refreshSeconds: z.ZodDefault<z.ZodNumber>;
|
|
3803
|
+
maxPages: z.ZodDefault<z.ZodNumber>;
|
|
3804
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3805
|
+
code: z.ZodString;
|
|
3806
|
+
}, z.core.$strict>]>>>;
|
|
3769
3807
|
pointLedgers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3770
3808
|
name: z.ZodString;
|
|
3771
3809
|
description: z.ZodDefault<z.ZodString>;
|
|
@@ -4064,6 +4102,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4064
4102
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
4065
4103
|
title: z.ZodString;
|
|
4066
4104
|
balance: z.ZodString;
|
|
4105
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4067
4106
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4068
4107
|
kind: z.ZodLiteral<"balance">;
|
|
4069
4108
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4112,7 +4151,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4112
4151
|
participants: "participants";
|
|
4113
4152
|
public: "public";
|
|
4114
4153
|
}>>;
|
|
4115
|
-
group: z.ZodOptional<z.ZodString>;
|
|
4116
4154
|
key: z.ZodOptional<z.ZodString>;
|
|
4117
4155
|
id: z.ZodOptional<z.ZodString>;
|
|
4118
4156
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -4226,6 +4264,29 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4226
4264
|
}, z.core.$strict>;
|
|
4227
4265
|
declare const deploymentPreviewSchema: z.ZodObject<{
|
|
4228
4266
|
id: z.ZodString;
|
|
4267
|
+
trackers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4268
|
+
id: z.ZodString;
|
|
4269
|
+
version: z.ZodString;
|
|
4270
|
+
definition: z.ZodObject<{
|
|
4271
|
+
key: z.ZodString;
|
|
4272
|
+
title: z.ZodString;
|
|
4273
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4274
|
+
kind: z.ZodLiteral<"x-search">;
|
|
4275
|
+
query: z.ZodString;
|
|
4276
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4277
|
+
kind: z.ZodLiteral<"custom">;
|
|
4278
|
+
namespace: z.ZodString;
|
|
4279
|
+
}, z.core.$strict>], "kind">;
|
|
4280
|
+
window: z.ZodObject<{
|
|
4281
|
+
start: z.ZodNumber;
|
|
4282
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
4283
|
+
}, z.core.$strict>;
|
|
4284
|
+
refreshSeconds: z.ZodDefault<z.ZodNumber>;
|
|
4285
|
+
maxPages: z.ZodDefault<z.ZodNumber>;
|
|
4286
|
+
}, z.core.$strict>;
|
|
4287
|
+
publishedAt: z.ZodNumber;
|
|
4288
|
+
actor: z.ZodNullable<z.ZodString>;
|
|
4289
|
+
}, z.core.$strip>>>;
|
|
4229
4290
|
baseRevision: z.ZodNumber;
|
|
4230
4291
|
pointLedgers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4231
4292
|
name: z.ZodString;
|
|
@@ -4404,8 +4465,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4404
4465
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4405
4466
|
id: z.ZodString;
|
|
4406
4467
|
scope: z.ZodEnum<{
|
|
4407
|
-
project: "project";
|
|
4408
4468
|
member: "member";
|
|
4469
|
+
project: "project";
|
|
4409
4470
|
}>;
|
|
4410
4471
|
period: z.ZodEnum<{
|
|
4411
4472
|
day: "day";
|
|
@@ -4501,7 +4562,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4501
4562
|
createdAt: z.ZodNumber;
|
|
4502
4563
|
}, z.core.$strip>, z.ZodTransform<{
|
|
4503
4564
|
quest: string;
|
|
4504
|
-
runtimeVersion:
|
|
4565
|
+
runtimeVersion: 1 | 2;
|
|
4505
4566
|
title: string;
|
|
4506
4567
|
presentation: {
|
|
4507
4568
|
quiz?: {
|
|
@@ -4538,12 +4599,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4538
4599
|
kind: "resource";
|
|
4539
4600
|
default: string;
|
|
4540
4601
|
source: {
|
|
4541
|
-
provider: "domino";
|
|
4542
|
-
resource: "point-ledger";
|
|
4543
|
-
} | {
|
|
4544
4602
|
provider: "discord";
|
|
4545
4603
|
resource: "channel";
|
|
4546
4604
|
types: ("text" | "announcement")[];
|
|
4605
|
+
} | {
|
|
4606
|
+
provider: "domino";
|
|
4607
|
+
resource: "point-ledger";
|
|
4547
4608
|
} | {
|
|
4548
4609
|
provider: "discord";
|
|
4549
4610
|
resource: "role";
|
|
@@ -4655,7 +4716,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4655
4716
|
visibility: "visible" | "hidden";
|
|
4656
4717
|
budgets: {
|
|
4657
4718
|
id: string;
|
|
4658
|
-
scope: "
|
|
4719
|
+
scope: "member" | "project";
|
|
4659
4720
|
period: "day" | "lifetime";
|
|
4660
4721
|
limit: number;
|
|
4661
4722
|
cost: number | {
|
|
@@ -4907,8 +4968,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4907
4968
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4908
4969
|
id: z.ZodString;
|
|
4909
4970
|
scope: z.ZodEnum<{
|
|
4910
|
-
project: "project";
|
|
4911
4971
|
member: "member";
|
|
4972
|
+
project: "project";
|
|
4912
4973
|
}>;
|
|
4913
4974
|
period: z.ZodEnum<{
|
|
4914
4975
|
day: "day";
|
|
@@ -4936,9 +4997,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4936
4997
|
quests: z.ZodArray<z.ZodString>;
|
|
4937
4998
|
}, z.core.$strict>>;
|
|
4938
4999
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
4939
|
-
staff: "staff";
|
|
4940
5000
|
quiz: "quiz";
|
|
4941
5001
|
photo: "photo";
|
|
5002
|
+
staff: "staff";
|
|
4942
5003
|
automatic: "automatic";
|
|
4943
5004
|
claim: "claim";
|
|
4944
5005
|
}>>;
|
|
@@ -5189,6 +5250,29 @@ declare const publishDeploymentSchema: z.ZodObject<{
|
|
|
5189
5250
|
}, z.core.$strict>;
|
|
5190
5251
|
declare const deploymentResultSchema: z.ZodObject<{
|
|
5191
5252
|
id: z.ZodString;
|
|
5253
|
+
trackers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5254
|
+
id: z.ZodString;
|
|
5255
|
+
version: z.ZodString;
|
|
5256
|
+
definition: z.ZodObject<{
|
|
5257
|
+
key: z.ZodString;
|
|
5258
|
+
title: z.ZodString;
|
|
5259
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5260
|
+
kind: z.ZodLiteral<"x-search">;
|
|
5261
|
+
query: z.ZodString;
|
|
5262
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5263
|
+
kind: z.ZodLiteral<"custom">;
|
|
5264
|
+
namespace: z.ZodString;
|
|
5265
|
+
}, z.core.$strict>], "kind">;
|
|
5266
|
+
window: z.ZodObject<{
|
|
5267
|
+
start: z.ZodNumber;
|
|
5268
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
5269
|
+
}, z.core.$strict>;
|
|
5270
|
+
refreshSeconds: z.ZodDefault<z.ZodNumber>;
|
|
5271
|
+
maxPages: z.ZodDefault<z.ZodNumber>;
|
|
5272
|
+
}, z.core.$strict>;
|
|
5273
|
+
publishedAt: z.ZodNumber;
|
|
5274
|
+
actor: z.ZodNullable<z.ZodString>;
|
|
5275
|
+
}, z.core.$strip>>>;
|
|
5192
5276
|
baseRevision: z.ZodNumber;
|
|
5193
5277
|
pointLedgers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5194
5278
|
name: z.ZodString;
|
|
@@ -5367,8 +5451,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5367
5451
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5368
5452
|
id: z.ZodString;
|
|
5369
5453
|
scope: z.ZodEnum<{
|
|
5370
|
-
project: "project";
|
|
5371
5454
|
member: "member";
|
|
5455
|
+
project: "project";
|
|
5372
5456
|
}>;
|
|
5373
5457
|
period: z.ZodEnum<{
|
|
5374
5458
|
day: "day";
|
|
@@ -5464,7 +5548,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5464
5548
|
createdAt: z.ZodNumber;
|
|
5465
5549
|
}, z.core.$strip>, z.ZodTransform<{
|
|
5466
5550
|
quest: string;
|
|
5467
|
-
runtimeVersion:
|
|
5551
|
+
runtimeVersion: 1 | 2;
|
|
5468
5552
|
title: string;
|
|
5469
5553
|
presentation: {
|
|
5470
5554
|
quiz?: {
|
|
@@ -5501,12 +5585,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5501
5585
|
kind: "resource";
|
|
5502
5586
|
default: string;
|
|
5503
5587
|
source: {
|
|
5504
|
-
provider: "domino";
|
|
5505
|
-
resource: "point-ledger";
|
|
5506
|
-
} | {
|
|
5507
5588
|
provider: "discord";
|
|
5508
5589
|
resource: "channel";
|
|
5509
5590
|
types: ("text" | "announcement")[];
|
|
5591
|
+
} | {
|
|
5592
|
+
provider: "domino";
|
|
5593
|
+
resource: "point-ledger";
|
|
5510
5594
|
} | {
|
|
5511
5595
|
provider: "discord";
|
|
5512
5596
|
resource: "role";
|
|
@@ -5618,7 +5702,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5618
5702
|
visibility: "visible" | "hidden";
|
|
5619
5703
|
budgets: {
|
|
5620
5704
|
id: string;
|
|
5621
|
-
scope: "
|
|
5705
|
+
scope: "member" | "project";
|
|
5622
5706
|
period: "day" | "lifetime";
|
|
5623
5707
|
limit: number;
|
|
5624
5708
|
cost: number | {
|
|
@@ -5870,8 +5954,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5870
5954
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5871
5955
|
id: z.ZodString;
|
|
5872
5956
|
scope: z.ZodEnum<{
|
|
5873
|
-
project: "project";
|
|
5874
5957
|
member: "member";
|
|
5958
|
+
project: "project";
|
|
5875
5959
|
}>;
|
|
5876
5960
|
period: z.ZodEnum<{
|
|
5877
5961
|
day: "day";
|
|
@@ -5899,9 +5983,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5899
5983
|
quests: z.ZodArray<z.ZodString>;
|
|
5900
5984
|
}, z.core.$strict>>;
|
|
5901
5985
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
5902
|
-
staff: "staff";
|
|
5903
5986
|
quiz: "quiz";
|
|
5904
5987
|
photo: "photo";
|
|
5988
|
+
staff: "staff";
|
|
5905
5989
|
automatic: "automatic";
|
|
5906
5990
|
claim: "claim";
|
|
5907
5991
|
}>>;
|
|
@@ -6399,7 +6483,7 @@ declare function createRelayClient(options: {
|
|
|
6399
6483
|
accounts: {
|
|
6400
6484
|
id: string;
|
|
6401
6485
|
program: string;
|
|
6402
|
-
kind: "
|
|
6486
|
+
kind: "milestone" | "fixed" | "bonus";
|
|
6403
6487
|
balance: string;
|
|
6404
6488
|
earned: number;
|
|
6405
6489
|
settled: number;
|
|
@@ -6526,7 +6610,7 @@ declare function createRelayClient(options: {
|
|
|
6526
6610
|
} | undefined;
|
|
6527
6611
|
} | undefined;
|
|
6528
6612
|
};
|
|
6529
|
-
connections: ("
|
|
6613
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
6530
6614
|
trigger: {
|
|
6531
6615
|
kind: "manual";
|
|
6532
6616
|
input: "quiz" | "photo" | "none";
|
|
@@ -6589,7 +6673,7 @@ declare function createRelayClient(options: {
|
|
|
6589
6673
|
quest: string;
|
|
6590
6674
|
member: string;
|
|
6591
6675
|
evidence: string | null;
|
|
6592
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
6676
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
6593
6677
|
reason: string | null;
|
|
6594
6678
|
retries: number;
|
|
6595
6679
|
generation: number;
|
|
@@ -6631,7 +6715,7 @@ declare function createRelayClient(options: {
|
|
|
6631
6715
|
} | undefined;
|
|
6632
6716
|
} | null;
|
|
6633
6717
|
release: string;
|
|
6634
|
-
interaction: "
|
|
6718
|
+
interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
|
|
6635
6719
|
lifecycle: "active" | "paused" | "archived";
|
|
6636
6720
|
rewards: {
|
|
6637
6721
|
label: string;
|
|
@@ -6674,7 +6758,7 @@ declare function createRelayClient(options: {
|
|
|
6674
6758
|
quest: string;
|
|
6675
6759
|
member: string;
|
|
6676
6760
|
evidence: string | null;
|
|
6677
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
6761
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
6678
6762
|
reason: string | null;
|
|
6679
6763
|
retries: number;
|
|
6680
6764
|
generation: number;
|
|
@@ -6740,7 +6824,7 @@ declare function createRelayClient(options: {
|
|
|
6740
6824
|
} | undefined;
|
|
6741
6825
|
} | undefined;
|
|
6742
6826
|
};
|
|
6743
|
-
connections: ("
|
|
6827
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
6744
6828
|
trigger: {
|
|
6745
6829
|
kind: "manual";
|
|
6746
6830
|
input: "quiz" | "photo" | "none";
|
|
@@ -6803,7 +6887,7 @@ declare function createRelayClient(options: {
|
|
|
6803
6887
|
quest: string;
|
|
6804
6888
|
member: string;
|
|
6805
6889
|
evidence: string | null;
|
|
6806
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
6890
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
6807
6891
|
reason: string | null;
|
|
6808
6892
|
retries: number;
|
|
6809
6893
|
generation: number;
|
|
@@ -6845,7 +6929,7 @@ declare function createRelayClient(options: {
|
|
|
6845
6929
|
} | undefined;
|
|
6846
6930
|
} | null;
|
|
6847
6931
|
release: string;
|
|
6848
|
-
interaction: "
|
|
6932
|
+
interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
|
|
6849
6933
|
lifecycle: "active" | "paused" | "archived";
|
|
6850
6934
|
rewards: {
|
|
6851
6935
|
label: string;
|
|
@@ -6908,7 +6992,7 @@ declare function createRelayClient(options: {
|
|
|
6908
6992
|
} | undefined;
|
|
6909
6993
|
} | undefined;
|
|
6910
6994
|
};
|
|
6911
|
-
connections: ("
|
|
6995
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
6912
6996
|
trigger: {
|
|
6913
6997
|
kind: "manual";
|
|
6914
6998
|
input: "quiz" | "photo" | "none";
|
|
@@ -6971,7 +7055,7 @@ declare function createRelayClient(options: {
|
|
|
6971
7055
|
quest: string;
|
|
6972
7056
|
member: string;
|
|
6973
7057
|
evidence: string | null;
|
|
6974
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
7058
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
6975
7059
|
reason: string | null;
|
|
6976
7060
|
retries: number;
|
|
6977
7061
|
generation: number;
|
|
@@ -7013,7 +7097,7 @@ declare function createRelayClient(options: {
|
|
|
7013
7097
|
} | undefined;
|
|
7014
7098
|
} | null;
|
|
7015
7099
|
release: string;
|
|
7016
|
-
interaction: "
|
|
7100
|
+
interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
|
|
7017
7101
|
lifecycle: "active" | "paused" | "archived";
|
|
7018
7102
|
rewards: {
|
|
7019
7103
|
label: string;
|
|
@@ -7079,7 +7163,7 @@ declare function createRelayClient(options: {
|
|
|
7079
7163
|
} | undefined;
|
|
7080
7164
|
} | undefined;
|
|
7081
7165
|
};
|
|
7082
|
-
connections: ("
|
|
7166
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
7083
7167
|
trigger: {
|
|
7084
7168
|
kind: "manual";
|
|
7085
7169
|
input: "quiz" | "photo" | "none";
|
|
@@ -7142,7 +7226,7 @@ declare function createRelayClient(options: {
|
|
|
7142
7226
|
quest: string;
|
|
7143
7227
|
member: string;
|
|
7144
7228
|
evidence: string | null;
|
|
7145
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
7229
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
7146
7230
|
reason: string | null;
|
|
7147
7231
|
retries: number;
|
|
7148
7232
|
generation: number;
|
|
@@ -7184,7 +7268,7 @@ declare function createRelayClient(options: {
|
|
|
7184
7268
|
} | undefined;
|
|
7185
7269
|
} | null;
|
|
7186
7270
|
release: string;
|
|
7187
|
-
interaction: "
|
|
7271
|
+
interaction: "quiz" | "photo" | "staff" | "automatic" | "claim";
|
|
7188
7272
|
lifecycle: "active" | "paused" | "archived";
|
|
7189
7273
|
rewards: {
|
|
7190
7274
|
label: string;
|
|
@@ -7253,7 +7337,7 @@ declare function createRelayClient(options: {
|
|
|
7253
7337
|
auth: {
|
|
7254
7338
|
providers: () => Promise<{
|
|
7255
7339
|
providers: {
|
|
7256
|
-
provider: "
|
|
7340
|
+
provider: "google" | "apple" | "x" | "discord";
|
|
7257
7341
|
configured: boolean;
|
|
7258
7342
|
}[];
|
|
7259
7343
|
email: boolean;
|
|
@@ -7283,7 +7367,7 @@ declare function createRelayClient(options: {
|
|
|
7283
7367
|
expiresAt: number;
|
|
7284
7368
|
}>;
|
|
7285
7369
|
accounts: () => Promise<{
|
|
7286
|
-
provider: "
|
|
7370
|
+
provider: "google" | "apple" | "x" | "discord";
|
|
7287
7371
|
configured: boolean;
|
|
7288
7372
|
status: "disconnected" | "connected" | "reconnect";
|
|
7289
7373
|
subject: string | null;
|
|
@@ -7376,7 +7460,7 @@ declare function createRelayClient(options: {
|
|
|
7376
7460
|
quest: string;
|
|
7377
7461
|
member: string;
|
|
7378
7462
|
evidence: string | null;
|
|
7379
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
7463
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
7380
7464
|
reason: string | null;
|
|
7381
7465
|
retries: number;
|
|
7382
7466
|
generation: number;
|
|
@@ -7442,7 +7526,7 @@ declare function createRelayClient(options: {
|
|
|
7442
7526
|
} | undefined;
|
|
7443
7527
|
} | undefined;
|
|
7444
7528
|
};
|
|
7445
|
-
connections: ("
|
|
7529
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
7446
7530
|
trigger: {
|
|
7447
7531
|
kind: "manual";
|
|
7448
7532
|
input: "quiz" | "photo" | "none";
|
|
@@ -7505,7 +7589,7 @@ declare function createRelayClient(options: {
|
|
|
7505
7589
|
quest: string;
|
|
7506
7590
|
member: string;
|
|
7507
7591
|
evidence: string | null;
|
|
7508
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
7592
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
7509
7593
|
reason: string | null;
|
|
7510
7594
|
retries: number;
|
|
7511
7595
|
generation: number;
|
|
@@ -7666,7 +7750,7 @@ declare function createRelayClient(options: {
|
|
|
7666
7750
|
provider: "discord";
|
|
7667
7751
|
action: "grant-role";
|
|
7668
7752
|
roleId: string;
|
|
7669
|
-
status: "
|
|
7753
|
+
status: "pending" | "failed" | "delivered";
|
|
7670
7754
|
attempts: number;
|
|
7671
7755
|
nextAt: number;
|
|
7672
7756
|
lastError: string | null;
|
|
@@ -7682,7 +7766,7 @@ declare function createRelayClient(options: {
|
|
|
7682
7766
|
quest: string;
|
|
7683
7767
|
member: string;
|
|
7684
7768
|
evidence: string | null;
|
|
7685
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
7769
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
7686
7770
|
reason: string | null;
|
|
7687
7771
|
retries: number;
|
|
7688
7772
|
generation: number;
|
|
@@ -7742,7 +7826,7 @@ declare function createRelayClient(options: {
|
|
|
7742
7826
|
quest: string;
|
|
7743
7827
|
member: string;
|
|
7744
7828
|
evidence: string | null;
|
|
7745
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
7829
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
7746
7830
|
reason: string | null;
|
|
7747
7831
|
retries: number;
|
|
7748
7832
|
generation: number;
|
|
@@ -7820,7 +7904,7 @@ declare function createRelayClient(options: {
|
|
|
7820
7904
|
code: string;
|
|
7821
7905
|
definition: {
|
|
7822
7906
|
quest: string;
|
|
7823
|
-
runtimeVersion:
|
|
7907
|
+
runtimeVersion: 1 | 2;
|
|
7824
7908
|
title: string;
|
|
7825
7909
|
presentation: {
|
|
7826
7910
|
quiz?: {
|
|
@@ -7857,12 +7941,12 @@ declare function createRelayClient(options: {
|
|
|
7857
7941
|
kind: "resource";
|
|
7858
7942
|
default: string;
|
|
7859
7943
|
source: {
|
|
7860
|
-
provider: "domino";
|
|
7861
|
-
resource: "point-ledger";
|
|
7862
|
-
} | {
|
|
7863
7944
|
provider: "discord";
|
|
7864
7945
|
resource: "channel";
|
|
7865
7946
|
types: ("text" | "announcement")[];
|
|
7947
|
+
} | {
|
|
7948
|
+
provider: "domino";
|
|
7949
|
+
resource: "point-ledger";
|
|
7866
7950
|
} | {
|
|
7867
7951
|
provider: "discord";
|
|
7868
7952
|
resource: "role";
|
|
@@ -7974,7 +8058,7 @@ declare function createRelayClient(options: {
|
|
|
7974
8058
|
visibility: "visible" | "hidden";
|
|
7975
8059
|
budgets: {
|
|
7976
8060
|
id: string;
|
|
7977
|
-
scope: "
|
|
8061
|
+
scope: "member" | "project";
|
|
7978
8062
|
period: "day" | "lifetime";
|
|
7979
8063
|
limit: number;
|
|
7980
8064
|
cost: number | {
|
|
@@ -7988,7 +8072,7 @@ declare function createRelayClient(options: {
|
|
|
7988
8072
|
code: string;
|
|
7989
8073
|
definition: {
|
|
7990
8074
|
quest: string;
|
|
7991
|
-
runtimeVersion:
|
|
8075
|
+
runtimeVersion: 1 | 2;
|
|
7992
8076
|
title: string;
|
|
7993
8077
|
presentation: {
|
|
7994
8078
|
quiz?: {
|
|
@@ -8025,12 +8109,12 @@ declare function createRelayClient(options: {
|
|
|
8025
8109
|
kind: "resource";
|
|
8026
8110
|
default: string;
|
|
8027
8111
|
source: {
|
|
8028
|
-
provider: "domino";
|
|
8029
|
-
resource: "point-ledger";
|
|
8030
|
-
} | {
|
|
8031
8112
|
provider: "discord";
|
|
8032
8113
|
resource: "channel";
|
|
8033
8114
|
types: ("text" | "announcement")[];
|
|
8115
|
+
} | {
|
|
8116
|
+
provider: "domino";
|
|
8117
|
+
resource: "point-ledger";
|
|
8034
8118
|
} | {
|
|
8035
8119
|
provider: "discord";
|
|
8036
8120
|
resource: "role";
|
|
@@ -8142,7 +8226,7 @@ declare function createRelayClient(options: {
|
|
|
8142
8226
|
visibility: "visible" | "hidden";
|
|
8143
8227
|
budgets: {
|
|
8144
8228
|
id: string;
|
|
8145
|
-
scope: "
|
|
8229
|
+
scope: "member" | "project";
|
|
8146
8230
|
period: "day" | "lifetime";
|
|
8147
8231
|
limit: number;
|
|
8148
8232
|
cost: number | {
|
|
@@ -8155,7 +8239,7 @@ declare function createRelayClient(options: {
|
|
|
8155
8239
|
snapshot: () => Promise<{
|
|
8156
8240
|
releases: {
|
|
8157
8241
|
quest: string;
|
|
8158
|
-
runtimeVersion:
|
|
8242
|
+
runtimeVersion: 1 | 2;
|
|
8159
8243
|
title: string;
|
|
8160
8244
|
presentation: {
|
|
8161
8245
|
quiz?: {
|
|
@@ -8192,12 +8276,12 @@ declare function createRelayClient(options: {
|
|
|
8192
8276
|
kind: "resource";
|
|
8193
8277
|
default: string;
|
|
8194
8278
|
source: {
|
|
8195
|
-
provider: "domino";
|
|
8196
|
-
resource: "point-ledger";
|
|
8197
|
-
} | {
|
|
8198
8279
|
provider: "discord";
|
|
8199
8280
|
resource: "channel";
|
|
8200
8281
|
types: ("text" | "announcement")[];
|
|
8282
|
+
} | {
|
|
8283
|
+
provider: "domino";
|
|
8284
|
+
resource: "point-ledger";
|
|
8201
8285
|
} | {
|
|
8202
8286
|
provider: "discord";
|
|
8203
8287
|
resource: "role";
|
|
@@ -8309,7 +8393,7 @@ declare function createRelayClient(options: {
|
|
|
8309
8393
|
visibility: "visible" | "hidden";
|
|
8310
8394
|
budgets: {
|
|
8311
8395
|
id: string;
|
|
8312
|
-
scope: "
|
|
8396
|
+
scope: "member" | "project";
|
|
8313
8397
|
period: "day" | "lifetime";
|
|
8314
8398
|
limit: number;
|
|
8315
8399
|
cost: number | {
|
|
@@ -8437,7 +8521,7 @@ declare function createRelayClient(options: {
|
|
|
8437
8521
|
quest: string;
|
|
8438
8522
|
member: string;
|
|
8439
8523
|
evidence: string | null;
|
|
8440
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
8524
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8441
8525
|
reason: string | null;
|
|
8442
8526
|
retries: number;
|
|
8443
8527
|
generation: number;
|
|
@@ -8497,7 +8581,7 @@ declare function createRelayClient(options: {
|
|
|
8497
8581
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
8498
8582
|
publish: (release: ReleaseInput) => Promise<{
|
|
8499
8583
|
quest: string;
|
|
8500
|
-
runtimeVersion:
|
|
8584
|
+
runtimeVersion: 1 | 2;
|
|
8501
8585
|
title: string;
|
|
8502
8586
|
presentation: {
|
|
8503
8587
|
quiz?: {
|
|
@@ -8534,12 +8618,12 @@ declare function createRelayClient(options: {
|
|
|
8534
8618
|
kind: "resource";
|
|
8535
8619
|
default: string;
|
|
8536
8620
|
source: {
|
|
8537
|
-
provider: "domino";
|
|
8538
|
-
resource: "point-ledger";
|
|
8539
|
-
} | {
|
|
8540
8621
|
provider: "discord";
|
|
8541
8622
|
resource: "channel";
|
|
8542
8623
|
types: ("text" | "announcement")[];
|
|
8624
|
+
} | {
|
|
8625
|
+
provider: "domino";
|
|
8626
|
+
resource: "point-ledger";
|
|
8543
8627
|
} | {
|
|
8544
8628
|
provider: "discord";
|
|
8545
8629
|
resource: "role";
|
|
@@ -8651,7 +8735,7 @@ declare function createRelayClient(options: {
|
|
|
8651
8735
|
visibility: "visible" | "hidden";
|
|
8652
8736
|
budgets: {
|
|
8653
8737
|
id: string;
|
|
8654
|
-
scope: "
|
|
8738
|
+
scope: "member" | "project";
|
|
8655
8739
|
period: "day" | "lifetime";
|
|
8656
8740
|
limit: number;
|
|
8657
8741
|
cost: number | {
|
|
@@ -8693,7 +8777,7 @@ declare function createRelayClient(options: {
|
|
|
8693
8777
|
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
8694
8778
|
publishBatch: (releases: ReleaseInput[]) => Promise<{
|
|
8695
8779
|
quest: string;
|
|
8696
|
-
runtimeVersion:
|
|
8780
|
+
runtimeVersion: 1 | 2;
|
|
8697
8781
|
title: string;
|
|
8698
8782
|
presentation: {
|
|
8699
8783
|
quiz?: {
|
|
@@ -8730,12 +8814,12 @@ declare function createRelayClient(options: {
|
|
|
8730
8814
|
kind: "resource";
|
|
8731
8815
|
default: string;
|
|
8732
8816
|
source: {
|
|
8733
|
-
provider: "domino";
|
|
8734
|
-
resource: "point-ledger";
|
|
8735
|
-
} | {
|
|
8736
8817
|
provider: "discord";
|
|
8737
8818
|
resource: "channel";
|
|
8738
8819
|
types: ("text" | "announcement")[];
|
|
8820
|
+
} | {
|
|
8821
|
+
provider: "domino";
|
|
8822
|
+
resource: "point-ledger";
|
|
8739
8823
|
} | {
|
|
8740
8824
|
provider: "discord";
|
|
8741
8825
|
resource: "role";
|
|
@@ -8847,7 +8931,7 @@ declare function createRelayClient(options: {
|
|
|
8847
8931
|
visibility: "visible" | "hidden";
|
|
8848
8932
|
budgets: {
|
|
8849
8933
|
id: string;
|
|
8850
|
-
scope: "
|
|
8934
|
+
scope: "member" | "project";
|
|
8851
8935
|
period: "day" | "lifetime";
|
|
8852
8936
|
limit: number;
|
|
8853
8937
|
cost: number | {
|
|
@@ -8911,7 +8995,7 @@ declare function createRelayClient(options: {
|
|
|
8911
8995
|
} | undefined;
|
|
8912
8996
|
} | undefined;
|
|
8913
8997
|
};
|
|
8914
|
-
connections: ("
|
|
8998
|
+
connections: ("google" | "apple" | "x" | "discord")[];
|
|
8915
8999
|
trigger: {
|
|
8916
9000
|
kind: "manual";
|
|
8917
9001
|
input: "quiz" | "photo" | "none";
|
|
@@ -8974,7 +9058,7 @@ declare function createRelayClient(options: {
|
|
|
8974
9058
|
quest: string;
|
|
8975
9059
|
member: string;
|
|
8976
9060
|
evidence: string | null;
|
|
8977
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9061
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
8978
9062
|
reason: string | null;
|
|
8979
9063
|
retries: number;
|
|
8980
9064
|
generation: number;
|
|
@@ -9297,7 +9381,7 @@ declare function createRelayClient(options: {
|
|
|
9297
9381
|
quest: string;
|
|
9298
9382
|
member: string;
|
|
9299
9383
|
evidence: string | null;
|
|
9300
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9384
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9301
9385
|
reason: string | null;
|
|
9302
9386
|
retries: number;
|
|
9303
9387
|
generation: number;
|
|
@@ -9344,7 +9428,7 @@ declare function createRelayClient(options: {
|
|
|
9344
9428
|
quest: string;
|
|
9345
9429
|
member: string;
|
|
9346
9430
|
evidence: string | null;
|
|
9347
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9431
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9348
9432
|
reason: string | null;
|
|
9349
9433
|
retries: number;
|
|
9350
9434
|
generation: number;
|
|
@@ -9397,7 +9481,7 @@ declare function createRelayClient(options: {
|
|
|
9397
9481
|
quest: string;
|
|
9398
9482
|
member: string;
|
|
9399
9483
|
evidence: string | null;
|
|
9400
|
-
status: "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "
|
|
9484
|
+
status: "needs-review" | "queued" | "evaluating" | "accepted" | "progressed" | "rejected" | "failed";
|
|
9401
9485
|
reason: string | null;
|
|
9402
9486
|
retries: number;
|
|
9403
9487
|
generation: number;
|