increase 1.214.0 → 1.216.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/CHANGELOG.md +174 -0
- data/README.md +1 -1
- data/lib/increase/internal/util.rb +31 -0
- data/lib/increase/models/event_subscription.rb +246 -234
- data/lib/increase/models/fednow_transfer.rb +47 -1
- data/lib/increase/models/real_time_decision_action_params.rb +38 -1
- data/lib/increase/resources/account_numbers.rb +2 -1
- data/lib/increase/resources/account_statements.rb +2 -1
- data/lib/increase/resources/account_transfers.rb +2 -1
- data/lib/increase/resources/accounts.rb +4 -2
- data/lib/increase/resources/ach_prenotifications.rb +2 -1
- data/lib/increase/resources/ach_transfers.rb +2 -1
- data/lib/increase/resources/bookkeeping_accounts.rb +4 -2
- data/lib/increase/resources/bookkeeping_entries.rb +2 -1
- data/lib/increase/resources/bookkeeping_entry_sets.rb +2 -1
- data/lib/increase/resources/card_disputes.rb +2 -1
- data/lib/increase/resources/card_payments.rb +2 -1
- data/lib/increase/resources/card_purchase_supplements.rb +2 -1
- data/lib/increase/resources/card_push_transfers.rb +2 -1
- data/lib/increase/resources/card_tokens.rb +2 -1
- data/lib/increase/resources/card_validations.rb +2 -1
- data/lib/increase/resources/cards.rb +2 -1
- data/lib/increase/resources/check_deposits.rb +2 -1
- data/lib/increase/resources/check_transfers.rb +2 -1
- data/lib/increase/resources/declined_transactions.rb +2 -1
- data/lib/increase/resources/digital_card_profiles.rb +2 -1
- data/lib/increase/resources/digital_wallet_tokens.rb +2 -1
- data/lib/increase/resources/entities.rb +2 -1
- data/lib/increase/resources/event_subscriptions.rb +2 -1
- data/lib/increase/resources/events.rb +2 -1
- data/lib/increase/resources/exports.rb +2 -1
- data/lib/increase/resources/external_accounts.rb +2 -1
- data/lib/increase/resources/fednow_transfers.rb +2 -1
- data/lib/increase/resources/files.rb +2 -1
- data/lib/increase/resources/inbound_ach_transfers.rb +2 -1
- data/lib/increase/resources/inbound_check_deposits.rb +2 -1
- data/lib/increase/resources/inbound_fednow_transfers.rb +2 -1
- data/lib/increase/resources/inbound_mail_items.rb +2 -1
- data/lib/increase/resources/inbound_real_time_payments_transfers.rb +2 -1
- data/lib/increase/resources/inbound_wire_drawdown_requests.rb +2 -1
- data/lib/increase/resources/inbound_wire_transfers.rb +2 -1
- data/lib/increase/resources/intrafi_account_enrollments.rb +2 -1
- data/lib/increase/resources/intrafi_exclusions.rb +2 -1
- data/lib/increase/resources/lockboxes.rb +2 -1
- data/lib/increase/resources/oauth_applications.rb +2 -1
- data/lib/increase/resources/oauth_connections.rb +2 -1
- data/lib/increase/resources/pending_transactions.rb +2 -1
- data/lib/increase/resources/physical_card_profiles.rb +2 -1
- data/lib/increase/resources/physical_cards.rb +2 -1
- data/lib/increase/resources/programs.rb +2 -1
- data/lib/increase/resources/real_time_payments_transfers.rb +2 -1
- data/lib/increase/resources/routing_numbers.rb +2 -1
- data/lib/increase/resources/supplemental_documents.rb +2 -1
- data/lib/increase/resources/swift_transfers.rb +2 -1
- data/lib/increase/resources/transactions.rb +2 -1
- data/lib/increase/resources/wire_drawdown_requests.rb +2 -1
- data/lib/increase/resources/wire_transfers.rb +2 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/internal/util.rbi +20 -0
- data/rbi/increase/models/event_subscription.rbi +830 -779
- data/rbi/increase/models/fednow_transfer.rbi +78 -0
- data/rbi/increase/models/real_time_decision_action_params.rbi +70 -3
- data/sig/increase/internal/util.rbs +10 -0
- data/sig/increase/models/event_subscription.rbs +367 -350
- data/sig/increase/models/fednow_transfer.rbs +37 -0
- data/sig/increase/models/real_time_decision_action_params.rbs +28 -3
- metadata +2 -2
|
@@ -51,10 +51,11 @@ module Increase
|
|
|
51
51
|
# @see Increase::Models::InboundWireTransferListParams
|
|
52
52
|
def list(params = {})
|
|
53
53
|
parsed, options = Increase::InboundWireTransferListParams.dump_request(params)
|
|
54
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
54
55
|
@client.request(
|
|
55
56
|
method: :get,
|
|
56
57
|
path: "inbound_wire_transfers",
|
|
57
|
-
query:
|
|
58
|
+
query: query,
|
|
58
59
|
page: Increase::Internal::Page,
|
|
59
60
|
model: Increase::InboundWireTransfer,
|
|
60
61
|
options: options
|
|
@@ -71,10 +71,11 @@ module Increase
|
|
|
71
71
|
# @see Increase::Models::IntrafiAccountEnrollmentListParams
|
|
72
72
|
def list(params = {})
|
|
73
73
|
parsed, options = Increase::IntrafiAccountEnrollmentListParams.dump_request(params)
|
|
74
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
74
75
|
@client.request(
|
|
75
76
|
method: :get,
|
|
76
77
|
path: "intrafi_account_enrollments",
|
|
77
|
-
query:
|
|
78
|
+
query: query,
|
|
78
79
|
page: Increase::Internal::Page,
|
|
79
80
|
model: Increase::IntrafiAccountEnrollment,
|
|
80
81
|
options: options
|
|
@@ -72,10 +72,11 @@ module Increase
|
|
|
72
72
|
# @see Increase::Models::IntrafiExclusionListParams
|
|
73
73
|
def list(params = {})
|
|
74
74
|
parsed, options = Increase::IntrafiExclusionListParams.dump_request(params)
|
|
75
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
75
76
|
@client.request(
|
|
76
77
|
method: :get,
|
|
77
78
|
path: "intrafi_exclusions",
|
|
78
|
-
query:
|
|
79
|
+
query: query,
|
|
79
80
|
page: Increase::Internal::Page,
|
|
80
81
|
model: Increase::IntrafiExclusion,
|
|
81
82
|
options: options
|
|
@@ -101,10 +101,11 @@ module Increase
|
|
|
101
101
|
# @see Increase::Models::LockboxListParams
|
|
102
102
|
def list(params = {})
|
|
103
103
|
parsed, options = Increase::LockboxListParams.dump_request(params)
|
|
104
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
104
105
|
@client.request(
|
|
105
106
|
method: :get,
|
|
106
107
|
path: "lockboxes",
|
|
107
|
-
query:
|
|
108
|
+
query: query,
|
|
108
109
|
page: Increase::Internal::Page,
|
|
109
110
|
model: Increase::Lockbox,
|
|
110
111
|
options: options
|
|
@@ -45,10 +45,11 @@ module Increase
|
|
|
45
45
|
# @see Increase::Models::OAuthApplicationListParams
|
|
46
46
|
def list(params = {})
|
|
47
47
|
parsed, options = Increase::OAuthApplicationListParams.dump_request(params)
|
|
48
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
48
49
|
@client.request(
|
|
49
50
|
method: :get,
|
|
50
51
|
path: "oauth_applications",
|
|
51
|
-
query:
|
|
52
|
+
query: query,
|
|
52
53
|
page: Increase::Internal::Page,
|
|
53
54
|
model: Increase::OAuthApplication,
|
|
54
55
|
options: options
|
|
@@ -45,10 +45,11 @@ module Increase
|
|
|
45
45
|
# @see Increase::Models::OAuthConnectionListParams
|
|
46
46
|
def list(params = {})
|
|
47
47
|
parsed, options = Increase::OAuthConnectionListParams.dump_request(params)
|
|
48
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
48
49
|
@client.request(
|
|
49
50
|
method: :get,
|
|
50
51
|
path: "oauth_connections",
|
|
51
|
-
query:
|
|
52
|
+
query: query,
|
|
52
53
|
page: Increase::Internal::Page,
|
|
53
54
|
model: Increase::OAuthConnection,
|
|
54
55
|
options: options
|
|
@@ -84,10 +84,11 @@ module Increase
|
|
|
84
84
|
# @see Increase::Models::PendingTransactionListParams
|
|
85
85
|
def list(params = {})
|
|
86
86
|
parsed, options = Increase::PendingTransactionListParams.dump_request(params)
|
|
87
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
87
88
|
@client.request(
|
|
88
89
|
method: :get,
|
|
89
90
|
path: "pending_transactions",
|
|
90
|
-
query:
|
|
91
|
+
query: query,
|
|
91
92
|
page: Increase::Internal::Page,
|
|
92
93
|
model: Increase::PendingTransaction,
|
|
93
94
|
options: options
|
|
@@ -80,10 +80,11 @@ module Increase
|
|
|
80
80
|
# @see Increase::Models::PhysicalCardProfileListParams
|
|
81
81
|
def list(params = {})
|
|
82
82
|
parsed, options = Increase::PhysicalCardProfileListParams.dump_request(params)
|
|
83
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
83
84
|
@client.request(
|
|
84
85
|
method: :get,
|
|
85
86
|
path: "physical_card_profiles",
|
|
86
|
-
query:
|
|
87
|
+
query: query,
|
|
87
88
|
page: Increase::Internal::Page,
|
|
88
89
|
model: Increase::PhysicalCardProfile,
|
|
89
90
|
options: options
|
|
@@ -102,10 +102,11 @@ module Increase
|
|
|
102
102
|
# @see Increase::Models::PhysicalCardListParams
|
|
103
103
|
def list(params = {})
|
|
104
104
|
parsed, options = Increase::PhysicalCardListParams.dump_request(params)
|
|
105
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
105
106
|
@client.request(
|
|
106
107
|
method: :get,
|
|
107
108
|
path: "physical_cards",
|
|
108
|
-
query:
|
|
109
|
+
query: query,
|
|
109
110
|
page: Increase::Internal::Page,
|
|
110
111
|
model: Increase::PhysicalCard,
|
|
111
112
|
options: options
|
|
@@ -41,10 +41,11 @@ module Increase
|
|
|
41
41
|
# @see Increase::Models::ProgramListParams
|
|
42
42
|
def list(params = {})
|
|
43
43
|
parsed, options = Increase::ProgramListParams.dump_request(params)
|
|
44
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
44
45
|
@client.request(
|
|
45
46
|
method: :get,
|
|
46
47
|
path: "programs",
|
|
47
|
-
query:
|
|
48
|
+
query: query,
|
|
48
49
|
page: Increase::Internal::Page,
|
|
49
50
|
model: Increase::Program,
|
|
50
51
|
options: options
|
|
@@ -96,10 +96,11 @@ module Increase
|
|
|
96
96
|
# @see Increase::Models::RealTimePaymentsTransferListParams
|
|
97
97
|
def list(params = {})
|
|
98
98
|
parsed, options = Increase::RealTimePaymentsTransferListParams.dump_request(params)
|
|
99
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
99
100
|
@client.request(
|
|
100
101
|
method: :get,
|
|
101
102
|
path: "real_time_payments_transfers",
|
|
102
|
-
query:
|
|
103
|
+
query: query,
|
|
103
104
|
page: Increase::Internal::Page,
|
|
104
105
|
model: Increase::RealTimePaymentsTransfer,
|
|
105
106
|
options: options
|
|
@@ -26,10 +26,11 @@ module Increase
|
|
|
26
26
|
# @see Increase::Models::RoutingNumberListParams
|
|
27
27
|
def list(params)
|
|
28
28
|
parsed, options = Increase::RoutingNumberListParams.dump_request(params)
|
|
29
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
29
30
|
@client.request(
|
|
30
31
|
method: :get,
|
|
31
32
|
path: "routing_numbers",
|
|
32
|
-
query:
|
|
33
|
+
query: query,
|
|
33
34
|
page: Increase::Internal::Page,
|
|
34
35
|
model: Increase::Models::RoutingNumberListResponse,
|
|
35
36
|
options: options
|
|
@@ -49,10 +49,11 @@ module Increase
|
|
|
49
49
|
# @see Increase::Models::SupplementalDocumentListParams
|
|
50
50
|
def list(params)
|
|
51
51
|
parsed, options = Increase::SupplementalDocumentListParams.dump_request(params)
|
|
52
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
52
53
|
@client.request(
|
|
53
54
|
method: :get,
|
|
54
55
|
path: "entity_supplemental_documents",
|
|
55
|
-
query:
|
|
56
|
+
query: query,
|
|
56
57
|
page: Increase::Internal::Page,
|
|
57
58
|
model: Increase::EntitySupplementalDocument,
|
|
58
59
|
options: options
|
|
@@ -98,10 +98,11 @@ module Increase
|
|
|
98
98
|
# @see Increase::Models::SwiftTransferListParams
|
|
99
99
|
def list(params = {})
|
|
100
100
|
parsed, options = Increase::SwiftTransferListParams.dump_request(params)
|
|
101
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
101
102
|
@client.request(
|
|
102
103
|
method: :get,
|
|
103
104
|
path: "swift_transfers",
|
|
104
|
-
query:
|
|
105
|
+
query: query,
|
|
105
106
|
page: Increase::Internal::Page,
|
|
106
107
|
model: Increase::SwiftTransfer,
|
|
107
108
|
options: options
|
|
@@ -49,10 +49,11 @@ module Increase
|
|
|
49
49
|
# @see Increase::Models::TransactionListParams
|
|
50
50
|
def list(params = {})
|
|
51
51
|
parsed, options = Increase::TransactionListParams.dump_request(params)
|
|
52
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
52
53
|
@client.request(
|
|
53
54
|
method: :get,
|
|
54
55
|
path: "transactions",
|
|
55
|
-
query:
|
|
56
|
+
query: query,
|
|
56
57
|
page: Increase::Internal::Page,
|
|
57
58
|
model: Increase::Transaction,
|
|
58
59
|
options: options
|
|
@@ -90,10 +90,11 @@ module Increase
|
|
|
90
90
|
# @see Increase::Models::WireDrawdownRequestListParams
|
|
91
91
|
def list(params = {})
|
|
92
92
|
parsed, options = Increase::WireDrawdownRequestListParams.dump_request(params)
|
|
93
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
93
94
|
@client.request(
|
|
94
95
|
method: :get,
|
|
95
96
|
path: "wire_drawdown_requests",
|
|
96
|
-
query:
|
|
97
|
+
query: query,
|
|
97
98
|
page: Increase::Internal::Page,
|
|
98
99
|
model: Increase::WireDrawdownRequest,
|
|
99
100
|
options: options
|
|
@@ -94,10 +94,11 @@ module Increase
|
|
|
94
94
|
# @see Increase::Models::WireTransferListParams
|
|
95
95
|
def list(params = {})
|
|
96
96
|
parsed, options = Increase::WireTransferListParams.dump_request(params)
|
|
97
|
+
query = Increase::Internal::Util.encode_query_params(parsed)
|
|
97
98
|
@client.request(
|
|
98
99
|
method: :get,
|
|
99
100
|
path: "wire_transfers",
|
|
100
|
-
query:
|
|
101
|
+
query: query,
|
|
101
102
|
page: Increase::Internal::Page,
|
|
102
103
|
model: Increase::WireTransfer,
|
|
103
104
|
options: options
|
data/lib/increase/version.rb
CHANGED
|
@@ -301,6 +301,26 @@ module Increase
|
|
|
301
301
|
T.let(%r{^application/(:?x-(?:n|l)djson)|(:?(?:x-)?jsonl)}, Regexp)
|
|
302
302
|
|
|
303
303
|
class << self
|
|
304
|
+
# @api private
|
|
305
|
+
sig do
|
|
306
|
+
params(query: Increase::Internal::AnyHash).returns(
|
|
307
|
+
Increase::Internal::AnyHash
|
|
308
|
+
)
|
|
309
|
+
end
|
|
310
|
+
def encode_query_params(query)
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
# @api private
|
|
314
|
+
sig do
|
|
315
|
+
params(
|
|
316
|
+
collection: Increase::Internal::AnyHash,
|
|
317
|
+
key: String,
|
|
318
|
+
element: T.anything
|
|
319
|
+
).void
|
|
320
|
+
end
|
|
321
|
+
private def write_query_param_element!(collection, key, element)
|
|
322
|
+
end
|
|
323
|
+
|
|
304
324
|
# @api private
|
|
305
325
|
sig do
|
|
306
326
|
params(
|