@domino-sdk/relay 0.7.0 → 0.8.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 +13 -9
- package/dist/authoring.js +19 -9
- package/dist/browser.d.ts +35 -6
- package/dist/browser.js +4 -4
- package/dist/{chunk-36LZ3IOO.js → chunk-2BN7XZH3.js} +1 -1
- package/dist/{chunk-LXLNC4CN.js → chunk-APMYDKEX.js} +40 -27
- package/dist/chunk-XVHWBZRG.js +388 -0
- package/dist/{chunk-6QUCADMF.js → chunk-Z43O273V.js} +32 -2
- package/dist/index.d.ts +830 -74
- package/dist/index.js +26 -6
- package/dist/portal-proxy.js +2 -2
- package/dist/schema.d.ts +33 -2
- package/dist/schema.js +5 -1
- package/dist/{settings-CU_oBcx0.d.ts → settings-BA8XjT4m.d.ts} +766 -23
- package/package.json +1 -1
- package/dist/chunk-TYVT5BPZ.js +0 -337
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
|
-
export { Decision, Entitlement, MemberPage, PhotoResult, PickupAvailability, QuestAvailability, QuestDescription, QuestPresentation, QuestSettingsInput, ReviewPage, Reward, Snapshot, TieredRewardDefinition, artifactSchema, attemptSchema, batchReleaseSchema, completionRecordSchema, configurePickupSchema, confirmHandoverSchema, 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, stockSchema, submitSchema, templateSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema } from './schema.js';
|
|
4
|
-
import { r as referralAcceptSchema, L as LeaderboardQuery, w as walletChallengeInputSchema, e as walletProofSchema,
|
|
5
|
-
export {
|
|
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, submitSchema, templateSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema } from './schema.js';
|
|
4
|
+
import { r as referralAcceptSchema, L as LeaderboardQuery, w as walletChallengeInputSchema, e as walletProofSchema, f as AuthProvider } from './settings-BA8XjT4m.js';
|
|
5
|
+
export { g as AccountConnection, B as Budget, D as DiscordMember, a as DiscordMessage, I as IntegrationProvider, h as LeaderboardDefinition, i as LeaderboardPage, O as Observation, P as ProjectIntegration, Q as QuizContent, R as ReferralDefinition, j as ResourceOption, k as ResourceSource, l as SettingField, m as SettingsValues, S as SolanaBalance, W as WalletConnection, n as accountConnectionSchema, q as authProviderSchema, t as budgetSchema, u as compatibleSettingKinds, v as completionKeySchema, x as completionPolicySchema, d as defineLeaderboard, b as defineReferral, c as discord, y as discordMemberInputSchema, z as discordMemberSchema, C as discordMessageInputSchema, E as discordMessageSchema, F as discordReactionSchema, G as discordServerSchema, H as integrationProviderSchema, J as leaderboardArtifactSchema, K as leaderboardAuthoringSchema, M as leaderboardDefinitionSchema, N as leaderboardExclusionSchema, T as leaderboardGroupSchema, U as leaderboardPageSchema, V as leaderboardPreviewSchema, X as leaderboardQuerySchema, Y as leaderboardRowSchema, Z as leaderboardWindowSchema, _ as missingResourceSettings, $ as observationInputSchema, a0 as observationReceiptSchema, a1 as observationSchema, o as observationTriggerSchema, a2 as parseSettings, p as pointLedgers, a3 as pointsAccountSchema, a4 as pointsEntrySchema, a5 as pointsMutationSchema, a6 as pointsResultSchema, a7 as projectIntegrationSchema, a8 as publishedLeaderboardSchema, a9 as publishedReferralSchema, aa as quizChoiceSchema, ab as quizContentSchema, ac as quizQuestionSchema, ad as quizQuestionsSchema, ae as referralAccountSchema, af as referralArtifactSchema, ag as referralAuthoringSchema, ah as referralControlSchema, ai as referralDefinitionSchema, aj as referralHistorySchema, ak as referralManagementSchema, al as referralRelationshipSchema, am as referralSummarySchema, an as resourceOptionsSchema, ao as resourceRequestSchema, ap as resourceSourceSchema, aq as settingFieldSchema, s as settings, ar as settingsFieldsSchema, as as settingsValuesSchema, at as solanaAddressSchema, au as solanaBalanceSchema, av as walletChallengeSchema, aw as walletConnectionSchema } from './settings-BA8XjT4m.js';
|
|
6
6
|
|
|
7
7
|
declare class RelayError extends Error {
|
|
8
8
|
readonly status: number;
|
|
@@ -199,6 +199,7 @@ declare const interactionSchema: z.ZodEnum<{
|
|
|
199
199
|
type QuestInteraction = z.infer<typeof interactionSchema>;
|
|
200
200
|
declare function questInteraction(trigger: z.infer<typeof questDescriptionSchema>["trigger"]): QuestInteraction;
|
|
201
201
|
declare const questTypeVersionSchema: z.ZodObject<{
|
|
202
|
+
key: z.ZodOptional<z.ZodString>;
|
|
202
203
|
id: z.ZodString;
|
|
203
204
|
version: z.ZodString;
|
|
204
205
|
code: z.ZodString;
|
|
@@ -243,6 +244,9 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
243
244
|
kind: z.ZodLiteral<"resource">;
|
|
244
245
|
default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
245
246
|
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
247
|
+
provider: z.ZodLiteral<"domino">;
|
|
248
|
+
resource: z.ZodLiteral<"point-ledger">;
|
|
249
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
246
250
|
provider: z.ZodLiteral<"discord">;
|
|
247
251
|
resource: z.ZodLiteral<"channel">;
|
|
248
252
|
types: z.ZodArray<z.ZodEnum<{
|
|
@@ -371,8 +375,8 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
371
375
|
member: "member";
|
|
372
376
|
}>;
|
|
373
377
|
period: z.ZodEnum<{
|
|
374
|
-
day: "day";
|
|
375
378
|
lifetime: "lifetime";
|
|
379
|
+
day: "day";
|
|
376
380
|
}>;
|
|
377
381
|
limit: z.ZodNumber;
|
|
378
382
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -391,10 +395,27 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
391
395
|
}, z.core.$strip>;
|
|
392
396
|
declare const collectionSlotSchema: z.ZodObject<{
|
|
393
397
|
id: z.ZodString;
|
|
398
|
+
key: z.ZodOptional<z.ZodString>;
|
|
394
399
|
title: z.ZodString;
|
|
395
400
|
}, z.core.$strict>;
|
|
401
|
+
declare const collectionSlotDeclarationSchema: z.ZodPipe<z.ZodObject<{
|
|
402
|
+
title: z.ZodString;
|
|
403
|
+
key: z.ZodOptional<z.ZodString>;
|
|
404
|
+
id: z.ZodOptional<z.ZodString>;
|
|
405
|
+
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
406
|
+
title: string;
|
|
407
|
+
key?: string | undefined;
|
|
408
|
+
id?: string | undefined;
|
|
409
|
+
}, "id" | "key"> & {
|
|
410
|
+
key: string;
|
|
411
|
+
}, {
|
|
412
|
+
title: string;
|
|
413
|
+
key?: string | undefined;
|
|
414
|
+
id?: string | undefined;
|
|
415
|
+
}>>;
|
|
396
416
|
declare const questCollectionSchema: z.ZodObject<{
|
|
397
417
|
id: z.ZodString;
|
|
418
|
+
key: z.ZodOptional<z.ZodString>;
|
|
398
419
|
title: z.ZodString;
|
|
399
420
|
quests: z.ZodArray<z.ZodString>;
|
|
400
421
|
}, z.core.$strict>;
|
|
@@ -442,6 +463,7 @@ declare const questDraftChangesSchema: z.ZodObject<{
|
|
|
442
463
|
}, z.core.$strict>>;
|
|
443
464
|
collections: z.ZodArray<z.ZodObject<{
|
|
444
465
|
id: z.ZodString;
|
|
466
|
+
key: z.ZodOptional<z.ZodString>;
|
|
445
467
|
title: z.ZodString;
|
|
446
468
|
quests: z.ZodArray<z.ZodString>;
|
|
447
469
|
}, z.core.$strict>>;
|
|
@@ -474,6 +496,7 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
474
496
|
}, z.core.$strict>>;
|
|
475
497
|
collections: z.ZodArray<z.ZodObject<{
|
|
476
498
|
id: z.ZodString;
|
|
499
|
+
key: z.ZodOptional<z.ZodString>;
|
|
477
500
|
title: z.ZodString;
|
|
478
501
|
quests: z.ZodArray<z.ZodString>;
|
|
479
502
|
}, z.core.$strict>>;
|
|
@@ -507,6 +530,7 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
507
530
|
}, z.core.$strict>>;
|
|
508
531
|
collections: z.ZodArray<z.ZodObject<{
|
|
509
532
|
id: z.ZodString;
|
|
533
|
+
key: z.ZodOptional<z.ZodString>;
|
|
510
534
|
title: z.ZodString;
|
|
511
535
|
quests: z.ZodArray<z.ZodString>;
|
|
512
536
|
}, z.core.$strict>>;
|
|
@@ -517,6 +541,7 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
517
541
|
declare const questCatalogSchema: z.ZodObject<{
|
|
518
542
|
revision: z.ZodNumber;
|
|
519
543
|
types: z.ZodArray<z.ZodObject<{
|
|
544
|
+
key: z.ZodOptional<z.ZodString>;
|
|
520
545
|
id: z.ZodString;
|
|
521
546
|
version: z.ZodString;
|
|
522
547
|
code: z.ZodString;
|
|
@@ -561,6 +586,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
561
586
|
kind: z.ZodLiteral<"resource">;
|
|
562
587
|
default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
563
588
|
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
589
|
+
provider: z.ZodLiteral<"domino">;
|
|
590
|
+
resource: z.ZodLiteral<"point-ledger">;
|
|
591
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
564
592
|
provider: z.ZodLiteral<"discord">;
|
|
565
593
|
resource: z.ZodLiteral<"channel">;
|
|
566
594
|
types: z.ZodArray<z.ZodEnum<{
|
|
@@ -689,8 +717,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
689
717
|
member: "member";
|
|
690
718
|
}>;
|
|
691
719
|
period: z.ZodEnum<{
|
|
692
|
-
day: "day";
|
|
693
720
|
lifetime: "lifetime";
|
|
721
|
+
day: "day";
|
|
694
722
|
}>;
|
|
695
723
|
limit: z.ZodNumber;
|
|
696
724
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -709,6 +737,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
709
737
|
}, z.core.$strip>>;
|
|
710
738
|
collections: z.ZodArray<z.ZodObject<{
|
|
711
739
|
id: z.ZodString;
|
|
740
|
+
key: z.ZodOptional<z.ZodString>;
|
|
712
741
|
title: z.ZodString;
|
|
713
742
|
quests: z.ZodArray<z.ZodString>;
|
|
714
743
|
}, z.core.$strict>>;
|
|
@@ -760,6 +789,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
760
789
|
}, z.core.$strict>>;
|
|
761
790
|
collections: z.ZodArray<z.ZodObject<{
|
|
762
791
|
id: z.ZodString;
|
|
792
|
+
key: z.ZodOptional<z.ZodString>;
|
|
763
793
|
title: z.ZodString;
|
|
764
794
|
quests: z.ZodArray<z.ZodString>;
|
|
765
795
|
}, z.core.$strict>>;
|
|
@@ -793,6 +823,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
793
823
|
}, z.core.$strict>>;
|
|
794
824
|
collections: z.ZodArray<z.ZodObject<{
|
|
795
825
|
id: z.ZodString;
|
|
826
|
+
key: z.ZodOptional<z.ZodString>;
|
|
796
827
|
title: z.ZodString;
|
|
797
828
|
quests: z.ZodArray<z.ZodString>;
|
|
798
829
|
}, z.core.$strict>>;
|
|
@@ -841,6 +872,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
841
872
|
kind: z.ZodLiteral<"resource">;
|
|
842
873
|
default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
843
874
|
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
875
|
+
provider: z.ZodLiteral<"domino">;
|
|
876
|
+
resource: z.ZodLiteral<"point-ledger">;
|
|
877
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
844
878
|
provider: z.ZodLiteral<"discord">;
|
|
845
879
|
resource: z.ZodLiteral<"channel">;
|
|
846
880
|
types: z.ZodArray<z.ZodEnum<{
|
|
@@ -969,14 +1003,15 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
969
1003
|
member: "member";
|
|
970
1004
|
}>;
|
|
971
1005
|
period: z.ZodEnum<{
|
|
972
|
-
day: "day";
|
|
973
1006
|
lifetime: "lifetime";
|
|
1007
|
+
day: "day";
|
|
974
1008
|
}>;
|
|
975
1009
|
limit: z.ZodNumber;
|
|
976
1010
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
977
1011
|
balance: z.ZodString;
|
|
978
1012
|
}, z.core.$strict>]>;
|
|
979
1013
|
}, z.core.$strict>>>;
|
|
1014
|
+
key: z.ZodOptional<z.ZodString>;
|
|
980
1015
|
code: z.ZodString;
|
|
981
1016
|
provider: z.ZodEnum<{
|
|
982
1017
|
"fixture-pass": "fixture-pass";
|
|
@@ -1101,6 +1136,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1101
1136
|
provider: "discord";
|
|
1102
1137
|
resource: "channel";
|
|
1103
1138
|
types: ("text" | "announcement")[];
|
|
1139
|
+
} | {
|
|
1140
|
+
provider: "domino";
|
|
1141
|
+
resource: "point-ledger";
|
|
1104
1142
|
} | {
|
|
1105
1143
|
provider: "discord";
|
|
1106
1144
|
resource: "role";
|
|
@@ -1209,7 +1247,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1209
1247
|
budgets: {
|
|
1210
1248
|
id: string;
|
|
1211
1249
|
scope: "project" | "member";
|
|
1212
|
-
period: "
|
|
1250
|
+
period: "lifetime" | "day";
|
|
1213
1251
|
limit: number;
|
|
1214
1252
|
cost: number | {
|
|
1215
1253
|
balance: string;
|
|
@@ -1221,6 +1259,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1221
1259
|
createdAt: number;
|
|
1222
1260
|
legacy: boolean;
|
|
1223
1261
|
lifecycle: "active" | "paused" | "archived";
|
|
1262
|
+
key?: string | undefined;
|
|
1224
1263
|
origin?: {
|
|
1225
1264
|
typeVersion: string;
|
|
1226
1265
|
} | undefined;
|
|
@@ -1302,10 +1341,21 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1302
1341
|
"workers-ai": "workers-ai";
|
|
1303
1342
|
}>;
|
|
1304
1343
|
}, z.core.$strip>>>;
|
|
1305
|
-
collections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1306
|
-
id: z.ZodString;
|
|
1344
|
+
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
1307
1345
|
title: z.ZodString;
|
|
1308
|
-
|
|
1346
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1347
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1348
|
+
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
1349
|
+
title: string;
|
|
1350
|
+
key?: string | undefined;
|
|
1351
|
+
id?: string | undefined;
|
|
1352
|
+
}, "id" | "key"> & {
|
|
1353
|
+
key: string;
|
|
1354
|
+
}, {
|
|
1355
|
+
title: string;
|
|
1356
|
+
key?: string | undefined;
|
|
1357
|
+
id?: string | undefined;
|
|
1358
|
+
}>>>>;
|
|
1309
1359
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1310
1360
|
staff: "staff";
|
|
1311
1361
|
quiz: "quiz";
|
|
@@ -1317,6 +1367,7 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1317
1367
|
declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
1318
1368
|
revision: z.ZodNumber;
|
|
1319
1369
|
types: z.ZodArray<z.ZodObject<{
|
|
1370
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1320
1371
|
id: z.ZodString;
|
|
1321
1372
|
version: z.ZodString;
|
|
1322
1373
|
code: z.ZodString;
|
|
@@ -1361,6 +1412,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1361
1412
|
kind: z.ZodLiteral<"resource">;
|
|
1362
1413
|
default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
1363
1414
|
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
1415
|
+
provider: z.ZodLiteral<"domino">;
|
|
1416
|
+
resource: z.ZodLiteral<"point-ledger">;
|
|
1417
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1364
1418
|
provider: z.ZodLiteral<"discord">;
|
|
1365
1419
|
resource: z.ZodLiteral<"channel">;
|
|
1366
1420
|
types: z.ZodArray<z.ZodEnum<{
|
|
@@ -1489,8 +1543,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1489
1543
|
member: "member";
|
|
1490
1544
|
}>;
|
|
1491
1545
|
period: z.ZodEnum<{
|
|
1492
|
-
day: "day";
|
|
1493
1546
|
lifetime: "lifetime";
|
|
1547
|
+
day: "day";
|
|
1494
1548
|
}>;
|
|
1495
1549
|
limit: z.ZodNumber;
|
|
1496
1550
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -1509,6 +1563,7 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1509
1563
|
}, z.core.$strip>>;
|
|
1510
1564
|
collections: z.ZodArray<z.ZodObject<{
|
|
1511
1565
|
id: z.ZodString;
|
|
1566
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1512
1567
|
title: z.ZodString;
|
|
1513
1568
|
}, z.core.$strict>>;
|
|
1514
1569
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
@@ -1520,7 +1575,8 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1520
1575
|
}>>;
|
|
1521
1576
|
}, z.core.$strip>;
|
|
1522
1577
|
declare const saveQuestDraftSchema: z.ZodObject<{
|
|
1523
|
-
id: z.ZodString
|
|
1578
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
actionId: z.ZodString;
|
|
1524
1580
|
expectedRevision: z.ZodNumber;
|
|
1525
1581
|
baseRevision: z.ZodNumber;
|
|
1526
1582
|
changes: z.ZodObject<{
|
|
@@ -1547,6 +1603,7 @@ declare const saveQuestDraftSchema: z.ZodObject<{
|
|
|
1547
1603
|
}, z.core.$strict>>;
|
|
1548
1604
|
collections: z.ZodArray<z.ZodObject<{
|
|
1549
1605
|
id: z.ZodString;
|
|
1606
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1550
1607
|
title: z.ZodString;
|
|
1551
1608
|
quests: z.ZodArray<z.ZodString>;
|
|
1552
1609
|
}, z.core.$strict>>;
|
|
@@ -1558,6 +1615,7 @@ declare const publishQuestDraftSchema: z.ZodObject<{
|
|
|
1558
1615
|
}, z.core.$strict>;
|
|
1559
1616
|
declare const questViewSchema: z.ZodObject<{
|
|
1560
1617
|
quest: z.ZodString;
|
|
1618
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1561
1619
|
title: z.ZodString;
|
|
1562
1620
|
presentation: z.ZodDefault<z.ZodObject<{
|
|
1563
1621
|
quiz: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1723,10 +1781,12 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1723
1781
|
}, z.core.$strip>>;
|
|
1724
1782
|
}, z.core.$strip>;
|
|
1725
1783
|
declare const collectionViewSchema: z.ZodObject<{
|
|
1784
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1726
1785
|
id: z.ZodString;
|
|
1727
1786
|
title: z.ZodString;
|
|
1728
1787
|
quests: z.ZodArray<z.ZodObject<{
|
|
1729
1788
|
quest: z.ZodString;
|
|
1789
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1730
1790
|
title: z.ZodString;
|
|
1731
1791
|
presentation: z.ZodDefault<z.ZodObject<{
|
|
1732
1792
|
quiz: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1896,6 +1956,7 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
1896
1956
|
member: z.ZodString;
|
|
1897
1957
|
quests: z.ZodArray<z.ZodObject<{
|
|
1898
1958
|
quest: z.ZodString;
|
|
1959
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1899
1960
|
title: z.ZodString;
|
|
1900
1961
|
presentation: z.ZodDefault<z.ZodObject<{
|
|
1901
1962
|
quiz: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2061,10 +2122,12 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2061
2122
|
}, z.core.$strip>>;
|
|
2062
2123
|
}, z.core.$strip>>;
|
|
2063
2124
|
collections: z.ZodArray<z.ZodObject<{
|
|
2125
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2064
2126
|
id: z.ZodString;
|
|
2065
2127
|
title: z.ZodString;
|
|
2066
2128
|
quests: z.ZodArray<z.ZodObject<{
|
|
2067
2129
|
quest: z.ZodString;
|
|
2130
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2068
2131
|
title: z.ZodString;
|
|
2069
2132
|
presentation: z.ZodDefault<z.ZodObject<{
|
|
2070
2133
|
quiz: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2264,6 +2327,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2264
2327
|
}, z.core.$strict>>;
|
|
2265
2328
|
collections: z.ZodArray<z.ZodObject<{
|
|
2266
2329
|
id: z.ZodString;
|
|
2330
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2267
2331
|
title: z.ZodString;
|
|
2268
2332
|
quests: z.ZodArray<z.ZodString>;
|
|
2269
2333
|
}, z.core.$strict>>;
|
|
@@ -2297,6 +2361,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2297
2361
|
}, z.core.$strict>>;
|
|
2298
2362
|
collections: z.ZodArray<z.ZodObject<{
|
|
2299
2363
|
id: z.ZodString;
|
|
2364
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2300
2365
|
title: z.ZodString;
|
|
2301
2366
|
quests: z.ZodArray<z.ZodString>;
|
|
2302
2367
|
}, z.core.$strict>>;
|
|
@@ -2345,6 +2410,9 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2345
2410
|
kind: z.ZodLiteral<"resource">;
|
|
2346
2411
|
default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
2347
2412
|
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
2413
|
+
provider: z.ZodLiteral<"domino">;
|
|
2414
|
+
resource: z.ZodLiteral<"point-ledger">;
|
|
2415
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2348
2416
|
provider: z.ZodLiteral<"discord">;
|
|
2349
2417
|
resource: z.ZodLiteral<"channel">;
|
|
2350
2418
|
types: z.ZodArray<z.ZodEnum<{
|
|
@@ -2473,14 +2541,15 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2473
2541
|
member: "member";
|
|
2474
2542
|
}>;
|
|
2475
2543
|
period: z.ZodEnum<{
|
|
2476
|
-
day: "day";
|
|
2477
2544
|
lifetime: "lifetime";
|
|
2545
|
+
day: "day";
|
|
2478
2546
|
}>;
|
|
2479
2547
|
limit: z.ZodNumber;
|
|
2480
2548
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2481
2549
|
balance: z.ZodString;
|
|
2482
2550
|
}, z.core.$strict>]>;
|
|
2483
2551
|
}, z.core.$strict>>>;
|
|
2552
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2484
2553
|
code: z.ZodString;
|
|
2485
2554
|
provider: z.ZodEnum<{
|
|
2486
2555
|
"fixture-pass": "fixture-pass";
|
|
@@ -2605,6 +2674,9 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2605
2674
|
provider: "discord";
|
|
2606
2675
|
resource: "channel";
|
|
2607
2676
|
types: ("text" | "announcement")[];
|
|
2677
|
+
} | {
|
|
2678
|
+
provider: "domino";
|
|
2679
|
+
resource: "point-ledger";
|
|
2608
2680
|
} | {
|
|
2609
2681
|
provider: "discord";
|
|
2610
2682
|
resource: "role";
|
|
@@ -2713,7 +2785,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2713
2785
|
budgets: {
|
|
2714
2786
|
id: string;
|
|
2715
2787
|
scope: "project" | "member";
|
|
2716
|
-
period: "
|
|
2788
|
+
period: "lifetime" | "day";
|
|
2717
2789
|
limit: number;
|
|
2718
2790
|
cost: number | {
|
|
2719
2791
|
balance: string;
|
|
@@ -2725,6 +2797,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2725
2797
|
createdAt: number;
|
|
2726
2798
|
legacy: boolean;
|
|
2727
2799
|
lifecycle: "active" | "paused" | "archived";
|
|
2800
|
+
key?: string | undefined;
|
|
2728
2801
|
origin?: {
|
|
2729
2802
|
typeVersion: string;
|
|
2730
2803
|
} | undefined;
|
|
@@ -2788,10 +2861,17 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2788
2861
|
}>>]>>;
|
|
2789
2862
|
affectedCollections: z.ZodArray<z.ZodObject<{
|
|
2790
2863
|
id: z.ZodString;
|
|
2864
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2791
2865
|
title: z.ZodString;
|
|
2792
2866
|
quests: z.ZodArray<z.ZodString>;
|
|
2793
2867
|
}, z.core.$strict>>;
|
|
2794
2868
|
}, z.core.$strip>;
|
|
2869
|
+
declare const allocateQuestSchema: z.ZodObject<{
|
|
2870
|
+
actionId: z.ZodString;
|
|
2871
|
+
}, z.core.$strict>;
|
|
2872
|
+
declare const allocatedQuestSchema: z.ZodObject<{
|
|
2873
|
+
id: z.ZodString;
|
|
2874
|
+
}, z.core.$strip>;
|
|
2795
2875
|
|
|
2796
2876
|
type QuestActionResult = {
|
|
2797
2877
|
kind: "submitted";
|
|
@@ -2824,11 +2904,25 @@ type QuestController = (ActiveController & {
|
|
|
2824
2904
|
submit(): Promise<QuestActionResult>;
|
|
2825
2905
|
});
|
|
2826
2906
|
|
|
2827
|
-
|
|
2907
|
+
declare const pointLedgerPropertiesSchema: z.ZodObject<{
|
|
2908
|
+
name: z.ZodString;
|
|
2909
|
+
description: z.ZodDefault<z.ZodString>;
|
|
2910
|
+
}, z.core.$strict>;
|
|
2911
|
+
declare const createPointLedgerSchema: z.ZodObject<{
|
|
2912
|
+
name: z.ZodString;
|
|
2913
|
+
description: z.ZodDefault<z.ZodString>;
|
|
2914
|
+
actionId: z.ZodString;
|
|
2915
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2916
|
+
}, z.core.$strict>;
|
|
2828
2917
|
declare const pointLedgerSchema: z.ZodObject<{
|
|
2918
|
+
name: z.ZodString;
|
|
2919
|
+
description: z.ZodDefault<z.ZodString>;
|
|
2829
2920
|
id: z.ZodString;
|
|
2921
|
+
}, z.core.$strict>;
|
|
2922
|
+
declare const pointLedgerDeclarationSchema: z.ZodObject<{
|
|
2830
2923
|
name: z.ZodString;
|
|
2831
2924
|
description: z.ZodDefault<z.ZodString>;
|
|
2925
|
+
key: z.ZodString;
|
|
2832
2926
|
}, z.core.$strict>;
|
|
2833
2927
|
type PointLedger = z.infer<typeof pointLedgerSchema>;
|
|
2834
2928
|
|
|
@@ -2871,9 +2965,6 @@ declare const rewardDeliveriesSchema: z.ZodObject<{
|
|
|
2871
2965
|
}, z.core.$strip>>;
|
|
2872
2966
|
}, z.core.$strip>;
|
|
2873
2967
|
|
|
2874
|
-
/** An opaque prefixed resource ID with 131 bits of cryptographic randomness. */
|
|
2875
|
-
declare function resourceId(prefix: string): string;
|
|
2876
|
-
|
|
2877
2968
|
declare const collectionCodeSchema: z.ZodString;
|
|
2878
2969
|
declare const collectionPassSchema: z.ZodObject<{
|
|
2879
2970
|
code: z.ZodString;
|
|
@@ -3010,10 +3101,6 @@ declare function questConfiguration(release: PublishedRelease): {
|
|
|
3010
3101
|
|
|
3011
3102
|
/** Non-quest resources in the private hosted-build catalog artifact. */
|
|
3012
3103
|
declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
3013
|
-
collections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3014
|
-
id: z.ZodString;
|
|
3015
|
-
title: z.ZodString;
|
|
3016
|
-
}, z.core.$strict>>>;
|
|
3017
3104
|
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3018
3105
|
code: z.ZodString;
|
|
3019
3106
|
provider: z.ZodEnum<{
|
|
@@ -3024,6 +3111,21 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3024
3111
|
"workers-ai": "workers-ai";
|
|
3025
3112
|
}>;
|
|
3026
3113
|
}, z.core.$strip>>>;
|
|
3114
|
+
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3115
|
+
title: z.ZodString;
|
|
3116
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3117
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3118
|
+
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
3119
|
+
title: string;
|
|
3120
|
+
key?: string | undefined;
|
|
3121
|
+
id?: string | undefined;
|
|
3122
|
+
}, "id" | "key"> & {
|
|
3123
|
+
key: string;
|
|
3124
|
+
}, {
|
|
3125
|
+
title: string;
|
|
3126
|
+
key?: string | undefined;
|
|
3127
|
+
id?: string | undefined;
|
|
3128
|
+
}>>>>;
|
|
3027
3129
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3028
3130
|
staff: "staff";
|
|
3029
3131
|
quiz: "quiz";
|
|
@@ -3031,19 +3133,13 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3031
3133
|
automatic: "automatic";
|
|
3032
3134
|
claim: "claim";
|
|
3033
3135
|
}>>>;
|
|
3034
|
-
|
|
3035
|
-
|
|
3136
|
+
pointLedgers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3137
|
+
name: z.ZodString;
|
|
3138
|
+
description: z.ZodDefault<z.ZodString>;
|
|
3139
|
+
key: z.ZodString;
|
|
3140
|
+
}, z.core.$strict>>>;
|
|
3141
|
+
referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
3036
3142
|
title: z.ZodString;
|
|
3037
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3038
|
-
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3039
|
-
kind: z.ZodLiteral<"signup">;
|
|
3040
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3041
|
-
kind: z.ZodLiteral<"quest">;
|
|
3042
|
-
quest: z.ZodString;
|
|
3043
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3044
|
-
kind: z.ZodLiteral<"external">;
|
|
3045
|
-
}, z.core.$strict>], "kind">;
|
|
3046
|
-
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
3047
3143
|
rewards: z.ZodDefault<z.ZodObject<{
|
|
3048
3144
|
inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3049
3145
|
kind: z.ZodDefault<z.ZodLiteral<"points">>;
|
|
@@ -3090,6 +3186,16 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3090
3186
|
tier: z.ZodString;
|
|
3091
3187
|
}, z.core.$strict>]>>>;
|
|
3092
3188
|
}, z.core.$strict>>;
|
|
3189
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3190
|
+
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3191
|
+
kind: z.ZodLiteral<"signup">;
|
|
3192
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3193
|
+
kind: z.ZodLiteral<"quest">;
|
|
3194
|
+
quest: z.ZodString;
|
|
3195
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3196
|
+
kind: z.ZodLiteral<"external">;
|
|
3197
|
+
}, z.core.$strict>], "kind">;
|
|
3198
|
+
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
3093
3199
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3094
3200
|
id: z.ZodString;
|
|
3095
3201
|
count: z.ZodNumber;
|
|
@@ -3125,13 +3231,207 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3125
3231
|
durationDays: z.ZodOptional<z.ZodNumber>;
|
|
3126
3232
|
maxPoints: z.ZodOptional<z.ZodNumber>;
|
|
3127
3233
|
}, z.core.$strict>>>;
|
|
3128
|
-
|
|
3234
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3235
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3236
|
+
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
3237
|
+
title: string;
|
|
3238
|
+
rewards: {
|
|
3239
|
+
inviter: ({
|
|
3240
|
+
kind: "tier";
|
|
3241
|
+
reward: {
|
|
3242
|
+
id: string;
|
|
3243
|
+
title: string;
|
|
3244
|
+
tiers: {
|
|
3245
|
+
id: string;
|
|
3246
|
+
title: string;
|
|
3247
|
+
}[];
|
|
3248
|
+
inventory: {
|
|
3249
|
+
kind: "untracked";
|
|
3250
|
+
};
|
|
3251
|
+
fulfillment: {
|
|
3252
|
+
kind: "staff-handover";
|
|
3253
|
+
};
|
|
3254
|
+
};
|
|
3255
|
+
tier: string;
|
|
3256
|
+
} | {
|
|
3257
|
+
kind: "points";
|
|
3258
|
+
balance: string;
|
|
3259
|
+
amount: number;
|
|
3260
|
+
})[];
|
|
3261
|
+
invitee: ({
|
|
3262
|
+
kind: "tier";
|
|
3263
|
+
reward: {
|
|
3264
|
+
id: string;
|
|
3265
|
+
title: string;
|
|
3266
|
+
tiers: {
|
|
3267
|
+
id: string;
|
|
3268
|
+
title: string;
|
|
3269
|
+
}[];
|
|
3270
|
+
inventory: {
|
|
3271
|
+
kind: "untracked";
|
|
3272
|
+
};
|
|
3273
|
+
fulfillment: {
|
|
3274
|
+
kind: "staff-handover";
|
|
3275
|
+
};
|
|
3276
|
+
};
|
|
3277
|
+
tier: string;
|
|
3278
|
+
} | {
|
|
3279
|
+
kind: "points";
|
|
3280
|
+
balance: string;
|
|
3281
|
+
amount: number;
|
|
3282
|
+
})[];
|
|
3283
|
+
};
|
|
3284
|
+
enabled: boolean;
|
|
3285
|
+
qualification: {
|
|
3286
|
+
kind: "signup";
|
|
3287
|
+
} | {
|
|
3288
|
+
kind: "quest";
|
|
3289
|
+
quest: string;
|
|
3290
|
+
} | {
|
|
3291
|
+
kind: "external";
|
|
3292
|
+
};
|
|
3293
|
+
milestones: {
|
|
3294
|
+
id: string;
|
|
3295
|
+
count: number;
|
|
3296
|
+
rewards: ({
|
|
3297
|
+
kind: "tier";
|
|
3298
|
+
reward: {
|
|
3299
|
+
id: string;
|
|
3300
|
+
title: string;
|
|
3301
|
+
tiers: {
|
|
3302
|
+
id: string;
|
|
3303
|
+
title: string;
|
|
3304
|
+
}[];
|
|
3305
|
+
inventory: {
|
|
3306
|
+
kind: "untracked";
|
|
3307
|
+
};
|
|
3308
|
+
fulfillment: {
|
|
3309
|
+
kind: "staff-handover";
|
|
3310
|
+
};
|
|
3311
|
+
};
|
|
3312
|
+
tier: string;
|
|
3313
|
+
} | {
|
|
3314
|
+
kind: "points";
|
|
3315
|
+
balance: string;
|
|
3316
|
+
amount: number;
|
|
3317
|
+
})[];
|
|
3318
|
+
}[];
|
|
3319
|
+
bonuses: {
|
|
3320
|
+
id: string;
|
|
3321
|
+
balance: string;
|
|
3322
|
+
basisPoints: number;
|
|
3323
|
+
external: boolean;
|
|
3324
|
+
quests?: string[] | undefined;
|
|
3325
|
+
durationDays?: number | undefined;
|
|
3326
|
+
maxPoints?: number | undefined;
|
|
3327
|
+
}[];
|
|
3328
|
+
inviterGroup?: string | undefined;
|
|
3329
|
+
key?: string | undefined;
|
|
3330
|
+
id?: string | undefined;
|
|
3331
|
+
}, "id" | "key"> & {
|
|
3332
|
+
key: string;
|
|
3333
|
+
}, {
|
|
3334
|
+
title: string;
|
|
3335
|
+
rewards: {
|
|
3336
|
+
inviter: ({
|
|
3337
|
+
kind: "tier";
|
|
3338
|
+
reward: {
|
|
3339
|
+
id: string;
|
|
3340
|
+
title: string;
|
|
3341
|
+
tiers: {
|
|
3342
|
+
id: string;
|
|
3343
|
+
title: string;
|
|
3344
|
+
}[];
|
|
3345
|
+
inventory: {
|
|
3346
|
+
kind: "untracked";
|
|
3347
|
+
};
|
|
3348
|
+
fulfillment: {
|
|
3349
|
+
kind: "staff-handover";
|
|
3350
|
+
};
|
|
3351
|
+
};
|
|
3352
|
+
tier: string;
|
|
3353
|
+
} | {
|
|
3354
|
+
kind: "points";
|
|
3355
|
+
balance: string;
|
|
3356
|
+
amount: number;
|
|
3357
|
+
})[];
|
|
3358
|
+
invitee: ({
|
|
3359
|
+
kind: "tier";
|
|
3360
|
+
reward: {
|
|
3361
|
+
id: string;
|
|
3362
|
+
title: string;
|
|
3363
|
+
tiers: {
|
|
3364
|
+
id: string;
|
|
3365
|
+
title: string;
|
|
3366
|
+
}[];
|
|
3367
|
+
inventory: {
|
|
3368
|
+
kind: "untracked";
|
|
3369
|
+
};
|
|
3370
|
+
fulfillment: {
|
|
3371
|
+
kind: "staff-handover";
|
|
3372
|
+
};
|
|
3373
|
+
};
|
|
3374
|
+
tier: string;
|
|
3375
|
+
} | {
|
|
3376
|
+
kind: "points";
|
|
3377
|
+
balance: string;
|
|
3378
|
+
amount: number;
|
|
3379
|
+
})[];
|
|
3380
|
+
};
|
|
3381
|
+
enabled: boolean;
|
|
3382
|
+
qualification: {
|
|
3383
|
+
kind: "signup";
|
|
3384
|
+
} | {
|
|
3385
|
+
kind: "quest";
|
|
3386
|
+
quest: string;
|
|
3387
|
+
} | {
|
|
3388
|
+
kind: "external";
|
|
3389
|
+
};
|
|
3390
|
+
milestones: {
|
|
3391
|
+
id: string;
|
|
3392
|
+
count: number;
|
|
3393
|
+
rewards: ({
|
|
3394
|
+
kind: "tier";
|
|
3395
|
+
reward: {
|
|
3396
|
+
id: string;
|
|
3397
|
+
title: string;
|
|
3398
|
+
tiers: {
|
|
3399
|
+
id: string;
|
|
3400
|
+
title: string;
|
|
3401
|
+
}[];
|
|
3402
|
+
inventory: {
|
|
3403
|
+
kind: "untracked";
|
|
3404
|
+
};
|
|
3405
|
+
fulfillment: {
|
|
3406
|
+
kind: "staff-handover";
|
|
3407
|
+
};
|
|
3408
|
+
};
|
|
3409
|
+
tier: string;
|
|
3410
|
+
} | {
|
|
3411
|
+
kind: "points";
|
|
3412
|
+
balance: string;
|
|
3413
|
+
amount: number;
|
|
3414
|
+
})[];
|
|
3415
|
+
}[];
|
|
3416
|
+
bonuses: {
|
|
3417
|
+
id: string;
|
|
3418
|
+
balance: string;
|
|
3419
|
+
basisPoints: number;
|
|
3420
|
+
external: boolean;
|
|
3421
|
+
quests?: string[] | undefined;
|
|
3422
|
+
durationDays?: number | undefined;
|
|
3423
|
+
maxPoints?: number | undefined;
|
|
3424
|
+
}[];
|
|
3425
|
+
inviterGroup?: string | undefined;
|
|
3426
|
+
key?: string | undefined;
|
|
3427
|
+
id?: string | undefined;
|
|
3428
|
+
}>>, z.ZodObject<{
|
|
3129
3429
|
code: z.ZodString;
|
|
3130
3430
|
}, z.core.$strict>]>>>;
|
|
3131
|
-
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3132
|
-
id: z.ZodString;
|
|
3133
|
-
title: z.ZodString;
|
|
3431
|
+
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
3134
3432
|
balance: z.ZodString;
|
|
3433
|
+
group: z.ZodOptional<z.ZodString>;
|
|
3434
|
+
title: z.ZodString;
|
|
3135
3435
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3136
3436
|
kind: z.ZodLiteral<"balance">;
|
|
3137
3437
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3180,17 +3480,102 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3180
3480
|
participants: "participants";
|
|
3181
3481
|
public: "public";
|
|
3182
3482
|
}>>;
|
|
3183
|
-
|
|
3184
|
-
|
|
3483
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3484
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3485
|
+
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
3486
|
+
balance: string;
|
|
3487
|
+
title: string;
|
|
3488
|
+
score: {
|
|
3489
|
+
kind: "balance";
|
|
3490
|
+
} | {
|
|
3491
|
+
window: {
|
|
3492
|
+
kind: "fixed";
|
|
3493
|
+
start: number;
|
|
3494
|
+
end: number;
|
|
3495
|
+
} | {
|
|
3496
|
+
kind: "all-time";
|
|
3497
|
+
} | {
|
|
3498
|
+
kind: "rolling";
|
|
3499
|
+
days: number;
|
|
3500
|
+
} | {
|
|
3501
|
+
kind: "calendar";
|
|
3502
|
+
period: "day" | "week" | "month";
|
|
3503
|
+
timeZone: string;
|
|
3504
|
+
};
|
|
3505
|
+
kind: "earned";
|
|
3506
|
+
quests?: string[] | undefined;
|
|
3507
|
+
} | {
|
|
3508
|
+
kind: "net";
|
|
3509
|
+
window: {
|
|
3510
|
+
kind: "fixed";
|
|
3511
|
+
start: number;
|
|
3512
|
+
end: number;
|
|
3513
|
+
} | {
|
|
3514
|
+
kind: "all-time";
|
|
3515
|
+
} | {
|
|
3516
|
+
kind: "rolling";
|
|
3517
|
+
days: number;
|
|
3518
|
+
} | {
|
|
3519
|
+
kind: "calendar";
|
|
3520
|
+
period: "day" | "week" | "month";
|
|
3521
|
+
timeZone: string;
|
|
3522
|
+
};
|
|
3523
|
+
};
|
|
3524
|
+
access: "participants" | "public";
|
|
3525
|
+
group?: string | undefined;
|
|
3526
|
+
key?: string | undefined;
|
|
3527
|
+
id?: string | undefined;
|
|
3528
|
+
}, "id" | "key"> & {
|
|
3529
|
+
key: string;
|
|
3530
|
+
}, {
|
|
3531
|
+
balance: string;
|
|
3532
|
+
title: string;
|
|
3533
|
+
score: {
|
|
3534
|
+
kind: "balance";
|
|
3535
|
+
} | {
|
|
3536
|
+
window: {
|
|
3537
|
+
kind: "fixed";
|
|
3538
|
+
start: number;
|
|
3539
|
+
end: number;
|
|
3540
|
+
} | {
|
|
3541
|
+
kind: "all-time";
|
|
3542
|
+
} | {
|
|
3543
|
+
kind: "rolling";
|
|
3544
|
+
days: number;
|
|
3545
|
+
} | {
|
|
3546
|
+
kind: "calendar";
|
|
3547
|
+
period: "day" | "week" | "month";
|
|
3548
|
+
timeZone: string;
|
|
3549
|
+
};
|
|
3550
|
+
kind: "earned";
|
|
3551
|
+
quests?: string[] | undefined;
|
|
3552
|
+
} | {
|
|
3553
|
+
kind: "net";
|
|
3554
|
+
window: {
|
|
3555
|
+
kind: "fixed";
|
|
3556
|
+
start: number;
|
|
3557
|
+
end: number;
|
|
3558
|
+
} | {
|
|
3559
|
+
kind: "all-time";
|
|
3560
|
+
} | {
|
|
3561
|
+
kind: "rolling";
|
|
3562
|
+
days: number;
|
|
3563
|
+
} | {
|
|
3564
|
+
kind: "calendar";
|
|
3565
|
+
period: "day" | "week" | "month";
|
|
3566
|
+
timeZone: string;
|
|
3567
|
+
};
|
|
3568
|
+
};
|
|
3569
|
+
access: "participants" | "public";
|
|
3570
|
+
group?: string | undefined;
|
|
3571
|
+
key?: string | undefined;
|
|
3572
|
+
id?: string | undefined;
|
|
3573
|
+
}>>, z.ZodObject<{
|
|
3185
3574
|
code: z.ZodString;
|
|
3186
3575
|
}, z.core.$strict>]>>>;
|
|
3187
3576
|
}, z.core.$strict>;
|
|
3188
3577
|
/** One manifest bundle. Missing entries never delete remotely owned resources. */
|
|
3189
3578
|
declare const projectDeploymentSchema: z.ZodObject<{
|
|
3190
|
-
collections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3191
|
-
id: z.ZodString;
|
|
3192
|
-
title: z.ZodString;
|
|
3193
|
-
}, z.core.$strict>>>;
|
|
3194
3579
|
types: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3195
3580
|
code: z.ZodString;
|
|
3196
3581
|
provider: z.ZodEnum<{
|
|
@@ -3201,6 +3586,21 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3201
3586
|
"workers-ai": "workers-ai";
|
|
3202
3587
|
}>;
|
|
3203
3588
|
}, z.core.$strip>>>;
|
|
3589
|
+
collections: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3590
|
+
title: z.ZodString;
|
|
3591
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3592
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3593
|
+
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
3594
|
+
title: string;
|
|
3595
|
+
key?: string | undefined;
|
|
3596
|
+
id?: string | undefined;
|
|
3597
|
+
}, "id" | "key"> & {
|
|
3598
|
+
key: string;
|
|
3599
|
+
}, {
|
|
3600
|
+
title: string;
|
|
3601
|
+
key?: string | undefined;
|
|
3602
|
+
id?: string | undefined;
|
|
3603
|
+
}>>>>;
|
|
3204
3604
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3205
3605
|
staff: "staff";
|
|
3206
3606
|
quiz: "quiz";
|
|
@@ -3208,19 +3608,13 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3208
3608
|
automatic: "automatic";
|
|
3209
3609
|
claim: "claim";
|
|
3210
3610
|
}>>>;
|
|
3211
|
-
|
|
3212
|
-
|
|
3611
|
+
pointLedgers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3612
|
+
name: z.ZodString;
|
|
3613
|
+
description: z.ZodDefault<z.ZodString>;
|
|
3614
|
+
key: z.ZodString;
|
|
3615
|
+
}, z.core.$strict>>>;
|
|
3616
|
+
referrals: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
3213
3617
|
title: z.ZodString;
|
|
3214
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3215
|
-
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3216
|
-
kind: z.ZodLiteral<"signup">;
|
|
3217
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3218
|
-
kind: z.ZodLiteral<"quest">;
|
|
3219
|
-
quest: z.ZodString;
|
|
3220
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3221
|
-
kind: z.ZodLiteral<"external">;
|
|
3222
|
-
}, z.core.$strict>], "kind">;
|
|
3223
|
-
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
3224
3618
|
rewards: z.ZodDefault<z.ZodObject<{
|
|
3225
3619
|
inviter: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3226
3620
|
kind: z.ZodDefault<z.ZodLiteral<"points">>;
|
|
@@ -3267,6 +3661,16 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3267
3661
|
tier: z.ZodString;
|
|
3268
3662
|
}, z.core.$strict>]>>>;
|
|
3269
3663
|
}, z.core.$strict>>;
|
|
3664
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3665
|
+
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3666
|
+
kind: z.ZodLiteral<"signup">;
|
|
3667
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3668
|
+
kind: z.ZodLiteral<"quest">;
|
|
3669
|
+
quest: z.ZodString;
|
|
3670
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3671
|
+
kind: z.ZodLiteral<"external">;
|
|
3672
|
+
}, z.core.$strict>], "kind">;
|
|
3673
|
+
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
3270
3674
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3271
3675
|
id: z.ZodString;
|
|
3272
3676
|
count: z.ZodNumber;
|
|
@@ -3302,13 +3706,207 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3302
3706
|
durationDays: z.ZodOptional<z.ZodNumber>;
|
|
3303
3707
|
maxPoints: z.ZodOptional<z.ZodNumber>;
|
|
3304
3708
|
}, z.core.$strict>>>;
|
|
3305
|
-
|
|
3709
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3710
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3711
|
+
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
3712
|
+
title: string;
|
|
3713
|
+
rewards: {
|
|
3714
|
+
inviter: ({
|
|
3715
|
+
kind: "tier";
|
|
3716
|
+
reward: {
|
|
3717
|
+
id: string;
|
|
3718
|
+
title: string;
|
|
3719
|
+
tiers: {
|
|
3720
|
+
id: string;
|
|
3721
|
+
title: string;
|
|
3722
|
+
}[];
|
|
3723
|
+
inventory: {
|
|
3724
|
+
kind: "untracked";
|
|
3725
|
+
};
|
|
3726
|
+
fulfillment: {
|
|
3727
|
+
kind: "staff-handover";
|
|
3728
|
+
};
|
|
3729
|
+
};
|
|
3730
|
+
tier: string;
|
|
3731
|
+
} | {
|
|
3732
|
+
kind: "points";
|
|
3733
|
+
balance: string;
|
|
3734
|
+
amount: number;
|
|
3735
|
+
})[];
|
|
3736
|
+
invitee: ({
|
|
3737
|
+
kind: "tier";
|
|
3738
|
+
reward: {
|
|
3739
|
+
id: string;
|
|
3740
|
+
title: string;
|
|
3741
|
+
tiers: {
|
|
3742
|
+
id: string;
|
|
3743
|
+
title: string;
|
|
3744
|
+
}[];
|
|
3745
|
+
inventory: {
|
|
3746
|
+
kind: "untracked";
|
|
3747
|
+
};
|
|
3748
|
+
fulfillment: {
|
|
3749
|
+
kind: "staff-handover";
|
|
3750
|
+
};
|
|
3751
|
+
};
|
|
3752
|
+
tier: string;
|
|
3753
|
+
} | {
|
|
3754
|
+
kind: "points";
|
|
3755
|
+
balance: string;
|
|
3756
|
+
amount: number;
|
|
3757
|
+
})[];
|
|
3758
|
+
};
|
|
3759
|
+
enabled: boolean;
|
|
3760
|
+
qualification: {
|
|
3761
|
+
kind: "signup";
|
|
3762
|
+
} | {
|
|
3763
|
+
kind: "quest";
|
|
3764
|
+
quest: string;
|
|
3765
|
+
} | {
|
|
3766
|
+
kind: "external";
|
|
3767
|
+
};
|
|
3768
|
+
milestones: {
|
|
3769
|
+
id: string;
|
|
3770
|
+
count: number;
|
|
3771
|
+
rewards: ({
|
|
3772
|
+
kind: "tier";
|
|
3773
|
+
reward: {
|
|
3774
|
+
id: string;
|
|
3775
|
+
title: string;
|
|
3776
|
+
tiers: {
|
|
3777
|
+
id: string;
|
|
3778
|
+
title: string;
|
|
3779
|
+
}[];
|
|
3780
|
+
inventory: {
|
|
3781
|
+
kind: "untracked";
|
|
3782
|
+
};
|
|
3783
|
+
fulfillment: {
|
|
3784
|
+
kind: "staff-handover";
|
|
3785
|
+
};
|
|
3786
|
+
};
|
|
3787
|
+
tier: string;
|
|
3788
|
+
} | {
|
|
3789
|
+
kind: "points";
|
|
3790
|
+
balance: string;
|
|
3791
|
+
amount: number;
|
|
3792
|
+
})[];
|
|
3793
|
+
}[];
|
|
3794
|
+
bonuses: {
|
|
3795
|
+
id: string;
|
|
3796
|
+
balance: string;
|
|
3797
|
+
basisPoints: number;
|
|
3798
|
+
external: boolean;
|
|
3799
|
+
quests?: string[] | undefined;
|
|
3800
|
+
durationDays?: number | undefined;
|
|
3801
|
+
maxPoints?: number | undefined;
|
|
3802
|
+
}[];
|
|
3803
|
+
inviterGroup?: string | undefined;
|
|
3804
|
+
key?: string | undefined;
|
|
3805
|
+
id?: string | undefined;
|
|
3806
|
+
}, "id" | "key"> & {
|
|
3807
|
+
key: string;
|
|
3808
|
+
}, {
|
|
3809
|
+
title: string;
|
|
3810
|
+
rewards: {
|
|
3811
|
+
inviter: ({
|
|
3812
|
+
kind: "tier";
|
|
3813
|
+
reward: {
|
|
3814
|
+
id: string;
|
|
3815
|
+
title: string;
|
|
3816
|
+
tiers: {
|
|
3817
|
+
id: string;
|
|
3818
|
+
title: string;
|
|
3819
|
+
}[];
|
|
3820
|
+
inventory: {
|
|
3821
|
+
kind: "untracked";
|
|
3822
|
+
};
|
|
3823
|
+
fulfillment: {
|
|
3824
|
+
kind: "staff-handover";
|
|
3825
|
+
};
|
|
3826
|
+
};
|
|
3827
|
+
tier: string;
|
|
3828
|
+
} | {
|
|
3829
|
+
kind: "points";
|
|
3830
|
+
balance: string;
|
|
3831
|
+
amount: number;
|
|
3832
|
+
})[];
|
|
3833
|
+
invitee: ({
|
|
3834
|
+
kind: "tier";
|
|
3835
|
+
reward: {
|
|
3836
|
+
id: string;
|
|
3837
|
+
title: string;
|
|
3838
|
+
tiers: {
|
|
3839
|
+
id: string;
|
|
3840
|
+
title: string;
|
|
3841
|
+
}[];
|
|
3842
|
+
inventory: {
|
|
3843
|
+
kind: "untracked";
|
|
3844
|
+
};
|
|
3845
|
+
fulfillment: {
|
|
3846
|
+
kind: "staff-handover";
|
|
3847
|
+
};
|
|
3848
|
+
};
|
|
3849
|
+
tier: string;
|
|
3850
|
+
} | {
|
|
3851
|
+
kind: "points";
|
|
3852
|
+
balance: string;
|
|
3853
|
+
amount: number;
|
|
3854
|
+
})[];
|
|
3855
|
+
};
|
|
3856
|
+
enabled: boolean;
|
|
3857
|
+
qualification: {
|
|
3858
|
+
kind: "signup";
|
|
3859
|
+
} | {
|
|
3860
|
+
kind: "quest";
|
|
3861
|
+
quest: string;
|
|
3862
|
+
} | {
|
|
3863
|
+
kind: "external";
|
|
3864
|
+
};
|
|
3865
|
+
milestones: {
|
|
3866
|
+
id: string;
|
|
3867
|
+
count: number;
|
|
3868
|
+
rewards: ({
|
|
3869
|
+
kind: "tier";
|
|
3870
|
+
reward: {
|
|
3871
|
+
id: string;
|
|
3872
|
+
title: string;
|
|
3873
|
+
tiers: {
|
|
3874
|
+
id: string;
|
|
3875
|
+
title: string;
|
|
3876
|
+
}[];
|
|
3877
|
+
inventory: {
|
|
3878
|
+
kind: "untracked";
|
|
3879
|
+
};
|
|
3880
|
+
fulfillment: {
|
|
3881
|
+
kind: "staff-handover";
|
|
3882
|
+
};
|
|
3883
|
+
};
|
|
3884
|
+
tier: string;
|
|
3885
|
+
} | {
|
|
3886
|
+
kind: "points";
|
|
3887
|
+
balance: string;
|
|
3888
|
+
amount: number;
|
|
3889
|
+
})[];
|
|
3890
|
+
}[];
|
|
3891
|
+
bonuses: {
|
|
3892
|
+
id: string;
|
|
3893
|
+
balance: string;
|
|
3894
|
+
basisPoints: number;
|
|
3895
|
+
external: boolean;
|
|
3896
|
+
quests?: string[] | undefined;
|
|
3897
|
+
durationDays?: number | undefined;
|
|
3898
|
+
maxPoints?: number | undefined;
|
|
3899
|
+
}[];
|
|
3900
|
+
inviterGroup?: string | undefined;
|
|
3901
|
+
key?: string | undefined;
|
|
3902
|
+
id?: string | undefined;
|
|
3903
|
+
}>>, z.ZodObject<{
|
|
3306
3904
|
code: z.ZodString;
|
|
3307
3905
|
}, z.core.$strict>]>>>;
|
|
3308
|
-
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3309
|
-
id: z.ZodString;
|
|
3310
|
-
title: z.ZodString;
|
|
3906
|
+
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
3311
3907
|
balance: z.ZodString;
|
|
3908
|
+
group: z.ZodOptional<z.ZodString>;
|
|
3909
|
+
title: z.ZodString;
|
|
3312
3910
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3313
3911
|
kind: z.ZodLiteral<"balance">;
|
|
3314
3912
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3357,8 +3955,97 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3357
3955
|
participants: "participants";
|
|
3358
3956
|
public: "public";
|
|
3359
3957
|
}>>;
|
|
3360
|
-
|
|
3361
|
-
|
|
3958
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3959
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3960
|
+
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
3961
|
+
balance: string;
|
|
3962
|
+
title: string;
|
|
3963
|
+
score: {
|
|
3964
|
+
kind: "balance";
|
|
3965
|
+
} | {
|
|
3966
|
+
window: {
|
|
3967
|
+
kind: "fixed";
|
|
3968
|
+
start: number;
|
|
3969
|
+
end: number;
|
|
3970
|
+
} | {
|
|
3971
|
+
kind: "all-time";
|
|
3972
|
+
} | {
|
|
3973
|
+
kind: "rolling";
|
|
3974
|
+
days: number;
|
|
3975
|
+
} | {
|
|
3976
|
+
kind: "calendar";
|
|
3977
|
+
period: "day" | "week" | "month";
|
|
3978
|
+
timeZone: string;
|
|
3979
|
+
};
|
|
3980
|
+
kind: "earned";
|
|
3981
|
+
quests?: string[] | undefined;
|
|
3982
|
+
} | {
|
|
3983
|
+
kind: "net";
|
|
3984
|
+
window: {
|
|
3985
|
+
kind: "fixed";
|
|
3986
|
+
start: number;
|
|
3987
|
+
end: number;
|
|
3988
|
+
} | {
|
|
3989
|
+
kind: "all-time";
|
|
3990
|
+
} | {
|
|
3991
|
+
kind: "rolling";
|
|
3992
|
+
days: number;
|
|
3993
|
+
} | {
|
|
3994
|
+
kind: "calendar";
|
|
3995
|
+
period: "day" | "week" | "month";
|
|
3996
|
+
timeZone: string;
|
|
3997
|
+
};
|
|
3998
|
+
};
|
|
3999
|
+
access: "participants" | "public";
|
|
4000
|
+
group?: string | undefined;
|
|
4001
|
+
key?: string | undefined;
|
|
4002
|
+
id?: string | undefined;
|
|
4003
|
+
}, "id" | "key"> & {
|
|
4004
|
+
key: string;
|
|
4005
|
+
}, {
|
|
4006
|
+
balance: string;
|
|
4007
|
+
title: string;
|
|
4008
|
+
score: {
|
|
4009
|
+
kind: "balance";
|
|
4010
|
+
} | {
|
|
4011
|
+
window: {
|
|
4012
|
+
kind: "fixed";
|
|
4013
|
+
start: number;
|
|
4014
|
+
end: number;
|
|
4015
|
+
} | {
|
|
4016
|
+
kind: "all-time";
|
|
4017
|
+
} | {
|
|
4018
|
+
kind: "rolling";
|
|
4019
|
+
days: number;
|
|
4020
|
+
} | {
|
|
4021
|
+
kind: "calendar";
|
|
4022
|
+
period: "day" | "week" | "month";
|
|
4023
|
+
timeZone: string;
|
|
4024
|
+
};
|
|
4025
|
+
kind: "earned";
|
|
4026
|
+
quests?: string[] | undefined;
|
|
4027
|
+
} | {
|
|
4028
|
+
kind: "net";
|
|
4029
|
+
window: {
|
|
4030
|
+
kind: "fixed";
|
|
4031
|
+
start: number;
|
|
4032
|
+
end: number;
|
|
4033
|
+
} | {
|
|
4034
|
+
kind: "all-time";
|
|
4035
|
+
} | {
|
|
4036
|
+
kind: "rolling";
|
|
4037
|
+
days: number;
|
|
4038
|
+
} | {
|
|
4039
|
+
kind: "calendar";
|
|
4040
|
+
period: "day" | "week" | "month";
|
|
4041
|
+
timeZone: string;
|
|
4042
|
+
};
|
|
4043
|
+
};
|
|
4044
|
+
access: "participants" | "public";
|
|
4045
|
+
group?: string | undefined;
|
|
4046
|
+
key?: string | undefined;
|
|
4047
|
+
id?: string | undefined;
|
|
4048
|
+
}>>, z.ZodObject<{
|
|
3362
4049
|
code: z.ZodString;
|
|
3363
4050
|
}, z.core.$strict>]>>>;
|
|
3364
4051
|
releases: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -3386,6 +4073,11 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3386
4073
|
declare const deploymentPreviewSchema: z.ZodObject<{
|
|
3387
4074
|
id: z.ZodString;
|
|
3388
4075
|
baseRevision: z.ZodNumber;
|
|
4076
|
+
pointLedgers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4077
|
+
name: z.ZodString;
|
|
4078
|
+
description: z.ZodDefault<z.ZodString>;
|
|
4079
|
+
id: z.ZodString;
|
|
4080
|
+
}, z.core.$strict>>>;
|
|
3389
4081
|
releases: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3390
4082
|
quest: z.ZodString;
|
|
3391
4083
|
runtimeVersion: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
@@ -3427,6 +4119,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
3427
4119
|
kind: z.ZodLiteral<"resource">;
|
|
3428
4120
|
default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
3429
4121
|
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
4122
|
+
provider: z.ZodLiteral<"domino">;
|
|
4123
|
+
resource: z.ZodLiteral<"point-ledger">;
|
|
4124
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3430
4125
|
provider: z.ZodLiteral<"discord">;
|
|
3431
4126
|
resource: z.ZodLiteral<"channel">;
|
|
3432
4127
|
types: z.ZodArray<z.ZodEnum<{
|
|
@@ -3555,14 +4250,15 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
3555
4250
|
member: "member";
|
|
3556
4251
|
}>;
|
|
3557
4252
|
period: z.ZodEnum<{
|
|
3558
|
-
day: "day";
|
|
3559
4253
|
lifetime: "lifetime";
|
|
4254
|
+
day: "day";
|
|
3560
4255
|
}>;
|
|
3561
4256
|
limit: z.ZodNumber;
|
|
3562
4257
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3563
4258
|
balance: z.ZodString;
|
|
3564
4259
|
}, z.core.$strict>]>;
|
|
3565
4260
|
}, z.core.$strict>>>;
|
|
4261
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3566
4262
|
code: z.ZodString;
|
|
3567
4263
|
provider: z.ZodEnum<{
|
|
3568
4264
|
"fixture-pass": "fixture-pass";
|
|
@@ -3687,6 +4383,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
3687
4383
|
provider: "discord";
|
|
3688
4384
|
resource: "channel";
|
|
3689
4385
|
types: ("text" | "announcement")[];
|
|
4386
|
+
} | {
|
|
4387
|
+
provider: "domino";
|
|
4388
|
+
resource: "point-ledger";
|
|
3690
4389
|
} | {
|
|
3691
4390
|
provider: "discord";
|
|
3692
4391
|
resource: "role";
|
|
@@ -3795,7 +4494,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
3795
4494
|
budgets: {
|
|
3796
4495
|
id: string;
|
|
3797
4496
|
scope: "project" | "member";
|
|
3798
|
-
period: "
|
|
4497
|
+
period: "lifetime" | "day";
|
|
3799
4498
|
limit: number;
|
|
3800
4499
|
cost: number | {
|
|
3801
4500
|
balance: string;
|
|
@@ -3807,6 +4506,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
3807
4506
|
createdAt: number;
|
|
3808
4507
|
legacy: boolean;
|
|
3809
4508
|
lifecycle: "active" | "paused" | "archived";
|
|
4509
|
+
key?: string | undefined;
|
|
3810
4510
|
origin?: {
|
|
3811
4511
|
typeVersion: string;
|
|
3812
4512
|
} | undefined;
|
|
@@ -3869,6 +4569,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
3869
4569
|
createdAt: number;
|
|
3870
4570
|
}>>]>>;
|
|
3871
4571
|
types: z.ZodArray<z.ZodObject<{
|
|
4572
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3872
4573
|
id: z.ZodString;
|
|
3873
4574
|
version: z.ZodString;
|
|
3874
4575
|
code: z.ZodString;
|
|
@@ -3913,6 +4614,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
3913
4614
|
kind: z.ZodLiteral<"resource">;
|
|
3914
4615
|
default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
3915
4616
|
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
4617
|
+
provider: z.ZodLiteral<"domino">;
|
|
4618
|
+
resource: z.ZodLiteral<"point-ledger">;
|
|
4619
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3916
4620
|
provider: z.ZodLiteral<"discord">;
|
|
3917
4621
|
resource: z.ZodLiteral<"channel">;
|
|
3918
4622
|
types: z.ZodArray<z.ZodEnum<{
|
|
@@ -4041,8 +4745,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4041
4745
|
member: "member";
|
|
4042
4746
|
}>;
|
|
4043
4747
|
period: z.ZodEnum<{
|
|
4044
|
-
day: "day";
|
|
4045
4748
|
lifetime: "lifetime";
|
|
4749
|
+
day: "day";
|
|
4046
4750
|
}>;
|
|
4047
4751
|
limit: z.ZodNumber;
|
|
4048
4752
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -4061,6 +4765,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4061
4765
|
}, z.core.$strip>>;
|
|
4062
4766
|
collections: z.ZodArray<z.ZodObject<{
|
|
4063
4767
|
id: z.ZodString;
|
|
4768
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4064
4769
|
title: z.ZodString;
|
|
4065
4770
|
quests: z.ZodArray<z.ZodString>;
|
|
4066
4771
|
}, z.core.$strict>>;
|
|
@@ -4075,6 +4780,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4075
4780
|
version: z.ZodString;
|
|
4076
4781
|
definition: z.ZodObject<{
|
|
4077
4782
|
id: z.ZodString;
|
|
4783
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4078
4784
|
title: z.ZodString;
|
|
4079
4785
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4080
4786
|
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -4176,6 +4882,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4176
4882
|
version: z.ZodString;
|
|
4177
4883
|
definition: z.ZodObject<{
|
|
4178
4884
|
id: z.ZodString;
|
|
4885
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4179
4886
|
title: z.ZodString;
|
|
4180
4887
|
balance: z.ZodString;
|
|
4181
4888
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -4317,6 +5024,11 @@ declare const publishDeploymentSchema: z.ZodObject<{
|
|
|
4317
5024
|
declare const deploymentResultSchema: z.ZodObject<{
|
|
4318
5025
|
id: z.ZodString;
|
|
4319
5026
|
baseRevision: z.ZodNumber;
|
|
5027
|
+
pointLedgers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5028
|
+
name: z.ZodString;
|
|
5029
|
+
description: z.ZodDefault<z.ZodString>;
|
|
5030
|
+
id: z.ZodString;
|
|
5031
|
+
}, z.core.$strict>>>;
|
|
4320
5032
|
releases: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4321
5033
|
quest: z.ZodString;
|
|
4322
5034
|
runtimeVersion: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
@@ -4358,6 +5070,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4358
5070
|
kind: z.ZodLiteral<"resource">;
|
|
4359
5071
|
default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
4360
5072
|
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
5073
|
+
provider: z.ZodLiteral<"domino">;
|
|
5074
|
+
resource: z.ZodLiteral<"point-ledger">;
|
|
5075
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4361
5076
|
provider: z.ZodLiteral<"discord">;
|
|
4362
5077
|
resource: z.ZodLiteral<"channel">;
|
|
4363
5078
|
types: z.ZodArray<z.ZodEnum<{
|
|
@@ -4486,14 +5201,15 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4486
5201
|
member: "member";
|
|
4487
5202
|
}>;
|
|
4488
5203
|
period: z.ZodEnum<{
|
|
4489
|
-
day: "day";
|
|
4490
5204
|
lifetime: "lifetime";
|
|
5205
|
+
day: "day";
|
|
4491
5206
|
}>;
|
|
4492
5207
|
limit: z.ZodNumber;
|
|
4493
5208
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
4494
5209
|
balance: z.ZodString;
|
|
4495
5210
|
}, z.core.$strict>]>;
|
|
4496
5211
|
}, z.core.$strict>>>;
|
|
5212
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4497
5213
|
code: z.ZodString;
|
|
4498
5214
|
provider: z.ZodEnum<{
|
|
4499
5215
|
"fixture-pass": "fixture-pass";
|
|
@@ -4618,6 +5334,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4618
5334
|
provider: "discord";
|
|
4619
5335
|
resource: "channel";
|
|
4620
5336
|
types: ("text" | "announcement")[];
|
|
5337
|
+
} | {
|
|
5338
|
+
provider: "domino";
|
|
5339
|
+
resource: "point-ledger";
|
|
4621
5340
|
} | {
|
|
4622
5341
|
provider: "discord";
|
|
4623
5342
|
resource: "role";
|
|
@@ -4726,7 +5445,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4726
5445
|
budgets: {
|
|
4727
5446
|
id: string;
|
|
4728
5447
|
scope: "project" | "member";
|
|
4729
|
-
period: "
|
|
5448
|
+
period: "lifetime" | "day";
|
|
4730
5449
|
limit: number;
|
|
4731
5450
|
cost: number | {
|
|
4732
5451
|
balance: string;
|
|
@@ -4738,6 +5457,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4738
5457
|
createdAt: number;
|
|
4739
5458
|
legacy: boolean;
|
|
4740
5459
|
lifecycle: "active" | "paused" | "archived";
|
|
5460
|
+
key?: string | undefined;
|
|
4741
5461
|
origin?: {
|
|
4742
5462
|
typeVersion: string;
|
|
4743
5463
|
} | undefined;
|
|
@@ -4800,6 +5520,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4800
5520
|
createdAt: number;
|
|
4801
5521
|
}>>]>>;
|
|
4802
5522
|
types: z.ZodArray<z.ZodObject<{
|
|
5523
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4803
5524
|
id: z.ZodString;
|
|
4804
5525
|
version: z.ZodString;
|
|
4805
5526
|
code: z.ZodString;
|
|
@@ -4844,6 +5565,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4844
5565
|
kind: z.ZodLiteral<"resource">;
|
|
4845
5566
|
default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
4846
5567
|
source: z.ZodUnion<readonly [z.ZodObject<{
|
|
5568
|
+
provider: z.ZodLiteral<"domino">;
|
|
5569
|
+
resource: z.ZodLiteral<"point-ledger">;
|
|
5570
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4847
5571
|
provider: z.ZodLiteral<"discord">;
|
|
4848
5572
|
resource: z.ZodLiteral<"channel">;
|
|
4849
5573
|
types: z.ZodArray<z.ZodEnum<{
|
|
@@ -4972,8 +5696,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4972
5696
|
member: "member";
|
|
4973
5697
|
}>;
|
|
4974
5698
|
period: z.ZodEnum<{
|
|
4975
|
-
day: "day";
|
|
4976
5699
|
lifetime: "lifetime";
|
|
5700
|
+
day: "day";
|
|
4977
5701
|
}>;
|
|
4978
5702
|
limit: z.ZodNumber;
|
|
4979
5703
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -4992,6 +5716,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
4992
5716
|
}, z.core.$strip>>;
|
|
4993
5717
|
collections: z.ZodArray<z.ZodObject<{
|
|
4994
5718
|
id: z.ZodString;
|
|
5719
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4995
5720
|
title: z.ZodString;
|
|
4996
5721
|
quests: z.ZodArray<z.ZodString>;
|
|
4997
5722
|
}, z.core.$strict>>;
|
|
@@ -5006,6 +5731,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5006
5731
|
version: z.ZodString;
|
|
5007
5732
|
definition: z.ZodObject<{
|
|
5008
5733
|
id: z.ZodString;
|
|
5734
|
+
key: z.ZodOptional<z.ZodString>;
|
|
5009
5735
|
title: z.ZodString;
|
|
5010
5736
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
5011
5737
|
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -5107,6 +5833,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5107
5833
|
version: z.ZodString;
|
|
5108
5834
|
definition: z.ZodObject<{
|
|
5109
5835
|
id: z.ZodString;
|
|
5836
|
+
key: z.ZodOptional<z.ZodString>;
|
|
5110
5837
|
title: z.ZodString;
|
|
5111
5838
|
balance: z.ZodString;
|
|
5112
5839
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -5381,6 +6108,7 @@ declare function createRelayClient(options: {
|
|
|
5381
6108
|
durationDays?: number | undefined;
|
|
5382
6109
|
maxPoints?: number | undefined;
|
|
5383
6110
|
}[];
|
|
6111
|
+
key?: string | undefined;
|
|
5384
6112
|
inviterGroup?: string | undefined;
|
|
5385
6113
|
}[]>;
|
|
5386
6114
|
summary: () => Promise<{
|
|
@@ -5480,6 +6208,7 @@ declare function createRelayClient(options: {
|
|
|
5480
6208
|
durationDays?: number | undefined;
|
|
5481
6209
|
maxPoints?: number | undefined;
|
|
5482
6210
|
}[];
|
|
6211
|
+
key?: string | undefined;
|
|
5483
6212
|
inviterGroup?: string | undefined;
|
|
5484
6213
|
};
|
|
5485
6214
|
qualified: number;
|
|
@@ -5556,6 +6285,7 @@ declare function createRelayClient(options: {
|
|
|
5556
6285
|
};
|
|
5557
6286
|
};
|
|
5558
6287
|
access: "participants" | "public";
|
|
6288
|
+
key?: string | undefined;
|
|
5559
6289
|
group?: string | undefined;
|
|
5560
6290
|
}[]>;
|
|
5561
6291
|
standings: (board: string, options?: LeaderboardQuery) => Promise<{
|
|
@@ -5724,6 +6454,7 @@ declare function createRelayClient(options: {
|
|
|
5724
6454
|
rewards: {
|
|
5725
6455
|
label: string;
|
|
5726
6456
|
}[];
|
|
6457
|
+
key?: string | undefined;
|
|
5727
6458
|
}>;
|
|
5728
6459
|
retry: (view: QuestView) => Promise<{
|
|
5729
6460
|
id: string;
|
|
@@ -5903,6 +6634,7 @@ declare function createRelayClient(options: {
|
|
|
5903
6634
|
rewards: {
|
|
5904
6635
|
label: string;
|
|
5905
6636
|
}[];
|
|
6637
|
+
key?: string | undefined;
|
|
5906
6638
|
}[];
|
|
5907
6639
|
collections: {
|
|
5908
6640
|
id: string;
|
|
@@ -6036,7 +6768,9 @@ declare function createRelayClient(options: {
|
|
|
6036
6768
|
rewards: {
|
|
6037
6769
|
label: string;
|
|
6038
6770
|
}[];
|
|
6771
|
+
key?: string | undefined;
|
|
6039
6772
|
}[];
|
|
6773
|
+
key?: string | undefined;
|
|
6040
6774
|
}[];
|
|
6041
6775
|
}>;
|
|
6042
6776
|
collection: (id: string) => Promise<{
|
|
@@ -6171,7 +6905,9 @@ declare function createRelayClient(options: {
|
|
|
6171
6905
|
rewards: {
|
|
6172
6906
|
label: string;
|
|
6173
6907
|
}[];
|
|
6908
|
+
key?: string | undefined;
|
|
6174
6909
|
}[];
|
|
6910
|
+
key?: string | undefined;
|
|
6175
6911
|
}>;
|
|
6176
6912
|
open: (view: QuestView) => Promise<QuestController>;
|
|
6177
6913
|
observe: (listener: (value: ProgressObservation<z.infer<typeof questExperienceSchema>>) => void, options?: {
|
|
@@ -6491,6 +7227,7 @@ declare function createRelayClient(options: {
|
|
|
6491
7227
|
release?: string | undefined;
|
|
6492
7228
|
} | undefined;
|
|
6493
7229
|
} | null;
|
|
7230
|
+
key?: string | undefined;
|
|
6494
7231
|
release?: string | undefined;
|
|
6495
7232
|
}[];
|
|
6496
7233
|
entitlements: ({
|
|
@@ -6770,6 +7507,9 @@ declare function createRelayClient(options: {
|
|
|
6770
7507
|
provider: "discord";
|
|
6771
7508
|
resource: "channel";
|
|
6772
7509
|
types: ("text" | "announcement")[];
|
|
7510
|
+
} | {
|
|
7511
|
+
provider: "domino";
|
|
7512
|
+
resource: "point-ledger";
|
|
6773
7513
|
} | {
|
|
6774
7514
|
provider: "discord";
|
|
6775
7515
|
resource: "role";
|
|
@@ -6878,7 +7618,7 @@ declare function createRelayClient(options: {
|
|
|
6878
7618
|
budgets: {
|
|
6879
7619
|
id: string;
|
|
6880
7620
|
scope: "project" | "member";
|
|
6881
|
-
period: "
|
|
7621
|
+
period: "lifetime" | "day";
|
|
6882
7622
|
limit: number;
|
|
6883
7623
|
cost: number | {
|
|
6884
7624
|
balance: string;
|
|
@@ -6930,6 +7670,9 @@ declare function createRelayClient(options: {
|
|
|
6930
7670
|
provider: "discord";
|
|
6931
7671
|
resource: "channel";
|
|
6932
7672
|
types: ("text" | "announcement")[];
|
|
7673
|
+
} | {
|
|
7674
|
+
provider: "domino";
|
|
7675
|
+
resource: "point-ledger";
|
|
6933
7676
|
} | {
|
|
6934
7677
|
provider: "discord";
|
|
6935
7678
|
resource: "role";
|
|
@@ -7038,7 +7781,7 @@ declare function createRelayClient(options: {
|
|
|
7038
7781
|
budgets: {
|
|
7039
7782
|
id: string;
|
|
7040
7783
|
scope: "project" | "member";
|
|
7041
|
-
period: "
|
|
7784
|
+
period: "lifetime" | "day";
|
|
7042
7785
|
limit: number;
|
|
7043
7786
|
cost: number | {
|
|
7044
7787
|
balance: string;
|
|
@@ -7089,6 +7832,9 @@ declare function createRelayClient(options: {
|
|
|
7089
7832
|
provider: "discord";
|
|
7090
7833
|
resource: "channel";
|
|
7091
7834
|
types: ("text" | "announcement")[];
|
|
7835
|
+
} | {
|
|
7836
|
+
provider: "domino";
|
|
7837
|
+
resource: "point-ledger";
|
|
7092
7838
|
} | {
|
|
7093
7839
|
provider: "discord";
|
|
7094
7840
|
resource: "role";
|
|
@@ -7197,7 +7943,7 @@ declare function createRelayClient(options: {
|
|
|
7197
7943
|
budgets: {
|
|
7198
7944
|
id: string;
|
|
7199
7945
|
scope: "project" | "member";
|
|
7200
|
-
period: "
|
|
7946
|
+
period: "lifetime" | "day";
|
|
7201
7947
|
limit: number;
|
|
7202
7948
|
cost: number | {
|
|
7203
7949
|
balance: string;
|
|
@@ -7209,6 +7955,7 @@ declare function createRelayClient(options: {
|
|
|
7209
7955
|
createdAt: number;
|
|
7210
7956
|
legacy: boolean;
|
|
7211
7957
|
lifecycle: "active" | "paused" | "archived";
|
|
7958
|
+
key?: string | undefined;
|
|
7212
7959
|
origin?: {
|
|
7213
7960
|
typeVersion: string;
|
|
7214
7961
|
} | undefined;
|
|
@@ -7422,6 +8169,9 @@ declare function createRelayClient(options: {
|
|
|
7422
8169
|
provider: "discord";
|
|
7423
8170
|
resource: "channel";
|
|
7424
8171
|
types: ("text" | "announcement")[];
|
|
8172
|
+
} | {
|
|
8173
|
+
provider: "domino";
|
|
8174
|
+
resource: "point-ledger";
|
|
7425
8175
|
} | {
|
|
7426
8176
|
provider: "discord";
|
|
7427
8177
|
resource: "role";
|
|
@@ -7530,7 +8280,7 @@ declare function createRelayClient(options: {
|
|
|
7530
8280
|
budgets: {
|
|
7531
8281
|
id: string;
|
|
7532
8282
|
scope: "project" | "member";
|
|
7533
|
-
period: "
|
|
8283
|
+
period: "lifetime" | "day";
|
|
7534
8284
|
limit: number;
|
|
7535
8285
|
cost: number | {
|
|
7536
8286
|
balance: string;
|
|
@@ -7542,6 +8292,7 @@ declare function createRelayClient(options: {
|
|
|
7542
8292
|
createdAt: number;
|
|
7543
8293
|
legacy: boolean;
|
|
7544
8294
|
lifecycle: "active" | "paused" | "archived";
|
|
8295
|
+
key?: string | undefined;
|
|
7545
8296
|
origin?: {
|
|
7546
8297
|
typeVersion: string;
|
|
7547
8298
|
} | undefined;
|
|
@@ -7609,6 +8360,9 @@ declare function createRelayClient(options: {
|
|
|
7609
8360
|
provider: "discord";
|
|
7610
8361
|
resource: "channel";
|
|
7611
8362
|
types: ("text" | "announcement")[];
|
|
8363
|
+
} | {
|
|
8364
|
+
provider: "domino";
|
|
8365
|
+
resource: "point-ledger";
|
|
7612
8366
|
} | {
|
|
7613
8367
|
provider: "discord";
|
|
7614
8368
|
resource: "role";
|
|
@@ -7717,7 +8471,7 @@ declare function createRelayClient(options: {
|
|
|
7717
8471
|
budgets: {
|
|
7718
8472
|
id: string;
|
|
7719
8473
|
scope: "project" | "member";
|
|
7720
|
-
period: "
|
|
8474
|
+
period: "lifetime" | "day";
|
|
7721
8475
|
limit: number;
|
|
7722
8476
|
cost: number | {
|
|
7723
8477
|
balance: string;
|
|
@@ -7729,6 +8483,7 @@ declare function createRelayClient(options: {
|
|
|
7729
8483
|
createdAt: number;
|
|
7730
8484
|
legacy: boolean;
|
|
7731
8485
|
lifecycle: "active" | "paused" | "archived";
|
|
8486
|
+
key?: string | undefined;
|
|
7732
8487
|
origin?: {
|
|
7733
8488
|
typeVersion: string;
|
|
7734
8489
|
} | undefined;
|
|
@@ -7879,6 +8634,7 @@ declare function createRelayClient(options: {
|
|
|
7879
8634
|
release?: string | undefined;
|
|
7880
8635
|
} | undefined;
|
|
7881
8636
|
} | null;
|
|
8637
|
+
key?: string | undefined;
|
|
7882
8638
|
release?: string | undefined;
|
|
7883
8639
|
}[];
|
|
7884
8640
|
entitlements: ({
|
|
@@ -8270,4 +9026,4 @@ declare function createRelayClient(options: {
|
|
|
8270
9026
|
}>;
|
|
8271
9027
|
};
|
|
8272
9028
|
|
|
8273
|
-
export { Attempt, AuthProvider, type ClaimSubmission, type CollectionPass, type DeploymentPreview, type ExchangeInput, LeaderboardQuery, MemberListOptions, MemberProgress, type PhotoSubmission, type PointLedger, type ProgressObservation, type ProgressObserver, PublishedRelease, type QuestActionResult, type QuestCatalog, type QuestController, type QuestDraft, type QuestInstance, type QuestInteraction, QuestUpdatedError, type QuestView, QuizEvidence, type QuizSubmission, RelayError, ReleaseInput, ReviewListOptions, type Session, type SubmissionDraft, type SubmissionStatus, type SubmissionStore, SubmitInput, authScopeSchema, beginHandoverSchema, catalogDeploymentPreviewSchema, catalogDeploymentSchema, collectionBeginSchema, collectionCodeSchema, collectionPassSchema, collectionPreviewSchema, collectionResolveSchema, collectionSlotSchema, collectionViewSchema, createRelayClient, deploymentPreviewSchema, deploymentResultSchema, errorSchema, exchangeResultSchema, exchangeSchema, identityIntegrationInputSchema, identityIntegrationSchema, identityIntegrationSecretSchema, interactionSchema, participantExchangeSchema, pointLedgerSchema, principalSchema, projectCatalogArtifactSchema, projectDeploymentSchema, publishDeploymentSchema, publishQuestDraftSchema, questActions, questCatalogSchema, questCollectionSchema, questConfiguration, questDescriptionSchema, questDraftChangesSchema, questDraftSchema, questExperienceSchema, questInstanceSchema, questInteraction, questPublicationPreviewSchema, questTypeVersionSchema, questViewSchema, reconcileQuestDraft, referralAcceptSchema,
|
|
9029
|
+
export { Attempt, AuthProvider, type ClaimSubmission, type CollectionPass, type DeploymentPreview, type ExchangeInput, LeaderboardQuery, MemberListOptions, MemberProgress, type PhotoSubmission, type PointLedger, type ProgressObservation, type ProgressObserver, PublishedRelease, type QuestActionResult, type QuestCatalog, type QuestController, type QuestDraft, type QuestInstance, type QuestInteraction, QuestUpdatedError, type QuestView, QuizEvidence, type QuizSubmission, RelayError, ReleaseInput, ReviewListOptions, type Session, type SubmissionDraft, type SubmissionStatus, type SubmissionStore, SubmitInput, allocateQuestSchema, allocatedQuestSchema, authScopeSchema, beginHandoverSchema, catalogDeploymentPreviewSchema, catalogDeploymentSchema, collectionBeginSchema, collectionCodeSchema, collectionPassSchema, collectionPreviewSchema, collectionResolveSchema, collectionSlotDeclarationSchema, collectionSlotSchema, collectionViewSchema, createPointLedgerSchema, createRelayClient, deploymentPreviewSchema, deploymentResultSchema, errorSchema, exchangeResultSchema, exchangeSchema, identityIntegrationInputSchema, identityIntegrationSchema, identityIntegrationSecretSchema, interactionSchema, participantExchangeSchema, pointLedgerDeclarationSchema, pointLedgerPropertiesSchema, pointLedgerSchema, principalSchema, projectCatalogArtifactSchema, projectDeploymentSchema, publishDeploymentSchema, publishQuestDraftSchema, questActions, questCatalogSchema, questCollectionSchema, questConfiguration, questDescriptionSchema, questDraftChangesSchema, questDraftSchema, questExperienceSchema, questInstanceSchema, questInteraction, questPublicationPreviewSchema, questTypeVersionSchema, questViewSchema, reconcileQuestDraft, referralAcceptSchema, rewardDeliveriesSchema, rewardDeliverySchema, saveQuestDraftSchema, sessionSchema, walletChallengeInputSchema, walletProofSchema };
|