moov_ruby 26.2.7 → 26.2.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.
- checksums.yaml +4 -4
- data/lib/moov/account_terminal_applications.rb +16 -16
- data/lib/moov/accounts.rb +52 -54
- data/lib/moov/adjustments.rb +8 -8
- data/lib/moov/apple_pay.rb +20 -20
- data/lib/moov/authentication.rb +8 -8
- data/lib/moov/avatars.rb +4 -4
- data/lib/moov/bank_accounts.rb +36 -36
- data/lib/moov/branding.rb +12 -12
- data/lib/moov/capabilities.rb +20 -20
- data/lib/moov/card_issuing.rb +25 -25
- data/lib/moov/cards.rb +20 -20
- data/lib/moov/disputes.rb +44 -44
- data/lib/moov/end_to_end_encryption.rb +8 -8
- data/lib/moov/enriched_address.rb +4 -4
- data/lib/moov/enriched_profile.rb +4 -4
- data/lib/moov/fee_plans.rb +40 -40
- data/lib/moov/files.rb +12 -12
- data/lib/moov/images.rb +28 -28
- data/lib/moov/industries.rb +4 -4
- data/lib/moov/institutions.rb +8 -8
- data/lib/moov/issuing_transactions.rb +20 -20
- data/lib/moov/models/components/addcapabilities.rb +5 -1
- data/lib/moov/models/components/billingaddress.rb +52 -0
- data/lib/moov/models/components/billingaddress.rbi +23 -0
- data/lib/moov/models/components/capability.rb +7 -1
- data/lib/moov/models/components/capabilityid.rb +7 -1
- data/lib/moov/models/components/createaccount.rb +5 -1
- data/lib/moov/models/components/createpaymentlink.rb +4 -4
- data/lib/moov/models/components/fullissuedcard.rb +22 -10
- data/lib/moov/models/components/fullissuedcard.rbi +10 -4
- data/lib/moov/models/components/issuedcard.rb +22 -10
- data/lib/moov/models/components/issuedcard.rbi +10 -4
- data/lib/moov/models/components/onboardinginvite.rb +1 -1
- data/lib/moov/models/components/onboardinginviterequest.rb +1 -1
- data/lib/moov/models/components/paymentlink.rb +3 -3
- data/lib/moov/models/components/requestcard.rb +17 -17
- data/lib/moov/models/components/requestcard.rbi +8 -8
- data/lib/moov/models/components/updateissuedcard.rb +13 -9
- data/lib/moov/models/components/updateissuedcard.rbi +6 -4
- data/lib/moov/models/components/webhookdataauthorizationexpiring.rb +44 -0
- data/lib/moov/models/components/webhookdataauthorizationexpiring.rbi +19 -0
- data/lib/moov/models/components/webhookdatacapabilityrequested.rb +7 -1
- data/lib/moov/models/components/webhookdatacapabilityupdated.rb +7 -1
- data/lib/moov/models/components/webhookdatasweepcreated.rb +6 -2
- data/lib/moov/models/components/webhookdatasweepcreated.rbi +2 -0
- data/lib/moov/models/components/webhookdatasweepupdated.rb +6 -2
- data/lib/moov/models/components/webhookdatasweepupdated.rbi +2 -0
- data/lib/moov/models/components/webhookevent.rb +2 -2
- data/lib/moov/models/components/webhookeventtype.rb +1 -0
- data/lib/moov/models/components.rb +2 -4
- data/lib/moov/models/errors/requestcarderror.rb +14 -14
- data/lib/moov/models/errors/requestcarderror.rbi +8 -8
- data/lib/moov/models/errors/updateissuedcarderror.rb +12 -8
- data/lib/moov/models/errors/updateissuedcarderror.rbi +6 -4
- data/lib/moov/models/operations/disablecapability_request.rb +7 -1
- data/lib/moov/models/operations/getcapability_request.rb +7 -1
- data/lib/moov/models/operations/listcancellations_request.rb +36 -0
- data/lib/moov/models/operations/listcancellations_request.rbi +15 -0
- data/lib/moov/models/operations/listcancellations_response.rb +48 -0
- data/lib/moov/models/operations/listcancellations_response.rbi +21 -0
- data/lib/moov/models/operations.rb +2 -0
- data/lib/moov/onboarding.rb +16 -16
- data/lib/moov/payment_links.rb +24 -24
- data/lib/moov/payment_methods.rb +8 -8
- data/lib/moov/ping.rb +4 -4
- data/lib/moov/products.rb +20 -20
- data/lib/moov/receipts.rb +8 -8
- data/lib/moov/representatives.rb +20 -20
- data/lib/moov/scheduling.rb +24 -24
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov/statements.rb +8 -8
- data/lib/moov/support.rb +20 -20
- data/lib/moov/sweeps.rb +24 -24
- data/lib/moov/terminal_applications.rb +20 -20
- data/lib/moov/transfers.rb +171 -48
- data/lib/moov/underwriting.rb +12 -12
- data/lib/moov/utils/retries.rb +4 -1
- data/lib/moov/wallet_transactions.rb +8 -8
- data/lib/moov/wallets.rb +16 -16
- data/lib/moov/webhooks.rb +32 -32
- metadata +10 -10
- data/lib/moov/models/components/authorizeduser.rb +0 -36
- data/lib/moov/models/components/authorizeduser.rbi +0 -15
- data/lib/moov/models/components/createauthorizeduser.rb +0 -40
- data/lib/moov/models/components/createauthorizeduser.rbi +0 -17
- data/lib/moov/models/components/createauthorizedusererror.rb +0 -40
- data/lib/moov/models/components/createauthorizedusererror.rbi +0 -17
- data/lib/moov/models/components/createauthorizeduserupdate.rb +0 -40
- data/lib/moov/models/components/createauthorizeduserupdate.rbi +0 -17
data/lib/moov/sweeps.rb
CHANGED
|
@@ -79,7 +79,7 @@ module Moov
|
|
|
79
79
|
|
|
80
80
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
81
81
|
timeout ||= @sdk_configuration.timeout
|
|
82
|
-
|
|
82
|
+
|
|
83
83
|
|
|
84
84
|
connection = @sdk_configuration.client
|
|
85
85
|
|
|
@@ -94,7 +94,7 @@ module Moov
|
|
|
94
94
|
error = T.let(nil, T.nilable(StandardError))
|
|
95
95
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
|
|
98
98
|
begin
|
|
99
99
|
http_response = T.must(connection).post(url) do |req|
|
|
100
100
|
req.body = body
|
|
@@ -131,13 +131,13 @@ module Moov
|
|
|
131
131
|
response: http_response
|
|
132
132
|
)
|
|
133
133
|
end
|
|
134
|
-
|
|
134
|
+
|
|
135
135
|
if http_response.nil?
|
|
136
136
|
raise error if !error.nil?
|
|
137
137
|
raise 'no response'
|
|
138
138
|
end
|
|
139
139
|
end
|
|
140
|
-
|
|
140
|
+
|
|
141
141
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
142
142
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
143
143
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -232,7 +232,7 @@ module Moov
|
|
|
232
232
|
|
|
233
233
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
234
234
|
timeout ||= @sdk_configuration.timeout
|
|
235
|
-
|
|
235
|
+
|
|
236
236
|
|
|
237
237
|
connection = @sdk_configuration.client
|
|
238
238
|
|
|
@@ -247,7 +247,7 @@ module Moov
|
|
|
247
247
|
error = T.let(nil, T.nilable(StandardError))
|
|
248
248
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
249
249
|
|
|
250
|
-
|
|
250
|
+
|
|
251
251
|
begin
|
|
252
252
|
http_response = T.must(connection).get(url) do |req|
|
|
253
253
|
req.headers.merge!(headers)
|
|
@@ -283,13 +283,13 @@ module Moov
|
|
|
283
283
|
response: http_response
|
|
284
284
|
)
|
|
285
285
|
end
|
|
286
|
-
|
|
286
|
+
|
|
287
287
|
if http_response.nil?
|
|
288
288
|
raise error if !error.nil?
|
|
289
289
|
raise 'no response'
|
|
290
290
|
end
|
|
291
291
|
end
|
|
292
|
-
|
|
292
|
+
|
|
293
293
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
294
294
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
295
295
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -355,7 +355,7 @@ module Moov
|
|
|
355
355
|
|
|
356
356
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
357
357
|
timeout ||= @sdk_configuration.timeout
|
|
358
|
-
|
|
358
|
+
|
|
359
359
|
|
|
360
360
|
connection = @sdk_configuration.client
|
|
361
361
|
|
|
@@ -370,7 +370,7 @@ module Moov
|
|
|
370
370
|
error = T.let(nil, T.nilable(StandardError))
|
|
371
371
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
372
372
|
|
|
373
|
-
|
|
373
|
+
|
|
374
374
|
begin
|
|
375
375
|
http_response = T.must(connection).get(url) do |req|
|
|
376
376
|
req.headers.merge!(headers)
|
|
@@ -406,13 +406,13 @@ module Moov
|
|
|
406
406
|
response: http_response
|
|
407
407
|
)
|
|
408
408
|
end
|
|
409
|
-
|
|
409
|
+
|
|
410
410
|
if http_response.nil?
|
|
411
411
|
raise error if !error.nil?
|
|
412
412
|
raise 'no response'
|
|
413
413
|
end
|
|
414
414
|
end
|
|
415
|
-
|
|
415
|
+
|
|
416
416
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
417
417
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
418
418
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -490,7 +490,7 @@ module Moov
|
|
|
490
490
|
|
|
491
491
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
492
492
|
timeout ||= @sdk_configuration.timeout
|
|
493
|
-
|
|
493
|
+
|
|
494
494
|
|
|
495
495
|
connection = @sdk_configuration.client
|
|
496
496
|
|
|
@@ -505,7 +505,7 @@ module Moov
|
|
|
505
505
|
error = T.let(nil, T.nilable(StandardError))
|
|
506
506
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
507
507
|
|
|
508
|
-
|
|
508
|
+
|
|
509
509
|
begin
|
|
510
510
|
http_response = T.must(connection).patch(url) do |req|
|
|
511
511
|
req.body = body
|
|
@@ -542,13 +542,13 @@ module Moov
|
|
|
542
542
|
response: http_response
|
|
543
543
|
)
|
|
544
544
|
end
|
|
545
|
-
|
|
545
|
+
|
|
546
546
|
if http_response.nil?
|
|
547
547
|
raise error if !error.nil?
|
|
548
548
|
raise 'no response'
|
|
549
549
|
end
|
|
550
550
|
end
|
|
551
|
-
|
|
551
|
+
|
|
552
552
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
553
553
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
554
554
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -641,7 +641,7 @@ module Moov
|
|
|
641
641
|
|
|
642
642
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
643
643
|
timeout ||= @sdk_configuration.timeout
|
|
644
|
-
|
|
644
|
+
|
|
645
645
|
|
|
646
646
|
connection = @sdk_configuration.client
|
|
647
647
|
|
|
@@ -656,7 +656,7 @@ module Moov
|
|
|
656
656
|
error = T.let(nil, T.nilable(StandardError))
|
|
657
657
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
658
658
|
|
|
659
|
-
|
|
659
|
+
|
|
660
660
|
begin
|
|
661
661
|
http_response = T.must(connection).get(url) do |req|
|
|
662
662
|
req.headers.merge!(headers)
|
|
@@ -693,13 +693,13 @@ module Moov
|
|
|
693
693
|
response: http_response
|
|
694
694
|
)
|
|
695
695
|
end
|
|
696
|
-
|
|
696
|
+
|
|
697
697
|
if http_response.nil?
|
|
698
698
|
raise error if !error.nil?
|
|
699
699
|
raise 'no response'
|
|
700
700
|
end
|
|
701
701
|
end
|
|
702
|
-
|
|
702
|
+
|
|
703
703
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
704
704
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
705
705
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -766,7 +766,7 @@ module Moov
|
|
|
766
766
|
|
|
767
767
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
768
768
|
timeout ||= @sdk_configuration.timeout
|
|
769
|
-
|
|
769
|
+
|
|
770
770
|
|
|
771
771
|
connection = @sdk_configuration.client
|
|
772
772
|
|
|
@@ -781,7 +781,7 @@ module Moov
|
|
|
781
781
|
error = T.let(nil, T.nilable(StandardError))
|
|
782
782
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
783
783
|
|
|
784
|
-
|
|
784
|
+
|
|
785
785
|
begin
|
|
786
786
|
http_response = T.must(connection).get(url) do |req|
|
|
787
787
|
req.headers.merge!(headers)
|
|
@@ -817,13 +817,13 @@ module Moov
|
|
|
817
817
|
response: http_response
|
|
818
818
|
)
|
|
819
819
|
end
|
|
820
|
-
|
|
820
|
+
|
|
821
821
|
if http_response.nil?
|
|
822
822
|
raise error if !error.nil?
|
|
823
823
|
raise 'no response'
|
|
824
824
|
end
|
|
825
825
|
end
|
|
826
|
-
|
|
826
|
+
|
|
827
827
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
828
828
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
829
829
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -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, ['200'])
|
|
134
134
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -215,7 +215,7 @@ module Moov
|
|
|
215
215
|
|
|
216
216
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
217
217
|
timeout ||= @sdk_configuration.timeout
|
|
218
|
-
|
|
218
|
+
|
|
219
219
|
|
|
220
220
|
connection = @sdk_configuration.client
|
|
221
221
|
|
|
@@ -230,7 +230,7 @@ module Moov
|
|
|
230
230
|
error = T.let(nil, T.nilable(StandardError))
|
|
231
231
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
232
232
|
|
|
233
|
-
|
|
233
|
+
|
|
234
234
|
begin
|
|
235
235
|
http_response = T.must(connection).get(url) do |req|
|
|
236
236
|
req.headers.merge!(headers)
|
|
@@ -266,13 +266,13 @@ module Moov
|
|
|
266
266
|
response: http_response
|
|
267
267
|
)
|
|
268
268
|
end
|
|
269
|
-
|
|
269
|
+
|
|
270
270
|
if http_response.nil?
|
|
271
271
|
raise error if !error.nil?
|
|
272
272
|
raise 'no response'
|
|
273
273
|
end
|
|
274
274
|
end
|
|
275
|
-
|
|
275
|
+
|
|
276
276
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
277
277
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
278
278
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -337,7 +337,7 @@ module Moov
|
|
|
337
337
|
|
|
338
338
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
339
339
|
timeout ||= @sdk_configuration.timeout
|
|
340
|
-
|
|
340
|
+
|
|
341
341
|
|
|
342
342
|
connection = @sdk_configuration.client
|
|
343
343
|
|
|
@@ -352,7 +352,7 @@ module Moov
|
|
|
352
352
|
error = T.let(nil, T.nilable(StandardError))
|
|
353
353
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
354
354
|
|
|
355
|
-
|
|
355
|
+
|
|
356
356
|
begin
|
|
357
357
|
http_response = T.must(connection).get(url) do |req|
|
|
358
358
|
req.headers.merge!(headers)
|
|
@@ -388,13 +388,13 @@ module Moov
|
|
|
388
388
|
response: http_response
|
|
389
389
|
)
|
|
390
390
|
end
|
|
391
|
-
|
|
391
|
+
|
|
392
392
|
if http_response.nil?
|
|
393
393
|
raise error if !error.nil?
|
|
394
394
|
raise 'no response'
|
|
395
395
|
end
|
|
396
396
|
end
|
|
397
|
-
|
|
397
|
+
|
|
398
398
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
399
399
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
400
400
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -459,7 +459,7 @@ module Moov
|
|
|
459
459
|
|
|
460
460
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
461
461
|
timeout ||= @sdk_configuration.timeout
|
|
462
|
-
|
|
462
|
+
|
|
463
463
|
|
|
464
464
|
connection = @sdk_configuration.client
|
|
465
465
|
|
|
@@ -474,7 +474,7 @@ module Moov
|
|
|
474
474
|
error = T.let(nil, T.nilable(StandardError))
|
|
475
475
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
476
476
|
|
|
477
|
-
|
|
477
|
+
|
|
478
478
|
begin
|
|
479
479
|
http_response = T.must(connection).delete(url) do |req|
|
|
480
480
|
req.headers.merge!(headers)
|
|
@@ -510,13 +510,13 @@ module Moov
|
|
|
510
510
|
response: http_response
|
|
511
511
|
)
|
|
512
512
|
end
|
|
513
|
-
|
|
513
|
+
|
|
514
514
|
if http_response.nil?
|
|
515
515
|
raise error if !error.nil?
|
|
516
516
|
raise 'no response'
|
|
517
517
|
end
|
|
518
518
|
end
|
|
519
|
-
|
|
519
|
+
|
|
520
520
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
521
521
|
if Utils.match_status_code(http_response.status, ['204'])
|
|
522
522
|
http_response = @sdk_configuration.hooks.after_success(
|
|
@@ -599,7 +599,7 @@ module Moov
|
|
|
599
599
|
|
|
600
600
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
601
601
|
timeout ||= @sdk_configuration.timeout
|
|
602
|
-
|
|
602
|
+
|
|
603
603
|
|
|
604
604
|
connection = @sdk_configuration.client
|
|
605
605
|
|
|
@@ -614,7 +614,7 @@ module Moov
|
|
|
614
614
|
error = T.let(nil, T.nilable(StandardError))
|
|
615
615
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
616
616
|
|
|
617
|
-
|
|
617
|
+
|
|
618
618
|
begin
|
|
619
619
|
http_response = T.must(connection).post(url) do |req|
|
|
620
620
|
req.body = body
|
|
@@ -651,13 +651,13 @@ module Moov
|
|
|
651
651
|
response: http_response
|
|
652
652
|
)
|
|
653
653
|
end
|
|
654
|
-
|
|
654
|
+
|
|
655
655
|
if http_response.nil?
|
|
656
656
|
raise error if !error.nil?
|
|
657
657
|
raise 'no response'
|
|
658
658
|
end
|
|
659
659
|
end
|
|
660
|
-
|
|
660
|
+
|
|
661
661
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
662
662
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
663
663
|
if Utils.match_content_type(content_type, 'application/json')
|