clerk-sdk-ruby 6.0.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/clerk/actortokens.rb +10 -10
- data/lib/clerk/admin_portal_link_tokens.rb +10 -10
- data/lib/clerk/agenttasks.rb +10 -10
- data/lib/clerk/allowlistidentifiers.rb +15 -15
- data/lib/clerk/api_keys.rb +40 -40
- data/lib/clerk/betafeatures.rb +10 -10
- data/lib/clerk/billing.rb +52 -52
- data/lib/clerk/blocklistidentifiers.rb +15 -15
- data/lib/clerk/clients.rb +15 -15
- data/lib/clerk/domains.rb +20 -20
- data/lib/clerk/emailaddresses.rb +43 -36
- data/lib/clerk/emailandsmstemplates.rb +6 -6
- data/lib/clerk/emailsmstemplates.rb +21 -21
- data/lib/clerk/enterpriseconnections.rb +35 -35
- data/lib/clerk/instancesettings.rb +60 -60
- data/lib/clerk/invitations.rb +20 -20
- data/lib/clerk/jwks.rb +5 -5
- data/lib/clerk/jwttemplates.rb +25 -25
- data/lib/clerk/m2m.rb +20 -20
- data/lib/clerk/machines.rb +45 -45
- data/lib/clerk/miscellaneous.rb +5 -5
- data/lib/clerk/models/components/algorithm.rb +19 -0
- data/lib/clerk/models/components/{clerkerror_meta.rbi → algorithm.rbi} +2 -2
- data/lib/clerk/models/components/billingpaymentattempt_totals.rb +1 -1
- data/lib/clerk/models/components/clerkerror.rb +1 -1
- data/lib/clerk/models/components/commercecreditledgerresponse.rb +3 -7
- data/lib/clerk/models/components/commercecreditledgerresponse.rbi +0 -2
- data/lib/clerk/models/components/{schemas_commerceperunittotal.rb → commerceperunittotal_2.rb} +2 -2
- data/lib/clerk/models/components/{schemas_commerceperunittotal.rbi → commerceperunittotal_2.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commerceperunittotaltier.rb → commerceperunittotaltier_2.rb} +1 -1
- data/lib/clerk/models/components/{schemas_commerceperunittotaltier.rbi → commerceperunittotaltier_2.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commerceplan.rb → commerceplan_2.rb} +6 -6
- data/lib/clerk/models/components/{schemas_commerceplan.rbi → commerceplan_2.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commerceplan_fee.rb → commerceplan_2_annual_fee.rb} +1 -1
- data/lib/clerk/models/components/{schemas_commerceplan_fee.rbi → commerceplan_2_annual_fee.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_fee.rb → commerceplan_2_annual_monthly_fee.rb} +1 -1
- data/lib/clerk/models/components/{schemas_commerceplan_annual_monthly_fee.rbi → commerceplan_2_annual_monthly_fee.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commerceplan_annual_fee.rb → commerceplan_2_fee.rb} +1 -1
- data/lib/clerk/models/components/{schemas_commerceplan_annual_fee.rbi → commerceplan_2_fee.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commerceplan_object.rb → commerceplan_2_object.rb} +2 -2
- data/lib/clerk/models/components/{clerkerrors_meta.rbi → commerceplan_2_object.rbi} +2 -2
- data/lib/clerk/models/components/commercepricetransitiondetails.rb +1 -1
- data/lib/clerk/models/components/commercepricetransitionresponse.rb +1 -1
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem.rb → commercesubscriptionitem_2.rb} +7 -7
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem.rbi → commercesubscriptionitem_2.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_amount.rb → commercesubscriptionitem_2_amount.rb} +1 -1
- data/lib/clerk/models/components/commercesubscriptionitem_2_amount.rbi +19 -0
- data/lib/clerk/models/components/{schemas_commerceplan_annual_monthly_fee.rb → commercesubscriptionitem_2_annual_fee.rb} +1 -1
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_fee.rbi → commercesubscriptionitem_2_annual_fee.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_annual_fee.rb → commercesubscriptionitem_2_annual_monthly_fee.rb} +1 -1
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_amount.rbi → commercesubscriptionitem_2_annual_monthly_fee.rbi} +2 -2
- data/lib/clerk/models/components/commercesubscriptionitem_2_fee.rb +44 -0
- data/lib/clerk/models/components/commercesubscriptionitem_2_fee.rbi +19 -0
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment.rb → commercesubscriptionitem_2_next_payment.rb} +3 -3
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment.rbi → commercesubscriptionitem_2_next_payment.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment_amount.rb → commercesubscriptionitem_2_next_payment_amount.rb} +1 -1
- data/lib/clerk/models/components/commercesubscriptionitem_2_next_payment_amount.rbi +19 -0
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment_credits.rb → commercesubscriptionitem_2_next_payment_credits.rb} +3 -3
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment_credits.rbi → commercesubscriptionitem_2_next_payment_credits.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment_credits_proration.rb → commercesubscriptionitem_2_next_payment_credits_proration.rb} +1 -1
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment_credits_proration.rbi → commercesubscriptionitem_2_next_payment_credits_proration.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment_discounts.rb → commercesubscriptionitem_2_next_payment_discounts.rb} +2 -2
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment_discounts.rbi → commercesubscriptionitem_2_next_payment_discounts.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment_discounts_proration.rb → commercesubscriptionitem_2_next_payment_discounts_proration.rb} +1 -1
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment_discounts_proration.rbi → commercesubscriptionitem_2_next_payment_discounts_proration.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment_payer.rb → commercesubscriptionitem_2_next_payment_payer.rb} +1 -1
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment_payer.rbi → commercesubscriptionitem_2_next_payment_payer.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment_totals.rb → commercesubscriptionitem_2_next_payment_totals.rb} +3 -3
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_next_payment_totals.rbi → commercesubscriptionitem_2_next_payment_totals.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_object_commercepayer.rb → commercesubscriptionitem_2_object_commercepayer.rb} +2 -2
- data/lib/clerk/models/components/commercesubscriptionitem_2_object_commercepayer.rbi +11 -0
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_object_commerceplan.rb → commercesubscriptionitem_2_object_commerceplan.rb} +2 -2
- data/lib/clerk/models/components/commercesubscriptionitem_2_object_commerceplan.rbi +11 -0
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_object_commercesubscriptionitem.rb → commercesubscriptionitem_2_object_commercesubscriptionitem.rb} +2 -2
- data/lib/clerk/models/components/commercesubscriptionitem_2_object_commercesubscriptionitem.rbi +11 -0
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_plan.rb → commercesubscriptionitem_2_plan.rb} +6 -6
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_plan.rbi → commercesubscriptionitem_2_plan.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_plan_period.rb → commercesubscriptionitem_2_plan_period.rb} +2 -2
- data/lib/clerk/models/components/commercesubscriptionitem_2_plan_period.rbi +11 -0
- data/lib/clerk/models/components/{schemas_commercesubscriptionitem_status.rb → commercesubscriptionitem_2_status.rb} +2 -2
- data/lib/clerk/models/components/commercesubscriptionitem_2_status.rbi +11 -0
- data/lib/clerk/models/components/commercesubscriptionitem_totals.rb +1 -1
- data/lib/clerk/models/components/commercesubscriptionnextpayment.rb +1 -1
- data/lib/clerk/models/components/commercesubscriptionnextpayment_totals.rb +1 -1
- data/lib/clerk/models/components/emailaddress_verification_saml_clerkerror.rb +1 -1
- data/lib/clerk/models/components/enrollment_mode.rb +1 -0
- data/lib/clerk/models/components/enterpriseaccount_verification_oauth_clerkerror.rb +1 -1
- data/lib/clerk/models/components/enterpriseaccount_verification_saml_clerkerror.rb +1 -1
- data/lib/clerk/models/components/enterpriseconnection.rb +6 -2
- data/lib/clerk/models/components/enterpriseconnection.rbi +2 -0
- data/lib/clerk/models/components/{custom_attribute.rb → enterpriseconnection_custom_attribute.rb} +1 -1
- data/lib/clerk/models/components/enterpriseconnection_custom_attribute.rbi +21 -0
- data/lib/clerk/models/components/enterpriseconnection_mode.rb +21 -0
- data/lib/clerk/models/components/enterpriseconnection_mode.rbi +11 -0
- data/lib/clerk/models/components/enterpriseconnection_object.rb +19 -0
- data/lib/clerk/models/components/enterpriseconnection_object.rbi +11 -0
- data/lib/clerk/models/components/enterpriseconnection_saml_connection.rb +5 -1
- data/lib/clerk/models/components/enterpriseconnection_saml_connection.rbi +2 -0
- data/lib/clerk/models/components/externalaccountwithverification_verification_oauth_clerkerror.rb +1 -1
- data/lib/clerk/models/components/{schemas_featureresponse.rb → featureresponse_2.rb} +2 -2
- data/lib/clerk/models/components/{schemas_featureresponse.rbi → featureresponse_2.rbi} +2 -2
- data/lib/clerk/models/components/{schemas_featureresponse_object.rb → featureresponse_2_object.rb} +2 -2
- data/lib/clerk/models/components/featureresponse_2_object.rbi +11 -0
- data/lib/clerk/models/components/instanceprotect.rb +5 -1
- data/lib/clerk/models/components/instanceprotect.rbi +2 -0
- data/lib/clerk/models/components/instancesettings.rb +4 -1
- data/lib/clerk/models/components/login_hint.rb +36 -0
- data/lib/clerk/models/components/login_hint.rbi +15 -0
- data/lib/clerk/models/components/oauthapplicationsettings.rb +17 -1
- data/lib/clerk/models/components/oauthapplicationsettings.rbi +8 -0
- data/lib/clerk/models/components/organizationmembershippublicuserdata.rb +5 -1
- data/lib/clerk/models/components/organizationmembershippublicuserdata.rbi +2 -0
- data/lib/clerk/models/components/payer_commercepayer.rb +1 -1
- data/lib/clerk/models/components/payment_type.rb +1 -0
- data/lib/clerk/models/components/platform.rb +20 -0
- data/lib/clerk/models/components/{samlaccount_meta.rbi → platform.rbi} +2 -2
- data/lib/clerk/models/components/samlaccount_clerkerror.rb +1 -1
- data/lib/clerk/models/components/samlconnection_1.rb +15 -1
- data/lib/clerk/models/components/samlconnection_1.rbi +6 -0
- data/lib/clerk/models/components/samlconnection_2.rb +15 -1
- data/lib/clerk/models/components/samlconnection_2.rbi +6 -0
- data/lib/clerk/models/components/samlconnectionloginhint.rb +36 -0
- data/lib/clerk/models/components/samlconnectionloginhint.rbi +15 -0
- data/lib/clerk/models/components/samlconnectionloginhint_mode.rb +21 -0
- data/lib/clerk/models/components/samlconnectionloginhint_mode.rbi +11 -0
- data/lib/clerk/models/components/scimdirectory.rb +80 -0
- data/lib/clerk/models/components/scimdirectory.rbi +37 -0
- data/lib/clerk/models/components/scimdirectory_custom_attribute.rb +48 -0
- data/lib/clerk/models/components/{custom_attribute.rbi → scimdirectory_custom_attribute.rbi} +2 -2
- data/lib/clerk/models/components/scimdirectory_list.rb +36 -0
- data/lib/clerk/models/components/scimdirectory_list.rbi +15 -0
- data/lib/clerk/models/components/scimdirectory_object.rb +19 -0
- data/lib/clerk/models/components/scimdirectory_object.rbi +11 -0
- data/lib/clerk/models/components/scimgrouprolemapping.rb +64 -0
- data/lib/clerk/models/components/scimgrouprolemapping.rbi +29 -0
- data/lib/clerk/models/components/scimgrouprolemapping_deleted.rb +43 -0
- data/lib/clerk/models/components/scimgrouprolemapping_deleted.rbi +17 -0
- data/lib/clerk/models/components/scimgrouprolemapping_deleted_object.rb +19 -0
- data/lib/clerk/models/components/scimgrouprolemapping_deleted_object.rbi +11 -0
- data/lib/clerk/models/components/scimgrouprolemapping_list.rb +36 -0
- data/lib/clerk/models/components/scimgrouprolemapping_list.rbi +15 -0
- data/lib/clerk/models/components/scimgrouprolemapping_object.rb +19 -0
- data/lib/clerk/models/components/scimgrouprolemapping_object.rbi +11 -0
- data/lib/clerk/models/components/seats.rb +1 -1
- data/lib/clerk/models/components/trusteddevice.rb +72 -0
- data/lib/clerk/models/components/trusteddevice.rbi +33 -0
- data/lib/clerk/models/components/trusteddevice_list.rb +36 -0
- data/lib/clerk/models/components/trusteddevice_list.rbi +15 -0
- data/lib/clerk/models/components/trusteddevice_object.rb +19 -0
- data/lib/clerk/models/components/trusteddevice_object.rbi +11 -0
- data/lib/clerk/models/components/trusteddevice_status.rb +20 -0
- data/lib/clerk/models/components/trusteddevice_status.rbi +11 -0
- data/lib/clerk/models/components/verification_from_oauth_clerkerror.rb +1 -1
- data/lib/clerk/models/components/verification_google_one_tap_clerkerror.rb +1 -1
- data/lib/clerk/models/components.rb +49 -38
- data/lib/clerk/models/errors/clerkerrors.rb +1 -1
- data/lib/clerk/models/operations/createemailaddress_request.rb +7 -1
- data/lib/clerk/models/operations/createemailaddress_request.rbi +2 -0
- data/lib/clerk/models/operations/createenterpriseconnection_login_hint.rb +36 -0
- data/lib/clerk/models/operations/createenterpriseconnection_login_hint.rbi +15 -0
- data/lib/clerk/models/operations/createenterpriseconnection_mode.rb +21 -0
- data/lib/clerk/models/operations/createenterpriseconnection_mode.rbi +11 -0
- data/lib/clerk/models/operations/createenterpriseconnection_saml.rb +5 -1
- data/lib/clerk/models/operations/createenterpriseconnection_saml.rbi +2 -0
- data/lib/clerk/models/operations/createorganizationdomain_requestbody.rb +1 -1
- data/lib/clerk/models/operations/createsamlconnection_login_hint_1.rb +36 -0
- data/lib/clerk/models/operations/createsamlconnection_login_hint_1.rbi +15 -0
- data/lib/clerk/models/operations/createsamlconnection_login_hint_2.rb +36 -0
- data/lib/clerk/models/operations/createsamlconnection_login_hint_2.rbi +15 -0
- data/lib/clerk/models/operations/createsamlconnection_mode_1.rb +21 -0
- data/lib/clerk/models/operations/createsamlconnection_mode_1.rbi +11 -0
- data/lib/clerk/models/operations/createsamlconnection_mode_2.rb +21 -0
- data/lib/clerk/models/operations/createsamlconnection_mode_2.rbi +11 -0
- data/lib/clerk/models/operations/createsamlconnection_requestbody_1.rb +5 -1
- data/lib/clerk/models/operations/createsamlconnection_requestbody_1.rbi +2 -0
- data/lib/clerk/models/operations/createsamlconnection_requestbody_2.rb +5 -1
- data/lib/clerk/models/operations/createsamlconnection_requestbody_2.rbi +2 -0
- data/lib/clerk/models/operations/createscimdirectory_request.rb +44 -0
- data/lib/clerk/models/operations/createscimdirectory_request.rbi +19 -0
- data/lib/clerk/models/operations/createscimdirectory_response.rb +44 -0
- data/lib/clerk/models/operations/createscimdirectory_response.rbi +19 -0
- data/lib/clerk/models/operations/createscimgrouprolemapping_request.rb +36 -0
- data/lib/clerk/models/operations/createscimgrouprolemapping_request.rbi +15 -0
- data/lib/clerk/models/operations/createscimgrouprolemapping_requestbody.rb +42 -0
- data/lib/clerk/models/operations/createscimgrouprolemapping_requestbody.rbi +17 -0
- data/lib/clerk/models/operations/createscimgrouprolemapping_response.rb +44 -0
- data/lib/clerk/models/operations/createscimgrouprolemapping_response.rbi +19 -0
- data/lib/clerk/models/operations/createsignintoken_request.rb +6 -1
- data/lib/clerk/models/operations/createsignintoken_request.rbi +2 -0
- data/lib/clerk/models/operations/deletescimdirectory_request.rb +32 -0
- data/lib/clerk/models/operations/deletescimdirectory_request.rbi +13 -0
- data/lib/clerk/models/operations/deletescimdirectory_response.rb +44 -0
- data/lib/clerk/models/operations/deletescimdirectory_response.rbi +19 -0
- data/lib/clerk/models/operations/deletescimgrouprolemapping_request.rb +36 -0
- data/lib/clerk/models/operations/deletescimgrouprolemapping_request.rbi +15 -0
- data/lib/clerk/models/operations/deletescimgrouprolemapping_response.rb +44 -0
- data/lib/clerk/models/operations/deletescimgrouprolemapping_response.rbi +19 -0
- data/lib/clerk/models/operations/enrollment_mode.rb +5 -0
- data/lib/clerk/models/operations/extendbillingsubscriptionitemfreetrial_response.rb +4 -4
- data/lib/clerk/models/operations/extendbillingsubscriptionitemfreetrial_response.rbi +2 -2
- data/lib/clerk/models/operations/getscimdirectory_request.rb +32 -0
- data/lib/clerk/models/operations/getscimdirectory_request.rbi +13 -0
- data/lib/clerk/models/operations/getscimdirectory_response.rb +44 -0
- data/lib/clerk/models/operations/getscimdirectory_response.rbi +19 -0
- data/lib/clerk/models/operations/group_role_mapping.rb +44 -0
- data/lib/clerk/models/operations/group_role_mapping.rbi +19 -0
- data/lib/clerk/models/operations/listallorganizationdomains_request.rb +2 -1
- data/lib/clerk/models/operations/listorganizationdomains_request.rb +2 -1
- data/lib/clerk/models/operations/listscimdirectories_request.rb +39 -0
- data/lib/clerk/models/operations/listscimdirectories_request.rbi +15 -0
- data/lib/clerk/models/operations/listscimdirectories_response.rb +44 -0
- data/lib/clerk/models/operations/listscimdirectories_response.rbi +19 -0
- data/lib/clerk/models/operations/listscimgrouprolemappings_request.rb +32 -0
- data/lib/clerk/models/operations/listscimgrouprolemappings_request.rbi +13 -0
- data/lib/clerk/models/operations/listscimgrouprolemappings_response.rb +44 -0
- data/lib/clerk/models/operations/listscimgrouprolemappings_response.rbi +19 -0
- data/lib/clerk/models/operations/listusertrusteddevices_request.rb +32 -0
- data/lib/clerk/models/operations/listusertrusteddevices_request.rbi +13 -0
- data/lib/clerk/models/operations/listusertrusteddevices_response.rb +44 -0
- data/lib/clerk/models/operations/listusertrusteddevices_response.rbi +19 -0
- data/lib/clerk/models/operations/mapping.rb +36 -0
- data/lib/clerk/models/operations/mapping.rbi +15 -0
- data/lib/clerk/models/operations/removeuserpassword_request.rb +36 -0
- data/lib/clerk/models/operations/removeuserpassword_request.rbi +15 -0
- data/lib/clerk/models/operations/removeuserpassword_requestbody.rb +32 -0
- data/lib/clerk/models/operations/removeuserpassword_requestbody.rbi +13 -0
- data/lib/clerk/models/operations/removeuserpassword_response.rb +44 -0
- data/lib/clerk/models/operations/removeuserpassword_response.rbi +19 -0
- data/lib/clerk/models/operations/replaceorganizationmetadata_request.rb +36 -0
- data/lib/clerk/models/operations/replaceorganizationmetadata_request.rbi +15 -0
- data/lib/clerk/models/operations/replaceorganizationmetadata_requestbody.rb +38 -0
- data/lib/clerk/models/operations/replaceorganizationmetadata_requestbody.rbi +15 -0
- data/lib/clerk/models/operations/replaceorganizationmetadata_response.rb +44 -0
- data/lib/clerk/models/operations/replaceorganizationmetadata_response.rbi +19 -0
- data/lib/clerk/models/operations/replacescimgrouprolemappings_request.rb +36 -0
- data/lib/clerk/models/operations/replacescimgrouprolemappings_request.rbi +15 -0
- data/lib/clerk/models/operations/replacescimgrouprolemappings_requestbody.rb +32 -0
- data/lib/clerk/models/operations/replacescimgrouprolemappings_requestbody.rbi +13 -0
- data/lib/clerk/models/operations/replacescimgrouprolemappings_response.rb +44 -0
- data/lib/clerk/models/operations/replacescimgrouprolemappings_response.rbi +19 -0
- data/lib/clerk/models/operations/replaceuseremailaddress_identification_status.rb +10 -2
- data/lib/clerk/models/operations/replaceuseremailaddress_requestbody.rb +16 -3
- data/lib/clerk/models/operations/replaceuseremailaddress_requestbody.rbi +2 -0
- data/lib/clerk/models/operations/replaceuserphonenumber_identification_status.rb +10 -2
- data/lib/clerk/models/operations/replaceuserphonenumber_requestbody.rb +9 -2
- data/lib/clerk/models/operations/revokeoauthapplicationtoken_request.rb +36 -0
- data/lib/clerk/models/operations/revokeoauthapplicationtoken_request.rbi +15 -0
- data/lib/clerk/models/operations/revokeoauthapplicationtoken_requestbody.rb +32 -0
- data/lib/clerk/models/operations/revokeoauthapplicationtoken_requestbody.rbi +13 -0
- data/lib/clerk/models/operations/revokeoauthapplicationtoken_response.rb +40 -0
- data/lib/clerk/models/operations/revokeoauthapplicationtoken_response.rbi +17 -0
- data/lib/clerk/models/operations/revokeusertrusteddevice_request.rb +36 -0
- data/lib/clerk/models/operations/revokeusertrusteddevice_request.rbi +15 -0
- data/lib/clerk/models/operations/revokeusertrusteddevice_response.rb +44 -0
- data/lib/clerk/models/operations/revokeusertrusteddevice_response.rbi +19 -0
- data/lib/clerk/models/operations/rotatescimdirectoryapikey_request.rb +32 -0
- data/lib/clerk/models/operations/rotatescimdirectoryapikey_request.rbi +13 -0
- data/lib/clerk/models/operations/rotatescimdirectoryapikey_response.rb +44 -0
- data/lib/clerk/models/operations/rotatescimdirectoryapikey_response.rbi +19 -0
- data/lib/clerk/models/operations/updateemailaddress_requestbody.rb +7 -1
- data/lib/clerk/models/operations/updateemailaddress_requestbody.rbi +2 -0
- data/lib/clerk/models/operations/updateenterpriseconnection_login_hint.rb +36 -0
- data/lib/clerk/models/operations/updateenterpriseconnection_login_hint.rbi +15 -0
- data/lib/clerk/models/operations/updateenterpriseconnection_mode.rb +21 -0
- data/lib/clerk/models/operations/updateenterpriseconnection_mode.rbi +11 -0
- data/lib/clerk/models/operations/updateenterpriseconnection_saml.rb +5 -1
- data/lib/clerk/models/operations/updateenterpriseconnection_saml.rbi +2 -0
- data/lib/clerk/models/operations/updateinstanceoauthapplicationsettings_request.rb +17 -1
- data/lib/clerk/models/operations/updateinstanceoauthapplicationsettings_request.rbi +8 -0
- data/lib/clerk/models/operations/updateorganization_requestbody.rb +1 -9
- data/lib/clerk/models/operations/updateorganization_requestbody.rbi +0 -4
- data/lib/clerk/models/operations/updateorganizationdomain_requestbody.rb +1 -1
- data/lib/clerk/models/operations/updatesamlconnection_login_hint.rb +36 -0
- data/lib/clerk/models/operations/updatesamlconnection_login_hint.rbi +15 -0
- data/lib/clerk/models/operations/updatesamlconnection_mode.rb +21 -0
- data/lib/clerk/models/operations/updatesamlconnection_mode.rbi +11 -0
- data/lib/clerk/models/operations/updatesamlconnection_requestbody.rb +5 -1
- data/lib/clerk/models/operations/updatesamlconnection_requestbody.rbi +2 -0
- data/lib/clerk/models/operations/updatescimdirectory_request.rb +36 -0
- data/lib/clerk/models/operations/updatescimdirectory_request.rbi +15 -0
- data/lib/clerk/models/operations/updatescimdirectory_requestbody.rb +49 -0
- data/lib/clerk/models/operations/updatescimdirectory_requestbody.rbi +21 -0
- data/lib/clerk/models/operations/updatescimdirectory_response.rb +44 -0
- data/lib/clerk/models/operations/updatescimdirectory_response.rbi +19 -0
- data/lib/clerk/models/operations/updateuser_requestbody.rb +3 -22
- data/lib/clerk/models/operations/updateuser_requestbody.rbi +0 -6
- data/lib/clerk/models/operations.rb +48 -0
- data/lib/clerk/oauthaccesstokens.rb +5 -5
- data/lib/clerk/oauthapplications.rb +185 -35
- data/lib/clerk/openapiclient.rb +2 -1
- data/lib/clerk/organizationdomains.rb +32 -32
- data/lib/clerk/organizationinvitations.rb +35 -35
- data/lib/clerk/organizationmemberships.rb +25 -25
- data/lib/clerk/organizationpermissions.rb +25 -25
- data/lib/clerk/organizationroles.rb +35 -35
- data/lib/clerk/organizations.rb +221 -56
- data/lib/clerk/phonenumbers.rb +43 -36
- data/lib/clerk/proxy.rb +3 -3
- data/lib/clerk/proxychecks.rb +5 -5
- data/lib/clerk/redirecturls.rb +20 -20
- data/lib/clerk/rolesets.rb +35 -35
- data/lib/clerk/samlconnections.rb +25 -25
- data/lib/clerk/scimdirectories.rb +1531 -0
- data/lib/clerk/sdk.rb +23 -5
- data/lib/clerk/sdkconfiguration.rb +4 -4
- data/lib/clerk/sessions.rb +35 -35
- data/lib/clerk/signintokens.rb +11 -11
- data/lib/clerk/signups.rb +10 -10
- data/lib/clerk/templates.rb +5 -5
- data/lib/clerk/testingtokens.rb +5 -5
- data/lib/clerk/users.rb +695 -204
- data/lib/clerk/utils/retries.rb +43 -1
- data/lib/clerk/waitlistentries.rb +30 -30
- data/lib/clerk/webhooks.rb +15 -15
- data/lib/clerk_sdk_ruby.rb +1 -0
- data/test/clerk/jwks_cache_scoping_test.rb +83 -0
- data/test/clerk/proxy_test.rb +108 -0
- metadata +201 -80
- data/lib/clerk/models/components/clerkerror_meta.rb +0 -27
- data/lib/clerk/models/components/clerkerrors_meta.rb +0 -27
- data/lib/clerk/models/components/emailaddress_verification_saml_meta.rb +0 -27
- data/lib/clerk/models/components/emailaddress_verification_saml_meta.rbi +0 -11
- data/lib/clerk/models/components/enterpriseaccount_verification_oauth_meta.rb +0 -27
- data/lib/clerk/models/components/enterpriseaccount_verification_oauth_meta.rbi +0 -11
- data/lib/clerk/models/components/enterpriseaccount_verification_saml_meta.rb +0 -27
- data/lib/clerk/models/components/enterpriseaccount_verification_saml_meta.rbi +0 -11
- data/lib/clerk/models/components/externalaccountwithverification_verification_oauth_meta.rb +0 -27
- data/lib/clerk/models/components/externalaccountwithverification_verification_oauth_meta.rbi +0 -11
- data/lib/clerk/models/components/samlaccount_meta.rb +0 -27
- data/lib/clerk/models/components/schemas_commerceplan_object.rbi +0 -11
- data/lib/clerk/models/components/schemas_commercesubscriptionitem_annual_fee.rbi +0 -19
- data/lib/clerk/models/components/schemas_commercesubscriptionitem_annual_monthly_fee.rb +0 -44
- data/lib/clerk/models/components/schemas_commercesubscriptionitem_annual_monthly_fee.rbi +0 -19
- data/lib/clerk/models/components/schemas_commercesubscriptionitem_next_payment_amount.rbi +0 -19
- data/lib/clerk/models/components/schemas_commercesubscriptionitem_object_commercepayer.rbi +0 -11
- data/lib/clerk/models/components/schemas_commercesubscriptionitem_object_commerceplan.rbi +0 -11
- data/lib/clerk/models/components/schemas_commercesubscriptionitem_object_commercesubscriptionitem.rbi +0 -11
- data/lib/clerk/models/components/schemas_commercesubscriptionitem_plan_period.rbi +0 -11
- data/lib/clerk/models/components/schemas_commercesubscriptionitem_status.rbi +0 -11
- data/lib/clerk/models/components/schemas_featureresponse_object.rbi +0 -11
- data/lib/clerk/models/components/verification_from_oauth_meta.rb +0 -27
- data/lib/clerk/models/components/verification_from_oauth_meta.rbi +0 -11
- data/lib/clerk/models/components/verification_google_one_tap_meta.rb +0 -27
- data/lib/clerk/models/components/verification_google_one_tap_meta.rbi +0 -11
|
@@ -39,8 +39,6 @@ module Clerk
|
|
|
39
39
|
autoload :BlocklistIdentifiers, 'clerk/models/components/blocklistidentifiers.rb'
|
|
40
40
|
autoload :CNameTarget, 'clerk/models/components/cnametarget.rb'
|
|
41
41
|
autoload :ClerkError, 'clerk/models/components/clerkerror.rb'
|
|
42
|
-
autoload :ClerkErrorMeta, 'clerk/models/components/clerkerror_meta.rb'
|
|
43
|
-
autoload :ClerkErrorsMeta, 'clerk/models/components/clerkerrors_meta.rb'
|
|
44
42
|
autoload :Client, 'clerk/models/components/client.rb'
|
|
45
43
|
autoload :ClientObject, 'clerk/models/components/client_object.rb'
|
|
46
44
|
autoload :CommerceCreditBalanceResponse, 'clerk/models/components/commercecreditbalanceresponse.rb'
|
|
@@ -52,8 +50,15 @@ module Clerk
|
|
|
52
50
|
autoload :CommercePaymentMethodResponseObject, 'clerk/models/components/commercepaymentmethodresponse_object.rb'
|
|
53
51
|
autoload :CommercePaymentMethodResponseStatus, 'clerk/models/components/commercepaymentmethodresponse_status.rb'
|
|
54
52
|
autoload :CommercePerUnitTotal, 'clerk/models/components/commerceperunittotal.rb'
|
|
53
|
+
autoload :CommercePerUnitTotal2, 'clerk/models/components/commerceperunittotal_2.rb'
|
|
55
54
|
autoload :CommercePerUnitTotalTier, 'clerk/models/components/commerceperunittotaltier.rb'
|
|
55
|
+
autoload :CommercePerUnitTotalTier2, 'clerk/models/components/commerceperunittotaltier_2.rb'
|
|
56
56
|
autoload :CommercePlan, 'clerk/models/components/commerceplan.rb'
|
|
57
|
+
autoload :CommercePlan2, 'clerk/models/components/commerceplan_2.rb'
|
|
58
|
+
autoload :CommercePlan2AnnualFee, 'clerk/models/components/commerceplan_2_annual_fee.rb'
|
|
59
|
+
autoload :CommercePlan2AnnualMonthlyFee, 'clerk/models/components/commerceplan_2_annual_monthly_fee.rb'
|
|
60
|
+
autoload :CommercePlan2Fee, 'clerk/models/components/commerceplan_2_fee.rb'
|
|
61
|
+
autoload :CommercePlan2Object, 'clerk/models/components/commerceplan_2_object.rb'
|
|
57
62
|
autoload :CommercePlanUnitPrice, 'clerk/models/components/commerceplanunitprice.rb'
|
|
58
63
|
autoload :CommercePlanUnitPriceTier, 'clerk/models/components/commerceplanunitpricetier.rb'
|
|
59
64
|
autoload :CommercePlanAnnualFee, 'clerk/models/components/commerceplan_annual_fee.rb'
|
|
@@ -67,6 +72,25 @@ module Clerk
|
|
|
67
72
|
autoload :CommerceSubscriptionCreditResponse, 'clerk/models/components/commercesubscriptioncreditresponse.rb'
|
|
68
73
|
autoload :CommerceSubscriptionCreditResponseAmount, 'clerk/models/components/commercesubscriptioncreditresponse_amount.rb'
|
|
69
74
|
autoload :CommerceSubscriptionItem, 'clerk/models/components/commercesubscriptionitem.rb'
|
|
75
|
+
autoload :CommerceSubscriptionItem2, 'clerk/models/components/commercesubscriptionitem_2.rb'
|
|
76
|
+
autoload :CommerceSubscriptionItem2Amount, 'clerk/models/components/commercesubscriptionitem_2_amount.rb'
|
|
77
|
+
autoload :CommerceSubscriptionItem2AnnualFee, 'clerk/models/components/commercesubscriptionitem_2_annual_fee.rb'
|
|
78
|
+
autoload :CommerceSubscriptionItem2AnnualMonthlyFee, 'clerk/models/components/commercesubscriptionitem_2_annual_monthly_fee.rb'
|
|
79
|
+
autoload :CommerceSubscriptionItem2Fee, 'clerk/models/components/commercesubscriptionitem_2_fee.rb'
|
|
80
|
+
autoload :CommerceSubscriptionItem2NextPayment, 'clerk/models/components/commercesubscriptionitem_2_next_payment.rb'
|
|
81
|
+
autoload :CommerceSubscriptionItem2NextPaymentAmount, 'clerk/models/components/commercesubscriptionitem_2_next_payment_amount.rb'
|
|
82
|
+
autoload :CommerceSubscriptionItem2NextPaymentCredits, 'clerk/models/components/commercesubscriptionitem_2_next_payment_credits.rb'
|
|
83
|
+
autoload :CommerceSubscriptionItem2NextPaymentCreditsProration, 'clerk/models/components/commercesubscriptionitem_2_next_payment_credits_proration.rb'
|
|
84
|
+
autoload :CommerceSubscriptionItem2NextPaymentDiscounts, 'clerk/models/components/commercesubscriptionitem_2_next_payment_discounts.rb'
|
|
85
|
+
autoload :CommerceSubscriptionItem2NextPaymentDiscountsProration, 'clerk/models/components/commercesubscriptionitem_2_next_payment_discounts_proration.rb'
|
|
86
|
+
autoload :CommerceSubscriptionItem2NextPaymentPayer, 'clerk/models/components/commercesubscriptionitem_2_next_payment_payer.rb'
|
|
87
|
+
autoload :CommerceSubscriptionItem2NextPaymentTotals, 'clerk/models/components/commercesubscriptionitem_2_next_payment_totals.rb'
|
|
88
|
+
autoload :CommerceSubscriptionItem2ObjectCommercePayer, 'clerk/models/components/commercesubscriptionitem_2_object_commercepayer.rb'
|
|
89
|
+
autoload :CommerceSubscriptionItem2ObjectCommercePlan, 'clerk/models/components/commercesubscriptionitem_2_object_commerceplan.rb'
|
|
90
|
+
autoload :CommerceSubscriptionItem2ObjectCommerceSubscriptionItem, 'clerk/models/components/commercesubscriptionitem_2_object_commercesubscriptionitem.rb'
|
|
91
|
+
autoload :CommerceSubscriptionItem2Plan, 'clerk/models/components/commercesubscriptionitem_2_plan.rb'
|
|
92
|
+
autoload :CommerceSubscriptionItem2PlanPeriod, 'clerk/models/components/commercesubscriptionitem_2_plan_period.rb'
|
|
93
|
+
autoload :CommerceSubscriptionItem2Status, 'clerk/models/components/commercesubscriptionitem_2_status.rb'
|
|
70
94
|
autoload :CommerceSubscriptionItemAmount, 'clerk/models/components/commercesubscriptionitem_amount.rb'
|
|
71
95
|
autoload :CommerceSubscriptionItemAnnualFee, 'clerk/models/components/commercesubscriptionitem_annual_fee.rb'
|
|
72
96
|
autoload :CommerceSubscriptionItemAnnualMonthlyFee, 'clerk/models/components/commercesubscriptionitem_annual_monthly_fee.rb'
|
|
@@ -124,7 +148,6 @@ module Clerk
|
|
|
124
148
|
autoload :EmailAddressVerificationOtpStrategy, 'clerk/models/components/emailaddress_verification_otp_strategy.rb'
|
|
125
149
|
autoload :EmailAddressVerificationSamlClerkError, 'clerk/models/components/emailaddress_verification_saml_clerkerror.rb'
|
|
126
150
|
autoload :EmailAddressVerificationSamlError, 'clerk/models/components/emailaddress_verification_saml_error.rb'
|
|
127
|
-
autoload :EmailAddressVerificationSamlMeta, 'clerk/models/components/emailaddress_verification_saml_meta.rb'
|
|
128
151
|
autoload :EmailAddressVerificationSamlObject, 'clerk/models/components/emailaddress_verification_saml_object.rb'
|
|
129
152
|
autoload :EmailAddressVerificationSamlStatus, 'clerk/models/components/emailaddress_verification_saml_status.rb'
|
|
130
153
|
autoload :EmailAddressVerificationSamlStrategy, 'clerk/models/components/emailaddress_verification_saml_strategy.rb'
|
|
@@ -143,12 +166,10 @@ module Clerk
|
|
|
143
166
|
autoload :EnterpriseAccountVerification, 'clerk/models/components/enterpriseaccount_verification.rb'
|
|
144
167
|
autoload :EnterpriseAccountVerificationOauthClerkError, 'clerk/models/components/enterpriseaccount_verification_oauth_clerkerror.rb'
|
|
145
168
|
autoload :EnterpriseAccountVerificationOauthError, 'clerk/models/components/enterpriseaccount_verification_oauth_error.rb'
|
|
146
|
-
autoload :EnterpriseAccountVerificationOauthMeta, 'clerk/models/components/enterpriseaccount_verification_oauth_meta.rb'
|
|
147
169
|
autoload :EnterpriseAccountVerificationOauthObject, 'clerk/models/components/enterpriseaccount_verification_oauth_object.rb'
|
|
148
170
|
autoload :EnterpriseAccountVerificationOauthStatus, 'clerk/models/components/enterpriseaccount_verification_oauth_status.rb'
|
|
149
171
|
autoload :EnterpriseAccountVerificationSamlClerkError, 'clerk/models/components/enterpriseaccount_verification_saml_clerkerror.rb'
|
|
150
172
|
autoload :EnterpriseAccountVerificationSamlError, 'clerk/models/components/enterpriseaccount_verification_saml_error.rb'
|
|
151
|
-
autoload :EnterpriseAccountVerificationSamlMeta, 'clerk/models/components/enterpriseaccount_verification_saml_meta.rb'
|
|
152
173
|
autoload :EnterpriseAccountVerificationSamlObject, 'clerk/models/components/enterpriseaccount_verification_saml_object.rb'
|
|
153
174
|
autoload :EnterpriseAccountVerificationSamlStatus, 'clerk/models/components/enterpriseaccount_verification_saml_status.rb'
|
|
154
175
|
autoload :EnterpriseAccountVerificationSamlStrategy, 'clerk/models/components/enterpriseaccount_verification_saml_strategy.rb'
|
|
@@ -162,6 +183,9 @@ module Clerk
|
|
|
162
183
|
autoload :EnterpriseConnectionTestRunSaml, 'clerk/models/components/enterpriseconnectiontestrun_saml.rb'
|
|
163
184
|
autoload :EnterpriseConnectionTestRunStatus, 'clerk/models/components/enterpriseconnectiontestrun_status.rb'
|
|
164
185
|
autoload :EnterpriseConnectionTestRuns, 'clerk/models/components/enterpriseconnectiontestruns.rb'
|
|
186
|
+
autoload :EnterpriseConnectionCustomAttribute, 'clerk/models/components/enterpriseconnection_custom_attribute.rb'
|
|
187
|
+
autoload :EnterpriseConnectionMode, 'clerk/models/components/enterpriseconnection_mode.rb'
|
|
188
|
+
autoload :EnterpriseConnectionObject, 'clerk/models/components/enterpriseconnection_object.rb'
|
|
165
189
|
autoload :EnterpriseConnectionSamlConnection, 'clerk/models/components/enterpriseconnection_saml_connection.rb'
|
|
166
190
|
autoload :EnterpriseConnections, 'clerk/models/components/enterpriseconnections.rb'
|
|
167
191
|
autoload :ExtendFreeTrialRequest, 'clerk/models/components/extendfreetrialrequest.rb'
|
|
@@ -171,10 +195,11 @@ module Clerk
|
|
|
171
195
|
autoload :ExternalAccountWithVerificationVerification, 'clerk/models/components/externalaccountwithverification_verification.rb'
|
|
172
196
|
autoload :ExternalAccountWithVerificationVerificationOauthClerkError, 'clerk/models/components/externalaccountwithverification_verification_oauth_clerkerror.rb'
|
|
173
197
|
autoload :ExternalAccountWithVerificationVerificationOauthError, 'clerk/models/components/externalaccountwithverification_verification_oauth_error.rb'
|
|
174
|
-
autoload :ExternalAccountWithVerificationVerificationOauthMeta, 'clerk/models/components/externalaccountwithverification_verification_oauth_meta.rb'
|
|
175
198
|
autoload :ExternalAccountWithVerificationVerificationOauthObject, 'clerk/models/components/externalaccountwithverification_verification_oauth_object.rb'
|
|
176
199
|
autoload :ExternalAccountWithVerificationVerificationOauthStatus, 'clerk/models/components/externalaccountwithverification_verification_oauth_status.rb'
|
|
177
200
|
autoload :FeatureResponse, 'clerk/models/components/featureresponse.rb'
|
|
201
|
+
autoload :FeatureResponse2, 'clerk/models/components/featureresponse_2.rb'
|
|
202
|
+
autoload :FeatureResponse2Object, 'clerk/models/components/featureresponse_2_object.rb'
|
|
178
203
|
autoload :FeatureResponseObject, 'clerk/models/components/featureresponse_object.rb'
|
|
179
204
|
autoload :FromOAuth, 'clerk/models/components/fromoauth.rb'
|
|
180
205
|
autoload :GoogleOneTap, 'clerk/models/components/googleonetap.rb'
|
|
@@ -290,7 +315,6 @@ module Clerk
|
|
|
290
315
|
autoload :SAMLAccountSAML, 'clerk/models/components/samlaccount_saml.rb'
|
|
291
316
|
autoload :SAMLAccountTicket, 'clerk/models/components/samlaccount_ticket.rb'
|
|
292
317
|
autoload :SAMLAccountError, 'clerk/models/components/samlaccount_error.rb'
|
|
293
|
-
autoload :SAMLAccountMeta, 'clerk/models/components/samlaccount_meta.rb'
|
|
294
318
|
autoload :SAMLAccountObject, 'clerk/models/components/samlaccount_object.rb'
|
|
295
319
|
autoload :SAMLAccountSAMLConnection, 'clerk/models/components/samlaccount_saml_connection.rb'
|
|
296
320
|
autoload :SAMLAccountVerification, 'clerk/models/components/samlaccount_verification.rb'
|
|
@@ -301,12 +325,23 @@ module Clerk
|
|
|
301
325
|
autoload :SAMLAccountVerificationTicketStatus, 'clerk/models/components/samlaccount_verification_ticket_status.rb'
|
|
302
326
|
autoload :SAMLAccountVerificationTicketStrategy, 'clerk/models/components/samlaccount_verification_ticket_strategy.rb'
|
|
303
327
|
autoload :SAMLConnectionAttributeMapping, 'clerk/models/components/samlconnectionattributemapping.rb'
|
|
328
|
+
autoload :SAMLConnectionLoginHint, 'clerk/models/components/samlconnectionloginhint.rb'
|
|
329
|
+
autoload :SAMLConnectionLoginHintMode, 'clerk/models/components/samlconnectionloginhint_mode.rb'
|
|
304
330
|
autoload :SAMLConnection1, 'clerk/models/components/samlconnection_1.rb'
|
|
305
331
|
autoload :SAMLConnection2, 'clerk/models/components/samlconnection_2.rb'
|
|
306
332
|
autoload :SAMLConnectionObject1, 'clerk/models/components/samlconnection_object_1.rb'
|
|
307
333
|
autoload :SAMLConnectionObject2, 'clerk/models/components/samlconnection_object_2.rb'
|
|
308
334
|
autoload :SAMLConnectionUnion, 'clerk/models/components/samlconnection_union.rb'
|
|
309
335
|
autoload :SAMLConnections, 'clerk/models/components/samlconnections.rb'
|
|
336
|
+
autoload :SCIMDirectory, 'clerk/models/components/scimdirectory.rb'
|
|
337
|
+
autoload :SCIMDirectoryList, 'clerk/models/components/scimdirectory_list.rb'
|
|
338
|
+
autoload :SCIMDirectoryCustomAttribute, 'clerk/models/components/scimdirectory_custom_attribute.rb'
|
|
339
|
+
autoload :SCIMDirectoryObject, 'clerk/models/components/scimdirectory_object.rb'
|
|
340
|
+
autoload :SCIMGroupRoleMapping, 'clerk/models/components/scimgrouprolemapping.rb'
|
|
341
|
+
autoload :SCIMGroupRoleMappingDeleted, 'clerk/models/components/scimgrouprolemapping_deleted.rb'
|
|
342
|
+
autoload :SCIMGroupRoleMappingDeletedObject, 'clerk/models/components/scimgrouprolemapping_deleted_object.rb'
|
|
343
|
+
autoload :SCIMGroupRoleMappingList, 'clerk/models/components/scimgrouprolemapping_list.rb'
|
|
344
|
+
autoload :SCIMGroupRoleMappingObject, 'clerk/models/components/scimgrouprolemapping_object.rb'
|
|
310
345
|
autoload :Security, 'clerk/models/components/security.rb'
|
|
311
346
|
autoload :Session, 'clerk/models/components/session.rb'
|
|
312
347
|
autoload :SessionActivityResponse, 'clerk/models/components/sessionactivityresponse.rb'
|
|
@@ -334,6 +369,10 @@ module Clerk
|
|
|
334
369
|
autoload :TokenObject, 'clerk/models/components/token_object.rb'
|
|
335
370
|
autoload :TotalCount, 'clerk/models/components/totalcount.rb'
|
|
336
371
|
autoload :TotalCountObject, 'clerk/models/components/totalcount_object.rb'
|
|
372
|
+
autoload :TrustedDevice, 'clerk/models/components/trusteddevice.rb'
|
|
373
|
+
autoload :TrustedDeviceList, 'clerk/models/components/trusteddevice_list.rb'
|
|
374
|
+
autoload :TrustedDeviceObject, 'clerk/models/components/trusteddevice_object.rb'
|
|
375
|
+
autoload :TrustedDeviceStatus, 'clerk/models/components/trusteddevice_status.rb'
|
|
337
376
|
autoload :User, 'clerk/models/components/user.rb'
|
|
338
377
|
autoload :UserObject, 'clerk/models/components/user_object.rb'
|
|
339
378
|
autoload :UserScim, 'clerk/models/components/user_scim.rb'
|
|
@@ -355,13 +394,13 @@ module Clerk
|
|
|
355
394
|
autoload :VerificationResponse, 'clerk/models/components/_verificationresponse.rb'
|
|
356
395
|
autoload :Action, 'clerk/models/components/action.rb'
|
|
357
396
|
autoload :AffiliationVerification, 'clerk/models/components/affiliation_verification.rb'
|
|
397
|
+
autoload :Algorithm, 'clerk/models/components/algorithm.rb'
|
|
358
398
|
autoload :Balance, 'clerk/models/components/balance.rb'
|
|
359
399
|
autoload :Claims, 'clerk/models/components/claims.rb'
|
|
360
400
|
autoload :ConnectionType, 'clerk/models/components/connection_type.rb'
|
|
361
401
|
autoload :CreatorRole, 'clerk/models/components/creator_role.rb'
|
|
362
402
|
autoload :Credit, 'clerk/models/components/credit.rb'
|
|
363
403
|
autoload :CreditAmount, 'clerk/models/components/credit_amount.rb'
|
|
364
|
-
autoload :CustomAttribute, 'clerk/models/components/custom_attribute.rb'
|
|
365
404
|
autoload :DefaultRole, 'clerk/models/components/default_role.rb'
|
|
366
405
|
autoload :DomainsEnrollmentMode, 'clerk/models/components/domains_enrollment_mode.rb'
|
|
367
406
|
autoload :EffectiveMode, 'clerk/models/components/effective_mode.rb'
|
|
@@ -372,6 +411,7 @@ module Clerk
|
|
|
372
411
|
autoload :Key, 'clerk/models/components/key.rb'
|
|
373
412
|
autoload :LifetimePaid, 'clerk/models/components/lifetime_paid.rb'
|
|
374
413
|
autoload :Log, 'clerk/models/components/log.rb'
|
|
414
|
+
autoload :LoginHint, 'clerk/models/components/login_hint.rb'
|
|
375
415
|
autoload :NextAction, 'clerk/models/components/next_action.rb'
|
|
376
416
|
autoload :NextInvoice, 'clerk/models/components/next_invoice.rb'
|
|
377
417
|
autoload :NextInvoiceAmount, 'clerk/models/components/next_invoice_amount.rb'
|
|
@@ -394,38 +434,11 @@ module Clerk
|
|
|
394
434
|
autoload :PaymentMethod, 'clerk/models/components/payment_method.rb'
|
|
395
435
|
autoload :PaymentSource, 'clerk/models/components/payment_source.rb'
|
|
396
436
|
autoload :PaymentType, 'clerk/models/components/payment_type.rb'
|
|
437
|
+
autoload :Platform, 'clerk/models/components/platform.rb'
|
|
397
438
|
autoload :PreviousSubscriptionItemStatus, 'clerk/models/components/previous_subscription_item_status.rb'
|
|
398
439
|
autoload :Protocol, 'clerk/models/components/protocol.rb'
|
|
399
440
|
autoload :PublicOrganizationData, 'clerk/models/components/public_organization_data.rb'
|
|
400
441
|
autoload :RoleSetMigration, 'clerk/models/components/role_set_migration.rb'
|
|
401
|
-
autoload :SchemasCommercePerUnitTotal, 'clerk/models/components/schemas_commerceperunittotal.rb'
|
|
402
|
-
autoload :SchemasCommercePerUnitTotalTier, 'clerk/models/components/schemas_commerceperunittotaltier.rb'
|
|
403
|
-
autoload :SchemasCommercePlan, 'clerk/models/components/schemas_commerceplan.rb'
|
|
404
|
-
autoload :SchemasCommercePlanAnnualFee, 'clerk/models/components/schemas_commerceplan_annual_fee.rb'
|
|
405
|
-
autoload :SchemasCommercePlanAnnualMonthlyFee, 'clerk/models/components/schemas_commerceplan_annual_monthly_fee.rb'
|
|
406
|
-
autoload :SchemasCommercePlanFee, 'clerk/models/components/schemas_commerceplan_fee.rb'
|
|
407
|
-
autoload :SchemasCommercePlanObject, 'clerk/models/components/schemas_commerceplan_object.rb'
|
|
408
|
-
autoload :SchemasCommerceSubscriptionItem, 'clerk/models/components/schemas_commercesubscriptionitem.rb'
|
|
409
|
-
autoload :SchemasCommerceSubscriptionItemAmount, 'clerk/models/components/schemas_commercesubscriptionitem_amount.rb'
|
|
410
|
-
autoload :SchemasCommerceSubscriptionItemAnnualFee, 'clerk/models/components/schemas_commercesubscriptionitem_annual_fee.rb'
|
|
411
|
-
autoload :SchemasCommerceSubscriptionItemAnnualMonthlyFee, 'clerk/models/components/schemas_commercesubscriptionitem_annual_monthly_fee.rb'
|
|
412
|
-
autoload :SchemasCommerceSubscriptionItemFee, 'clerk/models/components/schemas_commercesubscriptionitem_fee.rb'
|
|
413
|
-
autoload :SchemasCommerceSubscriptionItemNextPayment, 'clerk/models/components/schemas_commercesubscriptionitem_next_payment.rb'
|
|
414
|
-
autoload :SchemasCommerceSubscriptionItemNextPaymentAmount, 'clerk/models/components/schemas_commercesubscriptionitem_next_payment_amount.rb'
|
|
415
|
-
autoload :SchemasCommerceSubscriptionItemNextPaymentCredits, 'clerk/models/components/schemas_commercesubscriptionitem_next_payment_credits.rb'
|
|
416
|
-
autoload :SchemasCommerceSubscriptionItemNextPaymentCreditsProration, 'clerk/models/components/schemas_commercesubscriptionitem_next_payment_credits_proration.rb'
|
|
417
|
-
autoload :SchemasCommerceSubscriptionItemNextPaymentDiscounts, 'clerk/models/components/schemas_commercesubscriptionitem_next_payment_discounts.rb'
|
|
418
|
-
autoload :SchemasCommerceSubscriptionItemNextPaymentDiscountsProration, 'clerk/models/components/schemas_commercesubscriptionitem_next_payment_discounts_proration.rb'
|
|
419
|
-
autoload :SchemasCommerceSubscriptionItemNextPaymentPayer, 'clerk/models/components/schemas_commercesubscriptionitem_next_payment_payer.rb'
|
|
420
|
-
autoload :SchemasCommerceSubscriptionItemNextPaymentTotals, 'clerk/models/components/schemas_commercesubscriptionitem_next_payment_totals.rb'
|
|
421
|
-
autoload :SchemasCommerceSubscriptionItemObjectCommercePayer, 'clerk/models/components/schemas_commercesubscriptionitem_object_commercepayer.rb'
|
|
422
|
-
autoload :SchemasCommerceSubscriptionItemObjectCommercePlan, 'clerk/models/components/schemas_commercesubscriptionitem_object_commerceplan.rb'
|
|
423
|
-
autoload :SchemasCommerceSubscriptionItemObjectCommerceSubscriptionItem, 'clerk/models/components/schemas_commercesubscriptionitem_object_commercesubscriptionitem.rb'
|
|
424
|
-
autoload :SchemasCommerceSubscriptionItemPlan, 'clerk/models/components/schemas_commercesubscriptionitem_plan.rb'
|
|
425
|
-
autoload :SchemasCommerceSubscriptionItemPlanPeriod, 'clerk/models/components/schemas_commercesubscriptionitem_plan_period.rb'
|
|
426
|
-
autoload :SchemasCommerceSubscriptionItemStatus, 'clerk/models/components/schemas_commercesubscriptionitem_status.rb'
|
|
427
|
-
autoload :SchemasFeatureResponse, 'clerk/models/components/schemas_featureresponse.rb'
|
|
428
|
-
autoload :SchemasFeatureResponseObject, 'clerk/models/components/schemas_featureresponse_object.rb'
|
|
429
442
|
autoload :Seats, 'clerk/models/components/seats.rb'
|
|
430
443
|
autoload :StatusCommerceSource, 'clerk/models/components/status_commercesource.rb'
|
|
431
444
|
autoload :StatusResponse, 'clerk/models/components/status_response.rb'
|
|
@@ -436,12 +449,10 @@ module Clerk
|
|
|
436
449
|
autoload :VerificationEmailLinkStrategy, 'clerk/models/components/verification_email_link_strategy.rb'
|
|
437
450
|
autoload :VerificationFromOauthClerkError, 'clerk/models/components/verification_from_oauth_clerkerror.rb'
|
|
438
451
|
autoload :VerificationFromOauthError, 'clerk/models/components/verification_from_oauth_error.rb'
|
|
439
|
-
autoload :VerificationFromOauthMeta, 'clerk/models/components/verification_from_oauth_meta.rb'
|
|
440
452
|
autoload :VerificationFromOauthObject, 'clerk/models/components/verification_from_oauth_object.rb'
|
|
441
453
|
autoload :VerificationFromOauthStatus, 'clerk/models/components/verification_from_oauth_status.rb'
|
|
442
454
|
autoload :VerificationGoogleOneTapClerkError, 'clerk/models/components/verification_google_one_tap_clerkerror.rb'
|
|
443
455
|
autoload :VerificationGoogleOneTapError, 'clerk/models/components/verification_google_one_tap_error.rb'
|
|
444
|
-
autoload :VerificationGoogleOneTapMeta, 'clerk/models/components/verification_google_one_tap_meta.rb'
|
|
445
456
|
autoload :VerificationGoogleOneTapObject, 'clerk/models/components/verification_google_one_tap_object.rb'
|
|
446
457
|
autoload :VerificationGoogleOneTapStatus, 'clerk/models/components/verification_google_one_tap_status.rb'
|
|
447
458
|
autoload :VerificationGoogleOneTapStrategy, 'clerk/models/components/verification_google_one_tap_strategy.rb'
|
|
@@ -15,7 +15,7 @@ module Clerk
|
|
|
15
15
|
|
|
16
16
|
field :errors, Crystalline::Array.new(Models::Components::ClerkError), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('errors'), required: true } }
|
|
17
17
|
|
|
18
|
-
field :meta, Crystalline::Nilable.new(
|
|
18
|
+
field :meta, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('meta') } }
|
|
19
19
|
# Raw HTTP response; suitable for custom response parsing
|
|
20
20
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('-') } }
|
|
21
21
|
|
|
@@ -21,13 +21,18 @@ module Clerk
|
|
|
21
21
|
# Create this email address as the primary email address for the user.
|
|
22
22
|
# Default: false, unless it is the first email address.
|
|
23
23
|
field :primary, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('primary') } }
|
|
24
|
+
# If set to `true` and the email address is created as the user's new primary,
|
|
25
|
+
# the previous primary email address is notified of the change.
|
|
26
|
+
# By default, no notification is sent.
|
|
27
|
+
field :notify_primary_email_address_changed, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('notify_primary_email_address_changed') } }
|
|
24
28
|
|
|
25
29
|
|
|
26
|
-
def initialize(user_id:, email_address:, verified: nil, primary: nil)
|
|
30
|
+
def initialize(user_id:, email_address:, verified: nil, primary: nil, notify_primary_email_address_changed: false)
|
|
27
31
|
@user_id = user_id
|
|
28
32
|
@email_address = email_address
|
|
29
33
|
@verified = verified
|
|
30
34
|
@primary = primary
|
|
35
|
+
@notify_primary_email_address_changed = notify_primary_email_address_changed
|
|
31
36
|
end
|
|
32
37
|
|
|
33
38
|
|
|
@@ -37,6 +42,7 @@ module Clerk
|
|
|
37
42
|
return false unless @email_address == other.email_address
|
|
38
43
|
return false unless @verified == other.verified
|
|
39
44
|
return false unless @primary == other.primary
|
|
45
|
+
return false unless @notify_primary_email_address_changed == other.notify_primary_email_address_changed
|
|
40
46
|
true
|
|
41
47
|
end
|
|
42
48
|
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: false
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Clerk
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
# Configuration for the login_hint sent to the IdP on SSO sign-in
|
|
11
|
+
class CreateEnterpriseConnectionLoginHint
|
|
12
|
+
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# Controls the login_hint sent to the IdP on SSO sign-in
|
|
16
|
+
field :mode, Models::Operations::CreateEnterpriseConnectionMode, { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('mode'), required: true, 'decoder': ::Clerk::Utils.enum_from_string(Models::Operations::CreateEnterpriseConnectionMode, false) } }
|
|
17
|
+
# The user public_metadata key whose value is sent as the login_hint when mode is custom_attribute
|
|
18
|
+
field :source, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('source') } }
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def initialize(mode:, source: nil)
|
|
22
|
+
@mode = mode
|
|
23
|
+
@source = source
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def ==(other)
|
|
28
|
+
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @mode == other.mode
|
|
30
|
+
return false unless @source == other.source
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: false
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Clerk::Models::Operations::CreateEnterpriseConnectionLoginHint
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Clerk::Models::Operations::CreateEnterpriseConnectionLoginHint
|
|
11
|
+
def mode(); end
|
|
12
|
+
def mode=(str_); end
|
|
13
|
+
def source(); end
|
|
14
|
+
def source=(str_); end
|
|
15
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: false
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Clerk
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
# CreateEnterpriseConnectionMode - Controls the login_hint sent to the IdP on SSO sign-in
|
|
11
|
+
class CreateEnterpriseConnectionMode
|
|
12
|
+
include ::Crystalline::Enum
|
|
13
|
+
enums do
|
|
14
|
+
EMAIL_ADDRESS = new('email_address')
|
|
15
|
+
CUSTOM_ATTRIBUTE = new('custom_attribute')
|
|
16
|
+
OFF = new('off')
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -31,9 +31,11 @@ module Clerk
|
|
|
31
31
|
field :allow_idp_initiated, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('allow_idp_initiated') } }
|
|
32
32
|
|
|
33
33
|
field :force_authn, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('force_authn') } }
|
|
34
|
+
# Configuration for the login_hint sent to the IdP on SSO sign-in
|
|
35
|
+
field :login_hint, Crystalline::Nilable.new(Models::Operations::CreateEnterpriseConnectionLoginHint), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('login_hint') } }
|
|
34
36
|
|
|
35
37
|
|
|
36
|
-
def initialize(idp_entity_id: nil, idp_sso_url: nil, idp_certificate: nil, idp_metadata_url: nil, idp_metadata: nil, attribute_mapping: nil, allow_subdomains: nil, allow_idp_initiated: nil, force_authn: nil)
|
|
38
|
+
def initialize(idp_entity_id: nil, idp_sso_url: nil, idp_certificate: nil, idp_metadata_url: nil, idp_metadata: nil, attribute_mapping: nil, allow_subdomains: nil, allow_idp_initiated: nil, force_authn: nil, login_hint: nil)
|
|
37
39
|
@idp_entity_id = idp_entity_id
|
|
38
40
|
@idp_sso_url = idp_sso_url
|
|
39
41
|
@idp_certificate = idp_certificate
|
|
@@ -43,6 +45,7 @@ module Clerk
|
|
|
43
45
|
@allow_subdomains = allow_subdomains
|
|
44
46
|
@allow_idp_initiated = allow_idp_initiated
|
|
45
47
|
@force_authn = force_authn
|
|
48
|
+
@login_hint = login_hint
|
|
46
49
|
end
|
|
47
50
|
|
|
48
51
|
|
|
@@ -57,6 +60,7 @@ module Clerk
|
|
|
57
60
|
return false unless @allow_subdomains == other.allow_subdomains
|
|
58
61
|
return false unless @allow_idp_initiated == other.allow_idp_initiated
|
|
59
62
|
return false unless @force_authn == other.force_authn
|
|
63
|
+
return false unless @login_hint == other.login_hint
|
|
60
64
|
true
|
|
61
65
|
end
|
|
62
66
|
end
|
|
@@ -14,7 +14,7 @@ module Clerk
|
|
|
14
14
|
|
|
15
15
|
# The name of the new domain
|
|
16
16
|
field :name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('name') } }
|
|
17
|
-
# The enrollment_mode for the new domain. This can be `automatic_invitation`, `automatic_suggestion` or `
|
|
17
|
+
# The enrollment_mode for the new domain. This can be `automatic_invitation`, `automatic_suggestion`, `manual_invitation` or `enterprise_sso`
|
|
18
18
|
field :enrollment_mode, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('enrollment_mode') } }
|
|
19
19
|
# The status of domain's verification. Defaults to true
|
|
20
20
|
field :verified, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('verified') } }
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: false
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Clerk
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
# Configuration for the login_hint sent to the IdP on SSO sign-in
|
|
11
|
+
class CreateSAMLConnectionLoginHint1
|
|
12
|
+
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# Controls the login_hint sent to the IdP on SSO sign-in
|
|
16
|
+
field :mode, Models::Operations::CreateSAMLConnectionMode1, { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('mode'), required: true, 'decoder': ::Clerk::Utils.enum_from_string(Models::Operations::CreateSAMLConnectionMode1, false) } }
|
|
17
|
+
# The user public_metadata key whose value is sent as the login_hint when mode is custom_attribute
|
|
18
|
+
field :source, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('source') } }
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def initialize(mode:, source: nil)
|
|
22
|
+
@mode = mode
|
|
23
|
+
@source = source
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def ==(other)
|
|
28
|
+
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @mode == other.mode
|
|
30
|
+
return false unless @source == other.source
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: false
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Clerk::Models::Operations::CreateSAMLConnectionLoginHint1
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Clerk::Models::Operations::CreateSAMLConnectionLoginHint1
|
|
11
|
+
def mode(); end
|
|
12
|
+
def mode=(str_); end
|
|
13
|
+
def source(); end
|
|
14
|
+
def source=(str_); end
|
|
15
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: false
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Clerk
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
# Configuration for the login_hint sent to the IdP on SSO sign-in
|
|
11
|
+
class CreateSAMLConnectionLoginHint2
|
|
12
|
+
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# Controls the login_hint sent to the IdP on SSO sign-in
|
|
16
|
+
field :mode, Models::Operations::CreateSAMLConnectionMode2, { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('mode'), required: true, 'decoder': ::Clerk::Utils.enum_from_string(Models::Operations::CreateSAMLConnectionMode2, false) } }
|
|
17
|
+
# The user public_metadata key whose value is sent as the login_hint when mode is custom_attribute
|
|
18
|
+
field :source, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('source') } }
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def initialize(mode:, source: nil)
|
|
22
|
+
@mode = mode
|
|
23
|
+
@source = source
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def ==(other)
|
|
28
|
+
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @mode == other.mode
|
|
30
|
+
return false unless @source == other.source
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: false
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Clerk::Models::Operations::CreateSAMLConnectionLoginHint2
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Clerk::Models::Operations::CreateSAMLConnectionLoginHint2
|
|
11
|
+
def mode(); end
|
|
12
|
+
def mode=(str_); end
|
|
13
|
+
def source(); end
|
|
14
|
+
def source=(str_); end
|
|
15
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: false
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Clerk
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
# CreateSAMLConnectionMode1 - Controls the login_hint sent to the IdP on SSO sign-in
|
|
11
|
+
class CreateSAMLConnectionMode1
|
|
12
|
+
include ::Crystalline::Enum
|
|
13
|
+
enums do
|
|
14
|
+
EMAIL_ADDRESS = new('email_address')
|
|
15
|
+
CUSTOM_ATTRIBUTE = new('custom_attribute')
|
|
16
|
+
OFF = new('off')
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: false
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module Clerk
|
|
8
|
+
module Models
|
|
9
|
+
module Operations
|
|
10
|
+
# CreateSAMLConnectionMode2 - Controls the login_hint sent to the IdP on SSO sign-in
|
|
11
|
+
class CreateSAMLConnectionMode2
|
|
12
|
+
include ::Crystalline::Enum
|
|
13
|
+
enums do
|
|
14
|
+
EMAIL_ADDRESS = new('email_address')
|
|
15
|
+
CUSTOM_ATTRIBUTE = new('custom_attribute')
|
|
16
|
+
OFF = new('off')
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -38,9 +38,11 @@ module Clerk
|
|
|
38
38
|
field :organization_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('organization_id') } }
|
|
39
39
|
# Define the attribute name mapping between Identity Provider and Clerk's user properties
|
|
40
40
|
field :attribute_mapping, Crystalline::Nilable.new(Models::Operations::CreateSAMLConnectionAttributeMapping1), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('attribute_mapping') } }
|
|
41
|
+
# Configuration for the login_hint sent to the IdP on SSO sign-in
|
|
42
|
+
field :login_hint, Crystalline::Nilable.new(Models::Operations::CreateSAMLConnectionLoginHint1), { 'format_json': { 'letter_case': ::Clerk::Utils.field_name('login_hint') } }
|
|
41
43
|
|
|
42
44
|
|
|
43
|
-
def initialize(name:, domain:, provider:, domains: nil, force_authn: nil, idp_entity_id: nil, idp_sso_url: nil, idp_certificate: nil, idp_metadata_url: nil, idp_metadata: nil, organization_id: nil, attribute_mapping: nil)
|
|
45
|
+
def initialize(name:, domain:, provider:, domains: nil, force_authn: nil, idp_entity_id: nil, idp_sso_url: nil, idp_certificate: nil, idp_metadata_url: nil, idp_metadata: nil, organization_id: nil, attribute_mapping: nil, login_hint: nil)
|
|
44
46
|
@name = name
|
|
45
47
|
@domain = domain
|
|
46
48
|
@provider = provider
|
|
@@ -53,6 +55,7 @@ module Clerk
|
|
|
53
55
|
@idp_metadata = idp_metadata
|
|
54
56
|
@organization_id = organization_id
|
|
55
57
|
@attribute_mapping = attribute_mapping
|
|
58
|
+
@login_hint = login_hint
|
|
56
59
|
end
|
|
57
60
|
|
|
58
61
|
|
|
@@ -70,6 +73,7 @@ module Clerk
|
|
|
70
73
|
return false unless @idp_metadata == other.idp_metadata
|
|
71
74
|
return false unless @organization_id == other.organization_id
|
|
72
75
|
return false unless @attribute_mapping == other.attribute_mapping
|
|
76
|
+
return false unless @login_hint == other.login_hint
|
|
73
77
|
true
|
|
74
78
|
end
|
|
75
79
|
end
|