moov_ruby 26.4.0.pre.dev.9 → 26.4.0.pre.dev.10
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/crystalline/types.rb +11 -3
- data/lib/moov/account_terminal_applications.rb +23 -9
- data/lib/moov/accounts.rb +58 -23
- data/lib/moov/adjustments.rb +13 -5
- data/lib/moov/apple_pay.rb +28 -11
- data/lib/moov/authentication.rb +13 -5
- data/lib/moov/avatars.rb +8 -3
- data/lib/moov/bank_accounts.rb +48 -19
- data/lib/moov/branding.rb +18 -7
- data/lib/moov/capabilities.rb +23 -9
- data/lib/moov/card_issuing.rb +28 -11
- data/lib/moov/cards.rb +28 -11
- data/lib/moov/client.rb +2 -1
- data/lib/moov/disputes.rb +58 -23
- data/lib/moov/end_to_end_encryption.rb +13 -5
- data/lib/moov/enriched_address.rb +8 -3
- data/lib/moov/enriched_profile.rb +8 -3
- data/lib/moov/fee_plans.rb +53 -21
- data/lib/moov/files.rb +18 -7
- data/lib/moov/images.rb +39 -19
- data/lib/moov/industries.rb +8 -3
- data/lib/moov/institutions.rb +13 -5
- data/lib/moov/invoices.rb +170 -13
- data/lib/moov/issuing_transactions.rb +28 -11
- data/lib/moov/models/components/createinvoicelineitem.rb +2 -1
- data/lib/moov/models/components/createpaymentlinklineitem.rb +2 -1
- data/lib/moov/models/components/feecategory.rb +1 -0
- data/lib/moov/models/components/{rtpfailurecode.rb → instantbankfailurecode.rb} +3 -2
- data/lib/moov/models/components/instantbankfailurecode.rbi +11 -0
- data/lib/moov/models/components/instantbanknetwork.rb +19 -0
- data/lib/moov/models/components/{rtpfailurecode.rbi → instantbanknetwork.rbi} +2 -2
- data/lib/moov/models/components/{rtptransactiondetails.rb → instantbanktransactiondetails.rb} +16 -8
- data/lib/moov/models/components/{rtptransactiondetails.rbi → instantbanktransactiondetails.rbi} +6 -2
- data/lib/moov/models/components/{rtptransactionstatus.rb → instantbanktransactionstatus.rb} +2 -2
- data/lib/moov/models/components/instantbanktransactionstatus.rbi +11 -0
- data/lib/moov/models/components/invoice.rb +14 -2
- data/lib/moov/models/components/invoice.rbi +6 -0
- data/lib/moov/models/components/invoicelineitem.rb +2 -1
- data/lib/moov/models/components/transferdestination.rb +6 -6
- data/lib/moov/models/components/transferdestination.rbi +2 -2
- data/lib/moov/models/components/updateinvoice.rb +4 -1
- data/lib/moov/models/components.rb +4 -3
- data/lib/moov/models/operations/deleteinvoice_request.rb +49 -0
- data/lib/moov/models/operations/deleteinvoice_request.rbi +17 -0
- data/lib/moov/models/operations/deleteinvoice_response.rb +44 -0
- data/lib/moov/models/operations/deleteinvoice_response.rbi +19 -0
- data/lib/moov/models/operations.rb +2 -0
- data/lib/moov/onboarding.rb +23 -9
- data/lib/moov/payment_links.rb +33 -13
- data/lib/moov/payment_methods.rb +13 -5
- data/lib/moov/ping.rb +8 -3
- data/lib/moov/products.rb +28 -11
- data/lib/moov/receipts.rb +13 -5
- data/lib/moov/representatives.rb +28 -11
- data/lib/moov/scheduling.rb +33 -13
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov/statements.rb +13 -5
- data/lib/moov/support.rb +28 -11
- data/lib/moov/sweeps.rb +33 -13
- data/lib/moov/terminal_applications.rb +28 -11
- data/lib/moov/transfers.rb +58 -23
- data/lib/moov/underwriting.rb +18 -7
- data/lib/moov/wallet_transactions.rb +13 -5
- data/lib/moov/wallets.rb +23 -9
- data/lib/moov/webhooks.rb +43 -17
- metadata +28 -8
- data/lib/moov/models/components/rtptransactionstatus.rbi +0 -11
data/lib/moov/disputes.rb
CHANGED
|
@@ -39,8 +39,10 @@ module Moov
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
sig { params(request: Models::Operations::ListDisputesRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListDisputesResponse) }
|
|
45
|
+
def list(request:, timeout_ms: nil, http_headers: nil)
|
|
44
46
|
# list - Returns the list of disputes.
|
|
45
47
|
#
|
|
46
48
|
# Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
|
|
@@ -88,6 +90,9 @@ module Moov
|
|
|
88
90
|
req.options.timeout = timeout unless timeout.nil?
|
|
89
91
|
req.params = query_params
|
|
90
92
|
Utils.configure_request_security(req, security)
|
|
93
|
+
http_headers&.each do |key, value|
|
|
94
|
+
req.headers[key.to_s] = value
|
|
95
|
+
end
|
|
91
96
|
|
|
92
97
|
@sdk_configuration.hooks.before_request(
|
|
93
98
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -175,8 +180,8 @@ module Moov
|
|
|
175
180
|
end
|
|
176
181
|
|
|
177
182
|
|
|
178
|
-
sig { params(account_id: ::String, dispute_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::GetDisputeResponse) }
|
|
179
|
-
def get(account_id:, dispute_id:, x_moov_version: nil, timeout_ms: nil)
|
|
183
|
+
sig { params(account_id: ::String, dispute_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetDisputeResponse) }
|
|
184
|
+
def get(account_id:, dispute_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
180
185
|
# get - Get a dispute by ID.
|
|
181
186
|
#
|
|
182
187
|
# Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
|
|
@@ -227,6 +232,9 @@ module Moov
|
|
|
227
232
|
req.headers.merge!(headers)
|
|
228
233
|
req.options.timeout = timeout unless timeout.nil?
|
|
229
234
|
Utils.configure_request_security(req, security)
|
|
235
|
+
http_headers&.each do |key, value|
|
|
236
|
+
req.headers[key.to_s] = value
|
|
237
|
+
end
|
|
230
238
|
|
|
231
239
|
@sdk_configuration.hooks.before_request(
|
|
232
240
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -299,8 +307,8 @@ module Moov
|
|
|
299
307
|
end
|
|
300
308
|
|
|
301
309
|
|
|
302
|
-
sig { params(account_id: ::String, dispute_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::AcceptDisputeResponse) }
|
|
303
|
-
def accept(account_id:, dispute_id:, x_moov_version: nil, timeout_ms: nil)
|
|
310
|
+
sig { params(account_id: ::String, dispute_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::AcceptDisputeResponse) }
|
|
311
|
+
def accept(account_id:, dispute_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
304
312
|
# accept - Accepts liability for a dispute.
|
|
305
313
|
#
|
|
306
314
|
# Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
|
|
@@ -351,6 +359,9 @@ module Moov
|
|
|
351
359
|
req.headers.merge!(headers)
|
|
352
360
|
req.options.timeout = timeout unless timeout.nil?
|
|
353
361
|
Utils.configure_request_security(req, security)
|
|
362
|
+
http_headers&.each do |key, value|
|
|
363
|
+
req.headers[key.to_s] = value
|
|
364
|
+
end
|
|
354
365
|
|
|
355
366
|
@sdk_configuration.hooks.before_request(
|
|
356
367
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -438,8 +449,8 @@ module Moov
|
|
|
438
449
|
end
|
|
439
450
|
|
|
440
451
|
|
|
441
|
-
sig { params(account_id: ::String, dispute_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListDisputeEvidenceResponse) }
|
|
442
|
-
def list_evidence(account_id:, dispute_id:, x_moov_version: nil, timeout_ms: nil)
|
|
452
|
+
sig { params(account_id: ::String, dispute_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListDisputeEvidenceResponse) }
|
|
453
|
+
def list_evidence(account_id:, dispute_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
443
454
|
# list_evidence - Returns a dispute's public evidence by its ID.
|
|
444
455
|
#
|
|
445
456
|
# Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
|
|
@@ -490,6 +501,9 @@ module Moov
|
|
|
490
501
|
req.headers.merge!(headers)
|
|
491
502
|
req.options.timeout = timeout unless timeout.nil?
|
|
492
503
|
Utils.configure_request_security(req, security)
|
|
504
|
+
http_headers&.each do |key, value|
|
|
505
|
+
req.headers[key.to_s] = value
|
|
506
|
+
end
|
|
493
507
|
|
|
494
508
|
@sdk_configuration.hooks.before_request(
|
|
495
509
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -562,8 +576,8 @@ module Moov
|
|
|
562
576
|
end
|
|
563
577
|
|
|
564
578
|
|
|
565
|
-
sig { params(create_evidence_file_multi_part: Models::Components::CreateEvidenceFileMultiPart, account_id: ::String, dispute_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::UploadDisputeEvidenceFileResponse) }
|
|
566
|
-
def upload_evidence_file(create_evidence_file_multi_part:, account_id:, dispute_id:, x_moov_version: nil, timeout_ms: nil)
|
|
579
|
+
sig { params(create_evidence_file_multi_part: Models::Components::CreateEvidenceFileMultiPart, account_id: ::String, dispute_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::UploadDisputeEvidenceFileResponse) }
|
|
580
|
+
def upload_evidence_file(create_evidence_file_multi_part:, account_id:, dispute_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
567
581
|
# upload_evidence_file - Uploads a file as evidence for a dispute.
|
|
568
582
|
#
|
|
569
583
|
# Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
|
|
@@ -627,6 +641,9 @@ module Moov
|
|
|
627
641
|
req.headers.merge!(headers)
|
|
628
642
|
req.options.timeout = timeout unless timeout.nil?
|
|
629
643
|
Utils.configure_request_security(req, security)
|
|
644
|
+
http_headers&.each do |key, value|
|
|
645
|
+
req.headers[key.to_s] = value
|
|
646
|
+
end
|
|
630
647
|
|
|
631
648
|
@sdk_configuration.hooks.before_request(
|
|
632
649
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -729,8 +746,8 @@ module Moov
|
|
|
729
746
|
end
|
|
730
747
|
|
|
731
748
|
|
|
732
|
-
sig { params(create_evidence_text: Models::Components::CreateEvidenceText, account_id: ::String, dispute_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::UploadDisputeEvidenceTextResponse) }
|
|
733
|
-
def upload_evidence_text(create_evidence_text:, account_id:, dispute_id:, x_moov_version: nil, timeout_ms: nil)
|
|
749
|
+
sig { params(create_evidence_text: Models::Components::CreateEvidenceText, account_id: ::String, dispute_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::UploadDisputeEvidenceTextResponse) }
|
|
750
|
+
def upload_evidence_text(create_evidence_text:, account_id:, dispute_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
734
751
|
# upload_evidence_text - Uploads text as evidence for a dispute.
|
|
735
752
|
#
|
|
736
753
|
# Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
|
|
@@ -794,6 +811,9 @@ module Moov
|
|
|
794
811
|
req.headers.merge!(headers)
|
|
795
812
|
req.options.timeout = timeout unless timeout.nil?
|
|
796
813
|
Utils.configure_request_security(req, security)
|
|
814
|
+
http_headers&.each do |key, value|
|
|
815
|
+
req.headers[key.to_s] = value
|
|
816
|
+
end
|
|
797
817
|
|
|
798
818
|
@sdk_configuration.hooks.before_request(
|
|
799
819
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -881,8 +901,8 @@ module Moov
|
|
|
881
901
|
end
|
|
882
902
|
|
|
883
903
|
|
|
884
|
-
sig { params(account_id: ::String, dispute_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::SubmitDisputeEvidenceResponse) }
|
|
885
|
-
def submit_evidence(account_id:, dispute_id:, x_moov_version: nil, timeout_ms: nil)
|
|
904
|
+
sig { params(account_id: ::String, dispute_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::SubmitDisputeEvidenceResponse) }
|
|
905
|
+
def submit_evidence(account_id:, dispute_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
886
906
|
# submit_evidence - Submit the evidence associated with a dispute.
|
|
887
907
|
#
|
|
888
908
|
# Evidence items must be uploaded using the appropriate endpoint(s) prior to calling this endpoint to submit it. **Evidence can only
|
|
@@ -936,6 +956,9 @@ module Moov
|
|
|
936
956
|
req.headers.merge!(headers)
|
|
937
957
|
req.options.timeout = timeout unless timeout.nil?
|
|
938
958
|
Utils.configure_request_security(req, security)
|
|
959
|
+
http_headers&.each do |key, value|
|
|
960
|
+
req.headers[key.to_s] = value
|
|
961
|
+
end
|
|
939
962
|
|
|
940
963
|
@sdk_configuration.hooks.before_request(
|
|
941
964
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1023,8 +1046,8 @@ module Moov
|
|
|
1023
1046
|
end
|
|
1024
1047
|
|
|
1025
1048
|
|
|
1026
|
-
sig { params(account_id: ::String, dispute_id: ::String, evidence_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::GetDisputeEvidenceResponse) }
|
|
1027
|
-
def get_evidence(account_id:, dispute_id:, evidence_id:, x_moov_version: nil, timeout_ms: nil)
|
|
1049
|
+
sig { params(account_id: ::String, dispute_id: ::String, evidence_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetDisputeEvidenceResponse) }
|
|
1050
|
+
def get_evidence(account_id:, dispute_id:, evidence_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
1028
1051
|
# get_evidence - Get dispute evidence by ID.
|
|
1029
1052
|
#
|
|
1030
1053
|
# Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
|
|
@@ -1076,6 +1099,9 @@ module Moov
|
|
|
1076
1099
|
req.headers.merge!(headers)
|
|
1077
1100
|
req.options.timeout = timeout unless timeout.nil?
|
|
1078
1101
|
Utils.configure_request_security(req, security)
|
|
1102
|
+
http_headers&.each do |key, value|
|
|
1103
|
+
req.headers[key.to_s] = value
|
|
1104
|
+
end
|
|
1079
1105
|
|
|
1080
1106
|
@sdk_configuration.hooks.before_request(
|
|
1081
1107
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1148,8 +1174,8 @@ module Moov
|
|
|
1148
1174
|
end
|
|
1149
1175
|
|
|
1150
1176
|
|
|
1151
|
-
sig { params(request: Models::Operations::UpdateDisputeEvidenceRequest, timeout_ms: T.nilable(Integer)).returns(Models::Operations::UpdateDisputeEvidenceResponse) }
|
|
1152
|
-
def update_evidence(request:, timeout_ms: nil)
|
|
1177
|
+
sig { params(request: Models::Operations::UpdateDisputeEvidenceRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::UpdateDisputeEvidenceResponse) }
|
|
1178
|
+
def update_evidence(request:, timeout_ms: nil, http_headers: nil)
|
|
1153
1179
|
# update_evidence - Updates dispute evidence by ID.
|
|
1154
1180
|
#
|
|
1155
1181
|
# Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
|
|
@@ -1207,6 +1233,9 @@ module Moov
|
|
|
1207
1233
|
req.headers.merge!(headers)
|
|
1208
1234
|
req.options.timeout = timeout unless timeout.nil?
|
|
1209
1235
|
Utils.configure_request_security(req, security)
|
|
1236
|
+
http_headers&.each do |key, value|
|
|
1237
|
+
req.headers[key.to_s] = value
|
|
1238
|
+
end
|
|
1210
1239
|
|
|
1211
1240
|
@sdk_configuration.hooks.before_request(
|
|
1212
1241
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1294,8 +1323,8 @@ module Moov
|
|
|
1294
1323
|
end
|
|
1295
1324
|
|
|
1296
1325
|
|
|
1297
|
-
sig { params(account_id: ::String, dispute_id: ::String, evidence_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::DeleteDisputeEvidenceFileResponse) }
|
|
1298
|
-
def delete_evidence(account_id:, dispute_id:, evidence_id:, x_moov_version: nil, timeout_ms: nil)
|
|
1326
|
+
sig { params(account_id: ::String, dispute_id: ::String, evidence_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::DeleteDisputeEvidenceFileResponse) }
|
|
1327
|
+
def delete_evidence(account_id:, dispute_id:, evidence_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
1299
1328
|
# delete_evidence - Deletes dispute evidence by ID.
|
|
1300
1329
|
#
|
|
1301
1330
|
# Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
|
|
@@ -1347,6 +1376,9 @@ module Moov
|
|
|
1347
1376
|
req.headers.merge!(headers)
|
|
1348
1377
|
req.options.timeout = timeout unless timeout.nil?
|
|
1349
1378
|
Utils.configure_request_security(req, security)
|
|
1379
|
+
http_headers&.each do |key, value|
|
|
1380
|
+
req.headers[key.to_s] = value
|
|
1381
|
+
end
|
|
1350
1382
|
|
|
1351
1383
|
@sdk_configuration.hooks.before_request(
|
|
1352
1384
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1425,8 +1457,8 @@ module Moov
|
|
|
1425
1457
|
end
|
|
1426
1458
|
|
|
1427
1459
|
|
|
1428
|
-
sig { params(account_id: ::String, dispute_id: ::String, evidence_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), accept_header_override: T.nilable(String)).returns(Models::Operations::GetDisputeEvidenceDataResponse) }
|
|
1429
|
-
def get_evidence_data(account_id:, dispute_id:, evidence_id:, x_moov_version: nil, timeout_ms: nil, accept_header_override: nil)
|
|
1460
|
+
sig { params(account_id: ::String, dispute_id: ::String, evidence_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), accept_header_override: T.nilable(String), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetDisputeEvidenceDataResponse) }
|
|
1461
|
+
def get_evidence_data(account_id:, dispute_id:, evidence_id:, x_moov_version: nil, timeout_ms: nil, accept_header_override: nil, http_headers: nil)
|
|
1430
1462
|
# get_evidence_data - Downloads dispute evidence data by ID.
|
|
1431
1463
|
#
|
|
1432
1464
|
# Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
|
|
@@ -1478,6 +1510,9 @@ module Moov
|
|
|
1478
1510
|
req.headers.merge!(headers)
|
|
1479
1511
|
req.options.timeout = timeout unless timeout.nil?
|
|
1480
1512
|
Utils.configure_request_security(req, security)
|
|
1513
|
+
http_headers&.each do |key, value|
|
|
1514
|
+
req.headers[key.to_s] = value
|
|
1515
|
+
end
|
|
1481
1516
|
|
|
1482
1517
|
@sdk_configuration.hooks.before_request(
|
|
1483
1518
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1578,5 +1613,5 @@ module Moov
|
|
|
1578
1613
|
|
|
1579
1614
|
end
|
|
1580
1615
|
end
|
|
1581
|
-
|
|
1616
|
+
end
|
|
1582
1617
|
end
|
|
@@ -39,8 +39,10 @@ module Moov
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
sig { params(e2_ee_token: Models::Components::E2EEToken, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::TestEndToEndTokenResponse) }
|
|
45
|
+
def test_encrypted_token(e2_ee_token:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
44
46
|
# test_encrypted_token - Allows for testing a JWE token to ensure it's acceptable by Moov.
|
|
45
47
|
#
|
|
46
48
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -94,6 +96,9 @@ module Moov
|
|
|
94
96
|
req.headers.merge!(headers)
|
|
95
97
|
req.options.timeout = timeout unless timeout.nil?
|
|
96
98
|
Utils.configure_request_security(req, security)
|
|
99
|
+
http_headers&.each do |key, value|
|
|
100
|
+
req.headers[key.to_s] = value
|
|
101
|
+
end
|
|
97
102
|
|
|
98
103
|
@sdk_configuration.hooks.before_request(
|
|
99
104
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -172,8 +177,8 @@ module Moov
|
|
|
172
177
|
end
|
|
173
178
|
|
|
174
179
|
|
|
175
|
-
sig { params(x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::GenerateEndToEndKeyResponse) }
|
|
176
|
-
def generate_key(x_moov_version: nil, timeout_ms: nil)
|
|
180
|
+
sig { params(x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GenerateEndToEndKeyResponse) }
|
|
181
|
+
def generate_key(x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
177
182
|
# generate_key - Generates a public key used to create a JWE token for passing secure authentication data through non-PCI compliant intermediaries.
|
|
178
183
|
request = Models::Operations::GenerateEndToEndKeyRequest.new(
|
|
179
184
|
x_moov_version: x_moov_version
|
|
@@ -211,6 +216,9 @@ module Moov
|
|
|
211
216
|
req.headers.merge!(headers)
|
|
212
217
|
req.options.timeout = timeout unless timeout.nil?
|
|
213
218
|
Utils.configure_request_security(req, security)
|
|
219
|
+
http_headers&.each do |key, value|
|
|
220
|
+
req.headers[key.to_s] = value
|
|
221
|
+
end
|
|
214
222
|
|
|
215
223
|
@sdk_configuration.hooks.before_request(
|
|
216
224
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -279,5 +287,5 @@ module Moov
|
|
|
279
287
|
|
|
280
288
|
end
|
|
281
289
|
end
|
|
282
|
-
|
|
290
|
+
end
|
|
283
291
|
end
|
|
@@ -39,8 +39,10 @@ module Moov
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
sig { params(request: Models::Operations::GetEnrichmentAddressRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetEnrichmentAddressResponse) }
|
|
45
|
+
def get(request:, timeout_ms: nil, http_headers: nil)
|
|
44
46
|
# get - Fetch enriched address suggestions. Requires a partial address.
|
|
45
47
|
#
|
|
46
48
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -80,6 +82,9 @@ module Moov
|
|
|
80
82
|
req.options.timeout = timeout unless timeout.nil?
|
|
81
83
|
req.params = query_params
|
|
82
84
|
Utils.configure_request_security(req, security)
|
|
85
|
+
http_headers&.each do |key, value|
|
|
86
|
+
req.headers[key.to_s] = value
|
|
87
|
+
end
|
|
83
88
|
|
|
84
89
|
@sdk_configuration.hooks.before_request(
|
|
85
90
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -150,5 +155,5 @@ module Moov
|
|
|
150
155
|
|
|
151
156
|
end
|
|
152
157
|
end
|
|
153
|
-
|
|
158
|
+
end
|
|
154
159
|
end
|
|
@@ -39,8 +39,10 @@ module Moov
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
sig { params(email: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetEnrichmentProfileResponse) }
|
|
45
|
+
def get(email:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
44
46
|
# get - Fetch enriched profile data. Requires a valid email address. This service is offered in collaboration with Clearbit.
|
|
45
47
|
#
|
|
46
48
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -84,6 +86,9 @@ module Moov
|
|
|
84
86
|
req.options.timeout = timeout unless timeout.nil?
|
|
85
87
|
req.params = query_params
|
|
86
88
|
Utils.configure_request_security(req, security)
|
|
89
|
+
http_headers&.each do |key, value|
|
|
90
|
+
req.headers[key.to_s] = value
|
|
91
|
+
end
|
|
87
92
|
|
|
88
93
|
@sdk_configuration.hooks.before_request(
|
|
89
94
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -154,5 +159,5 @@ module Moov
|
|
|
154
159
|
|
|
155
160
|
end
|
|
156
161
|
end
|
|
157
|
-
|
|
162
|
+
end
|
|
158
163
|
end
|
data/lib/moov/fee_plans.rb
CHANGED
|
@@ -39,8 +39,10 @@ module Moov
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
sig { params(request: Models::Operations::ListFeePlanAgreementsRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListFeePlanAgreementsResponse) }
|
|
45
|
+
def list_fee_plan_agreements(request:, timeout_ms: nil, http_headers: nil)
|
|
44
46
|
# list_fee_plan_agreements - List all fee plan agreements associated with an account.
|
|
45
47
|
#
|
|
46
48
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -86,6 +88,9 @@ module Moov
|
|
|
86
88
|
req.options.timeout = timeout unless timeout.nil?
|
|
87
89
|
req.params = query_params
|
|
88
90
|
Utils.configure_request_security(req, security)
|
|
91
|
+
http_headers&.each do |key, value|
|
|
92
|
+
req.headers[key.to_s] = value
|
|
93
|
+
end
|
|
89
94
|
|
|
90
95
|
@sdk_configuration.hooks.before_request(
|
|
91
96
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -158,8 +163,8 @@ module Moov
|
|
|
158
163
|
end
|
|
159
164
|
|
|
160
165
|
|
|
161
|
-
sig { params(create_fee_plan_agreement: Models::Components::CreateFeePlanAgreement, account_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::CreateFeePlanAgreementsResponse) }
|
|
162
|
-
def create_fee_plan_agreements(create_fee_plan_agreement:, account_id:, x_moov_version: nil, timeout_ms: nil)
|
|
166
|
+
sig { params(create_fee_plan_agreement: Models::Components::CreateFeePlanAgreement, account_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::CreateFeePlanAgreementsResponse) }
|
|
167
|
+
def create_fee_plan_agreements(create_fee_plan_agreement:, account_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
163
168
|
# create_fee_plan_agreements - Creates the subscription of a fee plan to a merchant account. Merchants are required to accept the fee plan terms prior to activation.
|
|
164
169
|
#
|
|
165
170
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -220,6 +225,9 @@ module Moov
|
|
|
220
225
|
req.headers.merge!(headers)
|
|
221
226
|
req.options.timeout = timeout unless timeout.nil?
|
|
222
227
|
Utils.configure_request_security(req, security)
|
|
228
|
+
http_headers&.each do |key, value|
|
|
229
|
+
req.headers[key.to_s] = value
|
|
230
|
+
end
|
|
223
231
|
|
|
224
232
|
@sdk_configuration.hooks.before_request(
|
|
225
233
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -322,8 +330,8 @@ module Moov
|
|
|
322
330
|
end
|
|
323
331
|
|
|
324
332
|
|
|
325
|
-
sig { params(account_id: ::String, x_moov_version: T.nilable(::String), plan_i_ds: T.nilable(T::Array[::String]), timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListFeePlansResponse) }
|
|
326
|
-
def list_fee_plans(account_id:, x_moov_version: nil, plan_i_ds: nil, timeout_ms: nil)
|
|
333
|
+
sig { params(account_id: ::String, x_moov_version: T.nilable(::String), plan_i_ds: T.nilable(T::Array[::String]), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListFeePlansResponse) }
|
|
334
|
+
def list_fee_plans(account_id:, x_moov_version: nil, plan_i_ds: nil, timeout_ms: nil, http_headers: nil)
|
|
327
335
|
# list_fee_plans - List all fee plans available for use by an account. This is intended to be used by an account when
|
|
328
336
|
# selecting a fee plan to apply to a connected account.
|
|
329
337
|
#
|
|
@@ -375,6 +383,9 @@ module Moov
|
|
|
375
383
|
req.options.timeout = timeout unless timeout.nil?
|
|
376
384
|
req.params = query_params
|
|
377
385
|
Utils.configure_request_security(req, security)
|
|
386
|
+
http_headers&.each do |key, value|
|
|
387
|
+
req.headers[key.to_s] = value
|
|
388
|
+
end
|
|
378
389
|
|
|
379
390
|
@sdk_configuration.hooks.before_request(
|
|
380
391
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -447,8 +458,8 @@ module Moov
|
|
|
447
458
|
end
|
|
448
459
|
|
|
449
460
|
|
|
450
|
-
sig { params(request: Models::Operations::ListFeeRevenueRequest, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListFeeRevenueResponse) }
|
|
451
|
-
def list_fee_revenue(request:, timeout_ms: nil)
|
|
461
|
+
sig { params(request: Models::Operations::ListFeeRevenueRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListFeeRevenueResponse) }
|
|
462
|
+
def list_fee_revenue(request:, timeout_ms: nil, http_headers: nil)
|
|
452
463
|
# list_fee_revenue - Used by a partner. Retrieve revenue generated from merchant fees.
|
|
453
464
|
#
|
|
454
465
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -494,6 +505,9 @@ module Moov
|
|
|
494
505
|
req.options.timeout = timeout unless timeout.nil?
|
|
495
506
|
req.params = query_params
|
|
496
507
|
Utils.configure_request_security(req, security)
|
|
508
|
+
http_headers&.each do |key, value|
|
|
509
|
+
req.headers[key.to_s] = value
|
|
510
|
+
end
|
|
497
511
|
|
|
498
512
|
@sdk_configuration.hooks.before_request(
|
|
499
513
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -566,8 +580,8 @@ module Moov
|
|
|
566
580
|
end
|
|
567
581
|
|
|
568
582
|
|
|
569
|
-
sig { params(request: Models::Operations::RetrieveFeesRequest, timeout_ms: T.nilable(Integer)).returns(Models::Operations::RetrieveFeesResponse) }
|
|
570
|
-
def retrieve_fees(request:, timeout_ms: nil)
|
|
583
|
+
sig { params(request: Models::Operations::RetrieveFeesRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::RetrieveFeesResponse) }
|
|
584
|
+
def retrieve_fees(request:, timeout_ms: nil, http_headers: nil)
|
|
571
585
|
# retrieve_fees - Retrieve fees assessed to an account.
|
|
572
586
|
#
|
|
573
587
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -613,6 +627,9 @@ module Moov
|
|
|
613
627
|
req.options.timeout = timeout unless timeout.nil?
|
|
614
628
|
req.params = query_params
|
|
615
629
|
Utils.configure_request_security(req, security)
|
|
630
|
+
http_headers&.each do |key, value|
|
|
631
|
+
req.headers[key.to_s] = value
|
|
632
|
+
end
|
|
616
633
|
|
|
617
634
|
@sdk_configuration.hooks.before_request(
|
|
618
635
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -685,8 +702,8 @@ module Moov
|
|
|
685
702
|
end
|
|
686
703
|
|
|
687
704
|
|
|
688
|
-
sig { params(account_id: ::String, list_fees_fetch_request: T.nilable(Models::Components::ListFeesFetchRequest), x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListFeesFetchResponse) }
|
|
689
|
-
def list_fees_fetch(account_id:, list_fees_fetch_request: nil, x_moov_version: nil, timeout_ms: nil)
|
|
705
|
+
sig { params(account_id: ::String, list_fees_fetch_request: T.nilable(Models::Components::ListFeesFetchRequest), x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListFeesFetchResponse) }
|
|
706
|
+
def list_fees_fetch(account_id:, list_fees_fetch_request: nil, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
690
707
|
# list_fees_fetch - List fees associated with an account.
|
|
691
708
|
#
|
|
692
709
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -746,6 +763,9 @@ module Moov
|
|
|
746
763
|
req.headers.merge!(headers)
|
|
747
764
|
req.options.timeout = timeout unless timeout.nil?
|
|
748
765
|
Utils.configure_request_security(req, security)
|
|
766
|
+
http_headers&.each do |key, value|
|
|
767
|
+
req.headers[key.to_s] = value
|
|
768
|
+
end
|
|
749
769
|
|
|
750
770
|
@sdk_configuration.hooks.before_request(
|
|
751
771
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -818,8 +838,8 @@ module Moov
|
|
|
818
838
|
end
|
|
819
839
|
|
|
820
840
|
|
|
821
|
-
sig { params(request: Models::Operations::ListPartnerPricingAgreementsRequest, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListPartnerPricingAgreementsResponse) }
|
|
822
|
-
def list_partner_pricing_agreements(request:, timeout_ms: nil)
|
|
841
|
+
sig { params(request: Models::Operations::ListPartnerPricingAgreementsRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListPartnerPricingAgreementsResponse) }
|
|
842
|
+
def list_partner_pricing_agreements(request:, timeout_ms: nil, http_headers: nil)
|
|
823
843
|
# list_partner_pricing_agreements - List all partner pricing agreements associated with an account.
|
|
824
844
|
#
|
|
825
845
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -865,6 +885,9 @@ module Moov
|
|
|
865
885
|
req.options.timeout = timeout unless timeout.nil?
|
|
866
886
|
req.params = query_params
|
|
867
887
|
Utils.configure_request_security(req, security)
|
|
888
|
+
http_headers&.each do |key, value|
|
|
889
|
+
req.headers[key.to_s] = value
|
|
890
|
+
end
|
|
868
891
|
|
|
869
892
|
@sdk_configuration.hooks.before_request(
|
|
870
893
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -937,8 +960,8 @@ module Moov
|
|
|
937
960
|
end
|
|
938
961
|
|
|
939
962
|
|
|
940
|
-
sig { params(request: Models::Operations::ListResidualsRequest, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListResidualsResponse) }
|
|
941
|
-
def list_residuals(request:, timeout_ms: nil)
|
|
963
|
+
sig { params(request: Models::Operations::ListResidualsRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListResidualsResponse) }
|
|
964
|
+
def list_residuals(request:, timeout_ms: nil, http_headers: nil)
|
|
942
965
|
# list_residuals - List all residuals associated with an account.
|
|
943
966
|
#
|
|
944
967
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -984,6 +1007,9 @@ module Moov
|
|
|
984
1007
|
req.options.timeout = timeout unless timeout.nil?
|
|
985
1008
|
req.params = query_params
|
|
986
1009
|
Utils.configure_request_security(req, security)
|
|
1010
|
+
http_headers&.each do |key, value|
|
|
1011
|
+
req.headers[key.to_s] = value
|
|
1012
|
+
end
|
|
987
1013
|
|
|
988
1014
|
@sdk_configuration.hooks.before_request(
|
|
989
1015
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1056,8 +1082,8 @@ module Moov
|
|
|
1056
1082
|
end
|
|
1057
1083
|
|
|
1058
1084
|
|
|
1059
|
-
sig { params(account_id: ::String, residual_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::GetResidualResponse) }
|
|
1060
|
-
def get_residual(account_id:, residual_id:, x_moov_version: nil, timeout_ms: nil)
|
|
1085
|
+
sig { params(account_id: ::String, residual_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetResidualResponse) }
|
|
1086
|
+
def get_residual(account_id:, residual_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
1061
1087
|
# get_residual - Get a residual associated with an account.
|
|
1062
1088
|
#
|
|
1063
1089
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -1106,6 +1132,9 @@ module Moov
|
|
|
1106
1132
|
req.headers.merge!(headers)
|
|
1107
1133
|
req.options.timeout = timeout unless timeout.nil?
|
|
1108
1134
|
Utils.configure_request_security(req, security)
|
|
1135
|
+
http_headers&.each do |key, value|
|
|
1136
|
+
req.headers[key.to_s] = value
|
|
1137
|
+
end
|
|
1109
1138
|
|
|
1110
1139
|
@sdk_configuration.hooks.before_request(
|
|
1111
1140
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1178,8 +1207,8 @@ module Moov
|
|
|
1178
1207
|
end
|
|
1179
1208
|
|
|
1180
1209
|
|
|
1181
|
-
sig { params(request: Models::Operations::ListResidualFeesRequest, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListResidualFeesResponse) }
|
|
1182
|
-
def list_residual_fees(request:, timeout_ms: nil)
|
|
1210
|
+
sig { params(request: Models::Operations::ListResidualFeesRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListResidualFeesResponse) }
|
|
1211
|
+
def list_residual_fees(request:, timeout_ms: nil, http_headers: nil)
|
|
1183
1212
|
# list_residual_fees - List all fees associated with a residual.
|
|
1184
1213
|
#
|
|
1185
1214
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -1225,6 +1254,9 @@ module Moov
|
|
|
1225
1254
|
req.options.timeout = timeout unless timeout.nil?
|
|
1226
1255
|
req.params = query_params
|
|
1227
1256
|
Utils.configure_request_security(req, security)
|
|
1257
|
+
http_headers&.each do |key, value|
|
|
1258
|
+
req.headers[key.to_s] = value
|
|
1259
|
+
end
|
|
1228
1260
|
|
|
1229
1261
|
@sdk_configuration.hooks.before_request(
|
|
1230
1262
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -1295,5 +1327,5 @@ module Moov
|
|
|
1295
1327
|
|
|
1296
1328
|
end
|
|
1297
1329
|
end
|
|
1298
|
-
|
|
1330
|
+
end
|
|
1299
1331
|
end
|
data/lib/moov/files.rb
CHANGED
|
@@ -39,8 +39,10 @@ module Moov
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
sig { params(file_upload_request_multi_part: Models::Components::FileUploadRequestMultiPart, account_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::UploadFileResponse) }
|
|
45
|
+
def upload(file_upload_request_multi_part:, account_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
44
46
|
# upload - Upload a file and link it to the specified Moov account.
|
|
45
47
|
#
|
|
46
48
|
# The maximum file size is 20MB. Each account is allowed a maximum of 50 files. Acceptable file types include csv, jpg, pdf,
|
|
@@ -104,6 +106,9 @@ module Moov
|
|
|
104
106
|
req.headers.merge!(headers)
|
|
105
107
|
req.options.timeout = timeout unless timeout.nil?
|
|
106
108
|
Utils.configure_request_security(req, security)
|
|
109
|
+
http_headers&.each do |key, value|
|
|
110
|
+
req.headers[key.to_s] = value
|
|
111
|
+
end
|
|
107
112
|
|
|
108
113
|
@sdk_configuration.hooks.before_request(
|
|
109
114
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -206,8 +211,8 @@ module Moov
|
|
|
206
211
|
end
|
|
207
212
|
|
|
208
213
|
|
|
209
|
-
sig { params(account_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListFilesResponse) }
|
|
210
|
-
def list(account_id:, x_moov_version: nil, timeout_ms: nil)
|
|
214
|
+
sig { params(account_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListFilesResponse) }
|
|
215
|
+
def list(account_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
211
216
|
# list - List all the files associated with a particular Moov account.
|
|
212
217
|
#
|
|
213
218
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -255,6 +260,9 @@ module Moov
|
|
|
255
260
|
req.headers.merge!(headers)
|
|
256
261
|
req.options.timeout = timeout unless timeout.nil?
|
|
257
262
|
Utils.configure_request_security(req, security)
|
|
263
|
+
http_headers&.each do |key, value|
|
|
264
|
+
req.headers[key.to_s] = value
|
|
265
|
+
end
|
|
258
266
|
|
|
259
267
|
@sdk_configuration.hooks.before_request(
|
|
260
268
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -327,8 +335,8 @@ module Moov
|
|
|
327
335
|
end
|
|
328
336
|
|
|
329
337
|
|
|
330
|
-
sig { params(account_id: ::String, file_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::GetFileDetailsResponse) }
|
|
331
|
-
def get(account_id:, file_id:, x_moov_version: nil, timeout_ms: nil)
|
|
338
|
+
sig { params(account_id: ::String, file_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::GetFileDetailsResponse) }
|
|
339
|
+
def get(account_id:, file_id:, x_moov_version: nil, timeout_ms: nil, http_headers: nil)
|
|
332
340
|
# get - Retrieve file details associated with a specific Moov account.
|
|
333
341
|
#
|
|
334
342
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -377,6 +385,9 @@ module Moov
|
|
|
377
385
|
req.headers.merge!(headers)
|
|
378
386
|
req.options.timeout = timeout unless timeout.nil?
|
|
379
387
|
Utils.configure_request_security(req, security)
|
|
388
|
+
http_headers&.each do |key, value|
|
|
389
|
+
req.headers[key.to_s] = value
|
|
390
|
+
end
|
|
380
391
|
|
|
381
392
|
@sdk_configuration.hooks.before_request(
|
|
382
393
|
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
@@ -447,5 +458,5 @@ module Moov
|
|
|
447
458
|
|
|
448
459
|
end
|
|
449
460
|
end
|
|
450
|
-
|
|
461
|
+
end
|
|
451
462
|
end
|