auth0 7.6.0 → 7.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/dist/cjs/management/Client.d.ts +3 -0
- package/dist/cjs/management/Client.js +45 -40
- package/dist/cjs/management/api/requests/requests.d.ts +48 -2
- package/dist/cjs/management/api/resources/clients/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/clients/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/connections/resources/keys/client/Client.d.ts +3 -3
- package/dist/cjs/management/api/resources/connections/resources/keys/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/experimentation/resources/segments/client/Client.d.ts +2 -1
- package/dist/cjs/management/api/resources/experimentation/resources/segments/client/Client.js +4 -2
- package/dist/cjs/management/api/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/portals/client/Client.d.ts +112 -0
- package/dist/cjs/management/api/resources/portals/client/Client.js +395 -0
- package/dist/cjs/management/api/resources/portals/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/portals/client/index.js +2 -0
- package/dist/cjs/management/api/resources/portals/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/portals/exports.js +21 -0
- package/dist/cjs/management/api/resources/portals/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/portals/index.js +17 -0
- package/dist/cjs/management/api/resources/users/client/Client.d.ts +57 -0
- package/dist/cjs/management/api/resources/users/client/Client.js +185 -0
- package/dist/cjs/management/api/types/types.d.ts +461 -4
- package/dist/cjs/management/api/types/types.js +92 -22
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.js +1 -1
- package/dist/cjs/management/wrapper/ManagementClient.d.ts +4 -1
- package/dist/cjs/management/wrapper/ManagementClient.js +2 -1
- package/dist/cjs/management/wrapper/auth-helpers.d.ts +3 -0
- package/dist/cjs/management/wrapper/auth-helpers.js +5 -0
- package/dist/cjs/management/wrapper/domain.d.ts +12 -0
- package/dist/cjs/management/wrapper/domain.js +28 -0
- package/dist/cjs/management/wrapper/management-auth.d.ts +2 -1
- package/dist/cjs/management/wrapper/management-auth.js +2 -1
- package/dist/cjs/management/wrapper/token-provider.js +4 -4
- package/dist/esm/management/Client.d.mts +3 -0
- package/dist/esm/management/Client.mjs +5 -0
- package/dist/esm/management/api/requests/requests.d.mts +48 -2
- package/dist/esm/management/api/resources/clients/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/clients/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/connections/resources/keys/client/Client.d.mts +3 -3
- package/dist/esm/management/api/resources/connections/resources/keys/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/experimentation/resources/segments/client/Client.d.mts +2 -1
- package/dist/esm/management/api/resources/experimentation/resources/segments/client/Client.mjs +4 -2
- package/dist/esm/management/api/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/portals/client/Client.d.mts +112 -0
- package/dist/esm/management/api/resources/portals/client/Client.mjs +358 -0
- package/dist/esm/management/api/resources/portals/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/portals/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/portals/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/portals/exports.mjs +3 -0
- package/dist/esm/management/api/resources/portals/index.d.mts +1 -0
- package/dist/esm/management/api/resources/portals/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/client/Client.d.mts +57 -0
- package/dist/esm/management/api/resources/users/client/Client.mjs +185 -0
- package/dist/esm/management/api/types/types.d.mts +461 -4
- package/dist/esm/management/api/types/types.mjs +70 -1
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/dist/esm/management/wrapper/ManagementClient.d.mts +4 -1
- package/dist/esm/management/wrapper/ManagementClient.mjs +3 -2
- package/dist/esm/management/wrapper/auth-helpers.d.mts +3 -0
- package/dist/esm/management/wrapper/auth-helpers.mjs +5 -0
- package/dist/esm/management/wrapper/domain.d.mts +12 -0
- package/dist/esm/management/wrapper/domain.mjs +25 -0
- package/dist/esm/management/wrapper/management-auth.d.mts +2 -1
- package/dist/esm/management/wrapper/management-auth.mjs +2 -1
- package/dist/esm/management/wrapper/token-provider.mjs +4 -4
- package/package.json +12 -1
- package/reference.md +462 -3
|
@@ -26,6 +26,7 @@ import { LogsClient } from "./api/resources/logs/client/Client.js";
|
|
|
26
26
|
import { LogStreamsClient } from "./api/resources/logStreams/client/Client.js";
|
|
27
27
|
import { NetworkAclsClient } from "./api/resources/networkAcls/client/Client.js";
|
|
28
28
|
import { OrganizationsClient } from "./api/resources/organizations/client/Client.js";
|
|
29
|
+
import { PortalsClient } from "./api/resources/portals/client/Client.js";
|
|
29
30
|
import { PromptsClient } from "./api/resources/prompts/client/Client.js";
|
|
30
31
|
import { RateLimitPoliciesClient } from "./api/resources/rateLimitPolicies/client/Client.js";
|
|
31
32
|
import { RefreshTokensClient } from "./api/resources/refreshTokens/client/Client.js";
|
|
@@ -80,6 +81,7 @@ export declare class ManagementClient {
|
|
|
80
81
|
protected _logs: LogsClient | undefined;
|
|
81
82
|
protected _networkAcls: NetworkAclsClient | undefined;
|
|
82
83
|
protected _organizations: OrganizationsClient | undefined;
|
|
84
|
+
protected _portals: PortalsClient | undefined;
|
|
83
85
|
protected _prompts: PromptsClient | undefined;
|
|
84
86
|
protected _rateLimitPolicies: RateLimitPoliciesClient | undefined;
|
|
85
87
|
protected _refreshTokens: RefreshTokensClient | undefined;
|
|
@@ -129,6 +131,7 @@ export declare class ManagementClient {
|
|
|
129
131
|
get logs(): LogsClient;
|
|
130
132
|
get networkAcls(): NetworkAclsClient;
|
|
131
133
|
get organizations(): OrganizationsClient;
|
|
134
|
+
get portals(): PortalsClient;
|
|
132
135
|
get prompts(): PromptsClient;
|
|
133
136
|
get rateLimitPolicies(): RateLimitPoliciesClient;
|
|
134
137
|
get refreshTokens(): RefreshTokensClient;
|
|
@@ -72,26 +72,27 @@ const Client_js_25 = require("./api/resources/logs/client/Client.js");
|
|
|
72
72
|
const Client_js_26 = require("./api/resources/logStreams/client/Client.js");
|
|
73
73
|
const Client_js_27 = require("./api/resources/networkAcls/client/Client.js");
|
|
74
74
|
const Client_js_28 = require("./api/resources/organizations/client/Client.js");
|
|
75
|
-
const Client_js_29 = require("./api/resources/
|
|
76
|
-
const Client_js_30 = require("./api/resources/
|
|
77
|
-
const Client_js_31 = require("./api/resources/
|
|
78
|
-
const Client_js_32 = require("./api/resources/
|
|
79
|
-
const Client_js_33 = require("./api/resources/
|
|
80
|
-
const Client_js_34 = require("./api/resources/
|
|
81
|
-
const Client_js_35 = require("./api/resources/
|
|
82
|
-
const Client_js_36 = require("./api/resources/
|
|
83
|
-
const Client_js_37 = require("./api/resources/
|
|
84
|
-
const Client_js_38 = require("./api/resources/
|
|
85
|
-
const Client_js_39 = require("./api/resources/
|
|
86
|
-
const Client_js_40 = require("./api/resources/
|
|
87
|
-
const Client_js_41 = require("./api/resources/
|
|
88
|
-
const Client_js_42 = require("./api/resources/
|
|
89
|
-
const Client_js_43 = require("./api/resources/
|
|
90
|
-
const Client_js_44 = require("./api/resources/
|
|
91
|
-
const Client_js_45 = require("./api/resources/
|
|
92
|
-
const Client_js_46 = require("./api/resources/
|
|
93
|
-
const Client_js_47 = require("./api/resources/
|
|
94
|
-
const Client_js_48 = require("./api/resources/
|
|
75
|
+
const Client_js_29 = require("./api/resources/portals/client/Client.js");
|
|
76
|
+
const Client_js_30 = require("./api/resources/prompts/client/Client.js");
|
|
77
|
+
const Client_js_31 = require("./api/resources/rateLimitPolicies/client/Client.js");
|
|
78
|
+
const Client_js_32 = require("./api/resources/refreshTokens/client/Client.js");
|
|
79
|
+
const Client_js_33 = require("./api/resources/resourceServers/client/Client.js");
|
|
80
|
+
const Client_js_34 = require("./api/resources/riskAssessments/client/Client.js");
|
|
81
|
+
const Client_js_35 = require("./api/resources/roles/client/Client.js");
|
|
82
|
+
const Client_js_36 = require("./api/resources/rules/client/Client.js");
|
|
83
|
+
const Client_js_37 = require("./api/resources/rulesConfigs/client/Client.js");
|
|
84
|
+
const Client_js_38 = require("./api/resources/selfServiceProfiles/client/Client.js");
|
|
85
|
+
const Client_js_39 = require("./api/resources/sessions/client/Client.js");
|
|
86
|
+
const Client_js_40 = require("./api/resources/stats/client/Client.js");
|
|
87
|
+
const Client_js_41 = require("./api/resources/supplementalSignals/client/Client.js");
|
|
88
|
+
const Client_js_42 = require("./api/resources/tenants/client/Client.js");
|
|
89
|
+
const Client_js_43 = require("./api/resources/tickets/client/Client.js");
|
|
90
|
+
const Client_js_44 = require("./api/resources/tokenExchangeProfiles/client/Client.js");
|
|
91
|
+
const Client_js_45 = require("./api/resources/userAttributeProfiles/client/Client.js");
|
|
92
|
+
const Client_js_46 = require("./api/resources/userBlocks/client/Client.js");
|
|
93
|
+
const Client_js_47 = require("./api/resources/userGrants/client/Client.js");
|
|
94
|
+
const Client_js_48 = require("./api/resources/users/client/Client.js");
|
|
95
|
+
const Client_js_49 = require("./api/resources/verifiableCredentials/client/Client.js");
|
|
95
96
|
const BaseClient_js_1 = require("./BaseClient.js");
|
|
96
97
|
const core = __importStar(require("./core/index.js"));
|
|
97
98
|
class ManagementClient {
|
|
@@ -160,7 +161,7 @@ class ManagementClient {
|
|
|
160
161
|
}
|
|
161
162
|
get userGrants() {
|
|
162
163
|
var _a;
|
|
163
|
-
return ((_a = this._userGrants) !== null && _a !== void 0 ? _a : (this._userGrants = new
|
|
164
|
+
return ((_a = this._userGrants) !== null && _a !== void 0 ? _a : (this._userGrants = new Client_js_47.UserGrantsClient(this._options)));
|
|
164
165
|
}
|
|
165
166
|
get groups() {
|
|
166
167
|
var _a;
|
|
@@ -194,69 +195,73 @@ class ManagementClient {
|
|
|
194
195
|
var _a;
|
|
195
196
|
return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_js_28.OrganizationsClient(this._options)));
|
|
196
197
|
}
|
|
198
|
+
get portals() {
|
|
199
|
+
var _a;
|
|
200
|
+
return ((_a = this._portals) !== null && _a !== void 0 ? _a : (this._portals = new Client_js_29.PortalsClient(this._options)));
|
|
201
|
+
}
|
|
197
202
|
get prompts() {
|
|
198
203
|
var _a;
|
|
199
|
-
return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new
|
|
204
|
+
return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new Client_js_30.PromptsClient(this._options)));
|
|
200
205
|
}
|
|
201
206
|
get rateLimitPolicies() {
|
|
202
207
|
var _a;
|
|
203
|
-
return ((_a = this._rateLimitPolicies) !== null && _a !== void 0 ? _a : (this._rateLimitPolicies = new
|
|
208
|
+
return ((_a = this._rateLimitPolicies) !== null && _a !== void 0 ? _a : (this._rateLimitPolicies = new Client_js_31.RateLimitPoliciesClient(this._options)));
|
|
204
209
|
}
|
|
205
210
|
get refreshTokens() {
|
|
206
211
|
var _a;
|
|
207
|
-
return ((_a = this._refreshTokens) !== null && _a !== void 0 ? _a : (this._refreshTokens = new
|
|
212
|
+
return ((_a = this._refreshTokens) !== null && _a !== void 0 ? _a : (this._refreshTokens = new Client_js_32.RefreshTokensClient(this._options)));
|
|
208
213
|
}
|
|
209
214
|
get resourceServers() {
|
|
210
215
|
var _a;
|
|
211
|
-
return ((_a = this._resourceServers) !== null && _a !== void 0 ? _a : (this._resourceServers = new
|
|
216
|
+
return ((_a = this._resourceServers) !== null && _a !== void 0 ? _a : (this._resourceServers = new Client_js_33.ResourceServersClient(this._options)));
|
|
212
217
|
}
|
|
213
218
|
get roles() {
|
|
214
219
|
var _a;
|
|
215
|
-
return ((_a = this._roles) !== null && _a !== void 0 ? _a : (this._roles = new
|
|
220
|
+
return ((_a = this._roles) !== null && _a !== void 0 ? _a : (this._roles = new Client_js_35.RolesClient(this._options)));
|
|
216
221
|
}
|
|
217
222
|
get rules() {
|
|
218
223
|
var _a;
|
|
219
|
-
return ((_a = this._rules) !== null && _a !== void 0 ? _a : (this._rules = new
|
|
224
|
+
return ((_a = this._rules) !== null && _a !== void 0 ? _a : (this._rules = new Client_js_36.RulesClient(this._options)));
|
|
220
225
|
}
|
|
221
226
|
get rulesConfigs() {
|
|
222
227
|
var _a;
|
|
223
|
-
return ((_a = this._rulesConfigs) !== null && _a !== void 0 ? _a : (this._rulesConfigs = new
|
|
228
|
+
return ((_a = this._rulesConfigs) !== null && _a !== void 0 ? _a : (this._rulesConfigs = new Client_js_37.RulesConfigsClient(this._options)));
|
|
224
229
|
}
|
|
225
230
|
get selfServiceProfiles() {
|
|
226
231
|
var _a;
|
|
227
|
-
return ((_a = this._selfServiceProfiles) !== null && _a !== void 0 ? _a : (this._selfServiceProfiles = new
|
|
232
|
+
return ((_a = this._selfServiceProfiles) !== null && _a !== void 0 ? _a : (this._selfServiceProfiles = new Client_js_38.SelfServiceProfilesClient(this._options)));
|
|
228
233
|
}
|
|
229
234
|
get sessions() {
|
|
230
235
|
var _a;
|
|
231
|
-
return ((_a = this._sessions) !== null && _a !== void 0 ? _a : (this._sessions = new
|
|
236
|
+
return ((_a = this._sessions) !== null && _a !== void 0 ? _a : (this._sessions = new Client_js_39.SessionsClient(this._options)));
|
|
232
237
|
}
|
|
233
238
|
get stats() {
|
|
234
239
|
var _a;
|
|
235
|
-
return ((_a = this._stats) !== null && _a !== void 0 ? _a : (this._stats = new
|
|
240
|
+
return ((_a = this._stats) !== null && _a !== void 0 ? _a : (this._stats = new Client_js_40.StatsClient(this._options)));
|
|
236
241
|
}
|
|
237
242
|
get supplementalSignals() {
|
|
238
243
|
var _a;
|
|
239
|
-
return ((_a = this._supplementalSignals) !== null && _a !== void 0 ? _a : (this._supplementalSignals = new
|
|
244
|
+
return ((_a = this._supplementalSignals) !== null && _a !== void 0 ? _a : (this._supplementalSignals = new Client_js_41.SupplementalSignalsClient(this._options)));
|
|
240
245
|
}
|
|
241
246
|
get tickets() {
|
|
242
247
|
var _a;
|
|
243
|
-
return ((_a = this._tickets) !== null && _a !== void 0 ? _a : (this._tickets = new
|
|
248
|
+
return ((_a = this._tickets) !== null && _a !== void 0 ? _a : (this._tickets = new Client_js_43.TicketsClient(this._options)));
|
|
244
249
|
}
|
|
245
250
|
get tokenExchangeProfiles() {
|
|
246
251
|
var _a;
|
|
247
|
-
return ((_a = this._tokenExchangeProfiles) !== null && _a !== void 0 ? _a : (this._tokenExchangeProfiles = new
|
|
252
|
+
return ((_a = this._tokenExchangeProfiles) !== null && _a !== void 0 ? _a : (this._tokenExchangeProfiles = new Client_js_44.TokenExchangeProfilesClient(this._options)));
|
|
248
253
|
}
|
|
249
254
|
get userAttributeProfiles() {
|
|
250
255
|
var _a;
|
|
251
|
-
return ((_a = this._userAttributeProfiles) !== null && _a !== void 0 ? _a : (this._userAttributeProfiles = new
|
|
256
|
+
return ((_a = this._userAttributeProfiles) !== null && _a !== void 0 ? _a : (this._userAttributeProfiles = new Client_js_45.UserAttributeProfilesClient(this._options)));
|
|
252
257
|
}
|
|
253
258
|
get userBlocks() {
|
|
254
259
|
var _a;
|
|
255
|
-
return ((_a = this._userBlocks) !== null && _a !== void 0 ? _a : (this._userBlocks = new
|
|
260
|
+
return ((_a = this._userBlocks) !== null && _a !== void 0 ? _a : (this._userBlocks = new Client_js_46.UserBlocksClient(this._options)));
|
|
256
261
|
}
|
|
257
262
|
get users() {
|
|
258
263
|
var _a;
|
|
259
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
264
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_48.UsersClient(this._options)));
|
|
260
265
|
}
|
|
261
266
|
get anomaly() {
|
|
262
267
|
var _a;
|
|
@@ -280,15 +285,15 @@ class ManagementClient {
|
|
|
280
285
|
}
|
|
281
286
|
get riskAssessments() {
|
|
282
287
|
var _a;
|
|
283
|
-
return ((_a = this._riskAssessments) !== null && _a !== void 0 ? _a : (this._riskAssessments = new
|
|
288
|
+
return ((_a = this._riskAssessments) !== null && _a !== void 0 ? _a : (this._riskAssessments = new Client_js_34.RiskAssessmentsClient(this._options)));
|
|
284
289
|
}
|
|
285
290
|
get tenants() {
|
|
286
291
|
var _a;
|
|
287
|
-
return ((_a = this._tenants) !== null && _a !== void 0 ? _a : (this._tenants = new
|
|
292
|
+
return ((_a = this._tenants) !== null && _a !== void 0 ? _a : (this._tenants = new Client_js_42.TenantsClient(this._options)));
|
|
288
293
|
}
|
|
289
294
|
get verifiableCredentials() {
|
|
290
295
|
var _a;
|
|
291
|
-
return ((_a = this._verifiableCredentials) !== null && _a !== void 0 ? _a : (this._verifiableCredentials = new
|
|
296
|
+
return ((_a = this._verifiableCredentials) !== null && _a !== void 0 ? _a : (this._verifiableCredentials = new Client_js_49.VerifiableCredentialsClient(this._options)));
|
|
292
297
|
}
|
|
293
298
|
/**
|
|
294
299
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
@@ -292,6 +292,7 @@ export interface UpdateClientProfileRequestContent {
|
|
|
292
292
|
* is_first_party: true,
|
|
293
293
|
* app_type: "app_type",
|
|
294
294
|
* external_client_id: "external_client_id",
|
|
295
|
+
* agent_id: "agent_id",
|
|
295
296
|
* q: "q"
|
|
296
297
|
* }
|
|
297
298
|
*/
|
|
@@ -314,6 +315,8 @@ export interface ListClientsRequestParameters {
|
|
|
314
315
|
app_type?: string | null;
|
|
315
316
|
/** Optional filter by the <a href="https://drafts.oauth.net/draft-ietf-oauth-client-id-metadata-document/draft-ietf-oauth-client-id-metadata-document.html">Client ID Metadata Document</a> URI for CIMD-registered clients. */
|
|
316
317
|
external_client_id?: string | null;
|
|
318
|
+
/** Optional filter by the agent associated with the client.<br /><b>Additional Restrictions</b>:<br /><ul><li>Cannot be used in combination with other filters</li><li>Only <i>fields</i>, <i>include_fields</i>, <i>page</i>, <i>per_page</i>, and <i>include_totals</i> are supported alongside it</li><li>Checkpoint pagination (<i>from</i>, <i>take</i>) is not supported</li></ul> */
|
|
319
|
+
agent_id?: string | null;
|
|
317
320
|
/** Advanced Query in <a href="https://lucene.apache.org/core/2_9_4/queryparsersyntax.html">Lucene</a> syntax.<br /><b>Permitted Queries</b>:<br /><ul><li><i>client_grant.organization_id:{organization_id}</i></li><li><i>client_grant.allow_any_organization:true</i></li></ul><b>Additional Restrictions</b>:<br /><ul><li>Cannot be used in combination with other filters</li><li>Requires use of the <i>from</i> and <i>take</i> paging parameters (checkpoint paginatinon)</li><li>Reduced rate limits apply. See <a href="https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy/rate-limit-configurations/enterprise-public">Rate Limit Configurations</a></li></ul><i><b>Note</b>: Recent updates may not be immediately reflected in query results</i> */
|
|
318
321
|
q?: string | null;
|
|
319
322
|
}
|
|
@@ -416,6 +419,8 @@ export interface CreateClientRequestContent {
|
|
|
416
419
|
b2b_integration_configuration?: Management.B2BIntegrationConfiguration;
|
|
417
420
|
my_organization_configuration?: Management.ClientMyOrganizationPostConfiguration;
|
|
418
421
|
async_approval_notification_channels?: Management.ClientAsyncApprovalNotificationsChannelsApiPostConfiguration;
|
|
422
|
+
/** ID of the agent to associate with this client. */
|
|
423
|
+
agent_id?: string | null;
|
|
419
424
|
oidc_support?: Management.ClientOidcSupportPost;
|
|
420
425
|
}
|
|
421
426
|
/**
|
|
@@ -578,6 +583,8 @@ export interface UpdateClientRequestContent {
|
|
|
578
583
|
async_approval_notification_channels?: (Management.ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration | undefined) | null;
|
|
579
584
|
third_party_security_mode?: Management.ClientThirdPartySecurityModeEnum;
|
|
580
585
|
redirection_policy?: Management.ClientRedirectionPolicyEnum;
|
|
586
|
+
/** ID of the agent to associate with this client, or null to remove the association. */
|
|
587
|
+
agent_id?: string | null;
|
|
581
588
|
oidc_support?: Management.ClientOidcSupportPatch | null;
|
|
582
589
|
}
|
|
583
590
|
/**
|
|
@@ -1405,6 +1412,38 @@ export interface UpdateOrganizationRequestContent {
|
|
|
1405
1412
|
/** Whether app entitlement is active for this organization. */
|
|
1406
1413
|
is_app_entitlement_active?: boolean;
|
|
1407
1414
|
}
|
|
1415
|
+
/**
|
|
1416
|
+
* @example
|
|
1417
|
+
* {
|
|
1418
|
+
* slug: "slug",
|
|
1419
|
+
* name: "name",
|
|
1420
|
+
* client: {
|
|
1421
|
+
* token_endpoint_auth_method: "client_secret_post",
|
|
1422
|
+
* client_id: "client_id",
|
|
1423
|
+
* client_secret: "client_secret"
|
|
1424
|
+
* }
|
|
1425
|
+
* }
|
|
1426
|
+
*/
|
|
1427
|
+
export interface CreatePortalRequestContent {
|
|
1428
|
+
slug: Management.PortalSlug;
|
|
1429
|
+
name: Management.PortalName;
|
|
1430
|
+
client: Management.PortalClientSecretPostRequest;
|
|
1431
|
+
navigation?: Management.PortalNavigation;
|
|
1432
|
+
pages?: Management.PortalPagesByType;
|
|
1433
|
+
custom_code?: Management.PortalCustomCode;
|
|
1434
|
+
}
|
|
1435
|
+
/**
|
|
1436
|
+
* @example
|
|
1437
|
+
* {}
|
|
1438
|
+
*/
|
|
1439
|
+
export interface UpdatePortalRequestContent {
|
|
1440
|
+
slug?: Management.PortalSlug;
|
|
1441
|
+
name?: Management.PortalName;
|
|
1442
|
+
client?: Management.PortalClientSecretPostRequest;
|
|
1443
|
+
navigation?: (Management.PortalNavigationNullable | undefined) | null;
|
|
1444
|
+
pages?: (Management.PortalPagesByTypeNullable | undefined) | null;
|
|
1445
|
+
custom_code?: (Management.PortalCustomCodeNullable | undefined) | null;
|
|
1446
|
+
}
|
|
1408
1447
|
/**
|
|
1409
1448
|
* @example
|
|
1410
1449
|
* {}
|
|
@@ -1576,6 +1615,8 @@ export interface CreateResourceServerRequestContent {
|
|
|
1576
1615
|
proof_of_possession?: Management.ResourceServerProofOfPossession | null;
|
|
1577
1616
|
subject_type_authorization?: Management.ResourceServerSubjectTypeAuthorization;
|
|
1578
1617
|
authorization_policy?: Management.ResourceServerAuthorizationPolicy | null;
|
|
1618
|
+
agent_subject_claims?: Management.ResourceServerAgentSubjectClaimsSchemaEnum;
|
|
1619
|
+
type?: Management.ResourceServerTypeEnum | null;
|
|
1579
1620
|
}
|
|
1580
1621
|
/**
|
|
1581
1622
|
* @example
|
|
@@ -1651,6 +1692,8 @@ export interface UpdateResourceServerRequestContent {
|
|
|
1651
1692
|
proof_of_possession?: Management.ResourceServerProofOfPossession | null;
|
|
1652
1693
|
subject_type_authorization?: Management.ResourceServerSubjectTypeAuthorization;
|
|
1653
1694
|
authorization_policy?: Management.ResourceServerAuthorizationPolicy | null;
|
|
1695
|
+
agent_subject_claims?: Management.ResourceServerAgentSubjectClaimsSchemaEnum;
|
|
1696
|
+
type?: Management.ResourceServerTypeEnum | null;
|
|
1654
1697
|
}
|
|
1655
1698
|
/**
|
|
1656
1699
|
* @example
|
|
@@ -2353,9 +2396,9 @@ export interface UpdateBruteForceSettingsRequestContent {
|
|
|
2353
2396
|
/** List of trusted IP addresses that will not have attack protection enforced against them. */
|
|
2354
2397
|
allowlist?: string[];
|
|
2355
2398
|
mode?: Management.BruteForceProtectionModeEnum;
|
|
2399
|
+
form_submission_mode?: Management.BruteForceProtectionFormSubmissionModeEnum;
|
|
2356
2400
|
/** Maximum number of unsuccessful attempts. */
|
|
2357
2401
|
max_attempts?: number;
|
|
2358
|
-
form_submission_mode?: Management.BruteForceProtectionFormSubmissionModeEnum;
|
|
2359
2402
|
}
|
|
2360
2403
|
/**
|
|
2361
2404
|
* @example
|
|
@@ -3057,7 +3100,8 @@ export interface UpdateFeatureFlagRequestContent {
|
|
|
3057
3100
|
* {
|
|
3058
3101
|
* from: "from",
|
|
3059
3102
|
* take: 1,
|
|
3060
|
-
* type: "auth0"
|
|
3103
|
+
* type: "auth0",
|
|
3104
|
+
* status: "active"
|
|
3061
3105
|
* }
|
|
3062
3106
|
*/
|
|
3063
3107
|
export interface ListSegmentsRequestParameters {
|
|
@@ -3067,6 +3111,8 @@ export interface ListSegmentsRequestParameters {
|
|
|
3067
3111
|
take?: number | null;
|
|
3068
3112
|
/** Filter by type. Exact match. */
|
|
3069
3113
|
type?: Management.SegmentTypeFilterEnum | null;
|
|
3114
|
+
/** Filter by status. Exact match. */
|
|
3115
|
+
status?: Management.SegmentStatusEnum | null;
|
|
3070
3116
|
}
|
|
3071
3117
|
/**
|
|
3072
3118
|
* @example
|
|
@@ -114,6 +114,7 @@ class ClientsClient {
|
|
|
114
114
|
* is_first_party: true,
|
|
115
115
|
* app_type: "app_type",
|
|
116
116
|
* external_client_id: "external_client_id",
|
|
117
|
+
* agent_id: "agent_id",
|
|
117
118
|
* q: "q"
|
|
118
119
|
* })
|
|
119
120
|
*/
|
|
@@ -121,7 +122,7 @@ class ClientsClient {
|
|
|
121
122
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
122
123
|
const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
|
|
123
124
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
124
|
-
const { fields, include_fields: includeFields, page = 0, per_page: perPage = 50, include_totals: includeTotals = true, is_global: isGlobal, is_first_party: isFirstParty, app_type: appType, external_client_id: externalClientId, q, } = request;
|
|
125
|
+
const { fields, include_fields: includeFields, page = 0, per_page: perPage = 50, include_totals: includeTotals = true, is_global: isGlobal, is_first_party: isFirstParty, app_type: appType, external_client_id: externalClientId, agent_id: agentId, q, } = request;
|
|
125
126
|
const _queryParams = {
|
|
126
127
|
fields,
|
|
127
128
|
include_fields: includeFields,
|
|
@@ -132,6 +133,7 @@ class ClientsClient {
|
|
|
132
133
|
is_first_party: isFirstParty,
|
|
133
134
|
app_type: appType,
|
|
134
135
|
external_client_id: externalClientId,
|
|
136
|
+
agent_id: agentId,
|
|
135
137
|
q,
|
|
136
138
|
};
|
|
137
139
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
@@ -11,7 +11,7 @@ export declare class KeysClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<KeysClient.Options>;
|
|
12
12
|
constructor(options: KeysClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Gets the connection keys for the Okta or
|
|
14
|
+
* Gets the connection keys for the Okta, OIDC, or SAML (samlp) connection strategy.
|
|
15
15
|
*
|
|
16
16
|
* @param {string} id - ID of the connection
|
|
17
17
|
* @param {KeysClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -30,7 +30,7 @@ export declare class KeysClient {
|
|
|
30
30
|
get(id: string, requestOptions?: KeysClient.RequestOptions): core.HttpResponsePromise<Management.ConnectionKey[]>;
|
|
31
31
|
private __get;
|
|
32
32
|
/**
|
|
33
|
-
* Provision initial connection keys for Okta or
|
|
33
|
+
* Provision initial connection keys for Okta, OIDC, or SAML (samlp) connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication, enabling zero-downtime transitions.
|
|
34
34
|
*
|
|
35
35
|
* @param {string} id - ID of the connection
|
|
36
36
|
* @param {Management.PostConnectionKeysRequestContent | null} request
|
|
@@ -51,7 +51,7 @@ export declare class KeysClient {
|
|
|
51
51
|
create(id: string, request?: Management.PostConnectionKeysRequestContent | null, requestOptions?: KeysClient.RequestOptions): core.HttpResponsePromise<Management.PostConnectionsKeysResponseContent>;
|
|
52
52
|
private __create;
|
|
53
53
|
/**
|
|
54
|
-
* Rotates the connection keys for the Okta or
|
|
54
|
+
* Rotates the connection keys for the Okta, OIDC, or SAML (samlp) connection strategies.
|
|
55
55
|
*
|
|
56
56
|
* @param {string} id - ID of the connection
|
|
57
57
|
* @param {Management.RotateConnectionKeysRequestContent | null} request
|
|
@@ -57,7 +57,7 @@ class KeysClient {
|
|
|
57
57
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* Gets the connection keys for the Okta or
|
|
60
|
+
* Gets the connection keys for the Okta, OIDC, or SAML (samlp) connection strategy.
|
|
61
61
|
*
|
|
62
62
|
* @param {string} id - ID of the connection
|
|
63
63
|
* @param {KeysClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -119,7 +119,7 @@ class KeysClient {
|
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
|
-
* Provision initial connection keys for Okta or
|
|
122
|
+
* Provision initial connection keys for Okta, OIDC, or SAML (samlp) connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication, enabling zero-downtime transitions.
|
|
123
123
|
*
|
|
124
124
|
* @param {string} id - ID of the connection
|
|
125
125
|
* @param {Management.PostConnectionKeysRequestContent | null} request
|
|
@@ -191,7 +191,7 @@ class KeysClient {
|
|
|
191
191
|
});
|
|
192
192
|
}
|
|
193
193
|
/**
|
|
194
|
-
* Rotates the connection keys for the Okta or
|
|
194
|
+
* Rotates the connection keys for the Okta, OIDC, or SAML (samlp) connection strategies.
|
|
195
195
|
*
|
|
196
196
|
* @param {string} id - ID of the connection
|
|
197
197
|
* @param {Management.RotateConnectionKeysRequestContent | null} request
|
package/dist/cjs/management/api/resources/experimentation/resources/segments/client/Client.d.ts
CHANGED
|
@@ -27,7 +27,8 @@ export declare class SegmentsClient {
|
|
|
27
27
|
* await client.experimentation.segments.list({
|
|
28
28
|
* from: "from",
|
|
29
29
|
* take: 1,
|
|
30
|
-
* type: "auth0"
|
|
30
|
+
* type: "auth0",
|
|
31
|
+
* status: "active"
|
|
31
32
|
* })
|
|
32
33
|
*/
|
|
33
34
|
list(request?: Management.ListSegmentsRequestParameters, requestOptions?: SegmentsClient.RequestOptions): Promise<core.Page<Management.Segment, Management.ListSegmentsResponseContent>>;
|
package/dist/cjs/management/api/resources/experimentation/resources/segments/client/Client.js
CHANGED
|
@@ -73,18 +73,20 @@ class SegmentsClient {
|
|
|
73
73
|
* await client.experimentation.segments.list({
|
|
74
74
|
* from: "from",
|
|
75
75
|
* take: 1,
|
|
76
|
-
* type: "auth0"
|
|
76
|
+
* type: "auth0",
|
|
77
|
+
* status: "active"
|
|
77
78
|
* })
|
|
78
79
|
*/
|
|
79
80
|
list() {
|
|
80
81
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
81
82
|
const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
|
|
82
83
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
83
|
-
const { from: from_, take = 50, type: type_ } = request;
|
|
84
|
+
const { from: from_, take = 50, type: type_, status } = request;
|
|
84
85
|
const _queryParams = {
|
|
85
86
|
from: from_,
|
|
86
87
|
take,
|
|
87
88
|
type: type_ !== undefined ? type_ : undefined,
|
|
89
|
+
status: status !== undefined ? status : undefined,
|
|
88
90
|
};
|
|
89
91
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
90
92
|
let _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
@@ -27,6 +27,7 @@ export * as logs from "./logs/index.js";
|
|
|
27
27
|
export * as logStreams from "./logStreams/index.js";
|
|
28
28
|
export * as networkAcls from "./networkAcls/index.js";
|
|
29
29
|
export * as organizations from "./organizations/index.js";
|
|
30
|
+
export * as portals from "./portals/index.js";
|
|
30
31
|
export * as prompts from "./prompts/index.js";
|
|
31
32
|
export * as rateLimitPolicies from "./rateLimitPolicies/index.js";
|
|
32
33
|
export * as refreshTokens from "./refreshTokens/index.js";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.verifiableCredentials = exports.users = exports.userGrants = exports.userBlocks = exports.userAttributeProfiles = exports.tokenExchangeProfiles = exports.tickets = exports.tenants = exports.supplementalSignals = exports.stats = exports.sessions = exports.selfServiceProfiles = exports.rulesConfigs = exports.rules = exports.roles = exports.riskAssessments = exports.resourceServers = exports.refreshTokens = exports.rateLimitPolicies = exports.prompts = exports.organizations = exports.networkAcls = exports.logStreams = exports.logs = exports.keys = exports.jobs = exports.hooks = exports.guardian = exports.groups = exports.forms = exports.flows = exports.experimentation = exports.eventStreams = exports.events = exports.emailTemplates = exports.emails = exports.deviceCredentials = exports.customDomains = exports.connections = exports.connectionProfiles = exports.clients = exports.clientProfiles = exports.clientGrants = exports.branding = exports.attackProtection = exports.anomaly = exports.agents = exports.actions = void 0;
|
|
39
|
+
exports.verifiableCredentials = exports.users = exports.userGrants = exports.userBlocks = exports.userAttributeProfiles = exports.tokenExchangeProfiles = exports.tickets = exports.tenants = exports.supplementalSignals = exports.stats = exports.sessions = exports.selfServiceProfiles = exports.rulesConfigs = exports.rules = exports.roles = exports.riskAssessments = exports.resourceServers = exports.refreshTokens = exports.rateLimitPolicies = exports.prompts = exports.portals = exports.organizations = exports.networkAcls = exports.logStreams = exports.logs = exports.keys = exports.jobs = exports.hooks = exports.guardian = exports.groups = exports.forms = exports.flows = exports.experimentation = exports.eventStreams = exports.events = exports.emailTemplates = exports.emails = exports.deviceCredentials = exports.customDomains = exports.connections = exports.connectionProfiles = exports.clients = exports.clientProfiles = exports.clientGrants = exports.branding = exports.attackProtection = exports.anomaly = exports.agents = exports.actions = void 0;
|
|
40
40
|
exports.actions = __importStar(require("./actions/index.js"));
|
|
41
41
|
exports.agents = __importStar(require("./agents/index.js"));
|
|
42
42
|
exports.anomaly = __importStar(require("./anomaly/index.js"));
|
|
@@ -66,6 +66,7 @@ exports.logs = __importStar(require("./logs/index.js"));
|
|
|
66
66
|
exports.logStreams = __importStar(require("./logStreams/index.js"));
|
|
67
67
|
exports.networkAcls = __importStar(require("./networkAcls/index.js"));
|
|
68
68
|
exports.organizations = __importStar(require("./organizations/index.js"));
|
|
69
|
+
exports.portals = __importStar(require("./portals/index.js"));
|
|
69
70
|
exports.prompts = __importStar(require("./prompts/index.js"));
|
|
70
71
|
exports.rateLimitPolicies = __importStar(require("./rateLimitPolicies/index.js"));
|
|
71
72
|
exports.refreshTokens = __importStar(require("./refreshTokens/index.js"));
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../core/index.js";
|
|
4
|
+
import * as Management from "../../../index.js";
|
|
5
|
+
export declare namespace PortalsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class PortalsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<PortalsClient.Options>;
|
|
12
|
+
constructor(options: PortalsClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* @param {PortalsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
15
|
+
*
|
|
16
|
+
* @throws {@link Management.UnauthorizedError}
|
|
17
|
+
* @throws {@link Management.ForbiddenError}
|
|
18
|
+
* @throws {@link Management.NotFoundError}
|
|
19
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
20
|
+
* @throws {@link Management.InternalServerError}
|
|
21
|
+
* @throws {@link errors.ManagementError}
|
|
22
|
+
* @throws {@link errors.ManagementTimeoutError}
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* await client.portals.list()
|
|
26
|
+
*/
|
|
27
|
+
list(requestOptions?: PortalsClient.RequestOptions): core.HttpResponsePromise<Management.ListPortalsResponseContent>;
|
|
28
|
+
private __list;
|
|
29
|
+
/**
|
|
30
|
+
* @param {Management.CreatePortalRequestContent} request
|
|
31
|
+
* @param {PortalsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
32
|
+
*
|
|
33
|
+
* @throws {@link Management.BadRequestError}
|
|
34
|
+
* @throws {@link Management.UnauthorizedError}
|
|
35
|
+
* @throws {@link Management.ForbiddenError}
|
|
36
|
+
* @throws {@link Management.NotFoundError}
|
|
37
|
+
* @throws {@link Management.ConflictError}
|
|
38
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
39
|
+
* @throws {@link Management.InternalServerError}
|
|
40
|
+
* @throws {@link errors.ManagementError}
|
|
41
|
+
* @throws {@link errors.ManagementTimeoutError}
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* await client.portals.create({
|
|
45
|
+
* slug: "slug",
|
|
46
|
+
* name: "name",
|
|
47
|
+
* client: {
|
|
48
|
+
* token_endpoint_auth_method: "client_secret_post",
|
|
49
|
+
* client_id: "client_id",
|
|
50
|
+
* client_secret: "client_secret"
|
|
51
|
+
* }
|
|
52
|
+
* })
|
|
53
|
+
*/
|
|
54
|
+
create(request: Management.CreatePortalRequestContent, requestOptions?: PortalsClient.RequestOptions): core.HttpResponsePromise<Management.Portal>;
|
|
55
|
+
private __create;
|
|
56
|
+
/**
|
|
57
|
+
* @param {Management.PortalId} id
|
|
58
|
+
* @param {PortalsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link Management.BadRequestError}
|
|
61
|
+
* @throws {@link Management.UnauthorizedError}
|
|
62
|
+
* @throws {@link Management.ForbiddenError}
|
|
63
|
+
* @throws {@link Management.NotFoundError}
|
|
64
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
65
|
+
* @throws {@link Management.InternalServerError}
|
|
66
|
+
* @throws {@link errors.ManagementError}
|
|
67
|
+
* @throws {@link errors.ManagementTimeoutError}
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* await client.portals.get("id")
|
|
71
|
+
*/
|
|
72
|
+
get(id: Management.PortalId, requestOptions?: PortalsClient.RequestOptions): core.HttpResponsePromise<Management.Portal>;
|
|
73
|
+
private __get;
|
|
74
|
+
/**
|
|
75
|
+
* @param {Management.PortalId} id
|
|
76
|
+
* @param {PortalsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link Management.BadRequestError}
|
|
79
|
+
* @throws {@link Management.UnauthorizedError}
|
|
80
|
+
* @throws {@link Management.ForbiddenError}
|
|
81
|
+
* @throws {@link Management.NotFoundError}
|
|
82
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
83
|
+
* @throws {@link Management.InternalServerError}
|
|
84
|
+
* @throws {@link errors.ManagementError}
|
|
85
|
+
* @throws {@link errors.ManagementTimeoutError}
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* await client.portals.delete("id")
|
|
89
|
+
*/
|
|
90
|
+
delete(id: Management.PortalId, requestOptions?: PortalsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
91
|
+
private __delete;
|
|
92
|
+
/**
|
|
93
|
+
* @param {Management.PortalId} id
|
|
94
|
+
* @param {Management.UpdatePortalRequestContent} request
|
|
95
|
+
* @param {PortalsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link Management.BadRequestError}
|
|
98
|
+
* @throws {@link Management.UnauthorizedError}
|
|
99
|
+
* @throws {@link Management.ForbiddenError}
|
|
100
|
+
* @throws {@link Management.NotFoundError}
|
|
101
|
+
* @throws {@link Management.ConflictError}
|
|
102
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
103
|
+
* @throws {@link Management.InternalServerError}
|
|
104
|
+
* @throws {@link errors.ManagementError}
|
|
105
|
+
* @throws {@link errors.ManagementTimeoutError}
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* await client.portals.update("id")
|
|
109
|
+
*/
|
|
110
|
+
update(id: Management.PortalId, request?: Management.UpdatePortalRequestContent, requestOptions?: PortalsClient.RequestOptions): core.HttpResponsePromise<Management.Portal>;
|
|
111
|
+
private __update;
|
|
112
|
+
}
|