increase 1.280.0 → 1.283.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: 6dbd3fcca406ab4234d71d7cff0d32c39d2be3cccf051fe07e08b4d94f983120
4
- data.tar.gz: 88352dcc24a5a4c84e3fa92a8f5636afd03f25b438924cf482a63e8e51314275
3
+ metadata.gz: 2110e3804134972e058b719b1fab3c711ed3e4455f47d08d4ea597f8691bdf0a
4
+ data.tar.gz: 5c554134cceefc2f75e43660ccc0ff07600507f57bd0b6768e3c1943143ca4cb
5
5
  SHA512:
6
- metadata.gz: 7702a98b17b0c13a5b177eb45c5c1c678d6a0b51ded490f4335bf58f9ec22619c2c2d517c2c6dfa92e194920db6ae5187acc5d9ade70253a53668948add7c0b3
7
- data.tar.gz: c8e2c921d3afc36fef4a1026c0f903335babfdfa0dc78e4fd5992bf16964152e27e85935ee28f23adedf811a860486cb94b624e358f09405fa415f220c44a3a7
6
+ metadata.gz: 995e6d16257b2a502b3961d23fbe739be660d3332986cd19aa226b02b854e7797c1f0254d473367e652a2fdb0eca6da62df49c35f826f82545f11f2d1b3b088f
7
+ data.tar.gz: 8f0dd1ed79524f1b5367b96a039b7ed66318817bb65a774b08cd9a9bc85ad9fdfc1abc13e74ea52554ed6ad98759aa6356f630a46bcea8b90bed7c53abe2bce8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.283.0 (2026-04-06)
4
+
5
+ Full Changelog: [v1.282.0...v1.283.0](https://github.com/Increase/increase-ruby/compare/v1.282.0...v1.283.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([82f051d](https://github.com/Increase/increase-ruby/commit/82f051d9aac6de95564d6fbfaf5b8ca0a194c21c))
10
+
11
+ ## 1.282.0 (2026-04-04)
12
+
13
+ Full Changelog: [v1.281.0...v1.282.0](https://github.com/Increase/increase-ruby/compare/v1.281.0...v1.282.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([808c1b8](https://github.com/Increase/increase-ruby/commit/808c1b82f3bc17f099dec9fc7869f8e6086b2304))
18
+
19
+ ## 1.281.0 (2026-04-03)
20
+
21
+ Full Changelog: [v1.280.0...v1.281.0](https://github.com/Increase/increase-ruby/compare/v1.280.0...v1.281.0)
22
+
23
+ ### Features
24
+
25
+ * **api:** api update ([68c9e62](https://github.com/Increase/increase-ruby/commit/68c9e62055a344cae28bfe067828337842833211))
26
+
3
27
  ## 1.280.0 (2026-04-03)
4
28
 
5
29
  Full Changelog: [v1.279.0...v1.280.0](https://github.com/Increase/increase-ruby/compare/v1.279.0...v1.280.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.280.0"
18
+ gem "increase", "~> 1.283.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -73,20 +73,6 @@ module Increase
73
73
  # @return [String, nil]
74
74
  required :informational_entity_id, String, nil?: true
75
75
 
76
- # @!attribute interest_accrued
77
- # The interest accrued but not yet paid, expressed as a string containing a
78
- # floating-point value.
79
- #
80
- # @return [String]
81
- required :interest_accrued, String
82
-
83
- # @!attribute interest_accrued_at
84
- # The latest [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which
85
- # interest was accrued.
86
- #
87
- # @return [Date, nil]
88
- required :interest_accrued_at, Date, nil?: true
89
-
90
76
  # @!attribute interest_rate
91
77
  # The interest rate currently being earned on the account, as a string containing
92
78
  # a decimal number. For example, a 1% interest rate would be represented as
@@ -127,7 +113,7 @@ module Increase
127
113
  # @return [Symbol, Increase::Models::Account::Type]
128
114
  required :type, enum: -> { Increase::Account::Type }
129
115
 
130
- # @!method initialize(id:, account_revenue_rate:, bank:, closed_at:, created_at:, currency:, entity_id:, funding:, idempotency_key:, informational_entity_id:, interest_accrued:, interest_accrued_at:, interest_rate:, loan:, name:, program_id:, status:, type:)
116
+ # @!method initialize(id:, account_revenue_rate:, bank:, closed_at:, created_at:, currency:, entity_id:, funding:, idempotency_key:, informational_entity_id:, interest_rate:, loan:, name:, program_id:, status:, type:)
131
117
  # Some parameter documentations has been truncated, see
132
118
  # {Increase::Models::Account} for more details.
133
119
  #
@@ -154,10 +140,6 @@ module Increase
154
140
  #
155
141
  # @param informational_entity_id [String, nil] The identifier of an Entity that, while not owning the Account, is associated wi
156
142
  #
157
- # @param interest_accrued [String] The interest accrued but not yet paid, expressed as a string containing a floati
158
- #
159
- # @param interest_accrued_at [Date, nil] The latest [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which inte
160
- #
161
143
  # @param interest_rate [String] The interest rate currently being earned on the account, as a string containing
162
144
  #
163
145
  # @param loan [Increase::Models::Account::Loan, nil] The Account's loan-related information, if the Account is a loan account.
@@ -133,14 +133,6 @@ module Increase
133
133
 
134
134
  # @see Increase::Models::Card#authorization_controls
135
135
  class AuthorizationControls < Increase::Internal::Type::BaseModel
136
- # @!attribute maximum_authorization_count
137
- # Limits the number of authorizations that can be approved on this card.
138
- #
139
- # @return [Increase::Models::Card::AuthorizationControls::MaximumAuthorizationCount, nil]
140
- required :maximum_authorization_count,
141
- -> { Increase::Card::AuthorizationControls::MaximumAuthorizationCount },
142
- nil?: true
143
-
144
136
  # @!attribute merchant_acceptor_identifier
145
137
  # Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations
146
138
  # on this card.
@@ -166,51 +158,25 @@ module Increase
166
158
  # @return [Increase::Models::Card::AuthorizationControls::MerchantCountry, nil]
167
159
  required :merchant_country, -> { Increase::Card::AuthorizationControls::MerchantCountry }, nil?: true
168
160
 
169
- # @!attribute spending_limits
170
- # Spending limits for this card. The most restrictive limit is applied if multiple
171
- # limits match.
161
+ # @!attribute usage
162
+ # Controls how many times this card can be used.
172
163
  #
173
- # @return [Array<Increase::Models::Card::AuthorizationControls::SpendingLimit>, nil]
174
- required :spending_limits,
175
- -> {
176
- Increase::Internal::Type::ArrayOf[Increase::Card::AuthorizationControls::SpendingLimit]
177
- },
178
- nil?: true
164
+ # @return [Increase::Models::Card::AuthorizationControls::Usage, nil]
165
+ required :usage, -> { Increase::Card::AuthorizationControls::Usage }, nil?: true
179
166
 
180
- # @!method initialize(maximum_authorization_count:, merchant_acceptor_identifier:, merchant_category_code:, merchant_country:, spending_limits:)
167
+ # @!method initialize(merchant_acceptor_identifier:, merchant_category_code:, merchant_country:, usage:)
181
168
  # Some parameter documentations has been truncated, see
182
169
  # {Increase::Models::Card::AuthorizationControls} for more details.
183
170
  #
184
171
  # Controls that restrict how this card can be used.
185
172
  #
186
- # @param maximum_authorization_count [Increase::Models::Card::AuthorizationControls::MaximumAuthorizationCount, nil] Limits the number of authorizations that can be approved on this card.
187
- #
188
173
  # @param merchant_acceptor_identifier [Increase::Models::Card::AuthorizationControls::MerchantAcceptorIdentifier, nil] Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations
189
174
  #
190
175
  # @param merchant_category_code [Increase::Models::Card::AuthorizationControls::MerchantCategoryCode, nil] Restricts which Merchant Category Codes are allowed or blocked for authorization
191
176
  #
192
177
  # @param merchant_country [Increase::Models::Card::AuthorizationControls::MerchantCountry, nil] Restricts which merchant countries are allowed or blocked for authorizations on
193
178
  #
194
- # @param spending_limits [Array<Increase::Models::Card::AuthorizationControls::SpendingLimit>, nil] Spending limits for this card. The most restrictive limit is applied if multiple
195
-
196
- # @see Increase::Models::Card::AuthorizationControls#maximum_authorization_count
197
- class MaximumAuthorizationCount < Increase::Internal::Type::BaseModel
198
- # @!attribute all_time
199
- # The maximum number of authorizations that can be approved on this card over its
200
- # lifetime.
201
- #
202
- # @return [Integer, nil]
203
- required :all_time, Integer, nil?: true
204
-
205
- # @!method initialize(all_time:)
206
- # Some parameter documentations has been truncated, see
207
- # {Increase::Models::Card::AuthorizationControls::MaximumAuthorizationCount} for
208
- # more details.
209
- #
210
- # Limits the number of authorizations that can be approved on this card.
211
- #
212
- # @param all_time [Integer, nil] The maximum number of authorizations that can be approved on this card over its
213
- end
179
+ # @param usage [Increase::Models::Card::AuthorizationControls::Usage, nil] Controls how many times this card can be used.
214
180
 
215
181
  # @see Increase::Models::Card::AuthorizationControls#merchant_acceptor_identifier
216
182
  class MerchantAcceptorIdentifier < Increase::Internal::Type::BaseModel
@@ -371,74 +337,204 @@ module Increase
371
337
  end
372
338
  end
373
339
 
374
- class SpendingLimit < Increase::Internal::Type::BaseModel
375
- # @!attribute interval
376
- # The interval at which the spending limit is enforced.
340
+ # @see Increase::Models::Card::AuthorizationControls#usage
341
+ class Usage < Increase::Internal::Type::BaseModel
342
+ # @!attribute category
343
+ # Whether the card is for a single use or multiple uses.
377
344
  #
378
- # @return [Symbol, Increase::Models::Card::AuthorizationControls::SpendingLimit::Interval]
379
- required :interval, enum: -> { Increase::Card::AuthorizationControls::SpendingLimit::Interval }
345
+ # @return [Symbol, Increase::Models::Card::AuthorizationControls::Usage::Category]
346
+ required :category, enum: -> { Increase::Card::AuthorizationControls::Usage::Category }
380
347
 
381
- # @!attribute merchant_category_codes
382
- # The Merchant Category Codes (MCCs) this spending limit applies to. If not set,
383
- # the limit applies to all transactions.
348
+ # @!attribute multi_use
349
+ # Controls for multi-use cards. Required if and only if `category` is `multi_use`.
384
350
  #
385
- # @return [Array<Increase::Models::Card::AuthorizationControls::SpendingLimit::MerchantCategoryCode>, nil]
386
- required :merchant_category_codes,
387
- -> {
388
- Increase::Internal::Type::ArrayOf[Increase::Card::AuthorizationControls::SpendingLimit::MerchantCategoryCode]
389
- },
390
- nil?: true
351
+ # @return [Increase::Models::Card::AuthorizationControls::Usage::MultiUse, nil]
352
+ required :multi_use, -> { Increase::Card::AuthorizationControls::Usage::MultiUse }, nil?: true
391
353
 
392
- # @!attribute settlement_amount
393
- # The maximum settlement amount permitted in the given interval.
354
+ # @!attribute single_use
355
+ # Controls for single-use cards. Required if and only if `category` is
356
+ # `single_use`.
394
357
  #
395
- # @return [Integer]
396
- required :settlement_amount, Integer
358
+ # @return [Increase::Models::Card::AuthorizationControls::Usage::SingleUse, nil]
359
+ required :single_use, -> { Increase::Card::AuthorizationControls::Usage::SingleUse }, nil?: true
397
360
 
398
- # @!method initialize(interval:, merchant_category_codes:, settlement_amount:)
361
+ # @!method initialize(category:, multi_use:, single_use:)
399
362
  # Some parameter documentations has been truncated, see
400
- # {Increase::Models::Card::AuthorizationControls::SpendingLimit} for more details.
363
+ # {Increase::Models::Card::AuthorizationControls::Usage} for more details.
364
+ #
365
+ # Controls how many times this card can be used.
401
366
  #
402
- # @param interval [Symbol, Increase::Models::Card::AuthorizationControls::SpendingLimit::Interval] The interval at which the spending limit is enforced.
367
+ # @param category [Symbol, Increase::Models::Card::AuthorizationControls::Usage::Category] Whether the card is for a single use or multiple uses.
403
368
  #
404
- # @param merchant_category_codes [Array<Increase::Models::Card::AuthorizationControls::SpendingLimit::MerchantCategoryCode>, nil] The Merchant Category Codes (MCCs) this spending limit applies to. If not set, t
369
+ # @param multi_use [Increase::Models::Card::AuthorizationControls::Usage::MultiUse, nil] Controls for multi-use cards. Required if and only if `category` is `multi_use`.
405
370
  #
406
- # @param settlement_amount [Integer] The maximum settlement amount permitted in the given interval.
371
+ # @param single_use [Increase::Models::Card::AuthorizationControls::Usage::SingleUse, nil] Controls for single-use cards. Required if and only if `category` is `single_use
407
372
 
408
- # The interval at which the spending limit is enforced.
373
+ # Whether the card is for a single use or multiple uses.
409
374
  #
410
- # @see Increase::Models::Card::AuthorizationControls::SpendingLimit#interval
411
- module Interval
375
+ # @see Increase::Models::Card::AuthorizationControls::Usage#category
376
+ module Category
412
377
  extend Increase::Internal::Type::Enum
413
378
 
414
- # The spending limit applies over the lifetime of the card.
415
- ALL_TIME = :all_time
379
+ # The card can only be used for a single authorization.
380
+ SINGLE_USE = :single_use
416
381
 
417
- # The spending limit applies per transaction.
418
- PER_TRANSACTION = :per_transaction
419
-
420
- # The spending limit applies per day. Resets nightly at midnight UTC.
421
- PER_DAY = :per_day
422
-
423
- # The spending limit applies per week. Resets weekly on Mondays at midnight UTC.
424
- PER_WEEK = :per_week
425
-
426
- # The spending limit applies per month. Resets on the first of the month, midnight UTC.
427
- PER_MONTH = :per_month
382
+ # The card can be used for multiple authorizations.
383
+ MULTI_USE = :multi_use
428
384
 
429
385
  # @!method self.values
430
386
  # @return [Array<Symbol>]
431
387
  end
432
388
 
433
- class MerchantCategoryCode < Increase::Internal::Type::BaseModel
434
- # @!attribute code
435
- # The Merchant Category Code (MCC).
389
+ # @see Increase::Models::Card::AuthorizationControls::Usage#multi_use
390
+ class MultiUse < Increase::Internal::Type::BaseModel
391
+ # @!attribute spending_limits
392
+ # Spending limits for this card. The most restrictive limit applies if multiple
393
+ # limits match.
436
394
  #
437
- # @return [String]
438
- required :code, String
395
+ # @return [Array<Increase::Models::Card::AuthorizationControls::Usage::MultiUse::SpendingLimit>, nil]
396
+ required :spending_limits,
397
+ -> {
398
+ Increase::Internal::Type::ArrayOf[Increase::Card::AuthorizationControls::Usage::MultiUse::SpendingLimit]
399
+ },
400
+ nil?: true
401
+
402
+ # @!method initialize(spending_limits:)
403
+ # Some parameter documentations has been truncated, see
404
+ # {Increase::Models::Card::AuthorizationControls::Usage::MultiUse} for more
405
+ # details.
406
+ #
407
+ # Controls for multi-use cards. Required if and only if `category` is `multi_use`.
408
+ #
409
+ # @param spending_limits [Array<Increase::Models::Card::AuthorizationControls::Usage::MultiUse::SpendingLimit>, nil] Spending limits for this card. The most restrictive limit applies if multiple li
410
+
411
+ class SpendingLimit < Increase::Internal::Type::BaseModel
412
+ # @!attribute interval
413
+ # The interval at which the spending limit is enforced.
414
+ #
415
+ # @return [Symbol, Increase::Models::Card::AuthorizationControls::Usage::MultiUse::SpendingLimit::Interval]
416
+ required :interval,
417
+ enum: -> { Increase::Card::AuthorizationControls::Usage::MultiUse::SpendingLimit::Interval }
418
+
419
+ # @!attribute merchant_category_codes
420
+ # The Merchant Category Codes (MCCs) this spending limit applies to. If not set,
421
+ # the limit applies to all transactions.
422
+ #
423
+ # @return [Array<Increase::Models::Card::AuthorizationControls::Usage::MultiUse::SpendingLimit::MerchantCategoryCode>, nil]
424
+ required :merchant_category_codes,
425
+ -> {
426
+ Increase::Internal::Type::ArrayOf[Increase::Card::AuthorizationControls::Usage::MultiUse::SpendingLimit::MerchantCategoryCode]
427
+ },
428
+ nil?: true
429
+
430
+ # @!attribute settlement_amount
431
+ # The maximum settlement amount permitted in the given interval.
432
+ #
433
+ # @return [Integer]
434
+ required :settlement_amount, Integer
435
+
436
+ # @!method initialize(interval:, merchant_category_codes:, settlement_amount:)
437
+ # Some parameter documentations has been truncated, see
438
+ # {Increase::Models::Card::AuthorizationControls::Usage::MultiUse::SpendingLimit}
439
+ # for more details.
440
+ #
441
+ # @param interval [Symbol, Increase::Models::Card::AuthorizationControls::Usage::MultiUse::SpendingLimit::Interval] The interval at which the spending limit is enforced.
442
+ #
443
+ # @param merchant_category_codes [Array<Increase::Models::Card::AuthorizationControls::Usage::MultiUse::SpendingLimit::MerchantCategoryCode>, nil] The Merchant Category Codes (MCCs) this spending limit applies to. If not set, t
444
+ #
445
+ # @param settlement_amount [Integer] The maximum settlement amount permitted in the given interval.
446
+
447
+ # The interval at which the spending limit is enforced.
448
+ #
449
+ # @see Increase::Models::Card::AuthorizationControls::Usage::MultiUse::SpendingLimit#interval
450
+ module Interval
451
+ extend Increase::Internal::Type::Enum
452
+
453
+ # The spending limit applies over the lifetime of the card.
454
+ ALL_TIME = :all_time
455
+
456
+ # The spending limit applies per transaction.
457
+ PER_TRANSACTION = :per_transaction
458
+
459
+ # The spending limit applies per day. Resets nightly at midnight UTC.
460
+ PER_DAY = :per_day
461
+
462
+ # The spending limit applies per week. Resets weekly on Mondays at midnight UTC.
463
+ PER_WEEK = :per_week
464
+
465
+ # The spending limit applies per month. Resets on the first of the month, midnight UTC.
466
+ PER_MONTH = :per_month
467
+
468
+ # @!method self.values
469
+ # @return [Array<Symbol>]
470
+ end
471
+
472
+ class MerchantCategoryCode < Increase::Internal::Type::BaseModel
473
+ # @!attribute code
474
+ # The Merchant Category Code (MCC).
475
+ #
476
+ # @return [String]
477
+ required :code, String
478
+
479
+ # @!method initialize(code:)
480
+ # @param code [String] The Merchant Category Code (MCC).
481
+ end
482
+ end
483
+ end
439
484
 
440
- # @!method initialize(code:)
441
- # @param code [String] The Merchant Category Code (MCC).
485
+ # @see Increase::Models::Card::AuthorizationControls::Usage#single_use
486
+ class SingleUse < Increase::Internal::Type::BaseModel
487
+ # @!attribute settlement_amount
488
+ # The settlement amount constraint for this single-use card.
489
+ #
490
+ # @return [Increase::Models::Card::AuthorizationControls::Usage::SingleUse::SettlementAmount]
491
+ required :settlement_amount,
492
+ -> { Increase::Card::AuthorizationControls::Usage::SingleUse::SettlementAmount }
493
+
494
+ # @!method initialize(settlement_amount:)
495
+ # Controls for single-use cards. Required if and only if `category` is
496
+ # `single_use`.
497
+ #
498
+ # @param settlement_amount [Increase::Models::Card::AuthorizationControls::Usage::SingleUse::SettlementAmount] The settlement amount constraint for this single-use card.
499
+
500
+ # @see Increase::Models::Card::AuthorizationControls::Usage::SingleUse#settlement_amount
501
+ class SettlementAmount < Increase::Internal::Type::BaseModel
502
+ # @!attribute comparison
503
+ # The operator used to compare the settlement amount.
504
+ #
505
+ # @return [Symbol, Increase::Models::Card::AuthorizationControls::Usage::SingleUse::SettlementAmount::Comparison]
506
+ required :comparison,
507
+ enum: -> { Increase::Card::AuthorizationControls::Usage::SingleUse::SettlementAmount::Comparison }
508
+
509
+ # @!attribute value
510
+ # The settlement amount value.
511
+ #
512
+ # @return [Integer]
513
+ required :value, Integer
514
+
515
+ # @!method initialize(comparison:, value:)
516
+ # The settlement amount constraint for this single-use card.
517
+ #
518
+ # @param comparison [Symbol, Increase::Models::Card::AuthorizationControls::Usage::SingleUse::SettlementAmount::Comparison] The operator used to compare the settlement amount.
519
+ #
520
+ # @param value [Integer] The settlement amount value.
521
+
522
+ # The operator used to compare the settlement amount.
523
+ #
524
+ # @see Increase::Models::Card::AuthorizationControls::Usage::SingleUse::SettlementAmount#comparison
525
+ module Comparison
526
+ extend Increase::Internal::Type::Enum
527
+
528
+ # The settlement amount must be exactly the specified value.
529
+ EQUALS = :equals
530
+
531
+ # The settlement amount must be less than or equal to the specified value.
532
+ LESS_THAN_OR_EQUALS = :less_than_or_equals
533
+
534
+ # @!method self.values
535
+ # @return [Array<Symbol>]
536
+ end
537
+ end
442
538
  end
443
539
  end
444
540
  end