sentdm 0.3.1 → 0.5.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 +16 -0
- data/README.md +1 -27
- data/lib/sentdm/client.rb +5 -9
- data/lib/sentdm/internal/type/base_model.rb +5 -5
- data/lib/sentdm/models/api_meta.rb +1 -9
- data/lib/sentdm/models/{api_response_contact.rb → api_response_of_contact.rb} +4 -4
- data/lib/sentdm/models/base_dto.rb +30 -0
- data/lib/sentdm/models/billing_contact_info.rb +47 -0
- data/lib/sentdm/models/brands_brand_data.rb +274 -0
- data/lib/sentdm/models/contact_create_params.rb +13 -6
- data/lib/sentdm/models/contact_delete_params.rb +9 -2
- data/lib/sentdm/models/contact_list_params.rb +10 -2
- data/lib/sentdm/models/contact_list_response.rb +3 -3
- data/lib/sentdm/models/{contact.rb → contact_response.rb} +1 -1
- data/lib/sentdm/models/contact_retrieve_params.rb +7 -1
- data/lib/sentdm/models/contact_update_params.rb +13 -6
- data/lib/sentdm/models/me_retrieve_params.rb +7 -1
- data/lib/sentdm/models/me_retrieve_response.rb +152 -7
- data/lib/sentdm/models/message_retrieve_activities_params.rb +7 -1
- data/lib/sentdm/models/message_retrieve_activities_response.rb +19 -5
- data/lib/sentdm/models/message_retrieve_status_params.rb +7 -1
- data/lib/sentdm/models/message_retrieve_status_response.rb +8 -1
- data/lib/sentdm/models/message_send_params.rb +17 -10
- data/lib/sentdm/models/mutation_request_base.rb +20 -0
- data/lib/sentdm/models/{lookup_retrieve_phone_info_params.rb → number_lookup_params.rb} +9 -3
- data/lib/sentdm/models/{lookup_retrieve_phone_info_response.rb → number_lookup_response.rb} +21 -21
- data/lib/sentdm/models/payment_details.rb +44 -0
- data/lib/sentdm/models/{profile_complete_params.rb → profile_complete_setup_params.rb} +16 -9
- data/lib/sentdm/models/{profile_complete_response.rb → profile_complete_setup_response.rb} +1 -1
- data/lib/sentdm/models/profile_create_params.rb +111 -11
- data/lib/sentdm/models/profile_delete_params.rb +18 -18
- data/lib/sentdm/models/profile_detail.rb +483 -68
- data/lib/sentdm/models/profile_list_params.rb +7 -1
- data/lib/sentdm/models/profile_retrieve_params.rb +7 -1
- data/lib/sentdm/models/profile_update_params.rb +60 -22
- data/lib/sentdm/models/{brands/api_response_tcr_campaign_with_use_cases.rb → profiles/api_response_of_tcr_campaign_with_use_cases.rb} +6 -6
- data/lib/sentdm/models/profiles/campaign_create_params.rb +57 -0
- data/lib/sentdm/models/{brands → profiles}/campaign_data.rb +28 -7
- data/lib/sentdm/models/profiles/campaign_delete_params.rb +50 -0
- data/lib/sentdm/models/profiles/campaign_list_params.rb +28 -0
- data/lib/sentdm/models/{brands → profiles}/campaign_list_response.rb +5 -5
- data/lib/sentdm/models/profiles/campaign_update_params.rb +64 -0
- data/lib/sentdm/models/{brands → profiles}/messaging_use_case_us.rb +1 -1
- data/lib/sentdm/models/{brands → profiles}/tcr_campaign_with_use_cases.rb +15 -15
- data/lib/sentdm/models/template_create_params.rb +17 -10
- data/lib/sentdm/models/template_definition.rb +255 -15
- data/lib/sentdm/models/template_delete_params.rb +13 -6
- data/lib/sentdm/models/template_list_params.rb +18 -2
- data/lib/sentdm/models/template_retrieve_params.rb +7 -1
- data/lib/sentdm/models/template_update_params.rb +17 -10
- data/lib/sentdm/models/template_variable.rb +7 -1
- data/lib/sentdm/models/user_invite_params.rb +13 -6
- data/lib/sentdm/models/user_list_params.rb +7 -1
- data/lib/sentdm/models/user_remove_params.rb +17 -17
- data/lib/sentdm/models/user_retrieve_params.rb +7 -1
- data/lib/sentdm/models/user_update_role_params.rb +15 -16
- data/lib/sentdm/models/webhook_create_params.rb +13 -6
- data/lib/sentdm/models/webhook_delete_params.rb +7 -1
- data/lib/sentdm/models/webhook_list_event_types_params.rb +7 -1
- data/lib/sentdm/models/webhook_list_events_params.rb +7 -1
- data/lib/sentdm/models/webhook_list_params.rb +7 -1
- data/lib/sentdm/models/webhook_retrieve_params.rb +7 -1
- data/lib/sentdm/models/webhook_rotate_secret_params.rb +8 -2
- data/lib/sentdm/models/webhook_test_params.rb +13 -6
- data/lib/sentdm/models/webhook_toggle_status_params.rb +13 -6
- data/lib/sentdm/models/webhook_update_params.rb +13 -6
- data/lib/sentdm/models.rb +14 -38
- data/lib/sentdm/resources/contacts.rb +49 -26
- data/lib/sentdm/resources/me.rb +24 -5
- data/lib/sentdm/resources/messages.rb +24 -8
- data/lib/sentdm/resources/numbers.rb +44 -0
- data/lib/sentdm/resources/profiles/campaigns.rb +160 -0
- data/lib/sentdm/resources/profiles.rb +125 -36
- data/lib/sentdm/resources/templates.rb +47 -24
- data/lib/sentdm/resources/users.rb +40 -23
- data/lib/sentdm/resources/webhooks.rb +92 -34
- data/lib/sentdm/version.rb +1 -1
- data/lib/sentdm.rb +22 -35
- data/rbi/sentdm/client.rbi +4 -7
- data/rbi/sentdm/models/api_meta.rbi +4 -18
- data/rbi/sentdm/models/{api_response_brand_with_kyc.rbi → api_response_of_contact.rbi} +6 -6
- data/rbi/sentdm/models/base_dto.rbi +49 -0
- data/rbi/sentdm/models/billing_contact_info.rbi +65 -0
- data/rbi/sentdm/models/brands_brand_data.rbi +406 -0
- data/rbi/sentdm/models/contact_create_params.rbi +19 -10
- data/rbi/sentdm/models/contact_delete_params.rbi +10 -1
- data/rbi/sentdm/models/contact_list_params.rbi +11 -0
- data/rbi/sentdm/models/contact_list_response.rbi +4 -4
- data/rbi/sentdm/models/{contact.rbi → contact_response.rbi} +4 -2
- data/rbi/sentdm/models/contact_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/contact_update_params.rbi +19 -10
- data/rbi/sentdm/models/me_retrieve_params.rbi +16 -5
- data/rbi/sentdm/models/me_retrieve_response.rbi +316 -16
- data/rbi/sentdm/models/message_retrieve_activities_params.rbi +13 -2
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +18 -6
- data/rbi/sentdm/models/message_retrieve_status_params.rbi +13 -2
- data/rbi/sentdm/models/message_retrieve_status_response.rbi +6 -0
- data/rbi/sentdm/models/message_send_params.rbi +22 -13
- data/rbi/sentdm/models/mutation_request_base.rbi +32 -0
- data/rbi/sentdm/models/{lookup_retrieve_phone_info_params.rbi → number_lookup_params.rbi} +15 -7
- data/rbi/sentdm/models/{lookup_retrieve_phone_info_response.rbi → number_lookup_response.rbi} +16 -33
- data/rbi/sentdm/models/payment_details.rbi +59 -0
- data/rbi/sentdm/models/{profile_complete_params.rbi → profile_complete_setup_params.rbi} +21 -12
- data/rbi/sentdm/models/{profile_complete_response.rbi → profile_complete_setup_response.rbi} +1 -1
- data/rbi/sentdm/models/profile_create_params.rbi +189 -15
- data/rbi/sentdm/models/profile_delete_params.rbi +36 -24
- data/rbi/sentdm/models/profile_detail.rbi +725 -111
- data/rbi/sentdm/models/profile_list_params.rbi +16 -5
- data/rbi/sentdm/models/profile_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/profile_update_params.rbi +97 -30
- data/rbi/sentdm/models/{brands/api_response_tcr_campaign_with_use_cases.rbi → profiles/api_response_of_tcr_campaign_with_use_cases.rbi} +7 -7
- data/rbi/sentdm/models/{brands → profiles}/campaign_create_params.rbi +29 -20
- data/rbi/sentdm/models/{brands → profiles}/campaign_data.rbi +51 -16
- data/rbi/sentdm/models/{brands → profiles}/campaign_delete_params.rbi +23 -12
- data/rbi/sentdm/models/profiles/campaign_list_params.rbi +51 -0
- data/rbi/sentdm/models/{brands → profiles}/campaign_list_response.rbi +7 -5
- data/rbi/sentdm/models/{brands → profiles}/campaign_update_params.rbi +29 -20
- data/rbi/sentdm/models/{brands → profiles}/messaging_use_case_us.rbi +20 -16
- data/rbi/sentdm/models/{brands → profiles}/tcr_campaign_with_use_cases.rbi +35 -29
- data/rbi/sentdm/models/template_create_params.rbi +22 -13
- data/rbi/sentdm/models/template_definition.rbi +405 -74
- data/rbi/sentdm/models/template_delete_params.rbi +19 -10
- data/rbi/sentdm/models/template_list_params.rbi +19 -0
- data/rbi/sentdm/models/template_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/template_update_params.rbi +22 -13
- data/rbi/sentdm/models/template_variable.rbi +6 -0
- data/rbi/sentdm/models/user_invite_params.rbi +19 -10
- data/rbi/sentdm/models/user_list_params.rbi +16 -5
- data/rbi/sentdm/models/user_remove_params.rbi +35 -23
- data/rbi/sentdm/models/user_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/user_update_role_params.rbi +23 -25
- data/rbi/sentdm/models/webhook_create_params.rbi +19 -10
- data/rbi/sentdm/models/webhook_delete_params.rbi +13 -2
- data/rbi/sentdm/models/webhook_list_event_types_params.rbi +16 -5
- data/rbi/sentdm/models/webhook_list_events_params.rbi +16 -1
- data/rbi/sentdm/models/webhook_list_params.rbi +9 -0
- data/rbi/sentdm/models/webhook_retrieve_params.rbi +13 -2
- data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +16 -2
- data/rbi/sentdm/models/webhook_test_params.rbi +19 -10
- data/rbi/sentdm/models/webhook_toggle_status_params.rbi +19 -10
- data/rbi/sentdm/models/webhook_update_params.rbi +19 -10
- data/rbi/sentdm/models.rbi +14 -38
- data/rbi/sentdm/resources/contacts.rbi +40 -15
- data/rbi/sentdm/resources/me.rbi +25 -7
- data/rbi/sentdm/resources/messages.rbi +17 -4
- data/rbi/sentdm/resources/numbers.rbi +32 -0
- data/rbi/sentdm/resources/profiles/campaigns.rbi +127 -0
- data/rbi/sentdm/resources/profiles.rbi +179 -39
- data/rbi/sentdm/resources/templates.rbi +47 -19
- data/rbi/sentdm/resources/users.rbi +47 -25
- data/rbi/sentdm/resources/webhooks.rbi +92 -20
- data/sig/sentdm/client.rbs +2 -4
- data/sig/sentdm/models/api_meta.rbs +2 -16
- data/sig/sentdm/models/{api_response_contact.rbs → api_response_of_contact.rbs} +6 -6
- data/sig/sentdm/models/base_dto.rbs +25 -0
- data/sig/sentdm/models/billing_contact_info.rbs +30 -0
- data/sig/sentdm/models/brands_brand_data.rbs +210 -0
- data/sig/sentdm/models/contact_create_params.rbs +16 -5
- data/sig/sentdm/models/contact_delete_params.rbs +12 -2
- data/sig/sentdm/models/contact_list_params.rbs +8 -1
- data/sig/sentdm/models/contact_list_response.rbs +7 -5
- data/sig/sentdm/models/{contact.rbs → contact_response.rbs} +2 -2
- data/sig/sentdm/models/contact_retrieve_params.rbs +12 -2
- data/sig/sentdm/models/contact_update_params.rbs +13 -6
- data/sig/sentdm/models/me_retrieve_params.rbs +14 -3
- data/sig/sentdm/models/me_retrieve_response.rbs +134 -7
- data/sig/sentdm/models/message_retrieve_activities_params.rbs +12 -2
- data/sig/sentdm/models/message_retrieve_activities_response.rbs +9 -4
- data/sig/sentdm/models/message_retrieve_status_params.rbs +12 -2
- data/sig/sentdm/models/message_retrieve_status_response.rbs +5 -0
- data/sig/sentdm/models/message_send_params.rbs +15 -8
- data/sig/sentdm/models/mutation_request_base.rbs +15 -0
- data/sig/sentdm/models/{lookup_retrieve_phone_info_params.rbs → number_lookup_params.rbs} +10 -3
- data/sig/sentdm/models/{lookup_retrieve_phone_info_response.rbs → number_lookup_response.rbs} +14 -16
- data/sig/sentdm/models/payment_details.rbs +30 -0
- data/sig/sentdm/models/{profile_complete_params.rbs → profile_complete_setup_params.rbs} +15 -8
- data/sig/sentdm/models/profile_complete_setup_response.rbs +5 -0
- data/sig/sentdm/models/profile_create_params.rbs +57 -7
- data/sig/sentdm/models/profile_delete_params.rbs +23 -13
- data/sig/sentdm/models/profile_detail.rbs +374 -68
- data/sig/sentdm/models/profile_list_params.rbs +14 -3
- data/sig/sentdm/models/profile_retrieve_params.rbs +8 -1
- data/sig/sentdm/models/profile_update_params.rbs +32 -17
- data/sig/sentdm/models/{brands/api_response_tcr_campaign_with_use_cases.rbs → profiles/api_response_of_tcr_campaign_with_use_cases.rbs} +7 -7
- data/sig/sentdm/models/profiles/campaign_create_params.rbs +54 -0
- data/sig/sentdm/models/{brands → profiles}/campaign_data.rbs +27 -5
- data/sig/sentdm/models/{brands → profiles}/campaign_delete_params.rbs +17 -10
- data/sig/sentdm/models/{brands → profiles}/campaign_list_params.rbs +12 -5
- data/sig/sentdm/models/{brands → profiles}/campaign_list_response.rbs +5 -5
- data/sig/sentdm/models/{brands → profiles}/campaign_update_params.rbs +22 -15
- data/sig/sentdm/models/{brands → profiles}/messaging_use_case_us.rbs +2 -2
- data/sig/sentdm/models/{brands → profiles}/tcr_campaign_with_use_cases.rbs +29 -29
- data/sig/sentdm/models/template_create_params.rbs +15 -8
- data/sig/sentdm/models/template_definition.rbs +233 -20
- data/sig/sentdm/models/template_delete_params.rbs +16 -5
- data/sig/sentdm/models/template_list_params.rbs +13 -1
- data/sig/sentdm/models/template_retrieve_params.rbs +12 -2
- data/sig/sentdm/models/template_update_params.rbs +15 -8
- data/sig/sentdm/models/template_variable.rbs +5 -0
- data/sig/sentdm/models/user_invite_params.rbs +13 -6
- data/sig/sentdm/models/user_list_params.rbs +14 -3
- data/sig/sentdm/models/user_remove_params.rbs +23 -13
- data/sig/sentdm/models/user_retrieve_params.rbs +8 -1
- data/sig/sentdm/models/user_update_role_params.rbs +17 -17
- data/sig/sentdm/models/webhook_create_params.rbs +13 -6
- data/sig/sentdm/models/webhook_delete_params.rbs +12 -2
- data/sig/sentdm/models/webhook_list_event_types_params.rbs +13 -3
- data/sig/sentdm/models/webhook_list_events_params.rbs +13 -1
- data/sig/sentdm/models/webhook_list_params.rbs +13 -1
- data/sig/sentdm/models/webhook_retrieve_params.rbs +12 -2
- data/sig/sentdm/models/webhook_rotate_secret_params.rbs +9 -2
- data/sig/sentdm/models/webhook_test_params.rbs +13 -6
- data/sig/sentdm/models/webhook_toggle_status_params.rbs +17 -5
- data/sig/sentdm/models/webhook_update_params.rbs +13 -6
- data/sig/sentdm/models.rbs +14 -32
- data/sig/sentdm/resources/contacts.rbs +10 -5
- data/sig/sentdm/resources/me.rbs +1 -0
- data/sig/sentdm/resources/messages.rbs +4 -1
- data/sig/sentdm/resources/{lookup.rbs → numbers.rbs} +4 -3
- data/sig/sentdm/resources/profiles/campaigns.rbs +42 -0
- data/sig/sentdm/resources/profiles.rbs +22 -9
- data/sig/sentdm/resources/templates.rbs +9 -3
- data/sig/sentdm/resources/users.rbs +10 -7
- data/sig/sentdm/resources/webhooks.rbs +18 -5
- metadata +67 -106
- data/lib/sentdm/models/api_response_brand_with_kyc.rb +0 -43
- data/lib/sentdm/models/brand_create_params.rb +0 -41
- data/lib/sentdm/models/brand_data.rb +0 -237
- data/lib/sentdm/models/brand_delete_params.rb +0 -34
- data/lib/sentdm/models/brand_list_params.rb +0 -14
- data/lib/sentdm/models/brand_list_response.rb +0 -43
- data/lib/sentdm/models/brand_update_params.rb +0 -48
- data/lib/sentdm/models/brand_with_kyc.rb +0 -335
- data/lib/sentdm/models/brands/base_dto.rb +0 -32
- data/lib/sentdm/models/brands/campaign_create_params.rb +0 -50
- data/lib/sentdm/models/brands/campaign_delete_params.rb +0 -43
- data/lib/sentdm/models/brands/campaign_list_params.rb +0 -22
- data/lib/sentdm/models/brands/campaign_update_params.rb +0 -57
- data/lib/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb +0 -30
- data/lib/sentdm/models/mutation_request.rb +0 -20
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rb +0 -34
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rb +0 -40
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb +0 -38
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rb +0 -81
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb +0 -34
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rb +0 -39
- data/lib/sentdm/resources/brands/campaigns.rb +0 -145
- data/lib/sentdm/resources/brands.rb +0 -130
- data/lib/sentdm/resources/lookup.rb +0 -35
- data/rbi/sentdm/models/api_response_contact.rbi +0 -74
- data/rbi/sentdm/models/brand_create_params.rbi +0 -68
- data/rbi/sentdm/models/brand_data.rbi +0 -266
- data/rbi/sentdm/models/brand_delete_params.rbi +0 -68
- data/rbi/sentdm/models/brand_list_params.rbi +0 -27
- data/rbi/sentdm/models/brand_list_response.rbi +0 -71
- data/rbi/sentdm/models/brand_update_params.rbi +0 -74
- data/rbi/sentdm/models/brand_with_kyc.rbi +0 -398
- data/rbi/sentdm/models/brands/base_dto.rbi +0 -53
- data/rbi/sentdm/models/brands/campaign_list_params.rbi +0 -37
- data/rbi/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi +0 -52
- data/rbi/sentdm/models/mutation_request.rbi +0 -32
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbi +0 -56
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbi +0 -76
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbi +0 -79
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbi +0 -104
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbi +0 -60
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbi +0 -62
- data/rbi/sentdm/resources/brands/campaigns.rbi +0 -109
- data/rbi/sentdm/resources/brands.rbi +0 -95
- data/rbi/sentdm/resources/lookup.rbi +0 -24
- data/sig/sentdm/models/api_response_brand_with_kyc.rbs +0 -39
- data/sig/sentdm/models/brand_create_params.rbs +0 -36
- data/sig/sentdm/models/brand_data.rbs +0 -164
- data/sig/sentdm/models/brand_delete_params.rbs +0 -36
- data/sig/sentdm/models/brand_list_params.rbs +0 -14
- data/sig/sentdm/models/brand_list_response.rbs +0 -39
- data/sig/sentdm/models/brand_update_params.rbs +0 -45
- data/sig/sentdm/models/brand_with_kyc.rbs +0 -237
- data/sig/sentdm/models/brands/base_dto.rbs +0 -27
- data/sig/sentdm/models/brands/campaign_create_params.rbs +0 -47
- data/sig/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs +0 -27
- data/sig/sentdm/models/mutation_request.rbs +0 -15
- data/sig/sentdm/models/profile_complete_response.rbs +0 -5
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbs +0 -24
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbs +0 -30
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbs +0 -38
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbs +0 -75
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbs +0 -32
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbs +0 -32
- data/sig/sentdm/resources/brands/campaigns.rbs +0 -38
- data/sig/sentdm/resources/brands.rbs +0 -34
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type brands_brand_data =
|
|
4
|
+
{
|
|
5
|
+
compliance: Sentdm::BrandsBrandData::Compliance,
|
|
6
|
+
contact: Sentdm::BrandsBrandData::Contact,
|
|
7
|
+
business: Sentdm::BrandsBrandData::Business?
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class BrandsBrandData < Sentdm::Internal::Type::BaseModel
|
|
11
|
+
attr_accessor compliance: Sentdm::BrandsBrandData::Compliance
|
|
12
|
+
|
|
13
|
+
attr_accessor contact: Sentdm::BrandsBrandData::Contact
|
|
14
|
+
|
|
15
|
+
attr_accessor business: Sentdm::BrandsBrandData::Business?
|
|
16
|
+
|
|
17
|
+
def initialize: (
|
|
18
|
+
compliance: Sentdm::BrandsBrandData::Compliance,
|
|
19
|
+
contact: Sentdm::BrandsBrandData::Contact,
|
|
20
|
+
?business: Sentdm::BrandsBrandData::Business?
|
|
21
|
+
) -> void
|
|
22
|
+
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
compliance: Sentdm::BrandsBrandData::Compliance,
|
|
25
|
+
contact: Sentdm::BrandsBrandData::Contact,
|
|
26
|
+
business: Sentdm::BrandsBrandData::Business?
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
type compliance =
|
|
30
|
+
{
|
|
31
|
+
brand_relationship: Sentdm::Models::tcr_brand_relationship,
|
|
32
|
+
vertical: Sentdm::Models::tcr_vertical,
|
|
33
|
+
destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
34
|
+
expected_messaging_volume: String?,
|
|
35
|
+
is_tcr_application: bool?,
|
|
36
|
+
notes: String?,
|
|
37
|
+
phone_number_prefix: String?,
|
|
38
|
+
primary_use_case: String?
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
class Compliance < Sentdm::Internal::Type::BaseModel
|
|
42
|
+
attr_accessor brand_relationship: Sentdm::Models::tcr_brand_relationship
|
|
43
|
+
|
|
44
|
+
attr_accessor vertical: Sentdm::Models::tcr_vertical
|
|
45
|
+
|
|
46
|
+
attr_accessor destination_countries: ::Array[Sentdm::DestinationCountry]?
|
|
47
|
+
|
|
48
|
+
attr_accessor expected_messaging_volume: String?
|
|
49
|
+
|
|
50
|
+
attr_accessor is_tcr_application: bool?
|
|
51
|
+
|
|
52
|
+
attr_accessor notes: String?
|
|
53
|
+
|
|
54
|
+
attr_accessor phone_number_prefix: String?
|
|
55
|
+
|
|
56
|
+
attr_accessor primary_use_case: String?
|
|
57
|
+
|
|
58
|
+
def initialize: (
|
|
59
|
+
brand_relationship: Sentdm::Models::tcr_brand_relationship,
|
|
60
|
+
vertical: Sentdm::Models::tcr_vertical,
|
|
61
|
+
?destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
62
|
+
?expected_messaging_volume: String?,
|
|
63
|
+
?is_tcr_application: bool?,
|
|
64
|
+
?notes: String?,
|
|
65
|
+
?phone_number_prefix: String?,
|
|
66
|
+
?primary_use_case: String?
|
|
67
|
+
) -> void
|
|
68
|
+
|
|
69
|
+
def to_hash: -> {
|
|
70
|
+
brand_relationship: Sentdm::Models::tcr_brand_relationship,
|
|
71
|
+
vertical: Sentdm::Models::tcr_vertical,
|
|
72
|
+
destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
73
|
+
expected_messaging_volume: String?,
|
|
74
|
+
is_tcr_application: bool?,
|
|
75
|
+
notes: String?,
|
|
76
|
+
phone_number_prefix: String?,
|
|
77
|
+
primary_use_case: String?
|
|
78
|
+
}
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
type contact =
|
|
82
|
+
{
|
|
83
|
+
name: String,
|
|
84
|
+
business_name: String?,
|
|
85
|
+
email: String?,
|
|
86
|
+
phone: String?,
|
|
87
|
+
phone_country_code: String?,
|
|
88
|
+
role: String?
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
class Contact < Sentdm::Internal::Type::BaseModel
|
|
92
|
+
attr_accessor name: String
|
|
93
|
+
|
|
94
|
+
attr_accessor business_name: String?
|
|
95
|
+
|
|
96
|
+
attr_accessor email: String?
|
|
97
|
+
|
|
98
|
+
attr_accessor phone: String?
|
|
99
|
+
|
|
100
|
+
attr_accessor phone_country_code: String?
|
|
101
|
+
|
|
102
|
+
attr_accessor role: String?
|
|
103
|
+
|
|
104
|
+
def initialize: (
|
|
105
|
+
name: String,
|
|
106
|
+
?business_name: String?,
|
|
107
|
+
?email: String?,
|
|
108
|
+
?phone: String?,
|
|
109
|
+
?phone_country_code: String?,
|
|
110
|
+
?role: String?
|
|
111
|
+
) -> void
|
|
112
|
+
|
|
113
|
+
def to_hash: -> {
|
|
114
|
+
name: String,
|
|
115
|
+
business_name: String?,
|
|
116
|
+
email: String?,
|
|
117
|
+
phone: String?,
|
|
118
|
+
phone_country_code: String?,
|
|
119
|
+
role: String?
|
|
120
|
+
}
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
type business =
|
|
124
|
+
{
|
|
125
|
+
city: String?,
|
|
126
|
+
country: String?,
|
|
127
|
+
country_of_registration: String?,
|
|
128
|
+
entity_type: Sentdm::Models::BrandsBrandData::Business::entity_type?,
|
|
129
|
+
legal_name: String?,
|
|
130
|
+
postal_code: String?,
|
|
131
|
+
state: String?,
|
|
132
|
+
street: String?,
|
|
133
|
+
tax_id: String?,
|
|
134
|
+
tax_id_type: String?,
|
|
135
|
+
url: String?
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
class Business < Sentdm::Internal::Type::BaseModel
|
|
139
|
+
attr_accessor city: String?
|
|
140
|
+
|
|
141
|
+
attr_accessor country: String?
|
|
142
|
+
|
|
143
|
+
attr_accessor country_of_registration: String?
|
|
144
|
+
|
|
145
|
+
attr_accessor entity_type: Sentdm::Models::BrandsBrandData::Business::entity_type?
|
|
146
|
+
|
|
147
|
+
attr_accessor legal_name: String?
|
|
148
|
+
|
|
149
|
+
attr_accessor postal_code: String?
|
|
150
|
+
|
|
151
|
+
attr_accessor state: String?
|
|
152
|
+
|
|
153
|
+
attr_accessor street: String?
|
|
154
|
+
|
|
155
|
+
attr_accessor tax_id: String?
|
|
156
|
+
|
|
157
|
+
attr_accessor tax_id_type: String?
|
|
158
|
+
|
|
159
|
+
attr_accessor url: String?
|
|
160
|
+
|
|
161
|
+
def initialize: (
|
|
162
|
+
?city: String?,
|
|
163
|
+
?country: String?,
|
|
164
|
+
?country_of_registration: String?,
|
|
165
|
+
?entity_type: Sentdm::Models::BrandsBrandData::Business::entity_type?,
|
|
166
|
+
?legal_name: String?,
|
|
167
|
+
?postal_code: String?,
|
|
168
|
+
?state: String?,
|
|
169
|
+
?street: String?,
|
|
170
|
+
?tax_id: String?,
|
|
171
|
+
?tax_id_type: String?,
|
|
172
|
+
?url: String?
|
|
173
|
+
) -> void
|
|
174
|
+
|
|
175
|
+
def to_hash: -> {
|
|
176
|
+
city: String?,
|
|
177
|
+
country: String?,
|
|
178
|
+
country_of_registration: String?,
|
|
179
|
+
entity_type: Sentdm::Models::BrandsBrandData::Business::entity_type?,
|
|
180
|
+
legal_name: String?,
|
|
181
|
+
postal_code: String?,
|
|
182
|
+
state: String?,
|
|
183
|
+
street: String?,
|
|
184
|
+
tax_id: String?,
|
|
185
|
+
tax_id_type: String?,
|
|
186
|
+
url: String?
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
type entity_type =
|
|
190
|
+
:PRIVATE_PROFIT
|
|
191
|
+
| :PUBLIC_PROFIT
|
|
192
|
+
| :NON_PROFIT
|
|
193
|
+
| :SOLE_PROPRIETOR
|
|
194
|
+
| :GOVERNMENT
|
|
195
|
+
|
|
196
|
+
module EntityType
|
|
197
|
+
extend Sentdm::Internal::Type::Enum
|
|
198
|
+
|
|
199
|
+
PRIVATE_PROFIT: :PRIVATE_PROFIT
|
|
200
|
+
PUBLIC_PROFIT: :PUBLIC_PROFIT
|
|
201
|
+
NON_PROFIT: :NON_PROFIT
|
|
202
|
+
SOLE_PROPRIETOR: :SOLE_PROPRIETOR
|
|
203
|
+
GOVERNMENT: :GOVERNMENT
|
|
204
|
+
|
|
205
|
+
def self?.values: -> ::Array[Sentdm::Models::BrandsBrandData::Business::entity_type]
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
end
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Models
|
|
3
3
|
type contact_create_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
phone_number: String,
|
|
6
|
+
sandbox: bool,
|
|
7
|
+
idempotency_key: String,
|
|
8
|
+
x_profile_id: String
|
|
9
|
+
}
|
|
5
10
|
& Sentdm::Internal::Type::request_parameters
|
|
6
11
|
|
|
7
12
|
class ContactCreateParams < Sentdm::Internal::Type::BaseModel
|
|
@@ -12,25 +17,31 @@ module Sentdm
|
|
|
12
17
|
|
|
13
18
|
def phone_number=: (String) -> String
|
|
14
19
|
|
|
15
|
-
attr_reader
|
|
20
|
+
attr_reader sandbox: bool?
|
|
16
21
|
|
|
17
|
-
def
|
|
22
|
+
def sandbox=: (bool) -> bool
|
|
18
23
|
|
|
19
24
|
attr_reader idempotency_key: String?
|
|
20
25
|
|
|
21
26
|
def idempotency_key=: (String) -> String
|
|
22
27
|
|
|
28
|
+
attr_reader x_profile_id: String?
|
|
29
|
+
|
|
30
|
+
def x_profile_id=: (String) -> String
|
|
31
|
+
|
|
23
32
|
def initialize: (
|
|
24
33
|
?phone_number: String,
|
|
25
|
-
?
|
|
34
|
+
?sandbox: bool,
|
|
26
35
|
?idempotency_key: String,
|
|
36
|
+
?x_profile_id: String,
|
|
27
37
|
?request_options: Sentdm::request_opts
|
|
28
38
|
) -> void
|
|
29
39
|
|
|
30
40
|
def to_hash: -> {
|
|
31
41
|
phone_number: String,
|
|
32
|
-
|
|
42
|
+
sandbox: bool,
|
|
33
43
|
idempotency_key: String,
|
|
44
|
+
x_profile_id: String,
|
|
34
45
|
request_options: Sentdm::RequestOptions
|
|
35
46
|
}
|
|
36
47
|
end
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Models
|
|
3
3
|
type contact_delete_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
body: Sentdm::ContactDeleteParams::Body,
|
|
7
|
+
x_profile_id: String
|
|
8
|
+
}
|
|
5
9
|
& Sentdm::Internal::Type::request_parameters
|
|
6
10
|
|
|
7
11
|
class ContactDeleteParams < Sentdm::Internal::Type::BaseModel
|
|
@@ -12,21 +16,27 @@ module Sentdm
|
|
|
12
16
|
|
|
13
17
|
attr_accessor body: Sentdm::ContactDeleteParams::Body
|
|
14
18
|
|
|
19
|
+
attr_reader x_profile_id: String?
|
|
20
|
+
|
|
21
|
+
def x_profile_id=: (String) -> String
|
|
22
|
+
|
|
15
23
|
def initialize: (
|
|
16
24
|
id: String,
|
|
17
25
|
body: Sentdm::ContactDeleteParams::Body,
|
|
26
|
+
?x_profile_id: String,
|
|
18
27
|
?request_options: Sentdm::request_opts
|
|
19
28
|
) -> void
|
|
20
29
|
|
|
21
30
|
def to_hash: -> {
|
|
22
31
|
id: String,
|
|
23
32
|
body: Sentdm::ContactDeleteParams::Body,
|
|
33
|
+
x_profile_id: String,
|
|
24
34
|
request_options: Sentdm::RequestOptions
|
|
25
35
|
}
|
|
26
36
|
|
|
27
37
|
type body = { }
|
|
28
38
|
|
|
29
|
-
class Body < Sentdm::Models::
|
|
39
|
+
class Body < Sentdm::Models::MutationRequestBase
|
|
30
40
|
def initialize: -> void
|
|
31
41
|
|
|
32
42
|
def to_hash: -> { }
|
|
@@ -6,7 +6,8 @@ module Sentdm
|
|
|
6
6
|
page_size: Integer,
|
|
7
7
|
channel: String?,
|
|
8
8
|
phone: String?,
|
|
9
|
-
search: String
|
|
9
|
+
search: String?,
|
|
10
|
+
x_profile_id: String
|
|
10
11
|
}
|
|
11
12
|
& Sentdm::Internal::Type::request_parameters
|
|
12
13
|
|
|
@@ -24,12 +25,17 @@ module Sentdm
|
|
|
24
25
|
|
|
25
26
|
attr_accessor search: String?
|
|
26
27
|
|
|
28
|
+
attr_reader x_profile_id: String?
|
|
29
|
+
|
|
30
|
+
def x_profile_id=: (String) -> String
|
|
31
|
+
|
|
27
32
|
def initialize: (
|
|
28
33
|
page: Integer,
|
|
29
34
|
page_size: Integer,
|
|
30
35
|
?channel: String?,
|
|
31
36
|
?phone: String?,
|
|
32
37
|
?search: String?,
|
|
38
|
+
?x_profile_id: String,
|
|
33
39
|
?request_options: Sentdm::request_opts
|
|
34
40
|
) -> void
|
|
35
41
|
|
|
@@ -39,6 +45,7 @@ module Sentdm
|
|
|
39
45
|
channel: String?,
|
|
40
46
|
phone: String?,
|
|
41
47
|
search: String?,
|
|
48
|
+
x_profile_id: String,
|
|
42
49
|
request_options: Sentdm::RequestOptions
|
|
43
50
|
}
|
|
44
51
|
end
|
|
@@ -37,26 +37,28 @@ module Sentdm
|
|
|
37
37
|
|
|
38
38
|
type data =
|
|
39
39
|
{
|
|
40
|
-
contacts: ::Array[Sentdm::
|
|
40
|
+
contacts: ::Array[Sentdm::ContactResponse],
|
|
41
41
|
pagination: Sentdm::PaginationMeta
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
class Data < Sentdm::Internal::Type::BaseModel
|
|
45
|
-
attr_reader contacts: ::Array[Sentdm::
|
|
45
|
+
attr_reader contacts: ::Array[Sentdm::ContactResponse]?
|
|
46
46
|
|
|
47
|
-
def contacts=: (
|
|
47
|
+
def contacts=: (
|
|
48
|
+
::Array[Sentdm::ContactResponse]
|
|
49
|
+
) -> ::Array[Sentdm::ContactResponse]
|
|
48
50
|
|
|
49
51
|
attr_reader pagination: Sentdm::PaginationMeta?
|
|
50
52
|
|
|
51
53
|
def pagination=: (Sentdm::PaginationMeta) -> Sentdm::PaginationMeta
|
|
52
54
|
|
|
53
55
|
def initialize: (
|
|
54
|
-
?contacts: ::Array[Sentdm::
|
|
56
|
+
?contacts: ::Array[Sentdm::ContactResponse],
|
|
55
57
|
?pagination: Sentdm::PaginationMeta
|
|
56
58
|
) -> void
|
|
57
59
|
|
|
58
60
|
def to_hash: -> {
|
|
59
|
-
contacts: ::Array[Sentdm::
|
|
61
|
+
contacts: ::Array[Sentdm::ContactResponse],
|
|
60
62
|
pagination: Sentdm::PaginationMeta
|
|
61
63
|
}
|
|
62
64
|
end
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Models
|
|
3
|
-
type
|
|
3
|
+
type contact_response =
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
available_channels: String,
|
|
@@ -18,7 +18,7 @@ module Sentdm
|
|
|
18
18
|
updated_at: Time?
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class ContactResponse < Sentdm::Internal::Type::BaseModel
|
|
22
22
|
attr_reader id: String?
|
|
23
23
|
|
|
24
24
|
def id=: (String) -> String
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Models
|
|
3
3
|
type contact_retrieve_params =
|
|
4
|
-
{ id: String
|
|
4
|
+
{ id: String, x_profile_id: String }
|
|
5
|
+
& Sentdm::Internal::Type::request_parameters
|
|
5
6
|
|
|
6
7
|
class ContactRetrieveParams < Sentdm::Internal::Type::BaseModel
|
|
7
8
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
@@ -9,12 +10,21 @@ module Sentdm
|
|
|
9
10
|
|
|
10
11
|
attr_accessor id: String
|
|
11
12
|
|
|
13
|
+
attr_reader x_profile_id: String?
|
|
14
|
+
|
|
15
|
+
def x_profile_id=: (String) -> String
|
|
16
|
+
|
|
12
17
|
def initialize: (
|
|
13
18
|
id: String,
|
|
19
|
+
?x_profile_id: String,
|
|
14
20
|
?request_options: Sentdm::request_opts
|
|
15
21
|
) -> void
|
|
16
22
|
|
|
17
|
-
def to_hash: -> {
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
id: String,
|
|
25
|
+
x_profile_id: String,
|
|
26
|
+
request_options: Sentdm::RequestOptions
|
|
27
|
+
}
|
|
18
28
|
end
|
|
19
29
|
end
|
|
20
30
|
end
|
|
@@ -5,8 +5,9 @@ module Sentdm
|
|
|
5
5
|
id: String,
|
|
6
6
|
default_channel: String?,
|
|
7
7
|
opt_out: bool?,
|
|
8
|
-
|
|
9
|
-
idempotency_key: String
|
|
8
|
+
sandbox: bool,
|
|
9
|
+
idempotency_key: String,
|
|
10
|
+
x_profile_id: String
|
|
10
11
|
}
|
|
11
12
|
& Sentdm::Internal::Type::request_parameters
|
|
12
13
|
|
|
@@ -20,20 +21,25 @@ module Sentdm
|
|
|
20
21
|
|
|
21
22
|
attr_accessor opt_out: bool?
|
|
22
23
|
|
|
23
|
-
attr_reader
|
|
24
|
+
attr_reader sandbox: bool?
|
|
24
25
|
|
|
25
|
-
def
|
|
26
|
+
def sandbox=: (bool) -> bool
|
|
26
27
|
|
|
27
28
|
attr_reader idempotency_key: String?
|
|
28
29
|
|
|
29
30
|
def idempotency_key=: (String) -> String
|
|
30
31
|
|
|
32
|
+
attr_reader x_profile_id: String?
|
|
33
|
+
|
|
34
|
+
def x_profile_id=: (String) -> String
|
|
35
|
+
|
|
31
36
|
def initialize: (
|
|
32
37
|
id: String,
|
|
33
38
|
?default_channel: String?,
|
|
34
39
|
?opt_out: bool?,
|
|
35
|
-
?
|
|
40
|
+
?sandbox: bool,
|
|
36
41
|
?idempotency_key: String,
|
|
42
|
+
?x_profile_id: String,
|
|
37
43
|
?request_options: Sentdm::request_opts
|
|
38
44
|
) -> void
|
|
39
45
|
|
|
@@ -41,8 +47,9 @@ module Sentdm
|
|
|
41
47
|
id: String,
|
|
42
48
|
default_channel: String?,
|
|
43
49
|
opt_out: bool?,
|
|
44
|
-
|
|
50
|
+
sandbox: bool,
|
|
45
51
|
idempotency_key: String,
|
|
52
|
+
x_profile_id: String,
|
|
46
53
|
request_options: Sentdm::RequestOptions
|
|
47
54
|
}
|
|
48
55
|
end
|
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Models
|
|
3
|
-
type me_retrieve_params =
|
|
3
|
+
type me_retrieve_params =
|
|
4
|
+
{ x_profile_id: String } & Sentdm::Internal::Type::request_parameters
|
|
4
5
|
|
|
5
6
|
class MeRetrieveParams < Sentdm::Internal::Type::BaseModel
|
|
6
7
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
7
8
|
include Sentdm::Internal::Type::RequestParameters
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
attr_reader x_profile_id: String?
|
|
10
11
|
|
|
11
|
-
def
|
|
12
|
+
def x_profile_id=: (String) -> String
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
?x_profile_id: String,
|
|
16
|
+
?request_options: Sentdm::request_opts
|
|
17
|
+
) -> void
|
|
18
|
+
|
|
19
|
+
def to_hash: -> {
|
|
20
|
+
x_profile_id: String,
|
|
21
|
+
request_options: Sentdm::RequestOptions
|
|
22
|
+
}
|
|
12
23
|
end
|
|
13
24
|
end
|
|
14
25
|
end
|
|
@@ -38,13 +38,18 @@ module Sentdm
|
|
|
38
38
|
type data =
|
|
39
39
|
{
|
|
40
40
|
id: String,
|
|
41
|
+
channels: Sentdm::Models::MeRetrieveResponse::Data::Channels,
|
|
41
42
|
created_at: Time,
|
|
42
43
|
description: String?,
|
|
44
|
+
email: String?,
|
|
43
45
|
icon: String?,
|
|
44
46
|
name: String,
|
|
45
|
-
|
|
47
|
+
organization_id: String?,
|
|
48
|
+
profiles: ::Array[Sentdm::Models::MeRetrieveResponse::Data::Profile],
|
|
46
49
|
settings: Sentdm::ProfileSettings?,
|
|
47
|
-
|
|
50
|
+
short_name: String?,
|
|
51
|
+
status: String?,
|
|
52
|
+
type: String
|
|
48
53
|
}
|
|
49
54
|
|
|
50
55
|
class Data < Sentdm::Internal::Type::BaseModel
|
|
@@ -52,46 +57,168 @@ module Sentdm
|
|
|
52
57
|
|
|
53
58
|
def id=: (String) -> String
|
|
54
59
|
|
|
60
|
+
attr_reader channels: Sentdm::Models::MeRetrieveResponse::Data::Channels?
|
|
61
|
+
|
|
62
|
+
def channels=: (
|
|
63
|
+
Sentdm::Models::MeRetrieveResponse::Data::Channels
|
|
64
|
+
) -> Sentdm::Models::MeRetrieveResponse::Data::Channels
|
|
65
|
+
|
|
55
66
|
attr_reader created_at: Time?
|
|
56
67
|
|
|
57
68
|
def created_at=: (Time) -> Time
|
|
58
69
|
|
|
59
70
|
attr_accessor description: String?
|
|
60
71
|
|
|
72
|
+
attr_accessor email: String?
|
|
73
|
+
|
|
61
74
|
attr_accessor icon: String?
|
|
62
75
|
|
|
63
76
|
attr_reader name: String?
|
|
64
77
|
|
|
65
78
|
def name=: (String) -> String
|
|
66
79
|
|
|
67
|
-
attr_accessor
|
|
80
|
+
attr_accessor organization_id: String?
|
|
81
|
+
|
|
82
|
+
attr_reader profiles: ::Array[Sentdm::Models::MeRetrieveResponse::Data::Profile]?
|
|
83
|
+
|
|
84
|
+
def profiles=: (
|
|
85
|
+
::Array[Sentdm::Models::MeRetrieveResponse::Data::Profile]
|
|
86
|
+
) -> ::Array[Sentdm::Models::MeRetrieveResponse::Data::Profile]
|
|
68
87
|
|
|
69
88
|
attr_accessor settings: Sentdm::ProfileSettings?
|
|
70
89
|
|
|
90
|
+
attr_accessor short_name: String?
|
|
91
|
+
|
|
71
92
|
attr_accessor status: String?
|
|
72
93
|
|
|
94
|
+
attr_reader type: String?
|
|
95
|
+
|
|
96
|
+
def type=: (String) -> String
|
|
97
|
+
|
|
73
98
|
def initialize: (
|
|
74
99
|
?id: String,
|
|
100
|
+
?channels: Sentdm::Models::MeRetrieveResponse::Data::Channels,
|
|
75
101
|
?created_at: Time,
|
|
76
102
|
?description: String?,
|
|
103
|
+
?email: String?,
|
|
77
104
|
?icon: String?,
|
|
78
105
|
?name: String,
|
|
79
|
-
?
|
|
106
|
+
?organization_id: String?,
|
|
107
|
+
?profiles: ::Array[Sentdm::Models::MeRetrieveResponse::Data::Profile],
|
|
80
108
|
?settings: Sentdm::ProfileSettings?,
|
|
81
|
-
?
|
|
109
|
+
?short_name: String?,
|
|
110
|
+
?status: String?,
|
|
111
|
+
?type: String
|
|
82
112
|
) -> void
|
|
83
113
|
|
|
84
114
|
def to_hash: -> {
|
|
85
115
|
id: String,
|
|
116
|
+
channels: Sentdm::Models::MeRetrieveResponse::Data::Channels,
|
|
86
117
|
created_at: Time,
|
|
87
118
|
description: String?,
|
|
119
|
+
email: String?,
|
|
88
120
|
icon: String?,
|
|
89
121
|
name: String,
|
|
90
|
-
|
|
122
|
+
organization_id: String?,
|
|
123
|
+
profiles: ::Array[Sentdm::Models::MeRetrieveResponse::Data::Profile],
|
|
91
124
|
settings: Sentdm::ProfileSettings?,
|
|
92
|
-
|
|
125
|
+
short_name: String?,
|
|
126
|
+
status: String?,
|
|
127
|
+
type: String
|
|
93
128
|
}
|
|
94
129
|
|
|
130
|
+
type channels =
|
|
131
|
+
{
|
|
132
|
+
rcs: Sentdm::Models::MeRetrieveResponse::Data::Channels::Rcs,
|
|
133
|
+
sms: Sentdm::Models::MeRetrieveResponse::Data::Channels::SMS,
|
|
134
|
+
whatsapp: Sentdm::Models::MeRetrieveResponse::Data::Channels::Whatsapp
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
class Channels < Sentdm::Internal::Type::BaseModel
|
|
138
|
+
attr_reader rcs: Sentdm::Models::MeRetrieveResponse::Data::Channels::Rcs?
|
|
139
|
+
|
|
140
|
+
def rcs=: (
|
|
141
|
+
Sentdm::Models::MeRetrieveResponse::Data::Channels::Rcs
|
|
142
|
+
) -> Sentdm::Models::MeRetrieveResponse::Data::Channels::Rcs
|
|
143
|
+
|
|
144
|
+
attr_reader sms: Sentdm::Models::MeRetrieveResponse::Data::Channels::SMS?
|
|
145
|
+
|
|
146
|
+
def sms=: (
|
|
147
|
+
Sentdm::Models::MeRetrieveResponse::Data::Channels::SMS
|
|
148
|
+
) -> Sentdm::Models::MeRetrieveResponse::Data::Channels::SMS
|
|
149
|
+
|
|
150
|
+
attr_reader whatsapp: Sentdm::Models::MeRetrieveResponse::Data::Channels::Whatsapp?
|
|
151
|
+
|
|
152
|
+
def whatsapp=: (
|
|
153
|
+
Sentdm::Models::MeRetrieveResponse::Data::Channels::Whatsapp
|
|
154
|
+
) -> Sentdm::Models::MeRetrieveResponse::Data::Channels::Whatsapp
|
|
155
|
+
|
|
156
|
+
def initialize: (
|
|
157
|
+
?rcs: Sentdm::Models::MeRetrieveResponse::Data::Channels::Rcs,
|
|
158
|
+
?sms: Sentdm::Models::MeRetrieveResponse::Data::Channels::SMS,
|
|
159
|
+
?whatsapp: Sentdm::Models::MeRetrieveResponse::Data::Channels::Whatsapp
|
|
160
|
+
) -> void
|
|
161
|
+
|
|
162
|
+
def to_hash: -> {
|
|
163
|
+
rcs: Sentdm::Models::MeRetrieveResponse::Data::Channels::Rcs,
|
|
164
|
+
sms: Sentdm::Models::MeRetrieveResponse::Data::Channels::SMS,
|
|
165
|
+
whatsapp: Sentdm::Models::MeRetrieveResponse::Data::Channels::Whatsapp
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
type rcs = { configured: bool, phone_number: String? }
|
|
169
|
+
|
|
170
|
+
class Rcs < Sentdm::Internal::Type::BaseModel
|
|
171
|
+
attr_reader configured: bool?
|
|
172
|
+
|
|
173
|
+
def configured=: (bool) -> bool
|
|
174
|
+
|
|
175
|
+
attr_accessor phone_number: String?
|
|
176
|
+
|
|
177
|
+
def initialize: (?configured: bool, ?phone_number: String?) -> void
|
|
178
|
+
|
|
179
|
+
def to_hash: -> { configured: bool, phone_number: String? }
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
type sms = { configured: bool, phone_number: String? }
|
|
183
|
+
|
|
184
|
+
class SMS < Sentdm::Internal::Type::BaseModel
|
|
185
|
+
attr_reader configured: bool?
|
|
186
|
+
|
|
187
|
+
def configured=: (bool) -> bool
|
|
188
|
+
|
|
189
|
+
attr_accessor phone_number: String?
|
|
190
|
+
|
|
191
|
+
def initialize: (?configured: bool, ?phone_number: String?) -> void
|
|
192
|
+
|
|
193
|
+
def to_hash: -> { configured: bool, phone_number: String? }
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
type whatsapp =
|
|
197
|
+
{ business_name: String?, configured: bool, phone_number: String? }
|
|
198
|
+
|
|
199
|
+
class Whatsapp < Sentdm::Internal::Type::BaseModel
|
|
200
|
+
attr_accessor business_name: String?
|
|
201
|
+
|
|
202
|
+
attr_reader configured: bool?
|
|
203
|
+
|
|
204
|
+
def configured=: (bool) -> bool
|
|
205
|
+
|
|
206
|
+
attr_accessor phone_number: String?
|
|
207
|
+
|
|
208
|
+
def initialize: (
|
|
209
|
+
?business_name: String?,
|
|
210
|
+
?configured: bool,
|
|
211
|
+
?phone_number: String?
|
|
212
|
+
) -> void
|
|
213
|
+
|
|
214
|
+
def to_hash: -> {
|
|
215
|
+
business_name: String?,
|
|
216
|
+
configured: bool,
|
|
217
|
+
phone_number: String?
|
|
218
|
+
}
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
|
|
95
222
|
type profile =
|
|
96
223
|
{
|
|
97
224
|
id: String,
|