auth0 7.4.0 → 7.5.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 +87 -82
- package/dist/cjs/management/api/requests/requests.d.ts +103 -0
- package/dist/cjs/management/api/resources/attackProtection/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/attackProtection/client/Client.js +9 -4
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.d.ts +105 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.js +388 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/index.js +2 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/exports.js +21 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/index.js +17 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +27 -0
- package/dist/cjs/management/api/resources/clientGrants/client/Client.js +101 -0
- package/dist/cjs/management/api/resources/clientProfiles/client/Client.d.ts +106 -0
- package/dist/cjs/management/api/resources/clientProfiles/client/Client.js +391 -0
- package/dist/cjs/management/api/resources/clientProfiles/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/clientProfiles/client/index.js +2 -0
- package/dist/cjs/management/api/resources/clientProfiles/exports.d.ts +2 -0
- package/dist/cjs/management/api/resources/clientProfiles/exports.js +21 -0
- package/dist/cjs/management/api/resources/clientProfiles/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/clientProfiles/index.js +17 -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/types/types.d.ts +352 -0
- package/dist/cjs/management/api/types/types.js +83 -21
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.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/requests/requests.d.mts +103 -0
- package/dist/esm/management/api/resources/attackProtection/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/attackProtection/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.d.mts +105 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.mjs +351 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/exports.mjs +3 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/index.d.mts +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/index.mjs +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +27 -0
- package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +101 -0
- package/dist/esm/management/api/resources/clientProfiles/client/Client.d.mts +106 -0
- package/dist/esm/management/api/resources/clientProfiles/client/Client.mjs +354 -0
- package/dist/esm/management/api/resources/clientProfiles/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/clientProfiles/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/clientProfiles/exports.d.mts +2 -0
- package/dist/esm/management/api/resources/clientProfiles/exports.mjs +3 -0
- package/dist/esm/management/api/resources/clientProfiles/index.d.mts +1 -0
- package/dist/esm/management/api/resources/clientProfiles/index.mjs +1 -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/types/types.d.mts +352 -0
- package/dist/esm/management/api/types/types.mjs +62 -0
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/package.json +23 -1
- package/reference.md +981 -217
|
@@ -4,6 +4,7 @@ import { AnomalyClient } from "./api/resources/anomaly/client/Client.js";
|
|
|
4
4
|
import { AttackProtectionClient } from "./api/resources/attackProtection/client/Client.js";
|
|
5
5
|
import { BrandingClient } from "./api/resources/branding/client/Client.js";
|
|
6
6
|
import { ClientGrantsClient } from "./api/resources/clientGrants/client/Client.js";
|
|
7
|
+
import { ClientProfilesClient } from "./api/resources/clientProfiles/client/Client.js";
|
|
7
8
|
import { ClientsClient } from "./api/resources/clients/client/Client.js";
|
|
8
9
|
import { ConnectionProfilesClient } from "./api/resources/connectionProfiles/client/Client.js";
|
|
9
10
|
import { ConnectionsClient } from "./api/resources/connections/client/Client.js";
|
|
@@ -59,6 +60,7 @@ export declare class ManagementClient {
|
|
|
59
60
|
protected _agents: AgentsClient | undefined;
|
|
60
61
|
protected _branding: BrandingClient | undefined;
|
|
61
62
|
protected _clientGrants: ClientGrantsClient | undefined;
|
|
63
|
+
protected _clientProfiles: ClientProfilesClient | undefined;
|
|
62
64
|
protected _clients: ClientsClient | undefined;
|
|
63
65
|
protected _connectionProfiles: ConnectionProfilesClient | undefined;
|
|
64
66
|
protected _connections: ConnectionsClient | undefined;
|
|
@@ -107,6 +109,7 @@ export declare class ManagementClient {
|
|
|
107
109
|
get agents(): AgentsClient;
|
|
108
110
|
get branding(): BrandingClient;
|
|
109
111
|
get clientGrants(): ClientGrantsClient;
|
|
112
|
+
get clientProfiles(): ClientProfilesClient;
|
|
110
113
|
get clients(): ClientsClient;
|
|
111
114
|
get connectionProfiles(): ConnectionProfilesClient;
|
|
112
115
|
get connections(): ConnectionsClient;
|
|
@@ -50,47 +50,48 @@ const Client_js_3 = require("./api/resources/anomaly/client/Client.js");
|
|
|
50
50
|
const Client_js_4 = require("./api/resources/attackProtection/client/Client.js");
|
|
51
51
|
const Client_js_5 = require("./api/resources/branding/client/Client.js");
|
|
52
52
|
const Client_js_6 = require("./api/resources/clientGrants/client/Client.js");
|
|
53
|
-
const Client_js_7 = require("./api/resources/
|
|
54
|
-
const Client_js_8 = require("./api/resources/
|
|
55
|
-
const Client_js_9 = require("./api/resources/
|
|
56
|
-
const Client_js_10 = require("./api/resources/
|
|
57
|
-
const Client_js_11 = require("./api/resources/
|
|
58
|
-
const Client_js_12 = require("./api/resources/
|
|
59
|
-
const Client_js_13 = require("./api/resources/
|
|
60
|
-
const Client_js_14 = require("./api/resources/
|
|
61
|
-
const Client_js_15 = require("./api/resources/
|
|
62
|
-
const Client_js_16 = require("./api/resources/
|
|
63
|
-
const Client_js_17 = require("./api/resources/
|
|
64
|
-
const Client_js_18 = require("./api/resources/
|
|
65
|
-
const Client_js_19 = require("./api/resources/
|
|
66
|
-
const Client_js_20 = require("./api/resources/
|
|
67
|
-
const Client_js_21 = require("./api/resources/
|
|
68
|
-
const Client_js_22 = require("./api/resources/
|
|
69
|
-
const Client_js_23 = require("./api/resources/
|
|
70
|
-
const Client_js_24 = require("./api/resources/
|
|
71
|
-
const Client_js_25 = require("./api/resources/
|
|
72
|
-
const Client_js_26 = require("./api/resources/
|
|
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/
|
|
93
|
-
const Client_js_47 = require("./api/resources/
|
|
53
|
+
const Client_js_7 = require("./api/resources/clientProfiles/client/Client.js");
|
|
54
|
+
const Client_js_8 = require("./api/resources/clients/client/Client.js");
|
|
55
|
+
const Client_js_9 = require("./api/resources/connectionProfiles/client/Client.js");
|
|
56
|
+
const Client_js_10 = require("./api/resources/connections/client/Client.js");
|
|
57
|
+
const Client_js_11 = require("./api/resources/customDomains/client/Client.js");
|
|
58
|
+
const Client_js_12 = require("./api/resources/deviceCredentials/client/Client.js");
|
|
59
|
+
const Client_js_13 = require("./api/resources/emails/client/Client.js");
|
|
60
|
+
const Client_js_14 = require("./api/resources/emailTemplates/client/Client.js");
|
|
61
|
+
const Client_js_15 = require("./api/resources/events/client/Client.js");
|
|
62
|
+
const Client_js_16 = require("./api/resources/eventStreams/client/Client.js");
|
|
63
|
+
const Client_js_17 = require("./api/resources/experimentation/client/Client.js");
|
|
64
|
+
const Client_js_18 = require("./api/resources/flows/client/Client.js");
|
|
65
|
+
const Client_js_19 = require("./api/resources/forms/client/Client.js");
|
|
66
|
+
const Client_js_20 = require("./api/resources/groups/client/Client.js");
|
|
67
|
+
const Client_js_21 = require("./api/resources/guardian/client/Client.js");
|
|
68
|
+
const Client_js_22 = require("./api/resources/hooks/client/Client.js");
|
|
69
|
+
const Client_js_23 = require("./api/resources/jobs/client/Client.js");
|
|
70
|
+
const Client_js_24 = require("./api/resources/keys/client/Client.js");
|
|
71
|
+
const Client_js_25 = require("./api/resources/logs/client/Client.js");
|
|
72
|
+
const Client_js_26 = require("./api/resources/logStreams/client/Client.js");
|
|
73
|
+
const Client_js_27 = require("./api/resources/networkAcls/client/Client.js");
|
|
74
|
+
const Client_js_28 = require("./api/resources/organizations/client/Client.js");
|
|
75
|
+
const Client_js_29 = require("./api/resources/prompts/client/Client.js");
|
|
76
|
+
const Client_js_30 = require("./api/resources/rateLimitPolicies/client/Client.js");
|
|
77
|
+
const Client_js_31 = require("./api/resources/refreshTokens/client/Client.js");
|
|
78
|
+
const Client_js_32 = require("./api/resources/resourceServers/client/Client.js");
|
|
79
|
+
const Client_js_33 = require("./api/resources/riskAssessments/client/Client.js");
|
|
80
|
+
const Client_js_34 = require("./api/resources/roles/client/Client.js");
|
|
81
|
+
const Client_js_35 = require("./api/resources/rules/client/Client.js");
|
|
82
|
+
const Client_js_36 = require("./api/resources/rulesConfigs/client/Client.js");
|
|
83
|
+
const Client_js_37 = require("./api/resources/selfServiceProfiles/client/Client.js");
|
|
84
|
+
const Client_js_38 = require("./api/resources/sessions/client/Client.js");
|
|
85
|
+
const Client_js_39 = require("./api/resources/stats/client/Client.js");
|
|
86
|
+
const Client_js_40 = require("./api/resources/supplementalSignals/client/Client.js");
|
|
87
|
+
const Client_js_41 = require("./api/resources/tenants/client/Client.js");
|
|
88
|
+
const Client_js_42 = require("./api/resources/tickets/client/Client.js");
|
|
89
|
+
const Client_js_43 = require("./api/resources/tokenExchangeProfiles/client/Client.js");
|
|
90
|
+
const Client_js_44 = require("./api/resources/userAttributeProfiles/client/Client.js");
|
|
91
|
+
const Client_js_45 = require("./api/resources/userBlocks/client/Client.js");
|
|
92
|
+
const Client_js_46 = require("./api/resources/userGrants/client/Client.js");
|
|
93
|
+
const Client_js_47 = require("./api/resources/users/client/Client.js");
|
|
94
|
+
const Client_js_48 = require("./api/resources/verifiableCredentials/client/Client.js");
|
|
94
95
|
const BaseClient_js_1 = require("./BaseClient.js");
|
|
95
96
|
const core = __importStar(require("./core/index.js"));
|
|
96
97
|
class ManagementClient {
|
|
@@ -113,145 +114,149 @@ class ManagementClient {
|
|
|
113
114
|
var _a;
|
|
114
115
|
return ((_a = this._clientGrants) !== null && _a !== void 0 ? _a : (this._clientGrants = new Client_js_6.ClientGrantsClient(this._options)));
|
|
115
116
|
}
|
|
117
|
+
get clientProfiles() {
|
|
118
|
+
var _a;
|
|
119
|
+
return ((_a = this._clientProfiles) !== null && _a !== void 0 ? _a : (this._clientProfiles = new Client_js_7.ClientProfilesClient(this._options)));
|
|
120
|
+
}
|
|
116
121
|
get clients() {
|
|
117
122
|
var _a;
|
|
118
|
-
return ((_a = this._clients) !== null && _a !== void 0 ? _a : (this._clients = new
|
|
123
|
+
return ((_a = this._clients) !== null && _a !== void 0 ? _a : (this._clients = new Client_js_8.ClientsClient(this._options)));
|
|
119
124
|
}
|
|
120
125
|
get connectionProfiles() {
|
|
121
126
|
var _a;
|
|
122
|
-
return ((_a = this._connectionProfiles) !== null && _a !== void 0 ? _a : (this._connectionProfiles = new
|
|
127
|
+
return ((_a = this._connectionProfiles) !== null && _a !== void 0 ? _a : (this._connectionProfiles = new Client_js_9.ConnectionProfilesClient(this._options)));
|
|
123
128
|
}
|
|
124
129
|
get connections() {
|
|
125
130
|
var _a;
|
|
126
|
-
return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new
|
|
131
|
+
return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new Client_js_10.ConnectionsClient(this._options)));
|
|
127
132
|
}
|
|
128
133
|
get customDomains() {
|
|
129
134
|
var _a;
|
|
130
|
-
return ((_a = this._customDomains) !== null && _a !== void 0 ? _a : (this._customDomains = new
|
|
135
|
+
return ((_a = this._customDomains) !== null && _a !== void 0 ? _a : (this._customDomains = new Client_js_11.CustomDomainsClient(this._options)));
|
|
131
136
|
}
|
|
132
137
|
get deviceCredentials() {
|
|
133
138
|
var _a;
|
|
134
|
-
return ((_a = this._deviceCredentials) !== null && _a !== void 0 ? _a : (this._deviceCredentials = new
|
|
139
|
+
return ((_a = this._deviceCredentials) !== null && _a !== void 0 ? _a : (this._deviceCredentials = new Client_js_12.DeviceCredentialsClient(this._options)));
|
|
135
140
|
}
|
|
136
141
|
get emailTemplates() {
|
|
137
142
|
var _a;
|
|
138
|
-
return ((_a = this._emailTemplates) !== null && _a !== void 0 ? _a : (this._emailTemplates = new
|
|
143
|
+
return ((_a = this._emailTemplates) !== null && _a !== void 0 ? _a : (this._emailTemplates = new Client_js_14.EmailTemplatesClient(this._options)));
|
|
139
144
|
}
|
|
140
145
|
get eventStreams() {
|
|
141
146
|
var _a;
|
|
142
|
-
return ((_a = this._eventStreams) !== null && _a !== void 0 ? _a : (this._eventStreams = new
|
|
147
|
+
return ((_a = this._eventStreams) !== null && _a !== void 0 ? _a : (this._eventStreams = new Client_js_16.EventStreamsClient(this._options)));
|
|
143
148
|
}
|
|
144
149
|
get events() {
|
|
145
150
|
var _a;
|
|
146
|
-
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new
|
|
151
|
+
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_js_15.EventsClient(this._options)));
|
|
147
152
|
}
|
|
148
153
|
get flows() {
|
|
149
154
|
var _a;
|
|
150
|
-
return ((_a = this._flows) !== null && _a !== void 0 ? _a : (this._flows = new
|
|
155
|
+
return ((_a = this._flows) !== null && _a !== void 0 ? _a : (this._flows = new Client_js_18.FlowsClient(this._options)));
|
|
151
156
|
}
|
|
152
157
|
get forms() {
|
|
153
158
|
var _a;
|
|
154
|
-
return ((_a = this._forms) !== null && _a !== void 0 ? _a : (this._forms = new
|
|
159
|
+
return ((_a = this._forms) !== null && _a !== void 0 ? _a : (this._forms = new Client_js_19.FormsClient(this._options)));
|
|
155
160
|
}
|
|
156
161
|
get userGrants() {
|
|
157
162
|
var _a;
|
|
158
|
-
return ((_a = this._userGrants) !== null && _a !== void 0 ? _a : (this._userGrants = new
|
|
163
|
+
return ((_a = this._userGrants) !== null && _a !== void 0 ? _a : (this._userGrants = new Client_js_46.UserGrantsClient(this._options)));
|
|
159
164
|
}
|
|
160
165
|
get groups() {
|
|
161
166
|
var _a;
|
|
162
|
-
return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new
|
|
167
|
+
return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new Client_js_20.GroupsClient(this._options)));
|
|
163
168
|
}
|
|
164
169
|
get guardian() {
|
|
165
170
|
var _a;
|
|
166
|
-
return ((_a = this._guardian) !== null && _a !== void 0 ? _a : (this._guardian = new
|
|
171
|
+
return ((_a = this._guardian) !== null && _a !== void 0 ? _a : (this._guardian = new Client_js_21.GuardianClient(this._options)));
|
|
167
172
|
}
|
|
168
173
|
get hooks() {
|
|
169
174
|
var _a;
|
|
170
|
-
return ((_a = this._hooks) !== null && _a !== void 0 ? _a : (this._hooks = new
|
|
175
|
+
return ((_a = this._hooks) !== null && _a !== void 0 ? _a : (this._hooks = new Client_js_22.HooksClient(this._options)));
|
|
171
176
|
}
|
|
172
177
|
get jobs() {
|
|
173
178
|
var _a;
|
|
174
|
-
return ((_a = this._jobs) !== null && _a !== void 0 ? _a : (this._jobs = new
|
|
179
|
+
return ((_a = this._jobs) !== null && _a !== void 0 ? _a : (this._jobs = new Client_js_23.JobsClient(this._options)));
|
|
175
180
|
}
|
|
176
181
|
get logStreams() {
|
|
177
182
|
var _a;
|
|
178
|
-
return ((_a = this._logStreams) !== null && _a !== void 0 ? _a : (this._logStreams = new
|
|
183
|
+
return ((_a = this._logStreams) !== null && _a !== void 0 ? _a : (this._logStreams = new Client_js_26.LogStreamsClient(this._options)));
|
|
179
184
|
}
|
|
180
185
|
get logs() {
|
|
181
186
|
var _a;
|
|
182
|
-
return ((_a = this._logs) !== null && _a !== void 0 ? _a : (this._logs = new
|
|
187
|
+
return ((_a = this._logs) !== null && _a !== void 0 ? _a : (this._logs = new Client_js_25.LogsClient(this._options)));
|
|
183
188
|
}
|
|
184
189
|
get networkAcls() {
|
|
185
190
|
var _a;
|
|
186
|
-
return ((_a = this._networkAcls) !== null && _a !== void 0 ? _a : (this._networkAcls = new
|
|
191
|
+
return ((_a = this._networkAcls) !== null && _a !== void 0 ? _a : (this._networkAcls = new Client_js_27.NetworkAclsClient(this._options)));
|
|
187
192
|
}
|
|
188
193
|
get organizations() {
|
|
189
194
|
var _a;
|
|
190
|
-
return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new
|
|
195
|
+
return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_js_28.OrganizationsClient(this._options)));
|
|
191
196
|
}
|
|
192
197
|
get prompts() {
|
|
193
198
|
var _a;
|
|
194
|
-
return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new
|
|
199
|
+
return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new Client_js_29.PromptsClient(this._options)));
|
|
195
200
|
}
|
|
196
201
|
get rateLimitPolicies() {
|
|
197
202
|
var _a;
|
|
198
|
-
return ((_a = this._rateLimitPolicies) !== null && _a !== void 0 ? _a : (this._rateLimitPolicies = new
|
|
203
|
+
return ((_a = this._rateLimitPolicies) !== null && _a !== void 0 ? _a : (this._rateLimitPolicies = new Client_js_30.RateLimitPoliciesClient(this._options)));
|
|
199
204
|
}
|
|
200
205
|
get refreshTokens() {
|
|
201
206
|
var _a;
|
|
202
|
-
return ((_a = this._refreshTokens) !== null && _a !== void 0 ? _a : (this._refreshTokens = new
|
|
207
|
+
return ((_a = this._refreshTokens) !== null && _a !== void 0 ? _a : (this._refreshTokens = new Client_js_31.RefreshTokensClient(this._options)));
|
|
203
208
|
}
|
|
204
209
|
get resourceServers() {
|
|
205
210
|
var _a;
|
|
206
|
-
return ((_a = this._resourceServers) !== null && _a !== void 0 ? _a : (this._resourceServers = new
|
|
211
|
+
return ((_a = this._resourceServers) !== null && _a !== void 0 ? _a : (this._resourceServers = new Client_js_32.ResourceServersClient(this._options)));
|
|
207
212
|
}
|
|
208
213
|
get roles() {
|
|
209
214
|
var _a;
|
|
210
|
-
return ((_a = this._roles) !== null && _a !== void 0 ? _a : (this._roles = new
|
|
215
|
+
return ((_a = this._roles) !== null && _a !== void 0 ? _a : (this._roles = new Client_js_34.RolesClient(this._options)));
|
|
211
216
|
}
|
|
212
217
|
get rules() {
|
|
213
218
|
var _a;
|
|
214
|
-
return ((_a = this._rules) !== null && _a !== void 0 ? _a : (this._rules = new
|
|
219
|
+
return ((_a = this._rules) !== null && _a !== void 0 ? _a : (this._rules = new Client_js_35.RulesClient(this._options)));
|
|
215
220
|
}
|
|
216
221
|
get rulesConfigs() {
|
|
217
222
|
var _a;
|
|
218
|
-
return ((_a = this._rulesConfigs) !== null && _a !== void 0 ? _a : (this._rulesConfigs = new
|
|
223
|
+
return ((_a = this._rulesConfigs) !== null && _a !== void 0 ? _a : (this._rulesConfigs = new Client_js_36.RulesConfigsClient(this._options)));
|
|
219
224
|
}
|
|
220
225
|
get selfServiceProfiles() {
|
|
221
226
|
var _a;
|
|
222
|
-
return ((_a = this._selfServiceProfiles) !== null && _a !== void 0 ? _a : (this._selfServiceProfiles = new
|
|
227
|
+
return ((_a = this._selfServiceProfiles) !== null && _a !== void 0 ? _a : (this._selfServiceProfiles = new Client_js_37.SelfServiceProfilesClient(this._options)));
|
|
223
228
|
}
|
|
224
229
|
get sessions() {
|
|
225
230
|
var _a;
|
|
226
|
-
return ((_a = this._sessions) !== null && _a !== void 0 ? _a : (this._sessions = new
|
|
231
|
+
return ((_a = this._sessions) !== null && _a !== void 0 ? _a : (this._sessions = new Client_js_38.SessionsClient(this._options)));
|
|
227
232
|
}
|
|
228
233
|
get stats() {
|
|
229
234
|
var _a;
|
|
230
|
-
return ((_a = this._stats) !== null && _a !== void 0 ? _a : (this._stats = new
|
|
235
|
+
return ((_a = this._stats) !== null && _a !== void 0 ? _a : (this._stats = new Client_js_39.StatsClient(this._options)));
|
|
231
236
|
}
|
|
232
237
|
get supplementalSignals() {
|
|
233
238
|
var _a;
|
|
234
|
-
return ((_a = this._supplementalSignals) !== null && _a !== void 0 ? _a : (this._supplementalSignals = new
|
|
239
|
+
return ((_a = this._supplementalSignals) !== null && _a !== void 0 ? _a : (this._supplementalSignals = new Client_js_40.SupplementalSignalsClient(this._options)));
|
|
235
240
|
}
|
|
236
241
|
get tickets() {
|
|
237
242
|
var _a;
|
|
238
|
-
return ((_a = this._tickets) !== null && _a !== void 0 ? _a : (this._tickets = new
|
|
243
|
+
return ((_a = this._tickets) !== null && _a !== void 0 ? _a : (this._tickets = new Client_js_42.TicketsClient(this._options)));
|
|
239
244
|
}
|
|
240
245
|
get tokenExchangeProfiles() {
|
|
241
246
|
var _a;
|
|
242
|
-
return ((_a = this._tokenExchangeProfiles) !== null && _a !== void 0 ? _a : (this._tokenExchangeProfiles = new
|
|
247
|
+
return ((_a = this._tokenExchangeProfiles) !== null && _a !== void 0 ? _a : (this._tokenExchangeProfiles = new Client_js_43.TokenExchangeProfilesClient(this._options)));
|
|
243
248
|
}
|
|
244
249
|
get userAttributeProfiles() {
|
|
245
250
|
var _a;
|
|
246
|
-
return ((_a = this._userAttributeProfiles) !== null && _a !== void 0 ? _a : (this._userAttributeProfiles = new
|
|
251
|
+
return ((_a = this._userAttributeProfiles) !== null && _a !== void 0 ? _a : (this._userAttributeProfiles = new Client_js_44.UserAttributeProfilesClient(this._options)));
|
|
247
252
|
}
|
|
248
253
|
get userBlocks() {
|
|
249
254
|
var _a;
|
|
250
|
-
return ((_a = this._userBlocks) !== null && _a !== void 0 ? _a : (this._userBlocks = new
|
|
255
|
+
return ((_a = this._userBlocks) !== null && _a !== void 0 ? _a : (this._userBlocks = new Client_js_45.UserBlocksClient(this._options)));
|
|
251
256
|
}
|
|
252
257
|
get users() {
|
|
253
258
|
var _a;
|
|
254
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
259
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_47.UsersClient(this._options)));
|
|
255
260
|
}
|
|
256
261
|
get anomaly() {
|
|
257
262
|
var _a;
|
|
@@ -263,27 +268,27 @@ class ManagementClient {
|
|
|
263
268
|
}
|
|
264
269
|
get emails() {
|
|
265
270
|
var _a;
|
|
266
|
-
return ((_a = this._emails) !== null && _a !== void 0 ? _a : (this._emails = new
|
|
271
|
+
return ((_a = this._emails) !== null && _a !== void 0 ? _a : (this._emails = new Client_js_13.EmailsClient(this._options)));
|
|
267
272
|
}
|
|
268
273
|
get experimentation() {
|
|
269
274
|
var _a;
|
|
270
|
-
return ((_a = this._experimentation) !== null && _a !== void 0 ? _a : (this._experimentation = new
|
|
275
|
+
return ((_a = this._experimentation) !== null && _a !== void 0 ? _a : (this._experimentation = new Client_js_17.ExperimentationClient(this._options)));
|
|
271
276
|
}
|
|
272
277
|
get keys() {
|
|
273
278
|
var _a;
|
|
274
|
-
return ((_a = this._keys) !== null && _a !== void 0 ? _a : (this._keys = new
|
|
279
|
+
return ((_a = this._keys) !== null && _a !== void 0 ? _a : (this._keys = new Client_js_24.KeysClient(this._options)));
|
|
275
280
|
}
|
|
276
281
|
get riskAssessments() {
|
|
277
282
|
var _a;
|
|
278
|
-
return ((_a = this._riskAssessments) !== null && _a !== void 0 ? _a : (this._riskAssessments = new
|
|
283
|
+
return ((_a = this._riskAssessments) !== null && _a !== void 0 ? _a : (this._riskAssessments = new Client_js_33.RiskAssessmentsClient(this._options)));
|
|
279
284
|
}
|
|
280
285
|
get tenants() {
|
|
281
286
|
var _a;
|
|
282
|
-
return ((_a = this._tenants) !== null && _a !== void 0 ? _a : (this._tenants = new
|
|
287
|
+
return ((_a = this._tenants) !== null && _a !== void 0 ? _a : (this._tenants = new Client_js_41.TenantsClient(this._options)));
|
|
283
288
|
}
|
|
284
289
|
get verifiableCredentials() {
|
|
285
290
|
var _a;
|
|
286
|
-
return ((_a = this._verifiableCredentials) !== null && _a !== void 0 ? _a : (this._verifiableCredentials = new
|
|
291
|
+
return ((_a = this._verifiableCredentials) !== null && _a !== void 0 ? _a : (this._verifiableCredentials = new Client_js_48.VerifiableCredentialsClient(this._options)));
|
|
287
292
|
}
|
|
288
293
|
/**
|
|
289
294
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
@@ -197,6 +197,34 @@ export interface CreateClientGrantRequestContent {
|
|
|
197
197
|
/** If enabled, all scopes configured on the resource server are allowed for this grant. */
|
|
198
198
|
allow_all_scopes?: boolean;
|
|
199
199
|
}
|
|
200
|
+
/**
|
|
201
|
+
* @example
|
|
202
|
+
* {
|
|
203
|
+
* q: "q",
|
|
204
|
+
* parser: "scim",
|
|
205
|
+
* fields: "fields",
|
|
206
|
+
* include_fields: true,
|
|
207
|
+
* take: 1,
|
|
208
|
+
* from: "from",
|
|
209
|
+
* sort: "audience"
|
|
210
|
+
* }
|
|
211
|
+
*/
|
|
212
|
+
export interface SearchClientGrantsRequestParameters {
|
|
213
|
+
/** Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: `audience eq "https://api.example.com"`, `client_id eq "cli_abc"`, `subject_type eq "client"`, `allow_any_organization eq true`, `default_for eq "third_party_clients"`, `audience co "example" and organization_id eq "org_123"`. SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or. <br /><br /><b>Supported Fields</b>:<ul><li><i>audience</i> - Filter by audience (eq, ne, sw, co, ew, pr)</li><li><i>client_id</i> - Filter by client ID (eq, ne, sw, pr)</li><li><i>subject_type</i> - Filter by subject type (eq, ne, sw, pr)</li><li><i>allow_any_organization</i> - Filter by allow_any_organization (eq, ne, pr)</li><li><i>organization_id</i> - Filter by organization ID (eq, ne, sw, pr)</li><li><i>updated_at</i> - Filter by last update date (eq, ne, gt, ge, lt, le, pr)</li><li><i>default_for</i> - Filter by default grant group (eq, ne, sw, pr)</li></ul>Maximum 5 filter operations per query. Results are eventually consistent and may not reflect recent updates. */
|
|
214
|
+
q?: string | null;
|
|
215
|
+
/** Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default). */
|
|
216
|
+
parser?: Management.SearchParserEnum | null;
|
|
217
|
+
/** Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode. */
|
|
218
|
+
fields?: string | null;
|
|
219
|
+
/** Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified. */
|
|
220
|
+
include_fields?: boolean | null;
|
|
221
|
+
/** Maximum number of results to return per page (1-100). Defaults to 50. */
|
|
222
|
+
take?: number | null;
|
|
223
|
+
/** Cursor for the next page of results. Use the value from the next field in the previous response. */
|
|
224
|
+
from?: string | null;
|
|
225
|
+
/** Field name to sort results by in ascending order. Defaults to insertion order (oldest first) if not provided. */
|
|
226
|
+
sort?: Management.ClientGrantSortFieldEnum | null;
|
|
227
|
+
}
|
|
200
228
|
/**
|
|
201
229
|
* @example
|
|
202
230
|
* {}
|
|
@@ -212,6 +240,46 @@ export interface UpdateClientGrantRequestContent {
|
|
|
212
240
|
/** If enabled, all scopes configured on the resource server are allowed for this grant. */
|
|
213
241
|
allow_all_scopes?: boolean | null;
|
|
214
242
|
}
|
|
243
|
+
/**
|
|
244
|
+
* @example
|
|
245
|
+
* {
|
|
246
|
+
* from: "from",
|
|
247
|
+
* take: 1
|
|
248
|
+
* }
|
|
249
|
+
*/
|
|
250
|
+
export interface ListClientProfilesRequestParameters {
|
|
251
|
+
/** Optional Id from which to start selection. */
|
|
252
|
+
from?: string | null;
|
|
253
|
+
/** Number of results per page. Defaults to 50. */
|
|
254
|
+
take?: number | null;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* @example
|
|
258
|
+
* {
|
|
259
|
+
* name: "name",
|
|
260
|
+
* client_configuration: {},
|
|
261
|
+
* apply_policy: {
|
|
262
|
+
* external_metadata_type: "cimd",
|
|
263
|
+
* external_metadata_created_by: "client"
|
|
264
|
+
* }
|
|
265
|
+
* }
|
|
266
|
+
*/
|
|
267
|
+
export interface CreateClientProfileRequestContent {
|
|
268
|
+
name: Management.ClientProfileName;
|
|
269
|
+
description?: (Management.ClientProfileDescription | undefined) | null;
|
|
270
|
+
client_configuration: Management.ClientProfileClientConfiguration;
|
|
271
|
+
apply_policy: Management.ClientProfileApplyPolicy;
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* @example
|
|
275
|
+
* {}
|
|
276
|
+
*/
|
|
277
|
+
export interface UpdateClientProfileRequestContent {
|
|
278
|
+
name?: Management.ClientProfileName;
|
|
279
|
+
description?: (Management.ClientProfileDescription | undefined) | null;
|
|
280
|
+
client_configuration?: Management.ClientProfileClientConfiguration;
|
|
281
|
+
apply_policy?: Management.ClientProfileApplyPolicy;
|
|
282
|
+
}
|
|
215
283
|
/**
|
|
216
284
|
* @example
|
|
217
285
|
* {
|
|
@@ -2303,6 +2371,39 @@ export interface UpdateAttackProtectionCaptchaRequestContent {
|
|
|
2303
2371
|
recaptcha_v2?: Management.AttackProtectionUpdateCaptchaRecaptchaV2;
|
|
2304
2372
|
simple_captcha?: Management.AttackProtectionCaptchaSimpleCaptchaResponseContent;
|
|
2305
2373
|
}
|
|
2374
|
+
/**
|
|
2375
|
+
* @example
|
|
2376
|
+
* {
|
|
2377
|
+
* name: "name",
|
|
2378
|
+
* priority: 1,
|
|
2379
|
+
* match: {},
|
|
2380
|
+
* action: {}
|
|
2381
|
+
* }
|
|
2382
|
+
*/
|
|
2383
|
+
export interface CreateAttackProtectionCaptchaPolicyRequestContent {
|
|
2384
|
+
/** Human-readable policy name. */
|
|
2385
|
+
name: string;
|
|
2386
|
+
/** Description of the attack protection policy. */
|
|
2387
|
+
description?: string;
|
|
2388
|
+
/** Conflict resolution order. Lower number takes higher precedence. Must be unique per tenant. */
|
|
2389
|
+
priority: number;
|
|
2390
|
+
match: Management.AttackProtectionCaptchaPolicyMatch;
|
|
2391
|
+
action: Management.AttackProtectionCaptchaPolicyActionInput;
|
|
2392
|
+
}
|
|
2393
|
+
/**
|
|
2394
|
+
* @example
|
|
2395
|
+
* {}
|
|
2396
|
+
*/
|
|
2397
|
+
export interface UpdateAttackProtectionCaptchaPolicyRequestContent {
|
|
2398
|
+
/** Human-readable policy name. */
|
|
2399
|
+
name?: string;
|
|
2400
|
+
/** Description of the policy's purpose. */
|
|
2401
|
+
description?: string;
|
|
2402
|
+
/** Conflict resolution order. Lower number takes higher precedence. Must be unique per tenant. */
|
|
2403
|
+
priority?: number;
|
|
2404
|
+
match?: Management.AttackProtectionCaptchaPolicyMatch;
|
|
2405
|
+
action?: Management.AttackProtectionCaptchaPolicyActionInput;
|
|
2406
|
+
}
|
|
2306
2407
|
/**
|
|
2307
2408
|
* @example
|
|
2308
2409
|
* {
|
|
@@ -4258,6 +4359,8 @@ export interface UpdateTenantSettingsRequestContent {
|
|
|
4258
4359
|
resource_parameter_profile?: Management.TenantSettingsResourceParameterProfile;
|
|
4259
4360
|
/** Whether the authorization server supports retrieving client metadata from a client_id URL. */
|
|
4260
4361
|
client_id_metadata_document_supported?: boolean;
|
|
4362
|
+
/** Whether the authorization server supports registering clients dynamically from a client_id URL. Requires client_id_metadata_document_supported to be enabled. */
|
|
4363
|
+
client_id_metadata_document_dynamic_registration_supported?: boolean;
|
|
4261
4364
|
/** Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. */
|
|
4262
4365
|
enable_ai_guide?: boolean;
|
|
4263
4366
|
/** Whether Phone Consolidated Experience is enabled for this tenant. */
|
|
@@ -4,6 +4,7 @@ import { BotDetectionClient } from "../resources/botDetection/client/Client.js";
|
|
|
4
4
|
import { BreachedPasswordDetectionClient } from "../resources/breachedPasswordDetection/client/Client.js";
|
|
5
5
|
import { BruteForceProtectionClient } from "../resources/bruteForceProtection/client/Client.js";
|
|
6
6
|
import { CaptchaClient } from "../resources/captcha/client/Client.js";
|
|
7
|
+
import { CaptchaPoliciesClient } from "../resources/captchaPolicies/client/Client.js";
|
|
7
8
|
import { PhoneProviderProtectionClient } from "../resources/phoneProviderProtection/client/Client.js";
|
|
8
9
|
import { SuspiciousIpThrottlingClient } from "../resources/suspiciousIpThrottling/client/Client.js";
|
|
9
10
|
export declare namespace AttackProtectionClient {
|
|
@@ -15,6 +16,7 @@ export declare class AttackProtectionClient {
|
|
|
15
16
|
protected _breachedPasswordDetection: BreachedPasswordDetectionClient | undefined;
|
|
16
17
|
protected _bruteForceProtection: BruteForceProtectionClient | undefined;
|
|
17
18
|
protected _captcha: CaptchaClient | undefined;
|
|
19
|
+
protected _captchaPolicies: CaptchaPoliciesClient | undefined;
|
|
18
20
|
protected _phoneProviderProtection: PhoneProviderProtectionClient | undefined;
|
|
19
21
|
protected _suspiciousIpThrottling: SuspiciousIpThrottlingClient | undefined;
|
|
20
22
|
constructor(options: AttackProtectionClient.Options);
|
|
@@ -22,6 +24,7 @@ export declare class AttackProtectionClient {
|
|
|
22
24
|
get breachedPasswordDetection(): BreachedPasswordDetectionClient;
|
|
23
25
|
get bruteForceProtection(): BruteForceProtectionClient;
|
|
24
26
|
get captcha(): CaptchaClient;
|
|
27
|
+
get captchaPolicies(): CaptchaPoliciesClient;
|
|
25
28
|
get phoneProviderProtection(): PhoneProviderProtectionClient;
|
|
26
29
|
get suspiciousIpThrottling(): SuspiciousIpThrottlingClient;
|
|
27
30
|
}
|
|
@@ -7,8 +7,9 @@ const Client_js_1 = require("../resources/botDetection/client/Client.js");
|
|
|
7
7
|
const Client_js_2 = require("../resources/breachedPasswordDetection/client/Client.js");
|
|
8
8
|
const Client_js_3 = require("../resources/bruteForceProtection/client/Client.js");
|
|
9
9
|
const Client_js_4 = require("../resources/captcha/client/Client.js");
|
|
10
|
-
const Client_js_5 = require("../resources/
|
|
11
|
-
const Client_js_6 = require("../resources/
|
|
10
|
+
const Client_js_5 = require("../resources/captchaPolicies/client/Client.js");
|
|
11
|
+
const Client_js_6 = require("../resources/phoneProviderProtection/client/Client.js");
|
|
12
|
+
const Client_js_7 = require("../resources/suspiciousIpThrottling/client/Client.js");
|
|
12
13
|
class AttackProtectionClient {
|
|
13
14
|
constructor(options) {
|
|
14
15
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
@@ -29,13 +30,17 @@ class AttackProtectionClient {
|
|
|
29
30
|
var _a;
|
|
30
31
|
return ((_a = this._captcha) !== null && _a !== void 0 ? _a : (this._captcha = new Client_js_4.CaptchaClient(this._options)));
|
|
31
32
|
}
|
|
33
|
+
get captchaPolicies() {
|
|
34
|
+
var _a;
|
|
35
|
+
return ((_a = this._captchaPolicies) !== null && _a !== void 0 ? _a : (this._captchaPolicies = new Client_js_5.CaptchaPoliciesClient(this._options)));
|
|
36
|
+
}
|
|
32
37
|
get phoneProviderProtection() {
|
|
33
38
|
var _a;
|
|
34
|
-
return ((_a = this._phoneProviderProtection) !== null && _a !== void 0 ? _a : (this._phoneProviderProtection = new
|
|
39
|
+
return ((_a = this._phoneProviderProtection) !== null && _a !== void 0 ? _a : (this._phoneProviderProtection = new Client_js_6.PhoneProviderProtectionClient(this._options)));
|
|
35
40
|
}
|
|
36
41
|
get suspiciousIpThrottling() {
|
|
37
42
|
var _a;
|
|
38
|
-
return ((_a = this._suspiciousIpThrottling) !== null && _a !== void 0 ? _a : (this._suspiciousIpThrottling = new
|
|
43
|
+
return ((_a = this._suspiciousIpThrottling) !== null && _a !== void 0 ? _a : (this._suspiciousIpThrottling = new Client_js_7.SuspiciousIpThrottlingClient(this._options)));
|
|
39
44
|
}
|
|
40
45
|
}
|
|
41
46
|
exports.AttackProtectionClient = AttackProtectionClient;
|
|
@@ -0,0 +1,105 @@
|
|
|
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 CaptchaPoliciesClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class CaptchaPoliciesClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<CaptchaPoliciesClient.Options>;
|
|
12
|
+
constructor(options: CaptchaPoliciesClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve all CAPTCHA attack protection policies for the tenant, sorted by priority ascending.
|
|
15
|
+
*
|
|
16
|
+
* @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
|
+
*
|
|
18
|
+
* @throws {@link Management.BadRequestError}
|
|
19
|
+
* @throws {@link Management.UnauthorizedError}
|
|
20
|
+
* @throws {@link Management.ForbiddenError}
|
|
21
|
+
* @throws {@link Management.NotFoundError}
|
|
22
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* await client.attackProtection.captchaPolicies.list()
|
|
26
|
+
*/
|
|
27
|
+
list(requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.ListAttackProtectionCaptchaPoliciesResponseContent>;
|
|
28
|
+
private __list;
|
|
29
|
+
/**
|
|
30
|
+
* Create a new CAPTCHA attack protection policy for the tenant. The maximum number of policies per tenant is determined by the tenant's subscription.
|
|
31
|
+
*
|
|
32
|
+
* @param {Management.CreateAttackProtectionCaptchaPolicyRequestContent} request
|
|
33
|
+
* @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link Management.BadRequestError}
|
|
36
|
+
* @throws {@link Management.UnauthorizedError}
|
|
37
|
+
* @throws {@link Management.ForbiddenError}
|
|
38
|
+
* @throws {@link Management.NotFoundError}
|
|
39
|
+
* @throws {@link Management.ConflictError}
|
|
40
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* await client.attackProtection.captchaPolicies.create({
|
|
44
|
+
* name: "name",
|
|
45
|
+
* priority: 1,
|
|
46
|
+
* match: {},
|
|
47
|
+
* action: {}
|
|
48
|
+
* })
|
|
49
|
+
*/
|
|
50
|
+
create(request: Management.CreateAttackProtectionCaptchaPolicyRequestContent, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.AttackProtectionCaptchaPolicy>;
|
|
51
|
+
private __create;
|
|
52
|
+
/**
|
|
53
|
+
* Retrieve a single CAPTCHA attack protection policy for the tenant by ID.
|
|
54
|
+
*
|
|
55
|
+
* @param {string} id - ID of the CAPTCHA attack protection policy.
|
|
56
|
+
* @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link Management.BadRequestError}
|
|
59
|
+
* @throws {@link Management.UnauthorizedError}
|
|
60
|
+
* @throws {@link Management.ForbiddenError}
|
|
61
|
+
* @throws {@link Management.NotFoundError}
|
|
62
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* await client.attackProtection.captchaPolicies.get("id")
|
|
66
|
+
*/
|
|
67
|
+
get(id: string, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.AttackProtectionCaptchaPolicy>;
|
|
68
|
+
private __get;
|
|
69
|
+
/**
|
|
70
|
+
* Delete a CAPTCHA attack protection policy for the tenant.
|
|
71
|
+
*
|
|
72
|
+
* @param {string} id - ID of the CAPTCHA attack protection policy.
|
|
73
|
+
* @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link Management.BadRequestError}
|
|
76
|
+
* @throws {@link Management.UnauthorizedError}
|
|
77
|
+
* @throws {@link Management.ForbiddenError}
|
|
78
|
+
* @throws {@link Management.NotFoundError}
|
|
79
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* await client.attackProtection.captchaPolicies.delete("id")
|
|
83
|
+
*/
|
|
84
|
+
delete(id: string, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
85
|
+
private __delete;
|
|
86
|
+
/**
|
|
87
|
+
* Partially update a CAPTCHA attack protection policy. Only the provided fields are modified. A provided match or action replaces the stored value in full rather than merging with it; within action, a provider secret or API key that is omitted from a provided provider block keeps its stored value.
|
|
88
|
+
*
|
|
89
|
+
* @param {string} id - ID of the CAPTCHA attack protection policy.
|
|
90
|
+
* @param {Management.UpdateAttackProtectionCaptchaPolicyRequestContent} request
|
|
91
|
+
* @param {CaptchaPoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link Management.BadRequestError}
|
|
94
|
+
* @throws {@link Management.UnauthorizedError}
|
|
95
|
+
* @throws {@link Management.ForbiddenError}
|
|
96
|
+
* @throws {@link Management.NotFoundError}
|
|
97
|
+
* @throws {@link Management.ConflictError}
|
|
98
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* await client.attackProtection.captchaPolicies.update("id")
|
|
102
|
+
*/
|
|
103
|
+
update(id: string, request?: Management.UpdateAttackProtectionCaptchaPolicyRequestContent, requestOptions?: CaptchaPoliciesClient.RequestOptions): core.HttpResponsePromise<Management.AttackProtectionCaptchaPolicy>;
|
|
104
|
+
private __update;
|
|
105
|
+
}
|