moov_ruby 26.4.7 → 26.4.8

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 (94) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moov/account_terminal_applications.rb +16 -16
  3. data/lib/moov/accounts.rb +52 -54
  4. data/lib/moov/adjustments.rb +8 -8
  5. data/lib/moov/apple_pay.rb +20 -20
  6. data/lib/moov/authentication.rb +8 -8
  7. data/lib/moov/avatars.rb +4 -4
  8. data/lib/moov/bank_accounts.rb +36 -36
  9. data/lib/moov/branding.rb +12 -12
  10. data/lib/moov/capabilities.rb +20 -20
  11. data/lib/moov/card_issuing.rb +25 -25
  12. data/lib/moov/cards.rb +20 -20
  13. data/lib/moov/disputes.rb +44 -44
  14. data/lib/moov/end_to_end_encryption.rb +8 -8
  15. data/lib/moov/enriched_address.rb +4 -4
  16. data/lib/moov/enriched_profile.rb +4 -4
  17. data/lib/moov/fee_plans.rb +40 -40
  18. data/lib/moov/files.rb +12 -12
  19. data/lib/moov/google_pay.rb +4 -4
  20. data/lib/moov/images.rb +28 -28
  21. data/lib/moov/industries.rb +4 -4
  22. data/lib/moov/institutions.rb +8 -8
  23. data/lib/moov/invoices.rb +28 -28
  24. data/lib/moov/issuing_transactions.rb +20 -20
  25. data/lib/moov/models/components/addcapabilities.rb +5 -1
  26. data/lib/moov/models/components/billingaddress.rb +52 -0
  27. data/lib/moov/models/components/billingaddress.rbi +23 -0
  28. data/lib/moov/models/components/capability.rb +7 -1
  29. data/lib/moov/models/components/capabilityid.rb +7 -1
  30. data/lib/moov/models/components/createaccount.rb +5 -1
  31. data/lib/moov/models/components/createpaymentlink.rb +4 -4
  32. data/lib/moov/models/components/fullissuedcard.rb +22 -10
  33. data/lib/moov/models/components/fullissuedcard.rbi +10 -4
  34. data/lib/moov/models/components/issuedcard.rb +22 -10
  35. data/lib/moov/models/components/issuedcard.rbi +10 -4
  36. data/lib/moov/models/components/onboardinginvite.rb +1 -1
  37. data/lib/moov/models/components/onboardinginviterequest.rb +1 -1
  38. data/lib/moov/models/components/paymentlink.rb +3 -3
  39. data/lib/moov/models/components/requestcard.rb +17 -17
  40. data/lib/moov/models/components/requestcard.rbi +8 -8
  41. data/lib/moov/models/components/updateissuedcard.rb +13 -9
  42. data/lib/moov/models/components/updateissuedcard.rbi +6 -4
  43. data/lib/moov/models/components/webhookdataauthorizationexpiring.rb +44 -0
  44. data/lib/moov/models/components/webhookdataauthorizationexpiring.rbi +19 -0
  45. data/lib/moov/models/components/webhookdatacapabilityrequested.rb +7 -1
  46. data/lib/moov/models/components/webhookdatacapabilityupdated.rb +7 -1
  47. data/lib/moov/models/components/webhookdatasweepcreated.rb +6 -2
  48. data/lib/moov/models/components/webhookdatasweepcreated.rbi +2 -0
  49. data/lib/moov/models/components/webhookdatasweepupdated.rb +6 -2
  50. data/lib/moov/models/components/webhookdatasweepupdated.rbi +2 -0
  51. data/lib/moov/models/components/webhookevent.rb +2 -2
  52. data/lib/moov/models/components/webhookeventtype.rb +1 -0
  53. data/lib/moov/models/components.rb +2 -4
  54. data/lib/moov/models/errors/requestcarderror.rb +14 -14
  55. data/lib/moov/models/errors/requestcarderror.rbi +8 -8
  56. data/lib/moov/models/errors/updateissuedcarderror.rb +12 -8
  57. data/lib/moov/models/errors/updateissuedcarderror.rbi +6 -4
  58. data/lib/moov/models/operations/disablecapability_request.rb +7 -1
  59. data/lib/moov/models/operations/getcapability_request.rb +7 -1
  60. data/lib/moov/models/operations/listcancellations_request.rb +36 -0
  61. data/lib/moov/models/operations/listcancellations_request.rbi +15 -0
  62. data/lib/moov/models/operations/listcancellations_response.rb +48 -0
  63. data/lib/moov/models/operations/listcancellations_response.rbi +21 -0
  64. data/lib/moov/models/operations.rb +2 -0
  65. data/lib/moov/onboarding.rb +16 -16
  66. data/lib/moov/payment_links.rb +24 -24
  67. data/lib/moov/payment_methods.rb +8 -8
  68. data/lib/moov/ping.rb +4 -4
  69. data/lib/moov/products.rb +20 -20
  70. data/lib/moov/receipts.rb +8 -8
  71. data/lib/moov/representatives.rb +20 -20
  72. data/lib/moov/resolution_links.rb +16 -16
  73. data/lib/moov/scheduling.rb +24 -24
  74. data/lib/moov/sdkconfiguration.rb +3 -3
  75. data/lib/moov/statements.rb +8 -8
  76. data/lib/moov/support.rb +20 -20
  77. data/lib/moov/sweeps.rb +24 -24
  78. data/lib/moov/terminal_applications.rb +20 -20
  79. data/lib/moov/transfer_config.rb +12 -12
  80. data/lib/moov/transfers.rb +171 -48
  81. data/lib/moov/underwriting.rb +12 -12
  82. data/lib/moov/utils/retries.rb +4 -1
  83. data/lib/moov/wallet_transactions.rb +8 -8
  84. data/lib/moov/wallets.rb +16 -16
  85. data/lib/moov/webhooks.rb +32 -32
  86. metadata +10 -10
  87. data/lib/moov/models/components/authorizeduser.rb +0 -36
  88. data/lib/moov/models/components/authorizeduser.rbi +0 -15
  89. data/lib/moov/models/components/createauthorizeduser.rb +0 -40
  90. data/lib/moov/models/components/createauthorizeduser.rbi +0 -17
  91. data/lib/moov/models/components/createauthorizedusererror.rb +0 -40
  92. data/lib/moov/models/components/createauthorizedusererror.rbi +0 -17
  93. data/lib/moov/models/components/createauthorizeduserupdate.rb +0 -40
  94. data/lib/moov/models/components/createauthorizeduserupdate.rbi +0 -17
data/lib/moov/disputes.rb CHANGED
@@ -67,7 +67,7 @@ module Moov
67
67
 
68
68
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
69
69
  timeout ||= @sdk_configuration.timeout
70
-
70
+
71
71
 
72
72
  connection = @sdk_configuration.client
73
73
 
@@ -82,7 +82,7 @@ module Moov
82
82
  error = T.let(nil, T.nilable(StandardError))
83
83
  http_response = T.let(nil, T.nilable(Faraday::Response))
84
84
 
85
-
85
+
86
86
  begin
87
87
  http_response = T.must(connection).get(url) do |req|
88
88
  req.headers.merge!(headers)
@@ -119,13 +119,13 @@ module Moov
119
119
  response: http_response
120
120
  )
121
121
  end
122
-
122
+
123
123
  if http_response.nil?
124
124
  raise error if !error.nil?
125
125
  raise 'no response'
126
126
  end
127
127
  end
128
-
128
+
129
129
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
130
130
  if Utils.match_status_code(http_response.status, ['200'])
131
131
  if Utils.match_content_type(content_type, 'application/json')
@@ -208,7 +208,7 @@ module Moov
208
208
 
209
209
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
210
210
  timeout ||= @sdk_configuration.timeout
211
-
211
+
212
212
 
213
213
  connection = @sdk_configuration.client
214
214
 
@@ -223,7 +223,7 @@ module Moov
223
223
  error = T.let(nil, T.nilable(StandardError))
224
224
  http_response = T.let(nil, T.nilable(Faraday::Response))
225
225
 
226
-
226
+
227
227
  begin
228
228
  http_response = T.must(connection).get(url) do |req|
229
229
  req.headers.merge!(headers)
@@ -259,13 +259,13 @@ module Moov
259
259
  response: http_response
260
260
  )
261
261
  end
262
-
262
+
263
263
  if http_response.nil?
264
264
  raise error if !error.nil?
265
265
  raise 'no response'
266
266
  end
267
267
  end
268
-
268
+
269
269
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
270
270
  if Utils.match_status_code(http_response.status, ['200'])
271
271
  if Utils.match_content_type(content_type, 'application/json')
@@ -333,7 +333,7 @@ module Moov
333
333
 
334
334
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
335
335
  timeout ||= @sdk_configuration.timeout
336
-
336
+
337
337
 
338
338
  connection = @sdk_configuration.client
339
339
 
@@ -348,7 +348,7 @@ module Moov
348
348
  error = T.let(nil, T.nilable(StandardError))
349
349
  http_response = T.let(nil, T.nilable(Faraday::Response))
350
350
 
351
-
351
+
352
352
  begin
353
353
  http_response = T.must(connection).post(url) do |req|
354
354
  req.headers.merge!(headers)
@@ -384,13 +384,13 @@ module Moov
384
384
  response: http_response
385
385
  )
386
386
  end
387
-
387
+
388
388
  if http_response.nil?
389
389
  raise error if !error.nil?
390
390
  raise 'no response'
391
391
  end
392
392
  end
393
-
393
+
394
394
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
395
395
  if Utils.match_status_code(http_response.status, ['200'])
396
396
  if Utils.match_content_type(content_type, 'application/json')
@@ -473,7 +473,7 @@ module Moov
473
473
 
474
474
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
475
475
  timeout ||= @sdk_configuration.timeout
476
-
476
+
477
477
 
478
478
  connection = @sdk_configuration.client
479
479
 
@@ -488,7 +488,7 @@ module Moov
488
488
  error = T.let(nil, T.nilable(StandardError))
489
489
  http_response = T.let(nil, T.nilable(Faraday::Response))
490
490
 
491
-
491
+
492
492
  begin
493
493
  http_response = T.must(connection).get(url) do |req|
494
494
  req.headers.merge!(headers)
@@ -524,13 +524,13 @@ module Moov
524
524
  response: http_response
525
525
  )
526
526
  end
527
-
527
+
528
528
  if http_response.nil?
529
529
  raise error if !error.nil?
530
530
  raise 'no response'
531
531
  end
532
532
  end
533
-
533
+
534
534
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
535
535
  if Utils.match_status_code(http_response.status, ['200'])
536
536
  if Utils.match_content_type(content_type, 'application/json')
@@ -610,7 +610,7 @@ module Moov
610
610
 
611
611
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
612
612
  timeout ||= @sdk_configuration.timeout
613
-
613
+
614
614
 
615
615
  connection = @sdk_configuration.client
616
616
 
@@ -625,7 +625,7 @@ module Moov
625
625
  error = T.let(nil, T.nilable(StandardError))
626
626
  http_response = T.let(nil, T.nilable(Faraday::Response))
627
627
 
628
-
628
+
629
629
  begin
630
630
  http_response = T.must(connection).post(url) do |req|
631
631
  req.body = body
@@ -662,13 +662,13 @@ module Moov
662
662
  response: http_response
663
663
  )
664
664
  end
665
-
665
+
666
666
  if http_response.nil?
667
667
  raise error if !error.nil?
668
668
  raise 'no response'
669
669
  end
670
670
  end
671
-
671
+
672
672
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
673
673
  if Utils.match_status_code(http_response.status, ['201'])
674
674
  if Utils.match_content_type(content_type, 'application/json')
@@ -778,7 +778,7 @@ module Moov
778
778
 
779
779
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
780
780
  timeout ||= @sdk_configuration.timeout
781
-
781
+
782
782
 
783
783
  connection = @sdk_configuration.client
784
784
 
@@ -793,7 +793,7 @@ module Moov
793
793
  error = T.let(nil, T.nilable(StandardError))
794
794
  http_response = T.let(nil, T.nilable(Faraday::Response))
795
795
 
796
-
796
+
797
797
  begin
798
798
  http_response = T.must(connection).post(url) do |req|
799
799
  req.body = body
@@ -830,13 +830,13 @@ module Moov
830
830
  response: http_response
831
831
  )
832
832
  end
833
-
833
+
834
834
  if http_response.nil?
835
835
  raise error if !error.nil?
836
836
  raise 'no response'
837
837
  end
838
838
  end
839
-
839
+
840
840
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
841
841
  if Utils.match_status_code(http_response.status, ['201'])
842
842
  if Utils.match_content_type(content_type, 'application/json')
@@ -922,7 +922,7 @@ module Moov
922
922
 
923
923
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
924
924
  timeout ||= @sdk_configuration.timeout
925
-
925
+
926
926
 
927
927
  connection = @sdk_configuration.client
928
928
 
@@ -937,7 +937,7 @@ module Moov
937
937
  error = T.let(nil, T.nilable(StandardError))
938
938
  http_response = T.let(nil, T.nilable(Faraday::Response))
939
939
 
940
-
940
+
941
941
  begin
942
942
  http_response = T.must(connection).post(url) do |req|
943
943
  req.headers.merge!(headers)
@@ -973,13 +973,13 @@ module Moov
973
973
  response: http_response
974
974
  )
975
975
  end
976
-
976
+
977
977
  if http_response.nil?
978
978
  raise error if !error.nil?
979
979
  raise 'no response'
980
980
  end
981
981
  end
982
-
982
+
983
983
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
984
984
  if Utils.match_status_code(http_response.status, ['200'])
985
985
  if Utils.match_content_type(content_type, 'application/json')
@@ -1063,7 +1063,7 @@ module Moov
1063
1063
 
1064
1064
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1065
1065
  timeout ||= @sdk_configuration.timeout
1066
-
1066
+
1067
1067
 
1068
1068
  connection = @sdk_configuration.client
1069
1069
 
@@ -1078,7 +1078,7 @@ module Moov
1078
1078
  error = T.let(nil, T.nilable(StandardError))
1079
1079
  http_response = T.let(nil, T.nilable(Faraday::Response))
1080
1080
 
1081
-
1081
+
1082
1082
  begin
1083
1083
  http_response = T.must(connection).get(url) do |req|
1084
1084
  req.headers.merge!(headers)
@@ -1114,13 +1114,13 @@ module Moov
1114
1114
  response: http_response
1115
1115
  )
1116
1116
  end
1117
-
1117
+
1118
1118
  if http_response.nil?
1119
1119
  raise error if !error.nil?
1120
1120
  raise 'no response'
1121
1121
  end
1122
1122
  end
1123
-
1123
+
1124
1124
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1125
1125
  if Utils.match_status_code(http_response.status, ['200'])
1126
1126
  if Utils.match_content_type(content_type, 'application/json')
@@ -1201,7 +1201,7 @@ module Moov
1201
1201
 
1202
1202
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1203
1203
  timeout ||= @sdk_configuration.timeout
1204
-
1204
+
1205
1205
 
1206
1206
  connection = @sdk_configuration.client
1207
1207
 
@@ -1216,7 +1216,7 @@ module Moov
1216
1216
  error = T.let(nil, T.nilable(StandardError))
1217
1217
  http_response = T.let(nil, T.nilable(Faraday::Response))
1218
1218
 
1219
-
1219
+
1220
1220
  begin
1221
1221
  http_response = T.must(connection).patch(url) do |req|
1222
1222
  req.body = body
@@ -1253,13 +1253,13 @@ module Moov
1253
1253
  response: http_response
1254
1254
  )
1255
1255
  end
1256
-
1256
+
1257
1257
  if http_response.nil?
1258
1258
  raise error if !error.nil?
1259
1259
  raise 'no response'
1260
1260
  end
1261
1261
  end
1262
-
1262
+
1263
1263
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1264
1264
  if Utils.match_status_code(http_response.status, ['200'])
1265
1265
  if Utils.match_content_type(content_type, 'application/json')
@@ -1343,7 +1343,7 @@ module Moov
1343
1343
 
1344
1344
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1345
1345
  timeout ||= @sdk_configuration.timeout
1346
-
1346
+
1347
1347
 
1348
1348
  connection = @sdk_configuration.client
1349
1349
 
@@ -1358,7 +1358,7 @@ module Moov
1358
1358
  error = T.let(nil, T.nilable(StandardError))
1359
1359
  http_response = T.let(nil, T.nilable(Faraday::Response))
1360
1360
 
1361
-
1361
+
1362
1362
  begin
1363
1363
  http_response = T.must(connection).delete(url) do |req|
1364
1364
  req.headers.merge!(headers)
@@ -1394,13 +1394,13 @@ module Moov
1394
1394
  response: http_response
1395
1395
  )
1396
1396
  end
1397
-
1397
+
1398
1398
  if http_response.nil?
1399
1399
  raise error if !error.nil?
1400
1400
  raise 'no response'
1401
1401
  end
1402
1402
  end
1403
-
1403
+
1404
1404
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1405
1405
  if Utils.match_status_code(http_response.status, ['204'])
1406
1406
  http_response = @sdk_configuration.hooks.after_success(
@@ -1475,7 +1475,7 @@ module Moov
1475
1475
 
1476
1476
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1477
1477
  timeout ||= @sdk_configuration.timeout
1478
-
1478
+
1479
1479
 
1480
1480
  connection = @sdk_configuration.client
1481
1481
 
@@ -1490,7 +1490,7 @@ module Moov
1490
1490
  error = T.let(nil, T.nilable(StandardError))
1491
1491
  http_response = T.let(nil, T.nilable(Faraday::Response))
1492
1492
 
1493
-
1493
+
1494
1494
  begin
1495
1495
  http_response = T.must(connection).get(url) do |req|
1496
1496
  req.headers.merge!(headers)
@@ -1526,13 +1526,13 @@ module Moov
1526
1526
  response: http_response
1527
1527
  )
1528
1528
  end
1529
-
1529
+
1530
1530
  if http_response.nil?
1531
1531
  raise error if !error.nil?
1532
1532
  raise 'no response'
1533
1533
  end
1534
1534
  end
1535
-
1535
+
1536
1536
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1537
1537
  if Utils.match_status_code(http_response.status, ['200'])
1538
1538
  if Utils.match_content_type(content_type, 'application/pdf')
@@ -70,7 +70,7 @@ module Moov
70
70
 
71
71
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
72
72
  timeout ||= @sdk_configuration.timeout
73
-
73
+
74
74
 
75
75
  connection = @sdk_configuration.client
76
76
 
@@ -85,7 +85,7 @@ module Moov
85
85
  error = T.let(nil, T.nilable(StandardError))
86
86
  http_response = T.let(nil, T.nilable(Faraday::Response))
87
87
 
88
-
88
+
89
89
  begin
90
90
  http_response = T.must(connection).post(url) do |req|
91
91
  req.body = body
@@ -122,13 +122,13 @@ module Moov
122
122
  response: http_response
123
123
  )
124
124
  end
125
-
125
+
126
126
  if http_response.nil?
127
127
  raise error if !error.nil?
128
128
  raise 'no response'
129
129
  end
130
130
  end
131
-
131
+
132
132
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
133
133
  if Utils.match_status_code(http_response.status, ['204'])
134
134
  http_response = @sdk_configuration.hooks.after_success(
@@ -188,7 +188,7 @@ module Moov
188
188
 
189
189
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
190
190
  timeout ||= @sdk_configuration.timeout
191
-
191
+
192
192
 
193
193
  connection = @sdk_configuration.client
194
194
 
@@ -203,7 +203,7 @@ module Moov
203
203
  error = T.let(nil, T.nilable(StandardError))
204
204
  http_response = T.let(nil, T.nilable(Faraday::Response))
205
205
 
206
-
206
+
207
207
  begin
208
208
  http_response = T.must(connection).post(url) do |req|
209
209
  req.headers.merge!(headers)
@@ -239,13 +239,13 @@ module Moov
239
239
  response: http_response
240
240
  )
241
241
  end
242
-
242
+
243
243
  if http_response.nil?
244
244
  raise error if !error.nil?
245
245
  raise 'no response'
246
246
  end
247
247
  end
248
-
248
+
249
249
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
250
250
  if Utils.match_status_code(http_response.status, ['200'])
251
251
  if Utils.match_content_type(content_type, 'application/json')
@@ -60,7 +60,7 @@ module Moov
60
60
 
61
61
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
62
62
  timeout ||= @sdk_configuration.timeout
63
-
63
+
64
64
 
65
65
  connection = @sdk_configuration.client
66
66
 
@@ -75,7 +75,7 @@ module Moov
75
75
  error = T.let(nil, T.nilable(StandardError))
76
76
  http_response = T.let(nil, T.nilable(Faraday::Response))
77
77
 
78
-
78
+
79
79
  begin
80
80
  http_response = T.must(connection).get(url) do |req|
81
81
  req.headers.merge!(headers)
@@ -112,13 +112,13 @@ module Moov
112
112
  response: http_response
113
113
  )
114
114
  end
115
-
115
+
116
116
  if http_response.nil?
117
117
  raise error if !error.nil?
118
118
  raise 'no response'
119
119
  end
120
120
  end
121
-
121
+
122
122
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
123
123
  if Utils.match_status_code(http_response.status, ['200'])
124
124
  if Utils.match_content_type(content_type, 'application/json')
@@ -63,7 +63,7 @@ module Moov
63
63
 
64
64
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
65
65
  timeout ||= @sdk_configuration.timeout
66
-
66
+
67
67
 
68
68
  connection = @sdk_configuration.client
69
69
 
@@ -78,7 +78,7 @@ module Moov
78
78
  error = T.let(nil, T.nilable(StandardError))
79
79
  http_response = T.let(nil, T.nilable(Faraday::Response))
80
80
 
81
-
81
+
82
82
  begin
83
83
  http_response = T.must(connection).get(url) do |req|
84
84
  req.headers.merge!(headers)
@@ -115,13 +115,13 @@ module Moov
115
115
  response: http_response
116
116
  )
117
117
  end
118
-
118
+
119
119
  if http_response.nil?
120
120
  raise error if !error.nil?
121
121
  raise 'no response'
122
122
  end
123
123
  end
124
-
124
+
125
125
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
126
126
  if Utils.match_status_code(http_response.status, ['200'])
127
127
  if Utils.match_content_type(content_type, 'application/json')