yousign_client 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +14 -8
- data/config.json +2 -2
- data/docs/AuthenticationsApi.md +60 -45
- data/docs/CheckDocumentsApi.md +40 -30
- data/docs/ConsentProcessesApi.md +80 -57
- data/docs/FileObjectsApi.md +40 -30
- data/docs/FilesApi.md +40 -30
- data/docs/InlineObject.md +17 -0
- data/docs/InlineObject1.md +19 -0
- data/docs/InlineObject2.md +19 -0
- data/docs/MembersApi.md +50 -36
- data/docs/OperationsApi.md +20 -15
- data/docs/OrganizationsApi.md +11 -10
- data/docs/ProceduresApi.md +90 -66
- data/docs/ServerStampsApi.md +20 -15
- data/docs/SignatureUIsApi.md +101 -82
- data/docs/UserGroupsApi.md +21 -16
- data/docs/UsersApi.md +51 -40
- data/docs/WorkspacesApi.md +11 -10
- data/lib/yousign_client/api/authentications_api.rb +24 -87
- data/lib/yousign_client/api/check_documents_api.rb +16 -58
- data/lib/yousign_client/api/consent_processes_api.rb +32 -109
- data/lib/yousign_client/api/file_objects_api.rb +16 -58
- data/lib/yousign_client/api/files_api.rb +16 -58
- data/lib/yousign_client/api/members_api.rb +20 -69
- data/lib/yousign_client/api/operations_api.rb +8 -29
- data/lib/yousign_client/api/organizations_api.rb +4 -11
- data/lib/yousign_client/api/procedures_api.rb +36 -127
- data/lib/yousign_client/api/server_stamps_api.rb +8 -29
- data/lib/yousign_client/api/signature_u_is_api.rb +40 -152
- data/lib/yousign_client/api/user_groups_api.rb +8 -22
- data/lib/yousign_client/api/users_api.rb +20 -69
- data/lib/yousign_client/api/workspaces_api.rb +4 -11
- data/lib/yousign_client/configuration.rb +1 -1
- data/lib/yousign_client/models/check_document_bank_accounts_output.rb +0 -15
- data/lib/yousign_client/models/check_document_identities_output.rb +0 -15
- data/lib/yousign_client/models/file_object_input.rb +0 -15
- data/lib/yousign_client/models/file_object_input_without_file_reference.rb +0 -15
- data/lib/yousign_client/models/file_object_output.rb +0 -30
- data/lib/yousign_client/models/file_object_output_without_file_reference.rb +0 -30
- data/lib/yousign_client/models/file_output.rb +0 -30
- data/lib/yousign_client/models/inwebo_user_request.rb +0 -15
- data/lib/yousign_client/models/member_input.rb +2 -2
- data/lib/yousign_client/models/member_output.rb +2 -17
- data/lib/yousign_client/models/organization_output.rb +0 -15
- data/lib/yousign_client/models/procedure_output.rb +0 -45
- data/lib/yousign_client/models/user_group.rb +0 -15
- data/lib/yousign_client/models/user_output.rb +0 -15
- data/lib/yousign_client/models/user_workspace_output.rb +0 -15
- data/lib/yousign_client/models/workspace_output.rb +0 -15
- data/lib/yousign_client/version.rb +1 -1
- data/spec/api/authentications_api_spec.rb +0 -9
- data/spec/api/check_documents_api_spec.rb +0 -6
- data/spec/api/consent_processes_api_spec.rb +0 -11
- data/spec/api/file_objects_api_spec.rb +0 -6
- data/spec/api/files_api_spec.rb +0 -6
- data/spec/api/members_api_spec.rb +0 -7
- data/spec/api/operations_api_spec.rb +0 -3
- data/spec/api/organizations_api_spec.rb +0 -1
- data/spec/api/procedures_api_spec.rb +0 -13
- data/spec/api/server_stamps_api_spec.rb +0 -3
- data/spec/api/signature_u_is_api_spec.rb +0 -16
- data/spec/api/user_groups_api_spec.rb +0 -2
- data/spec/api/users_api_spec.rb +0 -7
- data/spec/api/workspaces_api_spec.rb +0 -1
- data/spec/models/member_input_spec.rb +1 -1
- data/spec/models/member_output_spec.rb +1 -1
- data/update_client.sh +0 -4
- data/yousign_client.gemspec +1 -1
- data/yousign_openapi.json +53 -704
- metadata +7 -4
data/docs/FilesApi.md
CHANGED
@@ -11,7 +11,7 @@ Method | HTTP request | Description
|
|
11
11
|
|
12
12
|
|
13
13
|
# **files_id_download_get**
|
14
|
-
> String files_id_download_get(id
|
14
|
+
> String files_id_download_get(id)
|
15
15
|
|
16
16
|
Download a File
|
17
17
|
|
@@ -21,17 +21,22 @@ Used to get the base64 content of a file
|
|
21
21
|
```ruby
|
22
22
|
# load the gem
|
23
23
|
require 'yousign_client'
|
24
|
+
# setup authorization
|
25
|
+
YousignClient.configure do |config|
|
26
|
+
# Configure API key authorization: api_key
|
27
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
28
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
29
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
30
|
+
end
|
24
31
|
|
25
32
|
api_instance = YousignClient::FilesApi.new
|
26
33
|
|
27
34
|
id = 'id_example' # String |
|
28
35
|
|
29
|
-
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
30
|
-
|
31
36
|
|
32
37
|
begin
|
33
38
|
#Download a File
|
34
|
-
result = api_instance.files_id_download_get(id
|
39
|
+
result = api_instance.files_id_download_get(id)
|
35
40
|
p result
|
36
41
|
rescue YousignClient::ApiError => e
|
37
42
|
puts "Exception when calling FilesApi->files_id_download_get: #{e}"
|
@@ -43,7 +48,6 @@ end
|
|
43
48
|
Name | Type | Description | Notes
|
44
49
|
------------- | ------------- | ------------- | -------------
|
45
50
|
**id** | **String**| |
|
46
|
-
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
47
51
|
|
48
52
|
### Return type
|
49
53
|
|
@@ -51,7 +55,7 @@ Name | Type | Description | Notes
|
|
51
55
|
|
52
56
|
### Authorization
|
53
57
|
|
54
|
-
|
58
|
+
[api_key](../README.md#api_key)
|
55
59
|
|
56
60
|
### HTTP request headers
|
57
61
|
|
@@ -61,7 +65,7 @@ No authorization required
|
|
61
65
|
|
62
66
|
|
63
67
|
# **files_id_duplicate_post**
|
64
|
-
> FileOutput files_id_duplicate_post(id
|
68
|
+
> FileOutput files_id_duplicate_post(id)
|
65
69
|
|
66
70
|
Duplicate a File
|
67
71
|
|
@@ -71,19 +75,22 @@ Duplicate a file. It will be create a clone of this file, with a new ID.
|
|
71
75
|
```ruby
|
72
76
|
# load the gem
|
73
77
|
require 'yousign_client'
|
78
|
+
# setup authorization
|
79
|
+
YousignClient.configure do |config|
|
80
|
+
# Configure API key authorization: api_key
|
81
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
82
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
83
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
84
|
+
end
|
74
85
|
|
75
86
|
api_instance = YousignClient::FilesApi.new
|
76
87
|
|
77
88
|
id = 'id_example' # String |
|
78
89
|
|
79
|
-
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
80
|
-
|
81
|
-
content_type = 'application/json' # String | The MIME type of the body of the request
|
82
|
-
|
83
90
|
|
84
91
|
begin
|
85
92
|
#Duplicate a File
|
86
|
-
result = api_instance.files_id_duplicate_post(id
|
93
|
+
result = api_instance.files_id_duplicate_post(id)
|
87
94
|
p result
|
88
95
|
rescue YousignClient::ApiError => e
|
89
96
|
puts "Exception when calling FilesApi->files_id_duplicate_post: #{e}"
|
@@ -95,8 +102,6 @@ end
|
|
95
102
|
Name | Type | Description | Notes
|
96
103
|
------------- | ------------- | ------------- | -------------
|
97
104
|
**id** | **String**| |
|
98
|
-
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
99
|
-
**content_type** | **String**| The MIME type of the body of the request |
|
100
105
|
|
101
106
|
### Return type
|
102
107
|
|
@@ -104,7 +109,7 @@ Name | Type | Description | Notes
|
|
104
109
|
|
105
110
|
### Authorization
|
106
111
|
|
107
|
-
|
112
|
+
[api_key](../README.md#api_key)
|
108
113
|
|
109
114
|
### HTTP request headers
|
110
115
|
|
@@ -114,7 +119,7 @@ No authorization required
|
|
114
119
|
|
115
120
|
|
116
121
|
# **files_id_get**
|
117
|
-
> FileOutput files_id_get(id
|
122
|
+
> FileOutput files_id_get(id)
|
118
123
|
|
119
124
|
Find a File by ID
|
120
125
|
|
@@ -124,17 +129,22 @@ Returns all the information regarding the File but without its content (for perf
|
|
124
129
|
```ruby
|
125
130
|
# load the gem
|
126
131
|
require 'yousign_client'
|
132
|
+
# setup authorization
|
133
|
+
YousignClient.configure do |config|
|
134
|
+
# Configure API key authorization: api_key
|
135
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
136
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
137
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
138
|
+
end
|
127
139
|
|
128
140
|
api_instance = YousignClient::FilesApi.new
|
129
141
|
|
130
142
|
id = 'id_example' # String |
|
131
143
|
|
132
|
-
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
133
|
-
|
134
144
|
|
135
145
|
begin
|
136
146
|
#Find a File by ID
|
137
|
-
result = api_instance.files_id_get(id
|
147
|
+
result = api_instance.files_id_get(id)
|
138
148
|
p result
|
139
149
|
rescue YousignClient::ApiError => e
|
140
150
|
puts "Exception when calling FilesApi->files_id_get: #{e}"
|
@@ -146,7 +156,6 @@ end
|
|
146
156
|
Name | Type | Description | Notes
|
147
157
|
------------- | ------------- | ------------- | -------------
|
148
158
|
**id** | **String**| |
|
149
|
-
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
150
159
|
|
151
160
|
### Return type
|
152
161
|
|
@@ -154,7 +163,7 @@ Name | Type | Description | Notes
|
|
154
163
|
|
155
164
|
### Authorization
|
156
165
|
|
157
|
-
|
166
|
+
[api_key](../README.md#api_key)
|
158
167
|
|
159
168
|
### HTTP request headers
|
160
169
|
|
@@ -164,7 +173,7 @@ No authorization required
|
|
164
173
|
|
165
174
|
|
166
175
|
# **files_post**
|
167
|
-
> FileOutput files_post(
|
176
|
+
> FileOutput files_post(body)
|
168
177
|
|
169
178
|
Create a new File
|
170
179
|
|
@@ -174,19 +183,22 @@ Used to upload a file in base64 on our platform
|
|
174
183
|
```ruby
|
175
184
|
# load the gem
|
176
185
|
require 'yousign_client'
|
186
|
+
# setup authorization
|
187
|
+
YousignClient.configure do |config|
|
188
|
+
# Configure API key authorization: api_key
|
189
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
190
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
191
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
192
|
+
end
|
177
193
|
|
178
194
|
api_instance = YousignClient::FilesApi.new
|
179
195
|
|
180
|
-
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
181
|
-
|
182
|
-
content_type = 'application/json' # String | The MIME type of the body of the request
|
183
|
-
|
184
196
|
body = YousignClient::FileInput.new # FileInput |
|
185
197
|
|
186
198
|
|
187
199
|
begin
|
188
200
|
#Create a new File
|
189
|
-
result = api_instance.files_post(
|
201
|
+
result = api_instance.files_post(body)
|
190
202
|
p result
|
191
203
|
rescue YousignClient::ApiError => e
|
192
204
|
puts "Exception when calling FilesApi->files_post: #{e}"
|
@@ -197,8 +209,6 @@ end
|
|
197
209
|
|
198
210
|
Name | Type | Description | Notes
|
199
211
|
------------- | ------------- | ------------- | -------------
|
200
|
-
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
201
|
-
**content_type** | **String**| The MIME type of the body of the request |
|
202
212
|
**body** | [**FileInput**](FileInput.md)| |
|
203
213
|
|
204
214
|
### Return type
|
@@ -207,7 +217,7 @@ Name | Type | Description | Notes
|
|
207
217
|
|
208
218
|
### Authorization
|
209
219
|
|
210
|
-
|
220
|
+
[api_key](../README.md#api_key)
|
211
221
|
|
212
222
|
### HTTP request headers
|
213
223
|
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# YousignClient::InlineObject
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**sign_image** | **String** | Image of signature (base 64) | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'YousignClient'
|
13
|
+
|
14
|
+
instance = YousignClient::InlineObject.new(sign_image: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# YousignClient::InlineObject1
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **String** | Code sms received by user |
|
8
|
+
**sign_image** | **String** | Image of signature (base 64) | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'YousignClient'
|
14
|
+
|
15
|
+
instance = YousignClient::InlineObject1.new(code: null,
|
16
|
+
sign_image: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# YousignClient::InlineObject2
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **String** | Code sms received by user |
|
8
|
+
**sign_image** | **String** | Image of signature (base 64) | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'YousignClient'
|
14
|
+
|
15
|
+
instance = YousignClient::InlineObject2.new(code: null,
|
16
|
+
sign_image: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/MembersApi.md
CHANGED
@@ -12,7 +12,7 @@ Method | HTTP request | Description
|
|
12
12
|
|
13
13
|
|
14
14
|
# **members_get**
|
15
|
-
> Array<MemberOutput> members_get(
|
15
|
+
> Array<MemberOutput> members_get(opts)
|
16
16
|
|
17
17
|
Get all Members
|
18
18
|
|
@@ -22,18 +22,23 @@ Returns the list of Members of a organization. It only usefull if you use the qu
|
|
22
22
|
```ruby
|
23
23
|
# load the gem
|
24
24
|
require 'yousign_client'
|
25
|
+
# setup authorization
|
26
|
+
YousignClient.configure do |config|
|
27
|
+
# Configure API key authorization: api_key
|
28
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
29
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
30
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
31
|
+
end
|
25
32
|
|
26
33
|
api_instance = YousignClient::MembersApi.new
|
27
34
|
|
28
|
-
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
29
|
-
|
30
35
|
opts = {
|
31
36
|
procedure: 'Id for filter about a procedure' # String |
|
32
37
|
}
|
33
38
|
|
34
39
|
begin
|
35
40
|
#Get all Members
|
36
|
-
result = api_instance.members_get(
|
41
|
+
result = api_instance.members_get(opts)
|
37
42
|
p result
|
38
43
|
rescue YousignClient::ApiError => e
|
39
44
|
puts "Exception when calling MembersApi->members_get: #{e}"
|
@@ -44,7 +49,6 @@ end
|
|
44
49
|
|
45
50
|
Name | Type | Description | Notes
|
46
51
|
------------- | ------------- | ------------- | -------------
|
47
|
-
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
48
52
|
**procedure** | **String**| | [optional]
|
49
53
|
|
50
54
|
### Return type
|
@@ -53,7 +57,7 @@ Name | Type | Description | Notes
|
|
53
57
|
|
54
58
|
### Authorization
|
55
59
|
|
56
|
-
|
60
|
+
[api_key](../README.md#api_key)
|
57
61
|
|
58
62
|
### HTTP request headers
|
59
63
|
|
@@ -63,7 +67,7 @@ No authorization required
|
|
63
67
|
|
64
68
|
|
65
69
|
# **members_id_delete**
|
66
|
-
> members_id_delete(id
|
70
|
+
> members_id_delete(id)
|
67
71
|
|
68
72
|
Delete a Member
|
69
73
|
|
@@ -73,17 +77,22 @@ Delete a member
|
|
73
77
|
```ruby
|
74
78
|
# load the gem
|
75
79
|
require 'yousign_client'
|
80
|
+
# setup authorization
|
81
|
+
YousignClient.configure do |config|
|
82
|
+
# Configure API key authorization: api_key
|
83
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
84
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
85
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
86
|
+
end
|
76
87
|
|
77
88
|
api_instance = YousignClient::MembersApi.new
|
78
89
|
|
79
90
|
id = 'id_example' # String |
|
80
91
|
|
81
|
-
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
82
|
-
|
83
92
|
|
84
93
|
begin
|
85
94
|
#Delete a Member
|
86
|
-
api_instance.members_id_delete(id
|
95
|
+
api_instance.members_id_delete(id)
|
87
96
|
rescue YousignClient::ApiError => e
|
88
97
|
puts "Exception when calling MembersApi->members_id_delete: #{e}"
|
89
98
|
end
|
@@ -94,7 +103,6 @@ end
|
|
94
103
|
Name | Type | Description | Notes
|
95
104
|
------------- | ------------- | ------------- | -------------
|
96
105
|
**id** | **String**| |
|
97
|
-
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
98
106
|
|
99
107
|
### Return type
|
100
108
|
|
@@ -102,7 +110,7 @@ nil (empty response body)
|
|
102
110
|
|
103
111
|
### Authorization
|
104
112
|
|
105
|
-
|
113
|
+
[api_key](../README.md#api_key)
|
106
114
|
|
107
115
|
### HTTP request headers
|
108
116
|
|
@@ -112,7 +120,7 @@ No authorization required
|
|
112
120
|
|
113
121
|
|
114
122
|
# **members_id_proof_get**
|
115
|
-
> String members_id_proof_get(id
|
123
|
+
> String members_id_proof_get(id)
|
116
124
|
|
117
125
|
Get a proof file of a Member
|
118
126
|
|
@@ -122,17 +130,22 @@ Get a proof file of a member
|
|
122
130
|
```ruby
|
123
131
|
# load the gem
|
124
132
|
require 'yousign_client'
|
133
|
+
# setup authorization
|
134
|
+
YousignClient.configure do |config|
|
135
|
+
# Configure API key authorization: api_key
|
136
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
137
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
138
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
139
|
+
end
|
125
140
|
|
126
141
|
api_instance = YousignClient::MembersApi.new
|
127
142
|
|
128
143
|
id = 'id_example' # String |
|
129
144
|
|
130
|
-
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
131
|
-
|
132
145
|
|
133
146
|
begin
|
134
147
|
#Get a proof file of a Member
|
135
|
-
result = api_instance.members_id_proof_get(id
|
148
|
+
result = api_instance.members_id_proof_get(id)
|
136
149
|
p result
|
137
150
|
rescue YousignClient::ApiError => e
|
138
151
|
puts "Exception when calling MembersApi->members_id_proof_get: #{e}"
|
@@ -144,7 +157,6 @@ end
|
|
144
157
|
Name | Type | Description | Notes
|
145
158
|
------------- | ------------- | ------------- | -------------
|
146
159
|
**id** | **String**| |
|
147
|
-
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
148
160
|
|
149
161
|
### Return type
|
150
162
|
|
@@ -152,7 +164,7 @@ Name | Type | Description | Notes
|
|
152
164
|
|
153
165
|
### Authorization
|
154
166
|
|
155
|
-
|
167
|
+
[api_key](../README.md#api_key)
|
156
168
|
|
157
169
|
### HTTP request headers
|
158
170
|
|
@@ -162,7 +174,7 @@ No authorization required
|
|
162
174
|
|
163
175
|
|
164
176
|
# **members_id_put**
|
165
|
-
> MemberOutput members_id_put(
|
177
|
+
> MemberOutput members_id_put(idbody)
|
166
178
|
|
167
179
|
Edit a Member
|
168
180
|
|
@@ -172,21 +184,24 @@ Edit a member
|
|
172
184
|
```ruby
|
173
185
|
# load the gem
|
174
186
|
require 'yousign_client'
|
187
|
+
# setup authorization
|
188
|
+
YousignClient.configure do |config|
|
189
|
+
# Configure API key authorization: api_key
|
190
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
191
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
192
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
193
|
+
end
|
175
194
|
|
176
195
|
api_instance = YousignClient::MembersApi.new
|
177
196
|
|
178
197
|
id = 'id_example' # String |
|
179
198
|
|
180
|
-
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
181
|
-
|
182
|
-
content_type = 'application/json' # String | The MIME type of the body of the request
|
183
|
-
|
184
199
|
body = YousignClient::MemberInput.new # MemberInput |
|
185
200
|
|
186
201
|
|
187
202
|
begin
|
188
203
|
#Edit a Member
|
189
|
-
result = api_instance.members_id_put(
|
204
|
+
result = api_instance.members_id_put(idbody)
|
190
205
|
p result
|
191
206
|
rescue YousignClient::ApiError => e
|
192
207
|
puts "Exception when calling MembersApi->members_id_put: #{e}"
|
@@ -198,8 +213,6 @@ end
|
|
198
213
|
Name | Type | Description | Notes
|
199
214
|
------------- | ------------- | ------------- | -------------
|
200
215
|
**id** | **String**| |
|
201
|
-
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
202
|
-
**content_type** | **String**| The MIME type of the body of the request |
|
203
216
|
**body** | [**MemberInput**](MemberInput.md)| |
|
204
217
|
|
205
218
|
### Return type
|
@@ -208,7 +221,7 @@ Name | Type | Description | Notes
|
|
208
221
|
|
209
222
|
### Authorization
|
210
223
|
|
211
|
-
|
224
|
+
[api_key](../README.md#api_key)
|
212
225
|
|
213
226
|
### HTTP request headers
|
214
227
|
|
@@ -218,7 +231,7 @@ No authorization required
|
|
218
231
|
|
219
232
|
|
220
233
|
# **members_post**
|
221
|
-
> MemberOutput members_post(
|
234
|
+
> MemberOutput members_post(body)
|
222
235
|
|
223
236
|
Create a new Member
|
224
237
|
|
@@ -228,19 +241,22 @@ Create a new member
|
|
228
241
|
```ruby
|
229
242
|
# load the gem
|
230
243
|
require 'yousign_client'
|
244
|
+
# setup authorization
|
245
|
+
YousignClient.configure do |config|
|
246
|
+
# Configure API key authorization: api_key
|
247
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
248
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
249
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
250
|
+
end
|
231
251
|
|
232
252
|
api_instance = YousignClient::MembersApi.new
|
233
253
|
|
234
|
-
authorization = 'Bearer {{access_token}}' # String | Authentication credentials for HTTP authentication
|
235
|
-
|
236
|
-
content_type = 'application/json' # String | The MIME type of the body of the request
|
237
|
-
|
238
254
|
body = YousignClient::MemberInput.new # MemberInput |
|
239
255
|
|
240
256
|
|
241
257
|
begin
|
242
258
|
#Create a new Member
|
243
|
-
result = api_instance.members_post(
|
259
|
+
result = api_instance.members_post(body)
|
244
260
|
p result
|
245
261
|
rescue YousignClient::ApiError => e
|
246
262
|
puts "Exception when calling MembersApi->members_post: #{e}"
|
@@ -251,8 +267,6 @@ end
|
|
251
267
|
|
252
268
|
Name | Type | Description | Notes
|
253
269
|
------------- | ------------- | ------------- | -------------
|
254
|
-
**authorization** | **String**| Authentication credentials for HTTP authentication |
|
255
|
-
**content_type** | **String**| The MIME type of the body of the request |
|
256
270
|
**body** | [**MemberInput**](MemberInput.md)| |
|
257
271
|
|
258
272
|
### Return type
|
@@ -261,7 +275,7 @@ Name | Type | Description | Notes
|
|
261
275
|
|
262
276
|
### Authorization
|
263
277
|
|
264
|
-
|
278
|
+
[api_key](../README.md#api_key)
|
265
279
|
|
266
280
|
### HTTP request headers
|
267
281
|
|