sentdm 0.18.0 → 0.19.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 +13 -0
- data/README.md +1 -31
- data/lib/sentdm/internal/transport/base_client.rb +2 -0
- data/lib/sentdm/internal/type/base_model.rb +5 -5
- data/lib/sentdm/internal/type/enum.rb +0 -25
- data/lib/sentdm/models/contact_create_response.rb +236 -0
- data/lib/sentdm/models/contact_delete_params.rb +16 -2
- data/lib/sentdm/models/contact_list_response.rb +278 -12
- data/lib/sentdm/models/contact_retrieve_response.rb +236 -0
- data/lib/sentdm/models/contact_update_params.rb +4 -16
- data/lib/sentdm/models/contact_update_response.rb +236 -0
- data/lib/sentdm/models/me_retrieve_response.rb +204 -12
- data/lib/sentdm/models/message_retrieve_activities_response.rb +74 -6
- data/lib/sentdm/models/message_retrieve_status_response.rb +87 -7
- data/lib/sentdm/models/message_send_params.rb +2 -2
- data/lib/sentdm/models/message_send_response.rb +74 -6
- data/lib/sentdm/models/number_lookup_response.rb +74 -6
- data/lib/sentdm/models/profile_complete_response.rb +74 -6
- data/lib/sentdm/models/profile_create_params.rb +423 -9
- data/lib/sentdm/models/profile_create_response.rb +781 -0
- data/lib/sentdm/models/profile_delete_params.rb +16 -2
- data/lib/sentdm/models/profile_list_response.rb +753 -9
- data/lib/sentdm/models/profile_retrieve_response.rb +783 -0
- data/lib/sentdm/models/profile_update_params.rb +423 -9
- data/lib/sentdm/models/profile_update_response.rb +781 -0
- data/lib/sentdm/models/profiles/campaign_create_params.rb +165 -3
- data/lib/sentdm/models/profiles/campaign_create_response.rb +459 -0
- data/lib/sentdm/models/profiles/campaign_delete_params.rb +17 -2
- data/lib/sentdm/models/profiles/campaign_list_response.rb +420 -9
- data/lib/sentdm/models/profiles/campaign_update_params.rb +165 -3
- data/lib/sentdm/models/profiles/campaign_update_response.rb +459 -0
- data/lib/sentdm/models/template_create_params.rb +889 -3
- data/lib/sentdm/models/template_create_response.rb +197 -0
- data/lib/sentdm/models/template_list_response.rb +242 -12
- data/lib/sentdm/models/template_retrieve_response.rb +197 -0
- data/lib/sentdm/models/template_update_params.rb +889 -3
- data/lib/sentdm/models/template_update_response.rb +197 -0
- data/lib/sentdm/models/user_invite_response.rb +189 -0
- data/lib/sentdm/models/user_list_response.rb +154 -9
- data/lib/sentdm/models/user_remove_params.rb +16 -2
- data/lib/sentdm/models/user_retrieve_response.rb +189 -0
- data/lib/sentdm/models/user_update_role_response.rb +189 -0
- data/lib/sentdm/models/webhook_create_response.rb +204 -0
- data/lib/sentdm/models/webhook_list_event_types_response.rb +118 -9
- data/lib/sentdm/models/webhook_list_events_response.rb +153 -9
- data/lib/sentdm/models/webhook_list_response.rb +247 -12
- data/lib/sentdm/models/webhook_retrieve_response.rb +204 -0
- data/lib/sentdm/models/webhook_rotate_secret_params.rb +17 -2
- data/lib/sentdm/models/webhook_rotate_secret_response.rb +74 -6
- data/lib/sentdm/models/webhook_test_response.rb +74 -6
- data/lib/sentdm/models/webhook_toggle_status_response.rb +204 -0
- data/lib/sentdm/models/webhook_update_response.rb +204 -0
- data/lib/sentdm/models.rb +0 -77
- data/lib/sentdm/resources/contacts.rb +8 -10
- 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 +18 -40
- data/rbi/sentdm/models/contact_create_response.rbi +390 -0
- data/rbi/sentdm/models/contact_delete_params.rbi +19 -2
- data/rbi/sentdm/models/contact_list_response.rbi +505 -16
- data/rbi/sentdm/models/contact_retrieve_response.rbi +392 -0
- data/rbi/sentdm/models/contact_update_params.rbi +4 -20
- data/rbi/sentdm/models/contact_update_response.rbi +390 -0
- data/rbi/sentdm/models/me_retrieve_response.rbi +335 -16
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +154 -8
- data/rbi/sentdm/models/message_retrieve_status_response.rbi +171 -11
- data/rbi/sentdm/models/message_send_params.rbi +4 -4
- data/rbi/sentdm/models/message_send_response.rbi +135 -8
- data/rbi/sentdm/models/number_lookup_response.rbi +135 -8
- data/rbi/sentdm/models/profile_complete_response.rbi +137 -8
- data/rbi/sentdm/models/profile_create_params.rbi +810 -12
- data/rbi/sentdm/models/profile_create_response.rbi +1439 -0
- data/rbi/sentdm/models/profile_delete_params.rbi +19 -2
- data/rbi/sentdm/models/profile_list_response.rbi +1400 -14
- data/rbi/sentdm/models/profile_retrieve_response.rbi +1443 -0
- data/rbi/sentdm/models/profile_update_params.rbi +810 -12
- data/rbi/sentdm/models/profile_update_response.rbi +1439 -0
- data/rbi/sentdm/models/profiles/campaign_create_params.rbi +289 -4
- data/rbi/sentdm/models/profiles/campaign_create_response.rbi +814 -0
- data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +14 -1
- data/rbi/sentdm/models/profiles/campaign_list_response.rbi +733 -11
- data/rbi/sentdm/models/profiles/campaign_update_params.rbi +289 -4
- data/rbi/sentdm/models/profiles/campaign_update_response.rbi +814 -0
- data/rbi/sentdm/models/template_create_params.rbi +1701 -4
- data/rbi/sentdm/models/template_create_response.rbi +339 -0
- data/rbi/sentdm/models/template_list_response.rbi +454 -16
- data/rbi/sentdm/models/template_retrieve_response.rbi +345 -0
- data/rbi/sentdm/models/template_update_params.rbi +1701 -4
- data/rbi/sentdm/models/template_update_response.rbi +339 -0
- data/rbi/sentdm/models/user_invite_response.rbi +323 -0
- data/rbi/sentdm/models/user_list_response.rbi +271 -14
- data/rbi/sentdm/models/user_remove_params.rbi +19 -2
- data/rbi/sentdm/models/user_retrieve_response.rbi +323 -0
- data/rbi/sentdm/models/user_update_role_response.rbi +328 -0
- data/rbi/sentdm/models/webhook_create_response.rbi +348 -0
- data/rbi/sentdm/models/webhook_list_event_types_response.rbi +247 -12
- data/rbi/sentdm/models/webhook_list_events_response.rbi +314 -12
- data/rbi/sentdm/models/webhook_list_response.rbi +462 -16
- data/rbi/sentdm/models/webhook_retrieve_response.rbi +350 -0
- data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +14 -1
- data/rbi/sentdm/models/webhook_rotate_secret_response.rbi +148 -8
- data/rbi/sentdm/models/webhook_test_response.rbi +135 -8
- data/rbi/sentdm/models/webhook_toggle_status_response.rbi +366 -0
- data/rbi/sentdm/models/webhook_update_response.rbi +348 -0
- data/rbi/sentdm/models.rbi +0 -77
- data/rbi/sentdm/resources/contacts.rbi +5 -12
- data/rbi/sentdm/resources/messages.rbi +2 -2
- data/rbi/sentdm/resources/profiles/campaigns.rbi +4 -4
- data/rbi/sentdm/resources/profiles.rbi +13 -9
- data/rbi/sentdm/resources/templates.rbi +6 -5
- data/rbi/sentdm/resources/users.rbi +3 -3
- data/rbi/sentdm/resources/webhooks.rbi +4 -4
- data/sig/sentdm/models/contact_create_response.rbs +209 -0
- data/sig/sentdm/models/contact_delete_params.rbs +10 -6
- data/sig/sentdm/models/contact_list_response.rbs +256 -20
- data/sig/sentdm/models/contact_retrieve_response.rbs +209 -0
- data/sig/sentdm/models/contact_update_params.rbs +0 -5
- data/sig/sentdm/models/contact_update_response.rbs +209 -0
- data/sig/sentdm/models/me_retrieve_response.rbs +176 -18
- data/sig/sentdm/models/message_retrieve_activities_response.rbs +71 -9
- data/sig/sentdm/models/message_retrieve_status_response.rbs +95 -13
- data/sig/sentdm/models/message_send_response.rbs +71 -9
- data/sig/sentdm/models/number_lookup_response.rbs +71 -9
- data/sig/sentdm/models/profile_complete_response.rbs +71 -9
- data/sig/sentdm/models/profile_create_params.rbs +363 -12
- data/sig/sentdm/models/profile_create_response.rbs +662 -0
- data/sig/sentdm/models/profile_delete_params.rbs +10 -6
- data/sig/sentdm/models/profile_list_response.rbs +645 -15
- data/sig/sentdm/models/profile_retrieve_response.rbs +662 -0
- data/sig/sentdm/models/profile_update_params.rbs +363 -12
- data/sig/sentdm/models/profile_update_response.rbs +662 -0
- data/sig/sentdm/models/profiles/campaign_create_params.rbs +138 -4
- data/sig/sentdm/models/profiles/campaign_create_response.rbs +424 -0
- data/sig/sentdm/models/profiles/campaign_delete_params.rbs +15 -8
- data/sig/sentdm/models/profiles/campaign_list_response.rbs +396 -13
- data/sig/sentdm/models/profiles/campaign_update_params.rbs +138 -4
- data/sig/sentdm/models/profiles/campaign_update_response.rbs +424 -0
- data/sig/sentdm/models/template_create_params.rbs +853 -6
- data/sig/sentdm/models/template_create_response.rbs +177 -0
- data/sig/sentdm/models/template_list_response.rbs +225 -19
- data/sig/sentdm/models/template_retrieve_response.rbs +177 -0
- data/sig/sentdm/models/template_update_params.rbs +851 -4
- data/sig/sentdm/models/template_update_response.rbs +177 -0
- data/sig/sentdm/models/user_invite_response.rbs +170 -0
- data/sig/sentdm/models/user_list_response.rbs +151 -15
- data/sig/sentdm/models/user_remove_params.rbs +10 -6
- data/sig/sentdm/models/user_retrieve_response.rbs +170 -0
- data/sig/sentdm/models/user_update_role_response.rbs +170 -0
- data/sig/sentdm/models/webhook_create_response.rbs +201 -0
- data/sig/sentdm/models/webhook_list_event_types_response.rbs +130 -15
- data/sig/sentdm/models/webhook_list_events_response.rbs +142 -14
- data/sig/sentdm/models/webhook_list_response.rbs +248 -20
- data/sig/sentdm/models/webhook_retrieve_response.rbs +201 -0
- data/sig/sentdm/models/webhook_rotate_secret_params.rbs +17 -8
- data/sig/sentdm/models/webhook_rotate_secret_response.rbs +71 -9
- data/sig/sentdm/models/webhook_test_response.rbs +71 -9
- data/sig/sentdm/models/webhook_toggle_status_response.rbs +201 -0
- data/sig/sentdm/models/webhook_update_response.rbs +201 -0
- data/sig/sentdm/models.rbs +0 -68
- data/sig/sentdm/resources/contacts.rbs +3 -4
- 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 +56 -122
- data/lib/sentdm/models/api_meta.rb +0 -34
- data/lib/sentdm/models/api_response_of_contact.rb +0 -46
- data/lib/sentdm/models/api_response_of_profile_detail.rb +0 -43
- data/lib/sentdm/models/api_response_of_user.rb +0 -43
- data/lib/sentdm/models/api_response_template.rb +0 -43
- data/lib/sentdm/models/api_response_webhook.rb +0 -43
- data/lib/sentdm/models/billing_contact_info.rb +0 -47
- data/lib/sentdm/models/brands_brand_data.rb +0 -38
- data/lib/sentdm/models/contact_response.rb +0 -136
- data/lib/sentdm/models/destination_country.rb +0 -21
- data/lib/sentdm/models/error_detail.rb +0 -42
- data/lib/sentdm/models/mutation_request.rb +0 -20
- data/lib/sentdm/models/pagination_meta.rb +0 -80
- data/lib/sentdm/models/payment_details.rb +0 -44
- data/lib/sentdm/models/profile_detail.rb +0 -605
- data/lib/sentdm/models/profile_settings.rb +0 -66
- data/lib/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rb +0 -45
- data/lib/sentdm/models/profiles/base_dto.rb +0 -32
- data/lib/sentdm/models/profiles/campaign_data.rb +0 -123
- data/lib/sentdm/models/profiles/messaging_use_case_us.rb +0 -28
- data/lib/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb +0 -29
- data/lib/sentdm/models/profiles/tcr_campaign_with_use_cases.rb +0 -236
- 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/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb +0 -116
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rb +0 -75
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rb +0 -58
- data/lib/sentdm/models/tcr_brand_relationship.rb +0 -18
- data/lib/sentdm/models/tcr_vertical.rb +0 -36
- data/lib/sentdm/models/template.rb +0 -90
- data/lib/sentdm/models/template_body_content.rb +0 -27
- data/lib/sentdm/models/template_definition.rb +0 -66
- data/lib/sentdm/models/template_variable.rb +0 -80
- data/lib/sentdm/models/user_response.rb +0 -82
- data/lib/sentdm/models/webhook_event_type.rb +0 -45
- data/lib/sentdm/models/webhook_response.rb +0 -95
- data/rbi/sentdm/models/api_meta.rbi +0 -55
- data/rbi/sentdm/models/api_response_of_contact.rbi +0 -74
- data/rbi/sentdm/models/api_response_of_profile_detail.rbi +0 -74
- data/rbi/sentdm/models/api_response_of_user.rbi +0 -74
- data/rbi/sentdm/models/api_response_template.rbi +0 -74
- data/rbi/sentdm/models/api_response_webhook.rbi +0 -74
- data/rbi/sentdm/models/billing_contact_info.rbi +0 -65
- data/rbi/sentdm/models/brands_brand_data.rbi +0 -104
- data/rbi/sentdm/models/contact_response.rbi +0 -195
- data/rbi/sentdm/models/destination_country.rbi +0 -32
- data/rbi/sentdm/models/error_detail.rbi +0 -66
- data/rbi/sentdm/models/mutation_request.rbi +0 -32
- data/rbi/sentdm/models/pagination_meta.rbi +0 -135
- data/rbi/sentdm/models/payment_details.rbi +0 -59
- data/rbi/sentdm/models/profile_detail.rbi +0 -874
- data/rbi/sentdm/models/profile_settings.rbi +0 -86
- data/rbi/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbi +0 -83
- data/rbi/sentdm/models/profiles/base_dto.rbi +0 -53
- data/rbi/sentdm/models/profiles/campaign_data.rbi +0 -148
- data/rbi/sentdm/models/profiles/messaging_use_case_us.rbi +0 -73
- data/rbi/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi +0 -51
- data/rbi/sentdm/models/profiles/tcr_campaign_with_use_cases.rbi +0 -410
- 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 -72
- 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 -57
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbi +0 -59
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbi +0 -180
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbi +0 -95
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbi +0 -81
- data/rbi/sentdm/models/tcr_brand_relationship.rbi +0 -30
- data/rbi/sentdm/models/tcr_vertical.rbi +0 -41
- data/rbi/sentdm/models/template.rbi +0 -129
- data/rbi/sentdm/models/template_body_content.rbi +0 -43
- data/rbi/sentdm/models/template_definition.rbi +0 -164
- data/rbi/sentdm/models/template_variable.rbi +0 -120
- data/rbi/sentdm/models/user_response.rbi +0 -118
- data/rbi/sentdm/models/webhook_event_type.rbi +0 -74
- data/rbi/sentdm/models/webhook_response.rbi +0 -140
- data/sig/sentdm/models/api_meta.rbs +0 -27
- data/sig/sentdm/models/api_response_of_contact.rbs +0 -39
- data/sig/sentdm/models/api_response_of_profile_detail.rbs +0 -39
- data/sig/sentdm/models/api_response_of_user.rbs +0 -39
- data/sig/sentdm/models/api_response_template.rbs +0 -39
- data/sig/sentdm/models/api_response_webhook.rbs +0 -39
- data/sig/sentdm/models/billing_contact_info.rbs +0 -30
- data/sig/sentdm/models/brands_brand_data.rbs +0 -30
- data/sig/sentdm/models/contact_response.rbs +0 -116
- data/sig/sentdm/models/destination_country.rbs +0 -19
- data/sig/sentdm/models/error_detail.rbs +0 -39
- data/sig/sentdm/models/mutation_request.rbs +0 -15
- data/sig/sentdm/models/pagination_meta.rbs +0 -67
- data/sig/sentdm/models/payment_details.rbs +0 -30
- data/sig/sentdm/models/profile_detail.rbs +0 -474
- data/sig/sentdm/models/profile_settings.rbs +0 -50
- data/sig/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbs +0 -41
- data/sig/sentdm/models/profiles/base_dto.rbs +0 -27
- data/sig/sentdm/models/profiles/campaign_data.rbs +0 -82
- data/sig/sentdm/models/profiles/messaging_use_case_us.rbs +0 -40
- data/sig/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs +0 -27
- data/sig/sentdm/models/profiles/tcr_campaign_with_use_cases.rbs +0 -285
- 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 -32
- 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 -30
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbs +0 -30
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbs +0 -89
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbs +0 -55
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbs +0 -45
- data/sig/sentdm/models/tcr_brand_relationship.rbs +0 -22
- data/sig/sentdm/models/tcr_vertical.rbs +0 -58
- data/sig/sentdm/models/template.rbs +0 -79
- data/sig/sentdm/models/template_body_content.rbs +0 -30
- data/sig/sentdm/models/template_definition.rbs +0 -45
- data/sig/sentdm/models/template_variable.rbs +0 -84
- data/sig/sentdm/models/user_response.rbs +0 -72
- data/sig/sentdm/models/webhook_event_type.rbs +0 -51
- data/sig/sentdm/models/webhook_response.rbs +0 -103
|
@@ -4,7 +4,7 @@ module Sentdm
|
|
|
4
4
|
{
|
|
5
5
|
category: String?,
|
|
6
6
|
creation_source: String?,
|
|
7
|
-
definition: Sentdm::
|
|
7
|
+
definition: Sentdm::TemplateCreateParams::Definition,
|
|
8
8
|
language: String?,
|
|
9
9
|
sandbox: bool,
|
|
10
10
|
submit_for_review: bool,
|
|
@@ -21,11 +21,11 @@ module Sentdm
|
|
|
21
21
|
|
|
22
22
|
attr_accessor creation_source: String?
|
|
23
23
|
|
|
24
|
-
attr_reader definition: Sentdm::
|
|
24
|
+
attr_reader definition: Sentdm::TemplateCreateParams::Definition?
|
|
25
25
|
|
|
26
26
|
def definition=: (
|
|
27
|
-
Sentdm::
|
|
28
|
-
) -> Sentdm::
|
|
27
|
+
Sentdm::TemplateCreateParams::Definition
|
|
28
|
+
) -> Sentdm::TemplateCreateParams::Definition
|
|
29
29
|
|
|
30
30
|
attr_accessor language: String?
|
|
31
31
|
|
|
@@ -48,7 +48,7 @@ module Sentdm
|
|
|
48
48
|
def initialize: (
|
|
49
49
|
?category: String?,
|
|
50
50
|
?creation_source: String?,
|
|
51
|
-
?definition: Sentdm::
|
|
51
|
+
?definition: Sentdm::TemplateCreateParams::Definition,
|
|
52
52
|
?language: String?,
|
|
53
53
|
?sandbox: bool,
|
|
54
54
|
?submit_for_review: bool,
|
|
@@ -60,7 +60,7 @@ module Sentdm
|
|
|
60
60
|
def to_hash: -> {
|
|
61
61
|
category: String?,
|
|
62
62
|
creation_source: String?,
|
|
63
|
-
definition: Sentdm::
|
|
63
|
+
definition: Sentdm::TemplateCreateParams::Definition,
|
|
64
64
|
language: String?,
|
|
65
65
|
sandbox: bool,
|
|
66
66
|
submit_for_review: bool,
|
|
@@ -68,6 +68,853 @@ module Sentdm
|
|
|
68
68
|
x_profile_id: String,
|
|
69
69
|
request_options: Sentdm::RequestOptions
|
|
70
70
|
}
|
|
71
|
+
|
|
72
|
+
type definition =
|
|
73
|
+
{
|
|
74
|
+
body: Sentdm::TemplateCreateParams::Definition::Body,
|
|
75
|
+
authentication_config: Sentdm::TemplateCreateParams::Definition::AuthenticationConfig?,
|
|
76
|
+
buttons: ::Array[Sentdm::TemplateCreateParams::Definition::Button]?,
|
|
77
|
+
definition_version: String?,
|
|
78
|
+
footer: Sentdm::TemplateCreateParams::Definition::Footer?,
|
|
79
|
+
header: Sentdm::TemplateCreateParams::Definition::Header?
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
class Definition < Sentdm::Internal::Type::BaseModel
|
|
83
|
+
attr_accessor body: Sentdm::TemplateCreateParams::Definition::Body
|
|
84
|
+
|
|
85
|
+
attr_accessor authentication_config: Sentdm::TemplateCreateParams::Definition::AuthenticationConfig?
|
|
86
|
+
|
|
87
|
+
attr_accessor buttons: ::Array[Sentdm::TemplateCreateParams::Definition::Button]?
|
|
88
|
+
|
|
89
|
+
attr_accessor definition_version: String?
|
|
90
|
+
|
|
91
|
+
attr_accessor footer: Sentdm::TemplateCreateParams::Definition::Footer?
|
|
92
|
+
|
|
93
|
+
attr_accessor header: Sentdm::TemplateCreateParams::Definition::Header?
|
|
94
|
+
|
|
95
|
+
def initialize: (
|
|
96
|
+
body: Sentdm::TemplateCreateParams::Definition::Body,
|
|
97
|
+
?authentication_config: Sentdm::TemplateCreateParams::Definition::AuthenticationConfig?,
|
|
98
|
+
?buttons: ::Array[Sentdm::TemplateCreateParams::Definition::Button]?,
|
|
99
|
+
?definition_version: String?,
|
|
100
|
+
?footer: Sentdm::TemplateCreateParams::Definition::Footer?,
|
|
101
|
+
?header: Sentdm::TemplateCreateParams::Definition::Header?
|
|
102
|
+
) -> void
|
|
103
|
+
|
|
104
|
+
def to_hash: -> {
|
|
105
|
+
body: Sentdm::TemplateCreateParams::Definition::Body,
|
|
106
|
+
authentication_config: Sentdm::TemplateCreateParams::Definition::AuthenticationConfig?,
|
|
107
|
+
buttons: ::Array[Sentdm::TemplateCreateParams::Definition::Button]?,
|
|
108
|
+
definition_version: String?,
|
|
109
|
+
footer: Sentdm::TemplateCreateParams::Definition::Footer?,
|
|
110
|
+
header: Sentdm::TemplateCreateParams::Definition::Header?
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
type body =
|
|
114
|
+
{
|
|
115
|
+
multi_channel: Sentdm::TemplateCreateParams::Definition::Body::MultiChannel?,
|
|
116
|
+
rcs: Sentdm::TemplateCreateParams::Definition::Body::Rcs?,
|
|
117
|
+
sms: Sentdm::TemplateCreateParams::Definition::Body::SMS?,
|
|
118
|
+
whatsapp: Sentdm::TemplateCreateParams::Definition::Body::Whatsapp?
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
class Body < Sentdm::Internal::Type::BaseModel
|
|
122
|
+
attr_accessor multi_channel: Sentdm::TemplateCreateParams::Definition::Body::MultiChannel?
|
|
123
|
+
|
|
124
|
+
attr_accessor rcs: Sentdm::TemplateCreateParams::Definition::Body::Rcs?
|
|
125
|
+
|
|
126
|
+
attr_accessor sms: Sentdm::TemplateCreateParams::Definition::Body::SMS?
|
|
127
|
+
|
|
128
|
+
attr_accessor whatsapp: Sentdm::TemplateCreateParams::Definition::Body::Whatsapp?
|
|
129
|
+
|
|
130
|
+
def initialize: (
|
|
131
|
+
?multi_channel: Sentdm::TemplateCreateParams::Definition::Body::MultiChannel?,
|
|
132
|
+
?rcs: Sentdm::TemplateCreateParams::Definition::Body::Rcs?,
|
|
133
|
+
?sms: Sentdm::TemplateCreateParams::Definition::Body::SMS?,
|
|
134
|
+
?whatsapp: Sentdm::TemplateCreateParams::Definition::Body::Whatsapp?
|
|
135
|
+
) -> void
|
|
136
|
+
|
|
137
|
+
def to_hash: -> {
|
|
138
|
+
multi_channel: Sentdm::TemplateCreateParams::Definition::Body::MultiChannel?,
|
|
139
|
+
rcs: Sentdm::TemplateCreateParams::Definition::Body::Rcs?,
|
|
140
|
+
sms: Sentdm::TemplateCreateParams::Definition::Body::SMS?,
|
|
141
|
+
whatsapp: Sentdm::TemplateCreateParams::Definition::Body::Whatsapp?
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
type multi_channel =
|
|
145
|
+
{
|
|
146
|
+
template: String,
|
|
147
|
+
type: String?,
|
|
148
|
+
variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::MultiChannel::Variable]?
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
class MultiChannel < Sentdm::Internal::Type::BaseModel
|
|
152
|
+
attr_accessor template: String
|
|
153
|
+
|
|
154
|
+
attr_accessor type: String?
|
|
155
|
+
|
|
156
|
+
attr_accessor variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::MultiChannel::Variable]?
|
|
157
|
+
|
|
158
|
+
def initialize: (
|
|
159
|
+
template: String,
|
|
160
|
+
?type: String?,
|
|
161
|
+
?variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::MultiChannel::Variable]?
|
|
162
|
+
) -> void
|
|
163
|
+
|
|
164
|
+
def to_hash: -> {
|
|
165
|
+
template: String,
|
|
166
|
+
type: String?,
|
|
167
|
+
variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::MultiChannel::Variable]?
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
type variable =
|
|
171
|
+
{
|
|
172
|
+
name: String,
|
|
173
|
+
props: Sentdm::TemplateCreateParams::Definition::Body::MultiChannel::Variable::Props,
|
|
174
|
+
type: String,
|
|
175
|
+
id: Integer
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
class Variable < Sentdm::Internal::Type::BaseModel
|
|
179
|
+
attr_accessor name: String
|
|
180
|
+
|
|
181
|
+
attr_accessor props: Sentdm::TemplateCreateParams::Definition::Body::MultiChannel::Variable::Props
|
|
182
|
+
|
|
183
|
+
attr_accessor type: String
|
|
184
|
+
|
|
185
|
+
attr_reader id: Integer?
|
|
186
|
+
|
|
187
|
+
def id=: (Integer) -> Integer
|
|
188
|
+
|
|
189
|
+
def initialize: (
|
|
190
|
+
name: String,
|
|
191
|
+
props: Sentdm::TemplateCreateParams::Definition::Body::MultiChannel::Variable::Props,
|
|
192
|
+
type: String,
|
|
193
|
+
?id: Integer
|
|
194
|
+
) -> void
|
|
195
|
+
|
|
196
|
+
def to_hash: -> {
|
|
197
|
+
name: String,
|
|
198
|
+
props: Sentdm::TemplateCreateParams::Definition::Body::MultiChannel::Variable::Props,
|
|
199
|
+
type: String,
|
|
200
|
+
id: Integer
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
type props =
|
|
204
|
+
{
|
|
205
|
+
media_type: String,
|
|
206
|
+
sample: String,
|
|
207
|
+
url: String,
|
|
208
|
+
variable_type: String,
|
|
209
|
+
alt: String?,
|
|
210
|
+
regex: String?,
|
|
211
|
+
short_url: String?
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
class Props < Sentdm::Internal::Type::BaseModel
|
|
215
|
+
attr_accessor media_type: String
|
|
216
|
+
|
|
217
|
+
attr_accessor sample: String
|
|
218
|
+
|
|
219
|
+
attr_accessor url: String
|
|
220
|
+
|
|
221
|
+
attr_accessor variable_type: String
|
|
222
|
+
|
|
223
|
+
attr_accessor alt: String?
|
|
224
|
+
|
|
225
|
+
attr_accessor regex: String?
|
|
226
|
+
|
|
227
|
+
attr_accessor short_url: String?
|
|
228
|
+
|
|
229
|
+
def initialize: (
|
|
230
|
+
media_type: String,
|
|
231
|
+
sample: String,
|
|
232
|
+
url: String,
|
|
233
|
+
variable_type: String,
|
|
234
|
+
?alt: String?,
|
|
235
|
+
?regex: String?,
|
|
236
|
+
?short_url: String?
|
|
237
|
+
) -> void
|
|
238
|
+
|
|
239
|
+
def to_hash: -> {
|
|
240
|
+
media_type: String,
|
|
241
|
+
sample: String,
|
|
242
|
+
url: String,
|
|
243
|
+
variable_type: String,
|
|
244
|
+
alt: String?,
|
|
245
|
+
regex: String?,
|
|
246
|
+
short_url: String?
|
|
247
|
+
}
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
type rcs =
|
|
253
|
+
{
|
|
254
|
+
template: String,
|
|
255
|
+
type: String?,
|
|
256
|
+
variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::Rcs::Variable]?
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
class Rcs < Sentdm::Internal::Type::BaseModel
|
|
260
|
+
attr_accessor template: String
|
|
261
|
+
|
|
262
|
+
attr_accessor type: String?
|
|
263
|
+
|
|
264
|
+
attr_accessor variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::Rcs::Variable]?
|
|
265
|
+
|
|
266
|
+
def initialize: (
|
|
267
|
+
template: String,
|
|
268
|
+
?type: String?,
|
|
269
|
+
?variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::Rcs::Variable]?
|
|
270
|
+
) -> void
|
|
271
|
+
|
|
272
|
+
def to_hash: -> {
|
|
273
|
+
template: String,
|
|
274
|
+
type: String?,
|
|
275
|
+
variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::Rcs::Variable]?
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
type variable =
|
|
279
|
+
{
|
|
280
|
+
name: String,
|
|
281
|
+
props: Sentdm::TemplateCreateParams::Definition::Body::Rcs::Variable::Props,
|
|
282
|
+
type: String,
|
|
283
|
+
id: Integer
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
class Variable < Sentdm::Internal::Type::BaseModel
|
|
287
|
+
attr_accessor name: String
|
|
288
|
+
|
|
289
|
+
attr_accessor props: Sentdm::TemplateCreateParams::Definition::Body::Rcs::Variable::Props
|
|
290
|
+
|
|
291
|
+
attr_accessor type: String
|
|
292
|
+
|
|
293
|
+
attr_reader id: Integer?
|
|
294
|
+
|
|
295
|
+
def id=: (Integer) -> Integer
|
|
296
|
+
|
|
297
|
+
def initialize: (
|
|
298
|
+
name: String,
|
|
299
|
+
props: Sentdm::TemplateCreateParams::Definition::Body::Rcs::Variable::Props,
|
|
300
|
+
type: String,
|
|
301
|
+
?id: Integer
|
|
302
|
+
) -> void
|
|
303
|
+
|
|
304
|
+
def to_hash: -> {
|
|
305
|
+
name: String,
|
|
306
|
+
props: Sentdm::TemplateCreateParams::Definition::Body::Rcs::Variable::Props,
|
|
307
|
+
type: String,
|
|
308
|
+
id: Integer
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
type props =
|
|
312
|
+
{
|
|
313
|
+
media_type: String,
|
|
314
|
+
sample: String,
|
|
315
|
+
url: String,
|
|
316
|
+
variable_type: String,
|
|
317
|
+
alt: String?,
|
|
318
|
+
regex: String?,
|
|
319
|
+
short_url: String?
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
class Props < Sentdm::Internal::Type::BaseModel
|
|
323
|
+
attr_accessor media_type: String
|
|
324
|
+
|
|
325
|
+
attr_accessor sample: String
|
|
326
|
+
|
|
327
|
+
attr_accessor url: String
|
|
328
|
+
|
|
329
|
+
attr_accessor variable_type: String
|
|
330
|
+
|
|
331
|
+
attr_accessor alt: String?
|
|
332
|
+
|
|
333
|
+
attr_accessor regex: String?
|
|
334
|
+
|
|
335
|
+
attr_accessor short_url: String?
|
|
336
|
+
|
|
337
|
+
def initialize: (
|
|
338
|
+
media_type: String,
|
|
339
|
+
sample: String,
|
|
340
|
+
url: String,
|
|
341
|
+
variable_type: String,
|
|
342
|
+
?alt: String?,
|
|
343
|
+
?regex: String?,
|
|
344
|
+
?short_url: String?
|
|
345
|
+
) -> void
|
|
346
|
+
|
|
347
|
+
def to_hash: -> {
|
|
348
|
+
media_type: String,
|
|
349
|
+
sample: String,
|
|
350
|
+
url: String,
|
|
351
|
+
variable_type: String,
|
|
352
|
+
alt: String?,
|
|
353
|
+
regex: String?,
|
|
354
|
+
short_url: String?
|
|
355
|
+
}
|
|
356
|
+
end
|
|
357
|
+
end
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
type sms =
|
|
361
|
+
{
|
|
362
|
+
template: String,
|
|
363
|
+
type: String?,
|
|
364
|
+
variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::SMS::Variable]?
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
class SMS < Sentdm::Internal::Type::BaseModel
|
|
368
|
+
attr_accessor template: String
|
|
369
|
+
|
|
370
|
+
attr_accessor type: String?
|
|
371
|
+
|
|
372
|
+
attr_accessor variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::SMS::Variable]?
|
|
373
|
+
|
|
374
|
+
def initialize: (
|
|
375
|
+
template: String,
|
|
376
|
+
?type: String?,
|
|
377
|
+
?variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::SMS::Variable]?
|
|
378
|
+
) -> void
|
|
379
|
+
|
|
380
|
+
def to_hash: -> {
|
|
381
|
+
template: String,
|
|
382
|
+
type: String?,
|
|
383
|
+
variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::SMS::Variable]?
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
type variable =
|
|
387
|
+
{
|
|
388
|
+
name: String,
|
|
389
|
+
props: Sentdm::TemplateCreateParams::Definition::Body::SMS::Variable::Props,
|
|
390
|
+
type: String,
|
|
391
|
+
id: Integer
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
class Variable < Sentdm::Internal::Type::BaseModel
|
|
395
|
+
attr_accessor name: String
|
|
396
|
+
|
|
397
|
+
attr_accessor props: Sentdm::TemplateCreateParams::Definition::Body::SMS::Variable::Props
|
|
398
|
+
|
|
399
|
+
attr_accessor type: String
|
|
400
|
+
|
|
401
|
+
attr_reader id: Integer?
|
|
402
|
+
|
|
403
|
+
def id=: (Integer) -> Integer
|
|
404
|
+
|
|
405
|
+
def initialize: (
|
|
406
|
+
name: String,
|
|
407
|
+
props: Sentdm::TemplateCreateParams::Definition::Body::SMS::Variable::Props,
|
|
408
|
+
type: String,
|
|
409
|
+
?id: Integer
|
|
410
|
+
) -> void
|
|
411
|
+
|
|
412
|
+
def to_hash: -> {
|
|
413
|
+
name: String,
|
|
414
|
+
props: Sentdm::TemplateCreateParams::Definition::Body::SMS::Variable::Props,
|
|
415
|
+
type: String,
|
|
416
|
+
id: Integer
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
type props =
|
|
420
|
+
{
|
|
421
|
+
media_type: String,
|
|
422
|
+
sample: String,
|
|
423
|
+
url: String,
|
|
424
|
+
variable_type: String,
|
|
425
|
+
alt: String?,
|
|
426
|
+
regex: String?,
|
|
427
|
+
short_url: String?
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
class Props < Sentdm::Internal::Type::BaseModel
|
|
431
|
+
attr_accessor media_type: String
|
|
432
|
+
|
|
433
|
+
attr_accessor sample: String
|
|
434
|
+
|
|
435
|
+
attr_accessor url: String
|
|
436
|
+
|
|
437
|
+
attr_accessor variable_type: String
|
|
438
|
+
|
|
439
|
+
attr_accessor alt: String?
|
|
440
|
+
|
|
441
|
+
attr_accessor regex: String?
|
|
442
|
+
|
|
443
|
+
attr_accessor short_url: String?
|
|
444
|
+
|
|
445
|
+
def initialize: (
|
|
446
|
+
media_type: String,
|
|
447
|
+
sample: String,
|
|
448
|
+
url: String,
|
|
449
|
+
variable_type: String,
|
|
450
|
+
?alt: String?,
|
|
451
|
+
?regex: String?,
|
|
452
|
+
?short_url: String?
|
|
453
|
+
) -> void
|
|
454
|
+
|
|
455
|
+
def to_hash: -> {
|
|
456
|
+
media_type: String,
|
|
457
|
+
sample: String,
|
|
458
|
+
url: String,
|
|
459
|
+
variable_type: String,
|
|
460
|
+
alt: String?,
|
|
461
|
+
regex: String?,
|
|
462
|
+
short_url: String?
|
|
463
|
+
}
|
|
464
|
+
end
|
|
465
|
+
end
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
type whatsapp =
|
|
469
|
+
{
|
|
470
|
+
template: String,
|
|
471
|
+
type: String?,
|
|
472
|
+
variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::Whatsapp::Variable]?
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
class Whatsapp < Sentdm::Internal::Type::BaseModel
|
|
476
|
+
attr_accessor template: String
|
|
477
|
+
|
|
478
|
+
attr_accessor type: String?
|
|
479
|
+
|
|
480
|
+
attr_accessor variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::Whatsapp::Variable]?
|
|
481
|
+
|
|
482
|
+
def initialize: (
|
|
483
|
+
template: String,
|
|
484
|
+
?type: String?,
|
|
485
|
+
?variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::Whatsapp::Variable]?
|
|
486
|
+
) -> void
|
|
487
|
+
|
|
488
|
+
def to_hash: -> {
|
|
489
|
+
template: String,
|
|
490
|
+
type: String?,
|
|
491
|
+
variables: ::Array[Sentdm::TemplateCreateParams::Definition::Body::Whatsapp::Variable]?
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
type variable =
|
|
495
|
+
{
|
|
496
|
+
name: String,
|
|
497
|
+
props: Sentdm::TemplateCreateParams::Definition::Body::Whatsapp::Variable::Props,
|
|
498
|
+
type: String,
|
|
499
|
+
id: Integer
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
class Variable < Sentdm::Internal::Type::BaseModel
|
|
503
|
+
attr_accessor name: String
|
|
504
|
+
|
|
505
|
+
attr_accessor props: Sentdm::TemplateCreateParams::Definition::Body::Whatsapp::Variable::Props
|
|
506
|
+
|
|
507
|
+
attr_accessor type: String
|
|
508
|
+
|
|
509
|
+
attr_reader id: Integer?
|
|
510
|
+
|
|
511
|
+
def id=: (Integer) -> Integer
|
|
512
|
+
|
|
513
|
+
def initialize: (
|
|
514
|
+
name: String,
|
|
515
|
+
props: Sentdm::TemplateCreateParams::Definition::Body::Whatsapp::Variable::Props,
|
|
516
|
+
type: String,
|
|
517
|
+
?id: Integer
|
|
518
|
+
) -> void
|
|
519
|
+
|
|
520
|
+
def to_hash: -> {
|
|
521
|
+
name: String,
|
|
522
|
+
props: Sentdm::TemplateCreateParams::Definition::Body::Whatsapp::Variable::Props,
|
|
523
|
+
type: String,
|
|
524
|
+
id: Integer
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
type props =
|
|
528
|
+
{
|
|
529
|
+
media_type: String,
|
|
530
|
+
sample: String,
|
|
531
|
+
url: String,
|
|
532
|
+
variable_type: String,
|
|
533
|
+
alt: String?,
|
|
534
|
+
regex: String?,
|
|
535
|
+
short_url: String?
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
class Props < Sentdm::Internal::Type::BaseModel
|
|
539
|
+
attr_accessor media_type: String
|
|
540
|
+
|
|
541
|
+
attr_accessor sample: String
|
|
542
|
+
|
|
543
|
+
attr_accessor url: String
|
|
544
|
+
|
|
545
|
+
attr_accessor variable_type: String
|
|
546
|
+
|
|
547
|
+
attr_accessor alt: String?
|
|
548
|
+
|
|
549
|
+
attr_accessor regex: String?
|
|
550
|
+
|
|
551
|
+
attr_accessor short_url: String?
|
|
552
|
+
|
|
553
|
+
def initialize: (
|
|
554
|
+
media_type: String,
|
|
555
|
+
sample: String,
|
|
556
|
+
url: String,
|
|
557
|
+
variable_type: String,
|
|
558
|
+
?alt: String?,
|
|
559
|
+
?regex: String?,
|
|
560
|
+
?short_url: String?
|
|
561
|
+
) -> void
|
|
562
|
+
|
|
563
|
+
def to_hash: -> {
|
|
564
|
+
media_type: String,
|
|
565
|
+
sample: String,
|
|
566
|
+
url: String,
|
|
567
|
+
variable_type: String,
|
|
568
|
+
alt: String?,
|
|
569
|
+
regex: String?,
|
|
570
|
+
short_url: String?
|
|
571
|
+
}
|
|
572
|
+
end
|
|
573
|
+
end
|
|
574
|
+
end
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
type authentication_config =
|
|
578
|
+
{
|
|
579
|
+
add_security_recommendation: bool,
|
|
580
|
+
code_expiration_minutes: Integer?
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
class AuthenticationConfig < Sentdm::Internal::Type::BaseModel
|
|
584
|
+
attr_reader add_security_recommendation: bool?
|
|
585
|
+
|
|
586
|
+
def add_security_recommendation=: (bool) -> bool
|
|
587
|
+
|
|
588
|
+
attr_accessor code_expiration_minutes: Integer?
|
|
589
|
+
|
|
590
|
+
def initialize: (
|
|
591
|
+
?add_security_recommendation: bool,
|
|
592
|
+
?code_expiration_minutes: Integer?
|
|
593
|
+
) -> void
|
|
594
|
+
|
|
595
|
+
def to_hash: -> {
|
|
596
|
+
add_security_recommendation: bool,
|
|
597
|
+
code_expiration_minutes: Integer?
|
|
598
|
+
}
|
|
599
|
+
end
|
|
600
|
+
|
|
601
|
+
type button =
|
|
602
|
+
{
|
|
603
|
+
props: Sentdm::TemplateCreateParams::Definition::Button::Props,
|
|
604
|
+
type: String,
|
|
605
|
+
id: Integer
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
class Button < Sentdm::Internal::Type::BaseModel
|
|
609
|
+
attr_accessor props: Sentdm::TemplateCreateParams::Definition::Button::Props
|
|
610
|
+
|
|
611
|
+
attr_accessor type: String
|
|
612
|
+
|
|
613
|
+
attr_reader id: Integer?
|
|
614
|
+
|
|
615
|
+
def id=: (Integer) -> Integer
|
|
616
|
+
|
|
617
|
+
def initialize: (
|
|
618
|
+
props: Sentdm::TemplateCreateParams::Definition::Button::Props,
|
|
619
|
+
type: String,
|
|
620
|
+
?id: Integer
|
|
621
|
+
) -> void
|
|
622
|
+
|
|
623
|
+
def to_hash: -> {
|
|
624
|
+
props: Sentdm::TemplateCreateParams::Definition::Button::Props,
|
|
625
|
+
type: String,
|
|
626
|
+
id: Integer
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
type props =
|
|
630
|
+
{
|
|
631
|
+
active_for: Integer,
|
|
632
|
+
country_code: String,
|
|
633
|
+
offer_code: String,
|
|
634
|
+
phone_number: String,
|
|
635
|
+
quick_reply_type: String,
|
|
636
|
+
text: String,
|
|
637
|
+
url: String,
|
|
638
|
+
url_type: String,
|
|
639
|
+
autofill_text: String?,
|
|
640
|
+
otp_type: String?,
|
|
641
|
+
package_name: String?,
|
|
642
|
+
signature_hash: String?
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
class Props < Sentdm::Internal::Type::BaseModel
|
|
646
|
+
attr_accessor active_for: Integer
|
|
647
|
+
|
|
648
|
+
attr_accessor country_code: String
|
|
649
|
+
|
|
650
|
+
attr_accessor offer_code: String
|
|
651
|
+
|
|
652
|
+
attr_accessor phone_number: String
|
|
653
|
+
|
|
654
|
+
attr_accessor quick_reply_type: String
|
|
655
|
+
|
|
656
|
+
attr_accessor text: String
|
|
657
|
+
|
|
658
|
+
attr_accessor url: String
|
|
659
|
+
|
|
660
|
+
attr_accessor url_type: String
|
|
661
|
+
|
|
662
|
+
attr_accessor autofill_text: String?
|
|
663
|
+
|
|
664
|
+
attr_accessor otp_type: String?
|
|
665
|
+
|
|
666
|
+
attr_accessor package_name: String?
|
|
667
|
+
|
|
668
|
+
attr_accessor signature_hash: String?
|
|
669
|
+
|
|
670
|
+
def initialize: (
|
|
671
|
+
active_for: Integer,
|
|
672
|
+
country_code: String,
|
|
673
|
+
offer_code: String,
|
|
674
|
+
phone_number: String,
|
|
675
|
+
quick_reply_type: String,
|
|
676
|
+
text: String,
|
|
677
|
+
url: String,
|
|
678
|
+
url_type: String,
|
|
679
|
+
?autofill_text: String?,
|
|
680
|
+
?otp_type: String?,
|
|
681
|
+
?package_name: String?,
|
|
682
|
+
?signature_hash: String?
|
|
683
|
+
) -> void
|
|
684
|
+
|
|
685
|
+
def to_hash: -> {
|
|
686
|
+
active_for: Integer,
|
|
687
|
+
country_code: String,
|
|
688
|
+
offer_code: String,
|
|
689
|
+
phone_number: String,
|
|
690
|
+
quick_reply_type: String,
|
|
691
|
+
text: String,
|
|
692
|
+
url: String,
|
|
693
|
+
url_type: String,
|
|
694
|
+
autofill_text: String?,
|
|
695
|
+
otp_type: String?,
|
|
696
|
+
package_name: String?,
|
|
697
|
+
signature_hash: String?
|
|
698
|
+
}
|
|
699
|
+
end
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
type footer =
|
|
703
|
+
{
|
|
704
|
+
template: String,
|
|
705
|
+
type: String?,
|
|
706
|
+
variables: ::Array[Sentdm::TemplateCreateParams::Definition::Footer::Variable]?
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
class Footer < Sentdm::Internal::Type::BaseModel
|
|
710
|
+
attr_accessor template: String
|
|
711
|
+
|
|
712
|
+
attr_accessor type: String?
|
|
713
|
+
|
|
714
|
+
attr_accessor variables: ::Array[Sentdm::TemplateCreateParams::Definition::Footer::Variable]?
|
|
715
|
+
|
|
716
|
+
def initialize: (
|
|
717
|
+
template: String,
|
|
718
|
+
?type: String?,
|
|
719
|
+
?variables: ::Array[Sentdm::TemplateCreateParams::Definition::Footer::Variable]?
|
|
720
|
+
) -> void
|
|
721
|
+
|
|
722
|
+
def to_hash: -> {
|
|
723
|
+
template: String,
|
|
724
|
+
type: String?,
|
|
725
|
+
variables: ::Array[Sentdm::TemplateCreateParams::Definition::Footer::Variable]?
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
type variable =
|
|
729
|
+
{
|
|
730
|
+
name: String,
|
|
731
|
+
props: Sentdm::TemplateCreateParams::Definition::Footer::Variable::Props,
|
|
732
|
+
type: String,
|
|
733
|
+
id: Integer
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
class Variable < Sentdm::Internal::Type::BaseModel
|
|
737
|
+
attr_accessor name: String
|
|
738
|
+
|
|
739
|
+
attr_accessor props: Sentdm::TemplateCreateParams::Definition::Footer::Variable::Props
|
|
740
|
+
|
|
741
|
+
attr_accessor type: String
|
|
742
|
+
|
|
743
|
+
attr_reader id: Integer?
|
|
744
|
+
|
|
745
|
+
def id=: (Integer) -> Integer
|
|
746
|
+
|
|
747
|
+
def initialize: (
|
|
748
|
+
name: String,
|
|
749
|
+
props: Sentdm::TemplateCreateParams::Definition::Footer::Variable::Props,
|
|
750
|
+
type: String,
|
|
751
|
+
?id: Integer
|
|
752
|
+
) -> void
|
|
753
|
+
|
|
754
|
+
def to_hash: -> {
|
|
755
|
+
name: String,
|
|
756
|
+
props: Sentdm::TemplateCreateParams::Definition::Footer::Variable::Props,
|
|
757
|
+
type: String,
|
|
758
|
+
id: Integer
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
type props =
|
|
762
|
+
{
|
|
763
|
+
media_type: String,
|
|
764
|
+
sample: String,
|
|
765
|
+
url: String,
|
|
766
|
+
variable_type: String,
|
|
767
|
+
alt: String?,
|
|
768
|
+
regex: String?,
|
|
769
|
+
short_url: String?
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
class Props < Sentdm::Internal::Type::BaseModel
|
|
773
|
+
attr_accessor media_type: String
|
|
774
|
+
|
|
775
|
+
attr_accessor sample: String
|
|
776
|
+
|
|
777
|
+
attr_accessor url: String
|
|
778
|
+
|
|
779
|
+
attr_accessor variable_type: String
|
|
780
|
+
|
|
781
|
+
attr_accessor alt: String?
|
|
782
|
+
|
|
783
|
+
attr_accessor regex: String?
|
|
784
|
+
|
|
785
|
+
attr_accessor short_url: String?
|
|
786
|
+
|
|
787
|
+
def initialize: (
|
|
788
|
+
media_type: String,
|
|
789
|
+
sample: String,
|
|
790
|
+
url: String,
|
|
791
|
+
variable_type: String,
|
|
792
|
+
?alt: String?,
|
|
793
|
+
?regex: String?,
|
|
794
|
+
?short_url: String?
|
|
795
|
+
) -> void
|
|
796
|
+
|
|
797
|
+
def to_hash: -> {
|
|
798
|
+
media_type: String,
|
|
799
|
+
sample: String,
|
|
800
|
+
url: String,
|
|
801
|
+
variable_type: String,
|
|
802
|
+
alt: String?,
|
|
803
|
+
regex: String?,
|
|
804
|
+
short_url: String?
|
|
805
|
+
}
|
|
806
|
+
end
|
|
807
|
+
end
|
|
808
|
+
end
|
|
809
|
+
|
|
810
|
+
type header =
|
|
811
|
+
{
|
|
812
|
+
template: String,
|
|
813
|
+
type: String?,
|
|
814
|
+
variables: ::Array[Sentdm::TemplateCreateParams::Definition::Header::Variable]?
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
class Header < Sentdm::Internal::Type::BaseModel
|
|
818
|
+
attr_accessor template: String
|
|
819
|
+
|
|
820
|
+
attr_accessor type: String?
|
|
821
|
+
|
|
822
|
+
attr_accessor variables: ::Array[Sentdm::TemplateCreateParams::Definition::Header::Variable]?
|
|
823
|
+
|
|
824
|
+
def initialize: (
|
|
825
|
+
template: String,
|
|
826
|
+
?type: String?,
|
|
827
|
+
?variables: ::Array[Sentdm::TemplateCreateParams::Definition::Header::Variable]?
|
|
828
|
+
) -> void
|
|
829
|
+
|
|
830
|
+
def to_hash: -> {
|
|
831
|
+
template: String,
|
|
832
|
+
type: String?,
|
|
833
|
+
variables: ::Array[Sentdm::TemplateCreateParams::Definition::Header::Variable]?
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
type variable =
|
|
837
|
+
{
|
|
838
|
+
name: String,
|
|
839
|
+
props: Sentdm::TemplateCreateParams::Definition::Header::Variable::Props,
|
|
840
|
+
type: String,
|
|
841
|
+
id: Integer
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
class Variable < Sentdm::Internal::Type::BaseModel
|
|
845
|
+
attr_accessor name: String
|
|
846
|
+
|
|
847
|
+
attr_accessor props: Sentdm::TemplateCreateParams::Definition::Header::Variable::Props
|
|
848
|
+
|
|
849
|
+
attr_accessor type: String
|
|
850
|
+
|
|
851
|
+
attr_reader id: Integer?
|
|
852
|
+
|
|
853
|
+
def id=: (Integer) -> Integer
|
|
854
|
+
|
|
855
|
+
def initialize: (
|
|
856
|
+
name: String,
|
|
857
|
+
props: Sentdm::TemplateCreateParams::Definition::Header::Variable::Props,
|
|
858
|
+
type: String,
|
|
859
|
+
?id: Integer
|
|
860
|
+
) -> void
|
|
861
|
+
|
|
862
|
+
def to_hash: -> {
|
|
863
|
+
name: String,
|
|
864
|
+
props: Sentdm::TemplateCreateParams::Definition::Header::Variable::Props,
|
|
865
|
+
type: String,
|
|
866
|
+
id: Integer
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
type props =
|
|
870
|
+
{
|
|
871
|
+
media_type: String,
|
|
872
|
+
sample: String,
|
|
873
|
+
url: String,
|
|
874
|
+
variable_type: String,
|
|
875
|
+
alt: String?,
|
|
876
|
+
regex: String?,
|
|
877
|
+
short_url: String?
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
class Props < Sentdm::Internal::Type::BaseModel
|
|
881
|
+
attr_accessor media_type: String
|
|
882
|
+
|
|
883
|
+
attr_accessor sample: String
|
|
884
|
+
|
|
885
|
+
attr_accessor url: String
|
|
886
|
+
|
|
887
|
+
attr_accessor variable_type: String
|
|
888
|
+
|
|
889
|
+
attr_accessor alt: String?
|
|
890
|
+
|
|
891
|
+
attr_accessor regex: String?
|
|
892
|
+
|
|
893
|
+
attr_accessor short_url: String?
|
|
894
|
+
|
|
895
|
+
def initialize: (
|
|
896
|
+
media_type: String,
|
|
897
|
+
sample: String,
|
|
898
|
+
url: String,
|
|
899
|
+
variable_type: String,
|
|
900
|
+
?alt: String?,
|
|
901
|
+
?regex: String?,
|
|
902
|
+
?short_url: String?
|
|
903
|
+
) -> void
|
|
904
|
+
|
|
905
|
+
def to_hash: -> {
|
|
906
|
+
media_type: String,
|
|
907
|
+
sample: String,
|
|
908
|
+
url: String,
|
|
909
|
+
variable_type: String,
|
|
910
|
+
alt: String?,
|
|
911
|
+
regex: String?,
|
|
912
|
+
short_url: String?
|
|
913
|
+
}
|
|
914
|
+
end
|
|
915
|
+
end
|
|
916
|
+
end
|
|
917
|
+
end
|
|
71
918
|
end
|
|
72
919
|
end
|
|
73
920
|
end
|