@domino-sdk/relay 1.52.0 → 1.53.1
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 +38 -38
- package/dist/browser.js +3 -3
- package/dist/{chunk-ACVBQK55.js → chunk-JYJAS4E3.js} +1 -1
- package/dist/{chunk-6AMIMYRD.js → chunk-MP2ZF5U6.js} +1 -1
- package/dist/{chunk-B44SRIQ4.js → chunk-VKHSC5MD.js} +1 -1
- package/dist/{chunk-EFSAQESN.js → chunk-YBR4BUFK.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +2 -2
- package/dist/portal-proxy.js +1 -1
- package/dist/react/index.js +3 -3
- package/dist/runtime/manifest.json +1 -1
- package/dist/schema.d.ts +310 -310
- package/dist/server/index.d.ts +2 -2
- package/dist/server/index.js +80 -8
- package/dist/{transport-B8w9oqCY.d.ts → transport-DuB_fiA2.d.ts} +3293 -3108
- package/package.json +1 -1
- package/dist/{deployments-DkoBtC5t.d.ts → deployments-ovtqtAcx.d.ts} +212 -212
package/dist/server/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { aj as CompletionSource, ak as CompletionSourceKind, aq as KnownCompletionSourceKind, bt as entitlementCorrectionSchema, bv as entitlementSchema, bL as memberIdentitySchema, j as trackerDataIssue, k as trackerDataIssues, db as trackerTriggerOutcomePageSchema, w as whereSchemaIssue } from '../schema-BJ9bOgpN.js';
|
|
2
|
-
export { A as APP_KV_LIMIT, o as APP_MIGRATION_FILE_BYTES, r as APP_MIGRATION_LIMIT, t as APP_MIGRATION_TOTAL_BYTES, u as APP_SCHEDULE_LIMIT, w as APP_SCHEDULE_MIN_INTERVAL, x as APP_SCHEDULE_RESULT_BYTES, y as APP_SCHEDULE_TIMEOUT, z as APP_SECRET_LIMIT, B as APP_SQL_LIMIT, C as APP_STORAGE_CELL_CHARACTERS, D as APP_STORAGE_PREVIEW_CHARACTERS, E as APP_STORAGE_ROW_LIMIT, F as Access, G as AccessHistoryQuery, H as AppSchedule, J as AppScheduleDiagnostic, K as AppScheduleList, L as AppScheduleResult, N as AppScheduleRun, O as AppScheduleRuns, Q as AppSchedules, S as AppSecret, T as AppSecretDeclaration, U as AppSecretInput, V as AppSecretList, W as AppStorage, X as AppStorageCell, Y as AppStorageCellPage, Z as AppStorageKeys, _ as AppStorageKind, $ as AppStorageList, a0 as AppStorageRows, a1 as AppStorageTables, a2 as AppStorageValue, a3 as AuditPage, a4 as AuditQuery, a5 as AuditRecord, a6 as BalanceCheck, a7 as BuildArtifacts, a8 as BuildIdentity, a9 as BuildSnapshot, aa as BuildStatus, ab as CompletionRevocation, ac as CompletionRevocationShortfall, ad as CompletionRevokeInput, ae as CredentialSecret, af as CustomDomain, ag as CustomDomainRecord, ah as CustomDomainState, ai as DEFAULT_MANAGEMENT_TIMEOUT, aj as HostedAppSecrets, ak as HostedBuild, al as HostedDeploymentKey, am as HostedKey, an as HostedKeyPermission, ao as HostedManagementEnv, ap as IdentityLinkRelinkInput, aq as InventoryItemAction, ar as InventoryItemRename, as as InventoryItemState, at as InventoryStockCorrection, au as KnownMemberImportRefusalCode, av as KnownPayoutSourceKind, aw as KnownTestMemberDecisionKind, ax as LeaderboardSettlementRejection, ay as LeaderboardSettlementReview, az as ListQuery, aA as LiveApp, aB as ManagedAttempt, aC as ManagedAttemptPage, aD as ManagedAttemptQuery, aE as ManagedEntitlement, aF as ManagedEntitlementPage, aG as ManagedEntitlementQuery, aH as ManagedMemberIdentity, aI as ManagedMemberPage, aJ as ManagedMemberProgress, aK as ManagedMemberQuery, aL as ManagedOAuthAccount, aM as ManagedQuestEnrollment, aN as ManagedReleasePage, aO as ManagedReleaseQuery, aP as ManagedResource, aQ as ManagedStockItem, aR as ManagedTelegramAccount, aS as ManagedWallet, aT as ManagementCallOptions, aU as ManagementClient, aV as ManagementClientOptions, aW as ManagementError, aX as ManagementErrorCode, aY as ManagementErrorInit, aZ as ManagementErrorKind, a_ as ManagementPage, a$ as ManagementRawInit, b0 as MemberDetail, b1 as MemberIdentityLink, b2 as MemberIdentityLinkChangeInput, b3 as MemberIdentitySelector, b4 as MemberIdentitySignInInput, b5 as MemberIdentityState, b6 as MemberIdentityStatePage, b7 as MemberImport, b8 as MemberImportAccount, b9 as MemberImportCreateInput, ba as MemberImportIdentity, bb as MemberImportListQuery, bc as MemberImportRefusal, bd as MemberImportRefusalCode, be as MemberImportRow, bf as MemberImportRowInput, bg as MemberImportRowQuery, bh as MemberImportRowResult, bi as MemberImportRowsInput, bj as MemberImportSummary, bk as OperatorUser, bl as ParticipantSignIn, bm as ParticipantSignInInput, bn as PayoutSourceKind, bo as Permission, bp as Person, bq as Project, br as ProjectMetrics, bs as PromotionBuild, bt as PromotionChange, bu as PromotionHistoryPage, bv as PromotionHistoryQuery, bw as PromotionRecord, bx as PromotionResourceKind, by as PromotionSource, bz as PromotionWarning, bA as QuestEnrollmentState, bB as QuestEnrollmentWithdrawalInput, bC as QuestLifecycle, bD as QuestLifecycleInput, R as REFERRAL_INTEGRATION_REWARD_ERROR, bE as ResourceArchiveInput, bF as ResourceLifecycleInput, bG as RevokedDeliveryOutcome, bH as RevokedEntitlementOutcome, bI as RevokedReferralOutcome, bJ as ScheduledInvocation, bK as ServiceKey, bL as StagedDeployment, bM as StagedDeploymentContent, bN as StagingAccess, bO as StagingAccessInput, bP as StagingLink, bQ as StarterId, bR as StarterTemplate, bS as TestMember, bT as TestMemberAcceptAnywayInput, bU as TestMemberActionInput, bV as TestMemberAdvanceInput, bW as TestMemberCreateInput, bX as TestMemberDecisionKind, bY as TestMemberDiscordMessageInput, bZ as TestMemberDiscordReactionInput, b_ as TestMemberHistory, b$ as TestMemberHistoryQuery, c0 as TestMemberOperatorDecision, c1 as TestMemberPassInput, c2 as TestMemberRecordInput, c3 as TestMemberRecordResult, c4 as TestMemberResetInput, c5 as TestMemberResetResult, c6 as TestMemberWallet, c7 as TestMemberWalletLinkInput, c8 as TestMemberWalletUnlinkInput, c9 as TestMemberXPostInput, ca as WEBHOOK_MAX_BYTES, cb as WalletBalanceChains, cc as WebhookDeleteInput, cd as WebhookEndpointState, ce as WebhookEvent, cf as accessHistoryQuerySchema, cg as accessSchema, ch as accountProfileSchema, ci as appIdentitySelectorSchema, cj as appMigrationNameSchema, ck as appRoutingSchema, cl as appScheduleDiagnosticSchema, cm as appScheduleListSchema, cn as appScheduleNameSchema, co as appSchedulePathSchema, cp as appScheduleResultSchema, cq as appScheduleRunSchema, cr as appScheduleRunsSchema, cs as appScheduleSchema, ct as appScheduleStateSchema, cu as appSchedulesSchema, cv as appSecretDeclarationSchema, cw as appSecretDeclarationsSchema, cx as appSecretInputSchema, cy as appSecretListSchema, cz as appSecretNameSchema, cA as appSecretSchema, cB as appSecretValueSchema, cC as appStorageCellPageSchema, cD as appStorageCellSchema, cE as appStorageKeysSchema, cF as appStorageKindSchema, cG as appStorageListSchema, cH as appStorageRowsSchema, cI as appStorageSchema, cJ as appStorageTablesSchema, cK as appStorageValueSchema, cL as assetPathSchema, cM as auditListQuerySchema, cN as auditPageSchema, cO as auditQuerySchema, cP as auditRecordSchema, cQ as balanceCheckSchema, cR as buildArtifactsSchema, cS as buildIdentitySchema, cT as buildPhaseSchema, cU as buildSnapshotSchema, cV as buildStatusSchema, cW as commitSchema, cX as compareAppMigrations, cY as completionRevocationSchema, cZ as completionRevocationShortfallSchema, c_ as completionRevokeSchema, c as containsReferralIntegrationReward, c$ as createManagementClient, d0 as createRepositorySchema, d1 as credentialSecretInputSchema, d2 as credentialSecretSchema, d3 as customDomainInputSchema, d4 as customDomainListSchema, d5 as customDomainRecordSchema, d6 as customDomainSchema, d7 as customDomainStateSchema, d8 as developmentPreflightSchema, d9 as deviceApproveSchema, da as deviceRedeemSchema, db as deviceStartSchema, dc as environmentSchema, dd as grantRecordSchema, de as grantSchema, df as hostedAppSchema, dg as hostedAppSecretsSchema, dh as hostedBuildSchema, di as hostedDeploymentKeySchema, dj as hostedKeyPermissions, dk as hostedKeySchema, dl as hostedKeySecretSchema, dm as hostedManagementBindings, dn as hostedManagementClient, i as identityIntegrationInputSchema, a as identityIntegrationSchema, d as identityKindClaimSchema, dp as identityLinkRelinkInputSchema, dq as identityLinkSelectorSchema, dr as ingestTrackerScopeSchema, ds as inventoryItemActionSchema, dt as inventoryItemPageSchema, du as inventoryItemRenameSchema, dv as inventoryItemStateSchema, dw as inventorySchema, dx as inventoryStockCorrectionSchema, e as isIntegrationParticipantPath, dy as isManagementError, f as isParticipantRoute, dz as issuedServiceKeySchema, dA as issuedTokenSchema, dB as leaderboardSettlementRejectionSchema, dC as leaderboardSettlementReviewPageSchema, dD as leaderboardSettlementReviewQuerySchema, dE as leaderboardSettlementReviewSchema, dF as leaderboardSettlementReviewSummarySchema, dG as liveAppSchema, dH as managedAttemptPageSchema, dI as managedAttemptQuerySchema, dJ as managedAttemptSchema, dK as managedEntitlementPageSchema, dL as managedEntitlementQuerySchema, dM as managedEntitlementSchema, dN as managedMemberIdentitySchema, dO as managedMemberPageSchema, dP as managedMemberProgressSchema, dQ as managedMemberQuerySchema, dR as managedOAuthAccountSchema, dS as managedQuestEnrollmentPageSchema, dT as managedQuestEnrollmentSchema, dU as managedReleasePageSchema, dV as managedReleaseQuerySchema, dW as managedResourceSchema, dX as managedStockItemSchema, dY as managedTelegramAccountSchema, dZ as managedWalletSchema, d_ as managementErrorSchema, d$ as managementResponseSchemas, e0 as managementResponses, e1 as memberAccountSchema, e2 as memberDetailSchema, e3 as memberIdentityChangeInputSchema, e4 as memberIdentityLinkChangeInputSchema, e5 as memberIdentityLinkPageSchema, e6 as memberIdentityLinkSchema, e7 as memberIdentitySelectorSchema, e8 as memberIdentitySignInInputSchema, e9 as memberIdentityStatePageSchema, ea as memberIdentityStateSchema, eb as memberImportAccountSchema, ec as memberImportActionSchema, ed as memberImportCreateSchema, ee as memberImportIdentitySchema, ef as memberImportListQuerySchema, eg as memberImportPageSchema, eh as memberImportRefusalSchema, ei as memberImportRowPageSchema, ej as memberImportRowQuerySchema, ek as memberImportRowResultSchema, el as memberImportRowSchema, em as memberImportRowsInputSchema, en as memberImportSchema, eo as memberImportSummarySchema, ep as memberLookupSchema, eq as memberOAuthUnlinkInputSchema, er as memberSchema, es as memberTelegramUnlinkInputSchema, et as memberWalletSignInInputSchema, eu as memberWalletUnlinkInputSchema, ev as metricsSchema, ew as nextScheduleRun, ex as oauthIdentitySelectorSchema, ey as operationInputSchema, ez as operationSchema, eA as operatorUserSchema, eB as pageSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, eC as participantSignInInputSchema, eD as participantSignInSchema, eE as permissionSchema, eF as personSchema, eG as projectDeletionInputSchema, eH as projectDeletionSchema, eI as projectInputSchema, eJ as projectMetricsSchema, eK as projectSchema, eL as projectSetupSchema, eM as projectTransferInputSchema, eN as projectTransferSchema, eO as projectUpdateInputSchema, eP as promotionActionSchema, eQ as promotionBuildSchema, eR as promotionChangeSchema, eS as promotionHistoryPageSchema, eT as promotionHistoryQuerySchema, eU as promotionRecordSchema, eV as promotionRejectionSchema, eW as promotionResourceKindSchema, eX as promotionSourceSchema, eY as promotionWarningSchema, eZ as querySchema, q as questConfiguration, e_ as questEnrollmentStateSchema, e$ as questEnrollmentWithdrawalInputSchema, f0 as questLifecycleInputSchema, f1 as questLifecycleSchema, f2 as readinessSchema, f3 as repositorySchema, f4 as resourceArchiveInputSchema, f5 as resourceLifecycleInputSchema, f6 as resourceLifecycleKindSchema, f7 as resourceLifecyclePaths, f8 as resourceLifecycleResultSchema, f9 as rolePermissions, fa as roleSchema, fb as scheduleResult, fc as scheduledInvocationSchema, s as sequenceCursorSchema, fd as serviceKeyInputSchema, fe as serviceKeySchema, l as sourceDataSchema, n as sourceRoles, ff as stageRequestSchema, fg as stagedDeploymentContentSchema, fh as stagedDeploymentKey, fi as stagedDeploymentLimits, fj as stagedDeploymentSchema, fk as stagingAccessInputSchema, fl as stagingAccessModeSchema, fm as stagingAccessSchema, fn as stagingLinkSchema, fo as stagingPathSchema, fp as starterIdSchema, fq as starterTemplates, fr as stockAdditionSchema, fs as stockInputSchema, ft as teamSchema, fu as telegramBotIdSchema, fv as telegramIdentitySelectorSchema, fw as testMemberAcceptAnywaySchema, fx as testMemberActionSchema, fy as testMemberAdvanceSchema, fz as testMemberCreateSchema, fA as testMemberDiscordMessageSchema, fB as testMemberDiscordReactionSchema, fC as testMemberHistoryQuerySchema, fD as testMemberHistorySchema, fE as testMemberOperatorDecisionSchema, fF as testMemberPassSchema, fG as testMemberRecordResultSchema, fH as testMemberRecordSchema, fI as testMemberResetResultSchema, fJ as testMemberResetSchema, fK as testMemberSchema, fL as testMemberWalletLinkSchema, fM as testMemberWalletSchema, fN as testMemberWalletUnlinkSchema, fO as testMemberXPostSchema, fP as tokenInputSchema, fQ as tokenSchema, fR as tokenScopeInputSchema, v as validateQuestShape, fS as verifiedPassSchema, fT as verifyScheduledRequest, fU as verifyWebhook, fV as walletBalanceChainsSchema, fW as walletIdentitySelectorSchema, fX as webhookControlInputSchema, fY as webhookCreateInputSchema, fZ as webhookDeleteInputSchema, f_ as webhookDeliveryPageSchema, f$ as webhookDeliverySchema, g0 as webhookEndpointSchema, g1 as webhookEndpointStateSchema, g2 as webhookEventSchema, g3 as webhookInputSchema, g4 as webhookQuerySchema, g5 as webhookRotateInputSchema, g6 as webhookSecretSchema, g7 as webhookStatePageSchema, g8 as webhookStateQuerySchema, g9 as webhookUpdateSchema } from '../transport-B8w9oqCY.js';
|
|
2
|
+
export { A as APP_KV_LIMIT, o as APP_MIGRATION_FILE_BYTES, r as APP_MIGRATION_LIMIT, t as APP_MIGRATION_TOTAL_BYTES, u as APP_SCHEDULE_LIMIT, w as APP_SCHEDULE_MIN_INTERVAL, x as APP_SCHEDULE_RESULT_BYTES, y as APP_SCHEDULE_TIMEOUT, z as APP_SECRET_LIMIT, B as APP_SQL_LIMIT, C as APP_STORAGE_CELL_CHARACTERS, D as APP_STORAGE_PREVIEW_CHARACTERS, E as APP_STORAGE_ROW_LIMIT, F as Access, G as AccessHistoryQuery, H as AppSchedule, J as AppScheduleDiagnostic, K as AppScheduleList, L as AppScheduleResult, N as AppScheduleRun, O as AppScheduleRuns, Q as AppSchedules, S as AppSecret, T as AppSecretDeclaration, U as AppSecretInput, V as AppSecretList, W as AppStorage, X as AppStorageCell, Y as AppStorageCellPage, Z as AppStorageKeys, _ as AppStorageKind, $ as AppStorageList, a0 as AppStorageRows, a1 as AppStorageTables, a2 as AppStorageValue, a3 as AuditPage, a4 as AuditQuery, a5 as AuditRecord, a6 as BalanceCheck, a7 as BuildArtifacts, a8 as BuildIdentity, a9 as BuildSnapshot, aa as BuildStatus, ab as CompletionRevocation, ac as CompletionRevocationShortfall, ad as CompletionRevokeInput, ae as CredentialSecret, af as CustomDomain, ag as CustomDomainRecord, ah as CustomDomainState, ai as DEFAULT_MANAGEMENT_TIMEOUT, aj as HostedAppSecrets, ak as HostedBuild, al as HostedDeploymentKey, am as HostedKey, an as HostedKeyPermission, ao as HostedManagementEnv, ap as IdentityLinkRelinkInput, aq as InventoryItemAction, ar as InventoryItemRename, as as InventoryItemState, at as InventoryStockCorrection, au as KnownMemberImportRefusalCode, av as KnownPayoutSourceKind, aw as KnownTestMemberDecisionKind, ax as LeaderboardSettlementRejection, ay as LeaderboardSettlementReview, az as ListQuery, aA as LiveApp, aB as ManagedAttempt, aC as ManagedAttemptPage, aD as ManagedAttemptQuery, aE as ManagedEntitlement, aF as ManagedEntitlementPage, aG as ManagedEntitlementQuery, aH as ManagedMemberIdentity, aI as ManagedMemberPage, aJ as ManagedMemberProgress, aK as ManagedMemberQuery, aL as ManagedOAuthAccount, aM as ManagedQuestEnrollment, aN as ManagedReleasePage, aO as ManagedReleaseQuery, aP as ManagedResource, aQ as ManagedStockItem, aR as ManagedTelegramAccount, aS as ManagedWallet, aT as ManagementCallOptions, aU as ManagementClient, aV as ManagementClientOptions, aW as ManagementError, aX as ManagementErrorCode, aY as ManagementErrorInit, aZ as ManagementErrorKind, a_ as ManagementPage, a$ as ManagementRawInit, b0 as MemberDetail, b1 as MemberIdentityLink, b2 as MemberIdentityLinkChangeInput, b3 as MemberIdentitySelector, b4 as MemberIdentitySignInInput, b5 as MemberIdentityState, b6 as MemberIdentityStatePage, b7 as MemberImport, b8 as MemberImportAccount, b9 as MemberImportCreateInput, ba as MemberImportIdentity, bb as MemberImportListQuery, bc as MemberImportRefusal, bd as MemberImportRefusalCode, be as MemberImportRow, bf as MemberImportRowInput, bg as MemberImportRowQuery, bh as MemberImportRowResult, bi as MemberImportRowsInput, bj as MemberImportSummary, bk as OperatorUser, bl as ParticipantSignIn, bm as ParticipantSignInInput, bn as PayoutSourceKind, bo as Permission, bp as Person, bq as Project, br as ProjectMetrics, bs as PromotionBuild, bt as PromotionChange, bu as PromotionHistoryPage, bv as PromotionHistoryQuery, bw as PromotionRecord, bx as PromotionResourceKind, by as PromotionSource, bz as PromotionWarning, bA as QuestEnrollmentState, bB as QuestEnrollmentWithdrawalInput, bC as QuestLifecycle, bD as QuestLifecycleInput, R as REFERRAL_INTEGRATION_REWARD_ERROR, bE as ResourceArchiveInput, bF as ResourceLifecycleInput, bG as RevokedDeliveryOutcome, bH as RevokedEntitlementOutcome, bI as RevokedReferralOutcome, bJ as ScheduledInvocation, bK as ServiceKey, bL as StagedDeployment, bM as StagedDeploymentContent, bN as StagingAccess, bO as StagingAccessInput, bP as StagingLink, bQ as StarterId, bR as StarterTemplate, bS as TestMember, bT as TestMemberAcceptAnywayInput, bU as TestMemberAccount, bV as TestMemberAccountLinkInput, bW as TestMemberAccountUnlinkInput, bX as TestMemberActionInput, bY as TestMemberAdvanceInput, bZ as TestMemberCreateInput, b_ as TestMemberDecisionKind, b$ as TestMemberDiscordMessageInput, c0 as TestMemberDiscordReactionInput, c1 as TestMemberHistory, c2 as TestMemberHistoryQuery, c3 as TestMemberOperatorDecision, c4 as TestMemberPassInput, c5 as TestMemberRecordInput, c6 as TestMemberRecordResult, c7 as TestMemberResetInput, c8 as TestMemberResetResult, c9 as TestMemberWallet, ca as TestMemberWalletLinkInput, cb as TestMemberWalletUnlinkInput, cc as TestMemberXPostInput, cd as WEBHOOK_MAX_BYTES, ce as WalletBalanceChains, cf as WebhookDeleteInput, cg as WebhookEndpointState, ch as WebhookEvent, ci as accessHistoryQuerySchema, cj as accessSchema, ck as accountProfileSchema, cl as appIdentitySelectorSchema, cm as appMigrationNameSchema, cn as appRoutingSchema, co as appScheduleDiagnosticSchema, cp as appScheduleListSchema, cq as appScheduleNameSchema, cr as appSchedulePathSchema, cs as appScheduleResultSchema, ct as appScheduleRunSchema, cu as appScheduleRunsSchema, cv as appScheduleSchema, cw as appScheduleStateSchema, cx as appSchedulesSchema, cy as appSecretDeclarationSchema, cz as appSecretDeclarationsSchema, cA as appSecretInputSchema, cB as appSecretListSchema, cC as appSecretNameSchema, cD as appSecretSchema, cE as appSecretValueSchema, cF as appStorageCellPageSchema, cG as appStorageCellSchema, cH as appStorageKeysSchema, cI as appStorageKindSchema, cJ as appStorageListSchema, cK as appStorageRowsSchema, cL as appStorageSchema, cM as appStorageTablesSchema, cN as appStorageValueSchema, cO as assetPathSchema, cP as auditListQuerySchema, cQ as auditPageSchema, cR as auditQuerySchema, cS as auditRecordSchema, cT as balanceCheckSchema, cU as buildArtifactsSchema, cV as buildIdentitySchema, cW as buildPhaseSchema, cX as buildSnapshotSchema, cY as buildStatusSchema, cZ as commitSchema, c_ as compareAppMigrations, c$ as completionRevocationSchema, d0 as completionRevocationShortfallSchema, d1 as completionRevokeSchema, c as containsReferralIntegrationReward, d2 as createManagementClient, d3 as createRepositorySchema, d4 as credentialSecretInputSchema, d5 as credentialSecretSchema, d6 as customDomainInputSchema, d7 as customDomainListSchema, d8 as customDomainRecordSchema, d9 as customDomainSchema, da as customDomainStateSchema, db as developmentPreflightSchema, dc as deviceApproveSchema, dd as deviceRedeemSchema, de as deviceStartSchema, df as environmentSchema, dg as grantRecordSchema, dh as grantSchema, di as hostedAppSchema, dj as hostedAppSecretsSchema, dk as hostedBuildSchema, dl as hostedDeploymentKeySchema, dm as hostedKeyPermissions, dn as hostedKeySchema, dp as hostedKeySecretSchema, dq as hostedManagementBindings, dr as hostedManagementClient, i as identityIntegrationInputSchema, a as identityIntegrationSchema, d as identityKindClaimSchema, ds as identityLinkRelinkInputSchema, dt as identityLinkSelectorSchema, du as ingestTrackerScopeSchema, dv as inventoryItemActionSchema, dw as inventoryItemPageSchema, dx as inventoryItemRenameSchema, dy as inventoryItemStateSchema, dz as inventorySchema, dA as inventoryStockCorrectionSchema, e as isIntegrationParticipantPath, dB as isManagementError, f as isParticipantRoute, dC as issuedServiceKeySchema, dD as issuedTokenSchema, dE as leaderboardSettlementRejectionSchema, dF as leaderboardSettlementReviewPageSchema, dG as leaderboardSettlementReviewQuerySchema, dH as leaderboardSettlementReviewSchema, dI as leaderboardSettlementReviewSummarySchema, dJ as liveAppSchema, dK as managedAttemptPageSchema, dL as managedAttemptQuerySchema, dM as managedAttemptSchema, dN as managedEntitlementPageSchema, dO as managedEntitlementQuerySchema, dP as managedEntitlementSchema, dQ as managedMemberIdentitySchema, dR as managedMemberPageSchema, dS as managedMemberProgressSchema, dT as managedMemberQuerySchema, dU as managedOAuthAccountSchema, dV as managedQuestEnrollmentPageSchema, dW as managedQuestEnrollmentSchema, dX as managedReleasePageSchema, dY as managedReleaseQuerySchema, dZ as managedResourceSchema, d_ as managedStockItemSchema, d$ as managedTelegramAccountSchema, e0 as managedWalletSchema, e1 as managementErrorSchema, e2 as managementResponseSchemas, e3 as managementResponses, e4 as memberAccountSchema, e5 as memberDetailSchema, e6 as memberIdentityChangeInputSchema, e7 as memberIdentityLinkChangeInputSchema, e8 as memberIdentityLinkPageSchema, e9 as memberIdentityLinkSchema, ea as memberIdentitySelectorSchema, eb as memberIdentitySignInInputSchema, ec as memberIdentityStatePageSchema, ed as memberIdentityStateSchema, ee as memberImportAccountSchema, ef as memberImportActionSchema, eg as memberImportCreateSchema, eh as memberImportIdentitySchema, ei as memberImportListQuerySchema, ej as memberImportPageSchema, ek as memberImportRefusalSchema, el as memberImportRowPageSchema, em as memberImportRowQuerySchema, en as memberImportRowResultSchema, eo as memberImportRowSchema, ep as memberImportRowsInputSchema, eq as memberImportSchema, er as memberImportSummarySchema, es as memberLookupSchema, et as memberOAuthUnlinkInputSchema, eu as memberSchema, ev as memberTelegramUnlinkInputSchema, ew as memberWalletSignInInputSchema, ex as memberWalletUnlinkInputSchema, ey as metricsSchema, ez as nextScheduleRun, eA as oauthIdentitySelectorSchema, eB as operationInputSchema, eC as operationSchema, eD as operatorUserSchema, eE as pageSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, eF as participantSignInInputSchema, eG as participantSignInSchema, eH as permissionSchema, eI as personSchema, eJ as projectDeletionInputSchema, eK as projectDeletionSchema, eL as projectInputSchema, eM as projectMetricsSchema, eN as projectSchema, eO as projectSetupSchema, eP as projectTransferInputSchema, eQ as projectTransferSchema, eR as projectUpdateInputSchema, eS as promotionActionSchema, eT as promotionBuildSchema, eU as promotionChangeSchema, eV as promotionHistoryPageSchema, eW as promotionHistoryQuerySchema, eX as promotionRecordSchema, eY as promotionRejectionSchema, eZ as promotionResourceKindSchema, e_ as promotionSourceSchema, e$ as promotionWarningSchema, f0 as querySchema, q as questConfiguration, f1 as questEnrollmentStateSchema, f2 as questEnrollmentWithdrawalInputSchema, f3 as questLifecycleInputSchema, f4 as questLifecycleSchema, f5 as readinessSchema, f6 as repositorySchema, f7 as resourceArchiveInputSchema, f8 as resourceLifecycleInputSchema, f9 as resourceLifecycleKindSchema, fa as resourceLifecyclePaths, fb as resourceLifecycleResultSchema, fc as rolePermissions, fd as roleSchema, fe as scheduleResult, ff as scheduledInvocationSchema, s as sequenceCursorSchema, fg as serviceKeyInputSchema, fh as serviceKeySchema, l as sourceDataSchema, n as sourceRoles, fi as stageRequestSchema, fj as stagedDeploymentContentSchema, fk as stagedDeploymentKey, fl as stagedDeploymentLimits, fm as stagedDeploymentSchema, fn as stagingAccessInputSchema, fo as stagingAccessModeSchema, fp as stagingAccessSchema, fq as stagingLinkSchema, fr as stagingPathSchema, fs as starterIdSchema, ft as starterTemplates, fu as stockAdditionSchema, fv as stockInputSchema, fw as teamSchema, fx as telegramBotIdSchema, fy as telegramIdentitySelectorSchema, fz as testMemberAcceptAnywaySchema, fA as testMemberAccountLinkSchema, fB as testMemberAccountSchema, fC as testMemberAccountUnlinkSchema, fD as testMemberActionSchema, fE as testMemberAdvanceSchema, fF as testMemberCreateSchema, fG as testMemberDiscordMessageSchema, fH as testMemberDiscordReactionSchema, fI as testMemberHistoryQuerySchema, fJ as testMemberHistorySchema, fK as testMemberOperatorDecisionSchema, fL as testMemberPassSchema, fM as testMemberRecordResultSchema, fN as testMemberRecordSchema, fO as testMemberResetResultSchema, fP as testMemberResetSchema, fQ as testMemberSchema, fR as testMemberWalletLinkSchema, fS as testMemberWalletSchema, fT as testMemberWalletUnlinkSchema, fU as testMemberXPostSchema, fV as tokenInputSchema, fW as tokenSchema, fX as tokenScopeInputSchema, v as validateQuestShape, fY as verifiedPassSchema, fZ as verifyScheduledRequest, f_ as verifyWebhook, f$ as walletBalanceChainsSchema, g0 as walletIdentitySelectorSchema, g1 as webhookControlInputSchema, g2 as webhookCreateInputSchema, g3 as webhookDeleteInputSchema, g4 as webhookDeliveryPageSchema, g5 as webhookDeliverySchema, g6 as webhookEndpointSchema, g7 as webhookEndpointStateSchema, g8 as webhookEventSchema, g9 as webhookInputSchema, ga as webhookQuerySchema, gb as webhookRotateInputSchema, gc as webhookSecretSchema, gd as webhookStatePageSchema, ge as webhookStateQuerySchema, gf as webhookUpdateSchema } from '../transport-DuB_fiA2.js';
|
|
3
3
|
export { M as ManagementStateQuery, N as managementStateQuerySchema } from '../pages-BTlOg8sl.js';
|
|
4
4
|
import '../offers-CH1RZekg.js';
|
|
5
5
|
import '../action-DBzILFx9.js';
|
|
@@ -8,5 +8,5 @@ import 'zod';
|
|
|
8
8
|
import '../profiles-Cdv4BSd_.js';
|
|
9
9
|
import '../automatic-outcomes-CVyZHxir.js';
|
|
10
10
|
export { A as AttemptCapture, C as CapturedFact, a as attemptCaptureSchema, c as capturedFactSchema } from '../attempt-captures-QC4kTA44.js';
|
|
11
|
-
export { f as activityTypeSchema, g as activityTypes, j as deploymentActionSchema, o as deploymentRejectionSchema } from '../deployments-
|
|
11
|
+
export { f as activityTypeSchema, g as activityTypes, j as deploymentActionSchema, o as deploymentRejectionSchema } from '../deployments-ovtqtAcx.js';
|
|
12
12
|
export { E as Extracted } from '../x-BfQcsDp0.js';
|
package/dist/server/index.js
CHANGED
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
participantExchangeSchema,
|
|
49
49
|
questConfiguration,
|
|
50
50
|
sequenceCursorSchema
|
|
51
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-MP2ZF5U6.js";
|
|
52
52
|
import {
|
|
53
53
|
parseImageExtraction,
|
|
54
54
|
parseImageResult
|
|
@@ -56,7 +56,8 @@ import {
|
|
|
56
56
|
import {
|
|
57
57
|
imageAssetArtifactSchema,
|
|
58
58
|
xUserLookupInputSchema,
|
|
59
|
-
xUserSchema
|
|
59
|
+
xUserSchema,
|
|
60
|
+
xUsernameSchema
|
|
60
61
|
} from "../chunk-K6TVMNU4.js";
|
|
61
62
|
import {
|
|
62
63
|
sourceDataSchema,
|
|
@@ -151,7 +152,7 @@ import {
|
|
|
151
152
|
telegramChatsSchema
|
|
152
153
|
} from "../chunk-2NUD237O.js";
|
|
153
154
|
import "../chunk-XFAYQFRO.js";
|
|
154
|
-
import "../chunk-
|
|
155
|
+
import "../chunk-JYJAS4E3.js";
|
|
155
156
|
import "../chunk-53JMTUWG.js";
|
|
156
157
|
import {
|
|
157
158
|
CompletionSourceKind,
|
|
@@ -447,6 +448,19 @@ var testMemberWalletSchema = z6.object({
|
|
|
447
448
|
network: cosmosNetworkSchema.nullable(),
|
|
448
449
|
address: z6.string()
|
|
449
450
|
});
|
|
451
|
+
var testMemberAccountSchema = z6.object({
|
|
452
|
+
provider: z6.enum(["x", "discord"]),
|
|
453
|
+
/** The X user ID or Discord user ID. */
|
|
454
|
+
id: z6.string(),
|
|
455
|
+
/** The X handle, when the account was linked by username; otherwise null. */
|
|
456
|
+
username: z6.string().nullable(),
|
|
457
|
+
/**
|
|
458
|
+
* `linked`: an operator linked a real account with `linkAccount`. `synthetic`: the account Relay
|
|
459
|
+
* linked for synthetic records. `connected`: the member connected it through X or Discord while
|
|
460
|
+
* a staging site acted as them.
|
|
461
|
+
*/
|
|
462
|
+
source: z6.enum(["linked", "synthetic", "connected"])
|
|
463
|
+
});
|
|
450
464
|
var testMemberSchema = z6.object({
|
|
451
465
|
id: identifier,
|
|
452
466
|
name: z6.string(),
|
|
@@ -456,7 +470,9 @@ var testMemberSchema = z6.object({
|
|
|
456
470
|
/** Number of calendar days advanced; absent means zero for older servers. */
|
|
457
471
|
offsetDays: z6.number().int().min(0).optional(),
|
|
458
472
|
/** Linked wallet addresses, by chain then newest first; absent from older servers. */
|
|
459
|
-
wallets: z6.array(testMemberWalletSchema).optional()
|
|
473
|
+
wallets: z6.array(testMemberWalletSchema).optional(),
|
|
474
|
+
/** Its X and Discord accounts, X first; absent from older servers. */
|
|
475
|
+
accounts: z6.array(testMemberAccountSchema).optional()
|
|
460
476
|
});
|
|
461
477
|
var testMemberCreateSchema = z6.object({
|
|
462
478
|
actionId: identifier,
|
|
@@ -513,6 +529,24 @@ var testMemberWalletUnlinkSchema = z6.object({
|
|
|
513
529
|
address: z6.string().min(1).max(100)
|
|
514
530
|
}).strict();
|
|
515
531
|
var snowflake = z6.string().regex(/^[0-9]{1,20}$/);
|
|
532
|
+
var accountId = z6.string().regex(/^[0-9]{1,20}$/, "Use the numeric user ID");
|
|
533
|
+
var testMemberAccountLinkSchema = z6.union([
|
|
534
|
+
z6.object({
|
|
535
|
+
actionId: identifier,
|
|
536
|
+
provider: z6.enum(["x", "discord"]),
|
|
537
|
+
id: accountId
|
|
538
|
+
}).strict(),
|
|
539
|
+
z6.object({
|
|
540
|
+
actionId: identifier,
|
|
541
|
+
provider: z6.literal("x"),
|
|
542
|
+
username: xUsernameSchema
|
|
543
|
+
}).strict()
|
|
544
|
+
]);
|
|
545
|
+
var testMemberAccountUnlinkSchema = z6.object({
|
|
546
|
+
actionId: identifier,
|
|
547
|
+
provider: z6.enum(["x", "discord"]),
|
|
548
|
+
id: accountId
|
|
549
|
+
}).strict();
|
|
516
550
|
var metric = z6.number().int().nonnegative().safe();
|
|
517
551
|
var testMemberXPostSchema = z6.strictObject({
|
|
518
552
|
content: z6.string().max(4e3).default(""),
|
|
@@ -564,7 +598,7 @@ var testMemberRecordResultSchema = trackerIngestResultSchema.extend({
|
|
|
564
598
|
tracker: identifier,
|
|
565
599
|
/** The stored record's ID. */
|
|
566
600
|
record: z6.string(),
|
|
567
|
-
/** The
|
|
601
|
+
/** The account the record names for the test member: its linked one, else its synthetic one. */
|
|
568
602
|
account: z6.object({ kind: z6.enum(["x", "discord"]), id: z6.string() })
|
|
569
603
|
});
|
|
570
604
|
var TestMemberDecisionKind = {
|
|
@@ -590,7 +624,12 @@ var testMemberHistorySchema = z6.object({
|
|
|
590
624
|
attemptSchema.extend({
|
|
591
625
|
eligibleAt: z6.number().int().nonnegative().safe(),
|
|
592
626
|
/** Set when an operator decided the attempt in place of its evaluator; absent otherwise. */
|
|
593
|
-
operatorDecision: testMemberOperatorDecisionSchema.optional()
|
|
627
|
+
operatorDecision: testMemberOperatorDecisionSchema.optional(),
|
|
628
|
+
/**
|
|
629
|
+
* Rewards of this attempt's completion that Relay never sent, each with why: a role reward
|
|
630
|
+
* for a test-linked Discord account. Absent when every reward was sent.
|
|
631
|
+
*/
|
|
632
|
+
rewardsNotSent: z6.array(z6.object({ reason: z6.string() })).optional()
|
|
594
633
|
})
|
|
595
634
|
),
|
|
596
635
|
/** Tracker trigger outcomes that admitted no attempt, newest occurrence first, up to 500. */
|
|
@@ -2165,7 +2204,12 @@ var managedOAuthAccountSchema = z16.discriminatedUnion("status", [
|
|
|
2165
2204
|
* True when a member import attached the account with the organization's word for it, not the
|
|
2166
2205
|
* member's proof. Absent from Relay versions without imports.
|
|
2167
2206
|
*/
|
|
2168
|
-
imported: z16.boolean().optional()
|
|
2207
|
+
imported: z16.boolean().optional(),
|
|
2208
|
+
/**
|
|
2209
|
+
* True for a real account an operator linked to a test member without OAuth
|
|
2210
|
+
* (`testMembers.linkAccount`). Absent from Relay versions without it.
|
|
2211
|
+
*/
|
|
2212
|
+
testLinked: z16.boolean().optional()
|
|
2169
2213
|
}),
|
|
2170
2214
|
managedOAuthAccountBaseSchema.extend({ status: z16.literal("disconnected") })
|
|
2171
2215
|
]);
|
|
@@ -2207,6 +2251,11 @@ var managedMemberIdentitySchema = memberIdentitySchema.extend({
|
|
|
2207
2251
|
* through X. Absent from Relay versions without imports.
|
|
2208
2252
|
*/
|
|
2209
2253
|
imported: z16.boolean().optional(),
|
|
2254
|
+
/**
|
|
2255
|
+
* True for a real X or Discord account an operator linked to a test member without OAuth
|
|
2256
|
+
* (`testMembers.linkAccount`). Absent from Relay versions without it.
|
|
2257
|
+
*/
|
|
2258
|
+
testLinked: z16.boolean().optional(),
|
|
2210
2259
|
status: z16.enum(["linked", "unlinked"]),
|
|
2211
2260
|
unlinkedAt: z16.number().int().nullable(),
|
|
2212
2261
|
/** The operator or key that unlinked it. */
|
|
@@ -4020,7 +4069,8 @@ function managementClient(options) {
|
|
|
4020
4069
|
),
|
|
4021
4070
|
/**
|
|
4022
4071
|
* Needs publish permission, in test only; hosted app keys cannot call these. Reset deletes the
|
|
4023
|
-
* member, frees its wallet addresses and
|
|
4072
|
+
* member, frees its wallet addresses and linked X and Discord accounts, and removes its
|
|
4073
|
+
* synthetic accounts and records.
|
|
4024
4074
|
*/
|
|
4025
4075
|
testMembers: {
|
|
4026
4076
|
create: (input, call) => post(
|
|
@@ -4088,6 +4138,25 @@ function managementClient(options) {
|
|
|
4088
4138
|
testMemberWalletUnlinkSchema.parse(withActionId(input)),
|
|
4089
4139
|
call
|
|
4090
4140
|
),
|
|
4141
|
+
/**
|
|
4142
|
+
* Links a real X or Discord account to the test member without OAuth, by `id` or, for X, by
|
|
4143
|
+
* `username`: quest code reads it like a member's linked account, and synthetic records post
|
|
4144
|
+
* as it. Replaces a synthetic or previously linked account of that provider. Answers the test
|
|
4145
|
+
* member with its `accounts`.
|
|
4146
|
+
*/
|
|
4147
|
+
linkAccount: (member, input, call) => post(
|
|
4148
|
+
`/test-members/${identifier.parse(member)}/accounts`,
|
|
4149
|
+
testMemberSchema,
|
|
4150
|
+
testMemberAccountLinkSchema.parse(withActionId(input)),
|
|
4151
|
+
call
|
|
4152
|
+
),
|
|
4153
|
+
/** Unlinks an account `linkAccount` linked; any other account changes nothing. */
|
|
4154
|
+
unlinkAccount: (member, input, call) => post(
|
|
4155
|
+
`/test-members/${identifier.parse(member)}/accounts/unlink`,
|
|
4156
|
+
testMemberSchema,
|
|
4157
|
+
testMemberAccountUnlinkSchema.parse(withActionId(input)),
|
|
4158
|
+
call
|
|
4159
|
+
),
|
|
4091
4160
|
/**
|
|
4092
4161
|
* Writes one synthetic record into a managed X or Discord tracker as the test member, through
|
|
4093
4162
|
* the same attribution and quest triggers as a collected record. The first record for a
|
|
@@ -5616,6 +5685,9 @@ export {
|
|
|
5616
5685
|
telegramBotIdSchema,
|
|
5617
5686
|
telegramIdentitySelectorSchema,
|
|
5618
5687
|
testMemberAcceptAnywaySchema,
|
|
5688
|
+
testMemberAccountLinkSchema,
|
|
5689
|
+
testMemberAccountSchema,
|
|
5690
|
+
testMemberAccountUnlinkSchema,
|
|
5619
5691
|
testMemberActionSchema,
|
|
5620
5692
|
testMemberAdvanceSchema,
|
|
5621
5693
|
testMemberCreateSchema,
|