moov_ruby 0.3.11 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6965acd4b3b3d66d2a3f2292c745bd7b87dc7e6ed7ad46199535cf3723dabbb
4
- data.tar.gz: c258465695e9c5cdc74afab51a6497bff190b742d74936d37a5464699ebe02f6
3
+ metadata.gz: 5790ad88b3eddbad449bbc92ca2bf7d9dbe82b9f6fe8d97786c057ccc7e649b4
4
+ data.tar.gz: 6ffaa12aff6fee5ad0078237ccc79d0a1243b106bb9727dc3c7502585493069a
5
5
  SHA512:
6
- metadata.gz: f21fcc521fcb9ec820e9a62459c4e3e8cfba5774c33d81a6bb14b82c403b0fb911007057db236e3534385207103eca4ad5845294a9c94c9ad354e8673979606a
7
- data.tar.gz: 5eea33e38c3d4c75c83608630435ee140560196dfcf3ae39ce740667543025b38d7346b72fdc20f1c2296868426ce6ba728b19d851107bf8a80de8fc3cab01e0
6
+ metadata.gz: 251481a3ca5a70b7800097471153da5198583cfdb109f7396b3e13a4328582821842be857912d660cb3c130f4fc821d2fe6a14d2ea056b00badef6f62d7856d3
7
+ data.tar.gz: 1d62309d7c18935e1091a4fbabcef0b5fb1f105c8497b2dc613b0b9a9a39100475543cabb4ffb3b32c678eb04b92c6f55d109c340cca141cb8d22ff0933b3b97
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: {
@@ -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 - Search for institutions by either their name or routing number.
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"
@@ -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.11'
99
- @gen_version = '2.774.0'
100
- @user_agent = 'speakeasy-sdk/ruby 0.3.11 2.774.0 latest moov_ruby'
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.11
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-09 00:00:00.000000000 Z
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