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.
Files changed (90) 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/images.rb +28 -28
  20. data/lib/moov/industries.rb +4 -4
  21. data/lib/moov/institutions.rb +8 -8
  22. data/lib/moov/issuing_transactions.rb +20 -20
  23. data/lib/moov/models/components/addcapabilities.rb +5 -1
  24. data/lib/moov/models/components/billingaddress.rb +52 -0
  25. data/lib/moov/models/components/billingaddress.rbi +23 -0
  26. data/lib/moov/models/components/capability.rb +7 -1
  27. data/lib/moov/models/components/capabilityid.rb +7 -1
  28. data/lib/moov/models/components/createaccount.rb +5 -1
  29. data/lib/moov/models/components/createpaymentlink.rb +4 -4
  30. data/lib/moov/models/components/fullissuedcard.rb +22 -10
  31. data/lib/moov/models/components/fullissuedcard.rbi +10 -4
  32. data/lib/moov/models/components/issuedcard.rb +22 -10
  33. data/lib/moov/models/components/issuedcard.rbi +10 -4
  34. data/lib/moov/models/components/onboardinginvite.rb +1 -1
  35. data/lib/moov/models/components/onboardinginviterequest.rb +1 -1
  36. data/lib/moov/models/components/paymentlink.rb +3 -3
  37. data/lib/moov/models/components/requestcard.rb +17 -17
  38. data/lib/moov/models/components/requestcard.rbi +8 -8
  39. data/lib/moov/models/components/updateissuedcard.rb +13 -9
  40. data/lib/moov/models/components/updateissuedcard.rbi +6 -4
  41. data/lib/moov/models/components/webhookdataauthorizationexpiring.rb +44 -0
  42. data/lib/moov/models/components/webhookdataauthorizationexpiring.rbi +19 -0
  43. data/lib/moov/models/components/webhookdatacapabilityrequested.rb +7 -1
  44. data/lib/moov/models/components/webhookdatacapabilityupdated.rb +7 -1
  45. data/lib/moov/models/components/webhookdatasweepcreated.rb +6 -2
  46. data/lib/moov/models/components/webhookdatasweepcreated.rbi +2 -0
  47. data/lib/moov/models/components/webhookdatasweepupdated.rb +6 -2
  48. data/lib/moov/models/components/webhookdatasweepupdated.rbi +2 -0
  49. data/lib/moov/models/components/webhookevent.rb +2 -2
  50. data/lib/moov/models/components/webhookeventtype.rb +1 -0
  51. data/lib/moov/models/components.rb +2 -4
  52. data/lib/moov/models/errors/requestcarderror.rb +14 -14
  53. data/lib/moov/models/errors/requestcarderror.rbi +8 -8
  54. data/lib/moov/models/errors/updateissuedcarderror.rb +12 -8
  55. data/lib/moov/models/errors/updateissuedcarderror.rbi +6 -4
  56. data/lib/moov/models/operations/disablecapability_request.rb +7 -1
  57. data/lib/moov/models/operations/getcapability_request.rb +7 -1
  58. data/lib/moov/models/operations/listcancellations_request.rb +36 -0
  59. data/lib/moov/models/operations/listcancellations_request.rbi +15 -0
  60. data/lib/moov/models/operations/listcancellations_response.rb +48 -0
  61. data/lib/moov/models/operations/listcancellations_response.rbi +21 -0
  62. data/lib/moov/models/operations.rb +2 -0
  63. data/lib/moov/onboarding.rb +16 -16
  64. data/lib/moov/payment_links.rb +24 -24
  65. data/lib/moov/payment_methods.rb +8 -8
  66. data/lib/moov/ping.rb +4 -4
  67. data/lib/moov/products.rb +20 -20
  68. data/lib/moov/receipts.rb +8 -8
  69. data/lib/moov/representatives.rb +20 -20
  70. data/lib/moov/scheduling.rb +24 -24
  71. data/lib/moov/sdkconfiguration.rb +3 -3
  72. data/lib/moov/statements.rb +8 -8
  73. data/lib/moov/support.rb +20 -20
  74. data/lib/moov/sweeps.rb +24 -24
  75. data/lib/moov/terminal_applications.rb +20 -20
  76. data/lib/moov/transfers.rb +171 -48
  77. data/lib/moov/underwriting.rb +12 -12
  78. data/lib/moov/utils/retries.rb +4 -1
  79. data/lib/moov/wallet_transactions.rb +8 -8
  80. data/lib/moov/wallets.rb +16 -16
  81. data/lib/moov/webhooks.rb +32 -32
  82. metadata +10 -10
  83. data/lib/moov/models/components/authorizeduser.rb +0 -36
  84. data/lib/moov/models/components/authorizeduser.rbi +0 -15
  85. data/lib/moov/models/components/createauthorizeduser.rb +0 -40
  86. data/lib/moov/models/components/createauthorizeduser.rbi +0 -17
  87. data/lib/moov/models/components/createauthorizedusererror.rb +0 -40
  88. data/lib/moov/models/components/createauthorizedusererror.rbi +0 -17
  89. data/lib/moov/models/components/createauthorizeduserupdate.rb +0 -40
  90. data/lib/moov/models/components/createauthorizeduserupdate.rbi +0 -17
@@ -45,7 +45,7 @@ module Moov
45
45
  def list(account_id:, timeout_ms: nil, http_headers: nil)
46
46
  # list - Retrieve all the capabilities an account has requested.
47
47
  #
48
- # Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
48
+ # Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
49
49
  #
50
50
  # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
51
51
  # you'll need to specify the `/accounts/{accountID}/capabilities.read` scope.
@@ -69,7 +69,7 @@ module Moov
69
69
 
70
70
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
71
71
  timeout ||= @sdk_configuration.timeout
72
-
72
+
73
73
 
74
74
  connection = @sdk_configuration.client
75
75
 
@@ -84,7 +84,7 @@ module Moov
84
84
  error = T.let(nil, T.nilable(StandardError))
85
85
  http_response = T.let(nil, T.nilable(Faraday::Response))
86
86
 
87
-
87
+
88
88
  begin
89
89
  http_response = T.must(connection).get(url) do |req|
90
90
  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')
@@ -167,7 +167,7 @@ module Moov
167
167
 
168
168
  sig { params(add_capabilities: Models::Components::AddCapabilities, account_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::RequestCapabilitiesResponse) }
169
169
  def request(add_capabilities:, account_id:, timeout_ms: nil, http_headers: nil)
170
- # request - Request capabilities for a specific account. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
170
+ # request - Request capabilities for a specific account. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
171
171
  #
172
172
  # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
173
173
  # you'll need to specify the `/accounts/{accountID}/capabilities.write` scope.
@@ -203,7 +203,7 @@ module Moov
203
203
 
204
204
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
205
205
  timeout ||= @sdk_configuration.timeout
206
-
206
+
207
207
 
208
208
  connection = @sdk_configuration.client
209
209
 
@@ -218,7 +218,7 @@ module Moov
218
218
  error = T.let(nil, T.nilable(StandardError))
219
219
  http_response = T.let(nil, T.nilable(Faraday::Response))
220
220
 
221
-
221
+
222
222
  begin
223
223
  http_response = T.must(connection).post(url) do |req|
224
224
  req.body = body
@@ -255,13 +255,13 @@ module Moov
255
255
  response: http_response
256
256
  )
257
257
  end
258
-
258
+
259
259
  if http_response.nil?
260
260
  raise error if !error.nil?
261
261
  raise 'no response'
262
262
  end
263
263
  end
264
-
264
+
265
265
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
266
266
  if Utils.match_status_code(http_response.status, ['200'])
267
267
  if Utils.match_content_type(content_type, 'application/json')
@@ -332,7 +332,7 @@ module Moov
332
332
 
333
333
  sig { params(account_id: ::String, capability_id: Models::Components::CapabilityID, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetCapabilityResponse) }
334
334
  def get(account_id:, capability_id:, timeout_ms: nil, http_headers: nil)
335
- # get - Retrieve a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
335
+ # get - Retrieve a specific capability that an account has requested. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
336
336
  #
337
337
  # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
338
338
  # you'll need to specify the `/accounts/{accountID}/capabilities.read` scope.
@@ -357,7 +357,7 @@ module Moov
357
357
 
358
358
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
359
359
  timeout ||= @sdk_configuration.timeout
360
-
360
+
361
361
 
362
362
  connection = @sdk_configuration.client
363
363
 
@@ -372,7 +372,7 @@ module Moov
372
372
  error = T.let(nil, T.nilable(StandardError))
373
373
  http_response = T.let(nil, T.nilable(Faraday::Response))
374
374
 
375
-
375
+
376
376
  begin
377
377
  http_response = T.must(connection).get(url) do |req|
378
378
  req.headers.merge!(headers)
@@ -408,13 +408,13 @@ module Moov
408
408
  response: http_response
409
409
  )
410
410
  end
411
-
411
+
412
412
  if http_response.nil?
413
413
  raise error if !error.nil?
414
414
  raise 'no response'
415
415
  end
416
416
  end
417
-
417
+
418
418
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
419
419
  if Utils.match_status_code(http_response.status, ['200'])
420
420
  if Utils.match_content_type(content_type, 'application/json')
@@ -455,7 +455,7 @@ module Moov
455
455
 
456
456
  sig { params(account_id: ::String, capability_id: Models::Components::CapabilityID, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::DisableCapabilityResponse) }
457
457
  def disable(account_id:, capability_id:, timeout_ms: nil, http_headers: nil)
458
- # disable - Disable a specific capability that an account has requested. Read our [capabilities guide](https://docs.moov.io/guides/accounts/capabilities/) to learn more.
458
+ # disable - Disable a specific capability that an account has requested. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
459
459
  #
460
460
  # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
461
461
  # you'll need to specify the `/accounts/{accountID}/capabilities.write` scope.
@@ -480,7 +480,7 @@ module Moov
480
480
 
481
481
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
482
482
  timeout ||= @sdk_configuration.timeout
483
-
483
+
484
484
 
485
485
  connection = @sdk_configuration.client
486
486
 
@@ -495,7 +495,7 @@ module Moov
495
495
  error = T.let(nil, T.nilable(StandardError))
496
496
  http_response = T.let(nil, T.nilable(Faraday::Response))
497
497
 
498
-
498
+
499
499
  begin
500
500
  http_response = T.must(connection).delete(url) do |req|
501
501
  req.headers.merge!(headers)
@@ -531,13 +531,13 @@ module Moov
531
531
  response: http_response
532
532
  )
533
533
  end
534
-
534
+
535
535
  if http_response.nil?
536
536
  raise error if !error.nil?
537
537
  raise 'no response'
538
538
  end
539
539
  end
540
-
540
+
541
541
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
542
542
  if Utils.match_status_code(http_response.status, ['204'])
543
543
  http_response = @sdk_configuration.hooks.after_success(
@@ -56,7 +56,7 @@ module Moov
56
56
  url = Utils.generate_url(
57
57
  Models::Operations::RequestCardRequest,
58
58
  base_url,
59
- '/issuing/{accountID}/issued-cards',
59
+ '/issuing/{accountID}/cards',
60
60
  request
61
61
  )
62
62
  headers = {}
@@ -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')
@@ -223,7 +223,7 @@ module Moov
223
223
  url = Utils.generate_url(
224
224
  Models::Operations::ListIssuedCardsRequest,
225
225
  base_url,
226
- '/issuing/{accountID}/issued-cards',
226
+ '/issuing/{accountID}/cards',
227
227
  request
228
228
  )
229
229
  headers = {}
@@ -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')
@@ -348,7 +348,7 @@ module Moov
348
348
  url = Utils.generate_url(
349
349
  Models::Operations::GetIssuedCardRequest,
350
350
  base_url,
351
- '/issuing/{accountID}/issued-cards/{issuedCardID}',
351
+ '/issuing/{accountID}/cards/{issuedCardID}',
352
352
  request
353
353
  )
354
354
  headers = {}
@@ -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')
@@ -472,7 +472,7 @@ module Moov
472
472
  url = Utils.generate_url(
473
473
  Models::Operations::UpdateIssuedCardRequest,
474
474
  base_url,
475
- '/issuing/{accountID}/issued-cards/{issuedCardID}',
475
+ '/issuing/{accountID}/cards/{issuedCardID}',
476
476
  request
477
477
  )
478
478
  headers = {}
@@ -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')
@@ -639,7 +639,7 @@ module Moov
639
639
  url = Utils.generate_url(
640
640
  Models::Operations::GetFullIssuedCardRequest,
641
641
  base_url,
642
- '/issuing/{accountID}/issued-cards/{issuedCardID}/details',
642
+ '/issuing/{accountID}/cards/{issuedCardID}/details',
643
643
  request
644
644
  )
645
645
  headers = {}
@@ -651,7 +651,7 @@ module Moov
651
651
 
652
652
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
653
653
  timeout ||= @sdk_configuration.timeout
654
-
654
+
655
655
 
656
656
  connection = @sdk_configuration.client
657
657
 
@@ -666,7 +666,7 @@ module Moov
666
666
  error = T.let(nil, T.nilable(StandardError))
667
667
  http_response = T.let(nil, T.nilable(Faraday::Response))
668
668
 
669
-
669
+
670
670
  begin
671
671
  http_response = T.must(connection).get(url) do |req|
672
672
  req.headers.merge!(headers)
@@ -702,13 +702,13 @@ module Moov
702
702
  response: http_response
703
703
  )
704
704
  end
705
-
705
+
706
706
  if http_response.nil?
707
707
  raise error if !error.nil?
708
708
  raise 'no response'
709
709
  end
710
710
  end
711
-
711
+
712
712
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
713
713
  if Utils.match_status_code(http_response.status, ['200'])
714
714
  if Utils.match_content_type(content_type, 'application/json')
data/lib/moov/cards.rb CHANGED
@@ -94,7 +94,7 @@ module Moov
94
94
 
95
95
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
96
96
  timeout ||= @sdk_configuration.timeout
97
-
97
+
98
98
 
99
99
  connection = @sdk_configuration.client
100
100
 
@@ -109,7 +109,7 @@ module Moov
109
109
  error = T.let(nil, T.nilable(StandardError))
110
110
  http_response = T.let(nil, T.nilable(Faraday::Response))
111
111
 
112
-
112
+
113
113
  begin
114
114
  http_response = T.must(connection).post(url) do |req|
115
115
  req.body = body
@@ -146,13 +146,13 @@ module Moov
146
146
  response: http_response
147
147
  )
148
148
  end
149
-
149
+
150
150
  if http_response.nil?
151
151
  raise error if !error.nil?
152
152
  raise 'no response'
153
153
  end
154
154
  end
155
-
155
+
156
156
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
157
157
  if Utils.match_status_code(http_response.status, ['200'])
158
158
  if Utils.match_content_type(content_type, 'application/json')
@@ -264,7 +264,7 @@ module Moov
264
264
 
265
265
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
266
266
  timeout ||= @sdk_configuration.timeout
267
-
267
+
268
268
 
269
269
  connection = @sdk_configuration.client
270
270
 
@@ -279,7 +279,7 @@ module Moov
279
279
  error = T.let(nil, T.nilable(StandardError))
280
280
  http_response = T.let(nil, T.nilable(Faraday::Response))
281
281
 
282
-
282
+
283
283
  begin
284
284
  http_response = T.must(connection).get(url) do |req|
285
285
  req.headers.merge!(headers)
@@ -315,13 +315,13 @@ module Moov
315
315
  response: http_response
316
316
  )
317
317
  end
318
-
318
+
319
319
  if http_response.nil?
320
320
  raise error if !error.nil?
321
321
  raise 'no response'
322
322
  end
323
323
  end
324
-
324
+
325
325
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
326
326
  if Utils.match_status_code(http_response.status, ['200'])
327
327
  if Utils.match_content_type(content_type, 'application/json')
@@ -389,7 +389,7 @@ module Moov
389
389
 
390
390
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
391
391
  timeout ||= @sdk_configuration.timeout
392
-
392
+
393
393
 
394
394
  connection = @sdk_configuration.client
395
395
 
@@ -404,7 +404,7 @@ module Moov
404
404
  error = T.let(nil, T.nilable(StandardError))
405
405
  http_response = T.let(nil, T.nilable(Faraday::Response))
406
406
 
407
-
407
+
408
408
  begin
409
409
  http_response = T.must(connection).get(url) do |req|
410
410
  req.headers.merge!(headers)
@@ -440,13 +440,13 @@ module Moov
440
440
  response: http_response
441
441
  )
442
442
  end
443
-
443
+
444
444
  if http_response.nil?
445
445
  raise error if !error.nil?
446
446
  raise 'no response'
447
447
  end
448
448
  end
449
-
449
+
450
450
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
451
451
  if Utils.match_status_code(http_response.status, ['200'])
452
452
  if Utils.match_content_type(content_type, 'application/json')
@@ -533,7 +533,7 @@ module Moov
533
533
 
534
534
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
535
535
  timeout ||= @sdk_configuration.timeout
536
-
536
+
537
537
 
538
538
  connection = @sdk_configuration.client
539
539
 
@@ -548,7 +548,7 @@ module Moov
548
548
  error = T.let(nil, T.nilable(StandardError))
549
549
  http_response = T.let(nil, T.nilable(Faraday::Response))
550
550
 
551
-
551
+
552
552
  begin
553
553
  http_response = T.must(connection).patch(url) do |req|
554
554
  req.body = body
@@ -585,13 +585,13 @@ module Moov
585
585
  response: http_response
586
586
  )
587
587
  end
588
-
588
+
589
589
  if http_response.nil?
590
590
  raise error if !error.nil?
591
591
  raise 'no response'
592
592
  end
593
593
  end
594
-
594
+
595
595
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
596
596
  if Utils.match_status_code(http_response.status, ['200'])
597
597
  if Utils.match_content_type(content_type, 'application/json')
@@ -687,7 +687,7 @@ module Moov
687
687
 
688
688
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
689
689
  timeout ||= @sdk_configuration.timeout
690
-
690
+
691
691
 
692
692
  connection = @sdk_configuration.client
693
693
 
@@ -702,7 +702,7 @@ module Moov
702
702
  error = T.let(nil, T.nilable(StandardError))
703
703
  http_response = T.let(nil, T.nilable(Faraday::Response))
704
704
 
705
-
705
+
706
706
  begin
707
707
  http_response = T.must(connection).delete(url) do |req|
708
708
  req.headers.merge!(headers)
@@ -738,13 +738,13 @@ module Moov
738
738
  response: http_response
739
739
  )
740
740
  end
741
-
741
+
742
742
  if http_response.nil?
743
743
  raise error if !error.nil?
744
744
  raise 'no response'
745
745
  end
746
746
  end
747
-
747
+
748
748
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
749
749
  if Utils.match_status_code(http_response.status, ['204'])
750
750
  http_response = @sdk_configuration.hooks.after_success(