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.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +174 -0
  3. data/README.md +1 -1
  4. data/lib/increase/internal/util.rb +31 -0
  5. data/lib/increase/models/event_subscription.rb +246 -234
  6. data/lib/increase/models/fednow_transfer.rb +47 -1
  7. data/lib/increase/models/real_time_decision_action_params.rb +38 -1
  8. data/lib/increase/resources/account_numbers.rb +2 -1
  9. data/lib/increase/resources/account_statements.rb +2 -1
  10. data/lib/increase/resources/account_transfers.rb +2 -1
  11. data/lib/increase/resources/accounts.rb +4 -2
  12. data/lib/increase/resources/ach_prenotifications.rb +2 -1
  13. data/lib/increase/resources/ach_transfers.rb +2 -1
  14. data/lib/increase/resources/bookkeeping_accounts.rb +4 -2
  15. data/lib/increase/resources/bookkeeping_entries.rb +2 -1
  16. data/lib/increase/resources/bookkeeping_entry_sets.rb +2 -1
  17. data/lib/increase/resources/card_disputes.rb +2 -1
  18. data/lib/increase/resources/card_payments.rb +2 -1
  19. data/lib/increase/resources/card_purchase_supplements.rb +2 -1
  20. data/lib/increase/resources/card_push_transfers.rb +2 -1
  21. data/lib/increase/resources/card_tokens.rb +2 -1
  22. data/lib/increase/resources/card_validations.rb +2 -1
  23. data/lib/increase/resources/cards.rb +2 -1
  24. data/lib/increase/resources/check_deposits.rb +2 -1
  25. data/lib/increase/resources/check_transfers.rb +2 -1
  26. data/lib/increase/resources/declined_transactions.rb +2 -1
  27. data/lib/increase/resources/digital_card_profiles.rb +2 -1
  28. data/lib/increase/resources/digital_wallet_tokens.rb +2 -1
  29. data/lib/increase/resources/entities.rb +2 -1
  30. data/lib/increase/resources/event_subscriptions.rb +2 -1
  31. data/lib/increase/resources/events.rb +2 -1
  32. data/lib/increase/resources/exports.rb +2 -1
  33. data/lib/increase/resources/external_accounts.rb +2 -1
  34. data/lib/increase/resources/fednow_transfers.rb +2 -1
  35. data/lib/increase/resources/files.rb +2 -1
  36. data/lib/increase/resources/inbound_ach_transfers.rb +2 -1
  37. data/lib/increase/resources/inbound_check_deposits.rb +2 -1
  38. data/lib/increase/resources/inbound_fednow_transfers.rb +2 -1
  39. data/lib/increase/resources/inbound_mail_items.rb +2 -1
  40. data/lib/increase/resources/inbound_real_time_payments_transfers.rb +2 -1
  41. data/lib/increase/resources/inbound_wire_drawdown_requests.rb +2 -1
  42. data/lib/increase/resources/inbound_wire_transfers.rb +2 -1
  43. data/lib/increase/resources/intrafi_account_enrollments.rb +2 -1
  44. data/lib/increase/resources/intrafi_exclusions.rb +2 -1
  45. data/lib/increase/resources/lockboxes.rb +2 -1
  46. data/lib/increase/resources/oauth_applications.rb +2 -1
  47. data/lib/increase/resources/oauth_connections.rb +2 -1
  48. data/lib/increase/resources/pending_transactions.rb +2 -1
  49. data/lib/increase/resources/physical_card_profiles.rb +2 -1
  50. data/lib/increase/resources/physical_cards.rb +2 -1
  51. data/lib/increase/resources/programs.rb +2 -1
  52. data/lib/increase/resources/real_time_payments_transfers.rb +2 -1
  53. data/lib/increase/resources/routing_numbers.rb +2 -1
  54. data/lib/increase/resources/supplemental_documents.rb +2 -1
  55. data/lib/increase/resources/swift_transfers.rb +2 -1
  56. data/lib/increase/resources/transactions.rb +2 -1
  57. data/lib/increase/resources/wire_drawdown_requests.rb +2 -1
  58. data/lib/increase/resources/wire_transfers.rb +2 -1
  59. data/lib/increase/version.rb +1 -1
  60. data/rbi/increase/internal/util.rbi +20 -0
  61. data/rbi/increase/models/event_subscription.rbi +830 -779
  62. data/rbi/increase/models/fednow_transfer.rbi +78 -0
  63. data/rbi/increase/models/real_time_decision_action_params.rbi +70 -3
  64. data/sig/increase/internal/util.rbs +10 -0
  65. data/sig/increase/models/event_subscription.rbs +367 -350
  66. data/sig/increase/models/fednow_transfer.rbs +37 -0
  67. data/sig/increase/models/real_time_decision_action_params.rbs +28 -3
  68. metadata +2 -2
@@ -48,6 +48,12 @@ module Increase
48
48
  # @return [Increase::Models::FednowTransfer::CreatedBy, nil]
49
49
  required :created_by, -> { Increase::FednowTransfer::CreatedBy }, nil?: true
50
50
 
51
+ # @!attribute creditor_address
52
+ # The creditor's address.
53
+ #
54
+ # @return [Increase::Models::FednowTransfer::CreditorAddress, nil]
55
+ required :creditor_address, -> { Increase::FednowTransfer::CreditorAddress }, nil?: true
56
+
51
57
  # @!attribute creditor_name
52
58
  # The name of the transfer's recipient. This is set by the sender when creating
53
59
  # the transfer.
@@ -149,7 +155,7 @@ module Increase
149
155
  # @return [String]
150
156
  required :unstructured_remittance_information, String
151
157
 
152
- # @!method initialize(id:, account_id:, account_number:, acknowledgement:, amount:, created_at:, created_by:, creditor_name:, currency:, debtor_name:, external_account_id:, idempotency_key:, pending_transaction_id:, rejection:, routing_number:, source_account_number_id:, status:, submission:, transaction_id:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
158
+ # @!method initialize(id:, account_id:, account_number:, acknowledgement:, amount:, created_at:, created_by:, creditor_address:, creditor_name:, currency:, debtor_name:, external_account_id:, idempotency_key:, pending_transaction_id:, rejection:, routing_number:, source_account_number_id:, status:, submission:, transaction_id:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
153
159
  # Some parameter documentations has been truncated, see
154
160
  # {Increase::Models::FednowTransfer} for more details.
155
161
  #
@@ -170,6 +176,8 @@ module Increase
170
176
  #
171
177
  # @param created_by [Increase::Models::FednowTransfer::CreatedBy, nil] What object created the transfer, either via the API or the dashboard.
172
178
  #
179
+ # @param creditor_address [Increase::Models::FednowTransfer::CreditorAddress, nil] The creditor's address.
180
+ #
173
181
  # @param creditor_name [String] The name of the transfer's recipient. This is set by the sender when creating th
174
182
  #
175
183
  # @param currency [Symbol, Increase::Models::FednowTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's c
@@ -314,6 +322,44 @@ module Increase
314
322
  end
315
323
  end
316
324
 
325
+ # @see Increase::Models::FednowTransfer#creditor_address
326
+ class CreditorAddress < Increase::Internal::Type::BaseModel
327
+ # @!attribute city
328
+ # The city, district, town, or village of the address.
329
+ #
330
+ # @return [String, nil]
331
+ required :city, String, nil?: true
332
+
333
+ # @!attribute line1
334
+ # The first line of the address.
335
+ #
336
+ # @return [String, nil]
337
+ required :line1, String, nil?: true
338
+
339
+ # @!attribute postal_code
340
+ # The ZIP code of the address.
341
+ #
342
+ # @return [String, nil]
343
+ required :postal_code, String, nil?: true
344
+
345
+ # @!attribute state
346
+ # The address state.
347
+ #
348
+ # @return [String, nil]
349
+ required :state, String, nil?: true
350
+
351
+ # @!method initialize(city:, line1:, postal_code:, state:)
352
+ # The creditor's address.
353
+ #
354
+ # @param city [String, nil] The city, district, town, or village of the address.
355
+ #
356
+ # @param line1 [String, nil] The first line of the address.
357
+ #
358
+ # @param postal_code [String, nil] The ZIP code of the address.
359
+ #
360
+ # @param state [String, nil] The address state.
361
+ end
362
+
317
363
  # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
318
364
  # currency. For FedNow transfers this is always equal to `USD`.
319
365
  #
@@ -110,7 +110,14 @@ module Increase
110
110
  # @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::Result]
111
111
  required :result, enum: -> { Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Result }
112
112
 
113
- # @!method initialize(result:)
113
+ # @!attribute success
114
+ # If your application was able to deliver the one-time code, this contains
115
+ # metadata about the delivery.
116
+ #
117
+ # @return [Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success, nil]
118
+ optional :success, -> { Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success }
119
+
120
+ # @!method initialize(result:, success: nil)
114
121
  # Some parameter documentations has been truncated, see
115
122
  # {Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge}
116
123
  # for more details.
@@ -119,6 +126,8 @@ module Increase
119
126
  # this object contains your response.
120
127
  #
121
128
  # @param result [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::Result] Whether the card authentication challenge was successfully delivered to the card
129
+ #
130
+ # @param success [Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success] If your application was able to deliver the one-time code, this contains metadat
122
131
 
123
132
  # Whether the card authentication challenge was successfully delivered to the
124
133
  # cardholder.
@@ -136,6 +145,34 @@ module Increase
136
145
  # @!method self.values
137
146
  # @return [Array<Symbol>]
138
147
  end
148
+
149
+ # @see Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge#success
150
+ class Success < Increase::Internal::Type::BaseModel
151
+ # @!attribute email
152
+ # The email address that was used to deliver the one-time code to the cardholder.
153
+ #
154
+ # @return [String, nil]
155
+ optional :email, String
156
+
157
+ # @!attribute phone
158
+ # The phone number that was used to deliver the one-time code to the cardholder
159
+ # via SMS.
160
+ #
161
+ # @return [String, nil]
162
+ optional :phone, String
163
+
164
+ # @!method initialize(email: nil, phone: nil)
165
+ # Some parameter documentations has been truncated, see
166
+ # {Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::Success}
167
+ # for more details.
168
+ #
169
+ # If your application was able to deliver the one-time code, this contains
170
+ # metadata about the delivery.
171
+ #
172
+ # @param email [String] The email address that was used to deliver the one-time code to the cardholder.
173
+ #
174
+ # @param phone [String] The phone number that was used to deliver the one-time code to the cardholder vi
175
+ end
139
176
  end
140
177
 
141
178
  class CardAuthorization < Increase::Internal::Type::BaseModel
@@ -115,10 +115,11 @@ module Increase
115
115
  # @see Increase::Models::AccountNumberListParams
116
116
  def list(params = {})
117
117
  parsed, options = Increase::AccountNumberListParams.dump_request(params)
118
+ query = Increase::Internal::Util.encode_query_params(parsed)
118
119
  @client.request(
119
120
  method: :get,
120
121
  path: "account_numbers",
121
- query: parsed,
122
+ query: query,
122
123
  page: Increase::Internal::Page,
123
124
  model: Increase::AccountNumber,
124
125
  options: options
@@ -45,10 +45,11 @@ module Increase
45
45
  # @see Increase::Models::AccountStatementListParams
46
46
  def list(params = {})
47
47
  parsed, options = Increase::AccountStatementListParams.dump_request(params)
48
+ query = Increase::Internal::Util.encode_query_params(parsed)
48
49
  @client.request(
49
50
  method: :get,
50
51
  path: "account_statements",
51
- query: parsed,
52
+ query: query,
52
53
  page: Increase::Internal::Page,
53
54
  model: Increase::AccountStatement,
54
55
  options: options
@@ -80,10 +80,11 @@ module Increase
80
80
  # @see Increase::Models::AccountTransferListParams
81
81
  def list(params = {})
82
82
  parsed, options = Increase::AccountTransferListParams.dump_request(params)
83
+ query = Increase::Internal::Util.encode_query_params(parsed)
83
84
  @client.request(
84
85
  method: :get,
85
86
  path: "account_transfers",
86
- query: parsed,
87
+ query: query,
87
88
  page: Increase::Internal::Page,
88
89
  model: Increase::AccountTransfer,
89
90
  options: options
@@ -114,10 +114,11 @@ module Increase
114
114
  # @see Increase::Models::AccountListParams
115
115
  def list(params = {})
116
116
  parsed, options = Increase::AccountListParams.dump_request(params)
117
+ query = Increase::Internal::Util.encode_query_params(parsed)
117
118
  @client.request(
118
119
  method: :get,
119
120
  path: "accounts",
120
- query: parsed,
121
+ query: query,
121
122
  page: Increase::Internal::Page,
122
123
  model: Increase::Account,
123
124
  options: options
@@ -140,10 +141,11 @@ module Increase
140
141
  # @see Increase::Models::AccountBalanceParams
141
142
  def balance(account_id, params = {})
142
143
  parsed, options = Increase::AccountBalanceParams.dump_request(params)
144
+ query = Increase::Internal::Util.encode_query_params(parsed)
143
145
  @client.request(
144
146
  method: :get,
145
147
  path: ["accounts/%1$s/balance", account_id],
146
- query: parsed,
148
+ query: query,
147
149
  model: Increase::BalanceLookup,
148
150
  options: options
149
151
  )
@@ -94,10 +94,11 @@ module Increase
94
94
  # @see Increase::Models::ACHPrenotificationListParams
95
95
  def list(params = {})
96
96
  parsed, options = Increase::ACHPrenotificationListParams.dump_request(params)
97
+ query = Increase::Internal::Util.encode_query_params(parsed)
97
98
  @client.request(
98
99
  method: :get,
99
100
  path: "ach_prenotifications",
100
- query: parsed,
101
+ query: query,
101
102
  page: Increase::Internal::Page,
102
103
  model: Increase::ACHPrenotification,
103
104
  options: options
@@ -112,10 +112,11 @@ module Increase
112
112
  # @see Increase::Models::ACHTransferListParams
113
113
  def list(params = {})
114
114
  parsed, options = Increase::ACHTransferListParams.dump_request(params)
115
+ query = Increase::Internal::Util.encode_query_params(parsed)
115
116
  @client.request(
116
117
  method: :get,
117
118
  path: "ach_transfers",
118
- query: parsed,
119
+ query: query,
119
120
  page: Increase::Internal::Page,
120
121
  model: Increase::ACHTransfer,
121
122
  options: options
@@ -75,10 +75,11 @@ module Increase
75
75
  # @see Increase::Models::BookkeepingAccountListParams
76
76
  def list(params = {})
77
77
  parsed, options = Increase::BookkeepingAccountListParams.dump_request(params)
78
+ query = Increase::Internal::Util.encode_query_params(parsed)
78
79
  @client.request(
79
80
  method: :get,
80
81
  path: "bookkeeping_accounts",
81
- query: parsed,
82
+ query: query,
82
83
  page: Increase::Internal::Page,
83
84
  model: Increase::BookkeepingAccount,
84
85
  options: options
@@ -100,10 +101,11 @@ module Increase
100
101
  # @see Increase::Models::BookkeepingAccountBalanceParams
101
102
  def balance(bookkeeping_account_id, params = {})
102
103
  parsed, options = Increase::BookkeepingAccountBalanceParams.dump_request(params)
104
+ query = Increase::Internal::Util.encode_query_params(parsed)
103
105
  @client.request(
104
106
  method: :get,
105
107
  path: ["bookkeeping_accounts/%1$s/balance", bookkeeping_account_id],
106
- query: parsed,
108
+ query: query,
107
109
  model: Increase::BookkeepingBalanceLookup,
108
110
  options: options
109
111
  )
@@ -43,10 +43,11 @@ module Increase
43
43
  # @see Increase::Models::BookkeepingEntryListParams
44
44
  def list(params = {})
45
45
  parsed, options = Increase::BookkeepingEntryListParams.dump_request(params)
46
+ query = Increase::Internal::Util.encode_query_params(parsed)
46
47
  @client.request(
47
48
  method: :get,
48
49
  path: "bookkeeping_entries",
49
- query: parsed,
50
+ query: query,
50
51
  page: Increase::Internal::Page,
51
52
  model: Increase::BookkeepingEntry,
52
53
  options: options
@@ -74,10 +74,11 @@ module Increase
74
74
  # @see Increase::Models::BookkeepingEntrySetListParams
75
75
  def list(params = {})
76
76
  parsed, options = Increase::BookkeepingEntrySetListParams.dump_request(params)
77
+ query = Increase::Internal::Util.encode_query_params(parsed)
77
78
  @client.request(
78
79
  method: :get,
79
80
  path: "bookkeeping_entry_sets",
80
- query: parsed,
81
+ query: query,
81
82
  page: Increase::Internal::Page,
82
83
  model: Increase::BookkeepingEntrySet,
83
84
  options: options
@@ -82,10 +82,11 @@ module Increase
82
82
  # @see Increase::Models::CardDisputeListParams
83
83
  def list(params = {})
84
84
  parsed, options = Increase::CardDisputeListParams.dump_request(params)
85
+ query = Increase::Internal::Util.encode_query_params(parsed)
85
86
  @client.request(
86
87
  method: :get,
87
88
  path: "card_disputes",
88
- query: parsed,
89
+ query: query,
89
90
  page: Increase::Internal::Page,
90
91
  model: Increase::CardDispute,
91
92
  options: options
@@ -47,10 +47,11 @@ module Increase
47
47
  # @see Increase::Models::CardPaymentListParams
48
48
  def list(params = {})
49
49
  parsed, options = Increase::CardPaymentListParams.dump_request(params)
50
+ query = Increase::Internal::Util.encode_query_params(parsed)
50
51
  @client.request(
51
52
  method: :get,
52
53
  path: "card_payments",
53
- query: parsed,
54
+ query: query,
54
55
  page: Increase::Internal::Page,
55
56
  model: Increase::CardPayment,
56
57
  options: options
@@ -45,10 +45,11 @@ module Increase
45
45
  # @see Increase::Models::CardPurchaseSupplementListParams
46
46
  def list(params = {})
47
47
  parsed, options = Increase::CardPurchaseSupplementListParams.dump_request(params)
48
+ query = Increase::Internal::Util.encode_query_params(parsed)
48
49
  @client.request(
49
50
  method: :get,
50
51
  path: "card_purchase_supplements",
51
- query: parsed,
52
+ query: query,
52
53
  page: Increase::Internal::Page,
53
54
  model: Increase::CardPurchaseSupplement,
54
55
  options: options
@@ -106,10 +106,11 @@ module Increase
106
106
  # @see Increase::Models::CardPushTransferListParams
107
107
  def list(params = {})
108
108
  parsed, options = Increase::CardPushTransferListParams.dump_request(params)
109
+ query = Increase::Internal::Util.encode_query_params(parsed)
109
110
  @client.request(
110
111
  method: :get,
111
112
  path: "card_push_transfers",
112
- query: parsed,
113
+ query: query,
113
114
  page: Increase::Internal::Page,
114
115
  model: Increase::CardPushTransfer,
115
116
  options: options
@@ -43,10 +43,11 @@ module Increase
43
43
  # @see Increase::Models::CardTokenListParams
44
44
  def list(params = {})
45
45
  parsed, options = Increase::CardTokenListParams.dump_request(params)
46
+ query = Increase::Internal::Util.encode_query_params(parsed)
46
47
  @client.request(
47
48
  method: :get,
48
49
  path: "card_tokens",
49
- query: parsed,
50
+ query: query,
50
51
  page: Increase::Internal::Page,
51
52
  model: Increase::CardToken,
52
53
  options: options
@@ -96,10 +96,11 @@ module Increase
96
96
  # @see Increase::Models::CardValidationListParams
97
97
  def list(params = {})
98
98
  parsed, options = Increase::CardValidationListParams.dump_request(params)
99
+ query = Increase::Internal::Util.encode_query_params(parsed)
99
100
  @client.request(
100
101
  method: :get,
101
102
  path: "card_validations",
102
- query: parsed,
103
+ query: query,
103
104
  page: Increase::Internal::Page,
104
105
  model: Increase::CardValidation,
105
106
  options: options
@@ -111,10 +111,11 @@ module Increase
111
111
  # @see Increase::Models::CardListParams
112
112
  def list(params = {})
113
113
  parsed, options = Increase::CardListParams.dump_request(params)
114
+ query = Increase::Internal::Util.encode_query_params(parsed)
114
115
  @client.request(
115
116
  method: :get,
116
117
  path: "cards",
117
- query: parsed,
118
+ query: query,
118
119
  page: Increase::Internal::Page,
119
120
  model: Increase::Card,
120
121
  options: options
@@ -80,10 +80,11 @@ module Increase
80
80
  # @see Increase::Models::CheckDepositListParams
81
81
  def list(params = {})
82
82
  parsed, options = Increase::CheckDepositListParams.dump_request(params)
83
+ query = Increase::Internal::Util.encode_query_params(parsed)
83
84
  @client.request(
84
85
  method: :get,
85
86
  path: "check_deposits",
86
- query: parsed,
87
+ query: query,
87
88
  page: Increase::Internal::Page,
88
89
  model: Increase::CheckDeposit,
89
90
  options: options
@@ -92,10 +92,11 @@ module Increase
92
92
  # @see Increase::Models::CheckTransferListParams
93
93
  def list(params = {})
94
94
  parsed, options = Increase::CheckTransferListParams.dump_request(params)
95
+ query = Increase::Internal::Util.encode_query_params(parsed)
95
96
  @client.request(
96
97
  method: :get,
97
98
  path: "check_transfers",
98
- query: parsed,
99
+ query: query,
99
100
  page: Increase::Internal::Page,
100
101
  model: Increase::CheckTransfer,
101
102
  options: options
@@ -49,10 +49,11 @@ module Increase
49
49
  # @see Increase::Models::DeclinedTransactionListParams
50
50
  def list(params = {})
51
51
  parsed, options = Increase::DeclinedTransactionListParams.dump_request(params)
52
+ query = Increase::Internal::Util.encode_query_params(parsed)
52
53
  @client.request(
53
54
  method: :get,
54
55
  path: "declined_transactions",
55
- query: parsed,
56
+ query: query,
56
57
  page: Increase::Internal::Page,
57
58
  model: Increase::DeclinedTransaction,
58
59
  options: options
@@ -83,10 +83,11 @@ module Increase
83
83
  # @see Increase::Models::DigitalCardProfileListParams
84
84
  def list(params = {})
85
85
  parsed, options = Increase::DigitalCardProfileListParams.dump_request(params)
86
+ query = Increase::Internal::Util.encode_query_params(parsed)
86
87
  @client.request(
87
88
  method: :get,
88
89
  path: "digital_card_profiles",
89
- query: parsed,
90
+ query: query,
90
91
  page: Increase::Internal::Page,
91
92
  model: Increase::DigitalCardProfile,
92
93
  options: options
@@ -45,10 +45,11 @@ module Increase
45
45
  # @see Increase::Models::DigitalWalletTokenListParams
46
46
  def list(params = {})
47
47
  parsed, options = Increase::DigitalWalletTokenListParams.dump_request(params)
48
+ query = Increase::Internal::Util.encode_query_params(parsed)
48
49
  @client.request(
49
50
  method: :get,
50
51
  path: "digital_wallet_tokens",
51
- query: parsed,
52
+ query: query,
52
53
  page: Increase::Internal::Page,
53
54
  model: Increase::DigitalWalletToken,
54
55
  options: options
@@ -131,10 +131,11 @@ module Increase
131
131
  # @see Increase::Models::EntityListParams
132
132
  def list(params = {})
133
133
  parsed, options = Increase::EntityListParams.dump_request(params)
134
+ query = Increase::Internal::Util.encode_query_params(parsed)
134
135
  @client.request(
135
136
  method: :get,
136
137
  path: "entities",
137
- query: parsed,
138
+ query: query,
138
139
  page: Increase::Internal::Page,
139
140
  model: Increase::Entity,
140
141
  options: options
@@ -100,10 +100,11 @@ module Increase
100
100
  # @see Increase::Models::EventSubscriptionListParams
101
101
  def list(params = {})
102
102
  parsed, options = Increase::EventSubscriptionListParams.dump_request(params)
103
+ query = Increase::Internal::Util.encode_query_params(parsed)
103
104
  @client.request(
104
105
  method: :get,
105
106
  path: "event_subscriptions",
106
- query: parsed,
107
+ query: query,
107
108
  page: Increase::Internal::Page,
108
109
  model: Increase::EventSubscription,
109
110
  options: options
@@ -47,10 +47,11 @@ module Increase
47
47
  # @see Increase::Models::EventListParams
48
48
  def list(params = {})
49
49
  parsed, options = Increase::EventListParams.dump_request(params)
50
+ query = Increase::Internal::Util.encode_query_params(parsed)
50
51
  @client.request(
51
52
  method: :get,
52
53
  path: "events",
53
- query: parsed,
54
+ query: query,
54
55
  page: Increase::Internal::Page,
55
56
  model: Increase::Event,
56
57
  options: options
@@ -100,10 +100,11 @@ module Increase
100
100
  # @see Increase::Models::ExportListParams
101
101
  def list(params = {})
102
102
  parsed, options = Increase::ExportListParams.dump_request(params)
103
+ query = Increase::Internal::Util.encode_query_params(parsed)
103
104
  @client.request(
104
105
  method: :get,
105
106
  path: "exports",
106
- query: parsed,
107
+ query: query,
107
108
  page: Increase::Internal::Page,
108
109
  model: Increase::Export,
109
110
  options: options
@@ -110,10 +110,11 @@ module Increase
110
110
  # @see Increase::Models::ExternalAccountListParams
111
111
  def list(params = {})
112
112
  parsed, options = Increase::ExternalAccountListParams.dump_request(params)
113
+ query = Increase::Internal::Util.encode_query_params(parsed)
113
114
  @client.request(
114
115
  method: :get,
115
116
  path: "external_accounts",
116
- query: parsed,
117
+ query: query,
117
118
  page: Increase::Internal::Page,
118
119
  model: Increase::ExternalAccount,
119
120
  options: options
@@ -98,10 +98,11 @@ module Increase
98
98
  # @see Increase::Models::FednowTransferListParams
99
99
  def list(params = {})
100
100
  parsed, options = Increase::FednowTransferListParams.dump_request(params)
101
+ query = Increase::Internal::Util.encode_query_params(parsed)
101
102
  @client.request(
102
103
  method: :get,
103
104
  path: "fednow_transfers",
104
- query: parsed,
105
+ query: query,
105
106
  page: Increase::Internal::Page,
106
107
  model: Increase::FednowTransfer,
107
108
  options: options
@@ -79,10 +79,11 @@ module Increase
79
79
  # @see Increase::Models::FileListParams
80
80
  def list(params = {})
81
81
  parsed, options = Increase::FileListParams.dump_request(params)
82
+ query = Increase::Internal::Util.encode_query_params(parsed)
82
83
  @client.request(
83
84
  method: :get,
84
85
  path: "files",
85
- query: parsed,
86
+ query: query,
86
87
  page: Increase::Internal::Page,
87
88
  model: Increase::File,
88
89
  options: options
@@ -49,10 +49,11 @@ module Increase
49
49
  # @see Increase::Models::InboundACHTransferListParams
50
50
  def list(params = {})
51
51
  parsed, options = Increase::InboundACHTransferListParams.dump_request(params)
52
+ query = Increase::Internal::Util.encode_query_params(parsed)
52
53
  @client.request(
53
54
  method: :get,
54
55
  path: "inbound_ach_transfers",
55
- query: parsed,
56
+ query: query,
56
57
  page: Increase::Internal::Page,
57
58
  model: Increase::InboundACHTransfer,
58
59
  options: options
@@ -47,10 +47,11 @@ module Increase
47
47
  # @see Increase::Models::InboundCheckDepositListParams
48
48
  def list(params = {})
49
49
  parsed, options = Increase::InboundCheckDepositListParams.dump_request(params)
50
+ query = Increase::Internal::Util.encode_query_params(parsed)
50
51
  @client.request(
51
52
  method: :get,
52
53
  path: "inbound_check_deposits",
53
- query: parsed,
54
+ query: query,
54
55
  page: Increase::Internal::Page,
55
56
  model: Increase::InboundCheckDeposit,
56
57
  options: options
@@ -47,10 +47,11 @@ module Increase
47
47
  # @see Increase::Models::InboundFednowTransferListParams
48
48
  def list(params = {})
49
49
  parsed, options = Increase::InboundFednowTransferListParams.dump_request(params)
50
+ query = Increase::Internal::Util.encode_query_params(parsed)
50
51
  @client.request(
51
52
  method: :get,
52
53
  path: "inbound_fednow_transfers",
53
- query: parsed,
54
+ query: query,
54
55
  page: Increase::Internal::Page,
55
56
  model: Increase::InboundFednowTransfer,
56
57
  options: options
@@ -45,10 +45,11 @@ module Increase
45
45
  # @see Increase::Models::InboundMailItemListParams
46
46
  def list(params = {})
47
47
  parsed, options = Increase::InboundMailItemListParams.dump_request(params)
48
+ query = Increase::Internal::Util.encode_query_params(parsed)
48
49
  @client.request(
49
50
  method: :get,
50
51
  path: "inbound_mail_items",
51
- query: parsed,
52
+ query: query,
52
53
  page: Increase::Internal::Page,
53
54
  model: Increase::InboundMailItem,
54
55
  options: options
@@ -47,10 +47,11 @@ module Increase
47
47
  # @see Increase::Models::InboundRealTimePaymentsTransferListParams
48
48
  def list(params = {})
49
49
  parsed, options = Increase::InboundRealTimePaymentsTransferListParams.dump_request(params)
50
+ query = Increase::Internal::Util.encode_query_params(parsed)
50
51
  @client.request(
51
52
  method: :get,
52
53
  path: "inbound_real_time_payments_transfers",
53
- query: parsed,
54
+ query: query,
54
55
  page: Increase::Internal::Page,
55
56
  model: Increase::InboundRealTimePaymentsTransfer,
56
57
  options: options
@@ -41,10 +41,11 @@ module Increase
41
41
  # @see Increase::Models::InboundWireDrawdownRequestListParams
42
42
  def list(params = {})
43
43
  parsed, options = Increase::InboundWireDrawdownRequestListParams.dump_request(params)
44
+ query = Increase::Internal::Util.encode_query_params(parsed)
44
45
  @client.request(
45
46
  method: :get,
46
47
  path: "inbound_wire_drawdown_requests",
47
- query: parsed,
48
+ query: query,
48
49
  page: Increase::Internal::Page,
49
50
  model: Increase::InboundWireDrawdownRequest,
50
51
  options: options