workos 9.3.0 → 9.4.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 (100) hide show
  1. checksums.yaml +4 -4
  2. data/.last-synced-sha +1 -1
  3. data/.oagen-manifest.json +110 -1
  4. data/.release-please-manifest.json +1 -1
  5. data/CHANGELOG.md +123 -0
  6. data/Gemfile.lock +2 -2
  7. data/lib/workos/admin_portal/generate_link.rb +0 -3
  8. data/lib/workos/admin_portal.rb +0 -3
  9. data/lib/workos/authorization/user_role_assignment.rb +3 -0
  10. data/lib/workos/authorization/user_role_assignment_source.rb +22 -0
  11. data/lib/workos/pipes/connected_account_dto.rb +31 -0
  12. data/lib/workos/pipes/create_data_integration.rb +34 -0
  13. data/lib/workos/pipes/custom_provider_definition.rb +49 -0
  14. data/lib/workos/pipes/data_integration.rb +55 -0
  15. data/lib/workos/pipes/data_integration_credential.rb +25 -0
  16. data/lib/workos/pipes/data_integration_credentials_dto.rb +25 -0
  17. data/lib/workos/pipes/data_integration_credentials_response.rb +25 -0
  18. data/lib/workos/pipes/data_integration_credentials_response_credential.rb +34 -0
  19. data/lib/workos/pipes/data_integration_custom_provider.rb +49 -0
  20. data/lib/workos/pipes/data_integrations_upsert_api_key_request.rb +25 -0
  21. data/lib/workos/pipes/data_integrations_vend_credentials_request.rb +22 -0
  22. data/lib/workos/pipes/update_custom_provider_definition.rb +49 -0
  23. data/lib/workos/pipes/update_data_integration.rb +31 -0
  24. data/lib/workos/pipes.rb +304 -0
  25. data/lib/workos/radar/radar_standalone_assess_request.rb +5 -2
  26. data/lib/workos/radar.rb +5 -2
  27. data/lib/workos/shared/auth_method_mismatch_error.rb +22 -0
  28. data/lib/workos/types/audit_log_export_state.rb +2 -1
  29. data/lib/workos/types/connected_account_state.rb +1 -2
  30. data/lib/workos/types/create_webhook_endpoint_events.rb +8 -1
  31. data/lib/workos/types/custom_provider_definition_authenticate_via.rb +13 -0
  32. data/lib/workos/types/data_integration_credential_type.rb +13 -0
  33. data/lib/workos/types/data_integration_credentials_response_error.rb +9 -0
  34. data/lib/workos/types/data_integration_credentials_type.rb +9 -0
  35. data/lib/workos/types/data_integration_custom_provider_authenticate_via.rb +9 -0
  36. data/lib/workos/types/data_integration_state.rb +14 -0
  37. data/lib/workos/types/data_integrations_list_response_data_connected_account_state.rb +6 -1
  38. data/lib/workos/types/update_custom_provider_definition_authenticate_via.rb +9 -0
  39. data/lib/workos/types/user_role_assignment_source_type.rb +13 -0
  40. data/lib/workos/user_management/authorization_code_session_authenticate_request.rb +5 -2
  41. data/lib/workos/user_management/create_magic_code_and_return.rb +14 -2
  42. data/lib/workos/user_management/create_user.rb +9 -0
  43. data/lib/workos/user_management/magic_auth_code_session_authenticate_request.rb +5 -2
  44. data/lib/workos/user_management/magic_auth_send_magic_auth_code_and_return_response.rb +18 -0
  45. data/lib/workos/user_management/password_session_authenticate_request.rb +8 -2
  46. data/lib/workos/user_management/radar_email_challenge_code_session_authenticate_request.rb +43 -0
  47. data/lib/workos/user_management/radar_sms_challenge_code_session_authenticate_request.rb +46 -0
  48. data/lib/workos/user_management/send_radar_sms_challenge.rb +31 -0
  49. data/lib/workos/user_management/send_radar_sms_challenge_response.rb +22 -0
  50. data/lib/workos/user_management/user_create_response.rb +7 -0
  51. data/lib/workos/user_management.rb +165 -6
  52. data/lib/workos/version.rb +1 -1
  53. data/rbi/workos/admin_portal.rbi +1 -2
  54. data/rbi/workos/auth_method_mismatch_error.rbi +30 -0
  55. data/rbi/workos/authorization_code_session_authenticate_request.rbi +6 -0
  56. data/rbi/workos/connected_account_dto.rbi +48 -0
  57. data/rbi/workos/create_data_integration.rbi +54 -0
  58. data/rbi/workos/create_magic_code_and_return.rbi +24 -0
  59. data/rbi/workos/create_user.rbi +18 -0
  60. data/rbi/workos/custom_provider_definition.rbi +84 -0
  61. data/rbi/workos/data_integration.rbi +96 -0
  62. data/rbi/workos/data_integration_credential.rbi +36 -0
  63. data/rbi/workos/data_integration_credentials_dto.rbi +36 -0
  64. data/rbi/workos/data_integration_credentials_response.rbi +36 -0
  65. data/rbi/workos/data_integration_credentials_response_credential.rbi +54 -0
  66. data/rbi/workos/data_integration_custom_provider.rbi +84 -0
  67. data/rbi/workos/data_integrations_upsert_api_key_request.rbi +36 -0
  68. data/rbi/workos/data_integrations_vend_credentials_request.rbi +30 -0
  69. data/rbi/workos/generate_link.rbi +0 -6
  70. data/rbi/workos/magic_auth_code_session_authenticate_request.rbi +6 -0
  71. data/rbi/workos/magic_auth_send_magic_auth_code_and_return_response.rbi +24 -0
  72. data/rbi/workos/password_session_authenticate_request.rbi +12 -0
  73. data/rbi/workos/pipes.rbi +104 -0
  74. data/rbi/workos/radar.rbi +2 -1
  75. data/rbi/workos/radar_email_challenge_code_session_authenticate_request.rbi +72 -0
  76. data/rbi/workos/radar_sms_challenge_code_session_authenticate_request.rbi +78 -0
  77. data/rbi/workos/radar_standalone_assess_request.rbi +6 -0
  78. data/rbi/workos/send_radar_sms_challenge.rbi +48 -0
  79. data/rbi/workos/send_radar_sms_challenge_response.rbi +30 -0
  80. data/rbi/workos/update_custom_provider_definition.rbi +84 -0
  81. data/rbi/workos/update_data_integration.rbi +48 -0
  82. data/rbi/workos/user_create_response.rbi +24 -0
  83. data/rbi/workos/user_management.rbi +47 -5
  84. data/rbi/workos/user_role_assignment.rbi +6 -0
  85. data/rbi/workos/user_role_assignment_source.rbi +30 -0
  86. data/test/workos/test_admin_portal_model_round_trip.rb +33 -0
  87. data/test/workos/test_audit_logs_model_round_trip.rb +218 -0
  88. data/test/workos/test_authorization_model_round_trip.rb +456 -0
  89. data/test/workos/test_connect_model_round_trip.rb +30 -0
  90. data/test/workos/test_groups_model_round_trip.rb +33 -0
  91. data/test/workos/test_model_round_trip.rb +2 -7857
  92. data/test/workos/test_organizations_model_round_trip.rb +29 -0
  93. data/test/workos/test_pipes.rb +72 -0
  94. data/test/workos/test_pipes_model_round_trip.rb +389 -0
  95. data/test/workos/test_radar_model_round_trip.rb +85 -0
  96. data/test/workos/test_shared_model_round_trip.rb +92 -0
  97. data/test/workos/test_user_management.rb +24 -0
  98. data/test/workos/test_user_management_model_round_trip.rb +1048 -0
  99. data/test/workos/test_webhooks_model_round_trip.rb +53 -0
  100. metadata +62 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c7ff4e4cac3c0f96112977f6a735a849d7c263321cdf56b78c4b3f522cdb7c0
4
- data.tar.gz: aa56fd99fde6418f823776e3ba0f9c22dd847c637dcd1f17dc7bf9945c0d8fff
3
+ metadata.gz: ccece89bf392d369324892e98d39240f2257017895ab40a1b07d80b433b0d28a
4
+ data.tar.gz: 43915ec1d843df957f327388dbfa9cc54f93ed1c20b07bde5caf3f8eb78b78a3
5
5
  SHA512:
6
- metadata.gz: 9550d21ed7bdde7654e69afbc358db96fb4a614734386dd3bdd322179a450c676a8159764c527737bdd60e9ffa4c89789ece1df2c1dc79b400e2f88e4ef52944
7
- data.tar.gz: ac7ed9d7a2936b0faad47eb26d9d950fadf378e2c1a467c922a15b0e64847a54b9b182410f06f0a3df31587f74e0e2629d0da9fcfc404019b572ada50744e169
6
+ metadata.gz: 3a429c45d4294e40236c3a0ce87d2df053e2345208615e2f96a8035026cd849fbcd1a03c166ac268196ac5802fd6b412d9f861c3d870f6e218bdf0cb0f0f6b4b
7
+ data.tar.gz: 78001bbb9b8c29f2e525a76395df27fa6c7d8b8f2f652c439e9a423077732f7cdf8bb1a032fcc91e7c5b0f61e3c99e84e8c3588ca47a305a198680f78afca7f7
data/.last-synced-sha CHANGED
@@ -1 +1 @@
1
- 1a2f47b20f63f2c8f0eb56bbd2adb3b5947d693a
1
+ 4b4e0618779460dbebc1cf5e0f02197c21796d1f
data/.oagen-manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 2,
3
3
  "language": "ruby",
4
- "generatedAt": "2026-06-17T21:06:29.872Z",
4
+ "generatedAt": "2026-07-02T17:29:49.181Z",
5
5
  "files": [
6
6
  "lib/workos.rb",
7
7
  "lib/workos/admin_portal.rb",
@@ -89,6 +89,7 @@
89
89
  "lib/workos/authorization/update_role.rb",
90
90
  "lib/workos/authorization/user_role_assignment.rb",
91
91
  "lib/workos/authorization/user_role_assignment_resource.rb",
92
+ "lib/workos/authorization/user_role_assignment_source.rb",
92
93
  "lib/workos/client.rb",
93
94
  "lib/workos/client_api.rb",
94
95
  "lib/workos/client_api/client_api_token.rb",
@@ -251,14 +252,27 @@
251
252
  "lib/workos/organizations/update_organization.rb",
252
253
  "lib/workos/pipes.rb",
253
254
  "lib/workos/pipes/connected_account.rb",
255
+ "lib/workos/pipes/connected_account_dto.rb",
256
+ "lib/workos/pipes/create_data_integration.rb",
257
+ "lib/workos/pipes/custom_provider_definition.rb",
258
+ "lib/workos/pipes/data_integration.rb",
254
259
  "lib/workos/pipes/data_integration_access_token_response.rb",
255
260
  "lib/workos/pipes/data_integration_access_token_response_access_token.rb",
256
261
  "lib/workos/pipes/data_integration_authorize_url_response.rb",
262
+ "lib/workos/pipes/data_integration_credential.rb",
263
+ "lib/workos/pipes/data_integration_credentials_dto.rb",
264
+ "lib/workos/pipes/data_integration_credentials_response.rb",
265
+ "lib/workos/pipes/data_integration_credentials_response_credential.rb",
266
+ "lib/workos/pipes/data_integration_custom_provider.rb",
257
267
  "lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb",
258
268
  "lib/workos/pipes/data_integrations_get_user_token_request.rb",
259
269
  "lib/workos/pipes/data_integrations_list_response.rb",
260
270
  "lib/workos/pipes/data_integrations_list_response_data.rb",
261
271
  "lib/workos/pipes/data_integrations_list_response_data_connected_account.rb",
272
+ "lib/workos/pipes/data_integrations_upsert_api_key_request.rb",
273
+ "lib/workos/pipes/data_integrations_vend_credentials_request.rb",
274
+ "lib/workos/pipes/update_custom_provider_definition.rb",
275
+ "lib/workos/pipes/update_data_integration.rb",
262
276
  "lib/workos/pipes_provider.rb",
263
277
  "lib/workos/pipes_provider/configure_data_integration_body.rb",
264
278
  "lib/workos/pipes_provider/data_integration_configuration_list_response.rb",
@@ -271,6 +285,7 @@
271
285
  "lib/workos/radar/radar_standalone_response.rb",
272
286
  "lib/workos/radar/radar_standalone_update_radar_attempt_request.rb",
273
287
  "lib/workos/radar/radar_standalone_update_radar_list_request.rb",
288
+ "lib/workos/shared/auth_method_mismatch_error.rb",
274
289
  "lib/workos/shared/connect_application_m2m.rb",
275
290
  "lib/workos/shared/connect_application_oauth.rb",
276
291
  "lib/workos/shared/connect_application_oauth_redirect_uris.rb",
@@ -349,8 +364,14 @@
349
364
  "lib/workos/types/create_user_invite_options_locale.rb",
350
365
  "lib/workos/types/create_user_password_hash_type.rb",
351
366
  "lib/workos/types/create_webhook_endpoint_events.rb",
367
+ "lib/workos/types/custom_provider_definition_authenticate_via.rb",
352
368
  "lib/workos/types/data_integration_access_token_response_error.rb",
369
+ "lib/workos/types/data_integration_credential_type.rb",
353
370
  "lib/workos/types/data_integration_credentials_credentials_type.rb",
371
+ "lib/workos/types/data_integration_credentials_response_error.rb",
372
+ "lib/workos/types/data_integration_credentials_type.rb",
373
+ "lib/workos/types/data_integration_custom_provider_authenticate_via.rb",
374
+ "lib/workos/types/data_integration_state.rb",
354
375
  "lib/workos/types/data_integrations_list_response_data_auth_methods.rb",
355
376
  "lib/workos/types/data_integrations_list_response_data_connected_account_auth_method.rb",
356
377
  "lib/workos/types/data_integrations_list_response_data_connected_account_state.rb",
@@ -420,6 +441,7 @@
420
441
  "lib/workos/types/session_revoked_data_auth_method.rb",
421
442
  "lib/workos/types/session_revoked_data_status.rb",
422
443
  "lib/workos/types/sso_provider.rb",
444
+ "lib/workos/types/update_custom_provider_definition_authenticate_via.rb",
423
445
  "lib/workos/types/update_user_password_hash_type.rb",
424
446
  "lib/workos/types/update_webhook_endpoint_events.rb",
425
447
  "lib/workos/types/update_webhook_endpoint_status.rb",
@@ -430,6 +452,7 @@
430
452
  "lib/workos/types/user_management_organization_membership_statuses.rb",
431
453
  "lib/workos/types/user_organization_membership_base_list_data_status.rb",
432
454
  "lib/workos/types/user_organization_membership_status.rb",
455
+ "lib/workos/types/user_role_assignment_source_type.rb",
433
456
  "lib/workos/types/user_sessions_auth_method.rb",
434
457
  "lib/workos/types/user_sessions_status.rb",
435
458
  "lib/workos/types/vault_byok_key_provider.rb",
@@ -537,6 +560,7 @@
537
560
  "lib/workos/user_management/magic_auth_code_session_authenticate_request.rb",
538
561
  "lib/workos/user_management/magic_auth_created.rb",
539
562
  "lib/workos/user_management/magic_auth_created_data.rb",
563
+ "lib/workos/user_management/magic_auth_send_magic_auth_code_and_return_response.rb",
540
564
  "lib/workos/user_management/mfa_totp_session_authenticate_request.rb",
541
565
  "lib/workos/user_management/organization_selection_session_authenticate_request.rb",
542
566
  "lib/workos/user_management/password_reset.rb",
@@ -545,12 +569,16 @@
545
569
  "lib/workos/user_management/password_reset_succeeded.rb",
546
570
  "lib/workos/user_management/password_reset_succeeded_data.rb",
547
571
  "lib/workos/user_management/password_session_authenticate_request.rb",
572
+ "lib/workos/user_management/radar_email_challenge_code_session_authenticate_request.rb",
573
+ "lib/workos/user_management/radar_sms_challenge_code_session_authenticate_request.rb",
548
574
  "lib/workos/user_management/redirect_uri.rb",
549
575
  "lib/workos/user_management/refresh_token_session_authenticate_request.rb",
550
576
  "lib/workos/user_management/resend_user_invite_options.rb",
551
577
  "lib/workos/user_management/reset_password_response.rb",
552
578
  "lib/workos/user_management/revoke_session.rb",
553
579
  "lib/workos/user_management/send_email_change.rb",
580
+ "lib/workos/user_management/send_radar_sms_challenge.rb",
581
+ "lib/workos/user_management/send_radar_sms_challenge_response.rb",
554
582
  "lib/workos/user_management/send_verification_email_response.rb",
555
583
  "lib/workos/user_management/session_created.rb",
556
584
  "lib/workos/user_management/session_created_data.rb",
@@ -569,6 +597,7 @@
569
597
  "lib/workos/user_management/user_api_key_updated_data_owner.rb",
570
598
  "lib/workos/user_management/user_api_key_with_value.rb",
571
599
  "lib/workos/user_management/user_api_key_with_value_owner.rb",
600
+ "lib/workos/user_management/user_create_response.rb",
572
601
  "lib/workos/user_management/user_created.rb",
573
602
  "lib/workos/user_management/user_deleted.rb",
574
603
  "lib/workos/user_management/user_identities_get_item.rb",
@@ -665,6 +694,7 @@
665
694
  "rbi/workos/audit_log_schema_target_input.rbi",
666
695
  "rbi/workos/audit_logs.rbi",
667
696
  "rbi/workos/audit_logs_retention.rbi",
697
+ "rbi/workos/auth_method_mismatch_error.rbi",
668
698
  "rbi/workos/authenticate_response.rbi",
669
699
  "rbi/workos/authenticate_response_impersonator.rbi",
670
700
  "rbi/workos/authenticate_response_oauth_token.rbi",
@@ -744,6 +774,7 @@
744
774
  "rbi/workos/connect_application_oauth.rbi",
745
775
  "rbi/workos/connect_application_oauth_redirect_uris.rbi",
746
776
  "rbi/workos/connected_account.rbi",
777
+ "rbi/workos/connected_account_dto.rbi",
747
778
  "rbi/workos/connection.rbi",
748
779
  "rbi/workos/connection_activated.rbi",
749
780
  "rbi/workos/connection_activated_data.rbi",
@@ -768,6 +799,7 @@
768
799
  "rbi/workos/create_authorization_permission.rbi",
769
800
  "rbi/workos/create_authorization_resource.rbi",
770
801
  "rbi/workos/create_cors_origin.rbi",
802
+ "rbi/workos/create_data_integration.rbi",
771
803
  "rbi/workos/create_data_key_request.rbi",
772
804
  "rbi/workos/create_data_key_response.rbi",
773
805
  "rbi/workos/create_group.rbi",
@@ -789,17 +821,26 @@
789
821
  "rbi/workos/create_user_invite_options.rbi",
790
822
  "rbi/workos/create_user_organization_membership.rbi",
791
823
  "rbi/workos/create_webhook_endpoint.rbi",
824
+ "rbi/workos/custom_provider_definition.rbi",
825
+ "rbi/workos/data_integration.rbi",
792
826
  "rbi/workos/data_integration_access_token_response.rbi",
793
827
  "rbi/workos/data_integration_access_token_response_access_token.rbi",
794
828
  "rbi/workos/data_integration_authorize_url_response.rbi",
795
829
  "rbi/workos/data_integration_configuration_list_response.rbi",
796
830
  "rbi/workos/data_integration_configuration_response.rbi",
831
+ "rbi/workos/data_integration_credential.rbi",
797
832
  "rbi/workos/data_integration_credentials.rbi",
833
+ "rbi/workos/data_integration_credentials_dto.rbi",
834
+ "rbi/workos/data_integration_credentials_response.rbi",
835
+ "rbi/workos/data_integration_credentials_response_credential.rbi",
836
+ "rbi/workos/data_integration_custom_provider.rbi",
798
837
  "rbi/workos/data_integrations_get_data_integration_authorize_url_request.rbi",
799
838
  "rbi/workos/data_integrations_get_user_token_request.rbi",
800
839
  "rbi/workos/data_integrations_list_response.rbi",
801
840
  "rbi/workos/data_integrations_list_response_data.rbi",
802
841
  "rbi/workos/data_integrations_list_response_data_connected_account.rbi",
842
+ "rbi/workos/data_integrations_upsert_api_key_request.rbi",
843
+ "rbi/workos/data_integrations_vend_credentials_request.rbi",
803
844
  "rbi/workos/decrypt_request.rbi",
804
845
  "rbi/workos/decrypt_response.rbi",
805
846
  "rbi/workos/delete_group_role_assignments_by_criteria.rbi",
@@ -920,6 +961,7 @@
920
961
  "rbi/workos/magic_auth_code_session_authenticate_request.rbi",
921
962
  "rbi/workos/magic_auth_created.rbi",
922
963
  "rbi/workos/magic_auth_created_data.rbi",
964
+ "rbi/workos/magic_auth_send_magic_auth_code_and_return_response.rbi",
923
965
  "rbi/workos/mfa_totp_session_authenticate_request.rbi",
924
966
  "rbi/workos/multi_factor_auth.rbi",
925
967
  "rbi/workos/new_connect_application_secret.rbi",
@@ -995,7 +1037,9 @@
995
1037
  "rbi/workos/portal_link_response.rbi",
996
1038
  "rbi/workos/profile.rbi",
997
1039
  "rbi/workos/radar.rbi",
1040
+ "rbi/workos/radar_email_challenge_code_session_authenticate_request.rbi",
998
1041
  "rbi/workos/radar_list_entry_already_present_response.rbi",
1042
+ "rbi/workos/radar_sms_challenge_code_session_authenticate_request.rbi",
999
1043
  "rbi/workos/radar_standalone_assess_request.rbi",
1000
1044
  "rbi/workos/radar_standalone_delete_radar_list_entry_request.rbi",
1001
1045
  "rbi/workos/radar_standalone_response.rbi",
@@ -1020,6 +1064,8 @@
1020
1064
  "rbi/workos/role_updated.rbi",
1021
1065
  "rbi/workos/role_updated_data.rbi",
1022
1066
  "rbi/workos/send_email_change.rbi",
1067
+ "rbi/workos/send_radar_sms_challenge.rbi",
1068
+ "rbi/workos/send_radar_sms_challenge_response.rbi",
1023
1069
  "rbi/workos/send_verification_email_response.rbi",
1024
1070
  "rbi/workos/session_created.rbi",
1025
1071
  "rbi/workos/session_created_data.rbi",
@@ -1041,6 +1087,8 @@
1041
1087
  "rbi/workos/update_audit_logs_retention.rbi",
1042
1088
  "rbi/workos/update_authorization_permission.rbi",
1043
1089
  "rbi/workos/update_authorization_resource.rbi",
1090
+ "rbi/workos/update_custom_provider_definition.rbi",
1091
+ "rbi/workos/update_data_integration.rbi",
1044
1092
  "rbi/workos/update_group.rbi",
1045
1093
  "rbi/workos/update_jwt_template.rbi",
1046
1094
  "rbi/workos/update_oauth_application.rbi",
@@ -1062,6 +1110,7 @@
1062
1110
  "rbi/workos/user_authentication_factor_enroll_response.rbi",
1063
1111
  "rbi/workos/user_consent_option.rbi",
1064
1112
  "rbi/workos/user_consent_option_choice.rbi",
1113
+ "rbi/workos/user_create_response.rbi",
1065
1114
  "rbi/workos/user_created.rbi",
1066
1115
  "rbi/workos/user_deleted.rbi",
1067
1116
  "rbi/workos/user_identities_get_item.rbi",
@@ -1073,6 +1122,7 @@
1073
1122
  "rbi/workos/user_organization_membership_base_list_data.rbi",
1074
1123
  "rbi/workos/user_role_assignment.rbi",
1075
1124
  "rbi/workos/user_role_assignment_resource.rbi",
1125
+ "rbi/workos/user_role_assignment_source.rbi",
1076
1126
  "rbi/workos/user_sessions_impersonator.rbi",
1077
1127
  "rbi/workos/user_sessions_list_item.rbi",
1078
1128
  "rbi/workos/user_updated.rbi",
@@ -1113,27 +1163,38 @@
1113
1163
  "rbi/workos/widget_session_token_response.rbi",
1114
1164
  "rbi/workos/widgets.rbi",
1115
1165
  "test/workos/test_admin_portal.rb",
1166
+ "test/workos/test_admin_portal_model_round_trip.rb",
1116
1167
  "test/workos/test_api_keys.rb",
1117
1168
  "test/workos/test_audit_logs.rb",
1169
+ "test/workos/test_audit_logs_model_round_trip.rb",
1118
1170
  "test/workos/test_authorization.rb",
1171
+ "test/workos/test_authorization_model_round_trip.rb",
1119
1172
  "test/workos/test_client_api.rb",
1120
1173
  "test/workos/test_connect.rb",
1174
+ "test/workos/test_connect_model_round_trip.rb",
1121
1175
  "test/workos/test_directory_sync.rb",
1122
1176
  "test/workos/test_events.rb",
1123
1177
  "test/workos/test_feature_flags.rb",
1124
1178
  "test/workos/test_groups.rb",
1179
+ "test/workos/test_groups_model_round_trip.rb",
1125
1180
  "test/workos/test_model_round_trip.rb",
1126
1181
  "test/workos/test_multi_factor_auth.rb",
1127
1182
  "test/workos/test_organization_domains.rb",
1128
1183
  "test/workos/test_organization_membership_service.rb",
1129
1184
  "test/workos/test_organizations.rb",
1185
+ "test/workos/test_organizations_model_round_trip.rb",
1130
1186
  "test/workos/test_pipes.rb",
1187
+ "test/workos/test_pipes_model_round_trip.rb",
1131
1188
  "test/workos/test_pipes_provider.rb",
1132
1189
  "test/workos/test_radar.rb",
1190
+ "test/workos/test_radar_model_round_trip.rb",
1191
+ "test/workos/test_shared_model_round_trip.rb",
1133
1192
  "test/workos/test_sso.rb",
1134
1193
  "test/workos/test_user_management.rb",
1194
+ "test/workos/test_user_management_model_round_trip.rb",
1135
1195
  "test/workos/test_vault.rb",
1136
1196
  "test/workos/test_webhooks.rb",
1197
+ "test/workos/test_webhooks_model_round_trip.rb",
1137
1198
  "test/workos/test_widgets.rb"
1138
1199
  ],
1139
1200
  "operations": {
@@ -1948,6 +2009,54 @@
1948
2009
  "GET /audit_logs/exports/{auditLogExportId}": {
1949
2010
  "sdkMethod": "get_export",
1950
2011
  "service": "audit_logs"
2012
+ },
2013
+ "PUT /data-integrations/{slug}/api-key": {
2014
+ "sdkMethod": "update_data_integration_api_key",
2015
+ "service": "pipes"
2016
+ },
2017
+ "POST /data-integrations/{slug}/credentials": {
2018
+ "sdkMethod": "create_data_integration_credential",
2019
+ "service": "pipes"
2020
+ },
2021
+ "GET /user_management/cors_origins": {
2022
+ "sdkMethod": "list_cors_origins",
2023
+ "service": "user_management"
2024
+ },
2025
+ "GET /user_management/redirect_uris": {
2026
+ "sdkMethod": "list_redirect_uris",
2027
+ "service": "user_management"
2028
+ },
2029
+ "GET /data-integrations": {
2030
+ "sdkMethod": "list_data_integrations",
2031
+ "service": "pipes"
2032
+ },
2033
+ "POST /data-integrations": {
2034
+ "sdkMethod": "create_data_integration",
2035
+ "service": "pipes"
2036
+ },
2037
+ "GET /data-integrations/{slug}": {
2038
+ "sdkMethod": "get_data_integration",
2039
+ "service": "pipes"
2040
+ },
2041
+ "PUT /data-integrations/{slug}": {
2042
+ "sdkMethod": "update_data_integration",
2043
+ "service": "pipes"
2044
+ },
2045
+ "DELETE /data-integrations/{slug}": {
2046
+ "sdkMethod": "delete_data_integration",
2047
+ "service": "pipes"
2048
+ },
2049
+ "POST /user_management/radar_challenges": {
2050
+ "sdkMethod": "create_radar_challenge",
2051
+ "service": "user_management"
2052
+ },
2053
+ "POST /user_management/users/{user_id}/connected_accounts/{slug}": {
2054
+ "sdkMethod": "create_user_connected_account",
2055
+ "service": "pipes"
2056
+ },
2057
+ "PUT /user_management/users/{user_id}/connected_accounts/{slug}": {
2058
+ "sdkMethod": "update_user_connected_account",
2059
+ "service": "pipes"
1951
2060
  }
1952
2061
  }
1953
2062
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "9.3.0"
2
+ ".": "9.4.0"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -1,5 +1,128 @@
1
1
  # Changelog
2
2
 
3
+ ## [9.4.0](https://github.com/workos/workos-ruby/compare/v9.3.0...v9.4.0) (2026-07-02)
4
+
5
+ * [#508](https://github.com/workos/workos-ruby/pull/508) fix(generated): regenerate from spec
6
+
7
+ **Features**
8
+ * **[pipes](https://workos.com/docs/reference/pipes)**:
9
+ * Added model `DataIntegrationCredentialsResponse`
10
+ * Added model `DataIntegrationCredentialsResponseCredential`
11
+ * Added model `DataIntegrationsUpsertApiKeyRequest`
12
+ * Added model `DataIntegrationsVendCredentialsRequest`
13
+ * Added enum `DataIntegrationCredentialsResponseError`
14
+ * Added endpoint `PUT /data-integrations/{slug}/api-key`
15
+ * Added endpoint `POST /data-integrations/{slug}/credentials`
16
+
17
+ * [#510](https://github.com/workos/workos-ruby/pull/510) fix(generated): regenerate from spec
18
+
19
+ **⚠️ Breaking**
20
+ * **[user_management](https://workos.com/docs/reference/authkit/user)**:
21
+ * Removed model `SessionReauthenticated`
22
+ * Removed model `SessionReauthenticatedData`
23
+ * Removed model `SessionReauthenticatedDataImpersonator`
24
+ * Removed enum `SessionReauthenticatedDataAuthMethod`
25
+ * Removed enum `SessionReauthenticatedDataStatus`
26
+
27
+ **Features**
28
+ * **[webhooks](https://workos.com/docs/reference/webhooks)**:
29
+ * Added `agent.registration.created` to `CreateWebhookEndpointEvents`
30
+ * Added `agent.registration.claim.attempt.created` to `CreateWebhookEndpointEvents`
31
+ * Added `agent.registration.claim.completed` to `CreateWebhookEndpointEvents`
32
+ * Added `agent.registration.credential.issued` to `CreateWebhookEndpointEvents`
33
+ * Added `agent.registration.organization.switched` to `CreateWebhookEndpointEvents`
34
+ * Added `authentication.reauthentication_succeeded` to `CreateWebhookEndpointEvents`
35
+ * Added `agent.registration.created` to `UpdateWebhookEndpointEvents`
36
+ * Added `agent.registration.claim.attempt.created` to `UpdateWebhookEndpointEvents`
37
+ * Added `agent.registration.claim.completed` to `UpdateWebhookEndpointEvents`
38
+ * Added `agent.registration.credential.issued` to `UpdateWebhookEndpointEvents`
39
+ * Added `agent.registration.organization.switched` to `UpdateWebhookEndpointEvents`
40
+ * Added `authentication.reauthentication_succeeded` to `UpdateWebhookEndpointEvents`
41
+ * **[webhooks](https://workos.com/docs/reference/webhooks)**:
42
+ * Added `session.reauthenticated` to `CreateWebhookEndpointEvents`
43
+ * Added `session.reauthenticated` to `UpdateWebhookEndpointEvents`
44
+ * **[webhooks](https://workos.com/docs/reference/webhooks)**:
45
+ * Added `pipes.connected_account.connection_failed` to `CreateWebhookEndpointEvents`
46
+ * Added `pipes.connected_account.connection_failed` to `UpdateWebhookEndpointEvents`
47
+ * **[user_management](https://workos.com/docs/reference/authkit/user)**:
48
+ * Added model `UserRoleAssignmentSource`
49
+ * Added `source` to `UserRoleAssignment`
50
+ * Added enum `UserRoleAssignmentSourceType`
51
+ * Added parameter `UserManagementAuthentication.authorize.max_age`
52
+ * Added endpoint `GET /user_management/cors_origins`
53
+ * Added endpoint `GET /user_management/redirect_uris`
54
+ * **[audit_logs](https://workos.com/docs/reference/audit-logs)**:
55
+ * Changed the format of `AuditLogExportCreation.range_start`
56
+ * Changed the format of `AuditLogExportCreation.range_end`
57
+ * **[audit_logs](https://workos.com/docs/reference/audit-logs)**:
58
+ * Added `expired` to `AuditLogExportState`
59
+
60
+ **Fixes**
61
+ * **[admin_portal](https://workos.com/docs/reference/admin-portal)**:
62
+ * Removed `intent_options` from `GenerateLink`
63
+ * **[webhooks](https://workos.com/docs/reference/webhooks)**:
64
+ * Removed `session.reauthenticated` from `CreateWebhookEndpointEvents`
65
+ * Removed `session.reauthenticated` from `UpdateWebhookEndpointEvents`
66
+
67
+ * [#512](https://github.com/workos/workos-ruby/pull/512) feat(generated): regenerate from spec (1 change)
68
+
69
+ **Features**
70
+ * **[pipes](https://workos.com/docs/reference/pipes)**:
71
+ * Added model `DataIntegrationCredentialsDto`
72
+ * Added model `CustomProviderDefinition`
73
+ * Added model `CreateDataIntegration`
74
+ * Added model `UpdateCustomProviderDefinition`
75
+ * Added model `UpdateDataIntegration`
76
+ * Added model `DataIntegration`
77
+ * Added model `DataIntegrationList`
78
+ * Added model `DataIntegrationListListMetadata`
79
+ * Added model `DataIntegrationCredential`
80
+ * Added model `DataIntegrationCustomProvider`
81
+ * Added enum `DataIntegrationCredentialsType`
82
+ * Added enum `CustomProviderDefinitionAuthenticateVia`
83
+ * Added enum `UpdateCustomProviderDefinitionAuthenticateVia`
84
+ * Added enum `DataIntegrationState`
85
+ * Added enum `DataIntegrationCredentialType`
86
+ * Added enum `DataIntegrationCustomProviderAuthenticateVia`
87
+ * Added endpoint `GET /data-integrations`
88
+ * Added endpoint `POST /data-integrations`
89
+ * Added endpoint `GET /data-integrations/{slug}`
90
+ * Added endpoint `PUT /data-integrations/{slug}`
91
+ * Added endpoint `DELETE /data-integrations/{slug}`
92
+ * Added endpoint `POST /user_management/users/{user_id}/connected_accounts/{slug}`
93
+ * Added endpoint `PUT /user_management/users/{user_id}/connected_accounts/{slug}`
94
+
95
+ * [#513](https://github.com/workos/workos-ruby/pull/513) feat(generated): regenerate from spec (2 changes)
96
+
97
+ **Features**
98
+ * **[user_management](https://workos.com/docs/reference/authkit/user)**:
99
+ * Added model `SendRadarSmsChallenge`
100
+ * Added model `SendRadarSmsChallengeResponse`
101
+ * Added model `UrnWorkosOAuthGrantTypeRadarEmailChallengeCodeSessionAuthenticateRequest`
102
+ * Added model `UrnWorkosOAuthGrantTypeRadarSmsChallengeCodeSessionAuthenticateRequest`
103
+ * Added model `MagicAuthSendMagicAuthCodeAndReturnResponse`
104
+ * Added model `UserCreateResponse`
105
+ * Added `ip_address` to `CreateMagicCodeAndReturn`
106
+ * Added `user_agent` to `CreateMagicCodeAndReturn`
107
+ * Added `radar_auth_attempt_id` to `CreateMagicCodeAndReturn`
108
+ * Added `signals_id` to `CreateMagicCodeAndReturn`
109
+ * Added `ip_address` to `CreateUser`
110
+ * Added `user_agent` to `CreateUser`
111
+ * Added `signals_id` to `CreateUser`
112
+ * Added `signals_id` to `AuthorizationCodeSessionAuthenticateRequest`
113
+ * Added `signals_id` to `PasswordSessionAuthenticateRequest`
114
+ * Added `radar_auth_attempt_id` to `PasswordSessionAuthenticateRequest`
115
+ * Added `radar_auth_attempt_id` to `UrnWorkosOAuthGrantTypeMagicAuthCodeSessionAuthenticateRequest`
116
+ * Added endpoint `POST /user_management/radar_challenges`
117
+ * **[radar](https://workos.com/docs/reference/radar)**:
118
+ * Added `signals_id` to `RadarStandaloneAssessRequest`
119
+
120
+ **Fixes**
121
+ * **[user_management](https://workos.com/docs/reference/authkit/user)**:
122
+ * Changed request body for `UserManagementAuthentication.authenticate`
123
+ * Changed response of `UserManagementUsers.create` from `User` to `UserCreateResponse`
124
+ * Changed response of `UserManagementMagicAuth.sendMagicAuthCodeAndReturn` from `MagicAuth` to `MagicAuthSendMagicAuthCodeAndReturnResponse`
125
+
3
126
  ## [9.3.0](https://github.com/workos/workos-ruby/compare/v9.2.0...v9.3.0) (2026-06-30)
4
127
 
5
128
  * [#504](https://github.com/workos/workos-ruby/pull/504) fix(generated): regenerate from spec
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- workos (9.3.0)
4
+ workos (9.4.0)
5
5
  jwt (~> 3.1)
6
6
  logger (~> 1.7)
7
7
  zeitwerk (~> 2.6)
@@ -153,7 +153,7 @@ CHECKSUMS
153
153
  unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
154
154
  webmock (3.26.2) sha256=774556f2ea6371846cca68c01769b2eac0d134492d21f6d0ab5dd643965a4c90
155
155
  webrick (1.9.2) sha256=beb4a15fc474defed24a3bda4ffd88a490d517c9e4e6118c3edce59e45864131
156
- workos (9.3.0)
156
+ workos (9.4.0)
157
157
  yard (0.9.44) sha256=eb087e9b631ccd887b049f303d489963945452d5e2a7eb49a5a74a7cf6887f28
158
158
  yard-markdown (0.7.1) sha256=06c378632dfe7ba053be9ba469eb4701aa0470e36bcf7e5546f353eb90c1bfd1
159
159
  zeitwerk (2.7.5) sha256=d8da92128c09ea6ec62c949011b00ed4a20242b255293dd66bf41545398f73dd
@@ -9,7 +9,6 @@ module WorkOS
9
9
  success_url: :success_url,
10
10
  organization: :organization,
11
11
  intent: :intent,
12
- intent_options: :intent_options,
13
12
  it_contact_emails: :it_contact_emails
14
13
  }.freeze
15
14
 
@@ -18,7 +17,6 @@ module WorkOS
18
17
  :success_url,
19
18
  :organization,
20
19
  :intent,
21
- :intent_options,
22
20
  :it_contact_emails
23
21
 
24
22
  def initialize(json)
@@ -27,7 +25,6 @@ module WorkOS
27
25
  @success_url = hash[:success_url]
28
26
  @organization = hash[:organization]
29
27
  @intent = hash[:intent]
30
- @intent_options = hash[:intent_options] ? WorkOS::IntentOptions.new(hash[:intent_options]) : nil
31
28
  @it_contact_emails = hash[:it_contact_emails] || []
32
29
  end
33
30
  end
@@ -15,7 +15,6 @@ module WorkOS
15
15
  # @param success_url [String, nil] The URL to redirect the admin to when they finish setup. If not specified, the success URL configured on the [Redirects](https://dashboard.workos.com/redirects) page will be used.
16
16
  # @param organization [String] An [Organization](https://workos.com/docs/reference/organization) identifier.
17
17
  # @param intent [WorkOS::Types::GenerateLinkIntent, nil] The intent of the Admin Portal. - `sso` - Launch Admin Portal for creating SSO connections - `dsync` - Launch Admin Portal for creating Directory Sync connections - `audit_logs` - Launch Admin Portal for viewing Audit Logs - `log_streams` - Launch Admin Portal for creating Log Streams - `domain_verification` - Launch Admin Portal for Domain Verification - `certificate_renewal` - Launch Admin Portal for renewing SAML Certificates - `bring_your_own_key` - Launch Admin Portal for configuring Bring Your Own Key
18
- # @param intent_options [WorkOS::IntentOptions, nil] Options to configure the Admin Portal based on the intent.
19
18
  # @param it_contact_emails [Array<String>, nil] The email addresses of the IT contacts to grant access to the Admin Portal for the given organization. Accepts up to 20 emails.
20
19
  # @param request_options [Hash] (see WorkOS::Types::RequestOptions)
21
20
  # @return [WorkOS::PortalLinkResponse]
@@ -24,7 +23,6 @@ module WorkOS
24
23
  return_url: nil,
25
24
  success_url: nil,
26
25
  intent: nil,
27
- intent_options: nil,
28
26
  it_contact_emails: nil,
29
27
  request_options: {}
30
28
  )
@@ -33,7 +31,6 @@ module WorkOS
33
31
  "success_url" => success_url,
34
32
  "organization" => organization,
35
33
  "intent" => intent,
36
- "intent_options" => intent_options,
37
34
  "it_contact_emails" => it_contact_emails
38
35
  }.compact
39
36
  response = @client.request(
@@ -10,6 +10,7 @@ module WorkOS
10
10
  organization_membership_id: :organization_membership_id,
11
11
  role: :role,
12
12
  resource: :resource,
13
+ source: :source,
13
14
  created_at: :created_at,
14
15
  updated_at: :updated_at
15
16
  }.freeze
@@ -20,6 +21,7 @@ module WorkOS
20
21
  :organization_membership_id,
21
22
  :role,
22
23
  :resource,
24
+ :source,
23
25
  :created_at,
24
26
  :updated_at
25
27
 
@@ -30,6 +32,7 @@ module WorkOS
30
32
  @organization_membership_id = hash[:organization_membership_id]
31
33
  @role = hash[:role] ? WorkOS::SlimRole.new(hash[:role]) : nil
32
34
  @resource = hash[:resource] ? WorkOS::UserRoleAssignmentResource.new(hash[:resource]) : nil
35
+ @source = hash[:source] ? WorkOS::UserRoleAssignmentSource.new(hash[:source]) : nil
33
36
  @created_at = hash[:created_at]
34
37
  @updated_at = hash[:updated_at]
35
38
  end
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file is auto-generated by oagen. Do not edit.
4
+
5
+ module WorkOS
6
+ class UserRoleAssignmentSource < WorkOS::Types::BaseModel
7
+ HASH_ATTRS = {
8
+ type: :type,
9
+ group_role_assignment_id: :group_role_assignment_id
10
+ }.freeze
11
+
12
+ attr_accessor \
13
+ :type,
14
+ :group_role_assignment_id
15
+
16
+ def initialize(json)
17
+ hash = self.class.normalize(json)
18
+ @type = hash[:type]
19
+ @group_role_assignment_id = hash[:group_role_assignment_id]
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file is auto-generated by oagen. Do not edit.
4
+
5
+ module WorkOS
6
+ class ConnectedAccountDto < WorkOS::Types::BaseModel
7
+ HASH_ATTRS = {
8
+ access_token: :access_token,
9
+ refresh_token: :refresh_token,
10
+ expires_at: :expires_at,
11
+ scopes: :scopes,
12
+ state: :state
13
+ }.freeze
14
+
15
+ attr_accessor \
16
+ :access_token,
17
+ :refresh_token,
18
+ :expires_at,
19
+ :scopes,
20
+ :state
21
+
22
+ def initialize(json)
23
+ hash = self.class.normalize(json)
24
+ @access_token = hash[:access_token]
25
+ @refresh_token = hash[:refresh_token]
26
+ @expires_at = hash[:expires_at]
27
+ @scopes = hash[:scopes] || []
28
+ @state = hash[:state]
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file is auto-generated by oagen. Do not edit.
4
+
5
+ module WorkOS
6
+ class CreateDataIntegration < WorkOS::Types::BaseModel
7
+ HASH_ATTRS = {
8
+ provider: :provider,
9
+ description: :description,
10
+ enabled: :enabled,
11
+ scopes: :scopes,
12
+ credentials: :credentials,
13
+ custom_provider: :custom_provider
14
+ }.freeze
15
+
16
+ attr_accessor \
17
+ :provider,
18
+ :description,
19
+ :enabled,
20
+ :scopes,
21
+ :credentials,
22
+ :custom_provider
23
+
24
+ def initialize(json)
25
+ hash = self.class.normalize(json)
26
+ @provider = hash[:provider]
27
+ @description = hash[:description]
28
+ @enabled = hash[:enabled]
29
+ @scopes = hash[:scopes] || []
30
+ @credentials = hash[:credentials] ? WorkOS::DataIntegrationCredentialsDto.new(hash[:credentials]) : nil
31
+ @custom_provider = hash[:custom_provider] ? WorkOS::CustomProviderDefinition.new(hash[:custom_provider]) : nil
32
+ end
33
+ end
34
+ end