moov_ruby 26.10.0.pre.dev.8 → 26.10.0.pre.dev.9
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/card_issuing.rb +538 -0
- data/lib/moov/invoices.rb +180 -0
- data/lib/moov/issuing_transactions.rb +123 -0
- data/lib/moov/models/components/authorizationsimulationasyncresponse.rb +32 -0
- data/lib/moov/models/components/authorizationsimulationasyncresponse.rbi +13 -0
- data/lib/moov/models/components/capturestatus.rb +1 -0
- data/lib/moov/models/components/createauthorizationsimulation.rb +40 -0
- data/lib/moov/models/components/createauthorizationsimulation.rbi +17 -0
- data/lib/moov/models/components/{createcancellation.rb → createclearingsimulation.rb} +5 -7
- data/lib/moov/models/components/{createcancellation.rbi → createclearingsimulation.rbi} +2 -2
- data/lib/moov/models/components/createinvoice.rb +10 -2
- data/lib/moov/models/components/createinvoice.rbi +4 -0
- data/lib/moov/models/components/createinvoicenotification.rb +32 -0
- data/lib/moov/models/components/createinvoicenotification.rbi +13 -0
- data/lib/moov/models/components/createtransfer.rb +6 -2
- data/lib/moov/models/components/createtransfer.rbi +2 -0
- data/lib/moov/models/components/createtransferdestination.rb +2 -10
- data/lib/moov/models/components/createtransferdestination.rbi +0 -4
- data/lib/moov/models/components/createtransferrailoptions.rb +48 -0
- data/lib/moov/models/components/createtransferrailoptions.rbi +21 -0
- data/lib/moov/models/components/createtransferresponse.rb +27 -0
- data/lib/moov/models/components/createtransferresponse.rbi +11 -0
- data/lib/moov/models/components/createtransfersource.rb +2 -10
- data/lib/moov/models/components/createtransfersource.rbi +0 -4
- data/lib/moov/models/components/invoice.rb +6 -2
- data/lib/moov/models/components/invoice.rbi +2 -0
- data/lib/moov/models/components/invoicenotificationlimitedchannel.rb +36 -0
- data/lib/moov/models/components/invoicenotificationlimitedchannel.rbi +15 -0
- data/lib/moov/models/components/invoicepaymentoptions.rb +40 -0
- data/lib/moov/models/components/invoicepaymentoptions.rbi +17 -0
- data/lib/moov/models/components/invoicepaymentoptionserror.rb +40 -0
- data/lib/moov/models/components/invoicepaymentoptionserror.rbi +17 -0
- data/lib/moov/models/components/invoicepaymentoptionsupdate.rb +40 -0
- data/lib/moov/models/components/invoicepaymentoptionsupdate.rbi +17 -0
- data/lib/moov/models/components/notificationchannel.rb +18 -0
- data/lib/moov/models/components/notificationchannel.rbi +11 -0
- data/lib/moov/models/components/pushtocardoptions.rb +6 -2
- data/lib/moov/models/components/pushtocardoptions.rbi +2 -0
- data/lib/moov/models/components/simulationissuingmerchantdata.rb +56 -0
- data/lib/moov/models/components/simulationissuingmerchantdata.rbi +25 -0
- data/lib/moov/models/components/simulationissuingmerchantdatavalidationerror.rb +56 -0
- data/lib/moov/models/components/simulationissuingmerchantdatavalidationerror.rbi +25 -0
- data/lib/moov/models/components/updateinvoice.rb +6 -2
- data/lib/moov/models/components/updateinvoice.rbi +2 -0
- data/lib/moov/models/components.rb +13 -1
- data/lib/moov/models/errors/authorizationsimulationvalidationerror.rb +44 -0
- data/lib/moov/models/errors/authorizationsimulationvalidationerror.rbi +19 -0
- data/lib/moov/models/errors/clearingsimulationvalidationerror.rb +36 -0
- data/lib/moov/models/errors/clearingsimulationvalidationerror.rbi +15 -0
- data/lib/moov/models/errors/createinvoiceerror.rb +10 -2
- data/lib/moov/models/errors/createinvoiceerror.rbi +4 -0
- data/lib/moov/models/errors/invoicenotificationerror.rb +36 -0
- data/lib/moov/models/errors/invoicenotificationerror.rbi +15 -0
- data/lib/moov/models/errors/invoicenotificationratelimitederror.rb +44 -0
- data/lib/moov/models/errors/invoicenotificationratelimitederror.rbi +19 -0
- data/lib/moov/models/errors/updateinvoiceerror.rb +6 -2
- data/lib/moov/models/errors/updateinvoiceerror.rbi +2 -0
- data/lib/moov/models/errors.rb +4 -0
- data/lib/moov/models/operations/createauthorizationsimulation_request.rb +36 -0
- data/lib/moov/models/operations/createauthorizationsimulation_request.rbi +15 -0
- data/lib/moov/models/operations/createauthorizationsimulation_response.rb +52 -0
- data/lib/moov/models/operations/createauthorizationsimulation_response.rbi +23 -0
- data/lib/moov/models/operations/createclearingsimulation_request.rb +40 -0
- data/lib/moov/models/operations/createclearingsimulation_request.rbi +17 -0
- data/lib/moov/models/operations/createclearingsimulation_response.rb +52 -0
- data/lib/moov/models/operations/createclearingsimulation_response.rbi +23 -0
- data/lib/moov/models/operations/createinvoicenotification_request.rb +40 -0
- data/lib/moov/models/operations/createinvoicenotification_request.rbi +17 -0
- data/lib/moov/models/operations/{createcancellation_response.rb → createinvoicenotification_response.rb} +3 -7
- data/lib/moov/models/operations/{createcancellation_response.rbi → createinvoicenotification_response.rbi} +2 -4
- data/lib/moov/models/operations/createreversalsimulation_request.rb +36 -0
- data/lib/moov/models/operations/createreversalsimulation_request.rbi +15 -0
- data/lib/moov/models/operations/createreversalsimulation_response.rb +52 -0
- data/lib/moov/models/operations/createreversalsimulation_response.rbi +23 -0
- data/lib/moov/models/operations/createtransfer_response.rb +5 -5
- data/lib/moov/models/operations/createtransfer_response.rbi +2 -2
- data/lib/moov/models/operations/getissuedcardactivity_request.rb +36 -0
- data/lib/moov/models/operations/getissuedcardactivity_request.rbi +15 -0
- data/lib/moov/models/operations/getissuedcardactivity_response.rb +48 -0
- data/lib/moov/models/operations/getissuedcardactivity_response.rbi +21 -0
- data/lib/moov/models/operations/initiaterefund_request.rb +1 -1
- data/lib/moov/models/operations.rb +10 -2
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov/transfers.rb +3 -156
- metadata +56 -8
- data/lib/moov/models/operations/createcancellation_request.rb +0 -40
- data/lib/moov/models/operations/createcancellation_request.rbi +0 -17
data/lib/moov/transfers.rb
CHANGED
|
@@ -322,13 +322,13 @@ module Moov
|
|
|
322
322
|
response: http_response
|
|
323
323
|
)
|
|
324
324
|
response_data = http_response.env.response_body
|
|
325
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Components::CreatedTransfer)
|
|
325
|
+
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Crystalline::Union.new(Models::Components::CreatedTransfer, Models::Components::AsyncTransfer))
|
|
326
326
|
response = Models::Operations::CreateTransferResponse.new(
|
|
327
327
|
status_code: http_response.status,
|
|
328
328
|
content_type: content_type,
|
|
329
329
|
raw_response: http_response,
|
|
330
330
|
headers: http_response.headers,
|
|
331
|
-
|
|
331
|
+
create_transfer_response: T.unsafe(obj)
|
|
332
332
|
)
|
|
333
333
|
|
|
334
334
|
return response
|
|
@@ -1000,160 +1000,6 @@ module Moov
|
|
|
1000
1000
|
end
|
|
1001
1001
|
|
|
1002
1002
|
|
|
1003
|
-
sig { params(create_cancellation: Models::Components::CreateCancellation, account_id: ::String, transfer_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::CreateCancellationResponse) }
|
|
1004
|
-
def create_cancellation(create_cancellation:, account_id:, transfer_id:, timeout_ms: nil, http_headers: nil)
|
|
1005
|
-
# create_cancellation - Initiate a cancellation for a card, ACH, or queued transfer.
|
|
1006
|
-
#
|
|
1007
|
-
# In v2026.10 and later, an auth-capture `card-payment` transfer can be canceled before any captures exist.
|
|
1008
|
-
# For these transfers, a successful cancellation reduces `capturableAmount` without changing `authorizedAmount`.
|
|
1009
|
-
# For these transfers, a partial cancellation leaves the remaining `capturableAmount` available for capture.
|
|
1010
|
-
# To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
1011
|
-
# to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
1012
|
-
request = Models::Operations::CreateCancellationRequest.new(
|
|
1013
|
-
account_id: account_id,
|
|
1014
|
-
transfer_id: transfer_id,
|
|
1015
|
-
create_cancellation: create_cancellation
|
|
1016
|
-
)
|
|
1017
|
-
url, params = @sdk_configuration.get_server_details
|
|
1018
|
-
base_url = Utils.template_url(url, params)
|
|
1019
|
-
url = Utils.generate_url(
|
|
1020
|
-
Models::Operations::CreateCancellationRequest,
|
|
1021
|
-
base_url,
|
|
1022
|
-
'/accounts/{accountID}/transfers/{transferID}/cancellations',
|
|
1023
|
-
request
|
|
1024
|
-
)
|
|
1025
|
-
headers = {}
|
|
1026
|
-
headers = T.cast(headers, T::Hash[String, String])
|
|
1027
|
-
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :create_cancellation, :json)
|
|
1028
|
-
headers['content-type'] = req_content_type
|
|
1029
|
-
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
1030
|
-
|
|
1031
|
-
if form && !form.empty?
|
|
1032
|
-
body = Utils.encode_form(form)
|
|
1033
|
-
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
1034
|
-
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
1035
|
-
else
|
|
1036
|
-
body = data
|
|
1037
|
-
end
|
|
1038
|
-
headers['Accept'] = 'application/json'
|
|
1039
|
-
headers['user-agent'] = @sdk_configuration.user_agent
|
|
1040
|
-
|
|
1041
|
-
security = @sdk_configuration.security_source&.call
|
|
1042
|
-
|
|
1043
|
-
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
1044
|
-
timeout ||= @sdk_configuration.timeout
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
connection = @sdk_configuration.client
|
|
1048
|
-
|
|
1049
|
-
hook_ctx = SDKHooks::HookContext.new(
|
|
1050
|
-
config: @sdk_configuration,
|
|
1051
|
-
base_url: base_url,
|
|
1052
|
-
oauth2_scopes: nil,
|
|
1053
|
-
operation_id: 'createCancellation',
|
|
1054
|
-
security_source: @sdk_configuration.security_source
|
|
1055
|
-
)
|
|
1056
|
-
|
|
1057
|
-
error = T.let(nil, T.nilable(StandardError))
|
|
1058
|
-
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
begin
|
|
1062
|
-
http_response = T.must(connection).post(url) do |req|
|
|
1063
|
-
req.body = body
|
|
1064
|
-
req.headers.merge!(headers)
|
|
1065
|
-
req.options.timeout = timeout unless timeout.nil?
|
|
1066
|
-
Utils.configure_request_security(req, security)
|
|
1067
|
-
http_headers&.each do |key, value|
|
|
1068
|
-
req.headers[key.to_s] = value
|
|
1069
|
-
end
|
|
1070
|
-
|
|
1071
|
-
@sdk_configuration.hooks.before_request(
|
|
1072
|
-
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
1073
|
-
hook_ctx: hook_ctx
|
|
1074
|
-
),
|
|
1075
|
-
request: req
|
|
1076
|
-
)
|
|
1077
|
-
end
|
|
1078
|
-
rescue StandardError => e
|
|
1079
|
-
error = e
|
|
1080
|
-
ensure
|
|
1081
|
-
if http_response.nil? || Utils.error_status?(http_response.status)
|
|
1082
|
-
http_response = @sdk_configuration.hooks.after_error(
|
|
1083
|
-
error: error,
|
|
1084
|
-
hook_ctx: SDKHooks::AfterErrorHookContext.new(
|
|
1085
|
-
hook_ctx: hook_ctx
|
|
1086
|
-
),
|
|
1087
|
-
response: http_response
|
|
1088
|
-
)
|
|
1089
|
-
else
|
|
1090
|
-
http_response = @sdk_configuration.hooks.after_success(
|
|
1091
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
1092
|
-
hook_ctx: hook_ctx
|
|
1093
|
-
),
|
|
1094
|
-
response: http_response
|
|
1095
|
-
)
|
|
1096
|
-
end
|
|
1097
|
-
|
|
1098
|
-
if http_response.nil?
|
|
1099
|
-
raise error if !error.nil?
|
|
1100
|
-
raise 'no response'
|
|
1101
|
-
end
|
|
1102
|
-
end
|
|
1103
|
-
|
|
1104
|
-
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
1105
|
-
if Utils.match_status_code(http_response.status, ['200', '202'])
|
|
1106
|
-
if Utils.match_content_type(content_type, 'application/json')
|
|
1107
|
-
http_response = @sdk_configuration.hooks.after_success(
|
|
1108
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
1109
|
-
hook_ctx: hook_ctx
|
|
1110
|
-
),
|
|
1111
|
-
response: http_response
|
|
1112
|
-
)
|
|
1113
|
-
response_data = http_response.env.response_body
|
|
1114
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Components::Cancellation)
|
|
1115
|
-
response = Models::Operations::CreateCancellationResponse.new(
|
|
1116
|
-
status_code: http_response.status,
|
|
1117
|
-
content_type: content_type,
|
|
1118
|
-
raw_response: http_response,
|
|
1119
|
-
headers: http_response.headers,
|
|
1120
|
-
cancellation: T.unsafe(obj)
|
|
1121
|
-
)
|
|
1122
|
-
|
|
1123
|
-
return response
|
|
1124
|
-
else
|
|
1125
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
1126
|
-
end
|
|
1127
|
-
elsif Utils.match_status_code(http_response.status, ['400', '409', '422'])
|
|
1128
|
-
if Utils.match_content_type(content_type, 'application/json')
|
|
1129
|
-
http_response = @sdk_configuration.hooks.after_success(
|
|
1130
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
1131
|
-
hook_ctx: hook_ctx
|
|
1132
|
-
),
|
|
1133
|
-
response: http_response
|
|
1134
|
-
)
|
|
1135
|
-
response_data = http_response.env.response_body
|
|
1136
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::GenericError)
|
|
1137
|
-
obj.raw_response = http_response
|
|
1138
|
-
raise obj
|
|
1139
|
-
else
|
|
1140
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
1141
|
-
end
|
|
1142
|
-
elsif Utils.match_status_code(http_response.status, ['401', '403', '404', '429'])
|
|
1143
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
1144
|
-
elsif Utils.match_status_code(http_response.status, ['500', '504'])
|
|
1145
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
1146
|
-
elsif Utils.match_status_code(http_response.status, ['4XX'])
|
|
1147
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
1148
|
-
elsif Utils.match_status_code(http_response.status, ['5XX'])
|
|
1149
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
1150
|
-
else
|
|
1151
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown status code received'
|
|
1152
|
-
|
|
1153
|
-
end
|
|
1154
|
-
end
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
1003
|
sig { params(account_id: ::String, transfer_id: ::String, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::ListCancellationsResponse) }
|
|
1158
1004
|
def list_cancellations(account_id:, transfer_id:, timeout_ms: nil, http_headers: nil)
|
|
1159
1005
|
# list_cancellations - Get a list of cancellations for a transfer.
|
|
@@ -1819,6 +1665,7 @@ module Moov
|
|
|
1819
1665
|
sig { params(request: Models::Operations::InitiateRefundRequest, timeout_ms: T.nilable(Integer), http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])).returns(Models::Operations::InitiateRefundResponse) }
|
|
1820
1666
|
def initiate_refund(request:, timeout_ms: nil, http_headers: nil)
|
|
1821
1667
|
# initiate_refund - Initiate a refund for a card transfer.
|
|
1668
|
+
# The `accountID` must identify the partner account for the transfer.
|
|
1822
1669
|
#
|
|
1823
1670
|
# **Use the [Cancel or refund a card transfer](https://docs.moov.io/api/money-movement/refunds/cancel/) endpoint for more comprehensive cancel and refund options.**
|
|
1824
1671
|
# See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/reversals/) guide for more information.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moov_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 26.10.0.pre.dev.
|
|
4
|
+
version: 26.10.0.pre.dev.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Speakeasy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -411,6 +411,8 @@ files:
|
|
|
411
411
|
- lib/moov/models/components/asynctransfer.rbi
|
|
412
412
|
- lib/moov/models/components/authmethod.rb
|
|
413
413
|
- lib/moov/models/components/authmethod.rbi
|
|
414
|
+
- lib/moov/models/components/authorizationsimulationasyncresponse.rb
|
|
415
|
+
- lib/moov/models/components/authorizationsimulationasyncresponse.rbi
|
|
414
416
|
- lib/moov/models/components/authtoken.rb
|
|
415
417
|
- lib/moov/models/components/authtoken.rbi
|
|
416
418
|
- lib/moov/models/components/authtokenrequest.rb
|
|
@@ -643,6 +645,8 @@ files:
|
|
|
643
645
|
- lib/moov/models/components/createaccounttype.rbi
|
|
644
646
|
- lib/moov/models/components/createapplepaysession.rb
|
|
645
647
|
- lib/moov/models/components/createapplepaysession.rbi
|
|
648
|
+
- lib/moov/models/components/createauthorizationsimulation.rb
|
|
649
|
+
- lib/moov/models/components/createauthorizationsimulation.rbi
|
|
646
650
|
- lib/moov/models/components/createbankaccountattestation.rb
|
|
647
651
|
- lib/moov/models/components/createbankaccountattestation.rbi
|
|
648
652
|
- lib/moov/models/components/createbusinesserror.rb
|
|
@@ -655,10 +659,10 @@ files:
|
|
|
655
659
|
- lib/moov/models/components/createbusinesserror_taxid.rbi
|
|
656
660
|
- lib/moov/models/components/createbusinessprofile.rb
|
|
657
661
|
- lib/moov/models/components/createbusinessprofile.rbi
|
|
658
|
-
- lib/moov/models/components/createcancellation.rb
|
|
659
|
-
- lib/moov/models/components/createcancellation.rbi
|
|
660
662
|
- lib/moov/models/components/createcapture.rb
|
|
661
663
|
- lib/moov/models/components/createcapture.rbi
|
|
664
|
+
- lib/moov/models/components/createclearingsimulation.rb
|
|
665
|
+
- lib/moov/models/components/createclearingsimulation.rbi
|
|
662
666
|
- lib/moov/models/components/createdtransfer.rb
|
|
663
667
|
- lib/moov/models/components/createdtransfer.rbi
|
|
664
668
|
- lib/moov/models/components/createevidencefilemultipart.rb
|
|
@@ -695,6 +699,8 @@ files:
|
|
|
695
699
|
- lib/moov/models/components/createinvoicelineitemsvalidationerror.rbi
|
|
696
700
|
- lib/moov/models/components/createinvoicelineitemvalidationerror.rb
|
|
697
701
|
- lib/moov/models/components/createinvoicelineitemvalidationerror.rbi
|
|
702
|
+
- lib/moov/models/components/createinvoicenotification.rb
|
|
703
|
+
- lib/moov/models/components/createinvoicenotification.rbi
|
|
698
704
|
- lib/moov/models/components/createinvoicepayment.rb
|
|
699
705
|
- lib/moov/models/components/createinvoicepayment.rbi
|
|
700
706
|
- lib/moov/models/components/createpaymentlink.rb
|
|
@@ -785,6 +791,10 @@ files:
|
|
|
785
791
|
- lib/moov/models/components/createtransferlineitemvalidationerror.rbi
|
|
786
792
|
- lib/moov/models/components/createtransferoptions.rb
|
|
787
793
|
- lib/moov/models/components/createtransferoptions.rbi
|
|
794
|
+
- lib/moov/models/components/createtransferrailoptions.rb
|
|
795
|
+
- lib/moov/models/components/createtransferrailoptions.rbi
|
|
796
|
+
- lib/moov/models/components/createtransferresponse.rb
|
|
797
|
+
- lib/moov/models/components/createtransferresponse.rbi
|
|
788
798
|
- lib/moov/models/components/createtransfersource.rb
|
|
789
799
|
- lib/moov/models/components/createtransfersource.rbi
|
|
790
800
|
- lib/moov/models/components/createtransfersourceach.rb
|
|
@@ -1013,8 +1023,16 @@ files:
|
|
|
1013
1023
|
- lib/moov/models/components/invoicelineitemsvalidationerror.rbi
|
|
1014
1024
|
- lib/moov/models/components/invoicelineitemvalidationerror.rb
|
|
1015
1025
|
- lib/moov/models/components/invoicelineitemvalidationerror.rbi
|
|
1026
|
+
- lib/moov/models/components/invoicenotificationlimitedchannel.rb
|
|
1027
|
+
- lib/moov/models/components/invoicenotificationlimitedchannel.rbi
|
|
1016
1028
|
- lib/moov/models/components/invoicepayment.rb
|
|
1017
1029
|
- lib/moov/models/components/invoicepayment.rbi
|
|
1030
|
+
- lib/moov/models/components/invoicepaymentoptions.rb
|
|
1031
|
+
- lib/moov/models/components/invoicepaymentoptions.rbi
|
|
1032
|
+
- lib/moov/models/components/invoicepaymentoptionserror.rb
|
|
1033
|
+
- lib/moov/models/components/invoicepaymentoptionserror.rbi
|
|
1034
|
+
- lib/moov/models/components/invoicepaymentoptionsupdate.rb
|
|
1035
|
+
- lib/moov/models/components/invoicepaymentoptionsupdate.rbi
|
|
1018
1036
|
- lib/moov/models/components/invoicepaymenttype.rb
|
|
1019
1037
|
- lib/moov/models/components/invoicepaymenttype.rbi
|
|
1020
1038
|
- lib/moov/models/components/invoicestatus.rb
|
|
@@ -1161,6 +1179,8 @@ files:
|
|
|
1161
1179
|
- lib/moov/models/components/mxauthorizationcode.rbi
|
|
1162
1180
|
- lib/moov/models/components/mxpayload.rb
|
|
1163
1181
|
- lib/moov/models/components/mxpayload.rbi
|
|
1182
|
+
- lib/moov/models/components/notificationchannel.rb
|
|
1183
|
+
- lib/moov/models/components/notificationchannel.rbi
|
|
1164
1184
|
- lib/moov/models/components/oauth2clienttype.rb
|
|
1165
1185
|
- lib/moov/models/components/oauth2clienttype.rbi
|
|
1166
1186
|
- lib/moov/models/components/occurrence.rb
|
|
@@ -1509,6 +1529,10 @@ files:
|
|
|
1509
1529
|
- lib/moov/models/components/settings.rbi
|
|
1510
1530
|
- lib/moov/models/components/sharescopes.rb
|
|
1511
1531
|
- lib/moov/models/components/sharescopes.rbi
|
|
1532
|
+
- lib/moov/models/components/simulationissuingmerchantdata.rb
|
|
1533
|
+
- lib/moov/models/components/simulationissuingmerchantdata.rbi
|
|
1534
|
+
- lib/moov/models/components/simulationissuingmerchantdatavalidationerror.rb
|
|
1535
|
+
- lib/moov/models/components/simulationissuingmerchantdatavalidationerror.rbi
|
|
1512
1536
|
- lib/moov/models/components/sourcedestinationoptions.rb
|
|
1513
1537
|
- lib/moov/models/components/sourcedestinationoptions.rbi
|
|
1514
1538
|
- lib/moov/models/components/sourcesystem.rb
|
|
@@ -1846,6 +1870,8 @@ files:
|
|
|
1846
1870
|
- lib/moov/models/errors/apierror.rbi
|
|
1847
1871
|
- lib/moov/models/errors/assigncountrieserror.rb
|
|
1848
1872
|
- lib/moov/models/errors/assigncountrieserror.rbi
|
|
1873
|
+
- lib/moov/models/errors/authorizationsimulationvalidationerror.rb
|
|
1874
|
+
- lib/moov/models/errors/authorizationsimulationvalidationerror.rbi
|
|
1849
1875
|
- lib/moov/models/errors/authtokenrequesterror.rb
|
|
1850
1876
|
- lib/moov/models/errors/authtokenrequesterror.rbi
|
|
1851
1877
|
- lib/moov/models/errors/bankaccountattestationvalidationerror.rb
|
|
@@ -1860,6 +1886,8 @@ files:
|
|
|
1860
1886
|
- lib/moov/models/errors/cardacquiringrefund_error.rbi
|
|
1861
1887
|
- lib/moov/models/errors/cardmetadatarequesterror.rb
|
|
1862
1888
|
- lib/moov/models/errors/cardmetadatarequesterror.rbi
|
|
1889
|
+
- lib/moov/models/errors/clearingsimulationvalidationerror.rb
|
|
1890
|
+
- lib/moov/models/errors/clearingsimulationvalidationerror.rbi
|
|
1863
1891
|
- lib/moov/models/errors/connectaccountrequestvalidationerror.rb
|
|
1864
1892
|
- lib/moov/models/errors/connectaccountrequestvalidationerror.rbi
|
|
1865
1893
|
- lib/moov/models/errors/createaccounterror.rb
|
|
@@ -1898,6 +1926,10 @@ files:
|
|
|
1898
1926
|
- lib/moov/models/errors/imagemetadatavalidationerror.rbi
|
|
1899
1927
|
- lib/moov/models/errors/imagerequestvalidationerror.rb
|
|
1900
1928
|
- lib/moov/models/errors/imagerequestvalidationerror.rbi
|
|
1929
|
+
- lib/moov/models/errors/invoicenotificationerror.rb
|
|
1930
|
+
- lib/moov/models/errors/invoicenotificationerror.rbi
|
|
1931
|
+
- lib/moov/models/errors/invoicenotificationratelimitederror.rb
|
|
1932
|
+
- lib/moov/models/errors/invoicenotificationratelimitederror.rbi
|
|
1901
1933
|
- lib/moov/models/errors/linkapplepayerror.rb
|
|
1902
1934
|
- lib/moov/models/errors/linkapplepayerror.rbi
|
|
1903
1935
|
- lib/moov/models/errors/linkcarderror.rb
|
|
@@ -2001,6 +2033,10 @@ files:
|
|
|
2001
2033
|
- lib/moov/models/operations/createapplepaysession_request.rbi
|
|
2002
2034
|
- lib/moov/models/operations/createapplepaysession_response.rb
|
|
2003
2035
|
- lib/moov/models/operations/createapplepaysession_response.rbi
|
|
2036
|
+
- lib/moov/models/operations/createauthorizationsimulation_request.rb
|
|
2037
|
+
- lib/moov/models/operations/createauthorizationsimulation_request.rbi
|
|
2038
|
+
- lib/moov/models/operations/createauthorizationsimulation_response.rb
|
|
2039
|
+
- lib/moov/models/operations/createauthorizationsimulation_response.rbi
|
|
2004
2040
|
- lib/moov/models/operations/createbankaccountattestation_request.rb
|
|
2005
2041
|
- lib/moov/models/operations/createbankaccountattestation_request.rbi
|
|
2006
2042
|
- lib/moov/models/operations/createbankaccountattestation_response.rb
|
|
@@ -2009,14 +2045,14 @@ files:
|
|
|
2009
2045
|
- lib/moov/models/operations/createbrand_request.rbi
|
|
2010
2046
|
- lib/moov/models/operations/createbrand_response.rb
|
|
2011
2047
|
- lib/moov/models/operations/createbrand_response.rbi
|
|
2012
|
-
- lib/moov/models/operations/createcancellation_request.rb
|
|
2013
|
-
- lib/moov/models/operations/createcancellation_request.rbi
|
|
2014
|
-
- lib/moov/models/operations/createcancellation_response.rb
|
|
2015
|
-
- lib/moov/models/operations/createcancellation_response.rbi
|
|
2016
2048
|
- lib/moov/models/operations/createcapture_request.rb
|
|
2017
2049
|
- lib/moov/models/operations/createcapture_request.rbi
|
|
2018
2050
|
- lib/moov/models/operations/createcapture_response.rb
|
|
2019
2051
|
- lib/moov/models/operations/createcapture_response.rbi
|
|
2052
|
+
- lib/moov/models/operations/createclearingsimulation_request.rb
|
|
2053
|
+
- lib/moov/models/operations/createclearingsimulation_request.rbi
|
|
2054
|
+
- lib/moov/models/operations/createclearingsimulation_response.rb
|
|
2055
|
+
- lib/moov/models/operations/createclearingsimulation_response.rbi
|
|
2020
2056
|
- lib/moov/models/operations/createdepositaccount_request.rb
|
|
2021
2057
|
- lib/moov/models/operations/createdepositaccount_request.rbi
|
|
2022
2058
|
- lib/moov/models/operations/createdepositaccount_response.rb
|
|
@@ -2029,6 +2065,10 @@ files:
|
|
|
2029
2065
|
- lib/moov/models/operations/createinvoice_request.rbi
|
|
2030
2066
|
- lib/moov/models/operations/createinvoice_response.rb
|
|
2031
2067
|
- lib/moov/models/operations/createinvoice_response.rbi
|
|
2068
|
+
- lib/moov/models/operations/createinvoicenotification_request.rb
|
|
2069
|
+
- lib/moov/models/operations/createinvoicenotification_request.rbi
|
|
2070
|
+
- lib/moov/models/operations/createinvoicenotification_response.rb
|
|
2071
|
+
- lib/moov/models/operations/createinvoicenotification_response.rbi
|
|
2032
2072
|
- lib/moov/models/operations/createinvoicepayment_request.rb
|
|
2033
2073
|
- lib/moov/models/operations/createinvoicepayment_request.rbi
|
|
2034
2074
|
- lib/moov/models/operations/createinvoicepayment_response.rb
|
|
@@ -2057,6 +2097,10 @@ files:
|
|
|
2057
2097
|
- lib/moov/models/operations/createreversal_request.rbi
|
|
2058
2098
|
- lib/moov/models/operations/createreversal_response.rb
|
|
2059
2099
|
- lib/moov/models/operations/createreversal_response.rbi
|
|
2100
|
+
- lib/moov/models/operations/createreversalsimulation_request.rb
|
|
2101
|
+
- lib/moov/models/operations/createreversalsimulation_request.rbi
|
|
2102
|
+
- lib/moov/models/operations/createreversalsimulation_response.rb
|
|
2103
|
+
- lib/moov/models/operations/createreversalsimulation_response.rbi
|
|
2060
2104
|
- lib/moov/models/operations/createschedule_request.rb
|
|
2061
2105
|
- lib/moov/models/operations/createschedule_request.rbi
|
|
2062
2106
|
- lib/moov/models/operations/createschedule_response.rb
|
|
@@ -2255,6 +2299,10 @@ files:
|
|
|
2255
2299
|
- lib/moov/models/operations/getissuedcard_request.rbi
|
|
2256
2300
|
- lib/moov/models/operations/getissuedcard_response.rb
|
|
2257
2301
|
- lib/moov/models/operations/getissuedcard_response.rbi
|
|
2302
|
+
- lib/moov/models/operations/getissuedcardactivity_request.rb
|
|
2303
|
+
- lib/moov/models/operations/getissuedcardactivity_request.rbi
|
|
2304
|
+
- lib/moov/models/operations/getissuedcardactivity_response.rb
|
|
2305
|
+
- lib/moov/models/operations/getissuedcardactivity_response.rbi
|
|
2258
2306
|
- lib/moov/models/operations/getissuedcardauthorization_request.rb
|
|
2259
2307
|
- lib/moov/models/operations/getissuedcardauthorization_request.rbi
|
|
2260
2308
|
- lib/moov/models/operations/getissuedcardauthorization_response.rb
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
module Moov
|
|
8
|
-
module Models
|
|
9
|
-
module Operations
|
|
10
|
-
|
|
11
|
-
class CreateCancellationRequest
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# The partner's Moov account ID.
|
|
16
|
-
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
|
-
# The transfer ID to cancel.
|
|
18
|
-
field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
|
|
19
|
-
|
|
20
|
-
field :create_cancellation, Models::Components::CreateCancellation, { 'request': { 'media_type': 'application/json' } }
|
|
21
|
-
|
|
22
|
-
sig { params(account_id: ::String, transfer_id: ::String, create_cancellation: Models::Components::CreateCancellation).void }
|
|
23
|
-
def initialize(account_id:, transfer_id:, create_cancellation:)
|
|
24
|
-
@account_id = account_id
|
|
25
|
-
@transfer_id = transfer_id
|
|
26
|
-
@create_cancellation = create_cancellation
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
30
|
-
def ==(other)
|
|
31
|
-
return false unless other.is_a? self.class
|
|
32
|
-
return false unless @account_id == other.account_id
|
|
33
|
-
return false unless @transfer_id == other.transfer_id
|
|
34
|
-
return false unless @create_cancellation == other.create_cancellation
|
|
35
|
-
true
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::CreateCancellationRequest
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::CreateCancellationRequest
|
|
11
|
-
def account_id(); end
|
|
12
|
-
def account_id=(str_); end
|
|
13
|
-
def transfer_id(); end
|
|
14
|
-
def transfer_id=(str_); end
|
|
15
|
-
def create_cancellation(); end
|
|
16
|
-
def create_cancellation=(str_); end
|
|
17
|
-
end
|