auth0 6.2.0 → 6.4.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/errors/UnprocessableEntityError.d.ts +5 -0
- package/dist/cjs/management/api/errors/UnprocessableEntityError.js +54 -0
- package/dist/cjs/management/api/errors/index.d.ts +1 -0
- package/dist/cjs/management/api/errors/index.js +1 -0
- package/dist/cjs/management/api/requests/requests.d.ts +119 -11
- package/dist/cjs/management/api/resources/clients/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/clients/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/connections/client/Client.d.ts +3 -1
- package/dist/cjs/management/api/resources/connections/client/Client.js +7 -1
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/flows/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/flows/client/Client.js +6 -0
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.js +6 -0
- package/dist/cjs/management/api/resources/forms/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/forms/client/Client.js +6 -0
- 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/keys/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/keys/client/Client.js +7 -2
- package/dist/cjs/management/api/resources/keys/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/keys/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/Client.d.ts +84 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/Client.js +311 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/index.js +2 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/exports.js +21 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/index.js +17 -0
- package/dist/cjs/management/api/resources/organizationTemplates/client/Client.d.ts +106 -0
- package/dist/cjs/management/api/resources/organizationTemplates/client/Client.js +411 -0
- package/dist/cjs/management/api/resources/organizationTemplates/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizationTemplates/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizationTemplates/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizationTemplates/exports.js +21 -0
- package/dist/cjs/management/api/resources/organizationTemplates/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizationTemplates/index.js +17 -0
- package/dist/cjs/management/api/resources/organizations/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/organizations/client/Client.js +7 -2
- package/dist/cjs/management/api/resources/organizations/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/organizations/resources/organizationTemplate/client/Client.d.ts +63 -0
- package/dist/cjs/management/api/resources/organizations/resources/organizationTemplate/client/Client.js +232 -0
- package/dist/cjs/management/api/resources/organizations/resources/organizationTemplate/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/organizationTemplate/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/organizationTemplate/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/organizationTemplate/exports.js +21 -0
- package/dist/cjs/management/api/resources/organizations/resources/organizationTemplate/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/organizationTemplate/index.js +17 -0
- package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.d.ts +17 -0
- package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +19 -0
- package/dist/cjs/management/api/types/types.d.ts +9066 -2089
- package/dist/cjs/management/api/types/types.js +1478 -160
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.js +1 -1
- package/dist/cjs/management/wrapper/token-provider.js +1 -1
- package/dist/esm/management/Client.d.mts +3 -0
- package/dist/esm/management/Client.mjs +5 -0
- package/dist/esm/management/api/errors/UnprocessableEntityError.d.mts +5 -0
- package/dist/esm/management/api/errors/UnprocessableEntityError.mjs +17 -0
- package/dist/esm/management/api/errors/index.d.mts +1 -0
- package/dist/esm/management/api/errors/index.mjs +1 -0
- package/dist/esm/management/api/requests/requests.d.mts +119 -11
- package/dist/esm/management/api/resources/clients/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/clients/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/connections/client/Client.d.mts +3 -1
- package/dist/esm/management/api/resources/connections/client/Client.mjs +7 -1
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/flows/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/flows/client/Client.mjs +6 -0
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +6 -0
- package/dist/esm/management/api/resources/forms/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/forms/client/Client.mjs +6 -0
- 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/keys/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/keys/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/keys/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/keys/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/client/Client.d.mts +84 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/client/Client.mjs +274 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/exports.mjs +3 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/index.d.mts +1 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizationTemplates/client/Client.d.mts +106 -0
- package/dist/esm/management/api/resources/organizationTemplates/client/Client.mjs +374 -0
- package/dist/esm/management/api/resources/organizationTemplates/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizationTemplates/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizationTemplates/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/organizationTemplates/exports.mjs +3 -0
- package/dist/esm/management/api/resources/organizationTemplates/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizationTemplates/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/organizations/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/organizations/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/organizationTemplate/client/Client.d.mts +63 -0
- package/dist/esm/management/api/resources/organizations/resources/organizationTemplate/client/Client.mjs +195 -0
- package/dist/esm/management/api/resources/organizations/resources/organizationTemplate/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/organizationTemplate/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/organizationTemplate/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/organizationTemplate/exports.mjs +3 -0
- package/dist/esm/management/api/resources/organizations/resources/organizationTemplate/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/organizationTemplate/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/organizations/client/Client.d.mts +17 -0
- package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +19 -0
- package/dist/esm/management/api/types/types.d.mts +9066 -2089
- package/dist/esm/management/api/types/types.mjs +1457 -144
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/dist/esm/management/wrapper/token-provider.mjs +1 -1
- package/package.json +34 -1
- package/reference.md +886 -39
|
@@ -24,6 +24,7 @@ import { LogsClient } from "./api/resources/logs/client/Client.js";
|
|
|
24
24
|
import { LogStreamsClient } from "./api/resources/logStreams/client/Client.js";
|
|
25
25
|
import { NetworkAclsClient } from "./api/resources/networkAcls/client/Client.js";
|
|
26
26
|
import { OrganizationsClient } from "./api/resources/organizations/client/Client.js";
|
|
27
|
+
import { OrganizationTemplatesClient } from "./api/resources/organizationTemplates/client/Client.js";
|
|
27
28
|
import { PromptsClient } from "./api/resources/prompts/client/Client.js";
|
|
28
29
|
import { RateLimitPoliciesClient } from "./api/resources/rateLimitPolicies/client/Client.js";
|
|
29
30
|
import { RefreshTokensClient } from "./api/resources/refreshTokens/client/Client.js";
|
|
@@ -75,6 +76,7 @@ export declare class ManagementClient {
|
|
|
75
76
|
protected _logStreams: LogStreamsClient | undefined;
|
|
76
77
|
protected _logs: LogsClient | undefined;
|
|
77
78
|
protected _networkAcls: NetworkAclsClient | undefined;
|
|
79
|
+
protected _organizationTemplates: OrganizationTemplatesClient | undefined;
|
|
78
80
|
protected _organizations: OrganizationsClient | undefined;
|
|
79
81
|
protected _prompts: PromptsClient | undefined;
|
|
80
82
|
protected _rateLimitPolicies: RateLimitPoliciesClient | undefined;
|
|
@@ -122,6 +124,7 @@ export declare class ManagementClient {
|
|
|
122
124
|
get logStreams(): LogStreamsClient;
|
|
123
125
|
get logs(): LogsClient;
|
|
124
126
|
get networkAcls(): NetworkAclsClient;
|
|
127
|
+
get organizationTemplates(): OrganizationTemplatesClient;
|
|
125
128
|
get organizations(): OrganizationsClient;
|
|
126
129
|
get prompts(): PromptsClient;
|
|
127
130
|
get rateLimitPolicies(): RateLimitPoliciesClient;
|
|
@@ -70,26 +70,27 @@ const Client_js_23 = require("./api/resources/logs/client/Client.js");
|
|
|
70
70
|
const Client_js_24 = require("./api/resources/logStreams/client/Client.js");
|
|
71
71
|
const Client_js_25 = require("./api/resources/networkAcls/client/Client.js");
|
|
72
72
|
const Client_js_26 = require("./api/resources/organizations/client/Client.js");
|
|
73
|
-
const Client_js_27 = require("./api/resources/
|
|
74
|
-
const Client_js_28 = require("./api/resources/
|
|
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/
|
|
73
|
+
const Client_js_27 = require("./api/resources/organizationTemplates/client/Client.js");
|
|
74
|
+
const Client_js_28 = require("./api/resources/prompts/client/Client.js");
|
|
75
|
+
const Client_js_29 = require("./api/resources/rateLimitPolicies/client/Client.js");
|
|
76
|
+
const Client_js_30 = require("./api/resources/refreshTokens/client/Client.js");
|
|
77
|
+
const Client_js_31 = require("./api/resources/resourceServers/client/Client.js");
|
|
78
|
+
const Client_js_32 = require("./api/resources/riskAssessments/client/Client.js");
|
|
79
|
+
const Client_js_33 = require("./api/resources/roles/client/Client.js");
|
|
80
|
+
const Client_js_34 = require("./api/resources/rules/client/Client.js");
|
|
81
|
+
const Client_js_35 = require("./api/resources/rulesConfigs/client/Client.js");
|
|
82
|
+
const Client_js_36 = require("./api/resources/selfServiceProfiles/client/Client.js");
|
|
83
|
+
const Client_js_37 = require("./api/resources/sessions/client/Client.js");
|
|
84
|
+
const Client_js_38 = require("./api/resources/stats/client/Client.js");
|
|
85
|
+
const Client_js_39 = require("./api/resources/supplementalSignals/client/Client.js");
|
|
86
|
+
const Client_js_40 = require("./api/resources/tenants/client/Client.js");
|
|
87
|
+
const Client_js_41 = require("./api/resources/tickets/client/Client.js");
|
|
88
|
+
const Client_js_42 = require("./api/resources/tokenExchangeProfiles/client/Client.js");
|
|
89
|
+
const Client_js_43 = require("./api/resources/userAttributeProfiles/client/Client.js");
|
|
90
|
+
const Client_js_44 = require("./api/resources/userBlocks/client/Client.js");
|
|
91
|
+
const Client_js_45 = require("./api/resources/userGrants/client/Client.js");
|
|
92
|
+
const Client_js_46 = require("./api/resources/users/client/Client.js");
|
|
93
|
+
const Client_js_47 = require("./api/resources/verifiableCredentials/client/Client.js");
|
|
93
94
|
const BaseClient_js_1 = require("./BaseClient.js");
|
|
94
95
|
const core = __importStar(require("./core/index.js"));
|
|
95
96
|
class ManagementClient {
|
|
@@ -154,7 +155,7 @@ class ManagementClient {
|
|
|
154
155
|
}
|
|
155
156
|
get userGrants() {
|
|
156
157
|
var _a;
|
|
157
|
-
return ((_a = this._userGrants) !== null && _a !== void 0 ? _a : (this._userGrants = new
|
|
158
|
+
return ((_a = this._userGrants) !== null && _a !== void 0 ? _a : (this._userGrants = new Client_js_45.UserGrantsClient(this._options)));
|
|
158
159
|
}
|
|
159
160
|
get groups() {
|
|
160
161
|
var _a;
|
|
@@ -180,73 +181,77 @@ class ManagementClient {
|
|
|
180
181
|
var _a;
|
|
181
182
|
return ((_a = this._networkAcls) !== null && _a !== void 0 ? _a : (this._networkAcls = new Client_js_25.NetworkAclsClient(this._options)));
|
|
182
183
|
}
|
|
184
|
+
get organizationTemplates() {
|
|
185
|
+
var _a;
|
|
186
|
+
return ((_a = this._organizationTemplates) !== null && _a !== void 0 ? _a : (this._organizationTemplates = new Client_js_27.OrganizationTemplatesClient(this._options)));
|
|
187
|
+
}
|
|
183
188
|
get organizations() {
|
|
184
189
|
var _a;
|
|
185
190
|
return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_js_26.OrganizationsClient(this._options)));
|
|
186
191
|
}
|
|
187
192
|
get prompts() {
|
|
188
193
|
var _a;
|
|
189
|
-
return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new
|
|
194
|
+
return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new Client_js_28.PromptsClient(this._options)));
|
|
190
195
|
}
|
|
191
196
|
get rateLimitPolicies() {
|
|
192
197
|
var _a;
|
|
193
|
-
return ((_a = this._rateLimitPolicies) !== null && _a !== void 0 ? _a : (this._rateLimitPolicies = new
|
|
198
|
+
return ((_a = this._rateLimitPolicies) !== null && _a !== void 0 ? _a : (this._rateLimitPolicies = new Client_js_29.RateLimitPoliciesClient(this._options)));
|
|
194
199
|
}
|
|
195
200
|
get refreshTokens() {
|
|
196
201
|
var _a;
|
|
197
|
-
return ((_a = this._refreshTokens) !== null && _a !== void 0 ? _a : (this._refreshTokens = new
|
|
202
|
+
return ((_a = this._refreshTokens) !== null && _a !== void 0 ? _a : (this._refreshTokens = new Client_js_30.RefreshTokensClient(this._options)));
|
|
198
203
|
}
|
|
199
204
|
get resourceServers() {
|
|
200
205
|
var _a;
|
|
201
|
-
return ((_a = this._resourceServers) !== null && _a !== void 0 ? _a : (this._resourceServers = new
|
|
206
|
+
return ((_a = this._resourceServers) !== null && _a !== void 0 ? _a : (this._resourceServers = new Client_js_31.ResourceServersClient(this._options)));
|
|
202
207
|
}
|
|
203
208
|
get roles() {
|
|
204
209
|
var _a;
|
|
205
|
-
return ((_a = this._roles) !== null && _a !== void 0 ? _a : (this._roles = new
|
|
210
|
+
return ((_a = this._roles) !== null && _a !== void 0 ? _a : (this._roles = new Client_js_33.RolesClient(this._options)));
|
|
206
211
|
}
|
|
207
212
|
get rules() {
|
|
208
213
|
var _a;
|
|
209
|
-
return ((_a = this._rules) !== null && _a !== void 0 ? _a : (this._rules = new
|
|
214
|
+
return ((_a = this._rules) !== null && _a !== void 0 ? _a : (this._rules = new Client_js_34.RulesClient(this._options)));
|
|
210
215
|
}
|
|
211
216
|
get rulesConfigs() {
|
|
212
217
|
var _a;
|
|
213
|
-
return ((_a = this._rulesConfigs) !== null && _a !== void 0 ? _a : (this._rulesConfigs = new
|
|
218
|
+
return ((_a = this._rulesConfigs) !== null && _a !== void 0 ? _a : (this._rulesConfigs = new Client_js_35.RulesConfigsClient(this._options)));
|
|
214
219
|
}
|
|
215
220
|
get selfServiceProfiles() {
|
|
216
221
|
var _a;
|
|
217
|
-
return ((_a = this._selfServiceProfiles) !== null && _a !== void 0 ? _a : (this._selfServiceProfiles = new
|
|
222
|
+
return ((_a = this._selfServiceProfiles) !== null && _a !== void 0 ? _a : (this._selfServiceProfiles = new Client_js_36.SelfServiceProfilesClient(this._options)));
|
|
218
223
|
}
|
|
219
224
|
get sessions() {
|
|
220
225
|
var _a;
|
|
221
|
-
return ((_a = this._sessions) !== null && _a !== void 0 ? _a : (this._sessions = new
|
|
226
|
+
return ((_a = this._sessions) !== null && _a !== void 0 ? _a : (this._sessions = new Client_js_37.SessionsClient(this._options)));
|
|
222
227
|
}
|
|
223
228
|
get stats() {
|
|
224
229
|
var _a;
|
|
225
|
-
return ((_a = this._stats) !== null && _a !== void 0 ? _a : (this._stats = new
|
|
230
|
+
return ((_a = this._stats) !== null && _a !== void 0 ? _a : (this._stats = new Client_js_38.StatsClient(this._options)));
|
|
226
231
|
}
|
|
227
232
|
get supplementalSignals() {
|
|
228
233
|
var _a;
|
|
229
|
-
return ((_a = this._supplementalSignals) !== null && _a !== void 0 ? _a : (this._supplementalSignals = new
|
|
234
|
+
return ((_a = this._supplementalSignals) !== null && _a !== void 0 ? _a : (this._supplementalSignals = new Client_js_39.SupplementalSignalsClient(this._options)));
|
|
230
235
|
}
|
|
231
236
|
get tickets() {
|
|
232
237
|
var _a;
|
|
233
|
-
return ((_a = this._tickets) !== null && _a !== void 0 ? _a : (this._tickets = new
|
|
238
|
+
return ((_a = this._tickets) !== null && _a !== void 0 ? _a : (this._tickets = new Client_js_41.TicketsClient(this._options)));
|
|
234
239
|
}
|
|
235
240
|
get tokenExchangeProfiles() {
|
|
236
241
|
var _a;
|
|
237
|
-
return ((_a = this._tokenExchangeProfiles) !== null && _a !== void 0 ? _a : (this._tokenExchangeProfiles = new
|
|
242
|
+
return ((_a = this._tokenExchangeProfiles) !== null && _a !== void 0 ? _a : (this._tokenExchangeProfiles = new Client_js_42.TokenExchangeProfilesClient(this._options)));
|
|
238
243
|
}
|
|
239
244
|
get userAttributeProfiles() {
|
|
240
245
|
var _a;
|
|
241
|
-
return ((_a = this._userAttributeProfiles) !== null && _a !== void 0 ? _a : (this._userAttributeProfiles = new
|
|
246
|
+
return ((_a = this._userAttributeProfiles) !== null && _a !== void 0 ? _a : (this._userAttributeProfiles = new Client_js_43.UserAttributeProfilesClient(this._options)));
|
|
242
247
|
}
|
|
243
248
|
get userBlocks() {
|
|
244
249
|
var _a;
|
|
245
|
-
return ((_a = this._userBlocks) !== null && _a !== void 0 ? _a : (this._userBlocks = new
|
|
250
|
+
return ((_a = this._userBlocks) !== null && _a !== void 0 ? _a : (this._userBlocks = new Client_js_44.UserBlocksClient(this._options)));
|
|
246
251
|
}
|
|
247
252
|
get users() {
|
|
248
253
|
var _a;
|
|
249
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
254
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_46.UsersClient(this._options)));
|
|
250
255
|
}
|
|
251
256
|
get anomaly() {
|
|
252
257
|
var _a;
|
|
@@ -270,15 +275,15 @@ class ManagementClient {
|
|
|
270
275
|
}
|
|
271
276
|
get riskAssessments() {
|
|
272
277
|
var _a;
|
|
273
|
-
return ((_a = this._riskAssessments) !== null && _a !== void 0 ? _a : (this._riskAssessments = new
|
|
278
|
+
return ((_a = this._riskAssessments) !== null && _a !== void 0 ? _a : (this._riskAssessments = new Client_js_32.RiskAssessmentsClient(this._options)));
|
|
274
279
|
}
|
|
275
280
|
get tenants() {
|
|
276
281
|
var _a;
|
|
277
|
-
return ((_a = this._tenants) !== null && _a !== void 0 ? _a : (this._tenants = new
|
|
282
|
+
return ((_a = this._tenants) !== null && _a !== void 0 ? _a : (this._tenants = new Client_js_40.TenantsClient(this._options)));
|
|
278
283
|
}
|
|
279
284
|
get verifiableCredentials() {
|
|
280
285
|
var _a;
|
|
281
|
-
return ((_a = this._verifiableCredentials) !== null && _a !== void 0 ? _a : (this._verifiableCredentials = new
|
|
286
|
+
return ((_a = this._verifiableCredentials) !== null && _a !== void 0 ? _a : (this._verifiableCredentials = new Client_js_47.VerifiableCredentialsClient(this._options)));
|
|
282
287
|
}
|
|
283
288
|
/**
|
|
284
289
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.UnprocessableEntityError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../errors/index.js"));
|
|
39
|
+
class UnprocessableEntityError extends errors.ManagementError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "UnprocessableEntityError",
|
|
43
|
+
statusCode: 422,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
48
|
+
if (Error.captureStackTrace) {
|
|
49
|
+
Error.captureStackTrace(this, this.constructor);
|
|
50
|
+
}
|
|
51
|
+
this.name = "UnprocessableEntityError";
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.UnprocessableEntityError = UnprocessableEntityError;
|
|
@@ -26,3 +26,4 @@ __exportStar(require("./PreconditionFailedError.js"), exports);
|
|
|
26
26
|
__exportStar(require("./ServiceUnavailableError.js"), exports);
|
|
27
27
|
__exportStar(require("./TooManyRequestsError.js"), exports);
|
|
28
28
|
__exportStar(require("./UnauthorizedError.js"), exports);
|
|
29
|
+
__exportStar(require("./UnprocessableEntityError.js"), exports);
|
|
@@ -343,6 +343,7 @@ export interface CreateClientRequestContent {
|
|
|
343
343
|
third_party_security_mode?: Management.ClientThirdPartySecurityModeEnum;
|
|
344
344
|
redirection_policy?: Management.ClientRedirectionPolicyEnum;
|
|
345
345
|
express_configuration?: Management.ExpressConfiguration;
|
|
346
|
+
b2b_integration_configuration?: Management.B2BIntegrationConfiguration;
|
|
346
347
|
my_organization_configuration?: Management.ClientMyOrganizationPostConfiguration;
|
|
347
348
|
async_approval_notification_channels?: Management.ClientAsyncApprovalNotificationsChannelsApiPostConfiguration;
|
|
348
349
|
}
|
|
@@ -471,6 +472,7 @@ export interface UpdateClientRequestContent {
|
|
|
471
472
|
/** Specifies how long, in seconds, a Pushed Authorization Request URI remains valid */
|
|
472
473
|
par_request_expiry?: number | null;
|
|
473
474
|
express_configuration?: Management.ExpressConfigurationOrNull | null;
|
|
475
|
+
b2b_integration_configuration?: Management.B2BIntegrationConfiguration;
|
|
474
476
|
my_organization_configuration?: Management.ClientMyOrganizationPatchConfiguration | null;
|
|
475
477
|
async_approval_notification_channels?: (Management.ClientAsyncApprovalNotificationsChannelsApiPatchConfiguration | undefined) | null;
|
|
476
478
|
third_party_security_mode?: Management.ClientThirdPartySecurityModeEnum;
|
|
@@ -502,6 +504,8 @@ export interface CreateConnectionProfileRequestContent {
|
|
|
502
504
|
enabled_features?: Management.ConnectionProfileEnabledFeatures;
|
|
503
505
|
connection_config?: Management.ConnectionProfileConfig;
|
|
504
506
|
strategy_overrides?: Management.ConnectionProfileStrategyOverrides;
|
|
507
|
+
provisioning?: Management.ConnectionProfileProvisioning;
|
|
508
|
+
cross_app_access_resource_app?: Management.ConnectionProfileCrossAppAccessResourceApp;
|
|
505
509
|
}
|
|
506
510
|
/**
|
|
507
511
|
* @example
|
|
@@ -514,6 +518,8 @@ export interface UpdateConnectionProfileRequestContent {
|
|
|
514
518
|
enabled_features?: Management.ConnectionProfileEnabledFeatures;
|
|
515
519
|
connection_config?: Management.ConnectionProfileConfig;
|
|
516
520
|
strategy_overrides?: Management.ConnectionProfileStrategyOverrides;
|
|
521
|
+
provisioning?: Management.ConnectionProfileProvisioning;
|
|
522
|
+
cross_app_access_resource_app?: Management.ConnectionProfileCrossAppAccessResourceApp;
|
|
517
523
|
}
|
|
518
524
|
/**
|
|
519
525
|
* @example
|
|
@@ -638,7 +644,7 @@ export interface CreateCustomDomainRequestContent {
|
|
|
638
644
|
type: Management.CustomDomainProvisioningTypeEnum;
|
|
639
645
|
verification_method?: Management.CustomDomainVerificationMethodEnum;
|
|
640
646
|
tls_policy?: Management.CustomDomainTlsPolicyEnum;
|
|
641
|
-
custom_client_ip_header?: Management.CustomDomainCustomClientIpHeader | undefined;
|
|
647
|
+
custom_client_ip_header?: (Management.CustomDomainCustomClientIpHeader | undefined) | null;
|
|
642
648
|
domain_metadata?: Management.DomainMetadata;
|
|
643
649
|
/** Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used. */
|
|
644
650
|
relying_party_identifier?: string;
|
|
@@ -660,7 +666,7 @@ export interface SetDefaultCustomDomainRequestContent {
|
|
|
660
666
|
export interface UpdateCustomDomainRequestContent {
|
|
661
667
|
/** recommended includes TLS 1.2 */
|
|
662
668
|
tls_policy?: Management.CustomDomainTlsPolicyEnum;
|
|
663
|
-
custom_client_ip_header?: Management.CustomDomainCustomClientIpHeader | undefined;
|
|
669
|
+
custom_client_ip_header?: (Management.CustomDomainCustomClientIpHeader | undefined) | null;
|
|
664
670
|
domain_metadata?: Management.DomainMetadata;
|
|
665
671
|
/** Relying Party ID (rpId) to be used for Passkeys on this custom domain. Set to null to remove the rpId and fall back to using the full domain. */
|
|
666
672
|
relying_party_identifier?: string | null;
|
|
@@ -941,13 +947,13 @@ export interface GetFormRequestParameters {
|
|
|
941
947
|
*/
|
|
942
948
|
export interface UpdateFormRequestContent {
|
|
943
949
|
name?: string;
|
|
944
|
-
messages?: Management.FormMessagesNullable | undefined;
|
|
945
|
-
languages?: Management.FormLanguagesNullable | undefined;
|
|
946
|
-
translations?: Management.FormTranslationsNullable | undefined;
|
|
947
|
-
nodes?: Management.FormNodeListNullable | undefined;
|
|
948
|
-
start?: Management.FormStartNodeNullable | undefined;
|
|
949
|
-
ending?: Management.FormEndingNodeNullable | undefined;
|
|
950
|
-
style?: Management.FormStyleNullable | undefined;
|
|
950
|
+
messages?: (Management.FormMessagesNullable | undefined) | null;
|
|
951
|
+
languages?: (Management.FormLanguagesNullable | undefined) | null;
|
|
952
|
+
translations?: (Management.FormTranslationsNullable | undefined) | null;
|
|
953
|
+
nodes?: (Management.FormNodeListNullable | undefined) | null;
|
|
954
|
+
start?: (Management.FormStartNodeNullable | undefined) | null;
|
|
955
|
+
ending?: (Management.FormEndingNodeNullable | undefined) | null;
|
|
956
|
+
style?: (Management.FormStyleNullable | undefined) | null;
|
|
951
957
|
}
|
|
952
958
|
/**
|
|
953
959
|
* @example
|
|
@@ -1198,6 +1204,93 @@ export interface UpdateNetworkAclRequestContent {
|
|
|
1198
1204
|
priority?: number;
|
|
1199
1205
|
rule?: Management.NetworkAclRule;
|
|
1200
1206
|
}
|
|
1207
|
+
/**
|
|
1208
|
+
* @example
|
|
1209
|
+
* {
|
|
1210
|
+
* from: "from",
|
|
1211
|
+
* take: 1
|
|
1212
|
+
* }
|
|
1213
|
+
*/
|
|
1214
|
+
export interface ListOrganizationTemplatesRequestParameters {
|
|
1215
|
+
/** Optional Id from which to start selection. */
|
|
1216
|
+
from?: string | null;
|
|
1217
|
+
/** Number of results per page. Defaults to 5. Values greater than 10 are capped at 10. */
|
|
1218
|
+
take?: number | null;
|
|
1219
|
+
}
|
|
1220
|
+
/**
|
|
1221
|
+
* @example
|
|
1222
|
+
* {
|
|
1223
|
+
* name: "name",
|
|
1224
|
+
* organization_deletion_behavior: "allow",
|
|
1225
|
+
* enforce_permission_ceiling: true,
|
|
1226
|
+
* enforce_self_assignment_restriction: true
|
|
1227
|
+
* }
|
|
1228
|
+
*/
|
|
1229
|
+
export interface CreateOrganizationTemplateRequestContent {
|
|
1230
|
+
/** The name of the organization template. */
|
|
1231
|
+
name: string;
|
|
1232
|
+
/** Whether this is the default template applied to new organizations. */
|
|
1233
|
+
is_default?: boolean;
|
|
1234
|
+
organization_deletion_behavior: Management.OrganizationDeletionBehaviorEnum;
|
|
1235
|
+
connection_deletion_behavior?: Management.ConnectionDeletionBehaviorEnum;
|
|
1236
|
+
/** Whether to enforce permission ceiling for organizations using this template. */
|
|
1237
|
+
enforce_permission_ceiling: boolean;
|
|
1238
|
+
/** Whether to enforce self-assignment restrictions for organizations using this template. */
|
|
1239
|
+
enforce_self_assignment_restriction: boolean;
|
|
1240
|
+
/** The connection profile to apply to new connections. */
|
|
1241
|
+
connection_profile_id?: string | null;
|
|
1242
|
+
/** The user attribute profile to apply to organizations. */
|
|
1243
|
+
user_attribute_profile_id?: string | null;
|
|
1244
|
+
/** List of allowed connection strategies for this template. */
|
|
1245
|
+
allowed_strategies?: Management.OrganizationTemplateAllowedStrategyEnum[] | null;
|
|
1246
|
+
/** The client ID for the invitation landing page. */
|
|
1247
|
+
invitation_landing_client_id?: string | null;
|
|
1248
|
+
/** Default admin roles to assign to organization creators. */
|
|
1249
|
+
admin_roles_assignment?: string[] | null;
|
|
1250
|
+
use_for_organization_discovery?: Management.OrganizationTemplateUseForOrganizationDiscovery | null;
|
|
1251
|
+
role_visibility_policy?: Management.OrganizationTemplateRoleVisibilityPolicy | null;
|
|
1252
|
+
}
|
|
1253
|
+
/**
|
|
1254
|
+
* @example
|
|
1255
|
+
* {}
|
|
1256
|
+
*/
|
|
1257
|
+
export interface UpdateOrganizationTemplateRequestContent {
|
|
1258
|
+
/** The name of the organization template. */
|
|
1259
|
+
name?: string;
|
|
1260
|
+
/** Whether this is the default template applied to new organizations. */
|
|
1261
|
+
is_default?: boolean;
|
|
1262
|
+
organization_deletion_behavior?: Management.OrganizationDeletionBehaviorEnum;
|
|
1263
|
+
connection_deletion_behavior?: Management.ConnectionDeletionBehaviorEnum;
|
|
1264
|
+
/** Whether to enforce permission ceiling for organizations using this template. */
|
|
1265
|
+
enforce_permission_ceiling?: boolean;
|
|
1266
|
+
/** Whether to enforce self-assignment restrictions for organizations using this template. */
|
|
1267
|
+
enforce_self_assignment_restriction?: boolean;
|
|
1268
|
+
/** The connection profile to apply to new connections. */
|
|
1269
|
+
connection_profile_id?: string | null;
|
|
1270
|
+
/** The user attribute profile to apply to organizations. */
|
|
1271
|
+
user_attribute_profile_id?: string | null;
|
|
1272
|
+
/** List of allowed connection strategies for this template. */
|
|
1273
|
+
allowed_strategies?: Management.OrganizationTemplateAllowedStrategyEnum[] | null;
|
|
1274
|
+
/** The client ID for the invitation landing page. */
|
|
1275
|
+
invitation_landing_client_id?: string | null;
|
|
1276
|
+
/** Default admin roles to assign to organization creators. */
|
|
1277
|
+
admin_roles_assignment?: string[] | null;
|
|
1278
|
+
use_for_organization_discovery?: Management.OrganizationTemplateUseForOrganizationDiscovery | null;
|
|
1279
|
+
role_visibility_policy?: Management.OrganizationTemplateRoleVisibilityPolicy | null;
|
|
1280
|
+
}
|
|
1281
|
+
/**
|
|
1282
|
+
* @example
|
|
1283
|
+
* {
|
|
1284
|
+
* from: "from",
|
|
1285
|
+
* take: 1
|
|
1286
|
+
* }
|
|
1287
|
+
*/
|
|
1288
|
+
export interface ListTemplateOrganizationsRequestParameters {
|
|
1289
|
+
/** Optional Id from which to start selection. */
|
|
1290
|
+
from?: string | null;
|
|
1291
|
+
/** Number of results per page. Defaults to 5. Values greater than 10 are capped at 10. */
|
|
1292
|
+
take?: number | null;
|
|
1293
|
+
}
|
|
1201
1294
|
/**
|
|
1202
1295
|
* @example
|
|
1203
1296
|
* {
|
|
@@ -1638,7 +1731,7 @@ export interface UpdateSelfServiceProfileRequestContent {
|
|
|
1638
1731
|
/** The name of the self-service Profile. */
|
|
1639
1732
|
name?: string;
|
|
1640
1733
|
description?: (Management.SelfServiceProfileDescription | undefined) | null;
|
|
1641
|
-
branding?: Management.SelfServiceProfileBranding | undefined;
|
|
1734
|
+
branding?: (Management.SelfServiceProfileBranding | undefined) | null;
|
|
1642
1735
|
/** List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`] */
|
|
1643
1736
|
allowed_strategies?: Management.SelfServiceProfileAllowedStrategyEnum[];
|
|
1644
1737
|
user_attributes?: (Management.SelfServiceProfileUserAttributes | undefined) | null;
|
|
@@ -1801,7 +1894,7 @@ export interface CreateUserAttributeProfileRequestContent {
|
|
|
1801
1894
|
*/
|
|
1802
1895
|
export interface UpdateUserAttributeProfileRequestContent {
|
|
1803
1896
|
name?: Management.UserAttributeProfileName;
|
|
1804
|
-
user_id?: Management.UserAttributeProfilePatchUserId | undefined;
|
|
1897
|
+
user_id?: (Management.UserAttributeProfilePatchUserId | undefined) | null;
|
|
1805
1898
|
user_attributes?: Management.UserAttributeProfileUserAttributes;
|
|
1806
1899
|
}
|
|
1807
1900
|
/**
|
|
@@ -3143,6 +3236,21 @@ export interface ImportEncryptionKeyRequestContent {
|
|
|
3143
3236
|
/** Base64 encoded ciphertext of key material wrapped by public wrapping key. */
|
|
3144
3237
|
wrapped_key: string;
|
|
3145
3238
|
}
|
|
3239
|
+
/**
|
|
3240
|
+
* @example
|
|
3241
|
+
* {
|
|
3242
|
+
* name: "name",
|
|
3243
|
+
* alg: "hmac-sha256",
|
|
3244
|
+
* value: "value"
|
|
3245
|
+
* }
|
|
3246
|
+
*/
|
|
3247
|
+
export interface CreateKeysNetworkAclsRequestContent {
|
|
3248
|
+
/** Customer-supplied label with no cryptographic meaning. Must be unique across all Network ACL keys for the tenant. */
|
|
3249
|
+
name: string;
|
|
3250
|
+
alg: Management.NetworkAclKeyAlgorithmEnum;
|
|
3251
|
+
/** Base64-encoded raw key material. Constraints on the decoded value depend on the algorithm specified. Currently only HMAC-SHA256 is supported. */
|
|
3252
|
+
value: string;
|
|
3253
|
+
}
|
|
3146
3254
|
/**
|
|
3147
3255
|
* @example
|
|
3148
3256
|
* {
|
|
@@ -30,7 +30,7 @@ export declare class ClientsClient {
|
|
|
30
30
|
* `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`,
|
|
31
31
|
* `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`,
|
|
32
32
|
* `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`,
|
|
33
|
-
* `
|
|
33
|
+
* `custom_login_page_on`, `sso`, `addons`, `form_template`,
|
|
34
34
|
* `custom_login_page_codeview`, `resource_servers`, `client_metadata`,
|
|
35
35
|
* `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`,
|
|
36
36
|
* `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`,
|
|
@@ -165,7 +165,7 @@ export declare class ClientsClient {
|
|
|
165
165
|
* `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`,
|
|
166
166
|
* `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`,
|
|
167
167
|
* `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`,
|
|
168
|
-
* `
|
|
168
|
+
* `custom_login_page_on`, `sso`, `addons`, `form_template`,
|
|
169
169
|
* `custom_login_page_codeview`, `resource_servers`, `client_metadata`,
|
|
170
170
|
* `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`,
|
|
171
171
|
* `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`,
|
|
@@ -79,7 +79,7 @@ class ClientsClient {
|
|
|
79
79
|
* `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`,
|
|
80
80
|
* `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`,
|
|
81
81
|
* `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`,
|
|
82
|
-
* `
|
|
82
|
+
* `custom_login_page_on`, `sso`, `addons`, `form_template`,
|
|
83
83
|
* `custom_login_page_codeview`, `resource_servers`, `client_metadata`,
|
|
84
84
|
* `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`,
|
|
85
85
|
* `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`,
|
|
@@ -440,7 +440,7 @@ class ClientsClient {
|
|
|
440
440
|
* `jwt_configuration.lifetime_in_seconds`, `jwt_configuration.secret_encoded`,
|
|
441
441
|
* `jwt_configuration.scopes`, `jwt_configuration.alg`, `api_type`,
|
|
442
442
|
* `logo_uri`, `allowed_clients`, `owners`, `custom_login_page`,
|
|
443
|
-
* `
|
|
443
|
+
* `custom_login_page_on`, `sso`, `addons`, `form_template`,
|
|
444
444
|
* `custom_login_page_codeview`, `resource_servers`, `client_metadata`,
|
|
445
445
|
* `mobile`, `mobile.android`, `mobile.ios`, `allowed_logout_urls`,
|
|
446
446
|
* `token_endpoint_auth_method`, `is_first_party`, `oidc_conformant`,
|
|
@@ -76,6 +76,7 @@ export declare class ConnectionsClient {
|
|
|
76
76
|
* @throws {@link Management.UnauthorizedError}
|
|
77
77
|
* @throws {@link Management.ForbiddenError}
|
|
78
78
|
* @throws {@link Management.ConflictError}
|
|
79
|
+
* @throws {@link Management.UnprocessableEntityError}
|
|
79
80
|
* @throws {@link Management.TooManyRequestsError}
|
|
80
81
|
*
|
|
81
82
|
* @example
|
|
@@ -128,7 +129,7 @@ export declare class ConnectionsClient {
|
|
|
128
129
|
/**
|
|
129
130
|
* Update details for a specific [connection](https://auth0.com/docs/authenticate/identity-providers), including option properties for identity provider configuration.
|
|
130
131
|
*
|
|
131
|
-
* **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option.
|
|
132
|
+
* **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option. If any options are unspecified, the default will be used, even if it differs from the existing value.
|
|
132
133
|
*
|
|
133
134
|
* @param {string} id - The id of the connection to update
|
|
134
135
|
* @param {Management.UpdateConnectionRequestContent} request
|
|
@@ -139,6 +140,7 @@ export declare class ConnectionsClient {
|
|
|
139
140
|
* @throws {@link Management.ForbiddenError}
|
|
140
141
|
* @throws {@link Management.NotFoundError}
|
|
141
142
|
* @throws {@link Management.ConflictError}
|
|
143
|
+
* @throws {@link Management.UnprocessableEntityError}
|
|
142
144
|
* @throws {@link Management.TooManyRequestsError}
|
|
143
145
|
*
|
|
144
146
|
* @example
|
|
@@ -203,6 +203,7 @@ class ConnectionsClient {
|
|
|
203
203
|
* @throws {@link Management.UnauthorizedError}
|
|
204
204
|
* @throws {@link Management.ForbiddenError}
|
|
205
205
|
* @throws {@link Management.ConflictError}
|
|
206
|
+
* @throws {@link Management.UnprocessableEntityError}
|
|
206
207
|
* @throws {@link Management.TooManyRequestsError}
|
|
207
208
|
*
|
|
208
209
|
* @example
|
|
@@ -249,6 +250,8 @@ class ConnectionsClient {
|
|
|
249
250
|
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
250
251
|
case 409:
|
|
251
252
|
throw new Management.ConflictError(_response.error.body, _response.rawResponse);
|
|
253
|
+
case 422:
|
|
254
|
+
throw new Management.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
252
255
|
case 429:
|
|
253
256
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
254
257
|
default:
|
|
@@ -400,7 +403,7 @@ class ConnectionsClient {
|
|
|
400
403
|
/**
|
|
401
404
|
* Update details for a specific [connection](https://auth0.com/docs/authenticate/identity-providers), including option properties for identity provider configuration.
|
|
402
405
|
*
|
|
403
|
-
* **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option.
|
|
406
|
+
* **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data or other issues, ensure all parameters are present when using this option. If any options are unspecified, the default will be used, even if it differs from the existing value.
|
|
404
407
|
*
|
|
405
408
|
* @param {string} id - The id of the connection to update
|
|
406
409
|
* @param {Management.UpdateConnectionRequestContent} request
|
|
@@ -411,6 +414,7 @@ class ConnectionsClient {
|
|
|
411
414
|
* @throws {@link Management.ForbiddenError}
|
|
412
415
|
* @throws {@link Management.NotFoundError}
|
|
413
416
|
* @throws {@link Management.ConflictError}
|
|
417
|
+
* @throws {@link Management.UnprocessableEntityError}
|
|
414
418
|
* @throws {@link Management.TooManyRequestsError}
|
|
415
419
|
*
|
|
416
420
|
* @example
|
|
@@ -456,6 +460,8 @@ class ConnectionsClient {
|
|
|
456
460
|
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
457
461
|
case 409:
|
|
458
462
|
throw new Management.ConflictError(_response.error.body, _response.rawResponse);
|
|
463
|
+
case 422:
|
|
464
|
+
throw new Management.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
459
465
|
case 429:
|
|
460
466
|
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
461
467
|
default:
|
package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export declare class ScimConfigurationClient {
|
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link Management.BadRequestError}
|
|
56
56
|
* @throws {@link Management.NotFoundError}
|
|
57
|
+
* @throws {@link Management.ConflictError}
|
|
57
58
|
*
|
|
58
59
|
* @example
|
|
59
60
|
* await client.connections.scimConfiguration.create("id")
|
package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.js
CHANGED
|
@@ -204,6 +204,7 @@ class ScimConfigurationClient {
|
|
|
204
204
|
*
|
|
205
205
|
* @throws {@link Management.BadRequestError}
|
|
206
206
|
* @throws {@link Management.NotFoundError}
|
|
207
|
+
* @throws {@link Management.ConflictError}
|
|
207
208
|
*
|
|
208
209
|
* @example
|
|
209
210
|
* await client.connections.scimConfiguration.create("id")
|
|
@@ -242,6 +243,8 @@ class ScimConfigurationClient {
|
|
|
242
243
|
throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
|
|
243
244
|
case 404:
|
|
244
245
|
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
246
|
+
case 409:
|
|
247
|
+
throw new Management.ConflictError(_response.error.body, _response.rawResponse);
|
|
245
248
|
default:
|
|
246
249
|
throw new errors.ManagementError({
|
|
247
250
|
statusCode: _response.error.statusCode,
|
|
@@ -77,6 +77,7 @@ export declare class FlowsClient {
|
|
|
77
77
|
* @throws {@link Management.UnauthorizedError}
|
|
78
78
|
* @throws {@link Management.ForbiddenError}
|
|
79
79
|
* @throws {@link Management.NotFoundError}
|
|
80
|
+
* @throws {@link Management.ConflictError}
|
|
80
81
|
* @throws {@link Management.TooManyRequestsError}
|
|
81
82
|
*
|
|
82
83
|
* @example
|
|
@@ -89,6 +90,7 @@ export declare class FlowsClient {
|
|
|
89
90
|
* @param {Management.UpdateFlowRequestContent} request
|
|
90
91
|
* @param {FlowsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
91
92
|
*
|
|
93
|
+
* @throws {@link Management.BadRequestError}
|
|
92
94
|
* @throws {@link Management.UnauthorizedError}
|
|
93
95
|
* @throws {@link Management.ForbiddenError}
|
|
94
96
|
* @throws {@link Management.NotFoundError}
|