moov_ruby 26.7.1 → 26.10.0.pre.dev.0
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/avatars.rb +1 -276
- data/lib/moov/card_issuing.rb +0 -116
- data/lib/moov/client.rb +2 -2
- data/lib/moov/enriched_address.rb +1 -1
- data/lib/moov/enriched_profile.rb +1 -1
- data/lib/moov/institutions.rb +1 -1
- data/lib/moov/models/components/capabilityid.rb +0 -1
- data/lib/moov/models/components/{avataruploadrequest.rb → contributingrule.rb} +8 -8
- data/lib/moov/models/components/contributingrule.rbi +13 -0
- data/lib/moov/models/components/createdtransfer.rb +2 -6
- data/lib/moov/models/components/createdtransfer.rbi +0 -2
- data/lib/moov/models/components/createrefund.rb +2 -2
- data/lib/moov/models/components/createreversal.rb +1 -1
- data/lib/moov/models/components/createtransfer.rb +2 -6
- data/lib/moov/models/components/createtransfer.rbi +0 -2
- data/lib/moov/models/components/fullissuedcard.rb +3 -3
- data/lib/moov/models/components/incurredfee.rb +2 -6
- data/lib/moov/models/components/incurredfee.rbi +0 -2
- data/lib/moov/models/components/issuedcard.rb +3 -3
- data/lib/moov/models/components/issuingcontrols.rb +2 -18
- data/lib/moov/models/components/issuingcontrols.rbi +0 -8
- data/lib/moov/models/components/issuingcontrolserror.rb +2 -18
- data/lib/moov/models/components/issuingcontrolserror.rbi +0 -8
- data/lib/moov/models/components/issuingintervallimit.rb +1 -4
- data/lib/moov/models/components/issuingvelocitylimit.rb +7 -11
- data/lib/moov/models/components/issuingvelocitylimit.rbi +2 -4
- data/lib/moov/models/components/issuingvelocitylimiterror.rb +2 -6
- data/lib/moov/models/components/issuingvelocitylimiterror.rbi +0 -2
- data/lib/moov/models/components/partnerriskoutcomesresponse.rb +38 -0
- data/lib/moov/models/components/partnerriskoutcomesresponse.rbi +15 -0
- data/lib/moov/models/components/paymentlinkpayoutdetails.rb +2 -8
- data/lib/moov/models/components/paymentlinkpayoutdetails.rbi +0 -2
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rb +2 -8
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rbi +0 -2
- data/lib/moov/models/components/paymentmethodswallet.rb +0 -1
- data/lib/moov/models/components/payoutdetailserror.rb +2 -6
- data/lib/moov/models/components/payoutdetailserror.rbi +0 -2
- data/lib/moov/models/components/product.rb +2 -6
- data/lib/moov/models/components/product.rbi +0 -2
- data/lib/moov/models/components/productrequest.rb +2 -6
- data/lib/moov/models/components/productrequest.rbi +0 -2
- data/lib/moov/models/components/sendfunds.rb +2 -6
- data/lib/moov/models/components/sendfunds.rbi +0 -2
- data/lib/moov/models/components/sendfundserror.rb +2 -6
- data/lib/moov/models/components/sendfundserror.rbi +0 -2
- data/lib/moov/models/components/transfer.rb +2 -6
- data/lib/moov/models/components/transfer.rbi +0 -2
- data/lib/moov/models/components/transferpaymentmethodswallet.rb +0 -1
- data/lib/moov/models/components/updateissuedcard.rb +2 -6
- data/lib/moov/models/components/updateissuedcard.rbi +0 -2
- data/lib/moov/models/components/wallet.rb +0 -1
- data/lib/moov/models/components/wallettype.rb +0 -2
- data/lib/moov/models/components/webhookdatatransferstatus.rb +0 -3
- data/lib/moov/models/components.rb +2 -34
- data/lib/moov/models/errors/productrequestvalidationerror.rb +2 -6
- data/lib/moov/models/errors/productrequestvalidationerror.rbi +0 -2
- data/lib/moov/models/errors/transfer_error.rb +2 -6
- data/lib/moov/models/errors/transfer_error.rbi +0 -2
- data/lib/moov/models/errors/updateissuedcarderror.rb +2 -6
- data/lib/moov/models/errors/updateissuedcarderror.rbi +0 -2
- data/lib/moov/models/operations/gettransferriskoutcomes_request.rb +37 -0
- data/lib/moov/models/operations/gettransferriskoutcomes_request.rbi +15 -0
- data/lib/moov/models/operations/{listissuingmerchantcategories_response.rb → gettransferriskoutcomes_response.rb} +6 -6
- data/lib/moov/models/operations/{deleteavatar_response.rbi → gettransferriskoutcomes_response.rbi} +4 -2
- data/lib/moov/models/operations/listproducts_request.rb +2 -8
- data/lib/moov/models/operations/listproducts_request.rbi +0 -2
- data/lib/moov/models/operations/listtransfers_request.rb +2 -10
- data/lib/moov/models/operations/listtransfers_request.rbi +0 -4
- data/lib/moov/models/operations.rb +2 -8
- data/lib/moov/products.rb +8 -113
- data/lib/moov/sdk_hooks/hooks.rb +0 -6
- data/lib/moov/sdkconfiguration.rb +4 -4
- data/lib/moov/transfers.rb +125 -0
- data/lib/moov_ruby.rb +1 -1
- metadata +12 -90
- data/lib/moov/models/components/allowedscheduleerror.rb +0 -36
- data/lib/moov/models/components/allowedscheduleerror.rbi +0 -15
- data/lib/moov/models/components/avataruploadrequest.rbi +0 -13
- data/lib/moov/models/components/avataruploadrequest_file.rb +0 -36
- data/lib/moov/models/components/avataruploadrequest_file.rbi +0 -15
- data/lib/moov/models/components/feepaidby.rb +0 -19
- data/lib/moov/models/components/feepaidby.rbi +0 -11
- data/lib/moov/models/components/issuedcontrols.rb +0 -52
- data/lib/moov/models/components/issuedcontrols.rbi +0 -23
- data/lib/moov/models/components/issuedcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/issuedcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/issuedvelocitylimit.rb +0 -60
- data/lib/moov/models/components/issuedvelocitylimit.rbi +0 -27
- data/lib/moov/models/components/issuingcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/issuingcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/issuingcontrolsrestrictionmode.rb +0 -19
- data/lib/moov/models/components/issuingcontrolsrestrictionmode.rbi +0 -11
- data/lib/moov/models/components/issuingmerchantcategory.rb +0 -43
- data/lib/moov/models/components/issuingmerchantcategory.rbi +0 -11
- data/lib/moov/models/components/issuingscheduleday.rb +0 -24
- data/lib/moov/models/components/issuingscheduleday.rbi +0 -11
- data/lib/moov/models/components/merchantcategories.rb +0 -32
- data/lib/moov/models/components/merchantcategories.rbi +0 -13
- data/lib/moov/models/components/merchantcategory.rb +0 -37
- data/lib/moov/models/components/merchantcategory.rbi +0 -15
- data/lib/moov/models/components/merchantcategoryrestrictions.rb +0 -44
- data/lib/moov/models/components/merchantcategoryrestrictions.rbi +0 -19
- data/lib/moov/models/components/merchantcategoryrestrictionserror.rb +0 -44
- data/lib/moov/models/components/merchantcategoryrestrictionserror.rbi +0 -19
- data/lib/moov/models/components/merchantentry.rb +0 -40
- data/lib/moov/models/components/merchantentry.rbi +0 -17
- data/lib/moov/models/components/merchantentryerror.rb +0 -36
- data/lib/moov/models/components/merchantentryerror.rbi +0 -15
- data/lib/moov/models/components/merchantrestrictions.rb +0 -36
- data/lib/moov/models/components/merchantrestrictions.rbi +0 -15
- data/lib/moov/models/components/merchantrestrictionserror.rb +0 -36
- data/lib/moov/models/components/merchantrestrictionserror.rbi +0 -15
- data/lib/moov/models/components/productcategories.rb +0 -32
- data/lib/moov/models/components/productcategories.rbi +0 -13
- data/lib/moov/models/components/productcategory.rb +0 -48
- data/lib/moov/models/components/productcategory.rbi +0 -21
- data/lib/moov/models/components/schedulewindow.rb +0 -40
- data/lib/moov/models/components/schedulewindow.rbi +0 -17
- data/lib/moov/models/components/schedulewindowerror.rb +0 -40
- data/lib/moov/models/components/schedulewindowerror.rbi +0 -17
- data/lib/moov/models/components/schemebasicauth.rb +0 -36
- data/lib/moov/models/components/schemebasicauth.rbi +0 -15
- data/lib/moov/models/components/schemeoauth2auth.rb +0 -40
- data/lib/moov/models/components/schemeoauth2auth.rbi +0 -17
- data/lib/moov/models/components/sendfundswire.rb +0 -32
- data/lib/moov/models/components/sendfundswire.rbi +0 -13
- data/lib/moov/models/components/sendfundswireerror.rb +0 -32
- data/lib/moov/models/components/sendfundswireerror.rbi +0 -13
- data/lib/moov/models/components/transfercapture.rb +0 -36
- data/lib/moov/models/components/transfercapture.rbi +0 -15
- data/lib/moov/models/components/transferfeepaidby.rb +0 -32
- data/lib/moov/models/components/transferfeepaidby.rbi +0 -13
- data/lib/moov/models/components/updateissuingcontrols.rb +0 -48
- data/lib/moov/models/components/updateissuingcontrols.rbi +0 -21
- data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rb +0 -44
- data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rbi +0 -19
- data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rb +0 -36
- data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rbi +0 -15
- data/lib/moov/models/components/updateissuingcontrolserror.rb +0 -48
- data/lib/moov/models/components/updateissuingcontrolserror.rbi +0 -21
- data/lib/moov/models/operations/deleteavatar_request.rb +0 -32
- data/lib/moov/models/operations/deleteavatar_request.rbi +0 -13
- data/lib/moov/models/operations/deleteavatar_response.rb +0 -44
- data/lib/moov/models/operations/deleteavatar_security.rb +0 -36
- data/lib/moov/models/operations/deleteavatar_security.rbi +0 -15
- data/lib/moov/models/operations/listissuingmerchantcategories_response.rbi +0 -21
- data/lib/moov/models/operations/listproductcategories_response.rb +0 -48
- data/lib/moov/models/operations/listproductcategories_response.rbi +0 -21
- data/lib/moov/models/operations/uploadavatar_request.rb +0 -36
- data/lib/moov/models/operations/uploadavatar_request.rbi +0 -15
- data/lib/moov/models/operations/uploadavatar_response.rb +0 -44
- data/lib/moov/models/operations/uploadavatar_response.rbi +0 -19
- data/lib/moov/models/operations/uploadavatar_security.rb +0 -36
- data/lib/moov/models/operations/uploadavatar_security.rbi +0 -15
- data/lib/moov/sdk_hooks/clientcredentials.rb +0 -386
- data/lib/moov/sdk_hooks/oauth2scopes.rb +0 -18
|
@@ -1,32 +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 Components
|
|
10
|
-
|
|
11
|
-
class SendFundsWire
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
field :estimated_activity, Crystalline::Nilable.new(Models::Components::EstimatedActivity), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('estimatedActivity') } }
|
|
17
|
-
|
|
18
|
-
sig { params(estimated_activity: T.nilable(Models::Components::EstimatedActivity)).void }
|
|
19
|
-
def initialize(estimated_activity: nil)
|
|
20
|
-
@estimated_activity = estimated_activity
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
24
|
-
def ==(other)
|
|
25
|
-
return false unless other.is_a? self.class
|
|
26
|
-
return false unless @estimated_activity == other.estimated_activity
|
|
27
|
-
true
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::SendFundsWire
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::SendFundsWire
|
|
11
|
-
def estimated_activity(); end
|
|
12
|
-
def estimated_activity=(str_); end
|
|
13
|
-
end
|
|
@@ -1,32 +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 Components
|
|
10
|
-
|
|
11
|
-
class SendFundsWireError
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
field :estimated_activity, Crystalline::Nilable.new(Models::Components::EstimatedActivityError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('estimatedActivity') } }
|
|
17
|
-
|
|
18
|
-
sig { params(estimated_activity: T.nilable(Models::Components::EstimatedActivityError)).void }
|
|
19
|
-
def initialize(estimated_activity: nil)
|
|
20
|
-
@estimated_activity = estimated_activity
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
24
|
-
def ==(other)
|
|
25
|
-
return false unless other.is_a? self.class
|
|
26
|
-
return false unless @estimated_activity == other.estimated_activity
|
|
27
|
-
true
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::SendFundsWireError
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::SendFundsWireError
|
|
11
|
-
def estimated_activity(); end
|
|
12
|
-
def estimated_activity=(str_); end
|
|
13
|
-
end
|
|
@@ -1,36 +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 Components
|
|
10
|
-
# The card authorization and capture IDs associated with a transfer.
|
|
11
|
-
class TransferCapture
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# ID of the card authorization associated with this transfer.
|
|
16
|
-
field :authorization_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizationID'), required: true } }
|
|
17
|
-
# ID of the card capture associated with this transfer.
|
|
18
|
-
field :capture_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('captureID'), required: true } }
|
|
19
|
-
|
|
20
|
-
sig { params(authorization_id: ::String, capture_id: ::String).void }
|
|
21
|
-
def initialize(authorization_id:, capture_id:)
|
|
22
|
-
@authorization_id = authorization_id
|
|
23
|
-
@capture_id = capture_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 @authorization_id == other.authorization_id
|
|
30
|
-
return false unless @capture_id == other.capture_id
|
|
31
|
-
true
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::TransferCapture
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::TransferCapture
|
|
11
|
-
def authorization_id(); end
|
|
12
|
-
def authorization_id=(str_); end
|
|
13
|
-
def capture_id(); end
|
|
14
|
-
def capture_id=(str_); end
|
|
15
|
-
end
|
|
@@ -1,32 +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 Components
|
|
10
|
-
# Indicates which party bears fees for a transfer, keyed by fee type.
|
|
11
|
-
class TransferFeePaidBy
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# For payouts, indicates which party bears the fee. Defaults to `source`.
|
|
16
|
-
field :payout, Crystalline::Nilable.new(Models::Components::FeePaidBy), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payout'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::FeePaidBy, true) } }
|
|
17
|
-
|
|
18
|
-
sig { params(payout: T.nilable(Models::Components::FeePaidBy)).void }
|
|
19
|
-
def initialize(payout: nil)
|
|
20
|
-
@payout = payout
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
24
|
-
def ==(other)
|
|
25
|
-
return false unless other.is_a? self.class
|
|
26
|
-
return false unless @payout == other.payout
|
|
27
|
-
true
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::TransferFeePaidBy
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::TransferFeePaidBy
|
|
11
|
-
def payout(); end
|
|
12
|
-
def payout=(str_); end
|
|
13
|
-
end
|
|
@@ -1,48 +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 Components
|
|
10
|
-
# Mutable spend controls. Each field replaces the entire corresponding value.
|
|
11
|
-
class UpdateIssuingControls
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# Replaces the entire set of velocity limits. Send an empty array to clear all limits.
|
|
16
|
-
field :velocity_limits, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::IssuingVelocityLimit)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('velocityLimits') } }
|
|
17
|
-
# Replaces the merchant category restrictions. Set to `null` to remove.
|
|
18
|
-
field :merchant_category_restrictions, Crystalline::Nilable.new(Models::Components::UpdateIssuingControlsMerchantCategoryRestrictions), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantCategoryRestrictions') } }
|
|
19
|
-
# Replaces the merchant restrictions. Set to `null` to remove.
|
|
20
|
-
field :merchant_restrictions, Crystalline::Nilable.new(Models::Components::UpdateIssuingControlsMerchantRestrictions), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantRestrictions') } }
|
|
21
|
-
# Replaces the allowed schedule. Set to `null` to remove all schedule restrictions.
|
|
22
|
-
field :allowed_schedule, Crystalline::Nilable.new(Models::Components::UpdateIssuingControlsAllowedSchedule), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('allowedSchedule') } }
|
|
23
|
-
# A spend cutoff date and time. Set to `null` to remove the cutoff.
|
|
24
|
-
field :expires_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
25
|
-
|
|
26
|
-
sig { params(velocity_limits: T.nilable(T::Array[Models::Components::IssuingVelocityLimit]), merchant_category_restrictions: T.nilable(Models::Components::UpdateIssuingControlsMerchantCategoryRestrictions), merchant_restrictions: T.nilable(Models::Components::UpdateIssuingControlsMerchantRestrictions), allowed_schedule: T.nilable(Models::Components::UpdateIssuingControlsAllowedSchedule), expires_on: T.nilable(::DateTime)).void }
|
|
27
|
-
def initialize(velocity_limits: nil, merchant_category_restrictions: nil, merchant_restrictions: nil, allowed_schedule: nil, expires_on: nil)
|
|
28
|
-
@velocity_limits = velocity_limits
|
|
29
|
-
@merchant_category_restrictions = merchant_category_restrictions
|
|
30
|
-
@merchant_restrictions = merchant_restrictions
|
|
31
|
-
@allowed_schedule = allowed_schedule
|
|
32
|
-
@expires_on = expires_on
|
|
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 @velocity_limits == other.velocity_limits
|
|
39
|
-
return false unless @merchant_category_restrictions == other.merchant_category_restrictions
|
|
40
|
-
return false unless @merchant_restrictions == other.merchant_restrictions
|
|
41
|
-
return false unless @allowed_schedule == other.allowed_schedule
|
|
42
|
-
return false unless @expires_on == other.expires_on
|
|
43
|
-
true
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::UpdateIssuingControls
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::UpdateIssuingControls
|
|
11
|
-
def velocity_limits(); end
|
|
12
|
-
def velocity_limits=(str_); end
|
|
13
|
-
def merchant_category_restrictions(); end
|
|
14
|
-
def merchant_category_restrictions=(str_); end
|
|
15
|
-
def merchant_restrictions(); end
|
|
16
|
-
def merchant_restrictions=(str_); end
|
|
17
|
-
def allowed_schedule(); end
|
|
18
|
-
def allowed_schedule=(str_); end
|
|
19
|
-
def expires_on(); end
|
|
20
|
-
def expires_on=(str_); end
|
|
21
|
-
end
|
|
@@ -1,36 +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 Components
|
|
10
|
-
# Replaces the allowed schedule. Set to `null` to remove all schedule restrictions.
|
|
11
|
-
class UpdateIssuingControlsAllowedSchedule
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# IANA timezone string used to evaluate window boundaries against the authorization time.
|
|
16
|
-
field :timezone, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('timezone') } }
|
|
17
|
-
# Time windows during which the card may authorize. Any matching window allows the transaction.
|
|
18
|
-
field :windows, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::ScheduleWindow)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('windows') } }
|
|
19
|
-
|
|
20
|
-
sig { params(timezone: T.nilable(::String), windows: T.nilable(T::Array[Models::Components::ScheduleWindow])).void }
|
|
21
|
-
def initialize(timezone: nil, windows: nil)
|
|
22
|
-
@timezone = timezone
|
|
23
|
-
@windows = windows
|
|
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 @timezone == other.timezone
|
|
30
|
-
return false unless @windows == other.windows
|
|
31
|
-
true
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::UpdateIssuingControlsAllowedSchedule
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::UpdateIssuingControlsAllowedSchedule
|
|
11
|
-
def timezone(); end
|
|
12
|
-
def timezone=(str_); end
|
|
13
|
-
def windows(); end
|
|
14
|
-
def windows=(str_); end
|
|
15
|
-
end
|
|
@@ -1,44 +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 Components
|
|
10
|
-
# Replaces the merchant category restrictions. Set to `null` to remove.
|
|
11
|
-
class UpdateIssuingControlsMerchantCategoryRestrictions
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# Whether the listed categories are the only ones allowed, or the ones to block.
|
|
16
|
-
field :mode, Crystalline::Nilable.new(Models::Components::IssuingControlsRestrictionMode), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('mode'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::IssuingControlsRestrictionMode, true) } }
|
|
17
|
-
# Predefined category groups to allow or block.
|
|
18
|
-
field :categories, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::IssuingMerchantCategory)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('categories') } }
|
|
19
|
-
# Individual merchant category codes (MCCs) to allow or block, for codes not covered by a predefined category.
|
|
20
|
-
field :custom_mc_cs, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('customMCCs') } }
|
|
21
|
-
# Merchants that are exempt from category restrictions regardless of their category.
|
|
22
|
-
field :exempt_merchants, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::MerchantEntry)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('exemptMerchants') } }
|
|
23
|
-
|
|
24
|
-
sig { params(mode: T.nilable(Models::Components::IssuingControlsRestrictionMode), categories: T.nilable(T::Array[Models::Components::IssuingMerchantCategory]), custom_mc_cs: T.nilable(T::Array[::String]), exempt_merchants: T.nilable(T::Array[Models::Components::MerchantEntry])).void }
|
|
25
|
-
def initialize(mode: nil, categories: nil, custom_mc_cs: nil, exempt_merchants: nil)
|
|
26
|
-
@mode = mode
|
|
27
|
-
@categories = categories
|
|
28
|
-
@custom_mc_cs = custom_mc_cs
|
|
29
|
-
@exempt_merchants = exempt_merchants
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
33
|
-
def ==(other)
|
|
34
|
-
return false unless other.is_a? self.class
|
|
35
|
-
return false unless @mode == other.mode
|
|
36
|
-
return false unless @categories == other.categories
|
|
37
|
-
return false unless @custom_mc_cs == other.custom_mc_cs
|
|
38
|
-
return false unless @exempt_merchants == other.exempt_merchants
|
|
39
|
-
true
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
end
|
|
44
|
-
end
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::UpdateIssuingControlsMerchantCategoryRestrictions
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::UpdateIssuingControlsMerchantCategoryRestrictions
|
|
11
|
-
def mode(); end
|
|
12
|
-
def mode=(str_); end
|
|
13
|
-
def categories(); end
|
|
14
|
-
def categories=(str_); end
|
|
15
|
-
def custom_mc_cs(); end
|
|
16
|
-
def custom_mc_cs=(str_); end
|
|
17
|
-
def exempt_merchants(); end
|
|
18
|
-
def exempt_merchants=(str_); end
|
|
19
|
-
end
|
|
@@ -1,36 +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 Components
|
|
10
|
-
# Replaces the merchant restrictions. Set to `null` to remove.
|
|
11
|
-
class UpdateIssuingControlsMerchantRestrictions
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# Whether the listed merchants are the only ones allowed, or the ones to block.
|
|
16
|
-
field :mode, Crystalline::Nilable.new(Models::Components::IssuingControlsRestrictionMode), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('mode'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::IssuingControlsRestrictionMode, true) } }
|
|
17
|
-
# The merchants to allow or block.
|
|
18
|
-
field :merchants, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::MerchantEntry)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchants') } }
|
|
19
|
-
|
|
20
|
-
sig { params(mode: T.nilable(Models::Components::IssuingControlsRestrictionMode), merchants: T.nilable(T::Array[Models::Components::MerchantEntry])).void }
|
|
21
|
-
def initialize(mode: nil, merchants: nil)
|
|
22
|
-
@mode = mode
|
|
23
|
-
@merchants = merchants
|
|
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 @mode == other.mode
|
|
30
|
-
return false unless @merchants == other.merchants
|
|
31
|
-
true
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::UpdateIssuingControlsMerchantRestrictions
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::UpdateIssuingControlsMerchantRestrictions
|
|
11
|
-
def mode(); end
|
|
12
|
-
def mode=(str_); end
|
|
13
|
-
def merchants(); end
|
|
14
|
-
def merchants=(str_); end
|
|
15
|
-
end
|
|
@@ -1,48 +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 Components
|
|
10
|
-
|
|
11
|
-
class UpdateIssuingControlsError
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
field :velocity_limits, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::IssuingVelocityLimitError)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('velocityLimits') } }
|
|
17
|
-
|
|
18
|
-
field :merchant_category_restrictions, Crystalline::Nilable.new(Models::Components::MerchantCategoryRestrictionsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantCategoryRestrictions') } }
|
|
19
|
-
|
|
20
|
-
field :merchant_restrictions, Crystalline::Nilable.new(Models::Components::MerchantRestrictionsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantRestrictions') } }
|
|
21
|
-
|
|
22
|
-
field :allowed_schedule, Crystalline::Nilable.new(Models::Components::AllowedScheduleError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('allowedSchedule') } }
|
|
23
|
-
|
|
24
|
-
field :expires_on, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn') } }
|
|
25
|
-
|
|
26
|
-
sig { params(velocity_limits: T.nilable(T::Hash[Symbol, Models::Components::IssuingVelocityLimitError]), merchant_category_restrictions: T.nilable(Models::Components::MerchantCategoryRestrictionsError), merchant_restrictions: T.nilable(Models::Components::MerchantRestrictionsError), allowed_schedule: T.nilable(Models::Components::AllowedScheduleError), expires_on: T.nilable(::String)).void }
|
|
27
|
-
def initialize(velocity_limits: nil, merchant_category_restrictions: nil, merchant_restrictions: nil, allowed_schedule: nil, expires_on: nil)
|
|
28
|
-
@velocity_limits = velocity_limits
|
|
29
|
-
@merchant_category_restrictions = merchant_category_restrictions
|
|
30
|
-
@merchant_restrictions = merchant_restrictions
|
|
31
|
-
@allowed_schedule = allowed_schedule
|
|
32
|
-
@expires_on = expires_on
|
|
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 @velocity_limits == other.velocity_limits
|
|
39
|
-
return false unless @merchant_category_restrictions == other.merchant_category_restrictions
|
|
40
|
-
return false unless @merchant_restrictions == other.merchant_restrictions
|
|
41
|
-
return false unless @allowed_schedule == other.allowed_schedule
|
|
42
|
-
return false unless @expires_on == other.expires_on
|
|
43
|
-
true
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::UpdateIssuingControlsError
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::UpdateIssuingControlsError
|
|
11
|
-
def velocity_limits(); end
|
|
12
|
-
def velocity_limits=(str_); end
|
|
13
|
-
def merchant_category_restrictions(); end
|
|
14
|
-
def merchant_category_restrictions=(str_); end
|
|
15
|
-
def merchant_restrictions(); end
|
|
16
|
-
def merchant_restrictions=(str_); end
|
|
17
|
-
def allowed_schedule(); end
|
|
18
|
-
def allowed_schedule=(str_); end
|
|
19
|
-
def expires_on(); end
|
|
20
|
-
def expires_on=(str_); end
|
|
21
|
-
end
|
|
@@ -1,32 +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 DeleteAvatarRequest
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
# The accountID to delete the avatar for. Only accountID values are accepted for writes.
|
|
16
|
-
field :unique_id, ::String, { 'path_param': { 'field_name': 'uniqueID', 'style': 'simple', 'explode': false } }
|
|
17
|
-
|
|
18
|
-
sig { params(unique_id: ::String).void }
|
|
19
|
-
def initialize(unique_id:)
|
|
20
|
-
@unique_id = unique_id
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
24
|
-
def ==(other)
|
|
25
|
-
return false unless other.is_a? self.class
|
|
26
|
-
return false unless @unique_id == other.unique_id
|
|
27
|
-
true
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::DeleteAvatarRequest
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::DeleteAvatarRequest
|
|
11
|
-
def unique_id(); end
|
|
12
|
-
def unique_id=(str_); end
|
|
13
|
-
end
|
|
@@ -1,44 +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 DeleteAvatarResponse
|
|
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
|
-
|
|
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:)
|
|
26
|
-
@content_type = content_type
|
|
27
|
-
@status_code = status_code
|
|
28
|
-
@raw_response = raw_response
|
|
29
|
-
@headers = headers
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
33
|
-
def ==(other)
|
|
34
|
-
return false unless other.is_a? self.class
|
|
35
|
-
return false unless @content_type == other.content_type
|
|
36
|
-
return false unless @status_code == other.status_code
|
|
37
|
-
return false unless @raw_response == other.raw_response
|
|
38
|
-
return false unless @headers == other.headers
|
|
39
|
-
true
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
end
|
|
44
|
-
end
|
|
@@ -1,36 +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 DeleteAvatarSecurity
|
|
12
|
-
extend T::Sig
|
|
13
|
-
include Crystalline::MetadataFields
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
field :basic_auth, Crystalline::Nilable.new(Models::Components::SchemeBasicAuth), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic' } }
|
|
17
|
-
|
|
18
|
-
field :o_auth2_auth, Crystalline::Nilable.new(Models::Components::SchemeOAuth2Auth), { 'security': { 'scheme': true, 'type': 'oauth2', 'sub_type': 'client_credentials' } }
|
|
19
|
-
|
|
20
|
-
sig { params(basic_auth: T.nilable(Models::Components::SchemeBasicAuth), o_auth2_auth: T.nilable(Models::Components::SchemeOAuth2Auth)).void }
|
|
21
|
-
def initialize(basic_auth: nil, o_auth2_auth: nil)
|
|
22
|
-
@basic_auth = basic_auth
|
|
23
|
-
@o_auth2_auth = o_auth2_auth
|
|
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 @basic_auth == other.basic_auth
|
|
30
|
-
return false unless @o_auth2_auth == other.o_auth2_auth
|
|
31
|
-
true
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::DeleteAvatarSecurity
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::DeleteAvatarSecurity
|
|
11
|
-
def basic_auth(); end
|
|
12
|
-
def basic_auth=(str_); end
|
|
13
|
-
def o_auth2_auth(); end
|
|
14
|
-
def o_auth2_auth=(str_); end
|
|
15
|
-
end
|