moov_ruby 0.3.7 → 0.3.8
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/accounts.rb +1 -1
- data/lib/moov/apple_pay.rb +3 -3
- data/lib/moov/branding.rb +1 -1
- data/lib/moov/card_issuing.rb +1 -1
- data/lib/moov/cards.rb +6 -6
- data/lib/moov/images.rb +5 -6
- data/lib/moov/models/components/createevidencefilemultipart.rb +1 -1
- data/lib/moov/models/components/createpaymentlink.rb +0 -1
- data/lib/moov/models/components/fileuploadrequestmultipart.rb +2 -2
- data/lib/moov/models/components/{imageuploadrequestmultipart_image.rb → image.rb} +1 -1
- data/lib/moov/models/components/{imageupdaterequestmultipart_image.rbi → image.rbi} +2 -2
- data/lib/moov/models/components/imageuploadrequestmultipart.rb +4 -4
- data/lib/moov/models/components/patchsweepconfig.rb +4 -4
- data/lib/moov/models/components/updaterepresentative.rb +2 -2
- data/lib/moov/models/components.rb +1 -12
- data/lib/moov/models/operations/createapplepaysession_response.rb +1 -1
- data/lib/moov/models/operations/createpaymentlink_request.rb +1 -1
- data/lib/moov/models/operations/disablepaymentlink_request.rb +1 -1
- data/lib/moov/models/operations/getpaymentlink_request.rb +1 -1
- data/lib/moov/models/operations/getpaymentlinkqrcode_request.rb +1 -1
- data/lib/moov/models/operations/listpaymentlinks_request.rb +1 -1
- data/lib/moov/models/operations/updateimage_request.rb +5 -5
- data/lib/moov/models/operations/updateimage_request.rbi +2 -2
- data/lib/moov/models/operations/updatepaymentlink_request.rb +1 -1
- data/lib/moov/payment_links.rb +1 -1
- data/lib/moov/representatives.rb +2 -2
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov/support.rb +1 -1
- data/lib/moov/sweeps.rb +1 -1
- data/lib/moov/transfers.rb +3 -3
- data/lib/moov/wallets.rb +1 -1
- metadata +4 -26
- data/lib/moov/models/components/email.rb +0 -28
- data/lib/moov/models/components/email.rbi +0 -11
- data/lib/moov/models/components/email_union.rb +0 -28
- data/lib/moov/models/components/email_union.rbi +0 -11
- data/lib/moov/models/components/imageupdaterequestmultipart.rb +0 -39
- data/lib/moov/models/components/imageupdaterequestmultipart.rbi +0 -15
- data/lib/moov/models/components/imageupdaterequestmultipart_image.rb +0 -37
- data/lib/moov/models/components/imageuploadrequestmultipart_image.rbi +0 -15
- data/lib/moov/models/components/metadata.rb +0 -35
- data/lib/moov/models/components/metadata.rbi +0 -13
- data/lib/moov/models/components/pullpaymentmethodid.rb +0 -28
- data/lib/moov/models/components/pullpaymentmethodid.rbi +0 -11
- data/lib/moov/models/components/pullpaymentmethodid_union.rb +0 -28
- data/lib/moov/models/components/pullpaymentmethodid_union.rbi +0 -11
- data/lib/moov/models/components/pushpaymentmethodid.rb +0 -28
- data/lib/moov/models/components/pushpaymentmethodid.rbi +0 -11
- data/lib/moov/models/components/pushpaymentmethodid_union.rb +0 -28
- data/lib/moov/models/components/pushpaymentmethodid_union.rbi +0 -11
- data/lib/moov/models/components/statementdescriptor.rb +0 -28
- data/lib/moov/models/components/statementdescriptor.rbi +0 -11
- data/lib/moov/models/components/statementdescriptor_union.rb +0 -28
- data/lib/moov/models/components/statementdescriptor_union.rbi +0 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 015ac1e33efa126fc5282aaed6abc4d99a097dfa283e7ee5d652315431456582
|
|
4
|
+
data.tar.gz: bc9e6afdd5bd152791a748f0a85747d070d228b83da38b0a36dda1ddbb75ecd7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3616f5cf31bb11656c124c7086524daf305563e8ad9f0bce67232bf82a17b827d44564b0c198f17b090de502bc827573ac5ad6d1b12372966d0b6fa9014b9dc2
|
|
7
|
+
data.tar.gz: ec2fd4d9b7593a584e851711602efed87dc709dc0031869986a0aa911678982fbf1ee27c6fe1de4a903a0c09b05f68d7b452288c3c10f8115530ad529ec2a085
|
data/lib/moov/accounts.rb
CHANGED
|
@@ -457,7 +457,7 @@ module Moov
|
|
|
457
457
|
#
|
|
458
458
|
# If you need to update information in a locked state, please contact Moov support.
|
|
459
459
|
#
|
|
460
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
460
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
461
461
|
# to specify the `/accounts/{accountID}/profile.write` scope.
|
|
462
462
|
request = Models::Operations::UpdateAccountRequest.new(
|
|
463
463
|
account_id: account_id,
|
data/lib/moov/apple_pay.rb
CHANGED
|
@@ -193,12 +193,12 @@ module Moov
|
|
|
193
193
|
|
|
194
194
|
sig { params(update_apple_pay_merchant_domains: Models::Components::UpdateApplePayMerchantDomains, account_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::UpdateApplePayMerchantDomainsResponse) }
|
|
195
195
|
def update_merchant_domains(update_apple_pay_merchant_domains:, account_id:, x_moov_version: nil, timeout_ms: nil)
|
|
196
|
-
# update_merchant_domains - Add or remove domains to be registered with Apple Pay.
|
|
196
|
+
# update_merchant_domains - Add or remove domains to be registered with Apple Pay.
|
|
197
197
|
#
|
|
198
|
-
# Any domains that will be used to accept payments must first be [verified](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains)
|
|
198
|
+
# Any domains that will be used to accept payments must first be [verified](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains)
|
|
199
199
|
# with Apple.
|
|
200
200
|
#
|
|
201
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
201
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
202
202
|
# you'll need to specify the `/accounts/{accountID}/apple-pay.write` scope.
|
|
203
203
|
request = Models::Operations::UpdateApplePayMerchantDomainsRequest.new(
|
|
204
204
|
account_id: account_id,
|
data/lib/moov/branding.rb
CHANGED
|
@@ -492,7 +492,7 @@ module Moov
|
|
|
492
492
|
def update(update_brand:, account_id:, x_moov_version: nil, timeout_ms: nil)
|
|
493
493
|
# update - Updates the brand properties for the specified account.
|
|
494
494
|
#
|
|
495
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
495
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
496
496
|
# you'll need to specify the `/accounts/{accountID}/branding.write` scope.
|
|
497
497
|
request = Models::Operations::UpdateBrandRequest.new(
|
|
498
498
|
account_id: account_id,
|
data/lib/moov/card_issuing.rb
CHANGED
|
@@ -448,7 +448,7 @@ module Moov
|
|
|
448
448
|
def update(update_issued_card:, account_id:, issued_card_id:, x_moov_version: nil, timeout_ms: nil)
|
|
449
449
|
# update - Update a Moov issued card.
|
|
450
450
|
#
|
|
451
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
451
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
452
452
|
# you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.
|
|
453
453
|
request = Models::Operations::UpdateIssuedCardRequest.new(
|
|
454
454
|
account_id: account_id,
|
data/lib/moov/cards.rb
CHANGED
|
@@ -467,18 +467,18 @@ module Moov
|
|
|
467
467
|
|
|
468
468
|
sig { params(update_card: Models::Components::UpdateCard, account_id: ::String, card_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::UpdateCardResponse) }
|
|
469
469
|
def update(update_card:, account_id:, card_id:, x_moov_version: nil, timeout_ms: nil)
|
|
470
|
-
# update - Update a linked card and/or resubmit it for verification.
|
|
470
|
+
# update - Update a linked card and/or resubmit it for verification.
|
|
471
471
|
#
|
|
472
|
-
# If a value is provided for CVV, a new verification ($0 authorization) will be submitted for the card. Updating the expiration
|
|
473
|
-
# date or
|
|
472
|
+
# If a value is provided for CVV, a new verification ($0 authorization) will be submitted for the card. Updating the expiration
|
|
473
|
+
# date or
|
|
474
474
|
# address will update the information stored on file for the card but will not be verified.
|
|
475
475
|
#
|
|
476
|
-
# Read our [accept card payments guide](https://docs.moov.io/guides/sources/cards/accept-card-payments/#reverify-a-card) to learn
|
|
476
|
+
# Read our [accept card payments guide](https://docs.moov.io/guides/sources/cards/accept-card-payments/#reverify-a-card) to learn
|
|
477
477
|
# more.
|
|
478
478
|
#
|
|
479
|
-
# Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.
|
|
479
|
+
# Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.
|
|
480
480
|
#
|
|
481
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
481
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
482
482
|
# you'll need to specify the `/accounts/{accountID}/cards.write` scope.
|
|
483
483
|
request = Models::Operations::UpdateCardRequest.new(
|
|
484
484
|
account_id: account_id,
|
data/lib/moov/images.rb
CHANGED
|
@@ -442,17 +442,16 @@ module Moov
|
|
|
442
442
|
end
|
|
443
443
|
|
|
444
444
|
|
|
445
|
-
sig { params(
|
|
446
|
-
def update(
|
|
445
|
+
sig { params(image_upload_request_multi_part: Models::Components::ImageUploadRequestMultiPart, account_id: ::String, image_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::UpdateImageResponse) }
|
|
446
|
+
def update(image_upload_request_multi_part:, account_id:, image_id:, x_moov_version: nil, timeout_ms: nil)
|
|
447
447
|
# update - Replace an existing image and, optionally, its metadata.
|
|
448
448
|
#
|
|
449
449
|
# This endpoint replaces the existing image with the new PNG, JPEG, or WebP. Omit
|
|
450
|
-
# the metadata form section to keep existing metadata,
|
|
451
|
-
# Duplicate images, and requests larger than 16MB will be rejected.
|
|
450
|
+
# the metadata form section to keep existing metadata. Duplicate images, and requests larger than 16MB will be rejected.
|
|
452
451
|
request = Models::Operations::UpdateImageRequest.new(
|
|
453
452
|
account_id: account_id,
|
|
454
453
|
image_id: image_id,
|
|
455
|
-
|
|
454
|
+
image_upload_request_multi_part: image_upload_request_multi_part,
|
|
456
455
|
x_moov_version: x_moov_version
|
|
457
456
|
)
|
|
458
457
|
url, params = @sdk_configuration.get_server_details
|
|
@@ -466,7 +465,7 @@ module Moov
|
|
|
466
465
|
)
|
|
467
466
|
headers = Utils.get_headers(request, @sdk_configuration.globals)
|
|
468
467
|
headers = T.cast(headers, T::Hash[String, String])
|
|
469
|
-
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :
|
|
468
|
+
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :image_upload_request_multi_part, :multipart)
|
|
470
469
|
headers['content-type'] = req_content_type
|
|
471
470
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
472
471
|
|
|
@@ -15,7 +15,7 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
# The file to upload as evidence. Valid types are [jpeg, tiff, pdf] with a limit of 4MB per file.
|
|
17
17
|
#
|
|
18
|
-
#
|
|
18
|
+
# The `Content-Type` header for this form part must be one of the following:
|
|
19
19
|
# - `image/jpeg`
|
|
20
20
|
# - `image/tiff`
|
|
21
21
|
# - `application/pdf`
|
|
@@ -14,7 +14,6 @@ module Moov
|
|
|
14
14
|
# `maxUses` will automatically be set to 1, as these are intended for a one-time disbursement
|
|
15
15
|
# to a specific recipient.
|
|
16
16
|
#
|
|
17
|
-
# **Note:** The `payout` option is currently under development and is not yet available for general use.
|
|
18
17
|
class CreatePaymentLink
|
|
19
18
|
extend T::Sig
|
|
20
19
|
include Crystalline::MetadataFields
|
|
@@ -8,14 +8,14 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
class FileUploadRequestMultiPart
|
|
13
13
|
extend T::Sig
|
|
14
14
|
include Crystalline::MetadataFields
|
|
15
15
|
|
|
16
16
|
# The file to be added. Valid types are `csv`, `png`, `jpeg`, `pdf`.
|
|
17
17
|
field :file, Models::Components::FileUploadRequestMultiPartFile, { 'multipart_form': { 'file': true, 'field_name': 'file' } }
|
|
18
|
-
# The file
|
|
18
|
+
# The purpose of the file being uploaded.
|
|
19
19
|
field :file_purpose, Models::Components::FilePurpose, { 'multipart_form': { 'field_name': 'filePurpose' } }
|
|
20
20
|
# Additional metadata to be stored with the file, formatted as a JSON string.
|
|
21
21
|
#
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
class Moov::Models::Components::
|
|
5
|
+
class Moov::Models::Components::Image
|
|
6
6
|
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class Moov::Models::Components::
|
|
10
|
+
class Moov::Models::Components::Image
|
|
11
11
|
def file_name(); end
|
|
12
12
|
def file_name=(str_); end
|
|
13
13
|
def content(); end
|
|
@@ -8,17 +8,17 @@ module Moov
|
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
class ImageUploadRequestMultiPart
|
|
13
13
|
extend T::Sig
|
|
14
14
|
include Crystalline::MetadataFields
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
field :image, Models::Components::
|
|
16
|
+
# A PNG, JPEG, or WebP image file to upload.
|
|
17
|
+
field :image, Models::Components::Image, { 'multipart_form': { 'file': true, 'field_name': 'image' } }
|
|
18
18
|
# Optional, json-encoded metadata to associate with the uploaded image.
|
|
19
19
|
field :metadata, Crystalline::Nilable.new(Models::Components::ImageMetadataRequest), { 'multipart_form': { 'field_name': 'metadata', 'json': true } }
|
|
20
20
|
|
|
21
|
-
sig { params(image: Models::Components::
|
|
21
|
+
sig { params(image: Models::Components::Image, metadata: T.nilable(Models::Components::ImageMetadataRequest)).void }
|
|
22
22
|
def initialize(image:, metadata: nil)
|
|
23
23
|
@image = image
|
|
24
24
|
@metadata = metadata
|
|
@@ -16,15 +16,15 @@ module Moov
|
|
|
16
16
|
|
|
17
17
|
field :status, Crystalline::Nilable.new(Models::Components::Status), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), 'decoder': Utils.enum_from_string(Models::Components::Status, true) } }
|
|
18
18
|
|
|
19
|
-
field :push_payment_method_id, Crystalline::Nilable.new(
|
|
19
|
+
field :push_payment_method_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('pushPaymentMethodID') } }
|
|
20
20
|
|
|
21
|
-
field :pull_payment_method_id, Crystalline::Nilable.new(
|
|
21
|
+
field :pull_payment_method_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('pullPaymentMethodID') } }
|
|
22
22
|
|
|
23
|
-
field :statement_descriptor, Crystalline::Nilable.new(
|
|
23
|
+
field :statement_descriptor, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('statementDescriptor') } }
|
|
24
24
|
|
|
25
25
|
field :minimum_balance, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('minimumBalance') } }
|
|
26
26
|
|
|
27
|
-
sig { params(status: T.nilable(Models::Components::Status), push_payment_method_id: T.nilable(
|
|
27
|
+
sig { params(status: T.nilable(Models::Components::Status), push_payment_method_id: T.nilable(::String), pull_payment_method_id: T.nilable(::String), statement_descriptor: T.nilable(::String), minimum_balance: T.nilable(::String)).void }
|
|
28
28
|
def initialize(status: nil, push_payment_method_id: nil, pull_payment_method_id: nil, statement_descriptor: nil, minimum_balance: nil)
|
|
29
29
|
@status = status
|
|
30
30
|
@push_payment_method_id = push_payment_method_id
|
|
@@ -18,7 +18,7 @@ module Moov
|
|
|
18
18
|
|
|
19
19
|
field :phone, Crystalline::Nilable.new(Models::Components::Phone), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('phone') } }
|
|
20
20
|
|
|
21
|
-
field :email, Crystalline::Nilable.new(
|
|
21
|
+
field :email, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('email') } }
|
|
22
22
|
|
|
23
23
|
field :address, Crystalline::Nilable.new(Models::Components::UpdateRepresentativeAddress), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('address') } }
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@ module Moov
|
|
|
28
28
|
|
|
29
29
|
field :responsibilities, Crystalline::Nilable.new(Models::Components::Responsibilities), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('responsibilities') } }
|
|
30
30
|
|
|
31
|
-
sig { params(name: T.nilable(Models::Components::IndividualNameUpdate), phone: T.nilable(Models::Components::Phone), email: T.nilable(
|
|
31
|
+
sig { params(name: T.nilable(Models::Components::IndividualNameUpdate), phone: T.nilable(Models::Components::Phone), email: T.nilable(::String), address: T.nilable(Models::Components::UpdateRepresentativeAddress), birth_date: T.nilable(Models::Components::UpdateRepresentativeBirthDate), government_id: T.nilable(Models::Components::UpdateRepresentativeGovernmentID), responsibilities: T.nilable(Models::Components::Responsibilities)).void }
|
|
32
32
|
def initialize(name: nil, phone: nil, email: nil, address: nil, birth_date: nil, government_id: nil, responsibilities: nil)
|
|
33
33
|
@name = name
|
|
34
34
|
@phone = phone
|
|
@@ -254,10 +254,7 @@ module Moov
|
|
|
254
254
|
autoload :ImageMetadata, 'moov/models/components/imagemetadata.rb'
|
|
255
255
|
autoload :ImageMetadataRequest, 'moov/models/components/imagemetadatarequest.rb'
|
|
256
256
|
autoload :ImageMetadataValidationError, 'moov/models/components/imagemetadatavalidationerror.rb'
|
|
257
|
-
autoload :ImageUpdateRequestMultiPart, 'moov/models/components/imageupdaterequestmultipart.rb'
|
|
258
|
-
autoload :ImageUpdateRequestMultiPartImage, 'moov/models/components/imageupdaterequestmultipart_image.rb'
|
|
259
257
|
autoload :ImageUploadRequestMultiPart, 'moov/models/components/imageuploadrequestmultipart.rb'
|
|
260
|
-
autoload :ImageUploadRequestMultiPartImage, 'moov/models/components/imageuploadrequestmultipart_image.rb'
|
|
261
258
|
autoload :IncurredFee, 'moov/models/components/incurredfee.rb'
|
|
262
259
|
autoload :IndividualName, 'moov/models/components/individualname.rb'
|
|
263
260
|
autoload :IndividualNameError, 'moov/models/components/individualnameerror.rb'
|
|
@@ -578,20 +575,12 @@ module Moov
|
|
|
578
575
|
autoload :CardAcquiring, 'moov/models/components/cardacquiring.rb'
|
|
579
576
|
autoload :CardDetails, 'moov/models/components/carddetails.rb'
|
|
580
577
|
autoload :CardPayment, 'moov/models/components/cardpayment.rb'
|
|
581
|
-
autoload :
|
|
582
|
-
autoload :EmailUnion, 'moov/models/components/email_union.rb'
|
|
578
|
+
autoload :Image, 'moov/models/components/image.rb'
|
|
583
579
|
autoload :Kind, 'moov/models/components/kind.rb'
|
|
584
580
|
autoload :Logo, 'moov/models/components/logo.rb'
|
|
585
581
|
autoload :Manual, 'moov/models/components/manual.rb'
|
|
586
|
-
autoload :Metadata, 'moov/models/components/metadata.rb'
|
|
587
582
|
autoload :Phone, 'moov/models/components/phone.rb'
|
|
588
|
-
autoload :PullPaymentMethodID, 'moov/models/components/pullpaymentmethodid.rb'
|
|
589
|
-
autoload :PullPaymentMethodIDUnion, 'moov/models/components/pullpaymentmethodid_union.rb'
|
|
590
|
-
autoload :PushPaymentMethodID, 'moov/models/components/pushpaymentmethodid.rb'
|
|
591
|
-
autoload :PushPaymentMethodIDUnion, 'moov/models/components/pushpaymentmethodid_union.rb'
|
|
592
583
|
autoload :Responsibilities, 'moov/models/components/responsibilities.rb'
|
|
593
|
-
autoload :StatementDescriptor, 'moov/models/components/statementdescriptor.rb'
|
|
594
|
-
autoload :StatementDescriptorUnion, 'moov/models/components/statementdescriptor_union.rb'
|
|
595
584
|
autoload :Status, 'moov/models/components/status.rb'
|
|
596
585
|
autoload :TokenTypeHint, 'moov/models/components/token_type_hint.rb'
|
|
597
586
|
autoload :Use, 'moov/models/components/use.rb'
|
|
@@ -21,7 +21,7 @@ module Moov
|
|
|
21
21
|
field :raw_response, ::Faraday::Response
|
|
22
22
|
|
|
23
23
|
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
24
|
-
# The request
|
|
24
|
+
# The request has succeeded.
|
|
25
25
|
field :apple_pay_session, Crystalline::Nilable.new(::String)
|
|
26
26
|
|
|
27
27
|
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], apple_pay_session: T.nilable(::String)).void }
|
|
@@ -13,7 +13,7 @@ module Moov
|
|
|
13
13
|
extend T::Sig
|
|
14
14
|
include Crystalline::MetadataFields
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
# The merchant account ID.
|
|
17
17
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
18
18
|
|
|
19
19
|
field :create_payment_link, Models::Components::CreatePaymentLink, { 'request': { 'media_type': 'application/json' } }
|
|
@@ -13,7 +13,7 @@ module Moov
|
|
|
13
13
|
extend T::Sig
|
|
14
14
|
include Crystalline::MetadataFields
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
# The merchant account ID.
|
|
17
17
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
18
18
|
|
|
19
19
|
field :payment_link_code, ::String, { 'path_param': { 'field_name': 'paymentLinkCode', 'style': 'simple', 'explode': false } }
|
|
@@ -13,7 +13,7 @@ module Moov
|
|
|
13
13
|
extend T::Sig
|
|
14
14
|
include Crystalline::MetadataFields
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
# The merchant account ID.
|
|
17
17
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
18
18
|
|
|
19
19
|
field :payment_link_code, ::String, { 'path_param': { 'field_name': 'paymentLinkCode', 'style': 'simple', 'explode': false } }
|
|
@@ -13,7 +13,7 @@ module Moov
|
|
|
13
13
|
extend T::Sig
|
|
14
14
|
include Crystalline::MetadataFields
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
# The merchant account ID.
|
|
17
17
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
18
18
|
|
|
19
19
|
field :payment_link_code, ::String, { 'path_param': { 'field_name': 'paymentLinkCode', 'style': 'simple', 'explode': false } }
|
|
@@ -18,7 +18,7 @@ module Moov
|
|
|
18
18
|
|
|
19
19
|
field :image_id, ::String, { 'path_param': { 'field_name': 'imageID', 'style': 'simple', 'explode': false } }
|
|
20
20
|
|
|
21
|
-
field :
|
|
21
|
+
field :image_upload_request_multi_part, Models::Components::ImageUploadRequestMultiPart, { 'request': { 'media_type': 'multipart/form-data' } }
|
|
22
22
|
# Specify an API version.
|
|
23
23
|
#
|
|
24
24
|
# API versioning follows the format `vYYYY.QQ.BB`, where
|
|
@@ -31,11 +31,11 @@ module Moov
|
|
|
31
31
|
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
32
32
|
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
33
33
|
|
|
34
|
-
sig { params(account_id: ::String, image_id: ::String,
|
|
35
|
-
def initialize(account_id:, image_id:,
|
|
34
|
+
sig { params(account_id: ::String, image_id: ::String, image_upload_request_multi_part: Models::Components::ImageUploadRequestMultiPart, x_moov_version: T.nilable(::String)).void }
|
|
35
|
+
def initialize(account_id:, image_id:, image_upload_request_multi_part:, x_moov_version: nil)
|
|
36
36
|
@account_id = account_id
|
|
37
37
|
@image_id = image_id
|
|
38
|
-
@
|
|
38
|
+
@image_upload_request_multi_part = image_upload_request_multi_part
|
|
39
39
|
@x_moov_version = x_moov_version
|
|
40
40
|
end
|
|
41
41
|
|
|
@@ -44,7 +44,7 @@ module Moov
|
|
|
44
44
|
return false unless other.is_a? self.class
|
|
45
45
|
return false unless @account_id == other.account_id
|
|
46
46
|
return false unless @image_id == other.image_id
|
|
47
|
-
return false unless @
|
|
47
|
+
return false unless @image_upload_request_multi_part == other.image_upload_request_multi_part
|
|
48
48
|
return false unless @x_moov_version == other.x_moov_version
|
|
49
49
|
true
|
|
50
50
|
end
|
|
@@ -12,8 +12,8 @@ class Moov::Models::Operations::UpdateImageRequest
|
|
|
12
12
|
def account_id=(str_); end
|
|
13
13
|
def image_id(); end
|
|
14
14
|
def image_id=(str_); end
|
|
15
|
-
def
|
|
16
|
-
def
|
|
15
|
+
def image_upload_request_multi_part(); end
|
|
16
|
+
def image_upload_request_multi_part=(str_); end
|
|
17
17
|
def x_moov_version(); end
|
|
18
18
|
def x_moov_version=(str_); end
|
|
19
19
|
end
|
|
@@ -13,7 +13,7 @@ module Moov
|
|
|
13
13
|
extend T::Sig
|
|
14
14
|
include Crystalline::MetadataFields
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
# The merchant account ID.
|
|
17
17
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
18
18
|
|
|
19
19
|
field :payment_link_code, ::String, { 'path_param': { 'field_name': 'paymentLinkCode', 'style': 'simple', 'explode': false } }
|
data/lib/moov/payment_links.rb
CHANGED
|
@@ -448,7 +448,7 @@ module Moov
|
|
|
448
448
|
def update(update_payment_link:, account_id:, payment_link_code:, x_moov_version: nil, timeout_ms: nil)
|
|
449
449
|
# update - Update a payment link.
|
|
450
450
|
#
|
|
451
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
451
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
452
452
|
# you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
453
453
|
request = Models::Operations::UpdatePaymentLinkRequest.new(
|
|
454
454
|
account_id: account_id,
|
data/lib/moov/representatives.rb
CHANGED
|
@@ -581,7 +581,7 @@ module Moov
|
|
|
581
581
|
|
|
582
582
|
sig { params(update_representative: Models::Components::UpdateRepresentative, account_id: ::String, representative_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::UpdateRepresentativeResponse) }
|
|
583
583
|
def update(update_representative:, account_id:, representative_id:, x_moov_version: nil, timeout_ms: nil)
|
|
584
|
-
# update - If a representative's information has changed you can patch the information associated with a specific representative ID.
|
|
584
|
+
# update - If a representative's information has changed you can patch the information associated with a specific representative ID.
|
|
585
585
|
# Read our [business representatives guide](https://docs.moov.io/guides/accounts/requirements/business-representatives/) to learn more.
|
|
586
586
|
#
|
|
587
587
|
# When **can** profile data be updated:
|
|
@@ -596,7 +596,7 @@ module Moov
|
|
|
596
596
|
#
|
|
597
597
|
# If you need to update information in a locked state, please contact Moov support.
|
|
598
598
|
#
|
|
599
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
599
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
600
600
|
# you'll need to specify the `/accounts/{accountID}/representatives.write` scope.
|
|
601
601
|
request = Models::Operations::UpdateRepresentativeRequest.new(
|
|
602
602
|
account_id: account_id,
|
|
@@ -95,9 +95,9 @@ module Moov
|
|
|
95
95
|
@globals = globals.nil? ? {} : globals
|
|
96
96
|
@language = 'ruby'
|
|
97
97
|
@openapi_doc_version = 'latest'
|
|
98
|
-
@sdk_version = '0.3.
|
|
99
|
-
@gen_version = '2.
|
|
100
|
-
@user_agent = 'speakeasy-sdk/ruby 0.3.
|
|
98
|
+
@sdk_version = '0.3.8'
|
|
99
|
+
@gen_version = '2.763.3'
|
|
100
|
+
@user_agent = 'speakeasy-sdk/ruby 0.3.8 2.763.3 latest moov_ruby'
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
data/lib/moov/support.rb
CHANGED
|
@@ -457,7 +457,7 @@ module Moov
|
|
|
457
457
|
def update_ticket(update_ticket:, account_id:, ticket_id:, x_moov_version: nil, timeout_ms: nil)
|
|
458
458
|
# update_ticket - Updates a support ticket.
|
|
459
459
|
#
|
|
460
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
460
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
461
461
|
# you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
|
462
462
|
#
|
|
463
463
|
# If you're updating the ticket on behalf of another account, then you'll need to
|
data/lib/moov/sweeps.rb
CHANGED
|
@@ -450,7 +450,7 @@ module Moov
|
|
|
450
450
|
def update_config(patch_sweep_config:, account_id:, sweep_config_id:, x_moov_version: nil, timeout_ms: nil)
|
|
451
451
|
# update_config - Update settings on a sweep config.
|
|
452
452
|
#
|
|
453
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
453
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
454
454
|
# you'll need to specify the `/accounts/{accountID}/wallets.write` scope.
|
|
455
455
|
request = Models::Operations::UpdateSweepConfigRequest.new(
|
|
456
456
|
account_id: account_id,
|
data/lib/moov/transfers.rb
CHANGED
|
@@ -696,11 +696,11 @@ module Moov
|
|
|
696
696
|
|
|
697
697
|
sig { params(patch_transfer: Models::Components::PatchTransfer, transfer_id: ::String, account_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::UpdateTransferResponse) }
|
|
698
698
|
def update(patch_transfer:, transfer_id:, account_id:, x_moov_version: nil, timeout_ms: nil)
|
|
699
|
-
# update - Update the metadata contained on a transfer.
|
|
699
|
+
# update - Update the metadata contained on a transfer.
|
|
700
700
|
#
|
|
701
|
-
# Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
701
|
+
# Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
702
702
|
#
|
|
703
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
703
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
704
704
|
# you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
705
705
|
request = Models::Operations::UpdateTransferRequest.new(
|
|
706
706
|
transfer_id: transfer_id,
|
data/lib/moov/wallets.rb
CHANGED
|
@@ -471,7 +471,7 @@ module Moov
|
|
|
471
471
|
#
|
|
472
472
|
# Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to learn more.
|
|
473
473
|
#
|
|
474
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
474
|
+
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
475
475
|
# you'll need to specify the `/accounts/{accountID}/wallets.write` scope.
|
|
476
476
|
request = Models::Operations::UpdateWalletRequest.new(
|
|
477
477
|
wallet_id: wallet_id,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moov_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Speakeasy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -630,10 +630,6 @@ files:
|
|
|
630
630
|
- lib/moov/models/components/e2eetoken.rbi
|
|
631
631
|
- lib/moov/models/components/e2eetokenupdate.rb
|
|
632
632
|
- lib/moov/models/components/e2eetokenupdate.rbi
|
|
633
|
-
- lib/moov/models/components/email.rb
|
|
634
|
-
- lib/moov/models/components/email.rbi
|
|
635
|
-
- lib/moov/models/components/email_union.rb
|
|
636
|
-
- lib/moov/models/components/email_union.rbi
|
|
637
633
|
- lib/moov/models/components/end2endencryptionerror.rb
|
|
638
634
|
- lib/moov/models/components/end2endencryptionerror.rbi
|
|
639
635
|
- lib/moov/models/components/enrichedaddressresponse.rb
|
|
@@ -724,20 +720,16 @@ files:
|
|
|
724
720
|
- lib/moov/models/components/granttype.rbi
|
|
725
721
|
- lib/moov/models/components/guestprofile.rb
|
|
726
722
|
- lib/moov/models/components/guestprofile.rbi
|
|
723
|
+
- lib/moov/models/components/image.rb
|
|
724
|
+
- lib/moov/models/components/image.rbi
|
|
727
725
|
- lib/moov/models/components/imagemetadata.rb
|
|
728
726
|
- lib/moov/models/components/imagemetadata.rbi
|
|
729
727
|
- lib/moov/models/components/imagemetadatarequest.rb
|
|
730
728
|
- lib/moov/models/components/imagemetadatarequest.rbi
|
|
731
729
|
- lib/moov/models/components/imagemetadatavalidationerror.rb
|
|
732
730
|
- lib/moov/models/components/imagemetadatavalidationerror.rbi
|
|
733
|
-
- lib/moov/models/components/imageupdaterequestmultipart.rb
|
|
734
|
-
- lib/moov/models/components/imageupdaterequestmultipart.rbi
|
|
735
|
-
- lib/moov/models/components/imageupdaterequestmultipart_image.rb
|
|
736
|
-
- lib/moov/models/components/imageupdaterequestmultipart_image.rbi
|
|
737
731
|
- lib/moov/models/components/imageuploadrequestmultipart.rb
|
|
738
732
|
- lib/moov/models/components/imageuploadrequestmultipart.rbi
|
|
739
|
-
- lib/moov/models/components/imageuploadrequestmultipart_image.rb
|
|
740
|
-
- lib/moov/models/components/imageuploadrequestmultipart_image.rbi
|
|
741
733
|
- lib/moov/models/components/incurredfee.rb
|
|
742
734
|
- lib/moov/models/components/incurredfee.rbi
|
|
743
735
|
- lib/moov/models/components/individualname.rb
|
|
@@ -854,8 +846,6 @@ files:
|
|
|
854
846
|
- lib/moov/models/components/manualtermsofserviceupdate.rbi
|
|
855
847
|
- lib/moov/models/components/markinvoicepaid.rb
|
|
856
848
|
- lib/moov/models/components/markinvoicepaid.rbi
|
|
857
|
-
- lib/moov/models/components/metadata.rb
|
|
858
|
-
- lib/moov/models/components/metadata.rbi
|
|
859
849
|
- lib/moov/models/components/microdepositstatus.rb
|
|
860
850
|
- lib/moov/models/components/microdepositstatus.rbi
|
|
861
851
|
- lib/moov/models/components/minimumcommitment.rb
|
|
@@ -1014,14 +1004,6 @@ files:
|
|
|
1014
1004
|
- lib/moov/models/components/pullfromcardpaymentmethod.rbi
|
|
1015
1005
|
- lib/moov/models/components/pullfromcardpaymentmethod_paymentmethodtype.rb
|
|
1016
1006
|
- lib/moov/models/components/pullfromcardpaymentmethod_paymentmethodtype.rbi
|
|
1017
|
-
- lib/moov/models/components/pullpaymentmethodid.rb
|
|
1018
|
-
- lib/moov/models/components/pullpaymentmethodid.rbi
|
|
1019
|
-
- lib/moov/models/components/pullpaymentmethodid_union.rb
|
|
1020
|
-
- lib/moov/models/components/pullpaymentmethodid_union.rbi
|
|
1021
|
-
- lib/moov/models/components/pushpaymentmethodid.rb
|
|
1022
|
-
- lib/moov/models/components/pushpaymentmethodid.rbi
|
|
1023
|
-
- lib/moov/models/components/pushpaymentmethodid_union.rb
|
|
1024
|
-
- lib/moov/models/components/pushpaymentmethodid_union.rbi
|
|
1025
1007
|
- lib/moov/models/components/pushtocardpaymentmethod.rb
|
|
1026
1008
|
- lib/moov/models/components/pushtocardpaymentmethod.rbi
|
|
1027
1009
|
- lib/moov/models/components/pushtocardpaymentmethod_paymentmethodtype.rb
|
|
@@ -1132,10 +1114,6 @@ files:
|
|
|
1132
1114
|
- lib/moov/models/components/sourcedestinationoptions.rbi
|
|
1133
1115
|
- lib/moov/models/components/statement.rb
|
|
1134
1116
|
- lib/moov/models/components/statement.rbi
|
|
1135
|
-
- lib/moov/models/components/statementdescriptor.rb
|
|
1136
|
-
- lib/moov/models/components/statementdescriptor.rbi
|
|
1137
|
-
- lib/moov/models/components/statementdescriptor_union.rb
|
|
1138
|
-
- lib/moov/models/components/statementdescriptor_union.rbi
|
|
1139
1117
|
- lib/moov/models/components/status.rb
|
|
1140
1118
|
- lib/moov/models/components/status.rbi
|
|
1141
1119
|
- lib/moov/models/components/submissionintent.rb
|
|
@@ -1,28 +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
|
-
|
|
12
|
-
class Email
|
|
13
|
-
extend T::Sig
|
|
14
|
-
include Crystalline::MetadataFields
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def initialize; end
|
|
19
|
-
|
|
20
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
21
|
-
def ==(other)
|
|
22
|
-
return false unless other.is_a? self.class
|
|
23
|
-
true
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
@@ -1,28 +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
|
-
|
|
12
|
-
class EmailUnion
|
|
13
|
-
extend T::Sig
|
|
14
|
-
include Crystalline::MetadataFields
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def initialize; end
|
|
19
|
-
|
|
20
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
21
|
-
def ==(other)
|
|
22
|
-
return false unless other.is_a? self.class
|
|
23
|
-
true
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
@@ -1,39 +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
|
-
# Multipart request body for updating an image and/or its metadata.
|
|
12
|
-
class ImageUpdateRequestMultiPart
|
|
13
|
-
extend T::Sig
|
|
14
|
-
include Crystalline::MetadataFields
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
field :image, Models::Components::ImageUpdateRequestMultiPartImage, { 'multipart_form': { 'file': true, 'field_name': 'image' } }
|
|
18
|
-
# JSON-encoded metadata to update for the image.
|
|
19
|
-
#
|
|
20
|
-
# Omit this field if not updating metadata, or send `null` to clear existing metadata.
|
|
21
|
-
field :metadata, Crystalline::Nilable.new(Models::Components::Metadata), { 'multipart_form': { 'field_name': 'metadata', 'json': true } }
|
|
22
|
-
|
|
23
|
-
sig { params(image: Models::Components::ImageUpdateRequestMultiPartImage, metadata: T.nilable(Models::Components::Metadata)).void }
|
|
24
|
-
def initialize(image:, metadata: nil)
|
|
25
|
-
@image = image
|
|
26
|
-
@metadata = metadata
|
|
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 @image == other.image
|
|
33
|
-
return false unless @metadata == other.metadata
|
|
34
|
-
true
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::ImageUpdateRequestMultiPart
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::ImageUpdateRequestMultiPart
|
|
11
|
-
def image(); end
|
|
12
|
-
def image=(str_); end
|
|
13
|
-
def metadata(); end
|
|
14
|
-
def metadata=(str_); end
|
|
15
|
-
end
|
|
@@ -1,37 +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
|
-
|
|
12
|
-
class ImageUpdateRequestMultiPartImage
|
|
13
|
-
extend T::Sig
|
|
14
|
-
include Crystalline::MetadataFields
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
field :file_name, ::String, { 'multipart_form': { 'field_name': 'fileName' } }
|
|
18
|
-
|
|
19
|
-
field :content, ::String, { 'multipart_form': { 'content': true } }
|
|
20
|
-
|
|
21
|
-
sig { params(file_name: ::String, content: ::String).void }
|
|
22
|
-
def initialize(file_name:, content:)
|
|
23
|
-
@file_name = file_name
|
|
24
|
-
@content = content
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
28
|
-
def ==(other)
|
|
29
|
-
return false unless other.is_a? self.class
|
|
30
|
-
return false unless @file_name == other.file_name
|
|
31
|
-
return false unless @content == other.content
|
|
32
|
-
true
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::ImageUploadRequestMultiPartImage
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::ImageUploadRequestMultiPartImage
|
|
11
|
-
def file_name(); end
|
|
12
|
-
def file_name=(str_); end
|
|
13
|
-
def content(); end
|
|
14
|
-
def content=(str_); end
|
|
15
|
-
end
|
|
@@ -1,35 +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
|
-
# JSON-encoded metadata to update for the image.
|
|
12
|
-
#
|
|
13
|
-
# Omit this field if not updating metadata, or send `null` to clear existing metadata.
|
|
14
|
-
class Metadata
|
|
15
|
-
extend T::Sig
|
|
16
|
-
include Crystalline::MetadataFields
|
|
17
|
-
|
|
18
|
-
# Alternative text for the image.
|
|
19
|
-
field :alt_text, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('altText') } }
|
|
20
|
-
|
|
21
|
-
sig { params(alt_text: T.nilable(::String)).void }
|
|
22
|
-
def initialize(alt_text: nil)
|
|
23
|
-
@alt_text = alt_text
|
|
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 @alt_text == other.alt_text
|
|
30
|
-
true
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::Metadata
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::Metadata
|
|
11
|
-
def alt_text(); end
|
|
12
|
-
def alt_text=(str_); end
|
|
13
|
-
end
|
|
@@ -1,28 +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
|
-
|
|
12
|
-
class PullPaymentMethodID
|
|
13
|
-
extend T::Sig
|
|
14
|
-
include Crystalline::MetadataFields
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def initialize; end
|
|
19
|
-
|
|
20
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
21
|
-
def ==(other)
|
|
22
|
-
return false unless other.is_a? self.class
|
|
23
|
-
true
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
@@ -1,28 +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
|
-
|
|
12
|
-
class PullPaymentMethodIDUnion
|
|
13
|
-
extend T::Sig
|
|
14
|
-
include Crystalline::MetadataFields
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def initialize; end
|
|
19
|
-
|
|
20
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
21
|
-
def ==(other)
|
|
22
|
-
return false unless other.is_a? self.class
|
|
23
|
-
true
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
@@ -1,28 +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
|
-
|
|
12
|
-
class PushPaymentMethodID
|
|
13
|
-
extend T::Sig
|
|
14
|
-
include Crystalline::MetadataFields
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def initialize; end
|
|
19
|
-
|
|
20
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
21
|
-
def ==(other)
|
|
22
|
-
return false unless other.is_a? self.class
|
|
23
|
-
true
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
@@ -1,28 +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
|
-
|
|
12
|
-
class PushPaymentMethodIDUnion
|
|
13
|
-
extend T::Sig
|
|
14
|
-
include Crystalline::MetadataFields
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def initialize; end
|
|
19
|
-
|
|
20
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
21
|
-
def ==(other)
|
|
22
|
-
return false unless other.is_a? self.class
|
|
23
|
-
true
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
@@ -1,28 +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
|
-
|
|
12
|
-
class StatementDescriptor
|
|
13
|
-
extend T::Sig
|
|
14
|
-
include Crystalline::MetadataFields
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def initialize; end
|
|
19
|
-
|
|
20
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
21
|
-
def ==(other)
|
|
22
|
-
return false unless other.is_a? self.class
|
|
23
|
-
true
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
@@ -1,28 +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
|
-
|
|
12
|
-
class StatementDescriptorUnion
|
|
13
|
-
extend T::Sig
|
|
14
|
-
include Crystalline::MetadataFields
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def initialize; end
|
|
19
|
-
|
|
20
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
21
|
-
def ==(other)
|
|
22
|
-
return false unless other.is_a? self.class
|
|
23
|
-
true
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|