sentdm 0.26.0 → 0.28.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 +40 -0
- data/README.md +1 -27
- data/lib/sentdm/client.rb +71 -8
- data/lib/sentdm/internal/type/base_model.rb +5 -5
- data/lib/sentdm/models/contact_create_response.rb +249 -0
- data/lib/sentdm/models/contact_delete_params.rb +16 -2
- data/lib/sentdm/models/contact_list_response.rb +299 -16
- data/lib/sentdm/models/contact_retrieve_message_summary_response.rb +186 -0
- data/lib/sentdm/models/contact_retrieve_response.rb +249 -0
- data/lib/sentdm/models/contact_update_response.rb +249 -0
- data/lib/sentdm/models/conversation_list_messages_response.rb +436 -0
- data/lib/sentdm/models/conversation_list_response.rb +433 -0
- data/lib/sentdm/models/inbound_message_event.rb +52 -0
- data/lib/sentdm/models/inbound_message_event_payload.rb +81 -0
- data/lib/sentdm/models/me_retrieve_response.rb +242 -12
- data/lib/sentdm/models/message_event.rb +53 -0
- data/lib/sentdm/models/message_event_payload.rb +92 -0
- data/lib/sentdm/models/message_retrieve_activities_response.rb +165 -7
- data/lib/sentdm/models/message_retrieve_status_response.rb +74 -6
- data/lib/sentdm/models/message_send_response.rb +113 -28
- 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 +378 -26
- data/lib/sentdm/models/profile_create_response.rb +760 -0
- data/lib/sentdm/models/profile_delete_params.rb +16 -2
- data/lib/sentdm/models/profile_list_response.rb +825 -14
- data/lib/sentdm/models/profile_retrieve_response.rb +762 -0
- data/lib/sentdm/models/profile_update_params.rb +391 -24
- data/lib/sentdm/models/profile_update_response.rb +760 -0
- data/lib/sentdm/models/profiles/campaign_create_params.rb +156 -3
- data/lib/sentdm/models/profiles/campaign_create_response.rb +420 -0
- data/lib/sentdm/models/profiles/campaign_delete_params.rb +17 -2
- data/lib/sentdm/models/profiles/campaign_list_response.rb +421 -0
- data/lib/sentdm/models/profiles/campaign_update_params.rb +156 -3
- data/lib/sentdm/models/profiles/campaign_update_response.rb +420 -0
- data/lib/sentdm/models/template_create_response.rb +209 -0
- data/lib/sentdm/models/template_event.rb +52 -0
- data/lib/sentdm/models/template_event_payload.rb +88 -0
- data/lib/sentdm/models/template_list_params.rb +9 -2
- data/lib/sentdm/models/template_list_response.rb +262 -16
- data/lib/sentdm/models/template_retrieve_response.rb +209 -0
- data/lib/sentdm/models/template_update_response.rb +209 -0
- data/lib/sentdm/models/user_invite_response.rb +201 -0
- data/lib/sentdm/models/user_list_response.rb +259 -14
- data/lib/sentdm/models/user_remove_params.rb +16 -2
- data/lib/sentdm/models/user_retrieve_response.rb +201 -0
- data/lib/sentdm/models/user_update_role_response.rb +201 -0
- data/lib/sentdm/models/webhook_create_response.rb +229 -0
- data/lib/sentdm/models/webhook_list_event_types_response.rb +213 -13
- data/lib/sentdm/models/webhook_list_events_response.rb +207 -16
- data/lib/sentdm/models/webhook_list_response.rb +280 -15
- data/lib/sentdm/models/webhook_retrieve_response.rb +229 -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 +229 -0
- data/lib/sentdm/models/webhook_update_response.rb +229 -0
- data/lib/sentdm/models.rb +11 -51
- data/lib/sentdm/resources/contacts.rb +30 -13
- data/lib/sentdm/resources/conversations.rb +12 -4
- data/lib/sentdm/resources/me.rb +6 -1
- data/lib/sentdm/resources/messages.rb +17 -5
- data/lib/sentdm/resources/numbers.rb +6 -1
- data/lib/sentdm/resources/profiles/campaigns.rb +47 -9
- data/lib/sentdm/resources/profiles.rb +137 -61
- data/lib/sentdm/resources/templates.rb +14 -8
- data/lib/sentdm/resources/users.rb +15 -10
- data/lib/sentdm/resources/webhooks.rb +19 -9
- data/lib/sentdm/version.rb +1 -1
- data/lib/sentdm.rb +28 -32
- data/rbi/sentdm/client.rbi +71 -8
- data/rbi/sentdm/models/contact_create_response.rbi +407 -0
- data/rbi/sentdm/models/contact_delete_params.rbi +19 -2
- data/rbi/sentdm/models/contact_list_response.rbi +527 -21
- data/rbi/sentdm/models/contact_retrieve_message_summary_response.rbi +397 -0
- data/rbi/sentdm/models/contact_retrieve_response.rbi +409 -0
- data/rbi/sentdm/models/contact_update_response.rbi +407 -0
- data/rbi/sentdm/models/conversation_list_messages_response.rbi +843 -0
- data/rbi/sentdm/models/conversation_list_response.rbi +819 -0
- data/rbi/sentdm/models/inbound_message_event.rbi +88 -0
- data/rbi/sentdm/models/inbound_message_event_payload.rbi +122 -0
- data/rbi/sentdm/models/me_retrieve_response.rbi +367 -16
- data/rbi/sentdm/models/message_event.rbi +86 -0
- data/rbi/sentdm/models/message_event_payload.rbi +132 -0
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +335 -11
- data/rbi/sentdm/models/message_retrieve_status_response.rbi +148 -8
- data/rbi/sentdm/models/message_send_response.rbi +178 -32
- 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 +592 -42
- data/rbi/sentdm/models/profile_create_response.rbi +1226 -0
- data/rbi/sentdm/models/profile_delete_params.rbi +19 -2
- data/rbi/sentdm/models/profile_list_response.rbi +1366 -18
- data/rbi/sentdm/models/profile_retrieve_response.rbi +1230 -0
- data/rbi/sentdm/models/profile_update_params.rbi +610 -30
- data/rbi/sentdm/models/profile_update_response.rbi +1226 -0
- data/rbi/sentdm/models/profiles/campaign_create_params.rbi +218 -4
- data/rbi/sentdm/models/profiles/campaign_create_response.rbi +674 -0
- data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +14 -1
- data/rbi/sentdm/models/profiles/campaign_list_response.rbi +667 -0
- data/rbi/sentdm/models/profiles/campaign_update_params.rbi +218 -4
- data/rbi/sentdm/models/profiles/campaign_update_response.rbi +674 -0
- data/rbi/sentdm/models/template_create_response.rbi +349 -0
- data/rbi/sentdm/models/template_event.rbi +84 -0
- data/rbi/sentdm/models/template_event_payload.rbi +131 -0
- data/rbi/sentdm/models/template_list_params.rbi +10 -2
- data/rbi/sentdm/models/template_list_response.rbi +469 -21
- data/rbi/sentdm/models/template_retrieve_response.rbi +355 -0
- data/rbi/sentdm/models/template_update_response.rbi +349 -0
- data/rbi/sentdm/models/user_invite_response.rbi +336 -0
- data/rbi/sentdm/models/user_list_response.rbi +463 -18
- data/rbi/sentdm/models/user_remove_params.rbi +19 -2
- data/rbi/sentdm/models/user_retrieve_response.rbi +336 -0
- data/rbi/sentdm/models/user_update_role_response.rbi +341 -0
- data/rbi/sentdm/models/webhook_create_response.rbi +361 -0
- data/rbi/sentdm/models/webhook_list_event_types_response.rbi +433 -16
- data/rbi/sentdm/models/webhook_list_events_response.rbi +379 -19
- data/rbi/sentdm/models/webhook_list_response.rbi +480 -19
- data/rbi/sentdm/models/webhook_retrieve_response.rbi +363 -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 +379 -0
- data/rbi/sentdm/models/webhook_update_response.rbi +361 -0
- data/rbi/sentdm/models.rbi +11 -53
- data/rbi/sentdm/resources/contacts.rbi +24 -9
- data/rbi/sentdm/resources/conversations.rbi +10 -2
- data/rbi/sentdm/resources/me.rbi +6 -1
- data/rbi/sentdm/resources/messages.rbi +17 -5
- data/rbi/sentdm/resources/numbers.rbi +6 -1
- data/rbi/sentdm/resources/profiles/campaigns.rbi +36 -6
- data/rbi/sentdm/resources/profiles.rbi +177 -68
- data/rbi/sentdm/resources/templates.rbi +15 -5
- data/rbi/sentdm/resources/users.rbi +12 -6
- data/rbi/sentdm/resources/webhooks.rbi +15 -5
- data/sig/sentdm/models/contact_create_response.rbs +216 -0
- data/sig/sentdm/models/contact_delete_params.rbs +10 -6
- data/sig/sentdm/models/contact_list_response.rbs +263 -20
- data/sig/sentdm/models/contact_retrieve_message_summary_response.rbs +182 -0
- data/sig/sentdm/models/contact_retrieve_response.rbs +216 -0
- data/sig/sentdm/models/contact_update_response.rbs +216 -0
- data/sig/sentdm/models/conversation_list_messages_response.rbs +404 -0
- data/sig/sentdm/models/conversation_list_response.rbs +404 -0
- data/sig/sentdm/models/inbound_message_event.rbs +39 -0
- data/sig/sentdm/models/inbound_message_event_payload.rbs +69 -0
- data/sig/sentdm/models/me_retrieve_response.rbs +176 -18
- data/sig/sentdm/models/message_event.rbs +39 -0
- data/sig/sentdm/models/message_event_payload.rbs +72 -0
- data/sig/sentdm/models/message_retrieve_activities_response.rbs +147 -12
- data/sig/sentdm/models/message_retrieve_status_response.rbs +71 -9
- 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 +271 -24
- data/sig/sentdm/models/profile_create_response.rbs +559 -0
- data/sig/sentdm/models/profile_delete_params.rbs +10 -6
- data/sig/sentdm/models/profile_list_response.rbs +615 -15
- data/sig/sentdm/models/profile_retrieve_response.rbs +559 -0
- data/sig/sentdm/models/profile_update_params.rbs +263 -12
- data/sig/sentdm/models/profile_update_response.rbs +559 -0
- data/sig/sentdm/models/profiles/campaign_create_params.rbs +108 -4
- data/sig/sentdm/models/profiles/campaign_create_response.rbs +357 -0
- data/sig/sentdm/models/profiles/campaign_delete_params.rbs +15 -8
- data/sig/sentdm/models/profiles/campaign_list_response.rbs +357 -0
- data/sig/sentdm/models/profiles/campaign_update_params.rbs +108 -4
- data/sig/sentdm/models/profiles/campaign_update_response.rbs +357 -0
- data/sig/sentdm/models/template_create_response.rbs +182 -0
- data/sig/sentdm/models/template_event.rbs +39 -0
- data/sig/sentdm/models/template_event_payload.rbs +76 -0
- data/sig/sentdm/models/template_list_response.rbs +230 -19
- data/sig/sentdm/models/template_retrieve_response.rbs +182 -0
- data/sig/sentdm/models/template_update_response.rbs +182 -0
- data/sig/sentdm/models/user_invite_response.rbs +177 -0
- data/sig/sentdm/models/user_list_response.rbs +233 -15
- data/sig/sentdm/models/user_remove_params.rbs +10 -6
- data/sig/sentdm/models/user_retrieve_response.rbs +177 -0
- data/sig/sentdm/models/user_update_role_response.rbs +177 -0
- data/sig/sentdm/models/webhook_create_response.rbs +208 -0
- data/sig/sentdm/models/webhook_list_event_types_response.rbs +203 -15
- data/sig/sentdm/models/webhook_list_events_response.rbs +160 -19
- data/sig/sentdm/models/webhook_list_response.rbs +255 -20
- data/sig/sentdm/models/webhook_retrieve_response.rbs +208 -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 +208 -0
- data/sig/sentdm/models/webhook_update_response.rbs +208 -0
- data/sig/sentdm/models.rbs +11 -51
- data/sig/sentdm/resources/contacts.rbs +4 -4
- data/sig/sentdm/resources/conversations.rbs +2 -2
- data/sig/sentdm/resources/profiles/campaigns.rbs +5 -5
- data/sig/sentdm/resources/profiles.rbs +11 -11
- data/sig/sentdm/resources/templates.rbs +3 -3
- data/sig/sentdm/resources/users.rbs +3 -3
- data/sig/sentdm/resources/webhooks.rbs +4 -4
- metadata +86 -98
- 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_contact_message_summary.rb +0 -43
- data/lib/sentdm/models/api_response_of_conversation_messages_list.rb +0 -43
- 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/brand_business_info.rb +0 -114
- data/lib/sentdm/models/brand_compliance_info.rb +0 -67
- data/lib/sentdm/models/brand_contact_info.rb +0 -58
- data/lib/sentdm/models/brands_brand_data.rb +0 -34
- data/lib/sentdm/models/contact_message_summary.rb +0 -76
- data/lib/sentdm/models/contact_response.rb +0 -126
- data/lib/sentdm/models/conversation_messages_list.rb +0 -245
- 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 -597
- data/lib/sentdm/models/profile_settings.rb +0 -66
- data/lib/sentdm/models/profiles/api_response_of_brand_campaign.rb +0 -45
- data/lib/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rb +0 -45
- data/lib/sentdm/models/profiles/brand_campaign.rb +0 -247
- data/lib/sentdm/models/profiles/campaign_data.rb +0 -130
- data/lib/sentdm/models/profiles/campaign_use_case.rb +0 -71
- data/lib/sentdm/models/profiles/campaign_use_case_data.rb +0 -29
- data/lib/sentdm/models/template.rb +0 -90
- 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_contact_message_summary.rbi +0 -79
- data/rbi/sentdm/models/api_response_of_conversation_messages_list.rbi +0 -79
- 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/brand_business_info.rbi +0 -162
- data/rbi/sentdm/models/brand_compliance_info.rbi +0 -84
- data/rbi/sentdm/models/brand_contact_info.rbi +0 -78
- data/rbi/sentdm/models/brands_brand_data.rbi +0 -65
- data/rbi/sentdm/models/contact_message_summary.rbi +0 -144
- data/rbi/sentdm/models/contact_response.rbi +0 -183
- data/rbi/sentdm/models/conversation_messages_list.rbi +0 -419
- 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 -866
- data/rbi/sentdm/models/profile_settings.rbi +0 -86
- data/rbi/sentdm/models/profiles/api_response_of_brand_campaign.rbi +0 -81
- data/rbi/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rbi +0 -76
- data/rbi/sentdm/models/profiles/brand_campaign.rbi +0 -299
- data/rbi/sentdm/models/profiles/campaign_data.rbi +0 -146
- data/rbi/sentdm/models/profiles/campaign_use_case.rbi +0 -110
- data/rbi/sentdm/models/profiles/campaign_use_case_data.rbi +0 -51
- data/rbi/sentdm/models/template.rbi +0 -129
- 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_contact_message_summary.rbs +0 -39
- data/sig/sentdm/models/api_response_of_conversation_messages_list.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/brand_business_info.rbs +0 -89
- data/sig/sentdm/models/brand_compliance_info.rbs +0 -50
- data/sig/sentdm/models/brand_contact_info.rbs +0 -45
- data/sig/sentdm/models/brands_brand_data.rbs +0 -30
- data/sig/sentdm/models/contact_message_summary.rbs +0 -84
- data/sig/sentdm/models/contact_response.rbs +0 -111
- data/sig/sentdm/models/conversation_messages_list.rbs +0 -240
- 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 -469
- data/sig/sentdm/models/profile_settings.rbs +0 -50
- data/sig/sentdm/models/profiles/api_response_of_brand_campaign.rbs +0 -41
- data/sig/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rbs +0 -41
- data/sig/sentdm/models/profiles/brand_campaign.rbs +0 -194
- data/sig/sentdm/models/profiles/campaign_data.rbs +0 -87
- data/sig/sentdm/models/profiles/campaign_use_case.rbs +0 -66
- data/sig/sentdm/models/profiles/campaign_use_case_data.rbs +0 -27
- data/sig/sentdm/models/template.rbs +0 -79
- 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
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type api_response_of_contact_message_summary =
|
|
4
|
-
{
|
|
5
|
-
data: Sentdm::ContactMessageSummary?,
|
|
6
|
-
error: Sentdm::ErrorDetail?,
|
|
7
|
-
meta: Sentdm::APIMeta,
|
|
8
|
-
success: bool
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class APIResponseOfContactMessageSummary < Sentdm::Internal::Type::BaseModel
|
|
12
|
-
attr_accessor data: Sentdm::ContactMessageSummary?
|
|
13
|
-
|
|
14
|
-
attr_accessor error: Sentdm::ErrorDetail?
|
|
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::ContactMessageSummary?,
|
|
26
|
-
?error: Sentdm::ErrorDetail?,
|
|
27
|
-
?meta: Sentdm::APIMeta,
|
|
28
|
-
?success: bool
|
|
29
|
-
) -> void
|
|
30
|
-
|
|
31
|
-
def to_hash: -> {
|
|
32
|
-
data: Sentdm::ContactMessageSummary?,
|
|
33
|
-
error: Sentdm::ErrorDetail?,
|
|
34
|
-
meta: Sentdm::APIMeta,
|
|
35
|
-
success: bool
|
|
36
|
-
}
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type api_response_of_conversation_messages_list =
|
|
4
|
-
{
|
|
5
|
-
data: Sentdm::ConversationMessagesList?,
|
|
6
|
-
error: Sentdm::ErrorDetail?,
|
|
7
|
-
meta: Sentdm::APIMeta,
|
|
8
|
-
success: bool
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class APIResponseOfConversationMessagesList < Sentdm::Internal::Type::BaseModel
|
|
12
|
-
attr_accessor data: Sentdm::ConversationMessagesList?
|
|
13
|
-
|
|
14
|
-
attr_accessor error: Sentdm::ErrorDetail?
|
|
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::ConversationMessagesList?,
|
|
26
|
-
?error: Sentdm::ErrorDetail?,
|
|
27
|
-
?meta: Sentdm::APIMeta,
|
|
28
|
-
?success: bool
|
|
29
|
-
) -> void
|
|
30
|
-
|
|
31
|
-
def to_hash: -> {
|
|
32
|
-
data: Sentdm::ConversationMessagesList?,
|
|
33
|
-
error: Sentdm::ErrorDetail?,
|
|
34
|
-
meta: Sentdm::APIMeta,
|
|
35
|
-
success: bool
|
|
36
|
-
}
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type api_response_of_profile_detail =
|
|
4
|
-
{
|
|
5
|
-
data: Sentdm::ProfileDetail?,
|
|
6
|
-
error: Sentdm::ErrorDetail?,
|
|
7
|
-
meta: Sentdm::APIMeta,
|
|
8
|
-
success: bool
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class APIResponseOfProfileDetail < Sentdm::Internal::Type::BaseModel
|
|
12
|
-
attr_accessor data: Sentdm::ProfileDetail?
|
|
13
|
-
|
|
14
|
-
attr_accessor error: Sentdm::ErrorDetail?
|
|
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::ProfileDetail?,
|
|
26
|
-
?error: Sentdm::ErrorDetail?,
|
|
27
|
-
?meta: Sentdm::APIMeta,
|
|
28
|
-
?success: bool
|
|
29
|
-
) -> void
|
|
30
|
-
|
|
31
|
-
def to_hash: -> {
|
|
32
|
-
data: Sentdm::ProfileDetail?,
|
|
33
|
-
error: Sentdm::ErrorDetail?,
|
|
34
|
-
meta: Sentdm::APIMeta,
|
|
35
|
-
success: bool
|
|
36
|
-
}
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type api_response_of_user =
|
|
4
|
-
{
|
|
5
|
-
data: Sentdm::UserResponse?,
|
|
6
|
-
error: Sentdm::ErrorDetail?,
|
|
7
|
-
meta: Sentdm::APIMeta,
|
|
8
|
-
success: bool
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class APIResponseOfUser < Sentdm::Internal::Type::BaseModel
|
|
12
|
-
attr_accessor data: Sentdm::UserResponse?
|
|
13
|
-
|
|
14
|
-
attr_accessor error: Sentdm::ErrorDetail?
|
|
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::UserResponse?,
|
|
26
|
-
?error: Sentdm::ErrorDetail?,
|
|
27
|
-
?meta: Sentdm::APIMeta,
|
|
28
|
-
?success: bool
|
|
29
|
-
) -> void
|
|
30
|
-
|
|
31
|
-
def to_hash: -> {
|
|
32
|
-
data: Sentdm::UserResponse?,
|
|
33
|
-
error: Sentdm::ErrorDetail?,
|
|
34
|
-
meta: Sentdm::APIMeta,
|
|
35
|
-
success: bool
|
|
36
|
-
}
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type api_response_template =
|
|
4
|
-
{
|
|
5
|
-
data: Sentdm::Template?,
|
|
6
|
-
error: Sentdm::ErrorDetail?,
|
|
7
|
-
meta: Sentdm::APIMeta,
|
|
8
|
-
success: bool
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class APIResponseTemplate < Sentdm::Internal::Type::BaseModel
|
|
12
|
-
attr_accessor data: Sentdm::Template?
|
|
13
|
-
|
|
14
|
-
attr_accessor error: Sentdm::ErrorDetail?
|
|
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::Template?,
|
|
26
|
-
?error: Sentdm::ErrorDetail?,
|
|
27
|
-
?meta: Sentdm::APIMeta,
|
|
28
|
-
?success: bool
|
|
29
|
-
) -> void
|
|
30
|
-
|
|
31
|
-
def to_hash: -> {
|
|
32
|
-
data: Sentdm::Template?,
|
|
33
|
-
error: Sentdm::ErrorDetail?,
|
|
34
|
-
meta: Sentdm::APIMeta,
|
|
35
|
-
success: bool
|
|
36
|
-
}
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type api_response_webhook =
|
|
4
|
-
{
|
|
5
|
-
data: Sentdm::WebhookResponse?,
|
|
6
|
-
error: Sentdm::ErrorDetail?,
|
|
7
|
-
meta: Sentdm::APIMeta,
|
|
8
|
-
success: bool
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class APIResponseWebhook < Sentdm::Internal::Type::BaseModel
|
|
12
|
-
attr_accessor data: Sentdm::WebhookResponse?
|
|
13
|
-
|
|
14
|
-
attr_accessor error: Sentdm::ErrorDetail?
|
|
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::WebhookResponse?,
|
|
26
|
-
?error: Sentdm::ErrorDetail?,
|
|
27
|
-
?meta: Sentdm::APIMeta,
|
|
28
|
-
?success: bool
|
|
29
|
-
) -> void
|
|
30
|
-
|
|
31
|
-
def to_hash: -> {
|
|
32
|
-
data: Sentdm::WebhookResponse?,
|
|
33
|
-
error: Sentdm::ErrorDetail?,
|
|
34
|
-
meta: Sentdm::APIMeta,
|
|
35
|
-
success: bool
|
|
36
|
-
}
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type billing_contact_info =
|
|
4
|
-
{ email: String, name: String, address: String?, phone: String? }
|
|
5
|
-
|
|
6
|
-
class BillingContactInfo < Sentdm::Internal::Type::BaseModel
|
|
7
|
-
attr_accessor email: String
|
|
8
|
-
|
|
9
|
-
attr_accessor name: String
|
|
10
|
-
|
|
11
|
-
attr_accessor address: String?
|
|
12
|
-
|
|
13
|
-
attr_accessor phone: String?
|
|
14
|
-
|
|
15
|
-
def initialize: (
|
|
16
|
-
email: String,
|
|
17
|
-
name: String,
|
|
18
|
-
?address: String?,
|
|
19
|
-
?phone: String?
|
|
20
|
-
) -> void
|
|
21
|
-
|
|
22
|
-
def to_hash: -> {
|
|
23
|
-
email: String,
|
|
24
|
-
name: String,
|
|
25
|
-
address: String?,
|
|
26
|
-
phone: String?
|
|
27
|
-
}
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type brand_business_info =
|
|
4
|
-
{
|
|
5
|
-
city: String?,
|
|
6
|
-
country: String?,
|
|
7
|
-
country_of_registration: String?,
|
|
8
|
-
entity_type: Sentdm::Models::BrandBusinessInfo::entity_type?,
|
|
9
|
-
legal_name: String?,
|
|
10
|
-
postal_code: String?,
|
|
11
|
-
state: String?,
|
|
12
|
-
street: String?,
|
|
13
|
-
tax_id: String?,
|
|
14
|
-
tax_id_type: String?,
|
|
15
|
-
url: String?
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
class BrandBusinessInfo < Sentdm::Internal::Type::BaseModel
|
|
19
|
-
attr_accessor city: String?
|
|
20
|
-
|
|
21
|
-
attr_accessor country: String?
|
|
22
|
-
|
|
23
|
-
attr_accessor country_of_registration: String?
|
|
24
|
-
|
|
25
|
-
attr_accessor entity_type: Sentdm::Models::BrandBusinessInfo::entity_type?
|
|
26
|
-
|
|
27
|
-
attr_accessor legal_name: String?
|
|
28
|
-
|
|
29
|
-
attr_accessor postal_code: String?
|
|
30
|
-
|
|
31
|
-
attr_accessor state: String?
|
|
32
|
-
|
|
33
|
-
attr_accessor street: String?
|
|
34
|
-
|
|
35
|
-
attr_accessor tax_id: String?
|
|
36
|
-
|
|
37
|
-
attr_accessor tax_id_type: String?
|
|
38
|
-
|
|
39
|
-
attr_accessor url: String?
|
|
40
|
-
|
|
41
|
-
def initialize: (
|
|
42
|
-
?city: String?,
|
|
43
|
-
?country: String?,
|
|
44
|
-
?country_of_registration: String?,
|
|
45
|
-
?entity_type: Sentdm::Models::BrandBusinessInfo::entity_type?,
|
|
46
|
-
?legal_name: String?,
|
|
47
|
-
?postal_code: String?,
|
|
48
|
-
?state: String?,
|
|
49
|
-
?street: String?,
|
|
50
|
-
?tax_id: String?,
|
|
51
|
-
?tax_id_type: String?,
|
|
52
|
-
?url: String?
|
|
53
|
-
) -> void
|
|
54
|
-
|
|
55
|
-
def to_hash: -> {
|
|
56
|
-
city: String?,
|
|
57
|
-
country: String?,
|
|
58
|
-
country_of_registration: String?,
|
|
59
|
-
entity_type: Sentdm::Models::BrandBusinessInfo::entity_type?,
|
|
60
|
-
legal_name: String?,
|
|
61
|
-
postal_code: String?,
|
|
62
|
-
state: String?,
|
|
63
|
-
street: String?,
|
|
64
|
-
tax_id: String?,
|
|
65
|
-
tax_id_type: String?,
|
|
66
|
-
url: String?
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
type entity_type =
|
|
70
|
-
:PRIVATE_PROFIT
|
|
71
|
-
| :PUBLIC_PROFIT
|
|
72
|
-
| :NON_PROFIT
|
|
73
|
-
| :SOLE_PROPRIETOR
|
|
74
|
-
| :GOVERNMENT
|
|
75
|
-
|
|
76
|
-
module EntityType
|
|
77
|
-
extend Sentdm::Internal::Type::Enum
|
|
78
|
-
|
|
79
|
-
PRIVATE_PROFIT: :PRIVATE_PROFIT
|
|
80
|
-
PUBLIC_PROFIT: :PUBLIC_PROFIT
|
|
81
|
-
NON_PROFIT: :NON_PROFIT
|
|
82
|
-
SOLE_PROPRIETOR: :SOLE_PROPRIETOR
|
|
83
|
-
GOVERNMENT: :GOVERNMENT
|
|
84
|
-
|
|
85
|
-
def self?.values: -> ::Array[Sentdm::Models::BrandBusinessInfo::entity_type]
|
|
86
|
-
end
|
|
87
|
-
end
|
|
88
|
-
end
|
|
89
|
-
end
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type brand_compliance_info =
|
|
4
|
-
{
|
|
5
|
-
brand_relationship: Sentdm::Models::tcr_brand_relationship,
|
|
6
|
-
vertical: Sentdm::Models::tcr_vertical,
|
|
7
|
-
destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
8
|
-
is_tcr_application: bool?,
|
|
9
|
-
notes: String?,
|
|
10
|
-
phone_number_prefix: String?,
|
|
11
|
-
primary_use_case: String?
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
class BrandComplianceInfo < Sentdm::Internal::Type::BaseModel
|
|
15
|
-
attr_accessor brand_relationship: Sentdm::Models::tcr_brand_relationship
|
|
16
|
-
|
|
17
|
-
attr_accessor vertical: Sentdm::Models::tcr_vertical
|
|
18
|
-
|
|
19
|
-
attr_accessor destination_countries: ::Array[Sentdm::DestinationCountry]?
|
|
20
|
-
|
|
21
|
-
attr_accessor is_tcr_application: bool?
|
|
22
|
-
|
|
23
|
-
attr_accessor notes: String?
|
|
24
|
-
|
|
25
|
-
attr_accessor phone_number_prefix: String?
|
|
26
|
-
|
|
27
|
-
attr_accessor primary_use_case: String?
|
|
28
|
-
|
|
29
|
-
def initialize: (
|
|
30
|
-
brand_relationship: Sentdm::Models::tcr_brand_relationship,
|
|
31
|
-
vertical: Sentdm::Models::tcr_vertical,
|
|
32
|
-
?destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
33
|
-
?is_tcr_application: bool?,
|
|
34
|
-
?notes: String?,
|
|
35
|
-
?phone_number_prefix: String?,
|
|
36
|
-
?primary_use_case: String?
|
|
37
|
-
) -> void
|
|
38
|
-
|
|
39
|
-
def to_hash: -> {
|
|
40
|
-
brand_relationship: Sentdm::Models::tcr_brand_relationship,
|
|
41
|
-
vertical: Sentdm::Models::tcr_vertical,
|
|
42
|
-
destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
43
|
-
is_tcr_application: bool?,
|
|
44
|
-
notes: String?,
|
|
45
|
-
phone_number_prefix: String?,
|
|
46
|
-
primary_use_case: String?
|
|
47
|
-
}
|
|
48
|
-
end
|
|
49
|
-
end
|
|
50
|
-
end
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type brand_contact_info =
|
|
4
|
-
{
|
|
5
|
-
name: String,
|
|
6
|
-
business_name: String?,
|
|
7
|
-
email: String?,
|
|
8
|
-
phone: String?,
|
|
9
|
-
phone_country_code: String?,
|
|
10
|
-
role: String?
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
class BrandContactInfo < Sentdm::Internal::Type::BaseModel
|
|
14
|
-
attr_accessor name: String
|
|
15
|
-
|
|
16
|
-
attr_accessor business_name: String?
|
|
17
|
-
|
|
18
|
-
attr_accessor email: String?
|
|
19
|
-
|
|
20
|
-
attr_accessor phone: String?
|
|
21
|
-
|
|
22
|
-
attr_accessor phone_country_code: String?
|
|
23
|
-
|
|
24
|
-
attr_accessor role: String?
|
|
25
|
-
|
|
26
|
-
def initialize: (
|
|
27
|
-
name: String,
|
|
28
|
-
?business_name: String?,
|
|
29
|
-
?email: String?,
|
|
30
|
-
?phone: String?,
|
|
31
|
-
?phone_country_code: String?,
|
|
32
|
-
?role: String?
|
|
33
|
-
) -> void
|
|
34
|
-
|
|
35
|
-
def to_hash: -> {
|
|
36
|
-
name: String,
|
|
37
|
-
business_name: String?,
|
|
38
|
-
email: String?,
|
|
39
|
-
phone: String?,
|
|
40
|
-
phone_country_code: String?,
|
|
41
|
-
role: String?
|
|
42
|
-
}
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
end
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type brands_brand_data =
|
|
4
|
-
{
|
|
5
|
-
compliance: Sentdm::BrandComplianceInfo,
|
|
6
|
-
contact: Sentdm::BrandContactInfo,
|
|
7
|
-
business: Sentdm::BrandBusinessInfo?
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
class BrandsBrandData < Sentdm::Internal::Type::BaseModel
|
|
11
|
-
attr_accessor compliance: Sentdm::BrandComplianceInfo
|
|
12
|
-
|
|
13
|
-
attr_accessor contact: Sentdm::BrandContactInfo
|
|
14
|
-
|
|
15
|
-
attr_accessor business: Sentdm::BrandBusinessInfo?
|
|
16
|
-
|
|
17
|
-
def initialize: (
|
|
18
|
-
compliance: Sentdm::BrandComplianceInfo,
|
|
19
|
-
contact: Sentdm::BrandContactInfo,
|
|
20
|
-
?business: Sentdm::BrandBusinessInfo?
|
|
21
|
-
) -> void
|
|
22
|
-
|
|
23
|
-
def to_hash: -> {
|
|
24
|
-
compliance: Sentdm::BrandComplianceInfo,
|
|
25
|
-
contact: Sentdm::BrandContactInfo,
|
|
26
|
-
business: Sentdm::BrandBusinessInfo?
|
|
27
|
-
}
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type contact_message_summary =
|
|
4
|
-
{
|
|
5
|
-
channel_scores: ::Array[Sentdm::ContactMessageSummary::ChannelScore],
|
|
6
|
-
channels_used: ::Array[String],
|
|
7
|
-
contact_id: String,
|
|
8
|
-
first_message_at: Time?,
|
|
9
|
-
last_message_at: Time?,
|
|
10
|
-
message_count: Integer
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
class ContactMessageSummary < Sentdm::Internal::Type::BaseModel
|
|
14
|
-
attr_reader channel_scores: ::Array[Sentdm::ContactMessageSummary::ChannelScore]?
|
|
15
|
-
|
|
16
|
-
def channel_scores=: (
|
|
17
|
-
::Array[Sentdm::ContactMessageSummary::ChannelScore]
|
|
18
|
-
) -> ::Array[Sentdm::ContactMessageSummary::ChannelScore]
|
|
19
|
-
|
|
20
|
-
attr_reader channels_used: ::Array[String]?
|
|
21
|
-
|
|
22
|
-
def channels_used=: (::Array[String]) -> ::Array[String]
|
|
23
|
-
|
|
24
|
-
attr_reader contact_id: String?
|
|
25
|
-
|
|
26
|
-
def contact_id=: (String) -> String
|
|
27
|
-
|
|
28
|
-
attr_accessor first_message_at: Time?
|
|
29
|
-
|
|
30
|
-
attr_accessor last_message_at: Time?
|
|
31
|
-
|
|
32
|
-
attr_reader message_count: Integer?
|
|
33
|
-
|
|
34
|
-
def message_count=: (Integer) -> Integer
|
|
35
|
-
|
|
36
|
-
def initialize: (
|
|
37
|
-
?channel_scores: ::Array[Sentdm::ContactMessageSummary::ChannelScore],
|
|
38
|
-
?channels_used: ::Array[String],
|
|
39
|
-
?contact_id: String,
|
|
40
|
-
?first_message_at: Time?,
|
|
41
|
-
?last_message_at: Time?,
|
|
42
|
-
?message_count: Integer
|
|
43
|
-
) -> void
|
|
44
|
-
|
|
45
|
-
def to_hash: -> {
|
|
46
|
-
channel_scores: ::Array[Sentdm::ContactMessageSummary::ChannelScore],
|
|
47
|
-
channels_used: ::Array[String],
|
|
48
|
-
contact_id: String,
|
|
49
|
-
first_message_at: Time?,
|
|
50
|
-
last_message_at: Time?,
|
|
51
|
-
message_count: Integer
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
type channel_score =
|
|
55
|
-
{ channel: String, fail_score: Integer, success_score: Integer }
|
|
56
|
-
|
|
57
|
-
class ChannelScore < Sentdm::Internal::Type::BaseModel
|
|
58
|
-
attr_reader channel: String?
|
|
59
|
-
|
|
60
|
-
def channel=: (String) -> String
|
|
61
|
-
|
|
62
|
-
attr_reader fail_score: Integer?
|
|
63
|
-
|
|
64
|
-
def fail_score=: (Integer) -> Integer
|
|
65
|
-
|
|
66
|
-
attr_reader success_score: Integer?
|
|
67
|
-
|
|
68
|
-
def success_score=: (Integer) -> Integer
|
|
69
|
-
|
|
70
|
-
def initialize: (
|
|
71
|
-
?channel: String,
|
|
72
|
-
?fail_score: Integer,
|
|
73
|
-
?success_score: Integer
|
|
74
|
-
) -> void
|
|
75
|
-
|
|
76
|
-
def to_hash: -> {
|
|
77
|
-
channel: String,
|
|
78
|
-
fail_score: Integer,
|
|
79
|
-
success_score: Integer
|
|
80
|
-
}
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
end
|
|
84
|
-
end
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type contact_response =
|
|
4
|
-
{
|
|
5
|
-
id: String,
|
|
6
|
-
available_channels: String,
|
|
7
|
-
country_code: String,
|
|
8
|
-
created_at: Time,
|
|
9
|
-
default_channel: String,
|
|
10
|
-
:format_e164 => String,
|
|
11
|
-
format_international: String,
|
|
12
|
-
format_national: String,
|
|
13
|
-
format_rfc: String,
|
|
14
|
-
is_inherited: bool,
|
|
15
|
-
opt_out: bool,
|
|
16
|
-
phone_number: String,
|
|
17
|
-
region_code: String,
|
|
18
|
-
updated_at: Time?
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
class ContactResponse < Sentdm::Internal::Type::BaseModel
|
|
22
|
-
attr_reader id: String?
|
|
23
|
-
|
|
24
|
-
def id=: (String) -> String
|
|
25
|
-
|
|
26
|
-
attr_reader available_channels: String?
|
|
27
|
-
|
|
28
|
-
def available_channels=: (String) -> String
|
|
29
|
-
|
|
30
|
-
attr_reader country_code: String?
|
|
31
|
-
|
|
32
|
-
def country_code=: (String) -> String
|
|
33
|
-
|
|
34
|
-
attr_reader created_at: Time?
|
|
35
|
-
|
|
36
|
-
def created_at=: (Time) -> Time
|
|
37
|
-
|
|
38
|
-
attr_reader default_channel: String?
|
|
39
|
-
|
|
40
|
-
def default_channel=: (String) -> String
|
|
41
|
-
|
|
42
|
-
attr_reader format_e164: String?
|
|
43
|
-
|
|
44
|
-
def format_e164=: (String) -> String
|
|
45
|
-
|
|
46
|
-
attr_reader format_international: String?
|
|
47
|
-
|
|
48
|
-
def format_international=: (String) -> String
|
|
49
|
-
|
|
50
|
-
attr_reader format_national: String?
|
|
51
|
-
|
|
52
|
-
def format_national=: (String) -> String
|
|
53
|
-
|
|
54
|
-
attr_reader format_rfc: String?
|
|
55
|
-
|
|
56
|
-
def format_rfc=: (String) -> String
|
|
57
|
-
|
|
58
|
-
attr_reader is_inherited: bool?
|
|
59
|
-
|
|
60
|
-
def is_inherited=: (bool) -> bool
|
|
61
|
-
|
|
62
|
-
attr_reader opt_out: bool?
|
|
63
|
-
|
|
64
|
-
def opt_out=: (bool) -> bool
|
|
65
|
-
|
|
66
|
-
attr_reader phone_number: String?
|
|
67
|
-
|
|
68
|
-
def phone_number=: (String) -> String
|
|
69
|
-
|
|
70
|
-
attr_reader region_code: String?
|
|
71
|
-
|
|
72
|
-
def region_code=: (String) -> String
|
|
73
|
-
|
|
74
|
-
attr_accessor updated_at: Time?
|
|
75
|
-
|
|
76
|
-
def initialize: (
|
|
77
|
-
?id: String,
|
|
78
|
-
?available_channels: String,
|
|
79
|
-
?country_code: String,
|
|
80
|
-
?created_at: Time,
|
|
81
|
-
?default_channel: String,
|
|
82
|
-
?format_e164: String,
|
|
83
|
-
?format_international: String,
|
|
84
|
-
?format_national: String,
|
|
85
|
-
?format_rfc: String,
|
|
86
|
-
?is_inherited: bool,
|
|
87
|
-
?opt_out: bool,
|
|
88
|
-
?phone_number: String,
|
|
89
|
-
?region_code: String,
|
|
90
|
-
?updated_at: Time?
|
|
91
|
-
) -> void
|
|
92
|
-
|
|
93
|
-
def to_hash: -> {
|
|
94
|
-
id: String,
|
|
95
|
-
available_channels: String,
|
|
96
|
-
country_code: String,
|
|
97
|
-
created_at: Time,
|
|
98
|
-
default_channel: String,
|
|
99
|
-
:format_e164 => String,
|
|
100
|
-
format_international: String,
|
|
101
|
-
format_national: String,
|
|
102
|
-
format_rfc: String,
|
|
103
|
-
is_inherited: bool,
|
|
104
|
-
opt_out: bool,
|
|
105
|
-
phone_number: String,
|
|
106
|
-
region_code: String,
|
|
107
|
-
updated_at: Time?
|
|
108
|
-
}
|
|
109
|
-
end
|
|
110
|
-
end
|
|
111
|
-
end
|