
    piR                         d Z ddlmZmZmZmZmZ ddlmZm	Z	 ddl
mZ ddlmZ ddlmZ  G d de      Z G d	 d
e      Zy)a  
    This code was generated by
   ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
    |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
    |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \

    Twilio - Trusthub
    This is the public Twilio REST API.

    NOTE: This class is auto generated by OpenAPI Generator.
    https://openapi-generator.tech
    Do not edit the class manually.
    )AnyDictListOptionalUnion)	serializevalues)InstanceResource)ListResource)Versionc                   l     e Zd Z G d de      Z G d de      Z	 dedeee	f   f fdZ
defd	Z xZS )
#ComplianceTollfreeInquiriesInstancec                        e Zd ZdZdZdZdZdZy)0ComplianceTollfreeInquiriesInstance.BusinessTypePRIVATE_PROFITPUBLIC_PROFIT
NON_PROFITSOLE_PROPRIETOR
GOVERNMENTN)__name__
__module____qualname__r   r   r   r   r        w/opt/services/ai/voice_agent/venv/lib/python3.12/site-packages/twilio/rest/trusthub/v1/compliance_tollfree_inquiries.pyBusinessTyper      s    )'!
+!
r   r   c                        e Zd ZdZdZdZdZdZy)-ComplianceTollfreeInquiriesInstance.OptInTypeVERBALWEB_FORM
PAPER_FORMVIA_TEXTMOBILE_QR_CODEN)r   r   r   r   r    r!   r"   r#   r   r   r   	OptInTyper       s    !
)r   r$   versionpayloadc                     t         |   |       |j                  d      | _        |j                  d      | _        |j                  d      | _        |j                  d      | _        y )N
inquiry_idinquiry_session_tokenregistration_idurl)super__init__getr(   r)   r*   r+   )selfr%   r&   	__class__s      r   r-   z,ComplianceTollfreeInquiriesInstance.__init__.   sT    !)0\)B4;KK@W4X".5kk:K.L")++e"4r   returnc                      y)f
        Provide a friendly representation

        :returns: Machine friendly representation
        z8<Twilio.Trusthub.V1.ComplianceTollfreeInquiriesInstance>r   r/   s    r   __repr__z,ComplianceTollfreeInquiriesInstance.__repr__6   s     Jr   )r   r   r   objectr   r$   r   r   strr   r-   r5   __classcell__r0   s   @r   r   r      sI    "v "*F *5 5$sCx. 5J# Jr   r   c            K       
    e Zd Zdef fdZej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  f"dededeee	f   deee	f   deee	f   dee
e   e	f   d	eee	f   d
eee	f   dee
e   e	f   dede	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   ded e	f   d!eee	f   d"eee	f   d#eee	f   d$eee	f   d%eee	f   d&eee	f   d'eee	f   d(ee
e   e	f   d)efJd*Zej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  ej                  f"dededeee	f   deee	f   deee	f   dee
e   e	f   d	eee	f   d
eee	f   dee
e   e	f   dede	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   deee	f   ded e	f   d!eee	f   d"eee	f   d#eee	f   d$eee	f   d%eee	f   d&eee	f   d'eee	f   d(ee
e   e	f   d)efJd+Zd)efd,Z xZS )-ComplianceTollfreeInquiriesListr%   c                 2    t         |   |       d| _        y)z}
        Initialize the ComplianceTollfreeInquiriesList

        :param version: Version that contains the resource

        z(/ComplianceInquiries/Tollfree/InitializeN)r,   r-   _uri)r/   r%   r0   s     r   r-   z(ComplianceTollfreeInquiriesList.__init__B   s     	!>	r   tollfree_phone_numbernotification_emailcustomer_profile_sidbusiness_namebusiness_websiteuse_case_categoriesuse_case_summaryproduction_message_sampleopt_in_image_urlsopt_in_typer   message_volumebusiness_street_addressbusiness_street_address2business_citybusiness_state_province_regionbusiness_postal_codebusiness_countryadditional_informationbusiness_contact_first_namebusiness_contact_last_namebusiness_contact_emailbusiness_contact_phonetheme_set_idskip_messaging_use_casebusiness_registration_numberbusiness_registration_authoritybusiness_registration_countrybusiness_typer   doing_business_asopt_in_confirmation_messagehelp_message_sampleprivacy_policy_urlterms_and_conditions_urlage_gated_contentexternal_reference_idopt_in_keywordsr1   c%                    t        j                  i d|d|d|d|d|dt        j                  |d       d|d	|d
t        j                  |	d       d|
d|d|d|d|d|d|d|i d|d|d|d|d|d|dt        j                  |      d|d|d|d|d|d |d!|d"| d#|!d$t        j                  |"      |#t        j                  |$d%       d&      }%t        j                  d'd(i      }&d(|&d'<   d)|&d*<   | j
                  j                  d+| j                  |%|&,      }'t        | j
                  |'      S )-a  
        Create the ComplianceTollfreeInquiriesInstance

        :param tollfree_phone_number: The Tollfree phone number to be verified
        :param notification_email: The email address to receive the notification about the verification result.
        :param customer_profile_sid: The Customer Profile Sid associated with the Account.
        :param business_name: The name of the business or organization using the Tollfree number.
        :param business_website: The website of the business or organization using the Tollfree number.
        :param use_case_categories: The category of the use case for the Tollfree Number. List as many are applicable..
        :param use_case_summary: Use this to further explain how messaging is used by the business or organization.
        :param production_message_sample: An example of message content, i.e. a sample message.
        :param opt_in_image_urls: Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
        :param opt_in_type:
        :param message_volume: Estimate monthly volume of messages from the Tollfree Number.
        :param business_street_address: The address of the business or organization using the Tollfree number.
        :param business_street_address2: The address of the business or organization using the Tollfree number.
        :param business_city: The city of the business or organization using the Tollfree number.
        :param business_state_province_region: The state/province/region of the business or organization using the Tollfree number.
        :param business_postal_code: The postal code of the business or organization using the Tollfree number.
        :param business_country: The country of the business or organization using the Tollfree number.
        :param additional_information: Additional information to be provided for verification.
        :param business_contact_first_name: The first name of the contact for the business or organization using the Tollfree number.
        :param business_contact_last_name: The last name of the contact for the business or organization using the Tollfree number.
        :param business_contact_email: The email address of the contact for the business or organization using the Tollfree number.
        :param business_contact_phone: The phone number of the contact for the business or organization using the Tollfree number.
        :param theme_set_id: Theme id for styling the inquiry form.
        :param skip_messaging_use_case: Skip the messaging use case screen of the inquiry form.
        :param business_registration_number: The Business Registration Number of the business or organization.
        :param business_registration_authority: The Business Registration Authority of the business or organization.
        :param business_registration_country: The Business Registration Country of the business or organization.
        :param business_type:
        :param doing_business_as: Trade name, sub entity, or downstream business name of business being submitted for verification.
        :param opt_in_confirmation_message: The confirmation message sent to users when they opt in to receive messages.
        :param help_message_sample: A sample help message provided to users.
        :param privacy_policy_url: The URL to the privacy policy for the business or organization.
        :param terms_and_conditions_url: The URL to the terms and conditions for the business or organization.
        :param age_gated_content: Indicates if the content is age gated.
        :param external_reference_id: A legally recognized business registration number.
        :param opt_in_keywords: List of keywords that users can text in to opt in to receive messages.

        :returns: The created ComplianceTollfreeInquiriesInstance
        TollfreePhoneNumberNotificationEmailCustomerProfileSidBusinessNameBusinessWebsiteUseCaseCategoriesc                     | S Nr   es    r   <lambda>z8ComplianceTollfreeInquiriesList.create.<locals>.<lambda>       RS r   UseCaseSummaryProductionMessageSampleOptInImageUrlsc                     | S rj   r   rk   s    r   rm   z8ComplianceTollfreeInquiriesList.create.<locals>.<lambda>       Q r   r$   MessageVolumeBusinessStreetAddressBusinessStreetAddress2BusinessCityBusinessStateProvinceRegionBusinessPostalCodeBusinessCountryAdditionalInformationBusinessContactFirstNameBusinessContactLastNameBusinessContactEmailBusinessContactPhone
ThemeSetIdSkipMessagingUseCaseBusinessRegistrationNumberBusinessRegistrationAuthorityBusinessRegistrationCountryr   DoingBusinessAsOptInConfirmationMessageHelpMessageSamplePrivacyPolicyUrlTermsAndConditionsUrlAgeGatedContentc                     | S rj   r   rk   s    r   rm   z8ComplianceTollfreeInquiriesList.create.<locals>.<lambda>       ! r   ExternalReferenceIdOptInKeywordsContent-Type!application/x-www-form-urlencodedapplication/jsonAcceptPOSTmethoduridataheaders)	r	   ofr   mapboolean_to_string_versioncreater=   r   (r/   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   r   r   r&   s(                                           r   r   z&ComplianceTollfreeInquiriesList.createM   s~   l yy'%'<'#%7' %&:' 	'
 "#3' $Y]]3F%T' !"2' *+D' !)--0A;"O' ['  ' ()@' )*B' ' ./M'  %&:!'" "#3#'$ ()?%'& +,G''( *+E)'* '(>+', '(>-'. l/'0 '	(C(C+)1'6 -.J7'8 01P9': ./L;'< ='> "#4?'@ +,GA'B $%8C'D #$6E'F ()AG'H "9#>#>?P#QI'J (=!*!LM')
T ))^-PQR"E.--&&tyytW ' 
 34=='JJr   c%                   K   t        j                  i d|d|d|d|d|dt        j                  |d       d|d	|d
t        j                  |	d       d|
d|d|d|d|d|d|d|i d|d|d|d|d|d|dt        j                  |      d|d|d|d|d|d |d!|d"| d#|!d$t        j                  |"      |#t        j                  |$d%       d&      }%t        j                  d'd(i      }&d(|&d'<   d)|&d*<   | j
                  j                  d+| j                  |%|&,       d-{   }'t        | j
                  |'      S 7 w).a  
        Asynchronously create the ComplianceTollfreeInquiriesInstance

        :param tollfree_phone_number: The Tollfree phone number to be verified
        :param notification_email: The email address to receive the notification about the verification result.
        :param customer_profile_sid: The Customer Profile Sid associated with the Account.
        :param business_name: The name of the business or organization using the Tollfree number.
        :param business_website: The website of the business or organization using the Tollfree number.
        :param use_case_categories: The category of the use case for the Tollfree Number. List as many are applicable..
        :param use_case_summary: Use this to further explain how messaging is used by the business or organization.
        :param production_message_sample: An example of message content, i.e. a sample message.
        :param opt_in_image_urls: Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
        :param opt_in_type:
        :param message_volume: Estimate monthly volume of messages from the Tollfree Number.
        :param business_street_address: The address of the business or organization using the Tollfree number.
        :param business_street_address2: The address of the business or organization using the Tollfree number.
        :param business_city: The city of the business or organization using the Tollfree number.
        :param business_state_province_region: The state/province/region of the business or organization using the Tollfree number.
        :param business_postal_code: The postal code of the business or organization using the Tollfree number.
        :param business_country: The country of the business or organization using the Tollfree number.
        :param additional_information: Additional information to be provided for verification.
        :param business_contact_first_name: The first name of the contact for the business or organization using the Tollfree number.
        :param business_contact_last_name: The last name of the contact for the business or organization using the Tollfree number.
        :param business_contact_email: The email address of the contact for the business or organization using the Tollfree number.
        :param business_contact_phone: The phone number of the contact for the business or organization using the Tollfree number.
        :param theme_set_id: Theme id for styling the inquiry form.
        :param skip_messaging_use_case: Skip the messaging use case screen of the inquiry form.
        :param business_registration_number: The Business Registration Number of the business or organization.
        :param business_registration_authority: The Business Registration Authority of the business or organization.
        :param business_registration_country: The Business Registration Country of the business or organization.
        :param business_type:
        :param doing_business_as: Trade name, sub entity, or downstream business name of business being submitted for verification.
        :param opt_in_confirmation_message: The confirmation message sent to users when they opt in to receive messages.
        :param help_message_sample: A sample help message provided to users.
        :param privacy_policy_url: The URL to the privacy policy for the business or organization.
        :param terms_and_conditions_url: The URL to the terms and conditions for the business or organization.
        :param age_gated_content: Indicates if the content is age gated.
        :param external_reference_id: A legally recognized business registration number.
        :param opt_in_keywords: List of keywords that users can text in to opt in to receive messages.

        :returns: The created ComplianceTollfreeInquiriesInstance
        rc   rd   re   rf   rg   rh   c                     | S rj   r   rk   s    r   rm   z>ComplianceTollfreeInquiriesList.create_async.<locals>.<lambda>6  rn   r   ro   rp   rq   c                     | S rj   r   rk   s    r   rm   z>ComplianceTollfreeInquiriesList.create_async.<locals>.<lambda>9  rs   r   r$   rt   ru   rv   rw   rx   ry   rz   r{   r|   r}   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   c                     | S rj   r   rk   s    r   rm   z>ComplianceTollfreeInquiriesList.create_async.<locals>.<lambda>V  r   r   r   r   r   r   r   r   r   N)	r	   r   r   r   r   r   create_asyncr=   r   r   s(                                           r   r   z,ComplianceTollfreeInquiriesList.create_async   s    l yy'%'<'#%7' %&:' 	'
 "#3' $Y]]3F%T' !"2' *+D' !)--0A;"O' ['  ' ()@' )*B' ' ./M'  %&:!'" "#3#'$ ()?%'& +,G''( *+E)'* '(>+', '(>-'. l/'0 '	(C(C+)1'6 -.J7'8 01P9': ./L;'< ='> "#4?'@ +,GA'B $%8C'D #$6E'F ()AG'H "9#>#>?P#QI'J (=!*!LM')
T ))^-PQR"E.22tyytW 3 
 
 34=='JJ	
s   D5E7E8Ec                      y)r3   z4<Twilio.Trusthub.V1.ComplianceTollfreeInquiriesList>r   r4   s    r   r5   z(ComplianceTollfreeInquiriesList.__repr__e  s     Fr   )r   r   r   r   r-   r	   unsetr7   r   r6   r   boolr   r   r   r5   r8   r9   s   @r   r;   r;   @   sA   	? 	? 4:<<,2LL/5||8>/5||8>6<ll LL-3\\6<ll7=||,2LL=C\\39<</5||5;\\:@,,9?5;\\5;\\+1<<7=||;A<<>Dll<BLL LL06:@,,28,,177=||174:LL4:LLSJK"JK  JK $CK0	JK
 S&[)JK  V,JK #49f#45JK  V,JK $)f#5JK !cF!23JK ;VC
JK c6k*JK "'sF{!3JK  #(V"4!JK" S&[)#JK$ ).c6k(:%JK& $CK0'JK(  V,)JK* !&c6k 2+JK, &+3;%7-JK. %*#v+$6/JK0 !&c6k 21JK2 !&c6k 23JK4 CK(5JK6 "'tV|!47JK8 ',CK&89JK: */sF{);;JK< (-S&['9=JK> >F
?JKD !f-EJKF &+3;%7GJKH #3;/IJKJ "#v+.KJKL #(V"4MJKN !v.OJKP  %S&[1QJKR tCy&01SJKT 
-UJK` 4:<<,2LL/5||8>/5||8>6<ll LL-3\\6<ll7=||,2LL=C\\39<</5||5;\\:@,,9?5;\\5;\\+1<<7=||;A<<>Dll<BLL LL06:@,,28,,177=||174:LL4:LLSJK"JK  JK $CK0	JK
 S&[)JK  V,JK #49f#45JK  V,JK $)f#5JK !cF!23JK ;VC
JK c6k*JK "'sF{!3JK  #(V"4!JK" S&[)#JK$ ).c6k(:%JK& $CK0'JK(  V,)JK* !&c6k 2+JK, &+3;%7-JK. %*#v+$6/JK0 !&c6k 21JK2 !&c6k 23JK4 CK(5JK6 "'tV|!47JK8 ',CK&89JK: */sF{);;JK< (-S&['9=JK> >F
?JKD !f-EJKF &+3;%7GJKH #3;/IJKJ "#v+.KJKL #(V"4MJKN !v.OJKP  %S&[1QJKR tCy&01SJKT 
-UJKXF# Fr   r;   N)__doc__typingr   r   r   r   r   twilio.baser   r	   twilio.base.instance_resourcer
   twilio.base.list_resourcer   twilio.base.versionr   r   r;   r   r   r   <module>r      s>    4 3 ) : 2 '&J*: &JRkFl kFr   