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
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type webhook_update_response =
|
|
4
|
+
{
|
|
5
|
+
data: Sentdm::Models::WebhookUpdateResponse::Data?,
|
|
6
|
+
error: Sentdm::Models::WebhookUpdateResponse::Error?,
|
|
7
|
+
meta: Sentdm::Models::WebhookUpdateResponse::Meta,
|
|
8
|
+
success: bool
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class WebhookUpdateResponse < Sentdm::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor data: Sentdm::Models::WebhookUpdateResponse::Data?
|
|
13
|
+
|
|
14
|
+
attr_accessor error: Sentdm::Models::WebhookUpdateResponse::Error?
|
|
15
|
+
|
|
16
|
+
attr_reader meta: Sentdm::Models::WebhookUpdateResponse::Meta?
|
|
17
|
+
|
|
18
|
+
def meta=: (
|
|
19
|
+
Sentdm::Models::WebhookUpdateResponse::Meta
|
|
20
|
+
) -> Sentdm::Models::WebhookUpdateResponse::Meta
|
|
21
|
+
|
|
22
|
+
attr_reader success: bool?
|
|
23
|
+
|
|
24
|
+
def success=: (bool) -> bool
|
|
25
|
+
|
|
26
|
+
def initialize: (
|
|
27
|
+
?data: Sentdm::Models::WebhookUpdateResponse::Data?,
|
|
28
|
+
?error: Sentdm::Models::WebhookUpdateResponse::Error?,
|
|
29
|
+
?meta: Sentdm::Models::WebhookUpdateResponse::Meta,
|
|
30
|
+
?success: bool
|
|
31
|
+
) -> void
|
|
32
|
+
|
|
33
|
+
def to_hash: -> {
|
|
34
|
+
data: Sentdm::Models::WebhookUpdateResponse::Data?,
|
|
35
|
+
error: Sentdm::Models::WebhookUpdateResponse::Error?,
|
|
36
|
+
meta: Sentdm::Models::WebhookUpdateResponse::Meta,
|
|
37
|
+
success: bool
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
type data =
|
|
41
|
+
{
|
|
42
|
+
id: String,
|
|
43
|
+
consecutive_failures: Integer,
|
|
44
|
+
created_at: Time,
|
|
45
|
+
display_name: String,
|
|
46
|
+
endpoint_url: String,
|
|
47
|
+
event_filters: ::Hash[Symbol, ::Array[String]]?,
|
|
48
|
+
event_types: ::Array[String],
|
|
49
|
+
is_active: bool,
|
|
50
|
+
last_delivery_attempt_at: Time?,
|
|
51
|
+
last_successful_delivery_at: Time?,
|
|
52
|
+
retry_count: Integer,
|
|
53
|
+
signing_secret: String?,
|
|
54
|
+
timeout_seconds: Integer,
|
|
55
|
+
updated_at: Time?
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
class Data < Sentdm::Internal::Type::BaseModel
|
|
59
|
+
attr_reader id: String?
|
|
60
|
+
|
|
61
|
+
def id=: (String) -> String
|
|
62
|
+
|
|
63
|
+
attr_reader consecutive_failures: Integer?
|
|
64
|
+
|
|
65
|
+
def consecutive_failures=: (Integer) -> Integer
|
|
66
|
+
|
|
67
|
+
attr_reader created_at: Time?
|
|
68
|
+
|
|
69
|
+
def created_at=: (Time) -> Time
|
|
70
|
+
|
|
71
|
+
attr_reader display_name: String?
|
|
72
|
+
|
|
73
|
+
def display_name=: (String) -> String
|
|
74
|
+
|
|
75
|
+
attr_reader endpoint_url: String?
|
|
76
|
+
|
|
77
|
+
def endpoint_url=: (String) -> String
|
|
78
|
+
|
|
79
|
+
attr_accessor event_filters: ::Hash[Symbol, ::Array[String]]?
|
|
80
|
+
|
|
81
|
+
attr_reader event_types: ::Array[String]?
|
|
82
|
+
|
|
83
|
+
def event_types=: (::Array[String]) -> ::Array[String]
|
|
84
|
+
|
|
85
|
+
attr_reader is_active: bool?
|
|
86
|
+
|
|
87
|
+
def is_active=: (bool) -> bool
|
|
88
|
+
|
|
89
|
+
attr_accessor last_delivery_attempt_at: Time?
|
|
90
|
+
|
|
91
|
+
attr_accessor last_successful_delivery_at: Time?
|
|
92
|
+
|
|
93
|
+
attr_reader retry_count: Integer?
|
|
94
|
+
|
|
95
|
+
def retry_count=: (Integer) -> Integer
|
|
96
|
+
|
|
97
|
+
attr_accessor signing_secret: String?
|
|
98
|
+
|
|
99
|
+
attr_reader timeout_seconds: Integer?
|
|
100
|
+
|
|
101
|
+
def timeout_seconds=: (Integer) -> Integer
|
|
102
|
+
|
|
103
|
+
attr_accessor updated_at: Time?
|
|
104
|
+
|
|
105
|
+
def initialize: (
|
|
106
|
+
?id: String,
|
|
107
|
+
?consecutive_failures: Integer,
|
|
108
|
+
?created_at: Time,
|
|
109
|
+
?display_name: String,
|
|
110
|
+
?endpoint_url: String,
|
|
111
|
+
?event_filters: ::Hash[Symbol, ::Array[String]]?,
|
|
112
|
+
?event_types: ::Array[String],
|
|
113
|
+
?is_active: bool,
|
|
114
|
+
?last_delivery_attempt_at: Time?,
|
|
115
|
+
?last_successful_delivery_at: Time?,
|
|
116
|
+
?retry_count: Integer,
|
|
117
|
+
?signing_secret: String?,
|
|
118
|
+
?timeout_seconds: Integer,
|
|
119
|
+
?updated_at: Time?
|
|
120
|
+
) -> void
|
|
121
|
+
|
|
122
|
+
def to_hash: -> {
|
|
123
|
+
id: String,
|
|
124
|
+
consecutive_failures: Integer,
|
|
125
|
+
created_at: Time,
|
|
126
|
+
display_name: String,
|
|
127
|
+
endpoint_url: String,
|
|
128
|
+
event_filters: ::Hash[Symbol, ::Array[String]]?,
|
|
129
|
+
event_types: ::Array[String],
|
|
130
|
+
is_active: bool,
|
|
131
|
+
last_delivery_attempt_at: Time?,
|
|
132
|
+
last_successful_delivery_at: Time?,
|
|
133
|
+
retry_count: Integer,
|
|
134
|
+
signing_secret: String?,
|
|
135
|
+
timeout_seconds: Integer,
|
|
136
|
+
updated_at: Time?
|
|
137
|
+
}
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
type error =
|
|
141
|
+
{
|
|
142
|
+
code: String,
|
|
143
|
+
details: ::Hash[Symbol, ::Array[String]]?,
|
|
144
|
+
doc_url: String?,
|
|
145
|
+
message: String
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
class Error < Sentdm::Internal::Type::BaseModel
|
|
149
|
+
attr_reader code: String?
|
|
150
|
+
|
|
151
|
+
def code=: (String) -> String
|
|
152
|
+
|
|
153
|
+
attr_accessor details: ::Hash[Symbol, ::Array[String]]?
|
|
154
|
+
|
|
155
|
+
attr_accessor doc_url: String?
|
|
156
|
+
|
|
157
|
+
attr_reader message: String?
|
|
158
|
+
|
|
159
|
+
def message=: (String) -> String
|
|
160
|
+
|
|
161
|
+
def initialize: (
|
|
162
|
+
?code: String,
|
|
163
|
+
?details: ::Hash[Symbol, ::Array[String]]?,
|
|
164
|
+
?doc_url: String?,
|
|
165
|
+
?message: String
|
|
166
|
+
) -> void
|
|
167
|
+
|
|
168
|
+
def to_hash: -> {
|
|
169
|
+
code: String,
|
|
170
|
+
details: ::Hash[Symbol, ::Array[String]]?,
|
|
171
|
+
doc_url: String?,
|
|
172
|
+
message: String
|
|
173
|
+
}
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
type meta = { request_id: String, timestamp: Time, version: String }
|
|
177
|
+
|
|
178
|
+
class Meta < Sentdm::Internal::Type::BaseModel
|
|
179
|
+
attr_reader request_id: String?
|
|
180
|
+
|
|
181
|
+
def request_id=: (String) -> String
|
|
182
|
+
|
|
183
|
+
attr_reader timestamp: Time?
|
|
184
|
+
|
|
185
|
+
def timestamp=: (Time) -> Time
|
|
186
|
+
|
|
187
|
+
attr_reader version: String?
|
|
188
|
+
|
|
189
|
+
def version=: (String) -> String
|
|
190
|
+
|
|
191
|
+
def initialize: (
|
|
192
|
+
?request_id: String,
|
|
193
|
+
?timestamp: Time,
|
|
194
|
+
?version: String
|
|
195
|
+
) -> void
|
|
196
|
+
|
|
197
|
+
def to_hash: -> { request_id: String, timestamp: Time, version: String }
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
end
|
data/sig/sentdm/models.rbs
CHANGED
|
@@ -1,36 +1,14 @@
|
|
|
1
1
|
module Sentdm
|
|
2
|
-
class APIMeta = Sentdm::Models::APIMeta
|
|
3
|
-
|
|
4
|
-
class APIResponseOfContact = Sentdm::Models::APIResponseOfContact
|
|
5
|
-
|
|
6
|
-
class APIResponseOfProfileDetail = Sentdm::Models::APIResponseOfProfileDetail
|
|
7
|
-
|
|
8
|
-
class APIResponseOfUser = Sentdm::Models::APIResponseOfUser
|
|
9
|
-
|
|
10
|
-
class APIResponseTemplate = Sentdm::Models::APIResponseTemplate
|
|
11
|
-
|
|
12
|
-
class APIResponseWebhook = Sentdm::Models::APIResponseWebhook
|
|
13
|
-
|
|
14
|
-
class BillingContactInfo = Sentdm::Models::BillingContactInfo
|
|
15
|
-
|
|
16
|
-
class BrandsBrandData = Sentdm::Models::BrandsBrandData
|
|
17
|
-
|
|
18
2
|
class ContactCreateParams = Sentdm::Models::ContactCreateParams
|
|
19
3
|
|
|
20
4
|
class ContactDeleteParams = Sentdm::Models::ContactDeleteParams
|
|
21
5
|
|
|
22
6
|
class ContactListParams = Sentdm::Models::ContactListParams
|
|
23
7
|
|
|
24
|
-
class ContactResponse = Sentdm::Models::ContactResponse
|
|
25
|
-
|
|
26
8
|
class ContactRetrieveParams = Sentdm::Models::ContactRetrieveParams
|
|
27
9
|
|
|
28
10
|
class ContactUpdateParams = Sentdm::Models::ContactUpdateParams
|
|
29
11
|
|
|
30
|
-
class DestinationCountry = Sentdm::Models::DestinationCountry
|
|
31
|
-
|
|
32
|
-
class ErrorDetail = Sentdm::Models::ErrorDetail
|
|
33
|
-
|
|
34
12
|
class MeRetrieveParams = Sentdm::Models::MeRetrieveParams
|
|
35
13
|
|
|
36
14
|
class MessageRetrieveActivitiesParams = Sentdm::Models::MessageRetrieveActivitiesParams
|
|
@@ -39,62 +17,24 @@ module Sentdm
|
|
|
39
17
|
|
|
40
18
|
class MessageSendParams = Sentdm::Models::MessageSendParams
|
|
41
19
|
|
|
42
|
-
class MutationRequest = Sentdm::Models::MutationRequest
|
|
43
|
-
|
|
44
20
|
class NumberLookupParams = Sentdm::Models::NumberLookupParams
|
|
45
21
|
|
|
46
|
-
class PaginationMeta = Sentdm::Models::PaginationMeta
|
|
47
|
-
|
|
48
|
-
class PaymentDetails = Sentdm::Models::PaymentDetails
|
|
49
|
-
|
|
50
22
|
class ProfileCompleteParams = Sentdm::Models::ProfileCompleteParams
|
|
51
23
|
|
|
52
24
|
class ProfileCreateParams = Sentdm::Models::ProfileCreateParams
|
|
53
25
|
|
|
54
26
|
class ProfileDeleteParams = Sentdm::Models::ProfileDeleteParams
|
|
55
27
|
|
|
56
|
-
class ProfileDetail = Sentdm::Models::ProfileDetail
|
|
57
|
-
|
|
58
28
|
class ProfileListParams = Sentdm::Models::ProfileListParams
|
|
59
29
|
|
|
60
30
|
class ProfileRetrieveParams = Sentdm::Models::ProfileRetrieveParams
|
|
61
31
|
|
|
62
32
|
module Profiles = Sentdm::Models::Profiles
|
|
63
33
|
|
|
64
|
-
class ProfileSettings = Sentdm::Models::ProfileSettings
|
|
65
|
-
|
|
66
34
|
class ProfileUpdateParams = Sentdm::Models::ProfileUpdateParams
|
|
67
35
|
|
|
68
|
-
class SentDmServicesCommonContractsPocOsAuthenticationConfig = Sentdm::Models::SentDmServicesCommonContractsPocOsAuthenticationConfig
|
|
69
|
-
|
|
70
|
-
class SentDmServicesCommonContractsPocOsTemplateBody = Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateBody
|
|
71
|
-
|
|
72
|
-
class SentDmServicesCommonContractsPocOsTemplateButton = Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateButton
|
|
73
|
-
|
|
74
|
-
class SentDmServicesCommonContractsPocOsTemplateButtonProps = Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateButtonProps
|
|
75
|
-
|
|
76
|
-
class SentDmServicesCommonContractsPocOsTemplateFooter = Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateFooter
|
|
77
|
-
|
|
78
|
-
class SentDmServicesCommonContractsPocOsTemplateHeader = Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateHeader
|
|
79
|
-
|
|
80
|
-
class SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo = Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo
|
|
81
|
-
|
|
82
|
-
class SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo = Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo
|
|
83
|
-
|
|
84
|
-
class SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo = Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo
|
|
85
|
-
|
|
86
|
-
module TcrBrandRelationship = Sentdm::Models::TcrBrandRelationship
|
|
87
|
-
|
|
88
|
-
module TcrVertical = Sentdm::Models::TcrVertical
|
|
89
|
-
|
|
90
|
-
class Template = Sentdm::Models::Template
|
|
91
|
-
|
|
92
|
-
class TemplateBodyContent = Sentdm::Models::TemplateBodyContent
|
|
93
|
-
|
|
94
36
|
class TemplateCreateParams = Sentdm::Models::TemplateCreateParams
|
|
95
37
|
|
|
96
|
-
class TemplateDefinition = Sentdm::Models::TemplateDefinition
|
|
97
|
-
|
|
98
38
|
class TemplateDeleteParams = Sentdm::Models::TemplateDeleteParams
|
|
99
39
|
|
|
100
40
|
class TemplateListParams = Sentdm::Models::TemplateListParams
|
|
@@ -103,16 +43,12 @@ module Sentdm
|
|
|
103
43
|
|
|
104
44
|
class TemplateUpdateParams = Sentdm::Models::TemplateUpdateParams
|
|
105
45
|
|
|
106
|
-
class TemplateVariable = Sentdm::Models::TemplateVariable
|
|
107
|
-
|
|
108
46
|
class UserInviteParams = Sentdm::Models::UserInviteParams
|
|
109
47
|
|
|
110
48
|
class UserListParams = Sentdm::Models::UserListParams
|
|
111
49
|
|
|
112
50
|
class UserRemoveParams = Sentdm::Models::UserRemoveParams
|
|
113
51
|
|
|
114
|
-
class UserResponse = Sentdm::Models::UserResponse
|
|
115
|
-
|
|
116
52
|
class UserRetrieveParams = Sentdm::Models::UserRetrieveParams
|
|
117
53
|
|
|
118
54
|
class UserUpdateRoleParams = Sentdm::Models::UserUpdateRoleParams
|
|
@@ -121,16 +57,12 @@ module Sentdm
|
|
|
121
57
|
|
|
122
58
|
class WebhookDeleteParams = Sentdm::Models::WebhookDeleteParams
|
|
123
59
|
|
|
124
|
-
class WebhookEventType = Sentdm::Models::WebhookEventType
|
|
125
|
-
|
|
126
60
|
class WebhookListEventsParams = Sentdm::Models::WebhookListEventsParams
|
|
127
61
|
|
|
128
62
|
class WebhookListEventTypesParams = Sentdm::Models::WebhookListEventTypesParams
|
|
129
63
|
|
|
130
64
|
class WebhookListParams = Sentdm::Models::WebhookListParams
|
|
131
65
|
|
|
132
|
-
class WebhookResponse = Sentdm::Models::WebhookResponse
|
|
133
|
-
|
|
134
66
|
class WebhookRetrieveParams = Sentdm::Models::WebhookRetrieveParams
|
|
135
67
|
|
|
136
68
|
class WebhookRotateSecretParams = Sentdm::Models::WebhookRotateSecretParams
|
|
@@ -7,24 +7,23 @@ module Sentdm
|
|
|
7
7
|
?idempotency_key: String,
|
|
8
8
|
?x_profile_id: String,
|
|
9
9
|
?request_options: Sentdm::request_opts
|
|
10
|
-
) -> Sentdm::
|
|
10
|
+
) -> Sentdm::Models::ContactCreateResponse
|
|
11
11
|
|
|
12
12
|
def retrieve: (
|
|
13
13
|
String id,
|
|
14
14
|
?x_profile_id: String,
|
|
15
15
|
?request_options: Sentdm::request_opts
|
|
16
|
-
) -> Sentdm::
|
|
16
|
+
) -> Sentdm::Models::ContactRetrieveResponse
|
|
17
17
|
|
|
18
18
|
def update: (
|
|
19
19
|
String id,
|
|
20
|
-
?channel_consent: ::Hash[Symbol, String]?,
|
|
21
20
|
?default_channel: String?,
|
|
22
21
|
?opt_out: bool?,
|
|
23
22
|
?sandbox: bool,
|
|
24
23
|
?idempotency_key: String,
|
|
25
24
|
?x_profile_id: String,
|
|
26
25
|
?request_options: Sentdm::request_opts
|
|
27
|
-
) -> Sentdm::
|
|
26
|
+
) -> Sentdm::Models::ContactUpdateResponse
|
|
28
27
|
|
|
29
28
|
def list: (
|
|
30
29
|
page: Integer,
|
|
@@ -4,22 +4,22 @@ module Sentdm
|
|
|
4
4
|
class Campaigns
|
|
5
5
|
def create: (
|
|
6
6
|
String profile_id,
|
|
7
|
-
campaign: Sentdm::Profiles::
|
|
7
|
+
campaign: Sentdm::Profiles::CampaignCreateParams::Campaign,
|
|
8
8
|
?sandbox: bool,
|
|
9
9
|
?idempotency_key: String,
|
|
10
10
|
?x_profile_id: String,
|
|
11
11
|
?request_options: Sentdm::request_opts
|
|
12
|
-
) -> Sentdm::Profiles::
|
|
12
|
+
) -> Sentdm::Models::Profiles::CampaignCreateResponse
|
|
13
13
|
|
|
14
14
|
def update: (
|
|
15
15
|
String campaign_id,
|
|
16
16
|
profile_id: String,
|
|
17
|
-
campaign: Sentdm::Profiles::
|
|
17
|
+
campaign: Sentdm::Profiles::CampaignUpdateParams::Campaign,
|
|
18
18
|
?sandbox: bool,
|
|
19
19
|
?idempotency_key: String,
|
|
20
20
|
?x_profile_id: String,
|
|
21
21
|
?request_options: Sentdm::request_opts
|
|
22
|
-
) -> Sentdm::Profiles::
|
|
22
|
+
) -> Sentdm::Models::Profiles::CampaignUpdateResponse
|
|
23
23
|
|
|
24
24
|
def list: (
|
|
25
25
|
String profile_id,
|
|
@@ -6,9 +6,9 @@ module Sentdm
|
|
|
6
6
|
def create: (
|
|
7
7
|
?allow_contact_sharing: bool,
|
|
8
8
|
?allow_template_sharing: bool,
|
|
9
|
-
?billing_contact: Sentdm::
|
|
9
|
+
?billing_contact: Sentdm::ProfileCreateParams::BillingContact?,
|
|
10
10
|
?billing_model: String?,
|
|
11
|
-
?brand: Sentdm::
|
|
11
|
+
?brand: Sentdm::ProfileCreateParams::Brand?,
|
|
12
12
|
?description: String?,
|
|
13
13
|
?icon: String?,
|
|
14
14
|
?inherit_contacts: bool?,
|
|
@@ -16,29 +16,29 @@ module Sentdm
|
|
|
16
16
|
?inherit_tcr_campaign: bool?,
|
|
17
17
|
?inherit_templates: bool?,
|
|
18
18
|
?name: String,
|
|
19
|
-
?payment_details: Sentdm::PaymentDetails?,
|
|
19
|
+
?payment_details: Sentdm::ProfileCreateParams::PaymentDetails?,
|
|
20
20
|
?sandbox: bool,
|
|
21
21
|
?short_name: String?,
|
|
22
22
|
?whatsapp_business_account: Sentdm::ProfileCreateParams::WhatsappBusinessAccount?,
|
|
23
23
|
?idempotency_key: String,
|
|
24
24
|
?x_profile_id: String,
|
|
25
25
|
?request_options: Sentdm::request_opts
|
|
26
|
-
) -> Sentdm::
|
|
26
|
+
) -> Sentdm::Models::ProfileCreateResponse
|
|
27
27
|
|
|
28
28
|
def retrieve: (
|
|
29
29
|
String profile_id,
|
|
30
30
|
?x_profile_id: String,
|
|
31
31
|
?request_options: Sentdm::request_opts
|
|
32
|
-
) -> Sentdm::
|
|
32
|
+
) -> Sentdm::Models::ProfileRetrieveResponse
|
|
33
33
|
|
|
34
34
|
def update: (
|
|
35
35
|
String profile_id,
|
|
36
36
|
?allow_contact_sharing: bool?,
|
|
37
37
|
?allow_number_change_during_onboarding: bool?,
|
|
38
38
|
?allow_template_sharing: bool?,
|
|
39
|
-
?billing_contact: Sentdm::
|
|
39
|
+
?billing_contact: Sentdm::ProfileUpdateParams::BillingContact?,
|
|
40
40
|
?billing_model: String?,
|
|
41
|
-
?brand: Sentdm::
|
|
41
|
+
?brand: Sentdm::ProfileUpdateParams::Brand?,
|
|
42
42
|
?description: String?,
|
|
43
43
|
?icon: String?,
|
|
44
44
|
?inherit_contacts: bool?,
|
|
@@ -46,7 +46,7 @@ module Sentdm
|
|
|
46
46
|
?inherit_tcr_campaign: bool?,
|
|
47
47
|
?inherit_templates: bool?,
|
|
48
48
|
?name: String?,
|
|
49
|
-
?payment_details: Sentdm::PaymentDetails?,
|
|
49
|
+
?payment_details: Sentdm::ProfileUpdateParams::PaymentDetails?,
|
|
50
50
|
?sandbox: bool,
|
|
51
51
|
?sending_phone_number: String?,
|
|
52
52
|
?sending_phone_number_profile_id: String?,
|
|
@@ -56,7 +56,7 @@ module Sentdm
|
|
|
56
56
|
?idempotency_key: String,
|
|
57
57
|
?x_profile_id: String,
|
|
58
58
|
?request_options: Sentdm::request_opts
|
|
59
|
-
) -> Sentdm::
|
|
59
|
+
) -> Sentdm::Models::ProfileUpdateResponse
|
|
60
60
|
|
|
61
61
|
def list: (
|
|
62
62
|
?x_profile_id: String,
|
|
@@ -4,25 +4,25 @@ module Sentdm
|
|
|
4
4
|
def create: (
|
|
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,
|
|
11
11
|
?idempotency_key: String,
|
|
12
12
|
?x_profile_id: String,
|
|
13
13
|
?request_options: Sentdm::request_opts
|
|
14
|
-
) -> Sentdm::
|
|
14
|
+
) -> Sentdm::Models::TemplateCreateResponse
|
|
15
15
|
|
|
16
16
|
def retrieve: (
|
|
17
17
|
String id,
|
|
18
18
|
?x_profile_id: String,
|
|
19
19
|
?request_options: Sentdm::request_opts
|
|
20
|
-
) -> Sentdm::
|
|
20
|
+
) -> Sentdm::Models::TemplateRetrieveResponse
|
|
21
21
|
|
|
22
22
|
def update: (
|
|
23
23
|
String id,
|
|
24
24
|
?category: String?,
|
|
25
|
-
?definition: Sentdm::
|
|
25
|
+
?definition: Sentdm::TemplateUpdateParams::Definition?,
|
|
26
26
|
?language: String?,
|
|
27
27
|
?name: String?,
|
|
28
28
|
?sandbox: bool,
|
|
@@ -30,7 +30,7 @@ module Sentdm
|
|
|
30
30
|
?idempotency_key: String,
|
|
31
31
|
?x_profile_id: String,
|
|
32
32
|
?request_options: Sentdm::request_opts
|
|
33
|
-
) -> Sentdm::
|
|
33
|
+
) -> Sentdm::Models::TemplateUpdateResponse
|
|
34
34
|
|
|
35
35
|
def list: (
|
|
36
36
|
page: Integer,
|
|
@@ -5,7 +5,7 @@ module Sentdm
|
|
|
5
5
|
String user_id,
|
|
6
6
|
?x_profile_id: String,
|
|
7
7
|
?request_options: Sentdm::request_opts
|
|
8
|
-
) -> Sentdm::
|
|
8
|
+
) -> Sentdm::Models::UserRetrieveResponse
|
|
9
9
|
|
|
10
10
|
def list: (
|
|
11
11
|
?x_profile_id: String,
|
|
@@ -20,7 +20,7 @@ module Sentdm
|
|
|
20
20
|
?idempotency_key: String,
|
|
21
21
|
?x_profile_id: String,
|
|
22
22
|
?request_options: Sentdm::request_opts
|
|
23
|
-
) -> Sentdm::
|
|
23
|
+
) -> Sentdm::Models::UserInviteResponse
|
|
24
24
|
|
|
25
25
|
def remove: (
|
|
26
26
|
String user_id,
|
|
@@ -36,7 +36,7 @@ module Sentdm
|
|
|
36
36
|
?idempotency_key: String,
|
|
37
37
|
?x_profile_id: String,
|
|
38
38
|
?request_options: Sentdm::request_opts
|
|
39
|
-
) -> Sentdm::
|
|
39
|
+
) -> Sentdm::Models::UserUpdateRoleResponse
|
|
40
40
|
|
|
41
41
|
def initialize: (client: Sentdm::Client) -> void
|
|
42
42
|
end
|
|
@@ -12,13 +12,13 @@ module Sentdm
|
|
|
12
12
|
?idempotency_key: String,
|
|
13
13
|
?x_profile_id: String,
|
|
14
14
|
?request_options: Sentdm::request_opts
|
|
15
|
-
) -> Sentdm::
|
|
15
|
+
) -> Sentdm::Models::WebhookCreateResponse
|
|
16
16
|
|
|
17
17
|
def retrieve: (
|
|
18
18
|
String id,
|
|
19
19
|
?x_profile_id: String,
|
|
20
20
|
?request_options: Sentdm::request_opts
|
|
21
|
-
) -> Sentdm::
|
|
21
|
+
) -> Sentdm::Models::WebhookRetrieveResponse
|
|
22
22
|
|
|
23
23
|
def update: (
|
|
24
24
|
String id,
|
|
@@ -32,7 +32,7 @@ module Sentdm
|
|
|
32
32
|
?idempotency_key: String,
|
|
33
33
|
?x_profile_id: String,
|
|
34
34
|
?request_options: Sentdm::request_opts
|
|
35
|
-
) -> Sentdm::
|
|
35
|
+
) -> Sentdm::Models::WebhookUpdateResponse
|
|
36
36
|
|
|
37
37
|
def list: (
|
|
38
38
|
page: Integer,
|
|
@@ -87,7 +87,7 @@ module Sentdm
|
|
|
87
87
|
?idempotency_key: String,
|
|
88
88
|
?x_profile_id: String,
|
|
89
89
|
?request_options: Sentdm::request_opts
|
|
90
|
-
) -> Sentdm::
|
|
90
|
+
) -> Sentdm::Models::WebhookToggleStatusResponse
|
|
91
91
|
|
|
92
92
|
def initialize: (client: Sentdm::Client) -> void
|
|
93
93
|
end
|