docusign_esign 3.3.0 → 3.4.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e87257bb4a84ae2922a605a704adc2a0060310d2
4
- data.tar.gz: b2be51897d35bc214e9c645b75c3de8b0b9fab90
2
+ SHA256:
3
+ metadata.gz: '0965575ce7a6de9d7307a9e2fd7e6d04a8258be249d30e5f69cb2c8ee7cb92a3'
4
+ data.tar.gz: 72f1ef0eebf7a85436cf6362ab3c638dc0b860a8c7efffd3658ba1df1ad5a12d
5
5
  SHA512:
6
- metadata.gz: 9ea59614b4536e25ce26fd47a3f5f8f1433fd3aee17e2ff51eb9bc068f63343b43f0154d75cde9d53bb007cc770f029ba1bd602794d23c132867e0f63dc45e40
7
- data.tar.gz: 4cd6dbae184f3bb1022d5e96b87d98a56614f81cc0dc3e725801afb8a7e13a9248be0fb5520122ed7b7e1230b9e1b28c06705ff19609b5e430db58e6c9a554c8
6
+ metadata.gz: aacf59edc8248055b4d1dfc03bca931a47275a61fada09aae8f3b94046bb90c7e1a16d4628af0f616447857ab4abee29cba5b6ff01f7e7cb48da7411519f26a2
7
+ data.tar.gz: 3f56a1ba3b58bee3a30abcf5b0783006912f077bc66cafb85cf6ee299a05abfddac3586c1fa621d3b900191755215cd337c6d17e330a63373c8097bc9bd3601a
@@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.
3
3
 
4
4
  See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
5
5
 
6
- ## [v3.3.0] - eSignature API v2.1-20.1.02 - 2020-05-31
6
+ ## [v3.3.0] - eSignature API v2.1-20.1.00 - 2020-05-31
7
7
  ### Changed
8
8
  - Added support for version v2.1-20.1.02 of the DocuSign eSignature API.
9
9
  - Updated the SDK release version.
Binary file
@@ -453,6 +453,7 @@ require 'docusign_esign/api/organizations_api'
453
453
  require 'docusign_esign/api/power_forms_api'
454
454
  require 'docusign_esign/api/signing_groups_api'
455
455
  require 'docusign_esign/api/templates_api'
456
+ require 'docusign_esign/api/trust_service_providers_api'
456
457
  require 'docusign_esign/api/users_api'
457
458
  require 'docusign_esign/api/workspaces_api'
458
459
 
@@ -668,7 +668,7 @@ module DocuSign_eSign
668
668
  # Adds or replaces envelope bulk recipients.
669
669
  # Updates the bulk recipients in a draft envelope using a file upload. The Content-Type supported for uploading a bulk recipient file is CSV (text/csv). The REST API does not support modifying individual rows or values in the bulk recipients file. It only allows the entire file to be added or replaced with a new file.
670
670
  # @param account_id The external account number (int) or account ID GUID.
671
- # @param envelope_id The envelope's GUID. Example: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`
671
+ # @param envelope_id The envelope's GUID. Example: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`
672
672
  # @param recipient_id A local reference that senders use to map recipients to other objects, such as specific document tabs. Within an envelope, each `recipientId` must be unique, but there is no uniqueness requirement across envelopes. For example, many envelopes assign the first recipient a `recipientId` of `1`.
673
673
  # @param bulk_recipients_request
674
674
  # @return [BulkRecipientsSummaryResponse]
@@ -680,7 +680,7 @@ module DocuSign_eSign
680
680
  # Adds or replaces envelope bulk recipients.
681
681
  # Updates the bulk recipients in a draft envelope using a file upload. The Content-Type supported for uploading a bulk recipient file is CSV (text/csv). The REST API does not support modifying individual rows or values in the bulk recipients file. It only allows the entire file to be added or replaced with a new file.
682
682
  # @param account_id The external account number (int) or account ID GUID.
683
- # @param envelope_id The envelope's GUID. Example: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`
683
+ # @param envelope_id The envelope's GUID. Example: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`
684
684
  # @param recipient_id A local reference that senders use to map recipients to other objects, such as specific document tabs. Within an envelope, each `recipientId` must be unique, but there is no uniqueness requirement across envelopes. For example, many envelopes assign the first recipient a `recipientId` of `1`.
685
685
  # @param bulk_recipients_request
686
686
  # @return [Array<(BulkRecipientsSummaryResponse, Fixnum, Hash)>] BulkRecipientsSummaryResponse data, response status code and response headers
@@ -0,0 +1,74 @@
1
+ =begin
2
+ #DocuSign REST API
3
+
4
+ #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
+
6
+ OpenAPI spec version: v2.1
7
+ Contact: devcenter@docusign.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.13-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require "uri"
14
+
15
+ module DocuSign_eSign
16
+
17
+
18
+ class TrustServiceProvidersApi
19
+ attr_accessor :api_client
20
+
21
+ def initialize(api_client = TrustServiceProvidersApi.default)
22
+ @api_client = api_client
23
+ end
24
+
25
+ # Returns Account available seals for specified account.
26
+ #
27
+ # @param account_id The external account number (int) or account ID Guid.
28
+ # @return [AccountSeals]
29
+ def get_seal_providers(account_id)
30
+ data, _status_code, _headers = get_seal_providers_with_http_info(account_id)
31
+ return data
32
+ end
33
+
34
+ # Returns Account available seals for specified account.
35
+ #
36
+ # @param account_id The external account number (int) or account ID Guid.
37
+ # @return [Array<(AccountSeals, Fixnum, Hash)>] AccountSeals data, response status code and response headers
38
+ def get_seal_providers_with_http_info(account_id)
39
+ if @api_client.config.debugging
40
+ @api_client.config.logger.debug "Calling API: TrustServiceProvidersApi.get_seal_providers ..."
41
+ end
42
+ # verify the required parameter 'account_id' is set
43
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling TrustServiceProvidersApi.get_seal_providers" if account_id.nil?
44
+ # resource path
45
+ local_var_path = "/v2.1/accounts/{accountId}/seals".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
46
+
47
+ # query parameters
48
+ query_params = {}
49
+
50
+ # header parameters
51
+ header_params = {}
52
+ # HTTP header 'Accept' (if needed)
53
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
54
+
55
+ # form parameters
56
+ form_params = {}
57
+
58
+ # http body (model)
59
+ post_body = nil
60
+ auth_names = []
61
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
62
+ :header_params => header_params,
63
+ :query_params => query_params,
64
+ :form_params => form_params,
65
+ :body => post_body,
66
+ :auth_names => auth_names,
67
+ :return_type => 'AccountSeals')
68
+ if @api_client.config.debugging
69
+ @api_client.config.logger.debug "API called: TrustServiceProvidersApi#get_seal_providers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
70
+ end
71
+ return data, status_code, headers
72
+ end
73
+ end
74
+ end
@@ -17,6 +17,9 @@ module DocuSign_eSign
17
17
  #
18
18
  attr_accessor :batch_id
19
19
 
20
+ #
21
+ attr_accessor :batch_size
22
+
20
23
  #
21
24
  attr_accessor :envelope_or_template_id
22
25
 
@@ -26,13 +29,22 @@ module DocuSign_eSign
26
29
  #
27
30
  attr_accessor :errors
28
31
 
32
+ #
33
+ attr_accessor :queue_limit
34
+
35
+ #
36
+ attr_accessor :total_queued
37
+
29
38
  # Attribute mapping from ruby-style variable name to JSON key.
30
39
  def self.attribute_map
31
40
  {
32
41
  :'batch_id' => :'batchId',
42
+ :'batch_size' => :'batchSize',
33
43
  :'envelope_or_template_id' => :'envelopeOrTemplateId',
34
44
  :'error_details' => :'errorDetails',
35
- :'errors' => :'errors'
45
+ :'errors' => :'errors',
46
+ :'queue_limit' => :'queueLimit',
47
+ :'total_queued' => :'totalQueued'
36
48
  }
37
49
  end
38
50
 
@@ -40,9 +52,12 @@ module DocuSign_eSign
40
52
  def self.swagger_types
41
53
  {
42
54
  :'batch_id' => :'String',
55
+ :'batch_size' => :'String',
43
56
  :'envelope_or_template_id' => :'String',
44
57
  :'error_details' => :'Array<String>',
45
- :'errors' => :'Array<String>'
58
+ :'errors' => :'Array<String>',
59
+ :'queue_limit' => :'String',
60
+ :'total_queued' => :'String'
46
61
  }
47
62
  end
48
63
 
@@ -58,6 +73,10 @@ module DocuSign_eSign
58
73
  self.batch_id = attributes[:'batchId']
59
74
  end
60
75
 
76
+ if attributes.has_key?(:'batchSize')
77
+ self.batch_size = attributes[:'batchSize']
78
+ end
79
+
61
80
  if attributes.has_key?(:'envelopeOrTemplateId')
62
81
  self.envelope_or_template_id = attributes[:'envelopeOrTemplateId']
63
82
  end
@@ -73,6 +92,14 @@ module DocuSign_eSign
73
92
  self.errors = value
74
93
  end
75
94
  end
95
+
96
+ if attributes.has_key?(:'queueLimit')
97
+ self.queue_limit = attributes[:'queueLimit']
98
+ end
99
+
100
+ if attributes.has_key?(:'totalQueued')
101
+ self.total_queued = attributes[:'totalQueued']
102
+ end
76
103
  end
77
104
 
78
105
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -94,9 +121,12 @@ module DocuSign_eSign
94
121
  return true if self.equal?(o)
95
122
  self.class == o.class &&
96
123
  batch_id == o.batch_id &&
124
+ batch_size == o.batch_size &&
97
125
  envelope_or_template_id == o.envelope_or_template_id &&
98
126
  error_details == o.error_details &&
99
- errors == o.errors
127
+ errors == o.errors &&
128
+ queue_limit == o.queue_limit &&
129
+ total_queued == o.total_queued
100
130
  end
101
131
 
102
132
  # @see the `==` method
@@ -108,7 +138,7 @@ module DocuSign_eSign
108
138
  # Calculates hash code according to all attributes.
109
139
  # @return [Fixnum] Hash code
110
140
  def hash
111
- [batch_id, envelope_or_template_id, error_details, errors].hash
141
+ [batch_id, batch_size, envelope_or_template_id, error_details, errors, queue_limit, total_queued].hash
112
142
  end
113
143
 
114
144
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.13-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module DocuSign_eSign
14
- VERSION = '3.3.0'
14
+ VERSION = '3.4.0.rc1'
15
15
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- docusign_esign (2.4.0)
4
+ docusign_esign (3.4.0.rc1)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  jwt (~> 2.2, >= 2.2.1)
7
7
  typhoeus (~> 1.0, >= 1.0.1)
@@ -9,25 +9,25 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- diff-lcs (1.3)
12
+ diff-lcs (1.4.3)
13
13
  ethon (0.12.0)
14
14
  ffi (>= 1.3.0)
15
- ffi (1.12.2)
15
+ ffi (1.13.1)
16
16
  json (2.3.0)
17
17
  jwt (2.2.1)
18
18
  rspec (3.9.0)
19
19
  rspec-core (~> 3.9.0)
20
20
  rspec-expectations (~> 3.9.0)
21
21
  rspec-mocks (~> 3.9.0)
22
- rspec-core (3.9.1)
23
- rspec-support (~> 3.9.1)
24
- rspec-expectations (3.9.1)
22
+ rspec-core (3.9.2)
23
+ rspec-support (~> 3.9.3)
24
+ rspec-expectations (3.9.2)
25
25
  diff-lcs (>= 1.2.0, < 2.0)
26
26
  rspec-support (~> 3.9.0)
27
27
  rspec-mocks (3.9.1)
28
28
  diff-lcs (>= 1.2.0, < 2.0)
29
29
  rspec-support (~> 3.9.0)
30
- rspec-support (3.9.2)
30
+ rspec-support (3.9.3)
31
31
  typhoeus (1.4.0)
32
32
  ethon (>= 0.9.0)
33
33
 
@@ -39,4 +39,4 @@ DEPENDENCIES
39
39
  rspec
40
40
 
41
41
  BUNDLED WITH
42
- 2.0.2
42
+ 1.17.2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docusign_esign
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.4.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - DocuSign
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-01 00:00:00.000000000 Z
11
+ date: 2020-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -54,82 +54,82 @@ dependencies:
54
54
  name: json
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - "~>"
58
- - !ruby/object:Gem::Version
59
- version: '2.1'
60
57
  - - ">="
61
58
  - !ruby/object:Gem::Version
62
59
  version: 2.1.0
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '2.1'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '2.1'
70
67
  - - ">="
71
68
  - !ruby/object:Gem::Version
72
69
  version: 2.1.0
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '2.1'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: rspec-mocks
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - "~>"
78
- - !ruby/object:Gem::Version
79
- version: '3.8'
80
77
  - - ">="
81
78
  - !ruby/object:Gem::Version
82
79
  version: 3.8.0
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.8'
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '3.8'
90
87
  - - ">="
91
88
  - !ruby/object:Gem::Version
92
89
  version: 3.8.0
90
+ - - "~>"
91
+ - !ruby/object:Gem::Version
92
+ version: '3.8'
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: rspec-expectations
95
95
  requirement: !ruby/object:Gem::Requirement
96
96
  requirements:
97
- - - "~>"
98
- - !ruby/object:Gem::Version
99
- version: '3.8'
100
97
  - - ">="
101
98
  - !ruby/object:Gem::Version
102
99
  version: 3.8.0
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '3.8'
103
103
  type: :development
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '3.8'
110
107
  - - ">="
111
108
  - !ruby/object:Gem::Version
112
109
  version: 3.8.0
110
+ - - "~>"
111
+ - !ruby/object:Gem::Version
112
+ version: '3.8'
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: rspec
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - "~>"
118
- - !ruby/object:Gem::Version
119
- version: '3.4'
120
117
  - - ">="
121
118
  - !ruby/object:Gem::Version
122
119
  version: 3.4.0
120
+ - - "~>"
121
+ - !ruby/object:Gem::Version
122
+ version: '3.4'
123
123
  type: :development
124
124
  prerelease: false
125
125
  version_requirements: !ruby/object:Gem::Requirement
126
126
  requirements:
127
- - - "~>"
128
- - !ruby/object:Gem::Version
129
- version: '3.4'
130
127
  - - ">="
131
128
  - !ruby/object:Gem::Version
132
129
  version: 3.4.0
130
+ - - "~>"
131
+ - !ruby/object:Gem::Version
132
+ version: '3.4'
133
133
  - !ruby/object:Gem::Dependency
134
134
  name: vcr
135
135
  requirement: !ruby/object:Gem::Requirement
@@ -261,17 +261,13 @@ extra_rdoc_files: []
261
261
  files:
262
262
  - CHANGELOG.md
263
263
  - Gemfile
264
- - Gemfile.lock
265
264
  - LICENSE
266
265
  - README.md
267
266
  - Rakefile
268
267
  - docusign_esign-2.4.0.gem
269
268
  - docusign_esign.gemspec
270
269
  - git_push.sh
271
- - lib/.DS_Store
272
270
  - lib/docusign_esign.rb
273
- - lib/docusign_esign/.DS_Store
274
- - lib/docusign_esign/api/.DS_Store
275
271
  - lib/docusign_esign/api/accounts_api.rb
276
272
  - lib/docusign_esign/api/authentication_api.rb
277
273
  - lib/docusign_esign/api/billing_api.rb
@@ -290,6 +286,7 @@ files:
290
286
  - lib/docusign_esign/api/power_forms_api.rb
291
287
  - lib/docusign_esign/api/signing_groups_api.rb
292
288
  - lib/docusign_esign/api/templates_api.rb
289
+ - lib/docusign_esign/api/trust_service_providers_api.rb
293
290
  - lib/docusign_esign/api/tsps_api.rb
294
291
  - lib/docusign_esign/api/users_api.rb
295
292
  - lib/docusign_esign/api/workspaces_api.rb
@@ -734,7 +731,6 @@ files:
734
731
  - lib/docusign_esign/models/workspace_user_authorization.rb
735
732
  - lib/docusign_esign/models/zip.rb
736
733
  - lib/docusign_esign/version.rb
737
- - tests/.DS_Store
738
734
  - tests/Gemfile
739
735
  - tests/Gemfile.lock
740
736
  - tests/docs/Test.pdf
@@ -755,12 +751,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
755
751
  version: '1.9'
756
752
  required_rubygems_version: !ruby/object:Gem::Requirement
757
753
  requirements:
758
- - - ">="
754
+ - - ">"
759
755
  - !ruby/object:Gem::Version
760
- version: '0'
756
+ version: 1.3.1
761
757
  requirements: []
762
- rubyforge_project:
763
- rubygems_version: 2.5.2.3
758
+ rubygems_version: 3.0.3
764
759
  signing_key:
765
760
  specification_version: 4
766
761
  summary: DocuSign REST API Ruby Gem
@@ -1,73 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- docusign_esign (3.3.0.pre.rc)
5
- json (~> 2.1, >= 2.1.0)
6
- jwt (~> 2.2, >= 2.2.1)
7
- typhoeus (~> 1.0, >= 1.0.1)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- ZenTest (4.12.0)
13
- addressable (2.7.0)
14
- public_suffix (>= 2.0.2, < 5.0)
15
- autotest (4.4.6)
16
- ZenTest (>= 4.4.1)
17
- autotest-fsevent (0.2.17)
18
- sys-uname
19
- autotest-growl (0.2.16)
20
- autotest-rails-pure (4.1.2)
21
- crack (0.4.3)
22
- safe_yaml (~> 1.0.0)
23
- diff-lcs (1.3)
24
- ethon (0.12.0)
25
- ffi (>= 1.3.0)
26
- ffi (1.12.2)
27
- hashdiff (1.0.1)
28
- json (2.3.0)
29
- jwt (2.2.1)
30
- public_suffix (4.0.5)
31
- rake (12.3.3)
32
- rspec (3.9.0)
33
- rspec-core (~> 3.9.0)
34
- rspec-expectations (~> 3.9.0)
35
- rspec-mocks (~> 3.9.0)
36
- rspec-core (3.9.2)
37
- rspec-support (~> 3.9.3)
38
- rspec-expectations (3.9.2)
39
- diff-lcs (>= 1.2.0, < 2.0)
40
- rspec-support (~> 3.9.0)
41
- rspec-mocks (3.9.1)
42
- diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.9.0)
44
- rspec-support (3.9.3)
45
- safe_yaml (1.0.5)
46
- sys-uname (1.2.1)
47
- ffi (>= 1.0.0)
48
- typhoeus (1.4.0)
49
- ethon (>= 0.9.0)
50
- vcr (3.0.3)
51
- webmock (1.24.6)
52
- addressable (>= 2.3.6)
53
- crack (>= 0.3.2)
54
- hashdiff
55
-
56
- PLATFORMS
57
- ruby
58
-
59
- DEPENDENCIES
60
- autotest (~> 4.4, >= 4.4.6)
61
- autotest-fsevent (~> 0.2, >= 0.2.11)
62
- autotest-growl (~> 0.2, >= 0.2.16)
63
- autotest-rails-pure (~> 4.1, >= 4.1.2)
64
- docusign_esign!
65
- rake (~> 12.3.3)
66
- rspec (~> 3.4, >= 3.4.0)
67
- rspec-expectations (~> 3.8, >= 3.8.0)
68
- rspec-mocks (~> 3.8, >= 3.8.0)
69
- vcr (~> 3.0, >= 3.0.1)
70
- webmock (~> 1.24, >= 1.24.3)
71
-
72
- BUNDLED WITH
73
- 2.0.2
Binary file
Binary file
Binary file