@atlasauth/backend 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/actions.d.ts +86 -0
- package/dist/client/actions.js +40 -0
- package/dist/client/actions.js.map +1 -0
- package/dist/client/actor-tokens.d.ts +28 -0
- package/dist/client/actor-tokens.js +15 -0
- package/dist/client/actor-tokens.js.map +1 -0
- package/dist/client/api-keys.d.ts +77 -0
- package/dist/client/api-keys.js +31 -0
- package/dist/client/api-keys.js.map +1 -0
- package/dist/client/attack-protection.d.ts +41 -0
- package/dist/client/attack-protection.js +14 -0
- package/dist/client/attack-protection.js.map +1 -0
- package/dist/client/audit-logs.d.ts +20 -0
- package/dist/client/audit-logs.js +11 -0
- package/dist/client/audit-logs.js.map +1 -0
- package/dist/client/billing-plans.d.ts +81 -0
- package/dist/client/billing-plans.js +27 -0
- package/dist/client/billing-plans.js.map +1 -0
- package/dist/client/bot-signals.d.ts +88 -0
- package/dist/client/bot-signals.js +24 -0
- package/dist/client/bot-signals.js.map +1 -0
- package/dist/client/branding.d.ts +140 -0
- package/dist/client/branding.js +19 -0
- package/dist/client/branding.js.map +1 -0
- package/dist/client/data-subject-requests.d.ts +40 -0
- package/dist/client/data-subject-requests.js +32 -0
- package/dist/client/data-subject-requests.js.map +1 -0
- package/dist/client/domains.d.ts +45 -0
- package/dist/client/domains.js +21 -0
- package/dist/client/domains.js.map +1 -0
- package/dist/client/email-templates.d.ts +51 -0
- package/dist/client/email-templates.js +24 -0
- package/dist/client/email-templates.js.map +1 -0
- package/dist/client/error.d.ts +31 -0
- package/dist/client/error.js +28 -0
- package/dist/client/error.js.map +1 -0
- package/dist/client/fga.d.ts +191 -0
- package/dist/client/fga.js +91 -0
- package/dist/client/fga.js.map +1 -0
- package/dist/client/import-export.d.ts +88 -0
- package/dist/client/import-export.js +28 -0
- package/dist/client/import-export.js.map +1 -0
- package/dist/client/index.d.ts +796 -0
- package/dist/client/index.js +174 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/instance-security.d.ts +79 -0
- package/dist/client/instance-security.js +44 -0
- package/dist/client/instance-security.js.map +1 -0
- package/dist/client/instance.d.ts +34 -0
- package/dist/client/instance.js +14 -0
- package/dist/client/instance.js.map +1 -0
- package/dist/client/invitations.d.ts +21 -0
- package/dist/client/invitations.js +18 -0
- package/dist/client/invitations.js.map +1 -0
- package/dist/client/jwt-templates.d.ts +26 -0
- package/dist/client/jwt-templates.js +26 -0
- package/dist/client/jwt-templates.js.map +1 -0
- package/dist/client/localizations.d.ts +43 -0
- package/dist/client/localizations.js +24 -0
- package/dist/client/localizations.js.map +1 -0
- package/dist/client/log-streams.d.ts +66 -0
- package/dist/client/log-streams.js +28 -0
- package/dist/client/log-streams.js.map +1 -0
- package/dist/client/lti-platforms.d.ts +49 -0
- package/dist/client/lti-platforms.js +24 -0
- package/dist/client/lti-platforms.js.map +1 -0
- package/dist/client/managed-waf.d.ts +100 -0
- package/dist/client/managed-waf.js +33 -0
- package/dist/client/managed-waf.js.map +1 -0
- package/dist/client/messaging.d.ts +56 -0
- package/dist/client/messaging.js +30 -0
- package/dist/client/messaging.js.map +1 -0
- package/dist/client/network-acls.d.ts +50 -0
- package/dist/client/network-acls.js +29 -0
- package/dist/client/network-acls.js.map +1 -0
- package/dist/client/oauth-clients.d.ts +75 -0
- package/dist/client/oauth-clients.js +45 -0
- package/dist/client/oauth-clients.js.map +1 -0
- package/dist/client/oauth-providers.d.ts +109 -0
- package/dist/client/oauth-providers.js +48 -0
- package/dist/client/oauth-providers.js.map +1 -0
- package/dist/client/organizations.d.ts +211 -0
- package/dist/client/organizations.js +136 -0
- package/dist/client/organizations.js.map +1 -0
- package/dist/client/paginate.d.ts +16 -0
- package/dist/client/paginate.js +35 -0
- package/dist/client/paginate.js.map +1 -0
- package/dist/client/radius-clients.d.ts +52 -0
- package/dist/client/radius-clients.js +24 -0
- package/dist/client/radius-clients.js.map +1 -0
- package/dist/client/rate-limit.d.ts +37 -0
- package/dist/client/rate-limit.js +20 -0
- package/dist/client/rate-limit.js.map +1 -0
- package/dist/client/request.d.ts +52 -0
- package/dist/client/request.js +102 -0
- package/dist/client/request.js.map +1 -0
- package/dist/client/resource-servers.d.ts +44 -0
- package/dist/client/resource-servers.js +24 -0
- package/dist/client/resource-servers.js.map +1 -0
- package/dist/client/restrictions.d.ts +39 -0
- package/dist/client/restrictions.js +29 -0
- package/dist/client/restrictions.js.map +1 -0
- package/dist/client/risk-based-mfa.d.ts +51 -0
- package/dist/client/risk-based-mfa.js +20 -0
- package/dist/client/risk-based-mfa.js.map +1 -0
- package/dist/client/roles.d.ts +84 -0
- package/dist/client/roles.js +57 -0
- package/dist/client/roles.js.map +1 -0
- package/dist/client/scim-provisioning.d.ts +94 -0
- package/dist/client/scim-provisioning.js +49 -0
- package/dist/client/scim-provisioning.js.map +1 -0
- package/dist/client/scim-tokens.d.ts +34 -0
- package/dist/client/scim-tokens.js +18 -0
- package/dist/client/scim-tokens.js.map +1 -0
- package/dist/client/sessions.d.ts +58 -0
- package/dist/client/sessions.js +26 -0
- package/dist/client/sessions.js.map +1 -0
- package/dist/client/sign-in-tokens.d.ts +18 -0
- package/dist/client/sign-in-tokens.js +11 -0
- package/dist/client/sign-in-tokens.js.map +1 -0
- package/dist/client/sms-templates.d.ts +46 -0
- package/dist/client/sms-templates.js +30 -0
- package/dist/client/sms-templates.js.map +1 -0
- package/dist/client/sso-connections.d.ts +76 -0
- package/dist/client/sso-connections.js +28 -0
- package/dist/client/sso-connections.js.map +1 -0
- package/dist/client/sso-onboarding.d.ts +76 -0
- package/dist/client/sso-onboarding.js +42 -0
- package/dist/client/sso-onboarding.js.map +1 -0
- package/dist/client/tokens.d.ts +37 -0
- package/dist/client/tokens.js +11 -0
- package/dist/client/tokens.js.map +1 -0
- package/dist/client/types.d.ts +41 -0
- package/dist/client/types.js +10 -0
- package/dist/client/types.js.map +1 -0
- package/dist/client/users.d.ts +204 -0
- package/dist/client/users.js +135 -0
- package/dist/client/users.js.map +1 -0
- package/dist/client/waitlist.d.ts +31 -0
- package/dist/client/waitlist.js +16 -0
- package/dist/client/waitlist.js.map +1 -0
- package/dist/client/webhooks.d.ts +50 -0
- package/dist/client/webhooks.js +24 -0
- package/dist/client/webhooks.js.map +1 -0
- package/dist/handshake.d.ts +76 -0
- package/dist/handshake.js +96 -0
- package/dist/handshake.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +26 -0
- package/dist/index.js.map +1 -0
- package/dist/jwks-cache.d.ts +62 -0
- package/dist/jwks-cache.js +114 -0
- package/dist/jwks-cache.js.map +1 -0
- package/dist/verify.d.ts +162 -0
- package/dist/verify.js +226 -0
- package/dist/verify.js.map +1 -0
- package/package.json +26 -0
|
@@ -0,0 +1,796 @@
|
|
|
1
|
+
import { type AtlasClientConfig } from './request';
|
|
2
|
+
/**
|
|
3
|
+
* The typed management client for the Atlas Backend API — the secret-key
|
|
4
|
+
* surface, the peer of `@clerk/backend`'s `createClerkClient`.
|
|
5
|
+
*
|
|
6
|
+
* Each namespace is one line: it hands the shared, config-bound `request`
|
|
7
|
+
* function to a resource factory. That factory is where the method↔endpoint
|
|
8
|
+
* mapping and the wire types live, so this file stays a table of contents you
|
|
9
|
+
* can read top to bottom to see the whole surface.
|
|
10
|
+
*/
|
|
11
|
+
export declare function createAtlasClient(config: AtlasClientConfig): {
|
|
12
|
+
users: {
|
|
13
|
+
list(params?: import("./users").ListUsersParams): Promise<import("./types").CursorPage<import("./users").User>>;
|
|
14
|
+
get(id: string): Promise<import("./users").User>;
|
|
15
|
+
create(body: import("./users").CreateUserBody, idempotencyKey?: string): Promise<import("./users").User>;
|
|
16
|
+
update(id: string, body: import("./users").UpdateUserBody): Promise<import("./users").User>;
|
|
17
|
+
replaceMetadata(id: string, body: import("./users").ReplaceUserMetadataBody): Promise<import("./users").User>;
|
|
18
|
+
ban(id: string): Promise<import("./users").User>;
|
|
19
|
+
unban(id: string): Promise<import("./users").User>;
|
|
20
|
+
lock(id: string, body?: {
|
|
21
|
+
duration_in_seconds?: number;
|
|
22
|
+
}): Promise<import("./users").User>;
|
|
23
|
+
unlock(id: string): Promise<import("./users").User>;
|
|
24
|
+
delete(id: string): Promise<import("./types").DeletedObject>;
|
|
25
|
+
resetMfa(id: string): Promise<{
|
|
26
|
+
object: "user";
|
|
27
|
+
id: string;
|
|
28
|
+
mfa_enabled: false;
|
|
29
|
+
}>;
|
|
30
|
+
deleteMfaFactor(id: string, factorId: string): Promise<{
|
|
31
|
+
object: "mfa_factor";
|
|
32
|
+
id: string;
|
|
33
|
+
deleted: true;
|
|
34
|
+
}>;
|
|
35
|
+
listSessions(id: string): Promise<import("./types").ListPage<import("./users").UserSession>>;
|
|
36
|
+
revokeSessions(id: string): Promise<{
|
|
37
|
+
object: "user";
|
|
38
|
+
id: string;
|
|
39
|
+
sessions_revoked: number;
|
|
40
|
+
}>;
|
|
41
|
+
addEmail(id: string, body: {
|
|
42
|
+
email_address: string;
|
|
43
|
+
}): Promise<import("./users").EmailAddress>;
|
|
44
|
+
verifyEmail(id: string, emailId: string): Promise<import("./users").EmailAddress>;
|
|
45
|
+
setPrimaryEmail(id: string, emailId: string): Promise<import("./users").EmailAddress>;
|
|
46
|
+
getOAuthAccessToken(id: string, provider: string): Promise<import("./users").OAuthAccessToken>;
|
|
47
|
+
listIdentities(id: string): Promise<import("./types").ListPage<import("./users").Identity>>;
|
|
48
|
+
linkIdentity(id: string, body: {
|
|
49
|
+
secondary_user_id: string;
|
|
50
|
+
}, idempotencyKey?: string): Promise<import("./types").ListPage<import("./users").Identity> & {
|
|
51
|
+
collisions: Array<{
|
|
52
|
+
type: string;
|
|
53
|
+
detail: string;
|
|
54
|
+
}>;
|
|
55
|
+
}>;
|
|
56
|
+
connectExternalAccount(id: string, body: {
|
|
57
|
+
provider: string;
|
|
58
|
+
redirect_url: string;
|
|
59
|
+
additional_scopes?: string[];
|
|
60
|
+
}, idempotencyKey?: string): Promise<{
|
|
61
|
+
object: "external_account_connection";
|
|
62
|
+
provider: string;
|
|
63
|
+
user_id: string;
|
|
64
|
+
attempt_id: string;
|
|
65
|
+
authorization_url: string;
|
|
66
|
+
scopes: string[];
|
|
67
|
+
}>;
|
|
68
|
+
unlinkIdentity(id: string, identityId: string): Promise<{
|
|
69
|
+
object: "identity";
|
|
70
|
+
id: string;
|
|
71
|
+
provider: string;
|
|
72
|
+
unlinked: true;
|
|
73
|
+
new_user_id: string;
|
|
74
|
+
}>;
|
|
75
|
+
listGrants(id: string): Promise<import("./types").ListPage<import("./users").Grant>>;
|
|
76
|
+
revokeAllGrants(id: string): Promise<{
|
|
77
|
+
object: "user";
|
|
78
|
+
id: string;
|
|
79
|
+
grants_revoked: number;
|
|
80
|
+
tokens_revoked: number;
|
|
81
|
+
}>;
|
|
82
|
+
revokeGrant(grantId: string): Promise<{
|
|
83
|
+
object: "grant";
|
|
84
|
+
id: string;
|
|
85
|
+
deleted: true;
|
|
86
|
+
tokens_revoked: number;
|
|
87
|
+
}>;
|
|
88
|
+
};
|
|
89
|
+
sessions: {
|
|
90
|
+
create(params: import("./sessions").CreateSessionParams): Promise<import("./sessions").MintedSession>;
|
|
91
|
+
list(params: import("./sessions").ListSessionsParams): Promise<import("./types").ListPage<import("./sessions").Session>>;
|
|
92
|
+
get(id: string): Promise<import("./sessions").Session>;
|
|
93
|
+
revoke(id: string): Promise<{
|
|
94
|
+
object: "session";
|
|
95
|
+
id: string;
|
|
96
|
+
status: "revoked";
|
|
97
|
+
}>;
|
|
98
|
+
};
|
|
99
|
+
organizations: {
|
|
100
|
+
list(params?: import("./types").CursorParams): Promise<import("./types").CursorPage<import("./organizations").Organization>>;
|
|
101
|
+
get(id: string): Promise<import("./organizations").Organization>;
|
|
102
|
+
create(body: import("./organizations").CreateOrganizationBody, idempotencyKey?: string): Promise<import("./organizations").Organization>;
|
|
103
|
+
update(id: string, body: import("./organizations").UpdateOrganizationBody): Promise<import("./organizations").Organization>;
|
|
104
|
+
delete(id: string): Promise<import("./types").DeletedObject>;
|
|
105
|
+
updateMetadata(id: string, body: import("./organizations").ReplaceOrganizationMetadataBody): Promise<import("./organizations").Organization>;
|
|
106
|
+
updatePolicy(id: string, body: import("./organizations").OrganizationPolicyPatch): Promise<import("./organizations").OrganizationPolicy>;
|
|
107
|
+
setParent(id: string, body: {
|
|
108
|
+
parent_organization_id: string | null;
|
|
109
|
+
}): Promise<import("./organizations").Organization>;
|
|
110
|
+
hierarchy(id: string): Promise<import("./organizations").OrganizationHierarchy>;
|
|
111
|
+
entitlements(id: string): Promise<import("./organizations").OrganizationEntitlements>;
|
|
112
|
+
memberships: {
|
|
113
|
+
list(orgId: string): Promise<{
|
|
114
|
+
data: import("./organizations").OrganizationMembership[];
|
|
115
|
+
has_more: boolean;
|
|
116
|
+
}>;
|
|
117
|
+
add(orgId: string, body: {
|
|
118
|
+
user_id: string;
|
|
119
|
+
role?: string;
|
|
120
|
+
}, idempotencyKey?: string): Promise<{
|
|
121
|
+
object: "organization_membership";
|
|
122
|
+
organization_id: string;
|
|
123
|
+
user_id: string;
|
|
124
|
+
role: string;
|
|
125
|
+
}>;
|
|
126
|
+
update(orgId: string, userId: string, body: {
|
|
127
|
+
role: string;
|
|
128
|
+
}): Promise<{
|
|
129
|
+
object: "organization_membership";
|
|
130
|
+
role: string;
|
|
131
|
+
updated: true;
|
|
132
|
+
}>;
|
|
133
|
+
remove(orgId: string, userId: string): Promise<{
|
|
134
|
+
object: "organization_membership";
|
|
135
|
+
deleted: true;
|
|
136
|
+
}>;
|
|
137
|
+
};
|
|
138
|
+
invitations: {
|
|
139
|
+
list(orgId: string): Promise<import("./types").ListPage<import("./organizations").OrganizationInvitation>>;
|
|
140
|
+
create(orgId: string, body: {
|
|
141
|
+
email: string;
|
|
142
|
+
role: string;
|
|
143
|
+
inviter_user_id: string;
|
|
144
|
+
}, idempotencyKey?: string): Promise<{
|
|
145
|
+
object: "organization_invitation";
|
|
146
|
+
id: string;
|
|
147
|
+
organization_id: string;
|
|
148
|
+
email: string;
|
|
149
|
+
status: string;
|
|
150
|
+
expires_at: number;
|
|
151
|
+
}>;
|
|
152
|
+
revoke(orgId: string, invitationId: string): Promise<{
|
|
153
|
+
object: "organization_invitation";
|
|
154
|
+
id: string;
|
|
155
|
+
status: "revoked";
|
|
156
|
+
}>;
|
|
157
|
+
};
|
|
158
|
+
domains: {
|
|
159
|
+
list(orgId: string): Promise<import("./types").DataList<import("./organizations").OrgDomain> & {
|
|
160
|
+
object: "list";
|
|
161
|
+
}>;
|
|
162
|
+
create(orgId: string, body: {
|
|
163
|
+
domain: string;
|
|
164
|
+
auto_join?: boolean;
|
|
165
|
+
default_role_id?: string | null;
|
|
166
|
+
}, idempotencyKey?: string): Promise<import("./organizations").OrgDomain>;
|
|
167
|
+
verify(orgId: string, domainId: string): Promise<import("./organizations").OrgDomain & {
|
|
168
|
+
verified: boolean;
|
|
169
|
+
}>;
|
|
170
|
+
delete(orgId: string, domainId: string): Promise<{
|
|
171
|
+
object: "org_domain";
|
|
172
|
+
id: string;
|
|
173
|
+
deleted: true;
|
|
174
|
+
}>;
|
|
175
|
+
};
|
|
176
|
+
groupRoles: {
|
|
177
|
+
grant(orgId: string, groupId: string, roleId: string): Promise<{
|
|
178
|
+
object: "group_role_grant";
|
|
179
|
+
organization_id: string;
|
|
180
|
+
group_id: string;
|
|
181
|
+
role_id: string;
|
|
182
|
+
granted: true;
|
|
183
|
+
}>;
|
|
184
|
+
revoke(orgId: string, groupId: string, roleId: string): Promise<{
|
|
185
|
+
object: "group_role_grant";
|
|
186
|
+
organization_id: string;
|
|
187
|
+
group_id: string;
|
|
188
|
+
role_id: string;
|
|
189
|
+
deleted: boolean;
|
|
190
|
+
}>;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
roles: {
|
|
194
|
+
list(): Promise<import("./types").ListPage<import("./roles").Role>>;
|
|
195
|
+
create(body: import("./roles").CreateRoleBody, idempotencyKey?: string): Promise<import("./roles").Role>;
|
|
196
|
+
update(id: string, body: import("./roles").UpdateRoleBody): Promise<import("./roles").Role>;
|
|
197
|
+
setPermissions(id: string, permissions: string[]): Promise<import("./roles").RolePermissionsResult>;
|
|
198
|
+
delete(id: string, opts?: {
|
|
199
|
+
reassignTo?: string;
|
|
200
|
+
}): Promise<{
|
|
201
|
+
object: "role";
|
|
202
|
+
id: string;
|
|
203
|
+
deleted: true;
|
|
204
|
+
members_reassigned: number;
|
|
205
|
+
}>;
|
|
206
|
+
};
|
|
207
|
+
permissions: {
|
|
208
|
+
list(): Promise<import("./types").ListPage<import("./roles").Permission>>;
|
|
209
|
+
create(body: import("./roles").CreatePermissionBody, idempotencyKey?: string): Promise<import("./roles").Permission>;
|
|
210
|
+
update(id: string, body: import("./roles").UpdatePermissionBody): Promise<import("./roles").Permission>;
|
|
211
|
+
delete(id: string): Promise<{
|
|
212
|
+
object: "permission";
|
|
213
|
+
id: string;
|
|
214
|
+
deleted: true;
|
|
215
|
+
}>;
|
|
216
|
+
};
|
|
217
|
+
oauthClients: {
|
|
218
|
+
list(): Promise<import("./types").ListPage<import("./oauth-clients").OAuthClient>>;
|
|
219
|
+
get(id: string): Promise<import("./oauth-clients").OAuthClient>;
|
|
220
|
+
create(body: import("./oauth-clients").CreateOAuthClientBody, idempotencyKey?: string): Promise<import("./oauth-clients").OAuthClientWithSecret>;
|
|
221
|
+
update(id: string, body: import("./oauth-clients").UpdateOAuthClientBody): Promise<import("./oauth-clients").OAuthClient>;
|
|
222
|
+
rotateSecret(id: string): Promise<import("./oauth-clients").OAuthClientWithSecret>;
|
|
223
|
+
delete(id: string): Promise<{
|
|
224
|
+
object: "oauth_client";
|
|
225
|
+
id: string;
|
|
226
|
+
deleted: true;
|
|
227
|
+
note: string;
|
|
228
|
+
}>;
|
|
229
|
+
grants: {
|
|
230
|
+
list(clientId: string): Promise<import("./types").ListPage<import("./oauth-clients").ClientGrant>>;
|
|
231
|
+
create(clientId: string, body: {
|
|
232
|
+
resource_server_id: string;
|
|
233
|
+
scopes?: string[];
|
|
234
|
+
}): Promise<import("./oauth-clients").ClientGrant>;
|
|
235
|
+
delete(clientId: string, grantId: string): Promise<{
|
|
236
|
+
object: "client_grant";
|
|
237
|
+
id: string;
|
|
238
|
+
deleted: true;
|
|
239
|
+
}>;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
resourceServers: {
|
|
243
|
+
list(): Promise<import("./types").ListPage<import("./resource-servers").ResourceServer>>;
|
|
244
|
+
get(id: string): Promise<import("./resource-servers").ResourceServer>;
|
|
245
|
+
create(body: import("./resource-servers").CreateResourceServerBody): Promise<import("./resource-servers").ResourceServer>;
|
|
246
|
+
update(id: string, body: import("./resource-servers").UpdateResourceServerBody): Promise<import("./resource-servers").ResourceServer>;
|
|
247
|
+
delete(id: string): Promise<{
|
|
248
|
+
object: "resource_server";
|
|
249
|
+
id: string;
|
|
250
|
+
deleted: true;
|
|
251
|
+
}>;
|
|
252
|
+
};
|
|
253
|
+
ssoConnections: {
|
|
254
|
+
list(): Promise<import("./types").ListPage<import("./sso-connections").SsoConnection>>;
|
|
255
|
+
get(id: string): Promise<import("./sso-connections").SsoConnection>;
|
|
256
|
+
create(body: import("./sso-connections").CreateSsoConnectionBody, idempotencyKey?: string): Promise<import("./sso-connections").SsoConnection>;
|
|
257
|
+
update(id: string, body: import("./sso-connections").UpdateSsoConnectionBody): Promise<import("./sso-connections").SsoConnection>;
|
|
258
|
+
delete(id: string): Promise<{
|
|
259
|
+
object: "sso_connection";
|
|
260
|
+
id: string;
|
|
261
|
+
deleted: true;
|
|
262
|
+
}>;
|
|
263
|
+
samlMetadata(id: string): Promise<import("./sso-connections").SamlMetadata>;
|
|
264
|
+
};
|
|
265
|
+
scimTokens: {
|
|
266
|
+
list(): Promise<import("./types").ListPage<import("./scim-tokens").ScimToken>>;
|
|
267
|
+
create(body: import("./scim-tokens").CreateScimTokenBody, idempotencyKey?: string): Promise<import("./scim-tokens").ScimTokenWithSecret>;
|
|
268
|
+
revoke(id: string): Promise<{
|
|
269
|
+
object: "scim_token";
|
|
270
|
+
id: string;
|
|
271
|
+
revoked: true;
|
|
272
|
+
note: string;
|
|
273
|
+
}>;
|
|
274
|
+
};
|
|
275
|
+
domains: {
|
|
276
|
+
list(): Promise<import("./domains").ListDomainsResponse>;
|
|
277
|
+
create(body: {
|
|
278
|
+
host: string;
|
|
279
|
+
role?: "fapi" | "accounts";
|
|
280
|
+
}, idempotencyKey?: string): Promise<import("./domains").CustomDomain & {
|
|
281
|
+
instructions: Record<string, unknown>;
|
|
282
|
+
}>;
|
|
283
|
+
verify(id: string): Promise<import("./domains").CustomDomain & {
|
|
284
|
+
verified: boolean;
|
|
285
|
+
}>;
|
|
286
|
+
delete(id: string): Promise<{
|
|
287
|
+
object: "custom_domain";
|
|
288
|
+
id: string;
|
|
289
|
+
deleted: true;
|
|
290
|
+
}>;
|
|
291
|
+
};
|
|
292
|
+
waitlist: {
|
|
293
|
+
list(params?: import("./waitlist").ListWaitlistParams): Promise<import("./waitlist").ListWaitlistResponse>;
|
|
294
|
+
decide(id: string, body: {
|
|
295
|
+
status: "approved" | "denied";
|
|
296
|
+
note?: string;
|
|
297
|
+
}): Promise<import("./waitlist").WaitlistEntry>;
|
|
298
|
+
};
|
|
299
|
+
allowlist: {
|
|
300
|
+
list(): Promise<{
|
|
301
|
+
object: "list";
|
|
302
|
+
data: import("./restrictions").AllowlistIdentifier[];
|
|
303
|
+
has_more: false;
|
|
304
|
+
}>;
|
|
305
|
+
add(identifier: string): Promise<import("./restrictions").AllowlistIdentifier>;
|
|
306
|
+
remove(id: string): Promise<{
|
|
307
|
+
object: string;
|
|
308
|
+
id: string;
|
|
309
|
+
deleted: true;
|
|
310
|
+
}>;
|
|
311
|
+
};
|
|
312
|
+
blocklist: {
|
|
313
|
+
list(): Promise<{
|
|
314
|
+
object: "list";
|
|
315
|
+
data: import("./restrictions").BlocklistIdentifier[];
|
|
316
|
+
has_more: false;
|
|
317
|
+
}>;
|
|
318
|
+
add(identifier: string): Promise<import("./restrictions").BlocklistIdentifier>;
|
|
319
|
+
remove(id: string): Promise<{
|
|
320
|
+
object: string;
|
|
321
|
+
id: string;
|
|
322
|
+
deleted: true;
|
|
323
|
+
}>;
|
|
324
|
+
};
|
|
325
|
+
attackProtection: {
|
|
326
|
+
get(): Promise<import("./attack-protection").AttackProtection>;
|
|
327
|
+
update(body: import("./attack-protection").UpdateAttackProtectionBody): Promise<import("./attack-protection").AttackProtection>;
|
|
328
|
+
};
|
|
329
|
+
actorTokens: {
|
|
330
|
+
create(body: import("./actor-tokens").CreateActorTokenBody, idempotencyKey?: string): Promise<import("./actor-tokens").ActorToken>;
|
|
331
|
+
revoke(id: string): Promise<{
|
|
332
|
+
object: "actor_token";
|
|
333
|
+
id: string;
|
|
334
|
+
revoked: true;
|
|
335
|
+
}>;
|
|
336
|
+
};
|
|
337
|
+
invitations: {
|
|
338
|
+
list(params?: import("./types").CursorParams): Promise<import("./types").CursorPage<import("./invitations").Invitation>>;
|
|
339
|
+
create(body: import("./invitations").CreateInvitationBody, idempotencyKey?: string): Promise<import("./invitations").Invitation>;
|
|
340
|
+
revoke(id: string): Promise<import("./invitations").Invitation>;
|
|
341
|
+
};
|
|
342
|
+
webhooks: {
|
|
343
|
+
endpoints: {
|
|
344
|
+
list(): Promise<{
|
|
345
|
+
data: import("./webhooks").WebhookEndpoint[];
|
|
346
|
+
has_more: false;
|
|
347
|
+
}>;
|
|
348
|
+
create(body: import("./webhooks").CreateWebhookEndpointBody, idempotencyKey?: string): Promise<import("./webhooks").WebhookEndpointWithSecret>;
|
|
349
|
+
delete(id: string): Promise<{
|
|
350
|
+
object: "webhook_endpoint";
|
|
351
|
+
id: string;
|
|
352
|
+
deleted: true;
|
|
353
|
+
}>;
|
|
354
|
+
};
|
|
355
|
+
deliveries(id: string): Promise<{
|
|
356
|
+
data: import("./webhooks").WebhookDelivery[];
|
|
357
|
+
has_more: false;
|
|
358
|
+
}>;
|
|
359
|
+
};
|
|
360
|
+
signInTokens: {
|
|
361
|
+
create(body: import("./sign-in-tokens").CreateSignInTokenBody, idempotencyKey?: string): Promise<import("./sign-in-tokens").SignInToken>;
|
|
362
|
+
};
|
|
363
|
+
auditLogs: {
|
|
364
|
+
list(params?: import("./audit-logs").ListAuditLogsParams): Promise<import("./types").CursorPage<import("./audit-logs").AuditLog>>;
|
|
365
|
+
};
|
|
366
|
+
jwtTemplates: {
|
|
367
|
+
list(): Promise<import("./types").ListPage<import("./jwt-templates").JwtTemplate>>;
|
|
368
|
+
get(name: string): Promise<import("./jwt-templates").JwtTemplate>;
|
|
369
|
+
create(body: import("./jwt-templates").CreateJwtTemplateBody): Promise<import("./jwt-templates").JwtTemplate>;
|
|
370
|
+
update(name: string, body: {
|
|
371
|
+
claims: Record<string, string>;
|
|
372
|
+
}): Promise<import("./jwt-templates").JwtTemplate>;
|
|
373
|
+
delete(name: string): Promise<{
|
|
374
|
+
object: "jwt_template";
|
|
375
|
+
name: string;
|
|
376
|
+
deleted: true;
|
|
377
|
+
}>;
|
|
378
|
+
};
|
|
379
|
+
apiKeys: {
|
|
380
|
+
list(query?: {
|
|
381
|
+
subject_type?: import("./api-keys").ApiKeySubjectType;
|
|
382
|
+
subject_id?: string;
|
|
383
|
+
}): Promise<import("./types").ListPage<import("./api-keys").ApiKey>>;
|
|
384
|
+
create(body: import("./api-keys").CreateApiKeyBody, idempotencyKey?: string): Promise<import("./api-keys").ApiKeyWithSecret>;
|
|
385
|
+
verify(secret: string): Promise<import("./api-keys").ApiKeyVerification>;
|
|
386
|
+
get(id: string): Promise<import("./api-keys").ApiKey>;
|
|
387
|
+
update(id: string, body: import("./api-keys").UpdateApiKeyBody): Promise<import("./api-keys").ApiKey>;
|
|
388
|
+
delete(id: string): Promise<{
|
|
389
|
+
object: "api_key";
|
|
390
|
+
id: string;
|
|
391
|
+
revoked: true;
|
|
392
|
+
}>;
|
|
393
|
+
};
|
|
394
|
+
oauthProviders: {
|
|
395
|
+
list(): Promise<import("./types").ListPage<import("./oauth-providers").OAuthProvider>>;
|
|
396
|
+
get(provider: string): Promise<import("./oauth-providers").OAuthProvider>;
|
|
397
|
+
upsert(provider: string, body: import("./oauth-providers").UpsertOAuthProviderBody, idempotencyKey?: string): Promise<{
|
|
398
|
+
object: "oauth_provider";
|
|
399
|
+
provider: string;
|
|
400
|
+
configured: true;
|
|
401
|
+
}>;
|
|
402
|
+
delete(provider: string): Promise<{
|
|
403
|
+
object: "oauth_provider";
|
|
404
|
+
provider: string;
|
|
405
|
+
deleted: true;
|
|
406
|
+
note: string;
|
|
407
|
+
}>;
|
|
408
|
+
setEnabled(provider: string, enabled: boolean): Promise<{
|
|
409
|
+
object: "oauth_provider";
|
|
410
|
+
provider: string;
|
|
411
|
+
enabled: boolean;
|
|
412
|
+
}>;
|
|
413
|
+
setScope(provider: string, body: {
|
|
414
|
+
allow_sign_in: boolean;
|
|
415
|
+
allow_sign_up: boolean;
|
|
416
|
+
}): Promise<{
|
|
417
|
+
object: "oauth_provider";
|
|
418
|
+
provider: string;
|
|
419
|
+
allow_sign_in: boolean;
|
|
420
|
+
allow_sign_up: boolean;
|
|
421
|
+
}>;
|
|
422
|
+
test(provider: string): Promise<import("./oauth-providers").OAuthConnectionTest>;
|
|
423
|
+
};
|
|
424
|
+
ssoOnboarding: {
|
|
425
|
+
list(): Promise<import("./types").ListPage<import("./sso-onboarding").SsoOnboardingProfile>>;
|
|
426
|
+
get(id: string): Promise<import("./sso-onboarding").SsoOnboardingProfile>;
|
|
427
|
+
create(body: import("./sso-onboarding").CreateSsoOnboardingProfileBody, idempotencyKey?: string): Promise<import("./sso-onboarding").SsoOnboardingProfile>;
|
|
428
|
+
delete(id: string): Promise<{
|
|
429
|
+
object: "sso_onboarding_profile";
|
|
430
|
+
id: string;
|
|
431
|
+
deleted: true;
|
|
432
|
+
}>;
|
|
433
|
+
createTicket(profileId: string, body?: import("./sso-onboarding").CreateSsoOnboardingTicketBody, idempotencyKey?: string): Promise<import("./sso-onboarding").IssuedSsoOnboardingTicket>;
|
|
434
|
+
revokeTicket(ticketId: string): Promise<{
|
|
435
|
+
object: "sso_onboarding_ticket";
|
|
436
|
+
id: string;
|
|
437
|
+
revoked: true;
|
|
438
|
+
}>;
|
|
439
|
+
};
|
|
440
|
+
scimProvisioning: {
|
|
441
|
+
list(): Promise<import("./types").ListPage<import("./scim-provisioning").ScimProvisioningTarget>>;
|
|
442
|
+
get(id: string): Promise<import("./scim-provisioning").ScimProvisioningTarget>;
|
|
443
|
+
create(body: import("./scim-provisioning").CreateScimProvisioningTargetBody, idempotencyKey?: string): Promise<import("./scim-provisioning").ScimProvisioningTarget>;
|
|
444
|
+
update(id: string, body: import("./scim-provisioning").UpdateScimProvisioningTargetBody): Promise<import("./scim-provisioning").ScimProvisioningTarget>;
|
|
445
|
+
delete(id: string): Promise<{
|
|
446
|
+
object: "scim_provisioning_target";
|
|
447
|
+
id: string;
|
|
448
|
+
deleted: true;
|
|
449
|
+
}>;
|
|
450
|
+
test(id: string): Promise<import("./scim-provisioning").ScimProvisioningTestResult>;
|
|
451
|
+
syncUser(id: string, userId: string): Promise<import("./scim-provisioning").ScimProvisioningSyncResult>;
|
|
452
|
+
syncGroup(id: string, organizationId: string): Promise<import("./scim-provisioning").ScimProvisioningGroupSyncResult>;
|
|
453
|
+
};
|
|
454
|
+
fga: {
|
|
455
|
+
stores: {
|
|
456
|
+
list(): Promise<import("./types").ListPage<import("./fga").FgaStore>>;
|
|
457
|
+
create(body: {
|
|
458
|
+
name: string;
|
|
459
|
+
}, idempotencyKey?: string): Promise<import("./fga").FgaStore>;
|
|
460
|
+
get(id: string): Promise<import("./fga").FgaStore>;
|
|
461
|
+
delete(id: string): Promise<{
|
|
462
|
+
object: "fga.store";
|
|
463
|
+
id: string;
|
|
464
|
+
deleted: true;
|
|
465
|
+
}>;
|
|
466
|
+
};
|
|
467
|
+
models: {
|
|
468
|
+
list(storeId: string): Promise<import("./types").ListPage<import("./fga").FgaAuthorizationModel>>;
|
|
469
|
+
create(storeId: string, body: import("./fga").FgaAuthorizationModelInput, idempotencyKey?: string): Promise<import("./fga").FgaAuthorizationModel>;
|
|
470
|
+
get(storeId: string, modelId: string): Promise<import("./fga").FgaAuthorizationModel>;
|
|
471
|
+
};
|
|
472
|
+
write(storeId: string, body: {
|
|
473
|
+
writes?: import("./fga").FgaTupleKeys;
|
|
474
|
+
deletes?: import("./fga").FgaTupleKeys;
|
|
475
|
+
}, idempotencyKey?: string): Promise<{
|
|
476
|
+
object: "fga.write_result";
|
|
477
|
+
writes: number;
|
|
478
|
+
deletes: number;
|
|
479
|
+
}>;
|
|
480
|
+
read(storeId: string, body: {
|
|
481
|
+
user?: string;
|
|
482
|
+
relation?: string;
|
|
483
|
+
object?: string;
|
|
484
|
+
}): Promise<import("./types").ListPage<import("./fga").FgaTuple>>;
|
|
485
|
+
check(storeId: string, body: import("./fga").FgaCheckBody): Promise<{
|
|
486
|
+
object: "fga.check";
|
|
487
|
+
allowed: boolean;
|
|
488
|
+
authorization_model_id: string;
|
|
489
|
+
}>;
|
|
490
|
+
batchCheck(storeId: string, body: {
|
|
491
|
+
checks: import("./fga").FgaBatchCheckItem[];
|
|
492
|
+
authorization_model_id?: string;
|
|
493
|
+
}): Promise<import("./fga").FgaBatchCheckResult>;
|
|
494
|
+
listObjects(storeId: string, body: import("./fga").FgaListObjectsBody): Promise<{
|
|
495
|
+
object: "fga.list_objects";
|
|
496
|
+
objects: string[];
|
|
497
|
+
authorization_model_id: string;
|
|
498
|
+
}>;
|
|
499
|
+
expand(storeId: string, body: {
|
|
500
|
+
object: string;
|
|
501
|
+
relation: string;
|
|
502
|
+
authorization_model_id?: string;
|
|
503
|
+
}): Promise<{
|
|
504
|
+
object: "fga.expand";
|
|
505
|
+
tree: unknown;
|
|
506
|
+
authorization_model_id: string;
|
|
507
|
+
}>;
|
|
508
|
+
store(storeId: string): {
|
|
509
|
+
write: (body: {
|
|
510
|
+
writes?: import("./fga").FgaTupleKeys;
|
|
511
|
+
deletes?: import("./fga").FgaTupleKeys;
|
|
512
|
+
}, idempotencyKey?: string) => Promise<{
|
|
513
|
+
object: "fga.write_result";
|
|
514
|
+
writes: number;
|
|
515
|
+
deletes: number;
|
|
516
|
+
}>;
|
|
517
|
+
read: (body: {
|
|
518
|
+
user?: string;
|
|
519
|
+
relation?: string;
|
|
520
|
+
object?: string;
|
|
521
|
+
}) => Promise<import("./types").ListPage<import("./fga").FgaTuple>>;
|
|
522
|
+
check: (body: import("./fga").FgaCheckBody) => Promise<{
|
|
523
|
+
object: "fga.check";
|
|
524
|
+
allowed: boolean;
|
|
525
|
+
authorization_model_id: string;
|
|
526
|
+
}>;
|
|
527
|
+
batchCheck: (body: {
|
|
528
|
+
checks: import("./fga").FgaBatchCheckItem[];
|
|
529
|
+
authorization_model_id?: string;
|
|
530
|
+
}) => Promise<import("./fga").FgaBatchCheckResult>;
|
|
531
|
+
listObjects: (body: import("./fga").FgaListObjectsBody) => Promise<{
|
|
532
|
+
object: "fga.list_objects";
|
|
533
|
+
objects: string[];
|
|
534
|
+
authorization_model_id: string;
|
|
535
|
+
}>;
|
|
536
|
+
expand: (body: {
|
|
537
|
+
object: string;
|
|
538
|
+
relation: string;
|
|
539
|
+
authorization_model_id?: string;
|
|
540
|
+
}) => Promise<{
|
|
541
|
+
object: "fga.expand";
|
|
542
|
+
tree: unknown;
|
|
543
|
+
authorization_model_id: string;
|
|
544
|
+
}>;
|
|
545
|
+
models: {
|
|
546
|
+
list: () => Promise<import("./types").ListPage<import("./fga").FgaAuthorizationModel>>;
|
|
547
|
+
create: (body: import("./fga").FgaAuthorizationModelInput, idempotencyKey?: string) => Promise<import("./fga").FgaAuthorizationModel>;
|
|
548
|
+
get: (modelId: string) => Promise<import("./fga").FgaAuthorizationModel>;
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
rateLimitPolicy: {
|
|
553
|
+
get(): Promise<import("./rate-limit").RateLimitPolicy>;
|
|
554
|
+
update(body: import("./rate-limit").UpdateRateLimitPolicyBody): Promise<import("./rate-limit").RateLimitPolicy>;
|
|
555
|
+
};
|
|
556
|
+
riskBasedMfa: {
|
|
557
|
+
get(): Promise<import("./risk-based-mfa").RiskBasedMfa>;
|
|
558
|
+
update(body: import("./risk-based-mfa").UpdateRiskBasedMfaBody): Promise<import("./risk-based-mfa").RiskBasedMfa>;
|
|
559
|
+
};
|
|
560
|
+
botSignals: {
|
|
561
|
+
list(query?: import("./bot-signals").BotExportParams): Promise<import("./bot-signals").BotExportPage<import("./bot-signals").BotSignal>>;
|
|
562
|
+
listLabels(query?: import("./bot-signals").BotExportParams): Promise<import("./bot-signals").BotExportPage<import("./bot-signals").BotLabel>>;
|
|
563
|
+
createLabel(body: import("./bot-signals").CreateBotLabelBody, idempotencyKey?: string): Promise<import("./bot-signals").BotLabel>;
|
|
564
|
+
};
|
|
565
|
+
networkAcls: {
|
|
566
|
+
list(): Promise<import("./types").ListPage<import("./network-acls").NetworkAcl>>;
|
|
567
|
+
get(id: string): Promise<import("./network-acls").NetworkAcl>;
|
|
568
|
+
create(body: import("./network-acls").CreateNetworkAclBody, idempotencyKey?: string): Promise<import("./network-acls").NetworkAcl>;
|
|
569
|
+
update(id: string, body: import("./network-acls").UpdateNetworkAclBody): Promise<import("./network-acls").NetworkAcl>;
|
|
570
|
+
delete(id: string): Promise<{
|
|
571
|
+
object: "network_acl";
|
|
572
|
+
id: string;
|
|
573
|
+
deleted: true;
|
|
574
|
+
}>;
|
|
575
|
+
};
|
|
576
|
+
managedWaf: {
|
|
577
|
+
get(): Promise<import("./managed-waf").ManagedWaf>;
|
|
578
|
+
status(): Promise<import("./managed-waf").ManagedWafStatus>;
|
|
579
|
+
update(body: import("./managed-waf").UpdateManagedWafBody): Promise<import("./managed-waf").ManagedWaf>;
|
|
580
|
+
provision(): Promise<import("./managed-waf").ManagedWafOutcome>;
|
|
581
|
+
deprovision(): Promise<import("./managed-waf").ManagedWafOutcome>;
|
|
582
|
+
};
|
|
583
|
+
logStreams: {
|
|
584
|
+
list(): Promise<import("./types").ListPage<import("./log-streams").LogStream>>;
|
|
585
|
+
get(id: string): Promise<import("./log-streams").LogStream>;
|
|
586
|
+
create(body: import("./log-streams").CreateLogStreamBody, idempotencyKey?: string): Promise<import("./log-streams").LogStream>;
|
|
587
|
+
update(id: string, body: import("./log-streams").UpdateLogStreamBody): Promise<import("./log-streams").LogStream>;
|
|
588
|
+
delete(id: string): Promise<{
|
|
589
|
+
object: "log_stream";
|
|
590
|
+
id: string;
|
|
591
|
+
deleted: true;
|
|
592
|
+
}>;
|
|
593
|
+
test(id: string): Promise<import("./log-streams").LogStreamTestResult>;
|
|
594
|
+
};
|
|
595
|
+
branding: {
|
|
596
|
+
get(): Promise<import("./branding").BrandingResponse>;
|
|
597
|
+
update(body: Partial<import("./branding").Branding>): Promise<import("./branding").BrandingResponse>;
|
|
598
|
+
preview(body: Partial<import("./branding").Branding>): Promise<import("./branding").HostedPagePreview>;
|
|
599
|
+
};
|
|
600
|
+
emailTemplates: {
|
|
601
|
+
list(): Promise<import("./types").ListPage<import("./email-templates").EmailTemplate>>;
|
|
602
|
+
preview(name: string, body?: import("./email-templates").EmailTemplateBody): Promise<import("./email-templates").EmailTemplatePreview>;
|
|
603
|
+
update(name: string, body: import("./email-templates").EmailTemplateBody): Promise<import("./email-templates").EmailTemplateResult>;
|
|
604
|
+
delete(name: string): Promise<import("./email-templates").EmailTemplateResult>;
|
|
605
|
+
};
|
|
606
|
+
smsTemplates: {
|
|
607
|
+
list(): Promise<import("./types").ListPage<import("./sms-templates").SmsTemplate>>;
|
|
608
|
+
create(body: import("./sms-templates").CreateSmsTemplateBody, idempotencyKey?: string): Promise<import("./sms-templates").SmsTemplate>;
|
|
609
|
+
get(name: string): Promise<import("./sms-templates").SmsTemplate>;
|
|
610
|
+
update(name: string, body: {
|
|
611
|
+
body?: string;
|
|
612
|
+
enabled?: boolean;
|
|
613
|
+
}): Promise<import("./sms-templates").SmsTemplate>;
|
|
614
|
+
delete(name: string): Promise<import("./sms-templates").SmsTemplate>;
|
|
615
|
+
preview(name: string, body?: {
|
|
616
|
+
body?: string;
|
|
617
|
+
}): Promise<import("./sms-templates").SmsTemplatePreview>;
|
|
618
|
+
};
|
|
619
|
+
localizations: {
|
|
620
|
+
list(params?: import("./localizations").ListLocalizationsParams): Promise<import("./types").ListPage<import("./localizations").Localization>>;
|
|
621
|
+
create(body: import("./localizations").CreateLocalizationBody, idempotencyKey?: string): Promise<import("./localizations").Localization>;
|
|
622
|
+
get(id: string): Promise<import("./localizations").Localization>;
|
|
623
|
+
update(id: string, body: {
|
|
624
|
+
content?: Record<string, unknown>;
|
|
625
|
+
enabled?: boolean;
|
|
626
|
+
}): Promise<import("./localizations").Localization>;
|
|
627
|
+
delete(id: string): Promise<void>;
|
|
628
|
+
};
|
|
629
|
+
actions: {
|
|
630
|
+
list(): Promise<import("./types").ListPage<import("./actions").Action>>;
|
|
631
|
+
create(body: import("./actions").CreateActionBody, idempotencyKey?: string): Promise<import("./actions").Action>;
|
|
632
|
+
get(id: string): Promise<import("./actions").Action>;
|
|
633
|
+
update(id: string, body: import("./actions").UpdateActionBody): Promise<import("./actions").Action>;
|
|
634
|
+
delete(id: string): Promise<{
|
|
635
|
+
object: "action";
|
|
636
|
+
id: string;
|
|
637
|
+
deleted: true;
|
|
638
|
+
}>;
|
|
639
|
+
test(id: string, event?: import("./actions").ActionTestEvent): Promise<import("./actions").ActionTestResult>;
|
|
640
|
+
getBindings(trigger: import("./actions").ActionTrigger): Promise<import("./actions").ActionBindingList>;
|
|
641
|
+
setBindings(trigger: import("./actions").ActionTrigger, actionIds: string[]): Promise<import("./actions").ActionBindingList>;
|
|
642
|
+
};
|
|
643
|
+
billing: {
|
|
644
|
+
listPlans(): Promise<import("./types").ListPage<import("./billing-plans").BillingPlan>>;
|
|
645
|
+
createPlan(body: import("./billing-plans").CreateBillingPlanBody, idempotencyKey?: string): Promise<import("./billing-plans").BillingPlan>;
|
|
646
|
+
getPlan(id: string): Promise<import("./billing-plans").BillingPlan>;
|
|
647
|
+
updatePlan(id: string, body: import("./billing-plans").UpdateBillingPlanBody): Promise<import("./billing-plans").BillingPlan>;
|
|
648
|
+
deletePlan(id: string): Promise<{
|
|
649
|
+
object: "billing_plan";
|
|
650
|
+
id: string;
|
|
651
|
+
deleted: true;
|
|
652
|
+
}>;
|
|
653
|
+
listSubscriptions(params?: import("./billing-plans").ListSubscriptionsParams): Promise<import("./types").ListPage<import("./billing-plans").BillingSubscription>>;
|
|
654
|
+
};
|
|
655
|
+
messaging: {
|
|
656
|
+
get(): Promise<import("./messaging").MessagingProviders>;
|
|
657
|
+
setEmail(body: import("./messaging").MessagingProviderInput): Promise<import("./messaging").MessagingProvider>;
|
|
658
|
+
setSms(body: import("./messaging").MessagingProviderInput): Promise<import("./messaging").MessagingProvider>;
|
|
659
|
+
deleteChannel(channel: "email" | "sms"): Promise<import("./messaging").DeletedMessagingProvider>;
|
|
660
|
+
test(channel: "email" | "sms", body: {
|
|
661
|
+
to: string;
|
|
662
|
+
}): Promise<import("./messaging").MessagingTestResult>;
|
|
663
|
+
};
|
|
664
|
+
importExport: {
|
|
665
|
+
importUsers(body: import("./import-export").ImportUsersBody, idempotencyKey?: string): Promise<import("./import-export").Job>;
|
|
666
|
+
exportUsers(idempotencyKey?: string): Promise<import("./import-export").Job>;
|
|
667
|
+
listJobs(params?: import("./types").CursorParams): Promise<import("./types").CursorPage<import("./import-export").Job>>;
|
|
668
|
+
getJob(id: string): Promise<import("./import-export").Job>;
|
|
669
|
+
getJobErrors(id: string): Promise<import("./types").ListPage<import("./import-export").JobError>>;
|
|
670
|
+
};
|
|
671
|
+
dataSubjectRequests: {
|
|
672
|
+
list(params?: import("./data-subject-requests").ListDataSubjectRequestsParams): Promise<import("./types").CursorPage<import("./data-subject-requests").DataSubjectRequest>>;
|
|
673
|
+
get(id: string): Promise<import("./data-subject-requests").DataSubjectRequest>;
|
|
674
|
+
fulfill(id: string, idempotencyKey?: string): Promise<import("./data-subject-requests").DataSubjectRequest>;
|
|
675
|
+
reject(id: string, body?: {
|
|
676
|
+
reason?: string;
|
|
677
|
+
}, idempotencyKey?: string): Promise<import("./data-subject-requests").DataSubjectRequest>;
|
|
678
|
+
};
|
|
679
|
+
radiusClients: {
|
|
680
|
+
list(): Promise<import("./types").ListPage<import("./radius-clients").RadiusClient>>;
|
|
681
|
+
create(body: import("./radius-clients").CreateRadiusClientBody, idempotencyKey?: string): Promise<import("./radius-clients").RadiusClient>;
|
|
682
|
+
get(id: string): Promise<import("./radius-clients").RadiusClient>;
|
|
683
|
+
update(id: string, body: import("./radius-clients").UpdateRadiusClientBody): Promise<import("./radius-clients").RadiusClient>;
|
|
684
|
+
delete(id: string): Promise<{
|
|
685
|
+
object: "radius_client";
|
|
686
|
+
id: string;
|
|
687
|
+
deleted: true;
|
|
688
|
+
}>;
|
|
689
|
+
};
|
|
690
|
+
ltiPlatforms: {
|
|
691
|
+
list(): Promise<import("./types").ListPage<import("./lti-platforms").LtiPlatform>>;
|
|
692
|
+
get(id: string): Promise<import("./lti-platforms").LtiPlatform>;
|
|
693
|
+
create(body: import("./lti-platforms").CreateLtiPlatformBody, idempotencyKey?: string): Promise<import("./lti-platforms").LtiPlatform>;
|
|
694
|
+
update(id: string, body: import("./lti-platforms").UpdateLtiPlatformBody): Promise<import("./lti-platforms").LtiPlatform>;
|
|
695
|
+
delete(id: string): Promise<{
|
|
696
|
+
object: "lti_platform";
|
|
697
|
+
id: string;
|
|
698
|
+
deleted: true;
|
|
699
|
+
}>;
|
|
700
|
+
};
|
|
701
|
+
instance: {
|
|
702
|
+
get(): Promise<import("./instance").Instance>;
|
|
703
|
+
update(body: import("./instance").UpdateInstanceBody): Promise<import("./instance").InstanceUpdateResult>;
|
|
704
|
+
};
|
|
705
|
+
instanceSecurity: {
|
|
706
|
+
get(): Promise<import("./instance-security").InstanceSecurity>;
|
|
707
|
+
update(body: import("./instance-security").UpdateInstanceSecurityBody): Promise<import("./instance-security").InstanceSecurityResult>;
|
|
708
|
+
setCaptchaSecret(body: {
|
|
709
|
+
secret: string;
|
|
710
|
+
}): Promise<{
|
|
711
|
+
object: "captcha_secret";
|
|
712
|
+
provider: string;
|
|
713
|
+
set: true;
|
|
714
|
+
}>;
|
|
715
|
+
deleteCaptchaSecret(): Promise<{
|
|
716
|
+
object: "captcha_secret";
|
|
717
|
+
provider: string;
|
|
718
|
+
deleted: true;
|
|
719
|
+
}>;
|
|
720
|
+
setKerberosSecret(body: {
|
|
721
|
+
secret: string;
|
|
722
|
+
}): Promise<{
|
|
723
|
+
object: "kerberos_secret";
|
|
724
|
+
set: true;
|
|
725
|
+
}>;
|
|
726
|
+
deleteKerberosSecret(): Promise<{
|
|
727
|
+
object: "kerberos_secret";
|
|
728
|
+
deleted: true;
|
|
729
|
+
}>;
|
|
730
|
+
setLdapBindPassword(connectionId: string, body: {
|
|
731
|
+
bind_password: string;
|
|
732
|
+
}): Promise<{
|
|
733
|
+
object: "ldap_bind_password";
|
|
734
|
+
connection_id: string;
|
|
735
|
+
set: true;
|
|
736
|
+
}>;
|
|
737
|
+
deleteLdapBindPassword(connectionId: string): Promise<{
|
|
738
|
+
object: "ldap_bind_password";
|
|
739
|
+
connection_id: string;
|
|
740
|
+
deleted: true;
|
|
741
|
+
}>;
|
|
742
|
+
};
|
|
743
|
+
tokens: {
|
|
744
|
+
verify(body: import("./tokens").VerifyTokenBody): Promise<import("./tokens").TokenVerification>;
|
|
745
|
+
};
|
|
746
|
+
};
|
|
747
|
+
/** The fully typed client instance `createAtlasClient` returns. */
|
|
748
|
+
export type AtlasClient = ReturnType<typeof createAtlasClient>;
|
|
749
|
+
export type { AtlasClientConfig } from './request';
|
|
750
|
+
export { DEFAULT_API_URL } from './request';
|
|
751
|
+
export { AtlasApiError, type AtlasErrorItem } from './error';
|
|
752
|
+
export { paginate, collect } from './paginate';
|
|
753
|
+
export * from './types';
|
|
754
|
+
export * from './users';
|
|
755
|
+
export * from './sessions';
|
|
756
|
+
export * from './organizations';
|
|
757
|
+
export * from './roles';
|
|
758
|
+
export * from './oauth-clients';
|
|
759
|
+
export * from './resource-servers';
|
|
760
|
+
export * from './sso-connections';
|
|
761
|
+
export * from './scim-tokens';
|
|
762
|
+
export * from './domains';
|
|
763
|
+
export * from './waitlist';
|
|
764
|
+
export * from './restrictions';
|
|
765
|
+
export * from './attack-protection';
|
|
766
|
+
export * from './actor-tokens';
|
|
767
|
+
export * from './invitations';
|
|
768
|
+
export * from './webhooks';
|
|
769
|
+
export * from './sign-in-tokens';
|
|
770
|
+
export * from './audit-logs';
|
|
771
|
+
export * from './jwt-templates';
|
|
772
|
+
export * from './api-keys';
|
|
773
|
+
export * from './oauth-providers';
|
|
774
|
+
export * from './sso-onboarding';
|
|
775
|
+
export * from './scim-provisioning';
|
|
776
|
+
export * from './fga';
|
|
777
|
+
export * from './rate-limit';
|
|
778
|
+
export * from './risk-based-mfa';
|
|
779
|
+
export * from './bot-signals';
|
|
780
|
+
export * from './network-acls';
|
|
781
|
+
export * from './managed-waf';
|
|
782
|
+
export * from './log-streams';
|
|
783
|
+
export * from './branding';
|
|
784
|
+
export * from './email-templates';
|
|
785
|
+
export * from './sms-templates';
|
|
786
|
+
export * from './localizations';
|
|
787
|
+
export * from './actions';
|
|
788
|
+
export * from './billing-plans';
|
|
789
|
+
export * from './messaging';
|
|
790
|
+
export * from './import-export';
|
|
791
|
+
export * from './data-subject-requests';
|
|
792
|
+
export * from './radius-clients';
|
|
793
|
+
export * from './lti-platforms';
|
|
794
|
+
export * from './instance';
|
|
795
|
+
export * from './instance-security';
|
|
796
|
+
export * from './tokens';
|