brand.dev 0.18.0 → 0.20.0

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.
@@ -0,0 +1,30 @@
1
+ module BrandDev
2
+ module Models
3
+ type brand_prefetch_by_email_params =
4
+ { email: String, timeout_ms: Integer }
5
+ & BrandDev::Internal::Type::request_parameters
6
+
7
+ class BrandPrefetchByEmailParams < BrandDev::Internal::Type::BaseModel
8
+ extend BrandDev::Internal::Type::RequestParameters::Converter
9
+ include BrandDev::Internal::Type::RequestParameters
10
+
11
+ attr_accessor email: String
12
+
13
+ attr_reader timeout_ms: Integer?
14
+
15
+ def timeout_ms=: (Integer) -> Integer
16
+
17
+ def initialize: (
18
+ email: String,
19
+ ?timeout_ms: Integer,
20
+ ?request_options: BrandDev::request_opts
21
+ ) -> void
22
+
23
+ def to_hash: -> {
24
+ email: String,
25
+ timeout_ms: Integer,
26
+ request_options: BrandDev::RequestOptions
27
+ }
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,28 @@
1
+ module BrandDev
2
+ module Models
3
+ type brand_prefetch_by_email_response =
4
+ { domain: String, message: String, status: String }
5
+
6
+ class BrandPrefetchByEmailResponse < 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
@@ -1,10 +1,14 @@
1
1
  module BrandDev
2
+ class BrandAIProductsParams = BrandDev::Models::BrandAIProductsParams
3
+
2
4
  class BrandAIQueryParams = BrandDev::Models::BrandAIQueryParams
3
5
 
4
6
  class BrandFontsParams = BrandDev::Models::BrandFontsParams
5
7
 
6
8
  class BrandIdentifyFromTransactionParams = BrandDev::Models::BrandIdentifyFromTransactionParams
7
9
 
10
+ class BrandPrefetchByEmailParams = BrandDev::Models::BrandPrefetchByEmailParams
11
+
8
12
  class BrandPrefetchParams = BrandDev::Models::BrandPrefetchParams
9
13
 
10
14
  class BrandRetrieveByEmailParams = BrandDev::Models::BrandRetrieveByEmailParams
@@ -9,6 +9,13 @@ module BrandDev
9
9
  ?request_options: BrandDev::request_opts
10
10
  ) -> BrandDev::Models::BrandRetrieveResponse
11
11
 
12
+ def ai_products: (
13
+ domain: String,
14
+ ?max_products: Integer,
15
+ ?timeout_ms: Integer,
16
+ ?request_options: BrandDev::request_opts
17
+ ) -> BrandDev::Models::BrandAIProductsResponse
18
+
12
19
  def ai_query: (
13
20
  data_to_extract: ::Array[BrandDev::BrandAIQueryParams::DataToExtract],
14
21
  domain: String,
@@ -41,6 +48,12 @@ module BrandDev
41
48
  ?request_options: BrandDev::request_opts
42
49
  ) -> BrandDev::Models::BrandPrefetchResponse
43
50
 
51
+ def prefetch_by_email: (
52
+ email: String,
53
+ ?timeout_ms: Integer,
54
+ ?request_options: BrandDev::request_opts
55
+ ) -> BrandDev::Models::BrandPrefetchByEmailResponse
56
+
44
57
  def retrieve_by_email: (
45
58
  email: String,
46
59
  ?force_language: BrandDev::Models::BrandRetrieveByEmailParams::force_language,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brand.dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brand Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-14 00:00:00.000000000 Z
11
+ date: 2026-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool
@@ -54,12 +54,16 @@ files:
54
54
  - lib/brand_dev/internal/type/unknown.rb
55
55
  - lib/brand_dev/internal/util.rb
56
56
  - lib/brand_dev/models.rb
57
+ - lib/brand_dev/models/brand_ai_products_params.rb
58
+ - lib/brand_dev/models/brand_ai_products_response.rb
57
59
  - lib/brand_dev/models/brand_ai_query_params.rb
58
60
  - lib/brand_dev/models/brand_ai_query_response.rb
59
61
  - lib/brand_dev/models/brand_fonts_params.rb
60
62
  - lib/brand_dev/models/brand_fonts_response.rb
61
63
  - lib/brand_dev/models/brand_identify_from_transaction_params.rb
62
64
  - lib/brand_dev/models/brand_identify_from_transaction_response.rb
65
+ - lib/brand_dev/models/brand_prefetch_by_email_params.rb
66
+ - lib/brand_dev/models/brand_prefetch_by_email_response.rb
63
67
  - lib/brand_dev/models/brand_prefetch_params.rb
64
68
  - lib/brand_dev/models/brand_prefetch_response.rb
65
69
  - lib/brand_dev/models/brand_retrieve_by_email_params.rb
@@ -103,12 +107,16 @@ files:
103
107
  - rbi/brand_dev/internal/type/unknown.rbi
104
108
  - rbi/brand_dev/internal/util.rbi
105
109
  - rbi/brand_dev/models.rbi
110
+ - rbi/brand_dev/models/brand_ai_products_params.rbi
111
+ - rbi/brand_dev/models/brand_ai_products_response.rbi
106
112
  - rbi/brand_dev/models/brand_ai_query_params.rbi
107
113
  - rbi/brand_dev/models/brand_ai_query_response.rbi
108
114
  - rbi/brand_dev/models/brand_fonts_params.rbi
109
115
  - rbi/brand_dev/models/brand_fonts_response.rbi
110
116
  - rbi/brand_dev/models/brand_identify_from_transaction_params.rbi
111
117
  - rbi/brand_dev/models/brand_identify_from_transaction_response.rbi
118
+ - rbi/brand_dev/models/brand_prefetch_by_email_params.rbi
119
+ - rbi/brand_dev/models/brand_prefetch_by_email_response.rbi
112
120
  - rbi/brand_dev/models/brand_prefetch_params.rbi
113
121
  - rbi/brand_dev/models/brand_prefetch_response.rbi
114
122
  - rbi/brand_dev/models/brand_retrieve_by_email_params.rbi
@@ -151,12 +159,16 @@ files:
151
159
  - sig/brand_dev/internal/type/unknown.rbs
152
160
  - sig/brand_dev/internal/util.rbs
153
161
  - sig/brand_dev/models.rbs
162
+ - sig/brand_dev/models/brand_ai_products_params.rbs
163
+ - sig/brand_dev/models/brand_ai_products_response.rbs
154
164
  - sig/brand_dev/models/brand_ai_query_params.rbs
155
165
  - sig/brand_dev/models/brand_ai_query_response.rbs
156
166
  - sig/brand_dev/models/brand_fonts_params.rbs
157
167
  - sig/brand_dev/models/brand_fonts_response.rbs
158
168
  - sig/brand_dev/models/brand_identify_from_transaction_params.rbs
159
169
  - sig/brand_dev/models/brand_identify_from_transaction_response.rbs
170
+ - sig/brand_dev/models/brand_prefetch_by_email_params.rbs
171
+ - sig/brand_dev/models/brand_prefetch_by_email_response.rbs
160
172
  - sig/brand_dev/models/brand_prefetch_params.rbs
161
173
  - sig/brand_dev/models/brand_prefetch_response.rbs
162
174
  - sig/brand_dev/models/brand_retrieve_by_email_params.rbs