sentdm 0.19.0 → 0.20.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 +8 -0
- data/README.md +31 -1
- data/lib/sentdm/internal/type/base_model.rb +5 -5
- data/lib/sentdm/internal/type/enum.rb +25 -0
- data/lib/sentdm/models/api_meta.rb +34 -0
- data/lib/sentdm/models/api_response_of_contact.rb +46 -0
- data/lib/sentdm/models/api_response_of_profile_detail.rb +43 -0
- data/lib/sentdm/models/api_response_of_user.rb +43 -0
- data/lib/sentdm/models/api_response_template.rb +43 -0
- data/lib/sentdm/models/api_response_webhook.rb +43 -0
- data/lib/sentdm/models/billing_contact_info.rb +47 -0
- data/lib/sentdm/models/brands_brand_data.rb +38 -0
- data/lib/sentdm/models/contact_delete_params.rb +2 -16
- data/lib/sentdm/models/contact_list_response.rb +12 -278
- data/lib/sentdm/models/contact_response.rb +126 -0
- data/lib/sentdm/models/destination_country.rb +21 -0
- data/lib/sentdm/models/error_detail.rb +42 -0
- data/lib/sentdm/models/me_retrieve_response.rb +12 -204
- data/lib/sentdm/models/message_retrieve_activities_response.rb +6 -74
- data/lib/sentdm/models/message_retrieve_status_response.rb +6 -74
- data/lib/sentdm/models/message_send_response.rb +6 -74
- data/lib/sentdm/models/mutation_request.rb +20 -0
- data/lib/sentdm/models/number_lookup_response.rb +6 -74
- data/lib/sentdm/models/pagination_meta.rb +80 -0
- data/lib/sentdm/models/payment_details.rb +44 -0
- data/lib/sentdm/models/profile_complete_response.rb +6 -74
- data/lib/sentdm/models/profile_create_params.rb +9 -423
- data/lib/sentdm/models/profile_delete_params.rb +2 -16
- data/lib/sentdm/models/profile_detail.rb +605 -0
- data/lib/sentdm/models/profile_list_response.rb +9 -753
- data/lib/sentdm/models/profile_settings.rb +66 -0
- data/lib/sentdm/models/profile_update_params.rb +9 -423
- data/lib/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rb +45 -0
- data/lib/sentdm/models/profiles/base_dto.rb +32 -0
- data/lib/sentdm/models/profiles/campaign_create_params.rb +3 -165
- data/lib/sentdm/models/profiles/campaign_data.rb +123 -0
- data/lib/sentdm/models/profiles/campaign_delete_params.rb +2 -17
- data/lib/sentdm/models/profiles/campaign_list_response.rb +9 -420
- data/lib/sentdm/models/profiles/campaign_update_params.rb +3 -165
- data/lib/sentdm/models/profiles/messaging_use_case_us.rb +28 -0
- data/lib/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb +29 -0
- data/lib/sentdm/models/profiles/tcr_campaign_with_use_cases.rb +248 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rb +34 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rb +48 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb +38 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rb +81 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb +34 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rb +39 -0
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb +116 -0
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rb +75 -0
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rb +58 -0
- data/lib/sentdm/models/tcr_brand_relationship.rb +18 -0
- data/lib/sentdm/models/tcr_vertical.rb +36 -0
- data/lib/sentdm/models/template.rb +90 -0
- data/lib/sentdm/models/template_body_content.rb +27 -0
- data/lib/sentdm/models/template_create_params.rb +3 -889
- data/lib/sentdm/models/template_definition.rb +66 -0
- data/lib/sentdm/models/template_list_response.rb +12 -242
- data/lib/sentdm/models/template_update_params.rb +3 -889
- data/lib/sentdm/models/template_variable.rb +80 -0
- data/lib/sentdm/models/user_list_response.rb +9 -154
- data/lib/sentdm/models/user_remove_params.rb +2 -16
- data/lib/sentdm/models/user_response.rb +82 -0
- data/lib/sentdm/models/webhook_event_type.rb +45 -0
- data/lib/sentdm/models/webhook_list_event_types_response.rb +9 -118
- data/lib/sentdm/models/webhook_list_events_response.rb +9 -153
- data/lib/sentdm/models/webhook_list_response.rb +12 -247
- data/lib/sentdm/models/webhook_response.rb +95 -0
- data/lib/sentdm/models/webhook_rotate_secret_params.rb +2 -17
- data/lib/sentdm/models/webhook_rotate_secret_response.rb +6 -74
- data/lib/sentdm/models/webhook_test_response.rb +6 -74
- data/lib/sentdm/models.rb +77 -0
- data/lib/sentdm/resources/contacts.rb +6 -6
- data/lib/sentdm/resources/profiles/campaigns.rb +6 -6
- data/lib/sentdm/resources/profiles.rb +12 -12
- data/lib/sentdm/resources/templates.rb +8 -8
- data/lib/sentdm/resources/users.rb +6 -6
- data/lib/sentdm/resources/webhooks.rb +8 -8
- data/lib/sentdm/version.rb +1 -1
- data/lib/sentdm.rb +40 -18
- data/rbi/sentdm/models/api_meta.rbi +55 -0
- data/rbi/sentdm/models/api_response_of_contact.rbi +74 -0
- data/rbi/sentdm/models/api_response_of_profile_detail.rbi +74 -0
- data/rbi/sentdm/models/api_response_of_user.rbi +74 -0
- data/rbi/sentdm/models/api_response_template.rbi +74 -0
- data/rbi/sentdm/models/api_response_webhook.rbi +74 -0
- data/rbi/sentdm/models/billing_contact_info.rbi +65 -0
- data/rbi/sentdm/models/brands_brand_data.rbi +104 -0
- data/rbi/sentdm/models/contact_delete_params.rbi +2 -19
- data/rbi/sentdm/models/contact_list_response.rbi +16 -505
- data/rbi/sentdm/models/contact_response.rbi +183 -0
- data/rbi/sentdm/models/destination_country.rbi +32 -0
- data/rbi/sentdm/models/error_detail.rbi +66 -0
- data/rbi/sentdm/models/me_retrieve_response.rbi +16 -335
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +8 -154
- data/rbi/sentdm/models/message_retrieve_status_response.rbi +8 -148
- data/rbi/sentdm/models/message_send_response.rbi +8 -135
- data/rbi/sentdm/models/mutation_request.rbi +32 -0
- data/rbi/sentdm/models/number_lookup_response.rbi +8 -135
- data/rbi/sentdm/models/pagination_meta.rbi +135 -0
- data/rbi/sentdm/models/payment_details.rbi +59 -0
- data/rbi/sentdm/models/profile_complete_response.rbi +8 -137
- data/rbi/sentdm/models/profile_create_params.rbi +12 -810
- data/rbi/sentdm/models/profile_delete_params.rbi +2 -19
- data/rbi/sentdm/models/profile_detail.rbi +874 -0
- data/rbi/sentdm/models/profile_list_response.rbi +14 -1400
- data/rbi/sentdm/models/profile_settings.rbi +86 -0
- data/rbi/sentdm/models/profile_update_params.rbi +12 -810
- data/rbi/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbi +83 -0
- data/rbi/sentdm/models/profiles/base_dto.rbi +53 -0
- data/rbi/sentdm/models/profiles/campaign_create_params.rbi +4 -289
- data/rbi/sentdm/models/profiles/campaign_data.rbi +148 -0
- data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +1 -14
- data/rbi/sentdm/models/profiles/campaign_list_response.rbi +11 -733
- data/rbi/sentdm/models/profiles/campaign_update_params.rbi +4 -289
- data/rbi/sentdm/models/profiles/messaging_use_case_us.rbi +73 -0
- data/rbi/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi +51 -0
- data/rbi/sentdm/models/profiles/tcr_campaign_with_use_cases.rbi +425 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbi +56 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbi +87 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbi +72 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbi +104 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbi +57 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbi +59 -0
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbi +180 -0
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbi +95 -0
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbi +81 -0
- data/rbi/sentdm/models/tcr_brand_relationship.rbi +30 -0
- data/rbi/sentdm/models/tcr_vertical.rbi +41 -0
- data/rbi/sentdm/models/template.rbi +129 -0
- data/rbi/sentdm/models/template_body_content.rbi +43 -0
- data/rbi/sentdm/models/template_create_params.rbi +4 -1701
- data/rbi/sentdm/models/template_definition.rbi +164 -0
- data/rbi/sentdm/models/template_list_response.rbi +16 -454
- data/rbi/sentdm/models/template_update_params.rbi +4 -1701
- data/rbi/sentdm/models/template_variable.rbi +120 -0
- data/rbi/sentdm/models/user_list_response.rbi +14 -271
- data/rbi/sentdm/models/user_remove_params.rbi +2 -19
- data/rbi/sentdm/models/user_response.rbi +118 -0
- data/rbi/sentdm/models/webhook_event_type.rbi +74 -0
- data/rbi/sentdm/models/webhook_list_event_types_response.rbi +12 -247
- data/rbi/sentdm/models/webhook_list_events_response.rbi +12 -314
- data/rbi/sentdm/models/webhook_list_response.rbi +16 -462
- data/rbi/sentdm/models/webhook_response.rbi +140 -0
- data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +1 -14
- data/rbi/sentdm/models/webhook_rotate_secret_response.rbi +8 -148
- data/rbi/sentdm/models/webhook_test_response.rbi +8 -135
- data/rbi/sentdm/models.rbi +77 -0
- data/rbi/sentdm/resources/contacts.rbi +3 -3
- data/rbi/sentdm/resources/profiles/campaigns.rbi +4 -4
- data/rbi/sentdm/resources/profiles.rbi +9 -13
- data/rbi/sentdm/resources/templates.rbi +5 -6
- data/rbi/sentdm/resources/users.rbi +3 -3
- data/rbi/sentdm/resources/webhooks.rbi +4 -4
- data/sig/sentdm/models/api_meta.rbs +27 -0
- data/sig/sentdm/models/api_response_of_contact.rbs +39 -0
- data/sig/sentdm/models/api_response_of_profile_detail.rbs +39 -0
- data/sig/sentdm/models/api_response_of_user.rbs +39 -0
- data/sig/sentdm/models/api_response_template.rbs +39 -0
- data/sig/sentdm/models/api_response_webhook.rbs +39 -0
- data/sig/sentdm/models/billing_contact_info.rbs +30 -0
- data/sig/sentdm/models/brands_brand_data.rbs +30 -0
- data/sig/sentdm/models/contact_delete_params.rbs +6 -10
- data/sig/sentdm/models/contact_list_response.rbs +20 -256
- data/sig/sentdm/models/contact_response.rbs +111 -0
- data/sig/sentdm/models/destination_country.rbs +19 -0
- data/sig/sentdm/models/error_detail.rbs +39 -0
- data/sig/sentdm/models/me_retrieve_response.rbs +18 -176
- data/sig/sentdm/models/message_retrieve_activities_response.rbs +9 -71
- data/sig/sentdm/models/message_retrieve_status_response.rbs +9 -71
- data/sig/sentdm/models/message_send_response.rbs +9 -71
- data/sig/sentdm/models/mutation_request.rbs +15 -0
- data/sig/sentdm/models/number_lookup_response.rbs +9 -71
- data/sig/sentdm/models/pagination_meta.rbs +67 -0
- data/sig/sentdm/models/payment_details.rbs +30 -0
- data/sig/sentdm/models/profile_complete_response.rbs +9 -71
- data/sig/sentdm/models/profile_create_params.rbs +12 -363
- data/sig/sentdm/models/profile_delete_params.rbs +6 -10
- data/sig/sentdm/models/profile_detail.rbs +474 -0
- data/sig/sentdm/models/profile_list_response.rbs +15 -645
- data/sig/sentdm/models/profile_settings.rbs +50 -0
- data/sig/sentdm/models/profile_update_params.rbs +12 -363
- data/sig/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbs +41 -0
- data/sig/sentdm/models/profiles/base_dto.rbs +27 -0
- data/sig/sentdm/models/profiles/campaign_create_params.rbs +4 -138
- data/sig/sentdm/models/profiles/campaign_data.rbs +82 -0
- data/sig/sentdm/models/profiles/campaign_delete_params.rbs +8 -15
- data/sig/sentdm/models/profiles/campaign_list_response.rbs +13 -396
- data/sig/sentdm/models/profiles/campaign_update_params.rbs +4 -138
- data/sig/sentdm/models/profiles/messaging_use_case_us.rbs +40 -0
- data/sig/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs +27 -0
- data/sig/sentdm/models/profiles/tcr_campaign_with_use_cases.rbs +299 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbs +24 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbs +35 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbs +32 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbs +75 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbs +30 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbs +30 -0
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbs +89 -0
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbs +55 -0
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbs +45 -0
- data/sig/sentdm/models/tcr_brand_relationship.rbs +22 -0
- data/sig/sentdm/models/tcr_vertical.rbs +58 -0
- data/sig/sentdm/models/template.rbs +79 -0
- data/sig/sentdm/models/template_body_content.rbs +30 -0
- data/sig/sentdm/models/template_create_params.rbs +6 -853
- data/sig/sentdm/models/template_definition.rbs +45 -0
- data/sig/sentdm/models/template_list_response.rbs +19 -225
- data/sig/sentdm/models/template_update_params.rbs +4 -851
- data/sig/sentdm/models/template_variable.rbs +84 -0
- data/sig/sentdm/models/user_list_response.rbs +15 -151
- data/sig/sentdm/models/user_remove_params.rbs +6 -10
- data/sig/sentdm/models/user_response.rbs +72 -0
- data/sig/sentdm/models/webhook_event_type.rbs +51 -0
- data/sig/sentdm/models/webhook_list_event_types_response.rbs +15 -130
- data/sig/sentdm/models/webhook_list_events_response.rbs +14 -142
- data/sig/sentdm/models/webhook_list_response.rbs +20 -248
- data/sig/sentdm/models/webhook_response.rbs +103 -0
- data/sig/sentdm/models/webhook_rotate_secret_params.rbs +8 -17
- data/sig/sentdm/models/webhook_rotate_secret_response.rbs +9 -71
- data/sig/sentdm/models/webhook_test_response.rbs +9 -71
- data/sig/sentdm/models.rbs +68 -0
- data/sig/sentdm/resources/contacts.rbs +3 -3
- data/sig/sentdm/resources/profiles/campaigns.rbs +4 -4
- data/sig/sentdm/resources/profiles.rbs +9 -9
- data/sig/sentdm/resources/templates.rbs +5 -5
- data/sig/sentdm/resources/users.rbs +3 -3
- data/sig/sentdm/resources/webhooks.rbs +4 -4
- metadata +121 -55
- data/lib/sentdm/models/contact_create_response.rb +0 -236
- data/lib/sentdm/models/contact_retrieve_response.rb +0 -236
- data/lib/sentdm/models/contact_update_response.rb +0 -236
- data/lib/sentdm/models/profile_create_response.rb +0 -781
- data/lib/sentdm/models/profile_retrieve_response.rb +0 -783
- data/lib/sentdm/models/profile_update_response.rb +0 -781
- data/lib/sentdm/models/profiles/campaign_create_response.rb +0 -459
- data/lib/sentdm/models/profiles/campaign_update_response.rb +0 -459
- data/lib/sentdm/models/template_create_response.rb +0 -197
- data/lib/sentdm/models/template_retrieve_response.rb +0 -197
- data/lib/sentdm/models/template_update_response.rb +0 -197
- data/lib/sentdm/models/user_invite_response.rb +0 -189
- data/lib/sentdm/models/user_retrieve_response.rb +0 -189
- data/lib/sentdm/models/user_update_role_response.rb +0 -189
- data/lib/sentdm/models/webhook_create_response.rb +0 -204
- data/lib/sentdm/models/webhook_retrieve_response.rb +0 -204
- data/lib/sentdm/models/webhook_toggle_status_response.rb +0 -204
- data/lib/sentdm/models/webhook_update_response.rb +0 -204
- data/rbi/sentdm/models/contact_create_response.rbi +0 -390
- data/rbi/sentdm/models/contact_retrieve_response.rbi +0 -392
- data/rbi/sentdm/models/contact_update_response.rbi +0 -390
- data/rbi/sentdm/models/profile_create_response.rbi +0 -1439
- data/rbi/sentdm/models/profile_retrieve_response.rbi +0 -1443
- data/rbi/sentdm/models/profile_update_response.rbi +0 -1439
- data/rbi/sentdm/models/profiles/campaign_create_response.rbi +0 -814
- data/rbi/sentdm/models/profiles/campaign_update_response.rbi +0 -814
- data/rbi/sentdm/models/template_create_response.rbi +0 -339
- data/rbi/sentdm/models/template_retrieve_response.rbi +0 -345
- data/rbi/sentdm/models/template_update_response.rbi +0 -339
- data/rbi/sentdm/models/user_invite_response.rbi +0 -323
- data/rbi/sentdm/models/user_retrieve_response.rbi +0 -323
- data/rbi/sentdm/models/user_update_role_response.rbi +0 -328
- data/rbi/sentdm/models/webhook_create_response.rbi +0 -348
- data/rbi/sentdm/models/webhook_retrieve_response.rbi +0 -350
- data/rbi/sentdm/models/webhook_toggle_status_response.rbi +0 -366
- data/rbi/sentdm/models/webhook_update_response.rbi +0 -348
- data/sig/sentdm/models/contact_create_response.rbs +0 -209
- data/sig/sentdm/models/contact_retrieve_response.rbs +0 -209
- data/sig/sentdm/models/contact_update_response.rbs +0 -209
- data/sig/sentdm/models/profile_create_response.rbs +0 -662
- data/sig/sentdm/models/profile_retrieve_response.rbs +0 -662
- data/sig/sentdm/models/profile_update_response.rbs +0 -662
- data/sig/sentdm/models/profiles/campaign_create_response.rbs +0 -424
- data/sig/sentdm/models/profiles/campaign_update_response.rbs +0 -424
- data/sig/sentdm/models/template_create_response.rbs +0 -177
- data/sig/sentdm/models/template_retrieve_response.rbs +0 -177
- data/sig/sentdm/models/template_update_response.rbs +0 -177
- data/sig/sentdm/models/user_invite_response.rbs +0 -170
- data/sig/sentdm/models/user_retrieve_response.rbs +0 -170
- data/sig/sentdm/models/user_update_role_response.rbs +0 -170
- data/sig/sentdm/models/webhook_create_response.rbs +0 -201
- data/sig/sentdm/models/webhook_retrieve_response.rbs +0 -201
- data/sig/sentdm/models/webhook_toggle_status_response.rbs +0 -201
- data/sig/sentdm/models/webhook_update_response.rbs +0 -201
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class SentDmServicesCommonContractsPocOsTemplateButtonProps < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps,
|
|
10
|
+
Sentdm::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
sig { returns(Integer) }
|
|
15
|
+
attr_accessor :active_for
|
|
16
|
+
|
|
17
|
+
sig { returns(String) }
|
|
18
|
+
attr_accessor :country_code
|
|
19
|
+
|
|
20
|
+
sig { returns(String) }
|
|
21
|
+
attr_accessor :offer_code
|
|
22
|
+
|
|
23
|
+
sig { returns(String) }
|
|
24
|
+
attr_accessor :phone_number
|
|
25
|
+
|
|
26
|
+
sig { returns(String) }
|
|
27
|
+
attr_accessor :quick_reply_type
|
|
28
|
+
|
|
29
|
+
sig { returns(String) }
|
|
30
|
+
attr_accessor :text
|
|
31
|
+
|
|
32
|
+
sig { returns(String) }
|
|
33
|
+
attr_accessor :url
|
|
34
|
+
|
|
35
|
+
sig { returns(String) }
|
|
36
|
+
attr_accessor :url_type
|
|
37
|
+
|
|
38
|
+
sig { returns(T.nilable(String)) }
|
|
39
|
+
attr_accessor :autofill_text
|
|
40
|
+
|
|
41
|
+
sig { returns(T.nilable(String)) }
|
|
42
|
+
attr_accessor :otp_type
|
|
43
|
+
|
|
44
|
+
sig { returns(T.nilable(String)) }
|
|
45
|
+
attr_accessor :package_name
|
|
46
|
+
|
|
47
|
+
sig { returns(T.nilable(String)) }
|
|
48
|
+
attr_accessor :signature_hash
|
|
49
|
+
|
|
50
|
+
sig do
|
|
51
|
+
params(
|
|
52
|
+
active_for: Integer,
|
|
53
|
+
country_code: String,
|
|
54
|
+
offer_code: String,
|
|
55
|
+
phone_number: String,
|
|
56
|
+
quick_reply_type: String,
|
|
57
|
+
text: String,
|
|
58
|
+
url: String,
|
|
59
|
+
url_type: String,
|
|
60
|
+
autofill_text: T.nilable(String),
|
|
61
|
+
otp_type: T.nilable(String),
|
|
62
|
+
package_name: T.nilable(String),
|
|
63
|
+
signature_hash: T.nilable(String)
|
|
64
|
+
).returns(T.attached_class)
|
|
65
|
+
end
|
|
66
|
+
def self.new(
|
|
67
|
+
active_for:,
|
|
68
|
+
country_code:,
|
|
69
|
+
offer_code:,
|
|
70
|
+
phone_number:,
|
|
71
|
+
quick_reply_type:,
|
|
72
|
+
text:,
|
|
73
|
+
url:,
|
|
74
|
+
url_type:,
|
|
75
|
+
autofill_text: nil,
|
|
76
|
+
otp_type: nil,
|
|
77
|
+
package_name: nil,
|
|
78
|
+
signature_hash: nil
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
sig do
|
|
83
|
+
override.returns(
|
|
84
|
+
{
|
|
85
|
+
active_for: Integer,
|
|
86
|
+
country_code: String,
|
|
87
|
+
offer_code: String,
|
|
88
|
+
phone_number: String,
|
|
89
|
+
quick_reply_type: String,
|
|
90
|
+
text: String,
|
|
91
|
+
url: String,
|
|
92
|
+
url_type: String,
|
|
93
|
+
autofill_text: T.nilable(String),
|
|
94
|
+
otp_type: T.nilable(String),
|
|
95
|
+
package_name: T.nilable(String),
|
|
96
|
+
signature_hash: T.nilable(String)
|
|
97
|
+
}
|
|
98
|
+
)
|
|
99
|
+
end
|
|
100
|
+
def to_hash
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class SentDmServicesCommonContractsPocOsTemplateFooter < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Sentdm::SentDmServicesCommonContractsPocOsTemplateFooter,
|
|
10
|
+
Sentdm::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The footer template text with optional variable placeholders
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :template
|
|
17
|
+
|
|
18
|
+
# The type of footer (typically "text")
|
|
19
|
+
sig { returns(T.nilable(String)) }
|
|
20
|
+
attr_accessor :type
|
|
21
|
+
|
|
22
|
+
# List of variables used in the footer template
|
|
23
|
+
sig { returns(T.nilable(T::Array[Sentdm::TemplateVariable])) }
|
|
24
|
+
attr_accessor :variables
|
|
25
|
+
|
|
26
|
+
# Footer section of a message template
|
|
27
|
+
sig do
|
|
28
|
+
params(
|
|
29
|
+
template: String,
|
|
30
|
+
type: T.nilable(String),
|
|
31
|
+
variables: T.nilable(T::Array[Sentdm::TemplateVariable::OrHash])
|
|
32
|
+
).returns(T.attached_class)
|
|
33
|
+
end
|
|
34
|
+
def self.new(
|
|
35
|
+
# The footer template text with optional variable placeholders
|
|
36
|
+
template:,
|
|
37
|
+
# The type of footer (typically "text")
|
|
38
|
+
type: nil,
|
|
39
|
+
# List of variables used in the footer template
|
|
40
|
+
variables: nil
|
|
41
|
+
)
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
sig do
|
|
45
|
+
override.returns(
|
|
46
|
+
{
|
|
47
|
+
template: String,
|
|
48
|
+
type: T.nilable(String),
|
|
49
|
+
variables: T.nilable(T::Array[Sentdm::TemplateVariable])
|
|
50
|
+
}
|
|
51
|
+
)
|
|
52
|
+
end
|
|
53
|
+
def to_hash
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class SentDmServicesCommonContractsPocOsTemplateHeader < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Sentdm::SentDmServicesCommonContractsPocOsTemplateHeader,
|
|
10
|
+
Sentdm::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The header template text with optional variable placeholders (e.g., "Welcome to
|
|
15
|
+
# {{0:variable}}")
|
|
16
|
+
sig { returns(String) }
|
|
17
|
+
attr_accessor :template
|
|
18
|
+
|
|
19
|
+
# The type of header (e.g., "text", "image", "video", "document")
|
|
20
|
+
sig { returns(T.nilable(String)) }
|
|
21
|
+
attr_accessor :type
|
|
22
|
+
|
|
23
|
+
# List of variables used in the header template
|
|
24
|
+
sig { returns(T.nilable(T::Array[Sentdm::TemplateVariable])) }
|
|
25
|
+
attr_accessor :variables
|
|
26
|
+
|
|
27
|
+
# Header section of a message template
|
|
28
|
+
sig do
|
|
29
|
+
params(
|
|
30
|
+
template: String,
|
|
31
|
+
type: T.nilable(String),
|
|
32
|
+
variables: T.nilable(T::Array[Sentdm::TemplateVariable::OrHash])
|
|
33
|
+
).returns(T.attached_class)
|
|
34
|
+
end
|
|
35
|
+
def self.new(
|
|
36
|
+
# The header template text with optional variable placeholders (e.g., "Welcome to
|
|
37
|
+
# {{0:variable}}")
|
|
38
|
+
template:,
|
|
39
|
+
# The type of header (e.g., "text", "image", "video", "document")
|
|
40
|
+
type: nil,
|
|
41
|
+
# List of variables used in the header template
|
|
42
|
+
variables: nil
|
|
43
|
+
)
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
sig do
|
|
47
|
+
override.returns(
|
|
48
|
+
{
|
|
49
|
+
template: String,
|
|
50
|
+
type: T.nilable(String),
|
|
51
|
+
variables: T.nilable(T::Array[Sentdm::TemplateVariable])
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
end
|
|
55
|
+
def to_hash
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo,
|
|
10
|
+
Sentdm::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# City
|
|
15
|
+
sig { returns(T.nilable(String)) }
|
|
16
|
+
attr_accessor :city
|
|
17
|
+
|
|
18
|
+
# Country code (e.g., US, CA)
|
|
19
|
+
sig { returns(T.nilable(String)) }
|
|
20
|
+
attr_accessor :country
|
|
21
|
+
|
|
22
|
+
# Country where the business is registered
|
|
23
|
+
sig { returns(T.nilable(String)) }
|
|
24
|
+
attr_accessor :country_of_registration
|
|
25
|
+
|
|
26
|
+
sig do
|
|
27
|
+
returns(
|
|
28
|
+
T.nilable(
|
|
29
|
+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::OrSymbol
|
|
30
|
+
)
|
|
31
|
+
)
|
|
32
|
+
end
|
|
33
|
+
attr_accessor :entity_type
|
|
34
|
+
|
|
35
|
+
# Legal business name
|
|
36
|
+
sig { returns(T.nilable(String)) }
|
|
37
|
+
attr_accessor :legal_name
|
|
38
|
+
|
|
39
|
+
# Postal/ZIP code
|
|
40
|
+
sig { returns(T.nilable(String)) }
|
|
41
|
+
attr_accessor :postal_code
|
|
42
|
+
|
|
43
|
+
# State/province code
|
|
44
|
+
sig { returns(T.nilable(String)) }
|
|
45
|
+
attr_accessor :state
|
|
46
|
+
|
|
47
|
+
# Street address
|
|
48
|
+
sig { returns(T.nilable(String)) }
|
|
49
|
+
attr_accessor :street
|
|
50
|
+
|
|
51
|
+
# Tax ID/EIN number
|
|
52
|
+
sig { returns(T.nilable(String)) }
|
|
53
|
+
attr_accessor :tax_id
|
|
54
|
+
|
|
55
|
+
# Type of tax ID (e.g., us_ein, ca_bn)
|
|
56
|
+
sig { returns(T.nilable(String)) }
|
|
57
|
+
attr_accessor :tax_id_type
|
|
58
|
+
|
|
59
|
+
# Business website URL
|
|
60
|
+
sig { returns(T.nilable(String)) }
|
|
61
|
+
attr_accessor :url
|
|
62
|
+
|
|
63
|
+
# Business details and address for brand KYC
|
|
64
|
+
sig do
|
|
65
|
+
params(
|
|
66
|
+
city: T.nilable(String),
|
|
67
|
+
country: T.nilable(String),
|
|
68
|
+
country_of_registration: T.nilable(String),
|
|
69
|
+
entity_type:
|
|
70
|
+
T.nilable(
|
|
71
|
+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::OrSymbol
|
|
72
|
+
),
|
|
73
|
+
legal_name: T.nilable(String),
|
|
74
|
+
postal_code: T.nilable(String),
|
|
75
|
+
state: T.nilable(String),
|
|
76
|
+
street: T.nilable(String),
|
|
77
|
+
tax_id: T.nilable(String),
|
|
78
|
+
tax_id_type: T.nilable(String),
|
|
79
|
+
url: T.nilable(String)
|
|
80
|
+
).returns(T.attached_class)
|
|
81
|
+
end
|
|
82
|
+
def self.new(
|
|
83
|
+
# City
|
|
84
|
+
city: nil,
|
|
85
|
+
# Country code (e.g., US, CA)
|
|
86
|
+
country: nil,
|
|
87
|
+
# Country where the business is registered
|
|
88
|
+
country_of_registration: nil,
|
|
89
|
+
entity_type: nil,
|
|
90
|
+
# Legal business name
|
|
91
|
+
legal_name: nil,
|
|
92
|
+
# Postal/ZIP code
|
|
93
|
+
postal_code: nil,
|
|
94
|
+
# State/province code
|
|
95
|
+
state: nil,
|
|
96
|
+
# Street address
|
|
97
|
+
street: nil,
|
|
98
|
+
# Tax ID/EIN number
|
|
99
|
+
tax_id: nil,
|
|
100
|
+
# Type of tax ID (e.g., us_ein, ca_bn)
|
|
101
|
+
tax_id_type: nil,
|
|
102
|
+
# Business website URL
|
|
103
|
+
url: nil
|
|
104
|
+
)
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
sig do
|
|
108
|
+
override.returns(
|
|
109
|
+
{
|
|
110
|
+
city: T.nilable(String),
|
|
111
|
+
country: T.nilable(String),
|
|
112
|
+
country_of_registration: T.nilable(String),
|
|
113
|
+
entity_type:
|
|
114
|
+
T.nilable(
|
|
115
|
+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::OrSymbol
|
|
116
|
+
),
|
|
117
|
+
legal_name: T.nilable(String),
|
|
118
|
+
postal_code: T.nilable(String),
|
|
119
|
+
state: T.nilable(String),
|
|
120
|
+
street: T.nilable(String),
|
|
121
|
+
tax_id: T.nilable(String),
|
|
122
|
+
tax_id_type: T.nilable(String),
|
|
123
|
+
url: T.nilable(String)
|
|
124
|
+
}
|
|
125
|
+
)
|
|
126
|
+
end
|
|
127
|
+
def to_hash
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
module EntityType
|
|
131
|
+
extend Sentdm::Internal::Type::Enum
|
|
132
|
+
|
|
133
|
+
TaggedSymbol =
|
|
134
|
+
T.type_alias do
|
|
135
|
+
T.all(
|
|
136
|
+
Symbol,
|
|
137
|
+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType
|
|
138
|
+
)
|
|
139
|
+
end
|
|
140
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
141
|
+
|
|
142
|
+
PRIVATE_PROFIT =
|
|
143
|
+
T.let(
|
|
144
|
+
:PRIVATE_PROFIT,
|
|
145
|
+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::TaggedSymbol
|
|
146
|
+
)
|
|
147
|
+
PUBLIC_PROFIT =
|
|
148
|
+
T.let(
|
|
149
|
+
:PUBLIC_PROFIT,
|
|
150
|
+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::TaggedSymbol
|
|
151
|
+
)
|
|
152
|
+
NON_PROFIT =
|
|
153
|
+
T.let(
|
|
154
|
+
:NON_PROFIT,
|
|
155
|
+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::TaggedSymbol
|
|
156
|
+
)
|
|
157
|
+
SOLE_PROPRIETOR =
|
|
158
|
+
T.let(
|
|
159
|
+
:SOLE_PROPRIETOR,
|
|
160
|
+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::TaggedSymbol
|
|
161
|
+
)
|
|
162
|
+
GOVERNMENT =
|
|
163
|
+
T.let(
|
|
164
|
+
:GOVERNMENT,
|
|
165
|
+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::TaggedSymbol
|
|
166
|
+
)
|
|
167
|
+
|
|
168
|
+
sig do
|
|
169
|
+
override.returns(
|
|
170
|
+
T::Array[
|
|
171
|
+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::TaggedSymbol
|
|
172
|
+
]
|
|
173
|
+
)
|
|
174
|
+
end
|
|
175
|
+
def self.values
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
end
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo,
|
|
10
|
+
Sentdm::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
sig { returns(Sentdm::TcrBrandRelationship::OrSymbol) }
|
|
15
|
+
attr_accessor :brand_relationship
|
|
16
|
+
|
|
17
|
+
sig { returns(Sentdm::TcrVertical::OrSymbol) }
|
|
18
|
+
attr_accessor :vertical
|
|
19
|
+
|
|
20
|
+
# List of destination countries for messaging
|
|
21
|
+
sig { returns(T.nilable(T::Array[Sentdm::DestinationCountry])) }
|
|
22
|
+
attr_accessor :destination_countries
|
|
23
|
+
|
|
24
|
+
# Expected daily messaging volume
|
|
25
|
+
sig { returns(T.nilable(String)) }
|
|
26
|
+
attr_accessor :expected_messaging_volume
|
|
27
|
+
|
|
28
|
+
# Whether this is a TCR (Campaign Registry) application
|
|
29
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
30
|
+
attr_accessor :is_tcr_application
|
|
31
|
+
|
|
32
|
+
# Additional notes about the business or use case
|
|
33
|
+
sig { returns(T.nilable(String)) }
|
|
34
|
+
attr_accessor :notes
|
|
35
|
+
|
|
36
|
+
# Phone number prefix for messaging (e.g., "+1")
|
|
37
|
+
sig { returns(T.nilable(String)) }
|
|
38
|
+
attr_accessor :phone_number_prefix
|
|
39
|
+
|
|
40
|
+
# Primary messaging use case description
|
|
41
|
+
sig { returns(T.nilable(String)) }
|
|
42
|
+
attr_accessor :primary_use_case
|
|
43
|
+
|
|
44
|
+
# Compliance and TCR information for brand registration
|
|
45
|
+
sig do
|
|
46
|
+
params(
|
|
47
|
+
brand_relationship: Sentdm::TcrBrandRelationship::OrSymbol,
|
|
48
|
+
vertical: Sentdm::TcrVertical::OrSymbol,
|
|
49
|
+
destination_countries:
|
|
50
|
+
T.nilable(T::Array[Sentdm::DestinationCountry::OrHash]),
|
|
51
|
+
expected_messaging_volume: T.nilable(String),
|
|
52
|
+
is_tcr_application: T.nilable(T::Boolean),
|
|
53
|
+
notes: T.nilable(String),
|
|
54
|
+
phone_number_prefix: T.nilable(String),
|
|
55
|
+
primary_use_case: T.nilable(String)
|
|
56
|
+
).returns(T.attached_class)
|
|
57
|
+
end
|
|
58
|
+
def self.new(
|
|
59
|
+
brand_relationship:,
|
|
60
|
+
vertical:,
|
|
61
|
+
# List of destination countries for messaging
|
|
62
|
+
destination_countries: nil,
|
|
63
|
+
# Expected daily messaging volume
|
|
64
|
+
expected_messaging_volume: nil,
|
|
65
|
+
# Whether this is a TCR (Campaign Registry) application
|
|
66
|
+
is_tcr_application: nil,
|
|
67
|
+
# Additional notes about the business or use case
|
|
68
|
+
notes: nil,
|
|
69
|
+
# Phone number prefix for messaging (e.g., "+1")
|
|
70
|
+
phone_number_prefix: nil,
|
|
71
|
+
# Primary messaging use case description
|
|
72
|
+
primary_use_case: nil
|
|
73
|
+
)
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
sig do
|
|
77
|
+
override.returns(
|
|
78
|
+
{
|
|
79
|
+
brand_relationship: Sentdm::TcrBrandRelationship::OrSymbol,
|
|
80
|
+
vertical: Sentdm::TcrVertical::OrSymbol,
|
|
81
|
+
destination_countries:
|
|
82
|
+
T.nilable(T::Array[Sentdm::DestinationCountry]),
|
|
83
|
+
expected_messaging_volume: T.nilable(String),
|
|
84
|
+
is_tcr_application: T.nilable(T::Boolean),
|
|
85
|
+
notes: T.nilable(String),
|
|
86
|
+
phone_number_prefix: T.nilable(String),
|
|
87
|
+
primary_use_case: T.nilable(String)
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
end
|
|
91
|
+
def to_hash
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
end
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo,
|
|
10
|
+
Sentdm::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Primary contact name (required)
|
|
15
|
+
sig { returns(String) }
|
|
16
|
+
attr_accessor :name
|
|
17
|
+
|
|
18
|
+
# Business/brand name
|
|
19
|
+
sig { returns(T.nilable(String)) }
|
|
20
|
+
attr_accessor :business_name
|
|
21
|
+
|
|
22
|
+
# Contact email address
|
|
23
|
+
sig { returns(T.nilable(String)) }
|
|
24
|
+
attr_accessor :email
|
|
25
|
+
|
|
26
|
+
# Contact phone number in E.164 format
|
|
27
|
+
sig { returns(T.nilable(String)) }
|
|
28
|
+
attr_accessor :phone
|
|
29
|
+
|
|
30
|
+
# Contact phone country code (e.g., "1" for US)
|
|
31
|
+
sig { returns(T.nilable(String)) }
|
|
32
|
+
attr_accessor :phone_country_code
|
|
33
|
+
|
|
34
|
+
# Contact's role in the business
|
|
35
|
+
sig { returns(T.nilable(String)) }
|
|
36
|
+
attr_accessor :role
|
|
37
|
+
|
|
38
|
+
# Contact information for brand KYC
|
|
39
|
+
sig do
|
|
40
|
+
params(
|
|
41
|
+
name: String,
|
|
42
|
+
business_name: T.nilable(String),
|
|
43
|
+
email: T.nilable(String),
|
|
44
|
+
phone: T.nilable(String),
|
|
45
|
+
phone_country_code: T.nilable(String),
|
|
46
|
+
role: T.nilable(String)
|
|
47
|
+
).returns(T.attached_class)
|
|
48
|
+
end
|
|
49
|
+
def self.new(
|
|
50
|
+
# Primary contact name (required)
|
|
51
|
+
name:,
|
|
52
|
+
# Business/brand name
|
|
53
|
+
business_name: nil,
|
|
54
|
+
# Contact email address
|
|
55
|
+
email: nil,
|
|
56
|
+
# Contact phone number in E.164 format
|
|
57
|
+
phone: nil,
|
|
58
|
+
# Contact phone country code (e.g., "1" for US)
|
|
59
|
+
phone_country_code: nil,
|
|
60
|
+
# Contact's role in the business
|
|
61
|
+
role: nil
|
|
62
|
+
)
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
sig do
|
|
66
|
+
override.returns(
|
|
67
|
+
{
|
|
68
|
+
name: String,
|
|
69
|
+
business_name: T.nilable(String),
|
|
70
|
+
email: T.nilable(String),
|
|
71
|
+
phone: T.nilable(String),
|
|
72
|
+
phone_country_code: T.nilable(String),
|
|
73
|
+
role: T.nilable(String)
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
end
|
|
77
|
+
def to_hash
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
module TcrBrandRelationship
|
|
6
|
+
extend Sentdm::Internal::Type::Enum
|
|
7
|
+
|
|
8
|
+
TaggedSymbol =
|
|
9
|
+
T.type_alias { T.all(Symbol, Sentdm::TcrBrandRelationship) }
|
|
10
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
11
|
+
|
|
12
|
+
BASIC_ACCOUNT =
|
|
13
|
+
T.let(:BASIC_ACCOUNT, Sentdm::TcrBrandRelationship::TaggedSymbol)
|
|
14
|
+
MEDIUM_ACCOUNT =
|
|
15
|
+
T.let(:MEDIUM_ACCOUNT, Sentdm::TcrBrandRelationship::TaggedSymbol)
|
|
16
|
+
LARGE_ACCOUNT =
|
|
17
|
+
T.let(:LARGE_ACCOUNT, Sentdm::TcrBrandRelationship::TaggedSymbol)
|
|
18
|
+
SMALL_ACCOUNT =
|
|
19
|
+
T.let(:SMALL_ACCOUNT, Sentdm::TcrBrandRelationship::TaggedSymbol)
|
|
20
|
+
KEY_ACCOUNT =
|
|
21
|
+
T.let(:KEY_ACCOUNT, Sentdm::TcrBrandRelationship::TaggedSymbol)
|
|
22
|
+
|
|
23
|
+
sig do
|
|
24
|
+
override.returns(T::Array[Sentdm::TcrBrandRelationship::TaggedSymbol])
|
|
25
|
+
end
|
|
26
|
+
def self.values
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
module TcrVertical
|
|
6
|
+
extend Sentdm::Internal::Type::Enum
|
|
7
|
+
|
|
8
|
+
TaggedSymbol = T.type_alias { T.all(Symbol, Sentdm::TcrVertical) }
|
|
9
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
10
|
+
|
|
11
|
+
PROFESSIONAL = T.let(:PROFESSIONAL, Sentdm::TcrVertical::TaggedSymbol)
|
|
12
|
+
REAL_ESTATE = T.let(:REAL_ESTATE, Sentdm::TcrVertical::TaggedSymbol)
|
|
13
|
+
HEALTHCARE = T.let(:HEALTHCARE, Sentdm::TcrVertical::TaggedSymbol)
|
|
14
|
+
HUMAN_RESOURCES =
|
|
15
|
+
T.let(:HUMAN_RESOURCES, Sentdm::TcrVertical::TaggedSymbol)
|
|
16
|
+
ENERGY = T.let(:ENERGY, Sentdm::TcrVertical::TaggedSymbol)
|
|
17
|
+
ENTERTAINMENT = T.let(:ENTERTAINMENT, Sentdm::TcrVertical::TaggedSymbol)
|
|
18
|
+
RETAIL = T.let(:RETAIL, Sentdm::TcrVertical::TaggedSymbol)
|
|
19
|
+
TRANSPORTATION = T.let(:TRANSPORTATION, Sentdm::TcrVertical::TaggedSymbol)
|
|
20
|
+
AGRICULTURE = T.let(:AGRICULTURE, Sentdm::TcrVertical::TaggedSymbol)
|
|
21
|
+
INSURANCE = T.let(:INSURANCE, Sentdm::TcrVertical::TaggedSymbol)
|
|
22
|
+
POSTAL = T.let(:POSTAL, Sentdm::TcrVertical::TaggedSymbol)
|
|
23
|
+
EDUCATION = T.let(:EDUCATION, Sentdm::TcrVertical::TaggedSymbol)
|
|
24
|
+
HOSPITALITY = T.let(:HOSPITALITY, Sentdm::TcrVertical::TaggedSymbol)
|
|
25
|
+
FINANCIAL = T.let(:FINANCIAL, Sentdm::TcrVertical::TaggedSymbol)
|
|
26
|
+
POLITICAL = T.let(:POLITICAL, Sentdm::TcrVertical::TaggedSymbol)
|
|
27
|
+
GAMBLING = T.let(:GAMBLING, Sentdm::TcrVertical::TaggedSymbol)
|
|
28
|
+
LEGAL = T.let(:LEGAL, Sentdm::TcrVertical::TaggedSymbol)
|
|
29
|
+
CONSTRUCTION = T.let(:CONSTRUCTION, Sentdm::TcrVertical::TaggedSymbol)
|
|
30
|
+
NGO = T.let(:NGO, Sentdm::TcrVertical::TaggedSymbol)
|
|
31
|
+
MANUFACTURING = T.let(:MANUFACTURING, Sentdm::TcrVertical::TaggedSymbol)
|
|
32
|
+
GOVERNMENT = T.let(:GOVERNMENT, Sentdm::TcrVertical::TaggedSymbol)
|
|
33
|
+
TECHNOLOGY = T.let(:TECHNOLOGY, Sentdm::TcrVertical::TaggedSymbol)
|
|
34
|
+
COMMUNICATION = T.let(:COMMUNICATION, Sentdm::TcrVertical::TaggedSymbol)
|
|
35
|
+
|
|
36
|
+
sig { override.returns(T::Array[Sentdm::TcrVertical::TaggedSymbol]) }
|
|
37
|
+
def self.values
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|