moov_ruby 26.4.8 → 26.7.0.pre.dev.0

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 (163) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moov/account_terminal_applications.rb +16 -16
  3. data/lib/moov/accounts.rb +54 -52
  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 +178 -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 +1 -5
  26. data/lib/moov/models/components/amountdecimalrange.rb +36 -0
  27. data/lib/moov/models/components/amountdecimalrange.rbi +15 -0
  28. data/lib/moov/models/components/amountdecimalrangeupdate.rb +36 -0
  29. data/lib/moov/models/components/amountdecimalrangeupdate.rbi +15 -0
  30. data/lib/moov/models/components/authorizeduser.rb +36 -0
  31. data/lib/moov/models/components/authorizeduser.rbi +15 -0
  32. data/lib/moov/models/components/capability.rb +1 -7
  33. data/lib/moov/models/components/capabilityid.rb +1 -7
  34. data/lib/moov/models/components/cardmetadata.rb +79 -0
  35. data/lib/moov/models/components/cardmetadata.rbi +35 -0
  36. data/lib/moov/models/components/cardmetadatarequest.rb +38 -0
  37. data/lib/moov/models/components/cardmetadatarequest.rbi +15 -0
  38. data/lib/moov/models/components/createaccount.rb +1 -5
  39. data/lib/moov/models/components/createauthorizeduser.rb +40 -0
  40. data/lib/moov/models/components/createauthorizeduser.rbi +17 -0
  41. data/lib/moov/models/components/createauthorizedusererror.rb +40 -0
  42. data/lib/moov/models/components/createauthorizedusererror.rbi +17 -0
  43. data/lib/moov/models/components/createauthorizeduserupdate.rb +40 -0
  44. data/lib/moov/models/components/createauthorizeduserupdate.rbi +17 -0
  45. data/lib/moov/models/components/createdtransfer.rb +2 -6
  46. data/lib/moov/models/components/createdtransfer.rbi +0 -2
  47. data/lib/moov/models/components/createpaymentlink.rb +15 -15
  48. data/lib/moov/models/components/createpaymentlink.rbi +4 -4
  49. data/lib/moov/models/components/createpaymentlinkamountdetails.rb +32 -0
  50. data/lib/moov/models/components/createpaymentlinkamountdetails.rbi +13 -0
  51. data/lib/moov/models/components/createpaymentlinkamountdetailsvalidationerror.rb +32 -0
  52. data/lib/moov/models/components/createpaymentlinkamountdetailsvalidationerror.rbi +13 -0
  53. data/lib/moov/models/components/createtransfer.rb +2 -6
  54. data/lib/moov/models/components/createtransfer.rbi +0 -2
  55. data/lib/moov/models/components/createtransferamountdetails.rb +6 -2
  56. data/lib/moov/models/components/createtransferamountdetails.rbi +2 -0
  57. data/lib/moov/models/components/createtransferamountdetailsvalidationerror.rb +6 -2
  58. data/lib/moov/models/components/createtransferamountdetailsvalidationerror.rbi +2 -0
  59. data/lib/moov/models/components/fullissuedcard.rb +10 -22
  60. data/lib/moov/models/components/fullissuedcard.rbi +4 -10
  61. data/lib/moov/models/components/invoice.rb +1 -1
  62. data/lib/moov/models/components/issuedcard.rb +10 -22
  63. data/lib/moov/models/components/issuedcard.rbi +4 -10
  64. data/lib/moov/models/components/onboardinginvite.rb +1 -1
  65. data/lib/moov/models/components/onboardinginviterequest.rb +1 -1
  66. data/lib/moov/models/components/paymentlink.rb +15 -15
  67. data/lib/moov/models/components/paymentlink.rbi +4 -4
  68. data/lib/moov/models/components/paymentlinkamountdetails.rb +32 -0
  69. data/lib/moov/models/components/paymentlinkamountdetails.rbi +13 -0
  70. data/lib/moov/models/components/paymentlinkpaymentdetails.rb +14 -2
  71. data/lib/moov/models/components/paymentlinkpaymentdetails.rbi +6 -0
  72. data/lib/moov/models/components/paymentlinkpaymentdetails_amounttype.rb +19 -0
  73. data/lib/moov/models/components/paymentlinkpaymentdetails_amounttype.rbi +11 -0
  74. data/lib/moov/models/components/paymentlinkpaymentdetailsupdate.rb +14 -2
  75. data/lib/moov/models/components/paymentlinkpaymentdetailsupdate.rbi +6 -0
  76. data/lib/moov/models/components/paymentlinkpaymentdetailsupdate_amounttype.rb +19 -0
  77. data/lib/moov/models/components/paymentlinkpaymentdetailsupdate_amounttype.rbi +11 -0
  78. data/lib/moov/models/components/requestcard.rb +17 -17
  79. data/lib/moov/models/components/requestcard.rbi +8 -8
  80. data/lib/moov/models/components/transfer.rb +2 -6
  81. data/lib/moov/models/components/transfer.rbi +0 -2
  82. data/lib/moov/models/components/transferamountdetails.rb +6 -2
  83. data/lib/moov/models/components/transferamountdetails.rbi +2 -0
  84. data/lib/moov/models/components/transferconfig.rb +2 -6
  85. data/lib/moov/models/components/transferconfig.rbi +0 -2
  86. data/lib/moov/models/components/transferdestination.rb +2 -8
  87. data/lib/moov/models/components/transferdestination.rbi +0 -2
  88. data/lib/moov/models/components/updateinvoice.rb +6 -6
  89. data/lib/moov/models/components/updateissuedcard.rb +9 -13
  90. data/lib/moov/models/components/updateissuedcard.rbi +4 -6
  91. data/lib/moov/models/components/updatepaymentlink.rb +6 -6
  92. data/lib/moov/models/components/updatepaymentlink.rbi +2 -2
  93. data/lib/moov/models/components/updatepaymentlinkamountdetails.rb +32 -0
  94. data/lib/moov/models/components/updatepaymentlinkamountdetails.rbi +13 -0
  95. data/lib/moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rb +32 -0
  96. data/lib/moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rbi +13 -0
  97. data/lib/moov/models/components/webhookdatabankaccountdeleted.rb +2 -6
  98. data/lib/moov/models/components/webhookdatabankaccountdeleted.rbi +0 -2
  99. data/lib/moov/models/components/webhookdatacapabilityrequested.rb +1 -7
  100. data/lib/moov/models/components/webhookdatacapabilityupdated.rb +1 -7
  101. data/lib/moov/models/components/webhookdatasweepcreated.rb +2 -6
  102. data/lib/moov/models/components/webhookdatasweepcreated.rbi +0 -2
  103. data/lib/moov/models/components/webhookdatasweepupdated.rb +2 -6
  104. data/lib/moov/models/components/webhookdatasweepupdated.rbi +0 -2
  105. data/lib/moov/models/components/webhookevent.rb +2 -2
  106. data/lib/moov/models/components/webhookeventtype.rb +0 -1
  107. data/lib/moov/models/components.rb +15 -6
  108. data/lib/moov/models/errors/cardmetadatarequesterror.rb +44 -0
  109. data/lib/moov/models/errors/cardmetadatarequesterror.rbi +19 -0
  110. data/lib/moov/models/errors/createpaymentlinkerror.rb +6 -6
  111. data/lib/moov/models/errors/createpaymentlinkerror.rbi +2 -2
  112. data/lib/moov/models/errors/requestcarderror.rb +14 -14
  113. data/lib/moov/models/errors/requestcarderror.rbi +8 -8
  114. data/lib/moov/models/errors/transfer_error.rb +2 -6
  115. data/lib/moov/models/errors/transfer_error.rbi +0 -2
  116. data/lib/moov/models/errors/transfervalidationerror.rb +2 -6
  117. data/lib/moov/models/errors/transfervalidationerror.rbi +0 -2
  118. data/lib/moov/models/errors/updateissuedcarderror.rb +8 -12
  119. data/lib/moov/models/errors/updateissuedcarderror.rbi +4 -6
  120. data/lib/moov/models/errors/updatepaymentlinkerror.rb +6 -6
  121. data/lib/moov/models/errors/updatepaymentlinkerror.rbi +2 -2
  122. data/lib/moov/models/errors.rb +1 -0
  123. data/lib/moov/models/operations/disablecapability_request.rb +1 -7
  124. data/lib/moov/models/operations/getcapability_request.rb +1 -7
  125. data/lib/moov/models/operations/{listcancellations_response.rb → getcardmetadata_response.rb} +6 -6
  126. data/lib/moov/models/operations/{listcancellations_response.rbi → getcardmetadata_response.rbi} +4 -4
  127. data/lib/moov/models/operations.rb +1 -2
  128. data/lib/moov/onboarding.rb +16 -16
  129. data/lib/moov/payment_links.rb +24 -24
  130. data/lib/moov/payment_methods.rb +8 -8
  131. data/lib/moov/ping.rb +4 -4
  132. data/lib/moov/products.rb +20 -20
  133. data/lib/moov/receipts.rb +8 -8
  134. data/lib/moov/representatives.rb +20 -20
  135. data/lib/moov/resolution_links.rb +16 -16
  136. data/lib/moov/scheduling.rb +24 -24
  137. data/lib/moov/sdkconfiguration.rb +4 -4
  138. data/lib/moov/statements.rb +8 -8
  139. data/lib/moov/support.rb +20 -20
  140. data/lib/moov/sweeps.rb +24 -24
  141. data/lib/moov/terminal_applications.rb +20 -20
  142. data/lib/moov/transfer_config.rb +12 -12
  143. data/lib/moov/transfers.rb +48 -171
  144. data/lib/moov/underwriting.rb +12 -12
  145. data/lib/moov/utils/retries.rb +1 -4
  146. data/lib/moov/wallet_transactions.rb +8 -8
  147. data/lib/moov/wallets.rb +16 -16
  148. data/lib/moov/webhooks.rb +32 -32
  149. metadata +38 -20
  150. data/lib/moov/models/components/billingaddress.rb +0 -52
  151. data/lib/moov/models/components/billingaddress.rbi +0 -23
  152. data/lib/moov/models/components/rtpfailurecode.rb +0 -27
  153. data/lib/moov/models/components/rtpfailurecode.rbi +0 -11
  154. data/lib/moov/models/components/rtptransactiondetails.rb +0 -58
  155. data/lib/moov/models/components/rtptransactiondetails.rbi +0 -25
  156. data/lib/moov/models/components/rtptransactionstatus.rb +0 -21
  157. data/lib/moov/models/components/rtptransactionstatus.rbi +0 -11
  158. data/lib/moov/models/components/transfercontrols.rb +0 -48
  159. data/lib/moov/models/components/transfercontrols.rbi +0 -21
  160. data/lib/moov/models/components/webhookdataauthorizationexpiring.rb +0 -44
  161. data/lib/moov/models/components/webhookdataauthorizationexpiring.rbi +0 -19
  162. data/lib/moov/models/operations/listcancellations_request.rb +0 -36
  163. data/lib/moov/models/operations/listcancellations_request.rbi +0 -15
data/lib/moov/images.rb CHANGED
@@ -67,7 +67,7 @@ module Moov
67
67
 
68
68
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
69
69
  timeout ||= @sdk_configuration.timeout
70
-
70
+
71
71
 
72
72
  connection = @sdk_configuration.client
73
73
 
@@ -82,7 +82,7 @@ module Moov
82
82
  error = T.let(nil, T.nilable(StandardError))
83
83
  http_response = T.let(nil, T.nilable(Faraday::Response))
84
84
 
85
-
85
+
86
86
  begin
87
87
  http_response = T.must(connection).get(url) do |req|
88
88
  req.headers.merge!(headers)
@@ -119,13 +119,13 @@ module Moov
119
119
  response: http_response
120
120
  )
121
121
  end
122
-
122
+
123
123
  if http_response.nil?
124
124
  raise error if !error.nil?
125
125
  raise 'no response'
126
126
  end
127
127
  end
128
-
128
+
129
129
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
130
130
  if Utils.match_status_code(http_response.status, ['200'])
131
131
  if Utils.match_content_type(content_type, 'application/json')
@@ -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')
@@ -486,7 +486,7 @@ module Moov
486
486
 
487
487
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
488
488
  timeout ||= @sdk_configuration.timeout
489
-
489
+
490
490
 
491
491
  connection = @sdk_configuration.client
492
492
 
@@ -501,7 +501,7 @@ module Moov
501
501
  error = T.let(nil, T.nilable(StandardError))
502
502
  http_response = T.let(nil, T.nilable(Faraday::Response))
503
503
 
504
-
504
+
505
505
  begin
506
506
  http_response = T.must(connection).put(url) do |req|
507
507
  req.body = body
@@ -538,13 +538,13 @@ module Moov
538
538
  response: http_response
539
539
  )
540
540
  end
541
-
541
+
542
542
  if http_response.nil?
543
543
  raise error if !error.nil?
544
544
  raise 'no response'
545
545
  end
546
546
  end
547
-
547
+
548
548
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
549
549
  if Utils.match_status_code(http_response.status, ['200'])
550
550
  if Utils.match_content_type(content_type, 'application/json')
@@ -640,7 +640,7 @@ module Moov
640
640
 
641
641
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
642
642
  timeout ||= @sdk_configuration.timeout
643
-
643
+
644
644
 
645
645
  connection = @sdk_configuration.client
646
646
 
@@ -655,7 +655,7 @@ module Moov
655
655
  error = T.let(nil, T.nilable(StandardError))
656
656
  http_response = T.let(nil, T.nilable(Faraday::Response))
657
657
 
658
-
658
+
659
659
  begin
660
660
  http_response = T.must(connection).delete(url) do |req|
661
661
  req.headers.merge!(headers)
@@ -691,13 +691,13 @@ module Moov
691
691
  response: http_response
692
692
  )
693
693
  end
694
-
694
+
695
695
  if http_response.nil?
696
696
  raise error if !error.nil?
697
697
  raise 'no response'
698
698
  end
699
699
  end
700
-
700
+
701
701
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
702
702
  if Utils.match_status_code(http_response.status, ['204'])
703
703
  http_response = @sdk_configuration.hooks.after_success(
@@ -778,7 +778,7 @@ module Moov
778
778
 
779
779
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
780
780
  timeout ||= @sdk_configuration.timeout
781
-
781
+
782
782
 
783
783
  connection = @sdk_configuration.client
784
784
 
@@ -793,7 +793,7 @@ module Moov
793
793
  error = T.let(nil, T.nilable(StandardError))
794
794
  http_response = T.let(nil, T.nilable(Faraday::Response))
795
795
 
796
-
796
+
797
797
  begin
798
798
  http_response = T.must(connection).put(url) do |req|
799
799
  req.body = body
@@ -830,13 +830,13 @@ module Moov
830
830
  response: http_response
831
831
  )
832
832
  end
833
-
833
+
834
834
  if http_response.nil?
835
835
  raise error if !error.nil?
836
836
  raise 'no response'
837
837
  end
838
838
  end
839
-
839
+
840
840
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
841
841
  if Utils.match_status_code(http_response.status, ['200'])
842
842
  if Utils.match_content_type(content_type, 'application/json')
@@ -929,7 +929,7 @@ module Moov
929
929
 
930
930
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
931
931
  timeout ||= @sdk_configuration.timeout
932
-
932
+
933
933
 
934
934
  connection = @sdk_configuration.client
935
935
 
@@ -944,7 +944,7 @@ module Moov
944
944
  error = T.let(nil, T.nilable(StandardError))
945
945
  http_response = T.let(nil, T.nilable(Faraday::Response))
946
946
 
947
-
947
+
948
948
  begin
949
949
  http_response = T.must(connection).get(url) do |req|
950
950
  req.headers.merge!(headers)
@@ -980,13 +980,13 @@ module Moov
980
980
  response: http_response
981
981
  )
982
982
  end
983
-
983
+
984
984
  if http_response.nil?
985
985
  raise error if !error.nil?
986
986
  raise 'no response'
987
987
  end
988
988
  end
989
-
989
+
990
990
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
991
991
  if Utils.match_status_code(http_response.status, ['200'])
992
992
  if Utils.match_content_type(content_type, 'image/webp')
@@ -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
  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')
@@ -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)
@@ -247,13 +247,13 @@ module Moov
247
247
  response: http_response
248
248
  )
249
249
  end
250
-
250
+
251
251
  if http_response.nil?
252
252
  raise error if !error.nil?
253
253
  raise 'no response'
254
254
  end
255
255
  end
256
-
256
+
257
257
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
258
258
  if Utils.match_status_code(http_response.status, ['200'])
259
259
  if Utils.match_content_type(content_type, 'application/json')
data/lib/moov/invoices.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, ['201'])
143
143
  if Utils.match_content_type(content_type, 'application/json')
@@ -230,7 +230,7 @@ module Moov
230
230
 
231
231
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
232
232
  timeout ||= @sdk_configuration.timeout
233
-
233
+
234
234
 
235
235
  connection = @sdk_configuration.client
236
236
 
@@ -245,7 +245,7 @@ module Moov
245
245
  error = T.let(nil, T.nilable(StandardError))
246
246
  http_response = T.let(nil, T.nilable(Faraday::Response))
247
247
 
248
-
248
+
249
249
  begin
250
250
  http_response = T.must(connection).get(url) do |req|
251
251
  req.headers.merge!(headers)
@@ -282,13 +282,13 @@ module Moov
282
282
  response: http_response
283
283
  )
284
284
  end
285
-
285
+
286
286
  if http_response.nil?
287
287
  raise error if !error.nil?
288
288
  raise 'no response'
289
289
  end
290
290
  end
291
-
291
+
292
292
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
293
293
  if Utils.match_status_code(http_response.status, ['200'])
294
294
  if Utils.match_content_type(content_type, 'application/json')
@@ -369,7 +369,7 @@ module Moov
369
369
 
370
370
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
371
371
  timeout ||= @sdk_configuration.timeout
372
-
372
+
373
373
 
374
374
  connection = @sdk_configuration.client
375
375
 
@@ -384,7 +384,7 @@ module Moov
384
384
  error = T.let(nil, T.nilable(StandardError))
385
385
  http_response = T.let(nil, T.nilable(Faraday::Response))
386
386
 
387
-
387
+
388
388
  begin
389
389
  http_response = T.must(connection).get(url) do |req|
390
390
  req.headers.merge!(headers)
@@ -420,13 +420,13 @@ module Moov
420
420
  response: http_response
421
421
  )
422
422
  end
423
-
423
+
424
424
  if http_response.nil?
425
425
  raise error if !error.nil?
426
426
  raise 'no response'
427
427
  end
428
428
  end
429
-
429
+
430
430
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
431
431
  if Utils.match_status_code(http_response.status, ['200'])
432
432
  if Utils.match_content_type(content_type, 'application/json')
@@ -504,7 +504,7 @@ module Moov
504
504
 
505
505
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
506
506
  timeout ||= @sdk_configuration.timeout
507
-
507
+
508
508
 
509
509
  connection = @sdk_configuration.client
510
510
 
@@ -519,7 +519,7 @@ module Moov
519
519
  error = T.let(nil, T.nilable(StandardError))
520
520
  http_response = T.let(nil, T.nilable(Faraday::Response))
521
521
 
522
-
522
+
523
523
  begin
524
524
  http_response = T.must(connection).patch(url) do |req|
525
525
  req.body = body
@@ -556,13 +556,13 @@ module Moov
556
556
  response: http_response
557
557
  )
558
558
  end
559
-
559
+
560
560
  if http_response.nil?
561
561
  raise error if !error.nil?
562
562
  raise 'no response'
563
563
  end
564
564
  end
565
-
565
+
566
566
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
567
567
  if Utils.match_status_code(http_response.status, ['200'])
568
568
  if Utils.match_content_type(content_type, 'application/json')
@@ -664,7 +664,7 @@ module Moov
664
664
 
665
665
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
666
666
  timeout ||= @sdk_configuration.timeout
667
-
667
+
668
668
 
669
669
  connection = @sdk_configuration.client
670
670
 
@@ -679,7 +679,7 @@ module Moov
679
679
  error = T.let(nil, T.nilable(StandardError))
680
680
  http_response = T.let(nil, T.nilable(Faraday::Response))
681
681
 
682
-
682
+
683
683
  begin
684
684
  http_response = T.must(connection).delete(url) do |req|
685
685
  req.headers.merge!(headers)
@@ -715,13 +715,13 @@ module Moov
715
715
  response: http_response
716
716
  )
717
717
  end
718
-
718
+
719
719
  if http_response.nil?
720
720
  raise error if !error.nil?
721
721
  raise 'no response'
722
722
  end
723
723
  end
724
-
724
+
725
725
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
726
726
  if Utils.match_status_code(http_response.status, ['204'])
727
727
  http_response = @sdk_configuration.hooks.after_success(
@@ -806,7 +806,7 @@ module Moov
806
806
 
807
807
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
808
808
  timeout ||= @sdk_configuration.timeout
809
-
809
+
810
810
 
811
811
  connection = @sdk_configuration.client
812
812
 
@@ -821,7 +821,7 @@ module Moov
821
821
  error = T.let(nil, T.nilable(StandardError))
822
822
  http_response = T.let(nil, T.nilable(Faraday::Response))
823
823
 
824
-
824
+
825
825
  begin
826
826
  http_response = T.must(connection).post(url) do |req|
827
827
  req.body = body
@@ -858,13 +858,13 @@ module Moov
858
858
  response: http_response
859
859
  )
860
860
  end
861
-
861
+
862
862
  if http_response.nil?
863
863
  raise error if !error.nil?
864
864
  raise 'no response'
865
865
  end
866
866
  end
867
-
867
+
868
868
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
869
869
  if Utils.match_status_code(http_response.status, ['200'])
870
870
  if Utils.match_content_type(content_type, 'application/json')
@@ -960,7 +960,7 @@ module Moov
960
960
 
961
961
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
962
962
  timeout ||= @sdk_configuration.timeout
963
-
963
+
964
964
 
965
965
  connection = @sdk_configuration.client
966
966
 
@@ -975,7 +975,7 @@ module Moov
975
975
  error = T.let(nil, T.nilable(StandardError))
976
976
  http_response = T.let(nil, T.nilable(Faraday::Response))
977
977
 
978
-
978
+
979
979
  begin
980
980
  http_response = T.must(connection).get(url) do |req|
981
981
  req.headers.merge!(headers)
@@ -1011,13 +1011,13 @@ module Moov
1011
1011
  response: http_response
1012
1012
  )
1013
1013
  end
1014
-
1014
+
1015
1015
  if http_response.nil?
1016
1016
  raise error if !error.nil?
1017
1017
  raise 'no response'
1018
1018
  end
1019
1019
  end
1020
-
1020
+
1021
1021
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1022
1022
  if Utils.match_status_code(http_response.status, ['200'])
1023
1023
  if Utils.match_content_type(content_type, 'application/json')