auth0 6.0.0.beta.4 → 6.0.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 (105) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +1 -1
  3. data/.fern/replay.lock +7 -1
  4. data/.version +1 -1
  5. data/CHANGELOG.md +57 -0
  6. data/README.md +4 -1
  7. data/custom.gemspec.rb +1 -1
  8. data/examples/ruby-api/Gemfile.lock +3 -3
  9. data/lib/auth0/agents/client.rb +201 -0
  10. data/lib/auth0/agents/types/create_agent_request_content.rb +17 -0
  11. data/lib/auth0/agents/types/list_agents_request_parameters.rb +13 -0
  12. data/lib/auth0/agents/types/patch_agent_request_parameters.rb +15 -0
  13. data/lib/auth0/client.rb +5 -0
  14. data/lib/auth0/client_grants/client.rb +2 -0
  15. data/lib/auth0/client_grants/organizations/client.rb +2 -0
  16. data/lib/auth0/client_grants/organizations/types/list_client_grant_organizations_request_parameters.rb +2 -0
  17. data/lib/auth0/client_grants/types/list_client_grants_request_parameters.rb +2 -0
  18. data/lib/auth0/connections/client.rb +2 -0
  19. data/lib/auth0/connections/directory_provisioning/client.rb +76 -0
  20. data/lib/auth0/connections/directory_provisioning/types/add_synchronized_groups_request_content.rb +15 -0
  21. data/lib/auth0/connections/directory_provisioning/types/delete_synchronized_groups_request_content.rb +15 -0
  22. data/lib/auth0/connections/directory_provisioning/types/list_synchronized_groups_request_parameters.rb +2 -0
  23. data/lib/auth0/connections/types/list_connections_query_parameters.rb +2 -0
  24. data/lib/auth0/event_streams/deliveries/client.rb +27 -17
  25. data/lib/auth0/flows/executions/client.rb +2 -0
  26. data/lib/auth0/flows/executions/types/list_flow_executions_request_parameters.rb +2 -0
  27. data/lib/auth0/groups/client.rb +2 -0
  28. data/lib/auth0/groups/types/list_groups_request_parameters.rb +2 -0
  29. data/lib/auth0/mixins/token_management.rb +15 -11
  30. data/lib/auth0/organizations/client.rb +9 -0
  31. data/lib/auth0/organizations/clients/client.rb +223 -0
  32. data/lib/auth0/organizations/clients/types/create_organization_clients_request_content.rb +15 -0
  33. data/lib/auth0/organizations/clients/types/delete_organization_clients_request_content.rb +15 -0
  34. data/lib/auth0/organizations/clients/types/list_organization_clients_request_parameters.rb +17 -0
  35. data/lib/auth0/organizations/clients/types/update_organization_client_request_content.rb +17 -0
  36. data/lib/auth0/organizations/members/client.rb +5 -1
  37. data/lib/auth0/organizations/members/roles/client.rb +3 -0
  38. data/lib/auth0/organizations/members/types/list_organization_members_request_parameters.rb +2 -0
  39. data/lib/auth0/organizations/roles/client.rb +5 -0
  40. data/lib/auth0/organizations/roles/groups/client.rb +68 -0
  41. data/lib/auth0/organizations/roles/groups/types/list_organization_role_groups_request_parameters.rb +21 -0
  42. data/lib/auth0/organizations/roles/members/client.rb +6 -0
  43. data/lib/auth0/organizations/types/create_organization_request_content.rb +2 -0
  44. data/lib/auth0/organizations/types/list_organizations_request_parameters.rb +4 -0
  45. data/lib/auth0/organizations/types/update_organization_request_content.rb +2 -0
  46. data/lib/auth0/roles/client.rb +4 -0
  47. data/lib/auth0/roles/types/create_role_request_content.rb +4 -0
  48. data/lib/auth0/roles/types/list_roles_request_parameters.rb +4 -0
  49. data/lib/auth0/roles/users/client.rb +5 -0
  50. data/lib/auth0/roles/users/types/list_role_users_request_parameters.rb +2 -0
  51. data/lib/auth0/types/acul_context_enum.rb +1 -0
  52. data/lib/auth0/types/agent_metadata.rb +23 -0
  53. data/lib/auth0/types/agent_response_content.rb +19 -0
  54. data/lib/auth0/types/conflict_schema.rb +14 -0
  55. data/lib/auth0/types/conflict_schema_error.rb +11 -0
  56. data/lib/auth0/types/connection_connected_accounts_purpose.rb +2 -0
  57. data/lib/auth0/types/connection_connected_accounts_purpose_xaa.rb +2 -0
  58. data/lib/auth0/types/create_organization_client_request_item.rb +11 -0
  59. data/lib/auth0/types/create_organization_clients_response_content.rb +23 -0
  60. data/lib/auth0/types/create_organization_response_content.rb +4 -0
  61. data/lib/auth0/types/create_role_response_content.rb +4 -0
  62. data/lib/auth0/types/event_stream_cloud_event.rb +1 -1
  63. data/lib/auth0/types/event_stream_cloud_event_data.rb +23 -0
  64. data/lib/auth0/types/event_stream_delivery_attempt.rb +2 -0
  65. data/lib/auth0/types/get_organization_by_name_response_content.rb +4 -0
  66. data/lib/auth0/types/get_organization_client_response_content.rb +13 -0
  67. data/lib/auth0/types/get_organization_response_content.rb +4 -0
  68. data/lib/auth0/types/get_role_response_content.rb +4 -0
  69. data/lib/auth0/types/guardian_factor.rb +2 -0
  70. data/lib/auth0/types/guardian_factor_settings.rb +12 -0
  71. data/lib/auth0/types/list_agents_response_content.rb +11 -0
  72. data/lib/auth0/types/list_event_stream_deliveries_response_content.rb +11 -0
  73. data/lib/auth0/types/list_organization_clients_response_content.rb +11 -0
  74. data/lib/auth0/types/list_organization_role_groups_response_content.rb +12 -0
  75. data/lib/auth0/types/not_found_schema.rb +14 -0
  76. data/lib/auth0/types/not_found_schema_error.rb +11 -0
  77. data/lib/auth0/types/oauth_scope.rb +8 -0
  78. data/lib/auth0/types/organization.rb +4 -0
  79. data/lib/auth0/types/organization_client.rb +13 -0
  80. data/lib/auth0/types/organization_client_association.rb +11 -0
  81. data/lib/auth0/types/organization_client_metadata.rb +20 -0
  82. data/lib/auth0/types/organization_client_metadata_organization_usage_enum.rb +13 -0
  83. data/lib/auth0/types/role.rb +4 -0
  84. data/lib/auth0/types/role_group.rb +26 -0
  85. data/lib/auth0/types/role_type_enum.rb +12 -0
  86. data/lib/auth0/types/self_service_profile_sso_ticket_google_workspace_config.rb +2 -0
  87. data/lib/auth0/types/synchronized_group_payload.rb +6 -0
  88. data/lib/auth0/types/synchronized_group_selection_id.rb +9 -0
  89. data/lib/auth0/types/update_organization_client_response_content.rb +13 -0
  90. data/lib/auth0/types/update_organization_response_content.rb +4 -0
  91. data/lib/auth0/types/update_role_response_content.rb +4 -0
  92. data/lib/auth0/types/user_effective_permission_role_source_response_content.rb +4 -0
  93. data/lib/auth0/users/groups/client.rb +2 -0
  94. data/lib/auth0/users/groups/types/get_user_groups_request_parameters.rb +2 -0
  95. data/lib/auth0/users/permissions/client.rb +3 -0
  96. data/lib/auth0/users/refresh_token/client.rb +2 -0
  97. data/lib/auth0/users/refresh_token/types/list_refresh_tokens_request_parameters.rb +2 -0
  98. data/lib/auth0/users/roles/client.rb +3 -0
  99. data/lib/auth0/users/sessions/client.rb +2 -0
  100. data/lib/auth0/users/sessions/types/list_user_sessions_request_parameters.rb +2 -0
  101. data/lib/auth0/version.rb +1 -1
  102. data/lib/auth0.rb +38 -2
  103. data/v6_MIGRATION_GUIDE.md +1 -1
  104. data/wiremock/wiremock-mappings.json +592 -55
  105. metadata +46 -4
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auth0
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0.beta.4
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Auth0
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-07-22 00:00:00.000000000 Z
11
+ date: 2026-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -28,16 +28,22 @@ dependencies:
28
28
  name: jwt
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '2.7'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '4.0'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: '2.7'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '4.0'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: zache
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -149,6 +155,10 @@ files:
149
155
  - lib/auth0/actions/types/update_action_request_content.rb
150
156
  - lib/auth0/actions/versions/client.rb
151
157
  - lib/auth0/actions/versions/types/list_action_versions_request_parameters.rb
158
+ - lib/auth0/agents/client.rb
159
+ - lib/auth0/agents/types/create_agent_request_content.rb
160
+ - lib/auth0/agents/types/list_agents_request_parameters.rb
161
+ - lib/auth0/agents/types/patch_agent_request_parameters.rb
152
162
  - lib/auth0/algorithm.rb
153
163
  - lib/auth0/anomaly/blocks/client.rb
154
164
  - lib/auth0/anomaly/client.rb
@@ -213,6 +223,8 @@ files:
213
223
  - lib/auth0/connections/clients/types/get_connection_enabled_clients_request_parameters.rb
214
224
  - lib/auth0/connections/directory_provisioning/client.rb
215
225
  - lib/auth0/connections/directory_provisioning/synchronizations/client.rb
226
+ - lib/auth0/connections/directory_provisioning/types/add_synchronized_groups_request_content.rb
227
+ - lib/auth0/connections/directory_provisioning/types/delete_synchronized_groups_request_content.rb
216
228
  - lib/auth0/connections/directory_provisioning/types/list_directory_provisionings_request_parameters.rb
217
229
  - lib/auth0/connections/directory_provisioning/types/list_synchronized_groups_request_parameters.rb
218
230
  - lib/auth0/connections/directory_provisioning/types/replace_synchronized_groups_request_content.rb
@@ -388,6 +400,11 @@ files:
388
400
  - lib/auth0/organizations/client_grants/client.rb
389
401
  - lib/auth0/organizations/client_grants/types/associate_organization_client_grant_request_content.rb
390
402
  - lib/auth0/organizations/client_grants/types/list_organization_client_grants_request_parameters.rb
403
+ - lib/auth0/organizations/clients/client.rb
404
+ - lib/auth0/organizations/clients/types/create_organization_clients_request_content.rb
405
+ - lib/auth0/organizations/clients/types/delete_organization_clients_request_content.rb
406
+ - lib/auth0/organizations/clients/types/list_organization_clients_request_parameters.rb
407
+ - lib/auth0/organizations/clients/types/update_organization_client_request_content.rb
391
408
  - lib/auth0/organizations/connections/client.rb
392
409
  - lib/auth0/organizations/connections/types/create_organization_all_connection_request_parameters.rb
393
410
  - lib/auth0/organizations/connections/types/list_organization_all_connections_request_parameters.rb
@@ -424,6 +441,8 @@ files:
424
441
  - lib/auth0/organizations/members/types/delete_organization_members_request_content.rb
425
442
  - lib/auth0/organizations/members/types/list_organization_members_request_parameters.rb
426
443
  - lib/auth0/organizations/roles/client.rb
444
+ - lib/auth0/organizations/roles/groups/client.rb
445
+ - lib/auth0/organizations/roles/groups/types/list_organization_role_groups_request_parameters.rb
427
446
  - lib/auth0/organizations/roles/members/client.rb
428
447
  - lib/auth0/organizations/roles/members/types/list_organization_role_members_request_parameters.rb
429
448
  - lib/auth0/organizations/types/create_organization_request_content.rb
@@ -554,6 +573,8 @@ files:
554
573
  - lib/auth0/types/acul_organization_metadata.rb
555
574
  - lib/auth0/types/acul_rendering_mode_enum.rb
556
575
  - lib/auth0/types/add_organization_connection_response_content.rb
576
+ - lib/auth0/types/agent_metadata.rb
577
+ - lib/auth0/types/agent_response_content.rb
557
578
  - lib/auth0/types/anomaly_ip_format.rb
558
579
  - lib/auth0/types/app_metadata.rb
559
580
  - lib/auth0/types/assessors_type_enum.rb
@@ -740,6 +761,8 @@ files:
740
761
  - lib/auth0/types/client_token_exchange_type_enum.rb
741
762
  - lib/auth0/types/client_token_vault_privileged_access_with_credential_id.rb
742
763
  - lib/auth0/types/client_token_vault_privileged_access_with_public_key.rb
764
+ - lib/auth0/types/conflict_schema.rb
765
+ - lib/auth0/types/conflict_schema_error.rb
743
766
  - lib/auth0/types/connected_account.rb
744
767
  - lib/auth0/types/connected_account_access_type_enum.rb
745
768
  - lib/auth0/types/connection_access_token_urlo_auth1.rb
@@ -1493,6 +1516,8 @@ files:
1493
1516
  - lib/auth0/types/create_log_stream_splunk_request_body.rb
1494
1517
  - lib/auth0/types/create_log_stream_sumo_request_body.rb
1495
1518
  - lib/auth0/types/create_organization_all_connection_response_content.rb
1519
+ - lib/auth0/types/create_organization_client_request_item.rb
1520
+ - lib/auth0/types/create_organization_clients_response_content.rb
1496
1521
  - lib/auth0/types/create_organization_discovery_domain_response_content.rb
1497
1522
  - lib/auth0/types/create_organization_invitation_response_content.rb
1498
1523
  - lib/auth0/types/create_organization_response_content.rb
@@ -1980,6 +2005,7 @@ files:
1980
2005
  - lib/auth0/types/event_stream_cloud_event_context_request.rb
1981
2006
  - lib/auth0/types/event_stream_cloud_event_context_request_geo.rb
1982
2007
  - lib/auth0/types/event_stream_cloud_event_context_tenant.rb
2008
+ - lib/auth0/types/event_stream_cloud_event_data.rb
1983
2009
  - lib/auth0/types/event_stream_cloud_event_error_code_enum.rb
1984
2010
  - lib/auth0/types/event_stream_cloud_event_error_detail.rb
1985
2011
  - lib/auth0/types/event_stream_cloud_event_error_message.rb
@@ -2967,6 +2993,7 @@ files:
2967
2993
  - lib/auth0/types/get_network_acls_response_content.rb
2968
2994
  - lib/auth0/types/get_organization_all_connection_response_content.rb
2969
2995
  - lib/auth0/types/get_organization_by_name_response_content.rb
2996
+ - lib/auth0/types/get_organization_client_response_content.rb
2970
2997
  - lib/auth0/types/get_organization_connection_response_content.rb
2971
2998
  - lib/auth0/types/get_organization_discovery_domain_by_name_response_content.rb
2972
2999
  - lib/auth0/types/get_organization_discovery_domain_response_content.rb
@@ -3012,6 +3039,7 @@ files:
3012
3039
  - lib/auth0/types/guardian_factor.rb
3013
3040
  - lib/auth0/types/guardian_factor_name_enum.rb
3014
3041
  - lib/auth0/types/guardian_factor_phone_factor_message_type_enum.rb
3042
+ - lib/auth0/types/guardian_factor_settings.rb
3015
3043
  - lib/auth0/types/guardian_factors_provider_push_notification_provider_data_enum.rb
3016
3044
  - lib/auth0/types/guardian_factors_provider_sms_provider_enum.rb
3017
3045
  - lib/auth0/types/hook.rb
@@ -3038,6 +3066,7 @@ files:
3038
3066
  - lib/auth0/types/list_actions_paginated_response_content.rb
3039
3067
  - lib/auth0/types/list_aculs_offset_paginated_response_content.rb
3040
3068
  - lib/auth0/types/list_aculs_response_content_item.rb
3069
+ - lib/auth0/types/list_agents_response_content.rb
3041
3070
  - lib/auth0/types/list_branding_phone_providers_response_content.rb
3042
3071
  - lib/auth0/types/list_client_connections_response_content.rb
3043
3072
  - lib/auth0/types/list_client_grant_organizations_paginated_response_content.rb
@@ -3050,6 +3079,7 @@ files:
3050
3079
  - lib/auth0/types/list_device_credentials_offset_paginated_response_content.rb
3051
3080
  - lib/auth0/types/list_directory_provisionings_response_content.rb
3052
3081
  - lib/auth0/types/list_encryption_key_offset_paginated_response_content.rb
3082
+ - lib/auth0/types/list_event_stream_deliveries_response_content.rb
3053
3083
  - lib/auth0/types/list_event_streams_response_content.rb
3054
3084
  - lib/auth0/types/list_flow_executions_paginated_response_content.rb
3055
3085
  - lib/auth0/types/list_flows_offset_paginated_response_content.rb
@@ -3064,6 +3094,7 @@ files:
3064
3094
  - lib/auth0/types/list_network_acls_offset_paginated_response_content.rb
3065
3095
  - lib/auth0/types/list_organization_all_connections_offset_paginated_response_content.rb
3066
3096
  - lib/auth0/types/list_organization_client_grants_offset_paginated_response_content.rb
3097
+ - lib/auth0/types/list_organization_clients_response_content.rb
3067
3098
  - lib/auth0/types/list_organization_connections_offset_paginated_response_content.rb
3068
3099
  - lib/auth0/types/list_organization_discovery_domains_response_content.rb
3069
3100
  - lib/auth0/types/list_organization_group_roles_response_content.rb
@@ -3073,6 +3104,7 @@ files:
3073
3104
  - lib/auth0/types/list_organization_member_role_source_groups_response_content.rb
3074
3105
  - lib/auth0/types/list_organization_member_roles_offset_paginated_response_content.rb
3075
3106
  - lib/auth0/types/list_organization_members_paginated_response_content.rb
3107
+ - lib/auth0/types/list_organization_role_groups_response_content.rb
3076
3108
  - lib/auth0/types/list_organization_role_members_response_content.rb
3077
3109
  - lib/auth0/types/list_organizations_paginated_response_content.rb
3078
3110
  - lib/auth0/types/list_phone_templates_response_content.rb
@@ -3180,6 +3212,8 @@ files:
3180
3212
  - lib/auth0/types/network_acls_response_content.rb
3181
3213
  - lib/auth0/types/not_found_error_body.rb
3182
3214
  - lib/auth0/types/not_found_error_body_error.rb
3215
+ - lib/auth0/types/not_found_schema.rb
3216
+ - lib/auth0/types/not_found_schema_error.rb
3183
3217
  - lib/auth0/types/oauth_scope.rb
3184
3218
  - lib/auth0/types/organization.rb
3185
3219
  - lib/auth0/types/organization_access_level_enum.rb
@@ -3187,7 +3221,11 @@ files:
3187
3221
  - lib/auth0/types/organization_all_connection_post.rb
3188
3222
  - lib/auth0/types/organization_branding.rb
3189
3223
  - lib/auth0/types/organization_branding_colors.rb
3224
+ - lib/auth0/types/organization_client.rb
3225
+ - lib/auth0/types/organization_client_association.rb
3190
3226
  - lib/auth0/types/organization_client_grant.rb
3227
+ - lib/auth0/types/organization_client_metadata.rb
3228
+ - lib/auth0/types/organization_client_metadata_organization_usage_enum.rb
3191
3229
  - lib/auth0/types/organization_connection.rb
3192
3230
  - lib/auth0/types/organization_connection_information.rb
3193
3231
  - lib/auth0/types/organization_discovery_domain.rb
@@ -3292,7 +3330,9 @@ files:
3292
3330
  - lib/auth0/types/resource_server_verification_key_pem_certificate.rb
3293
3331
  - lib/auth0/types/revoked_signing_keys_response_content.rb
3294
3332
  - lib/auth0/types/role.rb
3333
+ - lib/auth0/types/role_group.rb
3295
3334
  - lib/auth0/types/role_member.rb
3335
+ - lib/auth0/types/role_type_enum.rb
3296
3336
  - lib/auth0/types/role_user.rb
3297
3337
  - lib/auth0/types/rollback_action_module_response_content.rb
3298
3338
  - lib/auth0/types/rotate_client_secret_response_content.rb
@@ -3386,6 +3426,7 @@ files:
3386
3426
  - lib/auth0/types/suspicious_ip_throttling_stage.rb
3387
3427
  - lib/auth0/types/synchronize_groups_enum.rb
3388
3428
  - lib/auth0/types/synchronized_group_payload.rb
3429
+ - lib/auth0/types/synchronized_group_selection_id.rb
3389
3430
  - lib/auth0/types/tenant_oidc_logout_settings.rb
3390
3431
  - lib/auth0/types/tenant_settings_country_codes.rb
3391
3432
  - lib/auth0/types/tenant_settings_country_codes_mode.rb
@@ -3527,6 +3568,7 @@ files:
3527
3568
  - lib/auth0/types/update_log_stream_response_content.rb
3528
3569
  - lib/auth0/types/update_network_acl_response_content.rb
3529
3570
  - lib/auth0/types/update_organization_all_connection_response_content.rb
3571
+ - lib/auth0/types/update_organization_client_response_content.rb
3530
3572
  - lib/auth0/types/update_organization_connection_response_content.rb
3531
3573
  - lib/auth0/types/update_organization_discovery_domain_response_content.rb
3532
3574
  - lib/auth0/types/update_organization_response_content.rb