@atlasauth/backend 0.5.0 → 0.7.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 +84 -0
- package/README.md +227 -0
- package/dist/client/activity.d.ts +104 -0
- package/dist/client/activity.js +29 -0
- package/dist/client/activity.js.map +1 -0
- package/dist/client/api-keys.d.ts +100 -0
- package/dist/client/api-keys.js +15 -0
- package/dist/client/api-keys.js.map +1 -1
- package/dist/client/audit-events.d.ts +103 -0
- package/dist/client/audit-events.js +43 -0
- package/dist/client/audit-events.js.map +1 -0
- package/dist/client/billing-plans.d.ts +43 -0
- package/dist/client/billing-plans.js +26 -0
- package/dist/client/billing-plans.js.map +1 -1
- package/dist/client/connectors.d.ts +174 -0
- package/dist/client/connectors.js +54 -0
- package/dist/client/connectors.js.map +1 -0
- package/dist/client/data-subject-requests.d.ts +21 -0
- package/dist/client/data-subject-requests.js +15 -0
- package/dist/client/data-subject-requests.js.map +1 -1
- package/dist/client/design.d.ts +295 -0
- package/dist/client/design.js +76 -0
- package/dist/client/design.js.map +1 -0
- package/dist/client/diagnostics.d.ts +53 -0
- package/dist/client/diagnostics.js +24 -0
- package/dist/client/diagnostics.js.map +1 -0
- package/dist/client/email-addresses.d.ts +22 -0
- package/dist/client/email-addresses.js +17 -0
- package/dist/client/email-addresses.js.map +1 -0
- package/dist/client/entitlement-overrides.d.ts +50 -0
- package/dist/client/entitlement-overrides.js +20 -0
- package/dist/client/entitlement-overrides.js.map +1 -0
- package/dist/client/error.d.ts +34 -0
- package/dist/client/error.js +33 -1
- package/dist/client/error.js.map +1 -1
- package/dist/client/import-export.d.ts +2 -0
- package/dist/client/import-export.js.map +1 -1
- package/dist/client/index.d.ts +461 -16
- package/dist/client/index.js +76 -2
- package/dist/client/index.js.map +1 -1
- package/dist/client/instance.d.ts +54 -0
- package/dist/client/instance.js +18 -0
- package/dist/client/instance.js.map +1 -1
- package/dist/client/invitations.d.ts +14 -0
- package/dist/client/invitations.js +9 -0
- package/dist/client/invitations.js.map +1 -1
- package/dist/client/legacy-auth.d.ts +45 -0
- package/dist/client/legacy-auth.js +18 -0
- package/dist/client/legacy-auth.js.map +1 -0
- package/dist/client/mcp.d.ts +86 -0
- package/dist/client/mcp.js +47 -0
- package/dist/client/mcp.js.map +1 -0
- package/dist/client/notifications.d.ts +92 -0
- package/dist/client/notifications.js +55 -0
- package/dist/client/notifications.js.map +1 -0
- package/dist/client/oauth-clients.d.ts +46 -2
- package/dist/client/oauth-clients.js +4 -0
- package/dist/client/oauth-clients.js.map +1 -1
- package/dist/client/oauth-providers.d.ts +67 -7
- package/dist/client/oauth-providers.js +7 -2
- package/dist/client/oauth-providers.js.map +1 -1
- package/dist/client/openfga.d.ts +137 -0
- package/dist/client/openfga.js +72 -0
- package/dist/client/openfga.js.map +1 -0
- package/dist/client/org-ldap-connections.d.ts +75 -0
- package/dist/client/org-ldap-connections.js +36 -0
- package/dist/client/org-ldap-connections.js.map +1 -0
- package/dist/client/organization-settings-schema.d.ts +24 -0
- package/dist/client/organization-settings-schema.js +30 -0
- package/dist/client/organization-settings-schema.js.map +1 -0
- package/dist/client/organizations.d.ts +205 -4
- package/dist/client/organizations.js +109 -0
- package/dist/client/organizations.js.map +1 -1
- package/dist/client/pca.d.ts +59 -0
- package/dist/client/pca.js +40 -0
- package/dist/client/pca.js.map +1 -0
- package/dist/client/platform.d.ts +328 -0
- package/dist/client/platform.js +187 -0
- package/dist/client/platform.js.map +1 -0
- package/dist/client/redirect-urls.d.ts +23 -0
- package/dist/client/redirect-urls.js +22 -0
- package/dist/client/redirect-urls.js.map +1 -0
- package/dist/client/request.d.ts +45 -0
- package/dist/client/request.js +35 -2
- package/dist/client/request.js.map +1 -1
- package/dist/client/session-exchange-apps.d.ts +43 -0
- package/dist/client/session-exchange-apps.js +25 -0
- package/dist/client/session-exchange-apps.js.map +1 -0
- package/dist/client/sessions.d.ts +28 -0
- package/dist/client/sessions.js +20 -0
- package/dist/client/sessions.js.map +1 -1
- package/dist/client/sign-in-tokens.d.ts +13 -1
- package/dist/client/sign-in-tokens.js +11 -0
- package/dist/client/sign-in-tokens.js.map +1 -1
- package/dist/client/test-mode.d.ts +44 -0
- package/dist/client/test-mode.js +26 -0
- package/dist/client/test-mode.js.map +1 -0
- package/dist/client/tickets.d.ts +49 -0
- package/dist/client/tickets.js +19 -0
- package/dist/client/tickets.js.map +1 -0
- package/dist/client/users.d.ts +351 -0
- package/dist/client/users.js +228 -0
- package/dist/client/users.js.map +1 -1
- package/dist/client/waitlist.d.ts +21 -0
- package/dist/client/waitlist.js +16 -0
- package/dist/client/waitlist.js.map +1 -1
- package/dist/client/webhooks.d.ts +60 -6
- package/dist/client/webhooks.js +36 -2
- package/dist/client/webhooks.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/logout-token.d.ts +97 -0
- package/dist/logout-token.js +182 -0
- package/dist/logout-token.js.map +1 -0
- package/dist/verify.d.ts +7 -0
- package/dist/verify.js +13 -0
- package/dist/verify.js.map +1 -1
- package/package.json +3 -2
package/dist/client/error.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../src/client/error.ts"],"names":[],"mappings":";;;AAoBA,MAAa,aAAc,SAAQ,KAAK;IACpB,IAAI,GAAG,eAAe,CAAC;IACzC,0CAA0C;IACjC,MAAM,CAAS;IACxB,8CAA8C;IACrC,MAAM,CAAmB;IAElC,YAAY,MAAc,EAAE,MAAwB,EAAE,OAAgB;QACpE,KAAK,CAAC,OAAO,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,IAAI,wCAAwC,MAAM,EAAE,CAAC,CAAC;QACzF,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,uEAAuE;QACvE,sEAAsE;QACtE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACvD,CAAC;IAED,uEAAuE;IACvE,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC;IAC9B,CAAC;IAED,yEAAyE;IACzE,OAAO,CAAC,IAAY;QAClB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;IAClD,CAAC;CACF;AAzBD,sCAyBC"}
|
|
1
|
+
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../src/client/error.ts"],"names":[],"mappings":";;;AAoBA,MAAa,aAAc,SAAQ,KAAK;IACpB,IAAI,GAAG,eAAe,CAAC;IACzC,0CAA0C;IACjC,MAAM,CAAS;IACxB,8CAA8C;IACrC,MAAM,CAAmB;IAElC,YAAY,MAAc,EAAE,MAAwB,EAAE,OAAgB;QACpE,KAAK,CAAC,OAAO,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,IAAI,wCAAwC,MAAM,EAAE,CAAC,CAAC;QACzF,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,uEAAuE;QACvE,sEAAsE;QACtE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACvD,CAAC;IAED,uEAAuE;IACvE,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC;IAC9B,CAAC;IAED,yEAAyE;IACzE,OAAO,CAAC,IAAY;QAClB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;IAClD,CAAC;CACF;AAzBD,sCAyBC;AAED;;;;GAIG;AACU,QAAA,eAAe,GAAG;IAC7B,+EAA+E;IAC/E,6BAA6B,EAAE,+BAA+B;IAC9D,mEAAmE;IACnE,uBAAuB,EAAE,yBAAyB;IAClD,0FAA0F;IAC1F,aAAa,EAAE,eAAe;IAC9B,oEAAoE;IACpE,WAAW,EAAE,aAAa;IAC1B,6FAA6F;IAC7F,iBAAiB,EAAE,mBAAmB;IACtC,gDAAgD;IAChD,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,iBAAiB,EAAE,mBAAmB;IACtC,YAAY,EAAE,cAAc;IAC5B,4FAA4F;IAC5F,oBAAoB,EAAE,sBAAsB;IAC5C,yFAAyF;IACzF,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;IAClC,oBAAoB,EAAE,sBAAsB;IAC5C,eAAe,EAAE,iBAAiB;IAClC,aAAa,EAAE,eAAe;IAC9B,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;CACZ,CAAC"}
|
|
@@ -74,6 +74,8 @@ export interface ImportUsersBody {
|
|
|
74
74
|
users: ImportUserRow[];
|
|
75
75
|
/** Update an existing user matched by verified email instead of skipping it. */
|
|
76
76
|
upsert?: boolean;
|
|
77
|
+
/** Whether the import may notify the imported users. Defaults to false: nothing is sent. */
|
|
78
|
+
notify?: boolean;
|
|
77
79
|
}
|
|
78
80
|
export declare function importExportResource(request: RequestFn): {
|
|
79
81
|
/** Import users through the same per-row path sign-up uses. Deduped by verified email. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-export.js","sourceRoot":"","sources":["../../src/client/import-export.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"import-export.js","sourceRoot":"","sources":["../../src/client/import-export.ts"],"names":[],"mappings":";;AAqFA,oDAsBC;AA3GD,uCAAgD;AAqFhD,SAAgB,oBAAoB,CAAC,OAAkB;IACrD,OAAO;QACL,0FAA0F;QAC1F,WAAW,CAAC,IAAqB,EAAE,cAAuB;YACxD,OAAO,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;QACrF,CAAC;QACD,iFAAiF;QACjF,WAAW,CAAC,cAAuB;YACjC,OAAO,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC;QAC/E,CAAC;QACD,4DAA4D;QAC5D,QAAQ,CAAC,SAAuB,EAAE;YAChC,OAAO,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,EAAE,GAAG,MAAM,EAAE,EAAE,CAAC,CAAC;QAC5E,CAAC;QACD,MAAM,CAAC,EAAU;YACf,OAAO,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,YAAY,IAAA,aAAG,EAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QACjE,CAAC;QACD,mDAAmD;QACnD,YAAY,CAAC,EAAU;YACrB,OAAO,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,YAAY,IAAA,aAAG,EAAC,EAAE,CAAC,SAAS,EAAE,CAAC,CAAC;QACxE,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type AtlasClientConfig } from './request';
|
|
1
|
+
import { type AtlasClientConfig, type AtlasRequestSettings } from './request';
|
|
2
|
+
import type { RequestFn } from './request';
|
|
2
3
|
/**
|
|
3
4
|
* The typed management client for the Atlas Backend API — the secret-key
|
|
4
5
|
* surface, the peer of `@clerk/backend`'s `createClerkClient`.
|
|
@@ -8,7 +9,8 @@ import { type AtlasClientConfig } from './request';
|
|
|
8
9
|
* mapping and the wire types live, so this file stays a table of contents you
|
|
9
10
|
* can read top to bottom to see the whole surface.
|
|
10
11
|
*/
|
|
11
|
-
export declare function createAtlasClient(config: AtlasClientConfig):
|
|
12
|
+
export declare function createAtlasClient(config: AtlasClientConfig): AtlasClient;
|
|
13
|
+
declare function buildNamespaces(request: RequestFn): {
|
|
12
14
|
users: {
|
|
13
15
|
list(params?: import("./users").ListUsersParams): Promise<import("./types").CursorPage<import("./users").User>>;
|
|
14
16
|
get(id: string): Promise<import("./users").User>;
|
|
@@ -85,6 +87,75 @@ export declare function createAtlasClient(config: AtlasClientConfig): {
|
|
|
85
87
|
deleted: true;
|
|
86
88
|
tokens_revoked: number;
|
|
87
89
|
}>;
|
|
90
|
+
byEmails(body: import("./users").UsersByEmailsBody): Promise<import("./types").ListPage<import("./users").UserEmailMatch>>;
|
|
91
|
+
resolved(id: string): Promise<import("./users").ResolvedUser>;
|
|
92
|
+
state(id: string): Promise<import("./users").UserState>;
|
|
93
|
+
signInHistory(id: string, params?: import("./types").CursorParams): Promise<import("./types").CursorPage<import("./users").SignInEvent>>;
|
|
94
|
+
listOrganizationMemberships(id: string, params?: import("./types").CursorParams): Promise<import("./types").CursorPage<import("./users").UserOrganizationMembership>>;
|
|
95
|
+
setPassword(id: string, body: import("./users").SetUserPasswordBody): Promise<import("./users").User>;
|
|
96
|
+
deleteProfileImage(id: string): Promise<import("./users").User>;
|
|
97
|
+
deletePasskey(id: string, passkeyId: string): Promise<{
|
|
98
|
+
object: "passkey";
|
|
99
|
+
id: string;
|
|
100
|
+
deleted: true;
|
|
101
|
+
}>;
|
|
102
|
+
importIdentity(id: string, body: import("./users").ImportIdentityBody): Promise<import("./users").Identity>;
|
|
103
|
+
removeIdentityByProvider(id: string, provider: string): Promise<{
|
|
104
|
+
object: string;
|
|
105
|
+
id: string;
|
|
106
|
+
provider: string;
|
|
107
|
+
removed: boolean;
|
|
108
|
+
}>;
|
|
109
|
+
acknowledgeErasure(id: string, body: import("./users").UserErasureAckBody, idempotencyKey?: string): Promise<import("./users").UserErasureAck>;
|
|
110
|
+
erasureExport(id: string): Promise<import("./users").UserErasureExport>;
|
|
111
|
+
deletion: {
|
|
112
|
+
schedule(id: string, body?: {
|
|
113
|
+
grace_seconds?: number;
|
|
114
|
+
}, idempotencyKey?: string): Promise<import("./users").User>;
|
|
115
|
+
cancel(id: string, idempotencyKey?: string): Promise<import("./users").User>;
|
|
116
|
+
finalize(id: string, idempotencyKey?: string): Promise<{
|
|
117
|
+
object: "user";
|
|
118
|
+
id: string;
|
|
119
|
+
deleted: true;
|
|
120
|
+
}>;
|
|
121
|
+
};
|
|
122
|
+
directives: {
|
|
123
|
+
impose(id: string, body: import("./users").ImposeUserDirectiveBody, idempotencyKey?: string): Promise<import("./users").UserDirective>;
|
|
124
|
+
lift(id: string): Promise<{
|
|
125
|
+
object: "directive";
|
|
126
|
+
user_id: string;
|
|
127
|
+
lifted: true;
|
|
128
|
+
}>;
|
|
129
|
+
};
|
|
130
|
+
consents: {
|
|
131
|
+
list(id: string): Promise<{
|
|
132
|
+
object: string;
|
|
133
|
+
data: import("./users").UserConsent[];
|
|
134
|
+
}>;
|
|
135
|
+
record(id: string, body: import("./users").RecordUserConsentBody, idempotencyKey?: string): Promise<import("./users").UserConsent>;
|
|
136
|
+
};
|
|
137
|
+
approvalRequests: {
|
|
138
|
+
create(id: string, body: import("./users").CreateUserApprovalRequestBody): Promise<import("./users").UserApprovalRequestCreated>;
|
|
139
|
+
get(id: string, approvalId: string): Promise<import("./users").UserApprovalRequest>;
|
|
140
|
+
};
|
|
141
|
+
notificationPreferences: {
|
|
142
|
+
get(id: string): Promise<import("./users").UserNotificationPreferences>;
|
|
143
|
+
update(id: string, body: import("./users").UpdateUserNotificationPreferencesBody): Promise<import("./users").UserNotificationPreferences>;
|
|
144
|
+
};
|
|
145
|
+
phoneNumbers: {
|
|
146
|
+
add(id: string, body: {
|
|
147
|
+
phone_number: string;
|
|
148
|
+
}): Promise<import("./users").UserPhoneNumber>;
|
|
149
|
+
verify(id: string, phoneId: string): Promise<import("./users").UserPhoneNumber>;
|
|
150
|
+
delete(id: string, phoneId: string): Promise<{
|
|
151
|
+
object: "phone_number";
|
|
152
|
+
id: string;
|
|
153
|
+
deleted: true;
|
|
154
|
+
}>;
|
|
155
|
+
};
|
|
156
|
+
progression: {
|
|
157
|
+
addEvent(id: string, body: import("./users").UserProgressionEventBody): Promise<import("./users").UserProgressionEvent>;
|
|
158
|
+
};
|
|
88
159
|
};
|
|
89
160
|
sessions: {
|
|
90
161
|
create(params: import("./sessions").CreateSessionParams): Promise<import("./sessions").MintedSession>;
|
|
@@ -95,6 +166,8 @@ export declare function createAtlasClient(config: AtlasClientConfig): {
|
|
|
95
166
|
id: string;
|
|
96
167
|
status: "revoked";
|
|
97
168
|
}>;
|
|
169
|
+
touch(id: string): Promise<import("./sessions").TouchedSession>;
|
|
170
|
+
getToken(id: string, template: string): Promise<import("./sessions").SessionTemplateToken>;
|
|
98
171
|
};
|
|
99
172
|
organizations: {
|
|
100
173
|
list(params?: import("./types").CursorParams): Promise<import("./types").CursorPage<import("./organizations").Organization>>;
|
|
@@ -173,6 +246,49 @@ export declare function createAtlasClient(config: AtlasClientConfig): {
|
|
|
173
246
|
deleted: true;
|
|
174
247
|
}>;
|
|
175
248
|
};
|
|
249
|
+
settings: {
|
|
250
|
+
get(orgId: string): Promise<import("./organizations").OrganizationSettings>;
|
|
251
|
+
replace(orgId: string, values: Record<string, unknown>, idempotencyKey?: string): Promise<import("./organizations").OrganizationSettings>;
|
|
252
|
+
update(orgId: string, values: Record<string, unknown>, idempotencyKey?: string): Promise<import("./organizations").OrganizationSettings>;
|
|
253
|
+
};
|
|
254
|
+
auditStreams: {
|
|
255
|
+
list(orgId: string): Promise<import("./types").ListPage<import("./organizations").OrganizationAuditStream>>;
|
|
256
|
+
create(orgId: string, body: import("./organizations").CreateOrganizationAuditStreamBody, idempotencyKey?: string): Promise<import("./organizations").OrganizationAuditStream>;
|
|
257
|
+
delete(orgId: string, streamId: string): Promise<{
|
|
258
|
+
object: "org_audit_stream";
|
|
259
|
+
id: string;
|
|
260
|
+
deleted: true;
|
|
261
|
+
}>;
|
|
262
|
+
};
|
|
263
|
+
branding: {
|
|
264
|
+
get(orgId: string): Promise<import("./organizations").OrganizationBranding>;
|
|
265
|
+
update(orgId: string, body: import("./organizations").UpdateOrganizationBrandingBody): Promise<import("./organizations").OrganizationBranding>;
|
|
266
|
+
};
|
|
267
|
+
endUsers: {
|
|
268
|
+
list(orgId: string, params?: import("./organizations").ListOrganizationEndUsersParams): Promise<import("./types").CursorPage<import("./organizations").OrganizationEndUser> & {
|
|
269
|
+
object: "list";
|
|
270
|
+
}>;
|
|
271
|
+
add(orgId: string, body: import("./organizations").AddOrganizationEndUserBody, idempotencyKey?: string): Promise<import("./organizations").OrganizationEndUser>;
|
|
272
|
+
update(orgId: string, userId: string, body: {
|
|
273
|
+
status: import("./organizations").OrganizationEndUserStatus;
|
|
274
|
+
}): Promise<import("./organizations").OrganizationEndUser>;
|
|
275
|
+
remove(orgId: string, userId: string): Promise<{
|
|
276
|
+
object: "organization_end_user";
|
|
277
|
+
id: string;
|
|
278
|
+
deleted: true;
|
|
279
|
+
}>;
|
|
280
|
+
};
|
|
281
|
+
readerDomain: {
|
|
282
|
+
list(orgId: string): Promise<import("./types").ListPage<import("./organizations").OrganizationReaderDomain>>;
|
|
283
|
+
create(orgId: string, body: {
|
|
284
|
+
host: string;
|
|
285
|
+
}, idempotencyKey?: string): Promise<import("./organizations").OrganizationReaderDomainCreated>;
|
|
286
|
+
delete(orgId: string): Promise<{
|
|
287
|
+
object: "custom_domain";
|
|
288
|
+
id: string;
|
|
289
|
+
deleted: true;
|
|
290
|
+
}>;
|
|
291
|
+
};
|
|
176
292
|
groupRoles: {
|
|
177
293
|
grant(orgId: string, groupId: string, roleId: string): Promise<{
|
|
178
294
|
object: "group_role_grant";
|
|
@@ -215,6 +331,9 @@ export declare function createAtlasClient(config: AtlasClientConfig): {
|
|
|
215
331
|
}>;
|
|
216
332
|
};
|
|
217
333
|
oauthClients: {
|
|
334
|
+
import(body: {
|
|
335
|
+
clients: import("./oauth-clients").ImportOAuthClientEntry[];
|
|
336
|
+
}, idempotencyKey?: string): Promise<import("./types").ListPage<import("./oauth-clients").ImportedOAuthClient>>;
|
|
218
337
|
list(): Promise<import("./types").ListPage<import("./oauth-clients").OAuthClient>>;
|
|
219
338
|
get(id: string): Promise<import("./oauth-clients").OAuthClient>;
|
|
220
339
|
create(body: import("./oauth-clients").CreateOAuthClientBody, idempotencyKey?: string): Promise<import("./oauth-clients").OAuthClientWithSecret>;
|
|
@@ -290,6 +409,15 @@ export declare function createAtlasClient(config: AtlasClientConfig): {
|
|
|
290
409
|
}>;
|
|
291
410
|
};
|
|
292
411
|
waitlist: {
|
|
412
|
+
create(body: {
|
|
413
|
+
email_address: string;
|
|
414
|
+
}, idempotencyKey?: string): Promise<import("./waitlist").WaitlistEntry>;
|
|
415
|
+
bulkCreate(emailAddresses: string[], idempotencyKey?: string): Promise<import("./waitlist").BulkWaitlistResult>;
|
|
416
|
+
delete(id: string): Promise<{
|
|
417
|
+
object: "waitlist_entry";
|
|
418
|
+
id: string;
|
|
419
|
+
deleted: true;
|
|
420
|
+
}>;
|
|
293
421
|
list(params?: import("./waitlist").ListWaitlistParams): Promise<import("./waitlist").ListWaitlistResponse>;
|
|
294
422
|
decide(id: string, body: {
|
|
295
423
|
status: "approved" | "denied";
|
|
@@ -335,16 +463,19 @@ export declare function createAtlasClient(config: AtlasClientConfig): {
|
|
|
335
463
|
}>;
|
|
336
464
|
};
|
|
337
465
|
invitations: {
|
|
466
|
+
bulkCreate(invitations: import("./invitations").CreateInvitationBody[], idempotencyKey?: string): Promise<import("./invitations").BulkInvitationsResult>;
|
|
338
467
|
list(params?: import("./types").CursorParams): Promise<import("./types").CursorPage<import("./invitations").Invitation>>;
|
|
339
468
|
create(body: import("./invitations").CreateInvitationBody, idempotencyKey?: string): Promise<import("./invitations").Invitation>;
|
|
340
469
|
revoke(id: string): Promise<import("./invitations").Invitation>;
|
|
341
470
|
};
|
|
342
471
|
webhooks: {
|
|
343
472
|
endpoints: {
|
|
344
|
-
list(): Promise<
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
473
|
+
list(): Promise<import("./webhooks").WebhookEndpointList>;
|
|
474
|
+
update(id: string, body: import("./webhooks").UpdateWebhookEndpointBody): Promise<import("./webhooks").WebhookEndpoint>;
|
|
475
|
+
revealSecret(id: string): Promise<import("./webhooks").WebhookSigningSecret>;
|
|
476
|
+
rotateSecret(id: string): Promise<import("./webhooks").WebhookSigningSecret>;
|
|
477
|
+
test(id: string): Promise<import("./webhooks").WebhookDeliveryQueued>;
|
|
478
|
+
redeliver(id: string, deliveryId: string): Promise<import("./webhooks").WebhookDeliveryQueued>;
|
|
348
479
|
create(body: import("./webhooks").CreateWebhookEndpointBody, idempotencyKey?: string): Promise<import("./webhooks").WebhookEndpointWithSecret>;
|
|
349
480
|
delete(id: string): Promise<{
|
|
350
481
|
object: "webhook_endpoint";
|
|
@@ -352,13 +483,20 @@ export declare function createAtlasClient(config: AtlasClientConfig): {
|
|
|
352
483
|
deleted: true;
|
|
353
484
|
}>;
|
|
354
485
|
};
|
|
355
|
-
deliveries(id: string): Promise<{
|
|
486
|
+
deliveries(id: string, params?: import("./webhooks").ListWebhookDeliveriesParams): Promise<{
|
|
356
487
|
data: import("./webhooks").WebhookDelivery[];
|
|
357
|
-
has_more:
|
|
488
|
+
has_more: boolean;
|
|
489
|
+
next_cursor?: string | null;
|
|
358
490
|
}>;
|
|
491
|
+
redeliver(endpointId: string, deliveryId: string): Promise<import("./webhooks").WebhookDeliveryQueued>;
|
|
359
492
|
};
|
|
360
493
|
signInTokens: {
|
|
361
494
|
create(body: import("./sign-in-tokens").CreateSignInTokenBody, idempotencyKey?: string): Promise<import("./sign-in-tokens").SignInToken>;
|
|
495
|
+
revoke(id: string): Promise<{
|
|
496
|
+
object: "sign_in_token";
|
|
497
|
+
id: string;
|
|
498
|
+
revoked: true;
|
|
499
|
+
}>;
|
|
362
500
|
};
|
|
363
501
|
auditLogs: {
|
|
364
502
|
list(params?: import("./audit-logs").ListAuditLogsParams): Promise<import("./types").CursorPage<import("./audit-logs").AuditLog>>;
|
|
@@ -390,6 +528,8 @@ export declare function createAtlasClient(config: AtlasClientConfig): {
|
|
|
390
528
|
id: string;
|
|
391
529
|
revoked: true;
|
|
392
530
|
}>;
|
|
531
|
+
recordUsage(id: string, body: import("./api-keys").RecordApiKeyUsageBody): Promise<import("./api-keys").ApiKeyUsageDebit>;
|
|
532
|
+
getUsage(id: string): Promise<import("./api-keys").ApiKeyUsage>;
|
|
393
533
|
mintToken(body: import("./api-keys").MintApiKeyTokenBody): Promise<import("./api-keys").ApiKeyToken>;
|
|
394
534
|
listRevoked(query?: import("./api-keys").ListRevokedApiKeysQuery): Promise<import("./types").CursorPage<import("./api-keys").RevokedApiKeyRef>>;
|
|
395
535
|
};
|
|
@@ -419,13 +559,9 @@ export declare function createAtlasClient(config: AtlasClientConfig): {
|
|
|
419
559
|
verifyM2mToken(token: string): Promise<import("./machines").M2mTokenVerification>;
|
|
420
560
|
};
|
|
421
561
|
oauthProviders: {
|
|
422
|
-
list(): Promise<import("./types").ListPage<import("./oauth-providers").OAuthProvider>>;
|
|
562
|
+
list(params?: import("./oauth-providers").ListOAuthProvidersParams): Promise<import("./types").ListPage<import("./oauth-providers").OAuthProvider>>;
|
|
423
563
|
get(provider: string): Promise<import("./oauth-providers").OAuthProvider>;
|
|
424
|
-
upsert(provider: string, body: import("./oauth-providers").UpsertOAuthProviderBody, idempotencyKey?: string): Promise<
|
|
425
|
-
object: "oauth_provider";
|
|
426
|
-
provider: string;
|
|
427
|
-
configured: true;
|
|
428
|
-
}>;
|
|
564
|
+
upsert(provider: string, body: import("./oauth-providers").UpsertOAuthProviderBody, idempotencyKey?: string): Promise<import("./oauth-providers").OAuthProviderUpsertResult>;
|
|
429
565
|
delete(provider: string): Promise<{
|
|
430
566
|
object: "oauth_provider";
|
|
431
567
|
provider: string;
|
|
@@ -678,6 +814,9 @@ export declare function createAtlasClient(config: AtlasClientConfig): {
|
|
|
678
814
|
deleted: true;
|
|
679
815
|
}>;
|
|
680
816
|
listSubscriptions(params?: import("./billing-plans").ListSubscriptionsParams): Promise<import("./types").ListPage<import("./billing-plans").BillingSubscription>>;
|
|
817
|
+
importSubscription(body: import("./billing-plans").ImportBillingSubscriptionBody, idempotencyKey?: string): Promise<import("./billing-plans").BillingSubscription>;
|
|
818
|
+
reportUsage(body: import("./billing-plans").ReportBillingUsageBody): Promise<import("./billing-plans").BillingUsageReport>;
|
|
819
|
+
syncSeats(subjectType: "user" | "org", subjectId: string): Promise<import("./billing-plans").BillingSeatSync>;
|
|
681
820
|
};
|
|
682
821
|
messaging: {
|
|
683
822
|
get(): Promise<import("./messaging").MessagingProviders>;
|
|
@@ -706,6 +845,8 @@ export declare function createAtlasClient(config: AtlasClientConfig): {
|
|
|
706
845
|
getJobErrors(id: string): Promise<import("./types").ListPage<import("./import-export").JobError>>;
|
|
707
846
|
};
|
|
708
847
|
dataSubjectRequests: {
|
|
848
|
+
create(body: import("./data-subject-requests").CreateDataSubjectRequestBody, idempotencyKey?: string): Promise<import("./data-subject-requests").DataSubjectRequest>;
|
|
849
|
+
cancel(id: string): Promise<import("./data-subject-requests").DataSubjectRequest>;
|
|
709
850
|
list(params?: import("./data-subject-requests").ListDataSubjectRequestsParams): Promise<import("./types").CursorPage<import("./data-subject-requests").DataSubjectRequest>>;
|
|
710
851
|
get(id: string): Promise<import("./data-subject-requests").DataSubjectRequest>;
|
|
711
852
|
fulfill(id: string, idempotencyKey?: string): Promise<import("./data-subject-requests").DataSubjectRequest>;
|
|
@@ -738,6 +879,12 @@ export declare function createAtlasClient(config: AtlasClientConfig): {
|
|
|
738
879
|
instance: {
|
|
739
880
|
get(): Promise<import("./instance").Instance>;
|
|
740
881
|
update(body: import("./instance").UpdateInstanceBody): Promise<import("./instance").InstanceUpdateResult>;
|
|
882
|
+
preflight(): Promise<import("./instance").PreflightReport>;
|
|
883
|
+
cookieConsent: {
|
|
884
|
+
get(): Promise<import("./instance").CookieConsent>;
|
|
885
|
+
set(body: import("./instance").SetCookieConsentBody): Promise<import("./instance").CookieConsent>;
|
|
886
|
+
delete(): Promise<import("./instance").CookieConsent>;
|
|
887
|
+
};
|
|
741
888
|
};
|
|
742
889
|
instanceSecurity: {
|
|
743
890
|
get(): Promise<import("./instance-security").InstanceSecurity>;
|
|
@@ -783,11 +930,290 @@ export declare function createAtlasClient(config: AtlasClientConfig): {
|
|
|
783
930
|
captcha: {
|
|
784
931
|
verify(token: string, options?: import("./captcha").VerifyCaptchaOptions): Promise<import("./captcha").CaptchaVerification>;
|
|
785
932
|
};
|
|
933
|
+
design: {
|
|
934
|
+
get(): Promise<import("./design").DesignSettings>;
|
|
935
|
+
replace(design: import("./design").AtlasDesign): Promise<import("./design").DesignSettings>;
|
|
936
|
+
update(design: import("./design").AtlasDesignPatch): Promise<import("./design").DesignSettings>;
|
|
937
|
+
preview(design: import("./design").AtlasDesign): Promise<import("./design").DesignPreview>;
|
|
938
|
+
organizations: {
|
|
939
|
+
get(organizationId: string): Promise<import("./design").DesignSettings>;
|
|
940
|
+
replace(organizationId: string, design: import("./design").AtlasDesign): Promise<import("./design").DesignSettings>;
|
|
941
|
+
update(organizationId: string, design: import("./design").AtlasDesignPatch): Promise<import("./design").DesignSettings>;
|
|
942
|
+
};
|
|
943
|
+
assets: {
|
|
944
|
+
upload(data: import("./design").DesignAssetData, options?: import("./design").UploadDesignAssetOptions): Promise<import("./design").DesignAsset>;
|
|
945
|
+
list(): Promise<import("./types").ListPage<import("./design").DesignAsset>>;
|
|
946
|
+
delete(assetId: string): Promise<import("./design").DeletedDesignAsset>;
|
|
947
|
+
};
|
|
948
|
+
catalog(): Promise<import("./design").DesignCatalog>;
|
|
949
|
+
};
|
|
950
|
+
entitlementOverrides: {
|
|
951
|
+
create(body: import("./entitlement-overrides").CreateEntitlementOverrideBody, idempotencyKey?: string): Promise<import("./entitlement-overrides").EntitlementOverride>;
|
|
952
|
+
list(params?: import("./entitlement-overrides").ListEntitlementOverridesParams): Promise<import("./types").ListPage<import("./entitlement-overrides").EntitlementOverride>>;
|
|
953
|
+
delete(id: string): Promise<{
|
|
954
|
+
object: "entitlement_override";
|
|
955
|
+
id: string;
|
|
956
|
+
deleted: true;
|
|
957
|
+
}>;
|
|
958
|
+
};
|
|
959
|
+
orgLdapConnections: {
|
|
960
|
+
list(params?: {
|
|
961
|
+
organization_id?: string;
|
|
962
|
+
}): Promise<import("./types").ListPage<import("./org-ldap-connections").OrgLdapConnection>>;
|
|
963
|
+
create(body: import("./org-ldap-connections").CreateOrgLdapConnectionBody, idempotencyKey?: string): Promise<import("./org-ldap-connections").OrgLdapConnection>;
|
|
964
|
+
get(id: string): Promise<import("./org-ldap-connections").OrgLdapConnection>;
|
|
965
|
+
update(id: string, body: import("./org-ldap-connections").UpdateOrgLdapConnectionBody, idempotencyKey?: string): Promise<import("./org-ldap-connections").OrgLdapConnection>;
|
|
966
|
+
delete(id: string): Promise<{
|
|
967
|
+
object: "org_ldap_connection";
|
|
968
|
+
id: string;
|
|
969
|
+
deleted: true;
|
|
970
|
+
}>;
|
|
971
|
+
test(id: string, body?: {
|
|
972
|
+
bind_password?: string;
|
|
973
|
+
}): Promise<import("./org-ldap-connections").OrgLdapConnectionTest>;
|
|
974
|
+
};
|
|
975
|
+
organizationSettingsSchema: {
|
|
976
|
+
get(): Promise<import("./organization-settings-schema").OrganizationSettingsSchema>;
|
|
977
|
+
create(schema: Record<string, unknown>, idempotencyKey?: string): Promise<import("./organization-settings-schema").OrganizationSettingsSchema>;
|
|
978
|
+
replace(schema: Record<string, unknown>, idempotencyKey?: string): Promise<import("./organization-settings-schema").OrganizationSettingsSchema>;
|
|
979
|
+
};
|
|
980
|
+
emailAddresses: {
|
|
981
|
+
verify(id: string): Promise<import("./email-addresses").EmailAddressRecord>;
|
|
982
|
+
setPrimary(id: string): Promise<import("./email-addresses").EmailAddressRecord>;
|
|
983
|
+
};
|
|
984
|
+
openfga: {
|
|
985
|
+
stores: {
|
|
986
|
+
list(): Promise<{
|
|
987
|
+
stores: import("./openfga").OpenFgaStore[];
|
|
988
|
+
}>;
|
|
989
|
+
create(body: {
|
|
990
|
+
name: string;
|
|
991
|
+
}, idempotencyKey?: string): Promise<import("./openfga").OpenFgaStore>;
|
|
992
|
+
get(store: string): Promise<import("./openfga").OpenFgaStore>;
|
|
993
|
+
};
|
|
994
|
+
authorizationModels: {
|
|
995
|
+
list(store: string): Promise<{
|
|
996
|
+
authorization_models: import("./openfga").OpenFgaAuthorizationModel[];
|
|
997
|
+
}>;
|
|
998
|
+
write(store: string, body: import("./openfga").WriteOpenFgaModelBody): Promise<{
|
|
999
|
+
authorization_model_id: string;
|
|
1000
|
+
}>;
|
|
1001
|
+
get(store: string, modelId: string): Promise<{
|
|
1002
|
+
authorization_model: import("./openfga").OpenFgaAuthorizationModel;
|
|
1003
|
+
}>;
|
|
1004
|
+
};
|
|
1005
|
+
check(store: string, body: import("./openfga").OpenFgaCheckBody): Promise<{
|
|
1006
|
+
allowed: boolean;
|
|
1007
|
+
}>;
|
|
1008
|
+
batchCheck(store: string, body: import("./openfga").OpenFgaBatchCheckBody): Promise<{
|
|
1009
|
+
result: Record<string, {
|
|
1010
|
+
allowed: boolean;
|
|
1011
|
+
}>;
|
|
1012
|
+
}>;
|
|
1013
|
+
expand(store: string, body: import("./openfga").OpenFgaExpandBody): Promise<{
|
|
1014
|
+
tree: {
|
|
1015
|
+
root: Record<string, unknown>;
|
|
1016
|
+
};
|
|
1017
|
+
}>;
|
|
1018
|
+
listObjects(store: string, body: import("./openfga").OpenFgaListObjectsBody): Promise<{
|
|
1019
|
+
objects: string[];
|
|
1020
|
+
}>;
|
|
1021
|
+
read(store: string, body?: import("./openfga").OpenFgaReadBody): Promise<{
|
|
1022
|
+
tuples: import("./openfga").OpenFgaTuple[];
|
|
1023
|
+
continuation_token: string;
|
|
1024
|
+
}>;
|
|
1025
|
+
write(store: string, body: import("./openfga").OpenFgaWriteBody): Promise<Record<string, never>>;
|
|
1026
|
+
};
|
|
1027
|
+
connectors: {
|
|
1028
|
+
list(): Promise<{
|
|
1029
|
+
object: "list";
|
|
1030
|
+
data: import("./connectors").CommunityConnector[];
|
|
1031
|
+
has_more: false;
|
|
1032
|
+
}>;
|
|
1033
|
+
create(body: import("./connectors").CreateCommunityConnectorBody, idempotencyKey?: string): Promise<import("./connectors").CommunityConnector>;
|
|
1034
|
+
get(id: string): Promise<import("./connectors").CommunityConnector>;
|
|
1035
|
+
update(id: string, body: import("./connectors").UpdateCommunityConnectorBody): Promise<import("./connectors").CommunityConnector>;
|
|
1036
|
+
delete(id: string): Promise<{
|
|
1037
|
+
object: "connector";
|
|
1038
|
+
id: string;
|
|
1039
|
+
deleted: true;
|
|
1040
|
+
}>;
|
|
1041
|
+
publish(id: string): Promise<import("./connectors").CommunityConnector>;
|
|
1042
|
+
unlist(id: string): Promise<import("./connectors").CommunityConnector>;
|
|
1043
|
+
setSharedCredentials(id: string, body: import("./connectors").ConnectorSharedCredentialsBody): Promise<import("./connectors").CommunityConnector>;
|
|
1044
|
+
install(slug: string, body: import("./connectors").InstallConnectorBody): Promise<import("./connectors").ConnectorInstall>;
|
|
1045
|
+
review(slug: string, body: {
|
|
1046
|
+
rating: number;
|
|
1047
|
+
body?: string;
|
|
1048
|
+
}): Promise<import("./connectors").ConnectorReview>;
|
|
1049
|
+
directory(params?: import("./connectors").ConnectorDirectoryParams): Promise<{
|
|
1050
|
+
object: "list";
|
|
1051
|
+
data: import("./connectors").ConnectorDirectoryEntry[];
|
|
1052
|
+
}>;
|
|
1053
|
+
};
|
|
1054
|
+
notifications: {
|
|
1055
|
+
send(body: import("./notifications").SendNotificationBody, idempotencyKey?: string): Promise<import("./notifications").SentNotification>;
|
|
1056
|
+
categories: {
|
|
1057
|
+
list(): Promise<{
|
|
1058
|
+
object: "list";
|
|
1059
|
+
data: import("./notifications").NotificationCategory[];
|
|
1060
|
+
}>;
|
|
1061
|
+
create(body: {
|
|
1062
|
+
key: string;
|
|
1063
|
+
label: string;
|
|
1064
|
+
}): Promise<import("./notifications").NotificationCategory>;
|
|
1065
|
+
update(key: string, body: {
|
|
1066
|
+
label: string;
|
|
1067
|
+
}): Promise<import("./notifications").NotificationCategory>;
|
|
1068
|
+
delete(key: string): Promise<{
|
|
1069
|
+
object: "notification_category";
|
|
1070
|
+
key: string;
|
|
1071
|
+
deleted: boolean;
|
|
1072
|
+
}>;
|
|
1073
|
+
};
|
|
1074
|
+
templates: {
|
|
1075
|
+
list(): Promise<{
|
|
1076
|
+
object: "list";
|
|
1077
|
+
data: import("./notifications").NotificationTemplate[];
|
|
1078
|
+
}>;
|
|
1079
|
+
create(body: import("./notifications").CreateNotificationTemplateBody): Promise<import("./notifications").NotificationTemplate>;
|
|
1080
|
+
get(name: string): Promise<import("./notifications").NotificationTemplate>;
|
|
1081
|
+
update(name: string, body: import("./notifications").UpdateNotificationTemplateBody): Promise<import("./notifications").NotificationTemplate>;
|
|
1082
|
+
delete(name: string): Promise<{
|
|
1083
|
+
object: "notification_template";
|
|
1084
|
+
name: string;
|
|
1085
|
+
deleted: boolean;
|
|
1086
|
+
}>;
|
|
1087
|
+
};
|
|
1088
|
+
};
|
|
1089
|
+
auditEvents: {
|
|
1090
|
+
create(body: import("./audit-events").CreateCustomAuditEventBody, idempotencyKey?: string): Promise<import("./audit-events").CustomAuditEvent>;
|
|
1091
|
+
createBatch(events: import("./audit-events").CreateCustomAuditEventBody[], idempotencyKey?: string): Promise<{
|
|
1092
|
+
object: "list";
|
|
1093
|
+
data: import("./audit-events").CustomAuditEvent[];
|
|
1094
|
+
}>;
|
|
1095
|
+
list(params?: import("./audit-events").ListCustomAuditEventsParams): Promise<import("./types").CursorPage<import("./audit-events").CustomAuditEvent>>;
|
|
1096
|
+
export(params?: import("./audit-events").ExportCustomAuditEventsParams): Promise<string>;
|
|
1097
|
+
deleteAll(params?: {
|
|
1098
|
+
organization_id?: string;
|
|
1099
|
+
action?: string;
|
|
1100
|
+
}): Promise<{
|
|
1101
|
+
object: "audit_events.bulk_delete";
|
|
1102
|
+
deleted: number;
|
|
1103
|
+
}>;
|
|
1104
|
+
};
|
|
1105
|
+
events: {
|
|
1106
|
+
list(params?: import("./activity").ListActivityEventsParams): Promise<import("./activity").ActivityEventsPage>;
|
|
1107
|
+
};
|
|
1108
|
+
usage: {
|
|
1109
|
+
get(params?: {
|
|
1110
|
+
days?: number;
|
|
1111
|
+
}): Promise<import("./activity").UsageReport>;
|
|
1112
|
+
};
|
|
1113
|
+
configChangelog: {
|
|
1114
|
+
list(params?: import("./activity").ListConfigChangelogParams): Promise<{
|
|
1115
|
+
object: "config_changelog";
|
|
1116
|
+
data: import("./activity").ConfigChangelogEntry[];
|
|
1117
|
+
has_more: boolean;
|
|
1118
|
+
next_cursor: string | null;
|
|
1119
|
+
}>;
|
|
1120
|
+
};
|
|
1121
|
+
pca: {
|
|
1122
|
+
attestors: {
|
|
1123
|
+
get(): Promise<import("./pca").PcaAdminAttestors>;
|
|
1124
|
+
set(trustedAttestorKeys: string[]): Promise<import("./pca").PcaAdminAttestors>;
|
|
1125
|
+
};
|
|
1126
|
+
freeze(body?: {
|
|
1127
|
+
reason?: string;
|
|
1128
|
+
}): Promise<import("./pca").PcaAdminFreeze>;
|
|
1129
|
+
unfreeze(): Promise<import("./pca").PcaAdminFreeze>;
|
|
1130
|
+
revoke(body: {
|
|
1131
|
+
grant_ref: string;
|
|
1132
|
+
cap_id: string;
|
|
1133
|
+
}): Promise<import("./pca").PcaAdminRevocation>;
|
|
1134
|
+
denyStepUp(id: string, body?: {
|
|
1135
|
+
reason?: string;
|
|
1136
|
+
}): Promise<import("./pca").PcaAdminStepUp>;
|
|
1137
|
+
};
|
|
1138
|
+
mcp: {
|
|
1139
|
+
describe(): Promise<import("./mcp").McpServerDescriptor>;
|
|
1140
|
+
rpc: <R = Record<string, unknown>>(method: string, params?: unknown, id?: string | number) => Promise<import("./mcp").McpJsonRpcResponse<R>>;
|
|
1141
|
+
listTools(): Promise<import("./mcp").McpJsonRpcResponse<{
|
|
1142
|
+
tools: Array<Record<string, unknown>>;
|
|
1143
|
+
}>>;
|
|
1144
|
+
callTool(name: string, args?: Record<string, unknown>): Promise<import("./mcp").McpJsonRpcResponse<import("./mcp").McpToolCallResult>>;
|
|
1145
|
+
};
|
|
1146
|
+
mcpConnector: {
|
|
1147
|
+
get(): Promise<import("./mcp").McpConnector>;
|
|
1148
|
+
update(body: import("./mcp").UpdateMcpConnectorBody, idempotencyKey?: string): Promise<import("./mcp").McpConnector>;
|
|
1149
|
+
disable(): Promise<import("./mcp").McpConnector>;
|
|
1150
|
+
};
|
|
1151
|
+
legacyAuthConnection: {
|
|
1152
|
+
get(): Promise<import("./legacy-auth").LegacyAuthConnection>;
|
|
1153
|
+
set(body: import("./legacy-auth").PutLegacyAuthConnectionBody, idempotencyKey?: string): Promise<import("./legacy-auth").LegacyAuthConnection>;
|
|
1154
|
+
delete(): Promise<{
|
|
1155
|
+
object: "legacy_auth_connection";
|
|
1156
|
+
deleted: boolean;
|
|
1157
|
+
}>;
|
|
1158
|
+
};
|
|
1159
|
+
redirectUrls: {
|
|
1160
|
+
list(): Promise<import("./types").ListPage<import("./redirect-urls").RedirectUrl> & {
|
|
1161
|
+
next_cursor?: string | null;
|
|
1162
|
+
}>;
|
|
1163
|
+
create(url: string, idempotencyKey?: string): Promise<import("./redirect-urls").RedirectUrl>;
|
|
1164
|
+
get(id: string): Promise<import("./redirect-urls").RedirectUrl>;
|
|
1165
|
+
delete(id: string): Promise<{
|
|
1166
|
+
object: "redirect_url";
|
|
1167
|
+
id: string;
|
|
1168
|
+
deleted: true;
|
|
1169
|
+
}>;
|
|
1170
|
+
};
|
|
1171
|
+
sessionExchangeApps: {
|
|
1172
|
+
list(): Promise<import("./types").ListPage<import("./session-exchange-apps").SessionExchangeApp> & {
|
|
1173
|
+
next_cursor?: string | null;
|
|
1174
|
+
}>;
|
|
1175
|
+
create(body: import("./session-exchange-apps").CreateSessionExchangeAppBody, idempotencyKey?: string): Promise<import("./session-exchange-apps").SessionExchangeApp>;
|
|
1176
|
+
get(id: string): Promise<import("./session-exchange-apps").SessionExchangeApp>;
|
|
1177
|
+
update(id: string, body: import("./session-exchange-apps").UpdateSessionExchangeAppBody): Promise<import("./session-exchange-apps").SessionExchangeApp>;
|
|
1178
|
+
delete(id: string): Promise<{
|
|
1179
|
+
object: "session_exchange_app";
|
|
1180
|
+
id: string;
|
|
1181
|
+
deleted: true;
|
|
1182
|
+
}>;
|
|
1183
|
+
};
|
|
1184
|
+
tickets: {
|
|
1185
|
+
create(body: import("./tickets").CreateTicketBody, idempotencyKey?: string): Promise<import("./tickets").CapabilityTicket>;
|
|
1186
|
+
redeem<P = unknown>(body: import("./tickets").RedeemTicketBody): Promise<import("./tickets").TicketRedemption<P>>;
|
|
1187
|
+
};
|
|
1188
|
+
testMode: {
|
|
1189
|
+
testInstance(body?: {
|
|
1190
|
+
rotate_secret?: boolean;
|
|
1191
|
+
}): Promise<import("./test-mode").TestInstance>;
|
|
1192
|
+
purgeTestUsers(body?: {
|
|
1193
|
+
limit?: number;
|
|
1194
|
+
}): Promise<import("./test-mode").TestUsersPurgeResult>;
|
|
1195
|
+
createTestingToken(): Promise<import("./test-mode").TestingToken>;
|
|
1196
|
+
};
|
|
1197
|
+
diagnostics: {
|
|
1198
|
+
loginReadiness(params: import("./diagnostics").LoginReadinessParams): Promise<import("./diagnostics").LoginReadiness>;
|
|
1199
|
+
requestInspector(params: import("./diagnostics").RequestInspectorParams): Promise<import("./diagnostics").RequestInspection>;
|
|
1200
|
+
};
|
|
786
1201
|
};
|
|
1202
|
+
/** Every resource namespace of the management client. */
|
|
1203
|
+
export type AtlasClientNamespaces = ReturnType<typeof buildNamespaces>;
|
|
787
1204
|
/** The fully typed client instance `createAtlasClient` returns. */
|
|
788
|
-
export
|
|
789
|
-
|
|
1205
|
+
export interface AtlasClient extends AtlasClientNamespaces {
|
|
1206
|
+
/**
|
|
1207
|
+
* A copy of this client with some settings changed — e.g.
|
|
1208
|
+
* `atlas.withOptions({ strict: true }).users.update(...)` for one strict call.
|
|
1209
|
+
*/
|
|
1210
|
+
withOptions(overrides: AtlasRequestSettings): AtlasClient;
|
|
1211
|
+
}
|
|
1212
|
+
export type { AtlasClientConfig, AtlasRequestSettings, UnknownFieldsEvent, RawBody, } from './request';
|
|
790
1213
|
export { DEFAULT_API_URL } from './request';
|
|
1214
|
+
export { AtlasErrorCodes, type AtlasErrorCode } from './error';
|
|
1215
|
+
export { createAtlasPlatformClient } from './platform';
|
|
1216
|
+
export type { AtlasPlatformClient, AtlasPlatformClientConfig } from './platform';
|
|
791
1217
|
export { AtlasApiError, type AtlasErrorItem } from './error';
|
|
792
1218
|
export { paginate, collect } from './paginate';
|
|
793
1219
|
export * from './types';
|
|
@@ -836,3 +1262,22 @@ export * from './instance';
|
|
|
836
1262
|
export * from './instance-security';
|
|
837
1263
|
export * from './tokens';
|
|
838
1264
|
export * from './captcha';
|
|
1265
|
+
export * from './design';
|
|
1266
|
+
export * from './entitlement-overrides';
|
|
1267
|
+
export * from './org-ldap-connections';
|
|
1268
|
+
export * from './organization-settings-schema';
|
|
1269
|
+
export * from './email-addresses';
|
|
1270
|
+
export * from './openfga';
|
|
1271
|
+
export * from './connectors';
|
|
1272
|
+
export * from './notifications';
|
|
1273
|
+
export * from './audit-events';
|
|
1274
|
+
export * from './activity';
|
|
1275
|
+
export * from './pca';
|
|
1276
|
+
export * from './mcp';
|
|
1277
|
+
export * from './legacy-auth';
|
|
1278
|
+
export * from './redirect-urls';
|
|
1279
|
+
export * from './session-exchange-apps';
|
|
1280
|
+
export * from './tickets';
|
|
1281
|
+
export * from './test-mode';
|
|
1282
|
+
export * from './diagnostics';
|
|
1283
|
+
export * from './platform';
|