sentdm 0.29.0 → 0.30.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 +11 -0
- data/README.md +27 -1
- data/lib/sentdm/internal/type/base_model.rb +5 -5
- 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_contact_message_summary.rb +43 -0
- data/lib/sentdm/models/api_response_of_conversation_messages_list.rb +43 -0
- data/lib/sentdm/models/api_response_of_profile_detail.rb +43 -0
- data/lib/sentdm/models/api_response_of_user.rb +43 -0
- data/lib/sentdm/models/api_response_template.rb +43 -0
- data/lib/sentdm/models/api_response_webhook.rb +43 -0
- data/lib/sentdm/models/billing_contact_info.rb +47 -0
- data/lib/sentdm/models/brand_business_info.rb +114 -0
- data/lib/sentdm/models/brand_compliance_info.rb +59 -0
- data/lib/sentdm/models/brand_contact_info.rb +58 -0
- data/lib/sentdm/models/brands_brand_data.rb +34 -0
- data/lib/sentdm/models/contact_delete_params.rb +2 -16
- data/lib/sentdm/models/contact_list_response.rb +12 -295
- data/lib/sentdm/models/contact_message_summary.rb +76 -0
- data/lib/sentdm/models/contact_response.rb +139 -0
- data/lib/sentdm/models/conversation_messages_list.rb +245 -0
- data/lib/sentdm/models/error_detail.rb +42 -0
- data/lib/sentdm/models/me_retrieve_response.rb +12 -242
- data/lib/sentdm/models/message_retrieve_activities_response.rb +9 -159
- 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 +84 -0
- data/lib/sentdm/models/payment_details.rb +40 -0
- data/lib/sentdm/models/profile_complete_response.rb +6 -74
- data/lib/sentdm/models/profile_create_params.rb +9 -345
- data/lib/sentdm/models/profile_delete_params.rb +2 -16
- data/lib/sentdm/models/profile_detail.rb +650 -0
- data/lib/sentdm/models/profile_list_response.rb +12 -815
- data/lib/sentdm/models/profile_settings.rb +85 -0
- data/lib/sentdm/models/profile_update_params.rb +9 -345
- data/lib/sentdm/models/profiles/api_response_of_brand_campaign.rb +45 -0
- data/lib/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rb +45 -0
- data/lib/sentdm/models/profiles/brand_campaign.rb +247 -0
- data/lib/sentdm/models/profiles/campaign_create_params.rb +3 -156
- data/lib/sentdm/models/profiles/campaign_data.rb +136 -0
- data/lib/sentdm/models/profiles/campaign_delete_params.rb +2 -17
- data/lib/sentdm/models/profiles/campaign_update_params.rb +3 -156
- data/lib/sentdm/models/profiles/campaign_use_case.rb +71 -0
- data/lib/sentdm/models/profiles/campaign_use_case_data.rb +29 -0
- data/lib/sentdm/models/template.rb +102 -0
- data/lib/sentdm/models/template_list_response.rb +12 -258
- data/lib/sentdm/models/user_list_response.rb +12 -249
- data/lib/sentdm/models/user_remove_params.rb +2 -16
- data/lib/sentdm/models/user_response.rb +94 -0
- data/lib/sentdm/models/webhook_event_type.rb +45 -0
- data/lib/sentdm/models/webhook_list_event_types_response.rb +12 -203
- data/lib/sentdm/models/webhook_list_events_response.rb +9 -157
- data/lib/sentdm/models/webhook_list_response.rb +12 -276
- data/lib/sentdm/models/webhook_response.rb +120 -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 +52 -0
- data/lib/sentdm/resources/contacts.rb +8 -8
- data/lib/sentdm/resources/conversations.rb +4 -4
- data/lib/sentdm/resources/profiles/campaigns.rb +8 -8
- data/lib/sentdm/resources/profiles.rb +12 -12
- data/lib/sentdm/resources/templates.rb +6 -6
- 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 +32 -22
- 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_contact_message_summary.rbi +79 -0
- data/rbi/sentdm/models/api_response_of_conversation_messages_list.rbi +79 -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/brand_business_info.rbi +162 -0
- data/rbi/sentdm/models/brand_compliance_info.rbi +76 -0
- data/rbi/sentdm/models/brand_contact_info.rbi +78 -0
- data/rbi/sentdm/models/brands_brand_data.rbi +65 -0
- data/rbi/sentdm/models/contact_delete_params.rbi +2 -19
- data/rbi/sentdm/models/contact_list_response.rbi +16 -522
- data/rbi/sentdm/models/contact_message_summary.rbi +144 -0
- data/rbi/sentdm/models/contact_response.rbi +200 -0
- data/rbi/sentdm/models/conversation_messages_list.rbi +419 -0
- data/rbi/sentdm/models/error_detail.rbi +66 -0
- data/rbi/sentdm/models/me_retrieve_response.rbi +16 -367
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +12 -325
- 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 +56 -0
- data/rbi/sentdm/models/profile_complete_response.rbi +8 -137
- data/rbi/sentdm/models/profile_create_params.rbi +12 -546
- data/rbi/sentdm/models/profile_delete_params.rbi +2 -19
- data/rbi/sentdm/models/profile_detail.rbi +918 -0
- data/rbi/sentdm/models/profile_list_response.rbi +16 -1347
- data/rbi/sentdm/models/profile_settings.rbi +102 -0
- data/rbi/sentdm/models/profile_update_params.rbi +12 -546
- data/rbi/sentdm/models/profiles/api_response_of_brand_campaign.rbi +81 -0
- data/rbi/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rbi +76 -0
- data/rbi/sentdm/models/profiles/brand_campaign.rbi +299 -0
- data/rbi/sentdm/models/profiles/campaign_create_params.rbi +4 -218
- data/rbi/sentdm/models/profiles/campaign_data.rbi +158 -0
- data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +1 -14
- data/rbi/sentdm/models/profiles/campaign_update_params.rbi +4 -218
- data/rbi/sentdm/models/profiles/campaign_use_case.rbi +110 -0
- data/rbi/sentdm/models/profiles/campaign_use_case_data.rbi +51 -0
- data/rbi/sentdm/models/template.rbi +139 -0
- data/rbi/sentdm/models/template_list_response.rbi +16 -464
- data/rbi/sentdm/models/user_list_response.rbi +16 -444
- data/rbi/sentdm/models/user_remove_params.rbi +2 -19
- data/rbi/sentdm/models/user_response.rbi +131 -0
- data/rbi/sentdm/models/webhook_event_type.rbi +74 -0
- data/rbi/sentdm/models/webhook_list_event_types_response.rbi +16 -414
- data/rbi/sentdm/models/webhook_list_events_response.rbi +12 -314
- data/rbi/sentdm/models/webhook_list_response.rbi +16 -475
- data/rbi/sentdm/models/webhook_response.rbi +153 -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 +54 -0
- data/rbi/sentdm/resources/contacts.rbi +4 -4
- data/rbi/sentdm/resources/conversations.rbi +2 -2
- data/rbi/sentdm/resources/profiles/campaigns.rbi +5 -5
- data/rbi/sentdm/resources/profiles.rbi +9 -13
- data/rbi/sentdm/resources/templates.rbi +3 -3
- 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_contact_message_summary.rbs +39 -0
- data/sig/sentdm/models/api_response_of_conversation_messages_list.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/brand_business_info.rbs +89 -0
- data/sig/sentdm/models/brand_compliance_info.rbs +45 -0
- data/sig/sentdm/models/brand_contact_info.rbs +45 -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 -263
- data/sig/sentdm/models/contact_message_summary.rbs +84 -0
- data/sig/sentdm/models/contact_response.rbs +118 -0
- data/sig/sentdm/models/conversation_messages_list.rbs +240 -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 +14 -142
- 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 -263
- data/sig/sentdm/models/profile_delete_params.rbs +6 -10
- data/sig/sentdm/models/profile_detail.rbs +461 -0
- data/sig/sentdm/models/profile_list_response.rbs +20 -606
- data/sig/sentdm/models/profile_settings.rbs +50 -0
- data/sig/sentdm/models/profile_update_params.rbs +12 -263
- data/sig/sentdm/models/profiles/api_response_of_brand_campaign.rbs +41 -0
- data/sig/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rbs +41 -0
- data/sig/sentdm/models/profiles/brand_campaign.rbs +194 -0
- data/sig/sentdm/models/profiles/campaign_create_params.rbs +4 -108
- data/sig/sentdm/models/profiles/campaign_data.rbs +87 -0
- data/sig/sentdm/models/profiles/campaign_delete_params.rbs +8 -15
- data/sig/sentdm/models/profiles/campaign_update_params.rbs +4 -108
- data/sig/sentdm/models/profiles/campaign_use_case.rbs +66 -0
- data/sig/sentdm/models/profiles/campaign_use_case_data.rbs +27 -0
- data/sig/sentdm/models/template.rbs +84 -0
- data/sig/sentdm/models/template_list_response.rbs +19 -230
- data/sig/sentdm/models/user_list_response.rbs +20 -224
- data/sig/sentdm/models/user_remove_params.rbs +6 -10
- data/sig/sentdm/models/user_response.rbs +79 -0
- data/sig/sentdm/models/webhook_event_type.rbs +51 -0
- data/sig/sentdm/models/webhook_list_event_types_response.rbs +20 -196
- data/sig/sentdm/models/webhook_list_events_response.rbs +14 -142
- data/sig/sentdm/models/webhook_list_response.rbs +20 -255
- data/sig/sentdm/models/webhook_response.rbs +110 -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 +52 -0
- 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 +9 -9
- 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 +98 -68
- data/lib/sentdm/models/contact_create_response.rb +0 -249
- data/lib/sentdm/models/contact_retrieve_message_summary_response.rb +0 -186
- data/lib/sentdm/models/contact_retrieve_response.rb +0 -249
- data/lib/sentdm/models/contact_update_response.rb +0 -249
- data/lib/sentdm/models/conversation_list_messages_response.rb +0 -436
- data/lib/sentdm/models/conversation_list_response.rb +0 -433
- data/lib/sentdm/models/profile_create_response.rb +0 -760
- data/lib/sentdm/models/profile_retrieve_response.rb +0 -762
- data/lib/sentdm/models/profile_update_response.rb +0 -760
- data/lib/sentdm/models/profiles/campaign_create_response.rb +0 -420
- data/lib/sentdm/models/profiles/campaign_list_response.rb +0 -421
- data/lib/sentdm/models/profiles/campaign_update_response.rb +0 -420
- data/lib/sentdm/models/template_create_response.rb +0 -209
- data/lib/sentdm/models/template_retrieve_response.rb +0 -209
- data/lib/sentdm/models/template_update_response.rb +0 -209
- data/lib/sentdm/models/user_invite_response.rb +0 -201
- data/lib/sentdm/models/user_retrieve_response.rb +0 -201
- data/lib/sentdm/models/user_update_role_response.rb +0 -201
- data/lib/sentdm/models/webhook_create_response.rb +0 -229
- data/lib/sentdm/models/webhook_retrieve_response.rb +0 -229
- data/lib/sentdm/models/webhook_toggle_status_response.rb +0 -229
- data/lib/sentdm/models/webhook_update_response.rb +0 -229
- data/rbi/sentdm/models/contact_create_response.rbi +0 -407
- data/rbi/sentdm/models/contact_retrieve_message_summary_response.rbi +0 -397
- data/rbi/sentdm/models/contact_retrieve_response.rbi +0 -409
- data/rbi/sentdm/models/contact_update_response.rbi +0 -407
- data/rbi/sentdm/models/conversation_list_messages_response.rbi +0 -843
- data/rbi/sentdm/models/conversation_list_response.rbi +0 -819
- data/rbi/sentdm/models/profile_create_response.rbi +0 -1226
- data/rbi/sentdm/models/profile_retrieve_response.rbi +0 -1230
- data/rbi/sentdm/models/profile_update_response.rbi +0 -1226
- data/rbi/sentdm/models/profiles/campaign_create_response.rbi +0 -674
- data/rbi/sentdm/models/profiles/campaign_list_response.rbi +0 -667
- data/rbi/sentdm/models/profiles/campaign_update_response.rbi +0 -674
- data/rbi/sentdm/models/template_create_response.rbi +0 -349
- data/rbi/sentdm/models/template_retrieve_response.rbi +0 -355
- data/rbi/sentdm/models/template_update_response.rbi +0 -349
- data/rbi/sentdm/models/user_invite_response.rbi +0 -336
- data/rbi/sentdm/models/user_retrieve_response.rbi +0 -336
- data/rbi/sentdm/models/user_update_role_response.rbi +0 -341
- data/rbi/sentdm/models/webhook_create_response.rbi +0 -361
- data/rbi/sentdm/models/webhook_retrieve_response.rbi +0 -363
- data/rbi/sentdm/models/webhook_toggle_status_response.rbi +0 -379
- data/rbi/sentdm/models/webhook_update_response.rbi +0 -361
- data/sig/sentdm/models/contact_create_response.rbs +0 -216
- data/sig/sentdm/models/contact_retrieve_message_summary_response.rbs +0 -182
- data/sig/sentdm/models/contact_retrieve_response.rbs +0 -216
- data/sig/sentdm/models/contact_update_response.rbs +0 -216
- data/sig/sentdm/models/conversation_list_messages_response.rbs +0 -404
- data/sig/sentdm/models/conversation_list_response.rbs +0 -404
- data/sig/sentdm/models/profile_create_response.rbs +0 -559
- data/sig/sentdm/models/profile_retrieve_response.rbs +0 -559
- data/sig/sentdm/models/profile_update_response.rbs +0 -559
- data/sig/sentdm/models/profiles/campaign_create_response.rbs +0 -357
- data/sig/sentdm/models/profiles/campaign_list_response.rbs +0 -357
- data/sig/sentdm/models/profiles/campaign_update_response.rbs +0 -357
- data/sig/sentdm/models/template_create_response.rbs +0 -182
- data/sig/sentdm/models/template_retrieve_response.rbs +0 -182
- data/sig/sentdm/models/template_update_response.rbs +0 -182
- data/sig/sentdm/models/user_invite_response.rbs +0 -177
- data/sig/sentdm/models/user_retrieve_response.rbs +0 -177
- data/sig/sentdm/models/user_update_role_response.rbs +0 -177
- data/sig/sentdm/models/webhook_create_response.rbs +0 -208
- data/sig/sentdm/models/webhook_retrieve_response.rbs +0 -208
- data/sig/sentdm/models/webhook_toggle_status_response.rbs +0 -208
- data/sig/sentdm/models/webhook_update_response.rbs +0 -208
data/sig/sentdm/models.rbs
CHANGED
|
@@ -1,12 +1,42 @@
|
|
|
1
1
|
module Sentdm
|
|
2
|
+
class APIMeta = Sentdm::Models::APIMeta
|
|
3
|
+
|
|
4
|
+
class APIResponseOfContact = Sentdm::Models::APIResponseOfContact
|
|
5
|
+
|
|
6
|
+
class APIResponseOfContactMessageSummary = Sentdm::Models::APIResponseOfContactMessageSummary
|
|
7
|
+
|
|
8
|
+
class APIResponseOfConversationMessagesList = Sentdm::Models::APIResponseOfConversationMessagesList
|
|
9
|
+
|
|
10
|
+
class APIResponseOfProfileDetail = Sentdm::Models::APIResponseOfProfileDetail
|
|
11
|
+
|
|
12
|
+
class APIResponseOfUser = Sentdm::Models::APIResponseOfUser
|
|
13
|
+
|
|
14
|
+
class APIResponseTemplate = Sentdm::Models::APIResponseTemplate
|
|
15
|
+
|
|
16
|
+
class APIResponseWebhook = Sentdm::Models::APIResponseWebhook
|
|
17
|
+
|
|
2
18
|
class AuthenticationConfig = Sentdm::Models::AuthenticationConfig
|
|
3
19
|
|
|
20
|
+
class BillingContactInfo = Sentdm::Models::BillingContactInfo
|
|
21
|
+
|
|
22
|
+
class BrandBusinessInfo = Sentdm::Models::BrandBusinessInfo
|
|
23
|
+
|
|
24
|
+
class BrandComplianceInfo = Sentdm::Models::BrandComplianceInfo
|
|
25
|
+
|
|
26
|
+
class BrandContactInfo = Sentdm::Models::BrandContactInfo
|
|
27
|
+
|
|
28
|
+
class BrandsBrandData = Sentdm::Models::BrandsBrandData
|
|
29
|
+
|
|
4
30
|
class ContactCreateParams = Sentdm::Models::ContactCreateParams
|
|
5
31
|
|
|
6
32
|
class ContactDeleteParams = Sentdm::Models::ContactDeleteParams
|
|
7
33
|
|
|
8
34
|
class ContactListParams = Sentdm::Models::ContactListParams
|
|
9
35
|
|
|
36
|
+
class ContactMessageSummary = Sentdm::Models::ContactMessageSummary
|
|
37
|
+
|
|
38
|
+
class ContactResponse = Sentdm::Models::ContactResponse
|
|
39
|
+
|
|
10
40
|
class ContactRetrieveMessageSummaryParams = Sentdm::Models::ContactRetrieveMessageSummaryParams
|
|
11
41
|
|
|
12
42
|
class ContactRetrieveParams = Sentdm::Models::ContactRetrieveParams
|
|
@@ -17,8 +47,12 @@ module Sentdm
|
|
|
17
47
|
|
|
18
48
|
class ConversationListParams = Sentdm::Models::ConversationListParams
|
|
19
49
|
|
|
50
|
+
class ConversationMessagesList = Sentdm::Models::ConversationMessagesList
|
|
51
|
+
|
|
20
52
|
class DestinationCountry = Sentdm::Models::DestinationCountry
|
|
21
53
|
|
|
54
|
+
class ErrorDetail = Sentdm::Models::ErrorDetail
|
|
55
|
+
|
|
22
56
|
class InboundMessageEvent = Sentdm::Models::InboundMessageEvent
|
|
23
57
|
|
|
24
58
|
class InboundMessageEventPayload = Sentdm::Models::InboundMessageEventPayload
|
|
@@ -35,26 +69,38 @@ module Sentdm
|
|
|
35
69
|
|
|
36
70
|
class MessageSendParams = Sentdm::Models::MessageSendParams
|
|
37
71
|
|
|
72
|
+
class MutationRequest = Sentdm::Models::MutationRequest
|
|
73
|
+
|
|
38
74
|
class NumberLookupParams = Sentdm::Models::NumberLookupParams
|
|
39
75
|
|
|
76
|
+
class PaginationMeta = Sentdm::Models::PaginationMeta
|
|
77
|
+
|
|
78
|
+
class PaymentDetails = Sentdm::Models::PaymentDetails
|
|
79
|
+
|
|
40
80
|
class ProfileCompleteParams = Sentdm::Models::ProfileCompleteParams
|
|
41
81
|
|
|
42
82
|
class ProfileCreateParams = Sentdm::Models::ProfileCreateParams
|
|
43
83
|
|
|
44
84
|
class ProfileDeleteParams = Sentdm::Models::ProfileDeleteParams
|
|
45
85
|
|
|
86
|
+
class ProfileDetail = Sentdm::Models::ProfileDetail
|
|
87
|
+
|
|
46
88
|
class ProfileListParams = Sentdm::Models::ProfileListParams
|
|
47
89
|
|
|
48
90
|
class ProfileRetrieveParams = Sentdm::Models::ProfileRetrieveParams
|
|
49
91
|
|
|
50
92
|
module Profiles = Sentdm::Models::Profiles
|
|
51
93
|
|
|
94
|
+
class ProfileSettings = Sentdm::Models::ProfileSettings
|
|
95
|
+
|
|
52
96
|
class ProfileUpdateParams = Sentdm::Models::ProfileUpdateParams
|
|
53
97
|
|
|
54
98
|
module TcrBrandRelationship = Sentdm::Models::TcrBrandRelationship
|
|
55
99
|
|
|
56
100
|
module TcrVertical = Sentdm::Models::TcrVertical
|
|
57
101
|
|
|
102
|
+
class Template = Sentdm::Models::Template
|
|
103
|
+
|
|
58
104
|
class TemplateBody = Sentdm::Models::TemplateBody
|
|
59
105
|
|
|
60
106
|
class TemplateBodyContent = Sentdm::Models::TemplateBodyContent
|
|
@@ -91,6 +137,8 @@ module Sentdm
|
|
|
91
137
|
|
|
92
138
|
class UserRemoveParams = Sentdm::Models::UserRemoveParams
|
|
93
139
|
|
|
140
|
+
class UserResponse = Sentdm::Models::UserResponse
|
|
141
|
+
|
|
94
142
|
class UserRetrieveParams = Sentdm::Models::UserRetrieveParams
|
|
95
143
|
|
|
96
144
|
class UserUpdateRoleParams = Sentdm::Models::UserUpdateRoleParams
|
|
@@ -99,12 +147,16 @@ module Sentdm
|
|
|
99
147
|
|
|
100
148
|
class WebhookDeleteParams = Sentdm::Models::WebhookDeleteParams
|
|
101
149
|
|
|
150
|
+
class WebhookEventType = Sentdm::Models::WebhookEventType
|
|
151
|
+
|
|
102
152
|
class WebhookListEventsParams = Sentdm::Models::WebhookListEventsParams
|
|
103
153
|
|
|
104
154
|
class WebhookListEventTypesParams = Sentdm::Models::WebhookListEventTypesParams
|
|
105
155
|
|
|
106
156
|
class WebhookListParams = Sentdm::Models::WebhookListParams
|
|
107
157
|
|
|
158
|
+
class WebhookResponse = Sentdm::Models::WebhookResponse
|
|
159
|
+
|
|
108
160
|
class WebhookRetrieveParams = Sentdm::Models::WebhookRetrieveParams
|
|
109
161
|
|
|
110
162
|
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,
|
|
@@ -46,7 +46,7 @@ module Sentdm
|
|
|
46
46
|
String contact_id,
|
|
47
47
|
?x_profile_id: String,
|
|
48
48
|
?request_options: Sentdm::request_opts
|
|
49
|
-
) -> Sentdm::
|
|
49
|
+
) -> Sentdm::APIResponseOfContactMessageSummary
|
|
50
50
|
|
|
51
51
|
def initialize: (client: Sentdm::Client) -> void
|
|
52
52
|
end
|
|
@@ -6,7 +6,7 @@ module Sentdm
|
|
|
6
6
|
page_size: Integer,
|
|
7
7
|
?x_profile_id: String,
|
|
8
8
|
?request_options: Sentdm::request_opts
|
|
9
|
-
) -> Sentdm::
|
|
9
|
+
) -> Sentdm::APIResponseOfConversationMessagesList
|
|
10
10
|
|
|
11
11
|
def list_messages: (
|
|
12
12
|
String id,
|
|
@@ -14,7 +14,7 @@ module Sentdm
|
|
|
14
14
|
page_size: Integer,
|
|
15
15
|
?x_profile_id: String,
|
|
16
16
|
?request_options: Sentdm::request_opts
|
|
17
|
-
) -> Sentdm::
|
|
17
|
+
) -> Sentdm::APIResponseOfConversationMessagesList
|
|
18
18
|
|
|
19
19
|
def initialize: (client: Sentdm::Client) -> void
|
|
20
20
|
end
|
|
@@ -4,28 +4,28 @@ 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::APIResponseOfBrandCampaign
|
|
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::APIResponseOfBrandCampaign
|
|
23
23
|
|
|
24
24
|
def list: (
|
|
25
25
|
String profile_id,
|
|
26
26
|
?x_profile_id: String,
|
|
27
27
|
?request_options: Sentdm::request_opts
|
|
28
|
-
) -> Sentdm::
|
|
28
|
+
) -> Sentdm::Profiles::APIResponseOfListOfBrandCampaign
|
|
29
29
|
|
|
30
30
|
def delete: (
|
|
31
31
|
String campaign_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,
|
|
@@ -11,13 +11,13 @@ module Sentdm
|
|
|
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,
|
|
@@ -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
|