Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

# https://github.com/ruby/setup-ruby
- name: Set up Ruby
uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677 # v1.172.0
uses: ruby/setup-ruby@086ffb1a2090c870a3f881cc91ea83aa4243d408 # v1.195.0
with:
ruby-version: '3.3'

Expand Down
3 changes: 3 additions & 0 deletions turnkey_client/lib/turnkey_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@
require 'turnkey_client/models/get_user_response'
require 'turnkey_client/models/get_users_request'
require 'turnkey_client/models/get_users_response'
require 'turnkey_client/models/get_verified_sub_org_ids_request'
require 'turnkey_client/models/get_verified_sub_org_ids_response'
require 'turnkey_client/models/get_wallet_accounts_request'
require 'turnkey_client/models/get_wallet_accounts_response'
require 'turnkey_client/models/get_wallet_request'
Expand Down Expand Up @@ -288,6 +290,7 @@
require 'turnkey_client/models/sign_transaction_request'
require 'turnkey_client/models/sign_transaction_result'
require 'turnkey_client/models/simple_client_extension_results'
require 'turnkey_client/models/sms_customization_params'
require 'turnkey_client/models/status'
require 'turnkey_client/models/tag_type'
require 'turnkey_client/models/transaction_type'
Expand Down
58 changes: 58 additions & 0 deletions turnkey_client/lib/turnkey_client/api/organizations_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,64 @@ def get_sub_org_ids_with_http_info(body, opts = {})
end
return data, status_code, headers
end
# Get Verified Suborgs
# Get all email or phone verified suborg IDs associated given a parent org ID.
# @param body
# @param [Hash] opts the optional parameters
# @return [GetVerifiedSubOrgIdsResponse]
def get_verified_sub_org_ids(body, opts = {})
data, _status_code, _headers = get_verified_sub_org_ids_with_http_info(body, opts)
data
end

# Get Verified Suborgs
# Get all email or phone verified suborg IDs associated given a parent org ID.
# @param body
# @param [Hash] opts the optional parameters
# @return [Array<(GetVerifiedSubOrgIdsResponse, Integer, Hash)>] GetVerifiedSubOrgIdsResponse data, response status code and response headers
def get_verified_sub_org_ids_with_http_info(body, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: OrganizationsApi.get_verified_sub_org_ids ...'
end
# verify the required parameter 'body' is set
if @api_client.config.client_side_validation && body.nil?
fail ArgumentError, "Missing the required parameter 'body' when calling OrganizationsApi.get_verified_sub_org_ids"
end
# resource path
local_var_path = '/public/v1/query/list_verified_suborgs'

# query parameters
query_params = opts[:query_params] || {}

# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
# HTTP header 'Content-Type'
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

# form parameters
form_params = opts[:form_params] || {}

# http body (model)
post_body = opts[:body] || @api_client.object_to_http_body(body)

return_type = opts[:return_type] || 'GetVerifiedSubOrgIdsResponse'

auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => return_type)

if @api_client.config.debugging
@api_client.config.logger.debug "API called: OrganizationsApi#get_verified_sub_org_ids\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update Root Quorum
# Set the threshold and members of the root quorum. This activity must be approved by the current root quorum.
# @param body
Expand Down
Loading
Loading