moov_ruby 0.3.10 → 0.3.12
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/branding.rb +0 -164
- data/lib/moov/client.rb +11 -10
- data/lib/moov/institutions.rb +5 -1
- data/lib/moov/models/components.rb +0 -3
- data/lib/moov/models/operations.rb +0 -2
- data/lib/moov/sdkconfiguration.rb +3 -3
- metadata +2 -12
- data/lib/moov/models/components/updatebrand.rb +0 -33
- data/lib/moov/models/components/updatebrand.rbi +0 -13
- data/lib/moov/models/components/updatecolor.rb +0 -33
- data/lib/moov/models/components/updatecolor.rbi +0 -13
- data/lib/moov/models/components/updatecolors.rb +0 -37
- data/lib/moov/models/components/updatecolors.rbi +0 -15
- data/lib/moov/models/operations/updatebrand_request.rb +0 -50
- data/lib/moov/models/operations/updatebrand_request.rbi +0 -17
- data/lib/moov/models/operations/updatebrand_response.rb +0 -49
- data/lib/moov/models/operations/updatebrand_response.rbi +0 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5790ad88b3eddbad449bbc92ca2bf7d9dbe82b9f6fe8d97786c057ccc7e649b4
|
|
4
|
+
data.tar.gz: 6ffaa12aff6fee5ad0078237ccc79d0a1243b106bb9727dc3c7502585493069a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 251481a3ca5a70b7800097471153da5198583cfdb109f7396b3e13a4328582821842be857912d660cb3c130f4fc821d2fe6a14d2ea056b00badef6f62d7856d3
|
|
7
|
+
data.tar.gz: 1d62309d7c18935e1091a4fbabcef0b5fb1f105c8497b2dc613b0b9a9a39100475543cabb4ffb3b32c678eb04b92c6f55d109c340cca141cb8d22ff0933b3b97
|
data/lib/moov/branding.rb
CHANGED
|
@@ -486,169 +486,5 @@ module Moov
|
|
|
486
486
|
|
|
487
487
|
end
|
|
488
488
|
end
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
sig { params(update_brand: Models::Components::UpdateBrand, account_id: ::String, x_moov_version: T.nilable(::String), timeout_ms: T.nilable(Integer)).returns(Models::Operations::UpdateBrandResponse) }
|
|
492
|
-
def update(update_brand:, account_id:, x_moov_version: nil, timeout_ms: nil)
|
|
493
|
-
# update - Updates the brand properties for the specified account.
|
|
494
|
-
#
|
|
495
|
-
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
496
|
-
# you'll need to specify the `/accounts/{accountID}/branding.write` scope.
|
|
497
|
-
request = Models::Operations::UpdateBrandRequest.new(
|
|
498
|
-
account_id: account_id,
|
|
499
|
-
update_brand: update_brand,
|
|
500
|
-
x_moov_version: x_moov_version
|
|
501
|
-
)
|
|
502
|
-
url, params = @sdk_configuration.get_server_details
|
|
503
|
-
base_url = Utils.template_url(url, params)
|
|
504
|
-
url = Utils.generate_url(
|
|
505
|
-
Models::Operations::UpdateBrandRequest,
|
|
506
|
-
base_url,
|
|
507
|
-
'/accounts/{accountID}/branding',
|
|
508
|
-
request,
|
|
509
|
-
@sdk_configuration.globals
|
|
510
|
-
)
|
|
511
|
-
headers = Utils.get_headers(request, @sdk_configuration.globals)
|
|
512
|
-
headers = T.cast(headers, T::Hash[String, String])
|
|
513
|
-
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :update_brand, :json)
|
|
514
|
-
headers['content-type'] = req_content_type
|
|
515
|
-
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
516
|
-
|
|
517
|
-
if form
|
|
518
|
-
body = Utils.encode_form(form)
|
|
519
|
-
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
520
|
-
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
521
|
-
else
|
|
522
|
-
body = data
|
|
523
|
-
end
|
|
524
|
-
headers['Accept'] = 'application/json'
|
|
525
|
-
headers['user-agent'] = @sdk_configuration.user_agent
|
|
526
|
-
|
|
527
|
-
security = @sdk_configuration.security_source&.call
|
|
528
|
-
|
|
529
|
-
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
530
|
-
timeout ||= @sdk_configuration.timeout
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
connection = @sdk_configuration.client
|
|
534
|
-
|
|
535
|
-
hook_ctx = SDKHooks::HookContext.new(
|
|
536
|
-
config: @sdk_configuration,
|
|
537
|
-
base_url: base_url,
|
|
538
|
-
oauth2_scopes: nil,
|
|
539
|
-
operation_id: 'updateBrand',
|
|
540
|
-
security_source: @sdk_configuration.security_source
|
|
541
|
-
)
|
|
542
|
-
|
|
543
|
-
error = T.let(nil, T.nilable(StandardError))
|
|
544
|
-
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
begin
|
|
548
|
-
http_response = T.must(connection).patch(url) do |req|
|
|
549
|
-
req.body = body
|
|
550
|
-
req.headers.merge!(headers)
|
|
551
|
-
req.options.timeout = timeout unless timeout.nil?
|
|
552
|
-
Utils.configure_request_security(req, security)
|
|
553
|
-
|
|
554
|
-
@sdk_configuration.hooks.before_request(
|
|
555
|
-
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
556
|
-
hook_ctx: hook_ctx
|
|
557
|
-
),
|
|
558
|
-
request: req
|
|
559
|
-
)
|
|
560
|
-
end
|
|
561
|
-
rescue StandardError => e
|
|
562
|
-
error = e
|
|
563
|
-
ensure
|
|
564
|
-
if http_response.nil? || Utils.error_status?(http_response.status)
|
|
565
|
-
http_response = @sdk_configuration.hooks.after_error(
|
|
566
|
-
error: error,
|
|
567
|
-
hook_ctx: SDKHooks::AfterErrorHookContext.new(
|
|
568
|
-
hook_ctx: hook_ctx
|
|
569
|
-
),
|
|
570
|
-
response: http_response
|
|
571
|
-
)
|
|
572
|
-
else
|
|
573
|
-
http_response = @sdk_configuration.hooks.after_success(
|
|
574
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
575
|
-
hook_ctx: hook_ctx
|
|
576
|
-
),
|
|
577
|
-
response: http_response
|
|
578
|
-
)
|
|
579
|
-
end
|
|
580
|
-
|
|
581
|
-
if http_response.nil?
|
|
582
|
-
raise error if !error.nil?
|
|
583
|
-
raise 'no response'
|
|
584
|
-
end
|
|
585
|
-
end
|
|
586
|
-
|
|
587
|
-
content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
|
|
588
|
-
if Utils.match_status_code(http_response.status, ['200'])
|
|
589
|
-
if Utils.match_content_type(content_type, 'application/json')
|
|
590
|
-
http_response = @sdk_configuration.hooks.after_success(
|
|
591
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
592
|
-
hook_ctx: hook_ctx
|
|
593
|
-
),
|
|
594
|
-
response: http_response
|
|
595
|
-
)
|
|
596
|
-
response_data = http_response.env.response_body
|
|
597
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Components::BrandProperties)
|
|
598
|
-
response = Models::Operations::UpdateBrandResponse.new(
|
|
599
|
-
status_code: http_response.status,
|
|
600
|
-
content_type: content_type,
|
|
601
|
-
raw_response: http_response,
|
|
602
|
-
headers: http_response.headers,
|
|
603
|
-
brand_properties: T.unsafe(obj)
|
|
604
|
-
)
|
|
605
|
-
|
|
606
|
-
return response
|
|
607
|
-
else
|
|
608
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
609
|
-
end
|
|
610
|
-
elsif Utils.match_status_code(http_response.status, ['400', '409'])
|
|
611
|
-
if Utils.match_content_type(content_type, 'application/json')
|
|
612
|
-
http_response = @sdk_configuration.hooks.after_success(
|
|
613
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
614
|
-
hook_ctx: hook_ctx
|
|
615
|
-
),
|
|
616
|
-
response: http_response
|
|
617
|
-
)
|
|
618
|
-
response_data = http_response.env.response_body
|
|
619
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::GenericError)
|
|
620
|
-
obj.raw_response = http_response
|
|
621
|
-
raise obj
|
|
622
|
-
else
|
|
623
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
624
|
-
end
|
|
625
|
-
elsif Utils.match_status_code(http_response.status, ['422'])
|
|
626
|
-
if Utils.match_content_type(content_type, 'application/json')
|
|
627
|
-
http_response = @sdk_configuration.hooks.after_success(
|
|
628
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
629
|
-
hook_ctx: hook_ctx
|
|
630
|
-
),
|
|
631
|
-
response: http_response
|
|
632
|
-
)
|
|
633
|
-
response_data = http_response.env.response_body
|
|
634
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::BrandValidationError)
|
|
635
|
-
obj.raw_response = http_response
|
|
636
|
-
raise obj
|
|
637
|
-
else
|
|
638
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
|
|
639
|
-
end
|
|
640
|
-
elsif Utils.match_status_code(http_response.status, ['401', '403', '404', '429'])
|
|
641
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
642
|
-
elsif Utils.match_status_code(http_response.status, ['500', '504'])
|
|
643
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
644
|
-
elsif Utils.match_status_code(http_response.status, ['4XX'])
|
|
645
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
646
|
-
elsif Utils.match_status_code(http_response.status, ['5XX'])
|
|
647
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
|
|
648
|
-
else
|
|
649
|
-
raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown status code received'
|
|
650
|
-
|
|
651
|
-
end
|
|
652
|
-
end
|
|
653
489
|
end
|
|
654
490
|
end
|
data/lib/moov/client.rb
CHANGED
|
@@ -18,6 +18,17 @@ module Moov
|
|
|
18
18
|
|
|
19
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, :industries, :institutions, :issuing_transactions, :card_issuing, :authentication, :onboarding, :ping, :receipts, :terminal_applications
|
|
20
20
|
|
|
21
|
+
# Instantiates the SDK, configuring it with the provided parameters.
|
|
22
|
+
#
|
|
23
|
+
# @param client [Faraday::Connection, nil] The faraday HTTP client to use for all operations
|
|
24
|
+
# @param retry_config [::Moov::Utils::RetryConfig, nil] The retry configuration to use for all operations
|
|
25
|
+
# @param timeout_ms [Integer, nil] Request timeout in milliseconds for all operations
|
|
26
|
+
# @param security [Models::Components::Security, nil] The security details required for authentication
|
|
27
|
+
# @param security_source [Proc{|| Models::Components::Security, nil}] A function that returns security details required for authentication
|
|
28
|
+
# @param x_moov_version [String, nil] Configures the x_moov_version parameter for all supported operations
|
|
29
|
+
# @param server_idx [Integer, nil] The index of the server to use for all operations
|
|
30
|
+
# @param server_url [String, nil] The server URL to use for all operations
|
|
31
|
+
# @param url_params [Hash{Symbol => String}, nil] Parameters to optionally template the server URL with
|
|
21
32
|
sig do
|
|
22
33
|
params(
|
|
23
34
|
client: T.nilable(Faraday::Connection),
|
|
@@ -32,16 +43,6 @@ module Moov
|
|
|
32
43
|
).void
|
|
33
44
|
end
|
|
34
45
|
def initialize(client: nil, retry_config: nil, timeout_ms: nil, security: nil, security_source: nil, x_moov_version: nil, server_idx: nil, server_url: nil, url_params: nil)
|
|
35
|
-
## Instantiates the SDK configuring it with the provided parameters.
|
|
36
|
-
# @param [T.nilable(Faraday::Connection)] client The faraday HTTP client to use for all operations
|
|
37
|
-
# @param [T.nilable(::Moov::Utils::RetryConfig)] retry_config The retry configuration to use for all operations
|
|
38
|
-
# @param [T.nilable(Integer)] timeout_ms Request timeout in milliseconds for all operations
|
|
39
|
-
# @param [T.nilable(Models::Components::Security)] security: The security details required for authentication
|
|
40
|
-
# @param [T.proc.returns(T.nilable(Models::Components::Security))] security_source: A function that returns security details required for authentication
|
|
41
|
-
# @param [T.nilable(::String)] x_moov_version: Configures the x_moov_version parameter for all supported operations
|
|
42
|
-
# @param [T.nilable(::Integer)] server_idx The index of the server to use for all operations
|
|
43
|
-
# @param [T.nilable(::String)] server_url The server URL to use for all operations
|
|
44
|
-
# @param [T.nilable(::Hash<::Symbol, ::String>)] url_params Parameters to optionally template the server URL with
|
|
45
46
|
|
|
46
47
|
connection_options = {
|
|
47
48
|
request: {
|
data/lib/moov/institutions.rb
CHANGED
|
@@ -164,10 +164,14 @@ module Moov
|
|
|
164
164
|
|
|
165
165
|
sig { params(request: Models::Operations::ListInstitutionsRequest, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListInstitutionsResponse) }
|
|
166
166
|
def search(request:, timeout_ms: nil)
|
|
167
|
-
# search -
|
|
167
|
+
# search - This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/form-shortening/institutions/get/).
|
|
168
|
+
#
|
|
169
|
+
# Search for institutions by either their name or routing number.
|
|
168
170
|
#
|
|
169
171
|
# To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
170
172
|
# you'll need to specify the `/fed.read` scope.
|
|
173
|
+
#
|
|
174
|
+
# @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
171
175
|
url, params = @sdk_configuration.get_server_details
|
|
172
176
|
base_url = Utils.template_url(url, params)
|
|
173
177
|
url = "#{base_url}/institutions/ach/search"
|
|
@@ -495,12 +495,9 @@ module Moov
|
|
|
495
495
|
autoload :Underwriting, 'moov/models/components/underwriting.rb'
|
|
496
496
|
autoload :UnderwritingStatus, 'moov/models/components/underwritingstatus.rb'
|
|
497
497
|
autoload :UpdateApplePayMerchantDomains, 'moov/models/components/updateapplepaymerchantdomains.rb'
|
|
498
|
-
autoload :UpdateBrand, 'moov/models/components/updatebrand.rb'
|
|
499
498
|
autoload :UpdateCard, 'moov/models/components/updatecard.rb'
|
|
500
499
|
autoload :UpdateCardAddress, 'moov/models/components/updatecardaddress.rb'
|
|
501
500
|
autoload :UpdateCardExpiration, 'moov/models/components/updatecardexpiration.rb'
|
|
502
|
-
autoload :UpdateColor, 'moov/models/components/updatecolor.rb'
|
|
503
|
-
autoload :UpdateColors, 'moov/models/components/updatecolors.rb'
|
|
504
501
|
autoload :UpdateEvidence, 'moov/models/components/updateevidence.rb'
|
|
505
502
|
autoload :UpdateInvoice, 'moov/models/components/updateinvoice.rb'
|
|
506
503
|
autoload :UpdateIssuedCard, 'moov/models/components/updateissuedcard.rb'
|
|
@@ -302,8 +302,6 @@ module Moov
|
|
|
302
302
|
autoload :UpdateAccountResponse, 'moov/models/operations/updateaccount_response.rb'
|
|
303
303
|
autoload :UpdateApplePayMerchantDomainsRequest, 'moov/models/operations/updateapplepaymerchantdomains_request.rb'
|
|
304
304
|
autoload :UpdateApplePayMerchantDomainsResponse, 'moov/models/operations/updateapplepaymerchantdomains_response.rb'
|
|
305
|
-
autoload :UpdateBrandRequest, 'moov/models/operations/updatebrand_request.rb'
|
|
306
|
-
autoload :UpdateBrandResponse, 'moov/models/operations/updatebrand_response.rb'
|
|
307
305
|
autoload :UpdateCardRequest, 'moov/models/operations/updatecard_request.rb'
|
|
308
306
|
autoload :UpdateCardResponse, 'moov/models/operations/updatecard_response.rb'
|
|
309
307
|
autoload :UpdateDisputeEvidenceRequest, 'moov/models/operations/updatedisputeevidence_request.rb'
|
|
@@ -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.12'
|
|
99
|
+
@gen_version = '2.778.0'
|
|
100
|
+
@user_agent = 'speakeasy-sdk/ruby 0.3.12 2.778.0 latest moov_ruby'
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
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.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Speakeasy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -1224,18 +1224,12 @@ files:
|
|
|
1224
1224
|
- lib/moov/models/components/underwritingstatus.rbi
|
|
1225
1225
|
- lib/moov/models/components/updateapplepaymerchantdomains.rb
|
|
1226
1226
|
- lib/moov/models/components/updateapplepaymerchantdomains.rbi
|
|
1227
|
-
- lib/moov/models/components/updatebrand.rb
|
|
1228
|
-
- lib/moov/models/components/updatebrand.rbi
|
|
1229
1227
|
- lib/moov/models/components/updatecard.rb
|
|
1230
1228
|
- lib/moov/models/components/updatecard.rbi
|
|
1231
1229
|
- lib/moov/models/components/updatecardaddress.rb
|
|
1232
1230
|
- lib/moov/models/components/updatecardaddress.rbi
|
|
1233
1231
|
- lib/moov/models/components/updatecardexpiration.rb
|
|
1234
1232
|
- lib/moov/models/components/updatecardexpiration.rbi
|
|
1235
|
-
- lib/moov/models/components/updatecolor.rb
|
|
1236
|
-
- lib/moov/models/components/updatecolor.rbi
|
|
1237
|
-
- lib/moov/models/components/updatecolors.rb
|
|
1238
|
-
- lib/moov/models/components/updatecolors.rbi
|
|
1239
1233
|
- lib/moov/models/components/updateevidence.rb
|
|
1240
1234
|
- lib/moov/models/components/updateevidence.rbi
|
|
1241
1235
|
- lib/moov/models/components/updateinvoice.rb
|
|
@@ -2086,10 +2080,6 @@ files:
|
|
|
2086
2080
|
- lib/moov/models/operations/updateapplepaymerchantdomains_request.rbi
|
|
2087
2081
|
- lib/moov/models/operations/updateapplepaymerchantdomains_response.rb
|
|
2088
2082
|
- lib/moov/models/operations/updateapplepaymerchantdomains_response.rbi
|
|
2089
|
-
- lib/moov/models/operations/updatebrand_request.rb
|
|
2090
|
-
- lib/moov/models/operations/updatebrand_request.rbi
|
|
2091
|
-
- lib/moov/models/operations/updatebrand_response.rb
|
|
2092
|
-
- lib/moov/models/operations/updatebrand_response.rbi
|
|
2093
2083
|
- lib/moov/models/operations/updatecard_request.rb
|
|
2094
2084
|
- lib/moov/models/operations/updatecard_request.rbi
|
|
2095
2085
|
- lib/moov/models/operations/updatecard_response.rb
|
|
@@ -1,33 +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 UpdateBrand
|
|
13
|
-
extend T::Sig
|
|
14
|
-
include Crystalline::MetadataFields
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
field :colors, Crystalline::Nilable.new(Models::Components::UpdateColors), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('colors') } }
|
|
18
|
-
|
|
19
|
-
sig { params(colors: T.nilable(Models::Components::UpdateColors)).void }
|
|
20
|
-
def initialize(colors: nil)
|
|
21
|
-
@colors = colors
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
25
|
-
def ==(other)
|
|
26
|
-
return false unless other.is_a? self.class
|
|
27
|
-
return false unless @colors == other.colors
|
|
28
|
-
true
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
end
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::UpdateBrand
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::UpdateBrand
|
|
11
|
-
def colors(); end
|
|
12
|
-
def colors=(str_); end
|
|
13
|
-
end
|
|
@@ -1,33 +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 UpdateColor
|
|
13
|
-
extend T::Sig
|
|
14
|
-
include Crystalline::MetadataFields
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
field :accent, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accent') } }
|
|
18
|
-
|
|
19
|
-
sig { params(accent: T.nilable(::String)).void }
|
|
20
|
-
def initialize(accent: nil)
|
|
21
|
-
@accent = accent
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
25
|
-
def ==(other)
|
|
26
|
-
return false unless other.is_a? self.class
|
|
27
|
-
return false unless @accent == other.accent
|
|
28
|
-
true
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
end
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Components::UpdateColor
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::UpdateColor
|
|
11
|
-
def accent(); end
|
|
12
|
-
def accent=(str_); end
|
|
13
|
-
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 UpdateColors
|
|
13
|
-
extend T::Sig
|
|
14
|
-
include Crystalline::MetadataFields
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
field :dark, Crystalline::Nilable.new(Models::Components::UpdateColor), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('dark') } }
|
|
18
|
-
|
|
19
|
-
field :light, Crystalline::Nilable.new(Models::Components::UpdateColor), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('light') } }
|
|
20
|
-
|
|
21
|
-
sig { params(dark: T.nilable(Models::Components::UpdateColor), light: T.nilable(Models::Components::UpdateColor)).void }
|
|
22
|
-
def initialize(dark: nil, light: nil)
|
|
23
|
-
@dark = dark
|
|
24
|
-
@light = light
|
|
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 @dark == other.dark
|
|
31
|
-
return false unless @light == other.light
|
|
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::UpdateColors
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Components::UpdateColors
|
|
11
|
-
def dark(); end
|
|
12
|
-
def dark=(str_); end
|
|
13
|
-
def light(); end
|
|
14
|
-
def light=(str_); end
|
|
15
|
-
end
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
module Moov
|
|
8
|
-
module Models
|
|
9
|
-
module Operations
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class UpdateBrandRequest
|
|
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 :update_brand, Models::Components::UpdateBrand, { 'request': { 'media_type': 'application/json' } }
|
|
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
|
-
# When no version is specified, the API defaults to `v2024.01.00`.
|
|
30
|
-
field :x_moov_version, Crystalline::Nilable.new(::String), { 'header': { 'field_name': 'X-Moov-Version', 'style': 'simple', 'explode': false } }
|
|
31
|
-
|
|
32
|
-
sig { params(account_id: ::String, update_brand: Models::Components::UpdateBrand, x_moov_version: T.nilable(::String)).void }
|
|
33
|
-
def initialize(account_id:, update_brand:, x_moov_version: nil)
|
|
34
|
-
@account_id = account_id
|
|
35
|
-
@update_brand = update_brand
|
|
36
|
-
@x_moov_version = x_moov_version
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
40
|
-
def ==(other)
|
|
41
|
-
return false unless other.is_a? self.class
|
|
42
|
-
return false unless @account_id == other.account_id
|
|
43
|
-
return false unless @update_brand == other.update_brand
|
|
44
|
-
return false unless @x_moov_version == other.x_moov_version
|
|
45
|
-
true
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
end
|
|
50
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::UpdateBrandRequest
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::UpdateBrandRequest
|
|
11
|
-
def account_id(); end
|
|
12
|
-
def account_id=(str_); end
|
|
13
|
-
def update_brand(); end
|
|
14
|
-
def update_brand=(str_); end
|
|
15
|
-
def x_moov_version(); end
|
|
16
|
-
def x_moov_version=(str_); end
|
|
17
|
-
end
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
module Moov
|
|
8
|
-
module Models
|
|
9
|
-
module Operations
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class UpdateBrandResponse
|
|
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 :brand_properties, Crystalline::Nilable.new(Models::Components::BrandProperties)
|
|
26
|
-
|
|
27
|
-
sig { params(content_type: ::String, status_code: ::Integer, raw_response: ::Faraday::Response, headers: T::Hash[Symbol, T::Array[::String]], brand_properties: T.nilable(Models::Components::BrandProperties)).void }
|
|
28
|
-
def initialize(content_type:, status_code:, raw_response:, headers:, brand_properties: nil)
|
|
29
|
-
@content_type = content_type
|
|
30
|
-
@status_code = status_code
|
|
31
|
-
@raw_response = raw_response
|
|
32
|
-
@headers = headers
|
|
33
|
-
@brand_properties = brand_properties
|
|
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 @brand_properties == other.brand_properties
|
|
44
|
-
true
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Moov::Models::Operations::UpdateBrandResponse
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class Moov::Models::Operations::UpdateBrandResponse
|
|
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 brand_properties(); end
|
|
20
|
-
def brand_properties=(str_); end
|
|
21
|
-
end
|