moov_ruby 26.4.0.pre.dev.10 → 26.4.0.pre.dev.11
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/client.rb +2 -1
- data/lib/moov/models/components/createresolutionlink.rb +32 -0
- data/lib/moov/models/components/createresolutionlink.rbi +13 -0
- data/lib/moov/models/components/resolutionlink.rb +64 -0
- data/lib/moov/models/components/resolutionlink.rbi +29 -0
- data/lib/moov/models/components/resolutionlinkrecipient.rb +36 -0
- data/lib/moov/models/components/resolutionlinkrecipient.rbi +15 -0
- data/lib/moov/models/components.rb +3 -0
- data/lib/moov/models/errors/createresolutionlinkerror.rb +40 -0
- data/lib/moov/models/errors/createresolutionlinkerror.rbi +17 -0
- data/lib/moov/models/errors.rb +1 -0
- data/lib/moov/models/operations/createresolutionlink_request.rb +49 -0
- data/lib/moov/models/operations/createresolutionlink_request.rbi +17 -0
- data/lib/moov/models/operations/createresolutionlink_response.rb +48 -0
- data/lib/moov/models/operations/createresolutionlink_response.rbi +21 -0
- data/lib/moov/models/operations/disableresolutionlink_request.rb +49 -0
- data/lib/moov/models/operations/disableresolutionlink_request.rbi +17 -0
- data/lib/moov/models/operations/disableresolutionlink_response.rb +44 -0
- data/lib/moov/models/operations/disableresolutionlink_response.rbi +19 -0
- data/lib/moov/models/operations/getresolutionlink_request.rb +49 -0
- data/lib/moov/models/operations/getresolutionlink_request.rbi +17 -0
- data/lib/moov/models/operations/getresolutionlink_response.rb +48 -0
- data/lib/moov/models/operations/getresolutionlink_response.rbi +21 -0
- data/lib/moov/models/operations/listresolutionlinks_request.rb +45 -0
- data/lib/moov/models/operations/listresolutionlinks_request.rbi +15 -0
- data/lib/moov/models/operations/listresolutionlinks_response.rb +48 -0
- data/lib/moov/models/operations/listresolutionlinks_response.rbi +21 -0
- data/lib/moov/models/operations.rb +8 -0
- data/lib/moov/resolution_links.rb +592 -0
- data/lib/moov/sdk_hooks/moov_version.rb +6 -7
- data/lib/moov/sdk_hooks/registration.rb +1 -1
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov_ruby.rb +1 -0
- metadata +27 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a35617026cc1de59993e9bdeba142bad5f912b382fdc7bd3870fd5d3191c17f
|
|
4
|
+
data.tar.gz: c25d4aa0188ff4f3689d5d1aa7b2a89af3b00e379fb4fe7e49d086a1484b5a25
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9af7dde3c5dfa190db656af1e1d74e0ef673e1c83e2997665d47bbd28cbe7830487f00ce8069711c07d5cad97b13ebfe98b99ef953e3d25de41f5d1786b29e8c
|
|
7
|
+
data.tar.gz: 64ae8d13a681f7b21971904776f7ebbe2303e963df111948a442080eb1d7958613b5561826623c4f302f877f43eaf3ee3eec8eaeb8b817e5464a111437f0c264
|
data/lib/moov/client.rb
CHANGED
|
@@ -16,7 +16,7 @@ module Moov
|
|
|
16
16
|
class Client
|
|
17
17
|
extend T::Sig
|
|
18
18
|
|
|
19
|
-
attr_accessor :accounts, :adjustments, :apple_pay, :bank_accounts, :branding, :capabilities, :cards, :disputes, :fee_plans, :files, :images, :invoices, :payment_links, :payment_methods, :products, :representatives, :scheduling, :statements, :sweeps, :account_terminal_applications, :support, :transfers, :underwriting, :wallets, :wallet_transactions, :avatars, :end_to_end_encryption, :enriched_address, :enriched_profile, :webhooks, :industries, :institutions, :issuing_transactions, :card_issuing, :authentication, :onboarding, :ping, :receipts, :terminal_applications
|
|
19
|
+
attr_accessor :accounts, :adjustments, :apple_pay, :bank_accounts, :branding, :capabilities, :cards, :disputes, :fee_plans, :files, :images, :invoices, :payment_links, :payment_methods, :products, :representatives, :resolution_links, :scheduling, :statements, :sweeps, :account_terminal_applications, :support, :transfers, :underwriting, :wallets, :wallet_transactions, :avatars, :end_to_end_encryption, :enriched_address, :enriched_profile, :webhooks, :industries, :institutions, :issuing_transactions, :card_issuing, :authentication, :onboarding, :ping, :receipts, :terminal_applications
|
|
20
20
|
|
|
21
21
|
# Instantiates the SDK, configuring it with the provided parameters.
|
|
22
22
|
#
|
|
@@ -109,6 +109,7 @@ module Moov
|
|
|
109
109
|
@payment_methods = PaymentMethods.new(@sdk_configuration)
|
|
110
110
|
@products = Products.new(@sdk_configuration)
|
|
111
111
|
@representatives = Representatives.new(@sdk_configuration)
|
|
112
|
+
@resolution_links = ResolutionLinks.new(@sdk_configuration)
|
|
112
113
|
@scheduling = Scheduling.new(@sdk_configuration)
|
|
113
114
|
@statements = Statements.new(@sdk_configuration)
|
|
114
115
|
@sweeps = Sweeps.new(@sdk_configuration)
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
# Request body for creating a resolution link.
|
|
11
|
+
class CreateResolutionLink
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The recipient contact information for the resolution link.
|
|
16
|
+
field :recipient, Models::Components::ResolutionLinkRecipient, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('recipient'), required: true } }
|
|
17
|
+
|
|
18
|
+
sig { params(recipient: Models::Components::ResolutionLinkRecipient).void }
|
|
19
|
+
def initialize(recipient:)
|
|
20
|
+
@recipient = recipient
|
|
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 @recipient == other.recipient
|
|
27
|
+
true
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::CreateResolutionLink
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::CreateResolutionLink
|
|
11
|
+
def recipient(); end
|
|
12
|
+
def recipient=(str_); end
|
|
13
|
+
end
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
# A temporary, secure link sent to a merchant to resolve account requirements such as KYC verification or document uploads.
|
|
11
|
+
class ResolutionLink
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# A unique nanoid identifier for the resolution link.
|
|
16
|
+
field :code, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('code'), required: true } }
|
|
17
|
+
# The ID of the merchant account this resolution link is associated with.
|
|
18
|
+
field :account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID'), required: true } }
|
|
19
|
+
# The ID of the partner account this resolution link is associated with.
|
|
20
|
+
field :partner_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('partnerAccountID'), required: true } }
|
|
21
|
+
# The recipient contact information for the resolution link.
|
|
22
|
+
field :recipient, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('recipient'), required: true } }
|
|
23
|
+
# The URL of the resolution link.
|
|
24
|
+
field :url, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('url'), required: true } }
|
|
25
|
+
# The date and time the resolution link was created.
|
|
26
|
+
field :created_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
|
|
27
|
+
# The date and time the resolution link was last updated.
|
|
28
|
+
field :updated_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('updatedOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
|
|
29
|
+
# The date and time the resolution link expires.
|
|
30
|
+
field :expires_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
|
|
31
|
+
# The date and time the resolution link was disabled, if applicable.
|
|
32
|
+
field :disabled_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('disabledOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
33
|
+
|
|
34
|
+
sig { params(code: ::String, account_id: ::String, partner_account_id: ::String, recipient: ::String, url: ::String, created_on: ::DateTime, updated_on: ::DateTime, expires_on: ::DateTime, disabled_on: T.nilable(::DateTime)).void }
|
|
35
|
+
def initialize(code:, account_id:, partner_account_id:, recipient:, url:, created_on:, updated_on:, expires_on:, disabled_on: nil)
|
|
36
|
+
@code = code
|
|
37
|
+
@account_id = account_id
|
|
38
|
+
@partner_account_id = partner_account_id
|
|
39
|
+
@recipient = recipient
|
|
40
|
+
@url = url
|
|
41
|
+
@created_on = created_on
|
|
42
|
+
@updated_on = updated_on
|
|
43
|
+
@expires_on = expires_on
|
|
44
|
+
@disabled_on = disabled_on
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
48
|
+
def ==(other)
|
|
49
|
+
return false unless other.is_a? self.class
|
|
50
|
+
return false unless @code == other.code
|
|
51
|
+
return false unless @account_id == other.account_id
|
|
52
|
+
return false unless @partner_account_id == other.partner_account_id
|
|
53
|
+
return false unless @recipient == other.recipient
|
|
54
|
+
return false unless @url == other.url
|
|
55
|
+
return false unless @created_on == other.created_on
|
|
56
|
+
return false unless @updated_on == other.updated_on
|
|
57
|
+
return false unless @expires_on == other.expires_on
|
|
58
|
+
return false unless @disabled_on == other.disabled_on
|
|
59
|
+
true
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::ResolutionLink
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::ResolutionLink
|
|
11
|
+
def code(); end
|
|
12
|
+
def code=(str_); end
|
|
13
|
+
def account_id(); end
|
|
14
|
+
def account_id=(str_); end
|
|
15
|
+
def partner_account_id(); end
|
|
16
|
+
def partner_account_id=(str_); end
|
|
17
|
+
def recipient(); end
|
|
18
|
+
def recipient=(str_); end
|
|
19
|
+
def url(); end
|
|
20
|
+
def url=(str_); end
|
|
21
|
+
def created_on(); end
|
|
22
|
+
def created_on=(str_); end
|
|
23
|
+
def updated_on(); end
|
|
24
|
+
def updated_on=(str_); end
|
|
25
|
+
def expires_on(); end
|
|
26
|
+
def expires_on=(str_); end
|
|
27
|
+
def disabled_on(); end
|
|
28
|
+
def disabled_on=(str_); end
|
|
29
|
+
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 Components
|
|
10
|
+
# Contact information for the recipient of a resolution link. Provide either `email` or `phone`, but not both.
|
|
11
|
+
class ResolutionLinkRecipient
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# The email address of the recipient.
|
|
16
|
+
field :email, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('email') } }
|
|
17
|
+
# The phone number of the recipient.
|
|
18
|
+
field :phone, Crystalline::Nilable.new(Models::Components::PhoneNumber), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('phone') } }
|
|
19
|
+
|
|
20
|
+
sig { params(email: T.nilable(::String), phone: T.nilable(Models::Components::PhoneNumber)).void }
|
|
21
|
+
def initialize(email: nil, phone: nil)
|
|
22
|
+
@email = email
|
|
23
|
+
@phone = phone
|
|
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 @email == other.email
|
|
30
|
+
return false unless @phone == other.phone
|
|
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::Components::ResolutionLinkRecipient
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::ResolutionLinkRecipient
|
|
11
|
+
def email(); end
|
|
12
|
+
def email=(str_); end
|
|
13
|
+
def phone(); end
|
|
14
|
+
def phone=(str_); end
|
|
15
|
+
end
|
|
@@ -201,6 +201,7 @@ module Moov
|
|
|
201
201
|
autoload :CreateRefund, 'moov/models/components/createrefund.rb'
|
|
202
202
|
autoload :CreateRefundResponse, 'moov/models/components/createrefundresponse.rb'
|
|
203
203
|
autoload :CreateRepresentative, 'moov/models/components/createrepresentative.rb'
|
|
204
|
+
autoload :CreateResolutionLink, 'moov/models/components/createresolutionlink.rb'
|
|
204
205
|
autoload :CreateReversal, 'moov/models/components/createreversal.rb'
|
|
205
206
|
autoload :CreateRunTransfer, 'moov/models/components/createruntransfer.rb'
|
|
206
207
|
autoload :CreateScheduledTransferLineItem, 'moov/models/components/createscheduledtransferlineitem.rb'
|
|
@@ -463,6 +464,8 @@ module Moov
|
|
|
463
464
|
autoload :RequirementErrorCode, 'moov/models/components/requirementerrorcode.rb'
|
|
464
465
|
autoload :RequirementID, 'moov/models/components/requirementid.rb'
|
|
465
466
|
autoload :Residual, 'moov/models/components/residual.rb'
|
|
467
|
+
autoload :ResolutionLink, 'moov/models/components/resolutionlink.rb'
|
|
468
|
+
autoload :ResolutionLinkRecipient, 'moov/models/components/resolutionlinkrecipient.rb'
|
|
466
469
|
autoload :ReturnPolicyType, 'moov/models/components/returnpolicytype.rb'
|
|
467
470
|
autoload :Reversal, 'moov/models/components/reversal.rb'
|
|
468
471
|
autoload :ReversedWithCancellation, 'moov/models/components/reversedwithcancellation.rb'
|
|
@@ -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 Errors
|
|
10
|
+
# Describes validation errors for the create resolution link request.
|
|
11
|
+
class CreateResolutionLinkError < StandardError
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# An error with the recipient email address.
|
|
16
|
+
field :email, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('email') } }
|
|
17
|
+
# An error with the recipient phone number.
|
|
18
|
+
field :phone, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('phone') } }
|
|
19
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
20
|
+
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
21
|
+
|
|
22
|
+
sig { params(email: T.nilable(::String), phone: T.nilable(::String), raw_response: T.nilable(::Faraday::Response)).void }
|
|
23
|
+
def initialize(email: nil, phone: nil, raw_response: nil)
|
|
24
|
+
@email = email
|
|
25
|
+
@phone = phone
|
|
26
|
+
@raw_response = raw_response
|
|
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 @email == other.email
|
|
33
|
+
return false unless @phone == other.phone
|
|
34
|
+
return false unless @raw_response == other.raw_response
|
|
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::Errors::CreateResolutionLinkError
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Errors::CreateResolutionLinkError
|
|
11
|
+
def email(); end
|
|
12
|
+
def email=(str_); end
|
|
13
|
+
def phone(); end
|
|
14
|
+
def phone=(str_); end
|
|
15
|
+
def raw_response(); end
|
|
16
|
+
def raw_response=(str_); end
|
|
17
|
+
end
|
data/lib/moov/models/errors.rb
CHANGED
|
@@ -19,6 +19,7 @@ module Moov
|
|
|
19
19
|
autoload :CreateInvoiceError, 'moov/models/errors/createinvoiceerror.rb'
|
|
20
20
|
autoload :CreateInvoicePaymentError, 'moov/models/errors/createinvoicepaymenterror.rb'
|
|
21
21
|
autoload :CreatePaymentLinkError, 'moov/models/errors/createpaymentlinkerror.rb'
|
|
22
|
+
autoload :CreateResolutionLinkError, 'moov/models/errors/createresolutionlinkerror.rb'
|
|
22
23
|
autoload :CreateSweepConfigError, 'moov/models/errors/createsweepconfigerror.rb'
|
|
23
24
|
autoload :CreateTicketError, 'moov/models/errors/createticketerror.rb'
|
|
24
25
|
autoload :CreateWalletValidationError, 'moov/models/errors/createwalletvalidationerror.rb'
|
|
@@ -0,0 +1,49 @@
|
|
|
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 CreateResolutionLinkRequest
|
|
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 :create_resolution_link, Models::Components::CreateResolutionLink, { 'request': { 'media_type': 'application/json' } }
|
|
19
|
+
# Specify an API version.
|
|
20
|
+
#
|
|
21
|
+
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
22
|
+
# - `YYYY` is the year
|
|
23
|
+
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
24
|
+
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
25
|
+
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
26
|
+
#
|
|
27
|
+
# The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
28
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
29
|
+
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
30
|
+
|
|
31
|
+
sig { params(account_id: ::String, create_resolution_link: Models::Components::CreateResolutionLink, x_moov_version: T.nilable(::String)).void }
|
|
32
|
+
def initialize(account_id:, create_resolution_link:, x_moov_version: nil)
|
|
33
|
+
@account_id = account_id
|
|
34
|
+
@create_resolution_link = create_resolution_link
|
|
35
|
+
@x_moov_version = x_moov_version
|
|
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 @account_id == other.account_id
|
|
42
|
+
return false unless @create_resolution_link == other.create_resolution_link
|
|
43
|
+
return false unless @x_moov_version == other.x_moov_version
|
|
44
|
+
true
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::CreateResolutionLinkRequest
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::CreateResolutionLinkRequest
|
|
11
|
+
def account_id(); end
|
|
12
|
+
def account_id=(str_); end
|
|
13
|
+
def create_resolution_link(); end
|
|
14
|
+
def create_resolution_link=(str_); end
|
|
15
|
+
def x_moov_version(); end
|
|
16
|
+
def x_moov_version=(str_); end
|
|
17
|
+
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 CreateResolutionLinkResponse
|
|
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 :resolution_link, Crystalline::Nilable.new(Models::Components::ResolutionLink)
|
|
25
|
+
|
|
26
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], resolution_link: T.nilable(Models::Components::ResolutionLink)).void }
|
|
27
|
+
def initialize(content_type:, status_code:, raw_response:, headers:, resolution_link: nil)
|
|
28
|
+
@content_type = content_type
|
|
29
|
+
@status_code = status_code
|
|
30
|
+
@raw_response = raw_response
|
|
31
|
+
@headers = headers
|
|
32
|
+
@resolution_link = resolution_link
|
|
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 @resolution_link == other.resolution_link
|
|
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::CreateResolutionLinkResponse
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::CreateResolutionLinkResponse
|
|
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 resolution_link(); end
|
|
20
|
+
def resolution_link=(str_); end
|
|
21
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
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 DisableResolutionLinkRequest
|
|
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 :resolution_link_code, ::String, { 'path_param': { 'field_name': 'resolutionLinkCode', 'style': 'simple', 'explode': false } }
|
|
19
|
+
# Specify an API version.
|
|
20
|
+
#
|
|
21
|
+
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
22
|
+
# - `YYYY` is the year
|
|
23
|
+
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
24
|
+
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
25
|
+
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
26
|
+
#
|
|
27
|
+
# The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
28
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
29
|
+
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
30
|
+
|
|
31
|
+
sig { params(account_id: ::String, resolution_link_code: ::String, x_moov_version: T.nilable(::String)).void }
|
|
32
|
+
def initialize(account_id:, resolution_link_code:, x_moov_version: nil)
|
|
33
|
+
@account_id = account_id
|
|
34
|
+
@resolution_link_code = resolution_link_code
|
|
35
|
+
@x_moov_version = x_moov_version
|
|
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 @account_id == other.account_id
|
|
42
|
+
return false unless @resolution_link_code == other.resolution_link_code
|
|
43
|
+
return false unless @x_moov_version == other.x_moov_version
|
|
44
|
+
true
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::DisableResolutionLinkRequest
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::DisableResolutionLinkRequest
|
|
11
|
+
def account_id(); end
|
|
12
|
+
def account_id=(str_); end
|
|
13
|
+
def resolution_link_code(); end
|
|
14
|
+
def resolution_link_code=(str_); end
|
|
15
|
+
def x_moov_version(); end
|
|
16
|
+
def x_moov_version=(str_); end
|
|
17
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
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 DisableResolutionLinkResponse
|
|
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
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::DisableResolutionLinkResponse
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::DisableResolutionLinkResponse
|
|
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
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
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 GetResolutionLinkRequest
|
|
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 :resolution_link_code, ::String, { 'path_param': { 'field_name': 'resolutionLinkCode', 'style': 'simple', 'explode': false } }
|
|
19
|
+
# Specify an API version.
|
|
20
|
+
#
|
|
21
|
+
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
22
|
+
# - `YYYY` is the year
|
|
23
|
+
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
24
|
+
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
25
|
+
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
26
|
+
#
|
|
27
|
+
# The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
28
|
+
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
29
|
+
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
30
|
+
|
|
31
|
+
sig { params(account_id: ::String, resolution_link_code: ::String, x_moov_version: T.nilable(::String)).void }
|
|
32
|
+
def initialize(account_id:, resolution_link_code:, x_moov_version: nil)
|
|
33
|
+
@account_id = account_id
|
|
34
|
+
@resolution_link_code = resolution_link_code
|
|
35
|
+
@x_moov_version = x_moov_version
|
|
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 @account_id == other.account_id
|
|
42
|
+
return false unless @resolution_link_code == other.resolution_link_code
|
|
43
|
+
return false unless @x_moov_version == other.x_moov_version
|
|
44
|
+
true
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::GetResolutionLinkRequest
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::GetResolutionLinkRequest
|
|
11
|
+
def account_id(); end
|
|
12
|
+
def account_id=(str_); end
|
|
13
|
+
def resolution_link_code(); end
|
|
14
|
+
def resolution_link_code=(str_); end
|
|
15
|
+
def x_moov_version(); end
|
|
16
|
+
def x_moov_version=(str_); end
|
|
17
|
+
end
|