brand.dev 0.9.0 → 0.11.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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/README.md +1 -1
  4. data/lib/brand_dev/models/brand_identify_from_transaction_params.rb +80 -1
  5. data/lib/brand_dev/models/brand_retrieve_by_email_params.rb +116 -0
  6. data/lib/brand_dev/models/brand_retrieve_by_email_response.rb +850 -0
  7. data/lib/brand_dev/models/brand_retrieve_by_name_params.rb +115 -0
  8. data/lib/brand_dev/models/brand_retrieve_by_name_response.rb +850 -0
  9. data/lib/brand_dev/models/brand_retrieve_by_ticker_params.rb +204 -0
  10. data/lib/brand_dev/models/brand_retrieve_by_ticker_response.rb +850 -0
  11. data/lib/brand_dev/models/brand_retrieve_params.rb +1 -112
  12. data/lib/brand_dev/models.rb +6 -0
  13. data/lib/brand_dev/resources/brand.rb +109 -11
  14. data/lib/brand_dev/version.rb +1 -1
  15. data/lib/brand_dev.rb +6 -0
  16. data/rbi/brand_dev/models/brand_identify_from_transaction_params.rbi +324 -0
  17. data/rbi/brand_dev/models/brand_retrieve_by_email_params.rbi +386 -0
  18. data/rbi/brand_dev/models/brand_retrieve_by_email_response.rbi +2590 -0
  19. data/rbi/brand_dev/models/brand_retrieve_by_name_params.rbi +384 -0
  20. data/rbi/brand_dev/models/brand_retrieve_by_name_response.rbi +2588 -0
  21. data/rbi/brand_dev/models/brand_retrieve_by_ticker_params.rbi +790 -0
  22. data/rbi/brand_dev/models/brand_retrieve_by_ticker_response.rbi +2590 -0
  23. data/rbi/brand_dev/models/brand_retrieve_params.rbi +0 -437
  24. data/rbi/brand_dev/models.rbi +6 -0
  25. data/rbi/brand_dev/resources/brand.rbi +108 -17
  26. data/sig/brand_dev/models/brand_identify_from_transaction_params.rbs +133 -1
  27. data/sig/brand_dev/models/brand_retrieve_by_email_params.rbs +162 -0
  28. data/sig/brand_dev/models/brand_retrieve_by_email_response.rbs +1076 -0
  29. data/sig/brand_dev/models/brand_retrieve_by_name_params.rbs +162 -0
  30. data/sig/brand_dev/models/brand_retrieve_by_name_response.rbs +1076 -0
  31. data/sig/brand_dev/models/brand_retrieve_by_ticker_params.rbs +324 -0
  32. data/sig/brand_dev/models/brand_retrieve_by_ticker_response.rbs +1076 -0
  33. data/sig/brand_dev/models/brand_retrieve_params.rbs +0 -176
  34. data/sig/brand_dev/models.rbs +6 -0
  35. data/sig/brand_dev/resources/brand.rbs +27 -3
  36. metadata +20 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c3a1280a9319221f78b5222ea27eede67bbd8ad055c7335f7bdd1fe88d86cee
4
- data.tar.gz: 4179a6c3be67216d7ca3f461067208c875df78b0cd487f86559c86ca200650ea
3
+ metadata.gz: 920a850b162b14fe50b1e7d8340033876fc5db6f65efbbe29d42be24fcc72e0c
4
+ data.tar.gz: 1f5f0c158d3043af09cc51136e79c167fd2eb6828c6dae46eeb30687fdc8f283
5
5
  SHA512:
6
- metadata.gz: 06d6d103252a35cdb4cb5f4307b1948ece2af6e7bf15454ab2e430d874a2ecf09d166e6299b8913f6d1740785a67f3307d088f978bd577a964425c235d7f1223
7
- data.tar.gz: 601b21ade9ddc88febd299d2b57f6c85b4fd0ae2a568ce5c8fd47972b63c0e2709fc4e4db38260b11c1c43566d3b13d81a26c5d72fd65b7df46d270333cb7f96
6
+ metadata.gz: eab77e1e67836bd1073ccfaaaaa4c8b54cc2fa3a172162dbb8d78fd5666daa968d23e100fcaa77d4263fbbe08b081fb609ea0fced6b926b4426aec680c10f9b4
7
+ data.tar.gz: 1d84ee54df246a557339922007418db42325442c18fa35ef41d7ac4979c5a9c7ebf5bf0582d206c8136422186d625641f04285f4f40730e26c4732ed30082487
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.0 (2025-10-31)
4
+
5
+ Full Changelog: [v0.10.0...v0.11.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.10.0...v0.11.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([f8b29b1](https://github.com/brand-dot-dev/ruby-sdk/commit/f8b29b1ab6d654d4fd664ad46c19dd5cb0073972))
10
+
11
+ ## 0.10.0 (2025-10-30)
12
+
13
+ Full Changelog: [v0.9.0...v0.10.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.9.0...v0.10.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([07b68c6](https://github.com/brand-dot-dev/ruby-sdk/commit/07b68c68b7b9eea13e58243cb68e09c4bba0a3c5))
18
+ * **api:** api update ([a7d19e7](https://github.com/brand-dot-dev/ruby-sdk/commit/a7d19e70873dfd9b9a6aa4d66a53158f7b1fab19))
19
+ * **api:** manual updates ([0b3251c](https://github.com/brand-dot-dev/ruby-sdk/commit/0b3251ca8e25b0a4d9b7ca9daccfe9201bd0b0fc))
20
+
3
21
  ## 0.9.0 (2025-10-24)
4
22
 
5
23
  Full Changelog: [v0.8.0...v0.9.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.8.0...v0.9.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "brand.dev", "~> 0.9.0"
20
+ gem "brand.dev", "~> 0.11.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -13,6 +13,20 @@ module BrandDev
13
13
  # @return [String]
14
14
  required :transaction_info, String
15
15
 
16
+ # @!attribute force_language
17
+ # Optional parameter to force the language of the retrieved brand data.
18
+ #
19
+ # @return [Symbol, BrandDev::Models::BrandIdentifyFromTransactionParams::ForceLanguage, nil]
20
+ optional :force_language, enum: -> { BrandDev::BrandIdentifyFromTransactionParams::ForceLanguage }
21
+
22
+ # @!attribute max_speed
23
+ # Optional parameter to optimize the API call for maximum speed. When set to true,
24
+ # the API will skip time-consuming operations for faster response at the cost of
25
+ # less comprehensive data.
26
+ #
27
+ # @return [Boolean, nil]
28
+ optional :max_speed, BrandDev::Internal::Type::Boolean
29
+
16
30
  # @!attribute timeout_ms
17
31
  # Optional timeout in milliseconds for the request. If the request takes longer
18
32
  # than this value, it will be aborted with a 408 status code. Maximum allowed
@@ -21,15 +35,80 @@ module BrandDev
21
35
  # @return [Integer, nil]
22
36
  optional :timeout_ms, Integer
23
37
 
24
- # @!method initialize(transaction_info:, timeout_ms: nil, request_options: {})
38
+ # @!method initialize(transaction_info:, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
25
39
  # Some parameter documentations has been truncated, see
26
40
  # {BrandDev::Models::BrandIdentifyFromTransactionParams} for more details.
27
41
  #
28
42
  # @param transaction_info [String] Transaction information to identify the brand
29
43
  #
44
+ # @param force_language [Symbol, BrandDev::Models::BrandIdentifyFromTransactionParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data.
45
+ #
46
+ # @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
47
+ #
30
48
  # @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
31
49
  #
32
50
  # @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}]
51
+
52
+ # Optional parameter to force the language of the retrieved brand data.
53
+ module ForceLanguage
54
+ extend BrandDev::Internal::Type::Enum
55
+
56
+ ALBANIAN = :albanian
57
+ ARABIC = :arabic
58
+ AZERI = :azeri
59
+ BENGALI = :bengali
60
+ BULGARIAN = :bulgarian
61
+ CEBUANO = :cebuano
62
+ CROATIAN = :croatian
63
+ CZECH = :czech
64
+ DANISH = :danish
65
+ DUTCH = :dutch
66
+ ENGLISH = :english
67
+ ESTONIAN = :estonian
68
+ FARSI = :farsi
69
+ FINNISH = :finnish
70
+ FRENCH = :french
71
+ GERMAN = :german
72
+ HAUSA = :hausa
73
+ HAWAIIAN = :hawaiian
74
+ HINDI = :hindi
75
+ HUNGARIAN = :hungarian
76
+ ICELANDIC = :icelandic
77
+ INDONESIAN = :indonesian
78
+ ITALIAN = :italian
79
+ KAZAKH = :kazakh
80
+ KYRGYZ = :kyrgyz
81
+ LATIN = :latin
82
+ LATVIAN = :latvian
83
+ LITHUANIAN = :lithuanian
84
+ MACEDONIAN = :macedonian
85
+ MONGOLIAN = :mongolian
86
+ NEPALI = :nepali
87
+ NORWEGIAN = :norwegian
88
+ PASHTO = :pashto
89
+ PIDGIN = :pidgin
90
+ POLISH = :polish
91
+ PORTUGUESE = :portuguese
92
+ ROMANIAN = :romanian
93
+ RUSSIAN = :russian
94
+ SERBIAN = :serbian
95
+ SLOVAK = :slovak
96
+ SLOVENE = :slovene
97
+ SOMALI = :somali
98
+ SPANISH = :spanish
99
+ SWAHILI = :swahili
100
+ SWEDISH = :swedish
101
+ TAGALOG = :tagalog
102
+ TURKISH = :turkish
103
+ UKRAINIAN = :ukrainian
104
+ URDU = :urdu
105
+ UZBEK = :uzbek
106
+ VIETNAMESE = :vietnamese
107
+ WELSH = :welsh
108
+
109
+ # @!method self.values
110
+ # @return [Array<Symbol>]
111
+ end
33
112
  end
34
113
  end
35
114
  end
@@ -0,0 +1,116 @@
1
+ # frozen_string_literal: true
2
+
3
+ module BrandDev
4
+ module Models
5
+ # @see BrandDev::Resources::Brand#retrieve_by_email
6
+ class BrandRetrieveByEmailParams < BrandDev::Internal::Type::BaseModel
7
+ extend BrandDev::Internal::Type::RequestParameters::Converter
8
+ include BrandDev::Internal::Type::RequestParameters
9
+
10
+ # @!attribute email
11
+ # Email address to retrieve brand data for (e.g., 'contact@example.com'). The
12
+ # domain will be extracted from the email. Free email providers (gmail.com,
13
+ # yahoo.com, etc.) and disposable email addresses are not allowed.
14
+ #
15
+ # @return [String]
16
+ required :email, String
17
+
18
+ # @!attribute force_language
19
+ # Optional parameter to force the language of the retrieved brand data.
20
+ #
21
+ # @return [Symbol, BrandDev::Models::BrandRetrieveByEmailParams::ForceLanguage, nil]
22
+ optional :force_language, enum: -> { BrandDev::BrandRetrieveByEmailParams::ForceLanguage }
23
+
24
+ # @!attribute max_speed
25
+ # Optional parameter to optimize the API call for maximum speed. When set to true,
26
+ # the API will skip time-consuming operations for faster response at the cost of
27
+ # less comprehensive data.
28
+ #
29
+ # @return [Boolean, nil]
30
+ optional :max_speed, BrandDev::Internal::Type::Boolean
31
+
32
+ # @!attribute timeout_ms
33
+ # Optional timeout in milliseconds for the request. If the request takes longer
34
+ # than this value, it will be aborted with a 408 status code. Maximum allowed
35
+ # value is 300000ms (5 minutes).
36
+ #
37
+ # @return [Integer, nil]
38
+ optional :timeout_ms, Integer
39
+
40
+ # @!method initialize(email:, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
41
+ # Some parameter documentations has been truncated, see
42
+ # {BrandDev::Models::BrandRetrieveByEmailParams} for more details.
43
+ #
44
+ # @param email [String] Email address to retrieve brand data for (e.g., 'contact@example.com'). The doma
45
+ #
46
+ # @param force_language [Symbol, BrandDev::Models::BrandRetrieveByEmailParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data.
47
+ #
48
+ # @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
49
+ #
50
+ # @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
51
+ #
52
+ # @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}]
53
+
54
+ # Optional parameter to force the language of the retrieved brand data.
55
+ module ForceLanguage
56
+ extend BrandDev::Internal::Type::Enum
57
+
58
+ ALBANIAN = :albanian
59
+ ARABIC = :arabic
60
+ AZERI = :azeri
61
+ BENGALI = :bengali
62
+ BULGARIAN = :bulgarian
63
+ CEBUANO = :cebuano
64
+ CROATIAN = :croatian
65
+ CZECH = :czech
66
+ DANISH = :danish
67
+ DUTCH = :dutch
68
+ ENGLISH = :english
69
+ ESTONIAN = :estonian
70
+ FARSI = :farsi
71
+ FINNISH = :finnish
72
+ FRENCH = :french
73
+ GERMAN = :german
74
+ HAUSA = :hausa
75
+ HAWAIIAN = :hawaiian
76
+ HINDI = :hindi
77
+ HUNGARIAN = :hungarian
78
+ ICELANDIC = :icelandic
79
+ INDONESIAN = :indonesian
80
+ ITALIAN = :italian
81
+ KAZAKH = :kazakh
82
+ KYRGYZ = :kyrgyz
83
+ LATIN = :latin
84
+ LATVIAN = :latvian
85
+ LITHUANIAN = :lithuanian
86
+ MACEDONIAN = :macedonian
87
+ MONGOLIAN = :mongolian
88
+ NEPALI = :nepali
89
+ NORWEGIAN = :norwegian
90
+ PASHTO = :pashto
91
+ PIDGIN = :pidgin
92
+ POLISH = :polish
93
+ PORTUGUESE = :portuguese
94
+ ROMANIAN = :romanian
95
+ RUSSIAN = :russian
96
+ SERBIAN = :serbian
97
+ SLOVAK = :slovak
98
+ SLOVENE = :slovene
99
+ SOMALI = :somali
100
+ SPANISH = :spanish
101
+ SWAHILI = :swahili
102
+ SWEDISH = :swedish
103
+ TAGALOG = :tagalog
104
+ TURKISH = :turkish
105
+ UKRAINIAN = :ukrainian
106
+ URDU = :urdu
107
+ UZBEK = :uzbek
108
+ VIETNAMESE = :vietnamese
109
+ WELSH = :welsh
110
+
111
+ # @!method self.values
112
+ # @return [Array<Symbol>]
113
+ end
114
+ end
115
+ end
116
+ end