sentdm 0.2.0 → 0.3.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 +10 -0
- data/README.md +96 -39
- data/lib/sentdm/client.rb +28 -36
- data/lib/sentdm/internal/type/base_model.rb +5 -5
- data/lib/sentdm/internal/type/enum.rb +25 -0
- data/lib/sentdm/models/api_error.rb +42 -0
- data/lib/sentdm/models/api_meta.rb +42 -0
- data/lib/sentdm/models/api_response_brand_with_kyc.rb +43 -0
- data/lib/sentdm/models/api_response_contact.rb +43 -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/brand_create_params.rb +41 -0
- data/lib/sentdm/models/brand_data.rb +237 -0
- data/lib/sentdm/models/brand_delete_params.rb +27 -0
- data/lib/sentdm/models/brand_list_params.rb +14 -0
- data/lib/sentdm/models/brand_list_response.rb +43 -0
- data/lib/sentdm/models/brand_update_params.rb +41 -0
- data/lib/sentdm/models/brand_with_kyc.rb +335 -0
- data/lib/sentdm/models/brands/api_response_tcr_campaign_with_use_cases.rb +45 -0
- data/lib/sentdm/models/brands/base_dto.rb +32 -0
- data/lib/sentdm/models/brands/campaign_create_params.rb +43 -0
- data/lib/sentdm/models/brands/campaign_data.rb +123 -0
- data/lib/sentdm/models/brands/campaign_delete_params.rb +36 -0
- data/lib/sentdm/models/brands/campaign_list_params.rb +16 -0
- data/lib/sentdm/models/brands/campaign_list_response.rb +47 -0
- data/lib/sentdm/models/brands/campaign_update_params.rb +50 -0
- data/lib/sentdm/models/brands/messaging_use_case_us.rb +28 -0
- data/lib/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb +30 -0
- data/lib/sentdm/models/brands/tcr_campaign_with_use_cases.rb +236 -0
- data/lib/sentdm/models/contact.rb +122 -0
- data/lib/sentdm/models/contact_create_params.rb +41 -0
- data/lib/sentdm/models/contact_delete_params.rb +27 -0
- data/lib/sentdm/models/contact_list_params.rb +28 -5
- data/lib/sentdm/models/contact_list_response.rb +46 -21
- data/lib/sentdm/models/{message_retrieve_params.rb → contact_retrieve_params.rb} +2 -2
- data/lib/sentdm/models/contact_update_params.rb +49 -0
- data/lib/sentdm/models/destination_country.rb +21 -0
- data/lib/sentdm/models/lookup_retrieve_phone_info_params.rb +14 -0
- data/lib/sentdm/models/lookup_retrieve_phone_info_response.rb +104 -0
- data/lib/sentdm/models/me_retrieve_params.rb +14 -0
- data/lib/sentdm/models/me_retrieve_response.rb +200 -0
- data/lib/sentdm/models/message_retrieve_activities_params.rb +14 -0
- data/lib/sentdm/models/message_retrieve_activities_response.rb +103 -0
- data/lib/sentdm/models/message_retrieve_status_params.rb +14 -0
- data/lib/sentdm/models/message_retrieve_status_response.rb +237 -0
- data/lib/sentdm/models/message_send_params.rb +88 -0
- data/lib/sentdm/models/message_send_response.rb +123 -0
- data/lib/sentdm/models/mutation_request.rb +20 -0
- data/lib/sentdm/models/pagination_meta.rb +80 -0
- data/lib/sentdm/models/profile_complete_params.rb +41 -0
- data/lib/sentdm/models/profile_complete_response.rb +8 -0
- data/lib/sentdm/models/profile_create_params.rb +122 -0
- data/lib/sentdm/models/profile_delete_params.rb +34 -0
- data/lib/sentdm/models/profile_detail.rb +200 -0
- data/lib/sentdm/models/profile_list_params.rb +14 -0
- data/lib/sentdm/models/profile_list_response.rb +57 -0
- data/lib/sentdm/models/profile_retrieve_params.rb +14 -0
- data/lib/sentdm/models/profile_settings.rb +66 -0
- data/lib/sentdm/models/profile_update_params.rb +169 -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 +40 -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/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_create_params.rb +40 -19
- data/lib/sentdm/models/template_definition.rb +15 -255
- data/lib/sentdm/models/template_delete_params.rb +22 -1
- data/lib/sentdm/models/template_list_params.rb +9 -10
- data/lib/sentdm/models/template_list_response.rb +46 -21
- data/lib/sentdm/models/template_update_params.rb +73 -0
- data/lib/sentdm/models/user_invite_params.rb +57 -0
- data/lib/sentdm/models/user_list_params.rb +14 -0
- data/lib/sentdm/models/user_list_response.rb +57 -0
- data/lib/sentdm/models/user_remove_params.rb +34 -0
- data/lib/sentdm/models/user_response.rb +82 -0
- data/lib/sentdm/models/user_retrieve_params.rb +14 -0
- data/lib/sentdm/models/user_update_role_params.rb +49 -0
- data/lib/sentdm/models/webhook_create_params.rb +68 -0
- data/lib/sentdm/models/webhook_delete_params.rb +14 -0
- data/lib/sentdm/models/webhook_list_event_types_params.rb +14 -0
- data/lib/sentdm/models/webhook_list_event_types_response.rb +85 -0
- data/lib/sentdm/models/webhook_list_events_params.rb +32 -0
- data/lib/sentdm/models/webhook_list_events_response.rb +135 -0
- data/lib/sentdm/models/webhook_list_params.rb +38 -0
- data/lib/sentdm/models/webhook_list_response.rb +64 -0
- data/lib/sentdm/models/webhook_response.rb +87 -0
- data/lib/sentdm/models/webhook_retrieve_params.rb +14 -0
- data/lib/sentdm/models/webhook_rotate_secret_params.rb +30 -0
- data/lib/sentdm/models/webhook_rotate_secret_response.rb +56 -0
- data/lib/sentdm/models/webhook_test_params.rb +40 -0
- data/lib/sentdm/models/webhook_test_response.rb +62 -0
- data/lib/sentdm/models/webhook_toggle_status_params.rb +40 -0
- data/lib/sentdm/models/webhook_update_params.rb +68 -0
- data/lib/sentdm/models.rb +124 -10
- data/lib/sentdm/resources/brands/campaigns.rb +144 -0
- data/lib/sentdm/resources/brands.rb +128 -0
- data/lib/sentdm/resources/contacts.rb +111 -38
- data/lib/sentdm/resources/lookup.rb +35 -0
- data/lib/sentdm/resources/me.rb +34 -0
- data/lib/sentdm/resources/messages.rb +42 -77
- data/lib/sentdm/resources/profiles.rb +254 -0
- data/lib/sentdm/resources/templates.rb +94 -45
- data/lib/sentdm/resources/users.rb +158 -0
- data/lib/sentdm/resources/webhooks.rb +295 -0
- data/lib/sentdm/version.rb +1 -1
- data/lib/sentdm.rb +94 -12
- data/rbi/sentdm/client.rbi +20 -25
- data/rbi/sentdm/models/api_error.rbi +66 -0
- data/rbi/sentdm/models/api_meta.rbi +69 -0
- data/rbi/sentdm/models/api_response_brand_with_kyc.rbi +74 -0
- data/rbi/sentdm/models/api_response_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/brand_create_params.rbi +68 -0
- data/rbi/sentdm/models/brand_data.rbi +266 -0
- data/rbi/sentdm/models/brand_delete_params.rbi +62 -0
- data/rbi/sentdm/models/brand_list_params.rbi +27 -0
- data/rbi/sentdm/models/brand_list_response.rbi +71 -0
- data/rbi/sentdm/models/brand_update_params.rbi +68 -0
- data/rbi/sentdm/models/brand_with_kyc.rbi +398 -0
- data/rbi/sentdm/models/brands/api_response_tcr_campaign_with_use_cases.rbi +83 -0
- data/rbi/sentdm/models/brands/base_dto.rbi +53 -0
- data/rbi/sentdm/models/brands/campaign_create_params.rbi +73 -0
- data/rbi/sentdm/models/brands/campaign_data.rbi +148 -0
- data/rbi/sentdm/models/brands/campaign_delete_params.rbi +78 -0
- data/rbi/sentdm/models/brands/campaign_list_params.rbi +29 -0
- data/rbi/sentdm/models/brands/campaign_list_response.rbi +82 -0
- data/rbi/sentdm/models/brands/campaign_update_params.rbi +79 -0
- data/rbi/sentdm/models/brands/messaging_use_case_us.rbi +69 -0
- data/rbi/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi +52 -0
- data/rbi/sentdm/models/brands/tcr_campaign_with_use_cases.rbi +404 -0
- data/rbi/sentdm/models/contact.rbi +179 -0
- data/rbi/sentdm/models/contact_create_params.rbi +68 -0
- data/rbi/sentdm/models/contact_delete_params.rbi +62 -0
- data/rbi/sentdm/models/contact_list_params.rbi +26 -4
- data/rbi/sentdm/models/contact_list_response.rbi +91 -37
- data/rbi/sentdm/models/{message_retrieve_params.rbi → contact_retrieve_params.rbi} +2 -2
- data/rbi/sentdm/models/contact_update_params.rbi +73 -0
- data/rbi/sentdm/models/destination_country.rbi +32 -0
- data/rbi/sentdm/models/lookup_retrieve_phone_info_params.rbi +30 -0
- data/rbi/sentdm/models/lookup_retrieve_phone_info_response.rbi +183 -0
- data/rbi/sentdm/models/me_retrieve_params.rbi +27 -0
- data/rbi/sentdm/models/me_retrieve_response.rbi +314 -0
- data/rbi/sentdm/models/message_retrieve_activities_params.rbi +30 -0
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +234 -0
- data/rbi/sentdm/models/message_retrieve_status_params.rbi +27 -0
- data/rbi/sentdm/models/message_retrieve_status_response.rbi +434 -0
- data/rbi/sentdm/models/message_send_params.rbi +143 -0
- data/rbi/sentdm/models/message_send_response.rbi +231 -0
- data/rbi/sentdm/models/mutation_request.rbi +32 -0
- data/rbi/sentdm/models/pagination_meta.rbi +135 -0
- data/rbi/sentdm/models/profile_complete_params.rbi +65 -0
- data/rbi/sentdm/models/profile_complete_response.rbi +8 -0
- data/rbi/sentdm/models/profile_create_params.rbi +156 -0
- data/rbi/sentdm/models/profile_delete_params.rbi +59 -0
- data/rbi/sentdm/models/profile_detail.rbi +273 -0
- data/rbi/sentdm/models/profile_list_params.rbi +27 -0
- data/rbi/sentdm/models/profile_list_response.rbi +111 -0
- data/rbi/sentdm/models/profile_retrieve_params.rbi +27 -0
- data/rbi/sentdm/models/profile_settings.rbi +86 -0
- data/rbi/sentdm/models/profile_update_params.rbi +196 -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 +76 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbi +79 -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 +60 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbi +62 -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_create_params.rbi +47 -23
- data/rbi/sentdm/models/template_definition.rbi +74 -405
- data/rbi/sentdm/models/template_delete_params.rbi +36 -5
- data/rbi/sentdm/models/template_list_params.rbi +8 -10
- data/rbi/sentdm/models/template_list_response.rbi +91 -37
- data/rbi/sentdm/models/template_update_params.rbi +105 -0
- data/rbi/sentdm/models/user_invite_params.rbi +90 -0
- data/rbi/sentdm/models/user_list_params.rbi +27 -0
- data/rbi/sentdm/models/user_list_response.rbi +111 -0
- data/rbi/sentdm/models/user_remove_params.rbi +59 -0
- data/rbi/sentdm/models/user_response.rbi +118 -0
- data/rbi/sentdm/models/user_retrieve_params.rbi +27 -0
- data/rbi/sentdm/models/user_update_role_params.rbi +79 -0
- data/rbi/sentdm/models/webhook_create_params.rbi +102 -0
- data/rbi/sentdm/models/webhook_delete_params.rbi +27 -0
- data/rbi/sentdm/models/webhook_list_event_types_params.rbi +27 -0
- data/rbi/sentdm/models/webhook_list_event_types_response.rbi +206 -0
- data/rbi/sentdm/models/webhook_list_events_params.rbi +48 -0
- data/rbi/sentdm/models/webhook_list_events_response.rbi +263 -0
- data/rbi/sentdm/models/webhook_list_params.rbi +59 -0
- data/rbi/sentdm/models/webhook_list_response.rbi +126 -0
- data/rbi/sentdm/models/webhook_response.rbi +134 -0
- data/rbi/sentdm/models/webhook_retrieve_params.rbi +27 -0
- data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +67 -0
- data/rbi/sentdm/models/webhook_rotate_secret_response.rbi +112 -0
- data/rbi/sentdm/models/webhook_test_params.rbi +66 -0
- data/rbi/sentdm/models/webhook_test_response.rbi +111 -0
- data/rbi/sentdm/models/webhook_toggle_status_params.rbi +66 -0
- data/rbi/sentdm/models/webhook_update_params.rbi +102 -0
- data/rbi/sentdm/models.rbi +125 -10
- data/rbi/sentdm/resources/brands/campaigns.rbi +108 -0
- data/rbi/sentdm/resources/brands.rbi +93 -0
- data/rbi/sentdm/resources/contacts.rbi +89 -26
- data/rbi/sentdm/resources/lookup.rbi +24 -0
- data/rbi/sentdm/resources/me.rbi +23 -0
- data/rbi/sentdm/resources/messages.rbi +41 -60
- data/rbi/sentdm/resources/profiles.rbi +238 -0
- data/rbi/sentdm/resources/templates.rbi +94 -41
- data/rbi/sentdm/resources/users.rbi +116 -0
- data/rbi/sentdm/resources/webhooks.rbi +218 -0
- data/sig/sentdm/client.rbs +11 -8
- data/sig/sentdm/models/api_error.rbs +39 -0
- data/sig/sentdm/models/api_meta.rbs +41 -0
- data/sig/sentdm/models/api_response_brand_with_kyc.rbs +39 -0
- data/sig/sentdm/models/api_response_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/brand_create_params.rbs +36 -0
- data/sig/sentdm/models/brand_data.rbs +164 -0
- data/sig/sentdm/models/brand_delete_params.rbs +32 -0
- data/sig/sentdm/models/brand_list_params.rbs +14 -0
- data/sig/sentdm/models/brand_list_response.rbs +39 -0
- data/sig/sentdm/models/brand_update_params.rbs +36 -0
- data/sig/sentdm/models/brand_with_kyc.rbs +237 -0
- data/sig/sentdm/models/brands/api_response_tcr_campaign_with_use_cases.rbs +41 -0
- data/sig/sentdm/models/brands/base_dto.rbs +27 -0
- data/sig/sentdm/models/brands/campaign_create_params.rbs +42 -0
- data/sig/sentdm/models/brands/campaign_data.rbs +82 -0
- data/sig/sentdm/models/brands/campaign_delete_params.rbs +38 -0
- data/sig/sentdm/models/brands/campaign_list_params.rbs +17 -0
- data/sig/sentdm/models/brands/campaign_list_response.rbs +41 -0
- data/sig/sentdm/models/brands/campaign_update_params.rbs +47 -0
- data/sig/sentdm/models/brands/messaging_use_case_us.rbs +40 -0
- data/sig/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs +27 -0
- data/sig/sentdm/models/brands/tcr_campaign_with_use_cases.rbs +285 -0
- data/sig/sentdm/models/{contact_list_item.rbs → contact.rbs} +31 -5
- data/sig/sentdm/models/contact_create_params.rbs +38 -0
- data/sig/sentdm/models/contact_delete_params.rbs +32 -0
- data/sig/sentdm/models/contact_list_params.rbs +19 -1
- data/sig/sentdm/models/contact_list_response.rbs +44 -31
- data/sig/sentdm/models/{message_retrieve_params.rbs → contact_retrieve_params.rbs} +2 -2
- data/sig/sentdm/models/contact_update_params.rbs +45 -0
- data/sig/sentdm/models/destination_country.rbs +19 -0
- data/sig/sentdm/models/lookup_retrieve_phone_info_params.rbs +15 -0
- data/sig/sentdm/models/lookup_retrieve_phone_info_response.rbs +102 -0
- data/sig/sentdm/models/me_retrieve_params.rbs +14 -0
- data/sig/sentdm/models/me_retrieve_response.rbs +162 -0
- data/sig/sentdm/models/message_retrieve_activities_params.rbs +15 -0
- data/sig/sentdm/models/message_retrieve_activities_response.rbs +105 -0
- data/sig/sentdm/models/message_retrieve_status_params.rbs +15 -0
- data/sig/sentdm/models/message_retrieve_status_response.rbs +224 -0
- data/sig/sentdm/models/message_send_params.rbs +79 -0
- data/sig/sentdm/models/message_send_response.rbs +108 -0
- data/sig/sentdm/models/mutation_request.rbs +15 -0
- data/sig/sentdm/models/pagination_meta.rbs +67 -0
- data/sig/sentdm/models/profile_complete_params.rbs +36 -0
- data/sig/sentdm/models/profile_complete_response.rbs +5 -0
- data/sig/sentdm/models/profile_create_params.rbs +96 -0
- data/sig/sentdm/models/profile_delete_params.rbs +32 -0
- data/sig/sentdm/models/profile_detail.rbs +168 -0
- data/sig/sentdm/models/profile_list_params.rbs +14 -0
- data/sig/sentdm/models/profile_list_response.rbs +53 -0
- data/sig/sentdm/models/profile_retrieve_params.rbs +15 -0
- data/sig/sentdm/models/profile_settings.rbs +50 -0
- data/sig/sentdm/models/profile_update_params.rbs +122 -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 +30 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbs +38 -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 +32 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbs +32 -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_response_v2.rbs → template.rbs} +18 -31
- data/sig/sentdm/models/template_create_params.rbs +29 -6
- data/sig/sentdm/models/template_definition.rbs +20 -233
- data/sig/sentdm/models/template_delete_params.rbs +18 -3
- data/sig/sentdm/models/template_list_response.rbs +44 -31
- data/sig/sentdm/models/template_update_params.rbs +62 -0
- data/sig/sentdm/models/user_invite_params.rbs +56 -0
- data/sig/sentdm/models/user_list_params.rbs +14 -0
- data/sig/sentdm/models/user_list_response.rbs +53 -0
- data/sig/sentdm/models/user_remove_params.rbs +32 -0
- data/sig/sentdm/models/user_response.rbs +72 -0
- data/sig/sentdm/models/user_retrieve_params.rbs +15 -0
- data/sig/sentdm/models/user_update_role_params.rbs +49 -0
- data/sig/sentdm/models/webhook_create_params.rbs +70 -0
- data/sig/sentdm/models/webhook_delete_params.rbs +15 -0
- data/sig/sentdm/models/webhook_list_event_types_params.rbs +15 -0
- data/sig/sentdm/models/webhook_list_event_types_response.rbs +98 -0
- data/sig/sentdm/models/webhook_list_events_params.rbs +32 -0
- data/sig/sentdm/models/webhook_list_events_response.rbs +146 -0
- data/sig/sentdm/models/webhook_list_params.rbs +36 -0
- data/sig/sentdm/models/webhook_list_response.rbs +67 -0
- data/sig/sentdm/models/webhook_response.rbs +98 -0
- data/sig/sentdm/models/webhook_retrieve_params.rbs +15 -0
- data/sig/sentdm/models/webhook_rotate_secret_params.rbs +38 -0
- data/sig/sentdm/models/webhook_rotate_secret_response.rbs +51 -0
- data/sig/sentdm/models/webhook_test_params.rbs +38 -0
- data/sig/sentdm/models/webhook_test_response.rbs +55 -0
- data/sig/sentdm/models/webhook_toggle_status_params.rbs +38 -0
- data/sig/sentdm/models/webhook_update_params.rbs +70 -0
- data/sig/sentdm/models.rbs +118 -10
- data/sig/sentdm/resources/brands/campaigns.rbs +38 -0
- data/sig/sentdm/resources/brands.rbs +34 -0
- data/sig/sentdm/resources/contacts.rbs +28 -8
- data/sig/sentdm/resources/lookup.rbs +12 -0
- data/sig/sentdm/resources/{number_lookup.rbs → me.rbs} +2 -3
- data/sig/sentdm/resources/messages.rbs +12 -18
- data/sig/sentdm/resources/profiles.rbs +72 -0
- data/sig/sentdm/resources/templates.rbs +24 -4
- data/sig/sentdm/resources/users.rbs +41 -0
- data/sig/sentdm/resources/webhooks.rbs +80 -0
- metadata +284 -38
- data/lib/sentdm/models/contact_list_item.rb +0 -96
- data/lib/sentdm/models/contact_retrieve_by_phone_params.rb +0 -22
- data/lib/sentdm/models/contact_retrieve_id_params.rb +0 -22
- data/lib/sentdm/models/message_retrieve_response.rb +0 -227
- data/lib/sentdm/models/message_send_quick_message_params.rb +0 -34
- data/lib/sentdm/models/message_send_to_contact_params.rb +0 -46
- data/lib/sentdm/models/message_send_to_phone_params.rb +0 -47
- data/lib/sentdm/models/number_lookup_retrieve_params.rb +0 -20
- data/lib/sentdm/models/number_lookup_retrieve_response.rb +0 -83
- data/lib/sentdm/models/template_response_v2.rb +0 -100
- data/lib/sentdm/resources/number_lookup.rb +0 -37
- data/rbi/sentdm/models/contact_list_item.rbi +0 -144
- data/rbi/sentdm/models/contact_retrieve_by_phone_params.rbi +0 -40
- data/rbi/sentdm/models/contact_retrieve_id_params.rbi +0 -40
- data/rbi/sentdm/models/message_retrieve_response.rbi +0 -376
- data/rbi/sentdm/models/message_send_quick_message_params.rbi +0 -56
- data/rbi/sentdm/models/message_send_to_contact_params.rbi +0 -63
- data/rbi/sentdm/models/message_send_to_phone_params.rbi +0 -65
- data/rbi/sentdm/models/number_lookup_retrieve_params.rbi +0 -35
- data/rbi/sentdm/models/number_lookup_retrieve_response.rbi +0 -132
- data/rbi/sentdm/models/template_response_v2.rbi +0 -149
- data/rbi/sentdm/resources/number_lookup.rbi +0 -24
- data/sig/sentdm/models/contact_retrieve_by_phone_params.rbs +0 -23
- data/sig/sentdm/models/contact_retrieve_id_params.rbs +0 -20
- data/sig/sentdm/models/message_retrieve_response.rbs +0 -188
- data/sig/sentdm/models/message_send_quick_message_params.rbs +0 -28
- data/sig/sentdm/models/message_send_to_contact_params.rbs +0 -36
- data/sig/sentdm/models/message_send_to_phone_params.rbs +0 -36
- data/sig/sentdm/models/number_lookup_retrieve_params.rbs +0 -23
- data/sig/sentdm/models/number_lookup_retrieve_response.rbs +0 -78
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type sent_dm_services_common_contracts_poc_os_template_button_props =
|
|
4
|
+
{
|
|
5
|
+
active_for: Integer?,
|
|
6
|
+
autofill_text: String?,
|
|
7
|
+
country_code: String?,
|
|
8
|
+
offer_code: String?,
|
|
9
|
+
otp_type: String?,
|
|
10
|
+
package_name: String?,
|
|
11
|
+
phone_number: String?,
|
|
12
|
+
quick_reply_type: String?,
|
|
13
|
+
signature_hash: String?,
|
|
14
|
+
text: String?,
|
|
15
|
+
url: String?,
|
|
16
|
+
url_type: String?
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
class SentDmServicesCommonContractsPocOsTemplateButtonProps < Sentdm::Internal::Type::BaseModel
|
|
20
|
+
attr_accessor active_for: Integer?
|
|
21
|
+
|
|
22
|
+
attr_accessor autofill_text: String?
|
|
23
|
+
|
|
24
|
+
attr_accessor country_code: String?
|
|
25
|
+
|
|
26
|
+
attr_accessor offer_code: String?
|
|
27
|
+
|
|
28
|
+
attr_accessor otp_type: String?
|
|
29
|
+
|
|
30
|
+
attr_accessor package_name: String?
|
|
31
|
+
|
|
32
|
+
attr_accessor phone_number: String?
|
|
33
|
+
|
|
34
|
+
attr_accessor quick_reply_type: String?
|
|
35
|
+
|
|
36
|
+
attr_accessor signature_hash: String?
|
|
37
|
+
|
|
38
|
+
attr_accessor text: String?
|
|
39
|
+
|
|
40
|
+
attr_accessor url: String?
|
|
41
|
+
|
|
42
|
+
attr_accessor url_type: String?
|
|
43
|
+
|
|
44
|
+
def initialize: (
|
|
45
|
+
?active_for: Integer?,
|
|
46
|
+
?autofill_text: String?,
|
|
47
|
+
?country_code: String?,
|
|
48
|
+
?offer_code: String?,
|
|
49
|
+
?otp_type: String?,
|
|
50
|
+
?package_name: String?,
|
|
51
|
+
?phone_number: String?,
|
|
52
|
+
?quick_reply_type: String?,
|
|
53
|
+
?signature_hash: String?,
|
|
54
|
+
?text: String?,
|
|
55
|
+
?url: String?,
|
|
56
|
+
?url_type: String?
|
|
57
|
+
) -> void
|
|
58
|
+
|
|
59
|
+
def to_hash: -> {
|
|
60
|
+
active_for: Integer?,
|
|
61
|
+
autofill_text: String?,
|
|
62
|
+
country_code: String?,
|
|
63
|
+
offer_code: String?,
|
|
64
|
+
otp_type: String?,
|
|
65
|
+
package_name: String?,
|
|
66
|
+
phone_number: String?,
|
|
67
|
+
quick_reply_type: String?,
|
|
68
|
+
signature_hash: String?,
|
|
69
|
+
text: String?,
|
|
70
|
+
url: String?,
|
|
71
|
+
url_type: String?
|
|
72
|
+
}
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type sent_dm_services_common_contracts_poc_os_template_footer =
|
|
4
|
+
{
|
|
5
|
+
template: String,
|
|
6
|
+
type: String?,
|
|
7
|
+
variables: ::Array[Sentdm::TemplateVariable]?
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class SentDmServicesCommonContractsPocOsTemplateFooter < Sentdm::Internal::Type::BaseModel
|
|
11
|
+
attr_reader template: String?
|
|
12
|
+
|
|
13
|
+
def template=: (String) -> String
|
|
14
|
+
|
|
15
|
+
attr_accessor type: String?
|
|
16
|
+
|
|
17
|
+
attr_accessor variables: ::Array[Sentdm::TemplateVariable]?
|
|
18
|
+
|
|
19
|
+
def initialize: (
|
|
20
|
+
?template: String,
|
|
21
|
+
?type: String?,
|
|
22
|
+
?variables: ::Array[Sentdm::TemplateVariable]?
|
|
23
|
+
) -> void
|
|
24
|
+
|
|
25
|
+
def to_hash: -> {
|
|
26
|
+
template: String,
|
|
27
|
+
type: String?,
|
|
28
|
+
variables: ::Array[Sentdm::TemplateVariable]?
|
|
29
|
+
}
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type sent_dm_services_common_contracts_poc_os_template_header =
|
|
4
|
+
{
|
|
5
|
+
template: String,
|
|
6
|
+
type: String?,
|
|
7
|
+
variables: ::Array[Sentdm::TemplateVariable]?
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class SentDmServicesCommonContractsPocOsTemplateHeader < Sentdm::Internal::Type::BaseModel
|
|
11
|
+
attr_reader template: String?
|
|
12
|
+
|
|
13
|
+
def template=: (String) -> String
|
|
14
|
+
|
|
15
|
+
attr_accessor type: String?
|
|
16
|
+
|
|
17
|
+
attr_accessor variables: ::Array[Sentdm::TemplateVariable]?
|
|
18
|
+
|
|
19
|
+
def initialize: (
|
|
20
|
+
?template: String,
|
|
21
|
+
?type: String?,
|
|
22
|
+
?variables: ::Array[Sentdm::TemplateVariable]?
|
|
23
|
+
) -> void
|
|
24
|
+
|
|
25
|
+
def to_hash: -> {
|
|
26
|
+
template: String,
|
|
27
|
+
type: String?,
|
|
28
|
+
variables: ::Array[Sentdm::TemplateVariable]?
|
|
29
|
+
}
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type tcr_brand_relationship =
|
|
4
|
+
:BASIC_ACCOUNT
|
|
5
|
+
| :MEDIUM_ACCOUNT
|
|
6
|
+
| :LARGE_ACCOUNT
|
|
7
|
+
| :SMALL_ACCOUNT
|
|
8
|
+
| :KEY_ACCOUNT
|
|
9
|
+
|
|
10
|
+
module TcrBrandRelationship
|
|
11
|
+
extend Sentdm::Internal::Type::Enum
|
|
12
|
+
|
|
13
|
+
BASIC_ACCOUNT: :BASIC_ACCOUNT
|
|
14
|
+
MEDIUM_ACCOUNT: :MEDIUM_ACCOUNT
|
|
15
|
+
LARGE_ACCOUNT: :LARGE_ACCOUNT
|
|
16
|
+
SMALL_ACCOUNT: :SMALL_ACCOUNT
|
|
17
|
+
KEY_ACCOUNT: :KEY_ACCOUNT
|
|
18
|
+
|
|
19
|
+
def self?.values: -> ::Array[Sentdm::Models::tcr_brand_relationship]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type tcr_vertical =
|
|
4
|
+
:PROFESSIONAL
|
|
5
|
+
| :REAL_ESTATE
|
|
6
|
+
| :HEALTHCARE
|
|
7
|
+
| :HUMAN_RESOURCES
|
|
8
|
+
| :ENERGY
|
|
9
|
+
| :ENTERTAINMENT
|
|
10
|
+
| :RETAIL
|
|
11
|
+
| :TRANSPORTATION
|
|
12
|
+
| :AGRICULTURE
|
|
13
|
+
| :INSURANCE
|
|
14
|
+
| :POSTAL
|
|
15
|
+
| :EDUCATION
|
|
16
|
+
| :HOSPITALITY
|
|
17
|
+
| :FINANCIAL
|
|
18
|
+
| :POLITICAL
|
|
19
|
+
| :GAMBLING
|
|
20
|
+
| :LEGAL
|
|
21
|
+
| :CONSTRUCTION
|
|
22
|
+
| :NGO
|
|
23
|
+
| :MANUFACTURING
|
|
24
|
+
| :GOVERNMENT
|
|
25
|
+
| :TECHNOLOGY
|
|
26
|
+
| :COMMUNICATION
|
|
27
|
+
|
|
28
|
+
module TcrVertical
|
|
29
|
+
extend Sentdm::Internal::Type::Enum
|
|
30
|
+
|
|
31
|
+
PROFESSIONAL: :PROFESSIONAL
|
|
32
|
+
REAL_ESTATE: :REAL_ESTATE
|
|
33
|
+
HEALTHCARE: :HEALTHCARE
|
|
34
|
+
HUMAN_RESOURCES: :HUMAN_RESOURCES
|
|
35
|
+
ENERGY: :ENERGY
|
|
36
|
+
ENTERTAINMENT: :ENTERTAINMENT
|
|
37
|
+
RETAIL: :RETAIL
|
|
38
|
+
TRANSPORTATION: :TRANSPORTATION
|
|
39
|
+
AGRICULTURE: :AGRICULTURE
|
|
40
|
+
INSURANCE: :INSURANCE
|
|
41
|
+
POSTAL: :POSTAL
|
|
42
|
+
EDUCATION: :EDUCATION
|
|
43
|
+
HOSPITALITY: :HOSPITALITY
|
|
44
|
+
FINANCIAL: :FINANCIAL
|
|
45
|
+
POLITICAL: :POLITICAL
|
|
46
|
+
GAMBLING: :GAMBLING
|
|
47
|
+
LEGAL: :LEGAL
|
|
48
|
+
CONSTRUCTION: :CONSTRUCTION
|
|
49
|
+
NGO: :NGO
|
|
50
|
+
MANUFACTURING: :MANUFACTURING
|
|
51
|
+
GOVERNMENT: :GOVERNMENT
|
|
52
|
+
TECHNOLOGY: :TECHNOLOGY
|
|
53
|
+
COMMUNICATION: :COMMUNICATION
|
|
54
|
+
|
|
55
|
+
def self?.values: -> ::Array[Sentdm::Models::tcr_vertical]
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
module Sentdm
|
|
2
2
|
module Models
|
|
3
|
-
type
|
|
3
|
+
type template =
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
category: String,
|
|
7
|
+
channels: ::Array[String]?,
|
|
7
8
|
created_at: Time,
|
|
8
|
-
definition: Sentdm::TemplateDefinition,
|
|
9
|
-
display_name: String,
|
|
10
9
|
is_published: bool,
|
|
11
10
|
language: String,
|
|
11
|
+
name: String,
|
|
12
12
|
status: String,
|
|
13
13
|
updated_at: Time?,
|
|
14
|
-
|
|
15
|
-
whatsapp_template_name: String
|
|
14
|
+
variables: ::Array[String]?
|
|
16
15
|
}
|
|
17
16
|
|
|
18
|
-
class
|
|
17
|
+
class Template < Sentdm::Internal::Type::BaseModel
|
|
19
18
|
attr_reader id: String?
|
|
20
19
|
|
|
21
20
|
def id=: (String) -> String
|
|
@@ -24,20 +23,12 @@ module Sentdm
|
|
|
24
23
|
|
|
25
24
|
def category=: (String) -> String
|
|
26
25
|
|
|
26
|
+
attr_accessor channels: ::Array[String]?
|
|
27
|
+
|
|
27
28
|
attr_reader created_at: Time?
|
|
28
29
|
|
|
29
30
|
def created_at=: (Time) -> Time
|
|
30
31
|
|
|
31
|
-
attr_reader definition: Sentdm::TemplateDefinition?
|
|
32
|
-
|
|
33
|
-
def definition=: (
|
|
34
|
-
Sentdm::TemplateDefinition
|
|
35
|
-
) -> Sentdm::TemplateDefinition
|
|
36
|
-
|
|
37
|
-
attr_reader display_name: String?
|
|
38
|
-
|
|
39
|
-
def display_name=: (String) -> String
|
|
40
|
-
|
|
41
32
|
attr_reader is_published: bool?
|
|
42
33
|
|
|
43
34
|
def is_published=: (bool) -> bool
|
|
@@ -46,46 +37,42 @@ module Sentdm
|
|
|
46
37
|
|
|
47
38
|
def language=: (String) -> String
|
|
48
39
|
|
|
40
|
+
attr_reader name: String?
|
|
41
|
+
|
|
42
|
+
def name=: (String) -> String
|
|
43
|
+
|
|
49
44
|
attr_reader status: String?
|
|
50
45
|
|
|
51
46
|
def status=: (String) -> String
|
|
52
47
|
|
|
53
48
|
attr_accessor updated_at: Time?
|
|
54
49
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
def whatsapp_template_id=: (String) -> String
|
|
58
|
-
|
|
59
|
-
attr_reader whatsapp_template_name: String?
|
|
60
|
-
|
|
61
|
-
def whatsapp_template_name=: (String) -> String
|
|
50
|
+
attr_accessor variables: ::Array[String]?
|
|
62
51
|
|
|
63
52
|
def initialize: (
|
|
64
53
|
?id: String,
|
|
65
54
|
?category: String,
|
|
55
|
+
?channels: ::Array[String]?,
|
|
66
56
|
?created_at: Time,
|
|
67
|
-
?definition: Sentdm::TemplateDefinition,
|
|
68
|
-
?display_name: String,
|
|
69
57
|
?is_published: bool,
|
|
70
58
|
?language: String,
|
|
59
|
+
?name: String,
|
|
71
60
|
?status: String,
|
|
72
61
|
?updated_at: Time?,
|
|
73
|
-
?
|
|
74
|
-
?whatsapp_template_name: String
|
|
62
|
+
?variables: ::Array[String]?
|
|
75
63
|
) -> void
|
|
76
64
|
|
|
77
65
|
def to_hash: -> {
|
|
78
66
|
id: String,
|
|
79
67
|
category: String,
|
|
68
|
+
channels: ::Array[String]?,
|
|
80
69
|
created_at: Time,
|
|
81
|
-
definition: Sentdm::TemplateDefinition,
|
|
82
|
-
display_name: String,
|
|
83
70
|
is_published: bool,
|
|
84
71
|
language: String,
|
|
72
|
+
name: String,
|
|
85
73
|
status: String,
|
|
86
74
|
updated_at: Time?,
|
|
87
|
-
|
|
88
|
-
whatsapp_template_name: String
|
|
75
|
+
variables: ::Array[String]?
|
|
89
76
|
}
|
|
90
77
|
end
|
|
91
78
|
end
|
|
@@ -2,10 +2,13 @@ module Sentdm
|
|
|
2
2
|
module Models
|
|
3
3
|
type template_create_params =
|
|
4
4
|
{
|
|
5
|
-
definition: Sentdm::TemplateDefinition,
|
|
6
5
|
category: String?,
|
|
6
|
+
creation_source: String?,
|
|
7
|
+
definition: Sentdm::TemplateDefinition,
|
|
7
8
|
language: String?,
|
|
8
|
-
submit_for_review: bool
|
|
9
|
+
submit_for_review: bool,
|
|
10
|
+
test_mode: bool,
|
|
11
|
+
idempotency_key: String
|
|
9
12
|
}
|
|
10
13
|
& Sentdm::Internal::Type::request_parameters
|
|
11
14
|
|
|
@@ -13,29 +16,49 @@ module Sentdm
|
|
|
13
16
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
14
17
|
include Sentdm::Internal::Type::RequestParameters
|
|
15
18
|
|
|
16
|
-
attr_accessor definition: Sentdm::TemplateDefinition
|
|
17
|
-
|
|
18
19
|
attr_accessor category: String?
|
|
19
20
|
|
|
21
|
+
attr_accessor creation_source: String?
|
|
22
|
+
|
|
23
|
+
attr_reader definition: Sentdm::TemplateDefinition?
|
|
24
|
+
|
|
25
|
+
def definition=: (
|
|
26
|
+
Sentdm::TemplateDefinition
|
|
27
|
+
) -> Sentdm::TemplateDefinition
|
|
28
|
+
|
|
20
29
|
attr_accessor language: String?
|
|
21
30
|
|
|
22
31
|
attr_reader submit_for_review: bool?
|
|
23
32
|
|
|
24
33
|
def submit_for_review=: (bool) -> bool
|
|
25
34
|
|
|
35
|
+
attr_reader test_mode: bool?
|
|
36
|
+
|
|
37
|
+
def test_mode=: (bool) -> bool
|
|
38
|
+
|
|
39
|
+
attr_reader idempotency_key: String?
|
|
40
|
+
|
|
41
|
+
def idempotency_key=: (String) -> String
|
|
42
|
+
|
|
26
43
|
def initialize: (
|
|
27
|
-
definition: Sentdm::TemplateDefinition,
|
|
28
44
|
?category: String?,
|
|
45
|
+
?creation_source: String?,
|
|
46
|
+
?definition: Sentdm::TemplateDefinition,
|
|
29
47
|
?language: String?,
|
|
30
48
|
?submit_for_review: bool,
|
|
49
|
+
?test_mode: bool,
|
|
50
|
+
?idempotency_key: String,
|
|
31
51
|
?request_options: Sentdm::request_opts
|
|
32
52
|
) -> void
|
|
33
53
|
|
|
34
54
|
def to_hash: -> {
|
|
35
|
-
definition: Sentdm::TemplateDefinition,
|
|
36
55
|
category: String?,
|
|
56
|
+
creation_source: String?,
|
|
57
|
+
definition: Sentdm::TemplateDefinition,
|
|
37
58
|
language: String?,
|
|
38
59
|
submit_for_review: bool,
|
|
60
|
+
test_mode: bool,
|
|
61
|
+
idempotency_key: String,
|
|
39
62
|
request_options: Sentdm::RequestOptions
|
|
40
63
|
}
|
|
41
64
|
end
|
|
@@ -2,257 +2,44 @@ module Sentdm
|
|
|
2
2
|
module Models
|
|
3
3
|
type template_definition =
|
|
4
4
|
{
|
|
5
|
-
body: Sentdm::
|
|
6
|
-
authentication_config: Sentdm::
|
|
7
|
-
buttons: ::Array[Sentdm::
|
|
5
|
+
body: Sentdm::SentDmServicesCommonContractsPocOsTemplateBody,
|
|
6
|
+
authentication_config: Sentdm::SentDmServicesCommonContractsPocOsAuthenticationConfig?,
|
|
7
|
+
buttons: ::Array[Sentdm::SentDmServicesCommonContractsPocOsTemplateButton]?,
|
|
8
8
|
definition_version: String?,
|
|
9
|
-
footer: Sentdm::
|
|
10
|
-
header: Sentdm::
|
|
9
|
+
footer: Sentdm::SentDmServicesCommonContractsPocOsTemplateFooter?,
|
|
10
|
+
header: Sentdm::SentDmServicesCommonContractsPocOsTemplateHeader?
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
class TemplateDefinition < Sentdm::Internal::Type::BaseModel
|
|
14
|
-
attr_accessor body: Sentdm::
|
|
14
|
+
attr_accessor body: Sentdm::SentDmServicesCommonContractsPocOsTemplateBody
|
|
15
15
|
|
|
16
|
-
attr_accessor authentication_config: Sentdm::
|
|
16
|
+
attr_accessor authentication_config: Sentdm::SentDmServicesCommonContractsPocOsAuthenticationConfig?
|
|
17
17
|
|
|
18
|
-
attr_accessor buttons: ::Array[Sentdm::
|
|
18
|
+
attr_accessor buttons: ::Array[Sentdm::SentDmServicesCommonContractsPocOsTemplateButton]?
|
|
19
19
|
|
|
20
20
|
attr_accessor definition_version: String?
|
|
21
21
|
|
|
22
|
-
attr_accessor footer: Sentdm::
|
|
22
|
+
attr_accessor footer: Sentdm::SentDmServicesCommonContractsPocOsTemplateFooter?
|
|
23
23
|
|
|
24
|
-
attr_accessor header: Sentdm::
|
|
24
|
+
attr_accessor header: Sentdm::SentDmServicesCommonContractsPocOsTemplateHeader?
|
|
25
25
|
|
|
26
26
|
def initialize: (
|
|
27
|
-
body: Sentdm::
|
|
28
|
-
?authentication_config: Sentdm::
|
|
29
|
-
?buttons: ::Array[Sentdm::
|
|
27
|
+
body: Sentdm::SentDmServicesCommonContractsPocOsTemplateBody,
|
|
28
|
+
?authentication_config: Sentdm::SentDmServicesCommonContractsPocOsAuthenticationConfig?,
|
|
29
|
+
?buttons: ::Array[Sentdm::SentDmServicesCommonContractsPocOsTemplateButton]?,
|
|
30
30
|
?definition_version: String?,
|
|
31
|
-
?footer: Sentdm::
|
|
32
|
-
?header: Sentdm::
|
|
31
|
+
?footer: Sentdm::SentDmServicesCommonContractsPocOsTemplateFooter?,
|
|
32
|
+
?header: Sentdm::SentDmServicesCommonContractsPocOsTemplateHeader?
|
|
33
33
|
) -> void
|
|
34
34
|
|
|
35
35
|
def to_hash: -> {
|
|
36
|
-
body: Sentdm::
|
|
37
|
-
authentication_config: Sentdm::
|
|
38
|
-
buttons: ::Array[Sentdm::
|
|
36
|
+
body: Sentdm::SentDmServicesCommonContractsPocOsTemplateBody,
|
|
37
|
+
authentication_config: Sentdm::SentDmServicesCommonContractsPocOsAuthenticationConfig?,
|
|
38
|
+
buttons: ::Array[Sentdm::SentDmServicesCommonContractsPocOsTemplateButton]?,
|
|
39
39
|
definition_version: String?,
|
|
40
|
-
footer: Sentdm::
|
|
41
|
-
header: Sentdm::
|
|
40
|
+
footer: Sentdm::SentDmServicesCommonContractsPocOsTemplateFooter?,
|
|
41
|
+
header: Sentdm::SentDmServicesCommonContractsPocOsTemplateHeader?
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
type body =
|
|
45
|
-
{
|
|
46
|
-
multi_channel: Sentdm::TemplateBodyContent?,
|
|
47
|
-
sms: Sentdm::TemplateBodyContent?,
|
|
48
|
-
whatsapp: Sentdm::TemplateBodyContent?
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
class Body < Sentdm::Internal::Type::BaseModel
|
|
52
|
-
attr_accessor multi_channel: Sentdm::TemplateBodyContent?
|
|
53
|
-
|
|
54
|
-
attr_accessor sms: Sentdm::TemplateBodyContent?
|
|
55
|
-
|
|
56
|
-
attr_accessor whatsapp: Sentdm::TemplateBodyContent?
|
|
57
|
-
|
|
58
|
-
def initialize: (
|
|
59
|
-
?multi_channel: Sentdm::TemplateBodyContent?,
|
|
60
|
-
?sms: Sentdm::TemplateBodyContent?,
|
|
61
|
-
?whatsapp: Sentdm::TemplateBodyContent?
|
|
62
|
-
) -> void
|
|
63
|
-
|
|
64
|
-
def to_hash: -> {
|
|
65
|
-
multi_channel: Sentdm::TemplateBodyContent?,
|
|
66
|
-
sms: Sentdm::TemplateBodyContent?,
|
|
67
|
-
whatsapp: Sentdm::TemplateBodyContent?
|
|
68
|
-
}
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
type authentication_config =
|
|
72
|
-
{ add_security_recommendation: bool, code_expiration_minutes: Integer? }
|
|
73
|
-
|
|
74
|
-
class AuthenticationConfig < Sentdm::Internal::Type::BaseModel
|
|
75
|
-
attr_reader add_security_recommendation: bool?
|
|
76
|
-
|
|
77
|
-
def add_security_recommendation=: (bool) -> bool
|
|
78
|
-
|
|
79
|
-
attr_accessor code_expiration_minutes: Integer?
|
|
80
|
-
|
|
81
|
-
def initialize: (
|
|
82
|
-
?add_security_recommendation: bool,
|
|
83
|
-
?code_expiration_minutes: Integer?
|
|
84
|
-
) -> void
|
|
85
|
-
|
|
86
|
-
def to_hash: -> {
|
|
87
|
-
add_security_recommendation: bool,
|
|
88
|
-
code_expiration_minutes: Integer?
|
|
89
|
-
}
|
|
90
|
-
end
|
|
91
|
-
|
|
92
|
-
type button =
|
|
93
|
-
{
|
|
94
|
-
id: Integer,
|
|
95
|
-
props: Sentdm::TemplateDefinition::Button::Props,
|
|
96
|
-
type: String
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
class Button < Sentdm::Internal::Type::BaseModel
|
|
100
|
-
attr_reader id: Integer?
|
|
101
|
-
|
|
102
|
-
def id=: (Integer) -> Integer
|
|
103
|
-
|
|
104
|
-
attr_reader props: Sentdm::TemplateDefinition::Button::Props?
|
|
105
|
-
|
|
106
|
-
def props=: (
|
|
107
|
-
Sentdm::TemplateDefinition::Button::Props
|
|
108
|
-
) -> Sentdm::TemplateDefinition::Button::Props
|
|
109
|
-
|
|
110
|
-
attr_reader type: String?
|
|
111
|
-
|
|
112
|
-
def type=: (String) -> String
|
|
113
|
-
|
|
114
|
-
def initialize: (
|
|
115
|
-
?id: Integer,
|
|
116
|
-
?props: Sentdm::TemplateDefinition::Button::Props,
|
|
117
|
-
?type: String
|
|
118
|
-
) -> void
|
|
119
|
-
|
|
120
|
-
def to_hash: -> {
|
|
121
|
-
id: Integer,
|
|
122
|
-
props: Sentdm::TemplateDefinition::Button::Props,
|
|
123
|
-
type: String
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
type props =
|
|
127
|
-
{
|
|
128
|
-
active_for: Integer?,
|
|
129
|
-
autofill_text: String?,
|
|
130
|
-
country_code: String?,
|
|
131
|
-
offer_code: String?,
|
|
132
|
-
otp_type: String?,
|
|
133
|
-
package_name: String?,
|
|
134
|
-
phone_number: String?,
|
|
135
|
-
quick_reply_type: String?,
|
|
136
|
-
signature_hash: String?,
|
|
137
|
-
text: String?,
|
|
138
|
-
url: String?,
|
|
139
|
-
url_type: String?
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
class Props < Sentdm::Internal::Type::BaseModel
|
|
143
|
-
attr_accessor active_for: Integer?
|
|
144
|
-
|
|
145
|
-
attr_accessor autofill_text: String?
|
|
146
|
-
|
|
147
|
-
attr_accessor country_code: String?
|
|
148
|
-
|
|
149
|
-
attr_accessor offer_code: String?
|
|
150
|
-
|
|
151
|
-
attr_accessor otp_type: String?
|
|
152
|
-
|
|
153
|
-
attr_accessor package_name: String?
|
|
154
|
-
|
|
155
|
-
attr_accessor phone_number: String?
|
|
156
|
-
|
|
157
|
-
attr_accessor quick_reply_type: String?
|
|
158
|
-
|
|
159
|
-
attr_accessor signature_hash: String?
|
|
160
|
-
|
|
161
|
-
attr_accessor text: String?
|
|
162
|
-
|
|
163
|
-
attr_accessor url: String?
|
|
164
|
-
|
|
165
|
-
attr_accessor url_type: String?
|
|
166
|
-
|
|
167
|
-
def initialize: (
|
|
168
|
-
?active_for: Integer?,
|
|
169
|
-
?autofill_text: String?,
|
|
170
|
-
?country_code: String?,
|
|
171
|
-
?offer_code: String?,
|
|
172
|
-
?otp_type: String?,
|
|
173
|
-
?package_name: String?,
|
|
174
|
-
?phone_number: String?,
|
|
175
|
-
?quick_reply_type: String?,
|
|
176
|
-
?signature_hash: String?,
|
|
177
|
-
?text: String?,
|
|
178
|
-
?url: String?,
|
|
179
|
-
?url_type: String?
|
|
180
|
-
) -> void
|
|
181
|
-
|
|
182
|
-
def to_hash: -> {
|
|
183
|
-
active_for: Integer?,
|
|
184
|
-
autofill_text: String?,
|
|
185
|
-
country_code: String?,
|
|
186
|
-
offer_code: String?,
|
|
187
|
-
otp_type: String?,
|
|
188
|
-
package_name: String?,
|
|
189
|
-
phone_number: String?,
|
|
190
|
-
quick_reply_type: String?,
|
|
191
|
-
signature_hash: String?,
|
|
192
|
-
text: String?,
|
|
193
|
-
url: String?,
|
|
194
|
-
url_type: String?
|
|
195
|
-
}
|
|
196
|
-
end
|
|
197
|
-
end
|
|
198
|
-
|
|
199
|
-
type footer =
|
|
200
|
-
{
|
|
201
|
-
template: String,
|
|
202
|
-
type: String?,
|
|
203
|
-
variables: ::Array[Sentdm::TemplateVariable]?
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
class Footer < Sentdm::Internal::Type::BaseModel
|
|
207
|
-
attr_reader template: String?
|
|
208
|
-
|
|
209
|
-
def template=: (String) -> String
|
|
210
|
-
|
|
211
|
-
attr_accessor type: String?
|
|
212
|
-
|
|
213
|
-
attr_accessor variables: ::Array[Sentdm::TemplateVariable]?
|
|
214
|
-
|
|
215
|
-
def initialize: (
|
|
216
|
-
?template: String,
|
|
217
|
-
?type: String?,
|
|
218
|
-
?variables: ::Array[Sentdm::TemplateVariable]?
|
|
219
|
-
) -> void
|
|
220
|
-
|
|
221
|
-
def to_hash: -> {
|
|
222
|
-
template: String,
|
|
223
|
-
type: String?,
|
|
224
|
-
variables: ::Array[Sentdm::TemplateVariable]?
|
|
225
|
-
}
|
|
226
|
-
end
|
|
227
|
-
|
|
228
|
-
type header =
|
|
229
|
-
{
|
|
230
|
-
template: String,
|
|
231
|
-
type: String?,
|
|
232
|
-
variables: ::Array[Sentdm::TemplateVariable]?
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
class Header < Sentdm::Internal::Type::BaseModel
|
|
236
|
-
attr_reader template: String?
|
|
237
|
-
|
|
238
|
-
def template=: (String) -> String
|
|
239
|
-
|
|
240
|
-
attr_accessor type: String?
|
|
241
|
-
|
|
242
|
-
attr_accessor variables: ::Array[Sentdm::TemplateVariable]?
|
|
243
|
-
|
|
244
|
-
def initialize: (
|
|
245
|
-
?template: String,
|
|
246
|
-
?type: String?,
|
|
247
|
-
?variables: ::Array[Sentdm::TemplateVariable]?
|
|
248
|
-
) -> void
|
|
249
|
-
|
|
250
|
-
def to_hash: -> {
|
|
251
|
-
template: String,
|
|
252
|
-
type: String?,
|
|
253
|
-
variables: ::Array[Sentdm::TemplateVariable]?
|
|
254
|
-
}
|
|
255
|
-
end
|
|
256
43
|
end
|
|
257
44
|
end
|
|
258
45
|
end
|