@domino-sdk/relay 1.23.1 → 1.24.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 +38 -38
- package/dist/browser.js +3 -3
- package/dist/{chunk-USDFIAHW.js → chunk-MO2FASX4.js} +1 -1
- package/dist/{chunk-HNWBRLFR.js → chunk-NXWPYO6U.js} +1 -1
- package/dist/{chunk-PEVDXO3K.js → chunk-PLELWE5L.js} +1 -1
- package/dist/{chunk-JMGRA5W7.js → chunk-VT7355QN.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/schema.d.ts +310 -310
- package/dist/server/index.d.ts +2 -2
- package/dist/server/index.js +20 -9
- package/dist/{transport-DV6fs_zK.d.ts → transport-M8ouWh7j.d.ts} +2022 -2014
- package/package.json +1 -1
- package/dist/{deployments-B--Shwgx.d.ts → deployments-BFl_dOgc.d.ts} +108 -108
package/dist/server/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export { G as GroupMember, y as GroupMemberPage, z as GroupPage, B as GroupPageQ
|
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../profiles-D29SS12z.js';
|
|
8
8
|
import '../automatic-outcomes-T9lEIvTj.js';
|
|
9
|
-
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_TIMEOUT, y as APP_SECRET_LIMIT, z as APP_SQL_LIMIT, B as APP_STORAGE_PREVIEW_CHARACTERS, C as APP_STORAGE_ROW_LIMIT, D as Access, E as AccessHistoryQuery, F as AppSchedule, G as AppScheduleList, H as AppSchedules, J as AppSecret, K as AppSecretDeclaration, L as AppSecretInput, N as AppSecretList, O as AppStorage, Q as AppStorageCell, S as AppStorageKeys, T as AppStorageKind, U as AppStorageList, V as AppStorageRows, W as AppStorageTables, X as AppStorageValue, Y as AuditPage, Z as AuditQuery, _ as AuditRecord, $ as BalanceCheck, a0 as BuildArtifacts, a1 as BuildIdentity, a2 as BuildSnapshot, a3 as BuildStatus, a4 as CompletionRevocation, a5 as CompletionRevocationShortfall, a6 as CompletionRevokeInput, a7 as DEFAULT_MANAGEMENT_TIMEOUT, a8 as HostedAppSecrets, a9 as HostedBuild, aa as HostedDeploymentKey, ab as HostedKey, ac as HostedKeyPermission, ad as HostedManagementEnv, ae as IdentityLinkRelinkInput, af as InventoryItemAction, ag as InventoryItemRename, ah as InventoryItemState, ai as InventoryStockCorrection, aj as KnownPayoutSourceKind, ak as LeaderboardSettlementRejection, al as LeaderboardSettlementReview, am as ListQuery, an as ManagedAttempt, ao as ManagedAttemptPage, ap as ManagedAttemptQuery, aq as ManagedEntitlement, ar as ManagedEntitlementPage, as as ManagedEntitlementQuery, at as ManagedMemberIdentity, au as ManagedMemberPage, av as ManagedMemberQuery, aw as ManagedOAuthAccount, ax as ManagedQuestEnrollment, ay as ManagedReleasePage, az as ManagedReleaseQuery, aA as ManagedResource, aB as ManagedStockItem, aC as ManagedTelegramAccount, aD as ManagedWallet, aE as ManagementCallOptions, aF as ManagementClient, aG as ManagementClientOptions, aH as ManagementError, aI as ManagementErrorCode, aJ as ManagementErrorInit, aK as ManagementErrorKind, aL as ManagementPage, aM as ManagementRawInit, aN as MemberDetail, aO as MemberIdentityLink, aP as OperatorUser, aQ as ParticipantSignIn, aR as ParticipantSignInInput, aS as PayoutSourceKind, aT as Permission, aU as Person, aV as Project, aW as ProjectMetrics, aX as QuestEnrollmentState, aY as QuestEnrollmentWithdrawalInput, aZ as QuestLifecycle, a_ as QuestLifecycleInput, R as REFERRAL_INTEGRATION_REWARD_ERROR, a$ as ResourceArchiveInput, b0 as ResourceLifecycleInput, b1 as RevokedDeliveryOutcome, b2 as RevokedEntitlementOutcome, b3 as RevokedReferralOutcome, b4 as ScheduledInvocation, b5 as StagedDeployment, b6 as StagedDeploymentContent, b7 as StagingAccess, b8 as StagingAccessInput, b9 as StagingLink, ba as StarterId, bb as StarterTemplate, bc as TestMember, bd as TestMemberActionInput, be as TestMemberAdvanceInput, bf as TestMemberCreateInput, bg as TestMemberHistory, bh as TestMemberHistoryQuery, bi as TestMemberResetInput, bj as TestMemberResetResult, bk as TestMemberWallet, bl as TestMemberWalletLinkInput, bm as TestMemberWalletUnlinkInput, bn as WEBHOOK_MAX_BYTES, bo as WalletBalanceChains, bp as WebhookDeleteInput, bq as WebhookEndpointState, br as WebhookEvent, bs as accessHistoryQuerySchema, bt as accessSchema, bu as accountProfileSchema, bv as appMigrationNameSchema, bw as appRoutingSchema, bx as appScheduleListSchema, by as appScheduleNameSchema, bz as appSchedulePathSchema, bA as appScheduleRunSchema, bB as appScheduleSchema, bC as appScheduleStateSchema, bD as appSchedulesSchema, bE as appSecretDeclarationSchema, bF as appSecretDeclarationsSchema, bG as appSecretInputSchema, bH as appSecretListSchema, bI as appSecretNameSchema, bJ as appSecretSchema, bK as appSecretValueSchema, bL as appStorageCellSchema, bM as appStorageKeysSchema, bN as appStorageKindSchema, bO as appStorageListSchema, bP as appStorageRowsSchema, bQ as appStorageSchema, bR as appStorageTablesSchema, bS as appStorageValueSchema, bT as assetPathSchema, bU as auditPageSchema, bV as auditQuerySchema, bW as auditRecordSchema, bX as balanceCheckSchema, bY as buildArtifactsSchema, bZ as buildIdentitySchema, b_ as buildPhaseSchema, b$ as buildSnapshotSchema, c0 as buildStatusSchema, c1 as commitSchema, c2 as compareAppMigrations, c3 as completionRevocationSchema, c4 as completionRevocationShortfallSchema, c5 as completionRevokeSchema, c as containsReferralIntegrationReward, c6 as createManagementClient, c7 as createRepositorySchema, c8 as developmentPreflightSchema, c9 as deviceApproveSchema, ca as deviceRedeemSchema, cb as deviceStartSchema, cc as environmentSchema, cd as grantRecordSchema, ce as grantSchema, cf as hostedAppSchema, cg as hostedAppSecretsSchema, ch as hostedBuildSchema, ci as hostedDeploymentKeySchema, cj as hostedKeyPermissions, ck as hostedKeySchema, cl as hostedKeySecretSchema, cm as hostedManagementBindings, cn as hostedManagementClient, i as identityIntegrationInputSchema, a as identityIntegrationSchema, d as identityKindClaimSchema, co as identityLinkRelinkInputSchema, cp as identityLinkSelectorSchema, cq as ingestTrackerScopeSchema, cr as inventoryItemActionSchema, cs as inventoryItemPageSchema, ct as inventoryItemRenameSchema, cu as inventoryItemStateSchema, cv as inventorySchema, cw as inventoryStockCorrectionSchema, e as isIntegrationParticipantPath, cx as isManagementError, f as isParticipantRoute, cy as issuedTokenSchema, cz as leaderboardSettlementRejectionSchema, cA as leaderboardSettlementReviewPageSchema, cB as leaderboardSettlementReviewQuerySchema, cC as leaderboardSettlementReviewSchema, cD as leaderboardSettlementReviewSummarySchema, cE as managedAttemptPageSchema, cF as managedAttemptQuerySchema, cG as managedAttemptSchema, cH as managedEntitlementPageSchema, cI as managedEntitlementQuerySchema, cJ as managedEntitlementSchema, cK as managedMemberIdentitySchema, cL as managedMemberPageSchema, cM as managedMemberQuerySchema, cN as managedOAuthAccountSchema, cO as managedQuestEnrollmentPageSchema, cP as managedQuestEnrollmentSchema, cQ as managedReleasePageSchema, cR as managedReleaseQuerySchema, cS as managedResourceSchema, cT as managedStockItemSchema, cU as managedTelegramAccountSchema, cV as managedWalletSchema, cW as managementErrorSchema, cX as managementResponseSchemas, cY as managementResponses, cZ as memberAccountSchema, c_ as memberDetailSchema, c$ as memberIdentityChangeInputSchema, d0 as memberIdentityLinkPageSchema, d1 as memberIdentityLinkSchema, d2 as memberLookupSchema, d3 as memberOAuthUnlinkInputSchema, d4 as memberSchema, d5 as memberTelegramUnlinkInputSchema, d6 as memberWalletSignInInputSchema, d7 as memberWalletUnlinkInputSchema, d8 as metricsSchema, d9 as nextScheduleRun, da as oauthIdentitySelectorSchema, db as operationInputSchema, dc as operationSchema, dd as operatorUserSchema, de as pageSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, df as participantSignInInputSchema, dg as participantSignInSchema, dh as permissionSchema, di as personSchema, dj as projectDeletionInputSchema, dk as projectDeletionSchema, dl as projectInputSchema, dm as projectMetricsSchema, dn as projectSchema, dp as projectSetupSchema, dq as projectTransferInputSchema, dr as projectTransferSchema, ds as projectUpdateInputSchema, dt as querySchema, q as questConfiguration, du as questEnrollmentStateSchema, dv as questEnrollmentWithdrawalInputSchema, dw as questLifecycleInputSchema, dx as questLifecycleSchema, dy as readinessSchema, dz as repositorySchema, dA as resourceArchiveInputSchema, dB as resourceLifecycleInputSchema, dC as resourceLifecycleKindSchema, dD as resourceLifecyclePaths, dE as resourceLifecycleResultSchema, dF as rolePermissions, dG as roleSchema, dH as scheduledInvocationSchema, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, dI as stageRequestSchema, dJ as stagedDeploymentContentSchema, dK as stagedDeploymentKey, dL as stagedDeploymentLimits, dM as stagedDeploymentSchema, dN as stagingAccessInputSchema, dO as stagingAccessModeSchema, dP as stagingAccessSchema, dQ as stagingLinkSchema, dR as stagingPathSchema, dS as starterIdSchema, dT as starterTemplates, dU as stockAdditionSchema, dV as stockInputSchema, dW as teamSchema, dX as telegramBotIdSchema, dY as testMemberActionSchema, dZ as testMemberAdvanceSchema, d_ as testMemberCreateSchema, d$ as testMemberHistoryQuerySchema, e0 as testMemberHistorySchema, e1 as testMemberResetResultSchema, e2 as testMemberResetSchema, e3 as testMemberSchema, e4 as testMemberWalletLinkSchema, e5 as testMemberWalletSchema, e6 as testMemberWalletUnlinkSchema, e7 as tokenInputSchema, e8 as tokenSchema, e9 as tokenScopeInputSchema, v as validateQuestShape, ea as verifiedPassSchema, eb as verifyScheduledRequest, ec as verifyWebhook, ed as walletBalanceChainsSchema, ee as walletIdentitySelectorSchema, ef as webhookControlInputSchema, eg as
|
|
9
|
+
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_TIMEOUT, y as APP_SECRET_LIMIT, z as APP_SQL_LIMIT, B as APP_STORAGE_PREVIEW_CHARACTERS, C as APP_STORAGE_ROW_LIMIT, D as Access, E as AccessHistoryQuery, F as AppSchedule, G as AppScheduleList, H as AppSchedules, J as AppSecret, K as AppSecretDeclaration, L as AppSecretInput, N as AppSecretList, O as AppStorage, Q as AppStorageCell, S as AppStorageKeys, T as AppStorageKind, U as AppStorageList, V as AppStorageRows, W as AppStorageTables, X as AppStorageValue, Y as AuditPage, Z as AuditQuery, _ as AuditRecord, $ as BalanceCheck, a0 as BuildArtifacts, a1 as BuildIdentity, a2 as BuildSnapshot, a3 as BuildStatus, a4 as CompletionRevocation, a5 as CompletionRevocationShortfall, a6 as CompletionRevokeInput, a7 as DEFAULT_MANAGEMENT_TIMEOUT, a8 as HostedAppSecrets, a9 as HostedBuild, aa as HostedDeploymentKey, ab as HostedKey, ac as HostedKeyPermission, ad as HostedManagementEnv, ae as IdentityLinkRelinkInput, af as InventoryItemAction, ag as InventoryItemRename, ah as InventoryItemState, ai as InventoryStockCorrection, aj as KnownPayoutSourceKind, ak as LeaderboardSettlementRejection, al as LeaderboardSettlementReview, am as ListQuery, an as ManagedAttempt, ao as ManagedAttemptPage, ap as ManagedAttemptQuery, aq as ManagedEntitlement, ar as ManagedEntitlementPage, as as ManagedEntitlementQuery, at as ManagedMemberIdentity, au as ManagedMemberPage, av as ManagedMemberQuery, aw as ManagedOAuthAccount, ax as ManagedQuestEnrollment, ay as ManagedReleasePage, az as ManagedReleaseQuery, aA as ManagedResource, aB as ManagedStockItem, aC as ManagedTelegramAccount, aD as ManagedWallet, aE as ManagementCallOptions, aF as ManagementClient, aG as ManagementClientOptions, aH as ManagementError, aI as ManagementErrorCode, aJ as ManagementErrorInit, aK as ManagementErrorKind, aL as ManagementPage, aM as ManagementRawInit, aN as MemberDetail, aO as MemberIdentityLink, aP as OperatorUser, aQ as ParticipantSignIn, aR as ParticipantSignInInput, aS as PayoutSourceKind, aT as Permission, aU as Person, aV as Project, aW as ProjectMetrics, aX as QuestEnrollmentState, aY as QuestEnrollmentWithdrawalInput, aZ as QuestLifecycle, a_ as QuestLifecycleInput, R as REFERRAL_INTEGRATION_REWARD_ERROR, a$ as ResourceArchiveInput, b0 as ResourceLifecycleInput, b1 as RevokedDeliveryOutcome, b2 as RevokedEntitlementOutcome, b3 as RevokedReferralOutcome, b4 as ScheduledInvocation, b5 as StagedDeployment, b6 as StagedDeploymentContent, b7 as StagingAccess, b8 as StagingAccessInput, b9 as StagingLink, ba as StarterId, bb as StarterTemplate, bc as TestMember, bd as TestMemberActionInput, be as TestMemberAdvanceInput, bf as TestMemberCreateInput, bg as TestMemberHistory, bh as TestMemberHistoryQuery, bi as TestMemberResetInput, bj as TestMemberResetResult, bk as TestMemberWallet, bl as TestMemberWalletLinkInput, bm as TestMemberWalletUnlinkInput, bn as WEBHOOK_MAX_BYTES, bo as WalletBalanceChains, bp as WebhookDeleteInput, bq as WebhookEndpointState, br as WebhookEvent, bs as accessHistoryQuerySchema, bt as accessSchema, bu as accountProfileSchema, bv as appMigrationNameSchema, bw as appRoutingSchema, bx as appScheduleListSchema, by as appScheduleNameSchema, bz as appSchedulePathSchema, bA as appScheduleRunSchema, bB as appScheduleSchema, bC as appScheduleStateSchema, bD as appSchedulesSchema, bE as appSecretDeclarationSchema, bF as appSecretDeclarationsSchema, bG as appSecretInputSchema, bH as appSecretListSchema, bI as appSecretNameSchema, bJ as appSecretSchema, bK as appSecretValueSchema, bL as appStorageCellSchema, bM as appStorageKeysSchema, bN as appStorageKindSchema, bO as appStorageListSchema, bP as appStorageRowsSchema, bQ as appStorageSchema, bR as appStorageTablesSchema, bS as appStorageValueSchema, bT as assetPathSchema, bU as auditPageSchema, bV as auditQuerySchema, bW as auditRecordSchema, bX as balanceCheckSchema, bY as buildArtifactsSchema, bZ as buildIdentitySchema, b_ as buildPhaseSchema, b$ as buildSnapshotSchema, c0 as buildStatusSchema, c1 as commitSchema, c2 as compareAppMigrations, c3 as completionRevocationSchema, c4 as completionRevocationShortfallSchema, c5 as completionRevokeSchema, c as containsReferralIntegrationReward, c6 as createManagementClient, c7 as createRepositorySchema, c8 as developmentPreflightSchema, c9 as deviceApproveSchema, ca as deviceRedeemSchema, cb as deviceStartSchema, cc as environmentSchema, cd as grantRecordSchema, ce as grantSchema, cf as hostedAppSchema, cg as hostedAppSecretsSchema, ch as hostedBuildSchema, ci as hostedDeploymentKeySchema, cj as hostedKeyPermissions, ck as hostedKeySchema, cl as hostedKeySecretSchema, cm as hostedManagementBindings, cn as hostedManagementClient, i as identityIntegrationInputSchema, a as identityIntegrationSchema, d as identityKindClaimSchema, co as identityLinkRelinkInputSchema, cp as identityLinkSelectorSchema, cq as ingestTrackerScopeSchema, cr as inventoryItemActionSchema, cs as inventoryItemPageSchema, ct as inventoryItemRenameSchema, cu as inventoryItemStateSchema, cv as inventorySchema, cw as inventoryStockCorrectionSchema, e as isIntegrationParticipantPath, cx as isManagementError, f as isParticipantRoute, cy as issuedTokenSchema, cz as leaderboardSettlementRejectionSchema, cA as leaderboardSettlementReviewPageSchema, cB as leaderboardSettlementReviewQuerySchema, cC as leaderboardSettlementReviewSchema, cD as leaderboardSettlementReviewSummarySchema, cE as managedAttemptPageSchema, cF as managedAttemptQuerySchema, cG as managedAttemptSchema, cH as managedEntitlementPageSchema, cI as managedEntitlementQuerySchema, cJ as managedEntitlementSchema, cK as managedMemberIdentitySchema, cL as managedMemberPageSchema, cM as managedMemberQuerySchema, cN as managedOAuthAccountSchema, cO as managedQuestEnrollmentPageSchema, cP as managedQuestEnrollmentSchema, cQ as managedReleasePageSchema, cR as managedReleaseQuerySchema, cS as managedResourceSchema, cT as managedStockItemSchema, cU as managedTelegramAccountSchema, cV as managedWalletSchema, cW as managementErrorSchema, cX as managementResponseSchemas, cY as managementResponses, cZ as memberAccountSchema, c_ as memberDetailSchema, c$ as memberIdentityChangeInputSchema, d0 as memberIdentityLinkPageSchema, d1 as memberIdentityLinkSchema, d2 as memberLookupSchema, d3 as memberOAuthUnlinkInputSchema, d4 as memberSchema, d5 as memberTelegramUnlinkInputSchema, d6 as memberWalletSignInInputSchema, d7 as memberWalletUnlinkInputSchema, d8 as metricsSchema, d9 as nextScheduleRun, da as oauthIdentitySelectorSchema, db as operationInputSchema, dc as operationSchema, dd as operatorUserSchema, de as pageSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, df as participantSignInInputSchema, dg as participantSignInSchema, dh as permissionSchema, di as personSchema, dj as projectDeletionInputSchema, dk as projectDeletionSchema, dl as projectInputSchema, dm as projectMetricsSchema, dn as projectSchema, dp as projectSetupSchema, dq as projectTransferInputSchema, dr as projectTransferSchema, ds as projectUpdateInputSchema, dt as querySchema, q as questConfiguration, du as questEnrollmentStateSchema, dv as questEnrollmentWithdrawalInputSchema, dw as questLifecycleInputSchema, dx as questLifecycleSchema, dy as readinessSchema, dz as repositorySchema, dA as resourceArchiveInputSchema, dB as resourceLifecycleInputSchema, dC as resourceLifecycleKindSchema, dD as resourceLifecyclePaths, dE as resourceLifecycleResultSchema, dF as rolePermissions, dG as roleSchema, dH as scheduledInvocationSchema, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, dI as stageRequestSchema, dJ as stagedDeploymentContentSchema, dK as stagedDeploymentKey, dL as stagedDeploymentLimits, dM as stagedDeploymentSchema, dN as stagingAccessInputSchema, dO as stagingAccessModeSchema, dP as stagingAccessSchema, dQ as stagingLinkSchema, dR as stagingPathSchema, dS as starterIdSchema, dT as starterTemplates, dU as stockAdditionSchema, dV as stockInputSchema, dW as teamSchema, dX as telegramBotIdSchema, dY as testMemberActionSchema, dZ as testMemberAdvanceSchema, d_ as testMemberCreateSchema, d$ as testMemberHistoryQuerySchema, e0 as testMemberHistorySchema, e1 as testMemberResetResultSchema, e2 as testMemberResetSchema, e3 as testMemberSchema, e4 as testMemberWalletLinkSchema, e5 as testMemberWalletSchema, e6 as testMemberWalletUnlinkSchema, e7 as tokenInputSchema, e8 as tokenSchema, e9 as tokenScopeInputSchema, v as validateQuestShape, ea as verifiedPassSchema, eb as verifyScheduledRequest, ec as verifyWebhook, ed as walletBalanceChainsSchema, ee as walletIdentitySelectorSchema, ef as webhookControlInputSchema, eg as webhookCreateInputSchema, eh as webhookDeleteInputSchema, ei as webhookDeliveryPageSchema, ej as webhookDeliverySchema, ek as webhookEndpointSchema, el as webhookEndpointStateSchema, em as webhookEventSchema, en as webhookInputSchema, eo as webhookQuerySchema, ep as webhookRotateInputSchema, eq as webhookSecretSchema, er as webhookStatePageSchema, es as webhookStateQuerySchema, et as webhookUpdateSchema } from '../transport-M8ouWh7j.js';
|
|
10
10
|
export { A as AttemptCapture, C as CapturedFact, a as attemptCaptureSchema, c as capturedFactSchema } from '../attempt-captures-JDIgz2lY.js';
|
|
11
|
-
export { d as activityTypeSchema, e as activityTypes, h as deploymentActionSchema, k as deploymentRejectionSchema } from '../deployments-
|
|
11
|
+
export { d as activityTypeSchema, e as activityTypes, h as deploymentActionSchema, k as deploymentRejectionSchema } from '../deployments-BFl_dOgc.js';
|
|
12
12
|
export { E as Extracted } from '../images-DwNmzqWv.js';
|
package/dist/server/index.js
CHANGED
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
participantExchangeSchema,
|
|
45
45
|
questConfiguration,
|
|
46
46
|
sequenceCursorSchema
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-NXWPYO6U.js";
|
|
48
48
|
import {
|
|
49
49
|
parseImageExtraction,
|
|
50
50
|
parseImageResult
|
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
telegramChatsSchema
|
|
141
141
|
} from "../chunk-W33PYWYQ.js";
|
|
142
142
|
import "../chunk-WOGCRDFT.js";
|
|
143
|
-
import "../chunk-
|
|
143
|
+
import "../chunk-MO2FASX4.js";
|
|
144
144
|
import "../chunk-JUQ2GNMD.js";
|
|
145
145
|
import {
|
|
146
146
|
CompletionSourceKind,
|
|
@@ -458,6 +458,8 @@ var webhookInputSchema = z6.object({
|
|
|
458
458
|
}, "Use an HTTPS URL without credentials or a fragment"),
|
|
459
459
|
types: z6.array(activityTypeSchema).min(1).max(100).refine((v) => new Set(v).size === v.length)
|
|
460
460
|
}).strict();
|
|
461
|
+
var webhookCreateInputSchema = webhookInputSchema.extend({ actionId: z6.string().uuid().optional() }).strict();
|
|
462
|
+
var webhookRotateInputSchema = z6.object({ actionId: z6.string().uuid().optional() }).strict();
|
|
461
463
|
var webhookUpdateSchema = webhookInputSchema.partial().extend({ enabled: z6.boolean().optional() }).strict();
|
|
462
464
|
var webhookEndpointSchema = z6.object({
|
|
463
465
|
...webhookInputSchema.shape,
|
|
@@ -2001,6 +2003,17 @@ function managementClient(options) {
|
|
|
2001
2003
|
options2
|
|
2002
2004
|
);
|
|
2003
2005
|
}
|
|
2006
|
+
function rotateWebhookSecret(id, inputOrCall, call) {
|
|
2007
|
+
const isInput = call !== void 0 || inputOrCall !== void 0 && "actionId" in inputOrCall;
|
|
2008
|
+
const input = isInput ? inputOrCall ?? {} : {};
|
|
2009
|
+
const options2 = isInput ? call : inputOrCall;
|
|
2010
|
+
return post(
|
|
2011
|
+
`/webhooks/${z13.string().uuid().parse(id)}/rotate-secret`,
|
|
2012
|
+
webhookSecretSchema,
|
|
2013
|
+
webhookRotateInputSchema.parse(withActionId(input)),
|
|
2014
|
+
options2
|
|
2015
|
+
);
|
|
2016
|
+
}
|
|
2004
2017
|
const archiveResource = (kind, resource, archived, input, call) => post(
|
|
2005
2018
|
`${resourceLifecyclePaths[kind]}/${identifier.parse(resource)}/${archived ? "archive" : "unarchive"}`,
|
|
2006
2019
|
resourceLifecycleResultSchema,
|
|
@@ -3006,10 +3019,11 @@ function managementClient(options) {
|
|
|
3006
3019
|
call
|
|
3007
3020
|
),
|
|
3008
3021
|
list: (call) => get("/webhooks", z13.array(webhookEndpointSchema), call),
|
|
3022
|
+
/** Pass an `actionId` to recover the endpoint and its secret after a lost answer. */
|
|
3009
3023
|
create: (input, call) => post(
|
|
3010
3024
|
"/webhooks",
|
|
3011
3025
|
webhookSecretSchema,
|
|
3012
|
-
|
|
3026
|
+
webhookCreateInputSchema.parse(withActionId(input)),
|
|
3013
3027
|
call
|
|
3014
3028
|
),
|
|
3015
3029
|
update: (id, input, call) => request(
|
|
@@ -3026,12 +3040,7 @@ function managementClient(options) {
|
|
|
3026
3040
|
{},
|
|
3027
3041
|
call
|
|
3028
3042
|
),
|
|
3029
|
-
rotateSecret:
|
|
3030
|
-
`/webhooks/${z13.string().uuid().parse(id)}/rotate-secret`,
|
|
3031
|
-
webhookSecretSchema,
|
|
3032
|
-
{},
|
|
3033
|
-
call
|
|
3034
|
-
),
|
|
3043
|
+
rotateSecret: rotateWebhookSecret,
|
|
3035
3044
|
deliveries: (id, query = {}, call) => get(
|
|
3036
3045
|
`/webhooks/${z13.string().uuid().parse(id)}/deliveries${queryString(webhookQuerySchema.parse(query))}`,
|
|
3037
3046
|
webhookDeliveryPageSchema,
|
|
@@ -4433,6 +4442,7 @@ export {
|
|
|
4433
4442
|
walletBalanceChainsSchema,
|
|
4434
4443
|
walletIdentitySelectorSchema,
|
|
4435
4444
|
webhookControlInputSchema,
|
|
4445
|
+
webhookCreateInputSchema,
|
|
4436
4446
|
webhookDeleteInputSchema,
|
|
4437
4447
|
webhookDeliveryPageSchema,
|
|
4438
4448
|
webhookDeliverySchema,
|
|
@@ -4441,6 +4451,7 @@ export {
|
|
|
4441
4451
|
webhookEventSchema,
|
|
4442
4452
|
webhookInputSchema,
|
|
4443
4453
|
webhookQuerySchema,
|
|
4454
|
+
webhookRotateInputSchema,
|
|
4444
4455
|
webhookSecretSchema,
|
|
4445
4456
|
webhookStatePageSchema,
|
|
4446
4457
|
webhookStateQuerySchema,
|