sentdm 0.19.0 → 0.20.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 +8 -0
- data/README.md +31 -1
- data/lib/sentdm/internal/type/base_model.rb +5 -5
- data/lib/sentdm/internal/type/enum.rb +25 -0
- data/lib/sentdm/models/api_meta.rb +34 -0
- data/lib/sentdm/models/api_response_of_contact.rb +46 -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/billing_contact_info.rb +47 -0
- data/lib/sentdm/models/brands_brand_data.rb +38 -0
- data/lib/sentdm/models/contact_delete_params.rb +2 -16
- data/lib/sentdm/models/contact_list_response.rb +12 -278
- data/lib/sentdm/models/contact_response.rb +126 -0
- data/lib/sentdm/models/destination_country.rb +21 -0
- data/lib/sentdm/models/error_detail.rb +42 -0
- data/lib/sentdm/models/me_retrieve_response.rb +12 -204
- data/lib/sentdm/models/message_retrieve_activities_response.rb +6 -74
- data/lib/sentdm/models/message_retrieve_status_response.rb +6 -74
- data/lib/sentdm/models/message_send_response.rb +6 -74
- data/lib/sentdm/models/mutation_request.rb +20 -0
- data/lib/sentdm/models/number_lookup_response.rb +6 -74
- data/lib/sentdm/models/pagination_meta.rb +80 -0
- data/lib/sentdm/models/payment_details.rb +44 -0
- data/lib/sentdm/models/profile_complete_response.rb +6 -74
- data/lib/sentdm/models/profile_create_params.rb +9 -423
- data/lib/sentdm/models/profile_delete_params.rb +2 -16
- data/lib/sentdm/models/profile_detail.rb +605 -0
- data/lib/sentdm/models/profile_list_response.rb +9 -753
- data/lib/sentdm/models/profile_settings.rb +66 -0
- data/lib/sentdm/models/profile_update_params.rb +9 -423
- data/lib/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rb +45 -0
- data/lib/sentdm/models/profiles/base_dto.rb +32 -0
- data/lib/sentdm/models/profiles/campaign_create_params.rb +3 -165
- data/lib/sentdm/models/profiles/campaign_data.rb +123 -0
- data/lib/sentdm/models/profiles/campaign_delete_params.rb +2 -17
- data/lib/sentdm/models/profiles/campaign_list_response.rb +9 -420
- data/lib/sentdm/models/profiles/campaign_update_params.rb +3 -165
- data/lib/sentdm/models/profiles/messaging_use_case_us.rb +28 -0
- data/lib/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb +29 -0
- data/lib/sentdm/models/profiles/tcr_campaign_with_use_cases.rb +248 -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 +48 -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/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb +116 -0
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rb +75 -0
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rb +58 -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_body_content.rb +27 -0
- data/lib/sentdm/models/template_create_params.rb +3 -889
- data/lib/sentdm/models/template_definition.rb +66 -0
- data/lib/sentdm/models/template_list_response.rb +12 -242
- data/lib/sentdm/models/template_update_params.rb +3 -889
- data/lib/sentdm/models/template_variable.rb +80 -0
- data/lib/sentdm/models/user_list_response.rb +9 -154
- data/lib/sentdm/models/user_remove_params.rb +2 -16
- data/lib/sentdm/models/user_response.rb +82 -0
- data/lib/sentdm/models/webhook_event_type.rb +45 -0
- data/lib/sentdm/models/webhook_list_event_types_response.rb +9 -118
- data/lib/sentdm/models/webhook_list_events_response.rb +9 -153
- data/lib/sentdm/models/webhook_list_response.rb +12 -247
- data/lib/sentdm/models/webhook_response.rb +95 -0
- data/lib/sentdm/models/webhook_rotate_secret_params.rb +2 -17
- data/lib/sentdm/models/webhook_rotate_secret_response.rb +6 -74
- data/lib/sentdm/models/webhook_test_response.rb +6 -74
- data/lib/sentdm/models.rb +77 -0
- data/lib/sentdm/resources/contacts.rb +6 -6
- 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 +40 -18
- data/rbi/sentdm/models/api_meta.rbi +55 -0
- data/rbi/sentdm/models/api_response_of_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/billing_contact_info.rbi +65 -0
- data/rbi/sentdm/models/brands_brand_data.rbi +104 -0
- data/rbi/sentdm/models/contact_delete_params.rbi +2 -19
- data/rbi/sentdm/models/contact_list_response.rbi +16 -505
- data/rbi/sentdm/models/contact_response.rbi +183 -0
- data/rbi/sentdm/models/destination_country.rbi +32 -0
- data/rbi/sentdm/models/error_detail.rbi +66 -0
- data/rbi/sentdm/models/me_retrieve_response.rbi +16 -335
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +8 -154
- data/rbi/sentdm/models/message_retrieve_status_response.rbi +8 -148
- data/rbi/sentdm/models/message_send_response.rbi +8 -135
- data/rbi/sentdm/models/mutation_request.rbi +32 -0
- data/rbi/sentdm/models/number_lookup_response.rbi +8 -135
- data/rbi/sentdm/models/pagination_meta.rbi +135 -0
- data/rbi/sentdm/models/payment_details.rbi +59 -0
- data/rbi/sentdm/models/profile_complete_response.rbi +8 -137
- data/rbi/sentdm/models/profile_create_params.rbi +12 -810
- data/rbi/sentdm/models/profile_delete_params.rbi +2 -19
- data/rbi/sentdm/models/profile_detail.rbi +874 -0
- data/rbi/sentdm/models/profile_list_response.rbi +14 -1400
- data/rbi/sentdm/models/profile_settings.rbi +86 -0
- data/rbi/sentdm/models/profile_update_params.rbi +12 -810
- data/rbi/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbi +83 -0
- data/rbi/sentdm/models/profiles/base_dto.rbi +53 -0
- data/rbi/sentdm/models/profiles/campaign_create_params.rbi +4 -289
- data/rbi/sentdm/models/profiles/campaign_data.rbi +148 -0
- data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +1 -14
- data/rbi/sentdm/models/profiles/campaign_list_response.rbi +11 -733
- data/rbi/sentdm/models/profiles/campaign_update_params.rbi +4 -289
- data/rbi/sentdm/models/profiles/messaging_use_case_us.rbi +73 -0
- data/rbi/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi +51 -0
- data/rbi/sentdm/models/profiles/tcr_campaign_with_use_cases.rbi +425 -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 +87 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbi +72 -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 +57 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbi +59 -0
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbi +180 -0
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbi +95 -0
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbi +81 -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_body_content.rbi +43 -0
- data/rbi/sentdm/models/template_create_params.rbi +4 -1701
- data/rbi/sentdm/models/template_definition.rbi +164 -0
- data/rbi/sentdm/models/template_list_response.rbi +16 -454
- data/rbi/sentdm/models/template_update_params.rbi +4 -1701
- data/rbi/sentdm/models/template_variable.rbi +120 -0
- data/rbi/sentdm/models/user_list_response.rbi +14 -271
- data/rbi/sentdm/models/user_remove_params.rbi +2 -19
- data/rbi/sentdm/models/user_response.rbi +118 -0
- data/rbi/sentdm/models/webhook_event_type.rbi +74 -0
- data/rbi/sentdm/models/webhook_list_event_types_response.rbi +12 -247
- data/rbi/sentdm/models/webhook_list_events_response.rbi +12 -314
- data/rbi/sentdm/models/webhook_list_response.rbi +16 -462
- data/rbi/sentdm/models/webhook_response.rbi +140 -0
- data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +1 -14
- data/rbi/sentdm/models/webhook_rotate_secret_response.rbi +8 -148
- data/rbi/sentdm/models/webhook_test_response.rbi +8 -135
- data/rbi/sentdm/models.rbi +77 -0
- data/rbi/sentdm/resources/contacts.rbi +3 -3
- data/rbi/sentdm/resources/profiles/campaigns.rbi +4 -4
- data/rbi/sentdm/resources/profiles.rbi +9 -13
- data/rbi/sentdm/resources/templates.rbi +5 -6
- data/rbi/sentdm/resources/users.rbi +3 -3
- data/rbi/sentdm/resources/webhooks.rbi +4 -4
- data/sig/sentdm/models/api_meta.rbs +27 -0
- data/sig/sentdm/models/api_response_of_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/billing_contact_info.rbs +30 -0
- data/sig/sentdm/models/brands_brand_data.rbs +30 -0
- data/sig/sentdm/models/contact_delete_params.rbs +6 -10
- data/sig/sentdm/models/contact_list_response.rbs +20 -256
- data/sig/sentdm/models/contact_response.rbs +111 -0
- data/sig/sentdm/models/destination_country.rbs +19 -0
- data/sig/sentdm/models/error_detail.rbs +39 -0
- data/sig/sentdm/models/me_retrieve_response.rbs +18 -176
- data/sig/sentdm/models/message_retrieve_activities_response.rbs +9 -71
- data/sig/sentdm/models/message_retrieve_status_response.rbs +9 -71
- data/sig/sentdm/models/message_send_response.rbs +9 -71
- data/sig/sentdm/models/mutation_request.rbs +15 -0
- data/sig/sentdm/models/number_lookup_response.rbs +9 -71
- data/sig/sentdm/models/pagination_meta.rbs +67 -0
- data/sig/sentdm/models/payment_details.rbs +30 -0
- data/sig/sentdm/models/profile_complete_response.rbs +9 -71
- data/sig/sentdm/models/profile_create_params.rbs +12 -363
- data/sig/sentdm/models/profile_delete_params.rbs +6 -10
- data/sig/sentdm/models/profile_detail.rbs +474 -0
- data/sig/sentdm/models/profile_list_response.rbs +15 -645
- data/sig/sentdm/models/profile_settings.rbs +50 -0
- data/sig/sentdm/models/profile_update_params.rbs +12 -363
- data/sig/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbs +41 -0
- data/sig/sentdm/models/profiles/base_dto.rbs +27 -0
- data/sig/sentdm/models/profiles/campaign_create_params.rbs +4 -138
- data/sig/sentdm/models/profiles/campaign_data.rbs +82 -0
- data/sig/sentdm/models/profiles/campaign_delete_params.rbs +8 -15
- data/sig/sentdm/models/profiles/campaign_list_response.rbs +13 -396
- data/sig/sentdm/models/profiles/campaign_update_params.rbs +4 -138
- data/sig/sentdm/models/profiles/messaging_use_case_us.rbs +40 -0
- data/sig/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs +27 -0
- data/sig/sentdm/models/profiles/tcr_campaign_with_use_cases.rbs +299 -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 +35 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbs +32 -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 +30 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbs +30 -0
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbs +89 -0
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbs +55 -0
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbs +45 -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.rbs +79 -0
- data/sig/sentdm/models/template_body_content.rbs +30 -0
- data/sig/sentdm/models/template_create_params.rbs +6 -853
- data/sig/sentdm/models/template_definition.rbs +45 -0
- data/sig/sentdm/models/template_list_response.rbs +19 -225
- data/sig/sentdm/models/template_update_params.rbs +4 -851
- data/sig/sentdm/models/template_variable.rbs +84 -0
- data/sig/sentdm/models/user_list_response.rbs +15 -151
- data/sig/sentdm/models/user_remove_params.rbs +6 -10
- data/sig/sentdm/models/user_response.rbs +72 -0
- data/sig/sentdm/models/webhook_event_type.rbs +51 -0
- data/sig/sentdm/models/webhook_list_event_types_response.rbs +15 -130
- data/sig/sentdm/models/webhook_list_events_response.rbs +14 -142
- data/sig/sentdm/models/webhook_list_response.rbs +20 -248
- data/sig/sentdm/models/webhook_response.rbs +103 -0
- data/sig/sentdm/models/webhook_rotate_secret_params.rbs +8 -17
- data/sig/sentdm/models/webhook_rotate_secret_response.rbs +9 -71
- data/sig/sentdm/models/webhook_test_response.rbs +9 -71
- data/sig/sentdm/models.rbs +68 -0
- data/sig/sentdm/resources/contacts.rbs +3 -3
- 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 +121 -55
- data/lib/sentdm/models/contact_create_response.rb +0 -236
- data/lib/sentdm/models/contact_retrieve_response.rb +0 -236
- data/lib/sentdm/models/contact_update_response.rb +0 -236
- data/lib/sentdm/models/profile_create_response.rb +0 -781
- data/lib/sentdm/models/profile_retrieve_response.rb +0 -783
- data/lib/sentdm/models/profile_update_response.rb +0 -781
- data/lib/sentdm/models/profiles/campaign_create_response.rb +0 -459
- data/lib/sentdm/models/profiles/campaign_update_response.rb +0 -459
- data/lib/sentdm/models/template_create_response.rb +0 -197
- data/lib/sentdm/models/template_retrieve_response.rb +0 -197
- data/lib/sentdm/models/template_update_response.rb +0 -197
- data/lib/sentdm/models/user_invite_response.rb +0 -189
- data/lib/sentdm/models/user_retrieve_response.rb +0 -189
- data/lib/sentdm/models/user_update_role_response.rb +0 -189
- data/lib/sentdm/models/webhook_create_response.rb +0 -204
- data/lib/sentdm/models/webhook_retrieve_response.rb +0 -204
- data/lib/sentdm/models/webhook_toggle_status_response.rb +0 -204
- data/lib/sentdm/models/webhook_update_response.rb +0 -204
- data/rbi/sentdm/models/contact_create_response.rbi +0 -390
- data/rbi/sentdm/models/contact_retrieve_response.rbi +0 -392
- data/rbi/sentdm/models/contact_update_response.rbi +0 -390
- data/rbi/sentdm/models/profile_create_response.rbi +0 -1439
- data/rbi/sentdm/models/profile_retrieve_response.rbi +0 -1443
- data/rbi/sentdm/models/profile_update_response.rbi +0 -1439
- data/rbi/sentdm/models/profiles/campaign_create_response.rbi +0 -814
- data/rbi/sentdm/models/profiles/campaign_update_response.rbi +0 -814
- data/rbi/sentdm/models/template_create_response.rbi +0 -339
- data/rbi/sentdm/models/template_retrieve_response.rbi +0 -345
- data/rbi/sentdm/models/template_update_response.rbi +0 -339
- data/rbi/sentdm/models/user_invite_response.rbi +0 -323
- data/rbi/sentdm/models/user_retrieve_response.rbi +0 -323
- data/rbi/sentdm/models/user_update_role_response.rbi +0 -328
- data/rbi/sentdm/models/webhook_create_response.rbi +0 -348
- data/rbi/sentdm/models/webhook_retrieve_response.rbi +0 -350
- data/rbi/sentdm/models/webhook_toggle_status_response.rbi +0 -366
- data/rbi/sentdm/models/webhook_update_response.rbi +0 -348
- data/sig/sentdm/models/contact_create_response.rbs +0 -209
- data/sig/sentdm/models/contact_retrieve_response.rbs +0 -209
- data/sig/sentdm/models/contact_update_response.rbs +0 -209
- data/sig/sentdm/models/profile_create_response.rbs +0 -662
- data/sig/sentdm/models/profile_retrieve_response.rbs +0 -662
- data/sig/sentdm/models/profile_update_response.rbs +0 -662
- data/sig/sentdm/models/profiles/campaign_create_response.rbs +0 -424
- data/sig/sentdm/models/profiles/campaign_update_response.rbs +0 -424
- data/sig/sentdm/models/template_create_response.rbs +0 -177
- data/sig/sentdm/models/template_retrieve_response.rbs +0 -177
- data/sig/sentdm/models/template_update_response.rbs +0 -177
- data/sig/sentdm/models/user_invite_response.rbs +0 -170
- data/sig/sentdm/models/user_retrieve_response.rbs +0 -170
- data/sig/sentdm/models/user_update_role_response.rbs +0 -170
- data/sig/sentdm/models/webhook_create_response.rbs +0 -201
- data/sig/sentdm/models/webhook_retrieve_response.rbs +0 -201
- data/sig/sentdm/models/webhook_toggle_status_response.rbs +0 -201
- data/sig/sentdm/models/webhook_update_response.rbs +0 -201
|
@@ -3,21 +3,19 @@ module Sentdm
|
|
|
3
3
|
type webhook_rotate_secret_response =
|
|
4
4
|
{
|
|
5
5
|
data: Sentdm::Models::WebhookRotateSecretResponse::Data?,
|
|
6
|
-
error: Sentdm::
|
|
7
|
-
meta: Sentdm::
|
|
6
|
+
error: Sentdm::ErrorDetail?,
|
|
7
|
+
meta: Sentdm::APIMeta,
|
|
8
8
|
success: bool
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
class WebhookRotateSecretResponse < Sentdm::Internal::Type::BaseModel
|
|
12
12
|
attr_accessor data: Sentdm::Models::WebhookRotateSecretResponse::Data?
|
|
13
13
|
|
|
14
|
-
attr_accessor error: Sentdm::
|
|
14
|
+
attr_accessor error: Sentdm::ErrorDetail?
|
|
15
15
|
|
|
16
|
-
attr_reader meta: Sentdm::
|
|
16
|
+
attr_reader meta: Sentdm::APIMeta?
|
|
17
17
|
|
|
18
|
-
def meta=: (
|
|
19
|
-
Sentdm::Models::WebhookRotateSecretResponse::Meta
|
|
20
|
-
) -> Sentdm::Models::WebhookRotateSecretResponse::Meta
|
|
18
|
+
def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
|
|
21
19
|
|
|
22
20
|
attr_reader success: bool?
|
|
23
21
|
|
|
@@ -25,15 +23,15 @@ module Sentdm
|
|
|
25
23
|
|
|
26
24
|
def initialize: (
|
|
27
25
|
?data: Sentdm::Models::WebhookRotateSecretResponse::Data?,
|
|
28
|
-
?error: Sentdm::
|
|
29
|
-
?meta: Sentdm::
|
|
26
|
+
?error: Sentdm::ErrorDetail?,
|
|
27
|
+
?meta: Sentdm::APIMeta,
|
|
30
28
|
?success: bool
|
|
31
29
|
) -> void
|
|
32
30
|
|
|
33
31
|
def to_hash: -> {
|
|
34
32
|
data: Sentdm::Models::WebhookRotateSecretResponse::Data?,
|
|
35
|
-
error: Sentdm::
|
|
36
|
-
meta: Sentdm::
|
|
33
|
+
error: Sentdm::ErrorDetail?,
|
|
34
|
+
meta: Sentdm::APIMeta,
|
|
37
35
|
success: bool
|
|
38
36
|
}
|
|
39
37
|
|
|
@@ -48,66 +46,6 @@ module Sentdm
|
|
|
48
46
|
|
|
49
47
|
def to_hash: -> { signing_secret: String }
|
|
50
48
|
end
|
|
51
|
-
|
|
52
|
-
type error =
|
|
53
|
-
{
|
|
54
|
-
code: String,
|
|
55
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
56
|
-
doc_url: String?,
|
|
57
|
-
message: String
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
class Error < Sentdm::Internal::Type::BaseModel
|
|
61
|
-
attr_reader code: String?
|
|
62
|
-
|
|
63
|
-
def code=: (String) -> String
|
|
64
|
-
|
|
65
|
-
attr_accessor details: ::Hash[Symbol, ::Array[String]]?
|
|
66
|
-
|
|
67
|
-
attr_accessor doc_url: String?
|
|
68
|
-
|
|
69
|
-
attr_reader message: String?
|
|
70
|
-
|
|
71
|
-
def message=: (String) -> String
|
|
72
|
-
|
|
73
|
-
def initialize: (
|
|
74
|
-
?code: String,
|
|
75
|
-
?details: ::Hash[Symbol, ::Array[String]]?,
|
|
76
|
-
?doc_url: String?,
|
|
77
|
-
?message: String
|
|
78
|
-
) -> void
|
|
79
|
-
|
|
80
|
-
def to_hash: -> {
|
|
81
|
-
code: String,
|
|
82
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
83
|
-
doc_url: String?,
|
|
84
|
-
message: String
|
|
85
|
-
}
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
type meta = { request_id: String, timestamp: Time, version: String }
|
|
89
|
-
|
|
90
|
-
class Meta < Sentdm::Internal::Type::BaseModel
|
|
91
|
-
attr_reader request_id: String?
|
|
92
|
-
|
|
93
|
-
def request_id=: (String) -> String
|
|
94
|
-
|
|
95
|
-
attr_reader timestamp: Time?
|
|
96
|
-
|
|
97
|
-
def timestamp=: (Time) -> Time
|
|
98
|
-
|
|
99
|
-
attr_reader version: String?
|
|
100
|
-
|
|
101
|
-
def version=: (String) -> String
|
|
102
|
-
|
|
103
|
-
def initialize: (
|
|
104
|
-
?request_id: String,
|
|
105
|
-
?timestamp: Time,
|
|
106
|
-
?version: String
|
|
107
|
-
) -> void
|
|
108
|
-
|
|
109
|
-
def to_hash: -> { request_id: String, timestamp: Time, version: String }
|
|
110
|
-
end
|
|
111
49
|
end
|
|
112
50
|
end
|
|
113
51
|
end
|
|
@@ -3,21 +3,19 @@ module Sentdm
|
|
|
3
3
|
type webhook_test_response =
|
|
4
4
|
{
|
|
5
5
|
data: Sentdm::Models::WebhookTestResponse::Data?,
|
|
6
|
-
error: Sentdm::
|
|
7
|
-
meta: Sentdm::
|
|
6
|
+
error: Sentdm::ErrorDetail?,
|
|
7
|
+
meta: Sentdm::APIMeta,
|
|
8
8
|
success: bool
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
class WebhookTestResponse < Sentdm::Internal::Type::BaseModel
|
|
12
12
|
attr_accessor data: Sentdm::Models::WebhookTestResponse::Data?
|
|
13
13
|
|
|
14
|
-
attr_accessor error: Sentdm::
|
|
14
|
+
attr_accessor error: Sentdm::ErrorDetail?
|
|
15
15
|
|
|
16
|
-
attr_reader meta: Sentdm::
|
|
16
|
+
attr_reader meta: Sentdm::APIMeta?
|
|
17
17
|
|
|
18
|
-
def meta=: (
|
|
19
|
-
Sentdm::Models::WebhookTestResponse::Meta
|
|
20
|
-
) -> Sentdm::Models::WebhookTestResponse::Meta
|
|
18
|
+
def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
|
|
21
19
|
|
|
22
20
|
attr_reader success: bool?
|
|
23
21
|
|
|
@@ -25,15 +23,15 @@ module Sentdm
|
|
|
25
23
|
|
|
26
24
|
def initialize: (
|
|
27
25
|
?data: Sentdm::Models::WebhookTestResponse::Data?,
|
|
28
|
-
?error: Sentdm::
|
|
29
|
-
?meta: Sentdm::
|
|
26
|
+
?error: Sentdm::ErrorDetail?,
|
|
27
|
+
?meta: Sentdm::APIMeta,
|
|
30
28
|
?success: bool
|
|
31
29
|
) -> void
|
|
32
30
|
|
|
33
31
|
def to_hash: -> {
|
|
34
32
|
data: Sentdm::Models::WebhookTestResponse::Data?,
|
|
35
|
-
error: Sentdm::
|
|
36
|
-
meta: Sentdm::
|
|
33
|
+
error: Sentdm::ErrorDetail?,
|
|
34
|
+
meta: Sentdm::APIMeta,
|
|
37
35
|
success: bool
|
|
38
36
|
}
|
|
39
37
|
|
|
@@ -52,66 +50,6 @@ module Sentdm
|
|
|
52
50
|
|
|
53
51
|
def to_hash: -> { message: String, success: bool }
|
|
54
52
|
end
|
|
55
|
-
|
|
56
|
-
type error =
|
|
57
|
-
{
|
|
58
|
-
code: String,
|
|
59
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
60
|
-
doc_url: String?,
|
|
61
|
-
message: String
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
class Error < Sentdm::Internal::Type::BaseModel
|
|
65
|
-
attr_reader code: String?
|
|
66
|
-
|
|
67
|
-
def code=: (String) -> String
|
|
68
|
-
|
|
69
|
-
attr_accessor details: ::Hash[Symbol, ::Array[String]]?
|
|
70
|
-
|
|
71
|
-
attr_accessor doc_url: String?
|
|
72
|
-
|
|
73
|
-
attr_reader message: String?
|
|
74
|
-
|
|
75
|
-
def message=: (String) -> String
|
|
76
|
-
|
|
77
|
-
def initialize: (
|
|
78
|
-
?code: String,
|
|
79
|
-
?details: ::Hash[Symbol, ::Array[String]]?,
|
|
80
|
-
?doc_url: String?,
|
|
81
|
-
?message: String
|
|
82
|
-
) -> void
|
|
83
|
-
|
|
84
|
-
def to_hash: -> {
|
|
85
|
-
code: String,
|
|
86
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
87
|
-
doc_url: String?,
|
|
88
|
-
message: String
|
|
89
|
-
}
|
|
90
|
-
end
|
|
91
|
-
|
|
92
|
-
type meta = { request_id: String, timestamp: Time, version: String }
|
|
93
|
-
|
|
94
|
-
class Meta < Sentdm::Internal::Type::BaseModel
|
|
95
|
-
attr_reader request_id: String?
|
|
96
|
-
|
|
97
|
-
def request_id=: (String) -> String
|
|
98
|
-
|
|
99
|
-
attr_reader timestamp: Time?
|
|
100
|
-
|
|
101
|
-
def timestamp=: (Time) -> Time
|
|
102
|
-
|
|
103
|
-
attr_reader version: String?
|
|
104
|
-
|
|
105
|
-
def version=: (String) -> String
|
|
106
|
-
|
|
107
|
-
def initialize: (
|
|
108
|
-
?request_id: String,
|
|
109
|
-
?timestamp: Time,
|
|
110
|
-
?version: String
|
|
111
|
-
) -> void
|
|
112
|
-
|
|
113
|
-
def to_hash: -> { request_id: String, timestamp: Time, version: String }
|
|
114
|
-
end
|
|
115
53
|
end
|
|
116
54
|
end
|
|
117
55
|
end
|
data/sig/sentdm/models.rbs
CHANGED
|
@@ -1,14 +1,36 @@
|
|
|
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
|
+
|
|
2
18
|
class ContactCreateParams = Sentdm::Models::ContactCreateParams
|
|
3
19
|
|
|
4
20
|
class ContactDeleteParams = Sentdm::Models::ContactDeleteParams
|
|
5
21
|
|
|
6
22
|
class ContactListParams = Sentdm::Models::ContactListParams
|
|
7
23
|
|
|
24
|
+
class ContactResponse = Sentdm::Models::ContactResponse
|
|
25
|
+
|
|
8
26
|
class ContactRetrieveParams = Sentdm::Models::ContactRetrieveParams
|
|
9
27
|
|
|
10
28
|
class ContactUpdateParams = Sentdm::Models::ContactUpdateParams
|
|
11
29
|
|
|
30
|
+
class DestinationCountry = Sentdm::Models::DestinationCountry
|
|
31
|
+
|
|
32
|
+
class ErrorDetail = Sentdm::Models::ErrorDetail
|
|
33
|
+
|
|
12
34
|
class MeRetrieveParams = Sentdm::Models::MeRetrieveParams
|
|
13
35
|
|
|
14
36
|
class MessageRetrieveActivitiesParams = Sentdm::Models::MessageRetrieveActivitiesParams
|
|
@@ -17,24 +39,62 @@ module Sentdm
|
|
|
17
39
|
|
|
18
40
|
class MessageSendParams = Sentdm::Models::MessageSendParams
|
|
19
41
|
|
|
42
|
+
class MutationRequest = Sentdm::Models::MutationRequest
|
|
43
|
+
|
|
20
44
|
class NumberLookupParams = Sentdm::Models::NumberLookupParams
|
|
21
45
|
|
|
46
|
+
class PaginationMeta = Sentdm::Models::PaginationMeta
|
|
47
|
+
|
|
48
|
+
class PaymentDetails = Sentdm::Models::PaymentDetails
|
|
49
|
+
|
|
22
50
|
class ProfileCompleteParams = Sentdm::Models::ProfileCompleteParams
|
|
23
51
|
|
|
24
52
|
class ProfileCreateParams = Sentdm::Models::ProfileCreateParams
|
|
25
53
|
|
|
26
54
|
class ProfileDeleteParams = Sentdm::Models::ProfileDeleteParams
|
|
27
55
|
|
|
56
|
+
class ProfileDetail = Sentdm::Models::ProfileDetail
|
|
57
|
+
|
|
28
58
|
class ProfileListParams = Sentdm::Models::ProfileListParams
|
|
29
59
|
|
|
30
60
|
class ProfileRetrieveParams = Sentdm::Models::ProfileRetrieveParams
|
|
31
61
|
|
|
32
62
|
module Profiles = Sentdm::Models::Profiles
|
|
33
63
|
|
|
64
|
+
class ProfileSettings = Sentdm::Models::ProfileSettings
|
|
65
|
+
|
|
34
66
|
class ProfileUpdateParams = Sentdm::Models::ProfileUpdateParams
|
|
35
67
|
|
|
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
|
+
|
|
36
94
|
class TemplateCreateParams = Sentdm::Models::TemplateCreateParams
|
|
37
95
|
|
|
96
|
+
class TemplateDefinition = Sentdm::Models::TemplateDefinition
|
|
97
|
+
|
|
38
98
|
class TemplateDeleteParams = Sentdm::Models::TemplateDeleteParams
|
|
39
99
|
|
|
40
100
|
class TemplateListParams = Sentdm::Models::TemplateListParams
|
|
@@ -43,12 +103,16 @@ module Sentdm
|
|
|
43
103
|
|
|
44
104
|
class TemplateUpdateParams = Sentdm::Models::TemplateUpdateParams
|
|
45
105
|
|
|
106
|
+
class TemplateVariable = Sentdm::Models::TemplateVariable
|
|
107
|
+
|
|
46
108
|
class UserInviteParams = Sentdm::Models::UserInviteParams
|
|
47
109
|
|
|
48
110
|
class UserListParams = Sentdm::Models::UserListParams
|
|
49
111
|
|
|
50
112
|
class UserRemoveParams = Sentdm::Models::UserRemoveParams
|
|
51
113
|
|
|
114
|
+
class UserResponse = Sentdm::Models::UserResponse
|
|
115
|
+
|
|
52
116
|
class UserRetrieveParams = Sentdm::Models::UserRetrieveParams
|
|
53
117
|
|
|
54
118
|
class UserUpdateRoleParams = Sentdm::Models::UserUpdateRoleParams
|
|
@@ -57,12 +121,16 @@ module Sentdm
|
|
|
57
121
|
|
|
58
122
|
class WebhookDeleteParams = Sentdm::Models::WebhookDeleteParams
|
|
59
123
|
|
|
124
|
+
class WebhookEventType = Sentdm::Models::WebhookEventType
|
|
125
|
+
|
|
60
126
|
class WebhookListEventsParams = Sentdm::Models::WebhookListEventsParams
|
|
61
127
|
|
|
62
128
|
class WebhookListEventTypesParams = Sentdm::Models::WebhookListEventTypesParams
|
|
63
129
|
|
|
64
130
|
class WebhookListParams = Sentdm::Models::WebhookListParams
|
|
65
131
|
|
|
132
|
+
class WebhookResponse = Sentdm::Models::WebhookResponse
|
|
133
|
+
|
|
66
134
|
class WebhookRetrieveParams = Sentdm::Models::WebhookRetrieveParams
|
|
67
135
|
|
|
68
136
|
class WebhookRotateSecretParams = Sentdm::Models::WebhookRotateSecretParams
|
|
@@ -7,13 +7,13 @@ module Sentdm
|
|
|
7
7
|
?idempotency_key: String,
|
|
8
8
|
?x_profile_id: String,
|
|
9
9
|
?request_options: Sentdm::request_opts
|
|
10
|
-
) -> Sentdm::
|
|
10
|
+
) -> Sentdm::APIResponseOfContact
|
|
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::APIResponseOfContact
|
|
17
17
|
|
|
18
18
|
def update: (
|
|
19
19
|
String id,
|
|
@@ -23,7 +23,7 @@ module Sentdm
|
|
|
23
23
|
?idempotency_key: String,
|
|
24
24
|
?x_profile_id: String,
|
|
25
25
|
?request_options: Sentdm::request_opts
|
|
26
|
-
) -> Sentdm::
|
|
26
|
+
) -> Sentdm::APIResponseOfContact
|
|
27
27
|
|
|
28
28
|
def list: (
|
|
29
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::CampaignData,
|
|
8
8
|
?sandbox: bool,
|
|
9
9
|
?idempotency_key: String,
|
|
10
10
|
?x_profile_id: String,
|
|
11
11
|
?request_options: Sentdm::request_opts
|
|
12
|
-
) -> Sentdm::
|
|
12
|
+
) -> Sentdm::Profiles::APIResponseOfTcrCampaignWithUseCases
|
|
13
13
|
|
|
14
14
|
def update: (
|
|
15
15
|
String campaign_id,
|
|
16
16
|
profile_id: String,
|
|
17
|
-
campaign: Sentdm::Profiles::
|
|
17
|
+
campaign: Sentdm::Profiles::CampaignData,
|
|
18
18
|
?sandbox: bool,
|
|
19
19
|
?idempotency_key: String,
|
|
20
20
|
?x_profile_id: String,
|
|
21
21
|
?request_options: Sentdm::request_opts
|
|
22
|
-
) -> Sentdm::
|
|
22
|
+
) -> Sentdm::Profiles::APIResponseOfTcrCampaignWithUseCases
|
|
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::BillingContactInfo?,
|
|
10
10
|
?billing_model: String?,
|
|
11
|
-
?brand: Sentdm::
|
|
11
|
+
?brand: Sentdm::BrandsBrandData?,
|
|
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::
|
|
19
|
+
?payment_details: Sentdm::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::APIResponseOfProfileDetail
|
|
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::APIResponseOfProfileDetail
|
|
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::BillingContactInfo?,
|
|
40
40
|
?billing_model: String?,
|
|
41
|
-
?brand: Sentdm::
|
|
41
|
+
?brand: Sentdm::BrandsBrandData?,
|
|
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::
|
|
49
|
+
?payment_details: Sentdm::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::APIResponseOfProfileDetail
|
|
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::TemplateDefinition,
|
|
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::APIResponseTemplate
|
|
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::APIResponseTemplate
|
|
21
21
|
|
|
22
22
|
def update: (
|
|
23
23
|
String id,
|
|
24
24
|
?category: String?,
|
|
25
|
-
?definition: Sentdm::
|
|
25
|
+
?definition: Sentdm::TemplateDefinition?,
|
|
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::APIResponseTemplate
|
|
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::APIResponseOfUser
|
|
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::APIResponseOfUser
|
|
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::APIResponseOfUser
|
|
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::APIResponseWebhook
|
|
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::APIResponseWebhook
|
|
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::APIResponseWebhook
|
|
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::APIResponseWebhook
|
|
91
91
|
|
|
92
92
|
def initialize: (client: Sentdm::Client) -> void
|
|
93
93
|
end
|