increase 1.357.0 → 1.359.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 (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/account_statement.rb +12 -8
  4. data/lib/increase/models/card.rb +112 -4
  5. data/lib/increase/models/card_create_params.rb +67 -3
  6. data/lib/increase/models/card_dispute.rb +3 -1
  7. data/lib/increase/models/card_payment.rb +3 -1
  8. data/lib/increase/models/card_push_transfer.rb +18 -3
  9. data/lib/increase/models/card_push_transfer_create_params.rb +18 -3
  10. data/lib/increase/models/card_renew_params.rb +22 -0
  11. data/lib/increase/models/card_update_params.rb +4 -2
  12. data/lib/increase/models/entity_create_params.rb +8 -4
  13. data/lib/increase/models/entity_update_params.rb +8 -4
  14. data/lib/increase/models/export.rb +18 -18
  15. data/lib/increase/models/export_create_params.rb +19 -18
  16. data/lib/increase/models/inbound_fednow_transfer.rb +12 -3
  17. data/lib/increase/models/physical_card.rb +25 -2
  18. data/lib/increase/models/transaction.rb +6 -0
  19. data/lib/increase/models.rb +2 -0
  20. data/lib/increase/resources/cards.rb +29 -1
  21. data/lib/increase/resources/digital_card_profiles.rb +2 -2
  22. data/lib/increase/resources/files.rb +3 -1
  23. data/lib/increase/resources/intrafi_account_enrollments.rb +2 -2
  24. data/lib/increase/resources/physical_card_profiles.rb +1 -1
  25. data/lib/increase/resources/supplemental_documents.rb +2 -2
  26. data/lib/increase/version.rb +1 -1
  27. data/lib/increase.rb +1 -0
  28. data/rbi/increase/models/account_statement.rbi +12 -8
  29. data/rbi/increase/models/card.rbi +168 -3
  30. data/rbi/increase/models/card_create_params.rbi +124 -2
  31. data/rbi/increase/models/card_dispute.rbi +3 -1
  32. data/rbi/increase/models/card_payment.rbi +3 -1
  33. data/rbi/increase/models/card_push_transfer.rbi +42 -7
  34. data/rbi/increase/models/card_push_transfer_create_params.rbi +42 -7
  35. data/rbi/increase/models/card_renew_params.rbi +40 -0
  36. data/rbi/increase/models/card_update_params.rbi +4 -2
  37. data/rbi/increase/models/entity_create_params.rbi +8 -4
  38. data/rbi/increase/models/entity_update_params.rbi +8 -4
  39. data/rbi/increase/models/export.rbi +18 -18
  40. data/rbi/increase/models/export_create_params.rbi +18 -18
  41. data/rbi/increase/models/inbound_fednow_transfer.rbi +10 -2
  42. data/rbi/increase/models/physical_card.rbi +22 -1
  43. data/rbi/increase/models/transaction.rbi +14 -0
  44. data/rbi/increase/models.rbi +2 -0
  45. data/rbi/increase/resources/cards.rbi +22 -0
  46. data/rbi/increase/resources/digital_card_profiles.rbi +2 -2
  47. data/rbi/increase/resources/files.rbi +3 -1
  48. data/rbi/increase/resources/intrafi_account_enrollments.rbi +2 -2
  49. data/rbi/increase/resources/physical_card_profiles.rbi +1 -1
  50. data/rbi/increase/resources/supplemental_documents.rbi +2 -2
  51. data/sig/increase/models/card.rbs +79 -0
  52. data/sig/increase/models/card_create_params.rbs +52 -1
  53. data/sig/increase/models/card_push_transfer.rbs +24 -4
  54. data/sig/increase/models/card_push_transfer_create_params.rbs +24 -4
  55. data/sig/increase/models/card_renew_params.rbs +23 -0
  56. data/sig/increase/models/inbound_fednow_transfer.rbs +5 -0
  57. data/sig/increase/models/physical_card.rbs +10 -0
  58. data/sig/increase/models/transaction.rbs +8 -0
  59. data/sig/increase/models.rbs +2 -0
  60. data/sig/increase/resources/cards.rbs +6 -0
  61. metadata +5 -2
@@ -257,7 +257,7 @@ module Increase
257
257
  required :account_id, String, nil?: true
258
258
 
259
259
  # @!attribute effective_date
260
- # The date for which to retrieve the balance.
260
+ # The UTC date for which to retrieve the balance.
261
261
  #
262
262
  # @return [Date, nil]
263
263
  required :effective_date, Date, nil?: true
@@ -274,7 +274,7 @@ module Increase
274
274
  #
275
275
  # @param account_id [String, nil] Filter results by Account.
276
276
  #
277
- # @param effective_date [Date, nil] The date for which to retrieve the balance.
277
+ # @param effective_date [Date, nil] The UTC date for which to retrieve the balance.
278
278
  #
279
279
  # @param program_id [String, nil] Filter results by Program.
280
280
  end
@@ -334,7 +334,7 @@ module Increase
334
334
  required :account_number_id, String
335
335
 
336
336
  # @!attribute balance_date
337
- # The date of the balance to include in the letter.
337
+ # The UTC date of the balance to include in the letter.
338
338
  #
339
339
  # @return [Date, nil]
340
340
  required :balance_date, Date, nil?: true
@@ -345,7 +345,7 @@ module Increase
345
345
  #
346
346
  # @param account_number_id [String] The Account Number to create a letter for.
347
347
  #
348
- # @param balance_date [Date, nil] The date of the balance to include in the letter.
348
+ # @param balance_date [Date, nil] The UTC date of the balance to include in the letter.
349
349
  end
350
350
 
351
351
  # @see Increase::Models::Export#balance_csv
@@ -403,13 +403,13 @@ module Increase
403
403
  required :bookkeeping_account_id, String, nil?: true
404
404
 
405
405
  # @!attribute on_or_after_date
406
- # Filter balances to those on or after this date.
406
+ # Filter balances to those on or after this UTC date.
407
407
  #
408
408
  # @return [Date, nil]
409
409
  required :on_or_after_date, Date, nil?: true
410
410
 
411
411
  # @!attribute on_or_before_date
412
- # Filter balances to those on or before this date.
412
+ # Filter balances to those on or before this UTC date.
413
413
  #
414
414
  # @return [Date, nil]
415
415
  required :on_or_before_date, Date, nil?: true
@@ -420,9 +420,9 @@ module Increase
420
420
  #
421
421
  # @param bookkeeping_account_id [String, nil] Filter results by Bookkeeping Account.
422
422
  #
423
- # @param on_or_after_date [Date, nil] Filter balances to those on or after this date.
423
+ # @param on_or_after_date [Date, nil] Filter balances to those on or after this UTC date.
424
424
  #
425
- # @param on_or_before_date [Date, nil] Filter balances to those on or before this date.
425
+ # @param on_or_before_date [Date, nil] Filter balances to those on or before this UTC date.
426
426
  end
427
427
 
428
428
  # The category of the Export. We may add additional possible values for this enum
@@ -490,13 +490,13 @@ module Increase
490
490
  required :account_id, String, nil?: true
491
491
 
492
492
  # @!attribute on_or_after_date
493
- # Filter balances on or after this date.
493
+ # Filter balances on or after this UTC date.
494
494
  #
495
495
  # @return [Date, nil]
496
496
  required :on_or_after_date, Date, nil?: true
497
497
 
498
498
  # @!attribute on_or_before_date
499
- # Filter balances on or before this date.
499
+ # Filter balances on or before this UTC date.
500
500
  #
501
501
  # @return [Date, nil]
502
502
  required :on_or_before_date, Date, nil?: true
@@ -507,9 +507,9 @@ module Increase
507
507
  #
508
508
  # @param account_id [String, nil] Filter results by Account.
509
509
  #
510
- # @param on_or_after_date [Date, nil] Filter balances on or after this date.
510
+ # @param on_or_after_date [Date, nil] Filter balances on or after this UTC date.
511
511
  #
512
- # @param on_or_before_date [Date, nil] Filter balances on or before this date.
512
+ # @param on_or_before_date [Date, nil] Filter balances on or before this UTC date.
513
513
  end
514
514
 
515
515
  # @see Increase::Models::Export#dashboard_table_csv
@@ -529,8 +529,8 @@ module Increase
529
529
  # @see Increase::Models::Export#fee_csv
530
530
  class FeeCsv < Increase::Internal::Type::BaseModel
531
531
  # @!attribute created_at
532
- # Filter fees by their created date. The time range must not include any fees that
533
- # are part of an open fee statement.
532
+ # Filter fees by their created date. The time range must not include any fees on
533
+ # an open fee statement.
534
534
  #
535
535
  # @return [Increase::Models::Export::FeeCsv::CreatedAt, nil]
536
536
  required :created_at, -> { Increase::Export::FeeCsv::CreatedAt }, nil?: true
@@ -540,8 +540,8 @@ module Increase
540
540
  # equal to `fee_csv`.
541
541
  #
542
542
  # @param created_at [Increase::Models::Export::FeeCsv::CreatedAt, nil]
543
- # Filter fees by their created date. The time range must not include any fees that
544
- # are part of an open fee statement.
543
+ # Filter fees by their created date. The time range must not include any fees on
544
+ # an open fee statement.
545
545
 
546
546
  # @see Increase::Models::Export::FeeCsv#created_at
547
547
  class CreatedAt < Increase::Internal::Type::BaseModel
@@ -570,8 +570,8 @@ module Increase
570
570
  required :on_or_before, Time, nil?: true
571
571
 
572
572
  # @!method initialize(after:, before:, on_or_after:, on_or_before:)
573
- # Filter fees by their created date. The time range must not include any fees that
574
- # are part of an open fee statement.
573
+ # Filter fees by their created date. The time range must not include any fees on
574
+ # an open fee statement.
575
575
  #
576
576
  # @param after [Time, nil] Filter fees created after this time.
577
577
  #
@@ -187,10 +187,9 @@ module Increase
187
187
  optional :account_id, String
188
188
 
189
189
  # @!attribute effective_date
190
- # The date to create a BAI2 report for. If not provided, the current date will be
191
- # used. The timezone is UTC. If the current date is used, the report will include
192
- # intraday balances, otherwise it will include end-of-day balances for the
193
- # provided date.
190
+ # The UTC date to create a BAI2 report for. If not provided, the current date will
191
+ # be used. If the current date is used, the report will include intraday balances,
192
+ # otherwise it will include end-of-day balances for the provided date.
194
193
  #
195
194
  # @return [Date, nil]
196
195
  optional :effective_date, Date
@@ -211,10 +210,9 @@ module Increase
211
210
  # be included.
212
211
  #
213
212
  # @param effective_date [Date]
214
- # The date to create a BAI2 report for. If not provided, the current date will be
215
- # used. The timezone is UTC. If the current date is used, the report will include
216
- # intraday balances, otherwise it will include end-of-day balances for the
217
- # provided date.
213
+ # The UTC date to create a BAI2 report for. If not provided, the current date will
214
+ # be used. If the current date is used, the report will include intraday balances,
215
+ # otherwise it will include end-of-day balances for the provided date.
218
216
  #
219
217
  # @param program_id [String]
220
218
  # The Program to create a BAI2 report for. If not provided, all open accounts will
@@ -274,7 +272,8 @@ module Increase
274
272
  required :account_number_id, String
275
273
 
276
274
  # @!attribute balance_date
277
- # The date of the balance to include in the letter. Defaults to the current date.
275
+ # The UTC date of the balance to include in the letter. Defaults to the current
276
+ # date.
278
277
  #
279
278
  # @return [Date, nil]
280
279
  optional :balance_date, Date
@@ -285,7 +284,9 @@ module Increase
285
284
  #
286
285
  # @param account_number_id [String] The Account Number to create a letter for.
287
286
  #
288
- # @param balance_date [Date] The date of the balance to include in the letter. Defaults to the current date.
287
+ # @param balance_date [Date]
288
+ # The UTC date of the balance to include in the letter. Defaults to the current
289
+ # date.
289
290
  end
290
291
 
291
292
  class BookkeepingAccountBalanceCsv < Increase::Internal::Type::BaseModel
@@ -297,13 +298,13 @@ module Increase
297
298
  optional :bookkeeping_account_id, String
298
299
 
299
300
  # @!attribute on_or_after_date
300
- # Filter exported Balances to those on or after this date.
301
+ # Filter exported Balances to those on or after this UTC date.
301
302
  #
302
303
  # @return [Date, nil]
303
304
  optional :on_or_after_date, Date
304
305
 
305
306
  # @!attribute on_or_before_date
306
- # Filter exported Balances to those on or before this date.
307
+ # Filter exported Balances to those on or before this UTC date.
307
308
  #
308
309
  # @return [Date, nil]
309
310
  optional :on_or_before_date, Date
@@ -316,9 +317,9 @@ module Increase
316
317
  # Filter exported Bookkeeping Account Balances to the specified Bookkeeping
317
318
  # Account.
318
319
  #
319
- # @param on_or_after_date [Date] Filter exported Balances to those on or after this date.
320
+ # @param on_or_after_date [Date] Filter exported Balances to those on or after this UTC date.
320
321
  #
321
- # @param on_or_before_date [Date] Filter exported Balances to those on or before this date.
322
+ # @param on_or_before_date [Date] Filter exported Balances to those on or before this UTC date.
322
323
  end
323
324
 
324
325
  class DailyAccountBalanceCsv < Increase::Internal::Type::BaseModel
@@ -329,13 +330,13 @@ module Increase
329
330
  optional :account_id, String
330
331
 
331
332
  # @!attribute on_or_after_date
332
- # Filter exported Balances to those on or after this date.
333
+ # Filter exported Balances to those on or after this UTC date.
333
334
  #
334
335
  # @return [Date, nil]
335
336
  optional :on_or_after_date, Date
336
337
 
337
338
  # @!attribute on_or_before_date
338
- # Filter exported Balances to those on or before this date.
339
+ # Filter exported Balances to those on or before this UTC date.
339
340
  #
340
341
  # @return [Date, nil]
341
342
  optional :on_or_before_date, Date
@@ -346,9 +347,9 @@ module Increase
346
347
  #
347
348
  # @param account_id [String] Filter exported Balances to the specified Account.
348
349
  #
349
- # @param on_or_after_date [Date] Filter exported Balances to those on or after this date.
350
+ # @param on_or_after_date [Date] Filter exported Balances to those on or after this UTC date.
350
351
  #
351
- # @param on_or_before_date [Date] Filter exported Balances to those on or before this date.
352
+ # @param on_or_before_date [Date] Filter exported Balances to those on or before this UTC date.
352
353
  end
353
354
 
354
355
  class EntityCsv < Increase::Internal::Type::BaseModel
@@ -84,6 +84,12 @@ module Increase
84
84
  # @return [String, nil]
85
85
  required :end_to_end_identification, String, nil?: true
86
86
 
87
+ # @!attribute message_identification
88
+ # The FedNow network identification of the transfer.
89
+ #
90
+ # @return [String]
91
+ required :message_identification, String
92
+
87
93
  # @!attribute status
88
94
  # The lifecycle status of the transfer.
89
95
  #
@@ -98,7 +104,7 @@ module Increase
98
104
  required :transaction_id, String, nil?: true
99
105
 
100
106
  # @!attribute transaction_identification
101
- # The FedNow network identification of the transfer.
107
+ # An optional identifier for the transfer set by the sending bank.
102
108
  #
103
109
  # @return [String, nil]
104
110
  required :transaction_identification, String, nil?: true
@@ -124,7 +130,7 @@ module Increase
124
130
  # @return [String, nil]
125
131
  required :unstructured_remittance_information, String, nil?: true
126
132
 
127
- # @!method initialize(id:, account_id:, account_number_id:, amount:, confirmation:, created_at:, creditor_name:, currency:, debtor_account_number:, debtor_name:, debtor_routing_number:, decline:, end_to_end_identification:, status:, transaction_id:, transaction_identification:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
133
+ # @!method initialize(id:, account_id:, account_number_id:, amount:, confirmation:, created_at:, creditor_name:, currency:, debtor_account_number:, debtor_name:, debtor_routing_number:, decline:, end_to_end_identification:, message_identification:, status:, transaction_id:, transaction_identification:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
128
134
  # An Inbound FedNow Transfer is a FedNow transfer initiated outside of Increase to
129
135
  # your account.
130
136
  #
@@ -162,6 +168,8 @@ module Increase
162
168
  # @param end_to_end_identification [String, nil]
163
169
  # A free-form reference string set by the sender, to help identify the transfer.
164
170
  #
171
+ # @param message_identification [String] The FedNow network identification of the transfer.
172
+ #
165
173
  # @param status [Symbol, Increase::Models::InboundFednowTransfer::Status]
166
174
  # The lifecycle status of the transfer.
167
175
  #
@@ -169,7 +177,8 @@ module Increase
169
177
  # The identifier of the Transaction object created when the transfer was
170
178
  # confirmed.
171
179
  #
172
- # @param transaction_identification [String, nil] The FedNow network identification of the transfer.
180
+ # @param transaction_identification [String, nil]
181
+ # An optional identifier for the transfer set by the sending bank.
173
182
  #
174
183
  # @param type [Symbol, Increase::Models::InboundFednowTransfer::Type]
175
184
  # A constant representing the object's type. For this resource it will always be
@@ -35,6 +35,20 @@ module Increase
35
35
  # @return [Time]
36
36
  required :created_at, Time
37
37
 
38
+ # @!attribute expiration_month
39
+ # The month printed on the Physical Card as its expiration, in M format (e.g.,
40
+ # August is 8). This stays the same when the Card is renewed.
41
+ #
42
+ # @return [Integer]
43
+ required :expiration_month, Integer
44
+
45
+ # @!attribute expiration_year
46
+ # The year printed on the Physical Card as its expiration, in YYYY format (e.g.,
47
+ # 2025). This stays the same when the Card is renewed.
48
+ #
49
+ # @return [Integer]
50
+ required :expiration_year, Integer
51
+
38
52
  # @!attribute idempotency_key
39
53
  # The idempotency key you chose for this object. This value is unique across
40
54
  # Increase and is used to ensure that a request is only processed once. Learn more
@@ -68,12 +82,13 @@ module Increase
68
82
  # @return [Symbol, Increase::Models::PhysicalCard::Type]
69
83
  required :type, enum: -> { Increase::PhysicalCard::Type }
70
84
 
71
- # @!method initialize(id:, account_id:, card_id:, cardholder:, created_at:, idempotency_key:, physical_card_profile_id:, shipment:, status:, type:)
85
+ # @!method initialize(id:, account_id:, card_id:, cardholder:, created_at:, expiration_month:, expiration_year:, idempotency_key:, physical_card_profile_id:, shipment:, status:, type:)
72
86
  # Custom physical Visa cards that are shipped to your customers. The artwork is
73
87
  # configurable by a connected [Card Profile](/documentation/api#card-profiles).
74
88
  # The same Card can be used for multiple Physical Cards. Printing cards incurs a
75
89
  # fee. Please contact [support@increase.com](mailto:support@increase.com) for
76
- # pricing!
90
+ # pricing! For more information, see our guide on
91
+ # [physical card artwork](https://increase.com/documentation/card-art-physical-cards#carrier-image).
77
92
  #
78
93
  # @param id [String] The physical card identifier.
79
94
  #
@@ -88,6 +103,14 @@ module Increase
88
103
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
89
104
  # the Physical Card was created.
90
105
  #
106
+ # @param expiration_month [Integer]
107
+ # The month printed on the Physical Card as its expiration, in M format (e.g.,
108
+ # August is 8). This stays the same when the Card is renewed.
109
+ #
110
+ # @param expiration_year [Integer]
111
+ # The year printed on the Physical Card as its expiration, in YYYY format (e.g.,
112
+ # 2025). This stays the same when the Card is renewed.
113
+ #
91
114
  # @param idempotency_key [String, nil]
92
115
  # The idempotency key you chose for this object. This value is unique across
93
116
  # Increase and is used to ensure that a request is only processed once. Learn more
@@ -1666,6 +1666,9 @@ module Increase
1666
1666
  # The user's chargeback was submitted.
1667
1667
  CHARGEBACK_SUBMITTED = :chargeback_submitted
1668
1668
 
1669
+ # The merchant's pre-arbitration submission was accepted by the user or not responded to in time.
1670
+ MERCHANT_PREARBITRATION_ACCEPTED = :merchant_prearbitration_accepted
1671
+
1669
1672
  # The user declined the merchant's pre-arbitration submission.
1670
1673
  MERCHANT_PREARBITRATION_DECLINE_SUBMITTED = :merchant_prearbitration_decline_submitted
1671
1674
 
@@ -1675,6 +1678,9 @@ module Increase
1675
1678
  # The transaction was re-presented by the merchant.
1676
1679
  REPRESENTED = :represented
1677
1680
 
1681
+ # The user's pre-arbitration was accepted by the merchant or not responded to in time.
1682
+ USER_PREARBITRATION_ACCEPTED = :user_prearbitration_accepted
1683
+
1678
1684
  # The user's pre-arbitration was declined by the merchant.
1679
1685
  USER_PREARBITRATION_DECLINE_RECEIVED = :user_prearbitration_decline_received
1680
1686
 
@@ -167,6 +167,8 @@ module Increase
167
167
 
168
168
  CardPushTransferRetrieveParams = Increase::Models::CardPushTransferRetrieveParams
169
169
 
170
+ CardRenewParams = Increase::Models::CardRenewParams
171
+
170
172
  CardRetrieveParams = Increase::Models::CardRetrieveParams
171
173
 
172
174
  CardToken = Increase::Models::CardToken
@@ -5,7 +5,7 @@ module Increase
5
5
  class Cards
6
6
  # Create a Card
7
7
  #
8
- # @overload create(account_id:, authorization_controls: nil, billing_address: nil, cardholder_name: nil, description: nil, digital_wallet: nil, entity_id: nil, request_options: {})
8
+ # @overload create(account_id:, authorization_controls: nil, billing_address: nil, cardholder_name: nil, description: nil, digital_wallet: nil, entity_id: nil, replacement_for: nil, request_options: {})
9
9
  #
10
10
  # @param account_id [String] The Account the card should belong to.
11
11
  #
@@ -31,6 +31,10 @@ module Increase
31
31
  # The Entity the card belongs to. You only need to supply this in rare situations
32
32
  # when the card is not for the Account holder.
33
33
  #
34
+ # @param replacement_for [Increase::Models::CardCreateParams::ReplacementFor]
35
+ # Details about the Card this Card replaces. Supply this when issuing a new Card
36
+ # to take over from an existing one. The replaced Card is not canceled.
37
+ #
34
38
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
35
39
  #
36
40
  # @return [Increase::Models::Card]
@@ -216,6 +220,30 @@ module Increase
216
220
  )
217
221
  end
218
222
 
223
+ # Renew a Card in place. The Card keeps its identifier, card number, PIN, and
224
+ # Physical Cards, and receives a new expiration date in the current month four
225
+ # years from now along with a new verification code, which the Card's details will
226
+ # return afterwards. Physical Cards that have already shipped keep working until
227
+ # they are canceled.
228
+ #
229
+ # @overload renew(card_id, request_options: {})
230
+ #
231
+ # @param card_id [String] The identifier of the Card to renew.
232
+ #
233
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
234
+ #
235
+ # @return [Increase::Models::Card]
236
+ #
237
+ # @see Increase::Models::CardRenewParams
238
+ def renew(card_id, params = {})
239
+ @client.request(
240
+ method: :post,
241
+ path: ["cards/%1$s/renew", card_id],
242
+ model: Increase::Card,
243
+ options: params[:request_options]
244
+ )
245
+ end
246
+
219
247
  # Update a Card's PIN
220
248
  #
221
249
  # @overload update_pin(card_id, pin:, request_options: {})
@@ -64,7 +64,7 @@ module Increase
64
64
  )
65
65
  end
66
66
 
67
- # List Card Profiles
67
+ # List Digital Card Profiles
68
68
  #
69
69
  # @overload list(cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {})
70
70
  #
@@ -122,7 +122,7 @@ module Increase
122
122
  )
123
123
  end
124
124
 
125
- # Clones a Digital Card Profile
125
+ # Clone a Digital Card Profile
126
126
  #
127
127
  # @overload clone_(digital_card_profile_id, app_icon_file_id: nil, background_image_file_id: nil, card_description: nil, contact_email: nil, contact_name: nil, contact_phone: nil, contact_website: nil, description: nil, text_color: nil, request_options: {})
128
128
  #
@@ -38,7 +38,9 @@ module Increase
38
38
  )
39
39
  end
40
40
 
41
- # Retrieve a File
41
+ # Fetch metadata about a File, like its `purpose` and MIME type. To access the
42
+ # content, use the [Get File contents](/documentation/api/files#get-file-contents)
43
+ # API.
42
44
  #
43
45
  # @overload retrieve(file_id, request_options: {})
44
46
  #
@@ -3,7 +3,7 @@
3
3
  module Increase
4
4
  module Resources
5
5
  class IntrafiAccountEnrollments
6
- # Enroll an account in the IntraFi deposit sweep network
6
+ # Enroll an Account in the IntraFi deposit sweep network
7
7
  #
8
8
  # @overload create(account_id:, email_address:, request_options: {})
9
9
  #
@@ -88,7 +88,7 @@ module Increase
88
88
  )
89
89
  end
90
90
 
91
- # Unenroll an account from IntraFi
91
+ # Unenroll an Account from IntraFi
92
92
  #
93
93
  # @overload unenroll(intrafi_account_enrollment_id, request_options: {})
94
94
  #
@@ -43,7 +43,7 @@ module Increase
43
43
  )
44
44
  end
45
45
 
46
- # Retrieve a Card Profile
46
+ # Retrieve a Physical Card Profile
47
47
  #
48
48
  # @overload retrieve(physical_card_profile_id, request_options: {})
49
49
  #
@@ -3,7 +3,7 @@
3
3
  module Increase
4
4
  module Resources
5
5
  class SupplementalDocuments
6
- # Create a supplemental document for an Entity
6
+ # Create a Supplemental Document
7
7
  #
8
8
  # @overload create(entity_id:, file_id:, request_options: {})
9
9
  #
@@ -27,7 +27,7 @@ module Increase
27
27
  )
28
28
  end
29
29
 
30
- # List Entity Supplemental Document Submissions
30
+ # List Supplemental Documents
31
31
  #
32
32
  # @overload list(entity_id:, cursor: nil, idempotency_key: nil, limit: nil, request_options: {})
33
33
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.357.0"
4
+ VERSION = "1.359.0"
5
5
  end
data/lib/increase.rb CHANGED
@@ -118,6 +118,7 @@ require_relative "increase/models/card_push_transfer_cancel_params"
118
118
  require_relative "increase/models/card_push_transfer_create_params"
119
119
  require_relative "increase/models/card_push_transfer_list_params"
120
120
  require_relative "increase/models/card_push_transfer_retrieve_params"
121
+ require_relative "increase/models/card_renew_params"
121
122
  require_relative "increase/models/card_retrieve_params"
122
123
  require_relative "increase/models/card_token"
123
124
  require_relative "increase/models/card_token_capabilities"
@@ -44,15 +44,17 @@ module Increase
44
44
 
45
45
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the end
46
46
  # of the period the Account Statement covers. The statement covers all
47
- # transactions up to, but not including this timestamp. Usually, this is the
48
- # beginning of the following month.
47
+ # transactions up to, but not including this timestamp. Statement periods are
48
+ # measured in UTC days, so this is usually midnight UTC on the first day of the
49
+ # following month.
49
50
  sig { returns(Time) }
50
51
  attr_accessor :statement_period_end
51
52
 
52
53
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the
53
54
  # start of the period the Account Statement covers. This is the first moment of
54
- # the statement period and is inclusive. Usually, this is the beginning of the
55
- # month this statement covers.
55
+ # the statement period and is inclusive. Statement periods are measured in UTC
56
+ # days, so this is usually midnight UTC on the first day of the month this
57
+ # statement covers.
56
58
  sig { returns(Time) }
57
59
  attr_accessor :statement_period_start
58
60
 
@@ -96,13 +98,15 @@ module Increase
96
98
  starting_balance:,
97
99
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the end
98
100
  # of the period the Account Statement covers. The statement covers all
99
- # transactions up to, but not including this timestamp. Usually, this is the
100
- # beginning of the following month.
101
+ # transactions up to, but not including this timestamp. Statement periods are
102
+ # measured in UTC days, so this is usually midnight UTC on the first day of the
103
+ # following month.
101
104
  statement_period_end:,
102
105
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the
103
106
  # start of the period the Account Statement covers. This is the first moment of
104
- # the statement period and is inclusive. Usually, this is the beginning of the
105
- # month this statement covers.
107
+ # the statement period and is inclusive. Statement periods are measured in UTC
108
+ # days, so this is usually midnight UTC on the first day of the month this
109
+ # statement covers.
106
110
  statement_period_start:,
107
111
  # A constant representing the object's type. For this resource it will always be
108
112
  # `account_statement`.