Skip to content

Commit

Permalink
Generate Ruby Backend SDK (#10)
Browse files Browse the repository at this point in the history
Co-authored-by: tmilewski <[email protected]>
  • Loading branch information
github-actions[bot] and tmilewski authored Dec 6, 2024
1 parent a28bb78 commit 66d8e67
Show file tree
Hide file tree
Showing 159 changed files with 158 additions and 280 deletions.
2 changes: 0 additions & 2 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,4 @@ lib/clerk-backend/models/web3_wallet_verification.rb
lib/clerk-backend/models/well_known_jwks.rb
lib/clerk-backend/models/well_known_jwks_keys_inner.rb
lib/clerk-backend/version.rb
spec/models/well_known_jwks_keys_inner_spec.rb
spec/models/well_known_jwks_spec.rb
spec/spec_helper.rb
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.9.0
7.11.0-SNAPSHOT
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g

- API version: v1
- Package version: 1.0.0
- Generator version: 7.9.0
- Generator version: 7.11.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
For more information, please visit [https://clerk.com/support](https://clerk.com/support)

Expand Down
2 changes: 1 addition & 1 deletion clerk-backend.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
The version of the OpenAPI document: v1
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0-SNAPSHOT
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/clerk-backend.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v1
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0-SNAPSHOT
=end

Expand Down
4 changes: 1 addition & 3 deletions lib/clerk-backend/api/actor_tokens_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v1
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0-SNAPSHOT
=end

Expand All @@ -25,7 +25,6 @@ def initialize(api_client = ApiClient.default)
# @option opts [CreateActorTokenRequest] :create_actor_token_request
# @return [ActorToken]


def create(opts = {})
data, _status_code, _headers = create_with_http_info(opts)
data
Expand Down Expand Up @@ -92,7 +91,6 @@ def create_with_http_info(opts = {})
# @param [Hash] opts the optional parameters
# @return [ActorToken]


def revoke(actor_token_id, opts = {})
data, _status_code, _headers = revoke_with_http_info(actor_token_id, opts)
data
Expand Down
8 changes: 1 addition & 7 deletions lib/clerk-backend/api/allow_list_block_list_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v1
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0-SNAPSHOT
=end

Expand All @@ -25,7 +25,6 @@ def initialize(api_client = ApiClient.default)
# @option opts [CreateAllowlistIdentifierRequest] :create_allowlist_identifier_request
# @return [AllowlistIdentifier]


def create(opts = {})
data, _status_code, _headers = create_with_http_info(opts)
data
Expand Down Expand Up @@ -92,7 +91,6 @@ def create_with_http_info(opts = {})
# @option opts [CreateBlocklistIdentifierRequest] :create_blocklist_identifier_request
# @return [BlocklistIdentifier]


def create(opts = {})
data, _status_code, _headers = create_with_http_info(opts)
data
Expand Down Expand Up @@ -159,7 +157,6 @@ def create_with_http_info(opts = {})
# @param [Hash] opts the optional parameters
# @return [DeletedObject]


def delete(identifier_id, opts = {})
data, _status_code, _headers = delete_with_http_info(identifier_id, opts)
data
Expand Down Expand Up @@ -225,7 +222,6 @@ def delete_with_http_info(identifier_id, opts = {})
# @param [Hash] opts the optional parameters
# @return [DeletedObject]


def delete(identifier_id, opts = {})
data, _status_code, _headers = delete_with_http_info(identifier_id, opts)
data
Expand Down Expand Up @@ -290,7 +286,6 @@ def delete_with_http_info(identifier_id, opts = {})
# @param [Hash] opts the optional parameters
# @return [Array<AllowlistIdentifier>]


def all(opts = {})
data, _status_code, _headers = all_with_http_info(opts)
data
Expand Down Expand Up @@ -350,7 +345,6 @@ def all_with_http_info(opts = {})
# @param [Hash] opts the optional parameters
# @return [BlocklistIdentifiers]


def all(opts = {})
data, _status_code, _headers = all_with_http_info(opts)
data
Expand Down
5 changes: 1 addition & 4 deletions lib/clerk-backend/api/beta_features_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v1
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0-SNAPSHOT
=end

Expand All @@ -25,7 +25,6 @@ def initialize(api_client = ApiClient.default)
# @option opts [ChangeProductionInstanceDomainRequest] :change_production_instance_domain_request
# @return [nil]


def update_production_domain(opts = {})
update_production_domain_with_http_info(opts)
nil
Expand Down Expand Up @@ -92,7 +91,6 @@ def update_production_domain_with_http_info(opts = {})
# @option opts [UpdateInstanceAuthConfigRequest] :update_instance_auth_config_request
# @return [UpdateInstanceAuthConfig200Response]


def update_instance_settings(opts = {})
data, _status_code, _headers = update_instance_settings_with_http_info(opts)
data
Expand Down Expand Up @@ -159,7 +157,6 @@ def update_instance_settings_with_http_info(opts = {})
# @option opts [UpdateProductionInstanceDomainRequest] :update_production_instance_domain_request
# @return [nil]


def update_production_instance_domain(opts = {})
update_production_instance_domain_with_http_info(opts)
nil
Expand Down
5 changes: 1 addition & 4 deletions lib/clerk-backend/api/clients_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v1
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0-SNAPSHOT
=end

Expand All @@ -25,7 +25,6 @@ def initialize(api_client = ApiClient.default)
# @param [Hash] opts the optional parameters
# @return [Client]


def find(client_id, opts = {})
data, _status_code, _headers = find_with_http_info(client_id, opts)
data
Expand Down Expand Up @@ -92,7 +91,6 @@ def find_with_http_info(client_id, opts = {})
# @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;. (default to 0)
# @return [Array<Client>]


def all(opts = {})
data, _status_code, _headers = all_with_http_info(opts)
data
Expand Down Expand Up @@ -169,7 +167,6 @@ def all_with_http_info(opts = {})
# @option opts [VerifyClientRequest] :verify_client_request Parameters.
# @return [Client]


def verify(opts = {})
data, _status_code, _headers = verify_with_http_info(opts)
data
Expand Down
6 changes: 1 addition & 5 deletions lib/clerk-backend/api/domains_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v1
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0-SNAPSHOT
=end

Expand All @@ -25,7 +25,6 @@ def initialize(api_client = ApiClient.default)
# @option opts [AddDomainRequest] :add_domain_request
# @return [Domain]


def create(opts = {})
data, _status_code, _headers = create_with_http_info(opts)
data
Expand Down Expand Up @@ -92,7 +91,6 @@ def create_with_http_info(opts = {})
# @param [Hash] opts the optional parameters
# @return [DeletedObject]


def delete(domain_id, opts = {})
data, _status_code, _headers = delete_with_http_info(domain_id, opts)
data
Expand Down Expand Up @@ -157,7 +155,6 @@ def delete_with_http_info(domain_id, opts = {})
# @param [Hash] opts the optional parameters
# @return [Domains]


def all(opts = {})
data, _status_code, _headers = all_with_http_info(opts)
data
Expand Down Expand Up @@ -219,7 +216,6 @@ def all_with_http_info(opts = {})
# @param [Hash] opts the optional parameters
# @return [Domain]


def update(domain_id, update_domain_request, opts = {})
data, _status_code, _headers = update_with_http_info(domain_id, update_domain_request, opts)
data
Expand Down
6 changes: 1 addition & 5 deletions lib/clerk-backend/api/email_addresses_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v1
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0-SNAPSHOT
=end

Expand All @@ -25,7 +25,6 @@ def initialize(api_client = ApiClient.default)
# @option opts [CreateEmailAddressRequest] :create_email_address_request
# @return [EmailAddress]


def create(opts = {})
data, _status_code, _headers = create_with_http_info(opts)
data
Expand Down Expand Up @@ -92,7 +91,6 @@ def create_with_http_info(opts = {})
# @param [Hash] opts the optional parameters
# @return [DeletedObject]


def delete(email_address_id, opts = {})
data, _status_code, _headers = delete_with_http_info(email_address_id, opts)
data
Expand Down Expand Up @@ -158,7 +156,6 @@ def delete_with_http_info(email_address_id, opts = {})
# @param [Hash] opts the optional parameters
# @return [EmailAddress]


def find(email_address_id, opts = {})
data, _status_code, _headers = find_with_http_info(email_address_id, opts)
data
Expand Down Expand Up @@ -225,7 +222,6 @@ def find_with_http_info(email_address_id, opts = {})
# @option opts [UpdateEmailAddressRequest] :update_email_address_request
# @return [EmailAddress]


def update(email_address_id, opts = {})
data, _status_code, _headers = update_with_http_info(email_address_id, opts)
data
Expand Down
8 changes: 1 addition & 7 deletions lib/clerk-backend/api/email_sms_templates_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v1
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0-SNAPSHOT
=end

Expand All @@ -26,7 +26,6 @@ def initialize(api_client = ApiClient.default)
# @param [Hash] opts the optional parameters
# @return [Template]


def find(template_type, slug, opts = {})
data, _status_code, _headers = find_with_http_info(template_type, slug, opts)
data
Expand Down Expand Up @@ -102,7 +101,6 @@ def find_with_http_info(template_type, slug, opts = {})
# @param [Hash] opts the optional parameters
# @return [Array<Template>]


def all(template_type, opts = {})
data, _status_code, _headers = all_with_http_info(template_type, opts)
data
Expand Down Expand Up @@ -175,7 +173,6 @@ def all_with_http_info(template_type, opts = {})
# @option opts [PreviewTemplateRequest] :preview_template_request Required parameters
# @return [Object]


def preview(template_type, slug, opts = {})
data, _status_code, _headers = preview_with_http_info(template_type, slug, opts)
data
Expand Down Expand Up @@ -253,7 +250,6 @@ def preview_with_http_info(template_type, slug, opts = {})
# @param [Hash] opts the optional parameters
# @return [Template]


def revert(template_type, slug, opts = {})
data, _status_code, _headers = revert_with_http_info(template_type, slug, opts)
data
Expand Down Expand Up @@ -331,7 +327,6 @@ def revert_with_http_info(template_type, slug, opts = {})
# @option opts [ToggleTemplateDeliveryRequest] :toggle_template_delivery_request
# @return [Template]


def toggle_delivery(template_type, slug, opts = {})
data, _status_code, _headers = toggle_delivery_with_http_info(template_type, slug, opts)
data
Expand Down Expand Up @@ -415,7 +410,6 @@ def toggle_delivery_with_http_info(template_type, slug, opts = {})
# @option opts [UpsertTemplateRequest] :upsert_template_request
# @return [Template]


def update(template_type, slug, opts = {})
data, _status_code, _headers = update_with_http_info(template_type, slug, opts)
data
Expand Down
5 changes: 1 addition & 4 deletions lib/clerk-backend/api/instance_settings_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v1
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0-SNAPSHOT
=end

Expand All @@ -25,7 +25,6 @@ def initialize(api_client = ApiClient.default)
# @option opts [UpdateInstanceRequest] :update_instance_request
# @return [nil]


def update(opts = {})
update_with_http_info(opts)
nil
Expand Down Expand Up @@ -92,7 +91,6 @@ def update_with_http_info(opts = {})
# @option opts [UpdateInstanceOrganizationSettingsRequest] :update_instance_organization_settings_request
# @return [OrganizationSettings]


def update_organization_settings(opts = {})
data, _status_code, _headers = update_organization_settings_with_http_info(opts)
data
Expand Down Expand Up @@ -159,7 +157,6 @@ def update_organization_settings_with_http_info(opts = {})
# @option opts [UpdateInstanceRestrictionsRequest] :update_instance_restrictions_request
# @return [InstanceRestrictions]


def update_restrictions(opts = {})
data, _status_code, _headers = update_restrictions_with_http_info(opts)
data
Expand Down
5 changes: 1 addition & 4 deletions lib/clerk-backend/api/invitations_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: v1
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.9.0
Generator version: 7.11.0-SNAPSHOT
=end

Expand All @@ -25,7 +25,6 @@ def initialize(api_client = ApiClient.default)
# @option opts [CreateInvitationRequest] :create_invitation_request Required parameters
# @return [Invitation]


def create(opts = {})
data, _status_code, _headers = create_with_http_info(opts)
data
Expand Down Expand Up @@ -94,7 +93,6 @@ def create_with_http_info(opts = {})
# @option opts [String] :status Filter invitations based on their status
# @return [Array<Invitation>]


def all(opts = {})
data, _status_code, _headers = all_with_http_info(opts)
data
Expand Down Expand Up @@ -177,7 +175,6 @@ def all_with_http_info(opts = {})
# @param [Hash] opts the optional parameters
# @return [RevokeInvitation200Response]


def revoke(invitation_id, opts = {})
data, _status_code, _headers = revoke_with_http_info(invitation_id, opts)
data
Expand Down
Loading

0 comments on commit 66d8e67

Please sign in to comment.