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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f01d0ab2d4c4e7d3224af1f12d5a47d8038890b0f4248c24c62e5450b6431d9d
4
- data.tar.gz: 35131164b9241ae6e520e93d7f2aa0d846bd3f06647fe848176086a73d10cd5b
3
+ metadata.gz: 34e50ff2a76f94e5d65e0a5c80802b01fb099caec60bcfe108176c7893576397
4
+ data.tar.gz: 4f4dee6f3aab64576e00f4122a84e1232012f3de18aad9cb38176c24eb2ad6de
5
5
  SHA512:
6
- metadata.gz: 67f1ac07446b1090ce316d5837dd05cde561a9d5e0667d401cf1cb09db06bdc7df41bcd8aea5a32a62f50742b12dae6519b0b8b8c7cfc8f6f194a7e44b8c0217
7
- data.tar.gz: 22ad7e0c82f0293d2c5986e9930db31791c99df74fcf68b4a41cddb9ca7b2b1c26e29fd0aa6fbad6815767a6f30b9871628d83bc4b5421f467d4fa096412a457
6
+ metadata.gz: c47f988216462e9d2b6552120fa1a87aa5fca777080ba6b595cc1c2d63d1ab82e3f22ae0636e772e671b752d60b7df8ed9bc97c2e54bafa36a3c306fadcd9f1b
7
+ data.tar.gz: 3175e2228cefc4e5fd51d8c53bdbdc7592d3d02a0076131d330a11000cf83a6346ef35bb9e068d3631a11d80ca5255d5dca9a8aebf7e94211743a3d3c905b614
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.357.0"
18
+ gem "increase", "~> 1.359.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -50,8 +50,9 @@ module Increase
50
50
  # @!attribute statement_period_end
51
51
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the end
52
52
  # of the period the Account Statement covers. The statement covers all
53
- # transactions up to, but not including this timestamp. Usually, this is the
54
- # beginning of the following month.
53
+ # transactions up to, but not including this timestamp. Statement periods are
54
+ # measured in UTC days, so this is usually midnight UTC on the first day of the
55
+ # following month.
55
56
  #
56
57
  # @return [Time]
57
58
  required :statement_period_end, Time
@@ -59,8 +60,9 @@ module Increase
59
60
  # @!attribute statement_period_start
60
61
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the
61
62
  # start of the period the Account Statement covers. This is the first moment of
62
- # the statement period and is inclusive. Usually, this is the beginning of the
63
- # month this statement covers.
63
+ # the statement period and is inclusive. Statement periods are measured in UTC
64
+ # days, so this is usually midnight UTC on the first day of the month this
65
+ # statement covers.
64
66
  #
65
67
  # @return [Time]
66
68
  required :statement_period_start, Time
@@ -96,14 +98,16 @@ module Increase
96
98
  # @param statement_period_end [Time]
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
  #
102
105
  # @param statement_period_start [Time]
103
106
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the
104
107
  # start of the period the Account Statement covers. This is the first moment of
105
- # the statement period and is inclusive. Usually, this is the beginning of the
106
- # month this statement covers.
108
+ # the statement period and is inclusive. Statement periods are measured in UTC
109
+ # days, so this is usually midnight UTC on the first day of the month this
110
+ # statement covers.
107
111
  #
108
112
  # @param type [Symbol, Increase::Models::AccountStatement::Type]
109
113
  # A constant representing the object's type. For this resource it will always be
@@ -94,6 +94,19 @@ module Increase
94
94
  # @return [String]
95
95
  required :last4, String
96
96
 
97
+ # @!attribute renewals
98
+ # Completed renewals of this Card, sorted by `renewed_at` in ascending order. Each
99
+ # renewal records the expiration date the Card had before it was renewed.
100
+ #
101
+ # @return [Array<Increase::Models::Card::Renewal>]
102
+ required :renewals, -> { Increase::Internal::Type::ArrayOf[Increase::Card::Renewal] }
103
+
104
+ # @!attribute replacement_for
105
+ # Details about the Card this Card replaces, if it was created as a replacement.
106
+ #
107
+ # @return [Increase::Models::Card::ReplacementFor, nil]
108
+ required :replacement_for, -> { Increase::Card::ReplacementFor }, nil?: true
109
+
97
110
  # @!attribute status
98
111
  # This indicates if payments can be made with the card.
99
112
  #
@@ -107,12 +120,13 @@ module Increase
107
120
  # @return [Symbol, Increase::Models::Card::Type]
108
121
  required :type, enum: -> { Increase::Card::Type }
109
122
 
110
- # @!method initialize(id:, account_id:, authorization_controls:, billing_address:, bin:, cardholder_name:, created_at:, description:, digital_wallet:, entity_id:, expiration_month:, expiration_year:, idempotency_key:, last4:, status:, type:)
123
+ # @!method initialize(id:, account_id:, authorization_controls:, billing_address:, bin:, cardholder_name:, created_at:, description:, digital_wallet:, entity_id:, expiration_month:, expiration_year:, idempotency_key:, last4:, renewals:, replacement_for:, status:, type:)
111
124
  # Cards may operate on credit, debit, or prepaid BINs. They’ll immediately work
112
125
  # for online purchases after you create them. All cards work on a good funds
113
126
  # model, and maintain a maximum limit of 100% of the Account’s available balance
114
127
  # at the time of transaction. Funds are deducted from the Account upon transaction
115
- # settlement.
128
+ # settlement. For more information, see our guide on
129
+ # [managing cards](https://increase.com/documentation/managing-cards).
116
130
  #
117
131
  # @param id [String] The card identifier.
118
132
  #
@@ -153,6 +167,13 @@ module Increase
153
167
  #
154
168
  # @param last4 [String] The last 4 digits of the Card's Primary Account Number.
155
169
  #
170
+ # @param renewals [Array<Increase::Models::Card::Renewal>]
171
+ # Completed renewals of this Card, sorted by `renewed_at` in ascending order. Each
172
+ # renewal records the expiration date the Card had before it was renewed.
173
+ #
174
+ # @param replacement_for [Increase::Models::Card::ReplacementFor, nil]
175
+ # Details about the Card this Card replaces, if it was created as a replacement.
176
+ #
156
177
  # @param status [Symbol, Increase::Models::Card::Status]
157
178
  # This indicates if payments can be made with the card.
158
179
  #
@@ -673,7 +694,8 @@ module Increase
673
694
 
674
695
  # @!attribute phone
675
696
  # A phone number that can be used to verify the cardholder via one-time passcode
676
- # over SMS.
697
+ # over SMS. Returned in [E.164](https://en.wikipedia.org/wiki/E.164) format, for
698
+ # example `+14155550123`.
677
699
  #
678
700
  # @return [String, nil]
679
701
  required :phone, String, nil?: true
@@ -693,7 +715,93 @@ module Increase
693
715
  #
694
716
  # @param phone [String, nil]
695
717
  # A phone number that can be used to verify the cardholder via one-time passcode
696
- # over SMS.
718
+ # over SMS. Returned in [E.164](https://en.wikipedia.org/wiki/E.164) format, for
719
+ # example `+14155550123`.
720
+ end
721
+
722
+ class Renewal < Increase::Internal::Type::BaseModel
723
+ # @!attribute previous_expiration_month
724
+ # The month the Card expired in before this renewal, in M format (e.g., August is
725
+ # 8).
726
+ #
727
+ # @return [Integer]
728
+ required :previous_expiration_month, Integer
729
+
730
+ # @!attribute previous_expiration_year
731
+ # The year the Card expired in before this renewal, in YYYY format (e.g., 2025).
732
+ #
733
+ # @return [Integer]
734
+ required :previous_expiration_year, Integer
735
+
736
+ # @!attribute renewed_at
737
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
738
+ # the Card was renewed.
739
+ #
740
+ # @return [Time]
741
+ required :renewed_at, Time
742
+
743
+ # @!method initialize(previous_expiration_month:, previous_expiration_year:, renewed_at:)
744
+ # @param previous_expiration_month [Integer]
745
+ # The month the Card expired in before this renewal, in M format (e.g., August is
746
+ # 8).
747
+ #
748
+ # @param previous_expiration_year [Integer]
749
+ # The year the Card expired in before this renewal, in YYYY format (e.g., 2025).
750
+ #
751
+ # @param renewed_at [Time]
752
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
753
+ # the Card was renewed.
754
+ end
755
+
756
+ # @see Increase::Models::Card#replacement_for
757
+ class ReplacementFor < Increase::Internal::Type::BaseModel
758
+ # @!attribute card_id
759
+ # The identifier of the replaced Card.
760
+ #
761
+ # @return [String]
762
+ required :card_id, String
763
+
764
+ # @!attribute reason
765
+ # Why the Card was replaced. Only `expiring` notifies merchants that have the
766
+ # replaced Card on file of the new Card and moves Digital Wallet Tokens on the
767
+ # replaced Card that have not been deactivated to the new Card.
768
+ #
769
+ # @return [Symbol, Increase::Models::Card::ReplacementFor::Reason]
770
+ required :reason, enum: -> { Increase::Card::ReplacementFor::Reason }
771
+
772
+ # @!method initialize(card_id:, reason:)
773
+ # Details about the Card this Card replaces, if it was created as a replacement.
774
+ #
775
+ # @param card_id [String] The identifier of the replaced Card.
776
+ #
777
+ # @param reason [Symbol, Increase::Models::Card::ReplacementFor::Reason]
778
+ # Why the Card was replaced. Only `expiring` notifies merchants that have the
779
+ # replaced Card on file of the new Card and moves Digital Wallet Tokens on the
780
+ # replaced Card that have not been deactivated to the new Card.
781
+
782
+ # Why the Card was replaced. Only `expiring` notifies merchants that have the
783
+ # replaced Card on file of the new Card and moves Digital Wallet Tokens on the
784
+ # replaced Card that have not been deactivated to the new Card.
785
+ #
786
+ # @see Increase::Models::Card::ReplacementFor#reason
787
+ module Reason
788
+ extend Increase::Internal::Type::Enum
789
+
790
+ # The replaced card is expiring. Merchants with the replaced card on file will be notified of the new card, and its digital wallet tokens that have not been deactivated will move to the new card.
791
+ EXPIRING = :expiring
792
+
793
+ # The replaced card was lost. Merchants will not be notified of the new card.
794
+ LOST = :lost
795
+
796
+ # The replaced card was stolen. Merchants will not be notified of the new card.
797
+ STOLEN = :stolen
798
+
799
+ # The replaced card was used fraudulently. Merchants will not be notified of the new card.
800
+ FRAUD = :fraud
801
+
802
+ # @!method self.values
803
+ # @return [Array<Symbol>]
804
+ end
697
805
  end
698
806
 
699
807
  # This indicates if payments can be made with the card.
@@ -55,7 +55,14 @@ module Increase
55
55
  # @return [String, nil]
56
56
  optional :entity_id, String
57
57
 
58
- # @!method initialize(account_id:, authorization_controls: nil, billing_address: nil, cardholder_name: nil, description: nil, digital_wallet: nil, entity_id: nil, request_options: {})
58
+ # @!attribute replacement_for
59
+ # Details about the Card this Card replaces. Supply this when issuing a new Card
60
+ # to take over from an existing one. The replaced Card is not canceled.
61
+ #
62
+ # @return [Increase::Models::CardCreateParams::ReplacementFor, nil]
63
+ optional :replacement_for, -> { Increase::CardCreateParams::ReplacementFor }
64
+
65
+ # @!method initialize(account_id:, authorization_controls: nil, billing_address: nil, cardholder_name: nil, description: nil, digital_wallet: nil, entity_id: nil, replacement_for: nil, request_options: {})
59
66
  # @param account_id [String] The Account the card should belong to.
60
67
  #
61
68
  # @param authorization_controls [Increase::Models::CardCreateParams::AuthorizationControls]
@@ -80,6 +87,10 @@ module Increase
80
87
  # The Entity the card belongs to. You only need to supply this in rare situations
81
88
  # when the card is not for the Account holder.
82
89
  #
90
+ # @param replacement_for [Increase::Models::CardCreateParams::ReplacementFor]
91
+ # Details about the Card this Card replaces. Supply this when issuing a new Card
92
+ # to take over from an existing one. The replaced Card is not canceled.
93
+ #
83
94
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
84
95
 
85
96
  class AuthorizationControls < Increase::Internal::Type::BaseModel
@@ -576,7 +587,8 @@ module Increase
576
587
 
577
588
  # @!attribute phone
578
589
  # A phone number that can be used to contact and verify the cardholder via
579
- # one-time passcode over SMS.
590
+ # one-time passcode over SMS. Accepts formats like `+14155550123`, `4155550123`,
591
+ # `415-555-0123`, or `(415) 555-0123`.
580
592
  #
581
593
  # @return [String, nil]
582
594
  optional :phone, String
@@ -596,7 +608,59 @@ module Increase
596
608
  #
597
609
  # @param phone [String]
598
610
  # A phone number that can be used to contact and verify the cardholder via
599
- # one-time passcode over SMS.
611
+ # one-time passcode over SMS. Accepts formats like `+14155550123`, `4155550123`,
612
+ # `415-555-0123`, or `(415) 555-0123`.
613
+ end
614
+
615
+ class ReplacementFor < Increase::Internal::Type::BaseModel
616
+ # @!attribute card_id
617
+ # The identifier of the Card being replaced.
618
+ #
619
+ # @return [String]
620
+ required :card_id, String
621
+
622
+ # @!attribute reason
623
+ # Why the Card is being replaced. Only `expiring` notifies merchants that have the
624
+ # replaced Card on file of the new Card and moves Digital Wallet Tokens on the
625
+ # replaced Card that have not been deactivated to the new Card.
626
+ #
627
+ # @return [Symbol, Increase::Models::CardCreateParams::ReplacementFor::Reason]
628
+ required :reason, enum: -> { Increase::CardCreateParams::ReplacementFor::Reason }
629
+
630
+ # @!method initialize(card_id:, reason:)
631
+ # Details about the Card this Card replaces. Supply this when issuing a new Card
632
+ # to take over from an existing one. The replaced Card is not canceled.
633
+ #
634
+ # @param card_id [String] The identifier of the Card being replaced.
635
+ #
636
+ # @param reason [Symbol, Increase::Models::CardCreateParams::ReplacementFor::Reason]
637
+ # Why the Card is being replaced. Only `expiring` notifies merchants that have the
638
+ # replaced Card on file of the new Card and moves Digital Wallet Tokens on the
639
+ # replaced Card that have not been deactivated to the new Card.
640
+
641
+ # Why the Card is being replaced. Only `expiring` notifies merchants that have the
642
+ # replaced Card on file of the new Card and moves Digital Wallet Tokens on the
643
+ # replaced Card that have not been deactivated to the new Card.
644
+ #
645
+ # @see Increase::Models::CardCreateParams::ReplacementFor#reason
646
+ module Reason
647
+ extend Increase::Internal::Type::Enum
648
+
649
+ # The replaced card is expiring. Merchants with the replaced card on file will be notified of the new card, and its digital wallet tokens that have not been deactivated will move to the new card.
650
+ EXPIRING = :expiring
651
+
652
+ # The replaced card was lost. Merchants will not be notified of the new card.
653
+ LOST = :lost
654
+
655
+ # The replaced card was stolen. Merchants will not be notified of the new card.
656
+ STOLEN = :stolen
657
+
658
+ # The replaced card was used fraudulently. Merchants will not be notified of the new card.
659
+ FRAUD = :fraud
660
+
661
+ # @!method self.values
662
+ # @return [Array<Symbol>]
663
+ end
600
664
  end
601
665
  end
602
666
  end
@@ -115,7 +115,9 @@ module Increase
115
115
 
116
116
  # @!method initialize(id:, account_id:, amount:, card_id:, created_at:, disputed_transaction_id:, idempotency_key:, loss:, network:, rejection:, status:, type:, user_submission_required_by:, visa:, win:, withdrawal:)
117
117
  # If unauthorized activity occurs on a card, you can create a Card Dispute and
118
- # we'll work with the card networks to return the funds if appropriate.
118
+ # we'll work with the card networks to return the funds if appropriate. For more
119
+ # information, see our guide on
120
+ # [card disputes](https://increase.com/documentation/card-disputes).
119
121
  #
120
122
  # @param id [String] The Card Dispute identifier.
121
123
  #
@@ -62,7 +62,9 @@ module Increase
62
62
 
63
63
  # @!method initialize(id:, account_id:, card_id:, created_at:, digital_wallet_token_id:, elements:, physical_card_id:, state:, type:)
64
64
  # Card Payments group together interactions related to a single card payment, such
65
- # as an authorization and its corresponding settlement.
65
+ # as an authorization and its corresponding settlement. For more information, see
66
+ # our guide on the
67
+ # [Card Payment lifecycle](https://increase.com/documentation/card-payment-lifecycle).
66
68
  #
67
69
  # @param id [String] The Card Payment identifier.
68
70
  #
@@ -935,6 +935,9 @@ module Increase
935
935
  # AOA
936
936
  AOA = :AOA
937
937
 
938
+ # XCD
939
+ XCD = :XCD
940
+
938
941
  # ARS
939
942
  ARS = :ARS
940
943
 
@@ -968,6 +971,9 @@ module Increase
968
971
  # BZD
969
972
  BZD = :BZD
970
973
 
974
+ # XOF
975
+ XOF = :XOF
976
+
971
977
  # BMD
972
978
  BMD = :BMD
973
979
 
@@ -998,9 +1004,6 @@ module Increase
998
1004
  # BND
999
1005
  BND = :BND
1000
1006
 
1001
- # BGN
1002
- BGN = :BGN
1003
-
1004
1007
  # BIF
1005
1008
  BIF = :BIF
1006
1009
 
@@ -1010,6 +1013,9 @@ module Increase
1010
1013
  # KHR
1011
1014
  KHR = :KHR
1012
1015
 
1016
+ # XAF
1017
+ XAF = :XAF
1018
+
1013
1019
  # CAD
1014
1020
  CAD = :CAD
1015
1021
 
@@ -1046,6 +1052,9 @@ module Increase
1046
1052
  # CUP
1047
1053
  CUP = :CUP
1048
1054
 
1055
+ # XCG
1056
+ XCG = :XCG
1057
+
1049
1058
  # CZK
1050
1059
  CZK = :CZK
1051
1060
 
@@ -1079,6 +1088,9 @@ module Increase
1079
1088
  # FJD
1080
1089
  FJD = :FJD
1081
1090
 
1091
+ # XPF
1092
+ XPF = :XPF
1093
+
1082
1094
  # GMD
1083
1095
  GMD = :GMD
1084
1096
 
@@ -1397,6 +1409,9 @@ module Increase
1397
1409
  # ZWG
1398
1410
  ZWG = :ZWG
1399
1411
 
1412
+ # BGN
1413
+ BGN = :BGN
1414
+
1400
1415
  # @!method self.values
1401
1416
  # @return [Array<Symbol>]
1402
1417
  end
@@ -349,6 +349,9 @@ module Increase
349
349
  # AOA
350
350
  AOA = :AOA
351
351
 
352
+ # XCD
353
+ XCD = :XCD
354
+
352
355
  # ARS
353
356
  ARS = :ARS
354
357
 
@@ -382,6 +385,9 @@ module Increase
382
385
  # BZD
383
386
  BZD = :BZD
384
387
 
388
+ # XOF
389
+ XOF = :XOF
390
+
385
391
  # BMD
386
392
  BMD = :BMD
387
393
 
@@ -412,9 +418,6 @@ module Increase
412
418
  # BND
413
419
  BND = :BND
414
420
 
415
- # BGN
416
- BGN = :BGN
417
-
418
421
  # BIF
419
422
  BIF = :BIF
420
423
 
@@ -424,6 +427,9 @@ module Increase
424
427
  # KHR
425
428
  KHR = :KHR
426
429
 
430
+ # XAF
431
+ XAF = :XAF
432
+
427
433
  # CAD
428
434
  CAD = :CAD
429
435
 
@@ -460,6 +466,9 @@ module Increase
460
466
  # CUP
461
467
  CUP = :CUP
462
468
 
469
+ # XCG
470
+ XCG = :XCG
471
+
463
472
  # CZK
464
473
  CZK = :CZK
465
474
 
@@ -493,6 +502,9 @@ module Increase
493
502
  # FJD
494
503
  FJD = :FJD
495
504
 
505
+ # XPF
506
+ XPF = :XPF
507
+
496
508
  # GMD
497
509
  GMD = :GMD
498
510
 
@@ -811,6 +823,9 @@ module Increase
811
823
  # ZWG
812
824
  ZWG = :ZWG
813
825
 
826
+ # BGN
827
+ BGN = :BGN
828
+
814
829
  # @!method self.values
815
830
  # @return [Array<Symbol>]
816
831
  end
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Models
5
+ # @see Increase::Resources::Cards#renew
6
+ class CardRenewParams < Increase::Internal::Type::BaseModel
7
+ extend Increase::Internal::Type::RequestParameters::Converter
8
+ include Increase::Internal::Type::RequestParameters
9
+
10
+ # @!attribute card_id
11
+ # The identifier of the Card to renew.
12
+ #
13
+ # @return [String]
14
+ required :card_id, String
15
+
16
+ # @!method initialize(card_id:, request_options: {})
17
+ # @param card_id [String] The identifier of the Card to renew.
18
+ #
19
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
20
+ end
21
+ end
22
+ end
@@ -540,7 +540,8 @@ module Increase
540
540
 
541
541
  # @!attribute phone
542
542
  # A phone number that can be used to verify the cardholder via one-time passcode
543
- # over SMS.
543
+ # over SMS. Accepts formats like `+14155550123`, `4155550123`, `415-555-0123`, or
544
+ # `(415) 555-0123`.
544
545
  #
545
546
  # @return [String, nil]
546
547
  optional :phone, String
@@ -558,7 +559,8 @@ module Increase
558
559
  #
559
560
  # @param phone [String]
560
561
  # A phone number that can be used to verify the cardholder via one-time passcode
561
- # over SMS.
562
+ # over SMS. Accepts formats like `+14155550123`, `4155550123`, `415-555-0123`, or
563
+ # `(415) 555-0123`.
562
564
  end
563
565
 
564
566
  # The status to update the Card with.
@@ -228,7 +228,8 @@ module Increase
228
228
  # @!attribute industry_code
229
229
  # The North American Industry Classification System (NAICS) code for the
230
230
  # corporation's primary line of business. This is a number, like `5132` for
231
- # `Software Publishers`. A full list of classification codes is available
231
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
232
+ # classification codes is available
232
233
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
233
234
  #
234
235
  # @return [String, nil]
@@ -280,7 +281,8 @@ module Increase
280
281
  # @param industry_code [String]
281
282
  # The North American Industry Classification System (NAICS) code for the
282
283
  # corporation's primary line of business. This is a number, like `5132` for
283
- # `Software Publishers`. A full list of classification codes is available
284
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
285
+ # classification codes is available
284
286
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
285
287
  #
286
288
  # @param website [String]
@@ -1749,7 +1751,8 @@ module Increase
1749
1751
  # @!attribute industry_code
1750
1752
  # The North American Industry Classification System (NAICS) code for the sole
1751
1753
  # proprietorship's primary line of business. This is a number, like `5132` for
1752
- # `Software Publishers`. A full list of classification codes is available
1754
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
1755
+ # classification codes is available
1753
1756
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
1754
1757
  #
1755
1758
  # @return [String, nil]
@@ -1792,7 +1795,8 @@ module Increase
1792
1795
  # @param industry_code [String]
1793
1796
  # The North American Industry Classification System (NAICS) code for the sole
1794
1797
  # proprietorship's primary line of business. This is a number, like `5132` for
1795
- # `Software Publishers`. A full list of classification codes is available
1798
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
1799
+ # classification codes is available
1796
1800
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
1797
1801
  #
1798
1802
  # @param tax_identifier [String]
@@ -147,7 +147,8 @@ module Increase
147
147
  # @!attribute industry_code
148
148
  # The North American Industry Classification System (NAICS) code for the
149
149
  # corporation's primary line of business. This is a number, like `5132` for
150
- # `Software Publishers`. A full list of classification codes is available
150
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
151
+ # classification codes is available
151
152
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
152
153
  #
153
154
  # @return [String, nil]
@@ -192,7 +193,8 @@ module Increase
192
193
  # @param industry_code [String]
193
194
  # The North American Industry Classification System (NAICS) code for the
194
195
  # corporation's primary line of business. This is a number, like `5132` for
195
- # `Software Publishers`. A full list of classification codes is available
196
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
197
+ # classification codes is available
196
198
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
197
199
  #
198
200
  # @param legal_identifier [Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier]
@@ -791,7 +793,8 @@ module Increase
791
793
  # @!attribute industry_code
792
794
  # The North American Industry Classification System (NAICS) code for the sole
793
795
  # proprietorship's primary line of business. This is a number, like `5132` for
794
- # `Software Publishers`. A full list of classification codes is available
796
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
797
+ # classification codes is available
795
798
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
796
799
  #
797
800
  # @return [String, nil]
@@ -832,7 +835,8 @@ module Increase
832
835
  # @param industry_code [String]
833
836
  # The North American Industry Classification System (NAICS) code for the sole
834
837
  # proprietorship's primary line of business. This is a number, like `5132` for
835
- # `Software Publishers`. A full list of classification codes is available
838
+ # `Software Publishers`. Increase uses the 2022 version of NAICS. A full list of
839
+ # classification codes is available
836
840
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
837
841
  #
838
842
  # @param sole_proprietor [Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor]