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.
- checksums.yaml +4 -4
- data/lib/moov/account_terminal_applications.rb +16 -16
- data/lib/moov/accounts.rb +52 -54
- data/lib/moov/adjustments.rb +8 -8
- data/lib/moov/apple_pay.rb +20 -20
- data/lib/moov/authentication.rb +8 -8
- data/lib/moov/avatars.rb +4 -4
- data/lib/moov/bank_accounts.rb +36 -36
- data/lib/moov/branding.rb +12 -12
- data/lib/moov/capabilities.rb +20 -20
- data/lib/moov/card_issuing.rb +25 -25
- data/lib/moov/cards.rb +20 -20
- data/lib/moov/disputes.rb +44 -44
- data/lib/moov/end_to_end_encryption.rb +8 -8
- data/lib/moov/enriched_address.rb +4 -4
- data/lib/moov/enriched_profile.rb +4 -4
- data/lib/moov/fee_plans.rb +40 -40
- data/lib/moov/files.rb +12 -12
- data/lib/moov/images.rb +28 -28
- data/lib/moov/industries.rb +4 -4
- data/lib/moov/institutions.rb +8 -8
- data/lib/moov/issuing_transactions.rb +20 -20
- data/lib/moov/models/components/addcapabilities.rb +5 -1
- data/lib/moov/models/components/billingaddress.rb +52 -0
- data/lib/moov/models/components/billingaddress.rbi +23 -0
- data/lib/moov/models/components/capability.rb +7 -1
- data/lib/moov/models/components/capabilityid.rb +7 -1
- data/lib/moov/models/components/createaccount.rb +5 -1
- data/lib/moov/models/components/createpaymentlink.rb +4 -4
- data/lib/moov/models/components/fullissuedcard.rb +22 -10
- data/lib/moov/models/components/fullissuedcard.rbi +10 -4
- data/lib/moov/models/components/issuedcard.rb +22 -10
- data/lib/moov/models/components/issuedcard.rbi +10 -4
- data/lib/moov/models/components/onboardinginvite.rb +1 -1
- data/lib/moov/models/components/onboardinginviterequest.rb +1 -1
- data/lib/moov/models/components/paymentlink.rb +3 -3
- data/lib/moov/models/components/requestcard.rb +17 -17
- data/lib/moov/models/components/requestcard.rbi +8 -8
- data/lib/moov/models/components/updateissuedcard.rb +13 -9
- data/lib/moov/models/components/updateissuedcard.rbi +6 -4
- data/lib/moov/models/components/webhookdataauthorizationexpiring.rb +44 -0
- data/lib/moov/models/components/webhookdataauthorizationexpiring.rbi +19 -0
- data/lib/moov/models/components/webhookdatacapabilityrequested.rb +7 -1
- data/lib/moov/models/components/webhookdatacapabilityupdated.rb +7 -1
- data/lib/moov/models/components/webhookdatasweepcreated.rb +6 -2
- data/lib/moov/models/components/webhookdatasweepcreated.rbi +2 -0
- data/lib/moov/models/components/webhookdatasweepupdated.rb +6 -2
- data/lib/moov/models/components/webhookdatasweepupdated.rbi +2 -0
- data/lib/moov/models/components/webhookevent.rb +2 -2
- data/lib/moov/models/components/webhookeventtype.rb +1 -0
- data/lib/moov/models/components.rb +2 -4
- data/lib/moov/models/errors/requestcarderror.rb +14 -14
- data/lib/moov/models/errors/requestcarderror.rbi +8 -8
- data/lib/moov/models/errors/updateissuedcarderror.rb +12 -8
- data/lib/moov/models/errors/updateissuedcarderror.rbi +6 -4
- data/lib/moov/models/operations/disablecapability_request.rb +7 -1
- data/lib/moov/models/operations/getcapability_request.rb +7 -1
- data/lib/moov/models/operations/listcancellations_request.rb +36 -0
- data/lib/moov/models/operations/listcancellations_request.rbi +15 -0
- data/lib/moov/models/operations/listcancellations_response.rb +48 -0
- data/lib/moov/models/operations/listcancellations_response.rbi +21 -0
- data/lib/moov/models/operations.rb +2 -0
- data/lib/moov/onboarding.rb +16 -16
- data/lib/moov/payment_links.rb +24 -24
- data/lib/moov/payment_methods.rb +8 -8
- data/lib/moov/ping.rb +4 -4
- data/lib/moov/products.rb +20 -20
- data/lib/moov/receipts.rb +8 -8
- data/lib/moov/representatives.rb +20 -20
- data/lib/moov/scheduling.rb +24 -24
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov/statements.rb +8 -8
- data/lib/moov/support.rb +20 -20
- data/lib/moov/sweeps.rb +24 -24
- data/lib/moov/terminal_applications.rb +20 -20
- data/lib/moov/transfers.rb +171 -48
- data/lib/moov/underwriting.rb +12 -12
- data/lib/moov/utils/retries.rb +4 -1
- data/lib/moov/wallet_transactions.rb +8 -8
- data/lib/moov/wallets.rb +16 -16
- data/lib/moov/webhooks.rb +32 -32
- metadata +10 -10
- data/lib/moov/models/components/authorizeduser.rb +0 -36
- data/lib/moov/models/components/authorizeduser.rbi +0 -15
- data/lib/moov/models/components/createauthorizeduser.rb +0 -40
- data/lib/moov/models/components/createauthorizeduser.rbi +0 -17
- data/lib/moov/models/components/createauthorizedusererror.rb +0 -40
- data/lib/moov/models/components/createauthorizedusererror.rbi +0 -17
- data/lib/moov/models/components/createauthorizeduserupdate.rb +0 -40
- data/lib/moov/models/components/createauthorizeduserupdate.rbi +0 -17
data/lib/moov/receipts.rb
CHANGED
|
@@ -70,7 +70,7 @@ module Moov
|
|
|
70
70
|
|
|
71
71
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
72
72
|
timeout ||= @sdk_configuration.timeout
|
|
73
|
-
|
|
73
|
+
|
|
74
74
|
|
|
75
75
|
connection = @sdk_configuration.client
|
|
76
76
|
|
|
@@ -85,7 +85,7 @@ module Moov
|
|
|
85
85
|
error = T.let(nil, T.nilable(StandardError))
|
|
86
86
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
|
|
89
89
|
begin
|
|
90
90
|
http_response = T.must(connection).post(url) do |req|
|
|
91
91
|
req.body = body
|
|
@@ -122,13 +122,13 @@ module Moov
|
|
|
122
122
|
response: http_response
|
|
123
123
|
)
|
|
124
124
|
end
|
|
125
|
-
|
|
125
|
+
|
|
126
126
|
if http_response.nil?
|
|
127
127
|
raise error if !error.nil?
|
|
128
128
|
raise 'no response'
|
|
129
129
|
end
|
|
130
130
|
end
|
|
131
|
-
|
|
131
|
+
|
|
132
132
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
133
133
|
if Utils.match_status_code(http_response.status, ['201'])
|
|
134
134
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -204,7 +204,7 @@ module Moov
|
|
|
204
204
|
|
|
205
205
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
206
206
|
timeout ||= @sdk_configuration.timeout
|
|
207
|
-
|
|
207
|
+
|
|
208
208
|
|
|
209
209
|
connection = @sdk_configuration.client
|
|
210
210
|
|
|
@@ -219,7 +219,7 @@ module Moov
|
|
|
219
219
|
error = T.let(nil, T.nilable(StandardError))
|
|
220
220
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
221
221
|
|
|
222
|
-
|
|
222
|
+
|
|
223
223
|
begin
|
|
224
224
|
http_response = T.must(connection).get(url) do |req|
|
|
225
225
|
req.headers.merge!(headers)
|
|
@@ -256,13 +256,13 @@ module Moov
|
|
|
256
256
|
response: http_response
|
|
257
257
|
)
|
|
258
258
|
end
|
|
259
|
-
|
|
259
|
+
|
|
260
260
|
if http_response.nil?
|
|
261
261
|
raise error if !error.nil?
|
|
262
262
|
raise 'no response'
|
|
263
263
|
end
|
|
264
264
|
end
|
|
265
|
-
|
|
265
|
+
|
|
266
266
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
267
267
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
268
268
|
if Utils.match_content_type(content_type, 'application/json')
|
data/lib/moov/representatives.rb
CHANGED
|
@@ -81,7 +81,7 @@ module Moov
|
|
|
81
81
|
|
|
82
82
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
83
83
|
timeout ||= @sdk_configuration.timeout
|
|
84
|
-
|
|
84
|
+
|
|
85
85
|
|
|
86
86
|
connection = @sdk_configuration.client
|
|
87
87
|
|
|
@@ -96,7 +96,7 @@ module Moov
|
|
|
96
96
|
error = T.let(nil, T.nilable(StandardError))
|
|
97
97
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
|
|
100
100
|
begin
|
|
101
101
|
http_response = T.must(connection).post(url) do |req|
|
|
102
102
|
req.body = body
|
|
@@ -133,13 +133,13 @@ module Moov
|
|
|
133
133
|
response: http_response
|
|
134
134
|
)
|
|
135
135
|
end
|
|
136
|
-
|
|
136
|
+
|
|
137
137
|
if http_response.nil?
|
|
138
138
|
raise error if !error.nil?
|
|
139
139
|
raise 'no response'
|
|
140
140
|
end
|
|
141
141
|
end
|
|
142
|
-
|
|
142
|
+
|
|
143
143
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
144
144
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
145
145
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -237,7 +237,7 @@ module Moov
|
|
|
237
237
|
|
|
238
238
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
239
239
|
timeout ||= @sdk_configuration.timeout
|
|
240
|
-
|
|
240
|
+
|
|
241
241
|
|
|
242
242
|
connection = @sdk_configuration.client
|
|
243
243
|
|
|
@@ -252,7 +252,7 @@ module Moov
|
|
|
252
252
|
error = T.let(nil, T.nilable(StandardError))
|
|
253
253
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
254
254
|
|
|
255
|
-
|
|
255
|
+
|
|
256
256
|
begin
|
|
257
257
|
http_response = T.must(connection).get(url) do |req|
|
|
258
258
|
req.headers.merge!(headers)
|
|
@@ -288,13 +288,13 @@ module Moov
|
|
|
288
288
|
response: http_response
|
|
289
289
|
)
|
|
290
290
|
end
|
|
291
|
-
|
|
291
|
+
|
|
292
292
|
if http_response.nil?
|
|
293
293
|
raise error if !error.nil?
|
|
294
294
|
raise 'no response'
|
|
295
295
|
end
|
|
296
296
|
end
|
|
297
|
-
|
|
297
|
+
|
|
298
298
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
299
299
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
300
300
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -360,7 +360,7 @@ module Moov
|
|
|
360
360
|
|
|
361
361
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
362
362
|
timeout ||= @sdk_configuration.timeout
|
|
363
|
-
|
|
363
|
+
|
|
364
364
|
|
|
365
365
|
connection = @sdk_configuration.client
|
|
366
366
|
|
|
@@ -375,7 +375,7 @@ module Moov
|
|
|
375
375
|
error = T.let(nil, T.nilable(StandardError))
|
|
376
376
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
377
377
|
|
|
378
|
-
|
|
378
|
+
|
|
379
379
|
begin
|
|
380
380
|
http_response = T.must(connection).delete(url) do |req|
|
|
381
381
|
req.headers.merge!(headers)
|
|
@@ -411,13 +411,13 @@ module Moov
|
|
|
411
411
|
response: http_response
|
|
412
412
|
)
|
|
413
413
|
end
|
|
414
|
-
|
|
414
|
+
|
|
415
415
|
if http_response.nil?
|
|
416
416
|
raise error if !error.nil?
|
|
417
417
|
raise 'no response'
|
|
418
418
|
end
|
|
419
419
|
end
|
|
420
|
-
|
|
420
|
+
|
|
421
421
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
422
422
|
if Utils.match_status_code(http_response.status, ['204'])
|
|
423
423
|
http_response = @sdk_configuration.hooks.after_success(
|
|
@@ -489,7 +489,7 @@ module Moov
|
|
|
489
489
|
|
|
490
490
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
491
491
|
timeout ||= @sdk_configuration.timeout
|
|
492
|
-
|
|
492
|
+
|
|
493
493
|
|
|
494
494
|
connection = @sdk_configuration.client
|
|
495
495
|
|
|
@@ -504,7 +504,7 @@ module Moov
|
|
|
504
504
|
error = T.let(nil, T.nilable(StandardError))
|
|
505
505
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
506
506
|
|
|
507
|
-
|
|
507
|
+
|
|
508
508
|
begin
|
|
509
509
|
http_response = T.must(connection).get(url) do |req|
|
|
510
510
|
req.headers.merge!(headers)
|
|
@@ -540,13 +540,13 @@ module Moov
|
|
|
540
540
|
response: http_response
|
|
541
541
|
)
|
|
542
542
|
end
|
|
543
|
-
|
|
543
|
+
|
|
544
544
|
if http_response.nil?
|
|
545
545
|
raise error if !error.nil?
|
|
546
546
|
raise 'no response'
|
|
547
547
|
end
|
|
548
548
|
end
|
|
549
|
-
|
|
549
|
+
|
|
550
550
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
551
551
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
552
552
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -637,7 +637,7 @@ module Moov
|
|
|
637
637
|
|
|
638
638
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
639
639
|
timeout ||= @sdk_configuration.timeout
|
|
640
|
-
|
|
640
|
+
|
|
641
641
|
|
|
642
642
|
connection = @sdk_configuration.client
|
|
643
643
|
|
|
@@ -652,7 +652,7 @@ module Moov
|
|
|
652
652
|
error = T.let(nil, T.nilable(StandardError))
|
|
653
653
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
654
654
|
|
|
655
|
-
|
|
655
|
+
|
|
656
656
|
begin
|
|
657
657
|
http_response = T.must(connection).patch(url) do |req|
|
|
658
658
|
req.body = body
|
|
@@ -689,13 +689,13 @@ module Moov
|
|
|
689
689
|
response: http_response
|
|
690
690
|
)
|
|
691
691
|
end
|
|
692
|
-
|
|
692
|
+
|
|
693
693
|
if http_response.nil?
|
|
694
694
|
raise error if !error.nil?
|
|
695
695
|
raise 'no response'
|
|
696
696
|
end
|
|
697
697
|
end
|
|
698
|
-
|
|
698
|
+
|
|
699
699
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
700
700
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
701
701
|
if Utils.match_content_type(content_type, 'application/json')
|
data/lib/moov/scheduling.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')
|
|
@@ -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')
|
|
@@ -372,7 +372,7 @@ module Moov
|
|
|
372
372
|
|
|
373
373
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
374
374
|
timeout ||= @sdk_configuration.timeout
|
|
375
|
-
|
|
375
|
+
|
|
376
376
|
|
|
377
377
|
connection = @sdk_configuration.client
|
|
378
378
|
|
|
@@ -387,7 +387,7 @@ module Moov
|
|
|
387
387
|
error = T.let(nil, T.nilable(StandardError))
|
|
388
388
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
389
389
|
|
|
390
|
-
|
|
390
|
+
|
|
391
391
|
begin
|
|
392
392
|
http_response = T.must(connection).put(url) do |req|
|
|
393
393
|
req.body = body
|
|
@@ -424,13 +424,13 @@ module Moov
|
|
|
424
424
|
response: http_response
|
|
425
425
|
)
|
|
426
426
|
end
|
|
427
|
-
|
|
427
|
+
|
|
428
428
|
if http_response.nil?
|
|
429
429
|
raise error if !error.nil?
|
|
430
430
|
raise 'no response'
|
|
431
431
|
end
|
|
432
432
|
end
|
|
433
|
-
|
|
433
|
+
|
|
434
434
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
435
435
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
436
436
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -526,7 +526,7 @@ module Moov
|
|
|
526
526
|
|
|
527
527
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
528
528
|
timeout ||= @sdk_configuration.timeout
|
|
529
|
-
|
|
529
|
+
|
|
530
530
|
|
|
531
531
|
connection = @sdk_configuration.client
|
|
532
532
|
|
|
@@ -541,7 +541,7 @@ module Moov
|
|
|
541
541
|
error = T.let(nil, T.nilable(StandardError))
|
|
542
542
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
543
543
|
|
|
544
|
-
|
|
544
|
+
|
|
545
545
|
begin
|
|
546
546
|
http_response = T.must(connection).get(url) do |req|
|
|
547
547
|
req.headers.merge!(headers)
|
|
@@ -577,13 +577,13 @@ module Moov
|
|
|
577
577
|
response: http_response
|
|
578
578
|
)
|
|
579
579
|
end
|
|
580
|
-
|
|
580
|
+
|
|
581
581
|
if http_response.nil?
|
|
582
582
|
raise error if !error.nil?
|
|
583
583
|
raise 'no response'
|
|
584
584
|
end
|
|
585
585
|
end
|
|
586
|
-
|
|
586
|
+
|
|
587
587
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
588
588
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
589
589
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -649,7 +649,7 @@ module Moov
|
|
|
649
649
|
|
|
650
650
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
651
651
|
timeout ||= @sdk_configuration.timeout
|
|
652
|
-
|
|
652
|
+
|
|
653
653
|
|
|
654
654
|
connection = @sdk_configuration.client
|
|
655
655
|
|
|
@@ -664,7 +664,7 @@ module Moov
|
|
|
664
664
|
error = T.let(nil, T.nilable(StandardError))
|
|
665
665
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
666
666
|
|
|
667
|
-
|
|
667
|
+
|
|
668
668
|
begin
|
|
669
669
|
http_response = T.must(connection).delete(url) do |req|
|
|
670
670
|
req.headers.merge!(headers)
|
|
@@ -700,13 +700,13 @@ module Moov
|
|
|
700
700
|
response: http_response
|
|
701
701
|
)
|
|
702
702
|
end
|
|
703
|
-
|
|
703
|
+
|
|
704
704
|
if http_response.nil?
|
|
705
705
|
raise error if !error.nil?
|
|
706
706
|
raise 'no response'
|
|
707
707
|
end
|
|
708
708
|
end
|
|
709
|
-
|
|
709
|
+
|
|
710
710
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
711
711
|
if Utils.match_status_code(http_response.status, ['204'])
|
|
712
712
|
http_response = @sdk_configuration.hooks.after_success(
|
|
@@ -779,7 +779,7 @@ module Moov
|
|
|
779
779
|
|
|
780
780
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
781
781
|
timeout ||= @sdk_configuration.timeout
|
|
782
|
-
|
|
782
|
+
|
|
783
783
|
|
|
784
784
|
connection = @sdk_configuration.client
|
|
785
785
|
|
|
@@ -794,7 +794,7 @@ module Moov
|
|
|
794
794
|
error = T.let(nil, T.nilable(StandardError))
|
|
795
795
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
796
796
|
|
|
797
|
-
|
|
797
|
+
|
|
798
798
|
begin
|
|
799
799
|
http_response = T.must(connection).get(url) do |req|
|
|
800
800
|
req.headers.merge!(headers)
|
|
@@ -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')
|
|
@@ -88,9 +88,9 @@ module Moov
|
|
|
88
88
|
end
|
|
89
89
|
@language = 'ruby'
|
|
90
90
|
@openapi_doc_version = 'v2026.01.00'
|
|
91
|
-
@sdk_version = '26.2.
|
|
92
|
-
@gen_version = '2.
|
|
93
|
-
@user_agent = 'speakeasy-sdk/ruby 26.2.
|
|
91
|
+
@sdk_version = '26.2.8'
|
|
92
|
+
@gen_version = '2.910.1'
|
|
93
|
+
@user_agent = 'speakeasy-sdk/ruby 26.2.8 2.910.1 v2026.01.00 moov_ruby'
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
data/lib/moov/statements.rb
CHANGED
|
@@ -65,7 +65,7 @@ module Moov
|
|
|
65
65
|
|
|
66
66
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
67
67
|
timeout ||= @sdk_configuration.timeout
|
|
68
|
-
|
|
68
|
+
|
|
69
69
|
|
|
70
70
|
connection = @sdk_configuration.client
|
|
71
71
|
|
|
@@ -80,7 +80,7 @@ module Moov
|
|
|
80
80
|
error = T.let(nil, T.nilable(StandardError))
|
|
81
81
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
|
|
84
84
|
begin
|
|
85
85
|
http_response = T.must(connection).get(url) do |req|
|
|
86
86
|
req.headers.merge!(headers)
|
|
@@ -117,13 +117,13 @@ module Moov
|
|
|
117
117
|
response: http_response
|
|
118
118
|
)
|
|
119
119
|
end
|
|
120
|
-
|
|
120
|
+
|
|
121
121
|
if http_response.nil?
|
|
122
122
|
raise error if !error.nil?
|
|
123
123
|
raise 'no response'
|
|
124
124
|
end
|
|
125
125
|
end
|
|
126
|
-
|
|
126
|
+
|
|
127
127
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
128
128
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
129
129
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -206,7 +206,7 @@ module Moov
|
|
|
206
206
|
|
|
207
207
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
208
208
|
timeout ||= @sdk_configuration.timeout
|
|
209
|
-
|
|
209
|
+
|
|
210
210
|
|
|
211
211
|
connection = @sdk_configuration.client
|
|
212
212
|
|
|
@@ -221,7 +221,7 @@ module Moov
|
|
|
221
221
|
error = T.let(nil, T.nilable(StandardError))
|
|
222
222
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
223
223
|
|
|
224
|
-
|
|
224
|
+
|
|
225
225
|
begin
|
|
226
226
|
http_response = T.must(connection).get(url) do |req|
|
|
227
227
|
req.headers.merge!(headers)
|
|
@@ -257,13 +257,13 @@ module Moov
|
|
|
257
257
|
response: http_response
|
|
258
258
|
)
|
|
259
259
|
end
|
|
260
|
-
|
|
260
|
+
|
|
261
261
|
if http_response.nil?
|
|
262
262
|
raise error if !error.nil?
|
|
263
263
|
raise 'no response'
|
|
264
264
|
end
|
|
265
265
|
end
|
|
266
|
-
|
|
266
|
+
|
|
267
267
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
268
268
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
269
269
|
if Utils.match_content_type(content_type, 'application/json')
|
data/lib/moov/support.rb
CHANGED
|
@@ -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')
|
|
@@ -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')
|
|
@@ -363,7 +363,7 @@ module Moov
|
|
|
363
363
|
|
|
364
364
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
365
365
|
timeout ||= @sdk_configuration.timeout
|
|
366
|
-
|
|
366
|
+
|
|
367
367
|
|
|
368
368
|
connection = @sdk_configuration.client
|
|
369
369
|
|
|
@@ -378,7 +378,7 @@ module Moov
|
|
|
378
378
|
error = T.let(nil, T.nilable(StandardError))
|
|
379
379
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
380
380
|
|
|
381
|
-
|
|
381
|
+
|
|
382
382
|
begin
|
|
383
383
|
http_response = T.must(connection).get(url) do |req|
|
|
384
384
|
req.headers.merge!(headers)
|
|
@@ -414,13 +414,13 @@ module Moov
|
|
|
414
414
|
response: http_response
|
|
415
415
|
)
|
|
416
416
|
end
|
|
417
|
-
|
|
417
|
+
|
|
418
418
|
if http_response.nil?
|
|
419
419
|
raise error if !error.nil?
|
|
420
420
|
raise 'no response'
|
|
421
421
|
end
|
|
422
422
|
end
|
|
423
|
-
|
|
423
|
+
|
|
424
424
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
425
425
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
426
426
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -501,7 +501,7 @@ module Moov
|
|
|
501
501
|
|
|
502
502
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
503
503
|
timeout ||= @sdk_configuration.timeout
|
|
504
|
-
|
|
504
|
+
|
|
505
505
|
|
|
506
506
|
connection = @sdk_configuration.client
|
|
507
507
|
|
|
@@ -516,7 +516,7 @@ module Moov
|
|
|
516
516
|
error = T.let(nil, T.nilable(StandardError))
|
|
517
517
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
518
518
|
|
|
519
|
-
|
|
519
|
+
|
|
520
520
|
begin
|
|
521
521
|
http_response = T.must(connection).patch(url) do |req|
|
|
522
522
|
req.body = body
|
|
@@ -553,13 +553,13 @@ module Moov
|
|
|
553
553
|
response: http_response
|
|
554
554
|
)
|
|
555
555
|
end
|
|
556
|
-
|
|
556
|
+
|
|
557
557
|
if http_response.nil?
|
|
558
558
|
raise error if !error.nil?
|
|
559
559
|
raise 'no response'
|
|
560
560
|
end
|
|
561
561
|
end
|
|
562
|
-
|
|
562
|
+
|
|
563
563
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
564
564
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
565
565
|
if Utils.match_content_type(content_type, 'application/json')
|
|
@@ -658,7 +658,7 @@ module Moov
|
|
|
658
658
|
|
|
659
659
|
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
660
660
|
timeout ||= @sdk_configuration.timeout
|
|
661
|
-
|
|
661
|
+
|
|
662
662
|
|
|
663
663
|
connection = @sdk_configuration.client
|
|
664
664
|
|
|
@@ -673,7 +673,7 @@ module Moov
|
|
|
673
673
|
error = T.let(nil, T.nilable(StandardError))
|
|
674
674
|
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
675
675
|
|
|
676
|
-
|
|
676
|
+
|
|
677
677
|
begin
|
|
678
678
|
http_response = T.must(connection).get(url) do |req|
|
|
679
679
|
req.headers.merge!(headers)
|
|
@@ -709,13 +709,13 @@ module Moov
|
|
|
709
709
|
response: http_response
|
|
710
710
|
)
|
|
711
711
|
end
|
|
712
|
-
|
|
712
|
+
|
|
713
713
|
if http_response.nil?
|
|
714
714
|
raise error if !error.nil?
|
|
715
715
|
raise 'no response'
|
|
716
716
|
end
|
|
717
717
|
end
|
|
718
|
-
|
|
718
|
+
|
|
719
719
|
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
720
720
|
if Utils.match_status_code(http_response.status, ['200'])
|
|
721
721
|
if Utils.match_content_type(content_type, 'application/json')
|