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
@@ -82,7 +82,7 @@ module Moov
82
82
 
83
83
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
84
84
  timeout ||= @sdk_configuration.timeout
85
-
85
+
86
86
 
87
87
  connection = @sdk_configuration.client
88
88
 
@@ -97,7 +97,7 @@ module Moov
97
97
  error = T.let(nil, T.nilable(StandardError))
98
98
  http_response = T.let(nil, T.nilable(Faraday::Response))
99
99
 
100
-
100
+
101
101
  begin
102
102
  http_response = T.must(connection).post(url) do |req|
103
103
  req.body = body
@@ -134,13 +134,13 @@ module Moov
134
134
  response: http_response
135
135
  )
136
136
  end
137
-
137
+
138
138
  if http_response.nil?
139
139
  raise error if !error.nil?
140
140
  raise 'no response'
141
141
  end
142
142
  end
143
-
143
+
144
144
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
145
145
  if Utils.match_status_code(http_response.status, ['200'])
146
146
  if Utils.match_content_type(content_type, 'application/json')
@@ -235,7 +235,7 @@ module Moov
235
235
 
236
236
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
237
237
  timeout ||= @sdk_configuration.timeout
238
-
238
+
239
239
 
240
240
  connection = @sdk_configuration.client
241
241
 
@@ -250,7 +250,7 @@ module Moov
250
250
  error = T.let(nil, T.nilable(StandardError))
251
251
  http_response = T.let(nil, T.nilable(Faraday::Response))
252
252
 
253
-
253
+
254
254
  begin
255
255
  http_response = T.must(connection).patch(url) do |req|
256
256
  req.body = body
@@ -287,13 +287,13 @@ module Moov
287
287
  response: http_response
288
288
  )
289
289
  end
290
-
290
+
291
291
  if http_response.nil?
292
292
  raise error if !error.nil?
293
293
  raise 'no response'
294
294
  end
295
295
  end
296
-
296
+
297
297
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
298
298
  if Utils.match_status_code(http_response.status, ['204'])
299
299
  http_response = @sdk_configuration.hooks.after_success(
@@ -366,7 +366,7 @@ module Moov
366
366
 
367
367
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
368
368
  timeout ||= @sdk_configuration.timeout
369
-
369
+
370
370
 
371
371
  connection = @sdk_configuration.client
372
372
 
@@ -381,7 +381,7 @@ module Moov
381
381
  error = T.let(nil, T.nilable(StandardError))
382
382
  http_response = T.let(nil, T.nilable(Faraday::Response))
383
383
 
384
-
384
+
385
385
  begin
386
386
  http_response = T.must(connection).get(url) do |req|
387
387
  req.headers.merge!(headers)
@@ -417,13 +417,13 @@ module Moov
417
417
  response: http_response
418
418
  )
419
419
  end
420
-
420
+
421
421
  if http_response.nil?
422
422
  raise error if !error.nil?
423
423
  raise 'no response'
424
424
  end
425
425
  end
426
-
426
+
427
427
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
428
428
  if Utils.match_status_code(http_response.status, ['200'])
429
429
  if Utils.match_content_type(content_type, 'application/json')
@@ -503,7 +503,7 @@ module Moov
503
503
 
504
504
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
505
505
  timeout ||= @sdk_configuration.timeout
506
-
506
+
507
507
 
508
508
  connection = @sdk_configuration.client
509
509
 
@@ -518,7 +518,7 @@ module Moov
518
518
  error = T.let(nil, T.nilable(StandardError))
519
519
  http_response = T.let(nil, T.nilable(Faraday::Response))
520
520
 
521
-
521
+
522
522
  begin
523
523
  http_response = T.must(connection).post(url) do |req|
524
524
  req.body = body
@@ -555,13 +555,13 @@ module Moov
555
555
  response: http_response
556
556
  )
557
557
  end
558
-
558
+
559
559
  if http_response.nil?
560
560
  raise error if !error.nil?
561
561
  raise 'no response'
562
562
  end
563
563
  end
564
-
564
+
565
565
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
566
566
  if Utils.match_status_code(http_response.status, ['200'])
567
567
  if Utils.match_content_type(content_type, 'application/json')
@@ -656,7 +656,7 @@ module Moov
656
656
 
657
657
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
658
658
  timeout ||= @sdk_configuration.timeout
659
-
659
+
660
660
 
661
661
  connection = @sdk_configuration.client
662
662
 
@@ -671,7 +671,7 @@ module Moov
671
671
  error = T.let(nil, T.nilable(StandardError))
672
672
  http_response = T.let(nil, T.nilable(Faraday::Response))
673
673
 
674
-
674
+
675
675
  begin
676
676
  http_response = T.must(connection).post(url) do |req|
677
677
  req.body = body
@@ -708,13 +708,13 @@ module Moov
708
708
  response: http_response
709
709
  )
710
710
  end
711
-
711
+
712
712
  if http_response.nil?
713
713
  raise error if !error.nil?
714
714
  raise 'no response'
715
715
  end
716
716
  end
717
-
717
+
718
718
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
719
719
  if Utils.match_status_code(http_response.status, ['200'])
720
720
  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).post(url) do |req|
90
90
  req.body = body
@@ -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, ['204'])
133
133
  http_response = @sdk_configuration.hooks.after_success(
@@ -213,7 +213,7 @@ module Moov
213
213
 
214
214
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
215
215
  timeout ||= @sdk_configuration.timeout
216
-
216
+
217
217
 
218
218
  connection = @sdk_configuration.client
219
219
 
@@ -228,7 +228,7 @@ module Moov
228
228
  error = T.let(nil, T.nilable(StandardError))
229
229
  http_response = T.let(nil, T.nilable(Faraday::Response))
230
230
 
231
-
231
+
232
232
  begin
233
233
  http_response = T.must(connection).post(url) do |req|
234
234
  req.body = body
@@ -265,13 +265,13 @@ module Moov
265
265
  response: http_response
266
266
  )
267
267
  end
268
-
268
+
269
269
  if http_response.nil?
270
270
  raise error if !error.nil?
271
271
  raise 'no response'
272
272
  end
273
273
  end
274
-
274
+
275
275
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
276
276
  if Utils.match_status_code(http_response.status, ['200'])
277
277
  if Utils.match_content_type(content_type, 'application/json')
data/lib/moov/avatars.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)
@@ -118,13 +118,13 @@ module Moov
118
118
  response: http_response
119
119
  )
120
120
  end
121
-
121
+
122
122
  if http_response.nil?
123
123
  raise error if !error.nil?
124
124
  raise 'no response'
125
125
  end
126
126
  end
127
-
127
+
128
128
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
129
129
  if Utils.match_status_code(http_response.status, ['200'])
130
130
  if Utils.match_content_type(content_type, 'image/*')
@@ -85,7 +85,7 @@ module Moov
85
85
 
86
86
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
87
87
  timeout ||= @sdk_configuration.timeout
88
-
88
+
89
89
 
90
90
  connection = @sdk_configuration.client
91
91
 
@@ -100,7 +100,7 @@ module Moov
100
100
  error = T.let(nil, T.nilable(StandardError))
101
101
  http_response = T.let(nil, T.nilable(Faraday::Response))
102
102
 
103
-
103
+
104
104
  begin
105
105
  http_response = T.must(connection).post(url) do |req|
106
106
  req.body = body
@@ -137,13 +137,13 @@ module Moov
137
137
  response: http_response
138
138
  )
139
139
  end
140
-
140
+
141
141
  if http_response.nil?
142
142
  raise error if !error.nil?
143
143
  raise 'no response'
144
144
  end
145
145
  end
146
-
146
+
147
147
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
148
148
  if Utils.match_status_code(http_response.status, ['200'])
149
149
  if Utils.match_content_type(content_type, 'application/json')
@@ -240,7 +240,7 @@ module Moov
240
240
 
241
241
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
242
242
  timeout ||= @sdk_configuration.timeout
243
-
243
+
244
244
 
245
245
  connection = @sdk_configuration.client
246
246
 
@@ -255,7 +255,7 @@ module Moov
255
255
  error = T.let(nil, T.nilable(StandardError))
256
256
  http_response = T.let(nil, T.nilable(Faraday::Response))
257
257
 
258
-
258
+
259
259
  begin
260
260
  http_response = T.must(connection).get(url) do |req|
261
261
  req.headers.merge!(headers)
@@ -291,13 +291,13 @@ module Moov
291
291
  response: http_response
292
292
  )
293
293
  end
294
-
294
+
295
295
  if http_response.nil?
296
296
  raise error if !error.nil?
297
297
  raise 'no response'
298
298
  end
299
299
  end
300
-
300
+
301
301
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
302
302
  if Utils.match_status_code(http_response.status, ['200'])
303
303
  if Utils.match_content_type(content_type, 'application/json')
@@ -365,7 +365,7 @@ module Moov
365
365
 
366
366
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
367
367
  timeout ||= @sdk_configuration.timeout
368
-
368
+
369
369
 
370
370
  connection = @sdk_configuration.client
371
371
 
@@ -380,7 +380,7 @@ module Moov
380
380
  error = T.let(nil, T.nilable(StandardError))
381
381
  http_response = T.let(nil, T.nilable(Faraday::Response))
382
382
 
383
-
383
+
384
384
  begin
385
385
  http_response = T.must(connection).get(url) do |req|
386
386
  req.headers.merge!(headers)
@@ -416,13 +416,13 @@ module Moov
416
416
  response: http_response
417
417
  )
418
418
  end
419
-
419
+
420
420
  if http_response.nil?
421
421
  raise error if !error.nil?
422
422
  raise 'no response'
423
423
  end
424
424
  end
425
-
425
+
426
426
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
427
427
  if Utils.match_status_code(http_response.status, ['200'])
428
428
  if Utils.match_content_type(content_type, 'application/json')
@@ -488,7 +488,7 @@ module Moov
488
488
 
489
489
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
490
490
  timeout ||= @sdk_configuration.timeout
491
-
491
+
492
492
 
493
493
  connection = @sdk_configuration.client
494
494
 
@@ -503,7 +503,7 @@ module Moov
503
503
  error = T.let(nil, T.nilable(StandardError))
504
504
  http_response = T.let(nil, T.nilable(Faraday::Response))
505
505
 
506
-
506
+
507
507
  begin
508
508
  http_response = T.must(connection).delete(url) do |req|
509
509
  req.headers.merge!(headers)
@@ -539,13 +539,13 @@ module Moov
539
539
  response: http_response
540
540
  )
541
541
  end
542
-
542
+
543
543
  if http_response.nil?
544
544
  raise error if !error.nil?
545
545
  raise 'no response'
546
546
  end
547
547
  end
548
-
548
+
549
549
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
550
550
  if Utils.match_status_code(http_response.status, ['204'])
551
551
  http_response = @sdk_configuration.hooks.after_success(
@@ -628,7 +628,7 @@ module Moov
628
628
 
629
629
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
630
630
  timeout ||= @sdk_configuration.timeout
631
-
631
+
632
632
 
633
633
  connection = @sdk_configuration.client
634
634
 
@@ -643,7 +643,7 @@ module Moov
643
643
  error = T.let(nil, T.nilable(StandardError))
644
644
  http_response = T.let(nil, T.nilable(Faraday::Response))
645
645
 
646
-
646
+
647
647
  begin
648
648
  http_response = T.must(connection).post(url) do |req|
649
649
  req.headers.merge!(headers)
@@ -679,13 +679,13 @@ module Moov
679
679
  response: http_response
680
680
  )
681
681
  end
682
-
682
+
683
683
  if http_response.nil?
684
684
  raise error if !error.nil?
685
685
  raise 'no response'
686
686
  end
687
687
  end
688
-
688
+
689
689
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
690
690
  if Utils.match_status_code(http_response.status, ['204'])
691
691
  http_response = @sdk_configuration.hooks.after_success(
@@ -769,7 +769,7 @@ module Moov
769
769
 
770
770
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
771
771
  timeout ||= @sdk_configuration.timeout
772
-
772
+
773
773
 
774
774
  connection = @sdk_configuration.client
775
775
 
@@ -784,7 +784,7 @@ module Moov
784
784
  error = T.let(nil, T.nilable(StandardError))
785
785
  http_response = T.let(nil, T.nilable(Faraday::Response))
786
786
 
787
-
787
+
788
788
  begin
789
789
  http_response = T.must(connection).put(url) do |req|
790
790
  req.body = body
@@ -821,13 +821,13 @@ module Moov
821
821
  response: http_response
822
822
  )
823
823
  end
824
-
824
+
825
825
  if http_response.nil?
826
826
  raise error if !error.nil?
827
827
  raise 'no response'
828
828
  end
829
829
  end
830
-
830
+
831
831
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
832
832
  if Utils.match_status_code(http_response.status, ['200'])
833
833
  if Utils.match_content_type(content_type, 'application/json')
@@ -932,7 +932,7 @@ module Moov
932
932
 
933
933
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
934
934
  timeout ||= @sdk_configuration.timeout
935
-
935
+
936
936
 
937
937
  connection = @sdk_configuration.client
938
938
 
@@ -947,7 +947,7 @@ module Moov
947
947
  error = T.let(nil, T.nilable(StandardError))
948
948
  http_response = T.let(nil, T.nilable(Faraday::Response))
949
949
 
950
-
950
+
951
951
  begin
952
952
  http_response = T.must(connection).get(url) do |req|
953
953
  req.headers.merge!(headers)
@@ -983,13 +983,13 @@ module Moov
983
983
  response: http_response
984
984
  )
985
985
  end
986
-
986
+
987
987
  if http_response.nil?
988
988
  raise error if !error.nil?
989
989
  raise 'no response'
990
990
  end
991
991
  end
992
-
992
+
993
993
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
994
994
  if Utils.match_status_code(http_response.status, ['200'])
995
995
  if Utils.match_content_type(content_type, 'application/json')
@@ -1071,7 +1071,7 @@ module Moov
1071
1071
 
1072
1072
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1073
1073
  timeout ||= @sdk_configuration.timeout
1074
-
1074
+
1075
1075
 
1076
1076
  connection = @sdk_configuration.client
1077
1077
 
@@ -1086,7 +1086,7 @@ module Moov
1086
1086
  error = T.let(nil, T.nilable(StandardError))
1087
1087
  http_response = T.let(nil, T.nilable(Faraday::Response))
1088
1088
 
1089
-
1089
+
1090
1090
  begin
1091
1091
  http_response = T.must(connection).post(url) do |req|
1092
1092
  req.headers.merge!(headers)
@@ -1122,13 +1122,13 @@ module Moov
1122
1122
  response: http_response
1123
1123
  )
1124
1124
  end
1125
-
1125
+
1126
1126
  if http_response.nil?
1127
1127
  raise error if !error.nil?
1128
1128
  raise 'no response'
1129
1129
  end
1130
1130
  end
1131
-
1131
+
1132
1132
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1133
1133
  if Utils.match_status_code(http_response.status, ['200'])
1134
1134
  if Utils.match_content_type(content_type, 'application/json')
@@ -1228,7 +1228,7 @@ module Moov
1228
1228
 
1229
1229
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1230
1230
  timeout ||= @sdk_configuration.timeout
1231
-
1231
+
1232
1232
 
1233
1233
  connection = @sdk_configuration.client
1234
1234
 
@@ -1243,7 +1243,7 @@ module Moov
1243
1243
  error = T.let(nil, T.nilable(StandardError))
1244
1244
  http_response = T.let(nil, T.nilable(Faraday::Response))
1245
1245
 
1246
-
1246
+
1247
1247
  begin
1248
1248
  http_response = T.must(connection).put(url) do |req|
1249
1249
  req.body = body
@@ -1280,13 +1280,13 @@ module Moov
1280
1280
  response: http_response
1281
1281
  )
1282
1282
  end
1283
-
1283
+
1284
1284
  if http_response.nil?
1285
1285
  raise error if !error.nil?
1286
1286
  raise 'no response'
1287
1287
  end
1288
1288
  end
1289
-
1289
+
1290
1290
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1291
1291
  if Utils.match_status_code(http_response.status, ['200'])
1292
1292
  if Utils.match_content_type(content_type, 'application/json')
data/lib/moov/branding.rb CHANGED
@@ -79,7 +79,7 @@ module Moov
79
79
 
80
80
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
81
81
  timeout ||= @sdk_configuration.timeout
82
-
82
+
83
83
 
84
84
  connection = @sdk_configuration.client
85
85
 
@@ -94,7 +94,7 @@ module Moov
94
94
  error = T.let(nil, T.nilable(StandardError))
95
95
  http_response = T.let(nil, T.nilable(Faraday::Response))
96
96
 
97
-
97
+
98
98
  begin
99
99
  http_response = T.must(connection).post(url) do |req|
100
100
  req.body = body
@@ -131,13 +131,13 @@ module Moov
131
131
  response: http_response
132
132
  )
133
133
  end
134
-
134
+
135
135
  if http_response.nil?
136
136
  raise error if !error.nil?
137
137
  raise 'no response'
138
138
  end
139
139
  end
140
-
140
+
141
141
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
142
142
  if Utils.match_status_code(http_response.status, ['200'])
143
143
  if Utils.match_content_type(content_type, 'application/json')
@@ -244,7 +244,7 @@ module Moov
244
244
 
245
245
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
246
246
  timeout ||= @sdk_configuration.timeout
247
-
247
+
248
248
 
249
249
  connection = @sdk_configuration.client
250
250
 
@@ -259,7 +259,7 @@ module Moov
259
259
  error = T.let(nil, T.nilable(StandardError))
260
260
  http_response = T.let(nil, T.nilable(Faraday::Response))
261
261
 
262
-
262
+
263
263
  begin
264
264
  http_response = T.must(connection).put(url) do |req|
265
265
  req.body = body
@@ -296,13 +296,13 @@ module Moov
296
296
  response: http_response
297
297
  )
298
298
  end
299
-
299
+
300
300
  if http_response.nil?
301
301
  raise error if !error.nil?
302
302
  raise 'no response'
303
303
  end
304
304
  end
305
-
305
+
306
306
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
307
307
  if Utils.match_status_code(http_response.status, ['200'])
308
308
  if Utils.match_content_type(content_type, 'application/json')
@@ -397,7 +397,7 @@ module Moov
397
397
 
398
398
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
399
399
  timeout ||= @sdk_configuration.timeout
400
-
400
+
401
401
 
402
402
  connection = @sdk_configuration.client
403
403
 
@@ -412,7 +412,7 @@ module Moov
412
412
  error = T.let(nil, T.nilable(StandardError))
413
413
  http_response = T.let(nil, T.nilable(Faraday::Response))
414
414
 
415
-
415
+
416
416
  begin
417
417
  http_response = T.must(connection).get(url) do |req|
418
418
  req.headers.merge!(headers)
@@ -448,13 +448,13 @@ module Moov
448
448
  response: http_response
449
449
  )
450
450
  end
451
-
451
+
452
452
  if http_response.nil?
453
453
  raise error if !error.nil?
454
454
  raise 'no response'
455
455
  end
456
456
  end
457
-
457
+
458
458
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
459
459
  if Utils.match_status_code(http_response.status, ['200'])
460
460
  if Utils.match_content_type(content_type, 'application/json')