moov_ruby 0.2.3 → 0.2.4
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/models/components/businessprofile.rb +6 -2
- data/lib/moov/models/components/businessprofile.rbi +2 -0
- data/lib/moov/models/components/createbusinesserror.rb +6 -2
- data/lib/moov/models/components/createbusinesserror.rbi +2 -0
- data/lib/moov/models/components/createbusinessprofile.rb +6 -2
- data/lib/moov/models/components/createbusinessprofile.rbi +2 -0
- data/lib/moov/models/components/industrytaxonomy.rb +1 -1
- data/lib/moov/models/components/patchbusiness.rb +6 -2
- data/lib/moov/models/components/patchbusiness.rbi +2 -0
- data/lib/moov/models/components/requirementid.rb +1 -0
- data/lib/moov/sdkconfiguration.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 03c88cb5440bdd0258ff2b8f05126a5c4e7e214578e768a9b99e9f57780dc60a
|
|
4
|
+
data.tar.gz: a80d48e0bc6462a3dc9093ba0cba1eafd361723907280bfb7733830955800389
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8230c4e6b35336013a33df5f9cb01c777f218fc26162597ef16e170f3426b42fa91279feb5cf15a0b38e1d990fa5bead03d9cd569cb95b7a2fb5dca689ff53a3
|
|
7
|
+
data.tar.gz: 96d56f85baf389a03044b7645163233af0c02aee92e21237625cd680e4a0881cd756d4dbd7592a08c0eb8fee5826d1894ed5f56634b3857c4de5754832cde02c
|
|
@@ -37,11 +37,13 @@ module Moov
|
|
|
37
37
|
field :representatives, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Representative)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('representatives') } }
|
|
38
38
|
|
|
39
39
|
field :industry_codes, Crystalline::Nilable.new(Models::Components::IndustryCodes), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('industryCodes') } }
|
|
40
|
+
# Classification identifier for the industry. Use the [GET industries](https://docs.moov.io/api/enrichment/form-shortening/industries/get/) endpoint to retrieve an array of valid industry details for a merchant, inducing all industry field values.
|
|
41
|
+
field :industry, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('industry') } }
|
|
40
42
|
# If the business is a financial institution, this field describes its primary regulator.
|
|
41
43
|
field :primary_regulator, Crystalline::Nilable.new(Models::Components::PrimaryRegulator), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('primaryRegulator'), 'decoder': Utils.enum_from_string(Models::Components::PrimaryRegulator, true) } }
|
|
42
44
|
|
|
43
|
-
sig { params(legal_business_name: ::String, owners_provided: T::Boolean, doing_business_as: T.nilable(::String), business_type: T.nilable(Models::Components::BusinessType), address: T.nilable(Models::Components::Address), phone: T.nilable(Models::Components::PhoneNumber), email: T.nilable(::String), website: T.nilable(::String), description: T.nilable(::String), tax_id_provided: T.nilable(T::Boolean), representatives: T.nilable(T::Array[Models::Components::Representative]), industry_codes: T.nilable(Models::Components::IndustryCodes), primary_regulator: T.nilable(Models::Components::PrimaryRegulator)).void }
|
|
44
|
-
def initialize(legal_business_name:, owners_provided:, doing_business_as: nil, business_type: nil, address: nil, phone: nil, email: nil, website: nil, description: nil, tax_id_provided: nil, representatives: nil, industry_codes: nil, primary_regulator: nil)
|
|
45
|
+
sig { params(legal_business_name: ::String, owners_provided: T::Boolean, doing_business_as: T.nilable(::String), business_type: T.nilable(Models::Components::BusinessType), address: T.nilable(Models::Components::Address), phone: T.nilable(Models::Components::PhoneNumber), email: T.nilable(::String), website: T.nilable(::String), description: T.nilable(::String), tax_id_provided: T.nilable(T::Boolean), representatives: T.nilable(T::Array[Models::Components::Representative]), industry_codes: T.nilable(Models::Components::IndustryCodes), industry: T.nilable(::String), primary_regulator: T.nilable(Models::Components::PrimaryRegulator)).void }
|
|
46
|
+
def initialize(legal_business_name:, owners_provided:, doing_business_as: nil, business_type: nil, address: nil, phone: nil, email: nil, website: nil, description: nil, tax_id_provided: nil, representatives: nil, industry_codes: nil, industry: nil, primary_regulator: nil)
|
|
45
47
|
@legal_business_name = legal_business_name
|
|
46
48
|
@owners_provided = owners_provided
|
|
47
49
|
@doing_business_as = doing_business_as
|
|
@@ -54,6 +56,7 @@ module Moov
|
|
|
54
56
|
@tax_id_provided = tax_id_provided
|
|
55
57
|
@representatives = representatives
|
|
56
58
|
@industry_codes = industry_codes
|
|
59
|
+
@industry = industry
|
|
57
60
|
@primary_regulator = primary_regulator
|
|
58
61
|
end
|
|
59
62
|
|
|
@@ -72,6 +75,7 @@ module Moov
|
|
|
72
75
|
return false unless @tax_id_provided == other.tax_id_provided
|
|
73
76
|
return false unless @representatives == other.representatives
|
|
74
77
|
return false unless @industry_codes == other.industry_codes
|
|
78
|
+
return false unless @industry == other.industry
|
|
75
79
|
return false unless @primary_regulator == other.primary_regulator
|
|
76
80
|
true
|
|
77
81
|
end
|
|
@@ -32,6 +32,8 @@ class Moov::Models::Components::BusinessProfile
|
|
|
32
32
|
def representatives=(str_); end
|
|
33
33
|
def industry_codes(); end
|
|
34
34
|
def industry_codes=(str_); end
|
|
35
|
+
def industry(); end
|
|
36
|
+
def industry=(str_); end
|
|
35
37
|
def primary_regulator(); end
|
|
36
38
|
def primary_regulator=(str_); end
|
|
37
39
|
end
|
|
@@ -33,11 +33,13 @@ module Moov
|
|
|
33
33
|
field :tax_id, Crystalline::Nilable.new(Models::Components::CreateBusinessErrorTaxID), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('taxID') } }
|
|
34
34
|
|
|
35
35
|
field :industry_codes, Crystalline::Nilable.new(Models::Components::CreateBusinessErrorIndustryCodes), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('industryCodes') } }
|
|
36
|
+
# Classification identifier for the industry. Use the [GET industries](https://docs.moov.io/api/enrichment/form-shortening/industries/get/) endpoint to retrieve an array of valid industry details for a merchant, inducing all industry field values.
|
|
37
|
+
field :industry, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('industry') } }
|
|
36
38
|
|
|
37
39
|
field :primary_regulator, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('primaryRegulator') } }
|
|
38
40
|
|
|
39
|
-
sig { params(legal_business_name: T.nilable(::String), doing_business_as: T.nilable(::String), business_type: T.nilable(::String), address: T.nilable(Models::Components::AddressError), phone: T.nilable(Models::Components::PhoneNumberError), email: T.nilable(::String), website: T.nilable(::String), description: T.nilable(::String), tax_id: T.nilable(Models::Components::CreateBusinessErrorTaxID), industry_codes: T.nilable(Models::Components::CreateBusinessErrorIndustryCodes), primary_regulator: T.nilable(::String)).void }
|
|
40
|
-
def initialize(legal_business_name: nil, doing_business_as: nil, business_type: nil, address: nil, phone: nil, email: nil, website: nil, description: nil, tax_id: nil, industry_codes: nil, primary_regulator: nil)
|
|
41
|
+
sig { params(legal_business_name: T.nilable(::String), doing_business_as: T.nilable(::String), business_type: T.nilable(::String), address: T.nilable(Models::Components::AddressError), phone: T.nilable(Models::Components::PhoneNumberError), email: T.nilable(::String), website: T.nilable(::String), description: T.nilable(::String), tax_id: T.nilable(Models::Components::CreateBusinessErrorTaxID), industry_codes: T.nilable(Models::Components::CreateBusinessErrorIndustryCodes), industry: T.nilable(::String), primary_regulator: T.nilable(::String)).void }
|
|
42
|
+
def initialize(legal_business_name: nil, doing_business_as: nil, business_type: nil, address: nil, phone: nil, email: nil, website: nil, description: nil, tax_id: nil, industry_codes: nil, industry: nil, primary_regulator: nil)
|
|
41
43
|
@legal_business_name = legal_business_name
|
|
42
44
|
@doing_business_as = doing_business_as
|
|
43
45
|
@business_type = business_type
|
|
@@ -48,6 +50,7 @@ module Moov
|
|
|
48
50
|
@description = description
|
|
49
51
|
@tax_id = tax_id
|
|
50
52
|
@industry_codes = industry_codes
|
|
53
|
+
@industry = industry
|
|
51
54
|
@primary_regulator = primary_regulator
|
|
52
55
|
end
|
|
53
56
|
|
|
@@ -64,6 +67,7 @@ module Moov
|
|
|
64
67
|
return false unless @description == other.description
|
|
65
68
|
return false unless @tax_id == other.tax_id
|
|
66
69
|
return false unless @industry_codes == other.industry_codes
|
|
70
|
+
return false unless @industry == other.industry
|
|
67
71
|
return false unless @primary_regulator == other.primary_regulator
|
|
68
72
|
true
|
|
69
73
|
end
|
|
@@ -28,6 +28,8 @@ class Moov::Models::Components::CreateBusinessError
|
|
|
28
28
|
def tax_id=(str_); end
|
|
29
29
|
def industry_codes(); end
|
|
30
30
|
def industry_codes=(str_); end
|
|
31
|
+
def industry(); end
|
|
32
|
+
def industry=(str_); end
|
|
31
33
|
def primary_regulator(); end
|
|
32
34
|
def primary_regulator=(str_); end
|
|
33
35
|
end
|
|
@@ -33,11 +33,13 @@ module Moov
|
|
|
33
33
|
field :tax_id, Crystalline::Nilable.new(Models::Components::TaxID), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('taxID') } }
|
|
34
34
|
|
|
35
35
|
field :industry_codes, Crystalline::Nilable.new(Models::Components::IndustryCodes), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('industryCodes') } }
|
|
36
|
+
# Classification identifier for the industry. Use the [GET industries](https://docs.moov.io/api/enrichment/form-shortening/industries/get/) endpoint to retrieve an array of valid industry details for a merchant, inducing all industry field values.
|
|
37
|
+
field :industry, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('industry') } }
|
|
36
38
|
# If the business is a financial institution, this field describes its primary regulator.
|
|
37
39
|
field :primary_regulator, Crystalline::Nilable.new(Models::Components::PrimaryRegulator), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('primaryRegulator'), 'decoder': Utils.enum_from_string(Models::Components::PrimaryRegulator, true) } }
|
|
38
40
|
|
|
39
|
-
sig { params(legal_business_name: ::String, doing_business_as: T.nilable(::String), business_type: T.nilable(Models::Components::BusinessType), address: T.nilable(Models::Components::Address), phone: T.nilable(Models::Components::PhoneNumber), email: T.nilable(::String), website: T.nilable(::String), description: T.nilable(::String), tax_id: T.nilable(Models::Components::TaxID), industry_codes: T.nilable(Models::Components::IndustryCodes), primary_regulator: T.nilable(Models::Components::PrimaryRegulator)).void }
|
|
40
|
-
def initialize(legal_business_name:, doing_business_as: nil, business_type: nil, address: nil, phone: nil, email: nil, website: nil, description: nil, tax_id: nil, industry_codes: nil, primary_regulator: nil)
|
|
41
|
+
sig { params(legal_business_name: ::String, doing_business_as: T.nilable(::String), business_type: T.nilable(Models::Components::BusinessType), address: T.nilable(Models::Components::Address), phone: T.nilable(Models::Components::PhoneNumber), email: T.nilable(::String), website: T.nilable(::String), description: T.nilable(::String), tax_id: T.nilable(Models::Components::TaxID), industry_codes: T.nilable(Models::Components::IndustryCodes), industry: T.nilable(::String), primary_regulator: T.nilable(Models::Components::PrimaryRegulator)).void }
|
|
42
|
+
def initialize(legal_business_name:, doing_business_as: nil, business_type: nil, address: nil, phone: nil, email: nil, website: nil, description: nil, tax_id: nil, industry_codes: nil, industry: nil, primary_regulator: nil)
|
|
41
43
|
@legal_business_name = legal_business_name
|
|
42
44
|
@doing_business_as = doing_business_as
|
|
43
45
|
@business_type = business_type
|
|
@@ -48,6 +50,7 @@ module Moov
|
|
|
48
50
|
@description = description
|
|
49
51
|
@tax_id = tax_id
|
|
50
52
|
@industry_codes = industry_codes
|
|
53
|
+
@industry = industry
|
|
51
54
|
@primary_regulator = primary_regulator
|
|
52
55
|
end
|
|
53
56
|
|
|
@@ -64,6 +67,7 @@ module Moov
|
|
|
64
67
|
return false unless @description == other.description
|
|
65
68
|
return false unless @tax_id == other.tax_id
|
|
66
69
|
return false unless @industry_codes == other.industry_codes
|
|
70
|
+
return false unless @industry == other.industry
|
|
67
71
|
return false unless @primary_regulator == other.primary_regulator
|
|
68
72
|
true
|
|
69
73
|
end
|
|
@@ -28,6 +28,8 @@ class Moov::Models::Components::CreateBusinessProfile
|
|
|
28
28
|
def tax_id=(str_); end
|
|
29
29
|
def industry_codes(); end
|
|
30
30
|
def industry_codes=(str_); end
|
|
31
|
+
def industry(); end
|
|
32
|
+
def industry=(str_); end
|
|
31
33
|
def primary_regulator(); end
|
|
32
34
|
def primary_regulator=(str_); end
|
|
33
35
|
end
|
|
@@ -13,7 +13,7 @@ module Moov
|
|
|
13
13
|
extend T::Sig
|
|
14
14
|
include Crystalline::MetadataFields
|
|
15
15
|
|
|
16
|
-
#
|
|
16
|
+
# Classification identifier for the industry.
|
|
17
17
|
field :industry, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('industry'), required: true } }
|
|
18
18
|
# Display name of the industry
|
|
19
19
|
field :display_name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('displayName'), required: true } }
|
|
@@ -35,11 +35,13 @@ module Moov
|
|
|
35
35
|
field :owners_provided, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('ownersProvided') } }
|
|
36
36
|
|
|
37
37
|
field :industry_codes, Crystalline::Nilable.new(Models::Components::IndustryCodes), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('industryCodes') } }
|
|
38
|
+
# Classification identifier for the industry. Use the [GET industries](https://docs.moov.io/api/enrichment/form-shortening/industries/get/) endpoint to retrieve an array of valid industry details for a merchant, inducing all industry field values.
|
|
39
|
+
field :industry, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('industry') } }
|
|
38
40
|
# If the business is a financial institution, this field describes its primary regulator.
|
|
39
41
|
field :primary_regulator, Crystalline::Nilable.new(Models::Components::PrimaryRegulator), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('primaryRegulator'), 'decoder': Utils.enum_from_string(Models::Components::PrimaryRegulator, true) } }
|
|
40
42
|
|
|
41
|
-
sig { params(legal_business_name: T.nilable(::String), doing_business_as: T.nilable(::String), business_type: T.nilable(Models::Components::BusinessType), address: T.nilable(Models::Components::AddressUpdate), phone: T.nilable(Models::Components::PhoneNumber), email: T.nilable(::String), website: T.nilable(::String), description: T.nilable(::String), tax_id: T.nilable(Models::Components::TaxIDUpdate), owners_provided: T.nilable(T::Boolean), industry_codes: T.nilable(Models::Components::IndustryCodes), primary_regulator: T.nilable(Models::Components::PrimaryRegulator)).void }
|
|
42
|
-
def initialize(legal_business_name: nil, doing_business_as: nil, business_type: nil, address: nil, phone: nil, email: nil, website: nil, description: nil, tax_id: nil, owners_provided: nil, industry_codes: nil, primary_regulator: nil)
|
|
43
|
+
sig { params(legal_business_name: T.nilable(::String), doing_business_as: T.nilable(::String), business_type: T.nilable(Models::Components::BusinessType), address: T.nilable(Models::Components::AddressUpdate), phone: T.nilable(Models::Components::PhoneNumber), email: T.nilable(::String), website: T.nilable(::String), description: T.nilable(::String), tax_id: T.nilable(Models::Components::TaxIDUpdate), owners_provided: T.nilable(T::Boolean), industry_codes: T.nilable(Models::Components::IndustryCodes), industry: T.nilable(::String), primary_regulator: T.nilable(Models::Components::PrimaryRegulator)).void }
|
|
44
|
+
def initialize(legal_business_name: nil, doing_business_as: nil, business_type: nil, address: nil, phone: nil, email: nil, website: nil, description: nil, tax_id: nil, owners_provided: nil, industry_codes: nil, industry: nil, primary_regulator: nil)
|
|
43
45
|
@legal_business_name = legal_business_name
|
|
44
46
|
@doing_business_as = doing_business_as
|
|
45
47
|
@business_type = business_type
|
|
@@ -51,6 +53,7 @@ module Moov
|
|
|
51
53
|
@tax_id = tax_id
|
|
52
54
|
@owners_provided = owners_provided
|
|
53
55
|
@industry_codes = industry_codes
|
|
56
|
+
@industry = industry
|
|
54
57
|
@primary_regulator = primary_regulator
|
|
55
58
|
end
|
|
56
59
|
|
|
@@ -68,6 +71,7 @@ module Moov
|
|
|
68
71
|
return false unless @tax_id == other.tax_id
|
|
69
72
|
return false unless @owners_provided == other.owners_provided
|
|
70
73
|
return false unless @industry_codes == other.industry_codes
|
|
74
|
+
return false unless @industry == other.industry
|
|
71
75
|
return false unless @primary_regulator == other.primary_regulator
|
|
72
76
|
true
|
|
73
77
|
end
|
|
@@ -30,6 +30,8 @@ class Moov::Models::Components::PatchBusiness
|
|
|
30
30
|
def owners_provided=(str_); end
|
|
31
31
|
def industry_codes(); end
|
|
32
32
|
def industry_codes=(str_); end
|
|
33
|
+
def industry(); end
|
|
34
|
+
def industry=(str_); end
|
|
33
35
|
def primary_regulator(); end
|
|
34
36
|
def primary_regulator=(str_); end
|
|
35
37
|
end
|
|
@@ -36,6 +36,7 @@ module Moov
|
|
|
36
36
|
BUSINESS_OWNERS = new('business.owners')
|
|
37
37
|
BUSINESS_CLASSIFICATION = new('business.classification')
|
|
38
38
|
BUSINESS_INDUSTRY_CODE_MCC = new('business.industry-code-mcc')
|
|
39
|
+
BUSINESS_INDUSTRY = new('business.industry')
|
|
39
40
|
BUSINESS_INDICATE_OWNERS_PROVIDED = new('business.indicate-owners-provided')
|
|
40
41
|
BUSINESS_AVERAGE_TRANSACTION_SIZE = new('business.average-transaction-size')
|
|
41
42
|
BUSINESS_MAX_TRANSACTION_SIZE = new('business.max-transaction-size')
|
|
@@ -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.2.
|
|
99
|
-
@gen_version = '2.
|
|
100
|
-
@user_agent = 'speakeasy-sdk/ruby 0.2.
|
|
98
|
+
@sdk_version = '0.2.4'
|
|
99
|
+
@gen_version = '2.730.5'
|
|
100
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.4 2.730.5 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.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Speakeasy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-10-
|
|
11
|
+
date: 2025-10-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|