auth0 5.6.0 → 5.8.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.
Files changed (28) hide show
  1. package/dist/cjs/management/api/requests/requests.d.ts +41 -2
  2. package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +2 -1
  3. package/dist/cjs/management/api/resources/clientGrants/client/Client.js +4 -2
  4. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.ts +43 -0
  5. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +152 -0
  6. package/dist/cjs/management/api/resources/eventStreams/client/Client.d.ts +1 -1
  7. package/dist/cjs/management/api/resources/eventStreams/client/Client.js +1 -1
  8. package/dist/cjs/management/api/resources/logStreams/client/Client.d.ts +465 -300
  9. package/dist/cjs/management/api/resources/logStreams/client/Client.js +465 -300
  10. package/dist/cjs/management/api/types/types.d.ts +200 -37
  11. package/dist/cjs/management/api/types/types.js +104 -46
  12. package/dist/cjs/management/version.d.ts +1 -1
  13. package/dist/cjs/management/version.js +1 -1
  14. package/dist/esm/management/api/requests/requests.d.mts +41 -2
  15. package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +2 -1
  16. package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +4 -2
  17. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.mts +43 -0
  18. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +152 -0
  19. package/dist/esm/management/api/resources/eventStreams/client/Client.d.mts +1 -1
  20. package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +1 -1
  21. package/dist/esm/management/api/resources/logStreams/client/Client.d.mts +465 -300
  22. package/dist/esm/management/api/resources/logStreams/client/Client.mjs +465 -300
  23. package/dist/esm/management/api/types/types.d.mts +200 -37
  24. package/dist/esm/management/api/types/types.mjs +94 -36
  25. package/dist/esm/management/version.d.mts +1 -1
  26. package/dist/esm/management/version.mjs +1 -1
  27. package/package.json +1 -1
  28. package/reference.md +673 -323
@@ -955,6 +955,10 @@ export const ClientExternalMetadataCreatedByEnum = {
955
955
  export const ClientExternalMetadataTypeEnum = {
956
956
  Cimd: "cimd",
957
957
  };
958
+ /** Applies this client grant as the default for all clients in the specified group. The only accepted value is `third_party_clients`, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`. */
959
+ export const ClientGrantDefaultForEnum = {
960
+ ThirdPartyClients: "third_party_clients",
961
+ };
958
962
  /** Controls how organizations may be used with this grant */
959
963
  export const ClientGrantOrganizationNullableUsageEnum = {
960
964
  Deny: "deny",
@@ -972,6 +976,21 @@ export const ClientGrantSubjectTypeEnum = {
972
976
  Client: "client",
973
977
  User: "user",
974
978
  };
979
+ /** The allowed connection strategy values for the My Organization Configuration. */
980
+ export const ClientMyOrganizationConfigurationAllowedStrategiesEnum = {
981
+ Pingfederate: "pingfederate",
982
+ Adfs: "adfs",
983
+ Waad: "waad",
984
+ GoogleApps: "google-apps",
985
+ Okta: "okta",
986
+ Oidc: "oidc",
987
+ Samlp: "samlp",
988
+ };
989
+ /** The deletion behavior for this client. */
990
+ export const ClientMyOrganizationDeletionBehaviorEnum = {
991
+ Allow: "allow",
992
+ AllowIfEmpty: "allow_if_empty",
993
+ };
975
994
  /** The `selected_initiators` property contains the list of initiators to be enabled for the given application. */
976
995
  export const ClientOidcBackchannelLogoutInitiatorsEnum = {
977
996
  RpLogout: "rp-logout",
@@ -1018,16 +1037,31 @@ export const ClientOrganizationUsagePatchEnum = {
1018
1037
  Allow: "allow",
1019
1038
  Require: "require",
1020
1039
  };
1040
+ /** Controls whether Auth0 redirects users to the application's callback URL on authentication errors or in email verification flows. `open_redirect_protection` shows an error page instead of redirecting, and hides the callback domain from email templates. `allow_always` enables standard redirect behavior. Defaults to `open_redirect_protection` for third-party clients. Only applies when `is_first_party` is `false` and `third_party_security_mode` is `strict`. */
1041
+ export const ClientRedirectionPolicyEnum = {
1042
+ AllowAlways: "allow_always",
1043
+ OpenRedirectProtection: "open_redirect_protection",
1044
+ };
1021
1045
  export const ClientSessionTransferAllowedAuthenticationMethodsEnum = {
1022
1046
  Cookie: "cookie",
1023
1047
  Query: "query",
1024
1048
  };
1049
+ /** Indicates the device binding enforcement for delegation (impersonation) access. If set to 'ip', device binding is enforced by IP. If set to 'asn', device binding is enforced by ASN. Default value is `ip`. */
1050
+ export const ClientSessionTransferDelegationDeviceBindingEnum = {
1051
+ Ip: "ip",
1052
+ Asn: "asn",
1053
+ };
1025
1054
  /** Indicates whether device binding security should be enforced for the app. If set to 'ip', the app will enforce device binding by IP, meaning that consumption of Session Transfer Token must be done from the same IP of the issuer. Likewise, if set to 'asn', device binding is enforced by ASN, meaning consumption of Session Transfer Token must be done from the same ASN as the issuer. If set to 'none', device binding is not enforced. Usually configured in the web application. Default value is `ip`. */
1026
1055
  export const ClientSessionTransferDeviceBindingEnum = {
1027
1056
  Ip: "ip",
1028
1057
  Asn: "asn",
1029
1058
  None: "none",
1030
1059
  };
1060
+ /** Security mode for third-party clients. `strict` enforces enhanced security controls: OAuth 2.1 alignment, explicit API authorization, and a curated set of supported features. `permissive` preserves pre-existing behavior and is only available to tenants with prior third-party client usage. Set on creation and cannot be modified. */
1061
+ export const ClientThirdPartySecurityModeEnum = {
1062
+ Strict: "strict",
1063
+ Permissive: "permissive",
1064
+ };
1031
1065
  /** Defines the requested authentication method for the token endpoint. Can be `none` (public client without a client secret), `client_secret_post` (client uses HTTP POST parameters), or `client_secret_basic` (client uses HTTP Basic). */
1032
1066
  export const ClientTokenEndpointAuthMethodEnum = {
1033
1067
  None: "none",
@@ -1040,6 +1074,7 @@ export const ClientTokenEndpointAuthMethodOrNullEnum = {
1040
1074
  ClientSecretPost: "client_secret_post",
1041
1075
  ClientSecretBasic: "client_secret_basic",
1042
1076
  };
1077
+ /** Token exchange type. `on_behalf_of_token_exchange`: enables On-Behalf-Of token exchange (Generally Available). `custom_authentication`: enables custom token exchange profiles (Early Access, requires entitlement). */
1043
1078
  export const ClientTokenExchangeTypeEnum = {
1044
1079
  CustomAuthentication: "custom_authentication",
1045
1080
  OnBehalfOfTokenExchange: "on_behalf_of_token_exchange",
@@ -1065,6 +1100,11 @@ export const ConnectionDigestAlgorithmEnumSaml = {
1065
1100
  Sha1: "sha1",
1066
1101
  Sha256: "sha256",
1067
1102
  };
1103
+ /** Algorithm used for DPoP proof JWT signing. */
1104
+ export const ConnectionDpopSigningAlgEnum = {
1105
+ Es256: "ES256",
1106
+ Ed25519: "Ed25519",
1107
+ };
1068
1108
  export var ConnectionEmailEmail;
1069
1109
  (function (ConnectionEmailEmail) {
1070
1110
  /** Email template syntax type */
@@ -2195,24 +2235,28 @@ export const EventStreamActionDestinationTypeEnum = {
2195
2235
  };
2196
2236
  /** Type of event */
2197
2237
  export const EventStreamDeliveryEventTypeEnum = {
2198
- UserCreated: "user.created",
2199
- UserDeleted: "user.deleted",
2200
- UserUpdated: "user.updated",
2238
+ GroupCreated: "group.created",
2239
+ GroupDeleted: "group.deleted",
2240
+ GroupMemberAdded: "group.member.added",
2241
+ GroupMemberDeleted: "group.member.deleted",
2242
+ GroupRoleAssigned: "group.role.assigned",
2243
+ GroupRoleDeleted: "group.role.deleted",
2244
+ GroupUpdated: "group.updated",
2245
+ OrganizationConnectionAdded: "organization.connection.added",
2246
+ OrganizationConnectionRemoved: "organization.connection.removed",
2247
+ OrganizationConnectionUpdated: "organization.connection.updated",
2201
2248
  OrganizationCreated: "organization.created",
2202
- OrganizationUpdated: "organization.updated",
2203
2249
  OrganizationDeleted: "organization.deleted",
2250
+ OrganizationGroupRoleAssigned: "organization.group.role.assigned",
2251
+ OrganizationGroupRoleDeleted: "organization.group.role.deleted",
2204
2252
  OrganizationMemberAdded: "organization.member.added",
2205
2253
  OrganizationMemberDeleted: "organization.member.deleted",
2206
2254
  OrganizationMemberRoleAssigned: "organization.member.role.assigned",
2207
2255
  OrganizationMemberRoleDeleted: "organization.member.role.deleted",
2208
- OrganizationConnectionAdded: "organization.connection.added",
2209
- OrganizationConnectionUpdated: "organization.connection.updated",
2210
- OrganizationConnectionRemoved: "organization.connection.removed",
2211
- GroupCreated: "group.created",
2212
- GroupUpdated: "group.updated",
2213
- GroupDeleted: "group.deleted",
2214
- GroupMemberAdded: "group.member.added",
2215
- GroupMemberDeleted: "group.member.deleted",
2256
+ OrganizationUpdated: "organization.updated",
2257
+ UserCreated: "user.created",
2258
+ UserDeleted: "user.deleted",
2259
+ UserUpdated: "user.updated",
2216
2260
  };
2217
2261
  /** Delivery status */
2218
2262
  export const EventStreamDeliveryStatusEnum = {
@@ -2261,24 +2305,28 @@ export const EventStreamEventBridgeDestinationTypeEnum = {
2261
2305
  Eventbridge: "eventbridge",
2262
2306
  };
2263
2307
  export const EventStreamEventTypeEnum = {
2264
- UserCreated: "user.created",
2265
- UserDeleted: "user.deleted",
2266
- UserUpdated: "user.updated",
2308
+ GroupCreated: "group.created",
2309
+ GroupDeleted: "group.deleted",
2310
+ GroupMemberAdded: "group.member.added",
2311
+ GroupMemberDeleted: "group.member.deleted",
2312
+ GroupRoleAssigned: "group.role.assigned",
2313
+ GroupRoleDeleted: "group.role.deleted",
2314
+ GroupUpdated: "group.updated",
2315
+ OrganizationConnectionAdded: "organization.connection.added",
2316
+ OrganizationConnectionRemoved: "organization.connection.removed",
2317
+ OrganizationConnectionUpdated: "organization.connection.updated",
2267
2318
  OrganizationCreated: "organization.created",
2268
- OrganizationUpdated: "organization.updated",
2269
2319
  OrganizationDeleted: "organization.deleted",
2320
+ OrganizationGroupRoleAssigned: "organization.group.role.assigned",
2321
+ OrganizationGroupRoleDeleted: "organization.group.role.deleted",
2270
2322
  OrganizationMemberAdded: "organization.member.added",
2271
2323
  OrganizationMemberDeleted: "organization.member.deleted",
2272
2324
  OrganizationMemberRoleAssigned: "organization.member.role.assigned",
2273
2325
  OrganizationMemberRoleDeleted: "organization.member.role.deleted",
2274
- OrganizationConnectionAdded: "organization.connection.added",
2275
- OrganizationConnectionUpdated: "organization.connection.updated",
2276
- OrganizationConnectionRemoved: "organization.connection.removed",
2277
- GroupCreated: "group.created",
2278
- GroupUpdated: "group.updated",
2279
- GroupDeleted: "group.deleted",
2280
- GroupMemberAdded: "group.member.added",
2281
- GroupMemberDeleted: "group.member.deleted",
2326
+ OrganizationUpdated: "organization.updated",
2327
+ UserCreated: "user.created",
2328
+ UserDeleted: "user.deleted",
2329
+ UserUpdated: "user.updated",
2282
2330
  };
2283
2331
  /** Indicates whether the event stream is actively forwarding events. */
2284
2332
  export const EventStreamStatusEnum = {
@@ -2287,24 +2335,28 @@ export const EventStreamStatusEnum = {
2287
2335
  };
2288
2336
  /** The type of event this test event represents. */
2289
2337
  export const EventStreamTestEventTypeEnum = {
2290
- UserCreated: "user.created",
2291
- UserDeleted: "user.deleted",
2292
- UserUpdated: "user.updated",
2338
+ GroupCreated: "group.created",
2339
+ GroupDeleted: "group.deleted",
2340
+ GroupMemberAdded: "group.member.added",
2341
+ GroupMemberDeleted: "group.member.deleted",
2342
+ GroupRoleAssigned: "group.role.assigned",
2343
+ GroupRoleDeleted: "group.role.deleted",
2344
+ GroupUpdated: "group.updated",
2345
+ OrganizationConnectionAdded: "organization.connection.added",
2346
+ OrganizationConnectionRemoved: "organization.connection.removed",
2347
+ OrganizationConnectionUpdated: "organization.connection.updated",
2293
2348
  OrganizationCreated: "organization.created",
2294
- OrganizationUpdated: "organization.updated",
2295
2349
  OrganizationDeleted: "organization.deleted",
2350
+ OrganizationGroupRoleAssigned: "organization.group.role.assigned",
2351
+ OrganizationGroupRoleDeleted: "organization.group.role.deleted",
2296
2352
  OrganizationMemberAdded: "organization.member.added",
2297
2353
  OrganizationMemberDeleted: "organization.member.deleted",
2298
2354
  OrganizationMemberRoleAssigned: "organization.member.role.assigned",
2299
2355
  OrganizationMemberRoleDeleted: "organization.member.role.deleted",
2300
- OrganizationConnectionAdded: "organization.connection.added",
2301
- OrganizationConnectionUpdated: "organization.connection.updated",
2302
- OrganizationConnectionRemoved: "organization.connection.removed",
2303
- GroupCreated: "group.created",
2304
- GroupUpdated: "group.updated",
2305
- GroupDeleted: "group.deleted",
2306
- GroupMemberAdded: "group.member.added",
2307
- GroupMemberDeleted: "group.member.deleted",
2356
+ OrganizationUpdated: "organization.updated",
2357
+ UserCreated: "user.created",
2358
+ UserDeleted: "user.deleted",
2359
+ UserUpdated: "user.updated",
2308
2360
  };
2309
2361
  /** Type of authorization. */
2310
2362
  export const EventStreamWebhookBasicAuthMethodEnum = {
@@ -4127,12 +4179,18 @@ export const SuspiciousIpThrottlingShieldsEnum = {
4127
4179
  export const SynchronizeGroupsEnum = {
4128
4180
  All: "all",
4129
4181
  Off: "off",
4182
+ Selected: "selected",
4130
4183
  };
4131
4184
  /** Character set used to generate a User Code. Can be `base20` or `digits`. */
4132
4185
  export const TenantSettingsDeviceFlowCharset = {
4133
4186
  Base20: "base20",
4134
4187
  Digits: "digits",
4135
4188
  };
4189
+ /** Sets the `third_party_security_mode` assigned to clients created via Dynamic Client Registration. `strict` applies enhanced security controls. `permissive` preserves pre-existing behavior and is only available to tenants with prior third-party client usage. */
4190
+ export const TenantSettingsDynamicClientRegistrationSecurityMode = {
4191
+ Strict: "strict",
4192
+ Permissive: "permissive",
4193
+ };
4136
4194
  /** Profile that determines how the identity of the protected resource (i.e., API) can be specified in the OAuth endpoints when access is being requested. When set to audience (default), the audience parameter is used to specify the resource server. When set to compatibility, the audience parameter is still checked first, but if it not provided, then the resource parameter can be used to specify the resource server. */
4137
4195
  export const TenantSettingsResourceParameterProfile = {
4138
4196
  Audience: "audience",
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.6.0";
1
+ export declare const SDK_VERSION = "5.8.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "5.6.0";
1
+ export const SDK_VERSION = "5.8.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auth0",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",