Class: Sentdm::Models::ProfileListResponse::Data::Profile
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::ProfileListResponse::Data::Profile
- Defined in:
- lib/sentdm/models/profile_list_response.rb
Defined Under Namespace
Classes: BillingContact, Brand
Instance Attribute Summary collapse
-
#allow_contact_sharing ⇒ Boolean?
Whether contacts are shared across profiles in the organization.
-
#allow_number_change_during_onboarding ⇒ Boolean?
Whether number changes are allowed during onboarding.
-
#allow_template_sharing ⇒ Boolean?
Whether templates are shared across profiles in the organization.
-
#billing_contact ⇒ Sentdm::Models::ProfileListResponse::Data::Profile::BillingContact?
Billing contact info returned in profile responses.
-
#billing_model ⇒ String?
Billing model: profile, organization, or profile_and_organization.
-
#brand ⇒ Sentdm::Models::ProfileListResponse::Data::Profile::Brand?
Brand response with nested contact, business, and compliance sections — mirrors the request structure.
-
#created_at ⇒ Time?
When the profile was created.
-
#description ⇒ String?
Profile description.
-
#email ⇒ String?
Profile email (inherited from organization).
-
#icon ⇒ String?
Profile icon URL.
-
#id ⇒ String?
Profile unique identifier.
-
#inherit_contacts ⇒ Boolean?
Whether this profile inherits contacts from the organization.
-
#inherit_tcr_brand ⇒ Boolean?
Whether this profile inherits TCR brand from the organization.
-
#inherit_tcr_campaign ⇒ Boolean?
Whether this profile inherits TCR campaign from the organization.
-
#inherit_templates ⇒ Boolean?
Whether this profile inherits templates from the organization.
-
#name ⇒ String?
Profile name.
-
#organization_id ⇒ String?
Parent organization ID.
-
#sending_phone_number ⇒ String?
Direct SMS phone number.
-
#sending_phone_number_profile_id ⇒ String?
Reference to another profile for SMS/Telnyx configuration.
-
#sending_whatsapp_number_profile_id ⇒ String?
Reference to another profile for WhatsApp configuration.
-
#short_name ⇒ String?
Profile short name/abbreviation.
-
#status ⇒ String?
Profile setup status: incomplete, pending_review, approved, rejected.
-
#updated_at ⇒ Time?
When the profile was last updated.
-
#waba_id ⇒ String?
WhatsApp Business Account ID associated with this profile.
-
#whatsapp_phone_number ⇒ String?
Direct WhatsApp phone number.
Instance Method Summary collapse
-
#initialize(address: nil, email: nil, name: nil, phone: nil) ⇒ Object
constructor
Billing contact info returned in profile responses.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(address: nil, email: nil, name: nil, phone: nil) ⇒ Object
Billing contact info returned in profile responses
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 |
# File 'lib/sentdm/models/profile_list_response.rb', line 56 class Profile < Sentdm::Internal::Type::BaseModel # @!attribute id # Profile unique identifier # # @return [String, nil] optional :id, String # @!attribute allow_contact_sharing # Whether contacts are shared across profiles in the organization # # @return [Boolean, nil] optional :allow_contact_sharing, Sentdm::Internal::Type::Boolean # @!attribute allow_number_change_during_onboarding # Whether number changes are allowed during onboarding # # @return [Boolean, nil] optional :allow_number_change_during_onboarding, Sentdm::Internal::Type::Boolean, nil?: true # @!attribute allow_template_sharing # Whether templates are shared across profiles in the organization # # @return [Boolean, nil] optional :allow_template_sharing, Sentdm::Internal::Type::Boolean # @!attribute billing_contact # Billing contact info returned in profile responses # # @return [Sentdm::Models::ProfileListResponse::Data::Profile::BillingContact, nil] optional :billing_contact, -> { Sentdm::Models::ProfileListResponse::Data::Profile::BillingContact }, nil?: true # @!attribute billing_model # Billing model: profile, organization, or profile_and_organization # # @return [String, nil] optional :billing_model, String # @!attribute brand # Brand response with nested contact, business, and compliance sections — mirrors # the request structure. # # @return [Sentdm::Models::ProfileListResponse::Data::Profile::Brand, nil] optional :brand, -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand }, nil?: true # @!attribute created_at # When the profile was created # # @return [Time, nil] optional :created_at, Time # @!attribute description # Profile description # # @return [String, nil] optional :description, String, nil?: true # @!attribute email # Profile email (inherited from organization) # # @return [String, nil] optional :email, String, nil?: true # @!attribute icon # Profile icon URL # # @return [String, nil] optional :icon, String, nil?: true # @!attribute inherit_contacts # Whether this profile inherits contacts from the organization # # @return [Boolean, nil] optional :inherit_contacts, Sentdm::Internal::Type::Boolean # @!attribute inherit_tcr_brand # Whether this profile inherits TCR brand from the organization # # @return [Boolean, nil] optional :inherit_tcr_brand, Sentdm::Internal::Type::Boolean # @!attribute inherit_tcr_campaign # Whether this profile inherits TCR campaign from the organization # # @return [Boolean, nil] optional :inherit_tcr_campaign, Sentdm::Internal::Type::Boolean # @!attribute inherit_templates # Whether this profile inherits templates from the organization # # @return [Boolean, nil] optional :inherit_templates, Sentdm::Internal::Type::Boolean # @!attribute name # Profile name # # @return [String, nil] optional :name, String # @!attribute organization_id # Parent organization ID # # @return [String, nil] optional :organization_id, String, nil?: true # @!attribute sending_phone_number # Direct SMS phone number # # @return [String, nil] optional :sending_phone_number, String, nil?: true # @!attribute sending_phone_number_profile_id # Reference to another profile for SMS/Telnyx configuration # # @return [String, nil] optional :sending_phone_number_profile_id, String, nil?: true # @!attribute sending_whatsapp_number_profile_id # Reference to another profile for WhatsApp configuration # # @return [String, nil] optional :sending_whatsapp_number_profile_id, String, nil?: true # @!attribute short_name # Profile short name/abbreviation. 3–11 characters: letters, numbers, and spaces # only, with at least one letter. # # @return [String, nil] optional :short_name, String, nil?: true # @!attribute status # Profile setup status: incomplete, pending_review, approved, rejected # # @return [String, nil] optional :status, String # @!attribute updated_at # When the profile was last updated # # @return [Time, nil] optional :updated_at, Time, nil?: true # @!attribute waba_id # WhatsApp Business Account ID associated with this profile. Present whether the # WABA is inherited from the organization or configured directly. # # @return [String, nil] optional :waba_id, String, nil?: true # @!attribute whatsapp_phone_number # Direct WhatsApp phone number # # @return [String, nil] optional :whatsapp_phone_number, String, nil?: true # @!method initialize(id: nil, allow_contact_sharing: nil, allow_number_change_during_onboarding: nil, allow_template_sharing: nil, billing_contact: nil, billing_model: nil, brand: nil, created_at: nil, description: nil, email: nil, icon: nil, inherit_contacts: nil, inherit_tcr_brand: nil, inherit_tcr_campaign: nil, inherit_templates: nil, name: nil, organization_id: nil, sending_phone_number: nil, sending_phone_number_profile_id: nil, sending_whatsapp_number_profile_id: nil, short_name: nil, status: nil, updated_at: nil, waba_id: nil, whatsapp_phone_number: nil) # Some parameter documentations has been truncated, see # {Sentdm::Models::ProfileListResponse::Data::Profile} for more details. # # Detailed profile response for v3 API # # @param id [String] Profile unique identifier # # @param allow_contact_sharing [Boolean] Whether contacts are shared across profiles in the organization # # @param allow_number_change_during_onboarding [Boolean, nil] Whether number changes are allowed during onboarding # # @param allow_template_sharing [Boolean] Whether templates are shared across profiles in the organization # # @param billing_contact [Sentdm::Models::ProfileListResponse::Data::Profile::BillingContact, nil] Billing contact info returned in profile responses # # @param billing_model [String] Billing model: profile, organization, or profile_and_organization # # @param brand [Sentdm::Models::ProfileListResponse::Data::Profile::Brand, nil] Brand response with nested contact, business, and compliance sections — mirrors # # @param created_at [Time] When the profile was created # # @param description [String, nil] Profile description # # @param email [String, nil] Profile email (inherited from organization) # # @param icon [String, nil] Profile icon URL # # @param inherit_contacts [Boolean] Whether this profile inherits contacts from the organization # # @param inherit_tcr_brand [Boolean] Whether this profile inherits TCR brand from the organization # # @param inherit_tcr_campaign [Boolean] Whether this profile inherits TCR campaign from the organization # # @param inherit_templates [Boolean] Whether this profile inherits templates from the organization # # @param name [String] Profile name # # @param organization_id [String, nil] Parent organization ID # # @param sending_phone_number [String, nil] Direct SMS phone number # # @param sending_phone_number_profile_id [String, nil] Reference to another profile for SMS/Telnyx configuration # # @param sending_whatsapp_number_profile_id [String, nil] Reference to another profile for WhatsApp configuration # # @param short_name [String, nil] Profile short name/abbreviation. 3–11 characters: letters, numbers, and spaces o # # @param status [String] Profile setup status: incomplete, pending_review, approved, rejected # # @param updated_at [Time, nil] When the profile was last updated # # @param waba_id [String, nil] WhatsApp Business Account ID associated with this profile. # # @param whatsapp_phone_number [String, nil] Direct WhatsApp phone number # @see Sentdm::Models::ProfileListResponse::Data::Profile#billing_contact class BillingContact < Sentdm::Internal::Type::BaseModel # @!attribute address # # @return [String, nil] optional :address, String, nil?: true # @!attribute email # # @return [String, nil] optional :email, String, nil?: true # @!attribute name # # @return [String, nil] optional :name, String, nil?: true # @!attribute phone # # @return [String, nil] optional :phone, String, nil?: true # @!method initialize(address: nil, email: nil, name: nil, phone: nil) # Billing contact info returned in profile responses # # @param address [String, nil] # @param email [String, nil] # @param name [String, nil] # @param phone [String, nil] end # @see Sentdm::Models::ProfileListResponse::Data::Profile#brand class Brand < Sentdm::Internal::Type::BaseModel # @!attribute id # Unique identifier for the brand # # @return [String, nil] optional :id, String # @!attribute business # Business details and address information # # @return [Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Business, nil] optional :business, -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Business }, nil?: true # @!attribute compliance # Compliance and TCR-related information # # @return [Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance, nil] optional :compliance, -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance }, nil?: true # @!attribute contact # Contact information for the brand # # @return [Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Contact, nil] optional :contact, -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Contact }, nil?: true # @!attribute created_at # When the brand was created # # @return [Time, nil] optional :created_at, Time # @!attribute csp_id # CSP (Campaign Service Provider) ID # # @return [String, nil] optional :csp_id, String, nil?: true # @!attribute identity_status # # @return [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::IdentityStatus, nil] optional :identity_status, enum: -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand::IdentityStatus }, nil?: true # @!attribute is_inherited # Whether this brand is inherited from the parent organization # # @return [Boolean, nil] optional :is_inherited, Sentdm::Internal::Type::Boolean # @!attribute status # # @return [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Status, nil] optional :status, enum: -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Status }, nil?: true # @!attribute submitted_at # When the brand was submitted to TCR # # @return [Time, nil] optional :submitted_at, Time, nil?: true # @!attribute submitted_to_tcr # Whether this brand has been submitted to TCR # # @return [Boolean, nil] optional :submitted_to_tcr, Sentdm::Internal::Type::Boolean # @!attribute tcr_brand_id # TCR brand ID (populated after TCR submission) # # @return [String, nil] optional :tcr_brand_id, String, nil?: true # @!attribute universal_ein # Universal EIN from TCR # # @return [String, nil] optional :universal_ein, String, nil?: true # @!attribute updated_at # When the brand was last updated # # @return [Time, nil] optional :updated_at, Time, nil?: true # @!method initialize(id: nil, business: nil, compliance: nil, contact: nil, created_at: nil, csp_id: nil, identity_status: nil, is_inherited: nil, status: nil, submitted_at: nil, submitted_to_tcr: nil, tcr_brand_id: nil, universal_ein: nil, updated_at: nil) # Brand response with nested contact, business, and compliance sections — mirrors # the request structure. # # @param id [String] Unique identifier for the brand # # @param business [Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Business, nil] Business details and address information # # @param compliance [Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance, nil] Compliance and TCR-related information # # @param contact [Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Contact, nil] Contact information for the brand # # @param created_at [Time] When the brand was created # # @param csp_id [String, nil] CSP (Campaign Service Provider) ID # # @param identity_status [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::IdentityStatus, nil] # # @param is_inherited [Boolean] Whether this brand is inherited from the parent organization # # @param status [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Status, nil] # # @param submitted_at [Time, nil] When the brand was submitted to TCR # # @param submitted_to_tcr [Boolean] Whether this brand has been submitted to TCR # # @param tcr_brand_id [String, nil] TCR brand ID (populated after TCR submission) # # @param universal_ein [String, nil] Universal EIN from TCR # # @param updated_at [Time, nil] When the brand was last updated # @see Sentdm::Models::ProfileListResponse::Data::Profile::Brand#business class Business < Sentdm::Internal::Type::BaseModel # @!attribute city # City # # @return [String, nil] optional :city, String, nil?: true # @!attribute country # Country code (e.g., US, CA) # # @return [String, nil] optional :country, String, nil?: true # @!attribute country_of_registration # Country where the business is registered # # @return [String, nil] optional :country_of_registration, String, nil?: true # @!attribute entity_type # Business entity type # # @return [String, nil] optional :entity_type, String, nil?: true # @!attribute legal_name # Legal business name # # @return [String, nil] optional :legal_name, String, nil?: true # @!attribute postal_code # Postal/ZIP code # # @return [String, nil] optional :postal_code, String, nil?: true # @!attribute state # State/province code # # @return [String, nil] optional :state, String, nil?: true # @!attribute street # Street address # # @return [String, nil] optional :street, String, nil?: true # @!attribute tax_id # Tax ID/EIN number # # @return [String, nil] optional :tax_id, String, nil?: true # @!attribute tax_id_type # Type of tax ID (e.g., us_ein, ca_bn) # # @return [String, nil] optional :tax_id_type, String, nil?: true # @!attribute url # Business website URL # # @return [String, nil] optional :url, String, nil?: true # @!method initialize(city: nil, country: nil, country_of_registration: nil, entity_type: nil, legal_name: nil, postal_code: nil, state: nil, street: nil, tax_id: nil, tax_id_type: nil, url: nil) # Business details and address information # # @param city [String, nil] City # # @param country [String, nil] Country code (e.g., US, CA) # # @param country_of_registration [String, nil] Country where the business is registered # # @param entity_type [String, nil] Business entity type # # @param legal_name [String, nil] Legal business name # # @param postal_code [String, nil] Postal/ZIP code # # @param state [String, nil] State/province code # # @param street [String, nil] Street address # # @param tax_id [String, nil] Tax ID/EIN number # # @param tax_id_type [String, nil] Type of tax ID (e.g., us_ein, ca_bn) # # @param url [String, nil] Business website URL end # @see Sentdm::Models::ProfileListResponse::Data::Profile::Brand#compliance class Compliance < Sentdm::Internal::Type::BaseModel # @!attribute brand_relationship # # @return [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::BrandRelationship, nil] optional :brand_relationship, enum: -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::BrandRelationship }, nil?: true # @!attribute destination_countries # List of destination countries for messaging # # @return [Array<Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::DestinationCountry>, nil] optional :destination_countries, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::DestinationCountry] } # @!attribute expected_messaging_volume # Expected daily messaging volume # # @return [String, nil] optional :expected_messaging_volume, String, nil?: true # @!attribute is_tcr_application # Whether this is a TCR (Campaign Registry) application # # @return [Boolean, nil] optional :is_tcr_application, Sentdm::Internal::Type::Boolean # @!attribute notes # Additional notes about the business or use case # # @return [String, nil] optional :notes, String, nil?: true # @!attribute phone_number_prefix # Phone number prefix for messaging (e.g., "+1") # # @return [String, nil] optional :phone_number_prefix, String, nil?: true # @!attribute primary_use_case # Primary messaging use case description # # @return [String, nil] optional :primary_use_case, String, nil?: true # @!attribute vertical # # @return [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::Vertical, nil] optional :vertical, enum: -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::Vertical }, nil?: true # @!method initialize(brand_relationship: nil, destination_countries: nil, expected_messaging_volume: nil, is_tcr_application: nil, notes: nil, phone_number_prefix: nil, primary_use_case: nil, vertical: nil) # Compliance and TCR-related information # # @param brand_relationship [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::BrandRelationship, nil] # # @param destination_countries [Array<Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::DestinationCountry>] List of destination countries for messaging # # @param expected_messaging_volume [String, nil] Expected daily messaging volume # # @param is_tcr_application [Boolean] Whether this is a TCR (Campaign Registry) application # # @param notes [String, nil] Additional notes about the business or use case # # @param phone_number_prefix [String, nil] Phone number prefix for messaging (e.g., "+1") # # @param primary_use_case [String, nil] Primary messaging use case description # # @param vertical [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::Vertical, nil] # @see Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance#brand_relationship module BrandRelationship extend Sentdm::Internal::Type::Enum BASIC_ACCOUNT = :BASIC_ACCOUNT MEDIUM_ACCOUNT = :MEDIUM_ACCOUNT LARGE_ACCOUNT = :LARGE_ACCOUNT SMALL_ACCOUNT = :SMALL_ACCOUNT KEY_ACCOUNT = :KEY_ACCOUNT # @!method self.values # @return [Array<Symbol>] end class DestinationCountry < Sentdm::Internal::Type::BaseModel # @!attribute id # # @return [String, nil] optional :id, String # @!attribute is_main # # @return [Boolean, nil] optional :is_main, Sentdm::Internal::Type::Boolean, api_name: :isMain # @!method initialize(id: nil, is_main: nil) # @param id [String] # @param is_main [Boolean] end # @see Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance#vertical module Vertical extend Sentdm::Internal::Type::Enum PROFESSIONAL = :PROFESSIONAL REAL_ESTATE = :REAL_ESTATE HEALTHCARE = :HEALTHCARE HUMAN_RESOURCES = :HUMAN_RESOURCES ENERGY = :ENERGY ENTERTAINMENT = :ENTERTAINMENT RETAIL = :RETAIL TRANSPORTATION = :TRANSPORTATION AGRICULTURE = :AGRICULTURE INSURANCE = :INSURANCE POSTAL = :POSTAL EDUCATION = :EDUCATION HOSPITALITY = :HOSPITALITY FINANCIAL = :FINANCIAL POLITICAL = :POLITICAL GAMBLING = :GAMBLING LEGAL = :LEGAL CONSTRUCTION = :CONSTRUCTION NGO = :NGO MANUFACTURING = :MANUFACTURING GOVERNMENT = :GOVERNMENT TECHNOLOGY = :TECHNOLOGY COMMUNICATION = :COMMUNICATION # @!method self.values # @return [Array<Symbol>] end end # @see Sentdm::Models::ProfileListResponse::Data::Profile::Brand#contact class Contact < Sentdm::Internal::Type::BaseModel # @!attribute business_name # Business/brand name # # @return [String, nil] optional :business_name, String, nil?: true # @!attribute email # Contact email address # # @return [String, nil] optional :email, String, nil?: true # @!attribute name # Primary contact name # # @return [String, nil] optional :name, String # @!attribute phone # Contact phone number in E.164 format # # @return [String, nil] optional :phone, String, nil?: true # @!attribute phone_country_code # Contact phone country code (e.g., "1" for US) # # @return [String, nil] optional :phone_country_code, String, nil?: true # @!attribute role # Contact's role in the business # # @return [String, nil] optional :role, String, nil?: true # @!method initialize(business_name: nil, email: nil, name: nil, phone: nil, phone_country_code: nil, role: nil) # Contact information for the brand # # @param business_name [String, nil] Business/brand name # # @param email [String, nil] Contact email address # # @param name [String] Primary contact name # # @param phone [String, nil] Contact phone number in E.164 format # # @param phone_country_code [String, nil] Contact phone country code (e.g., "1" for US) # # @param role [String, nil] Contact's role in the business end # @see Sentdm::Models::ProfileListResponse::Data::Profile::Brand#identity_status module IdentityStatus extend Sentdm::Internal::Type::Enum SELF_DECLARED = :SELF_DECLARED UNVERIFIED = :UNVERIFIED VERIFIED = :VERIFIED VETTED_VERIFIED = :VETTED_VERIFIED # @!method self.values # @return [Array<Symbol>] end # @see Sentdm::Models::ProfileListResponse::Data::Profile::Brand#status module Status extend Sentdm::Internal::Type::Enum ACTIVE = :ACTIVE INACTIVE = :INACTIVE SUSPENDED = :SUSPENDED # @!method self.values # @return [Array<Symbol>] end end end |
Instance Attribute Details
#allow_contact_sharing ⇒ Boolean?
Whether contacts are shared across profiles in the organization
67 |
# File 'lib/sentdm/models/profile_list_response.rb', line 67 optional :allow_contact_sharing, Sentdm::Internal::Type::Boolean |
#allow_number_change_during_onboarding ⇒ Boolean?
Whether number changes are allowed during onboarding
73 |
# File 'lib/sentdm/models/profile_list_response.rb', line 73 optional :allow_number_change_during_onboarding, Sentdm::Internal::Type::Boolean, nil?: true |
#allow_template_sharing ⇒ Boolean?
Whether templates are shared across profiles in the organization
79 |
# File 'lib/sentdm/models/profile_list_response.rb', line 79 optional :allow_template_sharing, Sentdm::Internal::Type::Boolean |
#billing_contact ⇒ Sentdm::Models::ProfileListResponse::Data::Profile::BillingContact?
Billing contact info returned in profile responses
85 86 87 |
# File 'lib/sentdm/models/profile_list_response.rb', line 85 optional :billing_contact, -> { Sentdm::Models::ProfileListResponse::Data::Profile::BillingContact }, nil?: true |
#billing_model ⇒ String?
Billing model: profile, organization, or profile_and_organization
93 |
# File 'lib/sentdm/models/profile_list_response.rb', line 93 optional :billing_model, String |
#brand ⇒ Sentdm::Models::ProfileListResponse::Data::Profile::Brand?
Brand response with nested contact, business, and compliance sections — mirrors the request structure.
100 |
# File 'lib/sentdm/models/profile_list_response.rb', line 100 optional :brand, -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand }, nil?: true |
#created_at ⇒ Time?
When the profile was created
106 |
# File 'lib/sentdm/models/profile_list_response.rb', line 106 optional :created_at, Time |
#description ⇒ String?
Profile description
112 |
# File 'lib/sentdm/models/profile_list_response.rb', line 112 optional :description, String, nil?: true |
#email ⇒ String?
Profile email (inherited from organization)
118 |
# File 'lib/sentdm/models/profile_list_response.rb', line 118 optional :email, String, nil?: true |
#icon ⇒ String?
Profile icon URL
124 |
# File 'lib/sentdm/models/profile_list_response.rb', line 124 optional :icon, String, nil?: true |
#id ⇒ String?
Profile unique identifier
61 |
# File 'lib/sentdm/models/profile_list_response.rb', line 61 optional :id, String |
#inherit_contacts ⇒ Boolean?
Whether this profile inherits contacts from the organization
130 |
# File 'lib/sentdm/models/profile_list_response.rb', line 130 optional :inherit_contacts, Sentdm::Internal::Type::Boolean |
#inherit_tcr_brand ⇒ Boolean?
Whether this profile inherits TCR brand from the organization
136 |
# File 'lib/sentdm/models/profile_list_response.rb', line 136 optional :inherit_tcr_brand, Sentdm::Internal::Type::Boolean |
#inherit_tcr_campaign ⇒ Boolean?
Whether this profile inherits TCR campaign from the organization
142 |
# File 'lib/sentdm/models/profile_list_response.rb', line 142 optional :inherit_tcr_campaign, Sentdm::Internal::Type::Boolean |
#inherit_templates ⇒ Boolean?
Whether this profile inherits templates from the organization
148 |
# File 'lib/sentdm/models/profile_list_response.rb', line 148 optional :inherit_templates, Sentdm::Internal::Type::Boolean |
#name ⇒ String?
Profile name
154 |
# File 'lib/sentdm/models/profile_list_response.rb', line 154 optional :name, String |
#organization_id ⇒ String?
Parent organization ID
160 |
# File 'lib/sentdm/models/profile_list_response.rb', line 160 optional :organization_id, String, nil?: true |
#sending_phone_number ⇒ String?
Direct SMS phone number
166 |
# File 'lib/sentdm/models/profile_list_response.rb', line 166 optional :sending_phone_number, String, nil?: true |
#sending_phone_number_profile_id ⇒ String?
Reference to another profile for SMS/Telnyx configuration
172 |
# File 'lib/sentdm/models/profile_list_response.rb', line 172 optional :sending_phone_number_profile_id, String, nil?: true |
#sending_whatsapp_number_profile_id ⇒ String?
Reference to another profile for WhatsApp configuration
178 |
# File 'lib/sentdm/models/profile_list_response.rb', line 178 optional :sending_whatsapp_number_profile_id, String, nil?: true |
#short_name ⇒ String?
Profile short name/abbreviation. 3–11 characters: letters, numbers, and spaces only, with at least one letter.
185 |
# File 'lib/sentdm/models/profile_list_response.rb', line 185 optional :short_name, String, nil?: true |
#status ⇒ String?
Profile setup status: incomplete, pending_review, approved, rejected
191 |
# File 'lib/sentdm/models/profile_list_response.rb', line 191 optional :status, String |
#updated_at ⇒ Time?
When the profile was last updated
197 |
# File 'lib/sentdm/models/profile_list_response.rb', line 197 optional :updated_at, Time, nil?: true |
#waba_id ⇒ String?
WhatsApp Business Account ID associated with this profile. Present whether the WABA is inherited from the organization or configured directly.
204 |
# File 'lib/sentdm/models/profile_list_response.rb', line 204 optional :waba_id, String, nil?: true |
#whatsapp_phone_number ⇒ String?
Direct WhatsApp phone number
210 |
# File 'lib/sentdm/models/profile_list_response.rb', line 210 optional :whatsapp_phone_number, String, nil?: true |