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/lib/sentdm/models.rb
CHANGED
|
@@ -39,14 +39,44 @@ module Sentdm
|
|
|
39
39
|
mod.define_sorbet_constant!(const) { T.type_alias { mod.to_sorbet_type } }
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
+
APIMeta = Sentdm::Models::APIMeta
|
|
43
|
+
|
|
44
|
+
APIResponseOfContact = Sentdm::Models::APIResponseOfContact
|
|
45
|
+
|
|
46
|
+
APIResponseOfContactMessageSummary = Sentdm::Models::APIResponseOfContactMessageSummary
|
|
47
|
+
|
|
48
|
+
APIResponseOfConversationMessagesList = Sentdm::Models::APIResponseOfConversationMessagesList
|
|
49
|
+
|
|
50
|
+
APIResponseOfProfileDetail = Sentdm::Models::APIResponseOfProfileDetail
|
|
51
|
+
|
|
52
|
+
APIResponseOfUser = Sentdm::Models::APIResponseOfUser
|
|
53
|
+
|
|
54
|
+
APIResponseTemplate = Sentdm::Models::APIResponseTemplate
|
|
55
|
+
|
|
56
|
+
APIResponseWebhook = Sentdm::Models::APIResponseWebhook
|
|
57
|
+
|
|
42
58
|
AuthenticationConfig = Sentdm::Models::AuthenticationConfig
|
|
43
59
|
|
|
60
|
+
BillingContactInfo = Sentdm::Models::BillingContactInfo
|
|
61
|
+
|
|
62
|
+
BrandBusinessInfo = Sentdm::Models::BrandBusinessInfo
|
|
63
|
+
|
|
64
|
+
BrandComplianceInfo = Sentdm::Models::BrandComplianceInfo
|
|
65
|
+
|
|
66
|
+
BrandContactInfo = Sentdm::Models::BrandContactInfo
|
|
67
|
+
|
|
68
|
+
BrandsBrandData = Sentdm::Models::BrandsBrandData
|
|
69
|
+
|
|
44
70
|
ContactCreateParams = Sentdm::Models::ContactCreateParams
|
|
45
71
|
|
|
46
72
|
ContactDeleteParams = Sentdm::Models::ContactDeleteParams
|
|
47
73
|
|
|
48
74
|
ContactListParams = Sentdm::Models::ContactListParams
|
|
49
75
|
|
|
76
|
+
ContactMessageSummary = Sentdm::Models::ContactMessageSummary
|
|
77
|
+
|
|
78
|
+
ContactResponse = Sentdm::Models::ContactResponse
|
|
79
|
+
|
|
50
80
|
ContactRetrieveMessageSummaryParams = Sentdm::Models::ContactRetrieveMessageSummaryParams
|
|
51
81
|
|
|
52
82
|
ContactRetrieveParams = Sentdm::Models::ContactRetrieveParams
|
|
@@ -57,8 +87,12 @@ module Sentdm
|
|
|
57
87
|
|
|
58
88
|
ConversationListParams = Sentdm::Models::ConversationListParams
|
|
59
89
|
|
|
90
|
+
ConversationMessagesList = Sentdm::Models::ConversationMessagesList
|
|
91
|
+
|
|
60
92
|
DestinationCountry = Sentdm::Models::DestinationCountry
|
|
61
93
|
|
|
94
|
+
ErrorDetail = Sentdm::Models::ErrorDetail
|
|
95
|
+
|
|
62
96
|
InboundMessageEvent = Sentdm::Models::InboundMessageEvent
|
|
63
97
|
|
|
64
98
|
InboundMessageEventPayload = Sentdm::Models::InboundMessageEventPayload
|
|
@@ -75,26 +109,38 @@ module Sentdm
|
|
|
75
109
|
|
|
76
110
|
MessageSendParams = Sentdm::Models::MessageSendParams
|
|
77
111
|
|
|
112
|
+
MutationRequest = Sentdm::Models::MutationRequest
|
|
113
|
+
|
|
78
114
|
NumberLookupParams = Sentdm::Models::NumberLookupParams
|
|
79
115
|
|
|
116
|
+
PaginationMeta = Sentdm::Models::PaginationMeta
|
|
117
|
+
|
|
118
|
+
PaymentDetails = Sentdm::Models::PaymentDetails
|
|
119
|
+
|
|
80
120
|
ProfileCompleteParams = Sentdm::Models::ProfileCompleteParams
|
|
81
121
|
|
|
82
122
|
ProfileCreateParams = Sentdm::Models::ProfileCreateParams
|
|
83
123
|
|
|
84
124
|
ProfileDeleteParams = Sentdm::Models::ProfileDeleteParams
|
|
85
125
|
|
|
126
|
+
ProfileDetail = Sentdm::Models::ProfileDetail
|
|
127
|
+
|
|
86
128
|
ProfileListParams = Sentdm::Models::ProfileListParams
|
|
87
129
|
|
|
88
130
|
ProfileRetrieveParams = Sentdm::Models::ProfileRetrieveParams
|
|
89
131
|
|
|
90
132
|
Profiles = Sentdm::Models::Profiles
|
|
91
133
|
|
|
134
|
+
ProfileSettings = Sentdm::Models::ProfileSettings
|
|
135
|
+
|
|
92
136
|
ProfileUpdateParams = Sentdm::Models::ProfileUpdateParams
|
|
93
137
|
|
|
94
138
|
TcrBrandRelationship = Sentdm::Models::TcrBrandRelationship
|
|
95
139
|
|
|
96
140
|
TcrVertical = Sentdm::Models::TcrVertical
|
|
97
141
|
|
|
142
|
+
Template = Sentdm::Models::Template
|
|
143
|
+
|
|
98
144
|
TemplateBody = Sentdm::Models::TemplateBody
|
|
99
145
|
|
|
100
146
|
TemplateBodyContent = Sentdm::Models::TemplateBodyContent
|
|
@@ -131,6 +177,8 @@ module Sentdm
|
|
|
131
177
|
|
|
132
178
|
UserRemoveParams = Sentdm::Models::UserRemoveParams
|
|
133
179
|
|
|
180
|
+
UserResponse = Sentdm::Models::UserResponse
|
|
181
|
+
|
|
134
182
|
UserRetrieveParams = Sentdm::Models::UserRetrieveParams
|
|
135
183
|
|
|
136
184
|
UserUpdateRoleParams = Sentdm::Models::UserUpdateRoleParams
|
|
@@ -139,12 +187,16 @@ module Sentdm
|
|
|
139
187
|
|
|
140
188
|
WebhookDeleteParams = Sentdm::Models::WebhookDeleteParams
|
|
141
189
|
|
|
190
|
+
WebhookEventType = Sentdm::Models::WebhookEventType
|
|
191
|
+
|
|
142
192
|
WebhookListEventsParams = Sentdm::Models::WebhookListEventsParams
|
|
143
193
|
|
|
144
194
|
WebhookListEventTypesParams = Sentdm::Models::WebhookListEventTypesParams
|
|
145
195
|
|
|
146
196
|
WebhookListParams = Sentdm::Models::WebhookListParams
|
|
147
197
|
|
|
198
|
+
WebhookResponse = Sentdm::Models::WebhookResponse
|
|
199
|
+
|
|
148
200
|
WebhookRetrieveParams = Sentdm::Models::WebhookRetrieveParams
|
|
149
201
|
|
|
150
202
|
WebhookRotateSecretParams = Sentdm::Models::WebhookRotateSecretParams
|
|
@@ -30,7 +30,7 @@ module Sentdm
|
|
|
30
30
|
#
|
|
31
31
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
32
32
|
#
|
|
33
|
-
# @return [Sentdm::Models::
|
|
33
|
+
# @return [Sentdm::Models::APIResponseOfContact]
|
|
34
34
|
#
|
|
35
35
|
# @see Sentdm::Models::ContactCreateParams
|
|
36
36
|
def create(params)
|
|
@@ -41,7 +41,7 @@ module Sentdm
|
|
|
41
41
|
path: "v3/contacts",
|
|
42
42
|
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
43
43
|
body: parsed.except(*header_params.keys),
|
|
44
|
-
model: Sentdm::
|
|
44
|
+
model: Sentdm::APIResponseOfContact,
|
|
45
45
|
options: options
|
|
46
46
|
)
|
|
47
47
|
end
|
|
@@ -61,7 +61,7 @@ module Sentdm
|
|
|
61
61
|
#
|
|
62
62
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
63
63
|
#
|
|
64
|
-
# @return [Sentdm::Models::
|
|
64
|
+
# @return [Sentdm::Models::APIResponseOfContact]
|
|
65
65
|
#
|
|
66
66
|
# @see Sentdm::Models::ContactRetrieveParams
|
|
67
67
|
def retrieve(id, params = {})
|
|
@@ -70,7 +70,7 @@ module Sentdm
|
|
|
70
70
|
method: :get,
|
|
71
71
|
path: ["v3/contacts/%1$s", id],
|
|
72
72
|
headers: parsed.transform_keys(x_profile_id: "x-profile-id"),
|
|
73
|
-
model: Sentdm::
|
|
73
|
+
model: Sentdm::APIResponseOfContact,
|
|
74
74
|
options: options
|
|
75
75
|
)
|
|
76
76
|
end
|
|
@@ -96,7 +96,7 @@ module Sentdm
|
|
|
96
96
|
#
|
|
97
97
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
98
98
|
#
|
|
99
|
-
# @return [Sentdm::Models::
|
|
99
|
+
# @return [Sentdm::Models::APIResponseOfContact]
|
|
100
100
|
#
|
|
101
101
|
# @see Sentdm::Models::ContactUpdateParams
|
|
102
102
|
def update(id, params = {})
|
|
@@ -107,7 +107,7 @@ module Sentdm
|
|
|
107
107
|
path: ["v3/contacts/%1$s", id],
|
|
108
108
|
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
109
109
|
body: parsed.except(*header_params.keys),
|
|
110
|
-
model: Sentdm::
|
|
110
|
+
model: Sentdm::APIResponseOfContact,
|
|
111
111
|
options: options
|
|
112
112
|
)
|
|
113
113
|
end
|
|
@@ -209,7 +209,7 @@ module Sentdm
|
|
|
209
209
|
#
|
|
210
210
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
211
211
|
#
|
|
212
|
-
# @return [Sentdm::Models::
|
|
212
|
+
# @return [Sentdm::Models::APIResponseOfContactMessageSummary]
|
|
213
213
|
#
|
|
214
214
|
# @see Sentdm::Models::ContactRetrieveMessageSummaryParams
|
|
215
215
|
def retrieve_message_summary(contact_id, params = {})
|
|
@@ -218,7 +218,7 @@ module Sentdm
|
|
|
218
218
|
method: :get,
|
|
219
219
|
path: ["v3/contacts/%1$s/message-summary", contact_id],
|
|
220
220
|
headers: parsed.transform_keys(x_profile_id: "x-profile-id"),
|
|
221
|
-
model: Sentdm::
|
|
221
|
+
model: Sentdm::APIResponseOfContactMessageSummary,
|
|
222
222
|
options: options
|
|
223
223
|
)
|
|
224
224
|
end
|
|
@@ -27,7 +27,7 @@ module Sentdm
|
|
|
27
27
|
#
|
|
28
28
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
29
29
|
#
|
|
30
|
-
# @return [Sentdm::Models::
|
|
30
|
+
# @return [Sentdm::Models::APIResponseOfConversationMessagesList]
|
|
31
31
|
#
|
|
32
32
|
# @see Sentdm::Models::ConversationListParams
|
|
33
33
|
def list(params)
|
|
@@ -39,7 +39,7 @@ module Sentdm
|
|
|
39
39
|
path: "v3/conversations",
|
|
40
40
|
query: query,
|
|
41
41
|
headers: parsed.except(*query_params).transform_keys(x_profile_id: "x-profile-id"),
|
|
42
|
-
model: Sentdm::
|
|
42
|
+
model: Sentdm::APIResponseOfConversationMessagesList,
|
|
43
43
|
options: options
|
|
44
44
|
)
|
|
45
45
|
end
|
|
@@ -62,7 +62,7 @@ module Sentdm
|
|
|
62
62
|
#
|
|
63
63
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
64
64
|
#
|
|
65
|
-
# @return [Sentdm::Models::
|
|
65
|
+
# @return [Sentdm::Models::APIResponseOfConversationMessagesList]
|
|
66
66
|
#
|
|
67
67
|
# @see Sentdm::Models::ConversationListMessagesParams
|
|
68
68
|
def list_messages(id, params)
|
|
@@ -74,7 +74,7 @@ module Sentdm
|
|
|
74
74
|
path: ["v3/conversations/%1$s", id],
|
|
75
75
|
query: query,
|
|
76
76
|
headers: parsed.except(*query_params).transform_keys(x_profile_id: "x-profile-id"),
|
|
77
|
-
model: Sentdm::
|
|
77
|
+
model: Sentdm::APIResponseOfConversationMessagesList,
|
|
78
78
|
options: options
|
|
79
79
|
)
|
|
80
80
|
end
|
|
@@ -29,7 +29,7 @@ module Sentdm
|
|
|
29
29
|
#
|
|
30
30
|
# @param profile_id [String] Path param: Profile ID from route
|
|
31
31
|
#
|
|
32
|
-
# @param campaign [Sentdm::Models::Profiles::
|
|
32
|
+
# @param campaign [Sentdm::Models::Profiles::CampaignData] Body param: Campaign data for create or update operation
|
|
33
33
|
#
|
|
34
34
|
# @param sandbox [Boolean] Body param: Sandbox flag - when true, the operation is simulated without side ef
|
|
35
35
|
#
|
|
@@ -39,7 +39,7 @@ module Sentdm
|
|
|
39
39
|
#
|
|
40
40
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
41
41
|
#
|
|
42
|
-
# @return [Sentdm::Models::Profiles::
|
|
42
|
+
# @return [Sentdm::Models::Profiles::APIResponseOfBrandCampaign]
|
|
43
43
|
#
|
|
44
44
|
# @see Sentdm::Models::Profiles::CampaignCreateParams
|
|
45
45
|
def create(profile_id, params)
|
|
@@ -50,7 +50,7 @@ module Sentdm
|
|
|
50
50
|
path: ["v3/profiles/%1$s/campaigns", profile_id],
|
|
51
51
|
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
52
52
|
body: parsed.except(*header_params.keys),
|
|
53
|
-
model: Sentdm::
|
|
53
|
+
model: Sentdm::Profiles::APIResponseOfBrandCampaign,
|
|
54
54
|
options: options
|
|
55
55
|
)
|
|
56
56
|
end
|
|
@@ -75,7 +75,7 @@ module Sentdm
|
|
|
75
75
|
#
|
|
76
76
|
# @param profile_id [String] Path param: Profile ID from route
|
|
77
77
|
#
|
|
78
|
-
# @param campaign [Sentdm::Models::Profiles::
|
|
78
|
+
# @param campaign [Sentdm::Models::Profiles::CampaignData] Body param: Campaign data for create or update operation
|
|
79
79
|
#
|
|
80
80
|
# @param sandbox [Boolean] Body param: Sandbox flag - when true, the operation is simulated without side ef
|
|
81
81
|
#
|
|
@@ -85,7 +85,7 @@ module Sentdm
|
|
|
85
85
|
#
|
|
86
86
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
87
87
|
#
|
|
88
|
-
# @return [Sentdm::Models::Profiles::
|
|
88
|
+
# @return [Sentdm::Models::Profiles::APIResponseOfBrandCampaign]
|
|
89
89
|
#
|
|
90
90
|
# @see Sentdm::Models::Profiles::CampaignUpdateParams
|
|
91
91
|
def update(campaign_id, params)
|
|
@@ -100,7 +100,7 @@ module Sentdm
|
|
|
100
100
|
path: ["v3/profiles/%1$s/campaigns/%2$s", profile_id, campaign_id],
|
|
101
101
|
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
102
102
|
body: parsed.except(*header_params.keys),
|
|
103
|
-
model: Sentdm::
|
|
103
|
+
model: Sentdm::Profiles::APIResponseOfBrandCampaign,
|
|
104
104
|
options: options
|
|
105
105
|
)
|
|
106
106
|
end
|
|
@@ -127,7 +127,7 @@ module Sentdm
|
|
|
127
127
|
#
|
|
128
128
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
129
129
|
#
|
|
130
|
-
# @return [Sentdm::Models::Profiles::
|
|
130
|
+
# @return [Sentdm::Models::Profiles::APIResponseOfListOfBrandCampaign]
|
|
131
131
|
#
|
|
132
132
|
# @see Sentdm::Models::Profiles::CampaignListParams
|
|
133
133
|
def list(profile_id, params = {})
|
|
@@ -136,7 +136,7 @@ module Sentdm
|
|
|
136
136
|
method: :get,
|
|
137
137
|
path: ["v3/profiles/%1$s/campaigns", profile_id],
|
|
138
138
|
headers: parsed.transform_keys(x_profile_id: "x-profile-id"),
|
|
139
|
-
model: Sentdm::
|
|
139
|
+
model: Sentdm::Profiles::APIResponseOfListOfBrandCampaign,
|
|
140
140
|
options: options
|
|
141
141
|
)
|
|
142
142
|
end
|
|
@@ -66,11 +66,11 @@ module Sentdm
|
|
|
66
66
|
#
|
|
67
67
|
# @param allow_template_sharing [Boolean, nil] Body param
|
|
68
68
|
#
|
|
69
|
-
# @param billing_contact [Sentdm::Models::
|
|
69
|
+
# @param billing_contact [Sentdm::Models::BillingContactInfo, nil] Body param: Billing contact information for a profile.
|
|
70
70
|
#
|
|
71
71
|
# @param billing_model [String, nil] Body param: Billing model: profile, organization, or profile_and_organization (d
|
|
72
72
|
#
|
|
73
|
-
# @param brand [Sentdm::Models::
|
|
73
|
+
# @param brand [Sentdm::Models::BrandsBrandData, nil] Body param: Brand and KYC data grouped into contact, business, and compliance se
|
|
74
74
|
#
|
|
75
75
|
# @param description [String, nil] Body param: Profile description (optional)
|
|
76
76
|
#
|
|
@@ -86,7 +86,7 @@ module Sentdm
|
|
|
86
86
|
#
|
|
87
87
|
# @param name [String] Body param: Profile name (required)
|
|
88
88
|
#
|
|
89
|
-
# @param payment_details [Sentdm::Models::
|
|
89
|
+
# @param payment_details [Sentdm::Models::PaymentDetails, nil] Body param: Payment card details for this profile (optional).
|
|
90
90
|
#
|
|
91
91
|
# @param sandbox [Boolean] Body param: Sandbox flag - when true, the operation is simulated without side ef
|
|
92
92
|
#
|
|
@@ -100,7 +100,7 @@ module Sentdm
|
|
|
100
100
|
#
|
|
101
101
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
102
102
|
#
|
|
103
|
-
# @return [Sentdm::Models::
|
|
103
|
+
# @return [Sentdm::Models::APIResponseOfProfileDetail]
|
|
104
104
|
#
|
|
105
105
|
# @see Sentdm::Models::ProfileCreateParams
|
|
106
106
|
def create(params = {})
|
|
@@ -111,7 +111,7 @@ module Sentdm
|
|
|
111
111
|
path: "v3/profiles",
|
|
112
112
|
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
113
113
|
body: parsed.except(*header_params.keys),
|
|
114
|
-
model: Sentdm::
|
|
114
|
+
model: Sentdm::APIResponseOfProfileDetail,
|
|
115
115
|
options: options
|
|
116
116
|
)
|
|
117
117
|
end
|
|
@@ -139,7 +139,7 @@ module Sentdm
|
|
|
139
139
|
#
|
|
140
140
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
141
141
|
#
|
|
142
|
-
# @return [Sentdm::Models::
|
|
142
|
+
# @return [Sentdm::Models::APIResponseOfProfileDetail]
|
|
143
143
|
#
|
|
144
144
|
# @see Sentdm::Models::ProfileRetrieveParams
|
|
145
145
|
def retrieve(profile_id, params = {})
|
|
@@ -148,7 +148,7 @@ module Sentdm
|
|
|
148
148
|
method: :get,
|
|
149
149
|
path: ["v3/profiles/%1$s", profile_id],
|
|
150
150
|
headers: parsed.transform_keys(x_profile_id: "x-profile-id"),
|
|
151
|
-
model: Sentdm::
|
|
151
|
+
model: Sentdm::APIResponseOfProfileDetail,
|
|
152
152
|
options: options
|
|
153
153
|
)
|
|
154
154
|
end
|
|
@@ -207,11 +207,11 @@ module Sentdm
|
|
|
207
207
|
#
|
|
208
208
|
# @param allow_template_sharing [Boolean, nil] Body param
|
|
209
209
|
#
|
|
210
|
-
# @param billing_contact [Sentdm::Models::
|
|
210
|
+
# @param billing_contact [Sentdm::Models::BillingContactInfo, nil] Body param: Billing contact information for a profile.
|
|
211
211
|
#
|
|
212
212
|
# @param billing_model [String, nil] Body param: Billing model: profile, organization, or profile_and_organization (o
|
|
213
213
|
#
|
|
214
|
-
# @param brand [Sentdm::Models::
|
|
214
|
+
# @param brand [Sentdm::Models::BrandsBrandData, nil] Body param: Brand and KYC data grouped into contact, business, and compliance se
|
|
215
215
|
#
|
|
216
216
|
# @param description [String, nil] Body param: Profile description (optional)
|
|
217
217
|
#
|
|
@@ -227,7 +227,7 @@ module Sentdm
|
|
|
227
227
|
#
|
|
228
228
|
# @param name [String, nil] Body param: Profile name (optional)
|
|
229
229
|
#
|
|
230
|
-
# @param payment_details [Sentdm::Models::
|
|
230
|
+
# @param payment_details [Sentdm::Models::PaymentDetails, nil] Body param: Payment card details for this profile (optional).
|
|
231
231
|
#
|
|
232
232
|
# @param sandbox [Boolean] Body param: Sandbox flag - when true, the operation is simulated without side ef
|
|
233
233
|
#
|
|
@@ -247,7 +247,7 @@ module Sentdm
|
|
|
247
247
|
#
|
|
248
248
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
249
249
|
#
|
|
250
|
-
# @return [Sentdm::Models::
|
|
250
|
+
# @return [Sentdm::Models::APIResponseOfProfileDetail]
|
|
251
251
|
#
|
|
252
252
|
# @see Sentdm::Models::ProfileUpdateParams
|
|
253
253
|
def update(profile_id, params = {})
|
|
@@ -258,7 +258,7 @@ module Sentdm
|
|
|
258
258
|
path: ["v3/profiles/%1$s", profile_id],
|
|
259
259
|
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
260
260
|
body: parsed.except(*header_params.keys),
|
|
261
|
-
model: Sentdm::
|
|
261
|
+
model: Sentdm::APIResponseOfProfileDetail,
|
|
262
262
|
options: options
|
|
263
263
|
)
|
|
264
264
|
end
|
|
@@ -37,7 +37,7 @@ module Sentdm
|
|
|
37
37
|
#
|
|
38
38
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
39
39
|
#
|
|
40
|
-
# @return [Sentdm::Models::
|
|
40
|
+
# @return [Sentdm::Models::APIResponseTemplate]
|
|
41
41
|
#
|
|
42
42
|
# @see Sentdm::Models::TemplateCreateParams
|
|
43
43
|
def create(params = {})
|
|
@@ -48,7 +48,7 @@ module Sentdm
|
|
|
48
48
|
path: "v3/templates",
|
|
49
49
|
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
50
50
|
body: parsed.except(*header_params.keys),
|
|
51
|
-
model: Sentdm::
|
|
51
|
+
model: Sentdm::APIResponseTemplate,
|
|
52
52
|
options: options
|
|
53
53
|
)
|
|
54
54
|
end
|
|
@@ -67,7 +67,7 @@ module Sentdm
|
|
|
67
67
|
#
|
|
68
68
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
69
69
|
#
|
|
70
|
-
# @return [Sentdm::Models::
|
|
70
|
+
# @return [Sentdm::Models::APIResponseTemplate]
|
|
71
71
|
#
|
|
72
72
|
# @see Sentdm::Models::TemplateRetrieveParams
|
|
73
73
|
def retrieve(id, params = {})
|
|
@@ -76,7 +76,7 @@ module Sentdm
|
|
|
76
76
|
method: :get,
|
|
77
77
|
path: ["v3/templates/%1$s", id],
|
|
78
78
|
headers: parsed.transform_keys(x_profile_id: "x-profile-id"),
|
|
79
|
-
model: Sentdm::
|
|
79
|
+
model: Sentdm::APIResponseTemplate,
|
|
80
80
|
options: options
|
|
81
81
|
)
|
|
82
82
|
end
|
|
@@ -109,7 +109,7 @@ module Sentdm
|
|
|
109
109
|
#
|
|
110
110
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
111
111
|
#
|
|
112
|
-
# @return [Sentdm::Models::
|
|
112
|
+
# @return [Sentdm::Models::APIResponseTemplate]
|
|
113
113
|
#
|
|
114
114
|
# @see Sentdm::Models::TemplateUpdateParams
|
|
115
115
|
def update(id, params = {})
|
|
@@ -120,7 +120,7 @@ module Sentdm
|
|
|
120
120
|
path: ["v3/templates/%1$s", id],
|
|
121
121
|
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
122
122
|
body: parsed.except(*header_params.keys),
|
|
123
|
-
model: Sentdm::
|
|
123
|
+
model: Sentdm::APIResponseTemplate,
|
|
124
124
|
options: options
|
|
125
125
|
)
|
|
126
126
|
end
|
|
@@ -23,7 +23,7 @@ module Sentdm
|
|
|
23
23
|
#
|
|
24
24
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
25
25
|
#
|
|
26
|
-
# @return [Sentdm::Models::
|
|
26
|
+
# @return [Sentdm::Models::APIResponseOfUser]
|
|
27
27
|
#
|
|
28
28
|
# @see Sentdm::Models::UserRetrieveParams
|
|
29
29
|
def retrieve(user_id, params = {})
|
|
@@ -32,7 +32,7 @@ module Sentdm
|
|
|
32
32
|
method: :get,
|
|
33
33
|
path: ["v3/users/%1$s", user_id],
|
|
34
34
|
headers: parsed.transform_keys(x_profile_id: "x-profile-id"),
|
|
35
|
-
model: Sentdm::
|
|
35
|
+
model: Sentdm::APIResponseOfUser,
|
|
36
36
|
options: options
|
|
37
37
|
)
|
|
38
38
|
end
|
|
@@ -87,7 +87,7 @@ module Sentdm
|
|
|
87
87
|
#
|
|
88
88
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
89
89
|
#
|
|
90
|
-
# @return [Sentdm::Models::
|
|
90
|
+
# @return [Sentdm::Models::APIResponseOfUser]
|
|
91
91
|
#
|
|
92
92
|
# @see Sentdm::Models::UserInviteParams
|
|
93
93
|
def invite(params = {})
|
|
@@ -98,7 +98,7 @@ module Sentdm
|
|
|
98
98
|
path: "v3/users",
|
|
99
99
|
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
100
100
|
body: parsed.except(*header_params.keys),
|
|
101
|
-
model: Sentdm::
|
|
101
|
+
model: Sentdm::APIResponseOfUser,
|
|
102
102
|
options: options
|
|
103
103
|
)
|
|
104
104
|
end
|
|
@@ -155,7 +155,7 @@ module Sentdm
|
|
|
155
155
|
#
|
|
156
156
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
157
157
|
#
|
|
158
|
-
# @return [Sentdm::Models::
|
|
158
|
+
# @return [Sentdm::Models::APIResponseOfUser]
|
|
159
159
|
#
|
|
160
160
|
# @see Sentdm::Models::UserUpdateRoleParams
|
|
161
161
|
def update_role(user_id, params = {})
|
|
@@ -166,7 +166,7 @@ module Sentdm
|
|
|
166
166
|
path: ["v3/users/%1$s", user_id],
|
|
167
167
|
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
168
168
|
body: parsed.except(*header_params.keys),
|
|
169
|
-
model: Sentdm::
|
|
169
|
+
model: Sentdm::APIResponseOfUser,
|
|
170
170
|
options: options
|
|
171
171
|
)
|
|
172
172
|
end
|
|
@@ -41,7 +41,7 @@ module Sentdm
|
|
|
41
41
|
#
|
|
42
42
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
43
43
|
#
|
|
44
|
-
# @return [Sentdm::Models::
|
|
44
|
+
# @return [Sentdm::Models::APIResponseWebhook]
|
|
45
45
|
#
|
|
46
46
|
# @see Sentdm::Models::WebhookCreateParams
|
|
47
47
|
def create(params = {})
|
|
@@ -52,7 +52,7 @@ module Sentdm
|
|
|
52
52
|
path: "v3/webhooks",
|
|
53
53
|
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
54
54
|
body: parsed.except(*header_params.keys),
|
|
55
|
-
model: Sentdm::
|
|
55
|
+
model: Sentdm::APIResponseWebhook,
|
|
56
56
|
options: options
|
|
57
57
|
)
|
|
58
58
|
end
|
|
@@ -70,7 +70,7 @@ module Sentdm
|
|
|
70
70
|
#
|
|
71
71
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
72
72
|
#
|
|
73
|
-
# @return [Sentdm::Models::
|
|
73
|
+
# @return [Sentdm::Models::APIResponseWebhook]
|
|
74
74
|
#
|
|
75
75
|
# @see Sentdm::Models::WebhookRetrieveParams
|
|
76
76
|
def retrieve(id, params = {})
|
|
@@ -79,7 +79,7 @@ module Sentdm
|
|
|
79
79
|
method: :get,
|
|
80
80
|
path: ["v3/webhooks/%1$s", id],
|
|
81
81
|
headers: parsed.transform_keys(x_profile_id: "x-profile-id"),
|
|
82
|
-
model: Sentdm::
|
|
82
|
+
model: Sentdm::APIResponseWebhook,
|
|
83
83
|
options: options
|
|
84
84
|
)
|
|
85
85
|
end
|
|
@@ -113,7 +113,7 @@ module Sentdm
|
|
|
113
113
|
#
|
|
114
114
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
115
115
|
#
|
|
116
|
-
# @return [Sentdm::Models::
|
|
116
|
+
# @return [Sentdm::Models::APIResponseWebhook]
|
|
117
117
|
#
|
|
118
118
|
# @see Sentdm::Models::WebhookUpdateParams
|
|
119
119
|
def update(id, params = {})
|
|
@@ -124,7 +124,7 @@ module Sentdm
|
|
|
124
124
|
path: ["v3/webhooks/%1$s", id],
|
|
125
125
|
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
126
126
|
body: parsed.except(*header_params.keys),
|
|
127
|
-
model: Sentdm::
|
|
127
|
+
model: Sentdm::APIResponseWebhook,
|
|
128
128
|
options: options
|
|
129
129
|
)
|
|
130
130
|
end
|
|
@@ -341,7 +341,7 @@ module Sentdm
|
|
|
341
341
|
#
|
|
342
342
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
343
343
|
#
|
|
344
|
-
# @return [Sentdm::Models::
|
|
344
|
+
# @return [Sentdm::Models::APIResponseWebhook]
|
|
345
345
|
#
|
|
346
346
|
# @see Sentdm::Models::WebhookToggleStatusParams
|
|
347
347
|
def toggle_status(id, params = {})
|
|
@@ -352,7 +352,7 @@ module Sentdm
|
|
|
352
352
|
path: ["v3/webhooks/%1$s/toggle-status", id],
|
|
353
353
|
headers: parsed.slice(*header_params.keys).transform_keys(header_params),
|
|
354
354
|
body: parsed.except(*header_params.keys),
|
|
355
|
-
model: Sentdm::
|
|
355
|
+
model: Sentdm::APIResponseWebhook,
|
|
356
356
|
options: options
|
|
357
357
|
)
|
|
358
358
|
end
|
data/lib/sentdm/version.rb
CHANGED