workos 10.2.1 → 10.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.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +2 -2
- data/.github/workflows/docs.yml +3 -3
- data/.github/workflows/lint.yml +2 -2
- data/.github/workflows/release-please.yml +3 -3
- data/.github/workflows/release.yml +2 -2
- data/.last-synced-sha +1 -1
- data/.oagen-manifest.json +393 -4
- data/.release-please-manifest.json +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +328 -0
- data/Gemfile.lock +14 -14
- data/README.md +23 -0
- data/lib/workos/admin_portal.rb +2 -2
- data/lib/workos/agents/agent_blueprint.rb +43 -0
- data/lib/workos/agents/agent_blueprint_invocable_by.rb +7 -0
- data/lib/workos/agents/agent_blueprint_session_setting.rb +25 -0
- data/lib/workos/agents/agent_blueprints_create_request.rb +31 -0
- data/lib/workos/agents/agent_blueprints_create_request_invocable_by.rb +22 -0
- data/lib/workos/agents/agent_blueprints_create_request_session_setting.rb +7 -0
- data/lib/workos/agents/agent_blueprints_token_mint_token_request.rb +34 -0
- data/lib/workos/agents/agent_blueprints_token_validate_token_request.rb +18 -0
- data/lib/workos/agents/agent_blueprints_update_request.rb +31 -0
- data/lib/workos/agents/agent_blueprints_update_request_invocable_by.rb +7 -0
- data/lib/workos/agents/agent_blueprints_update_request_session_setting.rb +25 -0
- data/lib/workos/agents/agent_instance.rb +40 -0
- data/lib/workos/agents/agent_instance_session.rb +40 -0
- data/lib/workos/agents/agent_token.rb +40 -0
- data/lib/workos/agents/agent_token_validation.rb +40 -0
- data/lib/workos/agents.rb +399 -0
- data/lib/workos/audit_logs.rb +23 -5
- data/lib/workos/authorization.rb +3 -3
- data/lib/workos/base_client.rb +6 -2
- data/lib/workos/client.rb +4 -0
- data/lib/workos/configuration.rb +3 -2
- data/lib/workos/inflections.rb +17 -0
- data/lib/workos/multi_factor_auth.rb +1 -1
- data/lib/workos/organizations/create_it_contact.rb +18 -0
- data/lib/workos/organizations/invite_it_contact.rb +18 -0
- data/lib/workos/organizations/it_contact.rb +31 -0
- data/lib/workos/organizations/it_contact_list.rb +25 -0
- data/lib/workos/organizations/organization_input.rb +10 -1
- data/lib/workos/organizations/update_audit_logs_retention.rb +13 -1
- data/lib/workos/organizations.rb +110 -1
- data/lib/workos/pipes/connected_account.rb +9 -0
- data/lib/workos/pipes/create_data_integration.rb +3 -0
- data/lib/workos/pipes/data_integration.rb +3 -0
- data/lib/workos/pipes/data_integration_installation.rb +9 -0
- data/lib/workos/pipes/data_integrations_get_data_integration_authorize_url_request.rb +3 -0
- data/lib/workos/pipes/data_integrations_get_user_token_request.rb +11 -2
- data/lib/workos/pipes/data_integrations_list_response_data.rb +18 -3
- data/lib/workos/pipes/data_integrations_list_response_data_connected_account.rb +9 -0
- data/lib/workos/pipes/data_integrations_upsert_api_key_request.rb +25 -1
- data/lib/workos/pipes/data_integrations_upsert_client_credentials_request.rb +6 -0
- data/lib/workos/pipes/data_integrations_vend_credentials_request.rb +11 -2
- data/lib/workos/pipes.rb +324 -17
- data/lib/workos/platform_teams/create_team.rb +22 -0
- data/lib/workos/platform_teams/team.rb +37 -0
- data/lib/workos/platform_teams.rb +58 -0
- data/lib/workos/session_manager.rb +11 -6
- data/lib/workos/shared/account_selection_required_error.rb +22 -0
- data/lib/workos/shared/agent_blueprint_created.rb +34 -0
- data/lib/workos/shared/agent_blueprint_created_data.rb +43 -0
- data/lib/workos/shared/agent_blueprint_created_data_invocable_by.rb +22 -0
- data/lib/workos/shared/agent_blueprint_created_data_session_setting.rb +25 -0
- data/lib/workos/shared/agent_blueprint_deleted.rb +34 -0
- data/lib/workos/shared/agent_blueprint_deleted_data.rb +31 -0
- data/lib/workos/shared/agent_blueprint_updated.rb +34 -0
- data/lib/workos/shared/agent_blueprint_updated_data.rb +7 -0
- data/lib/workos/shared/agent_blueprint_updated_data_invocable_by.rb +7 -0
- data/lib/workos/shared/agent_blueprint_updated_data_session_setting.rb +7 -0
- data/lib/workos/shared/agent_instance_created.rb +34 -0
- data/lib/workos/shared/agent_instance_created_data.rb +40 -0
- data/lib/workos/shared/agent_instance_deleted.rb +34 -0
- data/lib/workos/shared/agent_instance_deleted_data.rb +40 -0
- data/lib/workos/shared/agent_instance_session_created.rb +34 -0
- data/lib/workos/shared/agent_instance_session_created_data.rb +43 -0
- data/lib/workos/shared/agent_instance_session_revoked.rb +34 -0
- data/lib/workos/shared/agent_instance_session_revoked_data.rb +40 -0
- data/lib/workos/shared/pipe_connected_account.rb +15 -0
- data/lib/workos/shared/pipes_account_connection_add_failed.rb +34 -0
- data/lib/workos/shared/pipes_account_connection_add_failed_data.rb +49 -0
- data/lib/workos/shared/pipes_account_connection_connected.rb +34 -0
- data/lib/workos/shared/pipes_account_connection_connection_failed.rb +34 -0
- data/lib/workos/shared/pipes_account_connection_connection_failed_data.rb +7 -0
- data/lib/workos/shared/pipes_account_connection_disconnected.rb +34 -0
- data/lib/workos/shared/pipes_account_connection_reauthorization_needed.rb +34 -0
- data/lib/workos/shared/pipes_connected_account_connection_failed_data.rb +1 -40
- data/lib/workos/shared/resource_export_completed.rb +34 -0
- data/lib/workos/shared/resource_export_completed_data.rb +22 -0
- data/lib/workos/shared/resource_export_created.rb +34 -0
- data/lib/workos/shared/resource_export_created_data.rb +22 -0
- data/lib/workos/shared/resource_export_downloaded.rb +34 -0
- data/lib/workos/shared/resource_export_downloaded_data.rb +22 -0
- data/lib/workos/shared/resource_export_failed.rb +34 -0
- data/lib/workos/shared/resource_export_failed_data.rb +22 -0
- data/lib/workos/shared/waitlist_user.rb +8 -5
- data/lib/workos/sso/create_connection.rb +37 -0
- data/lib/workos/sso/create_connection_attribute_maps.rb +22 -0
- data/lib/workos/sso/create_connection_key_pair.rb +22 -0
- data/lib/workos/sso/create_connection_oidc_options.rb +43 -0
- data/lib/workos/sso/create_connection_saml_options.rb +40 -0
- data/lib/workos/sso/create_connection_standard_attributes.rb +34 -0
- data/lib/workos/sso/create_saml_idp_signing_certificate.rb +18 -0
- data/lib/workos/sso/patch_connection.rb +34 -0
- data/lib/workos/sso/patch_connection_attribute_maps.rb +22 -0
- data/lib/workos/sso/patch_connection_oidc_options.rb +40 -0
- data/lib/workos/sso/patch_connection_saml_options.rb +31 -0
- data/lib/workos/sso/patch_connection_standard_attributes.rb +7 -0
- data/lib/workos/sso/saml_idp_signing_certificate.rb +34 -0
- data/lib/workos/sso/saml_idp_signing_certificate_list.rb +22 -0
- data/lib/workos/sso/saml_sp_encryption_certificate.rb +34 -0
- data/lib/workos/sso/saml_sp_encryption_certificate_list.rb +22 -0
- data/lib/workos/sso/saml_sp_signing_certificate.rb +34 -0
- data/lib/workos/sso/token_query.rb +11 -2
- data/lib/workos/sso.rb +305 -4
- data/lib/workos/types/agent_blueprints_token_mint_token_request_type.rb +15 -0
- data/lib/workos/types/agent_instance_created_data_type.rb +13 -0
- data/lib/workos/types/agent_instance_deleted_data_type.rb +9 -0
- data/lib/workos/types/agent_instance_session_status.rb +14 -0
- data/lib/workos/types/agent_instance_type.rb +9 -0
- data/lib/workos/types/authenticate_response_authentication_method.rb +1 -4
- data/lib/workos/types/connected_account_connection_role.rb +13 -0
- data/lib/workos/types/connection_activated_data_connection_type.rb +1 -4
- data/lib/workos/types/connection_type.rb +1 -4
- data/lib/workos/types/connections_connection_type.rb +1 -4
- data/lib/workos/types/create_connection_oidc_options_id_token_signature_algorithm.rb +24 -0
- data/lib/workos/types/create_connection_oidc_options_token_authentication_method.rb +14 -0
- data/lib/workos/types/create_data_integration_ownership.rb +13 -0
- data/lib/workos/types/create_webhook_endpoint_events.rb +13 -1
- data/lib/workos/types/data_integration_installation_connection_role.rb +9 -0
- data/lib/workos/types/data_integration_ownership.rb +9 -0
- data/lib/workos/types/data_integrations_get_data_integration_authorize_url_request_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_get_user_token_request_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_list_response_data_connected_account_connection_role.rb +9 -0
- data/lib/workos/types/data_integrations_list_response_data_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_upsert_api_key_request_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_upsert_client_credentials_request_connection_owner.rb +9 -0
- data/lib/workos/types/data_integrations_vend_credentials_request_connection_owner.rb +9 -0
- data/lib/workos/types/invite_it_contact_intents.rb +16 -0
- data/lib/workos/types/patch_connection_oidc_options_id_token_signature_algorithm.rb +9 -0
- data/lib/workos/types/patch_connection_oidc_options_token_authentication_method.rb +9 -0
- data/lib/workos/types/pipe_connected_account_auth_method.rb +9 -0
- data/lib/workos/types/pipe_connected_account_connection_role.rb +9 -0
- data/lib/workos/types/pipes_ownership.rb +9 -0
- data/lib/workos/types/resource_export_completed_data_resource_type.rb +18 -0
- data/lib/workos/types/resource_export_created_data_resource_type.rb +9 -0
- data/lib/workos/types/resource_export_downloaded_data_resource_type.rb +9 -0
- data/lib/workos/types/resource_export_failed_data_resource_type.rb +9 -0
- data/lib/workos/types/session_created_data_status.rb +1 -6
- data/lib/workos/types/session_revoked_data_status.rb +1 -1
- data/lib/workos/types/sso_grant_type.rb +13 -0
- data/lib/workos/types/team_production_state.rb +15 -0
- data/lib/workos/types/token_query_grant_type.rb +9 -0
- data/lib/workos/types/update_audit_logs_retention_retention_period.rb +32 -0
- data/lib/workos/types/user_identities_get_item_provider.rb +1 -4
- data/lib/workos/types/user_management_waitlists_state.rb +14 -0
- data/lib/workos/types/user_sessions_status.rb +1 -1
- data/lib/workos/types/waitlist_entry_state.rb +9 -0
- data/lib/workos/types/waitlist_user_state.rb +1 -6
- data/lib/workos/user_management/authentication_oauth_failed_data.rb +5 -2
- data/lib/workos/user_management/authentication_oauth_succeeded_data.rb +5 -2
- data/lib/workos/user_management/authkit_oauth_resource.rb +34 -0
- data/lib/workos/user_management/create_authkit_oauth_resource.rb +22 -0
- data/lib/workos/user_management/create_password_reset_token.rb +1 -12
- data/lib/workos/user_management/create_waitlist_entry.rb +25 -0
- data/lib/workos/user_management/email_completion_session_authenticate_request.rb +43 -0
- data/lib/workos/user_management/waitlist.rb +28 -0
- data/lib/workos/user_management/waitlist_entry.rb +43 -0
- data/lib/workos/user_management.rb +263 -0
- data/lib/workos/version.rb +1 -1
- data/lib/workos.rb +1 -0
- data/rbi/workos/account_selection_required_error.rbi +30 -0
- data/rbi/workos/agent_blueprint.rbi +72 -0
- data/rbi/workos/agent_blueprint_created.rbi +54 -0
- data/rbi/workos/agent_blueprint_created_data.rbi +72 -0
- data/rbi/workos/agent_blueprint_created_data_invocable_by.rbi +30 -0
- data/rbi/workos/agent_blueprint_created_data_session_setting.rbi +36 -0
- data/rbi/workos/agent_blueprint_deleted.rbi +54 -0
- data/rbi/workos/agent_blueprint_deleted_data.rbi +48 -0
- data/rbi/workos/agent_blueprint_invocable_by.rbi +30 -0
- data/rbi/workos/agent_blueprint_session_setting.rbi +36 -0
- data/rbi/workos/agent_blueprint_updated.rbi +54 -0
- data/rbi/workos/agent_blueprint_updated_data.rbi +72 -0
- data/rbi/workos/agent_blueprint_updated_data_invocable_by.rbi +30 -0
- data/rbi/workos/agent_blueprint_updated_data_session_setting.rbi +36 -0
- data/rbi/workos/agent_blueprints_create_request.rbi +48 -0
- data/rbi/workos/agent_blueprints_create_request_invocable_by.rbi +30 -0
- data/rbi/workos/agent_blueprints_create_request_session_setting.rbi +36 -0
- data/rbi/workos/agent_blueprints_token_mint_token_request.rbi +54 -0
- data/rbi/workos/agent_blueprints_token_validate_token_request.rbi +24 -0
- data/rbi/workos/agent_blueprints_update_request.rbi +48 -0
- data/rbi/workos/agent_blueprints_update_request_invocable_by.rbi +30 -0
- data/rbi/workos/agent_blueprints_update_request_session_setting.rbi +36 -0
- data/rbi/workos/agent_instance.rbi +66 -0
- data/rbi/workos/agent_instance_created.rbi +54 -0
- data/rbi/workos/agent_instance_created_data.rbi +66 -0
- data/rbi/workos/agent_instance_deleted.rbi +54 -0
- data/rbi/workos/agent_instance_deleted_data.rbi +66 -0
- data/rbi/workos/agent_instance_session.rbi +66 -0
- data/rbi/workos/agent_instance_session_created.rbi +54 -0
- data/rbi/workos/agent_instance_session_created_data.rbi +72 -0
- data/rbi/workos/agent_instance_session_revoked.rbi +54 -0
- data/rbi/workos/agent_instance_session_revoked_data.rbi +66 -0
- data/rbi/workos/agent_token.rbi +66 -0
- data/rbi/workos/agent_token_validation.rbi +66 -0
- data/rbi/workos/agents.rbi +134 -0
- data/rbi/workos/audit_logs.rbi +26 -2
- data/rbi/workos/authentication_oauth_failed_data.rbi +6 -0
- data/rbi/workos/authentication_oauth_succeeded_data.rbi +6 -0
- data/rbi/workos/authkit_oauth_resource.rbi +54 -0
- data/rbi/workos/client.rbi +3 -0
- data/rbi/workos/connected_account.rbi +18 -0
- data/rbi/workos/create_authkit_oauth_resource.rbi +30 -0
- data/rbi/workos/create_connection.rbi +60 -0
- data/rbi/workos/create_connection_attribute_maps.rbi +30 -0
- data/rbi/workos/create_connection_key_pair.rbi +30 -0
- data/rbi/workos/create_connection_oidc_options.rbi +72 -0
- data/rbi/workos/create_connection_saml_options.rbi +66 -0
- data/rbi/workos/create_connection_standard_attributes.rbi +54 -0
- data/rbi/workos/create_data_integration.rbi +6 -0
- data/rbi/workos/create_it_contact.rbi +24 -0
- data/rbi/workos/create_saml_idp_signing_certificate.rbi +24 -0
- data/rbi/workos/create_team.rbi +30 -0
- data/rbi/workos/create_waitlist_entry.rbi +36 -0
- data/rbi/workos/data_integration.rbi +6 -0
- data/rbi/workos/data_integration_installation.rbi +19 -1
- data/rbi/workos/data_integrations_get_data_integration_authorize_url_request.rbi +6 -0
- data/rbi/workos/data_integrations_get_user_token_request.rbi +18 -0
- data/rbi/workos/data_integrations_list_response_data.rbi +12 -0
- data/rbi/workos/data_integrations_list_response_data_connected_account.rbi +18 -0
- data/rbi/workos/data_integrations_upsert_api_key_request.rbi +12 -0
- data/rbi/workos/data_integrations_upsert_client_credentials_request.rbi +12 -0
- data/rbi/workos/data_integrations_vend_credentials_request.rbi +18 -0
- data/rbi/workos/email_completion_session_authenticate_request.rbi +72 -0
- data/rbi/workos/invite_it_contact.rbi +24 -0
- data/rbi/workos/it_contact.rbi +48 -0
- data/rbi/workos/organizations.rbi +45 -0
- data/rbi/workos/patch_connection.rbi +54 -0
- data/rbi/workos/patch_connection_attribute_maps.rbi +30 -0
- data/rbi/workos/patch_connection_oidc_options.rbi +66 -0
- data/rbi/workos/patch_connection_saml_options.rbi +48 -0
- data/rbi/workos/patch_connection_standard_attributes.rbi +54 -0
- data/rbi/workos/pipe_connected_account.rbi +30 -0
- data/rbi/workos/pipes.rbi +122 -11
- data/rbi/workos/pipes_account_connection_add_failed.rbi +54 -0
- data/rbi/workos/pipes_account_connection_add_failed_data.rbi +84 -0
- data/rbi/workos/pipes_account_connection_connected.rbi +54 -0
- data/rbi/workos/pipes_account_connection_connection_failed.rbi +54 -0
- data/rbi/workos/pipes_account_connection_connection_failed_data.rbi +84 -0
- data/rbi/workos/pipes_account_connection_disconnected.rbi +54 -0
- data/rbi/workos/pipes_account_connection_reauthorization_needed.rbi +54 -0
- data/rbi/workos/pipes_connected_account_connection_failed_data.rbi +6 -0
- data/rbi/workos/platform_teams.rbi +30 -0
- data/rbi/workos/resource_export_completed.rbi +54 -0
- data/rbi/workos/resource_export_completed_data.rbi +30 -0
- data/rbi/workos/resource_export_created.rbi +54 -0
- data/rbi/workos/resource_export_created_data.rbi +30 -0
- data/rbi/workos/resource_export_downloaded.rbi +54 -0
- data/rbi/workos/resource_export_downloaded_data.rbi +30 -0
- data/rbi/workos/resource_export_failed.rbi +54 -0
- data/rbi/workos/resource_export_failed_data.rbi +30 -0
- data/rbi/workos/saml_idp_signing_certificate.rbi +54 -0
- data/rbi/workos/saml_idp_signing_certificate_list.rbi +30 -0
- data/rbi/workos/saml_sp_encryption_certificate.rbi +54 -0
- data/rbi/workos/saml_sp_encryption_certificate_list.rbi +30 -0
- data/rbi/workos/saml_sp_signing_certificate.rbi +54 -0
- data/rbi/workos/sso.rbi +155 -2
- data/rbi/workos/team.rbi +60 -0
- data/rbi/workos/token_query.rbi +20 -2
- data/rbi/workos/update_audit_logs_retention.rbi +8 -2
- data/rbi/workos/user_management.rbi +92 -0
- data/rbi/workos/waitlist.rbi +42 -0
- data/rbi/workos/waitlist_entry.rbi +72 -0
- data/rbi/workos/waitlist_user.rbi +12 -6
- data/test/workos/test_agents.rb +105 -1
- data/test/workos/test_agents_model_round_trip.rb +245 -0
- data/test/workos/test_audit_logs.rb +11 -2
- data/test/workos/test_authorization.rb +6 -6
- data/test/workos/test_organizations.rb +41 -1
- data/test/workos/test_organizations_model_round_trip.rb +40 -1
- data/test/workos/test_pipes.rb +64 -0
- data/test/workos/test_pipes_model_round_trip.rb +35 -5
- data/test/workos/test_platform_teams.rb +41 -0
- data/test/workos/test_platform_teams_model_round_trip.rb +41 -0
- data/test/workos/test_session.rb +63 -0
- data/test/workos/test_shared_model_round_trip.rb +610 -2
- data/test/workos/test_sso.rb +108 -2
- data/test/workos/test_sso_model_round_trip.rb +262 -2
- data/test/workos/test_user_management.rb +80 -0
- data/test/workos/test_user_management_model_round_trip.rb +110 -2
- metadata +194 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
# typed: strong
|
|
6
|
+
|
|
7
|
+
module WorkOS
|
|
8
|
+
class SAMLSpSigningCertificate
|
|
9
|
+
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
|
+
def initialize(json); end
|
|
11
|
+
|
|
12
|
+
sig { returns(String) }
|
|
13
|
+
def object; end
|
|
14
|
+
|
|
15
|
+
sig { params(value: String).returns(String) }
|
|
16
|
+
def object=(value); end
|
|
17
|
+
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
def id; end
|
|
20
|
+
|
|
21
|
+
sig { params(value: String).returns(String) }
|
|
22
|
+
def id=(value); end
|
|
23
|
+
|
|
24
|
+
sig { returns(String) }
|
|
25
|
+
def value; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: String).returns(String) }
|
|
28
|
+
def value=(value); end
|
|
29
|
+
|
|
30
|
+
sig { returns(T.nilable(String)) }
|
|
31
|
+
def not_before; end
|
|
32
|
+
|
|
33
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
34
|
+
def not_before=(value); end
|
|
35
|
+
|
|
36
|
+
sig { returns(T.nilable(String)) }
|
|
37
|
+
def not_after; end
|
|
38
|
+
|
|
39
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
40
|
+
def not_after=(value); end
|
|
41
|
+
|
|
42
|
+
sig { returns(String) }
|
|
43
|
+
def created_at; end
|
|
44
|
+
|
|
45
|
+
sig { params(value: String).returns(String) }
|
|
46
|
+
def created_at=(value); end
|
|
47
|
+
|
|
48
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
49
|
+
def to_h; end
|
|
50
|
+
|
|
51
|
+
sig { params(args: T.untyped).returns(String) }
|
|
52
|
+
def to_json(*args); end
|
|
53
|
+
end
|
|
54
|
+
end
|
data/rbi/workos/sso.rbi
CHANGED
|
@@ -6,6 +6,54 @@
|
|
|
6
6
|
|
|
7
7
|
module WorkOS
|
|
8
8
|
class SSO
|
|
9
|
+
class CreateProtocolOptionsSAML
|
|
10
|
+
sig { returns(WorkOS::CreateConnectionSAMLOptions) }
|
|
11
|
+
def saml_options; end
|
|
12
|
+
|
|
13
|
+
sig do
|
|
14
|
+
params(
|
|
15
|
+
saml_options: WorkOS::CreateConnectionSAMLOptions
|
|
16
|
+
).returns(WorkOS::SSO::CreateProtocolOptionsSAML)
|
|
17
|
+
end
|
|
18
|
+
def self.new(saml_options:); end
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
class CreateProtocolOptionsOIDC
|
|
22
|
+
sig { returns(WorkOS::CreateConnectionOIDCOptions) }
|
|
23
|
+
def oidc_options; end
|
|
24
|
+
|
|
25
|
+
sig do
|
|
26
|
+
params(
|
|
27
|
+
oidc_options: WorkOS::CreateConnectionOIDCOptions
|
|
28
|
+
).returns(WorkOS::SSO::CreateProtocolOptionsOIDC)
|
|
29
|
+
end
|
|
30
|
+
def self.new(oidc_options:); end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
class PatchProtocolOptionsSAML
|
|
34
|
+
sig { returns(WorkOS::PatchConnectionSAMLOptions) }
|
|
35
|
+
def saml_options; end
|
|
36
|
+
|
|
37
|
+
sig do
|
|
38
|
+
params(
|
|
39
|
+
saml_options: WorkOS::PatchConnectionSAMLOptions
|
|
40
|
+
).returns(WorkOS::SSO::PatchProtocolOptionsSAML)
|
|
41
|
+
end
|
|
42
|
+
def self.new(saml_options:); end
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
class PatchProtocolOptionsOIDC
|
|
46
|
+
sig { returns(WorkOS::PatchConnectionOIDCOptions) }
|
|
47
|
+
def oidc_options; end
|
|
48
|
+
|
|
49
|
+
sig do
|
|
50
|
+
params(
|
|
51
|
+
oidc_options: WorkOS::PatchConnectionOIDCOptions
|
|
52
|
+
).returns(WorkOS::SSO::PatchProtocolOptionsOIDC)
|
|
53
|
+
end
|
|
54
|
+
def self.new(oidc_options:); end
|
|
55
|
+
end
|
|
56
|
+
|
|
9
57
|
sig { params(client: WorkOS::BaseClient).void }
|
|
10
58
|
def initialize(client); end
|
|
11
59
|
|
|
@@ -24,6 +72,95 @@ module WorkOS
|
|
|
24
72
|
end
|
|
25
73
|
def list_connections(before:, after:, limit:, order:, connection_type:, domain:, organization_id:, search:, request_options:); end
|
|
26
74
|
|
|
75
|
+
sig do
|
|
76
|
+
params(
|
|
77
|
+
organization_id: String,
|
|
78
|
+
protocol_options: T.any(WorkOS::SSO::CreateProtocolOptionsSAML, WorkOS::SSO::CreateProtocolOptionsOIDC),
|
|
79
|
+
name: T.nilable(String),
|
|
80
|
+
external_id: T.nilable(String),
|
|
81
|
+
connection_type: T.nilable(String),
|
|
82
|
+
attribute_maps: T.nilable(WorkOS::CreateConnectionAttributeMaps),
|
|
83
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
84
|
+
).returns(WorkOS::Connection)
|
|
85
|
+
end
|
|
86
|
+
def create_connection(organization_id:, protocol_options:, name:, external_id:, connection_type:, attribute_maps:, request_options:); end
|
|
87
|
+
|
|
88
|
+
sig do
|
|
89
|
+
params(
|
|
90
|
+
connection_id: String,
|
|
91
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
92
|
+
).returns(WorkOS::SAMLIdpSigningCertificateList)
|
|
93
|
+
end
|
|
94
|
+
def list_connection_saml_idp_signing_certs(connection_id:, request_options:); end
|
|
95
|
+
|
|
96
|
+
sig do
|
|
97
|
+
params(
|
|
98
|
+
connection_id: String,
|
|
99
|
+
value: String,
|
|
100
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
101
|
+
).returns(WorkOS::SAMLIdpSigningCertificate)
|
|
102
|
+
end
|
|
103
|
+
def create_connection_saml_idp_signing_cert(connection_id:, value:, request_options:); end
|
|
104
|
+
|
|
105
|
+
sig do
|
|
106
|
+
params(
|
|
107
|
+
connection_id: String,
|
|
108
|
+
certificate_id: String,
|
|
109
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
110
|
+
).returns(NilClass)
|
|
111
|
+
end
|
|
112
|
+
def delete_connection_saml_idp_signing_cert(connection_id:, certificate_id:, request_options:); end
|
|
113
|
+
|
|
114
|
+
sig do
|
|
115
|
+
params(
|
|
116
|
+
connection_id: String,
|
|
117
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
118
|
+
).returns(WorkOS::SAMLSpEncryptionCertificateList)
|
|
119
|
+
end
|
|
120
|
+
def list_connection_saml_sp_encryption_certs(connection_id:, request_options:); end
|
|
121
|
+
|
|
122
|
+
sig do
|
|
123
|
+
params(
|
|
124
|
+
connection_id: String,
|
|
125
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
126
|
+
).returns(WorkOS::SAMLSpEncryptionCertificate)
|
|
127
|
+
end
|
|
128
|
+
def create_connection_saml_sp_encryption_cert(connection_id:, request_options:); end
|
|
129
|
+
|
|
130
|
+
sig do
|
|
131
|
+
params(
|
|
132
|
+
connection_id: String,
|
|
133
|
+
certificate_id: String,
|
|
134
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
135
|
+
).returns(NilClass)
|
|
136
|
+
end
|
|
137
|
+
def delete_connection_saml_sp_encryption_cert(connection_id:, certificate_id:, request_options:); end
|
|
138
|
+
|
|
139
|
+
sig do
|
|
140
|
+
params(
|
|
141
|
+
connection_id: String,
|
|
142
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
143
|
+
).returns(WorkOS::SAMLSpSigningCertificate)
|
|
144
|
+
end
|
|
145
|
+
def list_connection_saml_sp_signing_cert(connection_id:, request_options:); end
|
|
146
|
+
|
|
147
|
+
sig do
|
|
148
|
+
params(
|
|
149
|
+
connection_id: String,
|
|
150
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
151
|
+
).returns(WorkOS::SAMLSpSigningCertificate)
|
|
152
|
+
end
|
|
153
|
+
def create_connection_saml_sp_signing_cert(connection_id:, request_options:); end
|
|
154
|
+
|
|
155
|
+
sig do
|
|
156
|
+
params(
|
|
157
|
+
connection_id: String,
|
|
158
|
+
certificate_id: String,
|
|
159
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
160
|
+
).returns(NilClass)
|
|
161
|
+
end
|
|
162
|
+
def delete_connection_saml_sp_signing_cert(connection_id:, certificate_id:, request_options:); end
|
|
163
|
+
|
|
27
164
|
sig do
|
|
28
165
|
params(
|
|
29
166
|
id: String,
|
|
@@ -32,6 +169,19 @@ module WorkOS
|
|
|
32
169
|
end
|
|
33
170
|
def get_connection(id:, request_options:); end
|
|
34
171
|
|
|
172
|
+
sig do
|
|
173
|
+
params(
|
|
174
|
+
id: String,
|
|
175
|
+
name: T.nilable(String),
|
|
176
|
+
external_id: T.nilable(String),
|
|
177
|
+
connection_type: T.nilable(String),
|
|
178
|
+
attribute_maps: T.nilable(WorkOS::PatchConnectionAttributeMaps),
|
|
179
|
+
protocol_options: T.nilable(T.any(WorkOS::SSO::PatchProtocolOptionsSAML, WorkOS::SSO::PatchProtocolOptionsOIDC)),
|
|
180
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
181
|
+
).returns(WorkOS::Connection)
|
|
182
|
+
end
|
|
183
|
+
def update_connection(id:, name:, external_id:, connection_type:, attribute_maps:, protocol_options:, request_options:); end
|
|
184
|
+
|
|
35
185
|
sig do
|
|
36
186
|
params(
|
|
37
187
|
id: String,
|
|
@@ -83,11 +233,14 @@ module WorkOS
|
|
|
83
233
|
|
|
84
234
|
sig do
|
|
85
235
|
params(
|
|
86
|
-
code: String,
|
|
236
|
+
code: T.nilable(String),
|
|
237
|
+
subject_token: T.nilable(String),
|
|
238
|
+
subject_token_type: T.nilable(String),
|
|
239
|
+
organization_id: T.nilable(String),
|
|
87
240
|
request_options: T::Hash[Symbol, T.untyped]
|
|
88
241
|
).returns(WorkOS::SSOTokenResponse)
|
|
89
242
|
end
|
|
90
|
-
def get_profile_and_token(code:, request_options:); end
|
|
243
|
+
def get_profile_and_token(code:, subject_token:, subject_token_type:, organization_id:, request_options:); end
|
|
91
244
|
|
|
92
245
|
end
|
|
93
246
|
end
|
data/rbi/workos/team.rbi
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
# typed: strong
|
|
6
|
+
|
|
7
|
+
module WorkOS
|
|
8
|
+
class Team
|
|
9
|
+
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
|
+
def initialize(json); end
|
|
11
|
+
|
|
12
|
+
sig { returns(String) }
|
|
13
|
+
def object; end
|
|
14
|
+
|
|
15
|
+
sig { params(value: String).returns(String) }
|
|
16
|
+
def object=(value); end
|
|
17
|
+
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
def id; end
|
|
20
|
+
|
|
21
|
+
sig { params(value: String).returns(String) }
|
|
22
|
+
def id=(value); end
|
|
23
|
+
|
|
24
|
+
sig { returns(String) }
|
|
25
|
+
def name; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: String).returns(String) }
|
|
28
|
+
def name=(value); end
|
|
29
|
+
|
|
30
|
+
sig { returns(String) }
|
|
31
|
+
def production_state; end
|
|
32
|
+
|
|
33
|
+
sig { params(value: String).returns(String) }
|
|
34
|
+
def production_state=(value); end
|
|
35
|
+
|
|
36
|
+
sig { returns(T.nilable(String)) }
|
|
37
|
+
def production_enabled_at; end
|
|
38
|
+
|
|
39
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
40
|
+
def production_enabled_at=(value); end
|
|
41
|
+
|
|
42
|
+
sig { returns(String) }
|
|
43
|
+
def created_at; end
|
|
44
|
+
|
|
45
|
+
sig { params(value: String).returns(String) }
|
|
46
|
+
def created_at=(value); end
|
|
47
|
+
|
|
48
|
+
sig { returns(String) }
|
|
49
|
+
def updated_at; end
|
|
50
|
+
|
|
51
|
+
sig { params(value: String).returns(String) }
|
|
52
|
+
def updated_at=(value); end
|
|
53
|
+
|
|
54
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
55
|
+
def to_h; end
|
|
56
|
+
|
|
57
|
+
sig { params(args: T.untyped).returns(String) }
|
|
58
|
+
def to_json(*args); end
|
|
59
|
+
end
|
|
60
|
+
end
|
data/rbi/workos/token_query.rbi
CHANGED
|
@@ -21,10 +21,10 @@ module WorkOS
|
|
|
21
21
|
sig { params(value: String).returns(String) }
|
|
22
22
|
def client_secret=(value); end
|
|
23
23
|
|
|
24
|
-
sig { returns(String) }
|
|
24
|
+
sig { returns(T.nilable(String)) }
|
|
25
25
|
def code; end
|
|
26
26
|
|
|
27
|
-
sig { params(value: String).returns(String) }
|
|
27
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
28
28
|
def code=(value); end
|
|
29
29
|
|
|
30
30
|
sig { returns(String) }
|
|
@@ -33,6 +33,24 @@ module WorkOS
|
|
|
33
33
|
sig { params(value: String).returns(String) }
|
|
34
34
|
def grant_type=(value); end
|
|
35
35
|
|
|
36
|
+
sig { returns(T.nilable(String)) }
|
|
37
|
+
def subject_token; end
|
|
38
|
+
|
|
39
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
40
|
+
def subject_token=(value); end
|
|
41
|
+
|
|
42
|
+
sig { returns(T.nilable(String)) }
|
|
43
|
+
def subject_token_type; end
|
|
44
|
+
|
|
45
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
46
|
+
def subject_token_type=(value); end
|
|
47
|
+
|
|
48
|
+
sig { returns(T.nilable(String)) }
|
|
49
|
+
def organization_id; end
|
|
50
|
+
|
|
51
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
52
|
+
def organization_id=(value); end
|
|
53
|
+
|
|
36
54
|
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
37
55
|
def to_h; end
|
|
38
56
|
|
|
@@ -9,10 +9,16 @@ module WorkOS
|
|
|
9
9
|
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
10
|
def initialize(json); end
|
|
11
11
|
|
|
12
|
-
sig { returns(
|
|
12
|
+
sig { returns(T.nilable(String)) }
|
|
13
|
+
def retention_period; end
|
|
14
|
+
|
|
15
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
16
|
+
def retention_period=(value); end
|
|
17
|
+
|
|
18
|
+
sig { returns(T.nilable(Integer)) }
|
|
13
19
|
def retention_period_in_days; end
|
|
14
20
|
|
|
15
|
-
sig { params(value: Integer).returns(Integer) }
|
|
21
|
+
sig { params(value: T.nilable(Integer)).returns(T.nilable(Integer)) }
|
|
16
22
|
def retention_period_in_days=(value); end
|
|
17
23
|
|
|
18
24
|
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
@@ -132,6 +132,34 @@ module WorkOS
|
|
|
132
132
|
end
|
|
133
133
|
def revoke_session(session_id:, request_options:); end
|
|
134
134
|
|
|
135
|
+
sig do
|
|
136
|
+
params(
|
|
137
|
+
before: T.nilable(String),
|
|
138
|
+
after: T.nilable(String),
|
|
139
|
+
limit: T.nilable(Integer),
|
|
140
|
+
order: T.nilable(String),
|
|
141
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
142
|
+
).returns(T::Array[WorkOS::AuthkitOAuthResource])
|
|
143
|
+
end
|
|
144
|
+
def list_authkit_oauth_resources(before:, after:, limit:, order:, request_options:); end
|
|
145
|
+
|
|
146
|
+
sig do
|
|
147
|
+
params(
|
|
148
|
+
uri: String,
|
|
149
|
+
default: T.nilable(T::Boolean),
|
|
150
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
151
|
+
).returns(WorkOS::AuthkitOAuthResource)
|
|
152
|
+
end
|
|
153
|
+
def create_authkit_oauth_resource(uri:, default:, request_options:); end
|
|
154
|
+
|
|
155
|
+
sig do
|
|
156
|
+
params(
|
|
157
|
+
id: String,
|
|
158
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
159
|
+
).returns(NilClass)
|
|
160
|
+
end
|
|
161
|
+
def delete_authkit_oauth_resource(id:, request_options:); end
|
|
162
|
+
|
|
135
163
|
sig do
|
|
136
164
|
params(
|
|
137
165
|
before: T.nilable(String),
|
|
@@ -463,6 +491,70 @@ module WorkOS
|
|
|
463
491
|
end
|
|
464
492
|
def delete_user_authorized_application(application_id:, user_id:, request_options:); end
|
|
465
493
|
|
|
494
|
+
sig do
|
|
495
|
+
params(
|
|
496
|
+
id: String,
|
|
497
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
498
|
+
).returns(NilClass)
|
|
499
|
+
end
|
|
500
|
+
def delete_waitlist_entry(id:, request_options:); end
|
|
501
|
+
|
|
502
|
+
sig do
|
|
503
|
+
params(
|
|
504
|
+
id: String,
|
|
505
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
506
|
+
).returns(WorkOS::WaitlistEntry)
|
|
507
|
+
end
|
|
508
|
+
def create_waitlist_entry_approve(id:, request_options:); end
|
|
509
|
+
|
|
510
|
+
sig do
|
|
511
|
+
params(
|
|
512
|
+
id: String,
|
|
513
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
514
|
+
).returns(WorkOS::WaitlistEntry)
|
|
515
|
+
end
|
|
516
|
+
def create_waitlist_entry_deny(id:, request_options:); end
|
|
517
|
+
|
|
518
|
+
sig do
|
|
519
|
+
params(
|
|
520
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
521
|
+
).returns(T::Array[WorkOS::Waitlist])
|
|
522
|
+
end
|
|
523
|
+
def list_waitlists(request_options:); end
|
|
524
|
+
|
|
525
|
+
sig do
|
|
526
|
+
params(
|
|
527
|
+
id: String,
|
|
528
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
529
|
+
).returns(WorkOS::Waitlist)
|
|
530
|
+
end
|
|
531
|
+
def get_waitlist(id:, request_options:); end
|
|
532
|
+
|
|
533
|
+
sig do
|
|
534
|
+
params(
|
|
535
|
+
id: String,
|
|
536
|
+
before: T.nilable(String),
|
|
537
|
+
after: T.nilable(String),
|
|
538
|
+
limit: T.nilable(Integer),
|
|
539
|
+
order: T.nilable(String),
|
|
540
|
+
state: T.nilable(String),
|
|
541
|
+
email: T.nilable(String),
|
|
542
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
543
|
+
).returns(T::Array[WorkOS::WaitlistEntry])
|
|
544
|
+
end
|
|
545
|
+
def list_waitlist_entries(id:, before:, after:, limit:, order:, state:, email:, request_options:); end
|
|
546
|
+
|
|
547
|
+
sig do
|
|
548
|
+
params(
|
|
549
|
+
id: String,
|
|
550
|
+
email: String,
|
|
551
|
+
additional_fields: T.nilable(T::Hash[String, String]),
|
|
552
|
+
send_confirmation_email: T.nilable(T::Boolean),
|
|
553
|
+
request_options: T::Hash[Symbol, T.untyped]
|
|
554
|
+
).returns(WorkOS::WaitlistEntry)
|
|
555
|
+
end
|
|
556
|
+
def create_waitlist_entry(id:, email:, additional_fields:, send_confirmation_email:, request_options:); end
|
|
557
|
+
|
|
466
558
|
sig do
|
|
467
559
|
params(
|
|
468
560
|
user_id: String,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
# typed: strong
|
|
6
|
+
|
|
7
|
+
module WorkOS
|
|
8
|
+
class Waitlist
|
|
9
|
+
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
|
+
def initialize(json); end
|
|
11
|
+
|
|
12
|
+
sig { returns(String) }
|
|
13
|
+
def object; end
|
|
14
|
+
|
|
15
|
+
sig { params(value: String).returns(String) }
|
|
16
|
+
def object=(value); end
|
|
17
|
+
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
def id; end
|
|
20
|
+
|
|
21
|
+
sig { params(value: String).returns(String) }
|
|
22
|
+
def id=(value); end
|
|
23
|
+
|
|
24
|
+
sig { returns(String) }
|
|
25
|
+
def created_at; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: String).returns(String) }
|
|
28
|
+
def created_at=(value); end
|
|
29
|
+
|
|
30
|
+
sig { returns(String) }
|
|
31
|
+
def updated_at; end
|
|
32
|
+
|
|
33
|
+
sig { params(value: String).returns(String) }
|
|
34
|
+
def updated_at=(value); end
|
|
35
|
+
|
|
36
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
37
|
+
def to_h; end
|
|
38
|
+
|
|
39
|
+
sig { params(args: T.untyped).returns(String) }
|
|
40
|
+
def to_json(*args); end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# This file is auto-generated by oagen. Do not edit.
|
|
4
|
+
|
|
5
|
+
# typed: strong
|
|
6
|
+
|
|
7
|
+
module WorkOS
|
|
8
|
+
class WaitlistEntry
|
|
9
|
+
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
|
+
def initialize(json); end
|
|
11
|
+
|
|
12
|
+
sig { returns(String) }
|
|
13
|
+
def id; end
|
|
14
|
+
|
|
15
|
+
sig { params(value: String).returns(String) }
|
|
16
|
+
def id=(value); end
|
|
17
|
+
|
|
18
|
+
sig { returns(String) }
|
|
19
|
+
def email; end
|
|
20
|
+
|
|
21
|
+
sig { params(value: String).returns(String) }
|
|
22
|
+
def email=(value); end
|
|
23
|
+
|
|
24
|
+
sig { returns(String) }
|
|
25
|
+
def state; end
|
|
26
|
+
|
|
27
|
+
sig { params(value: String).returns(String) }
|
|
28
|
+
def state=(value); end
|
|
29
|
+
|
|
30
|
+
sig { returns(T.nilable(String)) }
|
|
31
|
+
def approved_at; end
|
|
32
|
+
|
|
33
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
34
|
+
def approved_at=(value); end
|
|
35
|
+
|
|
36
|
+
sig { returns(T.nilable(T::Hash[String, String])) }
|
|
37
|
+
def additional_fields; end
|
|
38
|
+
|
|
39
|
+
sig { params(value: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String])) }
|
|
40
|
+
def additional_fields=(value); end
|
|
41
|
+
|
|
42
|
+
sig { returns(T.nilable(String)) }
|
|
43
|
+
def waitlist_id; end
|
|
44
|
+
|
|
45
|
+
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
46
|
+
def waitlist_id=(value); end
|
|
47
|
+
|
|
48
|
+
sig { returns(String) }
|
|
49
|
+
def created_at; end
|
|
50
|
+
|
|
51
|
+
sig { params(value: String).returns(String) }
|
|
52
|
+
def created_at=(value); end
|
|
53
|
+
|
|
54
|
+
sig { returns(String) }
|
|
55
|
+
def updated_at; end
|
|
56
|
+
|
|
57
|
+
sig { params(value: String).returns(String) }
|
|
58
|
+
def updated_at=(value); end
|
|
59
|
+
|
|
60
|
+
sig { returns(String) }
|
|
61
|
+
def object; end
|
|
62
|
+
|
|
63
|
+
sig { params(value: String).returns(String) }
|
|
64
|
+
def object=(value); end
|
|
65
|
+
|
|
66
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
67
|
+
def to_h; end
|
|
68
|
+
|
|
69
|
+
sig { params(args: T.untyped).returns(String) }
|
|
70
|
+
def to_json(*args); end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
@@ -9,12 +9,6 @@ module WorkOS
|
|
|
9
9
|
sig { params(json: T.any(String, T::Hash[Symbol, T.untyped])).void }
|
|
10
10
|
def initialize(json); end
|
|
11
11
|
|
|
12
|
-
sig { returns(String) }
|
|
13
|
-
def object; end
|
|
14
|
-
|
|
15
|
-
sig { params(value: String).returns(String) }
|
|
16
|
-
def object=(value); end
|
|
17
|
-
|
|
18
12
|
sig { returns(String) }
|
|
19
13
|
def id; end
|
|
20
14
|
|
|
@@ -39,6 +33,12 @@ module WorkOS
|
|
|
39
33
|
sig { params(value: T.nilable(String)).returns(T.nilable(String)) }
|
|
40
34
|
def approved_at=(value); end
|
|
41
35
|
|
|
36
|
+
sig { returns(T.nilable(T::Hash[String, String])) }
|
|
37
|
+
def additional_fields; end
|
|
38
|
+
|
|
39
|
+
sig { params(value: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String])) }
|
|
40
|
+
def additional_fields=(value); end
|
|
41
|
+
|
|
42
42
|
sig { returns(T.nilable(String)) }
|
|
43
43
|
def waitlist_id; end
|
|
44
44
|
|
|
@@ -57,6 +57,12 @@ module WorkOS
|
|
|
57
57
|
sig { params(value: String).returns(String) }
|
|
58
58
|
def updated_at=(value); end
|
|
59
59
|
|
|
60
|
+
sig { returns(String) }
|
|
61
|
+
def object; end
|
|
62
|
+
|
|
63
|
+
sig { params(value: String).returns(String) }
|
|
64
|
+
def object=(value); end
|
|
65
|
+
|
|
60
66
|
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
61
67
|
def to_h; end
|
|
62
68
|
|