increase 1.363.0 → 1.365.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 (115) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/client.rb +8 -0
  4. data/lib/increase/models/account_number.rb +51 -81
  5. data/lib/increase/models/account_number_create_params.rb +41 -75
  6. data/lib/increase/models/account_number_list_params.rb +39 -39
  7. data/lib/increase/models/account_number_update_params.rb +48 -79
  8. data/lib/increase/models/ach_transfer.rb +9 -2
  9. data/lib/increase/models/ach_transfer_create_params.rb +31 -50
  10. data/lib/increase/models/card_create_params.rb +10 -3
  11. data/lib/increase/models/card_payment.rb +6 -0
  12. data/lib/increase/models/card_update_params.rb +21 -11
  13. data/lib/increase/models/checkbook.rb +352 -0
  14. data/lib/increase/models/checkbook_check.rb +100 -0
  15. data/lib/increase/models/checkbook_check_list_params.rb +61 -0
  16. data/lib/increase/models/checkbook_check_retrieve_params.rb +22 -0
  17. data/lib/increase/models/checkbook_check_stop_params.rb +22 -0
  18. data/lib/increase/models/checkbook_create_params.rb +111 -0
  19. data/lib/increase/models/checkbook_list_params.rb +104 -0
  20. data/lib/increase/models/checkbook_retrieve_params.rb +22 -0
  21. data/lib/increase/models/checkbook_stop_params.rb +22 -0
  22. data/lib/increase/models/declined_transaction.rb +10 -1
  23. data/lib/increase/models/entity.rb +1 -65
  24. data/lib/increase/models/entity_create_params.rb +1 -65
  25. data/lib/increase/models/entity_update_params.rb +1 -57
  26. data/lib/increase/models/fednow_transfer.rb +10 -1
  27. data/lib/increase/models/inbound_ach_transfer.rb +6 -6
  28. data/lib/increase/models/inbound_check_deposit.rb +12 -1
  29. data/lib/increase/models/real_time_decision.rb +65 -1
  30. data/lib/increase/models/simulations/checkbook_mail_params.rb +24 -0
  31. data/lib/increase/models/transaction.rb +24 -2
  32. data/lib/increase/models.rb +18 -0
  33. data/lib/increase/resources/account_numbers.rb +19 -16
  34. data/lib/increase/resources/ach_transfers.rb +14 -22
  35. data/lib/increase/resources/cards.rb +7 -2
  36. data/lib/increase/resources/checkbook_checks.rb +90 -0
  37. data/lib/increase/resources/checkbooks.rb +127 -0
  38. data/lib/increase/resources/entities.rb +2 -12
  39. data/lib/increase/resources/simulations/checkbooks.rb +38 -0
  40. data/lib/increase/resources/simulations.rb +4 -0
  41. data/lib/increase/version.rb +1 -1
  42. data/lib/increase.rb +13 -0
  43. data/rbi/increase/client.rbi +6 -0
  44. data/rbi/increase/models/account_number.rbi +86 -173
  45. data/rbi/increase/models/account_number_create_params.rbi +87 -165
  46. data/rbi/increase/models/account_number_list_params.rbi +106 -105
  47. data/rbi/increase/models/account_number_update_params.rbi +105 -190
  48. data/rbi/increase/models/ach_transfer.rbi +8 -2
  49. data/rbi/increase/models/ach_transfer_create_params.rbi +30 -54
  50. data/rbi/increase/models/card_create_params.rbi +9 -3
  51. data/rbi/increase/models/card_payment.rbi +14 -0
  52. data/rbi/increase/models/card_update_params.rbi +26 -18
  53. data/rbi/increase/models/checkbook.rbi +507 -0
  54. data/rbi/increase/models/checkbook_check.rbi +142 -0
  55. data/rbi/increase/models/checkbook_check_list_params.rbi +96 -0
  56. data/rbi/increase/models/checkbook_check_retrieve_params.rbi +46 -0
  57. data/rbi/increase/models/checkbook_check_stop_params.rbi +43 -0
  58. data/rbi/increase/models/checkbook_create_params.rbi +178 -0
  59. data/rbi/increase/models/checkbook_list_params.rbi +198 -0
  60. data/rbi/increase/models/checkbook_retrieve_params.rbi +40 -0
  61. data/rbi/increase/models/checkbook_stop_params.rbi +40 -0
  62. data/rbi/increase/models/declined_transaction.rbi +8 -0
  63. data/rbi/increase/models/entity.rbi +0 -97
  64. data/rbi/increase/models/entity_create_params.rbi +0 -119
  65. data/rbi/increase/models/entity_update_params.rbi +0 -108
  66. data/rbi/increase/models/fednow_transfer.rbi +8 -0
  67. data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
  68. data/rbi/increase/models/inbound_check_deposit.rbi +10 -0
  69. data/rbi/increase/models/real_time_decision.rbi +134 -3
  70. data/rbi/increase/models/simulations/checkbook_mail_params.rbi +45 -0
  71. data/rbi/increase/models/transaction.rbi +30 -0
  72. data/rbi/increase/models.rbi +18 -0
  73. data/rbi/increase/resources/account_numbers.rbi +24 -19
  74. data/rbi/increase/resources/ach_transfers.rbi +14 -22
  75. data/rbi/increase/resources/cards.rbi +6 -2
  76. data/rbi/increase/resources/checkbook_checks.rbi +69 -0
  77. data/rbi/increase/resources/checkbooks.rbi +96 -0
  78. data/rbi/increase/resources/entities.rbi +0 -11
  79. data/rbi/increase/resources/simulations/checkbooks.rbi +30 -0
  80. data/rbi/increase/resources/simulations.rbi +3 -0
  81. data/sig/increase/client.rbs +4 -0
  82. data/sig/increase/models/account_number.rbs +34 -66
  83. data/sig/increase/models/account_number_create_params.rbs +30 -64
  84. data/sig/increase/models/account_number_list_params.rbs +44 -44
  85. data/sig/increase/models/account_number_update_params.rbs +39 -77
  86. data/sig/increase/models/ach_transfer_create_params.rbs +9 -18
  87. data/sig/increase/models/card_payment.rbs +8 -0
  88. data/sig/increase/models/card_update_params.rbs +7 -11
  89. data/sig/increase/models/checkbook.rbs +272 -0
  90. data/sig/increase/models/checkbook_check.rbs +76 -0
  91. data/sig/increase/models/checkbook_check_list_params.rbs +56 -0
  92. data/sig/increase/models/checkbook_check_retrieve_params.rbs +24 -0
  93. data/sig/increase/models/checkbook_check_stop_params.rbs +24 -0
  94. data/sig/increase/models/checkbook_create_params.rbs +90 -0
  95. data/sig/increase/models/checkbook_list_params.rbs +97 -0
  96. data/sig/increase/models/checkbook_retrieve_params.rbs +23 -0
  97. data/sig/increase/models/checkbook_stop_params.rbs +23 -0
  98. data/sig/increase/models/declined_transaction.rbs +5 -0
  99. data/sig/increase/models/entity.rbs +0 -46
  100. data/sig/increase/models/entity_create_params.rbs +0 -55
  101. data/sig/increase/models/entity_update_params.rbs +0 -48
  102. data/sig/increase/models/fednow_transfer.rbs +5 -0
  103. data/sig/increase/models/inbound_check_deposit.rbs +5 -0
  104. data/sig/increase/models/real_time_decision.rbs +69 -3
  105. data/sig/increase/models/simulations/checkbook_mail_params.rbs +25 -0
  106. data/sig/increase/models/transaction.rbs +22 -1
  107. data/sig/increase/models.rbs +18 -0
  108. data/sig/increase/resources/account_numbers.rbs +5 -5
  109. data/sig/increase/resources/ach_transfers.rbs +2 -3
  110. data/sig/increase/resources/checkbook_checks.rbs +26 -0
  111. data/sig/increase/resources/checkbooks.rbs +33 -0
  112. data/sig/increase/resources/entities.rbs +0 -3
  113. data/sig/increase/resources/simulations/checkbooks.rbs +14 -0
  114. data/sig/increase/resources/simulations.rbs +2 -0
  115. metadata +41 -2
@@ -229,7 +229,10 @@ module Increase
229
229
  end
230
230
  attr_accessor :standard_entry_class_code
231
231
 
232
- # The descriptor that will show on the recipient's bank statement.
232
+ # A description you chose to give the transfer. If `individual_name` and
233
+ # `company_name` were not explicitly set, the `statement_descriptor` will be sent
234
+ # in those fields to the receiving bank to help the customer recognize the
235
+ # transfer.
233
236
  sig { returns(T.nilable(String)) }
234
237
  attr_accessor :statement_descriptor
235
238
 
@@ -403,7 +406,10 @@ module Increase
403
406
  # [Standard Entry Class (SEC) code](/documentation/ach-standard-entry-class-codes)
404
407
  # to use for the transfer.
405
408
  standard_entry_class_code:,
406
- # The descriptor that will show on the recipient's bank statement.
409
+ # A description you chose to give the transfer. If `individual_name` and
410
+ # `company_name` were not explicitly set, the `statement_descriptor` will be sent
411
+ # in those fields to the receiving bank to help the customer recognize the
412
+ # transfer.
407
413
  statement_descriptor:,
408
414
  # The lifecycle status of the transfer.
409
415
  status:,
@@ -26,14 +26,21 @@ module Increase
26
26
  sig { returns(Integer) }
27
27
  attr_accessor :amount
28
28
 
29
- # A description you choose to give the transfer. This will be saved with the
30
- # transfer details, displayed in the dashboard, and returned by the API. If
31
- # `individual_name` and `company_name` are not explicitly set by this API, the
32
- # `statement_descriptor` will be sent in those fields to the receiving bank to
33
- # help the customer recognize the transfer. You are highly encouraged to pass
34
- # `individual_name` and `company_name` instead of relying on this fallback.
29
+ # The name by which the recipient knows the counterparty of this transaction. If
30
+ # you're processing payments on behalf of another party, use their name, not your
31
+ # own, so that it's more likely the recipient understands the context of the
32
+ # payment. This value is usually displayed to the recipient on their bank
33
+ # statement. We recommend setting this on every transfer; if you do not, we fall
34
+ # back to the `statement_descriptor`.
35
+ sig { returns(String) }
36
+ attr_accessor :company_name
37
+
38
+ # The name of the transfer recipient. This value is informational and generally
39
+ # not verified by the recipient's bank. This value is usually displayed to the
40
+ # recipient on their bank statement. We recommend setting this on every transfer;
41
+ # if you do not, we fall back to the `statement_descriptor`.
35
42
  sig { returns(String) }
36
- attr_accessor :statement_descriptor
43
+ attr_accessor :individual_name
37
44
 
38
45
  # The receiver's account number. For credit transfers (transfers with a positive
39
46
  # `amount`), this is the account that funds will be sent to. For debit transfers
@@ -88,18 +95,6 @@ module Increase
88
95
  sig { params(company_entry_description: String).void }
89
96
  attr_writer :company_entry_description
90
97
 
91
- # The name by which the recipient knows the counterparty of this transaction. If
92
- # you're processing payments on behalf of another party, use their name, not your
93
- # own, so that it's more likely the recipient understands the context of the
94
- # payment. This value is usually displayed to the recipient on their bank
95
- # statement. We recommend setting this on every transfer; if you do not, we fall
96
- # back to the `statement_descriptor`.
97
- sig { returns(T.nilable(String)) }
98
- attr_reader :company_name
99
-
100
- sig { params(company_name: String).void }
101
- attr_writer :company_name
102
-
103
98
  # The type of entity that owns the receiver's account.
104
99
  sig do
105
100
  returns(
@@ -151,16 +146,6 @@ module Increase
151
146
  sig { params(individual_id: String).void }
152
147
  attr_writer :individual_id
153
148
 
154
- # The name of the transfer recipient. This value is informational and generally
155
- # not verified by the recipient's bank. This value is usually displayed to the
156
- # recipient on their bank statement. We recommend setting this on every transfer;
157
- # if you do not, we fall back to the `statement_descriptor`.
158
- sig { returns(T.nilable(String)) }
159
- attr_reader :individual_name
160
-
161
- sig { params(individual_name: String).void }
162
- attr_writer :individual_name
163
-
164
149
  # Configuration for how the effective date of the transfer will be set. This
165
150
  # determines same-day vs future-dated settlement timing. If not set, defaults to a
166
151
  # `settlement_schedule` of `same_day`. If set, exactly one of the child attributes
@@ -220,19 +205,18 @@ module Increase
220
205
  params(
221
206
  account_id: String,
222
207
  amount: Integer,
223
- statement_descriptor: String,
208
+ company_name: String,
209
+ individual_name: String,
224
210
  account_number: String,
225
211
  addenda: Increase::ACHTransferCreateParams::Addenda::OrHash,
226
212
  company_descriptive_date: String,
227
213
  company_discretionary_data: String,
228
214
  company_entry_description: String,
229
- company_name: String,
230
215
  destination_account_holder:
231
216
  Increase::ACHTransferCreateParams::DestinationAccountHolder::OrSymbol,
232
217
  external_account_id: String,
233
218
  funding: Increase::ACHTransferCreateParams::Funding::OrSymbol,
234
219
  individual_id: String,
235
- individual_name: String,
236
220
  preferred_effective_date:
237
221
  Increase::ACHTransferCreateParams::PreferredEffectiveDate::OrHash,
238
222
  require_approval: T::Boolean,
@@ -254,13 +238,18 @@ module Increase
254
238
  # into Increase. Debit transfers
255
239
  # [might result in a hold before funds are available](/documentation/sending-ach-debit-transfers).
256
240
  amount:,
257
- # A description you choose to give the transfer. This will be saved with the
258
- # transfer details, displayed in the dashboard, and returned by the API. If
259
- # `individual_name` and `company_name` are not explicitly set by this API, the
260
- # `statement_descriptor` will be sent in those fields to the receiving bank to
261
- # help the customer recognize the transfer. You are highly encouraged to pass
262
- # `individual_name` and `company_name` instead of relying on this fallback.
263
- statement_descriptor:,
241
+ # The name by which the recipient knows the counterparty of this transaction. If
242
+ # you're processing payments on behalf of another party, use their name, not your
243
+ # own, so that it's more likely the recipient understands the context of the
244
+ # payment. This value is usually displayed to the recipient on their bank
245
+ # statement. We recommend setting this on every transfer; if you do not, we fall
246
+ # back to the `statement_descriptor`.
247
+ company_name:,
248
+ # The name of the transfer recipient. This value is informational and generally
249
+ # not verified by the recipient's bank. This value is usually displayed to the
250
+ # recipient on their bank statement. We recommend setting this on every transfer;
251
+ # if you do not, we fall back to the `statement_descriptor`.
252
+ individual_name:,
264
253
  # The receiver's account number. For credit transfers (transfers with a positive
265
254
  # `amount`), this is the account that funds will be sent to. For debit transfers
266
255
  # (transfers with a negative `amount`), this is the account that funds will be
@@ -287,13 +276,6 @@ module Increase
287
276
  # code and use case. For example, some use cases require constants like
288
277
  # `ACCTVERIFY`, `PURCHASE`, `PAYROLL`, or `REVERSAL`.
289
278
  company_entry_description: nil,
290
- # The name by which the recipient knows the counterparty of this transaction. If
291
- # you're processing payments on behalf of another party, use their name, not your
292
- # own, so that it's more likely the recipient understands the context of the
293
- # payment. This value is usually displayed to the recipient on their bank
294
- # statement. We recommend setting this on every transfer; if you do not, we fall
295
- # back to the `statement_descriptor`.
296
- company_name: nil,
297
279
  # The type of entity that owns the receiver's account.
298
280
  destination_account_holder: nil,
299
281
  # The ID of an External Account to initiate a transfer to. If this parameter is
@@ -308,11 +290,6 @@ module Increase
308
290
  # unset. For the specific case of person-to-person credits with the WEB standard
309
291
  # entry class code, this must include the name of the payer.
310
292
  individual_id: nil,
311
- # The name of the transfer recipient. This value is informational and generally
312
- # not verified by the recipient's bank. This value is usually displayed to the
313
- # recipient on their bank statement. We recommend setting this on every transfer;
314
- # if you do not, we fall back to the `statement_descriptor`.
315
- individual_name: nil,
316
293
  # Configuration for how the effective date of the transfer will be set. This
317
294
  # determines same-day vs future-dated settlement timing. If not set, defaults to a
318
295
  # `settlement_schedule` of `same_day`. If set, exactly one of the child attributes
@@ -337,19 +314,18 @@ module Increase
337
314
  {
338
315
  account_id: String,
339
316
  amount: Integer,
340
- statement_descriptor: String,
317
+ company_name: String,
318
+ individual_name: String,
341
319
  account_number: String,
342
320
  addenda: Increase::ACHTransferCreateParams::Addenda,
343
321
  company_descriptive_date: String,
344
322
  company_discretionary_data: String,
345
323
  company_entry_description: String,
346
- company_name: String,
347
324
  destination_account_holder:
348
325
  Increase::ACHTransferCreateParams::DestinationAccountHolder::OrSymbol,
349
326
  external_account_id: String,
350
327
  funding: Increase::ACHTransferCreateParams::Funding::OrSymbol,
351
328
  individual_id: String,
352
- individual_name: String,
353
329
  preferred_effective_date:
354
330
  Increase::ACHTransferCreateParams::PreferredEffectiveDate,
355
331
  require_approval: T::Boolean,
@@ -29,7 +29,9 @@ module Increase
29
29
  end
30
30
  attr_writer :authorization_controls
31
31
 
32
- # The card's billing address.
32
+ # The card's billing address. This is used in card authorizations to
33
+ # [validate the address provided by the acquirer](/documentation/address-verification-system-codes-and-overrides).
34
+ # If not provided, the address associated with the account's entity will be used.
33
35
  sig { returns(T.nilable(Increase::CardCreateParams::BillingAddress)) }
34
36
  attr_reader :billing_address
35
37
 
@@ -113,7 +115,9 @@ module Increase
113
115
  account_id:,
114
116
  # Controls that restrict how this card can be used.
115
117
  authorization_controls: nil,
116
- # The card's billing address.
118
+ # The card's billing address. This is used in card authorizations to
119
+ # [validate the address provided by the acquirer](/documentation/address-verification-system-codes-and-overrides).
120
+ # If not provided, the address associated with the account's entity will be used.
117
121
  billing_address: nil,
118
122
  # The name of the cardholder. Used to respond to Account Name Inquiry requests
119
123
  # from acquirers in Card Validations.
@@ -1253,7 +1257,9 @@ module Increase
1253
1257
  sig { params(line2: String).void }
1254
1258
  attr_writer :line2
1255
1259
 
1256
- # The card's billing address.
1260
+ # The card's billing address. This is used in card authorizations to
1261
+ # [validate the address provided by the acquirer](/documentation/address-verification-system-codes-and-overrides).
1262
+ # If not provided, the address associated with the account's entity will be used.
1257
1263
  sig do
1258
1264
  params(
1259
1265
  city: String,
@@ -18362,6 +18362,13 @@ module Increase
18362
18362
  Increase::CardPayment::Element::CardRefund::PurchaseDetails::Fleet::FuelType::TaggedSymbol
18363
18363
  )
18364
18364
 
18365
+ # Diesel 1 off-road non-taxable
18366
+ DIESEL_1_OFF_ROAD_NON_TAXABLE =
18367
+ T.let(
18368
+ :diesel_1_off_road_non_taxable,
18369
+ Increase::CardPayment::Element::CardRefund::PurchaseDetails::Fleet::FuelType::TaggedSymbol
18370
+ )
18371
+
18365
18372
  # Renewable diesel R95 or greater off-road non-taxable
18366
18373
  RENEWABLE_DIESEL_R95_OR_GREATER_OFF_ROAD_NON_TAXABLE =
18367
18374
  T.let(
@@ -23209,6 +23216,13 @@ module Increase
23209
23216
  Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Fleet::FuelType::TaggedSymbol
23210
23217
  )
23211
23218
 
23219
+ # Diesel 1 off-road non-taxable
23220
+ DIESEL_1_OFF_ROAD_NON_TAXABLE =
23221
+ T.let(
23222
+ :diesel_1_off_road_non_taxable,
23223
+ Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Fleet::FuelType::TaggedSymbol
23224
+ )
23225
+
23212
23226
  # Renewable diesel R95 or greater off-road non-taxable
23213
23227
  RENEWABLE_DIESEL_R95_OR_GREATER_OFF_ROAD_NON_TAXABLE =
23214
23228
  T.let(
@@ -29,7 +29,9 @@ module Increase
29
29
  end
30
30
  attr_writer :authorization_controls
31
31
 
32
- # The card's updated billing address.
32
+ # The card's billing address. This is used in card authorizations to
33
+ # [validate the address provided by the acquirer](/documentation/address-verification-system-codes-and-overrides).
34
+ # If not provided, the address associated with the account's entity will be used.
33
35
  sig { returns(T.nilable(Increase::CardUpdateParams::BillingAddress)) }
34
36
  attr_reader :billing_address
35
37
 
@@ -93,7 +95,9 @@ module Increase
93
95
  card_id:,
94
96
  # Controls that restrict how this card can be used.
95
97
  authorization_controls: nil,
96
- # The card's updated billing address.
98
+ # The card's billing address. This is used in card authorizations to
99
+ # [validate the address provided by the acquirer](/documentation/address-verification-system-codes-and-overrides).
100
+ # If not provided, the address associated with the account's entity will be used.
97
101
  billing_address: nil,
98
102
  # The description you choose to give the card.
99
103
  description: nil,
@@ -1226,7 +1230,9 @@ module Increase
1226
1230
  sig { params(line2: String).void }
1227
1231
  attr_writer :line2
1228
1232
 
1229
- # The card's updated billing address.
1233
+ # The card's billing address. This is used in card authorizations to
1234
+ # [validate the address provided by the acquirer](/documentation/address-verification-system-codes-and-overrides).
1235
+ # If not provided, the address associated with the account's entity will be used.
1230
1236
  sig do
1231
1237
  params(
1232
1238
  city: String,
@@ -1282,21 +1288,17 @@ module Increase
1282
1288
  attr_writer :digital_card_profile_id
1283
1289
 
1284
1290
  # An email address that can be used to verify the cardholder via one-time passcode
1285
- # over email.
1291
+ # over email. Send `null` to clear the email address. Omit this field to leave it
1292
+ # unchanged.
1286
1293
  sig { returns(T.nilable(String)) }
1287
- attr_reader :email
1288
-
1289
- sig { params(email: String).void }
1290
- attr_writer :email
1294
+ attr_accessor :email
1291
1295
 
1292
1296
  # A phone number that can be used to verify the cardholder via one-time passcode
1293
1297
  # over SMS. Accepts formats like `+14155550123`, `4155550123`, `415-555-0123`, or
1294
- # `(415) 555-0123`.
1298
+ # `(415) 555-0123`. Send `null` to clear the phone number. Omit this field to
1299
+ # leave it unchanged.
1295
1300
  sig { returns(T.nilable(String)) }
1296
- attr_reader :phone
1297
-
1298
- sig { params(phone: String).void }
1299
- attr_writer :phone
1301
+ attr_accessor :phone
1300
1302
 
1301
1303
  # The contact information used in the two-factor steps for digital wallet card
1302
1304
  # creation. At least one field must be present to complete the digital wallet
@@ -1304,26 +1306,32 @@ module Increase
1304
1306
  sig do
1305
1307
  params(
1306
1308
  digital_card_profile_id: String,
1307
- email: String,
1308
- phone: String
1309
+ email: T.nilable(String),
1310
+ phone: T.nilable(String)
1309
1311
  ).returns(T.attached_class)
1310
1312
  end
1311
1313
  def self.new(
1312
1314
  # The digital card profile assigned to this digital card.
1313
1315
  digital_card_profile_id: nil,
1314
1316
  # An email address that can be used to verify the cardholder via one-time passcode
1315
- # over email.
1317
+ # over email. Send `null` to clear the email address. Omit this field to leave it
1318
+ # unchanged.
1316
1319
  email: nil,
1317
1320
  # A phone number that can be used to verify the cardholder via one-time passcode
1318
1321
  # over SMS. Accepts formats like `+14155550123`, `4155550123`, `415-555-0123`, or
1319
- # `(415) 555-0123`.
1322
+ # `(415) 555-0123`. Send `null` to clear the phone number. Omit this field to
1323
+ # leave it unchanged.
1320
1324
  phone: nil
1321
1325
  )
1322
1326
  end
1323
1327
 
1324
1328
  sig do
1325
1329
  override.returns(
1326
- { digital_card_profile_id: String, email: String, phone: String }
1330
+ {
1331
+ digital_card_profile_id: String,
1332
+ email: T.nilable(String),
1333
+ phone: T.nilable(String)
1334
+ }
1327
1335
  )
1328
1336
  end
1329
1337
  def to_hash