brand.dev 0.1.0.pre.alpha.2 → 0.1.0.pre.alpha.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/CHANGELOG.md +26 -0
- data/README.md +1 -1
- data/lib/brand_dev/models/brand_prefetch_params.rb +22 -0
- data/lib/brand_dev/models/brand_prefetch_response.rb +33 -0
- data/lib/brand_dev/models/brand_retrieve_params.rb +14 -1
- data/lib/brand_dev/models.rb +2 -0
- data/lib/brand_dev/resources/brand.rb +32 -2
- data/lib/brand_dev/version.rb +1 -1
- data/lib/brand_dev.rb +2 -0
- data/rbi/brand_dev/models/brand_prefetch_params.rbi +40 -0
- data/rbi/brand_dev/models/brand_prefetch_response.rbi +57 -0
- data/rbi/brand_dev/models/brand_retrieve_params.rbi +15 -0
- data/rbi/brand_dev/models.rbi +2 -0
- data/rbi/brand_dev/resources/brand.rbi +22 -0
- data/sig/brand_dev/models/brand_prefetch_params.rbs +23 -0
- data/sig/brand_dev/models/brand_prefetch_response.rbs +28 -0
- data/sig/brand_dev/models/brand_retrieve_params.rbs +8 -1
- data/sig/brand_dev/models.rbs +2 -0
- data/sig/brand_dev/resources/brand.rbs +6 -0
- metadata +7 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7838f8c194543e8e3ba05ae68343cc13ea4aed8ceabcb0502530061da5a41ac
|
4
|
+
data.tar.gz: 9036c6faf4fee43e86625466038184bd93b1c3118ccfcdc132b2d00dabf30fe3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7b864fff0ccfb6e158d491159cbed2efbb9e497245f5c35779b010ddfa74e43538a228cd7041623da7d806c19a1288ddeea4db6983a3b4a7caf9776e4642613
|
7
|
+
data.tar.gz: 1e7fc08296c8f69cc226b9f84337a48fc90043f1943057f4892841a412200c7a17bb827cd4a34db3b8a983ad4464ea7d877e4213eae8cefb9338b2452e015f15
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,31 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.1.0-alpha.4 (2025-06-06)
|
4
|
+
|
5
|
+
Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** manual updates ([05a611f](https://github.com/brand-dot-dev/ruby-sdk/commit/05a611fe140468f965dbb41c0d8250d3dd84a9aa))
|
10
|
+
|
11
|
+
|
12
|
+
### Chores
|
13
|
+
|
14
|
+
* **internal:** codegen related update ([b850fe2](https://github.com/brand-dot-dev/ruby-sdk/commit/b850fe270f6c9e7d63b380a6bdcdb9c0c6b6b65f))
|
15
|
+
|
16
|
+
## 0.1.0-alpha.3 (2025-06-06)
|
17
|
+
|
18
|
+
Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)
|
19
|
+
|
20
|
+
### Features
|
21
|
+
|
22
|
+
* **api:** manual updates ([7410667](https://github.com/brand-dot-dev/ruby-sdk/commit/7410667d18ceacfb171c91eb14a4825f77e3487b))
|
23
|
+
|
24
|
+
|
25
|
+
### Chores
|
26
|
+
|
27
|
+
* **internal:** codegen related update ([08a0fc4](https://github.com/brand-dot-dev/ruby-sdk/commit/08a0fc45756634925a18266d526b41a217b37492))
|
28
|
+
|
3
29
|
## 0.1.0-alpha.2 (2025-06-05)
|
4
30
|
|
5
31
|
Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)
|
data/README.md
CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
15
15
|
<!-- x-release-please-start-version -->
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
gem "brand.dev", "~> 0.1.0.pre.alpha.
|
18
|
+
gem "brand.dev", "~> 0.1.0.pre.alpha.4"
|
19
19
|
```
|
20
20
|
|
21
21
|
<!-- x-release-please-end -->
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module BrandDev
|
4
|
+
module Models
|
5
|
+
# @see BrandDev::Resources::Brand#prefetch
|
6
|
+
class BrandPrefetchParams < BrandDev::Internal::Type::BaseModel
|
7
|
+
extend BrandDev::Internal::Type::RequestParameters::Converter
|
8
|
+
include BrandDev::Internal::Type::RequestParameters
|
9
|
+
|
10
|
+
# @!attribute domain
|
11
|
+
# Domain name to prefetch brand data for
|
12
|
+
#
|
13
|
+
# @return [String]
|
14
|
+
required :domain, String
|
15
|
+
|
16
|
+
# @!method initialize(domain:, request_options: {})
|
17
|
+
# @param domain [String] Domain name to prefetch brand data for
|
18
|
+
#
|
19
|
+
# @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}]
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module BrandDev
|
4
|
+
module Models
|
5
|
+
# @see BrandDev::Resources::Brand#prefetch
|
6
|
+
class BrandPrefetchResponse < BrandDev::Internal::Type::BaseModel
|
7
|
+
# @!attribute domain
|
8
|
+
# The domain that was queued for prefetching
|
9
|
+
#
|
10
|
+
# @return [String, nil]
|
11
|
+
optional :domain, String
|
12
|
+
|
13
|
+
# @!attribute message
|
14
|
+
# Success message
|
15
|
+
#
|
16
|
+
# @return [String, nil]
|
17
|
+
optional :message, String
|
18
|
+
|
19
|
+
# @!attribute status
|
20
|
+
# Status of the response, e.g., 'ok'
|
21
|
+
#
|
22
|
+
# @return [String, nil]
|
23
|
+
optional :status, String
|
24
|
+
|
25
|
+
# @!method initialize(domain: nil, message: nil, status: nil)
|
26
|
+
# @param domain [String] The domain that was queued for prefetching
|
27
|
+
#
|
28
|
+
# @param message [String] Success message
|
29
|
+
#
|
30
|
+
# @param status [String] Status of the response, e.g., 'ok'
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -19,11 +19,24 @@ module BrandDev
|
|
19
19
|
# @return [Symbol, BrandDev::Models::BrandRetrieveParams::ForceLanguage, nil]
|
20
20
|
optional :force_language, enum: -> { BrandDev::BrandRetrieveParams::ForceLanguage }
|
21
21
|
|
22
|
-
# @!
|
22
|
+
# @!attribute max_speed
|
23
|
+
# Optional parameter to optimize the API call for maximum speed. When set to true,
|
24
|
+
# the API will skip social media data extraction and external service calls (like
|
25
|
+
# Crunchbase) to return results faster with basic brand information only.
|
26
|
+
#
|
27
|
+
# @return [Boolean, nil]
|
28
|
+
optional :max_speed, BrandDev::Internal::Type::Boolean
|
29
|
+
|
30
|
+
# @!method initialize(domain:, force_language: nil, max_speed: nil, request_options: {})
|
31
|
+
# Some parameter documentations has been truncated, see
|
32
|
+
# {BrandDev::Models::BrandRetrieveParams} for more details.
|
33
|
+
#
|
23
34
|
# @param domain [String] Domain name to retrieve brand data for
|
24
35
|
#
|
25
36
|
# @param force_language [Symbol, BrandDev::Models::BrandRetrieveParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data
|
26
37
|
#
|
38
|
+
# @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
|
39
|
+
#
|
27
40
|
# @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}]
|
28
41
|
|
29
42
|
# Optional parameter to force the language of the retrieved brand data
|
data/lib/brand_dev/models.rb
CHANGED
@@ -43,6 +43,8 @@ module BrandDev
|
|
43
43
|
|
44
44
|
BrandIdentifyFromTransactionParams = BrandDev::Models::BrandIdentifyFromTransactionParams
|
45
45
|
|
46
|
+
BrandPrefetchParams = BrandDev::Models::BrandPrefetchParams
|
47
|
+
|
46
48
|
BrandRetrieveByTickerParams = BrandDev::Models::BrandRetrieveByTickerParams
|
47
49
|
|
48
50
|
BrandRetrieveNaicsParams = BrandDev::Models::BrandRetrieveNaicsParams
|
@@ -3,14 +3,19 @@
|
|
3
3
|
module BrandDev
|
4
4
|
module Resources
|
5
5
|
class Brand
|
6
|
+
# Some parameter documentations has been truncated, see
|
7
|
+
# {BrandDev::Models::BrandRetrieveParams} for more details.
|
8
|
+
#
|
6
9
|
# Retrieve brand data by domain
|
7
10
|
#
|
8
|
-
# @overload retrieve(domain:, force_language: nil, request_options: {})
|
11
|
+
# @overload retrieve(domain:, force_language: nil, max_speed: nil, request_options: {})
|
9
12
|
#
|
10
13
|
# @param domain [String] Domain name to retrieve brand data for
|
11
14
|
#
|
12
15
|
# @param force_language [Symbol, BrandDev::Models::BrandRetrieveParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data
|
13
16
|
#
|
17
|
+
# @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
|
18
|
+
#
|
14
19
|
# @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}, nil]
|
15
20
|
#
|
16
21
|
# @return [BrandDev::Models::BrandRetrieveResponse]
|
@@ -21,7 +26,7 @@ module BrandDev
|
|
21
26
|
@client.request(
|
22
27
|
method: :get,
|
23
28
|
path: "brand/retrieve",
|
24
|
-
query: parsed,
|
29
|
+
query: parsed.transform_keys(max_speed: "maxSpeed"),
|
25
30
|
model: BrandDev::Models::BrandRetrieveResponse,
|
26
31
|
options: options
|
27
32
|
)
|
@@ -78,6 +83,31 @@ module BrandDev
|
|
78
83
|
)
|
79
84
|
end
|
80
85
|
|
86
|
+
# Signal that you may fetch brand data for a particular domain soon to improve
|
87
|
+
# latency. This endpoint does not charge credits and is available for paid
|
88
|
+
# customers to optimize future requests. [You must be on a paid plan to use this
|
89
|
+
# endpoint]
|
90
|
+
#
|
91
|
+
# @overload prefetch(domain:, request_options: {})
|
92
|
+
#
|
93
|
+
# @param domain [String] Domain name to prefetch brand data for
|
94
|
+
#
|
95
|
+
# @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}, nil]
|
96
|
+
#
|
97
|
+
# @return [BrandDev::Models::BrandPrefetchResponse]
|
98
|
+
#
|
99
|
+
# @see BrandDev::Models::BrandPrefetchParams
|
100
|
+
def prefetch(params)
|
101
|
+
parsed, options = BrandDev::BrandPrefetchParams.dump_request(params)
|
102
|
+
@client.request(
|
103
|
+
method: :post,
|
104
|
+
path: "brand/prefetch",
|
105
|
+
body: parsed,
|
106
|
+
model: BrandDev::Models::BrandPrefetchResponse,
|
107
|
+
options: options
|
108
|
+
)
|
109
|
+
end
|
110
|
+
|
81
111
|
# Retrieve brand data by stock ticker (e.g. AAPL, TSLA, etc.)
|
82
112
|
#
|
83
113
|
# @overload retrieve_by_ticker(ticker:, request_options: {})
|
data/lib/brand_dev/version.rb
CHANGED
data/lib/brand_dev.rb
CHANGED
@@ -54,6 +54,8 @@ require_relative "brand_dev/models/brand_ai_query_params"
|
|
54
54
|
require_relative "brand_dev/models/brand_ai_query_response"
|
55
55
|
require_relative "brand_dev/models/brand_identify_from_transaction_params"
|
56
56
|
require_relative "brand_dev/models/brand_identify_from_transaction_response"
|
57
|
+
require_relative "brand_dev/models/brand_prefetch_params"
|
58
|
+
require_relative "brand_dev/models/brand_prefetch_response"
|
57
59
|
require_relative "brand_dev/models/brand_retrieve_by_ticker_params"
|
58
60
|
require_relative "brand_dev/models/brand_retrieve_by_ticker_response"
|
59
61
|
require_relative "brand_dev/models/brand_retrieve_naics_params"
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module BrandDev
|
4
|
+
module Models
|
5
|
+
class BrandPrefetchParams < BrandDev::Internal::Type::BaseModel
|
6
|
+
extend BrandDev::Internal::Type::RequestParameters::Converter
|
7
|
+
include BrandDev::Internal::Type::RequestParameters
|
8
|
+
|
9
|
+
OrHash =
|
10
|
+
T.type_alias do
|
11
|
+
T.any(BrandDev::BrandPrefetchParams, BrandDev::Internal::AnyHash)
|
12
|
+
end
|
13
|
+
|
14
|
+
# Domain name to prefetch brand data for
|
15
|
+
sig { returns(String) }
|
16
|
+
attr_accessor :domain
|
17
|
+
|
18
|
+
sig do
|
19
|
+
params(
|
20
|
+
domain: String,
|
21
|
+
request_options: BrandDev::RequestOptions::OrHash
|
22
|
+
).returns(T.attached_class)
|
23
|
+
end
|
24
|
+
def self.new(
|
25
|
+
# Domain name to prefetch brand data for
|
26
|
+
domain:,
|
27
|
+
request_options: {}
|
28
|
+
)
|
29
|
+
end
|
30
|
+
|
31
|
+
sig do
|
32
|
+
override.returns(
|
33
|
+
{ domain: String, request_options: BrandDev::RequestOptions }
|
34
|
+
)
|
35
|
+
end
|
36
|
+
def to_hash
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module BrandDev
|
4
|
+
module Models
|
5
|
+
class BrandPrefetchResponse < BrandDev::Internal::Type::BaseModel
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(
|
9
|
+
BrandDev::Models::BrandPrefetchResponse,
|
10
|
+
BrandDev::Internal::AnyHash
|
11
|
+
)
|
12
|
+
end
|
13
|
+
|
14
|
+
# The domain that was queued for prefetching
|
15
|
+
sig { returns(T.nilable(String)) }
|
16
|
+
attr_reader :domain
|
17
|
+
|
18
|
+
sig { params(domain: String).void }
|
19
|
+
attr_writer :domain
|
20
|
+
|
21
|
+
# Success message
|
22
|
+
sig { returns(T.nilable(String)) }
|
23
|
+
attr_reader :message
|
24
|
+
|
25
|
+
sig { params(message: String).void }
|
26
|
+
attr_writer :message
|
27
|
+
|
28
|
+
# Status of the response, e.g., 'ok'
|
29
|
+
sig { returns(T.nilable(String)) }
|
30
|
+
attr_reader :status
|
31
|
+
|
32
|
+
sig { params(status: String).void }
|
33
|
+
attr_writer :status
|
34
|
+
|
35
|
+
sig do
|
36
|
+
params(domain: String, message: String, status: String).returns(
|
37
|
+
T.attached_class
|
38
|
+
)
|
39
|
+
end
|
40
|
+
def self.new(
|
41
|
+
# The domain that was queued for prefetching
|
42
|
+
domain: nil,
|
43
|
+
# Success message
|
44
|
+
message: nil,
|
45
|
+
# Status of the response, e.g., 'ok'
|
46
|
+
status: nil
|
47
|
+
)
|
48
|
+
end
|
49
|
+
|
50
|
+
sig do
|
51
|
+
override.returns({ domain: String, message: String, status: String })
|
52
|
+
end
|
53
|
+
def to_hash
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -30,11 +30,21 @@ module BrandDev
|
|
30
30
|
end
|
31
31
|
attr_writer :force_language
|
32
32
|
|
33
|
+
# Optional parameter to optimize the API call for maximum speed. When set to true,
|
34
|
+
# the API will skip social media data extraction and external service calls (like
|
35
|
+
# Crunchbase) to return results faster with basic brand information only.
|
36
|
+
sig { returns(T.nilable(T::Boolean)) }
|
37
|
+
attr_reader :max_speed
|
38
|
+
|
39
|
+
sig { params(max_speed: T::Boolean).void }
|
40
|
+
attr_writer :max_speed
|
41
|
+
|
33
42
|
sig do
|
34
43
|
params(
|
35
44
|
domain: String,
|
36
45
|
force_language:
|
37
46
|
BrandDev::BrandRetrieveParams::ForceLanguage::OrSymbol,
|
47
|
+
max_speed: T::Boolean,
|
38
48
|
request_options: BrandDev::RequestOptions::OrHash
|
39
49
|
).returns(T.attached_class)
|
40
50
|
end
|
@@ -43,6 +53,10 @@ module BrandDev
|
|
43
53
|
domain:,
|
44
54
|
# Optional parameter to force the language of the retrieved brand data
|
45
55
|
force_language: nil,
|
56
|
+
# Optional parameter to optimize the API call for maximum speed. When set to true,
|
57
|
+
# the API will skip social media data extraction and external service calls (like
|
58
|
+
# Crunchbase) to return results faster with basic brand information only.
|
59
|
+
max_speed: nil,
|
46
60
|
request_options: {}
|
47
61
|
)
|
48
62
|
end
|
@@ -53,6 +67,7 @@ module BrandDev
|
|
53
67
|
domain: String,
|
54
68
|
force_language:
|
55
69
|
BrandDev::BrandRetrieveParams::ForceLanguage::OrSymbol,
|
70
|
+
max_speed: T::Boolean,
|
56
71
|
request_options: BrandDev::RequestOptions
|
57
72
|
}
|
58
73
|
)
|
data/rbi/brand_dev/models.rbi
CHANGED
@@ -6,6 +6,8 @@ module BrandDev
|
|
6
6
|
BrandIdentifyFromTransactionParams =
|
7
7
|
BrandDev::Models::BrandIdentifyFromTransactionParams
|
8
8
|
|
9
|
+
BrandPrefetchParams = BrandDev::Models::BrandPrefetchParams
|
10
|
+
|
9
11
|
BrandRetrieveByTickerParams = BrandDev::Models::BrandRetrieveByTickerParams
|
10
12
|
|
11
13
|
BrandRetrieveNaicsParams = BrandDev::Models::BrandRetrieveNaicsParams
|
@@ -9,6 +9,7 @@ module BrandDev
|
|
9
9
|
domain: String,
|
10
10
|
force_language:
|
11
11
|
BrandDev::BrandRetrieveParams::ForceLanguage::OrSymbol,
|
12
|
+
max_speed: T::Boolean,
|
12
13
|
request_options: BrandDev::RequestOptions::OrHash
|
13
14
|
).returns(BrandDev::Models::BrandRetrieveResponse)
|
14
15
|
end
|
@@ -17,6 +18,10 @@ module BrandDev
|
|
17
18
|
domain:,
|
18
19
|
# Optional parameter to force the language of the retrieved brand data
|
19
20
|
force_language: nil,
|
21
|
+
# Optional parameter to optimize the API call for maximum speed. When set to true,
|
22
|
+
# the API will skip social media data extraction and external service calls (like
|
23
|
+
# Crunchbase) to return results faster with basic brand information only.
|
24
|
+
max_speed: nil,
|
20
25
|
request_options: {}
|
21
26
|
)
|
22
27
|
end
|
@@ -59,6 +64,23 @@ module BrandDev
|
|
59
64
|
)
|
60
65
|
end
|
61
66
|
|
67
|
+
# Signal that you may fetch brand data for a particular domain soon to improve
|
68
|
+
# latency. This endpoint does not charge credits and is available for paid
|
69
|
+
# customers to optimize future requests. [You must be on a paid plan to use this
|
70
|
+
# endpoint]
|
71
|
+
sig do
|
72
|
+
params(
|
73
|
+
domain: String,
|
74
|
+
request_options: BrandDev::RequestOptions::OrHash
|
75
|
+
).returns(BrandDev::Models::BrandPrefetchResponse)
|
76
|
+
end
|
77
|
+
def prefetch(
|
78
|
+
# Domain name to prefetch brand data for
|
79
|
+
domain:,
|
80
|
+
request_options: {}
|
81
|
+
)
|
82
|
+
end
|
83
|
+
|
62
84
|
# Retrieve brand data by stock ticker (e.g. AAPL, TSLA, etc.)
|
63
85
|
sig do
|
64
86
|
params(
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module BrandDev
|
2
|
+
module Models
|
3
|
+
type brand_prefetch_params =
|
4
|
+
{ domain: String } & BrandDev::Internal::Type::request_parameters
|
5
|
+
|
6
|
+
class BrandPrefetchParams < BrandDev::Internal::Type::BaseModel
|
7
|
+
extend BrandDev::Internal::Type::RequestParameters::Converter
|
8
|
+
include BrandDev::Internal::Type::RequestParameters
|
9
|
+
|
10
|
+
attr_accessor domain: String
|
11
|
+
|
12
|
+
def initialize: (
|
13
|
+
domain: String,
|
14
|
+
?request_options: BrandDev::request_opts
|
15
|
+
) -> void
|
16
|
+
|
17
|
+
def to_hash: -> {
|
18
|
+
domain: String,
|
19
|
+
request_options: BrandDev::RequestOptions
|
20
|
+
}
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module BrandDev
|
2
|
+
module Models
|
3
|
+
type brand_prefetch_response =
|
4
|
+
{ domain: String, message: String, status: String }
|
5
|
+
|
6
|
+
class BrandPrefetchResponse < BrandDev::Internal::Type::BaseModel
|
7
|
+
attr_reader domain: String?
|
8
|
+
|
9
|
+
def domain=: (String) -> String
|
10
|
+
|
11
|
+
attr_reader message: String?
|
12
|
+
|
13
|
+
def message=: (String) -> String
|
14
|
+
|
15
|
+
attr_reader status: String?
|
16
|
+
|
17
|
+
def status=: (String) -> String
|
18
|
+
|
19
|
+
def initialize: (
|
20
|
+
?domain: String,
|
21
|
+
?message: String,
|
22
|
+
?status: String
|
23
|
+
) -> void
|
24
|
+
|
25
|
+
def to_hash: -> { domain: String, message: String, status: String }
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -3,7 +3,8 @@ module BrandDev
|
|
3
3
|
type brand_retrieve_params =
|
4
4
|
{
|
5
5
|
domain: String,
|
6
|
-
force_language: BrandDev::Models::BrandRetrieveParams::force_language
|
6
|
+
force_language: BrandDev::Models::BrandRetrieveParams::force_language,
|
7
|
+
max_speed: bool
|
7
8
|
}
|
8
9
|
& BrandDev::Internal::Type::request_parameters
|
9
10
|
|
@@ -19,15 +20,21 @@ module BrandDev
|
|
19
20
|
BrandDev::Models::BrandRetrieveParams::force_language
|
20
21
|
) -> BrandDev::Models::BrandRetrieveParams::force_language
|
21
22
|
|
23
|
+
attr_reader max_speed: bool?
|
24
|
+
|
25
|
+
def max_speed=: (bool) -> bool
|
26
|
+
|
22
27
|
def initialize: (
|
23
28
|
domain: String,
|
24
29
|
?force_language: BrandDev::Models::BrandRetrieveParams::force_language,
|
30
|
+
?max_speed: bool,
|
25
31
|
?request_options: BrandDev::request_opts
|
26
32
|
) -> void
|
27
33
|
|
28
34
|
def to_hash: -> {
|
29
35
|
domain: String,
|
30
36
|
force_language: BrandDev::Models::BrandRetrieveParams::force_language,
|
37
|
+
max_speed: bool,
|
31
38
|
request_options: BrandDev::RequestOptions
|
32
39
|
}
|
33
40
|
|
data/sig/brand_dev/models.rbs
CHANGED
@@ -3,6 +3,8 @@ module BrandDev
|
|
3
3
|
|
4
4
|
class BrandIdentifyFromTransactionParams = BrandDev::Models::BrandIdentifyFromTransactionParams
|
5
5
|
|
6
|
+
class BrandPrefetchParams = BrandDev::Models::BrandPrefetchParams
|
7
|
+
|
6
8
|
class BrandRetrieveByTickerParams = BrandDev::Models::BrandRetrieveByTickerParams
|
7
9
|
|
8
10
|
class BrandRetrieveNaicsParams = BrandDev::Models::BrandRetrieveNaicsParams
|
@@ -4,6 +4,7 @@ module BrandDev
|
|
4
4
|
def retrieve: (
|
5
5
|
domain: String,
|
6
6
|
?force_language: BrandDev::Models::BrandRetrieveParams::force_language,
|
7
|
+
?max_speed: bool,
|
7
8
|
?request_options: BrandDev::request_opts
|
8
9
|
) -> BrandDev::Models::BrandRetrieveResponse
|
9
10
|
|
@@ -19,6 +20,11 @@ module BrandDev
|
|
19
20
|
?request_options: BrandDev::request_opts
|
20
21
|
) -> BrandDev::Models::BrandIdentifyFromTransactionResponse
|
21
22
|
|
23
|
+
def prefetch: (
|
24
|
+
domain: String,
|
25
|
+
?request_options: BrandDev::request_opts
|
26
|
+
) -> BrandDev::Models::BrandPrefetchResponse
|
27
|
+
|
22
28
|
def retrieve_by_ticker: (
|
23
29
|
ticker: String,
|
24
30
|
?request_options: BrandDev::request_opts
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brand.dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.alpha.
|
4
|
+
version: 0.1.0.pre.alpha.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brand Dev
|
@@ -58,6 +58,8 @@ files:
|
|
58
58
|
- lib/brand_dev/models/brand_ai_query_response.rb
|
59
59
|
- lib/brand_dev/models/brand_identify_from_transaction_params.rb
|
60
60
|
- lib/brand_dev/models/brand_identify_from_transaction_response.rb
|
61
|
+
- lib/brand_dev/models/brand_prefetch_params.rb
|
62
|
+
- lib/brand_dev/models/brand_prefetch_response.rb
|
61
63
|
- lib/brand_dev/models/brand_retrieve_by_ticker_params.rb
|
62
64
|
- lib/brand_dev/models/brand_retrieve_by_ticker_response.rb
|
63
65
|
- lib/brand_dev/models/brand_retrieve_naics_params.rb
|
@@ -93,6 +95,8 @@ files:
|
|
93
95
|
- rbi/brand_dev/models/brand_ai_query_response.rbi
|
94
96
|
- rbi/brand_dev/models/brand_identify_from_transaction_params.rbi
|
95
97
|
- rbi/brand_dev/models/brand_identify_from_transaction_response.rbi
|
98
|
+
- rbi/brand_dev/models/brand_prefetch_params.rbi
|
99
|
+
- rbi/brand_dev/models/brand_prefetch_response.rbi
|
96
100
|
- rbi/brand_dev/models/brand_retrieve_by_ticker_params.rbi
|
97
101
|
- rbi/brand_dev/models/brand_retrieve_by_ticker_response.rbi
|
98
102
|
- rbi/brand_dev/models/brand_retrieve_naics_params.rbi
|
@@ -127,6 +131,8 @@ files:
|
|
127
131
|
- sig/brand_dev/models/brand_ai_query_response.rbs
|
128
132
|
- sig/brand_dev/models/brand_identify_from_transaction_params.rbs
|
129
133
|
- sig/brand_dev/models/brand_identify_from_transaction_response.rbs
|
134
|
+
- sig/brand_dev/models/brand_prefetch_params.rbs
|
135
|
+
- sig/brand_dev/models/brand_prefetch_response.rbs
|
130
136
|
- sig/brand_dev/models/brand_retrieve_by_ticker_params.rbs
|
131
137
|
- sig/brand_dev/models/brand_retrieve_by_ticker_response.rbs
|
132
138
|
- sig/brand_dev/models/brand_retrieve_naics_params.rbs
|