moov_ruby 0.1.23 → 0.1.25
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/images.rb +567 -0
- data/lib/moov/models/components/imagemetadata.rb +50 -0
- data/lib/moov/models/components/imagemetadata.rbi +21 -0
- data/lib/moov/models/components/paymentmethodswallet.rb +12 -2
- data/lib/moov/models/components/paymentmethodswallet.rbi +4 -0
- data/lib/moov/models/components/security.rb +4 -4
- data/lib/moov/models/components.rb +1 -0
- data/lib/moov/models/operations/deleteimage_request.rb +49 -0
- data/lib/moov/models/operations/deleteimage_request.rbi +17 -0
- data/lib/moov/models/operations/deleteimage_response.rb +45 -0
- data/lib/moov/models/operations/deleteimage_response.rbi +19 -0
- data/lib/moov/models/operations/getimagemetadata_request.rb +49 -0
- data/lib/moov/models/operations/getimagemetadata_request.rbi +17 -0
- data/lib/moov/models/operations/getimagemetadata_response.rb +49 -0
- data/lib/moov/models/operations/getimagemetadata_response.rbi +21 -0
- data/lib/moov/models/operations/getpublicimage_request.rb +45 -0
- data/lib/moov/models/operations/getpublicimage_request.rbi +17 -0
- data/lib/moov/models/operations/getpublicimage_response.rb +57 -0
- data/lib/moov/models/operations/getpublicimage_response.rbi +25 -0
- data/lib/moov/models/operations/listimagemetadata_request.rb +45 -0
- data/lib/moov/models/operations/listimagemetadata_request.rbi +15 -0
- data/lib/moov/models/operations/listimagemetadata_response.rb +49 -0
- data/lib/moov/models/operations/listimagemetadata_response.rbi +21 -0
- data/lib/moov/models/operations.rb +8 -0
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov_ruby.rb +1 -0
- metadata +21 -2
@@ -16,15 +16,25 @@ module Moov
|
|
16
16
|
|
17
17
|
field :wallet_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('walletID'), required: true } }
|
18
18
|
|
19
|
-
|
20
|
-
|
19
|
+
field :partner_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('partnerAccountID'), required: true } }
|
20
|
+
# Type of a wallet.
|
21
|
+
# - `default`: The primary system-generated wallet automatically created by Moov when an account is granted the wallet capability. This generates a moov-wallet payment method that is available for use immediately. Only one default wallet exists per account.
|
22
|
+
# - `general`: A user-defined wallet created via the API to segment funds for specific use cases. Users can create multiple general wallets per account to support internal business models or financial reporting needs.
|
23
|
+
field :wallet_type, Models::Components::WalletType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('walletType'), required: true, 'decoder': Utils.enum_from_string(Models::Components::WalletType, false) } }
|
24
|
+
|
25
|
+
sig { params(wallet_id: ::String, partner_account_id: ::String, wallet_type: Models::Components::WalletType).void }
|
26
|
+
def initialize(wallet_id:, partner_account_id:, wallet_type:)
|
21
27
|
@wallet_id = wallet_id
|
28
|
+
@partner_account_id = partner_account_id
|
29
|
+
@wallet_type = wallet_type
|
22
30
|
end
|
23
31
|
|
24
32
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
25
33
|
def ==(other)
|
26
34
|
return false unless other.is_a? self.class
|
27
35
|
return false unless @wallet_id == other.wallet_id
|
36
|
+
return false unless @partner_account_id == other.partner_account_id
|
37
|
+
return false unless @wallet_type == other.wallet_type
|
28
38
|
true
|
29
39
|
end
|
30
40
|
end
|
@@ -14,12 +14,12 @@ module Moov
|
|
14
14
|
include Crystalline::MetadataFields
|
15
15
|
|
16
16
|
|
17
|
-
field :username, ::String, { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic', 'field_name': 'username' } }
|
17
|
+
field :username, Crystalline::Nilable.new(::String), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic', 'field_name': 'username' } }
|
18
18
|
|
19
|
-
field :password, ::String, { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic', 'field_name': 'password' } }
|
19
|
+
field :password, Crystalline::Nilable.new(::String), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'basic', 'field_name': 'password' } }
|
20
20
|
|
21
|
-
sig { params(username: ::String, password: ::String).void }
|
22
|
-
def initialize(username
|
21
|
+
sig { params(username: T.nilable(::String), password: T.nilable(::String)).void }
|
22
|
+
def initialize(username: nil, password: nil)
|
23
23
|
@username = username
|
24
24
|
@password = password
|
25
25
|
end
|
@@ -243,6 +243,7 @@ module Moov
|
|
243
243
|
autoload :GovernmentIDSsn, 'moov/models/components/governmentid_ssn.rb'
|
244
244
|
autoload :GrantType, 'moov/models/components/granttype.rb'
|
245
245
|
autoload :GuestProfile, 'moov/models/components/guestprofile.rb'
|
246
|
+
autoload :ImageMetadata, 'moov/models/components/imagemetadata.rb'
|
246
247
|
autoload :IncurredFee, 'moov/models/components/incurredfee.rb'
|
247
248
|
autoload :IndividualName, 'moov/models/components/individualname.rb'
|
248
249
|
autoload :IndividualNameError, 'moov/models/components/individualnameerror.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
|
+
|
12
|
+
class DeleteImageRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
18
|
+
|
19
|
+
field :image_id, ::String, { 'path_param': { 'field_name': 'imageID', 'style': 'simple', 'explode': false } }
|
20
|
+
# Specify an API version.
|
21
|
+
#
|
22
|
+
# API versioning follows the format `vYYYY.QQ.BB`, where
|
23
|
+
# - `YYYY` is the year
|
24
|
+
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
25
|
+
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
26
|
+
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
27
|
+
#
|
28
|
+
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
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, image_id: ::String, x_moov_version: T.nilable(::String)).void }
|
32
|
+
def initialize(account_id:, image_id:, x_moov_version: 'v2024.01.00')
|
33
|
+
@account_id = account_id
|
34
|
+
@image_id = image_id
|
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 @image_id == other.image_id
|
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::DeleteImageRequest
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
class Moov::Models::Operations::DeleteImageRequest
|
11
|
+
def account_id(); end
|
12
|
+
def account_id=(str_); end
|
13
|
+
def image_id(); end
|
14
|
+
def image_id=(str_); end
|
15
|
+
def x_moov_version(); end
|
16
|
+
def x_moov_version=(str_); end
|
17
|
+
end
|
@@ -0,0 +1,45 @@
|
|
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
|
+
|
12
|
+
class DeleteImageResponse
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# HTTP response content type for this operation
|
17
|
+
field :content_type, ::String
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# Raw HTTP response; suitable for custom response parsing
|
21
|
+
field :raw_response, ::Faraday::Response
|
22
|
+
|
23
|
+
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
24
|
+
|
25
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]]).void }
|
26
|
+
def initialize(content_type:, status_code:, raw_response:, headers:)
|
27
|
+
@content_type = content_type
|
28
|
+
@status_code = status_code
|
29
|
+
@raw_response = raw_response
|
30
|
+
@headers = headers
|
31
|
+
end
|
32
|
+
|
33
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
34
|
+
def ==(other)
|
35
|
+
return false unless other.is_a? self.class
|
36
|
+
return false unless @content_type == other.content_type
|
37
|
+
return false unless @status_code == other.status_code
|
38
|
+
return false unless @raw_response == other.raw_response
|
39
|
+
return false unless @headers == other.headers
|
40
|
+
true
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# typed: true
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
|
5
|
+
class Moov::Models::Operations::DeleteImageResponse
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
class Moov::Models::Operations::DeleteImageResponse
|
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
|
+
|
12
|
+
class GetImageMetadataRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
18
|
+
|
19
|
+
field :image_id, ::String, { 'path_param': { 'field_name': 'imageID', 'style': 'simple', 'explode': false } }
|
20
|
+
# Specify an API version.
|
21
|
+
#
|
22
|
+
# API versioning follows the format `vYYYY.QQ.BB`, where
|
23
|
+
# - `YYYY` is the year
|
24
|
+
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
25
|
+
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
26
|
+
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
27
|
+
#
|
28
|
+
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
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, image_id: ::String, x_moov_version: T.nilable(::String)).void }
|
32
|
+
def initialize(account_id:, image_id:, x_moov_version: 'v2024.01.00')
|
33
|
+
@account_id = account_id
|
34
|
+
@image_id = image_id
|
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 @image_id == other.image_id
|
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::GetImageMetadataRequest
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
class Moov::Models::Operations::GetImageMetadataRequest
|
11
|
+
def account_id(); end
|
12
|
+
def account_id=(str_); end
|
13
|
+
def image_id(); end
|
14
|
+
def image_id=(str_); end
|
15
|
+
def x_moov_version(); end
|
16
|
+
def x_moov_version=(str_); end
|
17
|
+
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
|
+
|
12
|
+
class GetImageMetadataResponse
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# HTTP response content type for this operation
|
17
|
+
field :content_type, ::String
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# Raw HTTP response; suitable for custom response parsing
|
21
|
+
field :raw_response, ::Faraday::Response
|
22
|
+
|
23
|
+
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
24
|
+
# The request completed successfully.
|
25
|
+
field :image_metadata, Crystalline::Nilable.new(Models::Components::ImageMetadata)
|
26
|
+
|
27
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], image_metadata: T.nilable(Models::Components::ImageMetadata)).void }
|
28
|
+
def initialize(content_type:, status_code:, raw_response:, headers:, image_metadata: nil)
|
29
|
+
@content_type = content_type
|
30
|
+
@status_code = status_code
|
31
|
+
@raw_response = raw_response
|
32
|
+
@headers = headers
|
33
|
+
@image_metadata = image_metadata
|
34
|
+
end
|
35
|
+
|
36
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
37
|
+
def ==(other)
|
38
|
+
return false unless other.is_a? self.class
|
39
|
+
return false unless @content_type == other.content_type
|
40
|
+
return false unless @status_code == other.status_code
|
41
|
+
return false unless @raw_response == other.raw_response
|
42
|
+
return false unless @headers == other.headers
|
43
|
+
return false unless @image_metadata == other.image_metadata
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# typed: true
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
|
5
|
+
class Moov::Models::Operations::GetImageMetadataResponse
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
class Moov::Models::Operations::GetImageMetadataResponse
|
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 image_metadata(); end
|
20
|
+
def image_metadata=(str_); end
|
21
|
+
end
|
@@ -0,0 +1,45 @@
|
|
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
|
+
|
12
|
+
class GetPublicImageRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
field :public_id, ::String, { 'path_param': { 'field_name': 'publicID', 'style': 'simple', 'explode': false } }
|
18
|
+
|
19
|
+
field :if_none_match, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'if-none-match', 'style': 'simple', 'explode': false } }
|
20
|
+
# Optional parameter to request a resized version of the image (WxH).
|
21
|
+
#
|
22
|
+
# If either dimension is 0, the image will be scaled proportionally based on
|
23
|
+
# the non-zero dimension. Dimensions are capped at 2048 pixels. A default size
|
24
|
+
# of 400x400 will be used if this parameter is omitted.
|
25
|
+
field :size, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'size', 'style': 'form', 'explode': false } }
|
26
|
+
|
27
|
+
sig { params(public_id: ::String, if_none_match: T.nilable(::String), size: T.nilable(::String)).void }
|
28
|
+
def initialize(public_id:, if_none_match: nil, size: '400x400')
|
29
|
+
@public_id = public_id
|
30
|
+
@if_none_match = if_none_match
|
31
|
+
@size = size
|
32
|
+
end
|
33
|
+
|
34
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
35
|
+
def ==(other)
|
36
|
+
return false unless other.is_a? self.class
|
37
|
+
return false unless @public_id == other.public_id
|
38
|
+
return false unless @if_none_match == other.if_none_match
|
39
|
+
return false unless @size == other.size
|
40
|
+
true
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# typed: true
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
|
5
|
+
class Moov::Models::Operations::GetPublicImageRequest
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
class Moov::Models::Operations::GetPublicImageRequest
|
11
|
+
def public_id(); end
|
12
|
+
def public_id=(str_); end
|
13
|
+
def if_none_match(); end
|
14
|
+
def if_none_match=(str_); end
|
15
|
+
def size(); end
|
16
|
+
def size=(str_); end
|
17
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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
|
+
|
12
|
+
class GetPublicImageResponse
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# HTTP response content type for this operation
|
17
|
+
field :content_type, ::String
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# Raw HTTP response; suitable for custom response parsing
|
21
|
+
field :raw_response, ::Faraday::Response
|
22
|
+
|
23
|
+
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
24
|
+
# Response body for returning the raw image bytes.
|
25
|
+
field :two_hundred_image_webp_bytes, Crystalline::Nilable.new(::String)
|
26
|
+
# Response body for returning the raw image bytes.
|
27
|
+
field :two_hundred_image_png_bytes, Crystalline::Nilable.new(::String)
|
28
|
+
# Response body for returning the raw image bytes.
|
29
|
+
field :two_hundred_image_jpeg_bytes, Crystalline::Nilable.new(::String)
|
30
|
+
|
31
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], two_hundred_image_webp_bytes: T.nilable(::String), two_hundred_image_png_bytes: T.nilable(::String), two_hundred_image_jpeg_bytes: T.nilable(::String)).void }
|
32
|
+
def initialize(content_type:, status_code:, raw_response:, headers:, two_hundred_image_webp_bytes: nil, two_hundred_image_png_bytes: nil, two_hundred_image_jpeg_bytes: nil)
|
33
|
+
@content_type = content_type
|
34
|
+
@status_code = status_code
|
35
|
+
@raw_response = raw_response
|
36
|
+
@headers = headers
|
37
|
+
@two_hundred_image_webp_bytes = two_hundred_image_webp_bytes
|
38
|
+
@two_hundred_image_png_bytes = two_hundred_image_png_bytes
|
39
|
+
@two_hundred_image_jpeg_bytes = two_hundred_image_jpeg_bytes
|
40
|
+
end
|
41
|
+
|
42
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
43
|
+
def ==(other)
|
44
|
+
return false unless other.is_a? self.class
|
45
|
+
return false unless @content_type == other.content_type
|
46
|
+
return false unless @status_code == other.status_code
|
47
|
+
return false unless @raw_response == other.raw_response
|
48
|
+
return false unless @headers == other.headers
|
49
|
+
return false unless @two_hundred_image_webp_bytes == other.two_hundred_image_webp_bytes
|
50
|
+
return false unless @two_hundred_image_png_bytes == other.two_hundred_image_png_bytes
|
51
|
+
return false unless @two_hundred_image_jpeg_bytes == other.two_hundred_image_jpeg_bytes
|
52
|
+
true
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# typed: true
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
|
5
|
+
class Moov::Models::Operations::GetPublicImageResponse
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
class Moov::Models::Operations::GetPublicImageResponse
|
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 two_hundred_image_webp_bytes(); end
|
20
|
+
def two_hundred_image_webp_bytes=(str_); end
|
21
|
+
def two_hundred_image_png_bytes(); end
|
22
|
+
def two_hundred_image_png_bytes=(str_); end
|
23
|
+
def two_hundred_image_jpeg_bytes(); end
|
24
|
+
def two_hundred_image_jpeg_bytes=(str_); end
|
25
|
+
end
|
@@ -0,0 +1,45 @@
|
|
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
|
+
|
12
|
+
class ListImageMetadataRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
18
|
+
# Specify an API version.
|
19
|
+
#
|
20
|
+
# API versioning follows the format `vYYYY.QQ.BB`, where
|
21
|
+
# - `YYYY` is the year
|
22
|
+
# - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
23
|
+
# - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
24
|
+
# - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
25
|
+
#
|
26
|
+
# The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
27
|
+
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'x-moov-version', 'style': 'simple', 'explode': false } }
|
28
|
+
|
29
|
+
sig { params(account_id: ::String, x_moov_version: T.nilable(::String)).void }
|
30
|
+
def initialize(account_id:, x_moov_version: 'v2024.01.00')
|
31
|
+
@account_id = account_id
|
32
|
+
@x_moov_version = x_moov_version
|
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 @account_id == other.account_id
|
39
|
+
return false unless @x_moov_version == other.x_moov_version
|
40
|
+
true
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# typed: true
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
|
5
|
+
class Moov::Models::Operations::ListImageMetadataRequest
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
class Moov::Models::Operations::ListImageMetadataRequest
|
11
|
+
def account_id(); end
|
12
|
+
def account_id=(str_); end
|
13
|
+
def x_moov_version(); end
|
14
|
+
def x_moov_version=(str_); end
|
15
|
+
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
|
+
|
12
|
+
class ListImageMetadataResponse
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# HTTP response content type for this operation
|
17
|
+
field :content_type, ::String
|
18
|
+
# HTTP response status code for this operation
|
19
|
+
field :status_code, ::Integer
|
20
|
+
# Raw HTTP response; suitable for custom response parsing
|
21
|
+
field :raw_response, ::Faraday::Response
|
22
|
+
|
23
|
+
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
24
|
+
# The request completed successfully.
|
25
|
+
field :image_metadata, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::ImageMetadata))
|
26
|
+
|
27
|
+
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], image_metadata: T.nilable(T::Array[Models::Components::ImageMetadata])).void }
|
28
|
+
def initialize(content_type:, status_code:, raw_response:, headers:, image_metadata: nil)
|
29
|
+
@content_type = content_type
|
30
|
+
@status_code = status_code
|
31
|
+
@raw_response = raw_response
|
32
|
+
@headers = headers
|
33
|
+
@image_metadata = image_metadata
|
34
|
+
end
|
35
|
+
|
36
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
37
|
+
def ==(other)
|
38
|
+
return false unless other.is_a? self.class
|
39
|
+
return false unless @content_type == other.content_type
|
40
|
+
return false unless @status_code == other.status_code
|
41
|
+
return false unless @raw_response == other.raw_response
|
42
|
+
return false unless @headers == other.headers
|
43
|
+
return false unless @image_metadata == other.image_metadata
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# typed: true
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
|
5
|
+
class Moov::Models::Operations::ListImageMetadataResponse
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
class Moov::Models::Operations::ListImageMetadataResponse
|
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 image_metadata(); end
|
20
|
+
def image_metadata=(str_); end
|
21
|
+
end
|
@@ -56,6 +56,8 @@ module Moov
|
|
56
56
|
autoload :CreateWalletResponse, 'moov/models/operations/createwallet_response.rb'
|
57
57
|
autoload :DeleteDisputeEvidenceFileRequest, 'moov/models/operations/deletedisputeevidencefile_request.rb'
|
58
58
|
autoload :DeleteDisputeEvidenceFileResponse, 'moov/models/operations/deletedisputeevidencefile_response.rb'
|
59
|
+
autoload :DeleteImageRequest, 'moov/models/operations/deleteimage_request.rb'
|
60
|
+
autoload :DeleteImageResponse, 'moov/models/operations/deleteimage_response.rb'
|
59
61
|
autoload :DeleteRepresentativeRequest, 'moov/models/operations/deleterepresentative_request.rb'
|
60
62
|
autoload :DeleteRepresentativeResponse, 'moov/models/operations/deleterepresentative_response.rb'
|
61
63
|
autoload :DeleteTerminalApplicationRequest, 'moov/models/operations/deleteterminalapplication_request.rb'
|
@@ -110,6 +112,8 @@ module Moov
|
|
110
112
|
autoload :GetFileDetailsResponse, 'moov/models/operations/getfiledetails_response.rb'
|
111
113
|
autoload :GetFullIssuedCardRequest, 'moov/models/operations/getfullissuedcard_request.rb'
|
112
114
|
autoload :GetFullIssuedCardResponse, 'moov/models/operations/getfullissuedcard_response.rb'
|
115
|
+
autoload :GetImageMetadataRequest, 'moov/models/operations/getimagemetadata_request.rb'
|
116
|
+
autoload :GetImageMetadataResponse, 'moov/models/operations/getimagemetadata_response.rb'
|
113
117
|
autoload :GetIssuedCardAuthorizationRequest, 'moov/models/operations/getissuedcardauthorization_request.rb'
|
114
118
|
autoload :GetIssuedCardAuthorizationResponse, 'moov/models/operations/getissuedcardauthorization_response.rb'
|
115
119
|
autoload :GetIssuedCardTransactionRequest, 'moov/models/operations/getissuedcardtransaction_request.rb'
|
@@ -126,6 +130,8 @@ module Moov
|
|
126
130
|
autoload :GetPaymentLinkResponse, 'moov/models/operations/getpaymentlink_response.rb'
|
127
131
|
autoload :GetPaymentMethodRequest, 'moov/models/operations/getpaymentmethod_request.rb'
|
128
132
|
autoload :GetPaymentMethodResponse, 'moov/models/operations/getpaymentmethod_response.rb'
|
133
|
+
autoload :GetPublicImageRequest, 'moov/models/operations/getpublicimage_request.rb'
|
134
|
+
autoload :GetPublicImageResponse, 'moov/models/operations/getpublicimage_response.rb'
|
129
135
|
autoload :GetRefundRequest, 'moov/models/operations/getrefund_request.rb'
|
130
136
|
autoload :GetRefundResponse, 'moov/models/operations/getrefund_response.rb'
|
131
137
|
autoload :GetRepresentativeRequest, 'moov/models/operations/getrepresentative_request.rb'
|
@@ -195,6 +201,8 @@ module Moov
|
|
195
201
|
autoload :ListFeesFetchResponse, 'moov/models/operations/listfeesfetch_response.rb'
|
196
202
|
autoload :ListFilesRequest, 'moov/models/operations/listfiles_request.rb'
|
197
203
|
autoload :ListFilesResponse, 'moov/models/operations/listfiles_response.rb'
|
204
|
+
autoload :ListImageMetadataRequest, 'moov/models/operations/listimagemetadata_request.rb'
|
205
|
+
autoload :ListImageMetadataResponse, 'moov/models/operations/listimagemetadata_response.rb'
|
198
206
|
autoload :ListIndustriesRequest, 'moov/models/operations/listindustries_request.rb'
|
199
207
|
autoload :ListIndustriesResponse, 'moov/models/operations/listindustries_response.rb'
|
200
208
|
autoload :ListInstitutionsRequest, 'moov/models/operations/listinstitutions_request.rb'
|