auth0 4.0.0-beta.5 → 4.0.0-beta.6

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 (60) hide show
  1. package/dist/cjs/auth/base-auth-api.js +15 -2
  2. package/dist/cjs/auth/base-auth-api.js.map +1 -1
  3. package/dist/cjs/auth/id-token-validator.js +14 -4
  4. package/dist/cjs/auth/id-token-validator.js.map +1 -1
  5. package/dist/cjs/auth/oauth.js.map +1 -1
  6. package/dist/cjs/index.js +1 -0
  7. package/dist/cjs/index.js.map +1 -1
  8. package/dist/cjs/management/__generated/managers/attack-protection-manager.js +0 -12
  9. package/dist/cjs/management/__generated/managers/attack-protection-manager.js.map +1 -1
  10. package/dist/cjs/management/__generated/managers/clients-manager.js +114 -10
  11. package/dist/cjs/management/__generated/managers/clients-manager.js.map +1 -1
  12. package/dist/cjs/management/__generated/managers/connections-manager.js +8 -0
  13. package/dist/cjs/management/__generated/managers/connections-manager.js.map +1 -1
  14. package/dist/cjs/management/__generated/managers/hooks-manager.js +2 -2
  15. package/dist/cjs/management/__generated/managers/hooks-manager.js.map +1 -1
  16. package/dist/cjs/management/__generated/managers/roles-manager.js +3 -3
  17. package/dist/cjs/management/__generated/managers/roles-manager.js.map +1 -1
  18. package/dist/cjs/management/__generated/managers/users-manager.js +1 -1
  19. package/dist/cjs/management/__generated/managers/users-manager.js.map +1 -1
  20. package/dist/cjs/management/__generated/models/index.js +73 -11
  21. package/dist/cjs/management/__generated/models/index.js.map +1 -1
  22. package/dist/cjs/userinfo/index.js +72 -0
  23. package/dist/cjs/userinfo/index.js.map +1 -0
  24. package/dist/cjs/version.js +1 -1
  25. package/dist/esm/auth/base-auth-api.js +15 -2
  26. package/dist/esm/auth/base-auth-api.js.map +1 -1
  27. package/dist/esm/auth/id-token-validator.js +14 -4
  28. package/dist/esm/auth/id-token-validator.js.map +1 -1
  29. package/dist/esm/auth/oauth.js.map +1 -1
  30. package/dist/esm/index.js +1 -0
  31. package/dist/esm/index.js.map +1 -1
  32. package/dist/esm/management/__generated/managers/attack-protection-manager.js +0 -12
  33. package/dist/esm/management/__generated/managers/attack-protection-manager.js.map +1 -1
  34. package/dist/esm/management/__generated/managers/clients-manager.js +114 -10
  35. package/dist/esm/management/__generated/managers/clients-manager.js.map +1 -1
  36. package/dist/esm/management/__generated/managers/connections-manager.js +8 -0
  37. package/dist/esm/management/__generated/managers/connections-manager.js.map +1 -1
  38. package/dist/esm/management/__generated/managers/hooks-manager.js +2 -2
  39. package/dist/esm/management/__generated/managers/hooks-manager.js.map +1 -1
  40. package/dist/esm/management/__generated/managers/roles-manager.js +3 -3
  41. package/dist/esm/management/__generated/managers/roles-manager.js.map +1 -1
  42. package/dist/esm/management/__generated/managers/users-manager.js +1 -1
  43. package/dist/esm/management/__generated/managers/users-manager.js.map +1 -1
  44. package/dist/esm/management/__generated/models/index.js +69 -7
  45. package/dist/esm/management/__generated/models/index.js.map +1 -1
  46. package/dist/esm/userinfo/index.js +66 -0
  47. package/dist/esm/userinfo/index.js.map +1 -0
  48. package/dist/esm/version.js +1 -1
  49. package/dist/types/auth/oauth.d.ts +8 -0
  50. package/dist/types/index.d.ts +1 -0
  51. package/dist/types/management/__generated/managers/attack-protection-manager.d.ts +0 -8
  52. package/dist/types/management/__generated/managers/clients-manager.d.ts +66 -11
  53. package/dist/types/management/__generated/managers/connections-manager.d.ts +16 -0
  54. package/dist/types/management/__generated/managers/hooks-manager.d.ts +2 -6
  55. package/dist/types/management/__generated/managers/roles-manager.d.ts +3 -3
  56. package/dist/types/management/__generated/managers/users-manager.d.ts +4 -8
  57. package/dist/types/management/__generated/models/index.d.ts +455 -34
  58. package/dist/types/userinfo/index.d.ts +55 -0
  59. package/dist/types/version.d.ts +1 -1
  60. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import * as runtime from '../../../lib/runtime.js';
2
2
  import type { InitOverride, ApiResponse } from '../../../lib/runtime.js';
3
- import type { Client, ClientCreate, ClientUpdate, DeleteClientsByIdRequest, GetClientsRequest, GetClientsByIdRequest, PatchClientsByIdRequest, PostRotateSecretRequest } from '../models/index.js';
3
+ import type { Client, ClientCreate, ClientUpdate, GetCredentials200ResponseInner, PatchCredentialsByCredentialIdRequest, PostCredentialsRequest, DeleteClientsByIdRequest, DeleteCredentialsByCredentialIdRequest, GetClientsRequest, GetClientsByIdRequest, GetCredentialsRequest, GetCredentialsByCredentialIdRequest, PatchClientsByIdRequest, PatchCredentialsByCredentialIdOperationRequest, PostCredentialsOperationRequest, PostRotateSecretRequest } from '../models/index.js';
4
4
  declare const BaseAPI: typeof runtime.BaseAPI;
5
5
  /**
6
6
  *
@@ -13,6 +13,12 @@ export declare class ClientsManager extends BaseAPI {
13
13
  * @throws {RequiredError}
14
14
  */
15
15
  delete(requestParameters: DeleteClientsByIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
16
+ /**
17
+ * Delete a client credential
18
+ *
19
+ * @throws {RequiredError}
20
+ */
21
+ deleteCredential(requestParameters: DeleteCredentialsByCredentialIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
16
22
  /**
17
23
  * Retrieve clients (applications and SSO integrations) matching provided filters. A list of fields to include or exclude
18
24
  * may also be specified. Note:
@@ -32,13 +38,14 @@ export declare class ClientsManager extends BaseAPI {
32
38
  * <code>token_endpoint_auth_method</code>, <code>is_first_party</code>, <code>oidc_conformant</code>,
33
39
  * <code>is_token_endpoint_ip_header_trusted</code>, <code>initiate_login_uri</code>, <code>grant_types</code>,
34
40
  * <code>refresh_token</code>, <code>refresh_token.rotation_type</code>, <code>refresh_token.expiration_type</code>,
35
- * <code>refresh_token.leeway</code>, <code>refresh_token.token_lifetime</code>, <code>organization_usage</code>, and
36
- * <code>organization_require_behavior</code> properties can only be retrieved with the <code>read:clients</code> or
41
+ * <code>refresh_token.leeway</code>, <code>refresh_token.token_lifetime</code>, <code>organization_usage</code>,
42
+ * <code>organization_require_behavior</code>
43
+ * properties can only be retrieved with the <code>read:clients</code> or
37
44
  * <code>read:client_keys</code> scope.
38
45
  * </li>
39
46
  * <li><code>encryption_key</code>, <code>encryption_key.pub</code>, <code>encryption_key.cert</code>,
40
- * <code>client_secret</code>, and <code>signing_key</code> properties can only be retrieved with the
41
- * <code>read:client_keys</code> scope.
47
+ * <code>client_secret</code>, <code>client_authentication_methods</code> and <code>signing_key</code> properties can only be retrieved with the
48
+ * <code>read:client_keys</code> or <code>read:client_credentials</code> scope.
42
49
  * </li>
43
50
  * </ul>
44
51
  *
@@ -65,13 +72,14 @@ export declare class ClientsManager extends BaseAPI {
65
72
  * <code>token_endpoint_auth_method</code>, <code>is_first_party</code>, <code>oidc_conformant</code>,
66
73
  * <code>is_token_endpoint_ip_header_trusted</code>, <code>initiate_login_uri</code>, <code>grant_types</code>,
67
74
  * <code>refresh_token</code>, <code>refresh_token.rotation_type</code>, <code>refresh_token.expiration_type</code>,
68
- * <code>refresh_token.leeway</code>, <code>refresh_token.token_lifetime</code>, <code>organization_usage</code>, and
69
- * <code>organization_require_behavior</code> properties can only be retrieved with the <code>read:clients</code> or
75
+ * <code>refresh_token.leeway</code>, <code>refresh_token.token_lifetime</code>, <code>organization_usage</code>,
76
+ * <code>organization_require_behavior</code>
77
+ * properties can only be retrieved with the <code>read:clients</code> or
70
78
  * <code>read:client_keys</code> scope.
71
79
  * </li>
72
80
  * <li><code>encryption_key</code>, <code>encryption_key.pub</code>, <code>encryption_key.cert</code>,
73
- * <code>client_secret</code>, and <code>signing_key</code> properties can only be retrieved with the
74
- * <code>read:client_keys</code> scope.
81
+ * <code>client_secret</code>, <code>client_authentication_methods</code> and <code>signing_key</code> properties can only be retrieved with the
82
+ * <code>read:client_keys</code> or <code>read:client_credentials</code> scope.
75
83
  * </li>
76
84
  * </ul>
77
85
  *
@@ -81,16 +89,54 @@ export declare class ClientsManager extends BaseAPI {
81
89
  */
82
90
  get(requestParameters: GetClientsByIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<Client>>;
83
91
  /**
84
- * Note: The `client_secret` and `signing_key` attributes can only be updated with the `update:client_keys` scope.
92
+ * Get the list of client credentials that are associated to the client.
93
+ *
94
+ * Important: To enable credentials to be used for Private Key JWT authentication method, set the <code>client_authentication_methods</code> property on the client.
95
+ * Get client credentials
96
+ *
97
+ * @throws {RequiredError}
98
+ */
99
+ getCredentials(requestParameters: GetCredentialsRequest, initOverrides?: InitOverride): Promise<ApiResponse<Array<GetCredentials200ResponseInner>>>;
100
+ /**
101
+ * Get the details of a client credential.
102
+ * Get client credential
103
+ *
104
+ * @throws {RequiredError}
105
+ */
106
+ getCredential(requestParameters: GetCredentialsByCredentialIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetCredentials200ResponseInner>>;
107
+ /**
108
+ * Notes:
109
+ * - The `client_secret` and `signing_key` attributes can only be updated with the `update:client_keys` scope.
110
+ * - The <code>client_authentication_methods</code> and <code>token_endpoint_auth_method</code> properties are mutually exclusive. Use
111
+ * <code>client_authentication_methods</code> to configure the client with Private Key JWT authentication method. Otherwise, use <code>token_endpoint_auth_method</code>
112
+ * to configure the client with client secret (basic or post) or with no authentication method (none).
113
+ * - When using <code>client_authentication_methods</code> to configure the client with Private Key JWT authentication method, only specify the credential IDs
114
+ * that were generated when creating the credentials on the client.
115
+ * - To configure <code>client_authentication_methods</code>, the <code>update:client_credentials</code> scope is required.
116
+ * - To configure <code>client_authentication_methods</code>, the property <code>jwt_configuration.alg</code> must be set to RS256.
85
117
  * Update a client
86
118
  *
87
119
  * @throws {RequiredError}
88
120
  */
89
121
  update(requestParameters: PatchClientsByIdRequest, bodyParameters: ClientUpdate, initOverrides?: InitOverride): Promise<ApiResponse<Client>>;
122
+ /**
123
+ * Update a client credential
124
+ *
125
+ * @throws {RequiredError}
126
+ */
127
+ updateCredential(requestParameters: PatchCredentialsByCredentialIdOperationRequest, bodyParameters: PatchCredentialsByCredentialIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetCredentials200ResponseInner>>;
90
128
  /**
91
129
  * Create a new client (application or SSO integration).
92
130
  *
93
- * Note: We recommend leaving the `client_secret` parameter unspecified to allow the generation of a safe secret.
131
+ * Notes:
132
+ * - We recommend leaving the `client_secret` parameter unspecified to allow the generation of a safe secret.
133
+ * - The <code>client_authentication_methods</code> and <code>token_endpoint_auth_method</code> properties are mutually exclusive. Use
134
+ * <code>client_authentication_methods</code> to configure the client with Private Key JWT authentication method. Otherwise, use <code>token_endpoint_auth_method</code>
135
+ * to configure the client with client secret (basic or post) or with no authentication method (none).
136
+ * - When using <code>client_authentication_methods</code> to configure the client with Private Key JWT authentication method, specify fully defined credentials.
137
+ * These credentials will be automatically enabled for Private Key JWT authentication on the client.
138
+ * - To configure <code>client_authentication_methods</code>, the <code>create:client_credentials</code> scope is required.
139
+ * - To configure <code>client_authentication_methods</code>, the property <code>jwt_configuration.alg</code> must be set to RS256.
94
140
  *
95
141
  * <div class="alert alert-warning">SSO Integrations created via this endpoint will accept login requests and share user profile information.</div>
96
142
  *
@@ -99,9 +145,18 @@ export declare class ClientsManager extends BaseAPI {
99
145
  * @throws {RequiredError}
100
146
  */
101
147
  create(bodyParameters: ClientCreate, initOverrides?: InitOverride): Promise<ApiResponse<Client>>;
148
+ /**
149
+ * Create a client credential associated to the client. The credential will be created but not yet enabled for use with Private Key JWT authentication method. To enable the credential, set the <code>client_authentication_methods</code> property on the client.
150
+ * Create a client credential
151
+ *
152
+ * @throws {RequiredError}
153
+ */
154
+ createCredential(requestParameters: PostCredentialsOperationRequest, bodyParameters: PostCredentialsRequest, initOverrides?: InitOverride): Promise<ApiResponse<GetCredentials200ResponseInner>>;
102
155
  /**
103
156
  * Rotate a client secret.
104
157
  *
158
+ * This endpoint cannot be used with clients configured with Private Key JWT authentication method (client_authentication_methods configured with private_key_jwt).
159
+ *
105
160
  * Note: The generated secret is NOT base64 encoded.
106
161
  *
107
162
  * Rotate a client secret
@@ -24,7 +24,23 @@ export declare class ConnectionsManager extends BaseAPI {
24
24
  deleteUserByEmail(requestParameters: DeleteUsersByEmailRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
25
25
  /**
26
26
  * Retrieves every connection matching the specified strategy. All connections are retrieved if no strategy is being specified. Accepts a list of fields to include or exclude in the resulting list of connection objects.
27
+ * This endpoint supports two types of pagination:
28
+ * - Offset pagination
29
+ * - Checkpoint pagination
27
30
  *
31
+ * Checkpoint pagination should be used if you need to retrieve more than 1000 connections.
32
+ *
33
+ * <h2>Checkpoint Pagination</h2>
34
+ *
35
+ * To search by checkpoint, use the following parameters:
36
+ * - from: Optional id from which to start selection.
37
+ * - take: The total amount of entries to retrieve when using the from parameter. Defaults to 50.
38
+ *
39
+ * The first time you call this endpoint using Checkpoint Pagination, you should omit the <code>from</code> parameter.
40
+ * If there are more results, a <code>next</code> value will be included in the response. You can use this for subsequent API calls.
41
+ * When <code>next</code> is no longer included in the response, this indicates there are no more pages remaining.
42
+ *
43
+ * Note: The <code>include_totals</code> parameter is not supported when using checkpoint pagination.
28
44
  * Get all connections
29
45
  *
30
46
  * @throws {RequiredError}
@@ -67,9 +67,7 @@ export declare class HooksManager extends BaseAPI {
67
67
  */
68
68
  updateSecrets(requestParameters: PatchSecretsRequest, bodyParameters: {
69
69
  [key: string]: any;
70
- }, initOverrides?: InitOverride): Promise<ApiResponse<{
71
- [key: string]: any;
72
- }>>;
70
+ }, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
73
71
  /**
74
72
  * Create a new hook.
75
73
  *
@@ -87,8 +85,6 @@ export declare class HooksManager extends BaseAPI {
87
85
  */
88
86
  addSecrets(requestParameters: PostSecretsRequest, bodyParameters: {
89
87
  [key: string]: any;
90
- }, initOverrides?: InitOverride): Promise<ApiResponse<{
91
- [key: string]: any;
92
- }>>;
88
+ }, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
93
89
  }
94
90
  export {};
@@ -13,7 +13,7 @@ export declare class RolesManager extends BaseAPI {
13
13
  *
14
14
  * @throws {RequiredError}
15
15
  */
16
- deletePermissions(requestParameters: DeleteRolePermissionAssignmentRequest, bodyParameters: PostRolePermissionAssignmentRequest, initOverrides?: InitOverride): Promise<ApiResponse<any>>;
16
+ deletePermissions(requestParameters: DeleteRolePermissionAssignmentRequest, bodyParameters: PostRolePermissionAssignmentRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
17
17
  /**
18
18
  * Delete a role.
19
19
  *
@@ -90,14 +90,14 @@ export declare class RolesManager extends BaseAPI {
90
90
  *
91
91
  * @throws {RequiredError}
92
92
  */
93
- addPermissions(requestParameters: PostRolePermissionAssignmentOperationRequest, bodyParameters: PostRolePermissionAssignmentRequest, initOverrides?: InitOverride): Promise<ApiResponse<any>>;
93
+ addPermissions(requestParameters: PostRolePermissionAssignmentOperationRequest, bodyParameters: PostRolePermissionAssignmentRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
94
94
  /**
95
95
  * Assign users to a role.
96
96
  * Assign users to a role
97
97
  *
98
98
  * @throws {RequiredError}
99
99
  */
100
- assignUsers(requestParameters: PostRoleUsersOperationRequest, bodyParameters: PostRoleUsersRequest, initOverrides?: InitOverride): Promise<ApiResponse<any>>;
100
+ assignUsers(requestParameters: PostRoleUsersOperationRequest, bodyParameters: PostRoleUsersRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
101
101
  /**
102
102
  * Create a new role.
103
103
  *
@@ -1,6 +1,6 @@
1
1
  import * as runtime from '../../../lib/runtime.js';
2
2
  import type { InitOverride, ApiResponse } from '../../../lib/runtime.js';
3
- import type { DeletePermissionsRequest, DeleteUserIdentityByUserId200ResponseInner, DeleteUserRolesRequest, GetAuthenticationMethods200ResponseOneOfAuthenticatorsInner, GetUsers200ResponseOneOfInner, PatchAuthenticationMethodsByAuthenticationMethodIdRequest, PostAuthenticationMethods201Response, PostAuthenticationMethodsRequest, PostIdentitiesRequest, PostPermissionsRequest, PostRecoveryCodeRegeneration200Response, PostUserRolesRequest, PutAuthenticationMethodsRequestInner, UserCreate, UserEnrollment, UserIdentity, UserUpdate, GetAuthenticationMethods200ResponseOneOf, GetAuthenticationMethods200ResponseOneOfInner, GetLogs200ResponseOneOf, Log, GetPermissions200ResponseOneOf, GetPermissions200ResponseOneOfInner, GetOrganizations200ResponseOneOf, GetOrganizations200ResponseOneOfInner, GetOrganizationMemberRoles200ResponseOneOf, GetOrganizationMemberRoles200ResponseOneOfInner, GetUsers200ResponseOneOf, DeleteAuthenticationMethodsRequest, DeleteAuthenticationMethodsByAuthenticationMethodIdRequest, DeleteAuthenticatorsRequest, DeleteMultifactorByProviderRequest, DeletePermissionsOperationRequest, DeleteUserIdentityByUserIdRequest, DeleteUserRolesOperationRequest, DeleteUsersByIdRequest, GetAuthenticationMethodsRequest, GetAuthenticationMethodsByAuthenticationMethodIdRequest, GetEnrollmentsRequest, GetLogsByUserRequest, GetPermissionsRequest, GetUserOrganizationsRequest, GetUserRolesRequest, GetUsersRequest, GetUsersByIdRequest, PatchAuthenticationMethodsByAuthenticationMethodIdOperationRequest, PatchUsersByIdRequest, PostAuthenticationMethodsOperationRequest, PostIdentitiesOperationRequest, PostInvalidateRememberBrowserRequest, PostPermissionsOperationRequest, PostRecoveryCodeRegenerationRequest, PostUserRolesOperationRequest, PutAuthenticationMethodsRequest } from '../models/index.js';
3
+ import type { DeletePermissionsRequest, DeleteUserIdentityByUserId200ResponseInner, DeleteUserRolesRequest, GetAuthenticationMethods200ResponseOneOfAuthenticatorsInner, GetUsers200ResponseOneOfInner, PatchAuthenticationMethodsByAuthenticationMethodIdRequest, PostAuthenticationMethods201Response, PostAuthenticationMethodsRequest, PostIdentitiesRequest, PostPermissionsRequest, PostRecoveryCodeRegeneration200Response, PostUserRolesRequest, PutAuthenticationMethods200ResponseInner, PutAuthenticationMethodsRequestInner, UserCreate, UserEnrollment, UserIdentity, UserUpdate, GetAuthenticationMethods200ResponseOneOf, GetAuthenticationMethods200ResponseOneOfInner, GetLogs200ResponseOneOf, Log, GetPermissions200ResponseOneOf, GetPermissions200ResponseOneOfInner, GetOrganizations200ResponseOneOf, GetOrganizations200ResponseOneOfInner, GetOrganizationMemberRoles200ResponseOneOf, GetOrganizationMemberRoles200ResponseOneOfInner, GetUsers200ResponseOneOf, DeleteAuthenticationMethodsRequest, DeleteAuthenticationMethodsByAuthenticationMethodIdRequest, DeleteAuthenticatorsRequest, DeleteMultifactorByProviderRequest, DeletePermissionsOperationRequest, DeleteUserIdentityByUserIdRequest, DeleteUserRolesOperationRequest, DeleteUsersByIdRequest, GetAuthenticationMethodsRequest, GetAuthenticationMethodsByAuthenticationMethodIdRequest, GetEnrollmentsRequest, GetLogsByUserRequest, GetPermissionsRequest, GetUserOrganizationsRequest, GetUserRolesRequest, GetUsersRequest, GetUsersByIdRequest, PatchAuthenticationMethodsByAuthenticationMethodIdOperationRequest, PatchUsersByIdRequest, PostAuthenticationMethodsOperationRequest, PostIdentitiesOperationRequest, PostInvalidateRememberBrowserRequest, PostPermissionsOperationRequest, PostRecoveryCodeRegenerationRequest, PostUserRolesOperationRequest, PutAuthenticationMethodsRequest } from '../models/index.js';
4
4
  declare const BaseAPI: typeof runtime.BaseAPI;
5
5
  /**
6
6
  *
@@ -165,9 +165,7 @@ export declare class UsersManager extends BaseAPI {
165
165
  *
166
166
  * @throws {RequiredError}
167
167
  */
168
- updateAuthenticationMethod(requestParameters: PatchAuthenticationMethodsByAuthenticationMethodIdOperationRequest, bodyParameters: PatchAuthenticationMethodsByAuthenticationMethodIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<{
169
- [key: string]: any;
170
- }>>;
168
+ updateAuthenticationMethod(requestParameters: PatchAuthenticationMethodsByAuthenticationMethodIdOperationRequest, bodyParameters: PatchAuthenticationMethodsByAuthenticationMethodIdRequest, initOverrides?: InitOverride): Promise<ApiResponse<PutAuthenticationMethods200ResponseInner>>;
171
169
  /**
172
170
  * Update a user.
173
171
  *
@@ -297,7 +295,7 @@ export declare class UsersManager extends BaseAPI {
297
295
  *
298
296
  * @throws {RequiredError}
299
297
  */
300
- assignPermissions(requestParameters: PostPermissionsOperationRequest, bodyParameters: PostPermissionsRequest, initOverrides?: InitOverride): Promise<ApiResponse<any>>;
298
+ assignPermissions(requestParameters: PostPermissionsOperationRequest, bodyParameters: PostPermissionsRequest, initOverrides?: InitOverride): Promise<ApiResponse<void>>;
301
299
  /**
302
300
  * Remove the current <a href="https://auth0.com/docs/multifactor-authentication/guardian">multi-factor authentication</a> recovery code and generate a new one.
303
301
  * Generate New Multi-factor Authentication Recovery Code
@@ -326,8 +324,6 @@ export declare class UsersManager extends BaseAPI {
326
324
  *
327
325
  * @throws {RequiredError}
328
326
  */
329
- updateAuthenticationMethods(requestParameters: PutAuthenticationMethodsRequest, bodyParameters: Array<PutAuthenticationMethodsRequestInner>, initOverrides?: InitOverride): Promise<ApiResponse<Array<{
330
- [key: string]: any;
331
- }>>>;
327
+ updateAuthenticationMethods(requestParameters: PutAuthenticationMethodsRequest, bodyParameters: Array<PutAuthenticationMethodsRequestInner>, initOverrides?: InitOverride): Promise<ApiResponse<Array<PutAuthenticationMethods200ResponseInner>>>;
332
328
  }
333
329
  export {};