clerk-sdk-ruby 7.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/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/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.rb +45 -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 +60 -60
- 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 +3 -3
- 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 +690 -196
- 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 +195 -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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ac3aa6fc3521225381e49ee457eabd2a5dc9cdd296d298a78d7d0a9dc299b73a
|
|
4
|
+
data.tar.gz: 3ade11f54a6fe5725345bb08c96f22927012c6e7976bde37d7c7283ed3010b39
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 737766fd549f0d06ba14b7bd32533f7d44c2b419f35fc786ca2117029da51e2034d2699bbd26d1402826d5a2373e87dd070621ed48cdf75922d1560f36d748ff
|
|
7
|
+
data.tar.gz: 36e3160d0cf6388a153996ea16a0f5358bdcece5870e34d4011ff22869ac1587add14fd64939181eea15d00b9b406f5a3eb2c3d7756ef0df646c09e8722c5bc9
|
data/lib/clerk/actortokens.rb
CHANGED
|
@@ -80,10 +80,10 @@ module Clerk
|
|
|
80
80
|
|
|
81
81
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
82
82
|
timeout ||= @sdk_configuration.timeout
|
|
83
|
-
|
|
83
|
+
|
|
84
84
|
|
|
85
85
|
connection = @sdk_configuration.client.dup
|
|
86
|
-
connection.
|
|
86
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
87
87
|
|
|
88
88
|
hook_ctx = SDKHooks::HookContext.new(
|
|
89
89
|
config: @sdk_configuration,
|
|
@@ -96,7 +96,7 @@ module Clerk
|
|
|
96
96
|
error = nil
|
|
97
97
|
http_response = nil
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
|
|
100
100
|
begin
|
|
101
101
|
http_response = connection.post(url) do |req|
|
|
102
102
|
req.body = body
|
|
@@ -133,13 +133,13 @@ module Clerk
|
|
|
133
133
|
response: http_response
|
|
134
134
|
)
|
|
135
135
|
end
|
|
136
|
-
|
|
136
|
+
|
|
137
137
|
if http_response.nil?
|
|
138
138
|
raise error if !error.nil?
|
|
139
139
|
raise 'no response'
|
|
140
140
|
end
|
|
141
141
|
end
|
|
142
|
-
|
|
142
|
+
|
|
143
143
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
144
144
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
145
145
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -225,10 +225,10 @@ module Clerk
|
|
|
225
225
|
|
|
226
226
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
227
227
|
timeout ||= @sdk_configuration.timeout
|
|
228
|
-
|
|
228
|
+
|
|
229
229
|
|
|
230
230
|
connection = @sdk_configuration.client.dup
|
|
231
|
-
connection.
|
|
231
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
232
232
|
|
|
233
233
|
hook_ctx = SDKHooks::HookContext.new(
|
|
234
234
|
config: @sdk_configuration,
|
|
@@ -241,7 +241,7 @@ module Clerk
|
|
|
241
241
|
error = nil
|
|
242
242
|
http_response = nil
|
|
243
243
|
|
|
244
|
-
|
|
244
|
+
|
|
245
245
|
begin
|
|
246
246
|
http_response = connection.post(url) do |req|
|
|
247
247
|
req.headers.merge!(headers)
|
|
@@ -277,13 +277,13 @@ module Clerk
|
|
|
277
277
|
response: http_response
|
|
278
278
|
)
|
|
279
279
|
end
|
|
280
|
-
|
|
280
|
+
|
|
281
281
|
if http_response.nil?
|
|
282
282
|
raise error if !error.nil?
|
|
283
283
|
raise 'no response'
|
|
284
284
|
end
|
|
285
285
|
end
|
|
286
|
-
|
|
286
|
+
|
|
287
287
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
288
288
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
289
289
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -79,10 +79,10 @@ module Clerk
|
|
|
79
79
|
|
|
80
80
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
81
81
|
timeout ||= @sdk_configuration.timeout
|
|
82
|
-
|
|
82
|
+
|
|
83
83
|
|
|
84
84
|
connection = @sdk_configuration.client.dup
|
|
85
|
-
connection.
|
|
85
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
86
86
|
|
|
87
87
|
hook_ctx = SDKHooks::HookContext.new(
|
|
88
88
|
config: @sdk_configuration,
|
|
@@ -95,7 +95,7 @@ module Clerk
|
|
|
95
95
|
error = nil
|
|
96
96
|
http_response = nil
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
|
|
99
99
|
begin
|
|
100
100
|
http_response = connection.post(url) do |req|
|
|
101
101
|
req.body = body
|
|
@@ -132,13 +132,13 @@ module Clerk
|
|
|
132
132
|
response: http_response
|
|
133
133
|
)
|
|
134
134
|
end
|
|
135
|
-
|
|
135
|
+
|
|
136
136
|
if http_response.nil?
|
|
137
137
|
raise error if !error.nil?
|
|
138
138
|
raise 'no response'
|
|
139
139
|
end
|
|
140
140
|
end
|
|
141
|
-
|
|
141
|
+
|
|
142
142
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
143
143
|
if Utils.match_status_code(http_response.status, ['201'])
|
|
144
144
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -280,10 +280,10 @@ module Clerk
|
|
|
280
280
|
|
|
281
281
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
282
282
|
timeout ||= @sdk_configuration.timeout
|
|
283
|
-
|
|
283
|
+
|
|
284
284
|
|
|
285
285
|
connection = @sdk_configuration.client.dup
|
|
286
|
-
connection.
|
|
286
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
287
287
|
|
|
288
288
|
hook_ctx = SDKHooks::HookContext.new(
|
|
289
289
|
config: @sdk_configuration,
|
|
@@ -296,7 +296,7 @@ module Clerk
|
|
|
296
296
|
error = nil
|
|
297
297
|
http_response = nil
|
|
298
298
|
|
|
299
|
-
|
|
299
|
+
|
|
300
300
|
begin
|
|
301
301
|
http_response = connection.post(url) do |req|
|
|
302
302
|
req.body = body
|
|
@@ -333,13 +333,13 @@ module Clerk
|
|
|
333
333
|
response: http_response
|
|
334
334
|
)
|
|
335
335
|
end
|
|
336
|
-
|
|
336
|
+
|
|
337
337
|
if http_response.nil?
|
|
338
338
|
raise error if !error.nil?
|
|
339
339
|
raise 'no response'
|
|
340
340
|
end
|
|
341
341
|
end
|
|
342
|
-
|
|
342
|
+
|
|
343
343
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
344
344
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
345
345
|
if Utils.match_content_type(content_type, 'application/json')
|
data/lib/clerk/agenttasks.rb
CHANGED
|
@@ -81,10 +81,10 @@ module Clerk
|
|
|
81
81
|
|
|
82
82
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
83
83
|
timeout ||= @sdk_configuration.timeout
|
|
84
|
-
|
|
84
|
+
|
|
85
85
|
|
|
86
86
|
connection = @sdk_configuration.client.dup
|
|
87
|
-
connection.
|
|
87
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
88
88
|
|
|
89
89
|
hook_ctx = SDKHooks::HookContext.new(
|
|
90
90
|
config: @sdk_configuration,
|
|
@@ -97,7 +97,7 @@ module Clerk
|
|
|
97
97
|
error = nil
|
|
98
98
|
http_response = nil
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
|
|
101
101
|
begin
|
|
102
102
|
http_response = connection.post(url) do |req|
|
|
103
103
|
req.body = body
|
|
@@ -134,13 +134,13 @@ module Clerk
|
|
|
134
134
|
response: http_response
|
|
135
135
|
)
|
|
136
136
|
end
|
|
137
|
-
|
|
137
|
+
|
|
138
138
|
if http_response.nil?
|
|
139
139
|
raise error if !error.nil?
|
|
140
140
|
raise 'no response'
|
|
141
141
|
end
|
|
142
142
|
end
|
|
143
|
-
|
|
143
|
+
|
|
144
144
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
145
145
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
146
146
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -226,10 +226,10 @@ module Clerk
|
|
|
226
226
|
|
|
227
227
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
228
228
|
timeout ||= @sdk_configuration.timeout
|
|
229
|
-
|
|
229
|
+
|
|
230
230
|
|
|
231
231
|
connection = @sdk_configuration.client.dup
|
|
232
|
-
connection.
|
|
232
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
233
233
|
|
|
234
234
|
hook_ctx = SDKHooks::HookContext.new(
|
|
235
235
|
config: @sdk_configuration,
|
|
@@ -242,7 +242,7 @@ module Clerk
|
|
|
242
242
|
error = nil
|
|
243
243
|
http_response = nil
|
|
244
244
|
|
|
245
|
-
|
|
245
|
+
|
|
246
246
|
begin
|
|
247
247
|
http_response = connection.post(url) do |req|
|
|
248
248
|
req.headers.merge!(headers)
|
|
@@ -278,13 +278,13 @@ module Clerk
|
|
|
278
278
|
response: http_response
|
|
279
279
|
)
|
|
280
280
|
end
|
|
281
|
-
|
|
281
|
+
|
|
282
282
|
if http_response.nil?
|
|
283
283
|
raise error if !error.nil?
|
|
284
284
|
raise 'no response'
|
|
285
285
|
end
|
|
286
286
|
end
|
|
287
|
-
|
|
287
|
+
|
|
288
288
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
289
289
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
290
290
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -75,10 +75,10 @@ module Clerk
|
|
|
75
75
|
|
|
76
76
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
77
77
|
timeout ||= @sdk_configuration.timeout
|
|
78
|
-
|
|
78
|
+
|
|
79
79
|
|
|
80
80
|
connection = @sdk_configuration.client.dup
|
|
81
|
-
connection.
|
|
81
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
82
82
|
|
|
83
83
|
hook_ctx = SDKHooks::HookContext.new(
|
|
84
84
|
config: @sdk_configuration,
|
|
@@ -91,7 +91,7 @@ module Clerk
|
|
|
91
91
|
error = nil
|
|
92
92
|
http_response = nil
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
|
|
95
95
|
begin
|
|
96
96
|
http_response = connection.get(url) do |req|
|
|
97
97
|
req.headers.merge!(headers)
|
|
@@ -128,13 +128,13 @@ module Clerk
|
|
|
128
128
|
response: http_response
|
|
129
129
|
)
|
|
130
130
|
end
|
|
131
|
-
|
|
131
|
+
|
|
132
132
|
if http_response.nil?
|
|
133
133
|
raise error if !error.nil?
|
|
134
134
|
raise 'no response'
|
|
135
135
|
end
|
|
136
136
|
end
|
|
137
|
-
|
|
137
|
+
|
|
138
138
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
139
139
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
140
140
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -222,10 +222,10 @@ module Clerk
|
|
|
222
222
|
|
|
223
223
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
224
224
|
timeout ||= @sdk_configuration.timeout
|
|
225
|
-
|
|
225
|
+
|
|
226
226
|
|
|
227
227
|
connection = @sdk_configuration.client.dup
|
|
228
|
-
connection.
|
|
228
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
229
229
|
|
|
230
230
|
hook_ctx = SDKHooks::HookContext.new(
|
|
231
231
|
config: @sdk_configuration,
|
|
@@ -238,7 +238,7 @@ module Clerk
|
|
|
238
238
|
error = nil
|
|
239
239
|
http_response = nil
|
|
240
240
|
|
|
241
|
-
|
|
241
|
+
|
|
242
242
|
begin
|
|
243
243
|
http_response = connection.post(url) do |req|
|
|
244
244
|
req.body = body
|
|
@@ -275,13 +275,13 @@ module Clerk
|
|
|
275
275
|
response: http_response
|
|
276
276
|
)
|
|
277
277
|
end
|
|
278
|
-
|
|
278
|
+
|
|
279
279
|
if http_response.nil?
|
|
280
280
|
raise error if !error.nil?
|
|
281
281
|
raise 'no response'
|
|
282
282
|
end
|
|
283
283
|
end
|
|
284
|
-
|
|
284
|
+
|
|
285
285
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
286
286
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
287
287
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -367,10 +367,10 @@ module Clerk
|
|
|
367
367
|
|
|
368
368
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
369
369
|
timeout ||= @sdk_configuration.timeout
|
|
370
|
-
|
|
370
|
+
|
|
371
371
|
|
|
372
372
|
connection = @sdk_configuration.client.dup
|
|
373
|
-
connection.
|
|
373
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
374
374
|
|
|
375
375
|
hook_ctx = SDKHooks::HookContext.new(
|
|
376
376
|
config: @sdk_configuration,
|
|
@@ -383,7 +383,7 @@ module Clerk
|
|
|
383
383
|
error = nil
|
|
384
384
|
http_response = nil
|
|
385
385
|
|
|
386
|
-
|
|
386
|
+
|
|
387
387
|
begin
|
|
388
388
|
http_response = connection.delete(url) do |req|
|
|
389
389
|
req.headers.merge!(headers)
|
|
@@ -419,13 +419,13 @@ module Clerk
|
|
|
419
419
|
response: http_response
|
|
420
420
|
)
|
|
421
421
|
end
|
|
422
|
-
|
|
422
|
+
|
|
423
423
|
if http_response.nil?
|
|
424
424
|
raise error if !error.nil?
|
|
425
425
|
raise 'no response'
|
|
426
426
|
end
|
|
427
427
|
end
|
|
428
|
-
|
|
428
|
+
|
|
429
429
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
430
430
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
431
431
|
if Utils.match_content_type(content_type, 'application/json')
|
data/lib/clerk/api_keys.rb
CHANGED
|
@@ -79,10 +79,10 @@ module Clerk
|
|
|
79
79
|
|
|
80
80
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
81
81
|
timeout ||= @sdk_configuration.timeout
|
|
82
|
-
|
|
82
|
+
|
|
83
83
|
|
|
84
84
|
connection = @sdk_configuration.client.dup
|
|
85
|
-
connection.
|
|
85
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
86
86
|
|
|
87
87
|
hook_ctx = SDKHooks::HookContext.new(
|
|
88
88
|
config: @sdk_configuration,
|
|
@@ -95,7 +95,7 @@ module Clerk
|
|
|
95
95
|
error = nil
|
|
96
96
|
http_response = nil
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
|
|
99
99
|
begin
|
|
100
100
|
http_response = connection.post(url) do |req|
|
|
101
101
|
req.body = body
|
|
@@ -132,13 +132,13 @@ module Clerk
|
|
|
132
132
|
response: http_response
|
|
133
133
|
)
|
|
134
134
|
end
|
|
135
|
-
|
|
135
|
+
|
|
136
136
|
if http_response.nil?
|
|
137
137
|
raise error if !error.nil?
|
|
138
138
|
raise 'no response'
|
|
139
139
|
end
|
|
140
140
|
end
|
|
141
|
-
|
|
141
|
+
|
|
142
142
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
143
143
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
144
144
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -231,10 +231,10 @@ module Clerk
|
|
|
231
231
|
|
|
232
232
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
233
233
|
timeout ||= @sdk_configuration.timeout
|
|
234
|
-
|
|
234
|
+
|
|
235
235
|
|
|
236
236
|
connection = @sdk_configuration.client.dup
|
|
237
|
-
connection.
|
|
237
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
238
238
|
|
|
239
239
|
hook_ctx = SDKHooks::HookContext.new(
|
|
240
240
|
config: @sdk_configuration,
|
|
@@ -247,7 +247,7 @@ module Clerk
|
|
|
247
247
|
error = nil
|
|
248
248
|
http_response = nil
|
|
249
249
|
|
|
250
|
-
|
|
250
|
+
|
|
251
251
|
begin
|
|
252
252
|
http_response = connection.get(url) do |req|
|
|
253
253
|
req.headers.merge!(headers)
|
|
@@ -284,13 +284,13 @@ module Clerk
|
|
|
284
284
|
response: http_response
|
|
285
285
|
)
|
|
286
286
|
end
|
|
287
|
-
|
|
287
|
+
|
|
288
288
|
if http_response.nil?
|
|
289
289
|
raise error if !error.nil?
|
|
290
290
|
raise 'no response'
|
|
291
291
|
end
|
|
292
292
|
end
|
|
293
|
-
|
|
293
|
+
|
|
294
294
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
295
295
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
296
296
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -390,10 +390,10 @@ module Clerk
|
|
|
390
390
|
|
|
391
391
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
392
392
|
timeout ||= @sdk_configuration.timeout
|
|
393
|
-
|
|
393
|
+
|
|
394
394
|
|
|
395
395
|
connection = @sdk_configuration.client.dup
|
|
396
|
-
connection.
|
|
396
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
397
397
|
|
|
398
398
|
hook_ctx = SDKHooks::HookContext.new(
|
|
399
399
|
config: @sdk_configuration,
|
|
@@ -406,7 +406,7 @@ module Clerk
|
|
|
406
406
|
error = nil
|
|
407
407
|
http_response = nil
|
|
408
408
|
|
|
409
|
-
|
|
409
|
+
|
|
410
410
|
begin
|
|
411
411
|
http_response = connection.get(url) do |req|
|
|
412
412
|
req.headers.merge!(headers)
|
|
@@ -442,13 +442,13 @@ module Clerk
|
|
|
442
442
|
response: http_response
|
|
443
443
|
)
|
|
444
444
|
end
|
|
445
|
-
|
|
445
|
+
|
|
446
446
|
if http_response.nil?
|
|
447
447
|
raise error if !error.nil?
|
|
448
448
|
raise 'no response'
|
|
449
449
|
end
|
|
450
450
|
end
|
|
451
|
-
|
|
451
|
+
|
|
452
452
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
453
453
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
454
454
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -560,10 +560,10 @@ module Clerk
|
|
|
560
560
|
|
|
561
561
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
562
562
|
timeout ||= @sdk_configuration.timeout
|
|
563
|
-
|
|
563
|
+
|
|
564
564
|
|
|
565
565
|
connection = @sdk_configuration.client.dup
|
|
566
|
-
connection.
|
|
566
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
567
567
|
|
|
568
568
|
hook_ctx = SDKHooks::HookContext.new(
|
|
569
569
|
config: @sdk_configuration,
|
|
@@ -576,7 +576,7 @@ module Clerk
|
|
|
576
576
|
error = nil
|
|
577
577
|
http_response = nil
|
|
578
578
|
|
|
579
|
-
|
|
579
|
+
|
|
580
580
|
begin
|
|
581
581
|
http_response = connection.patch(url) do |req|
|
|
582
582
|
req.body = body
|
|
@@ -613,13 +613,13 @@ module Clerk
|
|
|
613
613
|
response: http_response
|
|
614
614
|
)
|
|
615
615
|
end
|
|
616
|
-
|
|
616
|
+
|
|
617
617
|
if http_response.nil?
|
|
618
618
|
raise error if !error.nil?
|
|
619
619
|
raise 'no response'
|
|
620
620
|
end
|
|
621
621
|
end
|
|
622
|
-
|
|
622
|
+
|
|
623
623
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
624
624
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
625
625
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -719,10 +719,10 @@ module Clerk
|
|
|
719
719
|
|
|
720
720
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
721
721
|
timeout ||= @sdk_configuration.timeout
|
|
722
|
-
|
|
722
|
+
|
|
723
723
|
|
|
724
724
|
connection = @sdk_configuration.client.dup
|
|
725
|
-
connection.
|
|
725
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
726
726
|
|
|
727
727
|
hook_ctx = SDKHooks::HookContext.new(
|
|
728
728
|
config: @sdk_configuration,
|
|
@@ -735,7 +735,7 @@ module Clerk
|
|
|
735
735
|
error = nil
|
|
736
736
|
http_response = nil
|
|
737
737
|
|
|
738
|
-
|
|
738
|
+
|
|
739
739
|
begin
|
|
740
740
|
http_response = connection.delete(url) do |req|
|
|
741
741
|
req.headers.merge!(headers)
|
|
@@ -771,13 +771,13 @@ module Clerk
|
|
|
771
771
|
response: http_response
|
|
772
772
|
)
|
|
773
773
|
end
|
|
774
|
-
|
|
774
|
+
|
|
775
775
|
if http_response.nil?
|
|
776
776
|
raise error if !error.nil?
|
|
777
777
|
raise 'no response'
|
|
778
778
|
end
|
|
779
779
|
end
|
|
780
|
-
|
|
780
|
+
|
|
781
781
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
782
782
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
783
783
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -877,10 +877,10 @@ module Clerk
|
|
|
877
877
|
|
|
878
878
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
879
879
|
timeout ||= @sdk_configuration.timeout
|
|
880
|
-
|
|
880
|
+
|
|
881
881
|
|
|
882
882
|
connection = @sdk_configuration.client.dup
|
|
883
|
-
connection.
|
|
883
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
884
884
|
|
|
885
885
|
hook_ctx = SDKHooks::HookContext.new(
|
|
886
886
|
config: @sdk_configuration,
|
|
@@ -893,7 +893,7 @@ module Clerk
|
|
|
893
893
|
error = nil
|
|
894
894
|
http_response = nil
|
|
895
895
|
|
|
896
|
-
|
|
896
|
+
|
|
897
897
|
begin
|
|
898
898
|
http_response = connection.get(url) do |req|
|
|
899
899
|
req.headers.merge!(headers)
|
|
@@ -929,13 +929,13 @@ module Clerk
|
|
|
929
929
|
response: http_response
|
|
930
930
|
)
|
|
931
931
|
end
|
|
932
|
-
|
|
932
|
+
|
|
933
933
|
if http_response.nil?
|
|
934
934
|
raise error if !error.nil?
|
|
935
935
|
raise 'no response'
|
|
936
936
|
end
|
|
937
937
|
end
|
|
938
|
-
|
|
938
|
+
|
|
939
939
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
940
940
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
941
941
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1047,10 +1047,10 @@ module Clerk
|
|
|
1047
1047
|
|
|
1048
1048
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1049
1049
|
timeout ||= @sdk_configuration.timeout
|
|
1050
|
-
|
|
1050
|
+
|
|
1051
1051
|
|
|
1052
1052
|
connection = @sdk_configuration.client.dup
|
|
1053
|
-
connection.
|
|
1053
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
1054
1054
|
|
|
1055
1055
|
hook_ctx = SDKHooks::HookContext.new(
|
|
1056
1056
|
config: @sdk_configuration,
|
|
@@ -1063,7 +1063,7 @@ module Clerk
|
|
|
1063
1063
|
error = nil
|
|
1064
1064
|
http_response = nil
|
|
1065
1065
|
|
|
1066
|
-
|
|
1066
|
+
|
|
1067
1067
|
begin
|
|
1068
1068
|
http_response = connection.post(url) do |req|
|
|
1069
1069
|
req.body = body
|
|
@@ -1100,13 +1100,13 @@ module Clerk
|
|
|
1100
1100
|
response: http_response
|
|
1101
1101
|
)
|
|
1102
1102
|
end
|
|
1103
|
-
|
|
1103
|
+
|
|
1104
1104
|
if http_response.nil?
|
|
1105
1105
|
raise error if !error.nil?
|
|
1106
1106
|
raise 'no response'
|
|
1107
1107
|
end
|
|
1108
1108
|
end
|
|
1109
|
-
|
|
1109
|
+
|
|
1110
1110
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1111
1111
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1112
1112
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -1209,10 +1209,10 @@ module Clerk
|
|
|
1209
1209
|
|
|
1210
1210
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1211
1211
|
timeout ||= @sdk_configuration.timeout
|
|
1212
|
-
|
|
1212
|
+
|
|
1213
1213
|
|
|
1214
1214
|
connection = @sdk_configuration.client.dup
|
|
1215
|
-
connection.
|
|
1215
|
+
connection.use Utils::RetryMiddleware, retry_options
|
|
1216
1216
|
|
|
1217
1217
|
hook_ctx = SDKHooks::HookContext.new(
|
|
1218
1218
|
config: @sdk_configuration,
|
|
@@ -1225,7 +1225,7 @@ module Clerk
|
|
|
1225
1225
|
error = nil
|
|
1226
1226
|
http_response = nil
|
|
1227
1227
|
|
|
1228
|
-
|
|
1228
|
+
|
|
1229
1229
|
begin
|
|
1230
1230
|
http_response = connection.post(url) do |req|
|
|
1231
1231
|
req.body = body
|
|
@@ -1262,13 +1262,13 @@ module Clerk
|
|
|
1262
1262
|
response: http_response
|
|
1263
1263
|
)
|
|
1264
1264
|
end
|
|
1265
|
-
|
|
1265
|
+
|
|
1266
1266
|
if http_response.nil?
|
|
1267
1267
|
raise error if !error.nil?
|
|
1268
1268
|
raise 'no response'
|
|
1269
1269
|
end
|
|
1270
1270
|
end
|
|
1271
|
-
|
|
1271
|
+
|
|
1272
1272
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1273
1273
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
1274
1274
|
if Utils.match_content_type(content_type, 'application/json')
|