treezor_client 1.9.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/docs/DocumentApi.md +2 -2
- data/lib/treezor_client/api/document_api.rb +4 -4
- data/lib/treezor_client/models/document.rb +2 -2
- data/lib/treezor_client/version.rb +1 -1
- data/pkg/treezor_client-1.10.0.gem +0 -0
- data/treezor_api_spec.yaml +4 -3
- metadata +3 -9
- data/pkg/treezor_client-1.0.0.gem +0 -0
- data/pkg/treezor_client-1.1.0.gem +0 -0
- data/pkg/treezor_client-1.2.0.gem +0 -0
- data/pkg/treezor_client-1.3.0.gem +0 -0
- data/pkg/treezor_client-1.4.0.gem +0 -0
- data/pkg/treezor_client-1.5.0.gem +0 -0
- data/pkg/treezor_client-1.7.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04deccebf5a8065908390bd215c1870a54ffa88a09ec9b20ead57d4c6eb2bc4e
|
4
|
+
data.tar.gz: cb4d77767af6219c8e5e9e770d9817c6b3d4f58786fbf2ea492de3e746c17708
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ae3d8ad0db335ed1e609556759a61635e6cb5335198cfbc5847ebb85ecdde4128f9d7e43a86fc8267f39be7de9828ec612b6d7f58bfee8a3926cbdbcd56259f
|
7
|
+
data.tar.gz: c2c849ee3b81f3457171362a57aa7f8bf114ab8a9b03a036d7958fbc2d4ef552c3ca90c01319ffb15ffe268936ae66d9f52bcafd354d03d37fa5c379a6914536
|
data/Gemfile.lock
CHANGED
data/docs/DocumentApi.md
CHANGED
@@ -224,7 +224,7 @@ opts = {
|
|
224
224
|
access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
225
225
|
document_id: 56, # Integer | Document's unique id.
|
226
226
|
document_tag: 'document_tag_example', # String | Custom data.
|
227
|
-
document_status: 'document_status_example', # String | The status of the document. Possible values: * PENDING * CANCELED * VALIDATED
|
227
|
+
document_status: 'document_status_example', # String | The status of the document. Possible values: * PENDING * CANCELED * VALIDATED * REFUSED
|
228
228
|
document_type_id: 56, # Integer | Document type id.
|
229
229
|
document_type: 'document_type_example', # String | Document's type.
|
230
230
|
user_id: 56, # Integer | Document user's id.
|
@@ -263,7 +263,7 @@ Name | Type | Description | Notes
|
|
263
263
|
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
264
264
|
**document_id** | **Integer**| Document's unique id. | [optional]
|
265
265
|
**document_tag** | **String**| Custom data. | [optional]
|
266
|
-
**document_status** | **String**| The status of the document. Possible values: * PENDING * CANCELED * VALIDATED | [optional]
|
266
|
+
**document_status** | **String**| The status of the document. Possible values: * PENDING * CANCELED * VALIDATED * REFUSED | [optional]
|
267
267
|
**document_type_id** | **Integer**| Document type id. | [optional]
|
268
268
|
**document_type** | **String**| Document's type. | [optional]
|
269
269
|
**user_id** | **Integer**| Document user's id. | [optional]
|
@@ -234,7 +234,7 @@ module TreezorClient
|
|
234
234
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
235
235
|
# @option opts [Integer] :document_id Document's unique id.
|
236
236
|
# @option opts [String] :document_tag Custom data.
|
237
|
-
# @option opts [String] :document_status The status of the document. Possible values: * PENDING * CANCELED * VALIDATED
|
237
|
+
# @option opts [String] :document_status The status of the document. Possible values: * PENDING * CANCELED * VALIDATED * REFUSED
|
238
238
|
# @option opts [Integer] :document_type_id Document type id.
|
239
239
|
# @option opts [String] :document_type Document's type.
|
240
240
|
# @option opts [Integer] :user_id Document user's id.
|
@@ -267,7 +267,7 @@ module TreezorClient
|
|
267
267
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
268
268
|
# @option opts [Integer] :document_id Document's unique id.
|
269
269
|
# @option opts [String] :document_tag Custom data.
|
270
|
-
# @option opts [String] :document_status The status of the document. Possible values: * PENDING * CANCELED * VALIDATED
|
270
|
+
# @option opts [String] :document_status The status of the document. Possible values: * PENDING * CANCELED * VALIDATED * REFUSED
|
271
271
|
# @option opts [Integer] :document_type_id Document type id.
|
272
272
|
# @option opts [String] :document_type Document's type.
|
273
273
|
# @option opts [Integer] :user_id Document user's id.
|
@@ -290,8 +290,8 @@ module TreezorClient
|
|
290
290
|
if @api_client.config.debugging
|
291
291
|
@api_client.config.logger.debug 'Calling API: DocumentApi.get_documents ...'
|
292
292
|
end
|
293
|
-
if @api_client.config.client_side_validation && opts[:'document_status'] && !['PENDING', 'CANCELED', 'VALIDATED'].include?(opts[:'document_status'])
|
294
|
-
fail ArgumentError, 'invalid value for "document_status", must be one of PENDING, CANCELED, VALIDATED'
|
293
|
+
if @api_client.config.client_side_validation && opts[:'document_status'] && !['PENDING', 'CANCELED', 'VALIDATED', 'REFUSED'].include?(opts[:'document_status'])
|
294
|
+
fail ArgumentError, 'invalid value for "document_status", must be one of PENDING, CANCELED, VALIDATED, REFUSED'
|
295
295
|
end
|
296
296
|
# resource path
|
297
297
|
local_var_path = '/documents'
|
@@ -197,7 +197,7 @@ module TreezorClient
|
|
197
197
|
# Check to see if the all the properties in the model are valid
|
198
198
|
# @return true if the model is valid
|
199
199
|
def valid?
|
200
|
-
document_status_validator = EnumAttributeValidator.new('String', ['PENDING', 'CANCELED', 'VALIDATED'])
|
200
|
+
document_status_validator = EnumAttributeValidator.new('String', ['PENDING', 'CANCELED', 'VALIDATED', 'REFUSED'])
|
201
201
|
return false unless document_status_validator.valid?(@document_status)
|
202
202
|
true
|
203
203
|
end
|
@@ -205,7 +205,7 @@ module TreezorClient
|
|
205
205
|
# Custom attribute writer method checking allowed values (enum).
|
206
206
|
# @param [Object] document_status Object to be assigned
|
207
207
|
def document_status=(document_status)
|
208
|
-
validator = EnumAttributeValidator.new('String', ['PENDING', 'CANCELED', 'VALIDATED'])
|
208
|
+
validator = EnumAttributeValidator.new('String', ['PENDING', 'CANCELED', 'VALIDATED', 'REFUSED'])
|
209
209
|
unless validator.valid?(document_status)
|
210
210
|
fail ArgumentError, 'invalid value for "document_status", must be one of #{validator.allowable_values}.'
|
211
211
|
end
|
Binary file
|
data/treezor_api_spec.yaml
CHANGED
@@ -4852,9 +4852,10 @@ paths:
|
|
4852
4852
|
* PENDING
|
4853
4853
|
* CANCELED
|
4854
4854
|
* VALIDATED
|
4855
|
+
* REFUSED
|
4855
4856
|
required: false
|
4856
4857
|
type: string
|
4857
|
-
enum: ["PENDING", "CANCELED", "VALIDATED"]
|
4858
|
+
enum: ["PENDING", "CANCELED", "VALIDATED", "REFUSED"]
|
4858
4859
|
- name: documentTypeId
|
4859
4860
|
in: query
|
4860
4861
|
description: Document type id.
|
@@ -12289,7 +12290,7 @@ definitions:
|
|
12289
12290
|
type: string
|
12290
12291
|
documentStatus:
|
12291
12292
|
type: string
|
12292
|
-
enum: ['PENDING', 'CANCELED', 'VALIDATED']
|
12293
|
+
enum: ['PENDING', 'CANCELED', 'VALIDATED', 'REFUSED']
|
12293
12294
|
documentTypeId:
|
12294
12295
|
type: integer
|
12295
12296
|
documentType:
|
@@ -13126,4 +13127,4 @@ definitions:
|
|
13126
13127
|
additionalInformation:
|
13127
13128
|
type: array
|
13128
13129
|
items:
|
13129
|
-
type: string
|
13130
|
+
type: string
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: treezor_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chaker Nakhli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -552,13 +552,7 @@ files:
|
|
552
552
|
- lib/treezor_client/models/wallet.rb
|
553
553
|
- lib/treezor_client/version.rb
|
554
554
|
- original_treezor_api_spec.yaml
|
555
|
-
- pkg/treezor_client-1.
|
556
|
-
- pkg/treezor_client-1.1.0.gem
|
557
|
-
- pkg/treezor_client-1.2.0.gem
|
558
|
-
- pkg/treezor_client-1.3.0.gem
|
559
|
-
- pkg/treezor_client-1.4.0.gem
|
560
|
-
- pkg/treezor_client-1.5.0.gem
|
561
|
-
- pkg/treezor_client-1.7.0.gem
|
555
|
+
- pkg/treezor_client-1.10.0.gem
|
562
556
|
- spec/api/balance_api_spec.rb
|
563
557
|
- spec/api/bankaccount_api_spec.rb
|
564
558
|
- spec/api/beneficiaries_api_spec.rb
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|