@domino-sdk/relay 1.2.0 → 1.4.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/browser.d.ts CHANGED
@@ -6,6 +6,6 @@ import './submission-input-BZkm6ohU.js';
6
6
  import './wallet-YssWxGg8.js';
7
7
  import './schema-DfJzH2ci.js';
8
8
  import './profiles-D2aFcOxu.js';
9
- export { C as CosmosChains, D as DiscoveredWallet, f as Eip1193Provider, E as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, g as SignInClient, e as SignInIcon, S as SignInMethods, a as SignInOption, h as SignInOptions, b as SignInUnavailable, d as SignInWallet, i as SolanaInjectedProvider, j as StandardWallet, k as StandardWalletAccount, W as WalletSignInOption, l as browserSubmissionStore, m as cosmosChainList, n as cosmosSigner, c as createBrowserRelayClient, o as discoverCosmosWallets, p as discoverEvmWallets, q as discoverSignInWallets, r as discoverSolanaWallets, s as evmSigner, t as signInOptions, u as solanaSigner, w as walletStandardSolanaSigner } from './browser-Cho1duR6.js';
9
+ export { C as CosmosChains, D as DiscoveredWallet, f as Eip1193Provider, E as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, g as SignInClient, e as SignInIcon, S as SignInMethods, a as SignInOption, h as SignInOptions, b as SignInUnavailable, d as SignInWallet, i as SolanaInjectedProvider, j as StandardWallet, k as StandardWalletAccount, W as WalletSignInOption, l as browserSubmissionStore, m as cosmosChainList, n as cosmosSigner, c as createBrowserRelayClient, o as discoverCosmosWallets, p as discoverEvmWallets, q as discoverSignInWallets, r as discoverSolanaWallets, s as evmSigner, t as signInOptions, u as solanaSigner, w as walletStandardSolanaSigner } from './browser-Cf1opQjX.js';
10
10
  import 'zod';
11
11
  import './request-error-DWduJCGV.js';
@@ -7,8 +7,8 @@ import { aG as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollm
7
7
  import { E as Entitlement, a as AttemptStatus, h as TrackerSkipCode, bI as submitSchema, aI as contentPerformanceQuerySchema, T as TieredRewardReference } from '../schema-DfJzH2ci.js';
8
8
  import { y as walletAddressInputSchema, I as walletSignatureSchema, L as LinkedWallet, f as WalletSigner, d as WalletSignInNetwork } from '../wallet-YssWxGg8.js';
9
9
  import { F as profileUpdateSchema, c as ProfileCompletionQuery, f as ProfileUpdate, e as ProfileSummary, a as ProfileCompletion, d as ProfileReferral } from '../profiles-D2aFcOxu.js';
10
- import { c as createBrowserRelayClient, J as JSONType, S as SignInMethods, C as CosmosChains, a as SignInOption, b as SignInUnavailable, d as SignInWallet, D as DiscoveredWallet } from '../browser-Cho1duR6.js';
11
- export { E as EmailSignInOption, O as OAuthSignInOption, e as SignInIcon, W as WalletSignInOption } from '../browser-Cho1duR6.js';
10
+ import { c as createBrowserRelayClient, J as JSONType, S as SignInMethods, C as CosmosChains, a as SignInOption, b as SignInUnavailable, d as SignInWallet, D as DiscoveredWallet } from '../browser-Cf1opQjX.js';
11
+ export { E as EmailSignInOption, O as OAuthSignInOption, e as SignInIcon, W as WalletSignInOption } from '../browser-Cf1opQjX.js';
12
12
  import * as zod from 'zod';
13
13
  import { z } from 'zod';
14
14
  import { a as AuthProvider, A as AccountConnection } from '../submission-input-BZkm6ohU.js';
package/dist/schema.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { i as AccountRole, j as AppIdentityKind, A as Attempt, a as AttemptStatus, B as Bound, C as Condition, k as ContentBody, l as ContentMetricName, m as ContentPerformanceSnapshot, D as DataLeaves, n as Decision, E as Entitlement, o as EntitlementCorrection, p as EntitlementState, b as EvaluatorProgress, I as IdentityKind, K as KnownAttemptStatus, q as KnownIdentityKind, c as KnownTrackerSkipCode, r as MemberIdentity, s as MemberPage, M as MemberProgress, O as OpenIdentityKind, P as PhotoResult, t as PickupAvailability, u as PublishedRelease, v as QuestAvailability, Q as QuestBudgetView, w as QuestDescription, d as QuestPresentation, e as QuestProfile, x as QuestSettingsInput, f as QuizEvidence, y as ReleaseInput, z as ReviewPage, R as Reward, F as RoleOf, G as Snapshot, H as SourceRoles, S as SubmissionEvidence, g as SubmitInput, J as TextResult, L as TextReviewInput, N as TieredRewardDefinition, T as TieredRewardReference, U as Tracker, V as TrackerAccount, W as TrackerAttribution, X as TrackerBound, Y as TrackerCondition, Z as TrackerContent, _ as TrackerContentQuery, $ as TrackerData, a0 as TrackerDataIssue, a1 as TrackerDataSchema, a2 as TrackerDefinition, a3 as TrackerDefinitionResponse, a4 as TrackerOutcome, a5 as TrackerOutcomeQuery, a6 as TrackerPage, a7 as TrackerPreview, a8 as TrackerPreviewInput, a9 as TrackerQuery, aa as TrackerReadQuery, ab as TrackerReader, ac as TrackerRecord, h as TrackerSkipCode, ad as TrackerSource, ae as TrackerSourceKind, af as TrackerSourceResponse, ag as TrackerStatus, ah as TrackerTriggerContext, ai as TrackerTriggerMode, aj as TrackerTriggerPolicy, ak as TrackerWhere, al as TriggerEnrollment, am as TriggerHistorical, an as TriggerSince, ao as TypedTrackerRecord, ap as Where, aq as WhereSetting, ar as WithAccountRoles, as as WithContent, at as WithRecordData, au as XContentMetric, av as XTweet, aw as accountRoleSchema, ax as appIdentityKindSchema, ay as artifactSchema, az as attemptSchema, aA as batchReleaseSchema, aB as beginHandoverSchema, aC as beneficiaryRole, aD as completionRecordSchema, aE as configurePickupSchema, aF as confirmHandoverSchema, aG as contentMetricNameSchema, aH as contentPerformancePageSchema, aI as contentPerformanceQuerySchema, aJ as contentPerformanceSnapshotSchema, aK as createStockItemSchema, aL as customContentSchema, aM as customSourceSchema, aN as decisionSchema, aO as defaultTriggerMode, aP as deferPolicy, aQ as entitlementCorrectionSchema, aR as entitlementRecoverySchema, aS as entitlementSchema, aT as entitlementStateSchema, aU as errorSchema, aV as evaluatorProgressSchema, aW as evaluatorProtocol, aX as evaluatorProtocolSchema, aY as eventSchema, aZ as evidenceSchema, a_ as identityKindSchema, a$ as integrationRewardSchema, b0 as isAppIdentityKind, b1 as isKnownTrackerSource, b2 as knownIdentityKinds, b3 as mediaUrlSchema, b4 as memberIdentitySchema, b5 as memberListSchema, b6 as memberPageSchema, b7 as memberProgressSchema, b8 as openIdentityKindSchema, b9 as photoResultSchema, ba as pickupAllocationSchema, bb as pickupAvailabilitySchema, bc as pickupCatalogSchema, bd as pickupPolicySchema, be as pickupSelectionSchema, bf as pointsRewardSchema, bg as publishedReleaseSchema, bh as publishedTrackerSchema, bi as questAvailabilitySchema, bj as questBudgetViewSchema, bk as questDescriptionSchema, bl as questPresentationSchema, bm as questProfileSchema, bn as questSettingsInputSchema, bo as quizAnswersSchema, bp as quizEvidenceSchema, bq as releaseSchema, br as reservationSchema, bs as reviewItemSchema, bt as reviewListSchema, bu as reviewModeSchema, bv as reviewPageSchema, bw as rewardBundleSchema, bx as rewardKey, by as rewardSchema, bz as snapshotSchema, bA as sourceContent, bB as sourceIdentities, bC as staffDecisionSchema, bD as stockItemSchema, bE as stockSchema, bF as storedQuestDescriptionSchema, bG as storedReviewModeSchema, bH as submissionEvidenceSchema, bI as submitSchema, bJ as templateSchema, bK as textResultSchema, bL as textReviewInputSchema, bM as tierRewardSchema, bN as tieredRewardDefinitionSchema, bO as tieredRewardReferenceSchema, bP as trackerAccountSchema, bQ as trackerArtifactSchema, bR as trackerAttributionSchema, bS as trackerBoundSchema, bT as trackerConditionSchema, bU as trackerContentQuerySchema, bV as trackerContentReadSchema, bW as trackerContentSchema, bX as trackerContentStageSchema, bY as trackerControlSchema, bZ as trackerDataMaxBranches, b_ as trackerDataMaxEntries, b$ as trackerDataSchemaSchema, c0 as trackerDefinitionResponseSchema, c1 as trackerDefinitionSchema, c2 as trackerEvidenceSchema, c3 as trackerIngestResultSchema, c4 as trackerIngestSchema, c5 as trackerOutcomePageSchema, c6 as trackerOutcomeQuerySchema, c7 as trackerOutcomeRetrySchema, c8 as trackerOutcomeSchema, c9 as trackerPageSchema, ca as trackerPreviewInputSchema, cb as trackerPreviewLimits, cc as trackerPreviewSchema, cd as trackerQuerySchema, ce as trackerRecordAccountSchema, cf as trackerRecordInputSchema, cg as trackerRecordSchema, ch as trackerSkipCodes, ci as trackerSourceKinds, cj as trackerSourceResponseSchema, ck as trackerSourceSchema, cl as trackerStatusSchema, cm as trackerSummarySchema, cn as trackerTriggerContextSchema, co as trackerTriggerModeSchema, cp as trackerTriggerPolicySchema, cq as trackerTriggerRecordSchema, cr as trackerWhereSchema, cs as triggerAdmission, ct as triggerEnrollmentSchema, cu as triggerHistoricalSchema, cv as triggerMode, cw as triggerSchema, cx as triggerSinceSchema, cy as whereConditions, cz as whereSettings, cA as xAccountRoles, cB as xContentBodySchema, cC as xContentMetrics, cD as xSearchSourceSchema, cE as xTweetSchema } from './schema-DfJzH2ci.js';
2
2
  export { A as AccountConnection, a as AuthProvider, D as DiscordMember, d as DiscordMessage, e as DiscordMessageData, f as DiscordMessageTextData, g as DiscordReactionData, h as DiscordReader, M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, b as TextOptions, U as UrlEvidence, c as UrlOptions, V as ValueEvidence, i as accountConnectionSchema, j as authProviderSchema, k as balanceAtLeast, l as balancePrerequisiteSchema, m as completed, n as completionPrerequisiteSchema, o as discordMemberInputSchema, p as discordMemberSchema, q as discordMessageDataSchema, r as discordMessageInputSchema, s as discordMessageSchema, t as discordMessageTextDataSchema, u as discordMessagesSourceSchema, v as discordReactionDataSchema, w as discordReactionsSourceSchema, x as discordResourceSourceSchema, y as discordRewardSchema, z as groupPrerequisiteSchema, B as inGroup, C as missingPrerequisiteSchema, E as prerequisiteSchema, F as textEvidenceSchema, G as textOptionsSchema, H as urlEvidenceSchema, I as urlOptionsSchema, J as validateSubmissionValue, K as valueEvidenceSchema, L as xPostId } from './submission-input-BZkm6ohU.js';
3
3
  export { E as ExchangeInput, M as MemberSummary, P as Page, a as PageQuery, b as ParticipantActivity, c as ParticipantPrincipal, d as ParticipantSession, R as RelayEvent, S as Session, e as authScopeSchema, f as exchangeResultSchema, g as exchangeSchema, k as knownRelayEventSchema, m as memberSummarySchema, p as pageCursorSchema, h as pageQuerySchema, i as participantActivityQuerySchema, j as participantActivitySchema, l as participantPrincipalSchema, n as participantSessionSchema, o as principalSchema, r as relayEventSchema, s as sessionMember, q as sessionSchema } from './pages-BBYD21IE.js';
4
- export { C as CalendarPeriod, D as DeploymentPreview, a as DeploymentRecord, P as ProjectCalendar, b as ProjectCalendarInput, c as activityTypeSchema, d as activityTypes, e as calendarPeriodSchema, f as canonicalTimeZone, g as deploymentPreviewSchema, h as deploymentRecordSchema, i as deploymentResultSchema, j as deploymentSourceSchema, p as projectCalendarDeclarationSchema, k as projectCalendarInputSchema, l as projectCalendarSchema, m as projectCatalogArtifactSchema, n as projectDeploymentSchema, o as promoteDeploymentSchema, q as publishDeploymentSchema, r as refuseStreakTimeZone, s as refuseWindowTimeZone, t as rejectDeploymentSchema, u as rollbackDeploymentSchema, v as submitDeploymentSchema, w as timeZoneNameSchema, x as timeZoneSchema } from './activity-o1E-Hqyt.js';
4
+ export { C as CalendarPeriod, D as DeploymentPreview, a as DeploymentRecord, P as ProjectCalendar, b as ProjectCalendarInput, c as activityTypeSchema, d as activityTypes, e as calendarPeriodSchema, f as canonicalTimeZone, g as deploymentPreviewSchema, h as deploymentRecordSchema, i as deploymentResultSchema, j as deploymentSourceSchema, p as projectCalendarDeclarationSchema, k as projectCalendarInputSchema, l as projectCalendarSchema, m as projectCatalogArtifactSchema, n as projectDeploymentSchema, o as promoteDeploymentSchema, q as publishDeploymentSchema, r as refuseStreakTimeZone, s as refuseWindowTimeZone, t as rejectDeploymentSchema, u as rollbackDeploymentSchema, v as submitDeploymentSchema, w as timeZoneNameSchema, x as timeZoneSchema } from './activity-B8k9Sa_a.js';
5
5
  export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, E as EngagementBudget, q as EngagementDefinition, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, r as LeaderboardSettlement, s as LeaderboardSettlementPolicy, t as LeaderboardSettlementSummary, u as ManagedPointLedger, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, v as PointLedger, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition, w as availabilityWindowSchema, x as campaignDefinitionSchema, y as campaignEnrollmentInputSchema, z as campaignEnrollmentSchema, B as campaignViewSchema, D as campaignWithdrawalInputSchema, F as createPointLedgerSchema, G as defineCampaign, H as defineGroup, I as engagementArtifactSchema, J as engagementBoundaryPageSchema, N as engagementBudgetSchema, O as engagementChangePreviewInputSchema, Q as engagementChangePreviewSchema, S as engagementChangeSchema, T as engagementDefinitionSchema, U as engagementDeploymentEntrySchema, V as engagementPageQuerySchema, W as engagementPageSchema, X as engagementPublishSchema, Y as engagementRuleSchema, Z as engagementScoreInputSchema, _ as engagementScoreSchema, $ as engagementSettlementSchema, a0 as engagementVersionPageSchema, a1 as engagementVersionQuerySchema, a2 as leaderboardArtifactSchema, a3 as leaderboardAuthoringSchema, a4 as leaderboardDefinitionSchema, a5 as leaderboardExclusionSchema, a6 as leaderboardGroupSchema, a7 as leaderboardPageSchema, a8 as leaderboardPlacementSchema, a9 as leaderboardPreviewSchema, aa as leaderboardPrizeRewardSchema, ab as leaderboardPrizeSchema, ac as leaderboardQuerySchema, ad as leaderboardRowSchema, ae as leaderboardSettlementApprovalSchema, af as leaderboardSettlementPolicySchema, ag as leaderboardSettlementRowSchema, ah as leaderboardSettlementSchema, ai as leaderboardSettlementStatusSchema, aj as leaderboardSettlementSummarySchema, ak as leaderboardWindowSchema, al as managedPointLedgerSchema, am as memberCampaignEnrollmentInputSchema, an as memberCampaignWithdrawalInputSchema, ao as pointBalanceSchema, ap as pointBalancesSchema, aq as pointEntrySchema, ar as pointHistoryPageSchema, as as pointHistoryQuerySchema, at as pointLedgerArtifactSchema, au as pointLedgerDeclarationSchema, av as pointLedgerPropertiesSchema, aw as pointLedgerReferenceSchema, ax as pointLedgerSchema, ay as pointsAccountSchema, az as pointsEntrySchema, aA as pointsMutationSchema, aB as pointsResultSchema, aC as projectGroupKey, aD as projectGroupSchema, aE as publishedLeaderboardSchema, aF as publishedReferralSchema, aG as referralAcceptSchema, aH as referralAccountSchema, aI as referralArtifactSchema, aJ as referralAuthoringSchema, aK as referralControlSchema, aL as referralDefinitionSchema, aM as referralHistorySchema, aN as referralManagementSchema, aO as referralRelationshipSchema, aP as referralSummarySchema } from './groups-Ck-OxzjD.js';
6
6
  export { C as ContentMetric, j as ContentPerformancePolicy, M as MemberEnrollmentInput, k as QuestCatalog, Q as QuestClaimInput, l as QuestDraft, a as QuestEnrollment, b as QuestEnrollmentInput, m as QuestInstance, c as QuestInteraction, d as QuestOutcome, e as QuestOutcomePage, f as QuestOutcomeQuery, g as QuestOutcomeState, h as QuestRewardView, i as QuestView, R as RewardDelivery, n as RewardDeliveryAction, o as allocateQuestSchema, p as allocatedQuestSchema, q as catalogDeploymentPreviewSchema, r as catalogDeploymentSchema, s as collectionSlotDeclarationSchema, t as collectionSlotSchema, u as collectionViewSchema, v as contentMetricSchema, w as contentMetricsSchema, x as contentPerformancePolicySchema, y as contentQualificationDecisionSchema, z as contentQualificationPageSchema, A as contentQualificationQuerySchema, B as contentQualificationSchema, D as interactionSchema, E as knownRewardDeliverySchema, F as memberEnrollmentInputSchema, G as publishQuestDraftSchema, H as questCatalogSchema, I as questClaimInputSchema, J as questCollectionSchema, K as questDraftChangesSchema, L as questDraftSchema, N as questEnrollmentInputSchema, O as questEnrollmentSchema, P as questExperienceSchema, S as questInstanceSchema, T as questInteraction, U as questOutcomePageSchema, V as questOutcomeQuerySchema, W as questOutcomeSchema, X as questPublicationPreviewSchema, Y as questRewardViewSchema, Z as questTypeVersionSchema, _ as questViewSchema, $ as rewardDeliveriesSchema, a0 as rewardDeliverySchema, a1 as roleReconciliationSchema, a2 as saveQuestDraftSchema } from './outcomes-kVB-Juzs.js';
7
7
  export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress, f as automaticCatchUpConfirmSchema, g as automaticCatchUpInputSchema, h as automaticCatchUpPreviewSchema, i as automaticCatchUpResultSchema, j as automaticEventSchema, k as automaticOutcomePageSchema, l as automaticOutcomeQuerySchema, m as automaticOutcomeSchema, n as automaticSchedulingPageSchema, o as automaticSchedulingQuerySchema, p as automaticSchedulingRetrySchema, q as automaticSchedulingSchema, r as collectionBeginSchema, s as collectionCodeSchema, t as collectionPassSchema, u as collectionPreviewSchema, v as collectionResolveSchema, w as counterAchievementSchema, x as counterContributionSchema, y as counterGoalSchema, z as counterHistoryQuerySchema, B as counterHistorySchema, D as counterModerationResultSchema, E as counterModerationSchema, F as counterPolicySchema, G as counterProgressSchema, H as counterWindowSchema } from './automatic-outcomes-B1xrETxm.js';
@@ -1,10 +1,10 @@
1
1
  import { A as contentQualificationQuerySchema, r as catalogDeploymentSchema, a2 as saveQuestDraftSchema, G as publishQuestDraftSchema, n as RewardDeliveryAction, F as memberEnrollmentInputSchema, o as allocateQuestSchema } from '../outcomes-kVB-Juzs.js';
2
- import { O as OpenIdentityKind, a1 as TrackerDataSchema, a9 as TrackerQuery, bV as trackerContentReadSchema, bY as trackerControlSchema, c4 as trackerIngestSchema, a5 as TrackerOutcomeQuery, c7 as trackerOutcomeRetrySchema, a8 as TrackerPreviewInput, aI as contentPerformanceQuerySchema, a as AttemptStatus, aE as configurePickupSchema, bn as questSettingsInputSchema, bI as submitSchema, bC as staffDecisionSchema, aB as beginHandoverSchema, aF as confirmHandoverSchema, aQ as entitlementCorrectionSchema, aK as createStockItemSchema } from '../schema-DfJzH2ci.js';
2
+ import { a as AttemptStatus, O as OpenIdentityKind, a1 as TrackerDataSchema, a9 as TrackerQuery, bV as trackerContentReadSchema, bY as trackerControlSchema, c4 as trackerIngestSchema, a5 as TrackerOutcomeQuery, c7 as trackerOutcomeRetrySchema, a8 as TrackerPreviewInput, aI as contentPerformanceQuerySchema, aE as configurePickupSchema, bn as questSettingsInputSchema, bI as submitSchema, bC as staffDecisionSchema, aB as beginHandoverSchema, aF as confirmHandoverSchema, aQ as entitlementCorrectionSchema, aK as createStockItemSchema } from '../schema-DfJzH2ci.js';
3
3
  export { aS as entitlementSchema, b4 as memberIdentitySchema } from '../schema-DfJzH2ci.js';
4
4
  import { z } from 'zod';
5
5
  import { r as collectionBeginSchema, z as counterHistoryQuerySchema, E as counterModerationSchema, o as automaticSchedulingQuerySchema, p as automaticSchedulingRetrySchema, l as automaticOutcomeQuerySchema, g as automaticCatchUpInputSchema, f as automaticCatchUpConfirmSchema } from '../automatic-outcomes-B1xrETxm.js';
6
- import { n as projectDeploymentSchema, q as publishDeploymentSchema, v as submitDeploymentSchema, t as rejectDeploymentSchema, o as promoteDeploymentSchema, u as rollbackDeploymentSchema, k as projectCalendarInputSchema } from '../activity-o1E-Hqyt.js';
7
- export { c as activityTypeSchema, d as activityTypes } from '../activity-o1E-Hqyt.js';
6
+ import { n as projectDeploymentSchema, q as publishDeploymentSchema, v as submitDeploymentSchema, t as rejectDeploymentSchema, o as promoteDeploymentSchema, u as rollbackDeploymentSchema, k as projectCalendarInputSchema } from '../activity-B8k9Sa_a.js';
7
+ export { c as activityTypeSchema, d as activityTypes } from '../activity-B8k9Sa_a.js';
8
8
  import { O as engagementChangePreviewInputSchema, S as engagementChangeSchema, a1 as engagementVersionQuerySchema, V as engagementPageQuerySchema, X as engagementPublishSchema, ax as pointLedgerSchema, aA as pointsMutationSchema, aK as referralControlSchema, ac as leaderboardQuerySchema, a5 as leaderboardExclusionSchema, p as ProjectGroupReference, a6 as leaderboardGroupSchema, am as memberCampaignEnrollmentInputSchema, an as memberCampaignWithdrawalInputSchema, F as createPointLedgerSchema, ae as leaderboardSettlementApprovalSchema } from '../groups-Ck-OxzjD.js';
9
9
  import { h as offerControlSchema, m as redemptionCancellationSchema } from '../offers-Cy-e4o5x.js';
10
10
  import { C as profileSettingsInputSchema, z as profileModerationSchema } from '../profiles-D2aFcOxu.js';
@@ -16,6 +16,8 @@ declare const testMemberSchema: z.ZodObject<{
16
16
  id: z.ZodString;
17
17
  name: z.ZodString;
18
18
  test: z.ZodLiteral<true>;
19
+ today: z.ZodOptional<z.ZodISODate>;
20
+ offsetDays: z.ZodOptional<z.ZodNumber>;
19
21
  }, z.core.$strip>;
20
22
  declare const testMemberCreateSchema: z.ZodObject<{
21
23
  actionId: z.ZodString;
@@ -45,6 +47,10 @@ declare const testMemberActionSchema: z.ZodObject<{
45
47
  declare const testMemberResetSchema: z.ZodObject<{
46
48
  actionId: z.ZodString;
47
49
  }, z.core.$strict>;
50
+ declare const testMemberAdvanceSchema: z.ZodObject<{
51
+ actionId: z.ZodString;
52
+ days: z.ZodNumber;
53
+ }, z.core.$strict>;
48
54
  declare const testMemberResetResultSchema: z.ZodObject<{
49
55
  member: z.ZodString;
50
56
  deleted: z.ZodLiteral<true>;
@@ -53,7 +59,90 @@ type TestMember = z.infer<typeof testMemberSchema>;
53
59
  type TestMemberCreateInput = z.input<typeof testMemberCreateSchema>;
54
60
  type TestMemberActionInput = z.input<typeof testMemberActionSchema>;
55
61
  type TestMemberResetInput = z.input<typeof testMemberResetSchema>;
62
+ type TestMemberAdvanceInput = z.input<typeof testMemberAdvanceSchema>;
56
63
  type TestMemberResetResult = z.infer<typeof testMemberResetResultSchema>;
64
+ declare const testMemberHistoryQuerySchema: z.ZodObject<{
65
+ since: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
66
+ }, z.core.$strip>;
67
+ declare const testMemberHistorySchema: z.ZodObject<{
68
+ attempts: z.ZodArray<z.ZodObject<{
69
+ id: z.ZodString;
70
+ release: z.ZodString;
71
+ quest: z.ZodString;
72
+ member: z.ZodString;
73
+ evidence: z.ZodNullable<z.ZodString>;
74
+ input: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
75
+ kind: z.ZodLiteral<"quiz">;
76
+ release: z.ZodOptional<z.ZodString>;
77
+ answers: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodString>, z.ZodTransform<{
78
+ [k: string]: string;
79
+ }, Record<string, string>>>;
80
+ }, z.core.$strict>, z.ZodObject<{
81
+ kind: z.ZodLiteral<"text">;
82
+ value: z.ZodString;
83
+ }, z.core.$strict>, z.ZodObject<{
84
+ kind: z.ZodLiteral<"url">;
85
+ value: z.ZodString;
86
+ }, z.core.$strict>]>>;
87
+ status: z.ZodType<AttemptStatus, unknown, z.core.$ZodTypeInternals<AttemptStatus, unknown>>;
88
+ reason: z.ZodNullable<z.ZodString>;
89
+ retries: z.ZodNumber;
90
+ generation: z.ZodNumber;
91
+ completion: z.ZodNullable<z.ZodString>;
92
+ reviewRewards: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
93
+ kind: z.ZodDefault<z.ZodLiteral<"points">>;
94
+ balance: z.ZodString;
95
+ amount: z.ZodNumber;
96
+ }, z.core.$strict>, z.ZodObject<{
97
+ kind: z.ZodLiteral<"tier">;
98
+ reward: z.ZodObject<{
99
+ id: z.ZodString;
100
+ title: z.ZodString;
101
+ tiers: z.ZodArray<z.ZodObject<{
102
+ id: z.ZodString;
103
+ title: z.ZodString;
104
+ }, z.core.$strict>>;
105
+ inventory: z.ZodObject<{
106
+ kind: z.ZodLiteral<"untracked">;
107
+ }, z.core.$strict>;
108
+ fulfillment: z.ZodDiscriminatedUnion<[z.ZodObject<{
109
+ kind: z.ZodLiteral<"staff-handover">;
110
+ }, z.core.$strict>, z.ZodObject<{
111
+ kind: z.ZodLiteral<"automatic">;
112
+ }, z.core.$strict>], "kind">;
113
+ }, z.core.$strict>;
114
+ tier: z.ZodString;
115
+ }, z.core.$strict>, z.ZodObject<{
116
+ kind: z.ZodLiteral<"integration">;
117
+ provider: z.ZodLiteral<"discord">;
118
+ action: z.ZodLiteral<"grant-role">;
119
+ roleId: z.ZodString;
120
+ }, z.core.$strict>]>>>>;
121
+ evaluationRun: z.ZodDefault<z.ZodNumber>;
122
+ deferCount: z.ZodDefault<z.ZodNumber>;
123
+ deferUntil: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
124
+ nextEvaluationAt: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
125
+ code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
126
+ progress: z.ZodDefault<z.ZodNullable<z.ZodObject<{
127
+ current: z.ZodNumber;
128
+ target: z.ZodNumber;
129
+ reason: z.ZodString;
130
+ }, z.core.$strip>>>;
131
+ requestedReview: z.ZodDefault<z.ZodBoolean>;
132
+ createdAt: z.ZodNumber;
133
+ eligibleAt: z.ZodNumber;
134
+ }, z.core.$strip>>;
135
+ skipped: z.ZodArray<z.ZodObject<{
136
+ quest: z.ZodString;
137
+ tracker: z.ZodString;
138
+ record: z.ZodString;
139
+ code: z.ZodString;
140
+ occurredAt: z.ZodNumber;
141
+ }, z.core.$strip>>;
142
+ complete: z.ZodBoolean;
143
+ }, z.core.$strip>;
144
+ type TestMemberHistoryQuery = z.output<typeof testMemberHistoryQuerySchema>;
145
+ type TestMemberHistory = z.infer<typeof testMemberHistorySchema>;
57
146
 
58
147
  declare const webhookEventSchema: z.ZodObject<{
59
148
  id: z.ZodString;
@@ -37980,12 +38069,93 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
37980
38069
  id: string;
37981
38070
  name: string;
37982
38071
  test: true;
38072
+ today?: string | undefined;
38073
+ offsetDays?: number | undefined;
37983
38074
  }>;
37984
38075
  list: (call?: ManagementCallOptions) => Promise<{
37985
38076
  id: string;
37986
38077
  name: string;
37987
38078
  test: true;
38079
+ today?: string | undefined;
38080
+ offsetDays?: number | undefined;
37988
38081
  }[]>;
38082
+ history: (member: string, query?: TestMemberHistoryQuery, call?: ManagementCallOptions) => Promise<{
38083
+ attempts: {
38084
+ id: string;
38085
+ release: string;
38086
+ quest: string;
38087
+ member: string;
38088
+ evidence: string | null;
38089
+ status: AttemptStatus;
38090
+ reason: string | null;
38091
+ retries: number;
38092
+ generation: number;
38093
+ completion: string | null;
38094
+ reviewRewards: ({
38095
+ kind: "tier";
38096
+ reward: {
38097
+ id: string;
38098
+ title: string;
38099
+ tiers: {
38100
+ id: string;
38101
+ title: string;
38102
+ }[];
38103
+ inventory: {
38104
+ kind: "untracked";
38105
+ };
38106
+ fulfillment: {
38107
+ kind: "staff-handover";
38108
+ } | {
38109
+ kind: "automatic";
38110
+ };
38111
+ };
38112
+ tier: string;
38113
+ } | {
38114
+ kind: "points";
38115
+ balance: string;
38116
+ amount: number;
38117
+ } | {
38118
+ kind: "integration";
38119
+ provider: "discord";
38120
+ action: "grant-role";
38121
+ roleId: string;
38122
+ })[] | null;
38123
+ evaluationRun: number;
38124
+ deferCount: number;
38125
+ deferUntil: number | null;
38126
+ nextEvaluationAt: number | null;
38127
+ code: string | null;
38128
+ progress: {
38129
+ current: number;
38130
+ target: number;
38131
+ reason: string;
38132
+ } | null;
38133
+ requestedReview: boolean;
38134
+ createdAt: number;
38135
+ eligibleAt: number;
38136
+ input?: {
38137
+ kind: "quiz";
38138
+ answers: {
38139
+ [k: string]: string;
38140
+ };
38141
+ release?: string | undefined;
38142
+ } | {
38143
+ kind: "text";
38144
+ value: string;
38145
+ } | {
38146
+ kind: "url";
38147
+ value: string;
38148
+ } | undefined;
38149
+ }[];
38150
+ skipped: {
38151
+ quest: string;
38152
+ tracker: string;
38153
+ record: string;
38154
+ code: string;
38155
+ occurredAt: number;
38156
+ }[];
38157
+ complete: boolean;
38158
+ }>;
37989
38159
  act: (member: string, input: TestMemberActionInput, call?: ManagementCallOptions) => Promise<{
37990
38160
  id: string;
37991
38161
  release: string;
@@ -38052,6 +38222,13 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
38052
38222
  value: string;
38053
38223
  } | undefined;
38054
38224
  }>;
38225
+ advance: (member: string, input: TestMemberAdvanceInput, call?: ManagementCallOptions) => Promise<{
38226
+ id: string;
38227
+ name: string;
38228
+ test: true;
38229
+ today?: string | undefined;
38230
+ offsetDays?: number | undefined;
38231
+ }>;
38055
38232
  reset: (member: string, input: TestMemberResetInput, call?: ManagementCallOptions) => Promise<{
38056
38233
  member: string;
38057
38234
  deleted: true;
@@ -42879,7 +43056,10 @@ type ManagementRawInit = RequestInit & {
42879
43056
  timeout?: number;
42880
43057
  };
42881
43058
  type ManagementClient = Omit<ReturnType<typeof createManagementClient>, "testMembers" | "storage"> & {
42882
- testMembers?: ReturnType<typeof createManagementClient>["testMembers"];
43059
+ testMembers?: Omit<ReturnType<typeof createManagementClient>["testMembers"], "history" | "advance"> & {
43060
+ advance?: ReturnType<typeof createManagementClient>["testMembers"]["advance"];
43061
+ history?: ReturnType<typeof createManagementClient>["testMembers"]["history"];
43062
+ };
42883
43063
  storage?: ReturnType<typeof createManagementClient>["storage"];
42884
43064
  };
42885
43065
  declare function createManagementClient(options: ManagementClientOptions): {
@@ -79741,12 +79921,93 @@ declare function createManagementClient(options: ManagementClientOptions): {
79741
79921
  id: string;
79742
79922
  name: string;
79743
79923
  test: true;
79924
+ today?: string | undefined;
79925
+ offsetDays?: number | undefined;
79744
79926
  }>;
79745
79927
  list: (call?: ManagementCallOptions) => Promise<{
79746
79928
  id: string;
79747
79929
  name: string;
79748
79930
  test: true;
79931
+ today?: string | undefined;
79932
+ offsetDays?: number | undefined;
79749
79933
  }[]>;
79934
+ history: (member: string, query?: TestMemberHistoryQuery, call?: ManagementCallOptions) => Promise<{
79935
+ attempts: {
79936
+ id: string;
79937
+ release: string;
79938
+ quest: string;
79939
+ member: string;
79940
+ evidence: string | null;
79941
+ status: AttemptStatus;
79942
+ reason: string | null;
79943
+ retries: number;
79944
+ generation: number;
79945
+ completion: string | null;
79946
+ reviewRewards: ({
79947
+ kind: "tier";
79948
+ reward: {
79949
+ id: string;
79950
+ title: string;
79951
+ tiers: {
79952
+ id: string;
79953
+ title: string;
79954
+ }[];
79955
+ inventory: {
79956
+ kind: "untracked";
79957
+ };
79958
+ fulfillment: {
79959
+ kind: "staff-handover";
79960
+ } | {
79961
+ kind: "automatic";
79962
+ };
79963
+ };
79964
+ tier: string;
79965
+ } | {
79966
+ kind: "points";
79967
+ balance: string;
79968
+ amount: number;
79969
+ } | {
79970
+ kind: "integration";
79971
+ provider: "discord";
79972
+ action: "grant-role";
79973
+ roleId: string;
79974
+ })[] | null;
79975
+ evaluationRun: number;
79976
+ deferCount: number;
79977
+ deferUntil: number | null;
79978
+ nextEvaluationAt: number | null;
79979
+ code: string | null;
79980
+ progress: {
79981
+ current: number;
79982
+ target: number;
79983
+ reason: string;
79984
+ } | null;
79985
+ requestedReview: boolean;
79986
+ createdAt: number;
79987
+ eligibleAt: number;
79988
+ input?: {
79989
+ kind: "quiz";
79990
+ answers: {
79991
+ [k: string]: string;
79992
+ };
79993
+ release?: string | undefined;
79994
+ } | {
79995
+ kind: "text";
79996
+ value: string;
79997
+ } | {
79998
+ kind: "url";
79999
+ value: string;
80000
+ } | undefined;
80001
+ }[];
80002
+ skipped: {
80003
+ quest: string;
80004
+ tracker: string;
80005
+ record: string;
80006
+ code: string;
80007
+ occurredAt: number;
80008
+ }[];
80009
+ complete: boolean;
80010
+ }>;
79750
80011
  act: (member: string, input: TestMemberActionInput, call?: ManagementCallOptions) => Promise<{
79751
80012
  id: string;
79752
80013
  release: string;
@@ -79813,6 +80074,14 @@ declare function createManagementClient(options: ManagementClientOptions): {
79813
80074
  value: string;
79814
80075
  } | undefined;
79815
80076
  }>;
80077
+ /** Move forward 1–30 project-calendar days, up to 90 total. Reset deletes the member. */
80078
+ advance: (member: string, input: TestMemberAdvanceInput, call?: ManagementCallOptions) => Promise<{
80079
+ id: string;
80080
+ name: string;
80081
+ test: true;
80082
+ today?: string | undefined;
80083
+ offsetDays?: number | undefined;
80084
+ }>;
79816
80085
  reset: (member: string, input: TestMemberResetInput, call?: ManagementCallOptions) => Promise<{
79817
80086
  member: string;
79818
80087
  deleted: true;
@@ -81944,4 +82213,4 @@ declare function createManagementClient(options: ManagementClientOptions): {
81944
82213
  }>;
81945
82214
  };
81946
82215
 
81947
- export { APP_KV_LIMIT, APP_MIGRATION_FILE_BYTES, APP_MIGRATION_LIMIT, APP_MIGRATION_TOTAL_BYTES, APP_SECRET_LIMIT, APP_SQL_LIMIT, APP_STORAGE_PREVIEW_CHARACTERS, APP_STORAGE_ROW_LIMIT, type Access, type AppSecret, type AppSecretDeclaration, type AppSecretInput, type AppSecretList, type AppStorage, type AppStorageCell, type AppStorageKeys, type AppStorageKind, type AppStorageList, type AppStorageRows, type AppStorageTables, type AppStorageValue, type AuditRecord, type BalanceCheck, type BuildArtifacts, type BuildIdentity, type BuildSnapshot, type BuildStatus, type CompletionRevocation, type CompletionRevokeInput, DEFAULT_MANAGEMENT_TIMEOUT, type HostedAppSecrets, type HostedBuild, type HostedDeploymentKey, type HostedKey, type HostedKeyPermission, type HostedManagementEnv, type ListQuery, type ManagedMemberIdentity, type ManagedOAuthAccount, type ManagedResource, type ManagedWallet, type ManagementCallOptions, type ManagementClient, type ManagementClientOptions, ManagementError, ManagementErrorCode, type ManagementErrorInit, type ManagementErrorKind, type ManagementPage, type ManagementRawInit, type ParticipantSignIn, type ParticipantSignInInput, type Permission, type Person, type Project, type QuestLifecycle, type QuestLifecycleInput, type ResourceLifecycleInput, RevokedDeliveryOutcome, RevokedEntitlementOutcome, RevokedReferralOutcome, type StagedDeployment, type StagedDeploymentContent, type StagingAccess, type StagingAccessInput, type StagingLink, type StarterId, type StarterTemplate, type TestMember, type TestMemberActionInput, type TestMemberCreateInput, type TestMemberResetInput, type TestMemberResetResult, WEBHOOK_MAX_BYTES, type WalletBalanceChains, type WebhookEvent, accessSchema, accountProfileSchema, appMigrationNameSchema, appRoutingSchema, appSecretDeclarationSchema, appSecretDeclarationsSchema, appSecretInputSchema, appSecretListSchema, appSecretNameSchema, appSecretSchema, appSecretValueSchema, appStorageCellSchema, appStorageKeysSchema, appStorageKindSchema, appStorageListSchema, appStorageRowsSchema, appStorageSchema, appStorageTablesSchema, appStorageValueSchema, assetPathSchema, auditRecordSchema, balanceCheckSchema, buildArtifactsSchema, buildIdentitySchema, buildPhaseSchema, buildSnapshotSchema, buildStatusSchema, commitSchema, compareAppMigrations, completionRevocationSchema, completionRevokeSchema, createManagementClient, createRepositorySchema, developmentPreflightSchema, deviceApproveSchema, deviceRedeemSchema, deviceStartSchema, entitlementCorrectionSchema, environmentSchema, grantRecordSchema, grantSchema, hostedAppSchema, hostedAppSecretsSchema, hostedBuildSchema, hostedDeploymentKeySchema, hostedKeyPermissions, hostedKeySchema, hostedKeySecretSchema, hostedManagementBindings, hostedManagementClient, ingestTrackerScopeSchema, inventorySchema, isManagementError, issuedTokenSchema, managedMemberIdentitySchema, managedOAuthAccountSchema, managedResourceSchema, managedWalletSchema, memberAccountSchema, memberDetailSchema, memberIdentityChangeInputSchema, memberLookupSchema, memberOAuthUnlinkInputSchema, memberSchema, memberWalletSignInInputSchema, memberWalletUnlinkInputSchema, metricsSchema, operationInputSchema, operationSchema, pageSchema, participantSignInInputSchema, participantSignInSchema, permissionSchema, personSchema, projectDeletionInputSchema, projectDeletionSchema, projectInputSchema, projectSchema, projectSetupSchema, projectTransferInputSchema, projectTransferSchema, querySchema, questLifecycleInputSchema, questLifecycleSchema, readinessSchema, repositorySchema, resourceLifecycleInputSchema, resourceLifecycleKindSchema, resourceLifecycleResultSchema, rolePermissions, roleSchema, stageRequestSchema, stagedDeploymentContentSchema, stagedDeploymentKey, stagedDeploymentLimits, stagedDeploymentSchema, stagingAccessInputSchema, stagingAccessModeSchema, stagingAccessSchema, stagingLinkSchema, stagingPathSchema, starterIdSchema, starterTemplates, stockAdditionSchema, stockInputSchema, teamSchema, testMemberActionSchema, testMemberCreateSchema, testMemberResetResultSchema, testMemberResetSchema, testMemberSchema, tokenInputSchema, tokenSchema, tokenScopeInputSchema, verifiedPassSchema, verifyWebhook, walletBalanceChainsSchema, webhookDeliveryPageSchema, webhookDeliverySchema, webhookEndpointSchema, webhookEventSchema, webhookInputSchema, webhookQuerySchema, webhookSecretSchema, webhookUpdateSchema };
82216
+ export { APP_KV_LIMIT, APP_MIGRATION_FILE_BYTES, APP_MIGRATION_LIMIT, APP_MIGRATION_TOTAL_BYTES, APP_SECRET_LIMIT, APP_SQL_LIMIT, APP_STORAGE_PREVIEW_CHARACTERS, APP_STORAGE_ROW_LIMIT, type Access, type AppSecret, type AppSecretDeclaration, type AppSecretInput, type AppSecretList, type AppStorage, type AppStorageCell, type AppStorageKeys, type AppStorageKind, type AppStorageList, type AppStorageRows, type AppStorageTables, type AppStorageValue, type AuditRecord, type BalanceCheck, type BuildArtifacts, type BuildIdentity, type BuildSnapshot, type BuildStatus, type CompletionRevocation, type CompletionRevokeInput, DEFAULT_MANAGEMENT_TIMEOUT, type HostedAppSecrets, type HostedBuild, type HostedDeploymentKey, type HostedKey, type HostedKeyPermission, type HostedManagementEnv, type ListQuery, type ManagedMemberIdentity, type ManagedOAuthAccount, type ManagedResource, type ManagedWallet, type ManagementCallOptions, type ManagementClient, type ManagementClientOptions, ManagementError, ManagementErrorCode, type ManagementErrorInit, type ManagementErrorKind, type ManagementPage, type ManagementRawInit, type ParticipantSignIn, type ParticipantSignInInput, type Permission, type Person, type Project, type QuestLifecycle, type QuestLifecycleInput, type ResourceLifecycleInput, RevokedDeliveryOutcome, RevokedEntitlementOutcome, RevokedReferralOutcome, type StagedDeployment, type StagedDeploymentContent, type StagingAccess, type StagingAccessInput, type StagingLink, type StarterId, type StarterTemplate, type TestMember, type TestMemberActionInput, type TestMemberAdvanceInput, type TestMemberCreateInput, type TestMemberHistory, type TestMemberHistoryQuery, type TestMemberResetInput, type TestMemberResetResult, WEBHOOK_MAX_BYTES, type WalletBalanceChains, type WebhookEvent, accessSchema, accountProfileSchema, appMigrationNameSchema, appRoutingSchema, appSecretDeclarationSchema, appSecretDeclarationsSchema, appSecretInputSchema, appSecretListSchema, appSecretNameSchema, appSecretSchema, appSecretValueSchema, appStorageCellSchema, appStorageKeysSchema, appStorageKindSchema, appStorageListSchema, appStorageRowsSchema, appStorageSchema, appStorageTablesSchema, appStorageValueSchema, assetPathSchema, auditRecordSchema, balanceCheckSchema, buildArtifactsSchema, buildIdentitySchema, buildPhaseSchema, buildSnapshotSchema, buildStatusSchema, commitSchema, compareAppMigrations, completionRevocationSchema, completionRevokeSchema, createManagementClient, createRepositorySchema, developmentPreflightSchema, deviceApproveSchema, deviceRedeemSchema, deviceStartSchema, entitlementCorrectionSchema, environmentSchema, grantRecordSchema, grantSchema, hostedAppSchema, hostedAppSecretsSchema, hostedBuildSchema, hostedDeploymentKeySchema, hostedKeyPermissions, hostedKeySchema, hostedKeySecretSchema, hostedManagementBindings, hostedManagementClient, ingestTrackerScopeSchema, inventorySchema, isManagementError, issuedTokenSchema, managedMemberIdentitySchema, managedOAuthAccountSchema, managedResourceSchema, managedWalletSchema, memberAccountSchema, memberDetailSchema, memberIdentityChangeInputSchema, memberLookupSchema, memberOAuthUnlinkInputSchema, memberSchema, memberWalletSignInInputSchema, memberWalletUnlinkInputSchema, metricsSchema, operationInputSchema, operationSchema, pageSchema, participantSignInInputSchema, participantSignInSchema, permissionSchema, personSchema, projectDeletionInputSchema, projectDeletionSchema, projectInputSchema, projectSchema, projectSetupSchema, projectTransferInputSchema, projectTransferSchema, querySchema, questLifecycleInputSchema, questLifecycleSchema, readinessSchema, repositorySchema, resourceLifecycleInputSchema, resourceLifecycleKindSchema, resourceLifecycleResultSchema, rolePermissions, roleSchema, stageRequestSchema, stagedDeploymentContentSchema, stagedDeploymentKey, stagedDeploymentLimits, stagedDeploymentSchema, stagingAccessInputSchema, stagingAccessModeSchema, stagingAccessSchema, stagingLinkSchema, stagingPathSchema, starterIdSchema, starterTemplates, stockAdditionSchema, stockInputSchema, teamSchema, testMemberActionSchema, testMemberAdvanceSchema, testMemberCreateSchema, testMemberHistoryQuerySchema, testMemberHistorySchema, testMemberResetResultSchema, testMemberResetSchema, testMemberSchema, tokenInputSchema, tokenSchema, tokenScopeInputSchema, verifiedPassSchema, verifyWebhook, walletBalanceChainsSchema, webhookDeliveryPageSchema, webhookDeliverySchema, webhookEndpointSchema, webhookEventSchema, webhookInputSchema, webhookQuerySchema, webhookSecretSchema, webhookUpdateSchema };
@@ -166,7 +166,11 @@ import { z } from "zod";
166
166
  var testMemberSchema = z.object({
167
167
  id: identifier,
168
168
  name: z.string(),
169
- test: z.literal(true)
169
+ test: z.literal(true),
170
+ /** Current project-calendar date (YYYY-MM-DD), computed by the server. */
171
+ today: z.iso.date().optional(),
172
+ /** Number of calendar days advanced; absent means zero for older servers. */
173
+ offsetDays: z.number().int().min(0).optional()
170
174
  });
171
175
  var testMemberCreateSchema = z.object({
172
176
  actionId: identifier,
@@ -176,10 +180,36 @@ var testMemberActionSchema = submitSchema.omit({ member: true, faultAfterReview:
176
180
  operation: z.literal("attempts.submit")
177
181
  }).strict();
178
182
  var testMemberResetSchema = z.object({ actionId: identifier }).strict();
183
+ var testMemberAdvanceSchema = z.object({
184
+ actionId: identifier,
185
+ days: z.number().int().min(1).max(30)
186
+ }).strict();
179
187
  var testMemberResetResultSchema = z.object({
180
188
  member: identifier,
181
189
  deleted: z.literal(true)
182
190
  });
191
+ var testMemberHistoryQuerySchema = z.object({
192
+ /** Inclusive lower bound on credited activity time, in epoch milliseconds. */
193
+ since: z.coerce.number().int().nonnegative().safe().optional()
194
+ });
195
+ var testMemberHistorySchema = z.object({
196
+ /** Newest credited activity first, up to 500 attempts. */
197
+ attempts: z.array(
198
+ attemptSchema.extend({ eligibleAt: z.number().int().nonnegative().safe() })
199
+ ),
200
+ /** Tracker trigger outcomes that admitted no attempt, newest occurrence first, up to 500. */
201
+ skipped: z.array(
202
+ z.object({
203
+ quest: identifier,
204
+ tracker: identifier,
205
+ record: z.string(),
206
+ code: z.string().min(1),
207
+ occurredAt: z.number().int().nonnegative().safe()
208
+ })
209
+ ),
210
+ /** False when older entries were omitted from either list. */
211
+ complete: z.boolean()
212
+ });
183
213
 
184
214
  // src/server/webhooks.ts
185
215
  import { z as z2 } from "zod";
@@ -2294,12 +2324,24 @@ function createManagementClient(options) {
2294
2324
  call
2295
2325
  ),
2296
2326
  list: (call) => get("/test-members", z8.array(testMemberSchema), call),
2327
+ history: (member, query = {}, call) => get(
2328
+ `/test-members/${identifier.parse(member)}/history${queryString(testMemberHistoryQuerySchema.parse(query))}`,
2329
+ testMemberHistorySchema,
2330
+ call
2331
+ ),
2297
2332
  act: (member, input, call) => post(
2298
2333
  `/test-members/${identifier.parse(member)}/actions`,
2299
2334
  attemptSchema,
2300
2335
  testMemberActionSchema.parse(input),
2301
2336
  call
2302
2337
  ),
2338
+ /** Move forward 1–30 project-calendar days, up to 90 total. Reset deletes the member. */
2339
+ advance: (member, input, call) => post(
2340
+ `/test-members/${identifier.parse(member)}/clock`,
2341
+ testMemberSchema,
2342
+ testMemberAdvanceSchema.parse(input),
2343
+ call
2344
+ ),
2303
2345
  reset: (member, input, call) => post(
2304
2346
  `/test-members/${identifier.parse(member)}/reset`,
2305
2347
  testMemberResetResultSchema,
@@ -2745,7 +2787,10 @@ export {
2745
2787
  stockInputSchema,
2746
2788
  teamSchema,
2747
2789
  testMemberActionSchema,
2790
+ testMemberAdvanceSchema,
2748
2791
  testMemberCreateSchema,
2792
+ testMemberHistoryQuerySchema,
2793
+ testMemberHistorySchema,
2749
2794
  testMemberResetResultSchema,
2750
2795
  testMemberResetSchema,
2751
2796
  testMemberSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domino-sdk/relay",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {