clerk-http-client 1.0.0 → 2.0.0.beta2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +155 -191
  4. data/clerk-http-client.gemspec +1 -1
  5. data/docs/ActorTokensApi.md +26 -26
  6. data/docs/AllowListBlockListApi.md +72 -74
  7. data/docs/BetaFeaturesApi.md +42 -41
  8. data/docs/ClientsApi.md +36 -37
  9. data/docs/CreateBulkInvitationsRequestInner.md +28 -0
  10. data/docs/CreateInvitationRequest.md +6 -4
  11. data/docs/{CreateOAuthApplicationRequest.md → CreateOauthApplicationRequest.md} +1 -1
  12. data/docs/CreateOrganizationInvitationBulkRequestInner.md +2 -2
  13. data/docs/CreateOrganizationInvitationRequest.md +5 -3
  14. data/docs/CreateOrganizationRequest.md +3 -3
  15. data/docs/CreateSAMLConnectionRequest.md +2 -0
  16. data/docs/CreateSessionRequest.md +18 -0
  17. data/docs/CreateSessionToken200Response.md +20 -0
  18. data/docs/CreateSessionTokenFromTemplateRequest.md +18 -0
  19. data/docs/CreateSessionTokenRequest.md +18 -0
  20. data/docs/CreateUserRequest.md +3 -3
  21. data/docs/CreateWaitlistEntryRequest.md +20 -0
  22. data/docs/DomainsApi.md +46 -48
  23. data/docs/EmailAddress.md +2 -0
  24. data/docs/EmailAddressVerification.md +3 -3
  25. data/docs/EmailAddressesApi.md +52 -52
  26. data/docs/EmailSMSTemplatesApi.md +60 -66
  27. data/docs/FromOauth.md +26 -0
  28. data/docs/FromOauthError.md +47 -0
  29. data/docs/{GetOAuthAccessToken200ResponseInner.md → GetOauthAccessToken200ResponseInner.md} +4 -2
  30. data/docs/Instance.md +24 -0
  31. data/docs/InstanceSettingsApi.md +114 -45
  32. data/docs/Invitation.md +1 -1
  33. data/docs/InvitationsApi.md +110 -38
  34. data/docs/JWKS.md +18 -0
  35. data/docs/JWKSApi.md +14 -15
  36. data/docs/JWKSKeysInner.md +32 -0
  37. data/docs/JWTTemplatesApi.md +62 -63
  38. data/docs/ListWaitlistEntries200Response.md +20 -0
  39. data/docs/MergeOrganizationMetadataRequest.md +2 -2
  40. data/docs/MiscellaneousApi.md +11 -7
  41. data/docs/{OAuthApplication.md → OauthApplication.md} +4 -0
  42. data/docs/{OAuthApplicationWithSecret.md → OauthApplicationWithSecret.md} +4 -0
  43. data/docs/{OAuthApplicationsApi.md → OauthApplicationsApi.md} +90 -94
  44. data/docs/Organization.md +2 -2
  45. data/docs/OrganizationDomainApi.md +15 -13
  46. data/docs/OrganizationDomainsApi.md +103 -33
  47. data/docs/OrganizationInvitation.md +6 -2
  48. data/docs/OrganizationInvitationWithPublicOrganizationData.md +4 -2
  49. data/docs/OrganizationInvitationsApi.md +76 -81
  50. data/docs/OrganizationMembership.md +2 -2
  51. data/docs/OrganizationMembershipsApi.md +66 -70
  52. data/docs/OrganizationWithLogo.md +2 -2
  53. data/docs/OrganizationsApi.md +87 -93
  54. data/docs/PhoneNumbersApi.md +52 -52
  55. data/docs/ProxyChecksApi.md +16 -15
  56. data/docs/{RedirectURLsApi.md → RedirectUrlsApi.md} +46 -48
  57. data/docs/RevokeInvitation200Response.md +1 -1
  58. data/docs/SAML.md +1 -1
  59. data/docs/SAMLAccount.md +1 -1
  60. data/docs/SAMLConnectionsApi.md +59 -60
  61. data/docs/SchemasSAMLConnection.md +2 -0
  62. data/docs/SessionsApi.md +203 -60
  63. data/docs/SignInTokensApi.md +26 -26
  64. data/docs/SignUp.md +4 -2
  65. data/docs/SignUpsApi.md +16 -15
  66. data/docs/TestingTokensApi.md +11 -12
  67. data/docs/UpdateOrganizationMembershipMetadataRequest.md +2 -2
  68. data/docs/UpdateOrganizationRequest.md +2 -2
  69. data/docs/UpdateSAMLConnectionRequest.md +2 -0
  70. data/docs/UpdateUserRequest.md +3 -3
  71. data/docs/User.md +3 -3
  72. data/docs/UsersApi.md +297 -294
  73. data/docs/WaitlistEntriesApi.md +157 -0
  74. data/docs/WaitlistEntry.md +32 -0
  75. data/docs/WaitlistEntryInvitation.md +36 -0
  76. data/docs/WebhooksApi.md +30 -33
  77. data/lib/clerk-http-client/api/actor_tokens_api.rb +10 -14
  78. data/lib/clerk-http-client/api/allow_list_block_list_api.rb +25 -33
  79. data/lib/clerk-http-client/api/beta_features_api.rb +13 -21
  80. data/lib/clerk-http-client/api/clients_api.rb +13 -17
  81. data/lib/clerk-http-client/api/domains_api.rb +16 -20
  82. data/lib/clerk-http-client/api/email_addresses_api.rb +19 -27
  83. data/lib/clerk-http-client/api/email_sms_templates_api.rb +19 -19
  84. data/lib/clerk-http-client/api/instance_settings_api.rb +78 -31
  85. data/lib/clerk-http-client/api/invitations_api.rb +82 -17
  86. data/lib/clerk-http-client/api/jwks_api.rb +7 -7
  87. data/lib/clerk-http-client/api/jwt_templates_api.rb +22 -30
  88. data/lib/clerk-http-client/api/miscellaneous_api.rb +4 -4
  89. data/lib/clerk-http-client/api/{o_auth_applications_api.rb → oauth_applications_api.rb} +53 -57
  90. data/lib/clerk-http-client/api/organization_domains_api.rb +92 -10
  91. data/lib/clerk-http-client/api/organization_invitations_api.rb +25 -29
  92. data/lib/clerk-http-client/api/organization_memberships_api.rb +22 -26
  93. data/lib/clerk-http-client/api/organizations_api.rb +30 -34
  94. data/lib/clerk-http-client/api/phone_numbers_api.rb +19 -27
  95. data/lib/clerk-http-client/api/proxy_checks_api.rb +7 -11
  96. data/lib/clerk-http-client/api/redirect_urls_api.rb +16 -20
  97. data/lib/clerk-http-client/api/saml_connections_api.rb +22 -23
  98. data/lib/clerk-http-client/api/sessions_api.rb +165 -20
  99. data/lib/clerk-http-client/api/sign_in_tokens_api.rb +10 -14
  100. data/lib/clerk-http-client/api/sign_ups_api.rb +7 -11
  101. data/lib/clerk-http-client/api/testing_tokens_api.rb +6 -6
  102. data/lib/clerk-http-client/api/users_api.rb +149 -92
  103. data/lib/clerk-http-client/api/waitlist_entries_api.rb +178 -0
  104. data/lib/clerk-http-client/api/webhooks_api.rb +10 -10
  105. data/lib/clerk-http-client/api_client.rb +1 -1
  106. data/lib/clerk-http-client/api_error.rb +1 -1
  107. data/lib/clerk-http-client/configuration.rb +1 -1
  108. data/lib/clerk-http-client/models/actor_token.rb +2 -1
  109. data/lib/clerk-http-client/models/add_domain_request.rb +2 -1
  110. data/lib/clerk-http-client/models/admin.rb +2 -1
  111. data/lib/clerk-http-client/models/allowlist_identifier.rb +2 -1
  112. data/lib/clerk-http-client/models/blocklist_identifier.rb +2 -1
  113. data/lib/clerk-http-client/models/blocklist_identifiers.rb +2 -1
  114. data/lib/clerk-http-client/models/change_production_instance_domain_request.rb +2 -1
  115. data/lib/clerk-http-client/models/clerk_error.rb +2 -1
  116. data/lib/clerk-http-client/models/clerk_errors.rb +2 -1
  117. data/lib/clerk-http-client/models/client.rb +2 -1
  118. data/lib/clerk-http-client/models/{c_name_target.rb → cname_target.rb} +2 -1
  119. data/lib/clerk-http-client/models/create_actor_token_request.rb +2 -1
  120. data/lib/clerk-http-client/models/create_allowlist_identifier_request.rb +2 -1
  121. data/lib/clerk-http-client/models/create_blocklist_identifier_request.rb +2 -1
  122. data/lib/clerk-http-client/models/create_bulk_invitations_request_inner.rb +306 -0
  123. data/lib/clerk-http-client/models/create_email_address_request.rb +2 -1
  124. data/lib/clerk-http-client/models/create_invitation_request.rb +58 -10
  125. data/lib/clerk-http-client/models/create_jwt_template_request.rb +2 -1
  126. data/lib/clerk-http-client/models/{create_o_auth_application_request.rb → create_oauth_application_request.rb} +2 -8
  127. data/lib/clerk-http-client/models/create_organization_domain_request.rb +2 -1
  128. data/lib/clerk-http-client/models/create_organization_invitation_bulk_request_inner.rb +12 -7
  129. data/lib/clerk-http-client/models/create_organization_invitation_request.rb +51 -11
  130. data/lib/clerk-http-client/models/create_organization_membership_request.rb +2 -1
  131. data/lib/clerk-http-client/models/create_organization_request.rb +10 -12
  132. data/lib/clerk-http-client/models/create_phone_number_request.rb +2 -1
  133. data/lib/clerk-http-client/models/create_redirect_url_request.rb +2 -1
  134. data/lib/clerk-http-client/models/create_saml_connection_request.rb +14 -2
  135. data/lib/clerk-http-client/models/create_saml_connection_request_attribute_mapping.rb +2 -1
  136. data/lib/clerk-http-client/models/create_session_request.rb +216 -0
  137. data/lib/clerk-http-client/models/create_session_token200_response.rb +258 -0
  138. data/lib/clerk-http-client/models/create_session_token_from_template_request.rb +241 -0
  139. data/lib/clerk-http-client/models/create_session_token_request.rb +241 -0
  140. data/lib/clerk-http-client/models/create_sign_in_token_request.rb +2 -1
  141. data/lib/clerk-http-client/models/create_user_request.rb +14 -7
  142. data/lib/clerk-http-client/models/create_waitlist_entry_request.rb +233 -0
  143. data/lib/clerk-http-client/models/deleted_object.rb +2 -1
  144. data/lib/clerk-http-client/models/disable_mfa200_response.rb +2 -1
  145. data/lib/clerk-http-client/models/domain.rb +2 -1
  146. data/lib/clerk-http-client/models/domains.rb +2 -1
  147. data/lib/clerk-http-client/models/email_address.rb +13 -2
  148. data/lib/clerk-http-client/models/email_address_verification.rb +6 -3
  149. data/lib/clerk-http-client/models/from_o_auth.rb +324 -0
  150. data/{resources/templates/partial_anyof_module.mustache → lib/clerk-http-client/models/from_o_auth_error.rb} +29 -19
  151. data/lib/clerk-http-client/models/from_oauth.rb +325 -0
  152. data/{resources/templates/partial_oneof_module.mustache → lib/clerk-http-client/models/from_oauth_error.rb} +24 -54
  153. data/lib/clerk-http-client/models/{get_o_auth_access_token200_response_inner.rb → get_oauth_access_token200_response_inner.rb} +21 -7
  154. data/lib/clerk-http-client/models/identification_link.rb +4 -3
  155. data/lib/clerk-http-client/models/instance.rb +280 -0
  156. data/lib/clerk-http-client/models/instance_restrictions.rb +2 -1
  157. data/lib/clerk-http-client/models/invitation.rb +6 -3
  158. data/lib/clerk-http-client/models/jwks.rb +217 -0
  159. data/lib/clerk-http-client/models/jwks_keys_inner.rb +278 -0
  160. data/lib/clerk-http-client/models/jwt_template.rb +2 -1
  161. data/lib/clerk-http-client/models/list_waitlist_entries200_response.rb +241 -0
  162. data/lib/clerk-http-client/models/merge_organization_metadata_request.rb +10 -5
  163. data/lib/clerk-http-client/models/o_auth_application.rb +34 -2
  164. data/lib/clerk-http-client/models/o_auth_application_with_secret.rb +34 -2
  165. data/lib/clerk-http-client/models/o_auth_applications.rb +1 -1
  166. data/lib/clerk-http-client/models/oauth.rb +2 -2
  167. data/lib/clerk-http-client/models/oauth_application.rb +482 -0
  168. data/lib/clerk-http-client/models/oauth_application_with_secret.rb +499 -0
  169. data/lib/clerk-http-client/models/oauth_applications.rb +241 -0
  170. data/lib/clerk-http-client/models/organization.rb +11 -5
  171. data/lib/clerk-http-client/models/organization_domain.rb +2 -1
  172. data/lib/clerk-http-client/models/organization_domain_verification.rb +2 -1
  173. data/lib/clerk-http-client/models/organization_domains.rb +2 -1
  174. data/lib/clerk-http-client/models/organization_invitation.rb +32 -6
  175. data/lib/clerk-http-client/models/organization_invitation_with_public_organization_data.rb +21 -6
  176. data/lib/clerk-http-client/models/organization_invitation_with_public_organization_data_public_organization_data.rb +2 -1
  177. data/lib/clerk-http-client/models/organization_invitations.rb +2 -1
  178. data/lib/clerk-http-client/models/organization_invitations_with_public_organization_data.rb +2 -1
  179. data/lib/clerk-http-client/models/organization_membership.rb +10 -5
  180. data/lib/clerk-http-client/models/organization_membership_public_user_data.rb +2 -1
  181. data/lib/clerk-http-client/models/organization_memberships.rb +2 -1
  182. data/lib/clerk-http-client/models/organization_settings.rb +2 -1
  183. data/lib/clerk-http-client/models/organization_with_logo.rb +11 -5
  184. data/lib/clerk-http-client/models/organizations.rb +2 -1
  185. data/lib/clerk-http-client/models/otp.rb +2 -1
  186. data/lib/clerk-http-client/models/passkey.rb +2 -1
  187. data/lib/clerk-http-client/models/phone_number.rb +2 -1
  188. data/lib/clerk-http-client/models/phone_number_verification.rb +4 -1
  189. data/lib/clerk-http-client/models/preview_template_request.rb +2 -1
  190. data/lib/clerk-http-client/models/proxy_check.rb +2 -1
  191. data/lib/clerk-http-client/models/redirect_url.rb +2 -1
  192. data/lib/clerk-http-client/models/revoke_invitation200_response.rb +6 -3
  193. data/lib/clerk-http-client/models/revoke_organization_invitation_request.rb +2 -1
  194. data/lib/clerk-http-client/models/saml.rb +3 -2
  195. data/lib/clerk-http-client/models/saml_account.rb +6 -3
  196. data/lib/clerk-http-client/models/saml_account_saml_connection.rb +4 -1
  197. data/lib/clerk-http-client/models/saml_account_verification.rb +4 -1
  198. data/lib/clerk-http-client/models/saml_connection.rb +2 -1
  199. data/lib/clerk-http-client/models/saml_connections.rb +2 -1
  200. data/lib/clerk-http-client/models/schemas_passkey.rb +2 -1
  201. data/lib/clerk-http-client/models/schemas_passkey_verification.rb +4 -1
  202. data/lib/clerk-http-client/models/schemas_saml_connection.rb +13 -2
  203. data/lib/clerk-http-client/models/schemas_saml_connection_attribute_mapping.rb +2 -1
  204. data/lib/clerk-http-client/models/session.rb +2 -1
  205. data/lib/clerk-http-client/models/session_latest_activity.rb +2 -1
  206. data/lib/clerk-http-client/models/sign_in_token.rb +2 -1
  207. data/lib/clerk-http-client/models/sign_up.rb +22 -6
  208. data/lib/clerk-http-client/models/svix_url.rb +2 -1
  209. data/lib/clerk-http-client/models/template.rb +2 -1
  210. data/lib/clerk-http-client/models/testing_token.rb +2 -1
  211. data/lib/clerk-http-client/models/ticket.rb +2 -1
  212. data/lib/clerk-http-client/models/toggle_template_delivery_request.rb +2 -1
  213. data/lib/clerk-http-client/models/total_count.rb +2 -1
  214. data/lib/clerk-http-client/models/totp.rb +2 -1
  215. data/lib/clerk-http-client/models/update_domain_request.rb +2 -1
  216. data/lib/clerk-http-client/models/update_email_address_request.rb +2 -1
  217. data/lib/clerk-http-client/models/update_instance_auth_config200_response.rb +2 -1
  218. data/lib/clerk-http-client/models/update_instance_auth_config_request.rb +2 -1
  219. data/lib/clerk-http-client/models/update_instance_organization_settings_request.rb +2 -1
  220. data/lib/clerk-http-client/models/update_instance_request.rb +2 -1
  221. data/lib/clerk-http-client/models/update_instance_restrictions_request.rb +2 -1
  222. data/lib/clerk-http-client/models/{update_o_auth_application_request.rb → update_oauth_application_request.rb} +2 -1
  223. data/lib/clerk-http-client/models/update_organization_domain_request.rb +2 -1
  224. data/lib/clerk-http-client/models/update_organization_membership_metadata_request.rb +10 -5
  225. data/lib/clerk-http-client/models/update_organization_membership_request.rb +2 -1
  226. data/lib/clerk-http-client/models/update_organization_request.rb +10 -5
  227. data/lib/clerk-http-client/models/update_phone_number_request.rb +2 -1
  228. data/lib/clerk-http-client/models/update_production_instance_domain_request.rb +2 -1
  229. data/lib/clerk-http-client/models/update_saml_connection_request.rb +14 -2
  230. data/lib/clerk-http-client/models/update_saml_connection_request_attribute_mapping.rb +2 -1
  231. data/lib/clerk-http-client/models/update_sign_up_request.rb +2 -1
  232. data/lib/clerk-http-client/models/update_user_metadata_request.rb +2 -1
  233. data/lib/clerk-http-client/models/update_user_request.rb +14 -7
  234. data/lib/clerk-http-client/models/upsert_template_request.rb +2 -1
  235. data/lib/clerk-http-client/models/user.rb +14 -7
  236. data/lib/clerk-http-client/models/verify_client_request.rb +2 -1
  237. data/lib/clerk-http-client/models/verify_domain_proxy_request.rb +2 -1
  238. data/lib/clerk-http-client/models/verify_password200_response.rb +2 -1
  239. data/lib/clerk-http-client/models/verify_password_request.rb +2 -1
  240. data/lib/clerk-http-client/models/verify_session_request.rb +2 -1
  241. data/lib/clerk-http-client/models/verify_totp200_response.rb +2 -1
  242. data/lib/clerk-http-client/models/verify_totp_request.rb +2 -1
  243. data/lib/clerk-http-client/models/waitlist_entry.rb +370 -0
  244. data/lib/clerk-http-client/models/waitlist_entry_invitation.rb +397 -0
  245. data/lib/clerk-http-client/models/web3_signature.rb +4 -3
  246. data/lib/clerk-http-client/models/web3_wallet.rb +2 -1
  247. data/lib/clerk-http-client/models/web3_wallet_verification.rb +4 -1
  248. data/lib/clerk-http-client/version.rb +1 -1
  249. data/lib/clerk-http-client.rb +56 -59
  250. data/spec/api/actor_tokens_api_spec.rb +1 -1
  251. data/spec/api/allow_list_block_list_api_spec.rb +2 -2
  252. data/spec/api/beta_features_api_spec.rb +2 -2
  253. data/spec/api/clients_api_spec.rb +1 -1
  254. data/spec/api/domains_api_spec.rb +1 -1
  255. data/spec/api/email_addresses_api_spec.rb +2 -2
  256. data/spec/api/instance_settings_api_spec.rb +3 -3
  257. data/spec/api/invitations_api_spec.rb +1 -1
  258. data/spec/api/jwt_templates_api_spec.rb +2 -2
  259. data/spec/api/{o_auth_applications_api_spec.rb → oauth_applications_api_spec.rb} +15 -15
  260. data/spec/api/organizations_api_spec.rb +1 -1
  261. data/spec/api/phone_numbers_api_spec.rb +2 -2
  262. data/spec/api/proxy_checks_api_spec.rb +1 -1
  263. data/spec/api/redirect_urls_api_spec.rb +1 -1
  264. data/spec/api/saml_connections_api_spec.rb +1 -1
  265. data/spec/api/sign_in_tokens_api_spec.rb +1 -1
  266. data/spec/api/sign_ups_api_spec.rb +1 -1
  267. data/spec/api/users_api_spec.rb +3 -3
  268. data/spec/api/waitlist_entries_api_spec.rb +63 -0
  269. data/spec/models/cname_target_spec.rb +48 -0
  270. data/spec/models/create_bulk_invitations_request_inner_spec.rb +66 -0
  271. data/spec/models/create_oauth_application_request_spec.rb +54 -0
  272. data/spec/models/create_session_request_spec.rb +36 -0
  273. data/spec/models/create_session_token200_response_spec.rb +46 -0
  274. data/spec/models/create_session_token_from_template_request_spec.rb +36 -0
  275. data/spec/models/create_session_token_request_spec.rb +36 -0
  276. data/spec/models/create_waitlist_entry_request_spec.rb +42 -0
  277. data/spec/models/from_o_auth_error_spec.rb +32 -0
  278. data/spec/models/from_o_auth_spec.rb +64 -0
  279. data/spec/models/from_oauth_error_spec.rb +32 -0
  280. data/spec/models/from_oauth_spec.rb +64 -0
  281. data/spec/models/get_oauth_access_token200_response_inner_spec.rb +90 -0
  282. data/spec/models/identification_link_spec.rb +1 -1
  283. data/spec/models/instance_spec.rb +58 -0
  284. data/spec/models/jwks_keys_inner_spec.rb +78 -0
  285. data/spec/models/jwks_spec.rb +36 -0
  286. data/spec/models/list_waitlist_entries200_response_spec.rb +42 -0
  287. data/spec/models/oauth_application_spec.rb +124 -0
  288. data/spec/models/oauth_application_with_secret_spec.rb +130 -0
  289. data/spec/models/oauth_applications_spec.rb +42 -0
  290. data/spec/models/oauth_spec.rb +1 -1
  291. data/spec/models/update_oauth_application_request_spec.rb +48 -0
  292. data/spec/models/waitlist_entry_invitation_spec.rb +98 -0
  293. data/spec/models/waitlist_entry_spec.rb +86 -0
  294. data/spec/spec_helper.rb +1 -1
  295. metadata +104 -65
  296. data/bin/fmt +0 -5
  297. data/bin/generate +0 -8
  298. data/bin/setup +0 -7
  299. data/openapitools.json +0 -7
  300. data/pkg/clerk-http-client-1.0.0.gem +0 -0
  301. data/resources/.DS_Store +0 -0
  302. data/resources/oas/bapi-2024-10-01.yml +0 -7238
  303. data/resources/templates/Gemfile.mustache +0 -9
  304. data/resources/templates/README.mustache +0 -163
  305. data/resources/templates/Rakefile.mustache +0 -10
  306. data/resources/templates/api.mustache +0 -257
  307. data/resources/templates/api_client.mustache +0 -246
  308. data/resources/templates/api_client_faraday_partial.mustache +0 -200
  309. data/resources/templates/api_client_httpx_partial.mustache +0 -134
  310. data/resources/templates/api_client_typhoeus_partial.mustache +0 -161
  311. data/resources/templates/api_doc.mustache +0 -132
  312. data/resources/templates/api_error.mustache +0 -50
  313. data/resources/templates/api_info.mustache +0 -12
  314. data/resources/templates/api_test.mustache +0 -47
  315. data/resources/templates/base_object.mustache +0 -114
  316. data/resources/templates/configuration.mustache +0 -491
  317. data/resources/templates/configuration_faraday_partial.mustache +0 -40
  318. data/resources/templates/configuration_httpx_partial.mustache +0 -11
  319. data/resources/templates/configuration_typhoeus_partial.mustache +0 -41
  320. data/resources/templates/gem.mustache +0 -89
  321. data/resources/templates/gemspec.mustache +0 -41
  322. data/resources/templates/git_push.sh.mustache +0 -57
  323. data/resources/templates/gitignore.mustache +0 -39
  324. data/resources/templates/gitlab-ci.mustache +0 -26
  325. data/resources/templates/model.mustache +0 -33
  326. data/resources/templates/model_doc.mustache +0 -12
  327. data/resources/templates/model_test.mustache +0 -82
  328. data/resources/templates/partial_model_enum_class.mustache +0 -23
  329. data/resources/templates/partial_model_generic.mustache +0 -377
  330. data/resources/templates/partial_model_generic_doc.mustache +0 -28
  331. data/resources/templates/partial_oneof_module_doc.mustache +0 -93
  332. data/resources/templates/rspec.mustache +0 -2
  333. data/resources/templates/rubocop.mustache +0 -148
  334. data/resources/templates/spec_helper.mustache +0 -103
  335. data/resources/templates/travis.mustache +0 -11
  336. data/resources/templates/version.mustache +0 -7
  337. data/sdk-generator-config.json +0 -25
  338. /data/docs/{CNameTarget.md → CnameTarget.md} +0 -0
  339. /data/docs/{CreateRedirectURLRequest.md → CreateRedirectUrlRequest.md} +0 -0
  340. /data/docs/{OAuthApplications.md → OauthApplications.md} +0 -0
  341. /data/docs/{RedirectURL.md → RedirectUrl.md} +0 -0
  342. /data/docs/{SvixURL.md → SvixUrl.md} +0 -0
  343. /data/docs/{UpdateOAuthApplicationRequest.md → UpdateOauthApplicationRequest.md} +0 -0
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
  Contact: support@clerk.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: unset
10
10
 
11
11
  =end
12
12
 
@@ -23,7 +23,7 @@ ClerkHttpClient.autoload :Admin, 'clerk-http-client/models/admin'
23
23
  ClerkHttpClient.autoload :AllowlistIdentifier, 'clerk-http-client/models/allowlist_identifier'
24
24
  ClerkHttpClient.autoload :BlocklistIdentifier, 'clerk-http-client/models/blocklist_identifier'
25
25
  ClerkHttpClient.autoload :BlocklistIdentifiers, 'clerk-http-client/models/blocklist_identifiers'
26
- ClerkHttpClient.autoload :CNameTarget, 'clerk-http-client/models/c_name_target'
26
+ ClerkHttpClient.autoload :CNameTarget, 'clerk-http-client/models/cname_target'
27
27
  ClerkHttpClient.autoload :ChangeProductionInstanceDomainRequest, 'clerk-http-client/models/change_production_instance_domain_request'
28
28
  ClerkHttpClient.autoload :ClerkError, 'clerk-http-client/models/clerk_error'
29
29
  ClerkHttpClient.autoload :ClerkErrors, 'clerk-http-client/models/clerk_errors'
@@ -31,10 +31,11 @@ ClerkHttpClient.autoload :Client, 'clerk-http-client/models/client'
31
31
  ClerkHttpClient.autoload :CreateActorTokenRequest, 'clerk-http-client/models/create_actor_token_request'
32
32
  ClerkHttpClient.autoload :CreateAllowlistIdentifierRequest, 'clerk-http-client/models/create_allowlist_identifier_request'
33
33
  ClerkHttpClient.autoload :CreateBlocklistIdentifierRequest, 'clerk-http-client/models/create_blocklist_identifier_request'
34
+ ClerkHttpClient.autoload :CreateBulkInvitationsRequestInner, 'clerk-http-client/models/create_bulk_invitations_request_inner'
34
35
  ClerkHttpClient.autoload :CreateEmailAddressRequest, 'clerk-http-client/models/create_email_address_request'
35
36
  ClerkHttpClient.autoload :CreateInvitationRequest, 'clerk-http-client/models/create_invitation_request'
36
37
  ClerkHttpClient.autoload :CreateJWTTemplateRequest, 'clerk-http-client/models/create_jwt_template_request'
37
- ClerkHttpClient.autoload :CreateOAuthApplicationRequest, 'clerk-http-client/models/create_o_auth_application_request'
38
+ ClerkHttpClient.autoload :CreateOAuthApplicationRequest, 'clerk-http-client/models/create_oauth_application_request'
38
39
  ClerkHttpClient.autoload :CreateOrganizationDomainRequest, 'clerk-http-client/models/create_organization_domain_request'
39
40
  ClerkHttpClient.autoload :CreateOrganizationInvitationBulkRequestInner, 'clerk-http-client/models/create_organization_invitation_bulk_request_inner'
40
41
  ClerkHttpClient.autoload :CreateOrganizationInvitationRequest, 'clerk-http-client/models/create_organization_invitation_request'
@@ -44,27 +45,35 @@ ClerkHttpClient.autoload :CreatePhoneNumberRequest, 'clerk-http-client/models/cr
44
45
  ClerkHttpClient.autoload :CreateRedirectURLRequest, 'clerk-http-client/models/create_redirect_url_request'
45
46
  ClerkHttpClient.autoload :CreateSAMLConnectionRequest, 'clerk-http-client/models/create_saml_connection_request'
46
47
  ClerkHttpClient.autoload :CreateSAMLConnectionRequestAttributeMapping, 'clerk-http-client/models/create_saml_connection_request_attribute_mapping'
47
- ClerkHttpClient.autoload :CreateSessionTokenFromTemplate200Response, 'clerk-http-client/models/create_session_token_from_template200_response'
48
+ ClerkHttpClient.autoload :CreateSessionRequest, 'clerk-http-client/models/create_session_request'
49
+ ClerkHttpClient.autoload :CreateSessionToken200Response, 'clerk-http-client/models/create_session_token200_response'
50
+ ClerkHttpClient.autoload :CreateSessionTokenFromTemplateRequest, 'clerk-http-client/models/create_session_token_from_template_request'
51
+ ClerkHttpClient.autoload :CreateSessionTokenRequest, 'clerk-http-client/models/create_session_token_request'
48
52
  ClerkHttpClient.autoload :CreateSignInTokenRequest, 'clerk-http-client/models/create_sign_in_token_request'
49
53
  ClerkHttpClient.autoload :CreateUserRequest, 'clerk-http-client/models/create_user_request'
54
+ ClerkHttpClient.autoload :CreateWaitlistEntryRequest, 'clerk-http-client/models/create_waitlist_entry_request'
50
55
  ClerkHttpClient.autoload :DeletedObject, 'clerk-http-client/models/deleted_object'
51
56
  ClerkHttpClient.autoload :DisableMFA200Response, 'clerk-http-client/models/disable_mfa200_response'
52
57
  ClerkHttpClient.autoload :Domain, 'clerk-http-client/models/domain'
53
58
  ClerkHttpClient.autoload :Domains, 'clerk-http-client/models/domains'
54
59
  ClerkHttpClient.autoload :EmailAddress, 'clerk-http-client/models/email_address'
55
60
  ClerkHttpClient.autoload :EmailAddressVerification, 'clerk-http-client/models/email_address_verification'
56
- ClerkHttpClient.autoload :GetOAuthAccessToken200ResponseInner, 'clerk-http-client/models/get_o_auth_access_token200_response_inner'
61
+ ClerkHttpClient.autoload :FromOAuth, 'clerk-http-client/models/from_oauth'
62
+ ClerkHttpClient.autoload :FromOAuthError, 'clerk-http-client/models/from_oauth_error'
63
+ ClerkHttpClient.autoload :GetOAuthAccessToken200ResponseInner, 'clerk-http-client/models/get_oauth_access_token200_response_inner'
57
64
  ClerkHttpClient.autoload :IdentificationLink, 'clerk-http-client/models/identification_link'
65
+ ClerkHttpClient.autoload :Instance, 'clerk-http-client/models/instance'
58
66
  ClerkHttpClient.autoload :InstanceRestrictions, 'clerk-http-client/models/instance_restrictions'
59
67
  ClerkHttpClient.autoload :Invitation, 'clerk-http-client/models/invitation'
68
+ ClerkHttpClient.autoload :JWKS, 'clerk-http-client/models/jwks'
69
+ ClerkHttpClient.autoload :JWKSKeysInner, 'clerk-http-client/models/jwks_keys_inner'
60
70
  ClerkHttpClient.autoload :JWTTemplate, 'clerk-http-client/models/jwt_template'
71
+ ClerkHttpClient.autoload :ListWaitlistEntries200Response, 'clerk-http-client/models/list_waitlist_entries200_response'
61
72
  ClerkHttpClient.autoload :MergeOrganizationMetadataRequest, 'clerk-http-client/models/merge_organization_metadata_request'
62
- ClerkHttpClient.autoload :OAuthApplication, 'clerk-http-client/models/o_auth_application'
63
- ClerkHttpClient.autoload :OAuthApplicationWithSecret, 'clerk-http-client/models/o_auth_application_with_secret'
64
- ClerkHttpClient.autoload :OAuthApplications, 'clerk-http-client/models/o_auth_applications'
73
+ ClerkHttpClient.autoload :OAuthApplication, 'clerk-http-client/models/oauth_application'
74
+ ClerkHttpClient.autoload :OAuthApplicationWithSecret, 'clerk-http-client/models/oauth_application_with_secret'
75
+ ClerkHttpClient.autoload :OAuthApplications, 'clerk-http-client/models/oauth_applications'
65
76
  ClerkHttpClient.autoload :OTP, 'clerk-http-client/models/otp'
66
- ClerkHttpClient.autoload :Oauth, 'clerk-http-client/models/oauth'
67
- ClerkHttpClient.autoload :OauthError, 'clerk-http-client/models/oauth_error'
68
77
  ClerkHttpClient.autoload :Organization, 'clerk-http-client/models/organization'
69
78
  ClerkHttpClient.autoload :OrganizationDomain, 'clerk-http-client/models/organization_domain'
70
79
  ClerkHttpClient.autoload :OrganizationDomainVerification, 'clerk-http-client/models/organization_domain_verification'
@@ -116,7 +125,7 @@ ClerkHttpClient.autoload :UpdateInstanceAuthConfigRequest, 'clerk-http-client/mo
116
125
  ClerkHttpClient.autoload :UpdateInstanceOrganizationSettingsRequest, 'clerk-http-client/models/update_instance_organization_settings_request'
117
126
  ClerkHttpClient.autoload :UpdateInstanceRequest, 'clerk-http-client/models/update_instance_request'
118
127
  ClerkHttpClient.autoload :UpdateInstanceRestrictionsRequest, 'clerk-http-client/models/update_instance_restrictions_request'
119
- ClerkHttpClient.autoload :UpdateOAuthApplicationRequest, 'clerk-http-client/models/update_o_auth_application_request'
128
+ ClerkHttpClient.autoload :UpdateOAuthApplicationRequest, 'clerk-http-client/models/update_oauth_application_request'
120
129
  ClerkHttpClient.autoload :UpdateOrganizationDomainRequest, 'clerk-http-client/models/update_organization_domain_request'
121
130
  ClerkHttpClient.autoload :UpdateOrganizationMembershipMetadataRequest, 'clerk-http-client/models/update_organization_membership_metadata_request'
122
131
  ClerkHttpClient.autoload :UpdateOrganizationMembershipRequest, 'clerk-http-client/models/update_organization_membership_request'
@@ -137,11 +146,10 @@ ClerkHttpClient.autoload :VerifyPasswordRequest, 'clerk-http-client/models/verif
137
146
  ClerkHttpClient.autoload :VerifySessionRequest, 'clerk-http-client/models/verify_session_request'
138
147
  ClerkHttpClient.autoload :VerifyTOTP200Response, 'clerk-http-client/models/verify_totp200_response'
139
148
  ClerkHttpClient.autoload :VerifyTOTPRequest, 'clerk-http-client/models/verify_totp_request'
149
+ ClerkHttpClient.autoload :WaitlistEntry, 'clerk-http-client/models/waitlist_entry'
140
150
  ClerkHttpClient.autoload :Web3Signature, 'clerk-http-client/models/web3_signature'
141
151
  ClerkHttpClient.autoload :Web3Wallet, 'clerk-http-client/models/web3_wallet'
142
152
  ClerkHttpClient.autoload :Web3WalletVerification, 'clerk-http-client/models/web3_wallet_verification'
143
- ClerkHttpClient.autoload :WellKnownJWKS, 'clerk-http-client/models/well_known_jwks'
144
- ClerkHttpClient.autoload :WellKnownJWKSKeysInner, 'clerk-http-client/models/well_known_jwks_keys_inner'
145
153
 
146
154
  # APIs
147
155
  ClerkHttpClient.autoload :ActorTokensApi, 'clerk-http-client/api/actor_tokens_api'
@@ -156,8 +164,7 @@ ClerkHttpClient.autoload :InvitationsApi, 'clerk-http-client/api/invitations_api
156
164
  ClerkHttpClient.autoload :JWKSApi, 'clerk-http-client/api/jwks_api'
157
165
  ClerkHttpClient.autoload :JWTTemplatesApi, 'clerk-http-client/api/jwt_templates_api'
158
166
  ClerkHttpClient.autoload :MiscellaneousApi, 'clerk-http-client/api/miscellaneous_api'
159
- ClerkHttpClient.autoload :OAuthApplicationsApi, 'clerk-http-client/api/o_auth_applications_api'
160
- ClerkHttpClient.autoload :OrganizationDomainApi, 'clerk-http-client/api/organization_domain_api'
167
+ ClerkHttpClient.autoload :OAuthApplicationsApi, 'clerk-http-client/api/oauth_applications_api'
161
168
  ClerkHttpClient.autoload :OrganizationDomainsApi, 'clerk-http-client/api/organization_domains_api'
162
169
  ClerkHttpClient.autoload :OrganizationInvitationsApi, 'clerk-http-client/api/organization_invitations_api'
163
170
  ClerkHttpClient.autoload :OrganizationMembershipsApi, 'clerk-http-client/api/organization_memberships_api'
@@ -171,15 +178,13 @@ ClerkHttpClient.autoload :SignInTokensApi, 'clerk-http-client/api/sign_in_tokens
171
178
  ClerkHttpClient.autoload :SignUpsApi, 'clerk-http-client/api/sign_ups_api'
172
179
  ClerkHttpClient.autoload :TestingTokensApi, 'clerk-http-client/api/testing_tokens_api'
173
180
  ClerkHttpClient.autoload :UsersApi, 'clerk-http-client/api/users_api'
181
+ ClerkHttpClient.autoload :WaitlistEntriesApi, 'clerk-http-client/api/waitlist_entries_api'
174
182
  ClerkHttpClient.autoload :WebhooksApi, 'clerk-http-client/api/webhooks_api'
175
183
 
176
184
  module ClerkHttpClient
185
+ module Models; end
186
+
177
187
  class << self
178
- # Customize default settings for the SDK using block.
179
- # ClerkHttpClient.configure do |config|
180
- # config.username = "xxx"
181
- # config.password = "xxx"
182
- # end
183
188
  # If no block given, return the default Configuration object.
184
189
  def configure
185
190
  if block_given?
@@ -195,125 +200,117 @@ module ClerkHttpClient
195
200
 
196
201
  def initialize(config = Configuration.default)
197
202
  @config = config
198
- api_suffix = 'api'
199
-
200
- methods.each do |m|
201
- next unless m.end_with?(api_suffix)
202
-
203
- alias_name = m.to_s.delete_suffix(api_suffix)
204
- self.class.send(:alias_method, alias_name.to_sym, m)
205
- end
206
203
  end
207
204
 
208
- def actortokensapi
205
+ def actor_tokens
209
206
  ClerkHttpClient::ActorTokensApi.new
210
207
  end
211
208
 
212
- def allowlistblocklistapi
209
+ def allow_list_block_list
213
210
  ClerkHttpClient::AllowListBlockListApi.new
214
211
  end
215
212
 
216
- def betafeaturesapi
213
+ def beta_features
217
214
  ClerkHttpClient::BetaFeaturesApi.new
218
215
  end
219
216
 
220
- def clientsapi
217
+ def clients
221
218
  ClerkHttpClient::ClientsApi.new
222
219
  end
223
220
 
224
- def domainsapi
221
+ def domains
225
222
  ClerkHttpClient::DomainsApi.new
226
223
  end
227
224
 
228
- def emailaddressesapi
225
+ def email_addresses
229
226
  ClerkHttpClient::EmailAddressesApi.new
230
227
  end
231
228
 
232
- def emailsmstemplatesapi
229
+ def email_sms_templates
233
230
  ClerkHttpClient::EmailSMSTemplatesApi.new
234
231
  end
235
232
 
236
- def instancesettingsapi
233
+ def instance_settings
237
234
  ClerkHttpClient::InstanceSettingsApi.new
238
235
  end
239
236
 
240
- def invitationsapi
237
+ def invitations
241
238
  ClerkHttpClient::InvitationsApi.new
242
239
  end
243
240
 
244
- def jwksapi
241
+ def jwks
245
242
  ClerkHttpClient::JWKSApi.new
246
243
  end
247
244
 
248
- def jwttemplatesapi
245
+ def jwt_templates
249
246
  ClerkHttpClient::JWTTemplatesApi.new
250
247
  end
251
248
 
252
- def miscellaneousapi
249
+ def miscellaneous
253
250
  ClerkHttpClient::MiscellaneousApi.new
254
251
  end
255
252
 
256
- def oauthapplicationsapi
253
+ def oauth_applications
257
254
  ClerkHttpClient::OAuthApplicationsApi.new
258
255
  end
259
256
 
260
- def organizationdomainapi
261
- ClerkHttpClient::OrganizationDomainApi.new
262
- end
263
-
264
- def organizationdomainsapi
257
+ def organization_domains
265
258
  ClerkHttpClient::OrganizationDomainsApi.new
266
259
  end
267
260
 
268
- def organizationinvitationsapi
261
+ def organization_invitations
269
262
  ClerkHttpClient::OrganizationInvitationsApi.new
270
263
  end
271
264
 
272
- def organizationmembershipsapi
265
+ def organization_memberships
273
266
  ClerkHttpClient::OrganizationMembershipsApi.new
274
267
  end
275
268
 
276
- def organizationsapi
269
+ def organizations
277
270
  ClerkHttpClient::OrganizationsApi.new
278
271
  end
279
272
 
280
- def phonenumbersapi
273
+ def phone_numbers
281
274
  ClerkHttpClient::PhoneNumbersApi.new
282
275
  end
283
276
 
284
- def proxychecksapi
277
+ def proxy_checks
285
278
  ClerkHttpClient::ProxyChecksApi.new
286
279
  end
287
280
 
288
- def redirecturlsapi
281
+ def redirect_urls
289
282
  ClerkHttpClient::RedirectURLsApi.new
290
283
  end
291
284
 
292
- def samlconnectionsapi
285
+ def saml_connections
293
286
  ClerkHttpClient::SAMLConnectionsApi.new
294
287
  end
295
288
 
296
- def sessionsapi
289
+ def sessions
297
290
  ClerkHttpClient::SessionsApi.new
298
291
  end
299
292
 
300
- def signintokensapi
293
+ def sign_in_tokens
301
294
  ClerkHttpClient::SignInTokensApi.new
302
295
  end
303
296
 
304
- def signupsapi
297
+ def sign_ups
305
298
  ClerkHttpClient::SignUpsApi.new
306
299
  end
307
300
 
308
- def testingtokensapi
301
+ def testing_tokens
309
302
  ClerkHttpClient::TestingTokensApi.new
310
303
  end
311
304
 
312
- def usersapi
305
+ def users
313
306
  ClerkHttpClient::UsersApi.new
314
307
  end
315
308
 
316
- def webhooksapi
309
+ def waitlist_entries
310
+ ClerkHttpClient::WaitlistEntriesApi.new
311
+ end
312
+
313
+ def webhooks
317
314
  ClerkHttpClient::WebhooksApi.new
318
315
  end
319
316
 
@@ -35,8 +35,8 @@ describe 'ActorTokensApi' do
35
35
  # unit tests for create_actor_token
36
36
  # Create actor token
37
37
  # Create an actor token that can be used to impersonate the given user. The &#x60;actor&#x60; parameter needs to include at least a \&quot;sub\&quot; key whose value is the ID of the actor (impersonating) user.
38
- # @param create_actor_token_request
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [CreateActorTokenRequest] :create_actor_token_request
40
40
  # @return [ActorToken]
41
41
  describe 'create_actor_token test' do
42
42
  it 'should work' do
@@ -35,8 +35,8 @@ describe 'AllowListBlockListApi' do
35
35
  # unit tests for create_allowlist_identifier
36
36
  # Add identifier to the allow-list
37
37
  # Create an identifier allowed to sign up to an instance
38
- # @param create_allowlist_identifier_request
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [CreateAllowlistIdentifierRequest] :create_allowlist_identifier_request
40
40
  # @return [AllowlistIdentifier]
41
41
  describe 'create_allowlist_identifier test' do
42
42
  it 'should work' do
@@ -47,8 +47,8 @@ describe 'AllowListBlockListApi' do
47
47
  # unit tests for create_blocklist_identifier
48
48
  # Add identifier to the block-list
49
49
  # Create an identifier that is blocked from accessing an instance
50
- # @param create_blocklist_identifier_request
51
50
  # @param [Hash] opts the optional parameters
51
+ # @option opts [CreateBlocklistIdentifierRequest] :create_blocklist_identifier_request
52
52
  # @return [BlocklistIdentifier]
53
53
  describe 'create_blocklist_identifier test' do
54
54
  it 'should work' do
@@ -35,8 +35,8 @@ describe 'BetaFeaturesApi' do
35
35
  # unit tests for change_production_instance_domain
36
36
  # Update production instance domain
37
37
  # Change the domain of a production instance. Changing the domain requires updating the [DNS records](https://clerk.com/docs/deployments/overview#dns-records) accordingly, deploying new [SSL certificates](https://clerk.com/docs/deployments/overview#deploy), updating your Social Connection&#39;s redirect URLs and setting the new keys in your code. WARNING: Changing your domain will invalidate all current user sessions (i.e. users will be logged out). Also, while your application is being deployed, a small downtime is expected to occur.
38
- # @param change_production_instance_domain_request
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [ChangeProductionInstanceDomainRequest] :change_production_instance_domain_request
40
40
  # @return [nil]
41
41
  describe 'change_production_instance_domain test' do
42
42
  it 'should work' do
@@ -47,8 +47,8 @@ describe 'BetaFeaturesApi' do
47
47
  # unit tests for update_instance_auth_config
48
48
  # Update instance settings
49
49
  # Updates the settings of an instance
50
- # @param update_instance_auth_config_request
51
50
  # @param [Hash] opts the optional parameters
51
+ # @option opts [UpdateInstanceAuthConfigRequest] :update_instance_auth_config_request
52
52
  # @return [UpdateInstanceAuthConfig200Response]
53
53
  describe 'update_instance_auth_config test' do
54
54
  it 'should work' do
@@ -60,8 +60,8 @@ describe 'ClientsApi' do
60
60
  # unit tests for verify_client
61
61
  # Verify a client
62
62
  # Verifies the client in the provided token
63
- # @param verify_client_request
64
63
  # @param [Hash] opts the optional parameters
64
+ # @option opts [VerifyClientRequest] :verify_client_request Parameters.
65
65
  # @return [Client]
66
66
  describe 'verify_client test' do
67
67
  it 'should work' do
@@ -35,8 +35,8 @@ describe 'DomainsApi' do
35
35
  # unit tests for add_domain
36
36
  # Add a domain
37
37
  # Add a new domain for your instance. Useful in the case of multi-domain instances, allows adding satellite domains to an instance. The new domain must have a &#x60;name&#x60;. The domain name can contain the port for development instances, like &#x60;localhost:3000&#x60;. At the moment, instances can have only one primary domain, so the &#x60;is_satellite&#x60; parameter must be set to &#x60;true&#x60;. If you&#39;re planning to configure the new satellite domain to run behind a proxy, pass the &#x60;proxy_url&#x60; parameter accordingly.
38
- # @param add_domain_request
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [AddDomainRequest] :add_domain_request
40
40
  # @return [Domain]
41
41
  describe 'add_domain test' do
42
42
  it 'should work' do
@@ -35,8 +35,8 @@ describe 'EmailAddressesApi' do
35
35
  # unit tests for create_email_address
36
36
  # Create an email address
37
37
  # Create a new email address
38
- # @param create_email_address_request
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [CreateEmailAddressRequest] :create_email_address_request
40
40
  # @return [EmailAddress]
41
41
  describe 'create_email_address test' do
42
42
  it 'should work' do
@@ -72,8 +72,8 @@ describe 'EmailAddressesApi' do
72
72
  # Update an email address
73
73
  # Updates an email address.
74
74
  # @param email_address_id The ID of the email address to update
75
- # @param update_email_address_request
76
75
  # @param [Hash] opts the optional parameters
76
+ # @option opts [UpdateEmailAddressRequest] :update_email_address_request
77
77
  # @return [EmailAddress]
78
78
  describe 'update_email_address test' do
79
79
  it 'should work' do
@@ -35,8 +35,8 @@ describe 'InstanceSettingsApi' do
35
35
  # unit tests for update_instance
36
36
  # Update instance settings
37
37
  # Updates the settings of an instance
38
- # @param update_instance_request
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [UpdateInstanceRequest] :update_instance_request
40
40
  # @return [nil]
41
41
  describe 'update_instance test' do
42
42
  it 'should work' do
@@ -47,8 +47,8 @@ describe 'InstanceSettingsApi' do
47
47
  # unit tests for update_instance_organization_settings
48
48
  # Update instance organization settings
49
49
  # Updates the organization settings of the instance
50
- # @param update_instance_organization_settings_request
51
50
  # @param [Hash] opts the optional parameters
51
+ # @option opts [UpdateInstanceOrganizationSettingsRequest] :update_instance_organization_settings_request
52
52
  # @return [OrganizationSettings]
53
53
  describe 'update_instance_organization_settings test' do
54
54
  it 'should work' do
@@ -59,8 +59,8 @@ describe 'InstanceSettingsApi' do
59
59
  # unit tests for update_instance_restrictions
60
60
  # Update instance restrictions
61
61
  # Updates the restriction settings of an instance
62
- # @param update_instance_restrictions_request
63
62
  # @param [Hash] opts the optional parameters
63
+ # @option opts [UpdateInstanceRestrictionsRequest] :update_instance_restrictions_request
64
64
  # @return [InstanceRestrictions]
65
65
  describe 'update_instance_restrictions test' do
66
66
  it 'should work' do
@@ -35,8 +35,8 @@ describe 'InvitationsApi' do
35
35
  # unit tests for create_invitation
36
36
  # Create an invitation
37
37
  # Creates a new invitation for the given email address and sends the invitation email. Keep in mind that you cannot create an invitation if there is already one for the given email address. Also, trying to create an invitation for an email address that already exists in your application will result to an error.
38
- # @param create_invitation_request Required parameters
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [CreateInvitationRequest] :create_invitation_request Required parameters
40
40
  # @return [Invitation]
41
41
  describe 'create_invitation test' do
42
42
  it 'should work' do
@@ -35,8 +35,8 @@ describe 'JWTTemplatesApi' do
35
35
  # unit tests for create_jwt_template
36
36
  # Create a JWT template
37
37
  # Create a new JWT template
38
- # @param create_jwt_template_request
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [CreateJWTTemplateRequest] :create_jwt_template_request
40
40
  # @return [JWTTemplate]
41
41
  describe 'create_jwt_template test' do
42
42
  it 'should work' do
@@ -82,8 +82,8 @@ describe 'JWTTemplatesApi' do
82
82
  # Update a JWT template
83
83
  # Updates an existing JWT template
84
84
  # @param template_id The ID of the JWT template to update
85
- # @param create_jwt_template_request
86
85
  # @param [Hash] opts the optional parameters
86
+ # @option opts [CreateJWTTemplateRequest] :create_jwt_template_request
87
87
  # @return [JWTTemplate]
88
88
  describe 'update_jwt_template test' do
89
89
  it 'should work' do
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v1
7
7
  Contact: support@clerk.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: unset
10
10
 
11
11
  =end
12
12
 
@@ -32,75 +32,75 @@ describe 'OAuthApplicationsApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for create_o_auth_application
35
+ # unit tests for create_oauth_application
36
36
  # Create an OAuth application
37
37
  # Creates a new OAuth application with the given name and callback URL for an instance. The callback URL must be a valid url. All URL schemes are allowed such as &#x60;http://&#x60;, &#x60;https://&#x60;, &#x60;myapp://&#x60;, etc...
38
- # @param create_o_auth_application_request
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [CreateOAuthApplicationRequest] :create_oauth_application_request
40
40
  # @return [OAuthApplicationWithSecret]
41
- describe 'create_o_auth_application test' do
41
+ describe 'create_oauth_application test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
44
  end
45
45
  end
46
46
 
47
- # unit tests for delete_o_auth_application
47
+ # unit tests for delete_oauth_application
48
48
  # Delete an OAuth application
49
49
  # Deletes the given OAuth application. This is not reversible.
50
50
  # @param oauth_application_id The ID of the OAuth application to delete
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @return [DeletedObject]
53
- describe 'delete_o_auth_application test' do
53
+ describe 'delete_oauth_application test' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
56
  end
57
57
  end
58
58
 
59
- # unit tests for get_o_auth_application
59
+ # unit tests for get_oauth_application
60
60
  # Retrieve an OAuth application by ID
61
61
  # Fetches the OAuth application whose ID matches the provided &#x60;id&#x60; in the path.
62
62
  # @param oauth_application_id The ID of the OAuth application
63
63
  # @param [Hash] opts the optional parameters
64
64
  # @return [OAuthApplication]
65
- describe 'get_o_auth_application test' do
65
+ describe 'get_oauth_application test' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
68
  end
69
69
  end
70
70
 
71
- # unit tests for list_o_auth_applications
71
+ # unit tests for list_oauth_applications
72
72
  # Get a list of OAuth applications for an instance
73
73
  # This request returns the list of OAuth applications for an instance. Results can be paginated using the optional &#x60;limit&#x60; and &#x60;offset&#x60; query parameters. The OAuth applications are ordered by descending creation date. Most recent OAuth applications will be returned first.
74
74
  # @param [Hash] opts the optional parameters
75
75
  # @option opts [Float] :limit Applies a limit to the number of results returned. Can be used for paginating the results together with &#x60;offset&#x60;.
76
76
  # @option opts [Float] :offset Skip the first &#x60;offset&#x60; results when paginating. Needs to be an integer greater or equal to zero. To be used in conjunction with &#x60;limit&#x60;.
77
77
  # @return [OAuthApplications]
78
- describe 'list_o_auth_applications test' do
78
+ describe 'list_oauth_applications test' do
79
79
  it 'should work' do
80
80
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
81
  end
82
82
  end
83
83
 
84
- # unit tests for rotate_o_auth_application_secret
84
+ # unit tests for rotate_oauth_application_secret
85
85
  # Rotate the client secret of the given OAuth application
86
86
  # Rotates the OAuth application&#39;s client secret. When the client secret is rotated, make sure to update it in authorized OAuth clients.
87
87
  # @param oauth_application_id The ID of the OAuth application for which to rotate the client secret
88
88
  # @param [Hash] opts the optional parameters
89
89
  # @return [OAuthApplicationWithSecret]
90
- describe 'rotate_o_auth_application_secret test' do
90
+ describe 'rotate_oauth_application_secret test' do
91
91
  it 'should work' do
92
92
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
93
  end
94
94
  end
95
95
 
96
- # unit tests for update_o_auth_application
96
+ # unit tests for update_oauth_application
97
97
  # Update an OAuth application
98
98
  # Updates an existing OAuth application
99
99
  # @param oauth_application_id The ID of the OAuth application to update
100
- # @param update_o_auth_application_request
100
+ # @param update_oauth_application_request
101
101
  # @param [Hash] opts the optional parameters
102
102
  # @return [OAuthApplication]
103
- describe 'update_o_auth_application test' do
103
+ describe 'update_oauth_application test' do
104
104
  it 'should work' do
105
105
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
106
106
  end
@@ -35,8 +35,8 @@ describe 'OrganizationsApi' do
35
35
  # unit tests for create_organization
36
36
  # Create an organization
37
37
  # Creates a new organization with the given name for an instance. In order to successfully create an organization you need to provide the ID of the User who will become the organization administrator. You can specify an optional slug for the new organization. If provided, the organization slug can contain only lowercase alphanumeric characters (letters and digits) and the dash \&quot;-\&quot;. Organization slugs must be unique for the instance. You can provide additional metadata for the organization and set any custom attribute you want. Organizations support private and public metadata. Private metadata can only be accessed from the Backend API. Public metadata can be accessed from the Backend API, and are read-only from the Frontend API. The &#x60;created_by&#x60; user will see this as their [active organization] (https://clerk.com/docs/organizations/overview#active-organization) the next time they create a session, presuming they don&#39;t explicitly set a different organization as active before then.
38
- # @param create_organization_request
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [CreateOrganizationRequest] :create_organization_request
40
40
  # @return [Organization]
41
41
  describe 'create_organization test' do
42
42
  it 'should work' do
@@ -35,8 +35,8 @@ describe 'PhoneNumbersApi' do
35
35
  # unit tests for create_phone_number
36
36
  # Create a phone number
37
37
  # Create a new phone number
38
- # @param create_phone_number_request
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [CreatePhoneNumberRequest] :create_phone_number_request
40
40
  # @return [PhoneNumber]
41
41
  describe 'create_phone_number test' do
42
42
  it 'should work' do
@@ -72,8 +72,8 @@ describe 'PhoneNumbersApi' do
72
72
  # Update a phone number
73
73
  # Updates a phone number
74
74
  # @param phone_number_id The ID of the phone number to update
75
- # @param update_phone_number_request
76
75
  # @param [Hash] opts the optional parameters
76
+ # @option opts [UpdatePhoneNumberRequest] :update_phone_number_request
77
77
  # @return [PhoneNumber]
78
78
  describe 'update_phone_number test' do
79
79
  it 'should work' do
@@ -35,8 +35,8 @@ describe 'ProxyChecksApi' do
35
35
  # unit tests for verify_domain_proxy
36
36
  # Verify the proxy configuration for your domain
37
37
  # This endpoint can be used to validate that a proxy-enabled domain is operational. It tries to verify that the proxy URL provided in the parameters maps to a functional proxy that can reach the Clerk Frontend API. You can use this endpoint before you set a proxy URL for a domain. This way you can ensure that switching to proxy-based configuration will not lead to downtime for your instance. The &#x60;proxy_url&#x60; parameter allows for testing proxy configurations for domains that don&#39;t have a proxy URL yet, or operate on a different proxy URL than the one provided. It can also be used to re-validate a domain that is already configured to work with a proxy.
38
- # @param verify_domain_proxy_request
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [VerifyDomainProxyRequest] :verify_domain_proxy_request
40
40
  # @return [ProxyCheck]
41
41
  describe 'verify_domain_proxy test' do
42
42
  it 'should work' do
@@ -35,8 +35,8 @@ describe 'RedirectURLsApi' do
35
35
  # unit tests for create_redirect_url
36
36
  # Create a redirect URL
37
37
  # Create a redirect URL
38
- # @param create_redirect_url_request
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [CreateRedirectURLRequest] :create_redirect_url_request
40
40
  # @return [RedirectURL]
41
41
  describe 'create_redirect_url test' do
42
42
  it 'should work' do
@@ -35,8 +35,8 @@ describe 'SAMLConnectionsApi' do
35
35
  # unit tests for create_saml_connection
36
36
  # Create a SAML Connection
37
37
  # Create a new SAML Connection.
38
- # @param create_saml_connection_request
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [CreateSAMLConnectionRequest] :create_saml_connection_request
40
40
  # @return [SchemasSAMLConnection]
41
41
  describe 'create_saml_connection test' do
42
42
  it 'should work' do
@@ -35,8 +35,8 @@ describe 'SignInTokensApi' do
35
35
  # unit tests for create_sign_in_token
36
36
  # Create sign-in token
37
37
  # Creates a new sign-in token and associates it with the given user. By default, sign-in tokens expire in 30 days. You can optionally supply a different duration in seconds using the &#x60;expires_in_seconds&#x60; property.
38
- # @param create_sign_in_token_request
39
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [CreateSignInTokenRequest] :create_sign_in_token_request
40
40
  # @return [SignInToken]
41
41
  describe 'create_sign_in_token test' do
42
42
  it 'should work' do
@@ -36,8 +36,8 @@ describe 'SignUpsApi' do
36
36
  # Update a sign-up
37
37
  # Update the sign-up with the given ID
38
38
  # @param id The ID of the sign-up to update
39
- # @param update_sign_up_request
40
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [UpdateSignUpRequest] :update_sign_up_request
41
41
  # @return [SignUp]
42
42
  describe 'update_sign_up test' do
43
43
  it 'should work' do