sentdm 0.1.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 +18 -0
- data/README.md +96 -39
- data/lib/sentdm/client.rb +29 -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 -14
- data/rbi/sentdm/client.rbi +22 -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 +9 -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.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 -44
- 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.rb +0 -100
- data/lib/sentdm/resources/number_lookup.rb +0 -37
- data/lib/sentdm/resources/organizations/users.rb +0 -16
- data/lib/sentdm/resources/organizations.rb +0 -18
- 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.rbi +0 -149
- data/rbi/sentdm/resources/number_lookup.rbi +0 -24
- data/rbi/sentdm/resources/organizations/users.rbi +0 -14
- data/rbi/sentdm/resources/organizations.rbi +0 -15
- 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
- data/sig/sentdm/resources/organizations/users.rbs +0 -9
- data/sig/sentdm/resources/organizations.rbs +0 -9
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type profile_create_params =
|
|
4
|
+
{
|
|
5
|
+
allow_contact_sharing: bool,
|
|
6
|
+
allow_template_sharing: bool,
|
|
7
|
+
billing_model: String?,
|
|
8
|
+
description: String?,
|
|
9
|
+
icon: String?,
|
|
10
|
+
inherit_contacts: bool?,
|
|
11
|
+
inherit_tcr_brand: bool?,
|
|
12
|
+
inherit_tcr_campaign: bool?,
|
|
13
|
+
inherit_templates: bool?,
|
|
14
|
+
name: String,
|
|
15
|
+
short_name: String?,
|
|
16
|
+
test_mode: bool,
|
|
17
|
+
idempotency_key: String
|
|
18
|
+
}
|
|
19
|
+
& Sentdm::Internal::Type::request_parameters
|
|
20
|
+
|
|
21
|
+
class ProfileCreateParams < Sentdm::Internal::Type::BaseModel
|
|
22
|
+
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
23
|
+
include Sentdm::Internal::Type::RequestParameters
|
|
24
|
+
|
|
25
|
+
attr_reader allow_contact_sharing: bool?
|
|
26
|
+
|
|
27
|
+
def allow_contact_sharing=: (bool) -> bool
|
|
28
|
+
|
|
29
|
+
attr_reader allow_template_sharing: bool?
|
|
30
|
+
|
|
31
|
+
def allow_template_sharing=: (bool) -> bool
|
|
32
|
+
|
|
33
|
+
attr_accessor billing_model: String?
|
|
34
|
+
|
|
35
|
+
attr_accessor description: String?
|
|
36
|
+
|
|
37
|
+
attr_accessor icon: String?
|
|
38
|
+
|
|
39
|
+
attr_accessor inherit_contacts: bool?
|
|
40
|
+
|
|
41
|
+
attr_accessor inherit_tcr_brand: bool?
|
|
42
|
+
|
|
43
|
+
attr_accessor inherit_tcr_campaign: bool?
|
|
44
|
+
|
|
45
|
+
attr_accessor inherit_templates: bool?
|
|
46
|
+
|
|
47
|
+
attr_reader name: String?
|
|
48
|
+
|
|
49
|
+
def name=: (String) -> String
|
|
50
|
+
|
|
51
|
+
attr_accessor short_name: String?
|
|
52
|
+
|
|
53
|
+
attr_reader test_mode: bool?
|
|
54
|
+
|
|
55
|
+
def test_mode=: (bool) -> bool
|
|
56
|
+
|
|
57
|
+
attr_reader idempotency_key: String?
|
|
58
|
+
|
|
59
|
+
def idempotency_key=: (String) -> String
|
|
60
|
+
|
|
61
|
+
def initialize: (
|
|
62
|
+
?allow_contact_sharing: bool,
|
|
63
|
+
?allow_template_sharing: bool,
|
|
64
|
+
?billing_model: String?,
|
|
65
|
+
?description: String?,
|
|
66
|
+
?icon: String?,
|
|
67
|
+
?inherit_contacts: bool?,
|
|
68
|
+
?inherit_tcr_brand: bool?,
|
|
69
|
+
?inherit_tcr_campaign: bool?,
|
|
70
|
+
?inherit_templates: bool?,
|
|
71
|
+
?name: String,
|
|
72
|
+
?short_name: String?,
|
|
73
|
+
?test_mode: bool,
|
|
74
|
+
?idempotency_key: String,
|
|
75
|
+
?request_options: Sentdm::request_opts
|
|
76
|
+
) -> void
|
|
77
|
+
|
|
78
|
+
def to_hash: -> {
|
|
79
|
+
allow_contact_sharing: bool,
|
|
80
|
+
allow_template_sharing: bool,
|
|
81
|
+
billing_model: String?,
|
|
82
|
+
description: String?,
|
|
83
|
+
icon: String?,
|
|
84
|
+
inherit_contacts: bool?,
|
|
85
|
+
inherit_tcr_brand: bool?,
|
|
86
|
+
inherit_tcr_campaign: bool?,
|
|
87
|
+
inherit_templates: bool?,
|
|
88
|
+
name: String,
|
|
89
|
+
short_name: String?,
|
|
90
|
+
test_mode: bool,
|
|
91
|
+
idempotency_key: String,
|
|
92
|
+
request_options: Sentdm::RequestOptions
|
|
93
|
+
}
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type profile_delete_params =
|
|
4
|
+
{ body_profile_id: String, test_mode: bool }
|
|
5
|
+
& Sentdm::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class ProfileDeleteParams < Sentdm::Internal::Type::BaseModel
|
|
8
|
+
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Sentdm::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_reader body_profile_id: String?
|
|
12
|
+
|
|
13
|
+
def body_profile_id=: (String) -> String
|
|
14
|
+
|
|
15
|
+
attr_reader test_mode: bool?
|
|
16
|
+
|
|
17
|
+
def test_mode=: (bool) -> bool
|
|
18
|
+
|
|
19
|
+
def initialize: (
|
|
20
|
+
?body_profile_id: String,
|
|
21
|
+
?test_mode: bool,
|
|
22
|
+
?request_options: Sentdm::request_opts
|
|
23
|
+
) -> void
|
|
24
|
+
|
|
25
|
+
def to_hash: -> {
|
|
26
|
+
body_profile_id: String,
|
|
27
|
+
test_mode: bool,
|
|
28
|
+
request_options: Sentdm::RequestOptions
|
|
29
|
+
}
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type profile_detail =
|
|
4
|
+
{
|
|
5
|
+
id: String,
|
|
6
|
+
created_at: Time,
|
|
7
|
+
description: String?,
|
|
8
|
+
email: String?,
|
|
9
|
+
icon: String?,
|
|
10
|
+
name: String,
|
|
11
|
+
organization_id: String?,
|
|
12
|
+
settings: Sentdm::ProfileDetail::Settings,
|
|
13
|
+
short_name: String?,
|
|
14
|
+
status: String,
|
|
15
|
+
updated_at: Time?
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
class ProfileDetail < Sentdm::Internal::Type::BaseModel
|
|
19
|
+
attr_reader id: String?
|
|
20
|
+
|
|
21
|
+
def id=: (String) -> String
|
|
22
|
+
|
|
23
|
+
attr_reader created_at: Time?
|
|
24
|
+
|
|
25
|
+
def created_at=: (Time) -> Time
|
|
26
|
+
|
|
27
|
+
attr_accessor description: String?
|
|
28
|
+
|
|
29
|
+
attr_accessor email: String?
|
|
30
|
+
|
|
31
|
+
attr_accessor icon: String?
|
|
32
|
+
|
|
33
|
+
attr_reader name: String?
|
|
34
|
+
|
|
35
|
+
def name=: (String) -> String
|
|
36
|
+
|
|
37
|
+
attr_accessor organization_id: String?
|
|
38
|
+
|
|
39
|
+
attr_reader settings: Sentdm::ProfileDetail::Settings?
|
|
40
|
+
|
|
41
|
+
def settings=: (
|
|
42
|
+
Sentdm::ProfileDetail::Settings
|
|
43
|
+
) -> Sentdm::ProfileDetail::Settings
|
|
44
|
+
|
|
45
|
+
attr_accessor short_name: String?
|
|
46
|
+
|
|
47
|
+
attr_reader status: String?
|
|
48
|
+
|
|
49
|
+
def status=: (String) -> String
|
|
50
|
+
|
|
51
|
+
attr_accessor updated_at: Time?
|
|
52
|
+
|
|
53
|
+
def initialize: (
|
|
54
|
+
?id: String,
|
|
55
|
+
?created_at: Time,
|
|
56
|
+
?description: String?,
|
|
57
|
+
?email: String?,
|
|
58
|
+
?icon: String?,
|
|
59
|
+
?name: String,
|
|
60
|
+
?organization_id: String?,
|
|
61
|
+
?settings: Sentdm::ProfileDetail::Settings,
|
|
62
|
+
?short_name: String?,
|
|
63
|
+
?status: String,
|
|
64
|
+
?updated_at: Time?
|
|
65
|
+
) -> void
|
|
66
|
+
|
|
67
|
+
def to_hash: -> {
|
|
68
|
+
id: String,
|
|
69
|
+
created_at: Time,
|
|
70
|
+
description: String?,
|
|
71
|
+
email: String?,
|
|
72
|
+
icon: String?,
|
|
73
|
+
name: String,
|
|
74
|
+
organization_id: String?,
|
|
75
|
+
settings: Sentdm::ProfileDetail::Settings,
|
|
76
|
+
short_name: String?,
|
|
77
|
+
status: String,
|
|
78
|
+
updated_at: Time?
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
type settings =
|
|
82
|
+
{
|
|
83
|
+
allow_contact_sharing: bool,
|
|
84
|
+
allow_number_change_during_onboarding: bool?,
|
|
85
|
+
allow_template_sharing: bool,
|
|
86
|
+
billing_model: String,
|
|
87
|
+
inherit_contacts: bool,
|
|
88
|
+
inherit_tcr_brand: bool,
|
|
89
|
+
inherit_tcr_campaign: bool,
|
|
90
|
+
inherit_templates: bool,
|
|
91
|
+
sending_phone_number: String?,
|
|
92
|
+
sending_phone_number_profile_id: String?,
|
|
93
|
+
sending_whatsapp_number_profile_id: String?,
|
|
94
|
+
whatsapp_phone_number: String?
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
class Settings < Sentdm::Internal::Type::BaseModel
|
|
98
|
+
attr_reader allow_contact_sharing: bool?
|
|
99
|
+
|
|
100
|
+
def allow_contact_sharing=: (bool) -> bool
|
|
101
|
+
|
|
102
|
+
attr_accessor allow_number_change_during_onboarding: bool?
|
|
103
|
+
|
|
104
|
+
attr_reader allow_template_sharing: bool?
|
|
105
|
+
|
|
106
|
+
def allow_template_sharing=: (bool) -> bool
|
|
107
|
+
|
|
108
|
+
attr_reader billing_model: String?
|
|
109
|
+
|
|
110
|
+
def billing_model=: (String) -> String
|
|
111
|
+
|
|
112
|
+
attr_reader inherit_contacts: bool?
|
|
113
|
+
|
|
114
|
+
def inherit_contacts=: (bool) -> bool
|
|
115
|
+
|
|
116
|
+
attr_reader inherit_tcr_brand: bool?
|
|
117
|
+
|
|
118
|
+
def inherit_tcr_brand=: (bool) -> bool
|
|
119
|
+
|
|
120
|
+
attr_reader inherit_tcr_campaign: bool?
|
|
121
|
+
|
|
122
|
+
def inherit_tcr_campaign=: (bool) -> bool
|
|
123
|
+
|
|
124
|
+
attr_reader inherit_templates: bool?
|
|
125
|
+
|
|
126
|
+
def inherit_templates=: (bool) -> bool
|
|
127
|
+
|
|
128
|
+
attr_accessor sending_phone_number: String?
|
|
129
|
+
|
|
130
|
+
attr_accessor sending_phone_number_profile_id: String?
|
|
131
|
+
|
|
132
|
+
attr_accessor sending_whatsapp_number_profile_id: String?
|
|
133
|
+
|
|
134
|
+
attr_accessor whatsapp_phone_number: String?
|
|
135
|
+
|
|
136
|
+
def initialize: (
|
|
137
|
+
?allow_contact_sharing: bool,
|
|
138
|
+
?allow_number_change_during_onboarding: bool?,
|
|
139
|
+
?allow_template_sharing: bool,
|
|
140
|
+
?billing_model: String,
|
|
141
|
+
?inherit_contacts: bool,
|
|
142
|
+
?inherit_tcr_brand: bool,
|
|
143
|
+
?inherit_tcr_campaign: bool,
|
|
144
|
+
?inherit_templates: bool,
|
|
145
|
+
?sending_phone_number: String?,
|
|
146
|
+
?sending_phone_number_profile_id: String?,
|
|
147
|
+
?sending_whatsapp_number_profile_id: String?,
|
|
148
|
+
?whatsapp_phone_number: String?
|
|
149
|
+
) -> void
|
|
150
|
+
|
|
151
|
+
def to_hash: -> {
|
|
152
|
+
allow_contact_sharing: bool,
|
|
153
|
+
allow_number_change_during_onboarding: bool?,
|
|
154
|
+
allow_template_sharing: bool,
|
|
155
|
+
billing_model: String,
|
|
156
|
+
inherit_contacts: bool,
|
|
157
|
+
inherit_tcr_brand: bool,
|
|
158
|
+
inherit_tcr_campaign: bool,
|
|
159
|
+
inherit_templates: bool,
|
|
160
|
+
sending_phone_number: String?,
|
|
161
|
+
sending_phone_number_profile_id: String?,
|
|
162
|
+
sending_whatsapp_number_profile_id: String?,
|
|
163
|
+
whatsapp_phone_number: String?
|
|
164
|
+
}
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type profile_list_params = { } & Sentdm::Internal::Type::request_parameters
|
|
4
|
+
|
|
5
|
+
class ProfileListParams < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Sentdm::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
def initialize: (?request_options: Sentdm::request_opts) -> void
|
|
10
|
+
|
|
11
|
+
def to_hash: -> { request_options: Sentdm::RequestOptions }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type profile_list_response =
|
|
4
|
+
{
|
|
5
|
+
data: Sentdm::Models::ProfileListResponse::Data?,
|
|
6
|
+
error: Sentdm::APIError?,
|
|
7
|
+
meta: Sentdm::APIMeta,
|
|
8
|
+
success: bool
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class ProfileListResponse < Sentdm::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor data: Sentdm::Models::ProfileListResponse::Data?
|
|
13
|
+
|
|
14
|
+
attr_accessor error: Sentdm::APIError?
|
|
15
|
+
|
|
16
|
+
attr_reader meta: Sentdm::APIMeta?
|
|
17
|
+
|
|
18
|
+
def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
|
|
19
|
+
|
|
20
|
+
attr_reader success: bool?
|
|
21
|
+
|
|
22
|
+
def success=: (bool) -> bool
|
|
23
|
+
|
|
24
|
+
def initialize: (
|
|
25
|
+
?data: Sentdm::Models::ProfileListResponse::Data?,
|
|
26
|
+
?error: Sentdm::APIError?,
|
|
27
|
+
?meta: Sentdm::APIMeta,
|
|
28
|
+
?success: bool
|
|
29
|
+
) -> void
|
|
30
|
+
|
|
31
|
+
def to_hash: -> {
|
|
32
|
+
data: Sentdm::Models::ProfileListResponse::Data?,
|
|
33
|
+
error: Sentdm::APIError?,
|
|
34
|
+
meta: Sentdm::APIMeta,
|
|
35
|
+
success: bool
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
type data = { profiles: ::Array[Sentdm::ProfileDetail] }
|
|
39
|
+
|
|
40
|
+
class Data < Sentdm::Internal::Type::BaseModel
|
|
41
|
+
attr_reader profiles: ::Array[Sentdm::ProfileDetail]?
|
|
42
|
+
|
|
43
|
+
def profiles=: (
|
|
44
|
+
::Array[Sentdm::ProfileDetail]
|
|
45
|
+
) -> ::Array[Sentdm::ProfileDetail]
|
|
46
|
+
|
|
47
|
+
def initialize: (?profiles: ::Array[Sentdm::ProfileDetail]) -> void
|
|
48
|
+
|
|
49
|
+
def to_hash: -> { profiles: ::Array[Sentdm::ProfileDetail] }
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type profile_retrieve_params =
|
|
4
|
+
{ } & Sentdm::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class ProfileRetrieveParams < Sentdm::Internal::Type::BaseModel
|
|
7
|
+
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Sentdm::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def initialize: (?request_options: Sentdm::request_opts) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { request_options: Sentdm::RequestOptions }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type profile_settings =
|
|
4
|
+
{
|
|
5
|
+
allow_contact_sharing: bool?,
|
|
6
|
+
allow_template_sharing: bool?,
|
|
7
|
+
billing_model: String?,
|
|
8
|
+
inherit_contacts: bool?,
|
|
9
|
+
inherit_tcr_brand: bool?,
|
|
10
|
+
inherit_tcr_campaign: bool?,
|
|
11
|
+
inherit_templates: bool?
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class ProfileSettings < Sentdm::Internal::Type::BaseModel
|
|
15
|
+
attr_accessor allow_contact_sharing: bool?
|
|
16
|
+
|
|
17
|
+
attr_accessor allow_template_sharing: bool?
|
|
18
|
+
|
|
19
|
+
attr_accessor billing_model: String?
|
|
20
|
+
|
|
21
|
+
attr_accessor inherit_contacts: bool?
|
|
22
|
+
|
|
23
|
+
attr_accessor inherit_tcr_brand: bool?
|
|
24
|
+
|
|
25
|
+
attr_accessor inherit_tcr_campaign: bool?
|
|
26
|
+
|
|
27
|
+
attr_accessor inherit_templates: bool?
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
?allow_contact_sharing: bool?,
|
|
31
|
+
?allow_template_sharing: bool?,
|
|
32
|
+
?billing_model: String?,
|
|
33
|
+
?inherit_contacts: bool?,
|
|
34
|
+
?inherit_tcr_brand: bool?,
|
|
35
|
+
?inherit_tcr_campaign: bool?,
|
|
36
|
+
?inherit_templates: bool?
|
|
37
|
+
) -> void
|
|
38
|
+
|
|
39
|
+
def to_hash: -> {
|
|
40
|
+
allow_contact_sharing: bool?,
|
|
41
|
+
allow_template_sharing: bool?,
|
|
42
|
+
billing_model: String?,
|
|
43
|
+
inherit_contacts: bool?,
|
|
44
|
+
inherit_tcr_brand: bool?,
|
|
45
|
+
inherit_tcr_campaign: bool?,
|
|
46
|
+
inherit_templates: bool?
|
|
47
|
+
}
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type profile_update_params =
|
|
4
|
+
{
|
|
5
|
+
allow_contact_sharing: bool?,
|
|
6
|
+
allow_number_change_during_onboarding: bool?,
|
|
7
|
+
allow_template_sharing: bool?,
|
|
8
|
+
billing_model: String?,
|
|
9
|
+
description: String?,
|
|
10
|
+
icon: String?,
|
|
11
|
+
inherit_contacts: bool?,
|
|
12
|
+
inherit_tcr_brand: bool?,
|
|
13
|
+
inherit_tcr_campaign: bool?,
|
|
14
|
+
inherit_templates: bool?,
|
|
15
|
+
name: String?,
|
|
16
|
+
body_profile_id: String,
|
|
17
|
+
sending_phone_number: String?,
|
|
18
|
+
sending_phone_number_profile_id: String?,
|
|
19
|
+
sending_whatsapp_number_profile_id: String?,
|
|
20
|
+
short_name: String?,
|
|
21
|
+
test_mode: bool,
|
|
22
|
+
whatsapp_phone_number: String?,
|
|
23
|
+
idempotency_key: String
|
|
24
|
+
}
|
|
25
|
+
& Sentdm::Internal::Type::request_parameters
|
|
26
|
+
|
|
27
|
+
class ProfileUpdateParams < Sentdm::Internal::Type::BaseModel
|
|
28
|
+
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
29
|
+
include Sentdm::Internal::Type::RequestParameters
|
|
30
|
+
|
|
31
|
+
attr_accessor allow_contact_sharing: bool?
|
|
32
|
+
|
|
33
|
+
attr_accessor allow_number_change_during_onboarding: bool?
|
|
34
|
+
|
|
35
|
+
attr_accessor allow_template_sharing: bool?
|
|
36
|
+
|
|
37
|
+
attr_accessor billing_model: String?
|
|
38
|
+
|
|
39
|
+
attr_accessor description: String?
|
|
40
|
+
|
|
41
|
+
attr_accessor icon: String?
|
|
42
|
+
|
|
43
|
+
attr_accessor inherit_contacts: bool?
|
|
44
|
+
|
|
45
|
+
attr_accessor inherit_tcr_brand: bool?
|
|
46
|
+
|
|
47
|
+
attr_accessor inherit_tcr_campaign: bool?
|
|
48
|
+
|
|
49
|
+
attr_accessor inherit_templates: bool?
|
|
50
|
+
|
|
51
|
+
attr_accessor name: String?
|
|
52
|
+
|
|
53
|
+
attr_reader body_profile_id: String?
|
|
54
|
+
|
|
55
|
+
def body_profile_id=: (String) -> String
|
|
56
|
+
|
|
57
|
+
attr_accessor sending_phone_number: String?
|
|
58
|
+
|
|
59
|
+
attr_accessor sending_phone_number_profile_id: String?
|
|
60
|
+
|
|
61
|
+
attr_accessor sending_whatsapp_number_profile_id: String?
|
|
62
|
+
|
|
63
|
+
attr_accessor short_name: String?
|
|
64
|
+
|
|
65
|
+
attr_reader test_mode: bool?
|
|
66
|
+
|
|
67
|
+
def test_mode=: (bool) -> bool
|
|
68
|
+
|
|
69
|
+
attr_accessor whatsapp_phone_number: String?
|
|
70
|
+
|
|
71
|
+
attr_reader idempotency_key: String?
|
|
72
|
+
|
|
73
|
+
def idempotency_key=: (String) -> String
|
|
74
|
+
|
|
75
|
+
def initialize: (
|
|
76
|
+
?allow_contact_sharing: bool?,
|
|
77
|
+
?allow_number_change_during_onboarding: bool?,
|
|
78
|
+
?allow_template_sharing: bool?,
|
|
79
|
+
?billing_model: String?,
|
|
80
|
+
?description: String?,
|
|
81
|
+
?icon: String?,
|
|
82
|
+
?inherit_contacts: bool?,
|
|
83
|
+
?inherit_tcr_brand: bool?,
|
|
84
|
+
?inherit_tcr_campaign: bool?,
|
|
85
|
+
?inherit_templates: bool?,
|
|
86
|
+
?name: String?,
|
|
87
|
+
?body_profile_id: String,
|
|
88
|
+
?sending_phone_number: String?,
|
|
89
|
+
?sending_phone_number_profile_id: String?,
|
|
90
|
+
?sending_whatsapp_number_profile_id: String?,
|
|
91
|
+
?short_name: String?,
|
|
92
|
+
?test_mode: bool,
|
|
93
|
+
?whatsapp_phone_number: String?,
|
|
94
|
+
?idempotency_key: String,
|
|
95
|
+
?request_options: Sentdm::request_opts
|
|
96
|
+
) -> void
|
|
97
|
+
|
|
98
|
+
def to_hash: -> {
|
|
99
|
+
allow_contact_sharing: bool?,
|
|
100
|
+
allow_number_change_during_onboarding: bool?,
|
|
101
|
+
allow_template_sharing: bool?,
|
|
102
|
+
billing_model: String?,
|
|
103
|
+
description: String?,
|
|
104
|
+
icon: String?,
|
|
105
|
+
inherit_contacts: bool?,
|
|
106
|
+
inherit_tcr_brand: bool?,
|
|
107
|
+
inherit_tcr_campaign: bool?,
|
|
108
|
+
inherit_templates: bool?,
|
|
109
|
+
name: String?,
|
|
110
|
+
body_profile_id: String,
|
|
111
|
+
sending_phone_number: String?,
|
|
112
|
+
sending_phone_number_profile_id: String?,
|
|
113
|
+
sending_whatsapp_number_profile_id: String?,
|
|
114
|
+
short_name: String?,
|
|
115
|
+
test_mode: bool,
|
|
116
|
+
whatsapp_phone_number: String?,
|
|
117
|
+
idempotency_key: String,
|
|
118
|
+
request_options: Sentdm::RequestOptions
|
|
119
|
+
}
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type sent_dm_services_common_contracts_poc_os_authentication_config =
|
|
4
|
+
{ add_security_recommendation: bool, code_expiration_minutes: Integer? }
|
|
5
|
+
|
|
6
|
+
class SentDmServicesCommonContractsPocOsAuthenticationConfig < Sentdm::Internal::Type::BaseModel
|
|
7
|
+
attr_reader add_security_recommendation: bool?
|
|
8
|
+
|
|
9
|
+
def add_security_recommendation=: (bool) -> bool
|
|
10
|
+
|
|
11
|
+
attr_accessor code_expiration_minutes: Integer?
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
?add_security_recommendation: bool,
|
|
15
|
+
?code_expiration_minutes: Integer?
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
add_security_recommendation: bool,
|
|
20
|
+
code_expiration_minutes: Integer?
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type sent_dm_services_common_contracts_poc_os_template_body =
|
|
4
|
+
{
|
|
5
|
+
multi_channel: Sentdm::TemplateBodyContent?,
|
|
6
|
+
sms: Sentdm::TemplateBodyContent?,
|
|
7
|
+
whatsapp: Sentdm::TemplateBodyContent?
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class SentDmServicesCommonContractsPocOsTemplateBody < Sentdm::Internal::Type::BaseModel
|
|
11
|
+
attr_accessor multi_channel: Sentdm::TemplateBodyContent?
|
|
12
|
+
|
|
13
|
+
attr_accessor sms: Sentdm::TemplateBodyContent?
|
|
14
|
+
|
|
15
|
+
attr_accessor whatsapp: Sentdm::TemplateBodyContent?
|
|
16
|
+
|
|
17
|
+
def initialize: (
|
|
18
|
+
?multi_channel: Sentdm::TemplateBodyContent?,
|
|
19
|
+
?sms: Sentdm::TemplateBodyContent?,
|
|
20
|
+
?whatsapp: Sentdm::TemplateBodyContent?
|
|
21
|
+
) -> void
|
|
22
|
+
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
multi_channel: Sentdm::TemplateBodyContent?,
|
|
25
|
+
sms: Sentdm::TemplateBodyContent?,
|
|
26
|
+
whatsapp: Sentdm::TemplateBodyContent?
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type sent_dm_services_common_contracts_poc_os_template_button =
|
|
4
|
+
{
|
|
5
|
+
id: Integer,
|
|
6
|
+
props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps,
|
|
7
|
+
type: String
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class SentDmServicesCommonContractsPocOsTemplateButton < Sentdm::Internal::Type::BaseModel
|
|
11
|
+
attr_reader id: Integer?
|
|
12
|
+
|
|
13
|
+
def id=: (Integer) -> Integer
|
|
14
|
+
|
|
15
|
+
attr_reader props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps?
|
|
16
|
+
|
|
17
|
+
def props=: (
|
|
18
|
+
Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps
|
|
19
|
+
) -> Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps
|
|
20
|
+
|
|
21
|
+
attr_reader type: String?
|
|
22
|
+
|
|
23
|
+
def type=: (String) -> String
|
|
24
|
+
|
|
25
|
+
def initialize: (
|
|
26
|
+
?id: Integer,
|
|
27
|
+
?props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps,
|
|
28
|
+
?type: String
|
|
29
|
+
) -> void
|
|
30
|
+
|
|
31
|
+
def to_hash: -> {
|
|
32
|
+
id: Integer,
|
|
33
|
+
props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps,
|
|
34
|
+
type: String
|
|
35
|
+
}
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|