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
140 changes: 70 additions & 70 deletions openapi-raw.yaml

Large diffs are not rendered by default.

140 changes: 70 additions & 70 deletions openapi-sdk.yaml

Large diffs are not rendered by default.

140 changes: 70 additions & 70 deletions openapi.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sdks/php/templates/model.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ use ReturnTypeWillChange;
* @template TKey int|null
* @template TValue mixed|null
{{/isEnum}}
* {{#vendorExtensions.x-internal}}@internal This class should not be instantiated directly{{/vendorExtensions.x-internal}}
* {{#vendorExtensions.x-internal-class}}@internal This class should not be instantiated directly{{/vendorExtensions.x-internal-class}}
*/
{{#isEnum}}{{>model_enum}}{{/isEnum}}{{^isEnum}}{{>model_generic}}{{/isEnum}}
{{/model}}{{/models}}
26 changes: 26 additions & 0 deletions sdks/ruby/.gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.ruby: &ruby
variables:
LANG: "C.UTF-8"
before_script:
- ruby -v
- bundle config set --local deployment true
- bundle install -j $(nproc)
parallel:
matrix:
- RUBY_VERSION: ['2.7', '3.0', '3.1']
image: "ruby:$RUBY_VERSION"
cache:
paths:
- vendor/ruby
key: 'ruby-$RUBY_VERSION'

gem:
extends: .ruby
script:
- bundle exec rspec
- bundle exec rake build
- bundle exec rake install
artifacts:
paths:
- pkg/*.gem

3 changes: 1 addition & 2 deletions sdks/ruby/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.gitignore
.gitlab-ci.yml
.rspec
.rubocop.yml
.travis.yml
Expand Down Expand Up @@ -377,6 +378,4 @@ lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb
lib/dropbox-sign/models/unclaimed_draft_response.rb
lib/dropbox-sign/models/warning_response.rb
lib/dropbox-sign/version.rb
spec/api_client_spec.rb
spec/configuration_spec.rb
spec/spec_helper.rb
2 changes: 1 addition & 1 deletion sdks/ruby/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.3.0
7.7.0
5 changes: 1 addition & 4 deletions sdks/ruby/.travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
language: ruby
cache: bundler
rvm:
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- 3.0
- 3.1
script:
- bundle install --path vendor/bundle
- bundle exec rspec
Expand Down
48 changes: 25 additions & 23 deletions sdks/ruby/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,45 +10,47 @@ GEM
ast (2.4.2)
byebug (11.1.3)
coderay (1.1.3)
diff-lcs (1.5.0)
diff-lcs (1.5.1)
ethon (0.16.0)
ffi (>= 1.15.0)
ffi (1.17.0-aarch64-linux-gnu)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86_64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
jaro_winkler (1.5.4)
jaro_winkler (1.5.6)
json_spec (1.1.5)
multi_json (~> 1.0)
rspec (>= 2.0, < 4.0)
method_source (1.0.0)
method_source (1.1.0)
multi_json (1.15.0)
parallel (1.21.0)
parser (3.1.0.0)
parallel (1.26.3)
parser (3.3.4.2)
ast (~> 2.4.1)
pry (0.13.1)
racc
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.9.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (~> 0.13.0)
psych (4.0.3)
pry (>= 0.13, < 0.15)
psych (5.1.2)
stringio
racc (1.8.1)
rainbow (3.1.1)
rake (13.0.6)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (0.66.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
Expand All @@ -57,8 +59,8 @@ GEM
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.6)
ruby-progressbar (1.11.0)
stringio (3.0.1)
ruby-progressbar (1.13.0)
stringio (3.1.1)
typhoeus (1.4.1)
ethon (>= 0.9.0)
unicode-display_width (1.5.0)
Expand All @@ -79,4 +81,4 @@ DEPENDENCIES
rubocop (~> 0.66.0)

BUNDLED WITH
2.3.5
2.3.26
1 change: 1 addition & 0 deletions sdks/ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g

- API version: 3.0.0
- Package version: 1.5-dev
- Generator version: 7.7.0
- Build package: org.openapitools.codegen.languages.RubyClientCodegen

## Installation
Expand Down
3 changes: 2 additions & 1 deletion sdks/ruby/dropbox-sign.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
The version of the OpenAPI document: 3.0.0
Contact: apisupport@hellosign.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0
Generator version: 7.7.0

=end

Expand All @@ -26,6 +26,7 @@ Gem::Specification.new do |s|
s.description = "Official Dropbox Sign APIv3 OpenAPI Ruby SDK"
s.license = "MIT"
s.required_ruby_version = ">= 2.7"
s.metadata = {}

s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'

Expand Down
2 changes: 1 addition & 1 deletion sdks/ruby/lib/dropbox-sign.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 3.0.0
Contact: apisupport@hellosign.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0
Generator version: 7.7.0

=end

Expand Down
2 changes: 1 addition & 1 deletion sdks/ruby/lib/dropbox-sign/api/account_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 3.0.0
Contact: apisupport@hellosign.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0
Generator version: 7.7.0

=end

Expand Down
6 changes: 3 additions & 3 deletions sdks/ruby/lib/dropbox-sign/api/api_app_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 3.0.0
Contact: apisupport@hellosign.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0
Generator version: 7.7.0

=end

Expand Down Expand Up @@ -306,8 +306,8 @@ def api_app_list(opts = {})
# List API Apps
# Returns a list of API Apps that are accessible by you. If you are on a team with an Admin or Developer role, this list will include apps owned by teammates.
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page Which page number of the API App List to return. Defaults to &#x60;1&#x60;.
# @option opts [Integer] :page_size Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is &#x60;20&#x60;.
# @option opts [Integer] :page Which page number of the API App List to return. Defaults to &#x60;1&#x60;. (default to 1)
# @option opts [Integer] :page_size Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is &#x60;20&#x60;. (default to 20)
# @return [Array<(ApiAppListResponse, Integer, Hash)>] ApiAppListResponse data, response status code and response headers
def api_app_list_with_http_info(opts = {})
if @api_client.config.debugging
Expand Down
10 changes: 5 additions & 5 deletions sdks/ruby/lib/dropbox-sign/api/bulk_send_job_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 3.0.0
Contact: apisupport@hellosign.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0
Generator version: 7.7.0

=end

Expand Down Expand Up @@ -38,8 +38,8 @@ def bulk_send_job_get(bulk_send_job_id, opts = {})
# Returns the status of the BulkSendJob and its SignatureRequests specified by the &#x60;bulk_send_job_id&#x60; parameter.
# @param bulk_send_job_id [String] The id of the BulkSendJob to retrieve.
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page Which page number of the BulkSendJob list to return. Defaults to &#x60;1&#x60;.
# @option opts [Integer] :page_size Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is 20.
# @option opts [Integer] :page Which page number of the BulkSendJob list to return. Defaults to &#x60;1&#x60;. (default to 1)
# @option opts [Integer] :page_size Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is 20. (default to 20)
# @return [Array<(BulkSendJobGetResponse, Integer, Hash)>] BulkSendJobGetResponse data, response status code and response headers
def bulk_send_job_get_with_http_info(bulk_send_job_id, opts = {})
if @api_client.config.debugging
Expand Down Expand Up @@ -136,8 +136,8 @@ def bulk_send_job_list(opts = {})
# List Bulk Send Jobs
# Returns a list of BulkSendJob that you can access.
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page Which page number of the BulkSendJob List to return. Defaults to &#x60;1&#x60;.
# @option opts [Integer] :page_size Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is 20.
# @option opts [Integer] :page Which page number of the BulkSendJob List to return. Defaults to &#x60;1&#x60;. (default to 1)
# @option opts [Integer] :page_size Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is 20. (default to 20)
# @return [Array<(BulkSendJobListResponse, Integer, Hash)>] BulkSendJobListResponse data, response status code and response headers
def bulk_send_job_list_with_http_info(opts = {})
if @api_client.config.debugging
Expand Down
2 changes: 1 addition & 1 deletion sdks/ruby/lib/dropbox-sign/api/embedded_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 3.0.0
Contact: apisupport@hellosign.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0
Generator version: 7.7.0

=end

Expand Down
2 changes: 1 addition & 1 deletion sdks/ruby/lib/dropbox-sign/api/o_auth_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 3.0.0
Contact: apisupport@hellosign.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0
Generator version: 7.7.0

=end

Expand Down
2 changes: 1 addition & 1 deletion sdks/ruby/lib/dropbox-sign/api/report_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 3.0.0
Contact: apisupport@hellosign.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0
Generator version: 7.7.0

=end

Expand Down
10 changes: 5 additions & 5 deletions sdks/ruby/lib/dropbox-sign/api/signature_request_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 3.0.0
Contact: apisupport@hellosign.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0
Generator version: 7.7.0

=end

Expand Down Expand Up @@ -540,7 +540,7 @@ def signature_request_files(signature_request_id, opts = {})
# Obtain a copy of the current documents specified by the &#x60;signature_request_id&#x60; parameter. Returns a PDF or ZIP file. If the files are currently being prepared, a status code of &#x60;409&#x60; will be returned instead.
# @param signature_request_id [String] The id of the SignatureRequest to retrieve.
# @param [Hash] opts the optional parameters
# @option opts [String] :file_type Set to &#x60;pdf&#x60; for a single merged document or &#x60;zip&#x60; for a collection of individual documents.
# @option opts [String] :file_type Set to &#x60;pdf&#x60; for a single merged document or &#x60;zip&#x60; for a collection of individual documents. (default to 'pdf')
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
def signature_request_files_with_http_info(signature_request_id, opts = {})
if @api_client.config.debugging
Expand Down Expand Up @@ -735,7 +735,7 @@ def signature_request_files_as_file_url(signature_request_id, opts = {})
# Obtain a copy of the current documents specified by the &#x60;signature_request_id&#x60; parameter. Returns a JSON object with a url to the file (PDFs only). If the files are currently being prepared, a status code of &#x60;409&#x60; will be returned instead.
# @param signature_request_id [String] The id of the SignatureRequest to retrieve.
# @param [Hash] opts the optional parameters
# @option opts [Integer] :force_download By default when opening the &#x60;file_url&#x60; a browser will download the PDF and save it locally. When set to &#x60;0&#x60; the PDF file will be displayed in the browser.
# @option opts [Integer] :force_download By default when opening the &#x60;file_url&#x60; a browser will download the PDF and save it locally. When set to &#x60;0&#x60; the PDF file will be displayed in the browser. (default to 1)
# @return [Array<(FileResponse, Integer, Hash)>] FileResponse data, response status code and response headers
def signature_request_files_as_file_url_with_http_info(signature_request_id, opts = {})
if @api_client.config.debugging
Expand Down Expand Up @@ -928,8 +928,8 @@ def signature_request_list(opts = {})
# Returns a list of SignatureRequests that you can access. This includes SignatureRequests you have sent as well as received, but not ones that you have been CCed on. Take a look at our [search guide](/api/reference/search/) to learn more about querying signature requests.
# @param [Hash] opts the optional parameters
# @option opts [String] :account_id Which account to return SignatureRequests for. Must be a team member. Use &#x60;all&#x60; to indicate all team members. Defaults to your account.
# @option opts [Integer] :page Which page number of the SignatureRequest List to return. Defaults to &#x60;1&#x60;.
# @option opts [Integer] :page_size Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is &#x60;20&#x60;.
# @option opts [Integer] :page Which page number of the SignatureRequest List to return. Defaults to &#x60;1&#x60;. (default to 1)
# @option opts [Integer] :page_size Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is &#x60;20&#x60;. (default to 20)
# @option opts [String] :query String that includes search terms and/or fields to be used to filter the SignatureRequest objects.
# @return [Array<(SignatureRequestListResponse, Integer, Hash)>] SignatureRequestListResponse data, response status code and response headers
def signature_request_list_with_http_info(opts = {})
Expand Down
10 changes: 5 additions & 5 deletions sdks/ruby/lib/dropbox-sign/api/team_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 3.0.0
Contact: apisupport@hellosign.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0
Generator version: 7.7.0

=end

Expand Down Expand Up @@ -590,8 +590,8 @@ def team_members(team_id, opts = {})
# Provides a paginated list of members (and their roles) that belong to a given team.
# @param team_id [String] The id of the team that a member list is being requested from.
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page Which page number of the team member list to return. Defaults to &#x60;1&#x60;.
# @option opts [Integer] :page_size Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is &#x60;20&#x60;.
# @option opts [Integer] :page Which page number of the team member list to return. Defaults to &#x60;1&#x60;. (default to 1)
# @option opts [Integer] :page_size Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is &#x60;20&#x60;. (default to 20)
# @return [Array<(TeamMembersResponse, Integer, Hash)>] TeamMembersResponse data, response status code and response headers
def team_members_with_http_info(team_id, opts = {})
if @api_client.config.debugging
Expand Down Expand Up @@ -807,8 +807,8 @@ def team_sub_teams(team_id, opts = {})
# Provides a paginated list of sub teams that belong to a given team.
# @param team_id [String] The id of the parent Team.
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page Which page number of the SubTeam List to return. Defaults to &#x60;1&#x60;.
# @option opts [Integer] :page_size Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is &#x60;20&#x60;.
# @option opts [Integer] :page Which page number of the SubTeam List to return. Defaults to &#x60;1&#x60;. (default to 1)
# @option opts [Integer] :page_size Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is &#x60;20&#x60;. (default to 20)
# @return [Array<(TeamSubTeamsResponse, Integer, Hash)>] TeamSubTeamsResponse data, response status code and response headers
def team_sub_teams_with_http_info(team_id, opts = {})
if @api_client.config.debugging
Expand Down
8 changes: 4 additions & 4 deletions sdks/ruby/lib/dropbox-sign/api/template_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 3.0.0
Contact: apisupport@hellosign.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0
Generator version: 7.7.0

=end

Expand Down Expand Up @@ -632,7 +632,7 @@ def template_files_as_file_url(template_id, opts = {})
# Obtain a copy of the current documents specified by the &#x60;template_id&#x60; parameter. Returns a JSON object with a url to the file (PDFs only). If the files are currently being prepared, a status code of &#x60;409&#x60; will be returned instead. In this case please wait for the &#x60;template_created&#x60; callback event.
# @param template_id [String] The id of the template files to retrieve.
# @param [Hash] opts the optional parameters
# @option opts [Integer] :force_download By default when opening the &#x60;file_url&#x60; a browser will download the PDF and save it locally. When set to &#x60;0&#x60; the PDF file will be displayed in the browser.
# @option opts [Integer] :force_download By default when opening the &#x60;file_url&#x60; a browser will download the PDF and save it locally. When set to &#x60;0&#x60; the PDF file will be displayed in the browser. (default to 1)
# @return [Array<(FileResponse, Integer, Hash)>] FileResponse data, response status code and response headers
def template_files_as_file_url_with_http_info(template_id, opts = {})
if @api_client.config.debugging
Expand Down Expand Up @@ -825,8 +825,8 @@ def template_list(opts = {})
# Returns a list of the Templates that are accessible by you. Take a look at our [search guide](/api/reference/search/) to learn more about querying templates.
# @param [Hash] opts the optional parameters
# @option opts [String] :account_id Which account to return Templates for. Must be a team member. Use &#x60;all&#x60; to indicate all team members. Defaults to your account.
# @option opts [Integer] :page Which page number of the Template List to return. Defaults to &#x60;1&#x60;.
# @option opts [Integer] :page_size Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is &#x60;20&#x60;.
# @option opts [Integer] :page Which page number of the Template List to return. Defaults to &#x60;1&#x60;. (default to 1)
# @option opts [Integer] :page_size Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is &#x60;20&#x60;. (default to 20)
# @option opts [String] :query String that includes search terms and/or fields to be used to filter the Template objects.
# @return [Array<(TemplateListResponse, Integer, Hash)>] TemplateListResponse data, response status code and response headers
def template_list_with_http_info(opts = {})
Expand Down
2 changes: 1 addition & 1 deletion sdks/ruby/lib/dropbox-sign/api/unclaimed_draft_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 3.0.0
Contact: apisupport@hellosign.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.3.0
Generator version: 7.7.0

=end

Expand Down
Loading