docusign_webforms 1.0.0 → 1.0.2.rc12

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
2
  SHA256:
3
- metadata.gz: 44ad6eb9bab79860fb32cc306964fee0b2cb4e69996b1f9701a8d2d8a0017ea6
4
- data.tar.gz: c2145c157fff24b3c379cb98cd75c30df54e43a55b14a032d0d9b6e91f81e784
3
+ metadata.gz: 3dc9fa45ecc3ab8e935a1027dd8eea0278a3c0cb8e5b816dbd4f38e2a03f8585
4
+ data.tar.gz: a6f920301abaa3fda047bbcca3115b249a9d93f807c44297fcf5fdd503ebfa0f
5
5
  SHA512:
6
- metadata.gz: cf3d12c87e3efb97d6e519df41dcfde4abf39050eb9a98499722ea4083ffcebfa39bd7633d73d9c143e5b790a0d30928a7e6ef0699b3476093e6c8ff442e9f15
7
- data.tar.gz: 93a91c89e7f742b581d592904dc4f1f32020a0f1aa7af34530c4bcbf765231a3c16f101a644911dac3003b81a982da81b9f0185522011da38cedc6af31b9b692
6
+ metadata.gz: 457d474d6b4229ffdea62f06051d67293cda3f60cc6ca392f577b2874f7edca6d915c7046dfd0dcc6f73bc3fe5721a3f3b1851783f26ae05f3a19b7a0865922f
7
+ data.tar.gz: d3e43ba2dabcedc0eed54638257c00eda70cd9122519ab0156eb0cb3ee5648ca184fdfb3cc076626b21aa733942ad1fcef59b408a21038c357f4285a860ed177
data/CHANGELOG.md CHANGED
@@ -1,7 +1,3 @@
1
- ## [v1.0.0] - WebForms API v1.1.0-1.0.2 - 2024-02-14
2
- ## Version 1.0.0 (Initial Release)
3
- - Introducing the SDK based on the OpenAPI specification of DocuSign WebForms APIs.
4
- - This release marks the initial availability of the SDK, providing developers with the necessary tools to interact with DocuSign WebForms APIs seamlessly.
5
1
  ## [v1.0.2.rc12] - WebForms API v1.1.0-1.0.2 - 2024-02-09
6
2
  ### Breaking Changes
7
3
 
data/README.md CHANGED
@@ -7,7 +7,7 @@ The Web Forms API facilitates generating semantic HTML forms around everyday con
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 1.1.0
10
- - Package version: 1.0.0
10
+ - Package version: 1.0.2.rc12
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://developers.docusign.com/](https://developers.docusign.com/)
13
13
 
@@ -24,15 +24,15 @@ gem build docusign_webforms.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./docusign_webforms-1.0.0.gem
27
+ gem install ./docusign_webforms-1.0.2.rc12.gem
28
28
  ```
29
- (for development, run `gem install --dev ./docusign_webforms-1.0.0.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./docusign_webforms-1.0.2.rc12.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'docusign_webforms', '~> 1.0.0'
35
+ gem 'docusign_webforms', '~> 1.0.2.rc12'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -96,7 +96,6 @@ Class | Method | HTTP request | Description
96
96
 
97
97
  ## Documentation for Models
98
98
 
99
- - [DocuSign_WebForms::AuthenticationMethod](docs/AuthenticationMethod.md)
100
99
  - [DocuSign_WebForms::CreateInstanceRequestBody](docs/CreateInstanceRequestBody.md)
101
100
  - [DocuSign_WebForms::HttpError](docs/HttpError.md)
102
101
  - [DocuSign_WebForms::HttpSuccess](docs/HttpSuccess.md)
@@ -35,7 +35,7 @@ module DocuSign_WebForms
35
35
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
36
36
  def initialize(config = Configuration.default)
37
37
  @config = config
38
- @user_agent = "Swagger-Codegen/1.1.0/1.0.0/ruby-#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
38
+ @user_agent = "Swagger-Codegen/1.1.0/1.0.2.rc12/ruby-#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
39
39
  @default_headers = {
40
40
  'Content-Type' => "application/json",
41
41
  'User-Agent' => @user_agent
@@ -12,34 +12,164 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_WebForms
15
+ # A value that most closely matches the technique your application used to authenticate the recipient / signer.
15
16
  class AuthenticationMethod
16
-
17
- BIOMETRIC = 'Biometric'.freeze
18
- EMAIL = 'Email'.freeze
19
- HTTP_BASIC_AUTH = 'HTTPBasicAuth'.freeze
20
- KERBEROS = 'Kerberos'.freeze
21
- KNOWLEDGE_BASED_AUTH = 'KnowledgeBasedAuth'.freeze
22
- NONE = 'None'.freeze
23
- PAPER_DOCUMENTS = 'PaperDocuments'.freeze
24
- PASSWORD = 'Password'.freeze
25
- RSA_SECURE_ID = 'RSASecureID'.freeze
26
- SINGLE_SIGN_ON_CA_SITEMINDER = 'SingleSignOn_CASiteminder'.freeze
27
- SINGLE_SIGN_ON_INFO_CARD = 'SingleSignOn_InfoCard'.freeze
28
- SINGLE_SIGN_ON_MICROSOFT_ACTIVE_DIRECTORY = 'SingleSignOn_MicrosoftActiveDirectory'.freeze
29
- SINGLE_SIGN_ON_OTHER = 'SingleSignOn_Other'.freeze
30
- SINGLE_SIGN_ON_PASSPORT = 'SingleSignOn_Passport'.freeze
31
- SINGLE_SIGN_ON_SAML = 'SingleSignOn_SAML'.freeze
32
- SMARTCARD = 'Smartcard'.freeze
33
- SSL_MUTUAL_AUTH = 'SSLMutualAuth'.freeze
34
- X509_CERTIFICATE = 'X509Certificate'.freeze
35
-
36
- # Builds the enum from string
37
- # @param [String] The enum value in the form of the string
38
- # @return [String] The enum value
39
- def build_from_hash(value)
40
- constantValues = AuthenticationMethod.constants.select { |c| AuthenticationMethod::const_get(c) == value }
41
- raise "Invalid ENUM value #{value} for class #AuthenticationMethod" if constantValues.empty?
42
- value
17
+ # Attribute mapping from ruby-style variable name to JSON key.
18
+ def self.attribute_map
19
+ {
20
+ }
43
21
  end
22
+
23
+ # Attribute type mapping.
24
+ def self.swagger_types
25
+ {
26
+ }
27
+ end
28
+
29
+ # Initializes the object
30
+ # @param [Hash] attributes Model attributes in the form of hash
31
+ def initialize(attributes = {})
32
+ return unless attributes.is_a?(Hash)
33
+
34
+ # convert string to symbol for hash key
35
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
36
+ end
37
+
38
+ # Show invalid properties with the reasons. Usually used together with valid?
39
+ # @return Array for valid properties with the reasons
40
+ def list_invalid_properties
41
+ invalid_properties = Array.new
42
+ invalid_properties
43
+ end
44
+
45
+ # Check to see if the all the properties in the model are valid
46
+ # @return true if the model is valid
47
+ def valid?
48
+ true
49
+ end
50
+
51
+ # Checks equality by comparing each attribute.
52
+ # @param [Object] Object to be compared
53
+ def ==(o)
54
+ return true if self.equal?(o)
55
+ self.class == o.class
56
+ end
57
+
58
+ # @see the `==` method
59
+ # @param [Object] Object to be compared
60
+ def eql?(o)
61
+ self == o
62
+ end
63
+
64
+ # Calculates hash code according to all attributes.
65
+ # @return [Fixnum] Hash code
66
+ def hash
67
+ [].hash
68
+ end
69
+
70
+ # Builds the object from hash
71
+ # @param [Hash] attributes Model attributes in the form of hash
72
+ # @return [Object] Returns the model itself
73
+ def build_from_hash(attributes)
74
+ return nil unless attributes.is_a?(Hash)
75
+ self.class.swagger_types.each_pair do |key, type|
76
+ if type =~ /\AArray<(.*)>/i
77
+ # check to ensure the input is an array given that the attribute
78
+ # is documented as an array but the input is not
79
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
80
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
81
+ end
82
+ elsif !attributes[self.class.attribute_map[key]].nil?
83
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
84
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
85
+ end
86
+
87
+ self
88
+ end
89
+
90
+ # Deserializes the data based on type
91
+ # @param string type Data type
92
+ # @param string value Value to be deserialized
93
+ # @return [Object] Deserialized data
94
+ def _deserialize(type, value)
95
+ case type.to_sym
96
+ when :DateTime
97
+ DateTime.parse(value)
98
+ when :Date
99
+ Date.parse(value)
100
+ when :String
101
+ value.to_s
102
+ when :Integer
103
+ value.to_i
104
+ when :Float
105
+ value.to_f
106
+ when :BOOLEAN
107
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
108
+ true
109
+ else
110
+ false
111
+ end
112
+ when :Object
113
+ # generic object (usually a Hash), return directly
114
+ value
115
+ when /\AArray<(?<inner_type>.+)>\z/
116
+ inner_type = Regexp.last_match[:inner_type]
117
+ value.map { |v| _deserialize(inner_type, v) }
118
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
119
+ k_type = Regexp.last_match[:k_type]
120
+ v_type = Regexp.last_match[:v_type]
121
+ {}.tap do |hash|
122
+ value.each do |k, v|
123
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
124
+ end
125
+ end
126
+ else # model
127
+ temp_model = DocuSign_WebForms.const_get(type).new
128
+ temp_model.build_from_hash(value)
129
+ end
130
+ end
131
+
132
+ # Returns the string representation of the object
133
+ # @return [String] String presentation of the object
134
+ def to_s
135
+ to_hash.to_s
136
+ end
137
+
138
+ # to_body is an alias to to_hash (backward compatibility)
139
+ # @return [Hash] Returns the object in the form of hash
140
+ def to_body
141
+ to_hash
142
+ end
143
+
144
+ # Returns the object in the form of hash
145
+ # @return [Hash] Returns the object in the form of hash
146
+ def to_hash
147
+ hash = {}
148
+ self.class.attribute_map.each_pair do |attr, param|
149
+ value = self.send(attr)
150
+ next if value.nil?
151
+ hash[param] = _to_hash(value)
152
+ end
153
+ hash
154
+ end
155
+
156
+ # Outputs non-array value in the form of hash
157
+ # For object, use to_hash. Otherwise, just return the value
158
+ # @param [Object] value Any valid value
159
+ # @return [Hash] Returns the value in the form of hash
160
+ def _to_hash(value)
161
+ if value.is_a?(Array)
162
+ value.compact.map { |v| _to_hash(v) }
163
+ elsif value.is_a?(Hash)
164
+ {}.tap do |hash|
165
+ value.each { |k, v| hash[k] = _to_hash(v) }
166
+ end
167
+ elsif value.respond_to? :to_hash
168
+ value.to_hash
169
+ else
170
+ value
171
+ end
172
+ end
173
+
44
174
  end
45
175
  end
@@ -54,7 +54,7 @@ module DocuSign_WebForms
54
54
  :'form_values' => :'WebFormValues',
55
55
  :'client_user_id' => :'String',
56
56
  :'authentication_instant' => :'DateTime',
57
- :'authentication_method' => :'AuthenticationMethod',
57
+ :'authentication_method' => :'String',
58
58
  :'assertion_id' => :'String',
59
59
  :'security_domain' => :'String',
60
60
  :'return_url' => :'String',
@@ -10,5 +10,5 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
10
10
  =end
11
11
 
12
12
  module DocuSign_WebForms
13
- VERSION = '1.0.0'
13
+ VERSION = '1.0.2.rc12'
14
14
  end
@@ -19,7 +19,6 @@ require 'docusign_webforms/configuration'
19
19
  require 'docusign_webforms/client/auth/oauth'
20
20
 
21
21
  # Models
22
- require 'docusign_webforms/models/authentication_method'
23
22
  require 'docusign_webforms/models/create_instance_request_body'
24
23
  require 'docusign_webforms/models/http_error'
25
24
  require 'docusign_webforms/models/http_success'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docusign_webforms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2.rc12
5
5
  platform: ruby
6
6
  authors:
7
7
  - DocuSign
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-14 00:00:00.000000000 Z
11
+ date: 2024-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -370,9 +370,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
370
370
  version: '1.9'
371
371
  required_rubygems_version: !ruby/object:Gem::Requirement
372
372
  requirements:
373
- - - ">="
373
+ - - ">"
374
374
  - !ruby/object:Gem::Version
375
- version: '0'
375
+ version: 1.3.1
376
376
  requirements: []
377
377
  rubyforge_project:
378
378
  rubygems_version: 2.7.6