brand.dev 0.1.0 → 0.2.1

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.
@@ -41,8 +41,10 @@ module BrandDev
41
41
  colors: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Color],
42
42
  description: String,
43
43
  domain: String,
44
+ email: String,
44
45
  is_nsfw: bool,
45
46
  logos: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo],
47
+ phone: String,
46
48
  slogan: String,
47
49
  socials: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Social],
48
50
  stock: BrandDev::Models::BrandRetrieveResponse::Brand::Stock,
@@ -76,6 +78,10 @@ module BrandDev
76
78
 
77
79
  def domain=: (String) -> String
78
80
 
81
+ attr_reader email: String?
82
+
83
+ def email=: (String) -> String
84
+
79
85
  attr_reader is_nsfw: bool?
80
86
 
81
87
  def is_nsfw=: (bool) -> bool
@@ -86,6 +92,10 @@ module BrandDev
86
92
  ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo]
87
93
  ) -> ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo]
88
94
 
95
+ attr_reader phone: String?
96
+
97
+ def phone=: (String) -> String
98
+
89
99
  attr_reader slogan: String?
90
100
 
91
101
  def slogan=: (String) -> String
@@ -112,8 +122,10 @@ module BrandDev
112
122
  ?colors: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Color],
113
123
  ?description: String,
114
124
  ?domain: String,
125
+ ?email: String,
115
126
  ?is_nsfw: bool,
116
127
  ?logos: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo],
128
+ ?phone: String,
117
129
  ?slogan: String,
118
130
  ?socials: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Social],
119
131
  ?stock: BrandDev::Models::BrandRetrieveResponse::Brand::Stock,
@@ -126,8 +138,10 @@ module BrandDev
126
138
  colors: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Color],
127
139
  description: String,
128
140
  domain: String,
141
+ email: String,
129
142
  is_nsfw: bool,
130
143
  logos: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo],
144
+ phone: String,
131
145
  slogan: String,
132
146
  socials: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Social],
133
147
  stock: BrandDev::Models::BrandRetrieveResponse::Brand::Stock,
@@ -247,9 +261,14 @@ module BrandDev
247
261
  def to_hash: -> { hex: String, name: String }
248
262
  end
249
263
 
250
- type resolution = { height: Integer, width: Integer }
264
+ type resolution =
265
+ { aspect_ratio: Float, height: Integer, width: Integer }
251
266
 
252
267
  class Resolution < BrandDev::Internal::Type::BaseModel
268
+ attr_reader aspect_ratio: Float?
269
+
270
+ def aspect_ratio=: (Float) -> Float
271
+
253
272
  attr_reader height: Integer?
254
273
 
255
274
  def height=: (Integer) -> Integer
@@ -258,9 +277,17 @@ module BrandDev
258
277
 
259
278
  def width=: (Integer) -> Integer
260
279
 
261
- def initialize: (?height: Integer, ?width: Integer) -> void
262
-
263
- def to_hash: -> { height: Integer, width: Integer }
280
+ def initialize: (
281
+ ?aspect_ratio: Float,
282
+ ?height: Integer,
283
+ ?width: Integer
284
+ ) -> void
285
+
286
+ def to_hash: -> {
287
+ aspect_ratio: Float,
288
+ height: Integer,
289
+ width: Integer
290
+ }
264
291
  end
265
292
  end
266
293
 
@@ -283,9 +310,9 @@ module BrandDev
283
310
  type logo =
284
311
  {
285
312
  colors: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo::Color],
286
- group: Integer,
287
- mode: String,
313
+ mode: BrandDev::Models::BrandRetrieveResponse::Brand::Logo::mode,
288
314
  resolution: BrandDev::Models::BrandRetrieveResponse::Brand::Logo::Resolution,
315
+ type: BrandDev::Models::BrandRetrieveResponse::Brand::Logo::type_,
289
316
  url: String
290
317
  }
291
318
 
@@ -296,13 +323,11 @@ module BrandDev
296
323
  ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo::Color]
297
324
  ) -> ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo::Color]
298
325
 
299
- attr_reader group: Integer?
300
-
301
- def group=: (Integer) -> Integer
302
-
303
- attr_reader mode: String?
326
+ attr_reader mode: BrandDev::Models::BrandRetrieveResponse::Brand::Logo::mode?
304
327
 
305
- def mode=: (String) -> String
328
+ def mode=: (
329
+ BrandDev::Models::BrandRetrieveResponse::Brand::Logo::mode
330
+ ) -> BrandDev::Models::BrandRetrieveResponse::Brand::Logo::mode
306
331
 
307
332
  attr_reader resolution: BrandDev::Models::BrandRetrieveResponse::Brand::Logo::Resolution?
308
333
 
@@ -310,23 +335,29 @@ module BrandDev
310
335
  BrandDev::Models::BrandRetrieveResponse::Brand::Logo::Resolution
311
336
  ) -> BrandDev::Models::BrandRetrieveResponse::Brand::Logo::Resolution
312
337
 
338
+ attr_reader type: BrandDev::Models::BrandRetrieveResponse::Brand::Logo::type_?
339
+
340
+ def type=: (
341
+ BrandDev::Models::BrandRetrieveResponse::Brand::Logo::type_
342
+ ) -> BrandDev::Models::BrandRetrieveResponse::Brand::Logo::type_
343
+
313
344
  attr_reader url: String?
314
345
 
315
346
  def url=: (String) -> String
316
347
 
317
348
  def initialize: (
318
349
  ?colors: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo::Color],
319
- ?group: Integer,
320
- ?mode: String,
350
+ ?mode: BrandDev::Models::BrandRetrieveResponse::Brand::Logo::mode,
321
351
  ?resolution: BrandDev::Models::BrandRetrieveResponse::Brand::Logo::Resolution,
352
+ ?type: BrandDev::Models::BrandRetrieveResponse::Brand::Logo::type_,
322
353
  ?url: String
323
354
  ) -> void
324
355
 
325
356
  def to_hash: -> {
326
357
  colors: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo::Color],
327
- group: Integer,
328
- mode: String,
358
+ mode: BrandDev::Models::BrandRetrieveResponse::Brand::Logo::mode,
329
359
  resolution: BrandDev::Models::BrandRetrieveResponse::Brand::Logo::Resolution,
360
+ type: BrandDev::Models::BrandRetrieveResponse::Brand::Logo::type_,
330
361
  url: String
331
362
  }
332
363
 
@@ -346,9 +377,26 @@ module BrandDev
346
377
  def to_hash: -> { hex: String, name: String }
347
378
  end
348
379
 
349
- type resolution = { height: Integer, width: Integer }
380
+ type mode = :light | :dark | :has_opaque_background
381
+
382
+ module Mode
383
+ extend BrandDev::Internal::Type::Enum
384
+
385
+ LIGHT: :light
386
+ DARK: :dark
387
+ HAS_OPAQUE_BACKGROUND: :has_opaque_background
388
+
389
+ def self?.values: -> ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo::mode]
390
+ end
391
+
392
+ type resolution =
393
+ { aspect_ratio: Float, height: Integer, width: Integer }
350
394
 
351
395
  class Resolution < BrandDev::Internal::Type::BaseModel
396
+ attr_reader aspect_ratio: Float?
397
+
398
+ def aspect_ratio=: (Float) -> Float
399
+
352
400
  attr_reader height: Integer?
353
401
 
354
402
  def height=: (Integer) -> Integer
@@ -357,9 +405,28 @@ module BrandDev
357
405
 
358
406
  def width=: (Integer) -> Integer
359
407
 
360
- def initialize: (?height: Integer, ?width: Integer) -> void
408
+ def initialize: (
409
+ ?aspect_ratio: Float,
410
+ ?height: Integer,
411
+ ?width: Integer
412
+ ) -> void
413
+
414
+ def to_hash: -> {
415
+ aspect_ratio: Float,
416
+ height: Integer,
417
+ width: Integer
418
+ }
419
+ end
420
+
421
+ type type_ = :icon | :logo
422
+
423
+ module Type
424
+ extend BrandDev::Internal::Type::Enum
425
+
426
+ ICON: :icon
427
+ LOGO: :logo
361
428
 
362
- def to_hash: -> { height: Integer, width: Integer }
429
+ def self?.values: -> ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo::type_]
363
430
  end
364
431
  end
365
432
 
@@ -187,10 +187,9 @@ module BrandDev
187
187
  type logo =
188
188
  {
189
189
  colors: ::Array[BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Color],
190
- group: Integer,
191
- mode: String,
190
+ mode: BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::mode,
192
191
  resolution: BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Resolution,
193
- type: String,
192
+ type: BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::type_,
194
193
  url: String
195
194
  }
196
195
 
@@ -201,13 +200,11 @@ module BrandDev
201
200
  ::Array[BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Color]
202
201
  ) -> ::Array[BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Color]
203
202
 
204
- attr_reader group: Integer?
203
+ attr_reader mode: BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::mode?
205
204
 
206
- def group=: (Integer) -> Integer
207
-
208
- attr_reader mode: String?
209
-
210
- def mode=: (String) -> String
205
+ def mode=: (
206
+ BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::mode
207
+ ) -> BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::mode
211
208
 
212
209
  attr_reader resolution: BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Resolution?
213
210
 
@@ -215,9 +212,11 @@ module BrandDev
215
212
  BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Resolution
216
213
  ) -> BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Resolution
217
214
 
218
- attr_reader type: String?
215
+ attr_reader type: BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::type_?
219
216
 
220
- def type=: (String) -> String
217
+ def type=: (
218
+ BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::type_
219
+ ) -> BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::type_
221
220
 
222
221
  attr_reader url: String?
223
222
 
@@ -225,19 +224,17 @@ module BrandDev
225
224
 
226
225
  def initialize: (
227
226
  ?colors: ::Array[BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Color],
228
- ?group: Integer,
229
- ?mode: String,
227
+ ?mode: BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::mode,
230
228
  ?resolution: BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Resolution,
231
- ?type: String,
229
+ ?type: BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::type_,
232
230
  ?url: String
233
231
  ) -> void
234
232
 
235
233
  def to_hash: -> {
236
234
  colors: ::Array[BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Color],
237
- group: Integer,
238
- mode: String,
235
+ mode: BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::mode,
239
236
  resolution: BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Resolution,
240
- type: String,
237
+ type: BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::type_,
241
238
  url: String
242
239
  }
243
240
 
@@ -257,6 +254,18 @@ module BrandDev
257
254
  def to_hash: -> { hex: String, name: String }
258
255
  end
259
256
 
257
+ type mode = :light | :dark | :has_opaque_background
258
+
259
+ module Mode
260
+ extend BrandDev::Internal::Type::Enum
261
+
262
+ LIGHT: :light
263
+ DARK: :dark
264
+ HAS_OPAQUE_BACKGROUND: :has_opaque_background
265
+
266
+ def self?.values: -> ::Array[BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::mode]
267
+ end
268
+
260
269
  type resolution =
261
270
  { aspect_ratio: Float, height: Integer, width: Integer }
262
271
 
@@ -285,6 +294,17 @@ module BrandDev
285
294
  width: Integer
286
295
  }
287
296
  end
297
+
298
+ type type_ = :icon | :logo
299
+
300
+ module Type
301
+ extend BrandDev::Internal::Type::Enum
302
+
303
+ ICON: :icon
304
+ LOGO: :logo
305
+
306
+ def self?.values: -> ::Array[BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::type_]
307
+ end
288
308
  end
289
309
  end
290
310
  end
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.1.0
4
+ version: 0.2.1
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-07-31 00:00:00.000000000 Z
11
+ date: 2025-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool