voltaria_sdk 2.51.0 → 2.52.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a00d0374b55d724fdbc78ec7150d450e6ea30cac2bee29ed19681ef47f7558cf
4
- data.tar.gz: 8d70b26e11ca160cddd60e2f3a685e3d488a2a1f385863f665c050e7205d71d6
3
+ metadata.gz: cff982a2e3879b99154c45510e77035c0103a0acfb10918c8474de219ca52c7c
4
+ data.tar.gz: 26c1550479728d2e6f05515632fe100deacf559f36f25e2c25bb0cc39543b6e6
5
5
  SHA512:
6
- metadata.gz: 4b28b71f2b7b16537ef70445994bc92bf3320fa43aaf17cbb7ae48630b95debbd94e31ef682ff6f5d37203b57610262a9dae5c1fadcad944591d4ade279ed50c
7
- data.tar.gz: cdc3638fc8da6b6c84a0f59b20a74b41aeb1695f8eccedd1aab14414abbe0dc0da7a16e51a4eac5c5705a89f167bf91775e826afe145a9a311f2da47322c5d4d
6
+ metadata.gz: 470c737bb9b883ee91bb8aa04a327429ab428acd8562e3082d9a9cdf84f640691cbd3cda1a4c9eb08f05c613873edfe8d3846f9aa5aa25466010c5ce061297ef
7
+ data.tar.gz: 2a41b8e50f1457e0c870f8eb525bb0b7db002ddf2ebffc3a6113cd3281591a5e6cdaaab764cf3be2744df0ce541c561e321ff8090c6164300572290aa140e647
@@ -49,7 +49,8 @@ module Voltaria
49
49
  end
50
50
  end
51
51
 
52
- # Update the status of a specific loan using its unique loan ID.
52
+ # Update the status of a specific loan using its unique loan ID. Moving a loan to sold, restructured or default
53
+ # needs its sale, restructure or default date in the same request.
53
54
  #
54
55
  # @param request_options [Hash]
55
56
  # @param params [Voltaria::Sandbox::Types::LoanUpdateSandbox]
@@ -6,6 +6,9 @@ module Voltaria
6
6
  class LoanUpdateSandbox < Internal::Types::Model
7
7
  field :loan_id, -> { String }, optional: false, nullable: false
8
8
  field :status, -> { Voltaria::Types::LoanStatusEnum }, optional: true, nullable: false
9
+ field :sold_at, -> { String }, optional: true, nullable: false
10
+ field :restructured_at, -> { String }, optional: true, nullable: false
11
+ field :defaulted_at, -> { String }, optional: true, nullable: false
9
12
  end
10
13
  end
11
14
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Voltaria
4
- VERSION = "2.51.0"
4
+ VERSION = "2.52.0"
5
5
  end
data/reference.md CHANGED
@@ -1769,7 +1769,7 @@ client.sandbox.update_client(client_id: "client_id")
1769
1769
  <dl>
1770
1770
  <dd>
1771
1771
 
1772
- Update the status of a specific loan using its unique loan ID.
1772
+ Update the status of a specific loan using its unique loan ID. Moving a loan to sold, restructured or default needs its sale, restructure or default date in the same request.
1773
1773
  </dd>
1774
1774
  </dl>
1775
1775
  </dd>
@@ -1815,6 +1815,30 @@ client.sandbox.update_loan(loan_id: "loan_id")
1815
1815
  <dl>
1816
1816
  <dd>
1817
1817
 
1818
+ **sold_at:** `String` — The date the loan was sold. Required when the status changes to `sold`; can't be later than today or earlier than the loan date
1819
+
1820
+ </dd>
1821
+ </dl>
1822
+
1823
+ <dl>
1824
+ <dd>
1825
+
1826
+ **restructured_at:** `String` — The date the loan was restructured. Required when the status changes to `restructured`; can't be later than today or earlier than the loan date
1827
+
1828
+ </dd>
1829
+ </dl>
1830
+
1831
+ <dl>
1832
+ <dd>
1833
+
1834
+ **defaulted_at:** `String` — The date the loan defaulted. Required when the status changes to `default`; can't be later than today or earlier than the loan date
1835
+
1836
+ </dd>
1837
+ </dl>
1838
+
1839
+ <dl>
1840
+ <dd>
1841
+
1818
1842
  **request_options:** `Voltaria::Sandbox::RequestOptions`
1819
1843
 
1820
1844
  </dd>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voltaria_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.51.0
4
+ version: 2.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Voltaria
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-11-09 00:00:00.000000000 Z
11
+ date: 2026-11-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: The Voltaria Ruby library provides convenient access to the Voltaria
14
14
  API from Ruby.