brand.dev 0.2.0 → 0.3.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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/README.md +1 -1
  4. data/lib/brand_dev/internal/transport/base_client.rb +1 -1
  5. data/lib/brand_dev/internal/type/array_of.rb +1 -0
  6. data/lib/brand_dev/internal/type/base_model.rb +3 -1
  7. data/lib/brand_dev/internal/type/converter.rb +27 -0
  8. data/lib/brand_dev/internal/type/hash_of.rb +1 -0
  9. data/lib/brand_dev/internal/type/union.rb +9 -7
  10. data/lib/brand_dev/models/brand_identify_from_transaction_response.rb +311 -1
  11. data/lib/brand_dev/models/brand_retrieve_params.rb +32 -9
  12. data/lib/brand_dev/models/brand_retrieve_response.rb +310 -1
  13. data/lib/brand_dev/models.rb +0 -2
  14. data/lib/brand_dev/resources/brand.rb +10 -32
  15. data/lib/brand_dev/version.rb +1 -1
  16. data/lib/brand_dev.rb +0 -2
  17. data/rbi/brand_dev/internal/transport/base_client.rbi +1 -1
  18. data/rbi/brand_dev/internal/type/converter.rbi +54 -0
  19. data/rbi/brand_dev/internal/type/union.rbi +9 -2
  20. data/rbi/brand_dev/models/brand_identify_from_transaction_response.rbi +1409 -0
  21. data/rbi/brand_dev/models/brand_retrieve_params.rbi +48 -10
  22. data/rbi/brand_dev/models/brand_retrieve_response.rbi +1409 -0
  23. data/rbi/brand_dev/models.rbi +0 -2
  24. data/rbi/brand_dev/resources/brand.rbi +18 -24
  25. data/sig/brand_dev/internal/transport/base_client.rbs +1 -1
  26. data/sig/brand_dev/internal/type/converter.rbs +17 -0
  27. data/sig/brand_dev/internal/type/union.rbs +2 -2
  28. data/sig/brand_dev/models/brand_identify_from_transaction_response.rbs +558 -0
  29. data/sig/brand_dev/models/brand_retrieve_params.rbs +18 -2
  30. data/sig/brand_dev/models/brand_retrieve_response.rbs +558 -0
  31. data/sig/brand_dev/models.rbs +0 -2
  32. data/sig/brand_dev/resources/brand.rbs +3 -7
  33. metadata +2 -8
  34. data/lib/brand_dev/models/brand_retrieve_by_ticker_params.rb +0 -35
  35. data/lib/brand_dev/models/brand_retrieve_by_ticker_response.rb +0 -478
  36. data/rbi/brand_dev/models/brand_retrieve_by_ticker_params.rbi +0 -61
  37. data/rbi/brand_dev/models/brand_retrieve_by_ticker_response.rbi +0 -1081
  38. data/sig/brand_dev/models/brand_retrieve_by_ticker_params.rbs +0 -30
  39. data/sig/brand_dev/models/brand_retrieve_by_ticker_response.rbs +0 -467
@@ -69,6 +69,12 @@ module BrandDev
69
69
  # @return [String, nil]
70
70
  optional :email, String
71
71
 
72
+ # @!attribute industries
73
+ # Industry classification information for the brand
74
+ #
75
+ # @return [BrandDev::Models::BrandRetrieveResponse::Brand::Industries, nil]
76
+ optional :industries, -> { BrandDev::Models::BrandRetrieveResponse::Brand::Industries }
77
+
72
78
  # @!attribute is_nsfw
73
79
  # Indicates whether the brand content is not safe for work (NSFW)
74
80
  #
@@ -114,7 +120,7 @@ module BrandDev
114
120
  # @return [String, nil]
115
121
  optional :title, String
116
122
 
117
- # @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, email: nil, is_nsfw: nil, logos: nil, phone: nil, slogan: nil, socials: nil, stock: nil, title: nil)
123
+ # @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, email: nil, industries: nil, is_nsfw: nil, logos: nil, phone: nil, slogan: nil, socials: nil, stock: nil, title: nil)
118
124
  # Some parameter documentations has been truncated, see
119
125
  # {BrandDev::Models::BrandRetrieveResponse::Brand} for more details.
120
126
  #
@@ -132,6 +138,8 @@ module BrandDev
132
138
  #
133
139
  # @param email [String] Company email address
134
140
  #
141
+ # @param industries [BrandDev::Models::BrandRetrieveResponse::Brand::Industries] Industry classification information for the brand
142
+ #
135
143
  # @param is_nsfw [Boolean] Indicates whether the brand content is not safe for work (NSFW)
136
144
  #
137
145
  # @param logos [Array<BrandDev::Models::BrandRetrieveResponse::Brand::Logo>] An array of logos associated with the brand
@@ -304,6 +312,307 @@ module BrandDev
304
312
  # @param name [String] Name of the color
305
313
  end
306
314
 
315
+ # @see BrandDev::Models::BrandRetrieveResponse::Brand#industries
316
+ class Industries < BrandDev::Internal::Type::BaseModel
317
+ # @!attribute eic
318
+ # Easy Industry Classification - array of industry and subindustry pairs
319
+ #
320
+ # @return [Array<BrandDev::Models::BrandRetrieveResponse::Brand::Industries::Eic>, nil]
321
+ optional :eic,
322
+ -> { BrandDev::Internal::Type::ArrayOf[BrandDev::Models::BrandRetrieveResponse::Brand::Industries::Eic] }
323
+
324
+ # @!method initialize(eic: nil)
325
+ # Industry classification information for the brand
326
+ #
327
+ # @param eic [Array<BrandDev::Models::BrandRetrieveResponse::Brand::Industries::Eic>] Easy Industry Classification - array of industry and subindustry pairs
328
+
329
+ class Eic < BrandDev::Internal::Type::BaseModel
330
+ # @!attribute industry
331
+ # Industry classification enum
332
+ #
333
+ # @return [Symbol, BrandDev::Models::BrandRetrieveResponse::Brand::Industries::Eic::Industry]
334
+ required :industry, enum: -> { BrandDev::Models::BrandRetrieveResponse::Brand::Industries::Eic::Industry }
335
+
336
+ # @!attribute subindustry
337
+ # Subindustry classification enum
338
+ #
339
+ # @return [Symbol, BrandDev::Models::BrandRetrieveResponse::Brand::Industries::Eic::Subindustry]
340
+ required :subindustry,
341
+ enum: -> { BrandDev::Models::BrandRetrieveResponse::Brand::Industries::Eic::Subindustry }
342
+
343
+ # @!method initialize(industry:, subindustry:)
344
+ # @param industry [Symbol, BrandDev::Models::BrandRetrieveResponse::Brand::Industries::Eic::Industry] Industry classification enum
345
+ #
346
+ # @param subindustry [Symbol, BrandDev::Models::BrandRetrieveResponse::Brand::Industries::Eic::Subindustry] Subindustry classification enum
347
+
348
+ # Industry classification enum
349
+ #
350
+ # @see BrandDev::Models::BrandRetrieveResponse::Brand::Industries::Eic#industry
351
+ module Industry
352
+ extend BrandDev::Internal::Type::Enum
353
+
354
+ AEROSPACE_DEFENSE = :"Aerospace & Defense"
355
+ TECHNOLOGY = :Technology
356
+ FINANCE = :Finance
357
+ HEALTHCARE = :Healthcare
358
+ RETAIL_E_COMMERCE = :"Retail & E-commerce"
359
+ ENTERTAINMENT = :Entertainment
360
+ EDUCATION = :Education
361
+ GOVERNMENT_NONPROFIT = :"Government & Nonprofit"
362
+ INDUSTRIAL_ENERGY = :"Industrial & Energy"
363
+ AUTOMOTIVE_TRANSPORTATION = :"Automotive & Transportation"
364
+ LIFESTYLE_LEISURE = :"Lifestyle & Leisure"
365
+ LUXURY_FASHION = :"Luxury & Fashion"
366
+ NEWS_MEDIA = :"News & Media"
367
+ SPORTS = :Sports
368
+ REAL_ESTATE_PROP_TECH = :"Real Estate & PropTech"
369
+ LEGAL_COMPLIANCE = :"Legal & Compliance"
370
+ TELECOMMUNICATIONS = :Telecommunications
371
+ AGRICULTURE_FOOD = :"Agriculture & Food"
372
+ PROFESSIONAL_SERVICES_AGENCIES = :"Professional Services & Agencies"
373
+ CHEMICALS_MATERIALS = :"Chemicals & Materials"
374
+ LOGISTICS_SUPPLY_CHAIN = :"Logistics & Supply Chain"
375
+ HOSPITALITY_TOURISM = :"Hospitality & Tourism"
376
+ CONSTRUCTION_BUILT_ENVIRONMENT = :"Construction & Built Environment"
377
+ CONSUMER_PACKAGED_GOODS_CPG = :"Consumer Packaged Goods (CPG)"
378
+
379
+ # @!method self.values
380
+ # @return [Array<Symbol>]
381
+ end
382
+
383
+ # Subindustry classification enum
384
+ #
385
+ # @see BrandDev::Models::BrandRetrieveResponse::Brand::Industries::Eic#subindustry
386
+ module Subindustry
387
+ extend BrandDev::Internal::Type::Enum
388
+
389
+ DEFENSE_SYSTEMS_MILITARY_HARDWARE = :"Defense Systems & Military Hardware"
390
+ AEROSPACE_MANUFACTURING = :"Aerospace Manufacturing"
391
+ AVIONICS_NAVIGATION_TECHNOLOGY = :"Avionics & Navigation Technology"
392
+ SUBSEA_NAVAL_DEFENSE_SYSTEMS = :"Subsea & Naval Defense Systems"
393
+ SPACE_SATELLITE_TECHNOLOGY = :"Space & Satellite Technology"
394
+ DEFENSE_IT_SYSTEMS_INTEGRATION = :"Defense IT & Systems Integration"
395
+ SOFTWARE_B2_B = :"Software (B2B)"
396
+ SOFTWARE_B2_C = :"Software (B2C)"
397
+ CLOUD_INFRASTRUCTURE_DEV_OPS = :"Cloud Infrastructure & DevOps"
398
+ CYBERSECURITY = :Cybersecurity
399
+ ARTIFICIAL_INTELLIGENCE_MACHINE_LEARNING = :"Artificial Intelligence & Machine Learning"
400
+ DATA_INFRASTRUCTURE_ANALYTICS = :"Data Infrastructure & Analytics"
401
+ HARDWARE_SEMICONDUCTORS = :"Hardware & Semiconductors"
402
+ FINTECH_INFRASTRUCTURE = :"Fintech Infrastructure"
403
+ E_COMMERCE_MARKETPLACE_PLATFORMS = :"eCommerce & Marketplace Platforms"
404
+ DEVELOPER_TOOLS_APIS = :"Developer Tools & APIs"
405
+ WEB3_BLOCKCHAIN = :"Web3 & Blockchain"
406
+ XR_SPATIAL_COMPUTING = :"XR & Spatial Computing"
407
+ BANKING_LENDING = :"Banking & Lending"
408
+ INVESTMENT_MANAGEMENT_WEALTH_TECH = :"Investment Management & WealthTech"
409
+ INSURANCE_INSUR_TECH = :"Insurance & InsurTech"
410
+ PAYMENTS_MONEY_MOVEMENT = :"Payments & Money Movement"
411
+ ACCOUNTING_TAX_FINANCIAL_PLANNING_TOOLS = :"Accounting, Tax & Financial Planning Tools"
412
+ CAPITAL_MARKETS_TRADING_PLATFORMS = :"Capital Markets & Trading Platforms"
413
+ FINANCIAL_INFRASTRUCTURE_APIS = :"Financial Infrastructure & APIs"
414
+ CREDIT_SCORING_RISK_MANAGEMENT = :"Credit Scoring & Risk Management"
415
+ CRYPTOCURRENCY_DIGITAL_ASSETS = :"Cryptocurrency & Digital Assets"
416
+ BNPL_ALTERNATIVE_FINANCING = :"BNPL & Alternative Financing"
417
+ HEALTHCARE_PROVIDERS_SERVICES = :"Healthcare Providers & Services"
418
+ PHARMACEUTICALS_DRUG_DEVELOPMENT = :"Pharmaceuticals & Drug Development"
419
+ MEDICAL_DEVICES_DIAGNOSTICS = :"Medical Devices & Diagnostics"
420
+ BIOTECHNOLOGY_GENOMICS = :"Biotechnology & Genomics"
421
+ DIGITAL_HEALTH_TELEMEDICINE = :"Digital Health & Telemedicine"
422
+ HEALTH_INSURANCE_BENEFITS_TECH = :"Health Insurance & Benefits Tech"
423
+ CLINICAL_TRIALS_RESEARCH_PLATFORMS = :"Clinical Trials & Research Platforms"
424
+ MENTAL_HEALTH_WELLNESS = :"Mental Health & Wellness"
425
+ HEALTHCARE_IT_EHR_SYSTEMS = :"Healthcare IT & EHR Systems"
426
+ CONSUMER_HEALTH_WELLNESS_PRODUCTS = :"Consumer Health & Wellness Products"
427
+ ONLINE_MARKETPLACES = :"Online Marketplaces"
428
+ DIRECT_TO_CONSUMER_DTC_BRANDS = :"Direct-to-Consumer (DTC) Brands"
429
+ RETAIL_TECH_POINT_OF_SALE_SYSTEMS = :"Retail Tech & Point-of-Sale Systems"
430
+ OMNICHANNEL_IN_STORE_RETAIL = :"Omnichannel & In-Store Retail"
431
+ E_COMMERCE_ENABLEMENT_INFRASTRUCTURE = :"E-commerce Enablement & Infrastructure"
432
+ SUBSCRIPTION_MEMBERSHIP_COMMERCE = :"Subscription & Membership Commerce"
433
+ SOCIAL_COMMERCE_INFLUENCER_PLATFORMS = :"Social Commerce & Influencer Platforms"
434
+ FASHION_APPAREL_RETAIL = :"Fashion & Apparel Retail"
435
+ FOOD_BEVERAGE_GROCERY_E_COMMERCE = :"Food, Beverage & Grocery E-commerce"
436
+ STREAMING_PLATFORMS_VIDEO_MUSIC_AUDIO = :"Streaming Platforms (Video, Music, Audio)"
437
+ GAMING_INTERACTIVE_ENTERTAINMENT = :"Gaming & Interactive Entertainment"
438
+ CREATOR_ECONOMY_INFLUENCER_PLATFORMS = :"Creator Economy & Influencer Platforms"
439
+ ADVERTISING_ADTECH_MEDIA_BUYING = :"Advertising, Adtech & Media Buying"
440
+ FILM_TV_PRODUCTION_STUDIOS = :"Film, TV & Production Studios"
441
+ EVENTS_VENUES_LIVE_ENTERTAINMENT = :"Events, Venues & Live Entertainment"
442
+ VIRTUAL_WORLDS_METAVERSE_EXPERIENCES = :"Virtual Worlds & Metaverse Experiences"
443
+ K_12_EDUCATION_PLATFORMS_TOOLS = :"K-12 Education Platforms & Tools"
444
+ HIGHER_EDUCATION_UNIVERSITY_TECH = :"Higher Education & University Tech"
445
+ ONLINE_LEARNING_MOO_CS = :"Online Learning & MOOCs"
446
+ TEST_PREP_CERTIFICATION = :"Test Prep & Certification"
447
+ CORPORATE_TRAINING_UPSKILLING = :"Corporate Training & Upskilling"
448
+ TUTORING_SUPPLEMENTAL_LEARNING = :"Tutoring & Supplemental Learning"
449
+ EDUCATION_MANAGEMENT_SYSTEMS_LMS_SIS = :"Education Management Systems (LMS/SIS)"
450
+ LANGUAGE_LEARNING = :"Language Learning"
451
+ CREATOR_LED_COHORT_BASED_COURSES = :"Creator-Led & Cohort-Based Courses"
452
+ SPECIAL_EDUCATION_ACCESSIBILITY_TOOLS = :"Special Education & Accessibility Tools"
453
+ GOVERNMENT_TECHNOLOGY_DIGITAL_SERVICES = :"Government Technology & Digital Services"
454
+ CIVIC_ENGAGEMENT_POLICY_PLATFORMS = :"Civic Engagement & Policy Platforms"
455
+ INTERNATIONAL_DEVELOPMENT_HUMANITARIAN_AID = :"International Development & Humanitarian Aid"
456
+ PHILANTHROPY_GRANTMAKING = :"Philanthropy & Grantmaking"
457
+ NONPROFIT_OPERATIONS_FUNDRAISING_TOOLS = :"Nonprofit Operations & Fundraising Tools"
458
+ PUBLIC_HEALTH_SOCIAL_SERVICES = :"Public Health & Social Services"
459
+ EDUCATION_YOUTH_DEVELOPMENT_PROGRAMS = :"Education & Youth Development Programs"
460
+ ENVIRONMENTAL_CLIMATE_ACTION_ORGANIZATIONS = :"Environmental & Climate Action Organizations"
461
+ LEGAL_AID_SOCIAL_JUSTICE_ADVOCACY = :"Legal Aid & Social Justice Advocacy"
462
+ MUNICIPAL_INFRASTRUCTURE_SERVICES = :"Municipal & Infrastructure Services"
463
+ MANUFACTURING_INDUSTRIAL_AUTOMATION = :"Manufacturing & Industrial Automation"
464
+ ENERGY_PRODUCTION_OIL_GAS_NUCLEAR = :"Energy Production (Oil, Gas, Nuclear)"
465
+ RENEWABLE_ENERGY_CLEANTECH = :"Renewable Energy & Cleantech"
466
+ UTILITIES_GRID_INFRASTRUCTURE = :"Utilities & Grid Infrastructure"
467
+ INDUSTRIAL_IO_T_MONITORING_SYSTEMS = :"Industrial IoT & Monitoring Systems"
468
+ CONSTRUCTION_HEAVY_EQUIPMENT = :"Construction & Heavy Equipment"
469
+ MINING_NATURAL_RESOURCES = :"Mining & Natural Resources"
470
+ ENVIRONMENTAL_ENGINEERING_SUSTAINABILITY = :"Environmental Engineering & Sustainability"
471
+ ENERGY_STORAGE_BATTERY_TECHNOLOGY = :"Energy Storage & Battery Technology"
472
+ AUTOMOTIVE_OE_MS_VEHICLE_MANUFACTURING = :"Automotive OEMs & Vehicle Manufacturing"
473
+ ELECTRIC_VEHICLES_E_VS_CHARGING_INFRASTRUCTURE = :"Electric Vehicles (EVs) & Charging Infrastructure"
474
+ MOBILITY_AS_A_SERVICE_MAA_S = :"Mobility-as-a-Service (MaaS)"
475
+ FLEET_MANAGEMENT = :"Fleet Management"
476
+ PUBLIC_TRANSIT_URBAN_MOBILITY = :"Public Transit & Urban Mobility"
477
+ AUTONOMOUS_VEHICLES_ADAS = :"Autonomous Vehicles & ADAS"
478
+ AFTERMARKET_PARTS_SERVICES = :"Aftermarket Parts & Services"
479
+ TELEMATICS_VEHICLE_CONNECTIVITY = :"Telematics & Vehicle Connectivity"
480
+ AVIATION_AEROSPACE_TRANSPORT = :"Aviation & Aerospace Transport"
481
+ MARITIME_SHIPPING = :"Maritime Shipping"
482
+ FITNESS_WELLNESS = :"Fitness & Wellness"
483
+ BEAUTY_PERSONAL_CARE = :"Beauty & Personal Care"
484
+ HOME_LIVING = :"Home & Living"
485
+ DATING_RELATIONSHIPS = :"Dating & Relationships"
486
+ HOBBIES_CRAFTS_DIY = :"Hobbies, Crafts & DIY"
487
+ OUTDOOR_RECREATIONAL_GEAR = :"Outdoor & Recreational Gear"
488
+ EVENTS_EXPERIENCES_TICKETING_PLATFORMS = :"Events, Experiences & Ticketing Platforms"
489
+ DESIGNER_LUXURY_APPAREL = :"Designer & Luxury Apparel"
490
+ ACCESSORIES_JEWELRY_WATCHES = :"Accessories, Jewelry & Watches"
491
+ FOOTWEAR_LEATHER_GOODS = :"Footwear & Leather Goods"
492
+ BEAUTY_FRAGRANCE_SKINCARE = :"Beauty, Fragrance & Skincare"
493
+ FASHION_MARKETPLACES_RETAIL_PLATFORMS = :"Fashion Marketplaces & Retail Platforms"
494
+ SUSTAINABLE_ETHICAL_FASHION = :"Sustainable & Ethical Fashion"
495
+ RESALE_VINTAGE_CIRCULAR_FASHION = :"Resale, Vintage & Circular Fashion"
496
+ FASHION_TECH_VIRTUAL_TRY_ONS = :"Fashion Tech & Virtual Try-Ons"
497
+ STREETWEAR_EMERGING_LUXURY = :"Streetwear & Emerging Luxury"
498
+ COUTURE_MADE_TO_MEASURE = :"Couture & Made-to-Measure"
499
+ NEWS_PUBLISHING_JOURNALISM = :"News Publishing & Journalism"
500
+ DIGITAL_MEDIA_CONTENT_PLATFORMS = :"Digital Media & Content Platforms"
501
+ BROADCASTING_TV_RADIO = :"Broadcasting (TV & Radio)"
502
+ PODCASTING_AUDIO_MEDIA = :"Podcasting & Audio Media"
503
+ NEWS_AGGREGATORS_CURATION_TOOLS = :"News Aggregators & Curation Tools"
504
+ INDEPENDENT_CREATOR_LED_MEDIA = :"Independent & Creator-Led Media"
505
+ NEWSLETTERS_SUBSTACK_STYLE_PLATFORMS = :"Newsletters & Substack-Style Platforms"
506
+ POLITICAL_INVESTIGATIVE_MEDIA = :"Political & Investigative Media"
507
+ TRADE_NICHE_PUBLICATIONS = :"Trade & Niche Publications"
508
+ MEDIA_MONITORING_ANALYTICS = :"Media Monitoring & Analytics"
509
+ PROFESSIONAL_TEAMS_LEAGUES = :"Professional Teams & Leagues"
510
+ SPORTS_MEDIA_BROADCASTING = :"Sports Media & Broadcasting"
511
+ SPORTS_BETTING_FANTASY_SPORTS = :"Sports Betting & Fantasy Sports"
512
+ FITNESS_ATHLETIC_TRAINING_PLATFORMS = :"Fitness & Athletic Training Platforms"
513
+ SPORTSWEAR_EQUIPMENT = :"Sportswear & Equipment"
514
+ ESPORTS_COMPETITIVE_GAMING = :"Esports & Competitive Gaming"
515
+ SPORTS_VENUES_EVENT_MANAGEMENT = :"Sports Venues & Event Management"
516
+ ATHLETE_MANAGEMENT_TALENT_AGENCIES = :"Athlete Management & Talent Agencies"
517
+ SPORTS_TECH_PERFORMANCE_ANALYTICS = :"Sports Tech & Performance Analytics"
518
+ YOUTH_AMATEUR_COLLEGIATE_SPORTS = :"Youth, Amateur & Collegiate Sports"
519
+ REAL_ESTATE_MARKETPLACES = :"Real Estate Marketplaces"
520
+ PROPERTY_MANAGEMENT_SOFTWARE = :"Property Management Software"
521
+ RENTAL_PLATFORMS = :"Rental Platforms"
522
+ MORTGAGE_LENDING_TECH = :"Mortgage & Lending Tech"
523
+ REAL_ESTATE_INVESTMENT_PLATFORMS = :"Real Estate Investment Platforms"
524
+ LAW_FIRMS_LEGAL_SERVICES = :"Law Firms & Legal Services"
525
+ LEGAL_TECH_AUTOMATION = :"Legal Tech & Automation"
526
+ REGULATORY_COMPLIANCE = :"Regulatory Compliance"
527
+ E_DISCOVERY_LITIGATION_TOOLS = :"E-Discovery & Litigation Tools"
528
+ CONTRACT_MANAGEMENT = :"Contract Management"
529
+ GOVERNANCE_RISK_COMPLIANCE_GRC = :"Governance, Risk & Compliance (GRC)"
530
+ IP_TRADEMARK_MANAGEMENT = :"IP & Trademark Management"
531
+ LEGAL_RESEARCH_INTELLIGENCE = :"Legal Research & Intelligence"
532
+ COMPLIANCE_TRAINING_CERTIFICATION = :"Compliance Training & Certification"
533
+ WHISTLEBLOWER_ETHICS_REPORTING = :"Whistleblower & Ethics Reporting"
534
+ MOBILE_WIRELESS_NETWORKS_3_G_4_G_5_G = :"Mobile & Wireless Networks (3G/4G/5G)"
535
+ BROADBAND_FIBER_INTERNET = :"Broadband & Fiber Internet"
536
+ SATELLITE_SPACE_BASED_COMMUNICATIONS = :"Satellite & Space-Based Communications"
537
+ NETWORK_EQUIPMENT_INFRASTRUCTURE = :"Network Equipment & Infrastructure"
538
+ TELECOM_BILLING_OSS_BSS_SYSTEMS = :"Telecom Billing & OSS/BSS Systems"
539
+ VO_IP_UNIFIED_COMMUNICATIONS = :"VoIP & Unified Communications"
540
+ INTERNET_SERVICE_PROVIDERS_IS_PS = :"Internet Service Providers (ISPs)"
541
+ EDGE_COMPUTING_NETWORK_VIRTUALIZATION = :"Edge Computing & Network Virtualization"
542
+ IO_T_CONNECTIVITY_PLATFORMS = :"IoT Connectivity Platforms"
543
+ PRECISION_AGRICULTURE_AG_TECH = :"Precision Agriculture & AgTech"
544
+ CROP_LIVESTOCK_PRODUCTION = :"Crop & Livestock Production"
545
+ FOOD_BEVERAGE_MANUFACTURING_PROCESSING = :"Food & Beverage Manufacturing & Processing"
546
+ FOOD_DISTRIBUTION = :"Food Distribution"
547
+ RESTAURANTS_FOOD_SERVICE = :"Restaurants & Food Service"
548
+ AGRICULTURAL_INPUTS_EQUIPMENT = :"Agricultural Inputs & Equipment"
549
+ SUSTAINABLE_REGENERATIVE_AGRICULTURE = :"Sustainable & Regenerative Agriculture"
550
+ SEAFOOD_AQUACULTURE = :"Seafood & Aquaculture"
551
+ MANAGEMENT_CONSULTING = :"Management Consulting"
552
+ MARKETING_ADVERTISING_AGENCIES = :"Marketing & Advertising Agencies"
553
+ DESIGN_BRANDING_CREATIVE_STUDIOS = :"Design, Branding & Creative Studios"
554
+ IT_SERVICES_MANAGED_SERVICES = :"IT Services & Managed Services"
555
+ STAFFING_RECRUITING_TALENT = :"Staffing, Recruiting & Talent"
556
+ ACCOUNTING_TAX_FIRMS = :"Accounting & Tax Firms"
557
+ PUBLIC_RELATIONS_COMMUNICATIONS = :"Public Relations & Communications"
558
+ BUSINESS_PROCESS_OUTSOURCING_BPO = :"Business Process Outsourcing (BPO)"
559
+ PROFESSIONAL_TRAINING_COACHING = :"Professional Training & Coaching"
560
+ SPECIALTY_CHEMICALS = :"Specialty Chemicals"
561
+ COMMODITY_PETROCHEMICALS = :"Commodity & Petrochemicals"
562
+ POLYMERS_PLASTICS_RUBBER = :"Polymers, Plastics & Rubber"
563
+ COATINGS_ADHESIVES_SEALANTS = :"Coatings, Adhesives & Sealants"
564
+ INDUSTRIAL_GASES = :"Industrial Gases"
565
+ ADVANCED_MATERIALS_COMPOSITES = :"Advanced Materials & Composites"
566
+ BATTERY_MATERIALS_ENERGY_STORAGE = :"Battery Materials & Energy Storage"
567
+ ELECTRONIC_MATERIALS_SEMICONDUCTOR_CHEMICALS = :"Electronic Materials & Semiconductor Chemicals"
568
+ AGROCHEMICALS_FERTILIZERS = :"Agrochemicals & Fertilizers"
569
+ FREIGHT_TRANSPORTATION_TECH = :"Freight & Transportation Tech"
570
+ LAST_MILE_DELIVERY = :"Last-Mile Delivery"
571
+ WAREHOUSE_AUTOMATION = :"Warehouse Automation"
572
+ SUPPLY_CHAIN_VISIBILITY_PLATFORMS = :"Supply Chain Visibility Platforms"
573
+ LOGISTICS_MARKETPLACES = :"Logistics Marketplaces"
574
+ SHIPPING_FREIGHT_FORWARDING = :"Shipping & Freight Forwarding"
575
+ COLD_CHAIN_LOGISTICS = :"Cold Chain Logistics"
576
+ REVERSE_LOGISTICS_RETURNS = :"Reverse Logistics & Returns"
577
+ CROSS_BORDER_TRADE_TECH = :"Cross-Border Trade Tech"
578
+ TRANSPORTATION_MANAGEMENT_SYSTEMS_TMS = :"Transportation Management Systems (TMS)"
579
+ HOTELS_ACCOMMODATION = :"Hotels & Accommodation"
580
+ VACATION_RENTALS_SHORT_TERM_STAYS = :"Vacation Rentals & Short-Term Stays"
581
+ RESTAURANT_TECH_MANAGEMENT = :"Restaurant Tech & Management"
582
+ TRAVEL_BOOKING_PLATFORMS = :"Travel Booking Platforms"
583
+ TOURISM_EXPERIENCES_ACTIVITIES = :"Tourism Experiences & Activities"
584
+ CRUISE_LINES_MARINE_TOURISM = :"Cruise Lines & Marine Tourism"
585
+ HOSPITALITY_MANAGEMENT_SYSTEMS = :"Hospitality Management Systems"
586
+ EVENT_VENUE_MANAGEMENT = :"Event & Venue Management"
587
+ CORPORATE_TRAVEL_MANAGEMENT = :"Corporate Travel Management"
588
+ TRAVEL_INSURANCE_PROTECTION = :"Travel Insurance & Protection"
589
+ CONSTRUCTION_MANAGEMENT_SOFTWARE = :"Construction Management Software"
590
+ BIM_CAD_DESIGN_TOOLS = :"BIM/CAD & Design Tools"
591
+ CONSTRUCTION_MARKETPLACES = :"Construction Marketplaces"
592
+ EQUIPMENT_RENTAL_MANAGEMENT = :"Equipment Rental & Management"
593
+ BUILDING_MATERIALS_PROCUREMENT = :"Building Materials & Procurement"
594
+ CONSTRUCTION_WORKFORCE_MANAGEMENT = :"Construction Workforce Management"
595
+ PROJECT_ESTIMATION_BIDDING = :"Project Estimation & Bidding"
596
+ MODULAR_PREFAB_CONSTRUCTION = :"Modular & Prefab Construction"
597
+ CONSTRUCTION_SAFETY_COMPLIANCE = :"Construction Safety & Compliance"
598
+ SMART_BUILDING_TECHNOLOGY = :"Smart Building Technology"
599
+ FOOD_BEVERAGE_CPG = :"Food & Beverage CPG"
600
+ HOME_PERSONAL_CARE_CPG = :"Home & Personal Care CPG"
601
+ CPG_ANALYTICS_INSIGHTS = :"CPG Analytics & Insights"
602
+ DIRECT_TO_CONSUMER_CPG_BRANDS = :"Direct-to-Consumer CPG Brands"
603
+ CPG_SUPPLY_CHAIN_DISTRIBUTION = :"CPG Supply Chain & Distribution"
604
+ PRIVATE_LABEL_MANUFACTURING = :"Private Label Manufacturing"
605
+ CPG_RETAIL_INTELLIGENCE = :"CPG Retail Intelligence"
606
+ SUSTAINABLE_CPG_PACKAGING = :"Sustainable CPG & Packaging"
607
+ BEAUTY_COSMETICS_CPG = :"Beauty & Cosmetics CPG"
608
+ HEALTH_WELLNESS_CPG = :"Health & Wellness CPG"
609
+
610
+ # @!method self.values
611
+ # @return [Array<Symbol>]
612
+ end
613
+ end
614
+ end
615
+
307
616
  class Logo < BrandDev::Internal::Type::BaseModel
308
617
  # @!attribute colors
309
618
  # Array of colors in the logo
@@ -45,8 +45,6 @@ module BrandDev
45
45
 
46
46
  BrandPrefetchParams = BrandDev::Models::BrandPrefetchParams
47
47
 
48
- BrandRetrieveByTickerParams = BrandDev::Models::BrandRetrieveByTickerParams
49
-
50
48
  BrandRetrieveNaicsParams = BrandDev::Models::BrandRetrieveNaicsParams
51
49
 
52
50
  BrandRetrieveParams = BrandDev::Models::BrandRetrieveParams
@@ -6,16 +6,21 @@ module BrandDev
6
6
  # Some parameter documentations has been truncated, see
7
7
  # {BrandDev::Models::BrandRetrieveParams} for more details.
8
8
  #
9
- # Retrieve brand data by domain
9
+ # Retrieve brand information using one of three methods: domain name, company
10
+ # name, or stock ticker symbol. Exactly one of these parameters must be provided.
10
11
  #
11
- # @overload retrieve(domain:, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
12
+ # @overload retrieve(domain: nil, force_language: nil, max_speed: nil, name: nil, ticker: nil, timeout_ms: nil, request_options: {})
12
13
  #
13
- # @param domain [String] Domain name to retrieve brand data for
14
+ # @param domain [String] Domain name to retrieve brand data for (e.g., 'example.com', 'google.com'). Cann
14
15
  #
15
- # @param force_language [Symbol, BrandDev::Models::BrandRetrieveParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data
16
+ # @param force_language [Symbol, BrandDev::Models::BrandRetrieveParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data. Works with
16
17
  #
17
18
  # @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
18
19
  #
20
+ # @param name [String] Company name to retrieve brand data for (e.g., 'Apple Inc', 'Microsoft Corporati
21
+ #
22
+ # @param ticker [String] Stock ticker symbol to retrieve brand data for (e.g., 'AAPL', 'GOOGL', 'BRK.A').
23
+ #
19
24
  # @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
20
25
  #
21
26
  # @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -23,7 +28,7 @@ module BrandDev
23
28
  # @return [BrandDev::Models::BrandRetrieveResponse]
24
29
  #
25
30
  # @see BrandDev::Models::BrandRetrieveParams
26
- def retrieve(params)
31
+ def retrieve(params = {})
27
32
  parsed, options = BrandDev::BrandRetrieveParams.dump_request(params)
28
33
  @client.request(
29
34
  method: :get,
@@ -125,33 +130,6 @@ module BrandDev
125
130
  )
126
131
  end
127
132
 
128
- # Some parameter documentations has been truncated, see
129
- # {BrandDev::Models::BrandRetrieveByTickerParams} for more details.
130
- #
131
- # Retrieve brand data by stock ticker (e.g. AAPL, TSLA, etc.)
132
- #
133
- # @overload retrieve_by_ticker(ticker:, timeout_ms: nil, request_options: {})
134
- #
135
- # @param ticker [String] Stock ticker symbol to retrieve brand data for (e.g. AAPL, TSLA, etc.)
136
- #
137
- # @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
138
- #
139
- # @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}, nil]
140
- #
141
- # @return [BrandDev::Models::BrandRetrieveByTickerResponse]
142
- #
143
- # @see BrandDev::Models::BrandRetrieveByTickerParams
144
- def retrieve_by_ticker(params)
145
- parsed, options = BrandDev::BrandRetrieveByTickerParams.dump_request(params)
146
- @client.request(
147
- method: :get,
148
- path: "brand/retrieve-by-ticker",
149
- query: parsed.transform_keys(timeout_ms: "timeoutMS"),
150
- model: BrandDev::Models::BrandRetrieveByTickerResponse,
151
- options: options
152
- )
153
- end
154
-
155
133
  # Some parameter documentations has been truncated, see
156
134
  # {BrandDev::Models::BrandRetrieveNaicsParams} for more details.
157
135
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BrandDev
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
data/lib/brand_dev.rb CHANGED
@@ -56,8 +56,6 @@ require_relative "brand_dev/models/brand_identify_from_transaction_params"
56
56
  require_relative "brand_dev/models/brand_identify_from_transaction_response"
57
57
  require_relative "brand_dev/models/brand_prefetch_params"
58
58
  require_relative "brand_dev/models/brand_prefetch_response"
59
- require_relative "brand_dev/models/brand_retrieve_by_ticker_params"
60
- require_relative "brand_dev/models/brand_retrieve_by_ticker_response"
61
59
  require_relative "brand_dev/models/brand_retrieve_naics_params"
62
60
  require_relative "brand_dev/models/brand_retrieve_naics_response"
63
61
  require_relative "brand_dev/models/brand_retrieve_params"
@@ -213,7 +213,7 @@ module BrandDev
213
213
  send_retry_header: T::Boolean
214
214
  ).returns([Integer, Net::HTTPResponse, T::Enumerable[String]])
215
215
  end
216
- private def send_request(
216
+ def send_request(
217
217
  request,
218
218
  redirect_count:,
219
219
  retry_count:,
@@ -90,6 +90,60 @@ module BrandDev
90
90
  def self.type_info(spec)
91
91
  end
92
92
 
93
+ # @api private
94
+ sig do
95
+ params(
96
+ type_info:
97
+ T.any(
98
+ {
99
+ const:
100
+ T.nilable(
101
+ T.any(NilClass, T::Boolean, Integer, Float, Symbol)
102
+ ),
103
+ enum:
104
+ T.nilable(
105
+ T.proc.returns(
106
+ BrandDev::Internal::Type::Converter::Input
107
+ )
108
+ ),
109
+ union:
110
+ T.nilable(
111
+ T.proc.returns(
112
+ BrandDev::Internal::Type::Converter::Input
113
+ )
114
+ )
115
+ },
116
+ T.proc.returns(BrandDev::Internal::Type::Converter::Input),
117
+ BrandDev::Internal::Type::Converter::Input
118
+ ),
119
+ spec:
120
+ T.any(
121
+ {
122
+ const:
123
+ T.nilable(
124
+ T.any(NilClass, T::Boolean, Integer, Float, Symbol)
125
+ ),
126
+ enum:
127
+ T.nilable(
128
+ T.proc.returns(
129
+ BrandDev::Internal::Type::Converter::Input
130
+ )
131
+ ),
132
+ union:
133
+ T.nilable(
134
+ T.proc.returns(
135
+ BrandDev::Internal::Type::Converter::Input
136
+ )
137
+ )
138
+ },
139
+ T.proc.returns(BrandDev::Internal::Type::Converter::Input),
140
+ BrandDev::Internal::Type::Converter::Input
141
+ )
142
+ ).returns(BrandDev::Internal::AnyHash)
143
+ end
144
+ def self.meta_info(type_info, spec)
145
+ end
146
+
93
147
  # @api private
94
148
  sig do
95
149
  params(translate_names: T::Boolean).returns(
@@ -16,7 +16,8 @@ module BrandDev
16
16
  T::Array[
17
17
  [
18
18
  T.nilable(Symbol),
19
- T.proc.returns(BrandDev::Internal::Type::Converter::Input)
19
+ T.proc.returns(BrandDev::Internal::Type::Converter::Input),
20
+ BrandDev::Internal::AnyHash
20
21
  ]
21
22
  ]
22
23
  )
@@ -25,7 +26,13 @@ module BrandDev
25
26
  end
26
27
 
27
28
  # @api private
28
- sig { returns(T::Array[[T.nilable(Symbol), T.anything]]) }
29
+ sig do
30
+ returns(
31
+ T::Array[
32
+ [T.nilable(Symbol), T.anything, BrandDev::Internal::AnyHash]
33
+ ]
34
+ )
35
+ end
29
36
  protected def derefed_variants
30
37
  end
31
38