auth0 5.12.0 → 5.13.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/lib/models.d.ts +7 -7
- package/dist/cjs/management/api/requests/requests.d.ts +16 -2
- package/dist/cjs/management/api/resources/attackProtection/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/attackProtection/client/Client.js +7 -2
- 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/attackProtection/resources/phoneProviderProtection/client/Client.d.ts +45 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.js +180 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.js +2 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/index.js +17 -0
- package/dist/cjs/management/api/resources/clients/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/clients/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/emailTemplates/client/Client.d.ts +4 -4
- package/dist/cjs/management/api/resources/emailTemplates/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.js +3 -0
- package/dist/cjs/management/api/types/types.d.ts +150 -32
- package/dist/cjs/management/api/types/types.js +9 -3
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.js +1 -1
- package/dist/esm/lib/models.d.mts +7 -7
- package/dist/esm/management/api/requests/requests.d.mts +16 -2
- 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/index.d.mts +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.d.mts +45 -0
- package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.mjs +143 -0
- package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/index.d.mts +1 -0
- package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/index.mjs +1 -0
- package/dist/esm/management/api/resources/clients/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/clients/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/emailTemplates/client/Client.d.mts +4 -4
- package/dist/esm/management/api/resources/emailTemplates/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/keys/resources/signing/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/keys/resources/signing/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.mjs +3 -0
- package/dist/esm/management/api/types/types.d.mts +150 -32
- package/dist/esm/management/api/types/types.mjs +7 -1
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +126 -4
package/reference.md
CHANGED
|
@@ -3477,7 +3477,7 @@ await client.emailTemplates.create({
|
|
|
3477
3477
|
<dl>
|
|
3478
3478
|
<dd>
|
|
3479
3479
|
|
|
3480
|
-
Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
|
|
3480
|
+
Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
|
|
3481
3481
|
|
|
3482
3482
|
</dd>
|
|
3483
3483
|
</dl>
|
|
@@ -3509,7 +3509,7 @@ await client.emailTemplates.get("verify_email");
|
|
|
3509
3509
|
<dl>
|
|
3510
3510
|
<dd>
|
|
3511
3511
|
|
|
3512
|
-
**templateName:** `Management.EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
|
|
3512
|
+
**templateName:** `Management.EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
|
|
3513
3513
|
|
|
3514
3514
|
</dd>
|
|
3515
3515
|
</dl>
|
|
@@ -3574,7 +3574,7 @@ await client.emailTemplates.set("verify_email", {
|
|
|
3574
3574
|
<dl>
|
|
3575
3575
|
<dd>
|
|
3576
3576
|
|
|
3577
|
-
**templateName:** `Management.EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
|
|
3577
|
+
**templateName:** `Management.EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
|
|
3578
3578
|
|
|
3579
3579
|
</dd>
|
|
3580
3580
|
</dl>
|
|
@@ -3645,7 +3645,7 @@ await client.emailTemplates.update("verify_email");
|
|
|
3645
3645
|
<dl>
|
|
3646
3646
|
<dd>
|
|
3647
3647
|
|
|
3648
|
-
**templateName:** `Management.EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
|
|
3648
|
+
**templateName:** `Management.EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
|
|
3649
3649
|
|
|
3650
3650
|
</dd>
|
|
3651
3651
|
</dl>
|
|
@@ -14061,6 +14061,128 @@ await client.attackProtection.captcha.update();
|
|
|
14061
14061
|
</dl>
|
|
14062
14062
|
</details>
|
|
14063
14063
|
|
|
14064
|
+
## AttackProtection PhoneProviderProtection
|
|
14065
|
+
|
|
14066
|
+
<details><summary><code>client.attackProtection.phoneProviderProtection.<a href="/src/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.ts">get</a>() -> Management.GetPhoneProviderProtectionResponseContent</code></summary>
|
|
14067
|
+
<dl>
|
|
14068
|
+
<dd>
|
|
14069
|
+
|
|
14070
|
+
#### 📝 Description
|
|
14071
|
+
|
|
14072
|
+
<dl>
|
|
14073
|
+
<dd>
|
|
14074
|
+
|
|
14075
|
+
<dl>
|
|
14076
|
+
<dd>
|
|
14077
|
+
|
|
14078
|
+
Get the phone provider protection configuration for a tenant.
|
|
14079
|
+
|
|
14080
|
+
</dd>
|
|
14081
|
+
</dl>
|
|
14082
|
+
</dd>
|
|
14083
|
+
</dl>
|
|
14084
|
+
|
|
14085
|
+
#### 🔌 Usage
|
|
14086
|
+
|
|
14087
|
+
<dl>
|
|
14088
|
+
<dd>
|
|
14089
|
+
|
|
14090
|
+
<dl>
|
|
14091
|
+
<dd>
|
|
14092
|
+
|
|
14093
|
+
```typescript
|
|
14094
|
+
await client.attackProtection.phoneProviderProtection.get();
|
|
14095
|
+
```
|
|
14096
|
+
|
|
14097
|
+
</dd>
|
|
14098
|
+
</dl>
|
|
14099
|
+
</dd>
|
|
14100
|
+
</dl>
|
|
14101
|
+
|
|
14102
|
+
#### ⚙️ Parameters
|
|
14103
|
+
|
|
14104
|
+
<dl>
|
|
14105
|
+
<dd>
|
|
14106
|
+
|
|
14107
|
+
<dl>
|
|
14108
|
+
<dd>
|
|
14109
|
+
|
|
14110
|
+
**requestOptions:** `PhoneProviderProtectionClient.RequestOptions`
|
|
14111
|
+
|
|
14112
|
+
</dd>
|
|
14113
|
+
</dl>
|
|
14114
|
+
</dd>
|
|
14115
|
+
</dl>
|
|
14116
|
+
|
|
14117
|
+
</dd>
|
|
14118
|
+
</dl>
|
|
14119
|
+
</details>
|
|
14120
|
+
|
|
14121
|
+
<details><summary><code>client.attackProtection.phoneProviderProtection.<a href="/src/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.ts">patch</a>({ ...params }) -> Management.PatchPhoneProviderProtectionResponseContent</code></summary>
|
|
14122
|
+
<dl>
|
|
14123
|
+
<dd>
|
|
14124
|
+
|
|
14125
|
+
#### 📝 Description
|
|
14126
|
+
|
|
14127
|
+
<dl>
|
|
14128
|
+
<dd>
|
|
14129
|
+
|
|
14130
|
+
<dl>
|
|
14131
|
+
<dd>
|
|
14132
|
+
|
|
14133
|
+
Update the phone provider protection configuration for a tenant.
|
|
14134
|
+
|
|
14135
|
+
</dd>
|
|
14136
|
+
</dl>
|
|
14137
|
+
</dd>
|
|
14138
|
+
</dl>
|
|
14139
|
+
|
|
14140
|
+
#### 🔌 Usage
|
|
14141
|
+
|
|
14142
|
+
<dl>
|
|
14143
|
+
<dd>
|
|
14144
|
+
|
|
14145
|
+
<dl>
|
|
14146
|
+
<dd>
|
|
14147
|
+
|
|
14148
|
+
```typescript
|
|
14149
|
+
await client.attackProtection.phoneProviderProtection.patch({
|
|
14150
|
+
type: "exponential",
|
|
14151
|
+
});
|
|
14152
|
+
```
|
|
14153
|
+
|
|
14154
|
+
</dd>
|
|
14155
|
+
</dl>
|
|
14156
|
+
</dd>
|
|
14157
|
+
</dl>
|
|
14158
|
+
|
|
14159
|
+
#### ⚙️ Parameters
|
|
14160
|
+
|
|
14161
|
+
<dl>
|
|
14162
|
+
<dd>
|
|
14163
|
+
|
|
14164
|
+
<dl>
|
|
14165
|
+
<dd>
|
|
14166
|
+
|
|
14167
|
+
**request:** `Management.PatchPhoneProviderProtectionRequestContent`
|
|
14168
|
+
|
|
14169
|
+
</dd>
|
|
14170
|
+
</dl>
|
|
14171
|
+
|
|
14172
|
+
<dl>
|
|
14173
|
+
<dd>
|
|
14174
|
+
|
|
14175
|
+
**requestOptions:** `PhoneProviderProtectionClient.RequestOptions`
|
|
14176
|
+
|
|
14177
|
+
</dd>
|
|
14178
|
+
</dl>
|
|
14179
|
+
</dd>
|
|
14180
|
+
</dl>
|
|
14181
|
+
|
|
14182
|
+
</dd>
|
|
14183
|
+
</dl>
|
|
14184
|
+
</details>
|
|
14185
|
+
|
|
14064
14186
|
## AttackProtection SuspiciousIpThrottling
|
|
14065
14187
|
|
|
14066
14188
|
<details><summary><code>client.attackProtection.suspiciousIpThrottling.<a href="/src/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.ts">get</a>() -> Management.GetSuspiciousIpThrottlingSettingsResponseContent</code></summary>
|