context.dev 1.3.0 → 1.4.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/README.md +1 -1
- data/lib/context_dev/internal/util.rb +3 -1
- data/lib/context_dev/models/brand_identify_from_transaction_params.rb +65 -0
- data/lib/context_dev/models/brand_identify_from_transaction_response.rb +190 -5
- data/lib/context_dev/models/brand_retrieve_by_email_params.rb +65 -0
- data/lib/context_dev/models/brand_retrieve_by_email_response.rb +190 -5
- data/lib/context_dev/models/brand_retrieve_by_isin_params.rb +65 -0
- data/lib/context_dev/models/brand_retrieve_by_isin_response.rb +190 -5
- data/lib/context_dev/models/brand_retrieve_by_name_params.rb +65 -0
- data/lib/context_dev/models/brand_retrieve_by_name_response.rb +190 -5
- data/lib/context_dev/models/brand_retrieve_by_ticker_params.rb +65 -0
- data/lib/context_dev/models/brand_retrieve_by_ticker_response.rb +190 -5
- data/lib/context_dev/models/brand_retrieve_params.rb +68 -5
- data/lib/context_dev/models/brand_retrieve_response.rb +190 -5
- data/lib/context_dev/models/web_screenshot_params.rb +17 -5
- data/lib/context_dev/resources/brand.rb +1 -1
- data/lib/context_dev/resources/web.rb +8 -5
- data/lib/context_dev/version.rb +1 -1
- data/rbi/context_dev/models/brand_identify_from_transaction_params.rbi +325 -0
- data/rbi/context_dev/models/brand_identify_from_transaction_response.rbi +859 -6
- data/rbi/context_dev/models/brand_retrieve_by_email_params.rbi +325 -0
- data/rbi/context_dev/models/brand_retrieve_by_email_response.rbi +859 -6
- data/rbi/context_dev/models/brand_retrieve_by_isin_params.rbi +325 -0
- data/rbi/context_dev/models/brand_retrieve_by_isin_response.rbi +859 -6
- data/rbi/context_dev/models/brand_retrieve_by_name_params.rbi +325 -0
- data/rbi/context_dev/models/brand_retrieve_by_name_response.rbi +859 -6
- data/rbi/context_dev/models/brand_retrieve_by_ticker_params.rbi +325 -0
- data/rbi/context_dev/models/brand_retrieve_by_ticker_response.rbi +859 -6
- data/rbi/context_dev/models/brand_retrieve_params.rbi +328 -6
- data/rbi/context_dev/models/brand_retrieve_response.rbi +859 -6
- data/rbi/context_dev/models/web_screenshot_params.rbi +27 -6
- data/rbi/context_dev/resources/brand.rbi +1 -2
- data/rbi/context_dev/resources/web.rbi +11 -4
- data/sig/context_dev/models/brand_identify_from_transaction_params.rbs +131 -1
- data/sig/context_dev/models/brand_identify_from_transaction_response.rbs +342 -5
- data/sig/context_dev/models/brand_retrieve_by_email_params.rbs +131 -1
- data/sig/context_dev/models/brand_retrieve_by_email_response.rbs +342 -5
- data/sig/context_dev/models/brand_retrieve_by_isin_params.rbs +131 -1
- data/sig/context_dev/models/brand_retrieve_by_isin_response.rbs +342 -5
- data/sig/context_dev/models/brand_retrieve_by_name_params.rbs +131 -1
- data/sig/context_dev/models/brand_retrieve_by_name_response.rbs +342 -5
- data/sig/context_dev/models/brand_retrieve_by_ticker_params.rbs +131 -1
- data/sig/context_dev/models/brand_retrieve_by_ticker_response.rbs +342 -5
- data/sig/context_dev/models/brand_retrieve_params.rbs +131 -1
- data/sig/context_dev/models/brand_retrieve_response.rbs +342 -5
- data/sig/context_dev/models/web_screenshot_params.rbs +11 -2
- data/sig/context_dev/resources/web.rbs +2 -1
- metadata +2 -2
|
@@ -100,6 +100,15 @@ module ContextDev
|
|
|
100
100
|
# @return [String, nil]
|
|
101
101
|
optional :phone, String
|
|
102
102
|
|
|
103
|
+
# @!attribute primary_language
|
|
104
|
+
# The primary language of the brand's website content. Detected from the HTML lang
|
|
105
|
+
# tag, page content analysis, or social media descriptions.
|
|
106
|
+
#
|
|
107
|
+
# @return [Symbol, ContextDev::Models::BrandRetrieveByEmailResponse::Brand::PrimaryLanguage, nil]
|
|
108
|
+
optional :primary_language,
|
|
109
|
+
enum: -> { ContextDev::Models::BrandRetrieveByEmailResponse::Brand::PrimaryLanguage },
|
|
110
|
+
nil?: true
|
|
111
|
+
|
|
103
112
|
# @!attribute slogan
|
|
104
113
|
# The brand's slogan
|
|
105
114
|
#
|
|
@@ -126,7 +135,7 @@ module ContextDev
|
|
|
126
135
|
# @return [String, nil]
|
|
127
136
|
optional :title, String
|
|
128
137
|
|
|
129
|
-
# @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, email: nil, industries: nil, is_nsfw: nil, links: nil, logos: nil, phone: nil, slogan: nil, socials: nil, stock: nil, title: nil)
|
|
138
|
+
# @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, email: nil, industries: nil, is_nsfw: nil, links: nil, logos: nil, phone: nil, primary_language: nil, slogan: nil, socials: nil, stock: nil, title: nil)
|
|
130
139
|
# Some parameter documentations has been truncated, see
|
|
131
140
|
# {ContextDev::Models::BrandRetrieveByEmailResponse::Brand} for more details.
|
|
132
141
|
#
|
|
@@ -154,6 +163,8 @@ module ContextDev
|
|
|
154
163
|
#
|
|
155
164
|
# @param phone [String] Company phone number
|
|
156
165
|
#
|
|
166
|
+
# @param primary_language [Symbol, ContextDev::Models::BrandRetrieveByEmailResponse::Brand::PrimaryLanguage, nil] The primary language of the brand's website content. Detected from the HTML lang
|
|
167
|
+
#
|
|
157
168
|
# @param slogan [String] The brand's slogan
|
|
158
169
|
#
|
|
159
170
|
# @param socials [Array<ContextDev::Models::BrandRetrieveByEmailResponse::Brand::Social>] An array of social media links for the brand
|
|
@@ -804,12 +815,144 @@ module ContextDev
|
|
|
804
815
|
end
|
|
805
816
|
end
|
|
806
817
|
|
|
818
|
+
# The primary language of the brand's website content. Detected from the HTML lang
|
|
819
|
+
# tag, page content analysis, or social media descriptions.
|
|
820
|
+
#
|
|
821
|
+
# @see ContextDev::Models::BrandRetrieveByEmailResponse::Brand#primary_language
|
|
822
|
+
module PrimaryLanguage
|
|
823
|
+
extend ContextDev::Internal::Type::Enum
|
|
824
|
+
|
|
825
|
+
AFRIKAANS = :afrikaans
|
|
826
|
+
ALBANIAN = :albanian
|
|
827
|
+
AMHARIC = :amharic
|
|
828
|
+
ARABIC = :arabic
|
|
829
|
+
ARMENIAN = :armenian
|
|
830
|
+
ASSAMESE = :assamese
|
|
831
|
+
AYMARA = :aymara
|
|
832
|
+
AZERI = :azeri
|
|
833
|
+
BASQUE = :basque
|
|
834
|
+
BELARUSIAN = :belarusian
|
|
835
|
+
BENGALI = :bengali
|
|
836
|
+
BOSNIAN = :bosnian
|
|
837
|
+
BULGARIAN = :bulgarian
|
|
838
|
+
BURMESE = :burmese
|
|
839
|
+
CANTONESE = :cantonese
|
|
840
|
+
CATALAN = :catalan
|
|
841
|
+
CEBUANO = :cebuano
|
|
842
|
+
CHINESE = :chinese
|
|
843
|
+
CORSICAN = :corsican
|
|
844
|
+
CROATIAN = :croatian
|
|
845
|
+
CZECH = :czech
|
|
846
|
+
DANISH = :danish
|
|
847
|
+
DUTCH = :dutch
|
|
848
|
+
ENGLISH = :english
|
|
849
|
+
ESPERANTO = :esperanto
|
|
850
|
+
ESTONIAN = :estonian
|
|
851
|
+
FARSI = :farsi
|
|
852
|
+
FIJIAN = :fijian
|
|
853
|
+
FINNISH = :finnish
|
|
854
|
+
FRENCH = :french
|
|
855
|
+
GALICIAN = :galician
|
|
856
|
+
GEORGIAN = :georgian
|
|
857
|
+
GERMAN = :german
|
|
858
|
+
GREEK = :greek
|
|
859
|
+
GUARANI = :guarani
|
|
860
|
+
GUJARATI = :gujarati
|
|
861
|
+
HAITIAN_CREOLE = :"haitian-creole"
|
|
862
|
+
HAUSA = :hausa
|
|
863
|
+
HAWAIIAN = :hawaiian
|
|
864
|
+
HEBREW = :hebrew
|
|
865
|
+
HINDI = :hindi
|
|
866
|
+
HMONG = :hmong
|
|
867
|
+
HUNGARIAN = :hungarian
|
|
868
|
+
ICELANDIC = :icelandic
|
|
869
|
+
IGBO = :igbo
|
|
870
|
+
INDONESIAN = :indonesian
|
|
871
|
+
IRISH = :irish
|
|
872
|
+
ITALIAN = :italian
|
|
873
|
+
JAPANESE = :japanese
|
|
874
|
+
JAVANESE = :javanese
|
|
875
|
+
KANNADA = :kannada
|
|
876
|
+
KAZAKH = :kazakh
|
|
877
|
+
KHMER = :khmer
|
|
878
|
+
KINYARWANDA = :kinyarwanda
|
|
879
|
+
KOREAN = :korean
|
|
880
|
+
KURDISH = :kurdish
|
|
881
|
+
KYRGYZ = :kyrgyz
|
|
882
|
+
LAO = :lao
|
|
883
|
+
LATIN = :latin
|
|
884
|
+
LATVIAN = :latvian
|
|
885
|
+
LINGALA = :lingala
|
|
886
|
+
LITHUANIAN = :lithuanian
|
|
887
|
+
LUXEMBOURGISH = :luxembourgish
|
|
888
|
+
MACEDONIAN = :macedonian
|
|
889
|
+
MALAGASY = :malagasy
|
|
890
|
+
MALAY = :malay
|
|
891
|
+
MALAYALAM = :malayalam
|
|
892
|
+
MALTESE = :maltese
|
|
893
|
+
MAORI = :maori
|
|
894
|
+
MARATHI = :marathi
|
|
895
|
+
MONGOLIAN = :mongolian
|
|
896
|
+
NEPALI = :nepali
|
|
897
|
+
NORWEGIAN = :norwegian
|
|
898
|
+
ODIA = :odia
|
|
899
|
+
OROMO = :oromo
|
|
900
|
+
PASHTO = :pashto
|
|
901
|
+
PIDGIN = :pidgin
|
|
902
|
+
POLISH = :polish
|
|
903
|
+
PORTUGUESE = :portuguese
|
|
904
|
+
PUNJABI = :punjabi
|
|
905
|
+
QUECHUA = :quechua
|
|
906
|
+
ROMANIAN = :romanian
|
|
907
|
+
RUSSIAN = :russian
|
|
908
|
+
SAMOAN = :samoan
|
|
909
|
+
SCOTTISH_GAELIC = :"scottish-gaelic"
|
|
910
|
+
SERBIAN = :serbian
|
|
911
|
+
SESOTHO = :sesotho
|
|
912
|
+
SHONA = :shona
|
|
913
|
+
SINDHI = :sindhi
|
|
914
|
+
SINHALA = :sinhala
|
|
915
|
+
SLOVAK = :slovak
|
|
916
|
+
SLOVENE = :slovene
|
|
917
|
+
SOMALI = :somali
|
|
918
|
+
SPANISH = :spanish
|
|
919
|
+
SUNDANESE = :sundanese
|
|
920
|
+
SWAHILI = :swahili
|
|
921
|
+
SWEDISH = :swedish
|
|
922
|
+
TAGALOG = :tagalog
|
|
923
|
+
TAJIK = :tajik
|
|
924
|
+
TAMIL = :tamil
|
|
925
|
+
TATAR = :tatar
|
|
926
|
+
TELUGU = :telugu
|
|
927
|
+
THAI = :thai
|
|
928
|
+
TIBETAN = :tibetan
|
|
929
|
+
TIGRINYA = :tigrinya
|
|
930
|
+
TONGAN = :tongan
|
|
931
|
+
TSWANA = :tswana
|
|
932
|
+
TURKISH = :turkish
|
|
933
|
+
TURKMEN = :turkmen
|
|
934
|
+
UKRAINIAN = :ukrainian
|
|
935
|
+
URDU = :urdu
|
|
936
|
+
UYGHUR = :uyghur
|
|
937
|
+
UZBEK = :uzbek
|
|
938
|
+
VIETNAMESE = :vietnamese
|
|
939
|
+
WELSH = :welsh
|
|
940
|
+
WOLOF = :wolof
|
|
941
|
+
XHOSA = :xhosa
|
|
942
|
+
YIDDISH = :yiddish
|
|
943
|
+
YORUBA = :yoruba
|
|
944
|
+
ZULU = :zulu
|
|
945
|
+
|
|
946
|
+
# @!method self.values
|
|
947
|
+
# @return [Array<Symbol>]
|
|
948
|
+
end
|
|
949
|
+
|
|
807
950
|
class Social < ContextDev::Internal::Type::BaseModel
|
|
808
951
|
# @!attribute type
|
|
809
|
-
# Type of social media
|
|
952
|
+
# Type of social media platform
|
|
810
953
|
#
|
|
811
|
-
# @return [
|
|
812
|
-
optional :type,
|
|
954
|
+
# @return [Symbol, ContextDev::Models::BrandRetrieveByEmailResponse::Brand::Social::Type, nil]
|
|
955
|
+
optional :type, enum: -> { ContextDev::Models::BrandRetrieveByEmailResponse::Brand::Social::Type }
|
|
813
956
|
|
|
814
957
|
# @!attribute url
|
|
815
958
|
# URL of the social media page
|
|
@@ -818,9 +961,51 @@ module ContextDev
|
|
|
818
961
|
optional :url, String
|
|
819
962
|
|
|
820
963
|
# @!method initialize(type: nil, url: nil)
|
|
821
|
-
# @param type [
|
|
964
|
+
# @param type [Symbol, ContextDev::Models::BrandRetrieveByEmailResponse::Brand::Social::Type] Type of social media platform
|
|
822
965
|
#
|
|
823
966
|
# @param url [String] URL of the social media page
|
|
967
|
+
|
|
968
|
+
# Type of social media platform
|
|
969
|
+
#
|
|
970
|
+
# @see ContextDev::Models::BrandRetrieveByEmailResponse::Brand::Social#type
|
|
971
|
+
module Type
|
|
972
|
+
extend ContextDev::Internal::Type::Enum
|
|
973
|
+
|
|
974
|
+
X = :x
|
|
975
|
+
FACEBOOK = :facebook
|
|
976
|
+
INSTAGRAM = :instagram
|
|
977
|
+
LINKEDIN = :linkedin
|
|
978
|
+
YOUTUBE = :youtube
|
|
979
|
+
PINTEREST = :pinterest
|
|
980
|
+
TIKTOK = :tiktok
|
|
981
|
+
DRIBBBLE = :dribbble
|
|
982
|
+
GITHUB = :github
|
|
983
|
+
BEHANCE = :behance
|
|
984
|
+
SNAPCHAT = :snapchat
|
|
985
|
+
WHATSAPP = :whatsapp
|
|
986
|
+
TELEGRAM = :telegram
|
|
987
|
+
LINE = :line
|
|
988
|
+
DISCORD = :discord
|
|
989
|
+
TWITCH = :twitch
|
|
990
|
+
VIMEO = :vimeo
|
|
991
|
+
IMDB = :imdb
|
|
992
|
+
TUMBLR = :tumblr
|
|
993
|
+
FLICKR = :flickr
|
|
994
|
+
GIPHY = :giphy
|
|
995
|
+
MEDIUM = :medium
|
|
996
|
+
SPOTIFY = :spotify
|
|
997
|
+
SOUNDCLOUD = :soundcloud
|
|
998
|
+
TRIPADVISOR = :tripadvisor
|
|
999
|
+
YELP = :yelp
|
|
1000
|
+
PRODUCTHUNT = :producthunt
|
|
1001
|
+
REDDIT = :reddit
|
|
1002
|
+
CRUNCHBASE = :crunchbase
|
|
1003
|
+
APPSTORE = :appstore
|
|
1004
|
+
PLAYSTORE = :playstore
|
|
1005
|
+
|
|
1006
|
+
# @!method self.values
|
|
1007
|
+
# @return [Array<Symbol>]
|
|
1008
|
+
end
|
|
824
1009
|
end
|
|
825
1010
|
|
|
826
1011
|
# @see ContextDev::Models::BrandRetrieveByEmailResponse::Brand#stock
|
|
@@ -55,61 +55,126 @@ module ContextDev
|
|
|
55
55
|
module ForceLanguage
|
|
56
56
|
extend ContextDev::Internal::Type::Enum
|
|
57
57
|
|
|
58
|
+
AFRIKAANS = :afrikaans
|
|
58
59
|
ALBANIAN = :albanian
|
|
60
|
+
AMHARIC = :amharic
|
|
59
61
|
ARABIC = :arabic
|
|
62
|
+
ARMENIAN = :armenian
|
|
63
|
+
ASSAMESE = :assamese
|
|
64
|
+
AYMARA = :aymara
|
|
60
65
|
AZERI = :azeri
|
|
66
|
+
BASQUE = :basque
|
|
67
|
+
BELARUSIAN = :belarusian
|
|
61
68
|
BENGALI = :bengali
|
|
69
|
+
BOSNIAN = :bosnian
|
|
62
70
|
BULGARIAN = :bulgarian
|
|
71
|
+
BURMESE = :burmese
|
|
63
72
|
CANTONESE = :cantonese
|
|
73
|
+
CATALAN = :catalan
|
|
64
74
|
CEBUANO = :cebuano
|
|
75
|
+
CHINESE = :chinese
|
|
76
|
+
CORSICAN = :corsican
|
|
65
77
|
CROATIAN = :croatian
|
|
66
78
|
CZECH = :czech
|
|
67
79
|
DANISH = :danish
|
|
68
80
|
DUTCH = :dutch
|
|
69
81
|
ENGLISH = :english
|
|
82
|
+
ESPERANTO = :esperanto
|
|
70
83
|
ESTONIAN = :estonian
|
|
71
84
|
FARSI = :farsi
|
|
85
|
+
FIJIAN = :fijian
|
|
72
86
|
FINNISH = :finnish
|
|
73
87
|
FRENCH = :french
|
|
88
|
+
GALICIAN = :galician
|
|
89
|
+
GEORGIAN = :georgian
|
|
74
90
|
GERMAN = :german
|
|
91
|
+
GREEK = :greek
|
|
92
|
+
GUARANI = :guarani
|
|
93
|
+
GUJARATI = :gujarati
|
|
94
|
+
HAITIAN_CREOLE = :"haitian-creole"
|
|
75
95
|
HAUSA = :hausa
|
|
76
96
|
HAWAIIAN = :hawaiian
|
|
97
|
+
HEBREW = :hebrew
|
|
77
98
|
HINDI = :hindi
|
|
99
|
+
HMONG = :hmong
|
|
78
100
|
HUNGARIAN = :hungarian
|
|
79
101
|
ICELANDIC = :icelandic
|
|
102
|
+
IGBO = :igbo
|
|
80
103
|
INDONESIAN = :indonesian
|
|
104
|
+
IRISH = :irish
|
|
81
105
|
ITALIAN = :italian
|
|
106
|
+
JAPANESE = :japanese
|
|
107
|
+
JAVANESE = :javanese
|
|
108
|
+
KANNADA = :kannada
|
|
82
109
|
KAZAKH = :kazakh
|
|
110
|
+
KHMER = :khmer
|
|
111
|
+
KINYARWANDA = :kinyarwanda
|
|
83
112
|
KOREAN = :korean
|
|
113
|
+
KURDISH = :kurdish
|
|
84
114
|
KYRGYZ = :kyrgyz
|
|
115
|
+
LAO = :lao
|
|
85
116
|
LATIN = :latin
|
|
86
117
|
LATVIAN = :latvian
|
|
118
|
+
LINGALA = :lingala
|
|
87
119
|
LITHUANIAN = :lithuanian
|
|
120
|
+
LUXEMBOURGISH = :luxembourgish
|
|
88
121
|
MACEDONIAN = :macedonian
|
|
122
|
+
MALAGASY = :malagasy
|
|
123
|
+
MALAY = :malay
|
|
124
|
+
MALAYALAM = :malayalam
|
|
125
|
+
MALTESE = :maltese
|
|
126
|
+
MAORI = :maori
|
|
127
|
+
MARATHI = :marathi
|
|
89
128
|
MONGOLIAN = :mongolian
|
|
90
129
|
NEPALI = :nepali
|
|
91
130
|
NORWEGIAN = :norwegian
|
|
131
|
+
ODIA = :odia
|
|
132
|
+
OROMO = :oromo
|
|
92
133
|
PASHTO = :pashto
|
|
93
134
|
PIDGIN = :pidgin
|
|
94
135
|
POLISH = :polish
|
|
95
136
|
PORTUGUESE = :portuguese
|
|
137
|
+
PUNJABI = :punjabi
|
|
138
|
+
QUECHUA = :quechua
|
|
96
139
|
ROMANIAN = :romanian
|
|
97
140
|
RUSSIAN = :russian
|
|
141
|
+
SAMOAN = :samoan
|
|
142
|
+
SCOTTISH_GAELIC = :"scottish-gaelic"
|
|
98
143
|
SERBIAN = :serbian
|
|
144
|
+
SESOTHO = :sesotho
|
|
145
|
+
SHONA = :shona
|
|
146
|
+
SINDHI = :sindhi
|
|
147
|
+
SINHALA = :sinhala
|
|
99
148
|
SLOVAK = :slovak
|
|
100
149
|
SLOVENE = :slovene
|
|
101
150
|
SOMALI = :somali
|
|
102
151
|
SPANISH = :spanish
|
|
152
|
+
SUNDANESE = :sundanese
|
|
103
153
|
SWAHILI = :swahili
|
|
104
154
|
SWEDISH = :swedish
|
|
105
155
|
TAGALOG = :tagalog
|
|
156
|
+
TAJIK = :tajik
|
|
157
|
+
TAMIL = :tamil
|
|
158
|
+
TATAR = :tatar
|
|
159
|
+
TELUGU = :telugu
|
|
106
160
|
THAI = :thai
|
|
161
|
+
TIBETAN = :tibetan
|
|
162
|
+
TIGRINYA = :tigrinya
|
|
163
|
+
TONGAN = :tongan
|
|
164
|
+
TSWANA = :tswana
|
|
107
165
|
TURKISH = :turkish
|
|
166
|
+
TURKMEN = :turkmen
|
|
108
167
|
UKRAINIAN = :ukrainian
|
|
109
168
|
URDU = :urdu
|
|
169
|
+
UYGHUR = :uyghur
|
|
110
170
|
UZBEK = :uzbek
|
|
111
171
|
VIETNAMESE = :vietnamese
|
|
112
172
|
WELSH = :welsh
|
|
173
|
+
WOLOF = :wolof
|
|
174
|
+
XHOSA = :xhosa
|
|
175
|
+
YIDDISH = :yiddish
|
|
176
|
+
YORUBA = :yoruba
|
|
177
|
+
ZULU = :zulu
|
|
113
178
|
|
|
114
179
|
# @!method self.values
|
|
115
180
|
# @return [Array<Symbol>]
|
|
@@ -100,6 +100,15 @@ module ContextDev
|
|
|
100
100
|
# @return [String, nil]
|
|
101
101
|
optional :phone, String
|
|
102
102
|
|
|
103
|
+
# @!attribute primary_language
|
|
104
|
+
# The primary language of the brand's website content. Detected from the HTML lang
|
|
105
|
+
# tag, page content analysis, or social media descriptions.
|
|
106
|
+
#
|
|
107
|
+
# @return [Symbol, ContextDev::Models::BrandRetrieveByIsinResponse::Brand::PrimaryLanguage, nil]
|
|
108
|
+
optional :primary_language,
|
|
109
|
+
enum: -> { ContextDev::Models::BrandRetrieveByIsinResponse::Brand::PrimaryLanguage },
|
|
110
|
+
nil?: true
|
|
111
|
+
|
|
103
112
|
# @!attribute slogan
|
|
104
113
|
# The brand's slogan
|
|
105
114
|
#
|
|
@@ -126,7 +135,7 @@ module ContextDev
|
|
|
126
135
|
# @return [String, nil]
|
|
127
136
|
optional :title, String
|
|
128
137
|
|
|
129
|
-
# @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, email: nil, industries: nil, is_nsfw: nil, links: nil, logos: nil, phone: nil, slogan: nil, socials: nil, stock: nil, title: nil)
|
|
138
|
+
# @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, email: nil, industries: nil, is_nsfw: nil, links: nil, logos: nil, phone: nil, primary_language: nil, slogan: nil, socials: nil, stock: nil, title: nil)
|
|
130
139
|
# Some parameter documentations has been truncated, see
|
|
131
140
|
# {ContextDev::Models::BrandRetrieveByIsinResponse::Brand} for more details.
|
|
132
141
|
#
|
|
@@ -154,6 +163,8 @@ module ContextDev
|
|
|
154
163
|
#
|
|
155
164
|
# @param phone [String] Company phone number
|
|
156
165
|
#
|
|
166
|
+
# @param primary_language [Symbol, ContextDev::Models::BrandRetrieveByIsinResponse::Brand::PrimaryLanguage, nil] The primary language of the brand's website content. Detected from the HTML lang
|
|
167
|
+
#
|
|
157
168
|
# @param slogan [String] The brand's slogan
|
|
158
169
|
#
|
|
159
170
|
# @param socials [Array<ContextDev::Models::BrandRetrieveByIsinResponse::Brand::Social>] An array of social media links for the brand
|
|
@@ -803,12 +814,144 @@ module ContextDev
|
|
|
803
814
|
end
|
|
804
815
|
end
|
|
805
816
|
|
|
817
|
+
# The primary language of the brand's website content. Detected from the HTML lang
|
|
818
|
+
# tag, page content analysis, or social media descriptions.
|
|
819
|
+
#
|
|
820
|
+
# @see ContextDev::Models::BrandRetrieveByIsinResponse::Brand#primary_language
|
|
821
|
+
module PrimaryLanguage
|
|
822
|
+
extend ContextDev::Internal::Type::Enum
|
|
823
|
+
|
|
824
|
+
AFRIKAANS = :afrikaans
|
|
825
|
+
ALBANIAN = :albanian
|
|
826
|
+
AMHARIC = :amharic
|
|
827
|
+
ARABIC = :arabic
|
|
828
|
+
ARMENIAN = :armenian
|
|
829
|
+
ASSAMESE = :assamese
|
|
830
|
+
AYMARA = :aymara
|
|
831
|
+
AZERI = :azeri
|
|
832
|
+
BASQUE = :basque
|
|
833
|
+
BELARUSIAN = :belarusian
|
|
834
|
+
BENGALI = :bengali
|
|
835
|
+
BOSNIAN = :bosnian
|
|
836
|
+
BULGARIAN = :bulgarian
|
|
837
|
+
BURMESE = :burmese
|
|
838
|
+
CANTONESE = :cantonese
|
|
839
|
+
CATALAN = :catalan
|
|
840
|
+
CEBUANO = :cebuano
|
|
841
|
+
CHINESE = :chinese
|
|
842
|
+
CORSICAN = :corsican
|
|
843
|
+
CROATIAN = :croatian
|
|
844
|
+
CZECH = :czech
|
|
845
|
+
DANISH = :danish
|
|
846
|
+
DUTCH = :dutch
|
|
847
|
+
ENGLISH = :english
|
|
848
|
+
ESPERANTO = :esperanto
|
|
849
|
+
ESTONIAN = :estonian
|
|
850
|
+
FARSI = :farsi
|
|
851
|
+
FIJIAN = :fijian
|
|
852
|
+
FINNISH = :finnish
|
|
853
|
+
FRENCH = :french
|
|
854
|
+
GALICIAN = :galician
|
|
855
|
+
GEORGIAN = :georgian
|
|
856
|
+
GERMAN = :german
|
|
857
|
+
GREEK = :greek
|
|
858
|
+
GUARANI = :guarani
|
|
859
|
+
GUJARATI = :gujarati
|
|
860
|
+
HAITIAN_CREOLE = :"haitian-creole"
|
|
861
|
+
HAUSA = :hausa
|
|
862
|
+
HAWAIIAN = :hawaiian
|
|
863
|
+
HEBREW = :hebrew
|
|
864
|
+
HINDI = :hindi
|
|
865
|
+
HMONG = :hmong
|
|
866
|
+
HUNGARIAN = :hungarian
|
|
867
|
+
ICELANDIC = :icelandic
|
|
868
|
+
IGBO = :igbo
|
|
869
|
+
INDONESIAN = :indonesian
|
|
870
|
+
IRISH = :irish
|
|
871
|
+
ITALIAN = :italian
|
|
872
|
+
JAPANESE = :japanese
|
|
873
|
+
JAVANESE = :javanese
|
|
874
|
+
KANNADA = :kannada
|
|
875
|
+
KAZAKH = :kazakh
|
|
876
|
+
KHMER = :khmer
|
|
877
|
+
KINYARWANDA = :kinyarwanda
|
|
878
|
+
KOREAN = :korean
|
|
879
|
+
KURDISH = :kurdish
|
|
880
|
+
KYRGYZ = :kyrgyz
|
|
881
|
+
LAO = :lao
|
|
882
|
+
LATIN = :latin
|
|
883
|
+
LATVIAN = :latvian
|
|
884
|
+
LINGALA = :lingala
|
|
885
|
+
LITHUANIAN = :lithuanian
|
|
886
|
+
LUXEMBOURGISH = :luxembourgish
|
|
887
|
+
MACEDONIAN = :macedonian
|
|
888
|
+
MALAGASY = :malagasy
|
|
889
|
+
MALAY = :malay
|
|
890
|
+
MALAYALAM = :malayalam
|
|
891
|
+
MALTESE = :maltese
|
|
892
|
+
MAORI = :maori
|
|
893
|
+
MARATHI = :marathi
|
|
894
|
+
MONGOLIAN = :mongolian
|
|
895
|
+
NEPALI = :nepali
|
|
896
|
+
NORWEGIAN = :norwegian
|
|
897
|
+
ODIA = :odia
|
|
898
|
+
OROMO = :oromo
|
|
899
|
+
PASHTO = :pashto
|
|
900
|
+
PIDGIN = :pidgin
|
|
901
|
+
POLISH = :polish
|
|
902
|
+
PORTUGUESE = :portuguese
|
|
903
|
+
PUNJABI = :punjabi
|
|
904
|
+
QUECHUA = :quechua
|
|
905
|
+
ROMANIAN = :romanian
|
|
906
|
+
RUSSIAN = :russian
|
|
907
|
+
SAMOAN = :samoan
|
|
908
|
+
SCOTTISH_GAELIC = :"scottish-gaelic"
|
|
909
|
+
SERBIAN = :serbian
|
|
910
|
+
SESOTHO = :sesotho
|
|
911
|
+
SHONA = :shona
|
|
912
|
+
SINDHI = :sindhi
|
|
913
|
+
SINHALA = :sinhala
|
|
914
|
+
SLOVAK = :slovak
|
|
915
|
+
SLOVENE = :slovene
|
|
916
|
+
SOMALI = :somali
|
|
917
|
+
SPANISH = :spanish
|
|
918
|
+
SUNDANESE = :sundanese
|
|
919
|
+
SWAHILI = :swahili
|
|
920
|
+
SWEDISH = :swedish
|
|
921
|
+
TAGALOG = :tagalog
|
|
922
|
+
TAJIK = :tajik
|
|
923
|
+
TAMIL = :tamil
|
|
924
|
+
TATAR = :tatar
|
|
925
|
+
TELUGU = :telugu
|
|
926
|
+
THAI = :thai
|
|
927
|
+
TIBETAN = :tibetan
|
|
928
|
+
TIGRINYA = :tigrinya
|
|
929
|
+
TONGAN = :tongan
|
|
930
|
+
TSWANA = :tswana
|
|
931
|
+
TURKISH = :turkish
|
|
932
|
+
TURKMEN = :turkmen
|
|
933
|
+
UKRAINIAN = :ukrainian
|
|
934
|
+
URDU = :urdu
|
|
935
|
+
UYGHUR = :uyghur
|
|
936
|
+
UZBEK = :uzbek
|
|
937
|
+
VIETNAMESE = :vietnamese
|
|
938
|
+
WELSH = :welsh
|
|
939
|
+
WOLOF = :wolof
|
|
940
|
+
XHOSA = :xhosa
|
|
941
|
+
YIDDISH = :yiddish
|
|
942
|
+
YORUBA = :yoruba
|
|
943
|
+
ZULU = :zulu
|
|
944
|
+
|
|
945
|
+
# @!method self.values
|
|
946
|
+
# @return [Array<Symbol>]
|
|
947
|
+
end
|
|
948
|
+
|
|
806
949
|
class Social < ContextDev::Internal::Type::BaseModel
|
|
807
950
|
# @!attribute type
|
|
808
|
-
# Type of social media
|
|
951
|
+
# Type of social media platform
|
|
809
952
|
#
|
|
810
|
-
# @return [
|
|
811
|
-
optional :type,
|
|
953
|
+
# @return [Symbol, ContextDev::Models::BrandRetrieveByIsinResponse::Brand::Social::Type, nil]
|
|
954
|
+
optional :type, enum: -> { ContextDev::Models::BrandRetrieveByIsinResponse::Brand::Social::Type }
|
|
812
955
|
|
|
813
956
|
# @!attribute url
|
|
814
957
|
# URL of the social media page
|
|
@@ -817,9 +960,51 @@ module ContextDev
|
|
|
817
960
|
optional :url, String
|
|
818
961
|
|
|
819
962
|
# @!method initialize(type: nil, url: nil)
|
|
820
|
-
# @param type [
|
|
963
|
+
# @param type [Symbol, ContextDev::Models::BrandRetrieveByIsinResponse::Brand::Social::Type] Type of social media platform
|
|
821
964
|
#
|
|
822
965
|
# @param url [String] URL of the social media page
|
|
966
|
+
|
|
967
|
+
# Type of social media platform
|
|
968
|
+
#
|
|
969
|
+
# @see ContextDev::Models::BrandRetrieveByIsinResponse::Brand::Social#type
|
|
970
|
+
module Type
|
|
971
|
+
extend ContextDev::Internal::Type::Enum
|
|
972
|
+
|
|
973
|
+
X = :x
|
|
974
|
+
FACEBOOK = :facebook
|
|
975
|
+
INSTAGRAM = :instagram
|
|
976
|
+
LINKEDIN = :linkedin
|
|
977
|
+
YOUTUBE = :youtube
|
|
978
|
+
PINTEREST = :pinterest
|
|
979
|
+
TIKTOK = :tiktok
|
|
980
|
+
DRIBBBLE = :dribbble
|
|
981
|
+
GITHUB = :github
|
|
982
|
+
BEHANCE = :behance
|
|
983
|
+
SNAPCHAT = :snapchat
|
|
984
|
+
WHATSAPP = :whatsapp
|
|
985
|
+
TELEGRAM = :telegram
|
|
986
|
+
LINE = :line
|
|
987
|
+
DISCORD = :discord
|
|
988
|
+
TWITCH = :twitch
|
|
989
|
+
VIMEO = :vimeo
|
|
990
|
+
IMDB = :imdb
|
|
991
|
+
TUMBLR = :tumblr
|
|
992
|
+
FLICKR = :flickr
|
|
993
|
+
GIPHY = :giphy
|
|
994
|
+
MEDIUM = :medium
|
|
995
|
+
SPOTIFY = :spotify
|
|
996
|
+
SOUNDCLOUD = :soundcloud
|
|
997
|
+
TRIPADVISOR = :tripadvisor
|
|
998
|
+
YELP = :yelp
|
|
999
|
+
PRODUCTHUNT = :producthunt
|
|
1000
|
+
REDDIT = :reddit
|
|
1001
|
+
CRUNCHBASE = :crunchbase
|
|
1002
|
+
APPSTORE = :appstore
|
|
1003
|
+
PLAYSTORE = :playstore
|
|
1004
|
+
|
|
1005
|
+
# @!method self.values
|
|
1006
|
+
# @return [Array<Symbol>]
|
|
1007
|
+
end
|
|
823
1008
|
end
|
|
824
1009
|
|
|
825
1010
|
# @see ContextDev::Models::BrandRetrieveByIsinResponse::Brand#stock
|