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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2cdef0a858ae85fa3a8ef60bba8ba14e9e64aece10af0cb8b730ba9a67467e9e
4
- data.tar.gz: ae60234eca8525039ff5dbcb4e835ca723e33e274e67ac725c49cd453858696e
3
+ metadata.gz: 4199d153724734bf5c5491951ddf8c6bac1b9753212d3c6809d588fc27b21939
4
+ data.tar.gz: 22db1956838e9407097328fbb54a68b52a3064ba7547eae59e6d98a6fc7a12ca
5
5
  SHA512:
6
- metadata.gz: 41f7fbf850fdb1147ebf3dbb129b142906734360831e8e9457fc0c2d597e5452102a64fc48ca2c38aa549c7dbbc03c37fd04ae93354a6afcd5fc6fb4ad276230
7
- data.tar.gz: 8b744d3075a88a8a580e1bf9dcc1f4311115706a3f2a5b4d15f0d7b0c3fad9d84962282b35df2acf6bc1b554390430f6403b997b354fc075e94194a3853c719e
6
+ metadata.gz: 2066ef33e7aeedc1e7f6c67418503d2334b652fcb3974ef99089b0b4462bf67f7f49173b6096bbfa8453e71de1f9268b83ee72f197185fcb0188c742ddcd1aac
7
+ data.tar.gz: 87e4eb9d63b43473587014006b7c90aedf4f94d5889e317bc8e1ce52ad7425d6a84ead699cf023fe1865a7ceac7adf3ba26e66fe4dfc6ef809c984bb950e6d27
@@ -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')
@@ -478,7 +478,7 @@ module Moov
478
478
 
479
479
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
480
480
  timeout ||= @sdk_configuration.timeout
481
-
481
+
482
482
 
483
483
  connection = @sdk_configuration.client
484
484
 
@@ -493,7 +493,7 @@ module Moov
493
493
  error = T.let(nil, T.nilable(StandardError))
494
494
  http_response = T.let(nil, T.nilable(Faraday::Response))
495
495
 
496
-
496
+
497
497
  begin
498
498
  http_response = T.must(connection).get(url) do |req|
499
499
  req.headers.merge!(headers)
@@ -529,13 +529,13 @@ module Moov
529
529
  response: http_response
530
530
  )
531
531
  end
532
-
532
+
533
533
  if http_response.nil?
534
534
  raise error if !error.nil?
535
535
  raise 'no response'
536
536
  end
537
537
  end
538
-
538
+
539
539
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
540
540
  if Utils.match_status_code(http_response.status, ['200'])
541
541
  if Utils.match_content_type(content_type, 'application/json')
data/lib/moov/accounts.rb CHANGED
@@ -43,21 +43,19 @@ module Moov
43
43
 
44
44
  sig { params(request: Models::Components::CreateAccount, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::CreateAccountResponse) }
45
45
  def create(request:, timeout_ms: nil, http_headers: nil)
46
- # create - You can create **business** or **individual** accounts for your users (i.e., customers, merchants) by passing the required
47
- # information to Moov. Requirements differ per account type and requested [capabilities](https://docs.moov.io/guides/accounts/capabilities/requirements/).
46
+ # create - You can create business or individual accounts for your users (i.e., customers, merchants) by passing the required information to Moov. Requirements differ per account type and requested [capabilities](https://docs.moov.io/guides/accounts/capabilities/reference/).
48
47
  #
49
- # If you're requesting the `wallet`, `send-funds`, `collect-funds`, or `card-issuing` capabilities, you'll need to:
50
- # + Send Moov the user [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance.
51
- # This can be done upon account creation, or by [patching](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account using the `termsOfService` field.
52
- # If you're creating a business account with the business type `llc`, `partnership`, or `privateCorporation`, you'll need to:
48
+ # The `transfers` capability is automatically requested for every account. If you request any capability beyond `transfers` (for example, `send-funds.ach`, `collect-funds.card-payments`), you'll need to:
49
+ # + Send Moov the user's [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance. This can be done at account creation, or by [patching](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account using the `termsOfService` field.
50
+ # + Fulfill the [verification and underwriting requirements](https://docs.moov.io/guides/accounts/requirements/) for each requested capability. A capability isn't enabled until its requirements pass — check the capability's status to see what's still outstanding.
51
+ #
52
+ # If you're creating a business account, depending on the business type, you'll also need to:
53
53
  # + Provide [business representatives](https://docs.moov.io/api/moov-accounts/representatives/) after creating the account.
54
54
  # + [Patch](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account to indicate that business representative ownership information is complete.
55
55
  #
56
- # Visit our documentation to read more about [creating accounts](https://docs.moov.io/guides/accounts/create-accounts/) and [verification requirements](https://docs.moov.io/guides/accounts/requirements/identity-verification/).
57
- # Note that the `mode` field (for production or sandbox) is only required when creating a _facilitator_ account. All non-facilitator account requests will ignore the mode field and be set to the calling facilitator's mode.
56
+ # Visit our documentation to read more about [creating accounts](https://docs.moov.io/guides/accounts/create-accounts/) and [verification requirements](https://docs.moov.io/guides/accounts/requirements/identity-verification/). Note that the `mode` field (for production or sandbox) is only required when creating a Partner account. All other account requests will ignore the mode field and be set to the calling Partner account's mode.
58
57
  #
59
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
60
- # to specify the `/accounts.write` scope.
58
+ # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts.write` scope.
61
59
  url, params = @sdk_configuration.get_server_details
62
60
  base_url = Utils.template_url(url, params)
63
61
  url = "#{base_url}/accounts"
@@ -81,7 +79,7 @@ module Moov
81
79
 
82
80
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
83
81
  timeout ||= @sdk_configuration.timeout
84
-
82
+
85
83
 
86
84
  connection = @sdk_configuration.client
87
85
 
@@ -96,7 +94,7 @@ module Moov
96
94
  error = T.let(nil, T.nilable(StandardError))
97
95
  http_response = T.let(nil, T.nilable(Faraday::Response))
98
96
 
99
-
97
+
100
98
  begin
101
99
  http_response = T.must(connection).post(url) do |req|
102
100
  req.body = body
@@ -133,13 +131,13 @@ module Moov
133
131
  response: http_response
134
132
  )
135
133
  end
136
-
134
+
137
135
  if http_response.nil?
138
136
  raise error if !error.nil?
139
137
  raise 'no response'
140
138
  end
141
139
  end
142
-
140
+
143
141
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
144
142
  if Utils.match_status_code(http_response.status, ['200'])
145
143
  if Utils.match_content_type(content_type, 'application/json')
@@ -231,7 +229,7 @@ module Moov
231
229
 
232
230
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
233
231
  timeout ||= @sdk_configuration.timeout
234
-
232
+
235
233
 
236
234
  connection = @sdk_configuration.client
237
235
 
@@ -246,7 +244,7 @@ module Moov
246
244
  error = T.let(nil, T.nilable(StandardError))
247
245
  http_response = T.let(nil, T.nilable(Faraday::Response))
248
246
 
249
-
247
+
250
248
  begin
251
249
  http_response = T.must(connection).get(url) do |req|
252
250
  req.headers.merge!(headers)
@@ -283,13 +281,13 @@ module Moov
283
281
  response: http_response
284
282
  )
285
283
  end
286
-
284
+
287
285
  if http_response.nil?
288
286
  raise error if !error.nil?
289
287
  raise 'no response'
290
288
  end
291
289
  end
292
-
290
+
293
291
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
294
292
  if Utils.match_status_code(http_response.status, ['200'])
295
293
  if Utils.match_content_type(content_type, 'application/json')
@@ -354,7 +352,7 @@ module Moov
354
352
 
355
353
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
356
354
  timeout ||= @sdk_configuration.timeout
357
-
355
+
358
356
 
359
357
  connection = @sdk_configuration.client
360
358
 
@@ -369,7 +367,7 @@ module Moov
369
367
  error = T.let(nil, T.nilable(StandardError))
370
368
  http_response = T.let(nil, T.nilable(Faraday::Response))
371
369
 
372
-
370
+
373
371
  begin
374
372
  http_response = T.must(connection).get(url) do |req|
375
373
  req.headers.merge!(headers)
@@ -405,13 +403,13 @@ module Moov
405
403
  response: http_response
406
404
  )
407
405
  end
408
-
406
+
409
407
  if http_response.nil?
410
408
  raise error if !error.nil?
411
409
  raise 'no response'
412
410
  end
413
411
  end
414
-
412
+
415
413
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
416
414
  if Utils.match_status_code(http_response.status, ['200'])
417
415
  if Utils.match_content_type(content_type, 'application/json')
@@ -496,7 +494,7 @@ module Moov
496
494
 
497
495
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
498
496
  timeout ||= @sdk_configuration.timeout
499
-
497
+
500
498
 
501
499
  connection = @sdk_configuration.client
502
500
 
@@ -511,7 +509,7 @@ module Moov
511
509
  error = T.let(nil, T.nilable(StandardError))
512
510
  http_response = T.let(nil, T.nilable(Faraday::Response))
513
511
 
514
-
512
+
515
513
  begin
516
514
  http_response = T.must(connection).patch(url) do |req|
517
515
  req.body = body
@@ -548,13 +546,13 @@ module Moov
548
546
  response: http_response
549
547
  )
550
548
  end
551
-
549
+
552
550
  if http_response.nil?
553
551
  raise error if !error.nil?
554
552
  raise 'no response'
555
553
  end
556
554
  end
557
-
555
+
558
556
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
559
557
  if Utils.match_status_code(http_response.status, ['200'])
560
558
  if Utils.match_content_type(content_type, 'application/json')
@@ -651,7 +649,7 @@ module Moov
651
649
 
652
650
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
653
651
  timeout ||= @sdk_configuration.timeout
654
-
652
+
655
653
 
656
654
  connection = @sdk_configuration.client
657
655
 
@@ -666,7 +664,7 @@ module Moov
666
664
  error = T.let(nil, T.nilable(StandardError))
667
665
  http_response = T.let(nil, T.nilable(Faraday::Response))
668
666
 
669
-
667
+
670
668
  begin
671
669
  http_response = T.must(connection).delete(url) do |req|
672
670
  req.headers.merge!(headers)
@@ -702,13 +700,13 @@ module Moov
702
700
  response: http_response
703
701
  )
704
702
  end
705
-
703
+
706
704
  if http_response.nil?
707
705
  raise error if !error.nil?
708
706
  raise 'no response'
709
707
  end
710
708
  end
711
-
709
+
712
710
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
713
711
  if Utils.match_status_code(http_response.status, ['204'])
714
712
  http_response = @sdk_configuration.hooks.after_success(
@@ -781,7 +779,7 @@ module Moov
781
779
 
782
780
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
783
781
  timeout ||= @sdk_configuration.timeout
784
-
782
+
785
783
 
786
784
  connection = @sdk_configuration.client
787
785
 
@@ -796,7 +794,7 @@ module Moov
796
794
  error = T.let(nil, T.nilable(StandardError))
797
795
  http_response = T.let(nil, T.nilable(Faraday::Response))
798
796
 
799
-
797
+
800
798
  begin
801
799
  http_response = T.must(connection).get(url) do |req|
802
800
  req.headers.merge!(headers)
@@ -833,13 +831,13 @@ module Moov
833
831
  response: http_response
834
832
  )
835
833
  end
836
-
834
+
837
835
  if http_response.nil?
838
836
  raise error if !error.nil?
839
837
  raise 'no response'
840
838
  end
841
839
  end
842
-
840
+
843
841
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
844
842
  if Utils.match_status_code(http_response.status, ['200'])
845
843
  if Utils.match_content_type(content_type, 'application/json')
@@ -914,7 +912,7 @@ module Moov
914
912
 
915
913
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
916
914
  timeout ||= @sdk_configuration.timeout
917
-
915
+
918
916
 
919
917
  connection = @sdk_configuration.client
920
918
 
@@ -929,7 +927,7 @@ module Moov
929
927
  error = T.let(nil, T.nilable(StandardError))
930
928
  http_response = T.let(nil, T.nilable(Faraday::Response))
931
929
 
932
-
930
+
933
931
  begin
934
932
  http_response = T.must(connection).post(url) do |req|
935
933
  req.body = body
@@ -966,13 +964,13 @@ module Moov
966
964
  response: http_response
967
965
  )
968
966
  end
969
-
967
+
970
968
  if http_response.nil?
971
969
  raise error if !error.nil?
972
970
  raise 'no response'
973
971
  end
974
972
  end
975
-
973
+
976
974
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
977
975
  if Utils.match_status_code(http_response.status, ['201'])
978
976
  http_response = @sdk_configuration.hooks.after_success(
@@ -1058,7 +1056,7 @@ module Moov
1058
1056
 
1059
1057
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1060
1058
  timeout ||= @sdk_configuration.timeout
1061
-
1059
+
1062
1060
 
1063
1061
  connection = @sdk_configuration.client
1064
1062
 
@@ -1073,7 +1071,7 @@ module Moov
1073
1071
  error = T.let(nil, T.nilable(StandardError))
1074
1072
  http_response = T.let(nil, T.nilable(Faraday::Response))
1075
1073
 
1076
-
1074
+
1077
1075
  begin
1078
1076
  http_response = T.must(connection).get(url) do |req|
1079
1077
  req.headers.merge!(headers)
@@ -1109,13 +1107,13 @@ module Moov
1109
1107
  response: http_response
1110
1108
  )
1111
1109
  end
1112
-
1110
+
1113
1111
  if http_response.nil?
1114
1112
  raise error if !error.nil?
1115
1113
  raise 'no response'
1116
1114
  end
1117
1115
  end
1118
-
1116
+
1119
1117
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1120
1118
  if Utils.match_status_code(http_response.status, ['200'])
1121
1119
  if Utils.match_content_type(content_type, 'application/json')
@@ -1194,7 +1192,7 @@ module Moov
1194
1192
 
1195
1193
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1196
1194
  timeout ||= @sdk_configuration.timeout
1197
-
1195
+
1198
1196
 
1199
1197
  connection = @sdk_configuration.client
1200
1198
 
@@ -1209,7 +1207,7 @@ module Moov
1209
1207
  error = T.let(nil, T.nilable(StandardError))
1210
1208
  http_response = T.let(nil, T.nilable(Faraday::Response))
1211
1209
 
1212
-
1210
+
1213
1211
  begin
1214
1212
  http_response = T.must(connection).put(url) do |req|
1215
1213
  req.body = body
@@ -1246,13 +1244,13 @@ module Moov
1246
1244
  response: http_response
1247
1245
  )
1248
1246
  end
1249
-
1247
+
1250
1248
  if http_response.nil?
1251
1249
  raise error if !error.nil?
1252
1250
  raise 'no response'
1253
1251
  end
1254
1252
  end
1255
-
1253
+
1256
1254
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1257
1255
  if Utils.match_status_code(http_response.status, ['200'])
1258
1256
  if Utils.match_content_type(content_type, 'application/json')
@@ -1347,7 +1345,7 @@ module Moov
1347
1345
 
1348
1346
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1349
1347
  timeout ||= @sdk_configuration.timeout
1350
-
1348
+
1351
1349
 
1352
1350
  connection = @sdk_configuration.client
1353
1351
 
@@ -1362,7 +1360,7 @@ module Moov
1362
1360
  error = T.let(nil, T.nilable(StandardError))
1363
1361
  http_response = T.let(nil, T.nilable(Faraday::Response))
1364
1362
 
1365
-
1363
+
1366
1364
  begin
1367
1365
  http_response = T.must(connection).get(url) do |req|
1368
1366
  req.headers.merge!(headers)
@@ -1398,13 +1396,13 @@ module Moov
1398
1396
  response: http_response
1399
1397
  )
1400
1398
  end
1401
-
1399
+
1402
1400
  if http_response.nil?
1403
1401
  raise error if !error.nil?
1404
1402
  raise 'no response'
1405
1403
  end
1406
1404
  end
1407
-
1405
+
1408
1406
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1409
1407
  if Utils.match_status_code(http_response.status, ['200'])
1410
1408
  if Utils.match_content_type(content_type, 'application/pdf')
@@ -1464,7 +1462,7 @@ module Moov
1464
1462
 
1465
1463
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1466
1464
  timeout ||= @sdk_configuration.timeout
1467
-
1465
+
1468
1466
 
1469
1467
  connection = @sdk_configuration.client
1470
1468
 
@@ -1479,7 +1477,7 @@ module Moov
1479
1477
  error = T.let(nil, T.nilable(StandardError))
1480
1478
  http_response = T.let(nil, T.nilable(Faraday::Response))
1481
1479
 
1482
-
1480
+
1483
1481
  begin
1484
1482
  http_response = T.must(connection).get(url) do |req|
1485
1483
  req.headers.merge!(headers)
@@ -1515,13 +1513,13 @@ module Moov
1515
1513
  response: http_response
1516
1514
  )
1517
1515
  end
1518
-
1516
+
1519
1517
  if http_response.nil?
1520
1518
  raise error if !error.nil?
1521
1519
  raise 'no response'
1522
1520
  end
1523
1521
  end
1524
-
1522
+
1525
1523
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1526
1524
  if Utils.match_status_code(http_response.status, ['200'])
1527
1525
  if Utils.match_content_type(content_type, 'application/json')
@@ -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)
@@ -121,13 +121,13 @@ module Moov
121
121
  response: http_response
122
122
  )
123
123
  end
124
-
124
+
125
125
  if http_response.nil?
126
126
  raise error if !error.nil?
127
127
  raise 'no response'
128
128
  end
129
129
  end
130
-
130
+
131
131
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
132
132
  if Utils.match_status_code(http_response.status, ['200'])
133
133
  if Utils.match_content_type(content_type, 'application/json')
@@ -193,7 +193,7 @@ module Moov
193
193
 
194
194
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
195
195
  timeout ||= @sdk_configuration.timeout
196
-
196
+
197
197
 
198
198
  connection = @sdk_configuration.client
199
199
 
@@ -208,7 +208,7 @@ module Moov
208
208
  error = T.let(nil, T.nilable(StandardError))
209
209
  http_response = T.let(nil, T.nilable(Faraday::Response))
210
210
 
211
-
211
+
212
212
  begin
213
213
  http_response = T.must(connection).get(url) do |req|
214
214
  req.headers.merge!(headers)
@@ -244,13 +244,13 @@ module Moov
244
244
  response: http_response
245
245
  )
246
246
  end
247
-
247
+
248
248
  if http_response.nil?
249
249
  raise error if !error.nil?
250
250
  raise 'no response'
251
251
  end
252
252
  end
253
-
253
+
254
254
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
255
255
  if Utils.match_status_code(http_response.status, ['200'])
256
256
  if Utils.match_content_type(content_type, 'application/json')