transferzero-sdk 1.37.3 → 1.37.4
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/Gemfile.lock +4 -3
- data/README.md +7 -4
- data/docs/DlocalBalance.md +23 -0
- data/docs/DlocalBalanceApi.md +66 -0
- data/docs/DlocalBalanceResponse.md +17 -0
- data/lib/transferzero-sdk/api/dlocal_balance_api.rb +71 -0
- data/lib/transferzero-sdk/api_client.rb +1 -1
- data/lib/transferzero-sdk/models/dlocal_balance.rb +233 -0
- data/lib/transferzero-sdk/models/dlocal_balance_response.rb +204 -0
- data/lib/transferzero-sdk/version.rb +1 -1
- data/lib/transferzero-sdk.rb +3 -0
- data/spec/api/dlocal_balance_api_spec.rb +46 -0
- data/spec/models/dlocal_balance_response_spec.rb +41 -0
- data/spec/models/dlocal_balance_spec.rb +59 -0
- metadata +14 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: acfc4cd534c488667f777874561b934d78d3be1a44f2fc58b733140a1b521f6e
|
|
4
|
+
data.tar.gz: 91d52172770841677f3594566669b176d50270fb2e242130a303954985d494fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dcea5edb8b6aa35cf33d352b61dc87cf0466cc8ae6cfad28a8b03713ab55e0ef0440180a326a0882ffadd7375992a2cc36b55f93cbad4664b06e97fad390c765
|
|
7
|
+
data.tar.gz: 716db1e521a6f8c185a277254c3233ceeadfb03e58af6c1f49d19e8c8e6cce36be56286cbde542af0a232d9d2d160f760103ba7d17dd24838fa5e067f0fa2dd6
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
transferzero-sdk (1.37.
|
|
4
|
+
transferzero-sdk (1.37.4)
|
|
5
5
|
activesupport (>= 4)
|
|
6
6
|
faraday (~> 1.0, >= 1.0.1)
|
|
7
7
|
json (>= 1.4)
|
|
@@ -32,7 +32,7 @@ GEM
|
|
|
32
32
|
connection_pool (3.0.2)
|
|
33
33
|
diff-lcs (1.6.2)
|
|
34
34
|
drb (2.2.3)
|
|
35
|
-
faraday (1.10.
|
|
35
|
+
faraday (1.10.5)
|
|
36
36
|
faraday-em_http (~> 1.0)
|
|
37
37
|
faraday-em_synchrony (~> 1.0)
|
|
38
38
|
faraday-excon (~> 1.1)
|
|
@@ -61,7 +61,8 @@ GEM
|
|
|
61
61
|
json (2.18.1)
|
|
62
62
|
logger (1.7.0)
|
|
63
63
|
method_source (1.1.0)
|
|
64
|
-
minitest (6.0.
|
|
64
|
+
minitest (6.0.2)
|
|
65
|
+
drb (~> 2.0)
|
|
65
66
|
prism (~> 1.5)
|
|
66
67
|
multipart-post (2.4.1)
|
|
67
68
|
prism (1.9.0)
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Reference documentation for the TransferZero API V1
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 1.0
|
|
10
|
-
- Package version: 1.37.
|
|
10
|
+
- Package version: 1.37.4
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
|
|
13
13
|
For more information, please visit:
|
|
@@ -31,15 +31,15 @@ gem build transferzero-sdk.gemspec
|
|
|
31
31
|
Then either install the gem locally:
|
|
32
32
|
|
|
33
33
|
```shell
|
|
34
|
-
gem install ./transferzero-sdk-1.37.
|
|
34
|
+
gem install ./transferzero-sdk-1.37.4.gem
|
|
35
35
|
```
|
|
36
|
-
(for development, run `gem install --dev ./transferzero-sdk-1.37.
|
|
36
|
+
(for development, run `gem install --dev ./transferzero-sdk-1.37.4.gem` to install the development dependencies)
|
|
37
37
|
|
|
38
38
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
39
39
|
|
|
40
40
|
Finally add this to the Gemfile:
|
|
41
41
|
|
|
42
|
-
gem 'transferzero-sdk', '~> 1.37.
|
|
42
|
+
gem 'transferzero-sdk', '~> 1.37.4'
|
|
43
43
|
|
|
44
44
|
### Install from Git
|
|
45
45
|
|
|
@@ -113,6 +113,7 @@ Class | Method | HTTP request | Description
|
|
|
113
113
|
*TransferZero::CurrencyInfoApi* | [**info_currencies**](docs/CurrencyInfoApi.md#info_currencies) | **GET** /info/currencies | Getting a list of possible requested currencies
|
|
114
114
|
*TransferZero::CurrencyInfoApi* | [**info_currencies_in**](docs/CurrencyInfoApi.md#info_currencies_in) | **GET** /info/currencies/in | Getting a list of possible input currencies
|
|
115
115
|
*TransferZero::CurrencyInfoApi* | [**info_currencies_out**](docs/CurrencyInfoApi.md#info_currencies_out) | **GET** /info/currencies/out | Getting a list of possible output currencies
|
|
116
|
+
*TransferZero::DlocalBalanceApi* | [**get_balance**](docs/DlocalBalanceApi.md#get_balance) | **GET** /dlocal/balance | Get dlocal balances
|
|
116
117
|
*TransferZero::DocumentsApi* | [**get_document**](docs/DocumentsApi.md#get_document) | **GET** /documents/{Document ID} | Fetching a document
|
|
117
118
|
*TransferZero::DocumentsApi* | [**get_documents**](docs/DocumentsApi.md#get_documents) | **GET** /documents | Getting a list of documents
|
|
118
119
|
*TransferZero::DocumentsApi* | [**post_documents**](docs/DocumentsApi.md#post_documents) | **POST** /documents | Creating a document
|
|
@@ -176,6 +177,8 @@ Class | Method | HTTP request | Description
|
|
|
176
177
|
- [TransferZero::DebitListResponse](docs/DebitListResponse.md)
|
|
177
178
|
- [TransferZero::DebitRequest](docs/DebitRequest.md)
|
|
178
179
|
- [TransferZero::DebitRequestWrapper](docs/DebitRequestWrapper.md)
|
|
180
|
+
- [TransferZero::DlocalBalance](docs/DlocalBalance.md)
|
|
181
|
+
- [TransferZero::DlocalBalanceResponse](docs/DlocalBalanceResponse.md)
|
|
179
182
|
- [TransferZero::Document](docs/Document.md)
|
|
180
183
|
- [TransferZero::DocumentListResponse](docs/DocumentListResponse.md)
|
|
181
184
|
- [TransferZero::DocumentRequest](docs/DocumentRequest.md)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# TransferZero::DlocalBalance
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**currency** | **String** | The currency of this balance | [optional]
|
|
8
|
+
**available_balance** | **Float** | The available balance for the given currency | [optional]
|
|
9
|
+
**previous_day_closing_balance** | **Float** | The balance at end of previous day | [optional]
|
|
10
|
+
**current_balance_date** | **String** | Current date | [optional]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'TransferZero'
|
|
16
|
+
|
|
17
|
+
instance = TransferZero::DlocalBalance.new(currency: USD,
|
|
18
|
+
available_balance: 1000,
|
|
19
|
+
previous_day_closing_balance: 1000,
|
|
20
|
+
current_balance_date: 2026-02-24)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# TransferZero::DlocalBalanceApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api-sandbox.transferzero.com/v1*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**get_balance**](DlocalBalanceApi.md#get_balance) | **GET** /dlocal/balance | Get dlocal balances
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# **get_balance**
|
|
11
|
+
> DlocalBalanceResponse get_balance
|
|
12
|
+
|
|
13
|
+
Get dlocal balances
|
|
14
|
+
|
|
15
|
+
This endpoint retrieves dlocal account balances
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
```ruby
|
|
19
|
+
# load the gem
|
|
20
|
+
require 'transferzero-sdk'
|
|
21
|
+
|
|
22
|
+
api_instance = TransferZero::DlocalBalanceApi.new
|
|
23
|
+
|
|
24
|
+
begin
|
|
25
|
+
#Get dlocal balances
|
|
26
|
+
result = api_instance.get_balance
|
|
27
|
+
p result
|
|
28
|
+
rescue TransferZero::ApiError => e
|
|
29
|
+
if e.validation_error
|
|
30
|
+
puts "WARN: Validation error occured when calling the endpoint"
|
|
31
|
+
result = e.response_object("DlocalBalanceResponse")
|
|
32
|
+
p result
|
|
33
|
+
else
|
|
34
|
+
puts "Exception when calling DlocalBalanceApi->get_balance: #{e}"
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Parameters
|
|
40
|
+
This endpoint does not need any parameter.
|
|
41
|
+
|
|
42
|
+
### Return type
|
|
43
|
+
|
|
44
|
+
[**DlocalBalanceResponse**](DlocalBalanceResponse.md)
|
|
45
|
+
|
|
46
|
+
### Authorization
|
|
47
|
+
|
|
48
|
+
You can set the API Key and Secret on the TransferZero object when setting it up:
|
|
49
|
+
|
|
50
|
+
```ruby
|
|
51
|
+
|
|
52
|
+
TransferZero.configure do |config|
|
|
53
|
+
config.api_key = '<key'
|
|
54
|
+
config.api_secret = '<secret>'
|
|
55
|
+
config.host = 'https://api-sandbox.transferzero.com/v1'
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### HTTP request headers
|
|
61
|
+
|
|
62
|
+
- **Content-Type**: Not defined
|
|
63
|
+
- **Accept**: application/json
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# TransferZero::DlocalBalanceResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**object** | [**Array<DlocalBalance>**](DlocalBalance.md) | | [optional]
|
|
8
|
+
|
|
9
|
+
## Code Sample
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'TransferZero'
|
|
13
|
+
|
|
14
|
+
instance = TransferZero::DlocalBalanceResponse.new(object: null)
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#TransferZero API
|
|
3
|
+
|
|
4
|
+
#Reference documentation for the TransferZero API V1
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.0.0-beta3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'uri'
|
|
14
|
+
|
|
15
|
+
module TransferZero
|
|
16
|
+
class DlocalBalanceApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
# Get dlocal balances
|
|
25
|
+
# This endpoint retrieves dlocal account balances
|
|
26
|
+
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @return [DlocalBalanceResponse]
|
|
28
|
+
def get_balance(opts = {})
|
|
29
|
+
data, _status_code, _headers = get_balance_with_http_info(opts)
|
|
30
|
+
data
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Get dlocal balances
|
|
34
|
+
# This endpoint retrieves dlocal account balances
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [Array<(DlocalBalanceResponse, Fixnum, Hash)>] DlocalBalanceResponse data, response status code and response headers
|
|
37
|
+
def get_balance_with_http_info(opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: DlocalBalanceApi.get_balance ...'
|
|
40
|
+
end
|
|
41
|
+
# resource path
|
|
42
|
+
local_var_path = '/dlocal/balance'
|
|
43
|
+
|
|
44
|
+
# query parameters
|
|
45
|
+
query_params = {}
|
|
46
|
+
|
|
47
|
+
# header parameters
|
|
48
|
+
header_params = {}
|
|
49
|
+
# HTTP header 'Accept' (if needed)
|
|
50
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
51
|
+
|
|
52
|
+
# form parameters
|
|
53
|
+
form_params = {}
|
|
54
|
+
|
|
55
|
+
# http body (model)
|
|
56
|
+
post_body = nil
|
|
57
|
+
auth_names = ['AuthorizationKey', 'AuthorizationNonce', 'AuthorizationSecret', 'AuthorizationSignature']
|
|
58
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
59
|
+
:header_params => header_params,
|
|
60
|
+
:query_params => query_params,
|
|
61
|
+
:form_params => form_params,
|
|
62
|
+
:body => post_body,
|
|
63
|
+
:auth_names => auth_names,
|
|
64
|
+
:return_type => 'DlocalBalanceResponse')
|
|
65
|
+
if @api_client.config.debugging
|
|
66
|
+
@api_client.config.logger.debug "API called: DlocalBalanceApi#get_balance\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
67
|
+
end
|
|
68
|
+
return data, status_code, headers
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
end
|
|
@@ -36,7 +36,7 @@ module TransferZero
|
|
|
36
36
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
|
37
37
|
def initialize(config = Configuration.default)
|
|
38
38
|
@config = config
|
|
39
|
-
@user_agent = "TransferZero-SDK/Ruby/1.37.
|
|
39
|
+
@user_agent = "TransferZero-SDK/Ruby/1.37.4"
|
|
40
40
|
@default_headers = {
|
|
41
41
|
'Content-Type' => 'application/json',
|
|
42
42
|
'User-Agent' => @user_agent
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#TransferZero API
|
|
3
|
+
|
|
4
|
+
#Reference documentation for the TransferZero API V1
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.0.0-beta3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
|
|
15
|
+
module TransferZero
|
|
16
|
+
class DlocalBalance
|
|
17
|
+
# The currency of this balance
|
|
18
|
+
attr_accessor :currency
|
|
19
|
+
|
|
20
|
+
# The available balance for the given currency
|
|
21
|
+
attr_accessor :available_balance
|
|
22
|
+
|
|
23
|
+
# The balance at end of previous day
|
|
24
|
+
attr_accessor :previous_day_closing_balance
|
|
25
|
+
|
|
26
|
+
# Current date
|
|
27
|
+
attr_accessor :current_balance_date
|
|
28
|
+
|
|
29
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
|
+
def self.attribute_map
|
|
31
|
+
{
|
|
32
|
+
:'currency' => :'currency',
|
|
33
|
+
:'available_balance' => :'available_balance',
|
|
34
|
+
:'previous_day_closing_balance' => :'previous_day_closing_balance',
|
|
35
|
+
:'current_balance_date' => :'current_balance_date'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Attribute type mapping.
|
|
40
|
+
def self.openapi_types
|
|
41
|
+
{
|
|
42
|
+
:'currency' => :'String',
|
|
43
|
+
:'available_balance' => :'Float',
|
|
44
|
+
:'previous_day_closing_balance' => :'Float',
|
|
45
|
+
:'current_balance_date' => :'String'
|
|
46
|
+
}
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Initializes the object
|
|
50
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
51
|
+
def initialize(attributes = {})
|
|
52
|
+
if (!attributes.is_a?(Hash))
|
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TransferZero::DlocalBalance` initialize method"
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
57
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
58
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TransferZero::DlocalBalance`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
60
|
+
end
|
|
61
|
+
h[k.to_sym] = v
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if attributes.key?(:'currency')
|
|
65
|
+
self.currency = attributes[:'currency']
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
if attributes.key?(:'available_balance')
|
|
69
|
+
self.available_balance = attributes[:'available_balance']
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
if attributes.key?(:'previous_day_closing_balance')
|
|
73
|
+
self.previous_day_closing_balance = attributes[:'previous_day_closing_balance']
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
if attributes.key?(:'current_balance_date')
|
|
77
|
+
self.current_balance_date = attributes[:'current_balance_date']
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
82
|
+
# @return Array for valid properties with the reasons
|
|
83
|
+
def list_invalid_properties
|
|
84
|
+
invalid_properties = Array.new
|
|
85
|
+
invalid_properties
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Check to see if the all the properties in the model are valid
|
|
89
|
+
# @return true if the model is valid
|
|
90
|
+
def valid?
|
|
91
|
+
true
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Checks equality by comparing each attribute.
|
|
95
|
+
# @param [Object] Object to be compared
|
|
96
|
+
def ==(o)
|
|
97
|
+
return true if self.equal?(o)
|
|
98
|
+
self.class == o.class &&
|
|
99
|
+
currency == o.currency &&
|
|
100
|
+
available_balance == o.available_balance &&
|
|
101
|
+
previous_day_closing_balance == o.previous_day_closing_balance &&
|
|
102
|
+
current_balance_date == o.current_balance_date
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# @see the `==` method
|
|
106
|
+
# @param [Object] Object to be compared
|
|
107
|
+
def eql?(o)
|
|
108
|
+
self == o
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# Calculates hash code according to all attributes.
|
|
112
|
+
# @return [Integer] Hash code
|
|
113
|
+
def hash
|
|
114
|
+
[currency, available_balance, previous_day_closing_balance, current_balance_date].hash
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
require 'active_support/core_ext/hash'
|
|
118
|
+
require 'active_support/hash_with_indifferent_access.rb'
|
|
119
|
+
# Builds the object from hash
|
|
120
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
121
|
+
# @return [Object] Returns the model itself
|
|
122
|
+
def build_from_hash(attributes)
|
|
123
|
+
return nil unless attributes.is_a?(Hash)
|
|
124
|
+
self.class.openapi_types.each_pair do |key, type|
|
|
125
|
+
if type =~ /\AArray<(.*)>/i
|
|
126
|
+
# check to ensure the input is an array given that the the attribute
|
|
127
|
+
# is documented as an array but the input is not
|
|
128
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
129
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
130
|
+
end
|
|
131
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
132
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
133
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
self
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# Deserializes the data based on type
|
|
140
|
+
# @param string type Data type
|
|
141
|
+
# @param string value Value to be deserialized
|
|
142
|
+
# @return [Object] Deserialized data
|
|
143
|
+
def _deserialize(type, value)
|
|
144
|
+
case type.to_sym
|
|
145
|
+
when :DateTime
|
|
146
|
+
DateTime.parse(value)
|
|
147
|
+
when :Date
|
|
148
|
+
Date.parse(value)
|
|
149
|
+
when :String
|
|
150
|
+
value.to_s
|
|
151
|
+
when :Integer
|
|
152
|
+
value.to_i
|
|
153
|
+
when :Float
|
|
154
|
+
value.to_f
|
|
155
|
+
when :Boolean
|
|
156
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
157
|
+
true
|
|
158
|
+
else
|
|
159
|
+
false
|
|
160
|
+
end
|
|
161
|
+
when :Object
|
|
162
|
+
# generic object (usually a Hash), return directly
|
|
163
|
+
value
|
|
164
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
165
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
166
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
167
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
168
|
+
k_type = Regexp.last_match[:k_type]
|
|
169
|
+
v_type = Regexp.last_match[:v_type]
|
|
170
|
+
{}.tap do |hash|
|
|
171
|
+
value.each do |k, v|
|
|
172
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
173
|
+
end
|
|
174
|
+
end
|
|
175
|
+
else # model
|
|
176
|
+
temp_model = TransferZero.const_get(type).new
|
|
177
|
+
temp_model.build_from_hash(value)
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
# Returns the string representation of the object
|
|
182
|
+
# @return [String] String presentation of the object
|
|
183
|
+
def to_s
|
|
184
|
+
to_hash.to_s
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
188
|
+
# @return [Hash] Returns the object in the form of hash
|
|
189
|
+
def to_body
|
|
190
|
+
to_hash
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
# Returns the object in the form of hash
|
|
194
|
+
# @return [Hash] Returns the object in the form of hash
|
|
195
|
+
def to_hash
|
|
196
|
+
hash = {}
|
|
197
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
198
|
+
value = self.send(attr)
|
|
199
|
+
next if value.nil?
|
|
200
|
+
hash[param] = _to_hash(value)
|
|
201
|
+
end
|
|
202
|
+
::ActiveSupport::HashWithIndifferentAccess.new(hash)
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
def [](key)
|
|
206
|
+
to_hash[key]
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
def dig(*args)
|
|
210
|
+
to_hash.dig(*args)
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
# Outputs non-array value in the form of hash
|
|
214
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
215
|
+
# @param [Object] value Any valid value
|
|
216
|
+
# @return [Hash] Returns the value in the form of hash
|
|
217
|
+
def _to_hash(value)
|
|
218
|
+
if value.is_a?(Array)
|
|
219
|
+
value.compact.map { |v| _to_hash(v) }
|
|
220
|
+
elsif value.is_a?(Hash)
|
|
221
|
+
{}.tap do |hash|
|
|
222
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
223
|
+
end
|
|
224
|
+
elsif value.respond_to? :to_hash
|
|
225
|
+
value.to_hash
|
|
226
|
+
else
|
|
227
|
+
value
|
|
228
|
+
end
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
end
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#TransferZero API
|
|
3
|
+
|
|
4
|
+
#Reference documentation for the TransferZero API V1
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.0.0-beta3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
|
|
15
|
+
module TransferZero
|
|
16
|
+
class DlocalBalanceResponse
|
|
17
|
+
attr_accessor :object
|
|
18
|
+
|
|
19
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
|
+
def self.attribute_map
|
|
21
|
+
{
|
|
22
|
+
:'object' => :'object'
|
|
23
|
+
}
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Attribute type mapping.
|
|
27
|
+
def self.openapi_types
|
|
28
|
+
{
|
|
29
|
+
:'object' => :'Array<DlocalBalance>'
|
|
30
|
+
}
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Initializes the object
|
|
34
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
35
|
+
def initialize(attributes = {})
|
|
36
|
+
if (!attributes.is_a?(Hash))
|
|
37
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TransferZero::DlocalBalanceResponse` initialize method"
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
41
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
42
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
43
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TransferZero::DlocalBalanceResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
44
|
+
end
|
|
45
|
+
h[k.to_sym] = v
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if attributes.key?(:'object')
|
|
49
|
+
if (value = attributes[:'object']).is_a?(Array)
|
|
50
|
+
self.object = value
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
56
|
+
# @return Array for valid properties with the reasons
|
|
57
|
+
def list_invalid_properties
|
|
58
|
+
invalid_properties = Array.new
|
|
59
|
+
invalid_properties
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Check to see if the all the properties in the model are valid
|
|
63
|
+
# @return true if the model is valid
|
|
64
|
+
def valid?
|
|
65
|
+
true
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Checks equality by comparing each attribute.
|
|
69
|
+
# @param [Object] Object to be compared
|
|
70
|
+
def ==(o)
|
|
71
|
+
return true if self.equal?(o)
|
|
72
|
+
self.class == o.class &&
|
|
73
|
+
object == o.object
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# @see the `==` method
|
|
77
|
+
# @param [Object] Object to be compared
|
|
78
|
+
def eql?(o)
|
|
79
|
+
self == o
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Calculates hash code according to all attributes.
|
|
83
|
+
# @return [Integer] Hash code
|
|
84
|
+
def hash
|
|
85
|
+
[object].hash
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
require 'active_support/core_ext/hash'
|
|
89
|
+
require 'active_support/hash_with_indifferent_access.rb'
|
|
90
|
+
# Builds the object from hash
|
|
91
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
92
|
+
# @return [Object] Returns the model itself
|
|
93
|
+
def build_from_hash(attributes)
|
|
94
|
+
return nil unless attributes.is_a?(Hash)
|
|
95
|
+
self.class.openapi_types.each_pair do |key, type|
|
|
96
|
+
if type =~ /\AArray<(.*)>/i
|
|
97
|
+
# check to ensure the input is an array given that the the attribute
|
|
98
|
+
# is documented as an array but the input is not
|
|
99
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
100
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
101
|
+
end
|
|
102
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
103
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
104
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
self
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Deserializes the data based on type
|
|
111
|
+
# @param string type Data type
|
|
112
|
+
# @param string value Value to be deserialized
|
|
113
|
+
# @return [Object] Deserialized data
|
|
114
|
+
def _deserialize(type, value)
|
|
115
|
+
case type.to_sym
|
|
116
|
+
when :DateTime
|
|
117
|
+
DateTime.parse(value)
|
|
118
|
+
when :Date
|
|
119
|
+
Date.parse(value)
|
|
120
|
+
when :String
|
|
121
|
+
value.to_s
|
|
122
|
+
when :Integer
|
|
123
|
+
value.to_i
|
|
124
|
+
when :Float
|
|
125
|
+
value.to_f
|
|
126
|
+
when :Boolean
|
|
127
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
128
|
+
true
|
|
129
|
+
else
|
|
130
|
+
false
|
|
131
|
+
end
|
|
132
|
+
when :Object
|
|
133
|
+
# generic object (usually a Hash), return directly
|
|
134
|
+
value
|
|
135
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
136
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
137
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
138
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
139
|
+
k_type = Regexp.last_match[:k_type]
|
|
140
|
+
v_type = Regexp.last_match[:v_type]
|
|
141
|
+
{}.tap do |hash|
|
|
142
|
+
value.each do |k, v|
|
|
143
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
else # model
|
|
147
|
+
temp_model = TransferZero.const_get(type).new
|
|
148
|
+
temp_model.build_from_hash(value)
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# Returns the string representation of the object
|
|
153
|
+
# @return [String] String presentation of the object
|
|
154
|
+
def to_s
|
|
155
|
+
to_hash.to_s
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
159
|
+
# @return [Hash] Returns the object in the form of hash
|
|
160
|
+
def to_body
|
|
161
|
+
to_hash
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# Returns the object in the form of hash
|
|
165
|
+
# @return [Hash] Returns the object in the form of hash
|
|
166
|
+
def to_hash
|
|
167
|
+
hash = {}
|
|
168
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
169
|
+
value = self.send(attr)
|
|
170
|
+
next if value.nil?
|
|
171
|
+
hash[param] = _to_hash(value)
|
|
172
|
+
end
|
|
173
|
+
::ActiveSupport::HashWithIndifferentAccess.new(hash)
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
def [](key)
|
|
177
|
+
to_hash[key]
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
def dig(*args)
|
|
181
|
+
to_hash.dig(*args)
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Outputs non-array value in the form of hash
|
|
185
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
186
|
+
# @param [Object] value Any valid value
|
|
187
|
+
# @return [Hash] Returns the value in the form of hash
|
|
188
|
+
def _to_hash(value)
|
|
189
|
+
if value.is_a?(Array)
|
|
190
|
+
value.compact.map { |v| _to_hash(v) }
|
|
191
|
+
elsif value.is_a?(Hash)
|
|
192
|
+
{}.tap do |hash|
|
|
193
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
194
|
+
end
|
|
195
|
+
elsif value.respond_to? :to_hash
|
|
196
|
+
value.to_hash
|
|
197
|
+
else
|
|
198
|
+
value
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
end
|
data/lib/transferzero-sdk.rb
CHANGED
|
@@ -38,6 +38,8 @@ require 'transferzero-sdk/models/debit_list_request'
|
|
|
38
38
|
require 'transferzero-sdk/models/debit_list_response'
|
|
39
39
|
require 'transferzero-sdk/models/debit_request'
|
|
40
40
|
require 'transferzero-sdk/models/debit_request_wrapper'
|
|
41
|
+
require 'transferzero-sdk/models/dlocal_balance'
|
|
42
|
+
require 'transferzero-sdk/models/dlocal_balance_response'
|
|
41
43
|
require 'transferzero-sdk/models/document'
|
|
42
44
|
require 'transferzero-sdk/models/document_list_response'
|
|
43
45
|
require 'transferzero-sdk/models/document_request'
|
|
@@ -153,6 +155,7 @@ require 'transferzero-sdk/api/account_debits_api'
|
|
|
153
155
|
require 'transferzero-sdk/api/account_validation_api'
|
|
154
156
|
require 'transferzero-sdk/api/accounts_api'
|
|
155
157
|
require 'transferzero-sdk/api/currency_info_api'
|
|
158
|
+
require 'transferzero-sdk/api/dlocal_balance_api'
|
|
156
159
|
require 'transferzero-sdk/api/documents_api'
|
|
157
160
|
require 'transferzero-sdk/api/logs_api'
|
|
158
161
|
require 'transferzero-sdk/api/payin_methods_api'
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#TransferZero API
|
|
3
|
+
|
|
4
|
+
#Reference documentation for the TransferZero API V1
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.0.0-beta3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for TransferZero::DlocalBalanceApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'DlocalBalanceApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = TransferZero::DlocalBalanceApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of DlocalBalanceApi' do
|
|
30
|
+
it 'should create an instance of DlocalBalanceApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(TransferZero::DlocalBalanceApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for get_balance
|
|
36
|
+
# Get dlocal balances
|
|
37
|
+
# This endpoint retrieves dlocal account balances
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @return [DlocalBalanceResponse]
|
|
40
|
+
describe 'get_balance test' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#TransferZero API
|
|
3
|
+
|
|
4
|
+
#Reference documentation for the TransferZero API V1
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.0.0-beta3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for TransferZero::DlocalBalanceResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'DlocalBalanceResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = TransferZero::DlocalBalanceResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of DlocalBalanceResponse' do
|
|
31
|
+
it 'should create an instance of DlocalBalanceResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(TransferZero::DlocalBalanceResponse)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "object"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#TransferZero API
|
|
3
|
+
|
|
4
|
+
#Reference documentation for the TransferZero API V1
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 4.0.0-beta3
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for TransferZero::DlocalBalance
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'DlocalBalance' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = TransferZero::DlocalBalance.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of DlocalBalance' do
|
|
31
|
+
it 'should create an instance of DlocalBalance' do
|
|
32
|
+
expect(@instance).to be_instance_of(TransferZero::DlocalBalance)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "currency"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "available_balance"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "previous_day_closing_balance"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "current_balance_date"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: transferzero-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.37.
|
|
4
|
+
version: 1.37.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TransferZero
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-02-
|
|
11
|
+
date: 2026-02-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -119,6 +119,9 @@ files:
|
|
|
119
119
|
- docs/DebitRequest.md
|
|
120
120
|
- docs/DebitRequestWrapper.md
|
|
121
121
|
- docs/DebitResponse.md
|
|
122
|
+
- docs/DlocalBalance.md
|
|
123
|
+
- docs/DlocalBalanceApi.md
|
|
124
|
+
- docs/DlocalBalanceResponse.md
|
|
122
125
|
- docs/Document.md
|
|
123
126
|
- docs/DocumentListResponse.md
|
|
124
127
|
- docs/DocumentRequest.md
|
|
@@ -252,6 +255,7 @@ files:
|
|
|
252
255
|
- lib/transferzero-sdk/api/accounts_api.rb
|
|
253
256
|
- lib/transferzero-sdk/api/api_logs_api.rb
|
|
254
257
|
- lib/transferzero-sdk/api/currency_info_api.rb
|
|
258
|
+
- lib/transferzero-sdk/api/dlocal_balance_api.rb
|
|
255
259
|
- lib/transferzero-sdk/api/documents_api.rb
|
|
256
260
|
- lib/transferzero-sdk/api/logs_api.rb
|
|
257
261
|
- lib/transferzero-sdk/api/payin_methods_api.rb
|
|
@@ -288,6 +292,8 @@ files:
|
|
|
288
292
|
- lib/transferzero-sdk/models/debit_request.rb
|
|
289
293
|
- lib/transferzero-sdk/models/debit_request_wrapper.rb
|
|
290
294
|
- lib/transferzero-sdk/models/debit_response.rb
|
|
295
|
+
- lib/transferzero-sdk/models/dlocal_balance.rb
|
|
296
|
+
- lib/transferzero-sdk/models/dlocal_balance_response.rb
|
|
291
297
|
- lib/transferzero-sdk/models/document.rb
|
|
292
298
|
- lib/transferzero-sdk/models/document_list_response.rb
|
|
293
299
|
- lib/transferzero-sdk/models/document_request.rb
|
|
@@ -410,6 +416,7 @@ files:
|
|
|
410
416
|
- spec/api/accounts_api_spec.rb
|
|
411
417
|
- spec/api/api_logs_api_spec.rb
|
|
412
418
|
- spec/api/currency_info_api_spec.rb
|
|
419
|
+
- spec/api/dlocal_balance_api_spec.rb
|
|
413
420
|
- spec/api/documents_api_spec.rb
|
|
414
421
|
- spec/api/logs_api_spec.rb
|
|
415
422
|
- spec/api/payin_methods_api_spec.rb
|
|
@@ -444,6 +451,8 @@ files:
|
|
|
444
451
|
- spec/models/debit_request_wrapper_spec.rb
|
|
445
452
|
- spec/models/debit_response_spec.rb
|
|
446
453
|
- spec/models/debit_spec.rb
|
|
454
|
+
- spec/models/dlocal_balance_response_spec.rb
|
|
455
|
+
- spec/models/dlocal_balance_spec.rb
|
|
447
456
|
- spec/models/document_list_response_spec.rb
|
|
448
457
|
- spec/models/document_request_spec.rb
|
|
449
458
|
- spec/models/document_response_spec.rb
|
|
@@ -600,6 +609,7 @@ test_files:
|
|
|
600
609
|
- spec/api/payin_methods_api_spec.rb
|
|
601
610
|
- spec/api/account_validation_api_spec.rb
|
|
602
611
|
- spec/api/account_debits_api_spec.rb
|
|
612
|
+
- spec/api/dlocal_balance_api_spec.rb
|
|
603
613
|
- spec/configuration_spec.rb
|
|
604
614
|
- spec/models/currency_exchange_all_of_spec.rb
|
|
605
615
|
- spec/models/transaction_response_existing_spec.rb
|
|
@@ -614,6 +624,7 @@ test_files:
|
|
|
614
624
|
- spec/models/payout_method_pix_key_type_enum_spec.rb
|
|
615
625
|
- spec/models/politically_exposed_person_spec.rb
|
|
616
626
|
- spec/models/payout_method_details_btc_spec.rb
|
|
627
|
+
- spec/models/dlocal_balance_spec.rb
|
|
617
628
|
- spec/models/debit_list_request_spec.rb
|
|
618
629
|
- spec/models/webhook_log_list_response_spec.rb
|
|
619
630
|
- spec/models/payout_method_details_ghs_cash_spec.rb
|
|
@@ -676,6 +687,7 @@ test_files:
|
|
|
676
687
|
- spec/models/sender_webhook_spec.rb
|
|
677
688
|
- spec/models/recipient_state_spec.rb
|
|
678
689
|
- spec/models/payout_method_details_brl_bank_spec.rb
|
|
690
|
+
- spec/models/dlocal_balance_response_spec.rb
|
|
679
691
|
- spec/models/payout_method_webhook_all_of_spec.rb
|
|
680
692
|
- spec/models/currency_opposite_spec.rb
|
|
681
693
|
- spec/models/sender_response_spec.rb
|