@domino-sdk/relay 1.31.0 → 1.32.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.js +3 -3
- package/dist/{chunk-LSJPJQW4.js → chunk-BSOXLXQO.js} +61 -31
- package/dist/{chunk-A7SJDWBR.js → chunk-CCUJ4UJG.js} +1 -1
- package/dist/{chunk-WULPIU3Z.js → chunk-CUT62B37.js} +1 -1
- package/dist/{chunk-F3JLZ7MR.js → chunk-HSH7OBUX.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +2 -2
- package/dist/portal-proxy.js +1 -1
- package/dist/react/index.js +3 -3
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +120 -3
- package/dist/{transport-leWfCbHS.d.ts → transport-VyYo2pIQ.d.ts} +447 -2
- package/package.json +1 -1
package/dist/browser.js
CHANGED
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
solanaSigner,
|
|
13
13
|
telegramMiniAppInitData,
|
|
14
14
|
walletStandardSolanaSigner
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-CUT62B37.js";
|
|
16
|
+
import "./chunk-HSH7OBUX.js";
|
|
17
17
|
import "./chunk-IJT4EKFY.js";
|
|
18
18
|
import "./chunk-MHPTCD5O.js";
|
|
19
19
|
import "./chunk-5QZGXYH7.js";
|
|
20
20
|
import "./chunk-BUHGXKPY.js";
|
|
21
21
|
import "./chunk-V7K7XXFB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-CCUJ4UJG.js";
|
|
23
23
|
import "./chunk-466IRAJP.js";
|
|
24
24
|
import "./chunk-OW22TOV7.js";
|
|
25
25
|
export {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-V7K7XXFB.js";
|
|
8
8
|
import {
|
|
9
9
|
clientIdentity
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CCUJ4UJG.js";
|
|
11
11
|
import {
|
|
12
12
|
authScopeSchema
|
|
13
13
|
} from "./chunk-466IRAJP.js";
|
|
@@ -33,11 +33,27 @@ function questConfiguration(release) {
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
// src/
|
|
36
|
+
// src/credential-secrets.ts
|
|
37
37
|
import * as z from "zod";
|
|
38
|
-
var
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
var credentialSecretSchema = z.object({
|
|
39
|
+
id: z.string().uuid(),
|
|
40
|
+
/** The secret's last four characters, to tell secrets apart; null for one issued before hints. */
|
|
41
|
+
hint: z.string().nullable(),
|
|
42
|
+
createdAt: z.number(),
|
|
43
|
+
/** When the secret stops working; null when it never expires. */
|
|
44
|
+
expiresAt: z.number().nullable(),
|
|
45
|
+
/** When the secret last authenticated a request; null when it never has. */
|
|
46
|
+
lastUsedAt: z.number().nullable()
|
|
47
|
+
});
|
|
48
|
+
var credentialSecretInputSchema = z.object({
|
|
49
|
+
expiresInDays: z.number().int().min(1).max(3650).optional()
|
|
50
|
+
}).strict();
|
|
51
|
+
|
|
52
|
+
// src/identity-integration.ts
|
|
53
|
+
import * as z2 from "zod";
|
|
54
|
+
var identityIntegrationInputSchema = z2.object({
|
|
55
|
+
name: z2.string().trim().min(1).max(80),
|
|
56
|
+
origin: z2.string().url().refine((value) => {
|
|
41
57
|
const url = new URL(value);
|
|
42
58
|
return url.protocol === "https:" && url.origin === value;
|
|
43
59
|
}, "Use an exact HTTPS application origin"),
|
|
@@ -58,9 +74,11 @@ var identityIntegrationInputSchema = z.object({
|
|
|
58
74
|
* users as that integration's, because each one then signs in as the member that ID is linked
|
|
59
75
|
* to. Needs `reason`, which the audit log keeps.
|
|
60
76
|
*/
|
|
61
|
-
adoptIdentitiesFrom:
|
|
77
|
+
adoptIdentitiesFrom: z2.string().uuid().optional(),
|
|
62
78
|
/** Why the identities are adopted; required with `adoptIdentitiesFrom`. */
|
|
63
|
-
reason:
|
|
79
|
+
reason: z2.string().trim().min(1).max(500).optional(),
|
|
80
|
+
/** Days until the first secret expires. Omit it for a key that never expires. */
|
|
81
|
+
expiresInDays: z2.number().int().min(1).max(3650).optional()
|
|
64
82
|
}).strict().refine(
|
|
65
83
|
(input) => !input.adoptIdentitiesFrom || input.identityKind,
|
|
66
84
|
"Adopting identities needs the identityKind they have"
|
|
@@ -68,41 +86,51 @@ var identityIntegrationInputSchema = z.object({
|
|
|
68
86
|
(input) => !input.adoptIdentitiesFrom === !input.reason,
|
|
69
87
|
"Give a reason when adopting identities, and only then"
|
|
70
88
|
);
|
|
71
|
-
var identityIntegrationSchema =
|
|
89
|
+
var identityIntegrationSchema = z2.object({
|
|
72
90
|
...authScopeSchema.shape,
|
|
73
|
-
id:
|
|
74
|
-
name:
|
|
75
|
-
origin:
|
|
76
|
-
|
|
91
|
+
id: z2.string().uuid(),
|
|
92
|
+
name: z2.string(),
|
|
93
|
+
origin: z2.string(),
|
|
94
|
+
/**
|
|
95
|
+
* When the integration's last working secret expires: 8640000000000000 (the latest date
|
|
96
|
+
* JavaScript represents) when one never does.
|
|
97
|
+
*
|
|
98
|
+
* @deprecated Read `secrets`, which gives each secret's own expiry.
|
|
99
|
+
*/
|
|
100
|
+
expiresAt: z2.number(),
|
|
101
|
+
/** The integration's working secrets, oldest first. Any of them authenticates it. */
|
|
102
|
+
secrets: z2.array(credentialSecretSchema).default([]),
|
|
103
|
+
/** The latest use of any of its secrets, revoked ones included; null when none was used. */
|
|
104
|
+
lastUsedAt: z2.number().nullable().default(null),
|
|
77
105
|
/** The identity kind the integration owns; null when it only signs members in. */
|
|
78
106
|
identityKind: openIdentityKindSchema.nullable().default(null)
|
|
79
107
|
});
|
|
80
108
|
var identityIntegrationSecretSchema = identityIntegrationSchema.extend(
|
|
81
109
|
{
|
|
82
|
-
token:
|
|
110
|
+
token: z2.string()
|
|
83
111
|
}
|
|
84
112
|
);
|
|
85
|
-
var identityKindClaimSchema =
|
|
113
|
+
var identityKindClaimSchema = z2.object({
|
|
86
114
|
kind: openIdentityKindSchema,
|
|
87
115
|
/** The owning integration's ID; it stays after the integration is disconnected. */
|
|
88
|
-
integration:
|
|
116
|
+
integration: z2.string(),
|
|
89
117
|
/** The owning integration's name when it claimed or adopted the kind. */
|
|
90
|
-
integrationName:
|
|
118
|
+
integrationName: z2.string(),
|
|
91
119
|
/** Whether the owning integration is still connected. */
|
|
92
|
-
connected:
|
|
120
|
+
connected: z2.boolean(),
|
|
93
121
|
/** Linked identities of the kind; adopting them is required to reuse the kind. */
|
|
94
|
-
linked:
|
|
122
|
+
linked: z2.number().int().nonnegative(),
|
|
95
123
|
/** Identities an operator unlinked. */
|
|
96
|
-
unlinked:
|
|
97
|
-
claimedAt:
|
|
124
|
+
unlinked: z2.number().int().nonnegative(),
|
|
125
|
+
claimedAt: z2.number().int().nonnegative()
|
|
98
126
|
});
|
|
99
|
-
var participantExchangeSchema =
|
|
100
|
-
subject:
|
|
101
|
-
previousToken:
|
|
127
|
+
var participantExchangeSchema = z2.object({
|
|
128
|
+
subject: z2.string().min(1).max(200),
|
|
129
|
+
previousToken: z2.string().max(200).optional()
|
|
102
130
|
}).strict();
|
|
103
131
|
|
|
104
132
|
// src/server/errors.ts
|
|
105
|
-
import * as
|
|
133
|
+
import * as z3 from "zod";
|
|
106
134
|
var ManagementErrorCode = {
|
|
107
135
|
/** The input or an option failed validation before anything was sent (kind `client`). */
|
|
108
136
|
InvalidInput: "invalid-input",
|
|
@@ -113,9 +141,9 @@ var ManagementErrorCode = {
|
|
|
113
141
|
Aborted: "aborted",
|
|
114
142
|
InvalidResponse: "invalid-response"
|
|
115
143
|
};
|
|
116
|
-
var managementErrorSchema =
|
|
117
|
-
error:
|
|
118
|
-
code:
|
|
144
|
+
var managementErrorSchema = z3.looseObject({
|
|
145
|
+
error: z3.string(),
|
|
146
|
+
code: z3.string().optional()
|
|
119
147
|
});
|
|
120
148
|
var uncertainStatuses = /* @__PURE__ */ new Set([500, 502, 504]);
|
|
121
149
|
function uncertainOutcome(init) {
|
|
@@ -167,7 +195,7 @@ var ManagementError = class extends RequestError {
|
|
|
167
195
|
var DEFAULT_MANAGEMENT_TIMEOUT = MANAGEMENT_TIMEOUT;
|
|
168
196
|
|
|
169
197
|
// src/server/transport.ts
|
|
170
|
-
import * as
|
|
198
|
+
import * as z4 from "zod";
|
|
171
199
|
function failureCause(error) {
|
|
172
200
|
if (typeof error !== "object" || error === null || !("cause" in error)) {
|
|
173
201
|
return {};
|
|
@@ -463,7 +491,7 @@ function managementTransport(options) {
|
|
|
463
491
|
replaySafe
|
|
464
492
|
}) => exchange(
|
|
465
493
|
path,
|
|
466
|
-
|
|
494
|
+
z4.unknown(),
|
|
467
495
|
body,
|
|
468
496
|
method,
|
|
469
497
|
void 0,
|
|
@@ -473,8 +501,8 @@ function managementTransport(options) {
|
|
|
473
501
|
}
|
|
474
502
|
|
|
475
503
|
// src/sequence-cursor.ts
|
|
476
|
-
import * as
|
|
477
|
-
var sequenceCursorSchema =
|
|
504
|
+
import * as z5 from "zod";
|
|
505
|
+
var sequenceCursorSchema = z5.string().regex(/^[1-9][0-9]{0,15}$/, "Invalid cursor").transform(Number).pipe(z5.number().int().positive().safe());
|
|
478
506
|
|
|
479
507
|
// src/referral-reward-kinds.ts
|
|
480
508
|
var REFERRAL_INTEGRATION_REWARD_ERROR = "Referral programs can grant points and tiered rewards; Discord roles need a quest";
|
|
@@ -496,6 +524,8 @@ function containsReferralIntegrationReward(value) {
|
|
|
496
524
|
|
|
497
525
|
export {
|
|
498
526
|
questConfiguration,
|
|
527
|
+
credentialSecretSchema,
|
|
528
|
+
credentialSecretInputSchema,
|
|
499
529
|
identityIntegrationInputSchema,
|
|
500
530
|
identityIntegrationSchema,
|
|
501
531
|
identityIntegrationSecretSchema,
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
QuestUpdatedError,
|
|
7
7
|
createRelayClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HSH7OBUX.js";
|
|
9
9
|
import {
|
|
10
10
|
createRelayAction
|
|
11
11
|
} from "./chunk-IJT4EKFY.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-5QZGXYH7.js";
|
|
18
18
|
import "./chunk-BUHGXKPY.js";
|
|
19
19
|
import "./chunk-V7K7XXFB.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-CCUJ4UJG.js";
|
|
21
21
|
import {
|
|
22
22
|
sessionMember
|
|
23
23
|
} from "./chunk-466IRAJP.js";
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as IdentityKindClaim, M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, m as managementTransport, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, v as validateQuestShape } from './transport-
|
|
1
|
+
export { I as IdentityKindClaim, M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, m as managementTransport, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, v as validateQuestShape } from './transport-VyYo2pIQ.js';
|
|
2
2
|
export { E as Extracted } from './x-58jkoblN.js';
|
|
3
3
|
import { c as RequestErrorKind } from './action-DBzILFx9.js';
|
|
4
4
|
export { i as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, j as trackerDataIssue, k as trackerDataIssues, l as trackerDataPathTypes, m as trackerDataRecordSteps, w as whereSchemaIssue } from './schema-DquhoBae.js';
|
package/dist/internal.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
participantExchangeSchema,
|
|
10
10
|
questConfiguration,
|
|
11
11
|
sequenceCursorSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BSOXLXQO.js";
|
|
13
13
|
import {
|
|
14
14
|
parseImageExtraction,
|
|
15
15
|
parseImageResult
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
retryAfter,
|
|
33
33
|
retrying
|
|
34
34
|
} from "./chunk-V7K7XXFB.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-CCUJ4UJG.js";
|
|
36
36
|
import "./chunk-466IRAJP.js";
|
|
37
37
|
import {
|
|
38
38
|
schemaCheckedReader,
|
package/dist/portal-proxy.js
CHANGED
package/dist/react/index.js
CHANGED
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
readSignInMethods,
|
|
10
10
|
signInOptionsFrom,
|
|
11
11
|
telegramMiniAppInitData
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-CUT62B37.js";
|
|
13
|
+
import "../chunk-HSH7OBUX.js";
|
|
14
14
|
import {
|
|
15
15
|
createRelayAction
|
|
16
16
|
} from "../chunk-IJT4EKFY.js";
|
|
@@ -18,7 +18,7 @@ import "../chunk-MHPTCD5O.js";
|
|
|
18
18
|
import "../chunk-5QZGXYH7.js";
|
|
19
19
|
import "../chunk-BUHGXKPY.js";
|
|
20
20
|
import "../chunk-V7K7XXFB.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-CCUJ4UJG.js";
|
|
22
22
|
import {
|
|
23
23
|
sessionMember
|
|
24
24
|
} from "../chunk-466IRAJP.js";
|
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-BHuQdzsW.js';
|
|
8
8
|
import '../automatic-outcomes-CHiFP_U-.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 ManagedMemberProgress, aw as ManagedMemberQuery, ax as ManagedOAuthAccount, ay as ManagedQuestEnrollment, az as ManagedReleasePage, aA as ManagedReleaseQuery, aB as ManagedResource, aC as ManagedStockItem, aD as ManagedTelegramAccount, aE as ManagedWallet, aF as ManagementCallOptions, aG as ManagementClient, aH as ManagementClientOptions, aI as ManagementError, aJ as ManagementErrorCode, aK as ManagementErrorInit, aL as ManagementErrorKind, aM as ManagementPage, aN as ManagementRawInit, aO as MemberDetail, aP as MemberIdentityLink, aQ as MemberIdentityLinkChangeInput, aR as MemberIdentitySelector, aS as MemberIdentitySignInInput, aT as MemberIdentityState, aU as MemberIdentityStatePage, aV as OperatorUser, aW as ParticipantSignIn, aX as ParticipantSignInInput, aY as PayoutSourceKind, aZ as Permission, a_ as Person, a$ as Project, b0 as ProjectMetrics, b1 as QuestEnrollmentState, b2 as QuestEnrollmentWithdrawalInput, b3 as QuestLifecycle, b4 as QuestLifecycleInput, R as REFERRAL_INTEGRATION_REWARD_ERROR, b5 as ResourceArchiveInput, b6 as ResourceLifecycleInput, b7 as RevokedDeliveryOutcome, b8 as RevokedEntitlementOutcome, b9 as RevokedReferralOutcome, ba as ScheduledInvocation, bb as StagedDeployment, bc as StagedDeploymentContent, bd as StagingAccess, be as StagingAccessInput, bf as StagingLink, bg as StarterId, bh as StarterTemplate, bi as TestMember, bj as TestMemberActionInput, bk as TestMemberAdvanceInput, bl as TestMemberCreateInput, bm as TestMemberHistory, bn as TestMemberHistoryQuery, bo as TestMemberResetInput, bp as TestMemberResetResult, bq as TestMemberWallet, br as TestMemberWalletLinkInput, bs as TestMemberWalletUnlinkInput, bt as WEBHOOK_MAX_BYTES, bu as WalletBalanceChains, bv as WebhookDeleteInput, bw as WebhookEndpointState, bx as WebhookEvent, by as accessHistoryQuerySchema, bz as accessSchema, bA as accountProfileSchema, bB as appIdentitySelectorSchema, bC as appMigrationNameSchema, bD as appRoutingSchema, bE as appScheduleListSchema, bF as appScheduleNameSchema, bG as appSchedulePathSchema, bH as appScheduleRunSchema, bI as appScheduleSchema, bJ as appScheduleStateSchema, bK as appSchedulesSchema, bL as appSecretDeclarationSchema, bM as appSecretDeclarationsSchema, bN as appSecretInputSchema, bO as appSecretListSchema, bP as appSecretNameSchema, bQ as appSecretSchema, bR as appSecretValueSchema, bS as appStorageCellSchema, bT as appStorageKeysSchema, bU as appStorageKindSchema, bV as appStorageListSchema, bW as appStorageRowsSchema, bX as appStorageSchema, bY as appStorageTablesSchema, bZ as appStorageValueSchema, b_ as assetPathSchema, b$ as auditPageSchema, c0 as auditQuerySchema, c1 as auditRecordSchema, c2 as balanceCheckSchema, c3 as buildArtifactsSchema, c4 as buildIdentitySchema, c5 as buildPhaseSchema, c6 as buildSnapshotSchema, c7 as buildStatusSchema, c8 as commitSchema, c9 as compareAppMigrations, ca as completionRevocationSchema, cb as completionRevocationShortfallSchema, cc as completionRevokeSchema, c as containsReferralIntegrationReward, cd as createManagementClient, ce as createRepositorySchema, cf as developmentPreflightSchema, cg as deviceApproveSchema, ch as deviceRedeemSchema, ci as deviceStartSchema, cj as environmentSchema, ck as grantRecordSchema, cl as grantSchema, cm as hostedAppSchema, cn as hostedAppSecretsSchema, co as hostedBuildSchema, cp as hostedDeploymentKeySchema, cq as hostedKeyPermissions, cr as hostedKeySchema, cs as hostedKeySecretSchema, ct as hostedManagementBindings, cu as hostedManagementClient, i as identityIntegrationInputSchema, a as identityIntegrationSchema, d as identityKindClaimSchema, cv as identityLinkRelinkInputSchema, cw as identityLinkSelectorSchema, cx as ingestTrackerScopeSchema, cy as inventoryItemActionSchema, cz as inventoryItemPageSchema, cA as inventoryItemRenameSchema, cB as inventoryItemStateSchema, cC as inventorySchema, cD as inventoryStockCorrectionSchema, e as isIntegrationParticipantPath, cE as isManagementError, f as isParticipantRoute, cF as issuedTokenSchema, cG as leaderboardSettlementRejectionSchema, cH as leaderboardSettlementReviewPageSchema, cI as leaderboardSettlementReviewQuerySchema, cJ as leaderboardSettlementReviewSchema, cK as leaderboardSettlementReviewSummarySchema, cL as managedAttemptPageSchema, cM as managedAttemptQuerySchema, cN as managedAttemptSchema, cO as managedEntitlementPageSchema, cP as managedEntitlementQuerySchema, cQ as managedEntitlementSchema, cR as managedMemberIdentitySchema, cS as managedMemberPageSchema, cT as managedMemberProgressSchema, cU as managedMemberQuerySchema, cV as managedOAuthAccountSchema, cW as managedQuestEnrollmentPageSchema, cX as managedQuestEnrollmentSchema, cY as managedReleasePageSchema, cZ as managedReleaseQuerySchema, c_ as managedResourceSchema, c$ as managedStockItemSchema, d0 as managedTelegramAccountSchema, d1 as managedWalletSchema, d2 as managementErrorSchema, d3 as managementResponseSchemas, d4 as managementResponses, d5 as memberAccountSchema, d6 as memberDetailSchema, d7 as memberIdentityChangeInputSchema, d8 as memberIdentityLinkChangeInputSchema, d9 as memberIdentityLinkPageSchema, da as memberIdentityLinkSchema, db as memberIdentitySelectorSchema, dc as memberIdentitySignInInputSchema, dd as memberIdentityStatePageSchema, de as memberIdentityStateSchema, df as memberLookupSchema, dg as memberOAuthUnlinkInputSchema, dh as memberSchema, di as memberTelegramUnlinkInputSchema, dj as memberWalletSignInInputSchema, dk as memberWalletUnlinkInputSchema, dl as metricsSchema, dm as nextScheduleRun, dn as oauthIdentitySelectorSchema, dp as operationInputSchema, dq as operationSchema, dr as operatorUserSchema, ds as pageSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, dt as participantSignInInputSchema, du as participantSignInSchema, dv as permissionSchema, dw as personSchema, dx as projectDeletionInputSchema, dy as projectDeletionSchema, dz as projectInputSchema, dA as projectMetricsSchema, dB as projectSchema, dC as projectSetupSchema, dD as projectTransferInputSchema, dE as projectTransferSchema, dF as projectUpdateInputSchema, dG as querySchema, q as questConfiguration, dH as questEnrollmentStateSchema, dI as questEnrollmentWithdrawalInputSchema, dJ as questLifecycleInputSchema, dK as questLifecycleSchema, dL as readinessSchema, dM as repositorySchema, dN as resourceArchiveInputSchema, dO as resourceLifecycleInputSchema, dP as resourceLifecycleKindSchema, dQ as resourceLifecyclePaths, dR as resourceLifecycleResultSchema, dS as rolePermissions, dT as roleSchema, dU as scheduledInvocationSchema, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, dV as stageRequestSchema, dW as stagedDeploymentContentSchema, dX as stagedDeploymentKey, dY as stagedDeploymentLimits, dZ as stagedDeploymentSchema, d_ as stagingAccessInputSchema, d$ as stagingAccessModeSchema, e0 as stagingAccessSchema, e1 as stagingLinkSchema, e2 as stagingPathSchema, e3 as starterIdSchema, e4 as starterTemplates, e5 as stockAdditionSchema, e6 as stockInputSchema, e7 as teamSchema, e8 as telegramBotIdSchema, e9 as telegramIdentitySelectorSchema, ea as testMemberActionSchema, eb as testMemberAdvanceSchema, ec as testMemberCreateSchema, ed as testMemberHistoryQuerySchema, ee as testMemberHistorySchema, ef as testMemberResetResultSchema, eg as testMemberResetSchema, eh as testMemberSchema, ei as testMemberWalletLinkSchema, ej as testMemberWalletSchema, ek as testMemberWalletUnlinkSchema, el as tokenInputSchema, em as tokenSchema, en as tokenScopeInputSchema, v as validateQuestShape, eo as verifiedPassSchema, ep as verifyScheduledRequest, eq as verifyWebhook, er as walletBalanceChainsSchema, es as walletIdentitySelectorSchema, et as webhookControlInputSchema, eu as webhookCreateInputSchema, ev as webhookDeleteInputSchema, ew as webhookDeliveryPageSchema, ex as webhookDeliverySchema, ey as webhookEndpointSchema, ez as webhookEndpointStateSchema, eA as webhookEventSchema, eB as webhookInputSchema, eC as webhookQuerySchema, eD as webhookRotateInputSchema, eE as webhookSecretSchema, eF as webhookStatePageSchema, eG as webhookStateQuerySchema, eH as webhookUpdateSchema } from '../transport-leWfCbHS.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 CredentialSecret, a8 as DEFAULT_MANAGEMENT_TIMEOUT, a9 as HostedAppSecrets, aa as HostedBuild, ab as HostedDeploymentKey, ac as HostedKey, ad as HostedKeyPermission, ae as HostedManagementEnv, af as IdentityLinkRelinkInput, ag as InventoryItemAction, ah as InventoryItemRename, ai as InventoryItemState, aj as InventoryStockCorrection, ak as KnownPayoutSourceKind, al as LeaderboardSettlementRejection, am as LeaderboardSettlementReview, an as ListQuery, ao as ManagedAttempt, ap as ManagedAttemptPage, aq as ManagedAttemptQuery, ar as ManagedEntitlement, as as ManagedEntitlementPage, at as ManagedEntitlementQuery, au as ManagedMemberIdentity, av as ManagedMemberPage, aw as ManagedMemberProgress, ax as ManagedMemberQuery, ay as ManagedOAuthAccount, az as ManagedQuestEnrollment, aA as ManagedReleasePage, aB as ManagedReleaseQuery, aC as ManagedResource, aD as ManagedStockItem, aE as ManagedTelegramAccount, aF as ManagedWallet, aG as ManagementCallOptions, aH as ManagementClient, aI as ManagementClientOptions, aJ as ManagementError, aK as ManagementErrorCode, aL as ManagementErrorInit, aM as ManagementErrorKind, aN as ManagementPage, aO as ManagementRawInit, aP as MemberDetail, aQ as MemberIdentityLink, aR as MemberIdentityLinkChangeInput, aS as MemberIdentitySelector, aT as MemberIdentitySignInInput, aU as MemberIdentityState, aV as MemberIdentityStatePage, aW as OperatorUser, aX as ParticipantSignIn, aY as ParticipantSignInInput, aZ as PayoutSourceKind, a_ as Permission, a$ as Person, b0 as Project, b1 as ProjectMetrics, b2 as QuestEnrollmentState, b3 as QuestEnrollmentWithdrawalInput, b4 as QuestLifecycle, b5 as QuestLifecycleInput, R as REFERRAL_INTEGRATION_REWARD_ERROR, b6 as ResourceArchiveInput, b7 as ResourceLifecycleInput, b8 as RevokedDeliveryOutcome, b9 as RevokedEntitlementOutcome, ba as RevokedReferralOutcome, bb as ScheduledInvocation, bc as ServiceKey, bd as StagedDeployment, be as StagedDeploymentContent, bf as StagingAccess, bg as StagingAccessInput, bh as StagingLink, bi as StarterId, bj as StarterTemplate, bk as TestMember, bl as TestMemberActionInput, bm as TestMemberAdvanceInput, bn as TestMemberCreateInput, bo as TestMemberHistory, bp as TestMemberHistoryQuery, bq as TestMemberResetInput, br as TestMemberResetResult, bs as TestMemberWallet, bt as TestMemberWalletLinkInput, bu as TestMemberWalletUnlinkInput, bv as WEBHOOK_MAX_BYTES, bw as WalletBalanceChains, bx as WebhookDeleteInput, by as WebhookEndpointState, bz as WebhookEvent, bA as accessHistoryQuerySchema, bB as accessSchema, bC as accountProfileSchema, bD as appIdentitySelectorSchema, bE as appMigrationNameSchema, bF as appRoutingSchema, bG as appScheduleListSchema, bH as appScheduleNameSchema, bI as appSchedulePathSchema, bJ as appScheduleRunSchema, bK as appScheduleSchema, bL as appScheduleStateSchema, bM as appSchedulesSchema, bN as appSecretDeclarationSchema, bO as appSecretDeclarationsSchema, bP as appSecretInputSchema, bQ as appSecretListSchema, bR as appSecretNameSchema, bS as appSecretSchema, bT as appSecretValueSchema, bU as appStorageCellSchema, bV as appStorageKeysSchema, bW as appStorageKindSchema, bX as appStorageListSchema, bY as appStorageRowsSchema, bZ as appStorageSchema, b_ as appStorageTablesSchema, b$ as appStorageValueSchema, c0 as assetPathSchema, c1 as auditPageSchema, c2 as auditQuerySchema, c3 as auditRecordSchema, c4 as balanceCheckSchema, c5 as buildArtifactsSchema, c6 as buildIdentitySchema, c7 as buildPhaseSchema, c8 as buildSnapshotSchema, c9 as buildStatusSchema, ca as commitSchema, cb as compareAppMigrations, cc as completionRevocationSchema, cd as completionRevocationShortfallSchema, ce as completionRevokeSchema, c as containsReferralIntegrationReward, cf as createManagementClient, cg as createRepositorySchema, ch as credentialSecretInputSchema, ci as credentialSecretSchema, cj as developmentPreflightSchema, ck as deviceApproveSchema, cl as deviceRedeemSchema, cm as deviceStartSchema, cn as environmentSchema, co as grantRecordSchema, cp as grantSchema, cq as hostedAppSchema, cr as hostedAppSecretsSchema, cs as hostedBuildSchema, ct as hostedDeploymentKeySchema, cu as hostedKeyPermissions, cv as hostedKeySchema, cw as hostedKeySecretSchema, cx as hostedManagementBindings, cy as hostedManagementClient, i as identityIntegrationInputSchema, a as identityIntegrationSchema, d as identityKindClaimSchema, cz as identityLinkRelinkInputSchema, cA as identityLinkSelectorSchema, cB as ingestTrackerScopeSchema, cC as inventoryItemActionSchema, cD as inventoryItemPageSchema, cE as inventoryItemRenameSchema, cF as inventoryItemStateSchema, cG as inventorySchema, cH as inventoryStockCorrectionSchema, e as isIntegrationParticipantPath, cI as isManagementError, f as isParticipantRoute, cJ as issuedServiceKeySchema, cK as issuedTokenSchema, cL as leaderboardSettlementRejectionSchema, cM as leaderboardSettlementReviewPageSchema, cN as leaderboardSettlementReviewQuerySchema, cO as leaderboardSettlementReviewSchema, cP as leaderboardSettlementReviewSummarySchema, cQ as managedAttemptPageSchema, cR as managedAttemptQuerySchema, cS as managedAttemptSchema, cT as managedEntitlementPageSchema, cU as managedEntitlementQuerySchema, cV as managedEntitlementSchema, cW as managedMemberIdentitySchema, cX as managedMemberPageSchema, cY as managedMemberProgressSchema, cZ as managedMemberQuerySchema, c_ as managedOAuthAccountSchema, c$ as managedQuestEnrollmentPageSchema, d0 as managedQuestEnrollmentSchema, d1 as managedReleasePageSchema, d2 as managedReleaseQuerySchema, d3 as managedResourceSchema, d4 as managedStockItemSchema, d5 as managedTelegramAccountSchema, d6 as managedWalletSchema, d7 as managementErrorSchema, d8 as managementResponseSchemas, d9 as managementResponses, da as memberAccountSchema, db as memberDetailSchema, dc as memberIdentityChangeInputSchema, dd as memberIdentityLinkChangeInputSchema, de as memberIdentityLinkPageSchema, df as memberIdentityLinkSchema, dg as memberIdentitySelectorSchema, dh as memberIdentitySignInInputSchema, di as memberIdentityStatePageSchema, dj as memberIdentityStateSchema, dk as memberLookupSchema, dl as memberOAuthUnlinkInputSchema, dm as memberSchema, dn as memberTelegramUnlinkInputSchema, dp as memberWalletSignInInputSchema, dq as memberWalletUnlinkInputSchema, dr as metricsSchema, ds as nextScheduleRun, dt as oauthIdentitySelectorSchema, du as operationInputSchema, dv as operationSchema, dw as operatorUserSchema, dx as pageSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, dy as participantSignInInputSchema, dz as participantSignInSchema, dA as permissionSchema, dB as personSchema, dC as projectDeletionInputSchema, dD as projectDeletionSchema, dE as projectInputSchema, dF as projectMetricsSchema, dG as projectSchema, dH as projectSetupSchema, dI as projectTransferInputSchema, dJ as projectTransferSchema, dK as projectUpdateInputSchema, dL as querySchema, q as questConfiguration, dM as questEnrollmentStateSchema, dN as questEnrollmentWithdrawalInputSchema, dO as questLifecycleInputSchema, dP as questLifecycleSchema, dQ as readinessSchema, dR as repositorySchema, dS as resourceArchiveInputSchema, dT as resourceLifecycleInputSchema, dU as resourceLifecycleKindSchema, dV as resourceLifecyclePaths, dW as resourceLifecycleResultSchema, dX as rolePermissions, dY as roleSchema, dZ as scheduledInvocationSchema, s as sequenceCursorSchema, d_ as serviceKeyInputSchema, d$ as serviceKeySchema, l as sourceDataSchema, n as sourceRoles, e0 as stageRequestSchema, e1 as stagedDeploymentContentSchema, e2 as stagedDeploymentKey, e3 as stagedDeploymentLimits, e4 as stagedDeploymentSchema, e5 as stagingAccessInputSchema, e6 as stagingAccessModeSchema, e7 as stagingAccessSchema, e8 as stagingLinkSchema, e9 as stagingPathSchema, ea as starterIdSchema, eb as starterTemplates, ec as stockAdditionSchema, ed as stockInputSchema, ee as teamSchema, ef as telegramBotIdSchema, eg as telegramIdentitySelectorSchema, eh as testMemberActionSchema, ei as testMemberAdvanceSchema, ej as testMemberCreateSchema, ek as testMemberHistoryQuerySchema, el as testMemberHistorySchema, em as testMemberResetResultSchema, en as testMemberResetSchema, eo as testMemberSchema, ep as testMemberWalletLinkSchema, eq as testMemberWalletSchema, er as testMemberWalletUnlinkSchema, es as tokenInputSchema, et as tokenSchema, eu as tokenScopeInputSchema, v as validateQuestShape, ev as verifiedPassSchema, ew as verifyScheduledRequest, ex as verifyWebhook, ey as walletBalanceChainsSchema, ez as walletIdentitySelectorSchema, eA as webhookControlInputSchema, eB as webhookCreateInputSchema, eC as webhookDeleteInputSchema, eD as webhookDeliveryPageSchema, eE as webhookDeliverySchema, eF as webhookEndpointSchema, eG as webhookEndpointStateSchema, eH as webhookEventSchema, eI as webhookInputSchema, eJ as webhookQuerySchema, eK as webhookRotateInputSchema, eL as webhookSecretSchema, eM as webhookStatePageSchema, eN as webhookStateQuerySchema, eO as webhookUpdateSchema } from '../transport-VyYo2pIQ.js';
|
|
10
10
|
export { A as AttemptCapture, C as CapturedFact, a as attemptCaptureSchema, c as capturedFactSchema } from '../attempt-captures-nMDnKGdI.js';
|
|
11
11
|
export { f as activityTypeSchema, g as activityTypes, j as deploymentActionSchema, o as deploymentRejectionSchema } from '../deployments-DMVpPnGX.js';
|
|
12
12
|
export { E as Extracted } from '../x-58jkoblN.js';
|
package/dist/server/index.js
CHANGED
|
@@ -36,6 +36,8 @@ import {
|
|
|
36
36
|
REFERRAL_INTEGRATION_REWARD_ERROR,
|
|
37
37
|
actionIdOf,
|
|
38
38
|
containsReferralIntegrationReward,
|
|
39
|
+
credentialSecretInputSchema,
|
|
40
|
+
credentialSecretSchema,
|
|
39
41
|
identityIntegrationInputSchema,
|
|
40
42
|
identityIntegrationSchema,
|
|
41
43
|
identityIntegrationSecretSchema,
|
|
@@ -46,7 +48,7 @@ import {
|
|
|
46
48
|
participantExchangeSchema,
|
|
47
49
|
questConfiguration,
|
|
48
50
|
sequenceCursorSchema
|
|
49
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-BSOXLXQO.js";
|
|
50
52
|
import {
|
|
51
53
|
parseImageExtraction,
|
|
52
54
|
parseImageResult
|
|
@@ -149,7 +151,7 @@ import {
|
|
|
149
151
|
telegramChatsSchema
|
|
150
152
|
} from "../chunk-BUHGXKPY.js";
|
|
151
153
|
import "../chunk-V7K7XXFB.js";
|
|
152
|
-
import "../chunk-
|
|
154
|
+
import "../chunk-CCUJ4UJG.js";
|
|
153
155
|
import "../chunk-466IRAJP.js";
|
|
154
156
|
import {
|
|
155
157
|
CompletionSourceKind,
|
|
@@ -1870,6 +1872,34 @@ var tokenSchema = z14.object({
|
|
|
1870
1872
|
expiresAt: z14.number()
|
|
1871
1873
|
});
|
|
1872
1874
|
var issuedTokenSchema = tokenSchema.extend({ token: z14.string() });
|
|
1875
|
+
var serviceKeyInputSchema = z14.object({
|
|
1876
|
+
name: z14.string().trim().min(1).max(80),
|
|
1877
|
+
permissions: z14.array(permissionSchema).min(1).refine(
|
|
1878
|
+
(permissions) => !permissions.includes("access"),
|
|
1879
|
+
"Service keys cannot hold the access permission"
|
|
1880
|
+
),
|
|
1881
|
+
/** Days until the first secret expires. Omit it for a key that never expires. */
|
|
1882
|
+
expiresInDays: z14.number().int().min(1).max(3650).optional()
|
|
1883
|
+
}).strict();
|
|
1884
|
+
var serviceKeySchema = z14.object({
|
|
1885
|
+
id: z14.string().uuid(),
|
|
1886
|
+
organization: z14.string(),
|
|
1887
|
+
project: z14.string(),
|
|
1888
|
+
environment: environmentSchema,
|
|
1889
|
+
name: z14.string(),
|
|
1890
|
+
permissions: permissionListSchema,
|
|
1891
|
+
/** The Clerk user ID of the administrator who created it. */
|
|
1892
|
+
createdBy: z14.string(),
|
|
1893
|
+
createdAt: z14.number(),
|
|
1894
|
+
/** The latest use of any of its secrets, revoked ones included; null when none was used. */
|
|
1895
|
+
lastUsedAt: z14.number().nullable(),
|
|
1896
|
+
/** Its working secrets, oldest first. Any of them authenticates the key. */
|
|
1897
|
+
secrets: z14.array(credentialSecretSchema)
|
|
1898
|
+
});
|
|
1899
|
+
var issuedServiceKeySchema = serviceKeySchema.extend({
|
|
1900
|
+
secret: z14.string().uuid(),
|
|
1901
|
+
token: z14.string()
|
|
1902
|
+
});
|
|
1873
1903
|
var teamSchema = z14.array(
|
|
1874
1904
|
z14.object({ id: z14.string(), label: z14.string() })
|
|
1875
1905
|
);
|
|
@@ -3126,6 +3156,46 @@ function managementClient(options) {
|
|
|
3126
3156
|
call
|
|
3127
3157
|
)
|
|
3128
3158
|
},
|
|
3159
|
+
/**
|
|
3160
|
+
* Service keys (`dsk_`): credentials for an app's own backend in the selected project and
|
|
3161
|
+
* environment, owned by no person. Only an organization administrator in Console manages them.
|
|
3162
|
+
*/
|
|
3163
|
+
serviceKeys: {
|
|
3164
|
+
list: (call) => get("/service-keys", z14.array(serviceKeySchema), call),
|
|
3165
|
+
/** The secret `token` is in this response only. */
|
|
3166
|
+
create: (input, call) => post(
|
|
3167
|
+
"/service-keys",
|
|
3168
|
+
issuedServiceKeySchema,
|
|
3169
|
+
serviceKeyInputSchema.parse(input),
|
|
3170
|
+
call
|
|
3171
|
+
),
|
|
3172
|
+
/**
|
|
3173
|
+
* Rotation: issues another secret. The key's other secrets keep working until you revoke
|
|
3174
|
+
* them with `revokeSecret`. The new `token` is in this response only.
|
|
3175
|
+
*/
|
|
3176
|
+
addSecret: (id, input = {}, call) => post(
|
|
3177
|
+
`/service-keys/${z14.string().uuid().parse(id)}/secrets`,
|
|
3178
|
+
issuedServiceKeySchema,
|
|
3179
|
+
credentialSecretInputSchema.parse(input),
|
|
3180
|
+
call
|
|
3181
|
+
),
|
|
3182
|
+
/** Stops one secret working. A key's last secret cannot be revoked; revoke the key instead. */
|
|
3183
|
+
revokeSecret: (id, secret, call) => request(
|
|
3184
|
+
`/service-keys/${z14.string().uuid().parse(id)}/secrets/${z14.string().uuid().parse(secret)}`,
|
|
3185
|
+
serviceKeySchema,
|
|
3186
|
+
void 0,
|
|
3187
|
+
"DELETE",
|
|
3188
|
+
call
|
|
3189
|
+
),
|
|
3190
|
+
/** Deletes the key; every secret stops working. */
|
|
3191
|
+
revoke: (id, call) => request(
|
|
3192
|
+
`/service-keys/${z14.string().uuid().parse(id)}`,
|
|
3193
|
+
z14.null(),
|
|
3194
|
+
void 0,
|
|
3195
|
+
"DELETE",
|
|
3196
|
+
call
|
|
3197
|
+
)
|
|
3198
|
+
},
|
|
3129
3199
|
/** Who holds which roles on the client's project; organization administrators only. */
|
|
3130
3200
|
grants: {
|
|
3131
3201
|
list: (call) => get("/grants", z14.array(grantRecordSchema), call),
|
|
@@ -3221,13 +3291,47 @@ function managementClient(options) {
|
|
|
3221
3291
|
identityIntegrationInputSchema.parse(input),
|
|
3222
3292
|
call
|
|
3223
3293
|
),
|
|
3224
|
-
/**
|
|
3294
|
+
/**
|
|
3295
|
+
* Replaces every secret with one new secret that never expires; the old secrets stop working
|
|
3296
|
+
* at once.
|
|
3297
|
+
*
|
|
3298
|
+
* @deprecated Use `addSecret`, then `revokeSecret` the old secret once your app uses the new one.
|
|
3299
|
+
*/
|
|
3225
3300
|
rotate: (id, call) => post(
|
|
3226
3301
|
`/identity-integrations/${z14.string().uuid().parse(id)}/rotate`,
|
|
3227
3302
|
identityIntegrationSecretSchema,
|
|
3228
3303
|
{},
|
|
3229
3304
|
call
|
|
3230
3305
|
),
|
|
3306
|
+
/**
|
|
3307
|
+
* Rotation: issues another secret. The integration's other secrets keep working until you
|
|
3308
|
+
* revoke them with `revokeSecret`. The new `token` is in this response only.
|
|
3309
|
+
*/
|
|
3310
|
+
addSecret: (id, input = {}, call) => post(
|
|
3311
|
+
`/identity-integrations/${z14.string().uuid().parse(id)}/secrets`,
|
|
3312
|
+
identityIntegrationSecretSchema,
|
|
3313
|
+
credentialSecretInputSchema.parse(input),
|
|
3314
|
+
call
|
|
3315
|
+
),
|
|
3316
|
+
/**
|
|
3317
|
+
* Stops one secret working; member sessions stay signed in. The last secret cannot be
|
|
3318
|
+
* revoked; disconnect the integration with `revoke` instead.
|
|
3319
|
+
*/
|
|
3320
|
+
revokeSecret: (id, secret, call) => request(
|
|
3321
|
+
`/identity-integrations/${z14.string().uuid().parse(id)}/secrets/${z14.string().uuid().parse(secret)}`,
|
|
3322
|
+
identityIntegrationSchema,
|
|
3323
|
+
void 0,
|
|
3324
|
+
"DELETE",
|
|
3325
|
+
call
|
|
3326
|
+
),
|
|
3327
|
+
/** Makes one secret never expire. */
|
|
3328
|
+
removeSecretExpiry: (id, secret, call) => request(
|
|
3329
|
+
`/identity-integrations/${z14.string().uuid().parse(id)}/secrets/${z14.string().uuid().parse(secret)}/expiry`,
|
|
3330
|
+
identityIntegrationSchema,
|
|
3331
|
+
void 0,
|
|
3332
|
+
"DELETE",
|
|
3333
|
+
call
|
|
3334
|
+
),
|
|
3231
3335
|
/**
|
|
3232
3336
|
* The `app:<name>` kinds claimed in the project and environment, each with the integration
|
|
3233
3337
|
* that owns its identities, connected or not, and how many it has. A new integration reusing
|
|
@@ -4131,6 +4235,12 @@ var managementResponseSchemas = lazyResponseReaders({
|
|
|
4131
4235
|
get issuedTokenSchema() {
|
|
4132
4236
|
return knownResponse(issuedTokenSchema);
|
|
4133
4237
|
},
|
|
4238
|
+
get serviceKeySchema() {
|
|
4239
|
+
return knownResponse(serviceKeySchema);
|
|
4240
|
+
},
|
|
4241
|
+
get issuedServiceKeySchema() {
|
|
4242
|
+
return knownResponse(issuedServiceKeySchema);
|
|
4243
|
+
},
|
|
4134
4244
|
get leaderboardPageSchema() {
|
|
4135
4245
|
return knownResponse(leaderboardPageSchema);
|
|
4136
4246
|
},
|
|
@@ -4440,6 +4550,8 @@ var managementResponses = {
|
|
|
4440
4550
|
),
|
|
4441
4551
|
identityKindClaimSchema: responseSchema(identityKindClaimSchema),
|
|
4442
4552
|
issuedTokenSchema: responseSchema(issuedTokenSchema),
|
|
4553
|
+
serviceKeySchema: responseSchema(serviceKeySchema),
|
|
4554
|
+
issuedServiceKeySchema: responseSchema(issuedServiceKeySchema),
|
|
4443
4555
|
leaderboardPageSchema: responseSchema(leaderboardPageSchema),
|
|
4444
4556
|
leaderboardSettlementSchema: responseSchema(leaderboardSettlementSchema),
|
|
4445
4557
|
leaderboardSettlementSummarySchema: responseSchema(
|
|
@@ -4596,6 +4708,8 @@ export {
|
|
|
4596
4708
|
createGroupSchema,
|
|
4597
4709
|
createManagementClient,
|
|
4598
4710
|
createRepositorySchema,
|
|
4711
|
+
credentialSecretInputSchema,
|
|
4712
|
+
credentialSecretSchema,
|
|
4599
4713
|
deploymentActionSchema,
|
|
4600
4714
|
deploymentRejectionSchema,
|
|
4601
4715
|
developmentPreflightSchema,
|
|
@@ -4636,6 +4750,7 @@ export {
|
|
|
4636
4750
|
isIntegrationParticipantPath,
|
|
4637
4751
|
isManagementError,
|
|
4638
4752
|
isParticipantRoute,
|
|
4753
|
+
issuedServiceKeySchema,
|
|
4639
4754
|
issuedTokenSchema,
|
|
4640
4755
|
leaderboardSettlementRejectionSchema,
|
|
4641
4756
|
leaderboardSettlementReviewPageSchema,
|
|
@@ -4732,6 +4847,8 @@ export {
|
|
|
4732
4847
|
roleSchema,
|
|
4733
4848
|
scheduledInvocationSchema,
|
|
4734
4849
|
sequenceCursorSchema,
|
|
4850
|
+
serviceKeyInputSchema,
|
|
4851
|
+
serviceKeySchema,
|
|
4735
4852
|
sourceDataSchema,
|
|
4736
4853
|
sourceRoles,
|
|
4737
4854
|
stageRequestSchema,
|
|
@@ -19,6 +19,7 @@ declare const identityIntegrationInputSchema: z.ZodObject<{
|
|
|
19
19
|
identityKind: z.ZodOptional<z.ZodTemplateLiteral<`app:${string}`>>;
|
|
20
20
|
adoptIdentitiesFrom: z.ZodOptional<z.ZodString>;
|
|
21
21
|
reason: z.ZodOptional<z.ZodString>;
|
|
22
|
+
expiresInDays: z.ZodOptional<z.ZodNumber>;
|
|
22
23
|
}, z.core.$strict>;
|
|
23
24
|
/** An integration as responses return it: fields a newer Relay adds are ignored. */
|
|
24
25
|
declare const identityIntegrationSchema: z.ZodObject<{
|
|
@@ -26,6 +27,14 @@ declare const identityIntegrationSchema: z.ZodObject<{
|
|
|
26
27
|
name: z.ZodString;
|
|
27
28
|
origin: z.ZodString;
|
|
28
29
|
expiresAt: z.ZodNumber;
|
|
30
|
+
secrets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
31
|
+
id: z.ZodString;
|
|
32
|
+
hint: z.ZodNullable<z.ZodString>;
|
|
33
|
+
createdAt: z.ZodNumber;
|
|
34
|
+
expiresAt: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
36
|
+
}, z.core.$strip>>>;
|
|
37
|
+
lastUsedAt: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
29
38
|
identityKind: z.ZodDefault<z.ZodNullable<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
|
|
30
39
|
organization: z.ZodString;
|
|
31
40
|
project: z.ZodString;
|
|
@@ -39,6 +48,14 @@ declare const identityIntegrationSecretSchema: z.ZodObject<{
|
|
|
39
48
|
name: z.ZodString;
|
|
40
49
|
origin: z.ZodString;
|
|
41
50
|
expiresAt: z.ZodNumber;
|
|
51
|
+
secrets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
52
|
+
id: z.ZodString;
|
|
53
|
+
hint: z.ZodNullable<z.ZodString>;
|
|
54
|
+
createdAt: z.ZodNumber;
|
|
55
|
+
expiresAt: z.ZodNullable<z.ZodNumber>;
|
|
56
|
+
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
57
|
+
}, z.core.$strip>>>;
|
|
58
|
+
lastUsedAt: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
42
59
|
identityKind: z.ZodDefault<z.ZodNullable<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
|
|
43
60
|
organization: z.ZodString;
|
|
44
61
|
project: z.ZodString;
|
|
@@ -1157,6 +1174,24 @@ type ResourceArchiveInput = Omit<z.input<typeof resourceArchiveInputSchema>, "ac
|
|
|
1157
1174
|
actionId?: string;
|
|
1158
1175
|
};
|
|
1159
1176
|
|
|
1177
|
+
/**
|
|
1178
|
+
* One secret of a long-lived credential (a service key or an identity integration key), as
|
|
1179
|
+
* responses return it. A credential has one or more secrets, and any of them authenticates it.
|
|
1180
|
+
* Adding a secret is how a credential rotates: both work until the old one is revoked.
|
|
1181
|
+
*/
|
|
1182
|
+
declare const credentialSecretSchema: z.ZodObject<{
|
|
1183
|
+
id: z.ZodString;
|
|
1184
|
+
hint: z.ZodNullable<z.ZodString>;
|
|
1185
|
+
createdAt: z.ZodNumber;
|
|
1186
|
+
expiresAt: z.ZodNullable<z.ZodNumber>;
|
|
1187
|
+
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
1188
|
+
}, z.core.$strip>;
|
|
1189
|
+
type CredentialSecret = z.infer<typeof credentialSecretSchema>;
|
|
1190
|
+
/** A new secret's lifetime. Omit `expiresInDays` for a secret that never expires. */
|
|
1191
|
+
declare const credentialSecretInputSchema: z.ZodObject<{
|
|
1192
|
+
expiresInDays: z.ZodOptional<z.ZodNumber>;
|
|
1193
|
+
}, z.core.$strict>;
|
|
1194
|
+
|
|
1160
1195
|
/**
|
|
1161
1196
|
* How a management call failed, as in every Domino client error (see `RequestError`):
|
|
1162
1197
|
* - `http`: the server answered with an error status. `message`, `code` and `details` are its own.
|
|
@@ -5767,6 +5802,73 @@ declare const issuedTokenSchema: z.ZodObject<{
|
|
|
5767
5802
|
expiresAt: z.ZodNumber;
|
|
5768
5803
|
token: z.ZodString;
|
|
5769
5804
|
}, z.core.$strip>;
|
|
5805
|
+
/**
|
|
5806
|
+
* A new service key: a project-and-environment credential for an app's own backend that no person
|
|
5807
|
+
* owns. Like a personal key it can never approve live publication, and it cannot hold `access`.
|
|
5808
|
+
*/
|
|
5809
|
+
declare const serviceKeyInputSchema: z.ZodObject<{
|
|
5810
|
+
name: z.ZodString;
|
|
5811
|
+
permissions: z.ZodArray<z.ZodEnum<{
|
|
5812
|
+
review: "review";
|
|
5813
|
+
points: "points";
|
|
5814
|
+
inventory: "inventory";
|
|
5815
|
+
handover: "handover";
|
|
5816
|
+
access: "access";
|
|
5817
|
+
read: "read";
|
|
5818
|
+
ingest: "ingest";
|
|
5819
|
+
publish: "publish";
|
|
5820
|
+
confirm: "confirm";
|
|
5821
|
+
enroll: "enroll";
|
|
5822
|
+
}>>;
|
|
5823
|
+
expiresInDays: z.ZodOptional<z.ZodNumber>;
|
|
5824
|
+
}, z.core.$strict>;
|
|
5825
|
+
/** A service key as responses return it, with its working secrets. */
|
|
5826
|
+
declare const serviceKeySchema: z.ZodObject<{
|
|
5827
|
+
id: z.ZodString;
|
|
5828
|
+
organization: z.ZodString;
|
|
5829
|
+
project: z.ZodString;
|
|
5830
|
+
environment: z.ZodEnum<{
|
|
5831
|
+
test: "test";
|
|
5832
|
+
live: "live";
|
|
5833
|
+
}>;
|
|
5834
|
+
name: z.ZodString;
|
|
5835
|
+
permissions: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("review" | "points" | "inventory" | "handover" | "access" | "read" | "ingest" | "publish" | "confirm" | "enroll")[], string[]>>;
|
|
5836
|
+
createdBy: z.ZodString;
|
|
5837
|
+
createdAt: z.ZodNumber;
|
|
5838
|
+
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
5839
|
+
secrets: z.ZodArray<z.ZodObject<{
|
|
5840
|
+
id: z.ZodString;
|
|
5841
|
+
hint: z.ZodNullable<z.ZodString>;
|
|
5842
|
+
createdAt: z.ZodNumber;
|
|
5843
|
+
expiresAt: z.ZodNullable<z.ZodNumber>;
|
|
5844
|
+
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
5845
|
+
}, z.core.$strip>>;
|
|
5846
|
+
}, z.core.$strip>;
|
|
5847
|
+
type ServiceKey = z.infer<typeof serviceKeySchema>;
|
|
5848
|
+
/** A service key with a newly issued secret: `token`, shown only in this response, is secret `secret`. */
|
|
5849
|
+
declare const issuedServiceKeySchema: z.ZodObject<{
|
|
5850
|
+
id: z.ZodString;
|
|
5851
|
+
organization: z.ZodString;
|
|
5852
|
+
project: z.ZodString;
|
|
5853
|
+
environment: z.ZodEnum<{
|
|
5854
|
+
test: "test";
|
|
5855
|
+
live: "live";
|
|
5856
|
+
}>;
|
|
5857
|
+
name: z.ZodString;
|
|
5858
|
+
permissions: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("review" | "points" | "inventory" | "handover" | "access" | "read" | "ingest" | "publish" | "confirm" | "enroll")[], string[]>>;
|
|
5859
|
+
createdBy: z.ZodString;
|
|
5860
|
+
createdAt: z.ZodNumber;
|
|
5861
|
+
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
5862
|
+
secrets: z.ZodArray<z.ZodObject<{
|
|
5863
|
+
id: z.ZodString;
|
|
5864
|
+
hint: z.ZodNullable<z.ZodString>;
|
|
5865
|
+
createdAt: z.ZodNumber;
|
|
5866
|
+
expiresAt: z.ZodNullable<z.ZodNumber>;
|
|
5867
|
+
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
5868
|
+
}, z.core.$strip>>;
|
|
5869
|
+
secret: z.ZodString;
|
|
5870
|
+
token: z.ZodString;
|
|
5871
|
+
}, z.core.$strip>;
|
|
5770
5872
|
/** A person in the organization: their Clerk user ID and sign-in identifier. */
|
|
5771
5873
|
declare const teamSchema: z.ZodArray<z.ZodObject<{
|
|
5772
5874
|
id: z.ZodString;
|
|
@@ -39211,6 +39313,96 @@ declare function managementClient(options: ManagementTransportOptions): {
|
|
|
39211
39313
|
ok: true;
|
|
39212
39314
|
}>;
|
|
39213
39315
|
};
|
|
39316
|
+
/**
|
|
39317
|
+
* Service keys (`dsk_`): credentials for an app's own backend in the selected project and
|
|
39318
|
+
* environment, owned by no person. Only an organization administrator in Console manages them.
|
|
39319
|
+
*/
|
|
39320
|
+
serviceKeys: {
|
|
39321
|
+
list: (call?: ManagementCallOptions) => Promise<{
|
|
39322
|
+
id: string;
|
|
39323
|
+
organization: string;
|
|
39324
|
+
project: string;
|
|
39325
|
+
environment: "test" | "live";
|
|
39326
|
+
name: string;
|
|
39327
|
+
permissions: ("review" | "points" | "inventory" | "handover" | "access" | "read" | "ingest" | "publish" | "confirm" | "enroll")[];
|
|
39328
|
+
createdBy: string;
|
|
39329
|
+
createdAt: number;
|
|
39330
|
+
lastUsedAt: number | null;
|
|
39331
|
+
secrets: {
|
|
39332
|
+
id: string;
|
|
39333
|
+
hint: string | null;
|
|
39334
|
+
createdAt: number;
|
|
39335
|
+
expiresAt: number | null;
|
|
39336
|
+
lastUsedAt: number | null;
|
|
39337
|
+
}[];
|
|
39338
|
+
}[]>;
|
|
39339
|
+
/** The secret `token` is in this response only. */
|
|
39340
|
+
create: (input: z.input<typeof serviceKeyInputSchema>, call?: ManagementCallOptions) => Promise<{
|
|
39341
|
+
id: string;
|
|
39342
|
+
organization: string;
|
|
39343
|
+
project: string;
|
|
39344
|
+
environment: "test" | "live";
|
|
39345
|
+
name: string;
|
|
39346
|
+
permissions: ("review" | "points" | "inventory" | "handover" | "access" | "read" | "ingest" | "publish" | "confirm" | "enroll")[];
|
|
39347
|
+
createdBy: string;
|
|
39348
|
+
createdAt: number;
|
|
39349
|
+
lastUsedAt: number | null;
|
|
39350
|
+
secrets: {
|
|
39351
|
+
id: string;
|
|
39352
|
+
hint: string | null;
|
|
39353
|
+
createdAt: number;
|
|
39354
|
+
expiresAt: number | null;
|
|
39355
|
+
lastUsedAt: number | null;
|
|
39356
|
+
}[];
|
|
39357
|
+
secret: string;
|
|
39358
|
+
token: string;
|
|
39359
|
+
}>;
|
|
39360
|
+
/**
|
|
39361
|
+
* Rotation: issues another secret. The key's other secrets keep working until you revoke
|
|
39362
|
+
* them with `revokeSecret`. The new `token` is in this response only.
|
|
39363
|
+
*/
|
|
39364
|
+
addSecret: (id: string, input?: z.input<typeof credentialSecretInputSchema>, call?: ManagementCallOptions) => Promise<{
|
|
39365
|
+
id: string;
|
|
39366
|
+
organization: string;
|
|
39367
|
+
project: string;
|
|
39368
|
+
environment: "test" | "live";
|
|
39369
|
+
name: string;
|
|
39370
|
+
permissions: ("review" | "points" | "inventory" | "handover" | "access" | "read" | "ingest" | "publish" | "confirm" | "enroll")[];
|
|
39371
|
+
createdBy: string;
|
|
39372
|
+
createdAt: number;
|
|
39373
|
+
lastUsedAt: number | null;
|
|
39374
|
+
secrets: {
|
|
39375
|
+
id: string;
|
|
39376
|
+
hint: string | null;
|
|
39377
|
+
createdAt: number;
|
|
39378
|
+
expiresAt: number | null;
|
|
39379
|
+
lastUsedAt: number | null;
|
|
39380
|
+
}[];
|
|
39381
|
+
secret: string;
|
|
39382
|
+
token: string;
|
|
39383
|
+
}>;
|
|
39384
|
+
/** Stops one secret working. A key's last secret cannot be revoked; revoke the key instead. */
|
|
39385
|
+
revokeSecret: (id: string, secret: string, call?: ManagementCallOptions) => Promise<{
|
|
39386
|
+
id: string;
|
|
39387
|
+
organization: string;
|
|
39388
|
+
project: string;
|
|
39389
|
+
environment: "test" | "live";
|
|
39390
|
+
name: string;
|
|
39391
|
+
permissions: ("review" | "points" | "inventory" | "handover" | "access" | "read" | "ingest" | "publish" | "confirm" | "enroll")[];
|
|
39392
|
+
createdBy: string;
|
|
39393
|
+
createdAt: number;
|
|
39394
|
+
lastUsedAt: number | null;
|
|
39395
|
+
secrets: {
|
|
39396
|
+
id: string;
|
|
39397
|
+
hint: string | null;
|
|
39398
|
+
createdAt: number;
|
|
39399
|
+
expiresAt: number | null;
|
|
39400
|
+
lastUsedAt: number | null;
|
|
39401
|
+
}[];
|
|
39402
|
+
}>;
|
|
39403
|
+
/** Deletes the key; every secret stops working. */
|
|
39404
|
+
revoke: (id: string, call?: ManagementCallOptions) => Promise<null>;
|
|
39405
|
+
};
|
|
39214
39406
|
/** Who holds which roles on the client's project; organization administrators only. */
|
|
39215
39407
|
grants: {
|
|
39216
39408
|
list: (call?: ManagementCallOptions) => Promise<{
|
|
@@ -39401,6 +39593,14 @@ declare function managementClient(options: ManagementTransportOptions): {
|
|
|
39401
39593
|
name: string;
|
|
39402
39594
|
origin: string;
|
|
39403
39595
|
expiresAt: number;
|
|
39596
|
+
secrets: {
|
|
39597
|
+
id: string;
|
|
39598
|
+
hint: string | null;
|
|
39599
|
+
createdAt: number;
|
|
39600
|
+
expiresAt: number | null;
|
|
39601
|
+
lastUsedAt: number | null;
|
|
39602
|
+
}[];
|
|
39603
|
+
lastUsedAt: number | null;
|
|
39404
39604
|
identityKind: OpenIdentityKind | null;
|
|
39405
39605
|
organization: string;
|
|
39406
39606
|
project: string;
|
|
@@ -39412,24 +39612,109 @@ declare function managementClient(options: ManagementTransportOptions): {
|
|
|
39412
39612
|
name: string;
|
|
39413
39613
|
origin: string;
|
|
39414
39614
|
expiresAt: number;
|
|
39615
|
+
secrets: {
|
|
39616
|
+
id: string;
|
|
39617
|
+
hint: string | null;
|
|
39618
|
+
createdAt: number;
|
|
39619
|
+
expiresAt: number | null;
|
|
39620
|
+
lastUsedAt: number | null;
|
|
39621
|
+
}[];
|
|
39622
|
+
lastUsedAt: number | null;
|
|
39415
39623
|
identityKind: OpenIdentityKind | null;
|
|
39416
39624
|
organization: string;
|
|
39417
39625
|
project: string;
|
|
39418
39626
|
environment: "test" | "live";
|
|
39419
39627
|
token: string;
|
|
39420
39628
|
}>;
|
|
39421
|
-
/**
|
|
39629
|
+
/**
|
|
39630
|
+
* Replaces every secret with one new secret that never expires; the old secrets stop working
|
|
39631
|
+
* at once.
|
|
39632
|
+
*
|
|
39633
|
+
* @deprecated Use `addSecret`, then `revokeSecret` the old secret once your app uses the new one.
|
|
39634
|
+
*/
|
|
39422
39635
|
rotate: (id: string, call?: ManagementCallOptions) => Promise<{
|
|
39423
39636
|
id: string;
|
|
39424
39637
|
name: string;
|
|
39425
39638
|
origin: string;
|
|
39426
39639
|
expiresAt: number;
|
|
39640
|
+
secrets: {
|
|
39641
|
+
id: string;
|
|
39642
|
+
hint: string | null;
|
|
39643
|
+
createdAt: number;
|
|
39644
|
+
expiresAt: number | null;
|
|
39645
|
+
lastUsedAt: number | null;
|
|
39646
|
+
}[];
|
|
39647
|
+
lastUsedAt: number | null;
|
|
39427
39648
|
identityKind: OpenIdentityKind | null;
|
|
39428
39649
|
organization: string;
|
|
39429
39650
|
project: string;
|
|
39430
39651
|
environment: "test" | "live";
|
|
39431
39652
|
token: string;
|
|
39432
39653
|
}>;
|
|
39654
|
+
/**
|
|
39655
|
+
* Rotation: issues another secret. The integration's other secrets keep working until you
|
|
39656
|
+
* revoke them with `revokeSecret`. The new `token` is in this response only.
|
|
39657
|
+
*/
|
|
39658
|
+
addSecret: (id: string, input?: z.input<typeof credentialSecretInputSchema>, call?: ManagementCallOptions) => Promise<{
|
|
39659
|
+
id: string;
|
|
39660
|
+
name: string;
|
|
39661
|
+
origin: string;
|
|
39662
|
+
expiresAt: number;
|
|
39663
|
+
secrets: {
|
|
39664
|
+
id: string;
|
|
39665
|
+
hint: string | null;
|
|
39666
|
+
createdAt: number;
|
|
39667
|
+
expiresAt: number | null;
|
|
39668
|
+
lastUsedAt: number | null;
|
|
39669
|
+
}[];
|
|
39670
|
+
lastUsedAt: number | null;
|
|
39671
|
+
identityKind: OpenIdentityKind | null;
|
|
39672
|
+
organization: string;
|
|
39673
|
+
project: string;
|
|
39674
|
+
environment: "test" | "live";
|
|
39675
|
+
token: string;
|
|
39676
|
+
}>;
|
|
39677
|
+
/**
|
|
39678
|
+
* Stops one secret working; member sessions stay signed in. The last secret cannot be
|
|
39679
|
+
* revoked; disconnect the integration with `revoke` instead.
|
|
39680
|
+
*/
|
|
39681
|
+
revokeSecret: (id: string, secret: string, call?: ManagementCallOptions) => Promise<{
|
|
39682
|
+
id: string;
|
|
39683
|
+
name: string;
|
|
39684
|
+
origin: string;
|
|
39685
|
+
expiresAt: number;
|
|
39686
|
+
secrets: {
|
|
39687
|
+
id: string;
|
|
39688
|
+
hint: string | null;
|
|
39689
|
+
createdAt: number;
|
|
39690
|
+
expiresAt: number | null;
|
|
39691
|
+
lastUsedAt: number | null;
|
|
39692
|
+
}[];
|
|
39693
|
+
lastUsedAt: number | null;
|
|
39694
|
+
identityKind: OpenIdentityKind | null;
|
|
39695
|
+
organization: string;
|
|
39696
|
+
project: string;
|
|
39697
|
+
environment: "test" | "live";
|
|
39698
|
+
}>;
|
|
39699
|
+
/** Makes one secret never expire. */
|
|
39700
|
+
removeSecretExpiry: (id: string, secret: string, call?: ManagementCallOptions) => Promise<{
|
|
39701
|
+
id: string;
|
|
39702
|
+
name: string;
|
|
39703
|
+
origin: string;
|
|
39704
|
+
expiresAt: number;
|
|
39705
|
+
secrets: {
|
|
39706
|
+
id: string;
|
|
39707
|
+
hint: string | null;
|
|
39708
|
+
createdAt: number;
|
|
39709
|
+
expiresAt: number | null;
|
|
39710
|
+
lastUsedAt: number | null;
|
|
39711
|
+
}[];
|
|
39712
|
+
lastUsedAt: number | null;
|
|
39713
|
+
identityKind: OpenIdentityKind | null;
|
|
39714
|
+
organization: string;
|
|
39715
|
+
project: string;
|
|
39716
|
+
environment: "test" | "live";
|
|
39717
|
+
}>;
|
|
39433
39718
|
/**
|
|
39434
39719
|
* The `app:<name>` kinds claimed in the project and environment, each with the integration
|
|
39435
39720
|
* that owns its identities, connected or not, and how many it has. A new integration reusing
|
|
@@ -81826,6 +82111,14 @@ declare const managementResponseSchemas: {
|
|
|
81826
82111
|
name: string;
|
|
81827
82112
|
origin: string;
|
|
81828
82113
|
expiresAt: number;
|
|
82114
|
+
secrets: {
|
|
82115
|
+
id: string;
|
|
82116
|
+
hint: string | null;
|
|
82117
|
+
createdAt: number;
|
|
82118
|
+
expiresAt: number | null;
|
|
82119
|
+
lastUsedAt: number | null;
|
|
82120
|
+
}[];
|
|
82121
|
+
lastUsedAt: number | null;
|
|
81829
82122
|
identityKind: OpenIdentityKind | null;
|
|
81830
82123
|
organization: string;
|
|
81831
82124
|
project: string;
|
|
@@ -81835,6 +82128,14 @@ declare const managementResponseSchemas: {
|
|
|
81835
82128
|
name: string;
|
|
81836
82129
|
origin: string;
|
|
81837
82130
|
expiresAt: number;
|
|
82131
|
+
secrets: {
|
|
82132
|
+
id: string;
|
|
82133
|
+
hint: string | null;
|
|
82134
|
+
createdAt: number;
|
|
82135
|
+
expiresAt: number | null;
|
|
82136
|
+
lastUsedAt: number | null;
|
|
82137
|
+
}[];
|
|
82138
|
+
lastUsedAt: number | null;
|
|
81838
82139
|
identityKind: OpenIdentityKind | null;
|
|
81839
82140
|
organization: string;
|
|
81840
82141
|
project: string;
|
|
@@ -81845,6 +82146,14 @@ declare const managementResponseSchemas: {
|
|
|
81845
82146
|
name: string;
|
|
81846
82147
|
origin: string;
|
|
81847
82148
|
expiresAt: number;
|
|
82149
|
+
secrets: {
|
|
82150
|
+
id: string;
|
|
82151
|
+
hint: string | null;
|
|
82152
|
+
createdAt: number;
|
|
82153
|
+
expiresAt: number | null;
|
|
82154
|
+
lastUsedAt: number | null;
|
|
82155
|
+
}[];
|
|
82156
|
+
lastUsedAt: number | null;
|
|
81848
82157
|
identityKind: OpenIdentityKind | null;
|
|
81849
82158
|
organization: string;
|
|
81850
82159
|
project: string;
|
|
@@ -81855,6 +82164,14 @@ declare const managementResponseSchemas: {
|
|
|
81855
82164
|
name: string;
|
|
81856
82165
|
origin: string;
|
|
81857
82166
|
expiresAt: number;
|
|
82167
|
+
secrets: {
|
|
82168
|
+
id: string;
|
|
82169
|
+
hint: string | null;
|
|
82170
|
+
createdAt: number;
|
|
82171
|
+
expiresAt: number | null;
|
|
82172
|
+
lastUsedAt: number | null;
|
|
82173
|
+
}[];
|
|
82174
|
+
lastUsedAt: number | null;
|
|
81858
82175
|
identityKind: OpenIdentityKind | null;
|
|
81859
82176
|
organization: string;
|
|
81860
82177
|
project: string;
|
|
@@ -81897,6 +82214,80 @@ declare const managementResponseSchemas: {
|
|
|
81897
82214
|
token: string;
|
|
81898
82215
|
ingestTrackers?: string[] | null | undefined;
|
|
81899
82216
|
}, unknown>>;
|
|
82217
|
+
serviceKeySchema: z.ZodType<{
|
|
82218
|
+
id: string;
|
|
82219
|
+
organization: string;
|
|
82220
|
+
project: string;
|
|
82221
|
+
environment: "test" | "live";
|
|
82222
|
+
name: string;
|
|
82223
|
+
permissions: ("review" | "points" | "inventory" | "handover" | "access" | "read" | "ingest" | "publish" | "confirm" | "enroll")[];
|
|
82224
|
+
createdBy: string;
|
|
82225
|
+
createdAt: number;
|
|
82226
|
+
lastUsedAt: number | null;
|
|
82227
|
+
secrets: {
|
|
82228
|
+
id: string;
|
|
82229
|
+
hint: string | null;
|
|
82230
|
+
createdAt: number;
|
|
82231
|
+
expiresAt: number | null;
|
|
82232
|
+
lastUsedAt: number | null;
|
|
82233
|
+
}[];
|
|
82234
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
82235
|
+
id: string;
|
|
82236
|
+
organization: string;
|
|
82237
|
+
project: string;
|
|
82238
|
+
environment: "test" | "live";
|
|
82239
|
+
name: string;
|
|
82240
|
+
permissions: ("review" | "points" | "inventory" | "handover" | "access" | "read" | "ingest" | "publish" | "confirm" | "enroll")[];
|
|
82241
|
+
createdBy: string;
|
|
82242
|
+
createdAt: number;
|
|
82243
|
+
lastUsedAt: number | null;
|
|
82244
|
+
secrets: {
|
|
82245
|
+
id: string;
|
|
82246
|
+
hint: string | null;
|
|
82247
|
+
createdAt: number;
|
|
82248
|
+
expiresAt: number | null;
|
|
82249
|
+
lastUsedAt: number | null;
|
|
82250
|
+
}[];
|
|
82251
|
+
}, unknown>>;
|
|
82252
|
+
issuedServiceKeySchema: z.ZodType<{
|
|
82253
|
+
id: string;
|
|
82254
|
+
organization: string;
|
|
82255
|
+
project: string;
|
|
82256
|
+
environment: "test" | "live";
|
|
82257
|
+
name: string;
|
|
82258
|
+
permissions: ("review" | "points" | "inventory" | "handover" | "access" | "read" | "ingest" | "publish" | "confirm" | "enroll")[];
|
|
82259
|
+
createdBy: string;
|
|
82260
|
+
createdAt: number;
|
|
82261
|
+
lastUsedAt: number | null;
|
|
82262
|
+
secrets: {
|
|
82263
|
+
id: string;
|
|
82264
|
+
hint: string | null;
|
|
82265
|
+
createdAt: number;
|
|
82266
|
+
expiresAt: number | null;
|
|
82267
|
+
lastUsedAt: number | null;
|
|
82268
|
+
}[];
|
|
82269
|
+
secret: string;
|
|
82270
|
+
token: string;
|
|
82271
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
82272
|
+
id: string;
|
|
82273
|
+
organization: string;
|
|
82274
|
+
project: string;
|
|
82275
|
+
environment: "test" | "live";
|
|
82276
|
+
name: string;
|
|
82277
|
+
permissions: ("review" | "points" | "inventory" | "handover" | "access" | "read" | "ingest" | "publish" | "confirm" | "enroll")[];
|
|
82278
|
+
createdBy: string;
|
|
82279
|
+
createdAt: number;
|
|
82280
|
+
lastUsedAt: number | null;
|
|
82281
|
+
secrets: {
|
|
82282
|
+
id: string;
|
|
82283
|
+
hint: string | null;
|
|
82284
|
+
createdAt: number;
|
|
82285
|
+
expiresAt: number | null;
|
|
82286
|
+
lastUsedAt: number | null;
|
|
82287
|
+
}[];
|
|
82288
|
+
secret: string;
|
|
82289
|
+
token: string;
|
|
82290
|
+
}, unknown>>;
|
|
81900
82291
|
leaderboardPageSchema: z.ZodType<{
|
|
81901
82292
|
leaderboard: string;
|
|
81902
82293
|
title: string;
|
|
@@ -116394,6 +116785,14 @@ declare const managementResponses: {
|
|
|
116394
116785
|
name: string;
|
|
116395
116786
|
origin: string;
|
|
116396
116787
|
expiresAt: number;
|
|
116788
|
+
secrets: {
|
|
116789
|
+
id: string;
|
|
116790
|
+
hint: string | null;
|
|
116791
|
+
createdAt: number;
|
|
116792
|
+
expiresAt: number | null;
|
|
116793
|
+
lastUsedAt: number | null;
|
|
116794
|
+
}[];
|
|
116795
|
+
lastUsedAt: number | null;
|
|
116397
116796
|
identityKind: OpenIdentityKind | null;
|
|
116398
116797
|
organization: string;
|
|
116399
116798
|
project: string;
|
|
@@ -116404,6 +116803,14 @@ declare const managementResponses: {
|
|
|
116404
116803
|
name: string;
|
|
116405
116804
|
origin: string;
|
|
116406
116805
|
expiresAt: number;
|
|
116806
|
+
secrets: {
|
|
116807
|
+
id: string;
|
|
116808
|
+
hint: string | null;
|
|
116809
|
+
createdAt: number;
|
|
116810
|
+
expiresAt: number | null;
|
|
116811
|
+
lastUsedAt: number | null;
|
|
116812
|
+
}[];
|
|
116813
|
+
lastUsedAt: number | null;
|
|
116407
116814
|
identityKind: OpenIdentityKind | null;
|
|
116408
116815
|
organization: string;
|
|
116409
116816
|
project: string;
|
|
@@ -116429,6 +116836,44 @@ declare const managementResponses: {
|
|
|
116429
116836
|
token: string;
|
|
116430
116837
|
ingestTrackers?: string[] | null | undefined;
|
|
116431
116838
|
}>>;
|
|
116839
|
+
serviceKeySchema: ResponseSchema<ResponseResult<{
|
|
116840
|
+
id: string;
|
|
116841
|
+
organization: string;
|
|
116842
|
+
project: string;
|
|
116843
|
+
environment: "test" | "live";
|
|
116844
|
+
name: string;
|
|
116845
|
+
permissions: ("review" | "points" | "inventory" | "handover" | "access" | "read" | "ingest" | "publish" | "confirm" | "enroll")[];
|
|
116846
|
+
createdBy: string;
|
|
116847
|
+
createdAt: number;
|
|
116848
|
+
lastUsedAt: number | null;
|
|
116849
|
+
secrets: {
|
|
116850
|
+
id: string;
|
|
116851
|
+
hint: string | null;
|
|
116852
|
+
createdAt: number;
|
|
116853
|
+
expiresAt: number | null;
|
|
116854
|
+
lastUsedAt: number | null;
|
|
116855
|
+
}[];
|
|
116856
|
+
}>>;
|
|
116857
|
+
issuedServiceKeySchema: ResponseSchema<ResponseResult<{
|
|
116858
|
+
id: string;
|
|
116859
|
+
organization: string;
|
|
116860
|
+
project: string;
|
|
116861
|
+
environment: "test" | "live";
|
|
116862
|
+
name: string;
|
|
116863
|
+
permissions: ("review" | "points" | "inventory" | "handover" | "access" | "read" | "ingest" | "publish" | "confirm" | "enroll")[];
|
|
116864
|
+
createdBy: string;
|
|
116865
|
+
createdAt: number;
|
|
116866
|
+
lastUsedAt: number | null;
|
|
116867
|
+
secrets: {
|
|
116868
|
+
id: string;
|
|
116869
|
+
hint: string | null;
|
|
116870
|
+
createdAt: number;
|
|
116871
|
+
expiresAt: number | null;
|
|
116872
|
+
lastUsedAt: number | null;
|
|
116873
|
+
}[];
|
|
116874
|
+
secret: string;
|
|
116875
|
+
token: string;
|
|
116876
|
+
}>>;
|
|
116432
116877
|
leaderboardPageSchema: ResponseSchema<ResponseResult<{
|
|
116433
116878
|
leaderboard: string;
|
|
116434
116879
|
title: string;
|
|
@@ -124005,4 +124450,4 @@ declare function managementTransport(options: ManagementTransportOptions): {
|
|
|
124005
124450
|
}) => Promise<unknown>;
|
|
124006
124451
|
};
|
|
124007
124452
|
|
|
124008
|
-
export { type BalanceCheck as $, APP_KV_LIMIT as A, APP_STORAGE_PREVIEW_CHARACTERS as B, APP_STORAGE_ROW_LIMIT as C, type Access as D, type AccessHistoryQuery as E, type AppSchedule as F, type AppScheduleList as G, type AppSchedules as H, type IdentityKindClaim as I, type AppSecret as J, type AppSecretDeclaration as K, type AppSecretInput as L, type ManagementTransportOptions as M, type AppSecretList as N, type AppStorage as O, type ParticipantRoute as P, type AppStorageCell as Q, REFERRAL_INTEGRATION_REWARD_ERROR as R, type AppStorageKeys as S, type AppStorageKind as T, type AppStorageList as U, type AppStorageRows as V, type AppStorageTables as W, type AppStorageValue as X, type AuditPage as Y, type AuditQuery as Z, type AuditRecord as _, identityIntegrationSchema as a, type Project as a$, type BuildArtifacts as a0, type BuildIdentity as a1, type BuildSnapshot as a2, type BuildStatus as a3, type CompletionRevocation as a4, type CompletionRevocationShortfall as a5, type CompletionRevokeInput as a6, DEFAULT_MANAGEMENT_TIMEOUT as a7, type HostedAppSecrets as a8, type HostedBuild as a9, type ManagedReleaseQuery as aA, type ManagedResource as aB, type ManagedStockItem as aC, type ManagedTelegramAccount as aD, type ManagedWallet as aE, type ManagementCallOptions as aF, type ManagementClient as aG, type ManagementClientOptions as aH, ManagementError as aI, ManagementErrorCode as aJ, type ManagementErrorInit as aK, type ManagementErrorKind as aL, type ManagementPage as aM, type ManagementRawInit as aN, type MemberDetail as aO, type MemberIdentityLink as aP, type MemberIdentityLinkChangeInput as aQ, type MemberIdentitySelector as aR, type MemberIdentitySignInInput as aS, type MemberIdentityState as aT, type MemberIdentityStatePage as aU, type OperatorUser as aV, type ParticipantSignIn as aW, type ParticipantSignInInput as aX, PayoutSourceKind as aY, type Permission as aZ, type Person as a_, type HostedDeploymentKey as aa, type HostedKey as ab, type HostedKeyPermission as ac, type HostedManagementEnv as ad, type IdentityLinkRelinkInput as ae, type InventoryItemAction as af, type InventoryItemRename as ag, type InventoryItemState as ah, type InventoryStockCorrection as ai, type KnownPayoutSourceKind as aj, type LeaderboardSettlementRejection as ak, type LeaderboardSettlementReview as al, type ListQuery as am, type ManagedAttempt as an, type ManagedAttemptPage as ao, type ManagedAttemptQuery as ap, type ManagedEntitlement as aq, type ManagedEntitlementPage as ar, type ManagedEntitlementQuery as as, type ManagedMemberIdentity as at, type ManagedMemberPage as au, type ManagedMemberProgress as av, type ManagedMemberQuery as aw, type ManagedOAuthAccount as ax, type ManagedQuestEnrollment as ay, type ManagedReleasePage as az, identityIntegrationSecretSchema as b, auditPageSchema as b$, type ProjectMetrics as b0, type QuestEnrollmentState as b1, type QuestEnrollmentWithdrawalInput as b2, type QuestLifecycle as b3, type QuestLifecycleInput as b4, type ResourceArchiveInput as b5, type ResourceLifecycleInput as b6, RevokedDeliveryOutcome as b7, RevokedEntitlementOutcome as b8, RevokedReferralOutcome as b9, accountProfileSchema as bA, appIdentitySelectorSchema as bB, appMigrationNameSchema as bC, appRoutingSchema as bD, appScheduleListSchema as bE, appScheduleNameSchema as bF, appSchedulePathSchema as bG, appScheduleRunSchema as bH, appScheduleSchema as bI, appScheduleStateSchema as bJ, appSchedulesSchema as bK, appSecretDeclarationSchema as bL, appSecretDeclarationsSchema as bM, appSecretInputSchema as bN, appSecretListSchema as bO, appSecretNameSchema as bP, appSecretSchema as bQ, appSecretValueSchema as bR, appStorageCellSchema as bS, appStorageKeysSchema as bT, appStorageKindSchema as bU, appStorageListSchema as bV, appStorageRowsSchema as bW, appStorageSchema as bX, appStorageTablesSchema as bY, appStorageValueSchema as bZ, assetPathSchema as b_, type ScheduledInvocation as ba, type StagedDeployment as bb, type StagedDeploymentContent as bc, type StagingAccess as bd, type StagingAccessInput as be, type StagingLink as bf, type StarterId as bg, type StarterTemplate as bh, type TestMember as bi, type TestMemberActionInput as bj, type TestMemberAdvanceInput as bk, type TestMemberCreateInput as bl, type TestMemberHistory as bm, type TestMemberHistoryQuery as bn, type TestMemberResetInput as bo, type TestMemberResetResult as bp, type TestMemberWallet as bq, type TestMemberWalletLinkInput as br, type TestMemberWalletUnlinkInput as bs, WEBHOOK_MAX_BYTES as bt, type WalletBalanceChains as bu, type WebhookDeleteInput as bv, type WebhookEndpointState as bw, type WebhookEvent as bx, accessHistoryQuerySchema as by, accessSchema as bz, containsReferralIntegrationReward as c, managedStockItemSchema as c$, auditQuerySchema as c0, auditRecordSchema as c1, balanceCheckSchema as c2, buildArtifactsSchema as c3, buildIdentitySchema as c4, buildPhaseSchema as c5, buildSnapshotSchema as c6, buildStatusSchema as c7, commitSchema as c8, compareAppMigrations as c9, inventoryItemRenameSchema as cA, inventoryItemStateSchema as cB, inventorySchema as cC, inventoryStockCorrectionSchema as cD, isManagementError as cE, issuedTokenSchema as cF, leaderboardSettlementRejectionSchema as cG, leaderboardSettlementReviewPageSchema as cH, leaderboardSettlementReviewQuerySchema as cI, leaderboardSettlementReviewSchema as cJ, leaderboardSettlementReviewSummarySchema as cK, managedAttemptPageSchema as cL, managedAttemptQuerySchema as cM, managedAttemptSchema as cN, managedEntitlementPageSchema as cO, managedEntitlementQuerySchema as cP, managedEntitlementSchema as cQ, managedMemberIdentitySchema as cR, managedMemberPageSchema as cS, managedMemberProgressSchema as cT, managedMemberQuerySchema as cU, managedOAuthAccountSchema as cV, managedQuestEnrollmentPageSchema as cW, managedQuestEnrollmentSchema as cX, managedReleasePageSchema as cY, managedReleaseQuerySchema as cZ, managedResourceSchema as c_, completionRevocationSchema as ca, completionRevocationShortfallSchema as cb, completionRevokeSchema as cc, createManagementClient as cd, createRepositorySchema as ce, developmentPreflightSchema as cf, deviceApproveSchema as cg, deviceRedeemSchema as ch, deviceStartSchema as ci, environmentSchema as cj, grantRecordSchema as ck, grantSchema as cl, hostedAppSchema as cm, hostedAppSecretsSchema as cn, hostedBuildSchema as co, hostedDeploymentKeySchema as cp, hostedKeyPermissions as cq, hostedKeySchema as cr, hostedKeySecretSchema as cs, hostedManagementBindings as ct, hostedManagementClient as cu, identityLinkRelinkInputSchema as cv, identityLinkSelectorSchema as cw, ingestTrackerScopeSchema as cx, inventoryItemActionSchema as cy, inventoryItemPageSchema as cz, identityKindClaimSchema as d, stagingAccessModeSchema as d$, managedTelegramAccountSchema as d0, managedWalletSchema as d1, managementErrorSchema as d2, managementResponseSchemas as d3, managementResponses as d4, memberAccountSchema as d5, memberDetailSchema as d6, memberIdentityChangeInputSchema as d7, memberIdentityLinkChangeInputSchema as d8, memberIdentityLinkPageSchema as d9, projectMetricsSchema as dA, projectSchema as dB, projectSetupSchema as dC, projectTransferInputSchema as dD, projectTransferSchema as dE, projectUpdateInputSchema as dF, querySchema as dG, questEnrollmentStateSchema as dH, questEnrollmentWithdrawalInputSchema as dI, questLifecycleInputSchema as dJ, questLifecycleSchema as dK, readinessSchema as dL, repositorySchema as dM, resourceArchiveInputSchema as dN, resourceLifecycleInputSchema as dO, resourceLifecycleKindSchema as dP, resourceLifecyclePaths as dQ, resourceLifecycleResultSchema as dR, rolePermissions as dS, roleSchema as dT, scheduledInvocationSchema as dU, stageRequestSchema as dV, stagedDeploymentContentSchema as dW, stagedDeploymentKey as dX, stagedDeploymentLimits as dY, stagedDeploymentSchema as dZ, stagingAccessInputSchema as d_, memberIdentityLinkSchema as da, memberIdentitySelectorSchema as db, memberIdentitySignInInputSchema as dc, memberIdentityStatePageSchema as dd, memberIdentityStateSchema as de, memberLookupSchema as df, memberOAuthUnlinkInputSchema as dg, memberSchema as dh, memberTelegramUnlinkInputSchema as di, memberWalletSignInInputSchema as dj, memberWalletUnlinkInputSchema as dk, metricsSchema as dl, nextScheduleRun as dm, oauthIdentitySelectorSchema as dn, operationInputSchema as dp, operationSchema as dq, operatorUserSchema as dr, pageSchema as ds, participantSignInInputSchema as dt, participantSignInSchema as du, permissionSchema as dv, personSchema as dw, projectDeletionInputSchema as dx, projectDeletionSchema as dy, projectInputSchema as dz, isIntegrationParticipantPath as e, stagingAccessSchema as e0, stagingLinkSchema as e1, stagingPathSchema as e2, starterIdSchema as e3, starterTemplates as e4, stockAdditionSchema as e5, stockInputSchema as e6, teamSchema as e7, telegramBotIdSchema as e8, telegramIdentitySelectorSchema as e9, webhookEventSchema as eA, webhookInputSchema as eB, webhookQuerySchema as eC, webhookRotateInputSchema as eD, webhookSecretSchema as eE, webhookStatePageSchema as eF, webhookStateQuerySchema as eG, webhookUpdateSchema as eH, testMemberActionSchema as ea, testMemberAdvanceSchema as eb, testMemberCreateSchema as ec, testMemberHistoryQuerySchema as ed, testMemberHistorySchema as ee, testMemberResetResultSchema as ef, testMemberResetSchema as eg, testMemberSchema as eh, testMemberWalletLinkSchema as ei, testMemberWalletSchema as ej, testMemberWalletUnlinkSchema as ek, tokenInputSchema as el, tokenSchema as em, tokenScopeInputSchema as en, verifiedPassSchema as eo, verifyScheduledRequest as ep, verifyWebhook as eq, walletBalanceChainsSchema as er, walletIdentitySelectorSchema as es, webhookControlInputSchema as et, webhookCreateInputSchema as eu, webhookDeleteInputSchema as ev, webhookDeliveryPageSchema as ew, webhookDeliverySchema as ex, webhookEndpointSchema as ey, webhookEndpointStateSchema as ez, isParticipantRoute as f, parseImageResult as g, participantExchangeSchema as h, identityIntegrationInputSchema as i, participantRoutePattern as j, participantRoutes as k, sourceDataSchema as l, managementTransport as m, sourceRoles as n, APP_MIGRATION_FILE_BYTES as o, parseImageExtraction as p, questConfiguration as q, APP_MIGRATION_LIMIT as r, sequenceCursorSchema as s, APP_MIGRATION_TOTAL_BYTES as t, APP_SCHEDULE_LIMIT as u, validateQuestShape as v, APP_SCHEDULE_MIN_INTERVAL as w, APP_SCHEDULE_TIMEOUT as x, APP_SECRET_LIMIT as y, APP_SQL_LIMIT as z };
|
|
124453
|
+
export { type BalanceCheck as $, APP_KV_LIMIT as A, APP_STORAGE_PREVIEW_CHARACTERS as B, APP_STORAGE_ROW_LIMIT as C, type Access as D, type AccessHistoryQuery as E, type AppSchedule as F, type AppScheduleList as G, type AppSchedules as H, type IdentityKindClaim as I, type AppSecret as J, type AppSecretDeclaration as K, type AppSecretInput as L, type ManagementTransportOptions as M, type AppSecretList as N, type AppStorage as O, type ParticipantRoute as P, type AppStorageCell as Q, REFERRAL_INTEGRATION_REWARD_ERROR as R, type AppStorageKeys as S, type AppStorageKind as T, type AppStorageList as U, type AppStorageRows as V, type AppStorageTables as W, type AppStorageValue as X, type AuditPage as Y, type AuditQuery as Z, type AuditRecord as _, identityIntegrationSchema as a, type Person as a$, type BuildArtifacts as a0, type BuildIdentity as a1, type BuildSnapshot as a2, type BuildStatus as a3, type CompletionRevocation as a4, type CompletionRevocationShortfall as a5, type CompletionRevokeInput as a6, type CredentialSecret as a7, DEFAULT_MANAGEMENT_TIMEOUT as a8, type HostedAppSecrets as a9, type ManagedReleasePage as aA, type ManagedReleaseQuery as aB, type ManagedResource as aC, type ManagedStockItem as aD, type ManagedTelegramAccount as aE, type ManagedWallet as aF, type ManagementCallOptions as aG, type ManagementClient as aH, type ManagementClientOptions as aI, ManagementError as aJ, ManagementErrorCode as aK, type ManagementErrorInit as aL, type ManagementErrorKind as aM, type ManagementPage as aN, type ManagementRawInit as aO, type MemberDetail as aP, type MemberIdentityLink as aQ, type MemberIdentityLinkChangeInput as aR, type MemberIdentitySelector as aS, type MemberIdentitySignInInput as aT, type MemberIdentityState as aU, type MemberIdentityStatePage as aV, type OperatorUser as aW, type ParticipantSignIn as aX, type ParticipantSignInInput as aY, PayoutSourceKind as aZ, type Permission as a_, type HostedBuild as aa, type HostedDeploymentKey as ab, type HostedKey as ac, type HostedKeyPermission as ad, type HostedManagementEnv as ae, type IdentityLinkRelinkInput as af, type InventoryItemAction as ag, type InventoryItemRename as ah, type InventoryItemState as ai, type InventoryStockCorrection as aj, type KnownPayoutSourceKind as ak, type LeaderboardSettlementRejection as al, type LeaderboardSettlementReview as am, type ListQuery as an, type ManagedAttempt as ao, type ManagedAttemptPage as ap, type ManagedAttemptQuery as aq, type ManagedEntitlement as ar, type ManagedEntitlementPage as as, type ManagedEntitlementQuery as at, type ManagedMemberIdentity as au, type ManagedMemberPage as av, type ManagedMemberProgress as aw, type ManagedMemberQuery as ax, type ManagedOAuthAccount as ay, type ManagedQuestEnrollment as az, identityIntegrationSecretSchema as b, appStorageValueSchema as b$, type Project as b0, type ProjectMetrics as b1, type QuestEnrollmentState as b2, type QuestEnrollmentWithdrawalInput as b3, type QuestLifecycle as b4, type QuestLifecycleInput as b5, type ResourceArchiveInput as b6, type ResourceLifecycleInput as b7, RevokedDeliveryOutcome as b8, RevokedEntitlementOutcome as b9, accessHistoryQuerySchema as bA, accessSchema as bB, accountProfileSchema as bC, appIdentitySelectorSchema as bD, appMigrationNameSchema as bE, appRoutingSchema as bF, appScheduleListSchema as bG, appScheduleNameSchema as bH, appSchedulePathSchema as bI, appScheduleRunSchema as bJ, appScheduleSchema as bK, appScheduleStateSchema as bL, appSchedulesSchema as bM, appSecretDeclarationSchema as bN, appSecretDeclarationsSchema as bO, appSecretInputSchema as bP, appSecretListSchema as bQ, appSecretNameSchema as bR, appSecretSchema as bS, appSecretValueSchema as bT, appStorageCellSchema as bU, appStorageKeysSchema as bV, appStorageKindSchema as bW, appStorageListSchema as bX, appStorageRowsSchema as bY, appStorageSchema as bZ, appStorageTablesSchema as b_, RevokedReferralOutcome as ba, type ScheduledInvocation as bb, type ServiceKey as bc, type StagedDeployment as bd, type StagedDeploymentContent as be, type StagingAccess as bf, type StagingAccessInput as bg, type StagingLink as bh, type StarterId as bi, type StarterTemplate as bj, type TestMember as bk, type TestMemberActionInput as bl, type TestMemberAdvanceInput as bm, type TestMemberCreateInput as bn, type TestMemberHistory as bo, type TestMemberHistoryQuery as bp, type TestMemberResetInput as bq, type TestMemberResetResult as br, type TestMemberWallet as bs, type TestMemberWalletLinkInput as bt, type TestMemberWalletUnlinkInput as bu, WEBHOOK_MAX_BYTES as bv, type WalletBalanceChains as bw, type WebhookDeleteInput as bx, type WebhookEndpointState as by, type WebhookEvent as bz, containsReferralIntegrationReward as c, managedQuestEnrollmentPageSchema as c$, assetPathSchema as c0, auditPageSchema as c1, auditQuerySchema as c2, auditRecordSchema as c3, balanceCheckSchema as c4, buildArtifactsSchema as c5, buildIdentitySchema as c6, buildPhaseSchema as c7, buildSnapshotSchema as c8, buildStatusSchema as c9, identityLinkSelectorSchema as cA, ingestTrackerScopeSchema as cB, inventoryItemActionSchema as cC, inventoryItemPageSchema as cD, inventoryItemRenameSchema as cE, inventoryItemStateSchema as cF, inventorySchema as cG, inventoryStockCorrectionSchema as cH, isManagementError as cI, issuedServiceKeySchema as cJ, issuedTokenSchema as cK, leaderboardSettlementRejectionSchema as cL, leaderboardSettlementReviewPageSchema as cM, leaderboardSettlementReviewQuerySchema as cN, leaderboardSettlementReviewSchema as cO, leaderboardSettlementReviewSummarySchema as cP, managedAttemptPageSchema as cQ, managedAttemptQuerySchema as cR, managedAttemptSchema as cS, managedEntitlementPageSchema as cT, managedEntitlementQuerySchema as cU, managedEntitlementSchema as cV, managedMemberIdentitySchema as cW, managedMemberPageSchema as cX, managedMemberProgressSchema as cY, managedMemberQuerySchema as cZ, managedOAuthAccountSchema as c_, commitSchema as ca, compareAppMigrations as cb, completionRevocationSchema as cc, completionRevocationShortfallSchema as cd, completionRevokeSchema as ce, createManagementClient as cf, createRepositorySchema as cg, credentialSecretInputSchema as ch, credentialSecretSchema as ci, developmentPreflightSchema as cj, deviceApproveSchema as ck, deviceRedeemSchema as cl, deviceStartSchema as cm, environmentSchema as cn, grantRecordSchema as co, grantSchema as cp, hostedAppSchema as cq, hostedAppSecretsSchema as cr, hostedBuildSchema as cs, hostedDeploymentKeySchema as ct, hostedKeyPermissions as cu, hostedKeySchema as cv, hostedKeySecretSchema as cw, hostedManagementBindings as cx, hostedManagementClient as cy, identityLinkRelinkInputSchema as cz, identityKindClaimSchema as d, serviceKeySchema as d$, managedQuestEnrollmentSchema as d0, managedReleasePageSchema as d1, managedReleaseQuerySchema as d2, managedResourceSchema as d3, managedStockItemSchema as d4, managedTelegramAccountSchema as d5, managedWalletSchema as d6, managementErrorSchema as d7, managementResponseSchemas as d8, managementResponses as d9, permissionSchema as dA, personSchema as dB, projectDeletionInputSchema as dC, projectDeletionSchema as dD, projectInputSchema as dE, projectMetricsSchema as dF, projectSchema as dG, projectSetupSchema as dH, projectTransferInputSchema as dI, projectTransferSchema as dJ, projectUpdateInputSchema as dK, querySchema as dL, questEnrollmentStateSchema as dM, questEnrollmentWithdrawalInputSchema as dN, questLifecycleInputSchema as dO, questLifecycleSchema as dP, readinessSchema as dQ, repositorySchema as dR, resourceArchiveInputSchema as dS, resourceLifecycleInputSchema as dT, resourceLifecycleKindSchema as dU, resourceLifecyclePaths as dV, resourceLifecycleResultSchema as dW, rolePermissions as dX, roleSchema as dY, scheduledInvocationSchema as dZ, serviceKeyInputSchema as d_, memberAccountSchema as da, memberDetailSchema as db, memberIdentityChangeInputSchema as dc, memberIdentityLinkChangeInputSchema as dd, memberIdentityLinkPageSchema as de, memberIdentityLinkSchema as df, memberIdentitySelectorSchema as dg, memberIdentitySignInInputSchema as dh, memberIdentityStatePageSchema as di, memberIdentityStateSchema as dj, memberLookupSchema as dk, memberOAuthUnlinkInputSchema as dl, memberSchema as dm, memberTelegramUnlinkInputSchema as dn, memberWalletSignInInputSchema as dp, memberWalletUnlinkInputSchema as dq, metricsSchema as dr, nextScheduleRun as ds, oauthIdentitySelectorSchema as dt, operationInputSchema as du, operationSchema as dv, operatorUserSchema as dw, pageSchema as dx, participantSignInInputSchema as dy, participantSignInSchema as dz, isIntegrationParticipantPath as e, stageRequestSchema as e0, stagedDeploymentContentSchema as e1, stagedDeploymentKey as e2, stagedDeploymentLimits as e3, stagedDeploymentSchema as e4, stagingAccessInputSchema as e5, stagingAccessModeSchema as e6, stagingAccessSchema as e7, stagingLinkSchema as e8, stagingPathSchema as e9, webhookControlInputSchema as eA, webhookCreateInputSchema as eB, webhookDeleteInputSchema as eC, webhookDeliveryPageSchema as eD, webhookDeliverySchema as eE, webhookEndpointSchema as eF, webhookEndpointStateSchema as eG, webhookEventSchema as eH, webhookInputSchema as eI, webhookQuerySchema as eJ, webhookRotateInputSchema as eK, webhookSecretSchema as eL, webhookStatePageSchema as eM, webhookStateQuerySchema as eN, webhookUpdateSchema as eO, starterIdSchema as ea, starterTemplates as eb, stockAdditionSchema as ec, stockInputSchema as ed, teamSchema as ee, telegramBotIdSchema as ef, telegramIdentitySelectorSchema as eg, testMemberActionSchema as eh, testMemberAdvanceSchema as ei, testMemberCreateSchema as ej, testMemberHistoryQuerySchema as ek, testMemberHistorySchema as el, testMemberResetResultSchema as em, testMemberResetSchema as en, testMemberSchema as eo, testMemberWalletLinkSchema as ep, testMemberWalletSchema as eq, testMemberWalletUnlinkSchema as er, tokenInputSchema as es, tokenSchema as et, tokenScopeInputSchema as eu, verifiedPassSchema as ev, verifyScheduledRequest as ew, verifyWebhook as ex, walletBalanceChainsSchema as ey, walletIdentitySelectorSchema as ez, isParticipantRoute as f, parseImageResult as g, participantExchangeSchema as h, identityIntegrationInputSchema as i, participantRoutePattern as j, participantRoutes as k, sourceDataSchema as l, managementTransport as m, sourceRoles as n, APP_MIGRATION_FILE_BYTES as o, parseImageExtraction as p, questConfiguration as q, APP_MIGRATION_LIMIT as r, sequenceCursorSchema as s, APP_MIGRATION_TOTAL_BYTES as t, APP_SCHEDULE_LIMIT as u, validateQuestShape as v, APP_SCHEDULE_MIN_INTERVAL as w, APP_SCHEDULE_TIMEOUT as x, APP_SECRET_LIMIT as y, APP_SQL_LIMIT as z };
|