workos 10.6.0 → 10.7.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 (158) hide show
  1. checksums.yaml +4 -4
  2. data/.last-synced-sha +1 -1
  3. data/.oagen-manifest.json +30 -10
  4. data/.release-please-manifest.json +1 -1
  5. data/CHANGELOG.md +84 -0
  6. data/Gemfile.lock +2 -2
  7. data/lib/workos/audit_logs.rb +2 -2
  8. data/lib/workos/client_api.rb +3 -3
  9. data/lib/workos/directory_sync/directory_user_with_groups.rb +1 -1
  10. data/lib/workos/directory_sync.rb +160 -0
  11. data/lib/workos/inflections.rb +1 -1
  12. data/lib/workos/pipes/connected_account_input.rb +3 -0
  13. data/lib/workos/pipes/create_connected_account.rb +6 -0
  14. data/lib/workos/pipes/create_organization_connected_account.rb +6 -0
  15. data/lib/workos/pipes/organization_connected_account.rb +3 -0
  16. data/lib/workos/pipes.rb +18 -0
  17. data/lib/workos/pipes_provider.rb +12 -0
  18. data/lib/workos/session.rb +12 -0
  19. data/lib/workos/shared/agent_registration_claim_completed_data.rb +3 -0
  20. data/lib/workos/shared/error_body_with_code.rb +16 -1
  21. data/lib/workos/shared/policy_denied_error_body.rb +5 -2
  22. data/lib/workos/shared/{sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rb → sso_required_oauth_error_body_with_connection_ids_list_email.rb} +1 -1
  23. data/lib/workos/sso.rb +6 -2
  24. data/lib/workos/types/connections_state.rb +14 -0
  25. data/lib/workos/types/data_integration_vended_credential_auth_method.rb +9 -0
  26. data/lib/workos/types/error_body_code.rb +1 -2
  27. data/lib/workos/types/pipes_provider_ownership.rb +9 -0
  28. data/lib/workos/user_management/authentication_email_verification_failed_data_error.rb +5 -2
  29. data/lib/workos/user_management/authentication_radar_risk_detected_data.rb +5 -2
  30. data/lib/workos/version.rb +1 -1
  31. data/rbi/workos/account_selection_required_error_body.rbi +1 -22
  32. data/rbi/workos/agent_blueprint_invocable_by.rbi +1 -22
  33. data/rbi/workos/agent_blueprint_updated_data_invocable_by.rbi +1 -22
  34. data/rbi/workos/agent_blueprint_updated_data_session_setting.rbi +1 -28
  35. data/rbi/workos/agent_blueprints_create_request_session_setting.rbi +1 -28
  36. data/rbi/workos/agent_blueprints_update_request_invocable_by.rbi +1 -22
  37. data/rbi/workos/agent_registration_claim_completed_data.rbi +6 -0
  38. data/rbi/workos/agent_registration_expired_data.rbi +1 -16
  39. data/rbi/workos/agent_registration_refreshed_data.rbi +1 -16
  40. data/rbi/workos/agent_registration_revoked_data.rbi +1 -16
  41. data/rbi/workos/api_key_owner.rbi +1 -22
  42. data/rbi/workos/api_key_revoked_data.rbi +1 -70
  43. data/rbi/workos/api_key_revoked_data_owner.rbi +1 -22
  44. data/rbi/workos/api_key_updated_data_owner.rbi +1 -22
  45. data/rbi/workos/audit_log_event_target.rbi +1 -34
  46. data/rbi/workos/audit_log_schema_actor_input.rbi +1 -16
  47. data/rbi/workos/audit_log_schema_target_input.rbi +1 -22
  48. data/rbi/workos/auth_method_mismatch_error_body.rbi +1 -22
  49. data/rbi/workos/authentication_email_verification_failed_data_error.rbi +6 -0
  50. data/rbi/workos/authentication_factor_sms.rbi +1 -16
  51. data/rbi/workos/authentication_magic_auth_failed_data_error.rbi +1 -22
  52. data/rbi/workos/authentication_mfa_failed_data_error.rbi +1 -22
  53. data/rbi/workos/authentication_oauth_failed_data_error.rbi +1 -22
  54. data/rbi/workos/authentication_passkey_failed_data_error.rbi +1 -22
  55. data/rbi/workos/authentication_password_failed_data_error.rbi +1 -22
  56. data/rbi/workos/authentication_radar_risk_detected_data.rbi +6 -0
  57. data/rbi/workos/authentication_sso_failed_data_error.rbi +1 -22
  58. data/rbi/workos/authentication_sso_started_data_sso.rbi +1 -28
  59. data/rbi/workos/authentication_sso_succeeded_data_sso.rbi +1 -28
  60. data/rbi/workos/authentication_sso_timed_out_data_error.rbi +1 -22
  61. data/rbi/workos/authentication_sso_timed_out_data_sso.rbi +1 -28
  62. data/rbi/workos/authorization.rbi +4 -2
  63. data/rbi/workos/claim_view_response_organization.rbi +1 -22
  64. data/rbi/workos/confirm_email_change.rbi +1 -16
  65. data/rbi/workos/connect_application.rbi +42 -0
  66. data/rbi/workos/connect_application_redirect_uri.rbi +30 -0
  67. data/rbi/workos/connected_account_input.rbi +6 -0
  68. data/rbi/workos/connection_deactivated_data_domain.rbi +1 -28
  69. data/rbi/workos/connection_domain.rbi +1 -28
  70. data/rbi/workos/connection_saml_certificate_renewed_data_connection.rbi +1 -22
  71. data/rbi/workos/create_connected_account.rbi +12 -0
  72. data/rbi/workos/create_group_role_assignment.rbi +1 -34
  73. data/rbi/workos/create_organization_connected_account.rbi +12 -0
  74. data/rbi/workos/create_role.rbi +1 -34
  75. data/rbi/workos/data_integration_access_token_response_with_access_token_access_token.rbi +1 -40
  76. data/rbi/workos/data_integrations_list_response_data_connected_account_warning.rbi +1 -22
  77. data/rbi/workos/delete_group_role_assignments_by_criteria.rbi +1 -34
  78. data/rbi/workos/directory_sync.rbi +46 -0
  79. data/rbi/workos/directory_user_with_groups_email.rbi +1 -28
  80. data/rbi/workos/dsync_group_user_removed_data.rbi +1 -28
  81. data/rbi/workos/dsync_token_revoked_data.rbi +1 -46
  82. data/rbi/workos/dsync_user_updated_data_email.rbi +1 -28
  83. data/rbi/workos/error_body.rbi +1 -16
  84. data/rbi/workos/feature_flags_flag_created_data_owner.rbi +1 -28
  85. data/rbi/workos/feature_flags_flag_deleted_data.rbi +1 -82
  86. data/rbi/workos/feature_flags_flag_deleted_data_owner.rbi +1 -28
  87. data/rbi/workos/feature_flags_flag_updated_context_previous_attribute_data_owner.rbi +1 -28
  88. data/rbi/workos/feature_flags_flag_updated_data.rbi +1 -82
  89. data/rbi/workos/feature_flags_flag_updated_data_owner.rbi +1 -28
  90. data/rbi/workos/flag.rbi +1 -76
  91. data/rbi/workos/flag_created_data.rbi +1 -82
  92. data/rbi/workos/flag_created_data_owner.rbi +1 -28
  93. data/rbi/workos/flag_deleted_data.rbi +1 -82
  94. data/rbi/workos/flag_deleted_data_owner.rbi +1 -28
  95. data/rbi/workos/flag_owner.rbi +1 -28
  96. data/rbi/workos/flag_rule_updated_context_configured_target_organization.rbi +1 -22
  97. data/rbi/workos/flag_rule_updated_context_previous_attribute_context_configured_target.rbi +1 -22
  98. data/rbi/workos/flag_rule_updated_context_previous_attribute_context_configured_target_organization.rbi +1 -22
  99. data/rbi/workos/flag_rule_updated_context_previous_attribute_context_configured_target_user.rbi +1 -22
  100. data/rbi/workos/flag_rule_updated_data.rbi +1 -82
  101. data/rbi/workos/flag_rule_updated_data_owner.rbi +1 -28
  102. data/rbi/workos/flag_updated_context_previous_attribute.rbi +1 -16
  103. data/rbi/workos/flag_updated_context_previous_attribute_data.rbi +1 -46
  104. data/rbi/workos/flag_updated_context_previous_attribute_data_owner.rbi +1 -28
  105. data/rbi/workos/flag_updated_data.rbi +1 -82
  106. data/rbi/workos/flag_updated_data_owner.rbi +1 -28
  107. data/rbi/workos/group_member_removed_data.rbi +1 -22
  108. data/rbi/workos/organization_api_key_owner.rbi +1 -22
  109. data/rbi/workos/organization_api_key_with_value_owner.rbi +1 -22
  110. data/rbi/workos/organization_connected_account.rbi +6 -0
  111. data/rbi/workos/organization_role_deleted_data.rbi +1 -64
  112. data/rbi/workos/organization_role_updated_data.rbi +1 -64
  113. data/rbi/workos/organization_selection_required_error_body_with_organization.rbi +1 -22
  114. data/rbi/workos/password_reset_succeeded_data.rbi +1 -46
  115. data/rbi/workos/patch_connection_standard_attributes.rbi +1 -46
  116. data/rbi/workos/permission.rbi +1 -64
  117. data/rbi/workos/permission_created_data.rbi +1 -64
  118. data/rbi/workos/permission_deleted_data.rbi +1 -64
  119. data/rbi/workos/permission_updated_data.rbi +1 -64
  120. data/rbi/workos/pipes.rbi +10 -4
  121. data/rbi/workos/pipes_account_connection_connection_failed_data.rbi +1 -76
  122. data/rbi/workos/pipes_connected_account_connection_failed_data.rbi +1 -76
  123. data/rbi/workos/pipes_provider.rbi +4 -2
  124. data/rbi/workos/policy_denied_error_body.rbi +6 -0
  125. data/rbi/workos/radar_standalone_update_radar_list_request.rbi +1 -16
  126. data/rbi/workos/remove_role.rbi +1 -34
  127. data/rbi/workos/replace_group_role_assignment_entry.rbi +1 -34
  128. data/rbi/workos/role_deleted_data.rbi +1 -46
  129. data/rbi/workos/role_updated_data.rbi +1 -46
  130. data/rbi/workos/send_verification_email_response.rbi +1 -16
  131. data/rbi/workos/session_created_data_impersonator.rbi +1 -22
  132. data/rbi/workos/session_revoked_data_impersonator.rbi +1 -22
  133. data/rbi/workos/slim_role.rbi +1 -16
  134. data/rbi/workos/sso.rbi +2 -1
  135. data/rbi/workos/{sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rbi → sso_required_oauth_error_body_with_connection_ids_list_email.rbi} +1 -1
  136. data/rbi/workos/sso_token_response_oauth_token.rbi +1 -40
  137. data/rbi/workos/update_group.rbi +1 -22
  138. data/rbi/workos/update_organization_role.rbi +1 -22
  139. data/rbi/workos/update_role.rbi +1 -22
  140. data/rbi/workos/user.rbi +1 -94
  141. data/rbi/workos/user_api_key_owner.rbi +1 -28
  142. data/rbi/workos/user_api_key_revoked_data_owner.rbi +1 -28
  143. data/rbi/workos/user_api_key_updated_data_owner.rbi +1 -28
  144. data/rbi/workos/user_api_key_with_value_owner.rbi +1 -28
  145. data/rbi/workos/user_role_assignment_resource.rbi +1 -28
  146. data/rbi/workos/user_role_assignment_source_group.rbi +1 -22
  147. data/rbi/workos/user_sessions_impersonator.rbi +1 -22
  148. data/rbi/workos/verify_email_address.rbi +1 -16
  149. data/rbi/workos/verify_email_response.rbi +1 -16
  150. data/rbi/workos/waitlist_list_response_list_metadata.rbi +1 -22
  151. data/rbi/workos/widget_session_token_response.rbi +1 -16
  152. data/test/workos/test_directory_sync.rb +32 -0
  153. data/test/workos/test_directory_sync_model_round_trip.rb +11 -11
  154. data/test/workos/test_pipes_model_round_trip.rb +7 -1
  155. data/test/workos/test_session.rb +46 -1
  156. data/test/workos/test_shared_model_round_trip.rb +71 -69
  157. data/test/workos/test_user_management_model_round_trip.rb +18 -9
  158. metadata +7 -3
@@ -292,6 +292,19 @@ class SharedModelRoundTripTest < Minitest::Test
292
292
  fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
293
293
  end
294
294
 
295
+ def test_policy_denied_error_body_round_trip
296
+ fixture = {
297
+ "code" => "policy_denied",
298
+ "message" => "stub",
299
+ "radar_detection_id" => "stub"
300
+ }
301
+ model = WorkOS::PolicyDeniedErrorBody.new(fixture.to_json)
302
+ json = model.to_h
303
+ assert_kind_of Hash, json
304
+ assert_equal fixture["message"], json[:message]
305
+ fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
306
+ end
307
+
295
308
  def test_sub_resource_scoped_role_not_allowed_error_body_with_role_slug_round_trip
296
309
  fixture = {
297
310
  "message" => "stub",
@@ -939,18 +952,6 @@ class SharedModelRoundTripTest < Minitest::Test
939
952
  fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
940
953
  end
941
954
 
942
- def test_policy_denied_error_body_round_trip
943
- fixture = {
944
- "code" => "policy_denied",
945
- "message" => "stub"
946
- }
947
- model = WorkOS::PolicyDeniedErrorBody.new(fixture.to_json)
948
- json = model.to_h
949
- assert_kind_of Hash, json
950
- assert_equal fixture["message"], json[:message]
951
- fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
952
- end
953
-
954
955
  def test_daily_quota_exceeded_error_body_round_trip
955
956
  fixture = {
956
957
  "code" => "daily_quota_exceeded",
@@ -998,20 +999,6 @@ class SharedModelRoundTripTest < Minitest::Test
998
999
  fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
999
1000
  end
1000
1001
 
1001
- def test_object_summary_round_trip
1002
- fixture = {
1003
- "id" => "stub",
1004
- "name" => "stub",
1005
- "updated_at" => nil
1006
- }
1007
- model = WorkOS::ObjectSummary.new(fixture.to_json)
1008
- json = model.to_h
1009
- assert_kind_of Hash, json
1010
- assert_equal fixture["id"], json[:id]
1011
- assert_equal fixture["name"], json[:name]
1012
- fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
1013
- end
1014
-
1015
1002
  def test_connect_application_oauth_round_trip
1016
1003
  fixture = {
1017
1004
  "object" => "connect_application",
@@ -1168,24 +1155,6 @@ class SharedModelRoundTripTest < Minitest::Test
1168
1155
  fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
1169
1156
  end
1170
1157
 
1171
- def test_event_schema_round_trip
1172
- fixture = {
1173
- "object" => "event",
1174
- "id" => "stub",
1175
- "event" => "stub",
1176
- "data" => {},
1177
- "created_at" => "stub",
1178
- "context" => {}
1179
- }
1180
- model = WorkOS::EventSchema.new(fixture.to_json)
1181
- json = model.to_h
1182
- assert_kind_of Hash, json
1183
- assert_equal fixture["id"], json[:id]
1184
- assert_equal fixture["event"], json[:event]
1185
- assert_equal fixture["created_at"], json[:created_at]
1186
- fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
1187
- end
1188
-
1189
1158
  def test_agent_blueprint_created_round_trip
1190
1159
  fixture = {
1191
1160
  "object" => "event",
@@ -1601,6 +1570,7 @@ class SharedModelRoundTripTest < Minitest::Test
1601
1570
  "object" => "agent_registration_claim",
1602
1571
  "id" => "stub",
1603
1572
  "agent_registration_id" => "stub",
1573
+ "organization_id" => "stub",
1604
1574
  "completed_by_attempt_id" => "stub",
1605
1575
  "claimed_by" => {},
1606
1576
  "completed_at" => "stub",
@@ -3102,58 +3072,90 @@ class SharedModelRoundTripTest < Minitest::Test
3102
3072
  fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
3103
3073
  end
3104
3074
 
3105
- def test_event_list_list_metadata_round_trip
3075
+ def test_event_context_google_analytics_session_round_trip
3106
3076
  fixture = {
3107
- "after" => nil
3077
+ "containerId" => "stub",
3078
+ "sessionId" => "stub",
3079
+ "sessionNumber" => "stub"
3108
3080
  }
3109
- model = WorkOS::EventListListMetadata.new(fixture.to_json)
3081
+ model = WorkOS::EventContextGoogleAnalyticsSession.new(fixture.to_json)
3110
3082
  json = model.to_h
3111
3083
  assert_kind_of Hash, json
3112
- assert_nil json[:after]
3084
+ assert_equal fixture["containerId"], json[:containerId]
3113
3085
  fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
3114
3086
  end
3115
3087
 
3116
- def test_event_context_google_analytics_session_round_trip
3088
+ def test_sso_required_oauth_error_body_with_connection_ids_list_email_round_trip
3117
3089
  fixture = {
3118
- "containerId" => "stub",
3119
- "sessionId" => "stub",
3120
- "sessionNumber" => "stub"
3090
+ "error" => "sso_required",
3091
+ "error_description" => "stub",
3092
+ "connection_ids" => [],
3093
+ "email" => "stub",
3094
+ "pending_authentication_token" => "stub"
3121
3095
  }
3122
- model = WorkOS::EventContextGoogleAnalyticsSession.new(fixture.to_json)
3096
+ model = WorkOS::SSORequiredOAuthErrorBodyWithConnectionIdsListEmail.new(fixture.to_json)
3123
3097
  json = model.to_h
3124
3098
  assert_kind_of Hash, json
3125
- assert_equal fixture["containerId"], json[:containerId]
3099
+ assert_equal fixture["error_description"], json[:error_description]
3100
+ assert_equal fixture["email"], json[:email]
3126
3101
  fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
3127
3102
  end
3128
3103
 
3129
- def test_authorized_connect_application_list_data_round_trip
3104
+ def test_object_summary_round_trip
3130
3105
  fixture = {
3131
- "object" => "authorized_connect_application",
3132
3106
  "id" => "stub",
3133
- "granted_scopes" => [],
3134
- "oauth_resource" => "stub",
3135
- "application" => {}
3107
+ "name" => "stub",
3108
+ "updated_at" => nil
3136
3109
  }
3137
- model = WorkOS::AuthorizedConnectApplicationListData.new(fixture.to_json)
3110
+ model = WorkOS::ObjectSummary.new(fixture.to_json)
3138
3111
  json = model.to_h
3139
3112
  assert_kind_of Hash, json
3140
3113
  assert_equal fixture["id"], json[:id]
3114
+ assert_equal fixture["name"], json[:name]
3141
3115
  fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
3142
3116
  end
3143
3117
 
3144
- def test_sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token_round_trip
3118
+ def test_event_schema_round_trip
3145
3119
  fixture = {
3146
- "error" => "sso_required",
3147
- "error_description" => "stub",
3148
- "connection_ids" => [],
3149
- "email" => "stub",
3150
- "pending_authentication_token" => "stub"
3120
+ "object" => "event",
3121
+ "id" => "stub",
3122
+ "event" => "stub",
3123
+ "data" => {},
3124
+ "created_at" => "stub",
3125
+ "context" => {}
3151
3126
  }
3152
- model = WorkOS::SSORequiredOAuthErrorBodyWithConnectionIdsListEmailPendingAuthenticationToken.new(fixture.to_json)
3127
+ model = WorkOS::EventSchema.new(fixture.to_json)
3153
3128
  json = model.to_h
3154
3129
  assert_kind_of Hash, json
3155
- assert_equal fixture["error_description"], json[:error_description]
3156
- assert_equal fixture["email"], json[:email]
3130
+ assert_equal fixture["id"], json[:id]
3131
+ assert_equal fixture["event"], json[:event]
3132
+ assert_equal fixture["created_at"], json[:created_at]
3133
+ fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
3134
+ end
3135
+
3136
+ def test_event_list_list_metadata_round_trip
3137
+ fixture = {
3138
+ "after" => nil
3139
+ }
3140
+ model = WorkOS::EventListListMetadata.new(fixture.to_json)
3141
+ json = model.to_h
3142
+ assert_kind_of Hash, json
3143
+ assert_nil json[:after]
3144
+ fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
3145
+ end
3146
+
3147
+ def test_authorized_connect_application_list_data_round_trip
3148
+ fixture = {
3149
+ "object" => "authorized_connect_application",
3150
+ "id" => "stub",
3151
+ "granted_scopes" => [],
3152
+ "oauth_resource" => "stub",
3153
+ "application" => {}
3154
+ }
3155
+ model = WorkOS::AuthorizedConnectApplicationListData.new(fixture.to_json)
3156
+ json = model.to_h
3157
+ assert_kind_of Hash, json
3158
+ assert_equal fixture["id"], json[:id]
3157
3159
  fixture.each_key { |k| assert json.key?(k.to_sym) || json.key?(k), "Expected to_h to include key #{k}" }
3158
3160
  end
3159
3161
  end
@@ -734,7 +734,8 @@ class UserManagementModelRoundTripTest < Minitest::Test
734
734
  def test_authentication_email_verification_failed_data_error_round_trip
735
735
  fixture = {
736
736
  "code" => "stub",
737
- "message" => "stub"
737
+ "message" => "stub",
738
+ "radar_detection_id" => "stub"
738
739
  }
739
740
  model = WorkOS::AuthenticationEmailVerificationFailedDataError.new(fixture.to_json)
740
741
  json = model.to_h
@@ -820,7 +821,8 @@ class UserManagementModelRoundTripTest < Minitest::Test
820
821
  def test_authentication_magic_auth_failed_data_error_round_trip
821
822
  fixture = {
822
823
  "code" => "stub",
823
- "message" => "stub"
824
+ "message" => "stub",
825
+ "radar_detection_id" => "stub"
824
826
  }
825
827
  model = WorkOS::AuthenticationMagicAuthFailedDataError.new(fixture.to_json)
826
828
  json = model.to_h
@@ -906,7 +908,8 @@ class UserManagementModelRoundTripTest < Minitest::Test
906
908
  def test_authentication_mfa_failed_data_error_round_trip
907
909
  fixture = {
908
910
  "code" => "stub",
909
- "message" => "stub"
911
+ "message" => "stub",
912
+ "radar_detection_id" => "stub"
910
913
  }
911
914
  model = WorkOS::AuthenticationMFAFailedDataError.new(fixture.to_json)
912
915
  json = model.to_h
@@ -993,7 +996,8 @@ class UserManagementModelRoundTripTest < Minitest::Test
993
996
  def test_authentication_oauth_failed_data_error_round_trip
994
997
  fixture = {
995
998
  "code" => "stub",
996
- "message" => "stub"
999
+ "message" => "stub",
1000
+ "radar_detection_id" => "stub"
997
1001
  }
998
1002
  model = WorkOS::AuthenticationOAuthFailedDataError.new(fixture.to_json)
999
1003
  json = model.to_h
@@ -1080,7 +1084,8 @@ class UserManagementModelRoundTripTest < Minitest::Test
1080
1084
  def test_authentication_passkey_failed_data_error_round_trip
1081
1085
  fixture = {
1082
1086
  "code" => "stub",
1083
- "message" => "stub"
1087
+ "message" => "stub",
1088
+ "radar_detection_id" => "stub"
1084
1089
  }
1085
1090
  model = WorkOS::AuthenticationPasskeyFailedDataError.new(fixture.to_json)
1086
1091
  json = model.to_h
@@ -1166,7 +1171,8 @@ class UserManagementModelRoundTripTest < Minitest::Test
1166
1171
  def test_authentication_password_failed_data_error_round_trip
1167
1172
  fixture = {
1168
1173
  "code" => "stub",
1169
- "message" => "stub"
1174
+ "message" => "stub",
1175
+ "radar_detection_id" => "stub"
1170
1176
  }
1171
1177
  model = WorkOS::AuthenticationPasswordFailedDataError.new(fixture.to_json)
1172
1178
  json = model.to_h
@@ -1238,7 +1244,8 @@ class UserManagementModelRoundTripTest < Minitest::Test
1238
1244
  "ip_address" => nil,
1239
1245
  "user_agent" => nil,
1240
1246
  "user_id" => "stub",
1241
- "email" => "stub"
1247
+ "email" => "stub",
1248
+ "radar_detection_id" => "stub"
1242
1249
  }
1243
1250
  model = WorkOS::AuthenticationRadarRiskDetectedData.new(fixture.to_json)
1244
1251
  json = model.to_h
@@ -1345,7 +1352,8 @@ class UserManagementModelRoundTripTest < Minitest::Test
1345
1352
  def test_authentication_sso_failed_data_error_round_trip
1346
1353
  fixture = {
1347
1354
  "code" => "stub",
1348
- "message" => "stub"
1355
+ "message" => "stub",
1356
+ "radar_detection_id" => "stub"
1349
1357
  }
1350
1358
  model = WorkOS::AuthenticationSSOFailedDataError.new(fixture.to_json)
1351
1359
  json = model.to_h
@@ -1515,7 +1523,8 @@ class UserManagementModelRoundTripTest < Minitest::Test
1515
1523
  def test_authentication_sso_timed_out_data_error_round_trip
1516
1524
  fixture = {
1517
1525
  "code" => "stub",
1518
- "message" => "stub"
1526
+ "message" => "stub",
1527
+ "radar_detection_id" => "stub"
1519
1528
  }
1520
1529
  model = WorkOS::AuthenticationSSOTimedOutDataError.new(fixture.to_json)
1521
1530
  json = model.to_h
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workos
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.6.0
4
+ version: 10.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - WorkOS
@@ -711,7 +711,7 @@ files:
711
711
  - lib/workos/shared/slow_down_oauth_error_body.rb
712
712
  - lib/workos/shared/sms_challenge_quota_reached_error_body.rb
713
713
  - lib/workos/shared/sms_challenge_rate_limited_error_body.rb
714
- - lib/workos/shared/sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rb
714
+ - lib/workos/shared/sso_required_oauth_error_body_with_connection_ids_list_email.rb
715
715
  - lib/workos/shared/sub_resource_scoped_role_not_allowed_error_body_with_role_slug.rb
716
716
  - lib/workos/shared/token_too_big_oauth_error_body.rb
717
717
  - lib/workos/shared/too_many_failed_verification_attempts_error_body_with_retry_after.rb
@@ -828,6 +828,7 @@ files:
828
828
  - lib/workos/types/connection_status.rb
829
829
  - lib/workos/types/connection_type.rb
830
830
  - lib/workos/types/connections_connection_type.rb
831
+ - lib/workos/types/connections_state.rb
831
832
  - lib/workos/types/create_connected_account_state.rb
832
833
  - lib/workos/types/create_connection_oidc_options_id_token_signature_algorithm.rb
833
834
  - lib/workos/types/create_connection_oidc_options_token_authentication_method.rb
@@ -853,6 +854,7 @@ files:
853
854
  - lib/workos/types/data_integration_installation_connection_role.rb
854
855
  - lib/workos/types/data_integration_ownership.rb
855
856
  - lib/workos/types/data_integration_state.rb
857
+ - lib/workos/types/data_integration_vended_credential_auth_method.rb
856
858
  - lib/workos/types/data_integrations_create_api_key_connection_request_connection_owner.rb
857
859
  - lib/workos/types/data_integrations_create_client_credentials_connection_request_connection_owner.rb
858
860
  - lib/workos/types/data_integrations_get_data_integration_authorize_url_request_connection_intent.rb
@@ -933,6 +935,7 @@ files:
933
935
  - lib/workos/types/pipe_connected_account_connection_role.rb
934
936
  - lib/workos/types/pipe_connected_account_state.rb
935
937
  - lib/workos/types/pipes_ownership.rb
938
+ - lib/workos/types/pipes_provider_ownership.rb
936
939
  - lib/workos/types/profile_connection_type.rb
937
940
  - lib/workos/types/radar_list_action.rb
938
941
  - lib/workos/types/radar_list_type.rb
@@ -1429,6 +1432,7 @@ files:
1429
1432
  - rbi/workos/connect_application_m2m.rbi
1430
1433
  - rbi/workos/connect_application_oauth.rbi
1431
1434
  - rbi/workos/connect_application_oauth_redirect_uris.rbi
1435
+ - rbi/workos/connect_application_redirect_uri.rbi
1432
1436
  - rbi/workos/connected_account.rbi
1433
1437
  - rbi/workos/connected_account_input.rbi
1434
1438
  - rbi/workos/connected_account_limit_reached_error_body.rbi
@@ -1934,7 +1938,7 @@ files:
1934
1938
  - rbi/workos/sso_device_authorization_request.rbi
1935
1939
  - rbi/workos/sso_logout_authorize_request.rbi
1936
1940
  - rbi/workos/sso_logout_authorize_response.rbi
1937
- - rbi/workos/sso_required_oauth_error_body_with_connection_ids_list_email_pending_authentication_token.rbi
1941
+ - rbi/workos/sso_required_oauth_error_body_with_connection_ids_list_email.rbi
1938
1942
  - rbi/workos/sso_token_response.rbi
1939
1943
  - rbi/workos/sso_token_response_oauth_token.rbi
1940
1944
  - rbi/workos/sub_resource_scoped_role_not_allowed_error_body_with_role_slug.rbi