voltaria_sdk 2.45.0 → 2.46.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 +4 -4
- data/lib/voltaria/loans/types/loan_create_payload.rb +1 -0
- data/lib/voltaria/types/bulk_loan_item_payload.rb +1 -0
- data/lib/voltaria/types/loan_investor_response.rb +1 -0
- data/lib/voltaria/types/loan_repayment_method_enum.rb +12 -0
- data/lib/voltaria/types/loan_response_with_client_info.rb +1 -0
- data/lib/voltaria/types/loan_response_with_installments.rb +1 -0
- data/lib/voltaria/types/webhook_event_type_enum.rb +1 -0
- data/lib/voltaria/version.rb +1 -1
- data/lib/voltaria.rb +1 -0
- data/reference.md +12 -4
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ff92e7f3be1dff47815a90235034cd230518bbc76c74eb126fc9cbf03f2fd9a
|
|
4
|
+
data.tar.gz: ed32671421441d49e80b32fc4dde2265dc8864c6c3c8e0b07fe50ccfd02ad0cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d67c0c7a790bd27e8ab17fdff1ae7320d8119e32cb8d00ffed9674174b1e84f87ce869ab41100c96df7717db1a7c89f61a85a7f0974b3c7af81db315da93e03c
|
|
7
|
+
data.tar.gz: ecb0d9c274089cb6aa9ab022173c088b748e54465933b8a2084f9ff03acd5bdb37a30f4b7b9d035fdf08aaf15feee4e95422d8e1c9ec54ea2b96e97f855e2e39
|
|
@@ -10,6 +10,7 @@ module Voltaria
|
|
|
10
10
|
field :correlation_id, -> { String }, optional: true, nullable: false
|
|
11
11
|
field :loan_date, -> { String }, optional: true, nullable: false
|
|
12
12
|
field :installments, -> { Internal::Types::Array[Voltaria::Types::LoanInstallmentCreatePayload] }, optional: false, nullable: false
|
|
13
|
+
field :repayment_method, -> { Voltaria::Types::LoanRepaymentMethodEnum }, optional: true, nullable: false
|
|
13
14
|
field :data, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false
|
|
14
15
|
end
|
|
15
16
|
end
|
|
@@ -9,6 +9,7 @@ module Voltaria
|
|
|
9
9
|
field :correlation_id, -> { String }, optional: true, nullable: false
|
|
10
10
|
field :loan_date, -> { String }, optional: true, nullable: false
|
|
11
11
|
field :installments, -> { Internal::Types::Array[Voltaria::Types::LoanInstallmentCreatePayload] }, optional: false, nullable: false
|
|
12
|
+
field :repayment_method, -> { Voltaria::Types::LoanRepaymentMethodEnum }, optional: true, nullable: false
|
|
12
13
|
field :data, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false
|
|
13
14
|
end
|
|
14
15
|
end
|
|
@@ -19,6 +19,7 @@ module Voltaria
|
|
|
19
19
|
field :payment_reference, -> { String }, optional: true, nullable: false
|
|
20
20
|
field :early_settlement_date, -> { String }, optional: true, nullable: false
|
|
21
21
|
field :early_settlement_amount, -> { String }, optional: true, nullable: false
|
|
22
|
+
field :repayment_method, -> { Voltaria::Types::LoanRepaymentMethodEnum }, optional: false, nullable: false
|
|
22
23
|
field :data, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false
|
|
23
24
|
field :client, -> { Voltaria::Types::ClientBaseInfo }, optional: false, nullable: false
|
|
24
25
|
field :outstanding_principal, -> { String }, optional: true, nullable: false
|
|
@@ -19,6 +19,7 @@ module Voltaria
|
|
|
19
19
|
field :payment_reference, -> { String }, optional: true, nullable: false
|
|
20
20
|
field :early_settlement_date, -> { String }, optional: true, nullable: false
|
|
21
21
|
field :early_settlement_amount, -> { String }, optional: true, nullable: false
|
|
22
|
+
field :repayment_method, -> { Voltaria::Types::LoanRepaymentMethodEnum }, optional: false, nullable: false
|
|
22
23
|
field :data, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false
|
|
23
24
|
field :client, -> { Voltaria::Types::ClientBaseInfo }, optional: false, nullable: false
|
|
24
25
|
field :outstanding_principal, -> { String }, optional: true, nullable: false
|
|
@@ -19,6 +19,7 @@ module Voltaria
|
|
|
19
19
|
field :payment_reference, -> { String }, optional: true, nullable: false
|
|
20
20
|
field :early_settlement_date, -> { String }, optional: true, nullable: false
|
|
21
21
|
field :early_settlement_amount, -> { String }, optional: true, nullable: false
|
|
22
|
+
field :repayment_method, -> { Voltaria::Types::LoanRepaymentMethodEnum }, optional: false, nullable: false
|
|
22
23
|
field :data, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false
|
|
23
24
|
field :installments, -> { Internal::Types::Array[Voltaria::Types::LoanInstallmentResponse] }, optional: true, nullable: false
|
|
24
25
|
end
|
data/lib/voltaria/version.rb
CHANGED
data/lib/voltaria.rb
CHANGED
|
@@ -56,6 +56,7 @@ require_relative "voltaria/types/available_funding"
|
|
|
56
56
|
require_relative "voltaria/types/bulk_loan_item_payload_amount"
|
|
57
57
|
require_relative "voltaria/types/loan_installment_create_payload_amount"
|
|
58
58
|
require_relative "voltaria/types/loan_installment_create_payload"
|
|
59
|
+
require_relative "voltaria/types/loan_repayment_method_enum"
|
|
59
60
|
require_relative "voltaria/types/bulk_loan_item_payload"
|
|
60
61
|
require_relative "voltaria/types/bulk_loan_item_result"
|
|
61
62
|
require_relative "voltaria/types/bulk_loan_result"
|
data/reference.md
CHANGED
|
@@ -1425,7 +1425,7 @@ client.sandbox.update_loan(loan_id: "loan_id")
|
|
|
1425
1425
|
<dl>
|
|
1426
1426
|
<dd>
|
|
1427
1427
|
|
|
1428
|
-
**status:** `Voltaria::Types::LoanStatusEnum` — The status of the
|
|
1428
|
+
**status:** `Voltaria::Types::LoanStatusEnum` — The status of the loan. One of the following: `pending, overdue, active, default, sold, restructured, repaid, pre_approved, rejected, inactive`. Use the delete loan endpoint to delete a loan.
|
|
1429
1429
|
|
|
1430
1430
|
</dd>
|
|
1431
1431
|
</dl>
|
|
@@ -1495,7 +1495,7 @@ client.sandbox.webhook_test(event_type: "loan.updated")
|
|
|
1495
1495
|
<dl>
|
|
1496
1496
|
<dd>
|
|
1497
1497
|
|
|
1498
|
-
**event_type:** `Voltaria::Types::WebhookEventTypeEnum` — Event type to trigger for the test. All subscriptions for this event type will be triggered if webhook_id is not provided.Possible values: loan_updated, installment_updated, client_updated, client_limit_updated, partner_limit_updated
|
|
1498
|
+
**event_type:** `Voltaria::Types::WebhookEventTypeEnum` — Event type to trigger for the test. All subscriptions for this event type will be triggered if webhook_id is not provided.Possible values: loan_updated, installment_updated, client_updated, client_limit_updated, partner_limit_updated, bank_connection_updated
|
|
1499
1499
|
|
|
1500
1500
|
</dd>
|
|
1501
1501
|
</dl>
|
|
@@ -4173,6 +4173,14 @@ client.loans.create_loan(
|
|
|
4173
4173
|
<dl>
|
|
4174
4174
|
<dd>
|
|
4175
4175
|
|
|
4176
|
+
**repayment_method:** `Voltaria::Types::LoanRepaymentMethodEnum` — How each installment is split into principal and interest: pmt (amortising) or constant_principal (loan amount divided equally across installments, the rest is interest)
|
|
4177
|
+
|
|
4178
|
+
</dd>
|
|
4179
|
+
</dl>
|
|
4180
|
+
|
|
4181
|
+
<dl>
|
|
4182
|
+
<dd>
|
|
4183
|
+
|
|
4176
4184
|
**data:** `Internal::Types::Hash[String, Object]` — Additional data related to the loan
|
|
4177
4185
|
|
|
4178
4186
|
</dd>
|
|
@@ -5156,7 +5164,7 @@ client.webhooks.create_webhook_subscription(
|
|
|
5156
5164
|
<dl>
|
|
5157
5165
|
<dd>
|
|
5158
5166
|
|
|
5159
|
-
**event_type:** `Voltaria::Types::WebhookEventTypeEnum` — Event type to subscribe toPossible values: loan_updated, installment_updated, client_updated, client_limit_updated, partner_limit_updated
|
|
5167
|
+
**event_type:** `Voltaria::Types::WebhookEventTypeEnum` — Event type to subscribe toPossible values: loan_updated, installment_updated, client_updated, client_limit_updated, partner_limit_updated, bank_connection_updated
|
|
5160
5168
|
|
|
5161
5169
|
</dd>
|
|
5162
5170
|
</dl>
|
|
@@ -5336,7 +5344,7 @@ client.webhooks.update_webhook_subscription(
|
|
|
5336
5344
|
<dl>
|
|
5337
5345
|
<dd>
|
|
5338
5346
|
|
|
5339
|
-
**event_type:** `Voltaria::Types::WebhookEventTypeEnum` — Event type to subscribe toPossible values: loan_updated, installment_updated, client_updated, client_limit_updated, partner_limit_updated
|
|
5347
|
+
**event_type:** `Voltaria::Types::WebhookEventTypeEnum` — Event type to subscribe toPossible values: loan_updated, installment_updated, client_updated, client_limit_updated, partner_limit_updated, bank_connection_updated
|
|
5340
5348
|
|
|
5341
5349
|
</dd>
|
|
5342
5350
|
</dl>
|
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.
|
|
4
|
+
version: 2.46.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-09
|
|
11
|
+
date: 2026-10-09 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.
|
|
@@ -210,6 +210,7 @@ files:
|
|
|
210
210
|
- lib/voltaria/types/loan_installment_response.rb
|
|
211
211
|
- lib/voltaria/types/loan_investor_response.rb
|
|
212
212
|
- lib/voltaria/types/loan_payment_status_enum.rb
|
|
213
|
+
- lib/voltaria/types/loan_repayment_method_enum.rb
|
|
213
214
|
- lib/voltaria/types/loan_response_with_client_info.rb
|
|
214
215
|
- lib/voltaria/types/loan_response_with_installments.rb
|
|
215
216
|
- lib/voltaria/types/loan_review_request_response.rb
|