@atlasauth/backend 0.24.0 → 0.26.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/CHANGELOG.md +39 -1
- package/dist/client/abac.d.ts +521 -0
- package/dist/client/abac.js +146 -0
- package/dist/client/abac.js.map +1 -0
- package/dist/client/access-policies.d.ts +100 -0
- package/dist/client/access-policies.js +29 -0
- package/dist/client/access-policies.js.map +1 -0
- package/dist/client/action-gallery.d.ts +1 -1
- package/dist/client/action-gallery.js.map +1 -1
- package/dist/client/actions.d.ts +129 -6
- package/dist/client/actions.js +4 -0
- package/dist/client/actions.js.map +1 -1
- package/dist/client/analytics-reports.d.ts +215 -0
- package/dist/client/analytics-reports.js +56 -0
- package/dist/client/analytics-reports.js.map +1 -0
- package/dist/client/app-catalog.d.ts +74 -0
- package/dist/client/app-catalog.js +30 -0
- package/dist/client/app-catalog.js.map +1 -0
- package/dist/client/attack-protection.d.ts +10 -0
- package/dist/client/attack-protection.js +8 -0
- package/dist/client/attack-protection.js.map +1 -1
- package/dist/client/audit-events.d.ts +71 -0
- package/dist/client/audit-events.js +28 -0
- package/dist/client/audit-events.js.map +1 -1
- package/dist/client/authz-decisions.d.ts +108 -0
- package/dist/client/authz-decisions.js +40 -0
- package/dist/client/authz-decisions.js.map +1 -0
- package/dist/client/connections.d.ts +507 -0
- package/dist/client/connections.js +164 -0
- package/dist/client/connections.js.map +1 -0
- package/dist/client/credentials.d.ts +8 -0
- package/dist/client/credentials.js.map +1 -1
- package/dist/client/custom-oauth-providers.d.ts +15 -0
- package/dist/client/custom-oauth-providers.js.map +1 -1
- package/dist/client/delegated-ui-proxy.d.ts +25 -0
- package/dist/client/delegated-ui-proxy.js +46 -0
- package/dist/client/delegated-ui-proxy.js.map +1 -0
- package/dist/client/desktop-mfa.d.ts +104 -0
- package/dist/client/desktop-mfa.js +44 -0
- package/dist/client/desktop-mfa.js.map +1 -0
- package/dist/client/devices.d.ts +44 -0
- package/dist/client/devices.js +26 -0
- package/dist/client/devices.js.map +1 -0
- package/dist/client/email-templates.d.ts +1 -1
- package/dist/client/email-templates.js.map +1 -1
- package/dist/client/fga.d.ts +125 -4
- package/dist/client/fga.js +40 -0
- package/dist/client/fga.js.map +1 -1
- package/dist/client/flags.d.ts +101 -0
- package/dist/client/flags.js +104 -0
- package/dist/client/flags.js.map +1 -0
- package/dist/client/groups.d.ts +146 -0
- package/dist/client/groups.js +67 -0
- package/dist/client/groups.js.map +1 -0
- package/dist/client/identity-verification.d.ts +62 -0
- package/dist/client/identity-verification.js +39 -0
- package/dist/client/identity-verification.js.map +1 -0
- package/dist/client/iga.d.ts +436 -0
- package/dist/client/iga.js +82 -0
- package/dist/client/iga.js.map +1 -0
- package/dist/client/index.d.ts +1433 -4
- package/dist/client/index.js +96 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/journeys.d.ts +108 -0
- package/dist/client/journeys.js +35 -0
- package/dist/client/journeys.js.map +1 -0
- package/dist/client/least-privilege.d.ts +95 -0
- package/dist/client/least-privilege.js +28 -0
- package/dist/client/least-privilege.js.map +1 -0
- package/dist/client/log-streams.d.ts +1 -1
- package/dist/client/managed-grants.d.ts +52 -0
- package/dist/client/managed-grants.js +28 -0
- package/dist/client/managed-grants.js.map +1 -0
- package/dist/client/marketing.d.ts +67 -0
- package/dist/client/marketing.js +26 -0
- package/dist/client/marketing.js.map +1 -0
- package/dist/client/mcp-gateways.d.ts +126 -0
- package/dist/client/mcp-gateways.js +47 -0
- package/dist/client/mcp-gateways.js.map +1 -0
- package/dist/client/messaging.d.ts +14 -3
- package/dist/client/messaging.js.map +1 -1
- package/dist/client/mfa-factors.d.ts +120 -0
- package/dist/client/mfa-factors.js +73 -0
- package/dist/client/mfa-factors.js.map +1 -0
- package/dist/client/migrations.d.ts +1 -1
- package/dist/client/migrations.js.map +1 -1
- package/dist/client/network-acls.d.ts +6 -1
- package/dist/client/network-acls.js.map +1 -1
- package/dist/client/network-zones.d.ts +56 -0
- package/dist/client/network-zones.js +29 -0
- package/dist/client/network-zones.js.map +1 -0
- package/dist/client/notifications.d.ts +1 -1
- package/dist/client/notifications.js.map +1 -1
- package/dist/client/oauth-clients.d.ts +187 -3
- package/dist/client/oauth-clients.js +64 -0
- package/dist/client/oauth-clients.js.map +1 -1
- package/dist/client/openfga.d.ts +90 -3
- package/dist/client/openfga.js +27 -1
- package/dist/client/openfga.js.map +1 -1
- package/dist/client/org-role-grants.d.ts +57 -0
- package/dist/client/org-role-grants.js +40 -0
- package/dist/client/org-role-grants.js.map +1 -0
- package/dist/client/organizations.d.ts +52 -0
- package/dist/client/organizations.js +44 -0
- package/dist/client/organizations.js.map +1 -1
- package/dist/client/page-templates.d.ts +78 -0
- package/dist/client/page-templates.js +31 -0
- package/dist/client/page-templates.js.map +1 -0
- package/dist/client/passkey-api.d.ts +73 -0
- package/dist/client/passkey-api.js +34 -0
- package/dist/client/passkey-api.js.map +1 -0
- package/dist/client/policy-bundles.d.ts +105 -0
- package/dist/client/policy-bundles.js +38 -0
- package/dist/client/policy-bundles.js.map +1 -0
- package/dist/client/resources.d.ts +150 -0
- package/dist/client/resources.js +73 -0
- package/dist/client/resources.js.map +1 -0
- package/dist/client/risk-based-mfa.d.ts +147 -0
- package/dist/client/risk-based-mfa.js +30 -0
- package/dist/client/risk-based-mfa.js.map +1 -1
- package/dist/client/roles.d.ts +4 -0
- package/dist/client/roles.js.map +1 -1
- package/dist/client/service-connectors.d.ts +83 -0
- package/dist/client/service-connectors.js +33 -0
- package/dist/client/service-connectors.js.map +1 -0
- package/dist/client/ssf.d.ts +112 -0
- package/dist/client/ssf.js +49 -0
- package/dist/client/ssf.js.map +1 -0
- package/dist/client/sso-onboarding.d.ts +6 -0
- package/dist/client/sso-onboarding.js.map +1 -1
- package/dist/client/users.d.ts +302 -0
- package/dist/client/users.js +125 -0
- package/dist/client/users.js.map +1 -1
- package/dist/client/vault.d.ts +85 -0
- package/dist/client/vault.js +50 -0
- package/dist/client/vault.js.map +1 -0
- package/dist/client/vc.d.ts +136 -0
- package/dist/client/vc.js +43 -0
- package/dist/client/vc.js.map +1 -0
- package/dist/client/webhooks.d.ts +31 -2
- package/dist/client/webhooks.js.map +1 -1
- package/dist/client/workflows.d.ts +131 -0
- package/dist/client/workflows.js +36 -0
- package/dist/client/workflows.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/dist/magic-did.d.ts +5 -0
- package/dist/magic-did.js +49 -0
- package/dist/magic-did.js.map +1 -0
- package/dist/migration-bridge.d.ts +9 -0
- package/dist/migration-bridge.js +28 -2
- package/dist/migration-bridge.js.map +1 -1
- package/dist/migration-presets-g3.d.ts +2 -0
- package/dist/migration-presets-g3.js +254 -0
- package/dist/migration-presets-g3.js.map +1 -0
- package/dist/migration-presets-g4/authentik.d.ts +14 -0
- package/dist/migration-presets-g4/authentik.js +37 -0
- package/dist/migration-presets-g4/authentik.js.map +1 -0
- package/dist/migration-presets-g4/fusionauth.d.ts +2 -0
- package/dist/migration-presets-g4/fusionauth.js +52 -0
- package/dist/migration-presets-g4/fusionauth.js.map +1 -0
- package/dist/migration-presets-g4/hanko.d.ts +12 -0
- package/dist/migration-presets-g4/hanko.js +46 -0
- package/dist/migration-presets-g4/hanko.js.map +1 -0
- package/dist/migration-presets-g4/keycloak.d.ts +16 -0
- package/dist/migration-presets-g4/keycloak.js +37 -0
- package/dist/migration-presets-g4/keycloak.js.map +1 -0
- package/dist/migration-presets-g4/logto.d.ts +12 -0
- package/dist/migration-presets-g4/logto.js +35 -0
- package/dist/migration-presets-g4/logto.js.map +1 -0
- package/dist/migration-presets-g4/ory.d.ts +2 -0
- package/dist/migration-presets-g4/ory.js +67 -0
- package/dist/migration-presets-g4/ory.js.map +1 -0
- package/dist/migration-presets-g4/supertokens.d.ts +13 -0
- package/dist/migration-presets-g4/supertokens.js +35 -0
- package/dist/migration-presets-g4/supertokens.js.map +1 -0
- package/dist/migration-presets-g4/zitadel.d.ts +2 -0
- package/dist/migration-presets-g4/zitadel.js +36 -0
- package/dist/migration-presets-g4/zitadel.js.map +1 -0
- package/dist/migration-presets-g4.d.ts +10 -0
- package/dist/migration-presets-g4.js +30 -0
- package/dist/migration-presets-g4.js.map +1 -0
- package/dist/migration-presets.d.ts +6 -0
- package/dist/migration-presets.js +102 -6
- package/dist/migration-presets.js.map +1 -1
- package/dist/policy-bundle.d.ts +110 -0
- package/dist/policy-bundle.js +289 -0
- package/dist/policy-bundle.js.map +1 -0
- package/dist/request-auth.d.ts +32 -0
- package/dist/request-auth.js +72 -0
- package/dist/request-auth.js.map +1 -0
- package/dist/uma.d.ts +77 -0
- package/dist/uma.js +95 -0
- package/dist/uma.js.map +1 -0
- package/dist/verify.d.ts +2 -0
- package/dist/verify.js.map +1 -1
- package/dist/workos-session.d.ts +30 -0
- package/dist/workos-session.js +123 -0
- package/dist/workos-session.js.map +1 -0
- package/package.json +2 -2
package/dist/client/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
29
29
|
unban(id: string): Promise<import("./users").User>;
|
|
30
30
|
lock(id: string, body?: {
|
|
31
31
|
duration_in_seconds?: number;
|
|
32
|
+
reason?: string;
|
|
32
33
|
}): Promise<import("./users").User>;
|
|
33
34
|
unlock(id: string): Promise<import("./users").User>;
|
|
34
35
|
flagReferral(id: string, body?: {
|
|
@@ -108,6 +109,15 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
108
109
|
listOrganizationMemberships(id: string, params?: import("./types").CursorParams): Promise<import("./types").CursorPage<import("./users").UserOrganizationMembership>>;
|
|
109
110
|
setPassword(id: string, body: import("./users").SetUserPasswordBody): Promise<import("./users").User>;
|
|
110
111
|
deleteProfileImage(id: string): Promise<import("./users").User>;
|
|
112
|
+
listDeviceKeys(id: string): Promise<{
|
|
113
|
+
object: "list";
|
|
114
|
+
data: import("./users").DeviceKey[];
|
|
115
|
+
}>;
|
|
116
|
+
deleteDeviceKey(id: string, keyId: string): Promise<{
|
|
117
|
+
object: "device_key";
|
|
118
|
+
id: string;
|
|
119
|
+
deleted: true;
|
|
120
|
+
}>;
|
|
111
121
|
deletePasskey(id: string, passkeyId: string): Promise<{
|
|
112
122
|
object: "passkey";
|
|
113
123
|
id: string;
|
|
@@ -122,6 +132,90 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
122
132
|
}>;
|
|
123
133
|
acknowledgeErasure(id: string, body: import("./users").UserErasureAckBody, idempotencyKey?: string): Promise<import("./users").UserErasureAck>;
|
|
124
134
|
erasureExport(id: string): Promise<import("./users").UserErasureExport>;
|
|
135
|
+
createLink(id: string, body: import("./users").UserLinkBody, idempotencyKey?: string): Promise<import("./users").UserLink>;
|
|
136
|
+
search: {
|
|
137
|
+
query(body: import("./users").UserSearchBody): Promise<import("./types").CursorPage<import("./users").User> & {
|
|
138
|
+
total_count?: number;
|
|
139
|
+
}>;
|
|
140
|
+
export(body: import("./users").UserSearchExportBody): Promise<string>;
|
|
141
|
+
views: {
|
|
142
|
+
list(): Promise<{
|
|
143
|
+
object: "list";
|
|
144
|
+
data: import("./users").UserSearchView[];
|
|
145
|
+
has_more: boolean;
|
|
146
|
+
}>;
|
|
147
|
+
create(body: import("./users").UserSearchViewBody & {
|
|
148
|
+
name: string;
|
|
149
|
+
}, idempotencyKey?: string): Promise<import("./users").UserSearchView>;
|
|
150
|
+
update(id: string, body: import("./users").UserSearchViewBody): Promise<import("./users").UserSearchView>;
|
|
151
|
+
delete(id: string): Promise<{
|
|
152
|
+
object: "user_search_view";
|
|
153
|
+
id: string;
|
|
154
|
+
deleted: true;
|
|
155
|
+
}>;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
requiredActions: {
|
|
159
|
+
request(id: string, body: import("./users").RequiredActionBody, idempotencyKey?: string): Promise<import("./users").RequiredAction>;
|
|
160
|
+
list(id: string): Promise<{
|
|
161
|
+
object: "list";
|
|
162
|
+
data: import("./users").RequiredAction[];
|
|
163
|
+
has_more: boolean;
|
|
164
|
+
}>;
|
|
165
|
+
clear(id: string, requiredActionId: string, idempotencyKey?: string): Promise<{
|
|
166
|
+
object: "required_action";
|
|
167
|
+
id: string;
|
|
168
|
+
deleted: true;
|
|
169
|
+
}>;
|
|
170
|
+
bulk(body: import("./users").RequiredActionBody & ({
|
|
171
|
+
organization_id: string;
|
|
172
|
+
} | {
|
|
173
|
+
user_ids: string[];
|
|
174
|
+
}), idempotencyKey?: string): Promise<import("./users").RequiredActionBulkResult>;
|
|
175
|
+
};
|
|
176
|
+
notes: {
|
|
177
|
+
list(id: string): Promise<{
|
|
178
|
+
object: "list";
|
|
179
|
+
data: import("./users").UserNote[];
|
|
180
|
+
has_more: boolean;
|
|
181
|
+
total_count: number;
|
|
182
|
+
}>;
|
|
183
|
+
create(id: string, body: {
|
|
184
|
+
body: string;
|
|
185
|
+
pinned?: boolean;
|
|
186
|
+
}, idempotencyKey?: string): Promise<import("./users").UserNote>;
|
|
187
|
+
update(id: string, noteId: string, body: {
|
|
188
|
+
body?: string;
|
|
189
|
+
pinned?: boolean;
|
|
190
|
+
}, idempotencyKey?: string): Promise<import("./users").UserNote>;
|
|
191
|
+
delete(id: string, noteId: string, idempotencyKey?: string): Promise<{
|
|
192
|
+
object: "user_note";
|
|
193
|
+
id: string;
|
|
194
|
+
deleted: true;
|
|
195
|
+
}>;
|
|
196
|
+
};
|
|
197
|
+
history(id: string, params?: {
|
|
198
|
+
limit?: number;
|
|
199
|
+
starting_after?: string;
|
|
200
|
+
action?: string[];
|
|
201
|
+
}): Promise<import("./users").UserHistoryPage>;
|
|
202
|
+
minorStatus(id: string): Promise<import("./users").MinorStatus>;
|
|
203
|
+
assessMinor(id: string): Promise<import("./users").MinorStatus>;
|
|
204
|
+
guardians: {
|
|
205
|
+
request(id: string, body: {
|
|
206
|
+
email?: string;
|
|
207
|
+
guardian_user_id?: string;
|
|
208
|
+
relationship?: string;
|
|
209
|
+
send_email?: boolean;
|
|
210
|
+
}, idempotencyKey?: string): Promise<import("./users").GuardianLink & {
|
|
211
|
+
consent_url: string;
|
|
212
|
+
emailed: boolean;
|
|
213
|
+
}>;
|
|
214
|
+
approve(id: string, linkId: string, body?: {
|
|
215
|
+
note?: string;
|
|
216
|
+
}): Promise<import("./users").GuardianLink>;
|
|
217
|
+
revoke(id: string, linkId: string): Promise<import("./users").GuardianLink>;
|
|
218
|
+
};
|
|
125
219
|
deletion: {
|
|
126
220
|
schedule(id: string, body?: {
|
|
127
221
|
grace_seconds?: number;
|
|
@@ -279,6 +373,26 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
279
373
|
deleted: true;
|
|
280
374
|
}>;
|
|
281
375
|
};
|
|
376
|
+
webhookEndpoints: {
|
|
377
|
+
list(orgId: string): Promise<import("./types").ListPage<import("./webhooks").WebhookEndpoint>>;
|
|
378
|
+
get(orgId: string, endpointId: string): Promise<import("./webhooks").WebhookEndpoint>;
|
|
379
|
+
create(orgId: string, body: import("./organizations").OrganizationWebhookEndpointBody & {
|
|
380
|
+
url: string;
|
|
381
|
+
}, idempotencyKey?: string): Promise<import("./webhooks").WebhookEndpointWithSecret>;
|
|
382
|
+
update(orgId: string, endpointId: string, body: import("./organizations").OrganizationWebhookEndpointBody): Promise<import("./webhooks").WebhookEndpoint>;
|
|
383
|
+
delete(orgId: string, endpointId: string): Promise<{
|
|
384
|
+
object: "webhook_endpoint";
|
|
385
|
+
id: string;
|
|
386
|
+
deleted: true;
|
|
387
|
+
}>;
|
|
388
|
+
rotateSecret(orgId: string, endpointId: string): Promise<{
|
|
389
|
+
object: "webhook_secret";
|
|
390
|
+
secret: string;
|
|
391
|
+
overlap_seconds: number;
|
|
392
|
+
previous_secret_expires_at: number | null;
|
|
393
|
+
}>;
|
|
394
|
+
deliveries(orgId: string, endpointId: string, query?: Record<string, string | number | undefined>): Promise<import("./types").ListPage<import("./webhooks").WebhookDelivery>>;
|
|
395
|
+
};
|
|
282
396
|
branding: {
|
|
283
397
|
get(orgId: string): Promise<import("./organizations").OrganizationBranding>;
|
|
284
398
|
update(orgId: string, body: import("./organizations").UpdateOrganizationBrandingBody): Promise<import("./organizations").OrganizationBranding>;
|
|
@@ -366,8 +480,39 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
366
480
|
deleted: true;
|
|
367
481
|
note: string;
|
|
368
482
|
}>;
|
|
483
|
+
appSettings: {
|
|
484
|
+
get(id: string): Promise<import("./oauth-clients").OAuthClientAppSettings>;
|
|
485
|
+
update(id: string, body: import("./oauth-clients").OAuthClientAppSettingsPatch): Promise<import("./oauth-clients").OAuthClientAppSettings>;
|
|
486
|
+
};
|
|
369
487
|
listBackchannelDeliveries(id: string, query?: import("./oauth-clients").BackchannelDeliveriesQuery): Promise<import("./oauth-clients").BackchannelLogoutDeliveryPage>;
|
|
370
488
|
testBackchannelLogout(id: string): Promise<import("./oauth-clients").BackchannelLogoutTest>;
|
|
489
|
+
setDelegatedUi(id: string, body: {
|
|
490
|
+
login_url?: string | null;
|
|
491
|
+
consent_url?: string | null;
|
|
492
|
+
}): Promise<{
|
|
493
|
+
object: "oauth_client_delegated_ui";
|
|
494
|
+
client_id: string;
|
|
495
|
+
login_url: string | null;
|
|
496
|
+
consent_url: string | null;
|
|
497
|
+
}>;
|
|
498
|
+
loginRequests: {
|
|
499
|
+
get(loginChallenge: string): Promise<import("./oauth-clients").DelegatedLoginRequest>;
|
|
500
|
+
accept(loginChallenge: string, body: {
|
|
501
|
+
subject: string;
|
|
502
|
+
remember?: boolean;
|
|
503
|
+
amr?: string[];
|
|
504
|
+
acr?: string;
|
|
505
|
+
}): Promise<import("./oauth-clients").DelegatedRedirect>;
|
|
506
|
+
reject(loginChallenge: string, body?: import("./oauth-clients").DelegatedReject): Promise<import("./oauth-clients").DelegatedRedirect>;
|
|
507
|
+
};
|
|
508
|
+
consentRequests: {
|
|
509
|
+
get(consentChallenge: string): Promise<import("./oauth-clients").DelegatedConsentRequest>;
|
|
510
|
+
accept(consentChallenge: string, body?: {
|
|
511
|
+
grant_scope?: string[];
|
|
512
|
+
remember?: boolean;
|
|
513
|
+
}): Promise<import("./oauth-clients").DelegatedRedirect>;
|
|
514
|
+
reject(consentChallenge: string, body?: import("./oauth-clients").DelegatedReject): Promise<import("./oauth-clients").DelegatedRedirect>;
|
|
515
|
+
};
|
|
371
516
|
initialAccessTokens: {
|
|
372
517
|
list(): Promise<import("./types").ListPage<import("./oauth-clients").OAuthInitialAccessToken>>;
|
|
373
518
|
create(body?: import("./oauth-clients").CreateInitialAccessTokenBody): Promise<import("./oauth-clients").OAuthInitialAccessToken & {
|
|
@@ -376,6 +521,24 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
376
521
|
}>;
|
|
377
522
|
revoke(id: string): Promise<import("./oauth-clients").OAuthInitialAccessToken>;
|
|
378
523
|
};
|
|
524
|
+
trustedIssuers: {
|
|
525
|
+
list(clientId: string): Promise<import("./types").ListPage<import("./oauth-clients").TrustedIssuer>>;
|
|
526
|
+
create(clientId: string, body: import("./oauth-clients").TrustedIssuerInput): Promise<import("./oauth-clients").TrustedIssuer>;
|
|
527
|
+
delete(clientId: string, issuerId: string): Promise<{
|
|
528
|
+
object: "oauth_trusted_issuer";
|
|
529
|
+
id: string;
|
|
530
|
+
deleted: true;
|
|
531
|
+
}>;
|
|
532
|
+
};
|
|
533
|
+
workloadIdentity: {
|
|
534
|
+
presets(): Promise<import("./types").ListPage<import("./oauth-clients").WorkloadPreset>>;
|
|
535
|
+
cloudTrust(query: {
|
|
536
|
+
provider: "aws" | "gcp" | "azure";
|
|
537
|
+
audience: string;
|
|
538
|
+
subject: string;
|
|
539
|
+
tenant_id?: string;
|
|
540
|
+
}): Promise<Record<string, unknown>>;
|
|
541
|
+
};
|
|
379
542
|
grants: {
|
|
380
543
|
list(clientId: string): Promise<import("./types").ListPage<import("./oauth-clients").ClientGrant>>;
|
|
381
544
|
create(clientId: string, body: {
|
|
@@ -389,6 +552,84 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
389
552
|
}>;
|
|
390
553
|
};
|
|
391
554
|
};
|
|
555
|
+
passkeyApi: {
|
|
556
|
+
registrationInit(body: {
|
|
557
|
+
user_id: string;
|
|
558
|
+
username?: string;
|
|
559
|
+
display_name?: string;
|
|
560
|
+
}): Promise<{
|
|
561
|
+
object: "passkey_registration_options";
|
|
562
|
+
options: Record<string, unknown>;
|
|
563
|
+
}>;
|
|
564
|
+
registrationFinalize(body: import("./passkey-api").PasskeyRegistrationFinalize): Promise<import("./passkey-api").ExternalPasskey>;
|
|
565
|
+
loginInit(body?: {
|
|
566
|
+
user_id?: string;
|
|
567
|
+
}): Promise<{
|
|
568
|
+
object: "passkey_login_options";
|
|
569
|
+
handle: string;
|
|
570
|
+
options: Record<string, unknown>;
|
|
571
|
+
}>;
|
|
572
|
+
loginFinalize(body: import("./passkey-api").PasskeyLoginFinalize): Promise<{
|
|
573
|
+
object: "passkey_login_result";
|
|
574
|
+
verified: true;
|
|
575
|
+
user_id: string;
|
|
576
|
+
credential_id: string;
|
|
577
|
+
passkey_id: string;
|
|
578
|
+
user_verified: boolean;
|
|
579
|
+
cloned_warning: boolean;
|
|
580
|
+
}>;
|
|
581
|
+
list(userId: string): Promise<import("./types").ListPage<import("./passkey-api").ExternalPasskey>>;
|
|
582
|
+
delete(userId: string, id: string): Promise<{
|
|
583
|
+
object: "external_passkey";
|
|
584
|
+
id: string;
|
|
585
|
+
deleted: true;
|
|
586
|
+
}>;
|
|
587
|
+
usage(): Promise<{
|
|
588
|
+
object: "passkey_api_usage";
|
|
589
|
+
passkeys: number;
|
|
590
|
+
}>;
|
|
591
|
+
};
|
|
592
|
+
vc: {
|
|
593
|
+
credentialTypes: {
|
|
594
|
+
list(): Promise<import("./types").ListPage<import("./vc").VcCredentialType>>;
|
|
595
|
+
create(body: import("./vc").CreateVcCredentialTypeBody): Promise<import("./vc").VcCredentialType>;
|
|
596
|
+
get(id: string): Promise<import("./vc").VcCredentialType>;
|
|
597
|
+
delete(id: string): Promise<{
|
|
598
|
+
object: "vc_credential_type";
|
|
599
|
+
id: string;
|
|
600
|
+
deleted: true;
|
|
601
|
+
}>;
|
|
602
|
+
};
|
|
603
|
+
createOffer(body: {
|
|
604
|
+
credential_type_id: string;
|
|
605
|
+
user_id: string;
|
|
606
|
+
tx_code?: string;
|
|
607
|
+
expires_in_seconds?: number;
|
|
608
|
+
}): Promise<import("./vc").VcOffer>;
|
|
609
|
+
credentials: {
|
|
610
|
+
list(query?: {
|
|
611
|
+
user_id?: string;
|
|
612
|
+
}): Promise<import("./types").ListPage<import("./vc").VcCredential>>;
|
|
613
|
+
revoke(id: string): Promise<import("./vc").VcCredential>;
|
|
614
|
+
};
|
|
615
|
+
presentationRequests: {
|
|
616
|
+
create(body: {
|
|
617
|
+
vct: string;
|
|
618
|
+
format?: import("./vc").VcFormat;
|
|
619
|
+
iaca_roots?: string[];
|
|
620
|
+
revocation_policy?: import("./vc").VcRevocationPolicy;
|
|
621
|
+
claims?: string[];
|
|
622
|
+
trusted_issuers?: Array<{
|
|
623
|
+
issuer: string;
|
|
624
|
+
jwks: {
|
|
625
|
+
keys: Record<string, unknown>[];
|
|
626
|
+
};
|
|
627
|
+
}>;
|
|
628
|
+
expires_in_seconds?: number;
|
|
629
|
+
}): Promise<import("./vc").VcPresentationRequest>;
|
|
630
|
+
get(id: string): Promise<import("./vc").VcPresentationRequest>;
|
|
631
|
+
};
|
|
632
|
+
};
|
|
392
633
|
resourceServers: {
|
|
393
634
|
list(): Promise<import("./types").ListPage<import("./resource-servers").ResourceServer>>;
|
|
394
635
|
get(id: string): Promise<import("./resource-servers").ResourceServer>;
|
|
@@ -502,6 +743,85 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
502
743
|
attackProtection: {
|
|
503
744
|
get(): Promise<import("./attack-protection").AttackProtection>;
|
|
504
745
|
update(body: import("./attack-protection").UpdateAttackProtectionBody): Promise<import("./attack-protection").AttackProtection>;
|
|
746
|
+
setAppAttestationSecret(secret: string, kind?: "play_integrity" | "devicecheck"): Promise<{
|
|
747
|
+
object: "app_attestation_secret";
|
|
748
|
+
set: true;
|
|
749
|
+
}>;
|
|
750
|
+
removeAppAttestationSecret(kind?: "play_integrity" | "devicecheck"): Promise<{
|
|
751
|
+
object: "app_attestation_secret";
|
|
752
|
+
deleted: true;
|
|
753
|
+
}>;
|
|
754
|
+
};
|
|
755
|
+
mfaFactors: {
|
|
756
|
+
setYubicoSecret(secret: string): Promise<{
|
|
757
|
+
object: "yubico_secret";
|
|
758
|
+
set: true;
|
|
759
|
+
}>;
|
|
760
|
+
removeYubicoSecret(): Promise<{
|
|
761
|
+
object: "yubico_secret";
|
|
762
|
+
deleted: true;
|
|
763
|
+
}>;
|
|
764
|
+
setDuoSecret(secret: string): Promise<{
|
|
765
|
+
object: "duo_secret";
|
|
766
|
+
set: true;
|
|
767
|
+
}>;
|
|
768
|
+
removeDuoSecret(): Promise<{
|
|
769
|
+
object: "duo_secret";
|
|
770
|
+
deleted: true;
|
|
771
|
+
}>;
|
|
772
|
+
duoHealthCheck(): Promise<{
|
|
773
|
+
object: "duo_health_check";
|
|
774
|
+
ok: boolean;
|
|
775
|
+
message: string;
|
|
776
|
+
}>;
|
|
777
|
+
setSmartCardSecret(secret: string): Promise<{
|
|
778
|
+
object: "smart_card_secret";
|
|
779
|
+
set: true;
|
|
780
|
+
}>;
|
|
781
|
+
removeSmartCardSecret(): Promise<{
|
|
782
|
+
object: "smart_card_secret";
|
|
783
|
+
deleted: true;
|
|
784
|
+
}>;
|
|
785
|
+
yubikeys: {
|
|
786
|
+
list(): Promise<{
|
|
787
|
+
object: "list";
|
|
788
|
+
data: import("./mfa-factors").Yubikey[];
|
|
789
|
+
}>;
|
|
790
|
+
register(body: {
|
|
791
|
+
publicId: string;
|
|
792
|
+
aesKey: string;
|
|
793
|
+
privateId?: string;
|
|
794
|
+
label?: string;
|
|
795
|
+
userId?: string;
|
|
796
|
+
}): Promise<import("./mfa-factors").Yubikey>;
|
|
797
|
+
remove(id: string): Promise<{
|
|
798
|
+
object: "yubikey";
|
|
799
|
+
id: string;
|
|
800
|
+
deleted: true;
|
|
801
|
+
}>;
|
|
802
|
+
};
|
|
803
|
+
smartCardMappings: {
|
|
804
|
+
list(userId: string): Promise<{
|
|
805
|
+
object: "list";
|
|
806
|
+
data: import("./mfa-factors").SmartCardMapping[];
|
|
807
|
+
}>;
|
|
808
|
+
add(userId: string, body: {
|
|
809
|
+
kind: import("./mfa-factors").SmartCardMappingKind;
|
|
810
|
+
value: string;
|
|
811
|
+
issuer?: string;
|
|
812
|
+
label?: string;
|
|
813
|
+
}): Promise<import("./mfa-factors").SmartCardMapping>;
|
|
814
|
+
remove(userId: string, mappingId: string): Promise<{
|
|
815
|
+
object: "smartcard_mapping";
|
|
816
|
+
id: string;
|
|
817
|
+
deleted: true;
|
|
818
|
+
}>;
|
|
819
|
+
};
|
|
820
|
+
resetSecurityQuestions(userId: string): Promise<{
|
|
821
|
+
object: "security_questions";
|
|
822
|
+
user_id: string;
|
|
823
|
+
deleted: boolean;
|
|
824
|
+
}>;
|
|
505
825
|
};
|
|
506
826
|
actorTokens: {
|
|
507
827
|
create(body: import("./actor-tokens").CreateActorTokenBody, idempotencyKey?: string): Promise<import("./actor-tokens").ActorToken>;
|
|
@@ -630,6 +950,58 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
630
950
|
setForUser(userId: string, body: import("./app-roles").SetUserAppRolesBody): Promise<import("./app-roles").UserAppRoles>;
|
|
631
951
|
removeFromUser(userId: string, idOrKey: string): Promise<import("./app-roles").UserAppRoles>;
|
|
632
952
|
};
|
|
953
|
+
groups: {
|
|
954
|
+
list(): Promise<import("./types").ListPage<import("./groups").Group>>;
|
|
955
|
+
get(idOrSlug: string): Promise<import("./groups").Group>;
|
|
956
|
+
create(body: import("./groups").GroupBody & {
|
|
957
|
+
slug: string;
|
|
958
|
+
name: string;
|
|
959
|
+
}, idempotencyKey?: string): Promise<import("./groups").Group>;
|
|
960
|
+
update(idOrSlug: string, body: import("./groups").GroupBody): Promise<import("./groups").Group>;
|
|
961
|
+
delete(idOrSlug: string): Promise<{
|
|
962
|
+
object: "group";
|
|
963
|
+
id: string;
|
|
964
|
+
deleted: true;
|
|
965
|
+
}>;
|
|
966
|
+
listMembers(idOrSlug: string, query?: {
|
|
967
|
+
limit?: number;
|
|
968
|
+
starting_after?: string;
|
|
969
|
+
}): Promise<import("./types").ListPage<import("./groups").GroupMember> & {
|
|
970
|
+
next_cursor: string | null;
|
|
971
|
+
}>;
|
|
972
|
+
addMembers(idOrSlug: string, userIds: string[]): Promise<{
|
|
973
|
+
added: number;
|
|
974
|
+
promoted: number;
|
|
975
|
+
already_member: number;
|
|
976
|
+
skipped: number;
|
|
977
|
+
}>;
|
|
978
|
+
removeMembers(idOrSlug: string, userIds: string[]): Promise<{
|
|
979
|
+
removed: number;
|
|
980
|
+
}>;
|
|
981
|
+
reapply(idOrSlug: string): Promise<{
|
|
982
|
+
matched: number;
|
|
983
|
+
added: number;
|
|
984
|
+
removed: number;
|
|
985
|
+
}>;
|
|
986
|
+
forUser(userId: string): Promise<import("./types").ListPage<import("./groups").Group>>;
|
|
987
|
+
rules: {
|
|
988
|
+
list(): Promise<import("./types").ListPage<import("./groups").GroupRule>>;
|
|
989
|
+
get(id: string): Promise<import("./groups").GroupRule>;
|
|
990
|
+
create(body: import("./groups").GroupRuleBody & {
|
|
991
|
+
name: string;
|
|
992
|
+
condition: Record<string, unknown>;
|
|
993
|
+
actions: import("./groups").GroupRuleAction[];
|
|
994
|
+
}, idempotencyKey?: string): Promise<import("./groups").GroupRule>;
|
|
995
|
+
update(id: string, body: import("./groups").GroupRuleBody): Promise<import("./groups").GroupRule>;
|
|
996
|
+
delete(id: string): Promise<{
|
|
997
|
+
object: "group_rule";
|
|
998
|
+
id: string;
|
|
999
|
+
deleted: true;
|
|
1000
|
+
}>;
|
|
1001
|
+
apply(id: string): Promise<import("./groups").GroupRuleResult>;
|
|
1002
|
+
applyAll(): Promise<import("./types").ListPage<import("./groups").GroupRuleResult>>;
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
633
1005
|
machines: {
|
|
634
1006
|
list(query?: import("./machines").ListMachinesQuery): Promise<import("./machines").MachineListPage>;
|
|
635
1007
|
create(body: import("./machines").CreateMachineBody, idempotencyKey?: string): Promise<import("./machines").MachineWithSecret>;
|
|
@@ -712,6 +1084,10 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
712
1084
|
syncGroup(id: string, organizationId: string): Promise<import("./scim-provisioning").ScimProvisioningGroupSyncResult>;
|
|
713
1085
|
};
|
|
714
1086
|
fga: {
|
|
1087
|
+
settings: {
|
|
1088
|
+
get(): Promise<import("./fga").FgaSettings>;
|
|
1089
|
+
update(body: import("./fga").UpdateFgaSettingsBody): Promise<import("./fga").FgaSettings>;
|
|
1090
|
+
};
|
|
715
1091
|
stores: {
|
|
716
1092
|
list(): Promise<import("./types").ListPage<import("./fga").FgaStore>>;
|
|
717
1093
|
create(body: {
|
|
@@ -736,6 +1112,7 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
736
1112
|
object: "fga.write_result";
|
|
737
1113
|
writes: number;
|
|
738
1114
|
deletes: number;
|
|
1115
|
+
consistency_token: string;
|
|
739
1116
|
}>;
|
|
740
1117
|
read(storeId: string, body: {
|
|
741
1118
|
user?: string;
|
|
@@ -746,16 +1123,23 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
746
1123
|
object: "fga.check";
|
|
747
1124
|
allowed: boolean;
|
|
748
1125
|
authorization_model_id: string;
|
|
1126
|
+
consistency_token: string;
|
|
749
1127
|
}>;
|
|
750
1128
|
batchCheck(storeId: string, body: {
|
|
751
1129
|
checks: import("./fga").FgaBatchCheckItem[];
|
|
752
1130
|
authorization_model_id?: string;
|
|
753
|
-
}): Promise<import("./fga").FgaBatchCheckResult>;
|
|
1131
|
+
} & import("./fga").FgaConsistencyOptions): Promise<import("./fga").FgaBatchCheckResult>;
|
|
754
1132
|
listObjects(storeId: string, body: import("./fga").FgaListObjectsBody): Promise<{
|
|
755
1133
|
object: "fga.list_objects";
|
|
756
1134
|
objects: string[];
|
|
1135
|
+
has_more: boolean;
|
|
1136
|
+
next_cursor: string | null;
|
|
757
1137
|
authorization_model_id: string;
|
|
1138
|
+
consistency_token: string;
|
|
758
1139
|
}>;
|
|
1140
|
+
listUsers(storeId: string, body: import("./fga").FgaListUsersBody): Promise<import("./fga").FgaListUsersResult>;
|
|
1141
|
+
listAllUsers(storeId: string, body: import("./fga").FgaListUsersBody): Promise<import("./fga").FgaListUsersResult>;
|
|
1142
|
+
readChanges(storeId: string, params?: import("./fga").FgaReadChangesParams): Promise<import("./fga").FgaChangesPage>;
|
|
759
1143
|
expand(storeId: string, body: {
|
|
760
1144
|
object: string;
|
|
761
1145
|
relation: string;
|
|
@@ -773,6 +1157,7 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
773
1157
|
object: "fga.write_result";
|
|
774
1158
|
writes: number;
|
|
775
1159
|
deletes: number;
|
|
1160
|
+
consistency_token: string;
|
|
776
1161
|
}>;
|
|
777
1162
|
read: (body: {
|
|
778
1163
|
user?: string;
|
|
@@ -783,16 +1168,23 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
783
1168
|
object: "fga.check";
|
|
784
1169
|
allowed: boolean;
|
|
785
1170
|
authorization_model_id: string;
|
|
1171
|
+
consistency_token: string;
|
|
786
1172
|
}>;
|
|
787
1173
|
batchCheck: (body: {
|
|
788
1174
|
checks: import("./fga").FgaBatchCheckItem[];
|
|
789
1175
|
authorization_model_id?: string;
|
|
790
|
-
}) => Promise<import("./fga").FgaBatchCheckResult>;
|
|
1176
|
+
} & import("./fga").FgaConsistencyOptions) => Promise<import("./fga").FgaBatchCheckResult>;
|
|
791
1177
|
listObjects: (body: import("./fga").FgaListObjectsBody) => Promise<{
|
|
792
1178
|
object: "fga.list_objects";
|
|
793
1179
|
objects: string[];
|
|
1180
|
+
has_more: boolean;
|
|
1181
|
+
next_cursor: string | null;
|
|
794
1182
|
authorization_model_id: string;
|
|
1183
|
+
consistency_token: string;
|
|
795
1184
|
}>;
|
|
1185
|
+
listUsers: (body: import("./fga").FgaListUsersBody) => Promise<import("./fga").FgaListUsersResult>;
|
|
1186
|
+
listAllUsers: (body: import("./fga").FgaListUsersBody) => Promise<import("./fga").FgaListUsersResult>;
|
|
1187
|
+
readChanges: (params?: import("./fga").FgaReadChangesParams) => Promise<import("./fga").FgaChangesPage>;
|
|
796
1188
|
expand: (body: {
|
|
797
1189
|
object: string;
|
|
798
1190
|
relation: string;
|
|
@@ -816,6 +1208,100 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
816
1208
|
riskBasedMfa: {
|
|
817
1209
|
get(): Promise<import("./risk-based-mfa").RiskBasedMfa>;
|
|
818
1210
|
update(body: import("./risk-based-mfa").UpdateRiskBasedMfaBody): Promise<import("./risk-based-mfa").RiskBasedMfa>;
|
|
1211
|
+
fraudLookup(body: import("./risk-based-mfa").FraudLookupBody): Promise<import("./risk-based-mfa").FraudLookup>;
|
|
1212
|
+
setReputationSecret(secret: string, provider?: "ipqs" | "spur" | "minfraud"): Promise<{
|
|
1213
|
+
object: "risk_reputation_secret";
|
|
1214
|
+
provider: string;
|
|
1215
|
+
set: true;
|
|
1216
|
+
}>;
|
|
1217
|
+
removeReputationSecret(provider?: "ipqs" | "spur" | "minfraud"): Promise<{
|
|
1218
|
+
object: "risk_reputation_secret";
|
|
1219
|
+
provider: string;
|
|
1220
|
+
deleted: true;
|
|
1221
|
+
}>;
|
|
1222
|
+
};
|
|
1223
|
+
riskEvents: {
|
|
1224
|
+
list(query?: {
|
|
1225
|
+
user_id?: string;
|
|
1226
|
+
level?: import("./risk-based-mfa").RiskLevel;
|
|
1227
|
+
limit?: number;
|
|
1228
|
+
before?: string;
|
|
1229
|
+
}): Promise<{
|
|
1230
|
+
object: "list";
|
|
1231
|
+
data: import("./risk-based-mfa").RiskEvent[];
|
|
1232
|
+
}>;
|
|
1233
|
+
metrics(query?: {
|
|
1234
|
+
days?: number;
|
|
1235
|
+
}): Promise<import("./risk-based-mfa").RiskEventMetrics>;
|
|
1236
|
+
feedback(id: string, verdict: "legit" | "fraud"): Promise<import("./risk-based-mfa").RiskEvent>;
|
|
1237
|
+
};
|
|
1238
|
+
ssf: {
|
|
1239
|
+
streams: {
|
|
1240
|
+
list(): Promise<{
|
|
1241
|
+
object: "list";
|
|
1242
|
+
data: import("./ssf").SsfStream[];
|
|
1243
|
+
}>;
|
|
1244
|
+
create(body: import("./ssf").CreateSsfStreamBody): Promise<import("./ssf").SsfStreamCreated>;
|
|
1245
|
+
get(id: string): Promise<import("./ssf").SsfStream>;
|
|
1246
|
+
update(id: string, body: import("./ssf").UpdateSsfStreamBody): Promise<import("./ssf").SsfStream>;
|
|
1247
|
+
delete(id: string): Promise<void>;
|
|
1248
|
+
verify(id: string, state?: string): Promise<{
|
|
1249
|
+
object: "ssf_verification";
|
|
1250
|
+
stream_id: string;
|
|
1251
|
+
state: string;
|
|
1252
|
+
}>;
|
|
1253
|
+
events(id: string, query?: {
|
|
1254
|
+
limit?: number;
|
|
1255
|
+
}): Promise<{
|
|
1256
|
+
object: "list";
|
|
1257
|
+
data: import("./ssf").SsfEventRecord[];
|
|
1258
|
+
}>;
|
|
1259
|
+
};
|
|
1260
|
+
receivers: {
|
|
1261
|
+
list(): Promise<{
|
|
1262
|
+
object: "list";
|
|
1263
|
+
data: import("./ssf").SsfReceiver[];
|
|
1264
|
+
}>;
|
|
1265
|
+
create(body: import("./ssf").CreateSsfReceiverBody): Promise<import("./ssf").SsfReceiver>;
|
|
1266
|
+
update(id: string, body: Partial<Omit<import("./ssf").CreateSsfReceiverBody, "issuer">> & {
|
|
1267
|
+
enabled?: boolean;
|
|
1268
|
+
}): Promise<import("./ssf").SsfReceiver>;
|
|
1269
|
+
delete(id: string): Promise<void>;
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
managedGrants: {
|
|
1273
|
+
list(query?: import("./managed-grants").ListManagedGrantsQuery): Promise<{
|
|
1274
|
+
object: "list";
|
|
1275
|
+
data: import("./managed-grants").ManagedGrant[];
|
|
1276
|
+
}>;
|
|
1277
|
+
get(id: string): Promise<import("./managed-grants").ManagedGrant>;
|
|
1278
|
+
narrow(id: string, body: {
|
|
1279
|
+
scopes?: string[];
|
|
1280
|
+
authorization_details?: Record<string, unknown>[];
|
|
1281
|
+
}): Promise<import("./managed-grants").ManagedGrant>;
|
|
1282
|
+
revoke(id: string): Promise<{
|
|
1283
|
+
object: "managed_grant";
|
|
1284
|
+
id: string;
|
|
1285
|
+
deleted: true;
|
|
1286
|
+
tokens_ended: number;
|
|
1287
|
+
}>;
|
|
1288
|
+
};
|
|
1289
|
+
leastPrivilege: {
|
|
1290
|
+
report(query?: import("./least-privilege").LeastPrivilegeReportQuery): Promise<import("./least-privilege").LeastPrivilegeReport>;
|
|
1291
|
+
get(type: import("./least-privilege").LeastPrivilegeSubjectType, id: string, query?: {
|
|
1292
|
+
days?: number;
|
|
1293
|
+
}): Promise<import("./least-privilege").LeastPrivilegeSubject>;
|
|
1294
|
+
exportCsv(query?: import("./least-privilege").LeastPrivilegeReportQuery): Promise<string>;
|
|
1295
|
+
apply(body: import("./least-privilege").ApplyLeastPrivilegeBody, options?: {
|
|
1296
|
+
dryRun?: boolean;
|
|
1297
|
+
}): Promise<{
|
|
1298
|
+
object: "least_privilege_change";
|
|
1299
|
+
subject_type: import("./least-privilege").LeastPrivilegeSubjectType;
|
|
1300
|
+
subject_id: string;
|
|
1301
|
+
applied: true;
|
|
1302
|
+
summary: string;
|
|
1303
|
+
changes: import("./least-privilege").LeastPrivilegeChange[];
|
|
1304
|
+
}>;
|
|
819
1305
|
};
|
|
820
1306
|
botSignals: {
|
|
821
1307
|
list(query?: import("./bot-signals").BotExportParams): Promise<import("./bot-signals").BotExportPage<import("./bot-signals").BotSignal>>;
|
|
@@ -833,6 +1319,264 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
833
1319
|
deleted: true;
|
|
834
1320
|
}>;
|
|
835
1321
|
};
|
|
1322
|
+
networkZones: {
|
|
1323
|
+
list(): Promise<import("./types").ListPage<import("./network-zones").NetworkZone>>;
|
|
1324
|
+
get(id: string): Promise<import("./network-zones").NetworkZone>;
|
|
1325
|
+
create(body: import("./network-zones").CreateNetworkZoneBody, idempotencyKey?: string): Promise<import("./network-zones").NetworkZone>;
|
|
1326
|
+
update(id: string, body: import("./network-zones").UpdateNetworkZoneBody): Promise<import("./network-zones").NetworkZone>;
|
|
1327
|
+
delete(id: string): Promise<{
|
|
1328
|
+
object: "network_zone";
|
|
1329
|
+
id: string;
|
|
1330
|
+
deleted: true;
|
|
1331
|
+
}>;
|
|
1332
|
+
check(id: string, ip: string): Promise<import("./network-zones").NetworkZoneCheck>;
|
|
1333
|
+
};
|
|
1334
|
+
accessPolicies: {
|
|
1335
|
+
list(): Promise<import("./types").ListPage<import("./access-policies").AccessPolicy>>;
|
|
1336
|
+
get(id: string): Promise<import("./access-policies").AccessPolicy>;
|
|
1337
|
+
create(body: import("./access-policies").CreateAccessPolicyBody, idempotencyKey?: string): Promise<import("./access-policies").AccessPolicy>;
|
|
1338
|
+
update(id: string, body: import("./access-policies").UpdateAccessPolicyBody): Promise<import("./access-policies").AccessPolicy>;
|
|
1339
|
+
delete(id: string): Promise<{
|
|
1340
|
+
object: "access_policy";
|
|
1341
|
+
id: string;
|
|
1342
|
+
deleted: true;
|
|
1343
|
+
}>;
|
|
1344
|
+
simulate(body: import("./access-policies").SimulateAccessBody): Promise<import("./access-policies").AccessPolicySimulation>;
|
|
1345
|
+
};
|
|
1346
|
+
abac: {
|
|
1347
|
+
list(): Promise<import("./types").ListPage<import("./abac").AbacPolicy>>;
|
|
1348
|
+
get(id: string): Promise<import("./abac").AbacPolicy>;
|
|
1349
|
+
create(body: import("./abac").CreateAbacPolicyBody, idempotencyKey?: string): Promise<import("./abac").AbacPolicy>;
|
|
1350
|
+
update(id: string, body: import("./abac").UpdateAbacPolicyBody): Promise<import("./abac").AbacPolicy>;
|
|
1351
|
+
delete(id: string): Promise<{
|
|
1352
|
+
object: "abac_policy";
|
|
1353
|
+
id: string;
|
|
1354
|
+
deleted: true;
|
|
1355
|
+
}>;
|
|
1356
|
+
versions(id: string): Promise<import("./types").ListPage<import("./abac").AbacPolicyVersion>>;
|
|
1357
|
+
test(id: string, body?: {
|
|
1358
|
+
version?: number;
|
|
1359
|
+
source?: string;
|
|
1360
|
+
tests?: import("./abac").AbacPolicyTestCase[];
|
|
1361
|
+
}): Promise<import("./abac").AbacTestRun>;
|
|
1362
|
+
evaluate(body: import("./abac").AbacEvaluateBody): Promise<import("./abac").AbacDecision>;
|
|
1363
|
+
partialEvaluate(body: import("./abac").AbacPartialBody): Promise<import("./abac").AbacResidual>;
|
|
1364
|
+
accessibleResources(body: import("./abac").AbacAccessibleBody): Promise<import("./abac").AbacAccessibleList>;
|
|
1365
|
+
templates: {
|
|
1366
|
+
list(): Promise<import("./types").ListPage<import("./abac").AbacPolicyTemplate>>;
|
|
1367
|
+
get(id: string): Promise<import("./abac").AbacPolicyTemplate>;
|
|
1368
|
+
create(body: import("./abac").CreateAbacTemplateBody, idempotencyKey?: string): Promise<import("./abac").AbacPolicyTemplate>;
|
|
1369
|
+
update(id: string, body: Partial<import("./abac").CreateAbacTemplateBody>): Promise<import("./abac").AbacPolicyTemplate>;
|
|
1370
|
+
delete(id: string, opts?: {
|
|
1371
|
+
force?: boolean;
|
|
1372
|
+
}): Promise<{
|
|
1373
|
+
object: "abac_policy_template";
|
|
1374
|
+
id: string;
|
|
1375
|
+
deleted: true;
|
|
1376
|
+
links_deleted: number;
|
|
1377
|
+
}>;
|
|
1378
|
+
};
|
|
1379
|
+
links: {
|
|
1380
|
+
list(query?: {
|
|
1381
|
+
template_id?: string;
|
|
1382
|
+
}): Promise<import("./types").ListPage<import("./abac").AbacPolicyLink>>;
|
|
1383
|
+
get(id: string): Promise<import("./abac").AbacPolicyLink>;
|
|
1384
|
+
create(body: import("./abac").CreateAbacLinkBody, idempotencyKey?: string): Promise<import("./abac").AbacPolicyLink>;
|
|
1385
|
+
update(id: string, body: Partial<Omit<import("./abac").CreateAbacLinkBody, "template_id">>): Promise<import("./abac").AbacPolicyLink>;
|
|
1386
|
+
delete(id: string): Promise<{
|
|
1387
|
+
object: "abac_policy_link";
|
|
1388
|
+
id: string;
|
|
1389
|
+
deleted: true;
|
|
1390
|
+
}>;
|
|
1391
|
+
};
|
|
1392
|
+
schema: {
|
|
1393
|
+
get(): Promise<import("./abac").AbacSchemaState>;
|
|
1394
|
+
set(schema: import("./abac").AbacSchemaDocument): Promise<import("./abac").AbacSchemaState>;
|
|
1395
|
+
delete(): Promise<{
|
|
1396
|
+
object: "abac_schema";
|
|
1397
|
+
deleted: true;
|
|
1398
|
+
}>;
|
|
1399
|
+
validate(body: {
|
|
1400
|
+
source: string;
|
|
1401
|
+
schema?: import("./abac").AbacSchemaDocument;
|
|
1402
|
+
template?: boolean;
|
|
1403
|
+
}): Promise<import("./abac").AbacValidation>;
|
|
1404
|
+
};
|
|
1405
|
+
diff(id: string, opts?: import("./abac").AbacDiffOptions): Promise<import("./abac").AbacPolicyDiff>;
|
|
1406
|
+
diffSources(body: {
|
|
1407
|
+
before: string;
|
|
1408
|
+
after: string;
|
|
1409
|
+
semantic?: boolean;
|
|
1410
|
+
max_requests?: number;
|
|
1411
|
+
max_changes?: number;
|
|
1412
|
+
}): Promise<import("./abac").AbacPolicyDiff>;
|
|
1413
|
+
authzenSearchSubject(body: import("./abac").AuthzenSearchRequest): Promise<{
|
|
1414
|
+
results: Array<{
|
|
1415
|
+
type: string;
|
|
1416
|
+
id: string;
|
|
1417
|
+
}>;
|
|
1418
|
+
page: import("./abac").AuthzenSearchPage;
|
|
1419
|
+
}>;
|
|
1420
|
+
authzenSearchResource(body: import("./abac").AuthzenSearchRequest): Promise<{
|
|
1421
|
+
results: Array<{
|
|
1422
|
+
type: string;
|
|
1423
|
+
id: string;
|
|
1424
|
+
}>;
|
|
1425
|
+
page: import("./abac").AuthzenSearchPage;
|
|
1426
|
+
}>;
|
|
1427
|
+
authzenSearchAction(body: import("./abac").AuthzenSearchRequest): Promise<{
|
|
1428
|
+
results: Array<{
|
|
1429
|
+
name: string;
|
|
1430
|
+
}>;
|
|
1431
|
+
page: import("./abac").AuthzenSearchPage;
|
|
1432
|
+
}>;
|
|
1433
|
+
isAllowed(body: import("./abac").AbacEvaluateBody): Promise<boolean>;
|
|
1434
|
+
authzenEvaluation(body: import("./abac").AuthzenEvaluation): Promise<{
|
|
1435
|
+
decision: boolean;
|
|
1436
|
+
context?: Record<string, unknown>;
|
|
1437
|
+
}>;
|
|
1438
|
+
authzenEvaluations(body: import("./abac").AuthzenEvaluation & {
|
|
1439
|
+
evaluations?: import("./abac").AuthzenEvaluation[];
|
|
1440
|
+
options?: {
|
|
1441
|
+
evaluations_semantic?: "execute_all" | "deny_on_first_deny" | "permit_on_first_permit";
|
|
1442
|
+
};
|
|
1443
|
+
}): Promise<{
|
|
1444
|
+
evaluations: Array<{
|
|
1445
|
+
decision: boolean;
|
|
1446
|
+
}>;
|
|
1447
|
+
}>;
|
|
1448
|
+
};
|
|
1449
|
+
authzDecisions: {
|
|
1450
|
+
list(params?: import("./authz-decisions").ListAuthzDecisionsParams): Promise<import("./authz-decisions").AuthzDecisionPage>;
|
|
1451
|
+
iterate(params?: Omit<import("./authz-decisions").ListAuthzDecisionsParams, "starting_after">): AsyncGenerator<import("./authz-decisions").AuthzDecision>;
|
|
1452
|
+
get(id: string): Promise<import("./authz-decisions").AuthzDecision>;
|
|
1453
|
+
stats(params?: {
|
|
1454
|
+
since?: string | number;
|
|
1455
|
+
until?: string | number;
|
|
1456
|
+
}): Promise<import("./authz-decisions").AuthzDecisionStats>;
|
|
1457
|
+
settings: {
|
|
1458
|
+
get(): Promise<import("./authz-decisions").AuthzDecisionSettings>;
|
|
1459
|
+
update(body: import("./authz-decisions").UpdateAuthzDecisionSettingsBody): Promise<import("./authz-decisions").AuthzDecisionSettings>;
|
|
1460
|
+
};
|
|
1461
|
+
};
|
|
1462
|
+
policyBundles: {
|
|
1463
|
+
list(): Promise<{
|
|
1464
|
+
object: "list";
|
|
1465
|
+
data: import("./policy-bundles").PolicyBundle[];
|
|
1466
|
+
has_more: boolean;
|
|
1467
|
+
}>;
|
|
1468
|
+
current(): Promise<{
|
|
1469
|
+
object: "policy_bundle_revision";
|
|
1470
|
+
revision: string;
|
|
1471
|
+
}>;
|
|
1472
|
+
export(): Promise<import("./policy-bundles").PolicyBundle>;
|
|
1473
|
+
get(revision: string): Promise<import("./policy-bundles").PolicyBundle>;
|
|
1474
|
+
verify(body: import("./policy-bundles").PolicyBundleUpload): Promise<import("./policy-bundles").PolicyBundleVerification>;
|
|
1475
|
+
import(body: import("./policy-bundles").PolicyBundleUpload & {
|
|
1476
|
+
dry_run?: boolean;
|
|
1477
|
+
prune?: boolean;
|
|
1478
|
+
}): Promise<import("./policy-bundles").PolicyBundleImport>;
|
|
1479
|
+
};
|
|
1480
|
+
resources: {
|
|
1481
|
+
types: {
|
|
1482
|
+
list(): Promise<import("./types").ListPage<import("./resources").ResourceType>>;
|
|
1483
|
+
get(key: string): Promise<import("./resources").ResourceType>;
|
|
1484
|
+
create(body: import("./resources").CreateResourceTypeBody, idempotencyKey?: string): Promise<import("./resources").ResourceType>;
|
|
1485
|
+
update(key: string, body: Partial<Omit<import("./resources").CreateResourceTypeBody, "key">>): Promise<import("./resources").ResourceType>;
|
|
1486
|
+
delete(key: string): Promise<{
|
|
1487
|
+
object: "resource_type";
|
|
1488
|
+
key: string;
|
|
1489
|
+
deleted: true;
|
|
1490
|
+
}>;
|
|
1491
|
+
};
|
|
1492
|
+
list(query?: {
|
|
1493
|
+
type?: string;
|
|
1494
|
+
parent_id?: string;
|
|
1495
|
+
limit?: number;
|
|
1496
|
+
}): Promise<import("./types").ListPage<import("./resources").Resource>>;
|
|
1497
|
+
get(id: string): Promise<import("./resources").Resource>;
|
|
1498
|
+
upsert(body: import("./resources").UpsertResourceBody): Promise<import("./resources").Resource>;
|
|
1499
|
+
sync(resources: import("./resources").UpsertResourceBody[]): Promise<import("./types").ListPage<import("./resources").Resource>>;
|
|
1500
|
+
delete(id: string): Promise<{
|
|
1501
|
+
object: "resource";
|
|
1502
|
+
id: string;
|
|
1503
|
+
deleted: true;
|
|
1504
|
+
}>;
|
|
1505
|
+
assignments: {
|
|
1506
|
+
list(query?: {
|
|
1507
|
+
resource_id?: string;
|
|
1508
|
+
subject_type?: string;
|
|
1509
|
+
subject_id?: string;
|
|
1510
|
+
}): Promise<import("./types").ListPage<import("./resources").ResourceRoleAssignment>>;
|
|
1511
|
+
assign(body: {
|
|
1512
|
+
resource: import("./resources").ResourceRef;
|
|
1513
|
+
subject: import("./resources").ResourceSubject;
|
|
1514
|
+
role: string;
|
|
1515
|
+
inherit?: boolean;
|
|
1516
|
+
}): Promise<import("./resources").ResourceRoleAssignment>;
|
|
1517
|
+
revoke(id: string): Promise<{
|
|
1518
|
+
object: "resource_role_assignment";
|
|
1519
|
+
id: string;
|
|
1520
|
+
deleted: true;
|
|
1521
|
+
}>;
|
|
1522
|
+
};
|
|
1523
|
+
check(body: import("./resources").ResourceCheckBody): Promise<import("./resources").ResourceCheck>;
|
|
1524
|
+
can(body: import("./resources").ResourceCheckBody): Promise<boolean>;
|
|
1525
|
+
checkBatch(checks: import("./resources").ResourceCheckBody[]): Promise<import("./types").ListPage<import("./resources").ResourceCheck>>;
|
|
1526
|
+
accessible(body: {
|
|
1527
|
+
subject: import("./resources").ResourceSubject;
|
|
1528
|
+
permission: string;
|
|
1529
|
+
type?: string;
|
|
1530
|
+
groups?: string[];
|
|
1531
|
+
limit?: number;
|
|
1532
|
+
starting_after?: string;
|
|
1533
|
+
}): Promise<import("./types").ListPage<import("./resources").Resource>>;
|
|
1534
|
+
};
|
|
1535
|
+
orgRoleGrants: {
|
|
1536
|
+
list(query?: {
|
|
1537
|
+
grantor_org_id?: string;
|
|
1538
|
+
grantee_org_id?: string;
|
|
1539
|
+
status?: "active";
|
|
1540
|
+
}): Promise<import("./types").ListPage<import("./org-role-grants").OrgRoleGrant>>;
|
|
1541
|
+
create(body: {
|
|
1542
|
+
grantor_org_id: string;
|
|
1543
|
+
grantee_org_id: string;
|
|
1544
|
+
role_keys: string[];
|
|
1545
|
+
}): Promise<import("./org-role-grants").OrgRoleGrant>;
|
|
1546
|
+
get(id: string): Promise<import("./org-role-grants").OrgRoleGrant>;
|
|
1547
|
+
update(id: string, body: {
|
|
1548
|
+
role_keys: string[];
|
|
1549
|
+
}): Promise<import("./org-role-grants").OrgRoleGrant>;
|
|
1550
|
+
revoke(id: string): Promise<import("./org-role-grants").OrgRoleGrant>;
|
|
1551
|
+
listDelegations(id: string): Promise<import("./types").ListPage<import("./org-role-grants").OrgRoleDelegation>>;
|
|
1552
|
+
delegate(id: string, body: {
|
|
1553
|
+
user_id: string;
|
|
1554
|
+
role_key: string;
|
|
1555
|
+
}): Promise<import("./org-role-grants").OrgRoleDelegation>;
|
|
1556
|
+
undelegate(id: string, delegationId: string): Promise<{
|
|
1557
|
+
object: "org_role_delegation";
|
|
1558
|
+
id: string;
|
|
1559
|
+
deleted: true;
|
|
1560
|
+
}>;
|
|
1561
|
+
effective(query: {
|
|
1562
|
+
user_id: string;
|
|
1563
|
+
organization_id?: string;
|
|
1564
|
+
}): Promise<import("./types").ListPage<import("./org-role-grants").EffectiveDelegatedRole>>;
|
|
1565
|
+
};
|
|
1566
|
+
devices: {
|
|
1567
|
+
list(query?: {
|
|
1568
|
+
user_id?: string;
|
|
1569
|
+
source?: string;
|
|
1570
|
+
}): Promise<import("./types").ListPage<import("./devices").Device>>;
|
|
1571
|
+
get(id: string): Promise<import("./devices").Device>;
|
|
1572
|
+
report(body: import("./devices").DeviceReportBody): Promise<import("./devices").Device>;
|
|
1573
|
+
ingestPosture(devices: import("./devices").DeviceReportBody[]): Promise<import("./types").ListPage<import("./devices").Device>>;
|
|
1574
|
+
remove(id: string): Promise<{
|
|
1575
|
+
object: "device";
|
|
1576
|
+
id: string;
|
|
1577
|
+
deleted: true;
|
|
1578
|
+
}>;
|
|
1579
|
+
};
|
|
836
1580
|
managedWaf: {
|
|
837
1581
|
get(): Promise<import("./managed-waf").ManagedWaf>;
|
|
838
1582
|
status(): Promise<import("./managed-waf").ManagedWafStatus>;
|
|
@@ -922,18 +1666,57 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
922
1666
|
};
|
|
923
1667
|
actions: {
|
|
924
1668
|
list(): Promise<import("./types").ListPage<import("./actions").Action>>;
|
|
925
|
-
create(body: import("./actions").CreateActionBody, idempotencyKey?: string): Promise<import("./actions").
|
|
1669
|
+
create(body: import("./actions").CreateActionBody, idempotencyKey?: string): Promise<import("./actions").ActionWithSecret>;
|
|
926
1670
|
get(id: string): Promise<import("./actions").Action>;
|
|
927
|
-
update(id: string, body: import("./actions").UpdateActionBody): Promise<import("./actions").
|
|
1671
|
+
update(id: string, body: import("./actions").UpdateActionBody): Promise<import("./actions").ActionWithSecret>;
|
|
928
1672
|
delete(id: string): Promise<{
|
|
929
1673
|
object: "action";
|
|
930
1674
|
id: string;
|
|
931
1675
|
deleted: true;
|
|
932
1676
|
}>;
|
|
933
1677
|
test(id: string, event?: import("./actions").ActionTestEvent): Promise<import("./actions").ActionTestResult>;
|
|
1678
|
+
calls(id: string, query?: {
|
|
1679
|
+
limit?: number;
|
|
1680
|
+
status?: "ok" | "denied" | "failed" | "timeout" | "error" | "invalid_response";
|
|
1681
|
+
test?: boolean;
|
|
1682
|
+
starting_after?: string;
|
|
1683
|
+
}): Promise<import("./actions").ActionHttpCallList>;
|
|
934
1684
|
getBindings(trigger: import("./actions").ActionTrigger): Promise<import("./actions").ActionBindingList>;
|
|
935
1685
|
setBindings(trigger: import("./actions").ActionTrigger, actionIds: string[]): Promise<import("./actions").ActionBindingList>;
|
|
936
1686
|
};
|
|
1687
|
+
workflows: {
|
|
1688
|
+
list(): Promise<import("./types").ListPage<import("./workflows").Workflow>>;
|
|
1689
|
+
create(body: import("./workflows").CreateWorkflowBody, idempotencyKey?: string): Promise<import("./workflows").Workflow>;
|
|
1690
|
+
get(id: string): Promise<import("./workflows").Workflow>;
|
|
1691
|
+
update(id: string, body: import("./workflows").UpdateWorkflowBody): Promise<import("./workflows").Workflow>;
|
|
1692
|
+
delete(id: string): Promise<{
|
|
1693
|
+
object: "workflow";
|
|
1694
|
+
id: string;
|
|
1695
|
+
deleted: true;
|
|
1696
|
+
}>;
|
|
1697
|
+
dryRun(id: string, target?: {
|
|
1698
|
+
user_id?: string;
|
|
1699
|
+
organization_id?: string;
|
|
1700
|
+
}): Promise<import("./workflows").WorkflowRun>;
|
|
1701
|
+
run(id: string, target?: {
|
|
1702
|
+
user_id?: string;
|
|
1703
|
+
organization_id?: string;
|
|
1704
|
+
}, idempotencyKey?: string): Promise<import("./workflows").WorkflowRun>;
|
|
1705
|
+
runs(id: string, query?: {
|
|
1706
|
+
limit?: number;
|
|
1707
|
+
starting_after?: string;
|
|
1708
|
+
}): Promise<import("./types").ListPage<import("./workflows").WorkflowRun> & {
|
|
1709
|
+
next_cursor: string | null;
|
|
1710
|
+
}>;
|
|
1711
|
+
};
|
|
1712
|
+
pageTemplates: {
|
|
1713
|
+
list(): Promise<import("./types").ListPage<import("./page-templates").PageTemplate>>;
|
|
1714
|
+
get(page: import("./page-templates").PageTemplatePage): Promise<import("./page-templates").PageTemplate>;
|
|
1715
|
+
saveDraft(page: import("./page-templates").PageTemplatePage, definition: import("./page-templates").PageTemplateDefinition): Promise<import("./page-templates").PageTemplate>;
|
|
1716
|
+
preview(page: import("./page-templates").PageTemplatePage): Promise<import("./page-templates").PageTemplatePreview>;
|
|
1717
|
+
promote(page: import("./page-templates").PageTemplatePage): Promise<import("./page-templates").PageTemplate>;
|
|
1718
|
+
discard(page: import("./page-templates").PageTemplatePage, status: "draft" | "live"): Promise<import("./page-templates").PageTemplate>;
|
|
1719
|
+
};
|
|
937
1720
|
actionGallery: {
|
|
938
1721
|
list(filter?: import("./action-gallery").ActionGalleryFilter): Promise<import("./types").ListPage<import("./action-gallery").ActionGalleryEntry>>;
|
|
939
1722
|
get(slug: string): Promise<import("./action-gallery").ActionGalleryDetail>;
|
|
@@ -1177,6 +1960,33 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
1177
1960
|
deleted: true;
|
|
1178
1961
|
}>;
|
|
1179
1962
|
};
|
|
1963
|
+
/** MCP tool gateway: per-tool policy in front of an MCP server. */
|
|
1964
|
+
mcpGateways: {
|
|
1965
|
+
list(): Promise<import("./types").ListPage<import("./mcp-gateways").McpGateway>>;
|
|
1966
|
+
create(body: import("./mcp-gateways").CreateMcpGatewayBody, idempotencyKey?: string): Promise<import("./mcp-gateways").McpGateway>;
|
|
1967
|
+
get(id: string): Promise<import("./mcp-gateways").McpGateway>;
|
|
1968
|
+
update(id: string, body: import("./mcp-gateways").UpdateMcpGatewayBody): Promise<import("./mcp-gateways").McpGateway>;
|
|
1969
|
+
delete(id: string): Promise<{
|
|
1970
|
+
object: "mcp_gateway";
|
|
1971
|
+
id: string;
|
|
1972
|
+
deleted: true;
|
|
1973
|
+
}>;
|
|
1974
|
+
budgets: {
|
|
1975
|
+
list(gatewayId: string): Promise<import("./types").ListPage<import("./mcp-gateways").McpBudget>>;
|
|
1976
|
+
create(gatewayId: string, body: import("./mcp-gateways").CreateMcpBudgetBody): Promise<import("./mcp-gateways").McpBudget>;
|
|
1977
|
+
get(gatewayId: string, budgetId: string): Promise<import("./mcp-gateways").McpBudget>;
|
|
1978
|
+
update(gatewayId: string, budgetId: string, body: Partial<import("./mcp-gateways").CreateMcpBudgetBody>): Promise<import("./mcp-gateways").McpBudget>;
|
|
1979
|
+
delete(gatewayId: string, budgetId: string): Promise<{
|
|
1980
|
+
object: "mcp_budget";
|
|
1981
|
+
id: string;
|
|
1982
|
+
deleted: true;
|
|
1983
|
+
}>;
|
|
1984
|
+
usage(gatewayId: string, budgetId: string, query?: {
|
|
1985
|
+
agent_id?: string;
|
|
1986
|
+
session_id?: string;
|
|
1987
|
+
}): Promise<import("./mcp-gateways").McpBudgetUsage>;
|
|
1988
|
+
};
|
|
1989
|
+
};
|
|
1180
1990
|
ltiPlatforms: {
|
|
1181
1991
|
list(): Promise<import("./types").ListPage<import("./lti-platforms").LtiPlatform>>;
|
|
1182
1992
|
get(id: string): Promise<import("./lti-platforms").LtiPlatform>;
|
|
@@ -1594,6 +2404,12 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
1594
2404
|
listObjects(store: string, body: import("./openfga").OpenFgaListObjectsBody): Promise<{
|
|
1595
2405
|
objects: string[];
|
|
1596
2406
|
}>;
|
|
2407
|
+
listUsers(store: string, body: import("./openfga").OpenFgaListUsersBody): Promise<import("./openfga").OpenFgaListUsersResult>;
|
|
2408
|
+
listAllUsers(store: string, body: import("./openfga").OpenFgaListUsersBody): Promise<import("./openfga").OpenFgaListUsersResult>;
|
|
2409
|
+
readChanges(store: string, params?: import("./openfga").OpenFgaReadChangesParams): Promise<{
|
|
2410
|
+
changes: import("./openfga").OpenFgaTupleChange[];
|
|
2411
|
+
continuation_token: string;
|
|
2412
|
+
}>;
|
|
1597
2413
|
read(store: string, body?: import("./openfga").OpenFgaReadBody): Promise<{
|
|
1598
2414
|
tuples: import("./openfga").OpenFgaTuple[];
|
|
1599
2415
|
continuation_token: string;
|
|
@@ -1627,6 +2443,65 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
1627
2443
|
data: import("./connectors").ConnectorDirectoryEntry[];
|
|
1628
2444
|
}>;
|
|
1629
2445
|
};
|
|
2446
|
+
connections: {
|
|
2447
|
+
create(body: import("./connections").CreateConnectionBody, idempotencyKey?: string): Promise<import("./connections").Connection>;
|
|
2448
|
+
list(params?: import("./connections").ListConnectionsParams): Promise<import("./types").ListPage<import("./connections").Connection>>;
|
|
2449
|
+
get(id: string): Promise<import("./connections").Connection>;
|
|
2450
|
+
update(id: string, body: import("./connections").UpdateConnectionBody): Promise<import("./connections").Connection>;
|
|
2451
|
+
delete<R extends boolean = false>(id: string, options?: {
|
|
2452
|
+
revoke?: R;
|
|
2453
|
+
}): Promise<R extends true ? import("./connections").ConnectionDeletion : void>;
|
|
2454
|
+
connect(id: string, body: import("./connections").ConnectConnectionBody): Promise<import("./connections").ConnectionAuthorization>;
|
|
2455
|
+
revoke(id: string): Promise<import("./connections").ConnectionRevoked>;
|
|
2456
|
+
token(id: string, options?: import("./connections").TokenReadOptions): Promise<import("./connections").ConnectionToken>;
|
|
2457
|
+
refreshToken(id: string, options?: {
|
|
2458
|
+
staleAccessToken?: string;
|
|
2459
|
+
reason?: "provider_401" | "expired" | "manual";
|
|
2460
|
+
}): Promise<import("./connections").ConnectionToken>;
|
|
2461
|
+
tokens(ids: string[], options?: {
|
|
2462
|
+
minTtlSeconds?: number;
|
|
2463
|
+
}): Promise<{
|
|
2464
|
+
object: "list";
|
|
2465
|
+
data: import("./connections").ConnectionTokenBatchItem[];
|
|
2466
|
+
has_more: false;
|
|
2467
|
+
}>;
|
|
2468
|
+
importConnections(body: import("./connections").ImportConnectionsBody, idempotencyKey?: string): Promise<import("./connections").ImportConnectionsResult>;
|
|
2469
|
+
exportConnections(body?: import("./connections").ExportConnectionsBody): Promise<import("./connections").ExportConnectionsResult>;
|
|
2470
|
+
setCredentials(id: string, body: import("./connections").SetConnectionCredentialsBody): Promise<import("./connections").Connection>;
|
|
2471
|
+
rotateCredentials(id: string, body: import("./connections").RotateConnectionCredentialsBody): Promise<import("./connections").Connection>;
|
|
2472
|
+
secretVersions(id: string): Promise<import("./connections").ConnectionSecretVersions>;
|
|
2473
|
+
secret(id: string, options?: {
|
|
2474
|
+
version?: "current" | "previous" | number;
|
|
2475
|
+
organizationId?: string;
|
|
2476
|
+
}): Promise<import("./connections").ConnectionSecret>;
|
|
2477
|
+
oauth1Sign(id: string, body: {
|
|
2478
|
+
method?: string;
|
|
2479
|
+
url: string;
|
|
2480
|
+
body?: string;
|
|
2481
|
+
content_type?: string;
|
|
2482
|
+
}): Promise<import("./connections").ConnectionSignature>;
|
|
2483
|
+
webhooks: {
|
|
2484
|
+
verify(id: string, body: import("./connections").VerifyConnectionWebhookBody): Promise<import("./connections").ConnectionWebhookVerification>;
|
|
2485
|
+
createEndpoint(id: string, body: import("./connections").CreateConnectionWebhookEndpointBody): Promise<import("./connections").ConnectionWebhookEndpoint>;
|
|
2486
|
+
listEndpoints(id: string): Promise<import("./types").ListPage<import("./connections").ConnectionWebhookEndpoint>>;
|
|
2487
|
+
updateEndpoint(id: string, endpointId: string, body: {
|
|
2488
|
+
forward_url?: string;
|
|
2489
|
+
enabled?: boolean;
|
|
2490
|
+
signing_secret?: string;
|
|
2491
|
+
}): Promise<import("./connections").ConnectionWebhookEndpoint>;
|
|
2492
|
+
deleteEndpoint(id: string, endpointId: string): Promise<void>;
|
|
2493
|
+
};
|
|
2494
|
+
oauthClients: {
|
|
2495
|
+
set(body: import("./connections").SetConnectionOAuthClientBody): Promise<import("./connections").ConnectionOAuthClient>;
|
|
2496
|
+
list(params?: {
|
|
2497
|
+
owner_type?: import("./connections").ConnectionOwnerType;
|
|
2498
|
+
owner_id?: string;
|
|
2499
|
+
provider?: string;
|
|
2500
|
+
}): Promise<import("./types").ListPage<import("./connections").ConnectionOAuthClient>>;
|
|
2501
|
+
get(id: string): Promise<import("./connections").ConnectionOAuthClient>;
|
|
2502
|
+
delete(id: string): Promise<void>;
|
|
2503
|
+
};
|
|
2504
|
+
};
|
|
1630
2505
|
customOAuthProviders: {
|
|
1631
2506
|
list(): Promise<import("./types").ListPage<import("./custom-oauth-providers").CustomOAuthProvider>>;
|
|
1632
2507
|
get(id: string): Promise<import("./custom-oauth-providers").CustomOAuthProvider>;
|
|
@@ -1706,6 +2581,394 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
1706
2581
|
deleted: number;
|
|
1707
2582
|
}>;
|
|
1708
2583
|
};
|
|
2584
|
+
auditEventSchemas: {
|
|
2585
|
+
list(): Promise<{
|
|
2586
|
+
object: "list";
|
|
2587
|
+
data: import("./audit-events").AuditEventSchema[];
|
|
2588
|
+
has_more: false;
|
|
2589
|
+
}>;
|
|
2590
|
+
get(id: string): Promise<import("./audit-events").AuditEventSchema>;
|
|
2591
|
+
register(body: import("./audit-events").RegisterAuditEventSchemaBody): Promise<import("./audit-events").AuditEventSchema>;
|
|
2592
|
+
update(id: string, body: {
|
|
2593
|
+
description?: string | null;
|
|
2594
|
+
status?: "active" | "deprecated";
|
|
2595
|
+
}): Promise<import("./audit-events").AuditEventSchema>;
|
|
2596
|
+
delete(id: string): Promise<{
|
|
2597
|
+
object: "audit_event_schema";
|
|
2598
|
+
id: string;
|
|
2599
|
+
deleted: true;
|
|
2600
|
+
}>;
|
|
2601
|
+
redact(eventId: string, body: {
|
|
2602
|
+
fields: string[];
|
|
2603
|
+
reason: string;
|
|
2604
|
+
}): Promise<{
|
|
2605
|
+
object: "audit_event_redaction";
|
|
2606
|
+
event_id: string;
|
|
2607
|
+
redacted: string[];
|
|
2608
|
+
unchanged: string[];
|
|
2609
|
+
reason: string;
|
|
2610
|
+
}>;
|
|
2611
|
+
redactions(eventId: string): Promise<{
|
|
2612
|
+
object: "list";
|
|
2613
|
+
data: Array<{
|
|
2614
|
+
id: string;
|
|
2615
|
+
event_id: string;
|
|
2616
|
+
fields: string[];
|
|
2617
|
+
reason: string;
|
|
2618
|
+
redacted_by: string | null;
|
|
2619
|
+
created_at: number;
|
|
2620
|
+
}>;
|
|
2621
|
+
has_more: false;
|
|
2622
|
+
}>;
|
|
2623
|
+
};
|
|
2624
|
+
vault: {
|
|
2625
|
+
create(body: import("./vault").CreateVaultObjectBody, idempotencyKey?: string): Promise<import("./vault").VaultObject>;
|
|
2626
|
+
list(params?: import("./vault").ListVaultObjectsParams): Promise<import("./types").CursorPage<import("./vault").VaultObject>>;
|
|
2627
|
+
read(id: string, version?: number): Promise<import("./vault").VaultObjectWithValue>;
|
|
2628
|
+
metadata(id: string): Promise<import("./vault").VaultObject>;
|
|
2629
|
+
versions(id: string): Promise<{
|
|
2630
|
+
object: "list";
|
|
2631
|
+
data: import("./vault").VaultObjectVersion[];
|
|
2632
|
+
}>;
|
|
2633
|
+
update(id: string, body: {
|
|
2634
|
+
value: string;
|
|
2635
|
+
version_check?: number;
|
|
2636
|
+
}): Promise<import("./vault").VaultObject>;
|
|
2637
|
+
delete(id: string): Promise<{
|
|
2638
|
+
object: "vault_object.deleted";
|
|
2639
|
+
id: string;
|
|
2640
|
+
deleted: boolean;
|
|
2641
|
+
}>;
|
|
2642
|
+
keyProvider: {
|
|
2643
|
+
get(): Promise<import("./vault").VaultKeyProvider>;
|
|
2644
|
+
set(body: import("./vault").SetVaultKeyProviderBody): Promise<import("./vault").VaultKeyProvider>;
|
|
2645
|
+
remove(): Promise<{
|
|
2646
|
+
object: "vault_key_provider.deleted";
|
|
2647
|
+
deleted: boolean;
|
|
2648
|
+
}>;
|
|
2649
|
+
};
|
|
2650
|
+
};
|
|
2651
|
+
serviceConnectors: {
|
|
2652
|
+
catalog(): Promise<{
|
|
2653
|
+
object: "list";
|
|
2654
|
+
data: import("./service-connectors").ServiceConnectorKind[];
|
|
2655
|
+
has_more: boolean;
|
|
2656
|
+
}>;
|
|
2657
|
+
list(): Promise<{
|
|
2658
|
+
object: "list";
|
|
2659
|
+
data: import("./service-connectors").ServiceConnector[];
|
|
2660
|
+
has_more: boolean;
|
|
2661
|
+
}>;
|
|
2662
|
+
get(id: string): Promise<import("./service-connectors").ServiceConnector>;
|
|
2663
|
+
create(body: import("./service-connectors").CreateServiceConnectorBody, idempotencyKey?: string): Promise<import("./service-connectors").ServiceConnector>;
|
|
2664
|
+
update(id: string, body: import("./service-connectors").UpdateServiceConnectorBody): Promise<import("./service-connectors").ServiceConnector>;
|
|
2665
|
+
delete(id: string): Promise<{
|
|
2666
|
+
object: "service_connector.deleted";
|
|
2667
|
+
id: string;
|
|
2668
|
+
deleted: boolean;
|
|
2669
|
+
}>;
|
|
2670
|
+
invoke(id: string, operation: string, input?: Record<string, unknown>): Promise<{
|
|
2671
|
+
object: "service_connector_result";
|
|
2672
|
+
operation: string;
|
|
2673
|
+
result: Record<string, unknown>;
|
|
2674
|
+
}>;
|
|
2675
|
+
};
|
|
2676
|
+
desktopMfa: {
|
|
2677
|
+
getPolicy(): Promise<import("./desktop-mfa").DesktopMfaPolicy>;
|
|
2678
|
+
updatePolicy(body: import("./desktop-mfa").UpdateDesktopMfaPolicyBody): Promise<import("./desktop-mfa").DesktopMfaPolicy>;
|
|
2679
|
+
createEnrolmentCode(body: {
|
|
2680
|
+
user_id: string;
|
|
2681
|
+
expires_in_minutes?: number;
|
|
2682
|
+
}): Promise<import("./desktop-mfa").DesktopEnrolmentCode>;
|
|
2683
|
+
listDevices(query?: {
|
|
2684
|
+
user_id?: string;
|
|
2685
|
+
}): Promise<{
|
|
2686
|
+
object: "list";
|
|
2687
|
+
data: import("./desktop-mfa").DesktopDevice[];
|
|
2688
|
+
has_more: boolean;
|
|
2689
|
+
}>;
|
|
2690
|
+
getDevice(id: string): Promise<import("./desktop-mfa").DesktopDeviceDetail>;
|
|
2691
|
+
listDevicePasskeys(id: string): Promise<{
|
|
2692
|
+
object: "list";
|
|
2693
|
+
data: import("./desktop-mfa").DesktopPasskey[];
|
|
2694
|
+
has_more: boolean;
|
|
2695
|
+
}>;
|
|
2696
|
+
deleteDevicePasskey(id: string, passkeyId: string): Promise<{
|
|
2697
|
+
object: "desktop_passkey";
|
|
2698
|
+
id: string;
|
|
2699
|
+
deleted: boolean;
|
|
2700
|
+
}>;
|
|
2701
|
+
revokeDevice(id: string): Promise<import("./desktop-mfa").DesktopDevice>;
|
|
2702
|
+
revokeOfflineCache(id: string): Promise<import("./desktop-mfa").DesktopDevice>;
|
|
2703
|
+
deleteDevice(id: string): Promise<{
|
|
2704
|
+
object: "desktop_device";
|
|
2705
|
+
id: string;
|
|
2706
|
+
deleted: boolean;
|
|
2707
|
+
}>;
|
|
2708
|
+
};
|
|
2709
|
+
identityVerification: {
|
|
2710
|
+
settings(): Promise<import("./identity-verification").IdentityVerificationSettings>;
|
|
2711
|
+
updateSettings(body: {
|
|
2712
|
+
enabled: boolean;
|
|
2713
|
+
connector_id?: string | null;
|
|
2714
|
+
as_challenge?: boolean;
|
|
2715
|
+
}): Promise<import("./identity-verification").IdentityVerificationSettings>;
|
|
2716
|
+
list(params?: {
|
|
2717
|
+
status?: import("./identity-verification").IdentityVerificationOutcome;
|
|
2718
|
+
}): Promise<{
|
|
2719
|
+
object: "list";
|
|
2720
|
+
data: import("./identity-verification").IdentityVerification[];
|
|
2721
|
+
has_more: boolean;
|
|
2722
|
+
}>;
|
|
2723
|
+
get(id: string): Promise<import("./identity-verification").IdentityVerification>;
|
|
2724
|
+
decide(id: string, body: {
|
|
2725
|
+
decision: "approved" | "declined";
|
|
2726
|
+
reason?: string;
|
|
2727
|
+
}): Promise<import("./identity-verification").IdentityVerification>;
|
|
2728
|
+
forUser(userId: string): Promise<{
|
|
2729
|
+
object: "list";
|
|
2730
|
+
data: import("./identity-verification").IdentityVerification[];
|
|
2731
|
+
has_more: boolean;
|
|
2732
|
+
}>;
|
|
2733
|
+
start(userId: string, body?: {
|
|
2734
|
+
redirect_url?: string;
|
|
2735
|
+
}): Promise<import("./identity-verification").IdentityVerification>;
|
|
2736
|
+
};
|
|
2737
|
+
iga: {
|
|
2738
|
+
entitlements: {
|
|
2739
|
+
list: (params?: {
|
|
2740
|
+
kind?: import("./iga").IgaKind;
|
|
2741
|
+
}) => Promise<{
|
|
2742
|
+
object: "list";
|
|
2743
|
+
data: import("./iga").IgaEntitlement[];
|
|
2744
|
+
has_more: boolean;
|
|
2745
|
+
}>;
|
|
2746
|
+
get: (idOrKey: string) => Promise<import("./iga").IgaEntitlement>;
|
|
2747
|
+
create: (body: import("./iga").IgaEntitlementInput) => Promise<import("./iga").IgaEntitlement>;
|
|
2748
|
+
update: (idOrKey: string, body: Partial<Omit<import("./iga").IgaEntitlementInput, "key" | "kind">>) => Promise<import("./iga").IgaEntitlement>;
|
|
2749
|
+
delete: (idOrKey: string) => Promise<{
|
|
2750
|
+
object: "iga_entitlement";
|
|
2751
|
+
id: string;
|
|
2752
|
+
deleted: true;
|
|
2753
|
+
}>;
|
|
2754
|
+
};
|
|
2755
|
+
requests: {
|
|
2756
|
+
list: (params?: {
|
|
2757
|
+
status?: import("./iga").IgaRequestStatus;
|
|
2758
|
+
user_id?: string;
|
|
2759
|
+
requester_user_id?: string;
|
|
2760
|
+
entitlement?: string;
|
|
2761
|
+
limit?: number;
|
|
2762
|
+
}) => Promise<{
|
|
2763
|
+
object: "list";
|
|
2764
|
+
data: import("./iga").IgaRequest[];
|
|
2765
|
+
has_more: boolean;
|
|
2766
|
+
}>;
|
|
2767
|
+
get: (id: string) => Promise<import("./iga").IgaRequest>;
|
|
2768
|
+
create: (body: {
|
|
2769
|
+
entitlement: string;
|
|
2770
|
+
user_id: string;
|
|
2771
|
+
requester_user_id?: string;
|
|
2772
|
+
justification?: string;
|
|
2773
|
+
duration_seconds?: number;
|
|
2774
|
+
}) => Promise<import("./iga").IgaRequest>;
|
|
2775
|
+
decide: (id: string, body: {
|
|
2776
|
+
decision: "approve" | "deny";
|
|
2777
|
+
comment?: string;
|
|
2778
|
+
approver_user_id?: string;
|
|
2779
|
+
}) => Promise<import("./iga").IgaRequest>;
|
|
2780
|
+
cancel: (id: string) => Promise<import("./iga").IgaRequest>;
|
|
2781
|
+
inbox: (approverUserId: string) => Promise<{
|
|
2782
|
+
object: "list";
|
|
2783
|
+
data: import("./iga").IgaRequest[];
|
|
2784
|
+
has_more: boolean;
|
|
2785
|
+
}>;
|
|
2786
|
+
};
|
|
2787
|
+
grants: {
|
|
2788
|
+
list: (params?: {
|
|
2789
|
+
user_id?: string;
|
|
2790
|
+
entitlement?: string;
|
|
2791
|
+
status?: "active" | "revoked" | "expired";
|
|
2792
|
+
limit?: number;
|
|
2793
|
+
}) => Promise<{
|
|
2794
|
+
object: "list";
|
|
2795
|
+
data: import("./iga").IgaGrant[];
|
|
2796
|
+
has_more: boolean;
|
|
2797
|
+
}>;
|
|
2798
|
+
create: (body: {
|
|
2799
|
+
entitlement: string;
|
|
2800
|
+
user_id: string;
|
|
2801
|
+
expires_at?: number;
|
|
2802
|
+
override_reason?: string;
|
|
2803
|
+
}) => Promise<import("./iga").IgaGrant>;
|
|
2804
|
+
revoke: (id: string, body?: {
|
|
2805
|
+
reason?: string;
|
|
2806
|
+
}) => Promise<import("./iga").IgaGrant>;
|
|
2807
|
+
};
|
|
2808
|
+
delegations: {
|
|
2809
|
+
list: (params?: {
|
|
2810
|
+
delegator_user_id?: string;
|
|
2811
|
+
}) => Promise<{
|
|
2812
|
+
object: "list";
|
|
2813
|
+
data: import("./iga").IgaDelegation[];
|
|
2814
|
+
has_more: boolean;
|
|
2815
|
+
}>;
|
|
2816
|
+
create: (body: {
|
|
2817
|
+
delegator_user_id: string;
|
|
2818
|
+
delegate_user_id: string;
|
|
2819
|
+
ends_at: number;
|
|
2820
|
+
starts_at?: number;
|
|
2821
|
+
}) => Promise<import("./iga").IgaDelegation>;
|
|
2822
|
+
delete: (id: string) => Promise<{
|
|
2823
|
+
object: "iga_delegation";
|
|
2824
|
+
id: string;
|
|
2825
|
+
deleted: true;
|
|
2826
|
+
}>;
|
|
2827
|
+
};
|
|
2828
|
+
sod: {
|
|
2829
|
+
listRules: () => Promise<{
|
|
2830
|
+
object: "list";
|
|
2831
|
+
data: import("./iga").IgaSodRule[];
|
|
2832
|
+
has_more: boolean;
|
|
2833
|
+
}>;
|
|
2834
|
+
createRule: (body: {
|
|
2835
|
+
name: string;
|
|
2836
|
+
entitlement_a: string;
|
|
2837
|
+
entitlement_b: string;
|
|
2838
|
+
mode?: "block" | "require_approval";
|
|
2839
|
+
approver?: import("./iga").IgaApprovalStep;
|
|
2840
|
+
description?: string;
|
|
2841
|
+
enabled? /** The data-rights executor protocol and the instance's orchestrator. */: boolean;
|
|
2842
|
+
}) => Promise<import("./iga").IgaSodRule>;
|
|
2843
|
+
updateRule: (id: string, body: {
|
|
2844
|
+
name?: string;
|
|
2845
|
+
description?: string;
|
|
2846
|
+
mode?: "block" | "require_approval";
|
|
2847
|
+
approver?: import("./iga").IgaApprovalStep;
|
|
2848
|
+
enabled?: boolean;
|
|
2849
|
+
}) => Promise<import("./iga").IgaSodRule>;
|
|
2850
|
+
deleteRule: (id: string) => Promise<{
|
|
2851
|
+
object: "iga_sod_rule";
|
|
2852
|
+
id: string;
|
|
2853
|
+
deleted: true;
|
|
2854
|
+
}>;
|
|
2855
|
+
violations: (params?: {
|
|
2856
|
+
status?: "open" | "accepted" | "resolved";
|
|
2857
|
+
}) => Promise<{
|
|
2858
|
+
object: "list";
|
|
2859
|
+
data: import("./iga").IgaSodViolation[];
|
|
2860
|
+
has_more: boolean;
|
|
2861
|
+
}>;
|
|
2862
|
+
scan: () => Promise<{
|
|
2863
|
+
object: "iga_sod_scan";
|
|
2864
|
+
found: number;
|
|
2865
|
+
resolved: number;
|
|
2866
|
+
}>;
|
|
2867
|
+
};
|
|
2868
|
+
lifecycle: {
|
|
2869
|
+
listBirthrightRules: () => Promise<{
|
|
2870
|
+
object: "list";
|
|
2871
|
+
data: import("./iga").IgaBirthrightRule[];
|
|
2872
|
+
has_more: boolean;
|
|
2873
|
+
}>;
|
|
2874
|
+
createBirthrightRule: (body: {
|
|
2875
|
+
name: string;
|
|
2876
|
+
match: import("./iga").IgaBirthrightMatch;
|
|
2877
|
+
entitlement_ids: string[];
|
|
2878
|
+
revoke_on_unmatch?: boolean;
|
|
2879
|
+
enabled?: boolean;
|
|
2880
|
+
}) => Promise<import("./iga").IgaBirthrightRule>;
|
|
2881
|
+
updateBirthrightRule: (id: string, body: Partial<{
|
|
2882
|
+
name: string;
|
|
2883
|
+
match: import("./iga").IgaBirthrightMatch;
|
|
2884
|
+
entitlement_ids: string[];
|
|
2885
|
+
revoke_on_unmatch: boolean;
|
|
2886
|
+
enabled: boolean;
|
|
2887
|
+
}>) => Promise<import("./iga").IgaBirthrightRule>;
|
|
2888
|
+
deleteBirthrightRule: (id: string) => Promise<{
|
|
2889
|
+
object: "iga_birthright_rule";
|
|
2890
|
+
id: string;
|
|
2891
|
+
deleted: true;
|
|
2892
|
+
}>;
|
|
2893
|
+
reconcile: (userId: string) => Promise<{
|
|
2894
|
+
object: "iga_jml";
|
|
2895
|
+
user_id: string;
|
|
2896
|
+
granted: string[];
|
|
2897
|
+
revoked: string[];
|
|
2898
|
+
}>;
|
|
2899
|
+
offboard: (userId: string, body?: {
|
|
2900
|
+
close_account?: boolean;
|
|
2901
|
+
grace_seconds?: number;
|
|
2902
|
+
reason?: string;
|
|
2903
|
+
}) => Promise<import("./iga").IgaOffboarding>;
|
|
2904
|
+
settings: () => Promise<import("./iga").IgaSettings>;
|
|
2905
|
+
updateSettings: (body: Partial<Omit<import("./iga").IgaSettings, "object">>) => Promise<import("./iga").IgaSettings>;
|
|
2906
|
+
};
|
|
2907
|
+
campaigns: {
|
|
2908
|
+
list: (params?: {
|
|
2909
|
+
status?: import("./iga").IgaCampaign["status"];
|
|
2910
|
+
}) => Promise<{
|
|
2911
|
+
object: "list";
|
|
2912
|
+
data: import("./iga").IgaCampaign[];
|
|
2913
|
+
has_more: boolean;
|
|
2914
|
+
}>;
|
|
2915
|
+
get: (id: string) => Promise<import("./iga").IgaCampaign & {
|
|
2916
|
+
progress: import("./iga").IgaCampaignProgress;
|
|
2917
|
+
}>;
|
|
2918
|
+
create: (body: import("./iga").IgaCampaignInput) => Promise<import("./iga").IgaCampaign>;
|
|
2919
|
+
delete: (id: string) => Promise<{
|
|
2920
|
+
object: "iga_campaign";
|
|
2921
|
+
id: string;
|
|
2922
|
+
deleted: true;
|
|
2923
|
+
}>;
|
|
2924
|
+
launch: (id: string) => Promise<import("./iga").IgaCampaign>;
|
|
2925
|
+
close: (id: string) => Promise<import("./iga").IgaCampaign>;
|
|
2926
|
+
items: (id: string, params?: {
|
|
2927
|
+
decision?: import("./iga").IgaCampaignItem["decision"];
|
|
2928
|
+
reviewer_user_id?: string;
|
|
2929
|
+
}) => Promise<{
|
|
2930
|
+
object: "list";
|
|
2931
|
+
data: import("./iga").IgaCampaignItem[];
|
|
2932
|
+
has_more: boolean;
|
|
2933
|
+
}>;
|
|
2934
|
+
progress: (id: string) => Promise<import("./iga").IgaCampaignProgress>;
|
|
2935
|
+
evidence: (id: string, params?: {
|
|
2936
|
+
masked_emails?: boolean;
|
|
2937
|
+
}) => Promise<import("./iga").IgaEvidence>;
|
|
2938
|
+
evidenceCsv: (id: string, params?: {
|
|
2939
|
+
masked_emails?: boolean;
|
|
2940
|
+
}) => Promise<string>;
|
|
2941
|
+
decide: (itemId: string, body: {
|
|
2942
|
+
decision: "certify" | "revoke";
|
|
2943
|
+
comment?: string;
|
|
2944
|
+
reviewer_user_id?: string;
|
|
2945
|
+
}) => Promise<import("./iga").IgaCampaignItem>;
|
|
2946
|
+
};
|
|
2947
|
+
};
|
|
2948
|
+
flags: {
|
|
2949
|
+
create(body: import("./flags").CreateFeatureFlagBody, idempotencyKey?: string): Promise<import("./flags").FeatureFlag>;
|
|
2950
|
+
list(params?: import("./types").CursorParams): Promise<{
|
|
2951
|
+
object: "list";
|
|
2952
|
+
data: import("./flags").FeatureFlag[];
|
|
2953
|
+
has_more: boolean;
|
|
2954
|
+
}>;
|
|
2955
|
+
retrieve(key: string): Promise<import("./flags").FeatureFlag>;
|
|
2956
|
+
update(key: string, body: import("./flags").UpdateFeatureFlagBody): Promise<import("./flags").FeatureFlag>;
|
|
2957
|
+
delete(key: string): Promise<{
|
|
2958
|
+
object: "feature_flag";
|
|
2959
|
+
id: string;
|
|
2960
|
+
key: string;
|
|
2961
|
+
deleted: boolean;
|
|
2962
|
+
}>;
|
|
2963
|
+
evaluate(body: import("./flags").FeatureFlagSubject & {
|
|
2964
|
+
keys?: string[];
|
|
2965
|
+
}): Promise<import("./flags").FeatureFlagEvaluation>;
|
|
2966
|
+
get<T extends import("./flags").FeatureFlagValue>(key: string, subject: import("./flags").FeatureFlagSubject, fallback: T): Promise<T>;
|
|
2967
|
+
isEnabled(key: string, subject?: import("./flags").FeatureFlagSubject): Promise<boolean>;
|
|
2968
|
+
invalidate(): void;
|
|
2969
|
+
assignOrganizationEntitlements(orgId: string, body: import("./flags").AssignEntitlementsBody): Promise<import("./flags").AssignedEntitlements>;
|
|
2970
|
+
assignUserEntitlements(userId: string, body: import("./flags").AssignEntitlementsBody): Promise<import("./flags").AssignedEntitlements>;
|
|
2971
|
+
};
|
|
1709
2972
|
whoami: () => Promise<import("./credentials").Whoami>;
|
|
1710
2973
|
secretKeys: {
|
|
1711
2974
|
create(body: import("./credentials").CreateSecretKeyBody): Promise<import("./credentials").SecretKeyWithSecret>;
|
|
@@ -1719,6 +2982,7 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
1719
2982
|
expires_at?: number | string | null;
|
|
1720
2983
|
allowed_ips?: string[];
|
|
1721
2984
|
allowed_origins?: string[];
|
|
2985
|
+
organization_ids?: string[];
|
|
1722
2986
|
metadata?: Record<string, string | number | boolean> | null;
|
|
1723
2987
|
}): Promise<import("./credentials").SecretKey>;
|
|
1724
2988
|
rotate(id: string, body?: {
|
|
@@ -1836,6 +3100,141 @@ declare function buildNamespaces(request: RequestFn): {
|
|
|
1836
3100
|
days?: number;
|
|
1837
3101
|
}): Promise<import("./activity").UsageReport>;
|
|
1838
3102
|
};
|
|
3103
|
+
analytics: {
|
|
3104
|
+
funnel: (params?: import("./analytics-reports").AnalyticsParams & {
|
|
3105
|
+
kind?: "sign_in" | "sign_up";
|
|
3106
|
+
}) => Promise<import("./analytics-reports").AnalyticsReport<import("./analytics-reports").FunnelRow>>;
|
|
3107
|
+
journeyFunnel: (params: Omit<import("./analytics-reports").AnalyticsParams, "organization_id"> & {
|
|
3108
|
+
journey_id: string;
|
|
3109
|
+
}) => Promise<import("./analytics-reports").AnalyticsReport<import("./analytics-reports").JourneyFunnelRow>>;
|
|
3110
|
+
failures: (params?: Omit<import("./analytics-reports").AnalyticsParams, "organization_id">) => Promise<import("./analytics-reports").AnalyticsReport<import("./analytics-reports").FailureRow>>;
|
|
3111
|
+
breakdown: (params?: import("./analytics-reports").AnalyticsParams & {
|
|
3112
|
+
dimension?: "method" | "device" | "browser" | "os" | "country";
|
|
3113
|
+
}) => Promise<import("./analytics-reports").AnalyticsReport<import("./analytics-reports").BreakdownRow>>;
|
|
3114
|
+
activeUsers: (params?: import("./analytics-reports").AnalyticsParams) => Promise<import("./analytics-reports").AnalyticsReport<import("./analytics-reports").ActiveUsersRow>>;
|
|
3115
|
+
passkeyAdoption: (params?: import("./analytics-reports").AnalyticsParams) => Promise<import("./analytics-reports").AnalyticsReport<import("./analytics-reports").PasskeyAdoptionRow>>;
|
|
3116
|
+
apiUsage: (params?: {
|
|
3117
|
+
subject_type?: import("./analytics-reports").UsageSubjectType;
|
|
3118
|
+
subject_id?: string;
|
|
3119
|
+
window_minutes?: number;
|
|
3120
|
+
}) => Promise<{
|
|
3121
|
+
object: "api_usage";
|
|
3122
|
+
window_minutes: number;
|
|
3123
|
+
baseline_hours: number;
|
|
3124
|
+
generated_at: number;
|
|
3125
|
+
data: import("./analytics-reports").ApiUsageSubject[];
|
|
3126
|
+
}>;
|
|
3127
|
+
reports: {
|
|
3128
|
+
inactiveUsers: (params?: import("./analytics-reports").AnalyticsParams & {
|
|
3129
|
+
inactive_days?: number;
|
|
3130
|
+
limit?: number;
|
|
3131
|
+
starting_after?: string;
|
|
3132
|
+
}) => Promise<import("./analytics-reports").AnalyticsReport<import("./analytics-reports").InactiveUserRow>>;
|
|
3133
|
+
mfaCoverage: (params?: import("./analytics-reports").AnalyticsParams) => Promise<import("./analytics-reports").AnalyticsReport<import("./analytics-reports").MfaCoverageRow>>;
|
|
3134
|
+
accessByApp: (params?: import("./analytics-reports").AnalyticsParams) => Promise<import("./analytics-reports").AnalyticsReport<import("./analytics-reports").AccessByAppRow>>;
|
|
3135
|
+
};
|
|
3136
|
+
exportCsv: (report: "funnel" | "failures" | "breakdown" | "active_users" | "passkey_adoption" | "reports/inactive_users" | "reports/mfa_coverage" | "reports/access_by_app", params?: object) => Promise<string>;
|
|
3137
|
+
alertRules: {
|
|
3138
|
+
list(): Promise<{
|
|
3139
|
+
object: "list";
|
|
3140
|
+
data: import("./analytics-reports").AnalyticsAlertRule[];
|
|
3141
|
+
has_more: boolean;
|
|
3142
|
+
}>;
|
|
3143
|
+
get(id: string): Promise<import("./analytics-reports").AnalyticsAlertRule>;
|
|
3144
|
+
create(body: import("./analytics-reports").AnalyticsAlertRuleInput, idempotencyKey?: string): Promise<import("./analytics-reports").AnalyticsAlertRule & {
|
|
3145
|
+
webhook_secret?: string;
|
|
3146
|
+
}>;
|
|
3147
|
+
update(id: string, body: Partial<import("./analytics-reports").AnalyticsAlertRuleInput>): Promise<import("./analytics-reports").AnalyticsAlertRule & {
|
|
3148
|
+
webhook_secret?: string;
|
|
3149
|
+
}>;
|
|
3150
|
+
delete(id: string): Promise<import("./types").DeletedObject>;
|
|
3151
|
+
test(id: string, body?: {
|
|
3152
|
+
notify?: boolean;
|
|
3153
|
+
}): Promise<{
|
|
3154
|
+
object: "analytics_alert_test";
|
|
3155
|
+
value: number | null;
|
|
3156
|
+
sample: number;
|
|
3157
|
+
subject: import("./analytics-reports").ApiUsageSubject | null;
|
|
3158
|
+
notified: boolean;
|
|
3159
|
+
error: string | null;
|
|
3160
|
+
}>;
|
|
3161
|
+
};
|
|
3162
|
+
};
|
|
3163
|
+
appCatalog: {
|
|
3164
|
+
presets(): Promise<{
|
|
3165
|
+
object: "list";
|
|
3166
|
+
data: import("./app-catalog").AppPreset[];
|
|
3167
|
+
}>;
|
|
3168
|
+
installed(): Promise<{
|
|
3169
|
+
object: "list";
|
|
3170
|
+
data: import("./app-catalog").InstalledApp[];
|
|
3171
|
+
}>;
|
|
3172
|
+
install(presetId: string, body?: import("./app-catalog").InstallAppBody, idempotencyKey?: string): Promise<import("./app-catalog").InstalledApp & {
|
|
3173
|
+
client_secret?: string;
|
|
3174
|
+
redirect_uri?: string;
|
|
3175
|
+
issuer?: string;
|
|
3176
|
+
}>;
|
|
3177
|
+
update(id: string, body: Pick<import("./app-catalog").InstallAppBody, "name" | "allowed_email_domains" | "assignment">): Promise<import("./app-catalog").InstalledApp>;
|
|
3178
|
+
uninstall(id: string): Promise<{
|
|
3179
|
+
object: "installed_app";
|
|
3180
|
+
id: string;
|
|
3181
|
+
deleted: true;
|
|
3182
|
+
}>;
|
|
3183
|
+
};
|
|
3184
|
+
journeys: {
|
|
3185
|
+
list(): Promise<{
|
|
3186
|
+
object: "list";
|
|
3187
|
+
data: import("./journeys").SignInJourney[];
|
|
3188
|
+
has_more: boolean;
|
|
3189
|
+
}>;
|
|
3190
|
+
get(id: string): Promise<import("./journeys").SignInJourney>;
|
|
3191
|
+
create(body: import("./journeys").JourneyBody & {
|
|
3192
|
+
name: string;
|
|
3193
|
+
definition: import("./journeys").JourneyDefinition;
|
|
3194
|
+
}, idempotencyKey?: string): Promise<import("./journeys").SignInJourney>;
|
|
3195
|
+
update(id: string, body: import("./journeys").JourneyBody, idempotencyKey?: string): Promise<import("./journeys").SignInJourney>;
|
|
3196
|
+
delete(id: string): Promise<{
|
|
3197
|
+
object: "sign_in_journey";
|
|
3198
|
+
id: string;
|
|
3199
|
+
deleted: true;
|
|
3200
|
+
}>;
|
|
3201
|
+
versions(id: string): Promise<{
|
|
3202
|
+
object: "list";
|
|
3203
|
+
data: Array<{
|
|
3204
|
+
version: number;
|
|
3205
|
+
definition: import("./journeys").JourneyDefinition;
|
|
3206
|
+
created_by: string | null;
|
|
3207
|
+
created_at: number;
|
|
3208
|
+
}>;
|
|
3209
|
+
}>;
|
|
3210
|
+
activate(id: string, version: number): Promise<import("./journeys").SignInJourney>;
|
|
3211
|
+
simulate(id: string, body: {
|
|
3212
|
+
user_id: string;
|
|
3213
|
+
method?: string;
|
|
3214
|
+
mfa_verified?: boolean;
|
|
3215
|
+
ip?: string;
|
|
3216
|
+
application_id?: string;
|
|
3217
|
+
version?: number;
|
|
3218
|
+
}): Promise<import("./journeys").JourneySimulation>;
|
|
3219
|
+
};
|
|
3220
|
+
marketing: {
|
|
3221
|
+
getSettings(): Promise<import("./marketing").MarketingSettings>;
|
|
3222
|
+
updateSettings(body: import("./marketing").MarketingSettingsInput): Promise<import("./marketing").MarketingSettings>;
|
|
3223
|
+
listLeads(params?: {
|
|
3224
|
+
limit?: number;
|
|
3225
|
+
starting_after?: string;
|
|
3226
|
+
form?: string;
|
|
3227
|
+
}): Promise<{
|
|
3228
|
+
object: "list";
|
|
3229
|
+
data: import("./marketing").MarketingLead[];
|
|
3230
|
+
has_more: boolean;
|
|
3231
|
+
next_cursor: string | null;
|
|
3232
|
+
}>;
|
|
3233
|
+
exportLeadsCsv(params?: {
|
|
3234
|
+
form?: string;
|
|
3235
|
+
}): Promise<string>;
|
|
3236
|
+
deleteLead(id: string): Promise<import("./types").DeletedObject>;
|
|
3237
|
+
};
|
|
1839
3238
|
configChangelog: {
|
|
1840
3239
|
list(params?: import("./activity").ListConfigChangelogParams): Promise<{
|
|
1841
3240
|
object: "config_changelog";
|
|
@@ -1959,11 +3358,18 @@ export { AtlasApiError, type AtlasErrorItem } from './error';
|
|
|
1959
3358
|
export { paginate, collect } from './paginate';
|
|
1960
3359
|
export * from './types';
|
|
1961
3360
|
export * from './compliance';
|
|
3361
|
+
export * from './vault';
|
|
3362
|
+
export * from './service-connectors';
|
|
3363
|
+
export * from './desktop-mfa';
|
|
3364
|
+
export * from './identity-verification';
|
|
3365
|
+
export * from './iga';
|
|
3366
|
+
export * from './flags';
|
|
1962
3367
|
export * from './users';
|
|
1963
3368
|
export * from './sessions';
|
|
1964
3369
|
export * from './organizations';
|
|
1965
3370
|
export * from './roles';
|
|
1966
3371
|
export * from './app-roles';
|
|
3372
|
+
export * from './groups';
|
|
1967
3373
|
export * from './oauth-clients';
|
|
1968
3374
|
export * from './resource-servers';
|
|
1969
3375
|
export * from './sso-connections';
|
|
@@ -1972,6 +3378,7 @@ export * from './domains';
|
|
|
1972
3378
|
export * from './waitlist';
|
|
1973
3379
|
export * from './restrictions';
|
|
1974
3380
|
export * from './attack-protection';
|
|
3381
|
+
export * from './mfa-factors';
|
|
1975
3382
|
export * from './actor-tokens';
|
|
1976
3383
|
export * from './invitations';
|
|
1977
3384
|
export * from './webhooks';
|
|
@@ -1986,8 +3393,19 @@ export * from './scim-provisioning';
|
|
|
1986
3393
|
export * from './fga';
|
|
1987
3394
|
export * from './rate-limit';
|
|
1988
3395
|
export * from './risk-based-mfa';
|
|
3396
|
+
export * from './ssf';
|
|
3397
|
+
export * from './managed-grants';
|
|
3398
|
+
export * from './least-privilege';
|
|
1989
3399
|
export * from './bot-signals';
|
|
1990
3400
|
export * from './network-acls';
|
|
3401
|
+
export * from './network-zones';
|
|
3402
|
+
export * from './access-policies';
|
|
3403
|
+
export * from './abac';
|
|
3404
|
+
export * from './authz-decisions';
|
|
3405
|
+
export * from './policy-bundles';
|
|
3406
|
+
export * from './resources';
|
|
3407
|
+
export * from './org-role-grants';
|
|
3408
|
+
export * from './devices';
|
|
1991
3409
|
export * from './managed-waf';
|
|
1992
3410
|
export * from './log-streams';
|
|
1993
3411
|
export * from './branding';
|
|
@@ -1995,6 +3413,8 @@ export * from './email-templates';
|
|
|
1995
3413
|
export * from './sms-templates';
|
|
1996
3414
|
export * from './localizations';
|
|
1997
3415
|
export * from './actions';
|
|
3416
|
+
export * from './page-templates';
|
|
3417
|
+
export * from './workflows';
|
|
1998
3418
|
export * from './action-gallery';
|
|
1999
3419
|
export * from './billing-plans';
|
|
2000
3420
|
export * from './messaging';
|
|
@@ -2004,6 +3424,7 @@ export * from './migrations';
|
|
|
2004
3424
|
export * from './data-subject-requests';
|
|
2005
3425
|
export * from './privacy';
|
|
2006
3426
|
export * from './radius-clients';
|
|
3427
|
+
export * from './mcp-gateways';
|
|
2007
3428
|
export * from './lti-platforms';
|
|
2008
3429
|
export * from './instance';
|
|
2009
3430
|
export * from './integrations';
|
|
@@ -2021,10 +3442,18 @@ export * from './organization-settings-schema';
|
|
|
2021
3442
|
export * from './email-addresses';
|
|
2022
3443
|
export * from './openfga';
|
|
2023
3444
|
export * from './connectors';
|
|
3445
|
+
export * from './connections';
|
|
3446
|
+
export * from './passkey-api';
|
|
3447
|
+
export * from './delegated-ui-proxy';
|
|
3448
|
+
export * from './vc';
|
|
2024
3449
|
export * from './custom-oauth-providers';
|
|
2025
3450
|
export * from './notifications';
|
|
2026
3451
|
export * from './audit-events';
|
|
2027
3452
|
export * from './activity';
|
|
3453
|
+
export * from './analytics-reports';
|
|
3454
|
+
export * from './app-catalog';
|
|
3455
|
+
export * from './journeys';
|
|
3456
|
+
export * from './marketing';
|
|
2028
3457
|
export * from './pca';
|
|
2029
3458
|
export * from './mcp';
|
|
2030
3459
|
export * from './legacy-auth';
|