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
@@ -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')
@@ -236,7 +236,7 @@ module Moov
236
236
 
237
237
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
238
238
  timeout ||= @sdk_configuration.timeout
239
-
239
+
240
240
 
241
241
  connection = @sdk_configuration.client
242
242
 
@@ -251,7 +251,7 @@ module Moov
251
251
  error = T.let(nil, T.nilable(StandardError))
252
252
  http_response = T.let(nil, T.nilable(Faraday::Response))
253
253
 
254
-
254
+
255
255
  begin
256
256
  http_response = T.must(connection).get(url) do |req|
257
257
  req.headers.merge!(headers)
@@ -288,13 +288,13 @@ module Moov
288
288
  response: http_response
289
289
  )
290
290
  end
291
-
291
+
292
292
  if http_response.nil?
293
293
  raise error if !error.nil?
294
294
  raise 'no response'
295
295
  end
296
296
  end
297
-
297
+
298
298
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
299
299
  if Utils.match_status_code(http_response.status, ['200'])
300
300
  if Utils.match_content_type(content_type, 'application/json')
@@ -360,7 +360,7 @@ module Moov
360
360
 
361
361
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
362
362
  timeout ||= @sdk_configuration.timeout
363
-
363
+
364
364
 
365
365
  connection = @sdk_configuration.client
366
366
 
@@ -375,7 +375,7 @@ module Moov
375
375
  error = T.let(nil, T.nilable(StandardError))
376
376
  http_response = T.let(nil, T.nilable(Faraday::Response))
377
377
 
378
-
378
+
379
379
  begin
380
380
  http_response = T.must(connection).get(url) do |req|
381
381
  req.headers.merge!(headers)
@@ -411,13 +411,13 @@ module Moov
411
411
  response: http_response
412
412
  )
413
413
  end
414
-
414
+
415
415
  if http_response.nil?
416
416
  raise error if !error.nil?
417
417
  raise 'no response'
418
418
  end
419
419
  end
420
-
420
+
421
421
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
422
422
  if Utils.match_status_code(http_response.status, ['200'])
423
423
  if Utils.match_content_type(content_type, 'application/json')
@@ -495,7 +495,7 @@ module Moov
495
495
 
496
496
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
497
497
  timeout ||= @sdk_configuration.timeout
498
-
498
+
499
499
 
500
500
  connection = @sdk_configuration.client
501
501
 
@@ -510,7 +510,7 @@ module Moov
510
510
  error = T.let(nil, T.nilable(StandardError))
511
511
  http_response = T.let(nil, T.nilable(Faraday::Response))
512
512
 
513
-
513
+
514
514
  begin
515
515
  http_response = T.must(connection).patch(url) do |req|
516
516
  req.body = body
@@ -547,13 +547,13 @@ module Moov
547
547
  response: http_response
548
548
  )
549
549
  end
550
-
550
+
551
551
  if http_response.nil?
552
552
  raise error if !error.nil?
553
553
  raise 'no response'
554
554
  end
555
555
  end
556
-
556
+
557
557
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
558
558
  if Utils.match_status_code(http_response.status, ['200'])
559
559
  if Utils.match_content_type(content_type, 'application/json')
@@ -649,7 +649,7 @@ module Moov
649
649
 
650
650
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
651
651
  timeout ||= @sdk_configuration.timeout
652
-
652
+
653
653
 
654
654
  connection = @sdk_configuration.client
655
655
 
@@ -664,7 +664,7 @@ module Moov
664
664
  error = T.let(nil, T.nilable(StandardError))
665
665
  http_response = T.let(nil, T.nilable(Faraday::Response))
666
666
 
667
-
667
+
668
668
  begin
669
669
  http_response = T.must(connection).delete(url) do |req|
670
670
  req.headers.merge!(headers)
@@ -700,13 +700,13 @@ module Moov
700
700
  response: http_response
701
701
  )
702
702
  end
703
-
703
+
704
704
  if http_response.nil?
705
705
  raise error if !error.nil?
706
706
  raise 'no response'
707
707
  end
708
708
  end
709
-
709
+
710
710
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
711
711
  if Utils.match_status_code(http_response.status, ['204'])
712
712
  http_response = @sdk_configuration.hooks.after_success(
@@ -765,7 +765,7 @@ module Moov
765
765
 
766
766
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
767
767
  timeout ||= @sdk_configuration.timeout
768
-
768
+
769
769
 
770
770
  connection = @sdk_configuration.client
771
771
 
@@ -780,7 +780,7 @@ module Moov
780
780
  error = T.let(nil, T.nilable(StandardError))
781
781
  http_response = T.let(nil, T.nilable(Faraday::Response))
782
782
 
783
-
783
+
784
784
  begin
785
785
  http_response = T.must(connection).get(url) do |req|
786
786
  req.headers.merge!(headers)
@@ -816,13 +816,13 @@ module Moov
816
816
  response: http_response
817
817
  )
818
818
  end
819
-
819
+
820
820
  if http_response.nil?
821
821
  raise error if !error.nil?
822
822
  raise 'no response'
823
823
  end
824
824
  end
825
-
825
+
826
826
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
827
827
  if Utils.match_status_code(http_response.status, ['200'])
828
828
  if Utils.match_content_type(content_type, 'application/json')
@@ -71,7 +71,7 @@ module Moov
71
71
 
72
72
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
73
73
  timeout ||= @sdk_configuration.timeout
74
-
74
+
75
75
 
76
76
  connection = @sdk_configuration.client
77
77
 
@@ -86,7 +86,7 @@ module Moov
86
86
  error = T.let(nil, T.nilable(StandardError))
87
87
  http_response = T.let(nil, T.nilable(Faraday::Response))
88
88
 
89
-
89
+
90
90
  begin
91
91
  http_response = T.must(connection).get(url) do |req|
92
92
  req.headers.merge!(headers)
@@ -123,13 +123,13 @@ module Moov
123
123
  response: http_response
124
124
  )
125
125
  end
126
-
126
+
127
127
  if http_response.nil?
128
128
  raise error if !error.nil?
129
129
  raise 'no response'
130
130
  end
131
131
  end
132
-
132
+
133
133
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
134
134
  if Utils.match_status_code(http_response.status, ['200'])
135
135
  if Utils.match_content_type(content_type, 'application/json')
@@ -195,7 +195,7 @@ module Moov
195
195
 
196
196
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
197
197
  timeout ||= @sdk_configuration.timeout
198
-
198
+
199
199
 
200
200
  connection = @sdk_configuration.client
201
201
 
@@ -210,7 +210,7 @@ module Moov
210
210
  error = T.let(nil, T.nilable(StandardError))
211
211
  http_response = T.let(nil, T.nilable(Faraday::Response))
212
212
 
213
-
213
+
214
214
  begin
215
215
  http_response = T.must(connection).get(url) do |req|
216
216
  req.headers.merge!(headers)
@@ -246,13 +246,13 @@ module Moov
246
246
  response: http_response
247
247
  )
248
248
  end
249
-
249
+
250
250
  if http_response.nil?
251
251
  raise error if !error.nil?
252
252
  raise 'no response'
253
253
  end
254
254
  end
255
-
255
+
256
256
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
257
257
  if Utils.match_status_code(http_response.status, ['200'])
258
258
  if Utils.match_content_type(content_type, 'application/json')
data/lib/moov/ping.rb CHANGED
@@ -59,7 +59,7 @@ module Moov
59
59
 
60
60
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
61
61
  timeout ||= @sdk_configuration.timeout
62
-
62
+
63
63
 
64
64
  connection = @sdk_configuration.client
65
65
 
@@ -74,7 +74,7 @@ module Moov
74
74
  error = T.let(nil, T.nilable(StandardError))
75
75
  http_response = T.let(nil, T.nilable(Faraday::Response))
76
76
 
77
-
77
+
78
78
  begin
79
79
  http_response = T.must(connection).get(url) do |req|
80
80
  req.headers.merge!(headers)
@@ -110,13 +110,13 @@ module Moov
110
110
  response: http_response
111
111
  )
112
112
  end
113
-
113
+
114
114
  if http_response.nil?
115
115
  raise error if !error.nil?
116
116
  raise 'no response'
117
117
  end
118
118
  end
119
-
119
+
120
120
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
121
121
  if Utils.match_status_code(http_response.status, ['200'])
122
122
  http_response = @sdk_configuration.hooks.after_success(
data/lib/moov/products.rb CHANGED
@@ -68,7 +68,7 @@ module Moov
68
68
 
69
69
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
70
70
  timeout ||= @sdk_configuration.timeout
71
-
71
+
72
72
 
73
73
  connection = @sdk_configuration.client
74
74
 
@@ -83,7 +83,7 @@ module Moov
83
83
  error = T.let(nil, T.nilable(StandardError))
84
84
  http_response = T.let(nil, T.nilable(Faraday::Response))
85
85
 
86
-
86
+
87
87
  begin
88
88
  http_response = T.must(connection).get(url) do |req|
89
89
  req.headers.merge!(headers)
@@ -120,13 +120,13 @@ module Moov
120
120
  response: http_response
121
121
  )
122
122
  end
123
-
123
+
124
124
  if http_response.nil?
125
125
  raise error if !error.nil?
126
126
  raise 'no response'
127
127
  end
128
128
  end
129
-
129
+
130
130
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
131
131
  if Utils.match_status_code(http_response.status, ['200'])
132
132
  if Utils.match_content_type(content_type, 'application/json')
@@ -200,7 +200,7 @@ module Moov
200
200
 
201
201
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
202
202
  timeout ||= @sdk_configuration.timeout
203
-
203
+
204
204
 
205
205
  connection = @sdk_configuration.client
206
206
 
@@ -215,7 +215,7 @@ module Moov
215
215
  error = T.let(nil, T.nilable(StandardError))
216
216
  http_response = T.let(nil, T.nilable(Faraday::Response))
217
217
 
218
-
218
+
219
219
  begin
220
220
  http_response = T.must(connection).post(url) do |req|
221
221
  req.body = body
@@ -252,13 +252,13 @@ module Moov
252
252
  response: http_response
253
253
  )
254
254
  end
255
-
255
+
256
256
  if http_response.nil?
257
257
  raise error if !error.nil?
258
258
  raise 'no response'
259
259
  end
260
260
  end
261
-
261
+
262
262
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
263
263
  if Utils.match_status_code(http_response.status, ['201'])
264
264
  if Utils.match_content_type(content_type, 'application/json')
@@ -351,7 +351,7 @@ module Moov
351
351
 
352
352
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
353
353
  timeout ||= @sdk_configuration.timeout
354
-
354
+
355
355
 
356
356
  connection = @sdk_configuration.client
357
357
 
@@ -366,7 +366,7 @@ module Moov
366
366
  error = T.let(nil, T.nilable(StandardError))
367
367
  http_response = T.let(nil, T.nilable(Faraday::Response))
368
368
 
369
-
369
+
370
370
  begin
371
371
  http_response = T.must(connection).get(url) do |req|
372
372
  req.headers.merge!(headers)
@@ -402,13 +402,13 @@ module Moov
402
402
  response: http_response
403
403
  )
404
404
  end
405
-
405
+
406
406
  if http_response.nil?
407
407
  raise error if !error.nil?
408
408
  raise 'no response'
409
409
  end
410
410
  end
411
-
411
+
412
412
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
413
413
  if Utils.match_status_code(http_response.status, ['200'])
414
414
  if Utils.match_content_type(content_type, 'application/json')
@@ -483,7 +483,7 @@ module Moov
483
483
 
484
484
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
485
485
  timeout ||= @sdk_configuration.timeout
486
-
486
+
487
487
 
488
488
  connection = @sdk_configuration.client
489
489
 
@@ -498,7 +498,7 @@ module Moov
498
498
  error = T.let(nil, T.nilable(StandardError))
499
499
  http_response = T.let(nil, T.nilable(Faraday::Response))
500
500
 
501
-
501
+
502
502
  begin
503
503
  http_response = T.must(connection).put(url) do |req|
504
504
  req.body = body
@@ -535,13 +535,13 @@ module Moov
535
535
  response: http_response
536
536
  )
537
537
  end
538
-
538
+
539
539
  if http_response.nil?
540
540
  raise error if !error.nil?
541
541
  raise 'no response'
542
542
  end
543
543
  end
544
-
544
+
545
545
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
546
546
  if Utils.match_status_code(http_response.status, ['200'])
547
547
  if Utils.match_content_type(content_type, 'application/json')
@@ -636,7 +636,7 @@ module Moov
636
636
 
637
637
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
638
638
  timeout ||= @sdk_configuration.timeout
639
-
639
+
640
640
 
641
641
  connection = @sdk_configuration.client
642
642
 
@@ -651,7 +651,7 @@ module Moov
651
651
  error = T.let(nil, T.nilable(StandardError))
652
652
  http_response = T.let(nil, T.nilable(Faraday::Response))
653
653
 
654
-
654
+
655
655
  begin
656
656
  http_response = T.must(connection).delete(url) do |req|
657
657
  req.headers.merge!(headers)
@@ -687,13 +687,13 @@ module Moov
687
687
  response: http_response
688
688
  )
689
689
  end
690
-
690
+
691
691
  if http_response.nil?
692
692
  raise error if !error.nil?
693
693
  raise 'no response'
694
694
  end
695
695
  end
696
-
696
+
697
697
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
698
698
  if Utils.match_status_code(http_response.status, ['204'])
699
699
  http_response = @sdk_configuration.hooks.after_success(
data/lib/moov/receipts.rb CHANGED
@@ -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, ['201'])
134
134
  if Utils.match_content_type(content_type, 'application/json')
@@ -204,7 +204,7 @@ module Moov
204
204
 
205
205
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
206
206
  timeout ||= @sdk_configuration.timeout
207
-
207
+
208
208
 
209
209
  connection = @sdk_configuration.client
210
210
 
@@ -219,7 +219,7 @@ module Moov
219
219
  error = T.let(nil, T.nilable(StandardError))
220
220
  http_response = T.let(nil, T.nilable(Faraday::Response))
221
221
 
222
-
222
+
223
223
  begin
224
224
  http_response = T.must(connection).get(url) do |req|
225
225
  req.headers.merge!(headers)
@@ -256,13 +256,13 @@ module Moov
256
256
  response: http_response
257
257
  )
258
258
  end
259
-
259
+
260
260
  if http_response.nil?
261
261
  raise error if !error.nil?
262
262
  raise 'no response'
263
263
  end
264
264
  end
265
-
265
+
266
266
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
267
267
  if Utils.match_status_code(http_response.status, ['200'])
268
268
  if Utils.match_content_type(content_type, 'application/json')
@@ -81,7 +81,7 @@ module Moov
81
81
 
82
82
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
83
83
  timeout ||= @sdk_configuration.timeout
84
-
84
+
85
85
 
86
86
  connection = @sdk_configuration.client
87
87
 
@@ -96,7 +96,7 @@ module Moov
96
96
  error = T.let(nil, T.nilable(StandardError))
97
97
  http_response = T.let(nil, T.nilable(Faraday::Response))
98
98
 
99
-
99
+
100
100
  begin
101
101
  http_response = T.must(connection).post(url) do |req|
102
102
  req.body = body
@@ -133,13 +133,13 @@ module Moov
133
133
  response: http_response
134
134
  )
135
135
  end
136
-
136
+
137
137
  if http_response.nil?
138
138
  raise error if !error.nil?
139
139
  raise 'no response'
140
140
  end
141
141
  end
142
-
142
+
143
143
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
144
144
  if Utils.match_status_code(http_response.status, ['200'])
145
145
  if Utils.match_content_type(content_type, 'application/json')
@@ -237,7 +237,7 @@ module Moov
237
237
 
238
238
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
239
239
  timeout ||= @sdk_configuration.timeout
240
-
240
+
241
241
 
242
242
  connection = @sdk_configuration.client
243
243
 
@@ -252,7 +252,7 @@ module Moov
252
252
  error = T.let(nil, T.nilable(StandardError))
253
253
  http_response = T.let(nil, T.nilable(Faraday::Response))
254
254
 
255
-
255
+
256
256
  begin
257
257
  http_response = T.must(connection).get(url) do |req|
258
258
  req.headers.merge!(headers)
@@ -288,13 +288,13 @@ module Moov
288
288
  response: http_response
289
289
  )
290
290
  end
291
-
291
+
292
292
  if http_response.nil?
293
293
  raise error if !error.nil?
294
294
  raise 'no response'
295
295
  end
296
296
  end
297
-
297
+
298
298
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
299
299
  if Utils.match_status_code(http_response.status, ['200'])
300
300
  if Utils.match_content_type(content_type, 'application/json')
@@ -360,7 +360,7 @@ module Moov
360
360
 
361
361
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
362
362
  timeout ||= @sdk_configuration.timeout
363
-
363
+
364
364
 
365
365
  connection = @sdk_configuration.client
366
366
 
@@ -375,7 +375,7 @@ module Moov
375
375
  error = T.let(nil, T.nilable(StandardError))
376
376
  http_response = T.let(nil, T.nilable(Faraday::Response))
377
377
 
378
-
378
+
379
379
  begin
380
380
  http_response = T.must(connection).delete(url) do |req|
381
381
  req.headers.merge!(headers)
@@ -411,13 +411,13 @@ module Moov
411
411
  response: http_response
412
412
  )
413
413
  end
414
-
414
+
415
415
  if http_response.nil?
416
416
  raise error if !error.nil?
417
417
  raise 'no response'
418
418
  end
419
419
  end
420
-
420
+
421
421
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
422
422
  if Utils.match_status_code(http_response.status, ['204'])
423
423
  http_response = @sdk_configuration.hooks.after_success(
@@ -489,7 +489,7 @@ module Moov
489
489
 
490
490
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
491
491
  timeout ||= @sdk_configuration.timeout
492
-
492
+
493
493
 
494
494
  connection = @sdk_configuration.client
495
495
 
@@ -504,7 +504,7 @@ module Moov
504
504
  error = T.let(nil, T.nilable(StandardError))
505
505
  http_response = T.let(nil, T.nilable(Faraday::Response))
506
506
 
507
-
507
+
508
508
  begin
509
509
  http_response = T.must(connection).get(url) do |req|
510
510
  req.headers.merge!(headers)
@@ -540,13 +540,13 @@ module Moov
540
540
  response: http_response
541
541
  )
542
542
  end
543
-
543
+
544
544
  if http_response.nil?
545
545
  raise error if !error.nil?
546
546
  raise 'no response'
547
547
  end
548
548
  end
549
-
549
+
550
550
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
551
551
  if Utils.match_status_code(http_response.status, ['200'])
552
552
  if Utils.match_content_type(content_type, 'application/json')
@@ -637,7 +637,7 @@ module Moov
637
637
 
638
638
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
639
639
  timeout ||= @sdk_configuration.timeout
640
-
640
+
641
641
 
642
642
  connection = @sdk_configuration.client
643
643
 
@@ -652,7 +652,7 @@ module Moov
652
652
  error = T.let(nil, T.nilable(StandardError))
653
653
  http_response = T.let(nil, T.nilable(Faraday::Response))
654
654
 
655
-
655
+
656
656
  begin
657
657
  http_response = T.must(connection).patch(url) do |req|
658
658
  req.body = body
@@ -689,13 +689,13 @@ module Moov
689
689
  response: http_response
690
690
  )
691
691
  end
692
-
692
+
693
693
  if http_response.nil?
694
694
  raise error if !error.nil?
695
695
  raise 'no response'
696
696
  end
697
697
  end
698
-
698
+
699
699
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
700
700
  if Utils.match_status_code(http_response.status, ['200'])
701
701
  if Utils.match_content_type(content_type, 'application/json')