transferzero-sdk 1.28.2 → 1.29.0

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: c0e04e9257e04bc4f400cf0b18df5601f169817b51089a5b5a16ddf0105b5a22
4
- data.tar.gz: 2dbfb16f74d22b7dd38d6d1abac436c56c5e90d10bda1d22d06ae397ea706063
3
+ metadata.gz: d806bdc12c7104aa0bbb505a6262c87099de210f2b702ff7932f3dbe1fb8f43b
4
+ data.tar.gz: 875ec20eeb72753eff7949ba7a5b9c41ced3a2d65acc2e6a9ba5dbc45e019873
5
5
  SHA512:
6
- metadata.gz: 244d00dbedf766fb5bfc3664b30e11a4cdacc1e6c0d89dced44871902ce046d3223356e28040e3bd1f9ffc58eecf84738771e9f09a4bdddb083d1768c7aa5a94
7
- data.tar.gz: 3e1b0c219848ed1bbbbda4b190c3a1b9cd1036b43fd5998cc3c598a7beafe71c7ff2c04e59498b7d58040e3d80b0640768b143f4012a69bb6befb3522aed590b
6
+ metadata.gz: d33b65166ff6a912cb9c6893473e79e90eb209c697109176405803830cbd16f8597e6aa962d84f45d0777b55401a3daef412e8f0df177ccec3d893471f22e127
7
+ data.tar.gz: a7cad4a603488426871c1ff2cc5624f7165633e569c6bf1aea34c1ff15e73c308b08efd97538d11bd18e049a345591374ee0e5b3e234e00b49d75c1c44d8011f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- transferzero-sdk (1.28.2)
4
+ transferzero-sdk (1.29.0)
5
5
  activesupport (>= 4, < 7)
6
6
  faraday (~> 1.0, >= 1.0.1)
7
7
  json (>= 1.4)
@@ -47,7 +47,7 @@ GEM
47
47
  concurrent-ruby (~> 1.0)
48
48
  json (2.6.3)
49
49
  method_source (1.0.0)
50
- minitest (5.18.1)
50
+ minitest (5.19.0)
51
51
  multipart-post (2.3.0)
52
52
  pry (0.14.2)
53
53
  coderay (~> 1.1)
@@ -72,7 +72,7 @@ GEM
72
72
  ruby2_keywords (0.0.5)
73
73
  tzinfo (2.0.6)
74
74
  concurrent-ruby (~> 1.0)
75
- zeitwerk (2.6.8)
75
+ zeitwerk (2.6.10)
76
76
 
77
77
  PLATFORMS
78
78
  x86_64-linux
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.28.2
10
+ - Package version: 1.29.0
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.28.2.gem
34
+ gem install ./transferzero-sdk-1.29.0.gem
35
35
  ```
36
- (for development, run `gem install --dev ./transferzero-sdk-1.28.2.gem` to install the development dependencies)
36
+ (for development, run `gem install --dev ./transferzero-sdk-1.29.0.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.28.2'
42
+ gem 'transferzero-sdk', '~> 1.29.0'
43
43
 
44
44
  ### Install from Git
45
45
 
data/docs/Account.md CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **amount** | **Float** | The account balance for the given currency | [optional]
8
8
  **currency** | **String** | The currency of this balance | [optional]
9
+ **amount_after_pending** | **Float** | Represents the account balance after deducting pending transactions from the last 7 days. It provides a more accurate depiction of available funds. | [optional]
9
10
 
10
11
  ## Code Sample
11
12
 
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
13
14
  require 'TransferZero'
14
15
 
15
16
  instance = TransferZero::Account.new(amount: 1000.0,
16
- currency: USD)
17
+ currency: USD,
18
+ amount_after_pending: 1000.0)
17
19
  ```
18
20
 
19
21
 
@@ -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.28.2"
39
+ @user_agent = "TransferZero-SDK/Ruby/1.29.0"
40
40
  @default_headers = {
41
41
  'Content-Type' => 'application/json',
42
42
  'User-Agent' => @user_agent
@@ -20,11 +20,15 @@ class Account
20
20
  # The currency of this balance
21
21
  attr_accessor :currency
22
22
 
23
+ # Represents the account balance after deducting pending transactions from the last 7 days. It provides a more accurate depiction of available funds.
24
+ attr_accessor :amount_after_pending
25
+
23
26
  # Attribute mapping from ruby-style variable name to JSON key.
24
27
  def self.attribute_map
25
28
  {
26
29
  :'amount' => :'amount',
27
- :'currency' => :'currency'
30
+ :'currency' => :'currency',
31
+ :'amount_after_pending' => :'amount_after_pending'
28
32
  }
29
33
  end
30
34
 
@@ -32,7 +36,8 @@ class Account
32
36
  def self.openapi_types
33
37
  {
34
38
  :'amount' => :'Float',
35
- :'currency' => :'String'
39
+ :'currency' => :'String',
40
+ :'amount_after_pending' => :'Float'
36
41
  }
37
42
  end
38
43
 
@@ -58,6 +63,10 @@ class Account
58
63
  if attributes.key?(:'currency')
59
64
  self.currency = attributes[:'currency']
60
65
  end
66
+
67
+ if attributes.key?(:'amount_after_pending')
68
+ self.amount_after_pending = attributes[:'amount_after_pending']
69
+ end
61
70
  end
62
71
 
63
72
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -79,7 +88,8 @@ class Account
79
88
  return true if self.equal?(o)
80
89
  self.class == o.class &&
81
90
  amount == o.amount &&
82
- currency == o.currency
91
+ currency == o.currency &&
92
+ amount_after_pending == o.amount_after_pending
83
93
  end
84
94
 
85
95
  # @see the `==` method
@@ -91,7 +101,7 @@ class Account
91
101
  # Calculates hash code according to all attributes.
92
102
  # @return [Integer] Hash code
93
103
  def hash
94
- [amount, currency].hash
104
+ [amount, currency, amount_after_pending].hash
95
105
  end
96
106
 
97
107
  require 'active_support/core_ext/hash'
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0-beta3
11
11
  =end
12
12
 
13
13
  module TransferZero
14
- VERSION = '1.28.2'
14
+ VERSION = '1.29.0'
15
15
  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.28.2
4
+ version: 1.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - TransferZero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-20 00:00:00.000000000 Z
11
+ date: 2023-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday