@domino-sdk/relay 0.17.2 → 0.18.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 +48 -12
- package/dist/authoring.js +64 -7
- package/dist/browser.d.ts +369 -68
- package/dist/browser.js +5 -5
- package/dist/chunk-23ZZTCDK.js +1511 -0
- package/dist/{chunk-GEJK7LMK.js → chunk-6GH4NC2T.js} +1 -1
- package/dist/{chunk-XNS25KST.js → chunk-FBOW2TLN.js} +265 -272
- package/dist/{chunk-MK2E36HR.js → chunk-MVDIVWR5.js} +1 -1
- package/dist/{chunk-TI22MU2X.js → chunk-TQUK4DIW.js} +85 -10
- package/dist/index.d.ts +1063 -101
- package/dist/index.js +110 -26
- package/dist/portal-proxy.js +5 -3
- package/dist/react/index.d.ts +437 -126
- package/dist/react/index.js +5 -5
- package/dist/schema.d.ts +332 -41
- package/dist/schema.js +7 -1
- package/dist/{submission-input-Cktvl71b.d.ts → submission-input-DWlvrAQY.d.ts} +829 -8
- package/package.json +1 -1
- package/dist/chunk-YUAE6PFY.js +0 -1048
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { V as ValueEvidence, r as referralAcceptSchema, L as LeaderboardQuery, w as walletChallengeInputSchema,
|
|
2
|
-
export {
|
|
1
|
+
import { V as ValueEvidence, r as referralAcceptSchema, L as LeaderboardQuery, w as walletChallengeInputSchema, t as walletProofSchema, u as AuthProvider, v as engagementPageQuerySchema, y as contentQualificationQuerySchema, z as contentAdmissionQuerySchema, E as contentEnrollmentInputSchema, F as contentReleaseInputSchema } from './submission-input-DWlvrAQY.js';
|
|
2
|
+
export { G as AccountConnection, A as AdmittedContent, B as Budget, C as ContentMetric, K as ContentPerformancePolicy, M as ContentPolicy, D as DiscordMember, a as DiscordMessage, N as EngagementDefinition, I as IntegrationProvider, P as LeaderboardDefinition, J as LeaderboardPage, O as Observation, Q as ProjectIntegration, R as QuizContent, Y as ReferralDefinition, Z as ResourceOption, _ as ResourceSource, $ as SettingField, a0 as SettingsValues, S as SolanaBalance, c as StreakPolicy, a1 as StreakProgress, d as TextEvidence, e as TextOptions, a2 as TrackerContent, a3 as TrackerContentQuery, a4 as TrackerDefinition, a5 as TrackerPreview, a6 as TrackerPreviewInput, a7 as TrackerQuery, T as TrackerReader, a8 as TrackerRecord, a9 as TrackerStatus, U as UrlEvidence, f as UrlOptions, W as WalletConnection, aa as XConnection, ab as XPost, ac as XProfile, X as XReader, ad as XTweet, ae as accountConnectionSchema, af as admittedContentSchema, ag as authProviderSchema, ah as budgetSchema, ai as communityTimeZoneSchema, aj as compatibleSettingKinds, ak as completionKeySchema, al as completionPolicySchema, g as content, am as contentAdmissionPageSchema, an as contentAdmissionSchema, ao as contentEnrollmentSchema, ap as contentMetricSchema, aq as contentMetricsSchema, ar as contentPerformancePolicySchema, as as contentPolicySchema, at as contentQualificationDecisionSchema, au as contentQualificationPageSchema, av as contentQualificationSchema, h as customSource, i as defineEngagementReward, j as defineLeaderboard, k as defineReferral, l as defineTracker, m as discord, aw as discordMemberInputSchema, ax as discordMemberSchema, ay as discordMessageInputSchema, az as discordMessageSchema, aA as discordReactionSchema, aB as discordServerSchema, aC as engagementArtifactSchema, aD as engagementBoundaryPageSchema, aE as engagementChangePreviewInputSchema, aF as engagementChangePreviewSchema, aG as engagementChangeSchema, aH as engagementDefinitionSchema, aI as engagementDeploymentEntrySchema, aJ as engagementPageSchema, aK as engagementPublishSchema, aL as engagementRuleSchema, aM as engagementScoreInputSchema, aN as engagementScoreSchema, aO as engagementSettlementSchema, aP as engagementVersionPageSchema, aQ as engagementVersionQuerySchema, aR as integrationProviderSchema, aS as isContentParticipantRoute, aT as leaderboardArtifactSchema, aU as leaderboardAuthoringSchema, aV as leaderboardDefinitionSchema, aW as leaderboardExclusionSchema, aX as leaderboardGroupSchema, aY as leaderboardPageSchema, aZ as leaderboardPreviewSchema, a_ as leaderboardQuerySchema, a$ as leaderboardRowSchema, b0 as leaderboardWindowSchema, b1 as missingResourceSettings, b2 as observationInputSchema, b3 as observationReceiptSchema, b4 as observationSchema, o as observationTriggerSchema, b5 as parseSettings, p as perContent, n as pointLedgers, b6 as pointsAccountSchema, b7 as pointsEntrySchema, b8 as pointsMutationSchema, b9 as pointsResultSchema, ba as projectIntegrationSchema, bb as publishedLeaderboardSchema, bc as publishedReferralSchema, bd as publishedTrackerSchema, be as quizChoiceSchema, bf as quizContentSchema, bg as quizQuestionSchema, bh as quizQuestionsSchema, bi as referralAccountSchema, bj as referralArtifactSchema, bk as referralAuthoringSchema, bl as referralControlSchema, bm as referralDefinitionSchema, bn as referralHistorySchema, bo as referralManagementSchema, bp as referralRelationshipSchema, H as referralSummarySchema, bq as resourceOptionsSchema, br as resourceRequestSchema, bs as resourceSourceSchema, bt as settingFieldSchema, s as settings, bu as settingsFieldsSchema, bv as settingsValuesSchema, bw as solanaAddressSchema, bx as solanaBalanceSchema, q as streak, by as streakPolicySchema, bz as streakProgressSchema, bA as textEvidenceSchema, bB as textOptionsSchema, bC as trackerArtifactSchema, bD as trackerContentQuerySchema, bE as trackerContentReadSchema, bF as trackerContentSchema, bG as trackerControlSchema, bH as trackerDefinitionSchema, bI as trackerIngestResultSchema, bJ as trackerIngestSchema, bK as trackerPageSchema, bL as trackerPreviewInputSchema, bM as trackerPreviewLimits, bN as trackerPreviewSchema, bO as trackerQuerySchema, bP as trackerRecordInputSchema, bQ as trackerRecordSchema, bR as trackerSourceSchema, bS as trackerStatusSchema, bT as trackerSummarySchema, bU as urlEvidenceSchema, bV as urlOptionsSchema, bW as validateSubmissionValue, bX as valueEvidenceSchema, bY as walletChallengeSchema, bZ as walletConnectionSchema, x, b_ as xConnectionSchema, b$ as xContentBodySchema, c0 as xIdSchema, c1 as xPostId, c2 as xPostSchema, c3 as xProfileSchema, c4 as xRequestSchema, c5 as xTweetSchema } from './submission-input-DWlvrAQY.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { errorSchema, QuizEvidence, Attempt, SubmitInput, MemberProgress, questDescriptionSchema, PublishedRelease, ReviewListOptions, MemberListOptions, ReleaseInput, beginHandoverSchema } from './schema.js';
|
|
5
|
-
export { Decision, Entitlement, MemberPage, PhotoResult, PickupAvailability, QuestAvailability, QuestDescription, QuestPresentation, QuestSettingsInput, ReviewPage, Reward, Snapshot, SubmissionEvidence, TextResult, TextReviewInput, 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, submissionEvidenceSchema, submitSchema, templateSchema, textResultSchema, textReviewInputSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema } from './schema.js';
|
|
4
|
+
import { errorSchema, QuizEvidence, Attempt, SubmitInput, MemberProgress, questDescriptionSchema, PublishedRelease, ReviewListOptions, MemberListOptions, ReleaseInput, beginHandoverSchema, contentPerformanceQuerySchema } from './schema.js';
|
|
5
|
+
export { ContentPerformanceSnapshot, Decision, Entitlement, MemberPage, PhotoResult, PickupAvailability, QuestAvailability, QuestDescription, QuestPresentation, QuestSettingsInput, ReviewPage, Reward, Snapshot, SubmissionEvidence, TextResult, TextReviewInput, TieredRewardDefinition, artifactSchema, attemptSchema, batchReleaseSchema, completionRecordSchema, configurePickupSchema, confirmHandoverSchema, contentPerformancePageSchema, contentPerformanceSnapshotSchema, 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, submissionEvidenceSchema, submitSchema, templateSchema, textResultSchema, textReviewInputSchema, tierRewardSchema, tieredRewardDefinitionSchema, triggerSchema } from './schema.js';
|
|
6
6
|
|
|
7
7
|
declare class RelayError extends Error {
|
|
8
8
|
readonly status: number;
|
|
@@ -388,7 +388,38 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
388
388
|
source: z.ZodString;
|
|
389
389
|
type: z.ZodString;
|
|
390
390
|
}, z.core.$strict>>;
|
|
391
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
392
|
+
tracker: z.ZodString;
|
|
393
|
+
window: z.ZodObject<{
|
|
394
|
+
start: z.ZodNumber;
|
|
395
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
396
|
+
}, z.core.$strict>;
|
|
397
|
+
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
398
|
+
required: "required";
|
|
399
|
+
none: "none";
|
|
400
|
+
}>>;
|
|
401
|
+
posts: z.ZodDefault<z.ZodEnum<{
|
|
402
|
+
"after-enrollment": "after-enrollment";
|
|
403
|
+
"since-start": "since-start";
|
|
404
|
+
}>>;
|
|
405
|
+
historical: z.ZodDefault<z.ZodEnum<{
|
|
406
|
+
staff: "staff";
|
|
407
|
+
automatic: "automatic";
|
|
408
|
+
claim: "claim";
|
|
409
|
+
}>>;
|
|
410
|
+
}, z.core.$strict>>;
|
|
391
411
|
}, z.core.$strict>]>;
|
|
412
|
+
performance: z.ZodOptional<z.ZodObject<{
|
|
413
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
414
|
+
likes: "likes";
|
|
415
|
+
replies: "replies";
|
|
416
|
+
reposts: "reposts";
|
|
417
|
+
quotes: "quotes";
|
|
418
|
+
views: "views";
|
|
419
|
+
bookmarks: "bookmarks";
|
|
420
|
+
}>>;
|
|
421
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
422
|
+
}, z.core.$strict>>;
|
|
392
423
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
393
424
|
quest: z.ZodString;
|
|
394
425
|
scope: z.ZodLiteral<"ever">;
|
|
@@ -757,7 +788,38 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
757
788
|
source: z.ZodString;
|
|
758
789
|
type: z.ZodString;
|
|
759
790
|
}, z.core.$strict>>;
|
|
791
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
792
|
+
tracker: z.ZodString;
|
|
793
|
+
window: z.ZodObject<{
|
|
794
|
+
start: z.ZodNumber;
|
|
795
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
796
|
+
}, z.core.$strict>;
|
|
797
|
+
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
798
|
+
required: "required";
|
|
799
|
+
none: "none";
|
|
800
|
+
}>>;
|
|
801
|
+
posts: z.ZodDefault<z.ZodEnum<{
|
|
802
|
+
"after-enrollment": "after-enrollment";
|
|
803
|
+
"since-start": "since-start";
|
|
804
|
+
}>>;
|
|
805
|
+
historical: z.ZodDefault<z.ZodEnum<{
|
|
806
|
+
staff: "staff";
|
|
807
|
+
automatic: "automatic";
|
|
808
|
+
claim: "claim";
|
|
809
|
+
}>>;
|
|
810
|
+
}, z.core.$strict>>;
|
|
760
811
|
}, z.core.$strict>]>;
|
|
812
|
+
performance: z.ZodOptional<z.ZodObject<{
|
|
813
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
814
|
+
likes: "likes";
|
|
815
|
+
replies: "replies";
|
|
816
|
+
reposts: "reposts";
|
|
817
|
+
quotes: "quotes";
|
|
818
|
+
views: "views";
|
|
819
|
+
bookmarks: "bookmarks";
|
|
820
|
+
}>>;
|
|
821
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
822
|
+
}, z.core.$strict>>;
|
|
761
823
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
762
824
|
quest: z.ZodString;
|
|
763
825
|
scope: z.ZodLiteral<"ever">;
|
|
@@ -1070,7 +1132,38 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1070
1132
|
source: z.ZodString;
|
|
1071
1133
|
type: z.ZodString;
|
|
1072
1134
|
}, z.core.$strict>>;
|
|
1135
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
1136
|
+
tracker: z.ZodString;
|
|
1137
|
+
window: z.ZodObject<{
|
|
1138
|
+
start: z.ZodNumber;
|
|
1139
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
1140
|
+
}, z.core.$strict>;
|
|
1141
|
+
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
1142
|
+
required: "required";
|
|
1143
|
+
none: "none";
|
|
1144
|
+
}>>;
|
|
1145
|
+
posts: z.ZodDefault<z.ZodEnum<{
|
|
1146
|
+
"after-enrollment": "after-enrollment";
|
|
1147
|
+
"since-start": "since-start";
|
|
1148
|
+
}>>;
|
|
1149
|
+
historical: z.ZodDefault<z.ZodEnum<{
|
|
1150
|
+
staff: "staff";
|
|
1151
|
+
automatic: "automatic";
|
|
1152
|
+
claim: "claim";
|
|
1153
|
+
}>>;
|
|
1154
|
+
}, z.core.$strict>>;
|
|
1073
1155
|
}, z.core.$strict>]>;
|
|
1156
|
+
performance: z.ZodOptional<z.ZodObject<{
|
|
1157
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
1158
|
+
likes: "likes";
|
|
1159
|
+
replies: "replies";
|
|
1160
|
+
reposts: "reposts";
|
|
1161
|
+
quotes: "quotes";
|
|
1162
|
+
views: "views";
|
|
1163
|
+
bookmarks: "bookmarks";
|
|
1164
|
+
}>>;
|
|
1165
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
1166
|
+
}, z.core.$strict>>;
|
|
1074
1167
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1075
1168
|
quest: z.ZodString;
|
|
1076
1169
|
scope: z.ZodLiteral<"ever">;
|
|
@@ -1316,6 +1409,22 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1316
1409
|
})[];
|
|
1317
1410
|
humanReview: boolean;
|
|
1318
1411
|
trigger: {
|
|
1412
|
+
kind: "automatic";
|
|
1413
|
+
observation?: {
|
|
1414
|
+
source: string;
|
|
1415
|
+
type: string;
|
|
1416
|
+
} | undefined;
|
|
1417
|
+
content?: {
|
|
1418
|
+
tracker: string;
|
|
1419
|
+
window: {
|
|
1420
|
+
start: number;
|
|
1421
|
+
end?: number | undefined;
|
|
1422
|
+
};
|
|
1423
|
+
enrollment: "required" | "none";
|
|
1424
|
+
posts: "after-enrollment" | "since-start";
|
|
1425
|
+
historical: "staff" | "automatic" | "claim";
|
|
1426
|
+
} | undefined;
|
|
1427
|
+
} | {
|
|
1319
1428
|
kind: "manual";
|
|
1320
1429
|
input: "text";
|
|
1321
1430
|
constraints: {
|
|
@@ -1336,12 +1445,6 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1336
1445
|
kind: "manual";
|
|
1337
1446
|
input: "quiz" | "photo" | "none";
|
|
1338
1447
|
actor?: "member" | "staff" | undefined;
|
|
1339
|
-
} | {
|
|
1340
|
-
kind: "automatic";
|
|
1341
|
-
observation?: {
|
|
1342
|
-
source: string;
|
|
1343
|
-
type: string;
|
|
1344
|
-
} | undefined;
|
|
1345
1448
|
};
|
|
1346
1449
|
requires: {
|
|
1347
1450
|
quest: string;
|
|
@@ -1372,6 +1475,10 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1372
1475
|
createdAt: number;
|
|
1373
1476
|
legacy: boolean;
|
|
1374
1477
|
lifecycle: "active" | "paused" | "archived";
|
|
1478
|
+
performance?: {
|
|
1479
|
+
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
1480
|
+
maxAgeMs: number;
|
|
1481
|
+
} | undefined;
|
|
1375
1482
|
key?: string | undefined;
|
|
1376
1483
|
origin?: {
|
|
1377
1484
|
typeVersion: string;
|
|
@@ -1658,7 +1765,38 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1658
1765
|
source: z.ZodString;
|
|
1659
1766
|
type: z.ZodString;
|
|
1660
1767
|
}, z.core.$strict>>;
|
|
1768
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
1769
|
+
tracker: z.ZodString;
|
|
1770
|
+
window: z.ZodObject<{
|
|
1771
|
+
start: z.ZodNumber;
|
|
1772
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
1773
|
+
}, z.core.$strict>;
|
|
1774
|
+
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
1775
|
+
required: "required";
|
|
1776
|
+
none: "none";
|
|
1777
|
+
}>>;
|
|
1778
|
+
posts: z.ZodDefault<z.ZodEnum<{
|
|
1779
|
+
"after-enrollment": "after-enrollment";
|
|
1780
|
+
"since-start": "since-start";
|
|
1781
|
+
}>>;
|
|
1782
|
+
historical: z.ZodDefault<z.ZodEnum<{
|
|
1783
|
+
staff: "staff";
|
|
1784
|
+
automatic: "automatic";
|
|
1785
|
+
claim: "claim";
|
|
1786
|
+
}>>;
|
|
1787
|
+
}, z.core.$strict>>;
|
|
1661
1788
|
}, z.core.$strict>]>;
|
|
1789
|
+
performance: z.ZodOptional<z.ZodObject<{
|
|
1790
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
1791
|
+
likes: "likes";
|
|
1792
|
+
replies: "replies";
|
|
1793
|
+
reposts: "reposts";
|
|
1794
|
+
quotes: "quotes";
|
|
1795
|
+
views: "views";
|
|
1796
|
+
bookmarks: "bookmarks";
|
|
1797
|
+
}>>;
|
|
1798
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
1799
|
+
}, z.core.$strict>>;
|
|
1662
1800
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1663
1801
|
quest: z.ZodString;
|
|
1664
1802
|
scope: z.ZodLiteral<"ever">;
|
|
@@ -1825,6 +1963,26 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1825
1963
|
source: z.ZodString;
|
|
1826
1964
|
type: z.ZodString;
|
|
1827
1965
|
}, z.core.$strict>>;
|
|
1966
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
1967
|
+
tracker: z.ZodString;
|
|
1968
|
+
window: z.ZodObject<{
|
|
1969
|
+
start: z.ZodNumber;
|
|
1970
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
1971
|
+
}, z.core.$strict>;
|
|
1972
|
+
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
1973
|
+
required: "required";
|
|
1974
|
+
none: "none";
|
|
1975
|
+
}>>;
|
|
1976
|
+
posts: z.ZodDefault<z.ZodEnum<{
|
|
1977
|
+
"after-enrollment": "after-enrollment";
|
|
1978
|
+
"since-start": "since-start";
|
|
1979
|
+
}>>;
|
|
1980
|
+
historical: z.ZodDefault<z.ZodEnum<{
|
|
1981
|
+
staff: "staff";
|
|
1982
|
+
automatic: "automatic";
|
|
1983
|
+
claim: "claim";
|
|
1984
|
+
}>>;
|
|
1985
|
+
}, z.core.$strict>>;
|
|
1828
1986
|
}, z.core.$strict>]>;
|
|
1829
1987
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1830
1988
|
kind: z.ZodLiteral<"available">;
|
|
@@ -2064,6 +2222,26 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
2064
2222
|
source: z.ZodString;
|
|
2065
2223
|
type: z.ZodString;
|
|
2066
2224
|
}, z.core.$strict>>;
|
|
2225
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
2226
|
+
tracker: z.ZodString;
|
|
2227
|
+
window: z.ZodObject<{
|
|
2228
|
+
start: z.ZodNumber;
|
|
2229
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
2230
|
+
}, z.core.$strict>;
|
|
2231
|
+
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
2232
|
+
required: "required";
|
|
2233
|
+
none: "none";
|
|
2234
|
+
}>>;
|
|
2235
|
+
posts: z.ZodDefault<z.ZodEnum<{
|
|
2236
|
+
"after-enrollment": "after-enrollment";
|
|
2237
|
+
"since-start": "since-start";
|
|
2238
|
+
}>>;
|
|
2239
|
+
historical: z.ZodDefault<z.ZodEnum<{
|
|
2240
|
+
staff: "staff";
|
|
2241
|
+
automatic: "automatic";
|
|
2242
|
+
claim: "claim";
|
|
2243
|
+
}>>;
|
|
2244
|
+
}, z.core.$strict>>;
|
|
2067
2245
|
}, z.core.$strict>]>;
|
|
2068
2246
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2069
2247
|
kind: z.ZodLiteral<"available">;
|
|
@@ -2302,6 +2480,26 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2302
2480
|
source: z.ZodString;
|
|
2303
2481
|
type: z.ZodString;
|
|
2304
2482
|
}, z.core.$strict>>;
|
|
2483
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
2484
|
+
tracker: z.ZodString;
|
|
2485
|
+
window: z.ZodObject<{
|
|
2486
|
+
start: z.ZodNumber;
|
|
2487
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
2488
|
+
}, z.core.$strict>;
|
|
2489
|
+
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
2490
|
+
required: "required";
|
|
2491
|
+
none: "none";
|
|
2492
|
+
}>>;
|
|
2493
|
+
posts: z.ZodDefault<z.ZodEnum<{
|
|
2494
|
+
"after-enrollment": "after-enrollment";
|
|
2495
|
+
"since-start": "since-start";
|
|
2496
|
+
}>>;
|
|
2497
|
+
historical: z.ZodDefault<z.ZodEnum<{
|
|
2498
|
+
staff: "staff";
|
|
2499
|
+
automatic: "automatic";
|
|
2500
|
+
claim: "claim";
|
|
2501
|
+
}>>;
|
|
2502
|
+
}, z.core.$strict>>;
|
|
2305
2503
|
}, z.core.$strict>]>;
|
|
2306
2504
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2307
2505
|
kind: z.ZodLiteral<"available">;
|
|
@@ -2541,6 +2739,26 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2541
2739
|
source: z.ZodString;
|
|
2542
2740
|
type: z.ZodString;
|
|
2543
2741
|
}, z.core.$strict>>;
|
|
2742
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
2743
|
+
tracker: z.ZodString;
|
|
2744
|
+
window: z.ZodObject<{
|
|
2745
|
+
start: z.ZodNumber;
|
|
2746
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
2747
|
+
}, z.core.$strict>;
|
|
2748
|
+
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
2749
|
+
required: "required";
|
|
2750
|
+
none: "none";
|
|
2751
|
+
}>>;
|
|
2752
|
+
posts: z.ZodDefault<z.ZodEnum<{
|
|
2753
|
+
"after-enrollment": "after-enrollment";
|
|
2754
|
+
"since-start": "since-start";
|
|
2755
|
+
}>>;
|
|
2756
|
+
historical: z.ZodDefault<z.ZodEnum<{
|
|
2757
|
+
staff: "staff";
|
|
2758
|
+
automatic: "automatic";
|
|
2759
|
+
claim: "claim";
|
|
2760
|
+
}>>;
|
|
2761
|
+
}, z.core.$strict>>;
|
|
2544
2762
|
}, z.core.$strict>]>;
|
|
2545
2763
|
availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2546
2764
|
kind: z.ZodLiteral<"available">;
|
|
@@ -2957,7 +3175,38 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2957
3175
|
source: z.ZodString;
|
|
2958
3176
|
type: z.ZodString;
|
|
2959
3177
|
}, z.core.$strict>>;
|
|
3178
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
3179
|
+
tracker: z.ZodString;
|
|
3180
|
+
window: z.ZodObject<{
|
|
3181
|
+
start: z.ZodNumber;
|
|
3182
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
3183
|
+
}, z.core.$strict>;
|
|
3184
|
+
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
3185
|
+
required: "required";
|
|
3186
|
+
none: "none";
|
|
3187
|
+
}>>;
|
|
3188
|
+
posts: z.ZodDefault<z.ZodEnum<{
|
|
3189
|
+
"after-enrollment": "after-enrollment";
|
|
3190
|
+
"since-start": "since-start";
|
|
3191
|
+
}>>;
|
|
3192
|
+
historical: z.ZodDefault<z.ZodEnum<{
|
|
3193
|
+
staff: "staff";
|
|
3194
|
+
automatic: "automatic";
|
|
3195
|
+
claim: "claim";
|
|
3196
|
+
}>>;
|
|
3197
|
+
}, z.core.$strict>>;
|
|
2960
3198
|
}, z.core.$strict>]>;
|
|
3199
|
+
performance: z.ZodOptional<z.ZodObject<{
|
|
3200
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
3201
|
+
likes: "likes";
|
|
3202
|
+
replies: "replies";
|
|
3203
|
+
reposts: "reposts";
|
|
3204
|
+
quotes: "quotes";
|
|
3205
|
+
views: "views";
|
|
3206
|
+
bookmarks: "bookmarks";
|
|
3207
|
+
}>>;
|
|
3208
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
3209
|
+
}, z.core.$strict>>;
|
|
2961
3210
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2962
3211
|
quest: z.ZodString;
|
|
2963
3212
|
scope: z.ZodLiteral<"ever">;
|
|
@@ -3203,6 +3452,22 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3203
3452
|
})[];
|
|
3204
3453
|
humanReview: boolean;
|
|
3205
3454
|
trigger: {
|
|
3455
|
+
kind: "automatic";
|
|
3456
|
+
observation?: {
|
|
3457
|
+
source: string;
|
|
3458
|
+
type: string;
|
|
3459
|
+
} | undefined;
|
|
3460
|
+
content?: {
|
|
3461
|
+
tracker: string;
|
|
3462
|
+
window: {
|
|
3463
|
+
start: number;
|
|
3464
|
+
end?: number | undefined;
|
|
3465
|
+
};
|
|
3466
|
+
enrollment: "required" | "none";
|
|
3467
|
+
posts: "after-enrollment" | "since-start";
|
|
3468
|
+
historical: "staff" | "automatic" | "claim";
|
|
3469
|
+
} | undefined;
|
|
3470
|
+
} | {
|
|
3206
3471
|
kind: "manual";
|
|
3207
3472
|
input: "text";
|
|
3208
3473
|
constraints: {
|
|
@@ -3223,12 +3488,6 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3223
3488
|
kind: "manual";
|
|
3224
3489
|
input: "quiz" | "photo" | "none";
|
|
3225
3490
|
actor?: "member" | "staff" | undefined;
|
|
3226
|
-
} | {
|
|
3227
|
-
kind: "automatic";
|
|
3228
|
-
observation?: {
|
|
3229
|
-
source: string;
|
|
3230
|
-
type: string;
|
|
3231
|
-
} | undefined;
|
|
3232
3491
|
};
|
|
3233
3492
|
requires: {
|
|
3234
3493
|
quest: string;
|
|
@@ -3259,6 +3518,10 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
3259
3518
|
createdAt: number;
|
|
3260
3519
|
legacy: boolean;
|
|
3261
3520
|
lifecycle: "active" | "paused" | "archived";
|
|
3521
|
+
performance?: {
|
|
3522
|
+
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
3523
|
+
maxAgeMs: number;
|
|
3524
|
+
} | undefined;
|
|
3262
3525
|
key?: string | undefined;
|
|
3263
3526
|
origin?: {
|
|
3264
3527
|
typeVersion: string;
|
|
@@ -3598,6 +3861,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3598
3861
|
automatic: "automatic";
|
|
3599
3862
|
claim: "claim";
|
|
3600
3863
|
}>>>;
|
|
3864
|
+
engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3865
|
+
code: z.ZodString;
|
|
3866
|
+
}, z.core.$strict>>>;
|
|
3601
3867
|
trackers: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3602
3868
|
key: z.ZodString;
|
|
3603
3869
|
title: z.ZodString;
|
|
@@ -3670,7 +3936,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3670
3936
|
tier: z.ZodString;
|
|
3671
3937
|
}, z.core.$strict>]>>>;
|
|
3672
3938
|
}, z.core.$strict>>;
|
|
3673
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3674
3939
|
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3675
3940
|
kind: z.ZodLiteral<"signup">;
|
|
3676
3941
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3679,6 +3944,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3679
3944
|
}, z.core.$strict>, z.ZodObject<{
|
|
3680
3945
|
kind: z.ZodLiteral<"external">;
|
|
3681
3946
|
}, z.core.$strict>], "kind">;
|
|
3947
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
3682
3948
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
3683
3949
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3684
3950
|
id: z.ZodString;
|
|
@@ -3765,7 +4031,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3765
4031
|
amount: number;
|
|
3766
4032
|
})[];
|
|
3767
4033
|
};
|
|
3768
|
-
enabled: boolean;
|
|
3769
4034
|
qualification: {
|
|
3770
4035
|
kind: "signup";
|
|
3771
4036
|
} | {
|
|
@@ -3774,6 +4039,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3774
4039
|
} | {
|
|
3775
4040
|
kind: "external";
|
|
3776
4041
|
};
|
|
4042
|
+
enabled: boolean;
|
|
3777
4043
|
milestones: {
|
|
3778
4044
|
id: string;
|
|
3779
4045
|
count: number;
|
|
@@ -3862,7 +4128,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3862
4128
|
amount: number;
|
|
3863
4129
|
})[];
|
|
3864
4130
|
};
|
|
3865
|
-
enabled: boolean;
|
|
3866
4131
|
qualification: {
|
|
3867
4132
|
kind: "signup";
|
|
3868
4133
|
} | {
|
|
@@ -3871,6 +4136,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3871
4136
|
} | {
|
|
3872
4137
|
kind: "external";
|
|
3873
4138
|
};
|
|
4139
|
+
enabled: boolean;
|
|
3874
4140
|
milestones: {
|
|
3875
4141
|
id: string;
|
|
3876
4142
|
count: number;
|
|
@@ -4090,6 +4356,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4090
4356
|
automatic: "automatic";
|
|
4091
4357
|
claim: "claim";
|
|
4092
4358
|
}>>>;
|
|
4359
|
+
engagement: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4360
|
+
code: z.ZodString;
|
|
4361
|
+
}, z.core.$strict>>>;
|
|
4093
4362
|
trackers: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4094
4363
|
key: z.ZodString;
|
|
4095
4364
|
title: z.ZodString;
|
|
@@ -4162,7 +4431,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4162
4431
|
tier: z.ZodString;
|
|
4163
4432
|
}, z.core.$strict>]>>>;
|
|
4164
4433
|
}, z.core.$strict>>;
|
|
4165
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4166
4434
|
qualification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4167
4435
|
kind: z.ZodLiteral<"signup">;
|
|
4168
4436
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4171,6 +4439,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4171
4439
|
}, z.core.$strict>, z.ZodObject<{
|
|
4172
4440
|
kind: z.ZodLiteral<"external">;
|
|
4173
4441
|
}, z.core.$strict>], "kind">;
|
|
4442
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4174
4443
|
inviterGroup: z.ZodOptional<z.ZodString>;
|
|
4175
4444
|
milestones: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4176
4445
|
id: z.ZodString;
|
|
@@ -4257,7 +4526,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4257
4526
|
amount: number;
|
|
4258
4527
|
})[];
|
|
4259
4528
|
};
|
|
4260
|
-
enabled: boolean;
|
|
4261
4529
|
qualification: {
|
|
4262
4530
|
kind: "signup";
|
|
4263
4531
|
} | {
|
|
@@ -4266,6 +4534,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4266
4534
|
} | {
|
|
4267
4535
|
kind: "external";
|
|
4268
4536
|
};
|
|
4537
|
+
enabled: boolean;
|
|
4269
4538
|
milestones: {
|
|
4270
4539
|
id: string;
|
|
4271
4540
|
count: number;
|
|
@@ -4354,7 +4623,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4354
4623
|
amount: number;
|
|
4355
4624
|
})[];
|
|
4356
4625
|
};
|
|
4357
|
-
enabled: boolean;
|
|
4358
4626
|
qualification: {
|
|
4359
4627
|
kind: "signup";
|
|
4360
4628
|
} | {
|
|
@@ -4363,6 +4631,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4363
4631
|
} | {
|
|
4364
4632
|
kind: "external";
|
|
4365
4633
|
};
|
|
4634
|
+
enabled: boolean;
|
|
4366
4635
|
milestones: {
|
|
4367
4636
|
id: string;
|
|
4368
4637
|
count: number;
|
|
@@ -4569,6 +4838,126 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
4569
4838
|
}, z.core.$strict>;
|
|
4570
4839
|
declare const deploymentPreviewSchema: z.ZodObject<{
|
|
4571
4840
|
id: z.ZodString;
|
|
4841
|
+
engagement: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4842
|
+
code: z.ZodString;
|
|
4843
|
+
rule: z.ZodObject<{
|
|
4844
|
+
version: z.ZodString;
|
|
4845
|
+
definition: z.ZodObject<{
|
|
4846
|
+
key: z.ZodString;
|
|
4847
|
+
qualifiedBy: z.ZodString;
|
|
4848
|
+
balance: z.ZodString;
|
|
4849
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
4850
|
+
likes: "likes";
|
|
4851
|
+
replies: "replies";
|
|
4852
|
+
reposts: "reposts";
|
|
4853
|
+
quotes: "quotes";
|
|
4854
|
+
views: "views";
|
|
4855
|
+
bookmarks: "bookmarks";
|
|
4856
|
+
}>>;
|
|
4857
|
+
baseline: z.ZodLiteral<"historical">;
|
|
4858
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
4859
|
+
budget: z.ZodDefault<z.ZodObject<{
|
|
4860
|
+
projectDaily: z.ZodOptional<z.ZodNumber>;
|
|
4861
|
+
memberDaily: z.ZodOptional<z.ZodNumber>;
|
|
4862
|
+
projectLifetime: z.ZodOptional<z.ZodNumber>;
|
|
4863
|
+
}, z.core.$strict>>;
|
|
4864
|
+
}, z.core.$strict>;
|
|
4865
|
+
publishedAt: z.ZodNumber;
|
|
4866
|
+
}, z.core.$strict>;
|
|
4867
|
+
kind: z.ZodLiteral<"create">;
|
|
4868
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4869
|
+
code: z.ZodString;
|
|
4870
|
+
rule: z.ZodObject<{
|
|
4871
|
+
version: z.ZodString;
|
|
4872
|
+
definition: z.ZodObject<{
|
|
4873
|
+
key: z.ZodString;
|
|
4874
|
+
qualifiedBy: z.ZodString;
|
|
4875
|
+
balance: z.ZodString;
|
|
4876
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
4877
|
+
likes: "likes";
|
|
4878
|
+
replies: "replies";
|
|
4879
|
+
reposts: "reposts";
|
|
4880
|
+
quotes: "quotes";
|
|
4881
|
+
views: "views";
|
|
4882
|
+
bookmarks: "bookmarks";
|
|
4883
|
+
}>>;
|
|
4884
|
+
baseline: z.ZodLiteral<"historical">;
|
|
4885
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
4886
|
+
budget: z.ZodDefault<z.ZodObject<{
|
|
4887
|
+
projectDaily: z.ZodOptional<z.ZodNumber>;
|
|
4888
|
+
memberDaily: z.ZodOptional<z.ZodNumber>;
|
|
4889
|
+
projectLifetime: z.ZodOptional<z.ZodNumber>;
|
|
4890
|
+
}, z.core.$strict>>;
|
|
4891
|
+
}, z.core.$strict>;
|
|
4892
|
+
publishedAt: z.ZodNumber;
|
|
4893
|
+
}, z.core.$strict>;
|
|
4894
|
+
kind: z.ZodLiteral<"unchanged">;
|
|
4895
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4896
|
+
code: z.ZodString;
|
|
4897
|
+
rule: z.ZodObject<{
|
|
4898
|
+
version: z.ZodString;
|
|
4899
|
+
definition: z.ZodObject<{
|
|
4900
|
+
key: z.ZodString;
|
|
4901
|
+
qualifiedBy: z.ZodString;
|
|
4902
|
+
balance: z.ZodString;
|
|
4903
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
4904
|
+
likes: "likes";
|
|
4905
|
+
replies: "replies";
|
|
4906
|
+
reposts: "reposts";
|
|
4907
|
+
quotes: "quotes";
|
|
4908
|
+
views: "views";
|
|
4909
|
+
bookmarks: "bookmarks";
|
|
4910
|
+
}>>;
|
|
4911
|
+
baseline: z.ZodLiteral<"historical">;
|
|
4912
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
4913
|
+
budget: z.ZodDefault<z.ZodObject<{
|
|
4914
|
+
projectDaily: z.ZodOptional<z.ZodNumber>;
|
|
4915
|
+
memberDaily: z.ZodOptional<z.ZodNumber>;
|
|
4916
|
+
projectLifetime: z.ZodOptional<z.ZodNumber>;
|
|
4917
|
+
}, z.core.$strict>>;
|
|
4918
|
+
}, z.core.$strict>;
|
|
4919
|
+
publishedAt: z.ZodNumber;
|
|
4920
|
+
}, z.core.$strict>;
|
|
4921
|
+
kind: z.ZodLiteral<"change">;
|
|
4922
|
+
change: z.ZodObject<{
|
|
4923
|
+
rule: z.ZodString;
|
|
4924
|
+
fromVersion: z.ZodString;
|
|
4925
|
+
toVersion: z.ZodString;
|
|
4926
|
+
previewHash: z.ZodString;
|
|
4927
|
+
definition: z.ZodObject<{
|
|
4928
|
+
key: z.ZodString;
|
|
4929
|
+
qualifiedBy: z.ZodString;
|
|
4930
|
+
balance: z.ZodString;
|
|
4931
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
4932
|
+
likes: "likes";
|
|
4933
|
+
replies: "replies";
|
|
4934
|
+
reposts: "reposts";
|
|
4935
|
+
quotes: "quotes";
|
|
4936
|
+
views: "views";
|
|
4937
|
+
bookmarks: "bookmarks";
|
|
4938
|
+
}>>;
|
|
4939
|
+
baseline: z.ZodLiteral<"historical">;
|
|
4940
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
4941
|
+
budget: z.ZodDefault<z.ZodObject<{
|
|
4942
|
+
projectDaily: z.ZodOptional<z.ZodNumber>;
|
|
4943
|
+
memberDaily: z.ZodOptional<z.ZodNumber>;
|
|
4944
|
+
projectLifetime: z.ZodOptional<z.ZodNumber>;
|
|
4945
|
+
}, z.core.$strict>>;
|
|
4946
|
+
}, z.core.$strict>;
|
|
4947
|
+
boundary: z.ZodLiteral<"available-eligible-observation">;
|
|
4948
|
+
settlement: z.ZodLiteral<"deferred">;
|
|
4949
|
+
summary: z.ZodObject<{
|
|
4950
|
+
knownAdmissions: z.ZodNumber;
|
|
4951
|
+
accounts: z.ZodNumber;
|
|
4952
|
+
uninitialized: z.ZodNumber;
|
|
4953
|
+
pendingTransitions: z.ZodNumber;
|
|
4954
|
+
earned: z.ZodString;
|
|
4955
|
+
paid: z.ZodString;
|
|
4956
|
+
excluded: z.ZodString;
|
|
4957
|
+
pending: z.ZodString;
|
|
4958
|
+
}, z.core.$strict>;
|
|
4959
|
+
}, z.core.$strict>;
|
|
4960
|
+
}, z.core.$strict>], "kind">>>;
|
|
4572
4961
|
trackers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4573
4962
|
id: z.ZodString;
|
|
4574
4963
|
version: z.ZodString;
|
|
@@ -4772,7 +5161,38 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4772
5161
|
source: z.ZodString;
|
|
4773
5162
|
type: z.ZodString;
|
|
4774
5163
|
}, z.core.$strict>>;
|
|
5164
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
5165
|
+
tracker: z.ZodString;
|
|
5166
|
+
window: z.ZodObject<{
|
|
5167
|
+
start: z.ZodNumber;
|
|
5168
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
5169
|
+
}, z.core.$strict>;
|
|
5170
|
+
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
5171
|
+
required: "required";
|
|
5172
|
+
none: "none";
|
|
5173
|
+
}>>;
|
|
5174
|
+
posts: z.ZodDefault<z.ZodEnum<{
|
|
5175
|
+
"after-enrollment": "after-enrollment";
|
|
5176
|
+
"since-start": "since-start";
|
|
5177
|
+
}>>;
|
|
5178
|
+
historical: z.ZodDefault<z.ZodEnum<{
|
|
5179
|
+
staff: "staff";
|
|
5180
|
+
automatic: "automatic";
|
|
5181
|
+
claim: "claim";
|
|
5182
|
+
}>>;
|
|
5183
|
+
}, z.core.$strict>>;
|
|
4775
5184
|
}, z.core.$strict>]>;
|
|
5185
|
+
performance: z.ZodOptional<z.ZodObject<{
|
|
5186
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
5187
|
+
likes: "likes";
|
|
5188
|
+
replies: "replies";
|
|
5189
|
+
reposts: "reposts";
|
|
5190
|
+
quotes: "quotes";
|
|
5191
|
+
views: "views";
|
|
5192
|
+
bookmarks: "bookmarks";
|
|
5193
|
+
}>>;
|
|
5194
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
5195
|
+
}, z.core.$strict>>;
|
|
4776
5196
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4777
5197
|
quest: z.ZodString;
|
|
4778
5198
|
scope: z.ZodLiteral<"ever">;
|
|
@@ -5018,6 +5438,22 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5018
5438
|
})[];
|
|
5019
5439
|
humanReview: boolean;
|
|
5020
5440
|
trigger: {
|
|
5441
|
+
kind: "automatic";
|
|
5442
|
+
observation?: {
|
|
5443
|
+
source: string;
|
|
5444
|
+
type: string;
|
|
5445
|
+
} | undefined;
|
|
5446
|
+
content?: {
|
|
5447
|
+
tracker: string;
|
|
5448
|
+
window: {
|
|
5449
|
+
start: number;
|
|
5450
|
+
end?: number | undefined;
|
|
5451
|
+
};
|
|
5452
|
+
enrollment: "required" | "none";
|
|
5453
|
+
posts: "after-enrollment" | "since-start";
|
|
5454
|
+
historical: "staff" | "automatic" | "claim";
|
|
5455
|
+
} | undefined;
|
|
5456
|
+
} | {
|
|
5021
5457
|
kind: "manual";
|
|
5022
5458
|
input: "text";
|
|
5023
5459
|
constraints: {
|
|
@@ -5038,12 +5474,6 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5038
5474
|
kind: "manual";
|
|
5039
5475
|
input: "quiz" | "photo" | "none";
|
|
5040
5476
|
actor?: "member" | "staff" | undefined;
|
|
5041
|
-
} | {
|
|
5042
|
-
kind: "automatic";
|
|
5043
|
-
observation?: {
|
|
5044
|
-
source: string;
|
|
5045
|
-
type: string;
|
|
5046
|
-
} | undefined;
|
|
5047
5477
|
};
|
|
5048
5478
|
requires: {
|
|
5049
5479
|
quest: string;
|
|
@@ -5074,6 +5504,10 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5074
5504
|
createdAt: number;
|
|
5075
5505
|
legacy: boolean;
|
|
5076
5506
|
lifecycle: "active" | "paused" | "archived";
|
|
5507
|
+
performance?: {
|
|
5508
|
+
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
5509
|
+
maxAgeMs: number;
|
|
5510
|
+
} | undefined;
|
|
5077
5511
|
key?: string | undefined;
|
|
5078
5512
|
origin?: {
|
|
5079
5513
|
typeVersion: string;
|
|
@@ -5315,7 +5749,38 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
5315
5749
|
source: z.ZodString;
|
|
5316
5750
|
type: z.ZodString;
|
|
5317
5751
|
}, z.core.$strict>>;
|
|
5752
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
5753
|
+
tracker: z.ZodString;
|
|
5754
|
+
window: z.ZodObject<{
|
|
5755
|
+
start: z.ZodNumber;
|
|
5756
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
5757
|
+
}, z.core.$strict>;
|
|
5758
|
+
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
5759
|
+
required: "required";
|
|
5760
|
+
none: "none";
|
|
5761
|
+
}>>;
|
|
5762
|
+
posts: z.ZodDefault<z.ZodEnum<{
|
|
5763
|
+
"after-enrollment": "after-enrollment";
|
|
5764
|
+
"since-start": "since-start";
|
|
5765
|
+
}>>;
|
|
5766
|
+
historical: z.ZodDefault<z.ZodEnum<{
|
|
5767
|
+
staff: "staff";
|
|
5768
|
+
automatic: "automatic";
|
|
5769
|
+
claim: "claim";
|
|
5770
|
+
}>>;
|
|
5771
|
+
}, z.core.$strict>>;
|
|
5318
5772
|
}, z.core.$strict>]>;
|
|
5773
|
+
performance: z.ZodOptional<z.ZodObject<{
|
|
5774
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
5775
|
+
likes: "likes";
|
|
5776
|
+
replies: "replies";
|
|
5777
|
+
reposts: "reposts";
|
|
5778
|
+
quotes: "quotes";
|
|
5779
|
+
views: "views";
|
|
5780
|
+
bookmarks: "bookmarks";
|
|
5781
|
+
}>>;
|
|
5782
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
5783
|
+
}, z.core.$strict>>;
|
|
5319
5784
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5320
5785
|
quest: z.ZodString;
|
|
5321
5786
|
scope: z.ZodLiteral<"ever">;
|
|
@@ -5620,6 +6085,126 @@ declare const publishDeploymentSchema: z.ZodObject<{
|
|
|
5620
6085
|
}, z.core.$strict>;
|
|
5621
6086
|
declare const deploymentResultSchema: z.ZodObject<{
|
|
5622
6087
|
id: z.ZodString;
|
|
6088
|
+
engagement: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6089
|
+
code: z.ZodString;
|
|
6090
|
+
rule: z.ZodObject<{
|
|
6091
|
+
version: z.ZodString;
|
|
6092
|
+
definition: z.ZodObject<{
|
|
6093
|
+
key: z.ZodString;
|
|
6094
|
+
qualifiedBy: z.ZodString;
|
|
6095
|
+
balance: z.ZodString;
|
|
6096
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
6097
|
+
likes: "likes";
|
|
6098
|
+
replies: "replies";
|
|
6099
|
+
reposts: "reposts";
|
|
6100
|
+
quotes: "quotes";
|
|
6101
|
+
views: "views";
|
|
6102
|
+
bookmarks: "bookmarks";
|
|
6103
|
+
}>>;
|
|
6104
|
+
baseline: z.ZodLiteral<"historical">;
|
|
6105
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
6106
|
+
budget: z.ZodDefault<z.ZodObject<{
|
|
6107
|
+
projectDaily: z.ZodOptional<z.ZodNumber>;
|
|
6108
|
+
memberDaily: z.ZodOptional<z.ZodNumber>;
|
|
6109
|
+
projectLifetime: z.ZodOptional<z.ZodNumber>;
|
|
6110
|
+
}, z.core.$strict>>;
|
|
6111
|
+
}, z.core.$strict>;
|
|
6112
|
+
publishedAt: z.ZodNumber;
|
|
6113
|
+
}, z.core.$strict>;
|
|
6114
|
+
kind: z.ZodLiteral<"create">;
|
|
6115
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6116
|
+
code: z.ZodString;
|
|
6117
|
+
rule: z.ZodObject<{
|
|
6118
|
+
version: z.ZodString;
|
|
6119
|
+
definition: z.ZodObject<{
|
|
6120
|
+
key: z.ZodString;
|
|
6121
|
+
qualifiedBy: z.ZodString;
|
|
6122
|
+
balance: z.ZodString;
|
|
6123
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
6124
|
+
likes: "likes";
|
|
6125
|
+
replies: "replies";
|
|
6126
|
+
reposts: "reposts";
|
|
6127
|
+
quotes: "quotes";
|
|
6128
|
+
views: "views";
|
|
6129
|
+
bookmarks: "bookmarks";
|
|
6130
|
+
}>>;
|
|
6131
|
+
baseline: z.ZodLiteral<"historical">;
|
|
6132
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
6133
|
+
budget: z.ZodDefault<z.ZodObject<{
|
|
6134
|
+
projectDaily: z.ZodOptional<z.ZodNumber>;
|
|
6135
|
+
memberDaily: z.ZodOptional<z.ZodNumber>;
|
|
6136
|
+
projectLifetime: z.ZodOptional<z.ZodNumber>;
|
|
6137
|
+
}, z.core.$strict>>;
|
|
6138
|
+
}, z.core.$strict>;
|
|
6139
|
+
publishedAt: z.ZodNumber;
|
|
6140
|
+
}, z.core.$strict>;
|
|
6141
|
+
kind: z.ZodLiteral<"unchanged">;
|
|
6142
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6143
|
+
code: z.ZodString;
|
|
6144
|
+
rule: z.ZodObject<{
|
|
6145
|
+
version: z.ZodString;
|
|
6146
|
+
definition: z.ZodObject<{
|
|
6147
|
+
key: z.ZodString;
|
|
6148
|
+
qualifiedBy: z.ZodString;
|
|
6149
|
+
balance: z.ZodString;
|
|
6150
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
6151
|
+
likes: "likes";
|
|
6152
|
+
replies: "replies";
|
|
6153
|
+
reposts: "reposts";
|
|
6154
|
+
quotes: "quotes";
|
|
6155
|
+
views: "views";
|
|
6156
|
+
bookmarks: "bookmarks";
|
|
6157
|
+
}>>;
|
|
6158
|
+
baseline: z.ZodLiteral<"historical">;
|
|
6159
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
6160
|
+
budget: z.ZodDefault<z.ZodObject<{
|
|
6161
|
+
projectDaily: z.ZodOptional<z.ZodNumber>;
|
|
6162
|
+
memberDaily: z.ZodOptional<z.ZodNumber>;
|
|
6163
|
+
projectLifetime: z.ZodOptional<z.ZodNumber>;
|
|
6164
|
+
}, z.core.$strict>>;
|
|
6165
|
+
}, z.core.$strict>;
|
|
6166
|
+
publishedAt: z.ZodNumber;
|
|
6167
|
+
}, z.core.$strict>;
|
|
6168
|
+
kind: z.ZodLiteral<"change">;
|
|
6169
|
+
change: z.ZodObject<{
|
|
6170
|
+
rule: z.ZodString;
|
|
6171
|
+
fromVersion: z.ZodString;
|
|
6172
|
+
toVersion: z.ZodString;
|
|
6173
|
+
previewHash: z.ZodString;
|
|
6174
|
+
definition: z.ZodObject<{
|
|
6175
|
+
key: z.ZodString;
|
|
6176
|
+
qualifiedBy: z.ZodString;
|
|
6177
|
+
balance: z.ZodString;
|
|
6178
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
6179
|
+
likes: "likes";
|
|
6180
|
+
replies: "replies";
|
|
6181
|
+
reposts: "reposts";
|
|
6182
|
+
quotes: "quotes";
|
|
6183
|
+
views: "views";
|
|
6184
|
+
bookmarks: "bookmarks";
|
|
6185
|
+
}>>;
|
|
6186
|
+
baseline: z.ZodLiteral<"historical">;
|
|
6187
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
6188
|
+
budget: z.ZodDefault<z.ZodObject<{
|
|
6189
|
+
projectDaily: z.ZodOptional<z.ZodNumber>;
|
|
6190
|
+
memberDaily: z.ZodOptional<z.ZodNumber>;
|
|
6191
|
+
projectLifetime: z.ZodOptional<z.ZodNumber>;
|
|
6192
|
+
}, z.core.$strict>>;
|
|
6193
|
+
}, z.core.$strict>;
|
|
6194
|
+
boundary: z.ZodLiteral<"available-eligible-observation">;
|
|
6195
|
+
settlement: z.ZodLiteral<"deferred">;
|
|
6196
|
+
summary: z.ZodObject<{
|
|
6197
|
+
knownAdmissions: z.ZodNumber;
|
|
6198
|
+
accounts: z.ZodNumber;
|
|
6199
|
+
uninitialized: z.ZodNumber;
|
|
6200
|
+
pendingTransitions: z.ZodNumber;
|
|
6201
|
+
earned: z.ZodString;
|
|
6202
|
+
paid: z.ZodString;
|
|
6203
|
+
excluded: z.ZodString;
|
|
6204
|
+
pending: z.ZodString;
|
|
6205
|
+
}, z.core.$strict>;
|
|
6206
|
+
}, z.core.$strict>;
|
|
6207
|
+
}, z.core.$strict>], "kind">>>;
|
|
5623
6208
|
trackers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5624
6209
|
id: z.ZodString;
|
|
5625
6210
|
version: z.ZodString;
|
|
@@ -5823,7 +6408,38 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5823
6408
|
source: z.ZodString;
|
|
5824
6409
|
type: z.ZodString;
|
|
5825
6410
|
}, z.core.$strict>>;
|
|
6411
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
6412
|
+
tracker: z.ZodString;
|
|
6413
|
+
window: z.ZodObject<{
|
|
6414
|
+
start: z.ZodNumber;
|
|
6415
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
6416
|
+
}, z.core.$strict>;
|
|
6417
|
+
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
6418
|
+
required: "required";
|
|
6419
|
+
none: "none";
|
|
6420
|
+
}>>;
|
|
6421
|
+
posts: z.ZodDefault<z.ZodEnum<{
|
|
6422
|
+
"after-enrollment": "after-enrollment";
|
|
6423
|
+
"since-start": "since-start";
|
|
6424
|
+
}>>;
|
|
6425
|
+
historical: z.ZodDefault<z.ZodEnum<{
|
|
6426
|
+
staff: "staff";
|
|
6427
|
+
automatic: "automatic";
|
|
6428
|
+
claim: "claim";
|
|
6429
|
+
}>>;
|
|
6430
|
+
}, z.core.$strict>>;
|
|
5826
6431
|
}, z.core.$strict>]>;
|
|
6432
|
+
performance: z.ZodOptional<z.ZodObject<{
|
|
6433
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
6434
|
+
likes: "likes";
|
|
6435
|
+
replies: "replies";
|
|
6436
|
+
reposts: "reposts";
|
|
6437
|
+
quotes: "quotes";
|
|
6438
|
+
views: "views";
|
|
6439
|
+
bookmarks: "bookmarks";
|
|
6440
|
+
}>>;
|
|
6441
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
6442
|
+
}, z.core.$strict>>;
|
|
5827
6443
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5828
6444
|
quest: z.ZodString;
|
|
5829
6445
|
scope: z.ZodLiteral<"ever">;
|
|
@@ -6069,6 +6685,22 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6069
6685
|
})[];
|
|
6070
6686
|
humanReview: boolean;
|
|
6071
6687
|
trigger: {
|
|
6688
|
+
kind: "automatic";
|
|
6689
|
+
observation?: {
|
|
6690
|
+
source: string;
|
|
6691
|
+
type: string;
|
|
6692
|
+
} | undefined;
|
|
6693
|
+
content?: {
|
|
6694
|
+
tracker: string;
|
|
6695
|
+
window: {
|
|
6696
|
+
start: number;
|
|
6697
|
+
end?: number | undefined;
|
|
6698
|
+
};
|
|
6699
|
+
enrollment: "required" | "none";
|
|
6700
|
+
posts: "after-enrollment" | "since-start";
|
|
6701
|
+
historical: "staff" | "automatic" | "claim";
|
|
6702
|
+
} | undefined;
|
|
6703
|
+
} | {
|
|
6072
6704
|
kind: "manual";
|
|
6073
6705
|
input: "text";
|
|
6074
6706
|
constraints: {
|
|
@@ -6089,12 +6721,6 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6089
6721
|
kind: "manual";
|
|
6090
6722
|
input: "quiz" | "photo" | "none";
|
|
6091
6723
|
actor?: "member" | "staff" | undefined;
|
|
6092
|
-
} | {
|
|
6093
|
-
kind: "automatic";
|
|
6094
|
-
observation?: {
|
|
6095
|
-
source: string;
|
|
6096
|
-
type: string;
|
|
6097
|
-
} | undefined;
|
|
6098
6724
|
};
|
|
6099
6725
|
requires: {
|
|
6100
6726
|
quest: string;
|
|
@@ -6125,6 +6751,10 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6125
6751
|
createdAt: number;
|
|
6126
6752
|
legacy: boolean;
|
|
6127
6753
|
lifecycle: "active" | "paused" | "archived";
|
|
6754
|
+
performance?: {
|
|
6755
|
+
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
6756
|
+
maxAgeMs: number;
|
|
6757
|
+
} | undefined;
|
|
6128
6758
|
key?: string | undefined;
|
|
6129
6759
|
origin?: {
|
|
6130
6760
|
typeVersion: string;
|
|
@@ -6366,7 +6996,38 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
6366
6996
|
source: z.ZodString;
|
|
6367
6997
|
type: z.ZodString;
|
|
6368
6998
|
}, z.core.$strict>>;
|
|
6999
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
7000
|
+
tracker: z.ZodString;
|
|
7001
|
+
window: z.ZodObject<{
|
|
7002
|
+
start: z.ZodNumber;
|
|
7003
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
7004
|
+
}, z.core.$strict>;
|
|
7005
|
+
enrollment: z.ZodDefault<z.ZodEnum<{
|
|
7006
|
+
required: "required";
|
|
7007
|
+
none: "none";
|
|
7008
|
+
}>>;
|
|
7009
|
+
posts: z.ZodDefault<z.ZodEnum<{
|
|
7010
|
+
"after-enrollment": "after-enrollment";
|
|
7011
|
+
"since-start": "since-start";
|
|
7012
|
+
}>>;
|
|
7013
|
+
historical: z.ZodDefault<z.ZodEnum<{
|
|
7014
|
+
staff: "staff";
|
|
7015
|
+
automatic: "automatic";
|
|
7016
|
+
claim: "claim";
|
|
7017
|
+
}>>;
|
|
7018
|
+
}, z.core.$strict>>;
|
|
6369
7019
|
}, z.core.$strict>]>;
|
|
7020
|
+
performance: z.ZodOptional<z.ZodObject<{
|
|
7021
|
+
metrics: z.ZodArray<z.ZodEnum<{
|
|
7022
|
+
likes: "likes";
|
|
7023
|
+
replies: "replies";
|
|
7024
|
+
reposts: "reposts";
|
|
7025
|
+
quotes: "quotes";
|
|
7026
|
+
views: "views";
|
|
7027
|
+
bookmarks: "bookmarks";
|
|
7028
|
+
}>>;
|
|
7029
|
+
maxAgeMs: z.ZodDefault<z.ZodNumber>;
|
|
7030
|
+
}, z.core.$strict>>;
|
|
6370
7031
|
requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6371
7032
|
quest: z.ZodString;
|
|
6372
7033
|
scope: z.ZodLiteral<"ever">;
|
|
@@ -7047,6 +7708,22 @@ declare function createRelayClient(options: {
|
|
|
7047
7708
|
};
|
|
7048
7709
|
connections: ("google" | "apple" | "x" | "discord")[];
|
|
7049
7710
|
trigger: {
|
|
7711
|
+
kind: "automatic";
|
|
7712
|
+
observation?: {
|
|
7713
|
+
source: string;
|
|
7714
|
+
type: string;
|
|
7715
|
+
} | undefined;
|
|
7716
|
+
content?: {
|
|
7717
|
+
tracker: string;
|
|
7718
|
+
window: {
|
|
7719
|
+
start: number;
|
|
7720
|
+
end?: number | undefined;
|
|
7721
|
+
};
|
|
7722
|
+
enrollment: "required" | "none";
|
|
7723
|
+
posts: "after-enrollment" | "since-start";
|
|
7724
|
+
historical: "staff" | "automatic" | "claim";
|
|
7725
|
+
} | undefined;
|
|
7726
|
+
} | {
|
|
7050
7727
|
kind: "manual";
|
|
7051
7728
|
input: "text";
|
|
7052
7729
|
constraints: {
|
|
@@ -7067,12 +7744,6 @@ declare function createRelayClient(options: {
|
|
|
7067
7744
|
kind: "manual";
|
|
7068
7745
|
input: "quiz" | "photo" | "none";
|
|
7069
7746
|
actor?: "member" | "staff" | undefined;
|
|
7070
|
-
} | {
|
|
7071
|
-
kind: "automatic";
|
|
7072
|
-
observation?: {
|
|
7073
|
-
source: string;
|
|
7074
|
-
type: string;
|
|
7075
|
-
} | undefined;
|
|
7076
7747
|
};
|
|
7077
7748
|
availability: {
|
|
7078
7749
|
kind: "available";
|
|
@@ -7290,6 +7961,22 @@ declare function createRelayClient(options: {
|
|
|
7290
7961
|
};
|
|
7291
7962
|
connections: ("google" | "apple" | "x" | "discord")[];
|
|
7292
7963
|
trigger: {
|
|
7964
|
+
kind: "automatic";
|
|
7965
|
+
observation?: {
|
|
7966
|
+
source: string;
|
|
7967
|
+
type: string;
|
|
7968
|
+
} | undefined;
|
|
7969
|
+
content?: {
|
|
7970
|
+
tracker: string;
|
|
7971
|
+
window: {
|
|
7972
|
+
start: number;
|
|
7973
|
+
end?: number | undefined;
|
|
7974
|
+
};
|
|
7975
|
+
enrollment: "required" | "none";
|
|
7976
|
+
posts: "after-enrollment" | "since-start";
|
|
7977
|
+
historical: "staff" | "automatic" | "claim";
|
|
7978
|
+
} | undefined;
|
|
7979
|
+
} | {
|
|
7293
7980
|
kind: "manual";
|
|
7294
7981
|
input: "text";
|
|
7295
7982
|
constraints: {
|
|
@@ -7310,12 +7997,6 @@ declare function createRelayClient(options: {
|
|
|
7310
7997
|
kind: "manual";
|
|
7311
7998
|
input: "quiz" | "photo" | "none";
|
|
7312
7999
|
actor?: "member" | "staff" | undefined;
|
|
7313
|
-
} | {
|
|
7314
|
-
kind: "automatic";
|
|
7315
|
-
observation?: {
|
|
7316
|
-
source: string;
|
|
7317
|
-
type: string;
|
|
7318
|
-
} | undefined;
|
|
7319
8000
|
};
|
|
7320
8001
|
availability: {
|
|
7321
8002
|
kind: "available";
|
|
@@ -7481,6 +8162,22 @@ declare function createRelayClient(options: {
|
|
|
7481
8162
|
};
|
|
7482
8163
|
connections: ("google" | "apple" | "x" | "discord")[];
|
|
7483
8164
|
trigger: {
|
|
8165
|
+
kind: "automatic";
|
|
8166
|
+
observation?: {
|
|
8167
|
+
source: string;
|
|
8168
|
+
type: string;
|
|
8169
|
+
} | undefined;
|
|
8170
|
+
content?: {
|
|
8171
|
+
tracker: string;
|
|
8172
|
+
window: {
|
|
8173
|
+
start: number;
|
|
8174
|
+
end?: number | undefined;
|
|
8175
|
+
};
|
|
8176
|
+
enrollment: "required" | "none";
|
|
8177
|
+
posts: "after-enrollment" | "since-start";
|
|
8178
|
+
historical: "staff" | "automatic" | "claim";
|
|
8179
|
+
} | undefined;
|
|
8180
|
+
} | {
|
|
7484
8181
|
kind: "manual";
|
|
7485
8182
|
input: "text";
|
|
7486
8183
|
constraints: {
|
|
@@ -7501,12 +8198,6 @@ declare function createRelayClient(options: {
|
|
|
7501
8198
|
kind: "manual";
|
|
7502
8199
|
input: "quiz" | "photo" | "none";
|
|
7503
8200
|
actor?: "member" | "staff" | undefined;
|
|
7504
|
-
} | {
|
|
7505
|
-
kind: "automatic";
|
|
7506
|
-
observation?: {
|
|
7507
|
-
source: string;
|
|
7508
|
-
type: string;
|
|
7509
|
-
} | undefined;
|
|
7510
8201
|
};
|
|
7511
8202
|
availability: {
|
|
7512
8203
|
kind: "available";
|
|
@@ -7675,6 +8366,22 @@ declare function createRelayClient(options: {
|
|
|
7675
8366
|
};
|
|
7676
8367
|
connections: ("google" | "apple" | "x" | "discord")[];
|
|
7677
8368
|
trigger: {
|
|
8369
|
+
kind: "automatic";
|
|
8370
|
+
observation?: {
|
|
8371
|
+
source: string;
|
|
8372
|
+
type: string;
|
|
8373
|
+
} | undefined;
|
|
8374
|
+
content?: {
|
|
8375
|
+
tracker: string;
|
|
8376
|
+
window: {
|
|
8377
|
+
start: number;
|
|
8378
|
+
end?: number | undefined;
|
|
8379
|
+
};
|
|
8380
|
+
enrollment: "required" | "none";
|
|
8381
|
+
posts: "after-enrollment" | "since-start";
|
|
8382
|
+
historical: "staff" | "automatic" | "claim";
|
|
8383
|
+
} | undefined;
|
|
8384
|
+
} | {
|
|
7678
8385
|
kind: "manual";
|
|
7679
8386
|
input: "text";
|
|
7680
8387
|
constraints: {
|
|
@@ -7695,12 +8402,6 @@ declare function createRelayClient(options: {
|
|
|
7695
8402
|
kind: "manual";
|
|
7696
8403
|
input: "quiz" | "photo" | "none";
|
|
7697
8404
|
actor?: "member" | "staff" | undefined;
|
|
7698
|
-
} | {
|
|
7699
|
-
kind: "automatic";
|
|
7700
|
-
observation?: {
|
|
7701
|
-
source: string;
|
|
7702
|
-
type: string;
|
|
7703
|
-
} | undefined;
|
|
7704
8405
|
};
|
|
7705
8406
|
availability: {
|
|
7706
8407
|
kind: "available";
|
|
@@ -8073,6 +8774,22 @@ declare function createRelayClient(options: {
|
|
|
8073
8774
|
};
|
|
8074
8775
|
connections: ("google" | "apple" | "x" | "discord")[];
|
|
8075
8776
|
trigger: {
|
|
8777
|
+
kind: "automatic";
|
|
8778
|
+
observation?: {
|
|
8779
|
+
source: string;
|
|
8780
|
+
type: string;
|
|
8781
|
+
} | undefined;
|
|
8782
|
+
content?: {
|
|
8783
|
+
tracker: string;
|
|
8784
|
+
window: {
|
|
8785
|
+
start: number;
|
|
8786
|
+
end?: number | undefined;
|
|
8787
|
+
};
|
|
8788
|
+
enrollment: "required" | "none";
|
|
8789
|
+
posts: "after-enrollment" | "since-start";
|
|
8790
|
+
historical: "staff" | "automatic" | "claim";
|
|
8791
|
+
} | undefined;
|
|
8792
|
+
} | {
|
|
8076
8793
|
kind: "manual";
|
|
8077
8794
|
input: "text";
|
|
8078
8795
|
constraints: {
|
|
@@ -8093,12 +8810,6 @@ declare function createRelayClient(options: {
|
|
|
8093
8810
|
kind: "manual";
|
|
8094
8811
|
input: "quiz" | "photo" | "none";
|
|
8095
8812
|
actor?: "member" | "staff" | undefined;
|
|
8096
|
-
} | {
|
|
8097
|
-
kind: "automatic";
|
|
8098
|
-
observation?: {
|
|
8099
|
-
source: string;
|
|
8100
|
-
type: string;
|
|
8101
|
-
} | undefined;
|
|
8102
8813
|
};
|
|
8103
8814
|
availability: {
|
|
8104
8815
|
kind: "available";
|
|
@@ -8612,6 +9323,22 @@ declare function createRelayClient(options: {
|
|
|
8612
9323
|
})[];
|
|
8613
9324
|
humanReview: boolean;
|
|
8614
9325
|
trigger: {
|
|
9326
|
+
kind: "automatic";
|
|
9327
|
+
observation?: {
|
|
9328
|
+
source: string;
|
|
9329
|
+
type: string;
|
|
9330
|
+
} | undefined;
|
|
9331
|
+
content?: {
|
|
9332
|
+
tracker: string;
|
|
9333
|
+
window: {
|
|
9334
|
+
start: number;
|
|
9335
|
+
end?: number | undefined;
|
|
9336
|
+
};
|
|
9337
|
+
enrollment: "required" | "none";
|
|
9338
|
+
posts: "after-enrollment" | "since-start";
|
|
9339
|
+
historical: "staff" | "automatic" | "claim";
|
|
9340
|
+
} | undefined;
|
|
9341
|
+
} | {
|
|
8615
9342
|
kind: "manual";
|
|
8616
9343
|
input: "text";
|
|
8617
9344
|
constraints: {
|
|
@@ -8632,12 +9359,6 @@ declare function createRelayClient(options: {
|
|
|
8632
9359
|
kind: "manual";
|
|
8633
9360
|
input: "quiz" | "photo" | "none";
|
|
8634
9361
|
actor?: "member" | "staff" | undefined;
|
|
8635
|
-
} | {
|
|
8636
|
-
kind: "automatic";
|
|
8637
|
-
observation?: {
|
|
8638
|
-
source: string;
|
|
8639
|
-
type: string;
|
|
8640
|
-
} | undefined;
|
|
8641
9362
|
};
|
|
8642
9363
|
requires: {
|
|
8643
9364
|
quest: string;
|
|
@@ -8662,6 +9383,10 @@ declare function createRelayClient(options: {
|
|
|
8662
9383
|
balance: string;
|
|
8663
9384
|
};
|
|
8664
9385
|
}[];
|
|
9386
|
+
performance?: {
|
|
9387
|
+
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
9388
|
+
maxAgeMs: number;
|
|
9389
|
+
} | undefined;
|
|
8665
9390
|
};
|
|
8666
9391
|
}[]>;
|
|
8667
9392
|
/** @deprecated Removed from the participant API. Build quests with `domino` and `@domino-sdk/relay/build`. */
|
|
@@ -8797,6 +9522,22 @@ declare function createRelayClient(options: {
|
|
|
8797
9522
|
})[];
|
|
8798
9523
|
humanReview: boolean;
|
|
8799
9524
|
trigger: {
|
|
9525
|
+
kind: "automatic";
|
|
9526
|
+
observation?: {
|
|
9527
|
+
source: string;
|
|
9528
|
+
type: string;
|
|
9529
|
+
} | undefined;
|
|
9530
|
+
content?: {
|
|
9531
|
+
tracker: string;
|
|
9532
|
+
window: {
|
|
9533
|
+
start: number;
|
|
9534
|
+
end?: number | undefined;
|
|
9535
|
+
};
|
|
9536
|
+
enrollment: "required" | "none";
|
|
9537
|
+
posts: "after-enrollment" | "since-start";
|
|
9538
|
+
historical: "staff" | "automatic" | "claim";
|
|
9539
|
+
} | undefined;
|
|
9540
|
+
} | {
|
|
8800
9541
|
kind: "manual";
|
|
8801
9542
|
input: "text";
|
|
8802
9543
|
constraints: {
|
|
@@ -8817,12 +9558,6 @@ declare function createRelayClient(options: {
|
|
|
8817
9558
|
kind: "manual";
|
|
8818
9559
|
input: "quiz" | "photo" | "none";
|
|
8819
9560
|
actor?: "member" | "staff" | undefined;
|
|
8820
|
-
} | {
|
|
8821
|
-
kind: "automatic";
|
|
8822
|
-
observation?: {
|
|
8823
|
-
source: string;
|
|
8824
|
-
type: string;
|
|
8825
|
-
} | undefined;
|
|
8826
9561
|
};
|
|
8827
9562
|
requires: {
|
|
8828
9563
|
quest: string;
|
|
@@ -8847,6 +9582,10 @@ declare function createRelayClient(options: {
|
|
|
8847
9582
|
balance: string;
|
|
8848
9583
|
};
|
|
8849
9584
|
}[];
|
|
9585
|
+
performance?: {
|
|
9586
|
+
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
9587
|
+
maxAgeMs: number;
|
|
9588
|
+
} | undefined;
|
|
8850
9589
|
};
|
|
8851
9590
|
}>;
|
|
8852
9591
|
/** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
|
|
@@ -8981,6 +9720,22 @@ declare function createRelayClient(options: {
|
|
|
8981
9720
|
})[];
|
|
8982
9721
|
humanReview: boolean;
|
|
8983
9722
|
trigger: {
|
|
9723
|
+
kind: "automatic";
|
|
9724
|
+
observation?: {
|
|
9725
|
+
source: string;
|
|
9726
|
+
type: string;
|
|
9727
|
+
} | undefined;
|
|
9728
|
+
content?: {
|
|
9729
|
+
tracker: string;
|
|
9730
|
+
window: {
|
|
9731
|
+
start: number;
|
|
9732
|
+
end?: number | undefined;
|
|
9733
|
+
};
|
|
9734
|
+
enrollment: "required" | "none";
|
|
9735
|
+
posts: "after-enrollment" | "since-start";
|
|
9736
|
+
historical: "staff" | "automatic" | "claim";
|
|
9737
|
+
} | undefined;
|
|
9738
|
+
} | {
|
|
8984
9739
|
kind: "manual";
|
|
8985
9740
|
input: "text";
|
|
8986
9741
|
constraints: {
|
|
@@ -9001,12 +9756,6 @@ declare function createRelayClient(options: {
|
|
|
9001
9756
|
kind: "manual";
|
|
9002
9757
|
input: "quiz" | "photo" | "none";
|
|
9003
9758
|
actor?: "member" | "staff" | undefined;
|
|
9004
|
-
} | {
|
|
9005
|
-
kind: "automatic";
|
|
9006
|
-
observation?: {
|
|
9007
|
-
source: string;
|
|
9008
|
-
type: string;
|
|
9009
|
-
} | undefined;
|
|
9010
9759
|
};
|
|
9011
9760
|
requires: {
|
|
9012
9761
|
quest: string;
|
|
@@ -9037,6 +9786,10 @@ declare function createRelayClient(options: {
|
|
|
9037
9786
|
createdAt: number;
|
|
9038
9787
|
legacy: boolean;
|
|
9039
9788
|
lifecycle: "active" | "paused" | "archived";
|
|
9789
|
+
performance?: {
|
|
9790
|
+
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
9791
|
+
maxAgeMs: number;
|
|
9792
|
+
} | undefined;
|
|
9040
9793
|
key?: string | undefined;
|
|
9041
9794
|
origin?: {
|
|
9042
9795
|
typeVersion: string;
|
|
@@ -9346,6 +10099,22 @@ declare function createRelayClient(options: {
|
|
|
9346
10099
|
})[];
|
|
9347
10100
|
humanReview: boolean;
|
|
9348
10101
|
trigger: {
|
|
10102
|
+
kind: "automatic";
|
|
10103
|
+
observation?: {
|
|
10104
|
+
source: string;
|
|
10105
|
+
type: string;
|
|
10106
|
+
} | undefined;
|
|
10107
|
+
content?: {
|
|
10108
|
+
tracker: string;
|
|
10109
|
+
window: {
|
|
10110
|
+
start: number;
|
|
10111
|
+
end?: number | undefined;
|
|
10112
|
+
};
|
|
10113
|
+
enrollment: "required" | "none";
|
|
10114
|
+
posts: "after-enrollment" | "since-start";
|
|
10115
|
+
historical: "staff" | "automatic" | "claim";
|
|
10116
|
+
} | undefined;
|
|
10117
|
+
} | {
|
|
9349
10118
|
kind: "manual";
|
|
9350
10119
|
input: "text";
|
|
9351
10120
|
constraints: {
|
|
@@ -9366,12 +10135,6 @@ declare function createRelayClient(options: {
|
|
|
9366
10135
|
kind: "manual";
|
|
9367
10136
|
input: "quiz" | "photo" | "none";
|
|
9368
10137
|
actor?: "member" | "staff" | undefined;
|
|
9369
|
-
} | {
|
|
9370
|
-
kind: "automatic";
|
|
9371
|
-
observation?: {
|
|
9372
|
-
source: string;
|
|
9373
|
-
type: string;
|
|
9374
|
-
} | undefined;
|
|
9375
10138
|
};
|
|
9376
10139
|
requires: {
|
|
9377
10140
|
quest: string;
|
|
@@ -9402,6 +10165,10 @@ declare function createRelayClient(options: {
|
|
|
9402
10165
|
createdAt: number;
|
|
9403
10166
|
legacy: boolean;
|
|
9404
10167
|
lifecycle: "active" | "paused" | "archived";
|
|
10168
|
+
performance?: {
|
|
10169
|
+
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
10170
|
+
maxAgeMs: number;
|
|
10171
|
+
} | undefined;
|
|
9405
10172
|
key?: string | undefined;
|
|
9406
10173
|
origin?: {
|
|
9407
10174
|
typeVersion: string;
|
|
@@ -9559,6 +10326,22 @@ declare function createRelayClient(options: {
|
|
|
9559
10326
|
})[];
|
|
9560
10327
|
humanReview: boolean;
|
|
9561
10328
|
trigger: {
|
|
10329
|
+
kind: "automatic";
|
|
10330
|
+
observation?: {
|
|
10331
|
+
source: string;
|
|
10332
|
+
type: string;
|
|
10333
|
+
} | undefined;
|
|
10334
|
+
content?: {
|
|
10335
|
+
tracker: string;
|
|
10336
|
+
window: {
|
|
10337
|
+
start: number;
|
|
10338
|
+
end?: number | undefined;
|
|
10339
|
+
};
|
|
10340
|
+
enrollment: "required" | "none";
|
|
10341
|
+
posts: "after-enrollment" | "since-start";
|
|
10342
|
+
historical: "staff" | "automatic" | "claim";
|
|
10343
|
+
} | undefined;
|
|
10344
|
+
} | {
|
|
9562
10345
|
kind: "manual";
|
|
9563
10346
|
input: "text";
|
|
9564
10347
|
constraints: {
|
|
@@ -9579,12 +10362,6 @@ declare function createRelayClient(options: {
|
|
|
9579
10362
|
kind: "manual";
|
|
9580
10363
|
input: "quiz" | "photo" | "none";
|
|
9581
10364
|
actor?: "member" | "staff" | undefined;
|
|
9582
|
-
} | {
|
|
9583
|
-
kind: "automatic";
|
|
9584
|
-
observation?: {
|
|
9585
|
-
source: string;
|
|
9586
|
-
type: string;
|
|
9587
|
-
} | undefined;
|
|
9588
10365
|
};
|
|
9589
10366
|
requires: {
|
|
9590
10367
|
quest: string;
|
|
@@ -9615,6 +10392,10 @@ declare function createRelayClient(options: {
|
|
|
9615
10392
|
createdAt: number;
|
|
9616
10393
|
legacy: boolean;
|
|
9617
10394
|
lifecycle: "active" | "paused" | "archived";
|
|
10395
|
+
performance?: {
|
|
10396
|
+
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
10397
|
+
maxAgeMs: number;
|
|
10398
|
+
} | undefined;
|
|
9618
10399
|
key?: string | undefined;
|
|
9619
10400
|
origin?: {
|
|
9620
10401
|
typeVersion: string;
|
|
@@ -9668,6 +10449,22 @@ declare function createRelayClient(options: {
|
|
|
9668
10449
|
};
|
|
9669
10450
|
connections: ("google" | "apple" | "x" | "discord")[];
|
|
9670
10451
|
trigger: {
|
|
10452
|
+
kind: "automatic";
|
|
10453
|
+
observation?: {
|
|
10454
|
+
source: string;
|
|
10455
|
+
type: string;
|
|
10456
|
+
} | undefined;
|
|
10457
|
+
content?: {
|
|
10458
|
+
tracker: string;
|
|
10459
|
+
window: {
|
|
10460
|
+
start: number;
|
|
10461
|
+
end?: number | undefined;
|
|
10462
|
+
};
|
|
10463
|
+
enrollment: "required" | "none";
|
|
10464
|
+
posts: "after-enrollment" | "since-start";
|
|
10465
|
+
historical: "staff" | "automatic" | "claim";
|
|
10466
|
+
} | undefined;
|
|
10467
|
+
} | {
|
|
9671
10468
|
kind: "manual";
|
|
9672
10469
|
input: "text";
|
|
9673
10470
|
constraints: {
|
|
@@ -9688,12 +10485,6 @@ declare function createRelayClient(options: {
|
|
|
9688
10485
|
kind: "manual";
|
|
9689
10486
|
input: "quiz" | "photo" | "none";
|
|
9690
10487
|
actor?: "member" | "staff" | undefined;
|
|
9691
|
-
} | {
|
|
9692
|
-
kind: "automatic";
|
|
9693
|
-
observation?: {
|
|
9694
|
-
source: string;
|
|
9695
|
-
type: string;
|
|
9696
|
-
} | undefined;
|
|
9697
10488
|
};
|
|
9698
10489
|
availability: {
|
|
9699
10490
|
kind: "available";
|
|
@@ -10069,6 +10860,177 @@ declare function createRelayClient(options: {
|
|
|
10069
10860
|
type: "image/jpeg" | "image/png";
|
|
10070
10861
|
size: number;
|
|
10071
10862
|
}>;
|
|
10863
|
+
engagement: {
|
|
10864
|
+
boundaries: (input: z.output<typeof engagementPageQuerySchema>) => Promise<{
|
|
10865
|
+
current: {
|
|
10866
|
+
version: string;
|
|
10867
|
+
definition: {
|
|
10868
|
+
key: string;
|
|
10869
|
+
qualifiedBy: string;
|
|
10870
|
+
balance: string;
|
|
10871
|
+
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
10872
|
+
baseline: "historical";
|
|
10873
|
+
maxAgeMs: number;
|
|
10874
|
+
budget: {
|
|
10875
|
+
projectDaily?: number | undefined;
|
|
10876
|
+
memberDaily?: number | undefined;
|
|
10877
|
+
projectLifetime?: number | undefined;
|
|
10878
|
+
};
|
|
10879
|
+
};
|
|
10880
|
+
publishedAt: number;
|
|
10881
|
+
} | null;
|
|
10882
|
+
requested: {
|
|
10883
|
+
version: string;
|
|
10884
|
+
definition: {
|
|
10885
|
+
key: string;
|
|
10886
|
+
qualifiedBy: string;
|
|
10887
|
+
balance: string;
|
|
10888
|
+
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
10889
|
+
baseline: "historical";
|
|
10890
|
+
maxAgeMs: number;
|
|
10891
|
+
budget: {
|
|
10892
|
+
projectDaily?: number | undefined;
|
|
10893
|
+
memberDaily?: number | undefined;
|
|
10894
|
+
projectLifetime?: number | undefined;
|
|
10895
|
+
};
|
|
10896
|
+
};
|
|
10897
|
+
publishedAt: number;
|
|
10898
|
+
};
|
|
10899
|
+
items: {
|
|
10900
|
+
from: string;
|
|
10901
|
+
to: string;
|
|
10902
|
+
baseline: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
|
|
10903
|
+
observedAt: number;
|
|
10904
|
+
settlement: {
|
|
10905
|
+
id: string;
|
|
10906
|
+
day: string;
|
|
10907
|
+
observation: string;
|
|
10908
|
+
qualification: string;
|
|
10909
|
+
earned: number;
|
|
10910
|
+
growth: number;
|
|
10911
|
+
paid: number;
|
|
10912
|
+
excluded: number;
|
|
10913
|
+
entry: string | null;
|
|
10914
|
+
createdAt: number;
|
|
10915
|
+
};
|
|
10916
|
+
}[];
|
|
10917
|
+
next: number | null;
|
|
10918
|
+
}>;
|
|
10919
|
+
page: (input: z.output<typeof engagementPageQuerySchema>) => Promise<{
|
|
10920
|
+
rule: {
|
|
10921
|
+
version: string;
|
|
10922
|
+
definition: {
|
|
10923
|
+
key: string;
|
|
10924
|
+
qualifiedBy: string;
|
|
10925
|
+
balance: string;
|
|
10926
|
+
metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
|
|
10927
|
+
baseline: "historical";
|
|
10928
|
+
maxAgeMs: number;
|
|
10929
|
+
budget: {
|
|
10930
|
+
projectDaily?: number | undefined;
|
|
10931
|
+
memberDaily?: number | undefined;
|
|
10932
|
+
projectLifetime?: number | undefined;
|
|
10933
|
+
};
|
|
10934
|
+
};
|
|
10935
|
+
publishedAt: number;
|
|
10936
|
+
};
|
|
10937
|
+
account: {
|
|
10938
|
+
member: string;
|
|
10939
|
+
earned: number;
|
|
10940
|
+
accounted: number;
|
|
10941
|
+
paid: number;
|
|
10942
|
+
excluded: number;
|
|
10943
|
+
pending: number;
|
|
10944
|
+
counters: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
|
|
10945
|
+
baseline: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
|
|
10946
|
+
observation: string | null;
|
|
10947
|
+
nextSettlementAt: number | null;
|
|
10948
|
+
reason: string | null;
|
|
10949
|
+
} | null;
|
|
10950
|
+
items: {
|
|
10951
|
+
id: string;
|
|
10952
|
+
day: string;
|
|
10953
|
+
observation: string;
|
|
10954
|
+
qualification: string;
|
|
10955
|
+
earned: number;
|
|
10956
|
+
growth: number;
|
|
10957
|
+
paid: number;
|
|
10958
|
+
excluded: number;
|
|
10959
|
+
entry: string | null;
|
|
10960
|
+
createdAt: number;
|
|
10961
|
+
}[];
|
|
10962
|
+
next: number | null;
|
|
10963
|
+
}>;
|
|
10964
|
+
};
|
|
10965
|
+
content: {
|
|
10966
|
+
performance: (input: z.output<typeof contentPerformanceQuerySchema>) => Promise<{
|
|
10967
|
+
current: {
|
|
10968
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "content-pending" | "content-unqualified" | "waiting";
|
|
10969
|
+
reason: string | null;
|
|
10970
|
+
contentAttempt: string;
|
|
10971
|
+
attempt: string | null;
|
|
10972
|
+
reward: {
|
|
10973
|
+
attempt: string | null;
|
|
10974
|
+
completion: string | null;
|
|
10975
|
+
state: "awarded" | "excluded" | "unresolved";
|
|
10976
|
+
};
|
|
10977
|
+
};
|
|
10978
|
+
items: {
|
|
10979
|
+
attempt: string;
|
|
10980
|
+
contentAttempt: string;
|
|
10981
|
+
observation: string;
|
|
10982
|
+
observedAt: number;
|
|
10983
|
+
metrics: Partial<Record<"likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks", number>>;
|
|
10984
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified";
|
|
10985
|
+
reason: string | null;
|
|
10986
|
+
}[];
|
|
10987
|
+
next: number | null;
|
|
10988
|
+
}>;
|
|
10989
|
+
qualifications: (input: z.output<typeof contentQualificationQuerySchema>) => Promise<{
|
|
10990
|
+
items: {
|
|
10991
|
+
quest: string;
|
|
10992
|
+
content: string;
|
|
10993
|
+
member: string;
|
|
10994
|
+
release: string;
|
|
10995
|
+
attempt: string;
|
|
10996
|
+
revision: string;
|
|
10997
|
+
observation: string;
|
|
10998
|
+
current: boolean;
|
|
10999
|
+
state: "needs-review" | "pending" | "failed" | "superseded" | "qualified" | "unqualified" | "stale" | "blocked" | "unavailable";
|
|
11000
|
+
reason: string | null;
|
|
11001
|
+
reward: {
|
|
11002
|
+
attempt: string | null;
|
|
11003
|
+
completion: string | null;
|
|
11004
|
+
state: "awarded" | "excluded" | "unresolved";
|
|
11005
|
+
};
|
|
11006
|
+
}[];
|
|
11007
|
+
next: number | null;
|
|
11008
|
+
}>;
|
|
11009
|
+
admissions: (input: z.input<typeof contentAdmissionQuerySchema>) => Promise<{
|
|
11010
|
+
items: {
|
|
11011
|
+
quest: string;
|
|
11012
|
+
content: string;
|
|
11013
|
+
release: string;
|
|
11014
|
+
state: "pending" | "admitted" | "excluded";
|
|
11015
|
+
reason: string | null;
|
|
11016
|
+
attempt: string | null;
|
|
11017
|
+
}[];
|
|
11018
|
+
next: string | null;
|
|
11019
|
+
}>;
|
|
11020
|
+
enroll: (input: z.input<typeof contentEnrollmentInputSchema>) => Promise<{
|
|
11021
|
+
quest: string;
|
|
11022
|
+
member: string;
|
|
11023
|
+
enrolledAt: number;
|
|
11024
|
+
}>;
|
|
11025
|
+
claim: (input: z.input<typeof contentReleaseInputSchema>) => Promise<{
|
|
11026
|
+
quest: string;
|
|
11027
|
+
content: string;
|
|
11028
|
+
release: string;
|
|
11029
|
+
state: "pending" | "admitted" | "excluded";
|
|
11030
|
+
reason: string | null;
|
|
11031
|
+
attempt: string | null;
|
|
11032
|
+
}>;
|
|
11033
|
+
};
|
|
10072
11034
|
submit: (input: SubmitInput) => Promise<{
|
|
10073
11035
|
id: string;
|
|
10074
11036
|
release: string;
|
|
@@ -10236,4 +11198,4 @@ declare function createRelayClient(options: {
|
|
|
10236
11198
|
}>;
|
|
10237
11199
|
};
|
|
10238
11200
|
|
|
10239
|
-
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, ValueEvidence, type ValueSubmission, 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 };
|
|
11201
|
+
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, ValueEvidence, type ValueSubmission, allocateQuestSchema, allocatedQuestSchema, authScopeSchema, beginHandoverSchema, catalogDeploymentPreviewSchema, catalogDeploymentSchema, collectionBeginSchema, collectionCodeSchema, collectionPassSchema, collectionPreviewSchema, collectionResolveSchema, collectionSlotDeclarationSchema, collectionSlotSchema, collectionViewSchema, contentAdmissionQuerySchema, contentEnrollmentInputSchema, contentPerformanceQuerySchema, contentQualificationQuerySchema, contentReleaseInputSchema, createPointLedgerSchema, createRelayClient, deploymentPreviewSchema, deploymentResultSchema, engagementPageQuerySchema, 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 };
|