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
|
@@ -0,0 +1,40 @@
|
|
|
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 CreateClearingSimulationRequest
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The Moov business account for which the card was issued.
|
|
16
|
+
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
|
+
# The ID of the authorization to clear.
|
|
18
|
+
field :authorization_id, ::String, { 'path_param': { 'field_name': 'authorizationID', 'style': 'simple', 'explode': false } }
|
|
19
|
+
|
|
20
|
+
field :create_clearing_simulation, Models::Components::CreateClearingSimulation, { 'request': { 'media_type': 'application/json' } }
|
|
21
|
+
|
|
22
|
+
sig { params(account_id: ::String, authorization_id: ::String, create_clearing_simulation: Models::Components::CreateClearingSimulation).void }
|
|
23
|
+
def initialize(account_id:, authorization_id:, create_clearing_simulation:)
|
|
24
|
+
@account_id = account_id
|
|
25
|
+
@authorization_id = authorization_id
|
|
26
|
+
@create_clearing_simulation = create_clearing_simulation
|
|
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 @authorization_id == other.authorization_id
|
|
34
|
+
return false unless @create_clearing_simulation == other.create_clearing_simulation
|
|
35
|
+
true
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::CreateClearingSimulationRequest
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::CreateClearingSimulationRequest
|
|
11
|
+
def account_id(); end
|
|
12
|
+
def account_id=(str_); end
|
|
13
|
+
def authorization_id(); end
|
|
14
|
+
def authorization_id=(str_); end
|
|
15
|
+
def create_clearing_simulation(); end
|
|
16
|
+
def create_clearing_simulation=(str_); end
|
|
17
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
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 CreateClearingSimulationResponse
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# HTTP response content type for this operation
|
|
16
|
+
field :content_type, ::String
|
|
17
|
+
# HTTP response status code for this operation
|
|
18
|
+
field :status_code, ::Integer
|
|
19
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
20
|
+
field :raw_response, ::Faraday::Response
|
|
21
|
+
|
|
22
|
+
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
23
|
+
# The request completed successfully.
|
|
24
|
+
field :issued_card_authorization, Crystalline::Nilable.new(Models::Components::IssuedCardAuthorization)
|
|
25
|
+
# The resource was successfully accepted.
|
|
26
|
+
field :authorization_simulation_async_response, Crystalline::Nilable.new(Models::Components::AuthorizationSimulationAsyncResponse)
|
|
27
|
+
|
|
28
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], issued_card_authorization: T.nilable(Models::Components::IssuedCardAuthorization), authorization_simulation_async_response: T.nilable(Models::Components::AuthorizationSimulationAsyncResponse)).void }
|
|
29
|
+
def initialize(content_type:, status_code:, raw_response:, headers:, issued_card_authorization: nil, authorization_simulation_async_response: nil)
|
|
30
|
+
@content_type = content_type
|
|
31
|
+
@status_code = status_code
|
|
32
|
+
@raw_response = raw_response
|
|
33
|
+
@headers = headers
|
|
34
|
+
@issued_card_authorization = issued_card_authorization
|
|
35
|
+
@authorization_simulation_async_response = authorization_simulation_async_response
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
39
|
+
def ==(other)
|
|
40
|
+
return false unless other.is_a? self.class
|
|
41
|
+
return false unless @content_type == other.content_type
|
|
42
|
+
return false unless @status_code == other.status_code
|
|
43
|
+
return false unless @raw_response == other.raw_response
|
|
44
|
+
return false unless @headers == other.headers
|
|
45
|
+
return false unless @issued_card_authorization == other.issued_card_authorization
|
|
46
|
+
return false unless @authorization_simulation_async_response == other.authorization_simulation_async_response
|
|
47
|
+
true
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::CreateClearingSimulationResponse
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::CreateClearingSimulationResponse
|
|
11
|
+
def content_type(); end
|
|
12
|
+
def content_type=(str_); end
|
|
13
|
+
def status_code(); end
|
|
14
|
+
def status_code=(str_); end
|
|
15
|
+
def raw_response(); end
|
|
16
|
+
def raw_response=(str_); end
|
|
17
|
+
def headers(); end
|
|
18
|
+
def headers=(str_); end
|
|
19
|
+
def issued_card_authorization(); end
|
|
20
|
+
def issued_card_authorization=(str_); end
|
|
21
|
+
def authorization_simulation_async_response(); end
|
|
22
|
+
def authorization_simulation_async_response=(str_); end
|
|
23
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
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 CreateInvoiceNotificationRequest
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
|
+
|
|
18
|
+
field :invoice_id, ::String, { 'path_param': { 'field_name': 'invoiceID', 'style': 'simple', 'explode': false } }
|
|
19
|
+
|
|
20
|
+
field :create_invoice_notification, Models::Components::CreateInvoiceNotification, { 'request': { 'media_type': 'application/json' } }
|
|
21
|
+
|
|
22
|
+
sig { params(account_id: ::String, invoice_id: ::String, create_invoice_notification: Models::Components::CreateInvoiceNotification).void }
|
|
23
|
+
def initialize(account_id:, invoice_id:, create_invoice_notification:)
|
|
24
|
+
@account_id = account_id
|
|
25
|
+
@invoice_id = invoice_id
|
|
26
|
+
@create_invoice_notification = create_invoice_notification
|
|
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 @invoice_id == other.invoice_id
|
|
34
|
+
return false unless @create_invoice_notification == other.create_invoice_notification
|
|
35
|
+
true
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::CreateInvoiceNotificationRequest
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::CreateInvoiceNotificationRequest
|
|
11
|
+
def account_id(); end
|
|
12
|
+
def account_id=(str_); end
|
|
13
|
+
def invoice_id(); end
|
|
14
|
+
def invoice_id=(str_); end
|
|
15
|
+
def create_invoice_notification(); end
|
|
16
|
+
def create_invoice_notification=(str_); end
|
|
17
|
+
end
|
|
@@ -8,7 +8,7 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Operations
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class CreateInvoiceNotificationResponse
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
@@ -20,16 +20,13 @@ module Moov
|
|
|
20
20
|
field :raw_response, ::Faraday::Response
|
|
21
21
|
|
|
22
22
|
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
23
|
-
# The request completed successfully.
|
|
24
|
-
field :cancellation, Crystalline::Nilable.new(Models::Components::Cancellation)
|
|
25
23
|
|
|
26
|
-
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]]
|
|
27
|
-
def initialize(content_type:, status_code:, raw_response:, headers
|
|
24
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]]).void }
|
|
25
|
+
def initialize(content_type:, status_code:, raw_response:, headers:)
|
|
28
26
|
@content_type = content_type
|
|
29
27
|
@status_code = status_code
|
|
30
28
|
@raw_response = raw_response
|
|
31
29
|
@headers = headers
|
|
32
|
-
@cancellation = cancellation
|
|
33
30
|
end
|
|
34
31
|
|
|
35
32
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -39,7 +36,6 @@ module Moov
|
|
|
39
36
|
return false unless @status_code == other.status_code
|
|
40
37
|
return false unless @raw_response == other.raw_response
|
|
41
38
|
return false unless @headers == other.headers
|
|
42
|
-
return false unless @cancellation == other.cancellation
|
|
43
39
|
true
|
|
44
40
|
end
|
|
45
41
|
end
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
class Moov::Models::Operations::
|
|
5
|
+
class Moov::Models::Operations::CreateInvoiceNotificationResponse
|
|
6
6
|
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class Moov::Models::Operations::
|
|
10
|
+
class Moov::Models::Operations::CreateInvoiceNotificationResponse
|
|
11
11
|
def content_type(); end
|
|
12
12
|
def content_type=(str_); end
|
|
13
13
|
def status_code(); end
|
|
@@ -16,6 +16,4 @@ class Moov::Models::Operations::CreateCancellationResponse
|
|
|
16
16
|
def raw_response=(str_); end
|
|
17
17
|
def headers(); end
|
|
18
18
|
def headers=(str_); end
|
|
19
|
-
def cancellation(); end
|
|
20
|
-
def cancellation=(str_); end
|
|
21
19
|
end
|
|
@@ -0,0 +1,36 @@
|
|
|
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 CreateReversalSimulationRequest
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The Moov business account for which the card was issued.
|
|
16
|
+
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
|
+
# The ID of the authorization to reverse.
|
|
18
|
+
field :authorization_id, ::String, { 'path_param': { 'field_name': 'authorizationID', 'style': 'simple', 'explode': false } }
|
|
19
|
+
|
|
20
|
+
sig { params(account_id: ::String, authorization_id: ::String).void }
|
|
21
|
+
def initialize(account_id:, authorization_id:)
|
|
22
|
+
@account_id = account_id
|
|
23
|
+
@authorization_id = authorization_id
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
27
|
+
def ==(other)
|
|
28
|
+
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @account_id == other.account_id
|
|
30
|
+
return false unless @authorization_id == other.authorization_id
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::CreateReversalSimulationRequest
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::CreateReversalSimulationRequest
|
|
11
|
+
def account_id(); end
|
|
12
|
+
def account_id=(str_); end
|
|
13
|
+
def authorization_id(); end
|
|
14
|
+
def authorization_id=(str_); end
|
|
15
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
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 CreateReversalSimulationResponse
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# HTTP response content type for this operation
|
|
16
|
+
field :content_type, ::String
|
|
17
|
+
# HTTP response status code for this operation
|
|
18
|
+
field :status_code, ::Integer
|
|
19
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
20
|
+
field :raw_response, ::Faraday::Response
|
|
21
|
+
|
|
22
|
+
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
23
|
+
# The request completed successfully.
|
|
24
|
+
field :issued_card_authorization, Crystalline::Nilable.new(Models::Components::IssuedCardAuthorization)
|
|
25
|
+
# The resource was successfully accepted.
|
|
26
|
+
field :authorization_simulation_async_response, Crystalline::Nilable.new(Models::Components::AuthorizationSimulationAsyncResponse)
|
|
27
|
+
|
|
28
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], issued_card_authorization: T.nilable(Models::Components::IssuedCardAuthorization), authorization_simulation_async_response: T.nilable(Models::Components::AuthorizationSimulationAsyncResponse)).void }
|
|
29
|
+
def initialize(content_type:, status_code:, raw_response:, headers:, issued_card_authorization: nil, authorization_simulation_async_response: nil)
|
|
30
|
+
@content_type = content_type
|
|
31
|
+
@status_code = status_code
|
|
32
|
+
@raw_response = raw_response
|
|
33
|
+
@headers = headers
|
|
34
|
+
@issued_card_authorization = issued_card_authorization
|
|
35
|
+
@authorization_simulation_async_response = authorization_simulation_async_response
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
39
|
+
def ==(other)
|
|
40
|
+
return false unless other.is_a? self.class
|
|
41
|
+
return false unless @content_type == other.content_type
|
|
42
|
+
return false unless @status_code == other.status_code
|
|
43
|
+
return false unless @raw_response == other.raw_response
|
|
44
|
+
return false unless @headers == other.headers
|
|
45
|
+
return false unless @issued_card_authorization == other.issued_card_authorization
|
|
46
|
+
return false unless @authorization_simulation_async_response == other.authorization_simulation_async_response
|
|
47
|
+
true
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::CreateReversalSimulationResponse
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::CreateReversalSimulationResponse
|
|
11
|
+
def content_type(); end
|
|
12
|
+
def content_type=(str_); end
|
|
13
|
+
def status_code(); end
|
|
14
|
+
def status_code=(str_); end
|
|
15
|
+
def raw_response(); end
|
|
16
|
+
def raw_response=(str_); end
|
|
17
|
+
def headers(); end
|
|
18
|
+
def headers=(str_); end
|
|
19
|
+
def issued_card_authorization(); end
|
|
20
|
+
def issued_card_authorization=(str_); end
|
|
21
|
+
def authorization_simulation_async_response(); end
|
|
22
|
+
def authorization_simulation_async_response=(str_); end
|
|
23
|
+
end
|
|
@@ -21,19 +21,19 @@ module Moov
|
|
|
21
21
|
|
|
22
22
|
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
23
23
|
# The request completed successfully.
|
|
24
|
-
field :
|
|
24
|
+
field :create_transfer_response, Crystalline::Nilable.new(Crystalline::Union.new(Models::Components::CreatedTransfer, Models::Components::AsyncTransfer))
|
|
25
25
|
# A transfer was successfully created but an error occurred while generating the synchronous response. The asynchronous response object will be returned.
|
|
26
26
|
field :async_transfer, Crystalline::Nilable.new(Models::Components::AsyncTransfer)
|
|
27
27
|
# The transfer was created, but rail-specific details may not be available within the 15 second timeout window.
|
|
28
28
|
field :transfer, Crystalline::Nilable.new(Models::Components::Transfer)
|
|
29
29
|
|
|
30
|
-
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]],
|
|
31
|
-
def initialize(content_type:, status_code:, raw_response:, headers:,
|
|
30
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], create_transfer_response: T.nilable(T.any(Models::Components::CreatedTransfer, Models::Components::AsyncTransfer)), async_transfer: T.nilable(Models::Components::AsyncTransfer), transfer: T.nilable(Models::Components::Transfer)).void }
|
|
31
|
+
def initialize(content_type:, status_code:, raw_response:, headers:, create_transfer_response: nil, async_transfer: nil, transfer: nil)
|
|
32
32
|
@content_type = content_type
|
|
33
33
|
@status_code = status_code
|
|
34
34
|
@raw_response = raw_response
|
|
35
35
|
@headers = headers
|
|
36
|
-
@
|
|
36
|
+
@create_transfer_response = create_transfer_response
|
|
37
37
|
@async_transfer = async_transfer
|
|
38
38
|
@transfer = transfer
|
|
39
39
|
end
|
|
@@ -45,7 +45,7 @@ module Moov
|
|
|
45
45
|
return false unless @status_code == other.status_code
|
|
46
46
|
return false unless @raw_response == other.raw_response
|
|
47
47
|
return false unless @headers == other.headers
|
|
48
|
-
return false unless @
|
|
48
|
+
return false unless @create_transfer_response == other.create_transfer_response
|
|
49
49
|
return false unless @async_transfer == other.async_transfer
|
|
50
50
|
return false unless @transfer == other.transfer
|
|
51
51
|
true
|
|
@@ -16,8 +16,8 @@ class Moov::Models::Operations::CreateTransferResponse
|
|
|
16
16
|
def raw_response=(str_); end
|
|
17
17
|
def headers(); end
|
|
18
18
|
def headers=(str_); end
|
|
19
|
-
def
|
|
20
|
-
def
|
|
19
|
+
def create_transfer_response(); end
|
|
20
|
+
def create_transfer_response=(str_); end
|
|
21
21
|
def async_transfer(); end
|
|
22
22
|
def async_transfer=(str_); end
|
|
23
23
|
def transfer(); end
|
|
@@ -0,0 +1,36 @@
|
|
|
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 GetIssuedCardActivityRequest
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The Moov business account for which cards have been issued.
|
|
16
|
+
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
|
+
# The identifier for the activity item, either authorizationID or cardTransactionID.
|
|
18
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
|
19
|
+
|
|
20
|
+
sig { params(account_id: ::String, id: ::String).void }
|
|
21
|
+
def initialize(account_id:, id:)
|
|
22
|
+
@account_id = account_id
|
|
23
|
+
@id = id
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
27
|
+
def ==(other)
|
|
28
|
+
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @account_id == other.account_id
|
|
30
|
+
return false unless @id == other.id
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::GetIssuedCardActivityRequest
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::GetIssuedCardActivityRequest
|
|
11
|
+
def account_id(); end
|
|
12
|
+
def account_id=(str_); end
|
|
13
|
+
def id(); end
|
|
14
|
+
def id=(str_); end
|
|
15
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
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 GetIssuedCardActivityResponse
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# HTTP response content type for this operation
|
|
16
|
+
field :content_type, ::String
|
|
17
|
+
# HTTP response status code for this operation
|
|
18
|
+
field :status_code, ::Integer
|
|
19
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
20
|
+
field :raw_response, ::Faraday::Response
|
|
21
|
+
|
|
22
|
+
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
23
|
+
# The request completed successfully.
|
|
24
|
+
field :issued_card_activity, Crystalline::Nilable.new(Models::Components::IssuedCardActivity)
|
|
25
|
+
|
|
26
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], issued_card_activity: T.nilable(Models::Components::IssuedCardActivity)).void }
|
|
27
|
+
def initialize(content_type:, status_code:, raw_response:, headers:, issued_card_activity: nil)
|
|
28
|
+
@content_type = content_type
|
|
29
|
+
@status_code = status_code
|
|
30
|
+
@raw_response = raw_response
|
|
31
|
+
@headers = headers
|
|
32
|
+
@issued_card_activity = issued_card_activity
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
36
|
+
def ==(other)
|
|
37
|
+
return false unless other.is_a? self.class
|
|
38
|
+
return false unless @content_type == other.content_type
|
|
39
|
+
return false unless @status_code == other.status_code
|
|
40
|
+
return false unless @raw_response == other.raw_response
|
|
41
|
+
return false unless @headers == other.headers
|
|
42
|
+
return false unless @issued_card_activity == other.issued_card_activity
|
|
43
|
+
true
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::GetIssuedCardActivityResponse
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::GetIssuedCardActivityResponse
|
|
11
|
+
def content_type(); end
|
|
12
|
+
def content_type=(str_); end
|
|
13
|
+
def status_code(); end
|
|
14
|
+
def status_code=(str_); end
|
|
15
|
+
def raw_response(); end
|
|
16
|
+
def raw_response=(str_); end
|
|
17
|
+
def headers(); end
|
|
18
|
+
def headers=(str_); end
|
|
19
|
+
def issued_card_activity(); end
|
|
20
|
+
def issued_card_activity=(str_); end
|
|
21
|
+
end
|
|
@@ -14,7 +14,7 @@ module Moov
|
|
|
14
14
|
|
|
15
15
|
# Prevents duplicate refunds from being created.
|
|
16
16
|
field :x_idempotency_key, ::String, { 'header': { 'field_name': 'x-idempotency-key', 'style': 'simple', 'explode': false } }
|
|
17
|
-
#
|
|
17
|
+
# Moov account ID of the partner for the transfer.
|
|
18
18
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
19
19
|
# Identifier for the transfer.
|
|
20
20
|
field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
|
|
@@ -24,18 +24,22 @@ module Moov
|
|
|
24
24
|
autoload :CreateAccountResponse, 'moov/models/operations/createaccount_response.rb'
|
|
25
25
|
autoload :CreateApplePaySessionRequest, 'moov/models/operations/createapplepaysession_request.rb'
|
|
26
26
|
autoload :CreateApplePaySessionResponse, 'moov/models/operations/createapplepaysession_response.rb'
|
|
27
|
+
autoload :CreateAuthorizationSimulationRequest, 'moov/models/operations/createauthorizationsimulation_request.rb'
|
|
28
|
+
autoload :CreateAuthorizationSimulationResponse, 'moov/models/operations/createauthorizationsimulation_response.rb'
|
|
27
29
|
autoload :CreateBankAccountAttestationRequest, 'moov/models/operations/createbankaccountattestation_request.rb'
|
|
28
30
|
autoload :CreateBankAccountAttestationResponse, 'moov/models/operations/createbankaccountattestation_response.rb'
|
|
29
31
|
autoload :CreateBrandRequest, 'moov/models/operations/createbrand_request.rb'
|
|
30
32
|
autoload :CreateBrandResponse, 'moov/models/operations/createbrand_response.rb'
|
|
31
|
-
autoload :CreateCancellationRequest, 'moov/models/operations/createcancellation_request.rb'
|
|
32
|
-
autoload :CreateCancellationResponse, 'moov/models/operations/createcancellation_response.rb'
|
|
33
33
|
autoload :CreateCaptureRequest, 'moov/models/operations/createcapture_request.rb'
|
|
34
34
|
autoload :CreateCaptureResponse, 'moov/models/operations/createcapture_response.rb'
|
|
35
|
+
autoload :CreateClearingSimulationRequest, 'moov/models/operations/createclearingsimulation_request.rb'
|
|
36
|
+
autoload :CreateClearingSimulationResponse, 'moov/models/operations/createclearingsimulation_response.rb'
|
|
35
37
|
autoload :CreateDepositAccountRequest, 'moov/models/operations/createdepositaccount_request.rb'
|
|
36
38
|
autoload :CreateDepositAccountResponse, 'moov/models/operations/createdepositaccount_response.rb'
|
|
37
39
|
autoload :CreateFeePlanAgreementsRequest, 'moov/models/operations/createfeeplanagreements_request.rb'
|
|
38
40
|
autoload :CreateFeePlanAgreementsResponse, 'moov/models/operations/createfeeplanagreements_response.rb'
|
|
41
|
+
autoload :CreateInvoiceNotificationRequest, 'moov/models/operations/createinvoicenotification_request.rb'
|
|
42
|
+
autoload :CreateInvoiceNotificationResponse, 'moov/models/operations/createinvoicenotification_response.rb'
|
|
39
43
|
autoload :CreateInvoicePaymentRequest, 'moov/models/operations/createinvoicepayment_request.rb'
|
|
40
44
|
autoload :CreateInvoicePaymentResponse, 'moov/models/operations/createinvoicepayment_response.rb'
|
|
41
45
|
autoload :CreateInvoiceRequest, 'moov/models/operations/createinvoice_request.rb'
|
|
@@ -50,6 +54,8 @@ module Moov
|
|
|
50
54
|
autoload :CreateRepresentativeResponse, 'moov/models/operations/createrepresentative_response.rb'
|
|
51
55
|
autoload :CreateResolutionLinkRequest, 'moov/models/operations/createresolutionlink_request.rb'
|
|
52
56
|
autoload :CreateResolutionLinkResponse, 'moov/models/operations/createresolutionlink_response.rb'
|
|
57
|
+
autoload :CreateReversalSimulationRequest, 'moov/models/operations/createreversalsimulation_request.rb'
|
|
58
|
+
autoload :CreateReversalSimulationResponse, 'moov/models/operations/createreversalsimulation_response.rb'
|
|
53
59
|
autoload :CreateReversalRequest, 'moov/models/operations/createreversal_request.rb'
|
|
54
60
|
autoload :CreateReversalResponse, 'moov/models/operations/createreversal_response.rb'
|
|
55
61
|
autoload :CreateScheduleRequest, 'moov/models/operations/createschedule_request.rb'
|
|
@@ -149,6 +155,8 @@ module Moov
|
|
|
149
155
|
autoload :GetImageMetadataResponse, 'moov/models/operations/getimagemetadata_response.rb'
|
|
150
156
|
autoload :GetInvoiceRequest, 'moov/models/operations/getinvoice_request.rb'
|
|
151
157
|
autoload :GetInvoiceResponse, 'moov/models/operations/getinvoice_response.rb'
|
|
158
|
+
autoload :GetIssuedCardActivityRequest, 'moov/models/operations/getissuedcardactivity_request.rb'
|
|
159
|
+
autoload :GetIssuedCardActivityResponse, 'moov/models/operations/getissuedcardactivity_response.rb'
|
|
152
160
|
autoload :GetIssuedCardAuthorizationRequest, 'moov/models/operations/getissuedcardauthorization_request.rb'
|
|
153
161
|
autoload :GetIssuedCardAuthorizationResponse, 'moov/models/operations/getissuedcardauthorization_response.rb'
|
|
154
162
|
autoload :GetIssuedCardTransactionRequest, 'moov/models/operations/getissuedcardtransaction_request.rb'
|
|
@@ -88,9 +88,9 @@ module Moov
|
|
|
88
88
|
end
|
|
89
89
|
@language = 'ruby'
|
|
90
90
|
@openapi_doc_version = 'v2026.10.00'
|
|
91
|
-
@sdk_version = '26.10.0-dev.
|
|
92
|
-
@gen_version = '2.
|
|
93
|
-
@user_agent = 'speakeasy-sdk/ruby 26.10.0-dev.
|
|
91
|
+
@sdk_version = '26.10.0-dev.9'
|
|
92
|
+
@gen_version = '2.950.2'
|
|
93
|
+
@user_agent = 'speakeasy-sdk/ruby 26.10.0-dev.9 2.950.2 v2026.10.00 moov_ruby'
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
sig { returns([String, T::Hash[Symbol, String]]) }
|