sentdm 0.28.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.
Files changed (276) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +27 -1
  4. data/lib/sentdm/internal/type/base_model.rb +5 -5
  5. data/lib/sentdm/models/api_meta.rb +34 -0
  6. data/lib/sentdm/models/api_response_of_contact.rb +46 -0
  7. data/lib/sentdm/models/api_response_of_contact_message_summary.rb +43 -0
  8. data/lib/sentdm/models/api_response_of_conversation_messages_list.rb +43 -0
  9. data/lib/sentdm/models/api_response_of_profile_detail.rb +43 -0
  10. data/lib/sentdm/models/api_response_of_user.rb +43 -0
  11. data/lib/sentdm/models/api_response_template.rb +43 -0
  12. data/lib/sentdm/models/api_response_webhook.rb +43 -0
  13. data/lib/sentdm/models/billing_contact_info.rb +47 -0
  14. data/lib/sentdm/models/brand_business_info.rb +114 -0
  15. data/lib/sentdm/models/brand_compliance_info.rb +59 -0
  16. data/lib/sentdm/models/brand_contact_info.rb +58 -0
  17. data/lib/sentdm/models/brands_brand_data.rb +34 -0
  18. data/lib/sentdm/models/contact_delete_params.rb +2 -16
  19. data/lib/sentdm/models/contact_list_response.rb +12 -295
  20. data/lib/sentdm/models/contact_message_summary.rb +76 -0
  21. data/lib/sentdm/models/contact_response.rb +139 -0
  22. data/lib/sentdm/models/conversation_messages_list.rb +245 -0
  23. data/lib/sentdm/models/error_detail.rb +42 -0
  24. data/lib/sentdm/models/inbound_message_event_payload.rb +17 -17
  25. data/lib/sentdm/models/me_retrieve_response.rb +43 -243
  26. data/lib/sentdm/models/message_event_payload.rb +11 -11
  27. data/lib/sentdm/models/message_retrieve_activities_response.rb +9 -159
  28. data/lib/sentdm/models/message_retrieve_status_response.rb +6 -74
  29. data/lib/sentdm/models/message_send_response.rb +6 -74
  30. data/lib/sentdm/models/mutation_request.rb +20 -0
  31. data/lib/sentdm/models/number_lookup_response.rb +6 -74
  32. data/lib/sentdm/models/pagination_meta.rb +84 -0
  33. data/lib/sentdm/models/payment_details.rb +40 -0
  34. data/lib/sentdm/models/profile_complete_response.rb +6 -74
  35. data/lib/sentdm/models/profile_create_params.rb +9 -345
  36. data/lib/sentdm/models/profile_delete_params.rb +2 -16
  37. data/lib/sentdm/models/profile_detail.rb +650 -0
  38. data/lib/sentdm/models/profile_list_response.rb +12 -815
  39. data/lib/sentdm/models/profile_settings.rb +85 -0
  40. data/lib/sentdm/models/profile_update_params.rb +9 -345
  41. data/lib/sentdm/models/profiles/api_response_of_brand_campaign.rb +45 -0
  42. data/lib/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rb +45 -0
  43. data/lib/sentdm/models/profiles/brand_campaign.rb +247 -0
  44. data/lib/sentdm/models/profiles/campaign_create_params.rb +3 -156
  45. data/lib/sentdm/models/profiles/campaign_data.rb +136 -0
  46. data/lib/sentdm/models/profiles/campaign_delete_params.rb +2 -17
  47. data/lib/sentdm/models/profiles/campaign_update_params.rb +3 -156
  48. data/lib/sentdm/models/profiles/campaign_use_case.rb +71 -0
  49. data/lib/sentdm/models/profiles/campaign_use_case_data.rb +29 -0
  50. data/lib/sentdm/models/template.rb +102 -0
  51. data/lib/sentdm/models/template_event_payload.rb +18 -18
  52. data/lib/sentdm/models/template_list_response.rb +12 -258
  53. data/lib/sentdm/models/user_list_response.rb +12 -249
  54. data/lib/sentdm/models/user_remove_params.rb +2 -16
  55. data/lib/sentdm/models/user_response.rb +94 -0
  56. data/lib/sentdm/models/webhook_event_type.rb +45 -0
  57. data/lib/sentdm/models/webhook_list_event_types_response.rb +12 -203
  58. data/lib/sentdm/models/webhook_list_events_response.rb +9 -157
  59. data/lib/sentdm/models/webhook_list_response.rb +12 -276
  60. data/lib/sentdm/models/webhook_response.rb +120 -0
  61. data/lib/sentdm/models/webhook_rotate_secret_params.rb +2 -17
  62. data/lib/sentdm/models/webhook_rotate_secret_response.rb +6 -74
  63. data/lib/sentdm/models/webhook_test_response.rb +6 -74
  64. data/lib/sentdm/models.rb +52 -0
  65. data/lib/sentdm/resources/contacts.rb +8 -8
  66. data/lib/sentdm/resources/conversations.rb +4 -4
  67. data/lib/sentdm/resources/me.rb +11 -0
  68. data/lib/sentdm/resources/profiles/campaigns.rb +8 -8
  69. data/lib/sentdm/resources/profiles.rb +12 -12
  70. data/lib/sentdm/resources/templates.rb +6 -6
  71. data/lib/sentdm/resources/users.rb +6 -6
  72. data/lib/sentdm/resources/webhooks.rb +8 -8
  73. data/lib/sentdm/version.rb +1 -1
  74. data/lib/sentdm.rb +32 -22
  75. data/rbi/sentdm/models/api_meta.rbi +55 -0
  76. data/rbi/sentdm/models/api_response_of_contact.rbi +74 -0
  77. data/rbi/sentdm/models/api_response_of_contact_message_summary.rbi +79 -0
  78. data/rbi/sentdm/models/api_response_of_conversation_messages_list.rbi +79 -0
  79. data/rbi/sentdm/models/api_response_of_profile_detail.rbi +74 -0
  80. data/rbi/sentdm/models/api_response_of_user.rbi +74 -0
  81. data/rbi/sentdm/models/api_response_template.rbi +74 -0
  82. data/rbi/sentdm/models/api_response_webhook.rbi +74 -0
  83. data/rbi/sentdm/models/billing_contact_info.rbi +65 -0
  84. data/rbi/sentdm/models/brand_business_info.rbi +162 -0
  85. data/rbi/sentdm/models/brand_compliance_info.rbi +76 -0
  86. data/rbi/sentdm/models/brand_contact_info.rbi +78 -0
  87. data/rbi/sentdm/models/brands_brand_data.rbi +65 -0
  88. data/rbi/sentdm/models/contact_delete_params.rbi +2 -19
  89. data/rbi/sentdm/models/contact_list_response.rbi +16 -522
  90. data/rbi/sentdm/models/contact_message_summary.rbi +144 -0
  91. data/rbi/sentdm/models/contact_response.rbi +200 -0
  92. data/rbi/sentdm/models/conversation_messages_list.rbi +419 -0
  93. data/rbi/sentdm/models/error_detail.rbi +66 -0
  94. data/rbi/sentdm/models/inbound_message_event_payload.rbi +16 -22
  95. data/rbi/sentdm/models/me_retrieve_response.rbi +60 -367
  96. data/rbi/sentdm/models/message_event_payload.rbi +12 -15
  97. data/rbi/sentdm/models/message_retrieve_activities_response.rbi +12 -325
  98. data/rbi/sentdm/models/message_retrieve_status_response.rbi +8 -148
  99. data/rbi/sentdm/models/message_send_response.rbi +8 -135
  100. data/rbi/sentdm/models/mutation_request.rbi +32 -0
  101. data/rbi/sentdm/models/number_lookup_response.rbi +8 -135
  102. data/rbi/sentdm/models/pagination_meta.rbi +135 -0
  103. data/rbi/sentdm/models/payment_details.rbi +56 -0
  104. data/rbi/sentdm/models/profile_complete_response.rbi +8 -137
  105. data/rbi/sentdm/models/profile_create_params.rbi +12 -546
  106. data/rbi/sentdm/models/profile_delete_params.rbi +2 -19
  107. data/rbi/sentdm/models/profile_detail.rbi +918 -0
  108. data/rbi/sentdm/models/profile_list_response.rbi +16 -1347
  109. data/rbi/sentdm/models/profile_settings.rbi +102 -0
  110. data/rbi/sentdm/models/profile_update_params.rbi +12 -546
  111. data/rbi/sentdm/models/profiles/api_response_of_brand_campaign.rbi +81 -0
  112. data/rbi/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rbi +76 -0
  113. data/rbi/sentdm/models/profiles/brand_campaign.rbi +299 -0
  114. data/rbi/sentdm/models/profiles/campaign_create_params.rbi +4 -218
  115. data/rbi/sentdm/models/profiles/campaign_data.rbi +158 -0
  116. data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +1 -14
  117. data/rbi/sentdm/models/profiles/campaign_update_params.rbi +4 -218
  118. data/rbi/sentdm/models/profiles/campaign_use_case.rbi +110 -0
  119. data/rbi/sentdm/models/profiles/campaign_use_case_data.rbi +51 -0
  120. data/rbi/sentdm/models/template.rbi +139 -0
  121. data/rbi/sentdm/models/template_event_payload.rbi +21 -27
  122. data/rbi/sentdm/models/template_list_response.rbi +16 -464
  123. data/rbi/sentdm/models/user_list_response.rbi +16 -444
  124. data/rbi/sentdm/models/user_remove_params.rbi +2 -19
  125. data/rbi/sentdm/models/user_response.rbi +131 -0
  126. data/rbi/sentdm/models/webhook_event_type.rbi +74 -0
  127. data/rbi/sentdm/models/webhook_list_event_types_response.rbi +16 -414
  128. data/rbi/sentdm/models/webhook_list_events_response.rbi +12 -314
  129. data/rbi/sentdm/models/webhook_list_response.rbi +16 -475
  130. data/rbi/sentdm/models/webhook_response.rbi +153 -0
  131. data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +1 -14
  132. data/rbi/sentdm/models/webhook_rotate_secret_response.rbi +8 -148
  133. data/rbi/sentdm/models/webhook_test_response.rbi +8 -135
  134. data/rbi/sentdm/models.rbi +54 -0
  135. data/rbi/sentdm/resources/contacts.rbi +4 -4
  136. data/rbi/sentdm/resources/conversations.rbi +2 -2
  137. data/rbi/sentdm/resources/me.rbi +11 -0
  138. data/rbi/sentdm/resources/profiles/campaigns.rbi +5 -5
  139. data/rbi/sentdm/resources/profiles.rbi +9 -13
  140. data/rbi/sentdm/resources/templates.rbi +3 -3
  141. data/rbi/sentdm/resources/users.rbi +3 -3
  142. data/rbi/sentdm/resources/webhooks.rbi +4 -4
  143. data/sig/sentdm/models/api_meta.rbs +27 -0
  144. data/sig/sentdm/models/api_response_of_contact.rbs +39 -0
  145. data/sig/sentdm/models/api_response_of_contact_message_summary.rbs +39 -0
  146. data/sig/sentdm/models/api_response_of_conversation_messages_list.rbs +39 -0
  147. data/sig/sentdm/models/api_response_of_profile_detail.rbs +39 -0
  148. data/sig/sentdm/models/api_response_of_user.rbs +39 -0
  149. data/sig/sentdm/models/api_response_template.rbs +39 -0
  150. data/sig/sentdm/models/api_response_webhook.rbs +39 -0
  151. data/sig/sentdm/models/billing_contact_info.rbs +30 -0
  152. data/sig/sentdm/models/brand_business_info.rbs +89 -0
  153. data/sig/sentdm/models/brand_compliance_info.rbs +45 -0
  154. data/sig/sentdm/models/brand_contact_info.rbs +45 -0
  155. data/sig/sentdm/models/brands_brand_data.rbs +30 -0
  156. data/sig/sentdm/models/contact_delete_params.rbs +6 -10
  157. data/sig/sentdm/models/contact_list_response.rbs +20 -263
  158. data/sig/sentdm/models/contact_message_summary.rbs +84 -0
  159. data/sig/sentdm/models/contact_response.rbs +118 -0
  160. data/sig/sentdm/models/conversation_messages_list.rbs +240 -0
  161. data/sig/sentdm/models/error_detail.rbs +39 -0
  162. data/sig/sentdm/models/inbound_message_event_payload.rbs +10 -14
  163. data/sig/sentdm/models/me_retrieve_response.rbs +28 -176
  164. data/sig/sentdm/models/message_event_payload.rbs +5 -7
  165. data/sig/sentdm/models/message_retrieve_activities_response.rbs +14 -142
  166. data/sig/sentdm/models/message_retrieve_status_response.rbs +9 -71
  167. data/sig/sentdm/models/message_send_response.rbs +9 -71
  168. data/sig/sentdm/models/mutation_request.rbs +15 -0
  169. data/sig/sentdm/models/number_lookup_response.rbs +9 -71
  170. data/sig/sentdm/models/pagination_meta.rbs +67 -0
  171. data/sig/sentdm/models/payment_details.rbs +30 -0
  172. data/sig/sentdm/models/profile_complete_response.rbs +9 -71
  173. data/sig/sentdm/models/profile_create_params.rbs +12 -263
  174. data/sig/sentdm/models/profile_delete_params.rbs +6 -10
  175. data/sig/sentdm/models/profile_detail.rbs +461 -0
  176. data/sig/sentdm/models/profile_list_response.rbs +20 -606
  177. data/sig/sentdm/models/profile_settings.rbs +50 -0
  178. data/sig/sentdm/models/profile_update_params.rbs +12 -263
  179. data/sig/sentdm/models/profiles/api_response_of_brand_campaign.rbs +41 -0
  180. data/sig/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rbs +41 -0
  181. data/sig/sentdm/models/profiles/brand_campaign.rbs +194 -0
  182. data/sig/sentdm/models/profiles/campaign_create_params.rbs +4 -108
  183. data/sig/sentdm/models/profiles/campaign_data.rbs +87 -0
  184. data/sig/sentdm/models/profiles/campaign_delete_params.rbs +8 -15
  185. data/sig/sentdm/models/profiles/campaign_update_params.rbs +4 -108
  186. data/sig/sentdm/models/profiles/campaign_use_case.rbs +66 -0
  187. data/sig/sentdm/models/profiles/campaign_use_case_data.rbs +27 -0
  188. data/sig/sentdm/models/template.rbs +84 -0
  189. data/sig/sentdm/models/template_event_payload.rbs +13 -17
  190. data/sig/sentdm/models/template_list_response.rbs +19 -230
  191. data/sig/sentdm/models/user_list_response.rbs +20 -224
  192. data/sig/sentdm/models/user_remove_params.rbs +6 -10
  193. data/sig/sentdm/models/user_response.rbs +79 -0
  194. data/sig/sentdm/models/webhook_event_type.rbs +51 -0
  195. data/sig/sentdm/models/webhook_list_event_types_response.rbs +20 -196
  196. data/sig/sentdm/models/webhook_list_events_response.rbs +14 -142
  197. data/sig/sentdm/models/webhook_list_response.rbs +20 -255
  198. data/sig/sentdm/models/webhook_response.rbs +110 -0
  199. data/sig/sentdm/models/webhook_rotate_secret_params.rbs +8 -17
  200. data/sig/sentdm/models/webhook_rotate_secret_response.rbs +9 -71
  201. data/sig/sentdm/models/webhook_test_response.rbs +9 -71
  202. data/sig/sentdm/models.rbs +52 -0
  203. data/sig/sentdm/resources/contacts.rbs +4 -4
  204. data/sig/sentdm/resources/conversations.rbs +2 -2
  205. data/sig/sentdm/resources/profiles/campaigns.rbs +5 -5
  206. data/sig/sentdm/resources/profiles.rbs +9 -9
  207. data/sig/sentdm/resources/templates.rbs +3 -3
  208. data/sig/sentdm/resources/users.rbs +3 -3
  209. data/sig/sentdm/resources/webhooks.rbs +4 -4
  210. metadata +98 -68
  211. data/lib/sentdm/models/contact_create_response.rb +0 -249
  212. data/lib/sentdm/models/contact_retrieve_message_summary_response.rb +0 -186
  213. data/lib/sentdm/models/contact_retrieve_response.rb +0 -249
  214. data/lib/sentdm/models/contact_update_response.rb +0 -249
  215. data/lib/sentdm/models/conversation_list_messages_response.rb +0 -436
  216. data/lib/sentdm/models/conversation_list_response.rb +0 -433
  217. data/lib/sentdm/models/profile_create_response.rb +0 -760
  218. data/lib/sentdm/models/profile_retrieve_response.rb +0 -762
  219. data/lib/sentdm/models/profile_update_response.rb +0 -760
  220. data/lib/sentdm/models/profiles/campaign_create_response.rb +0 -420
  221. data/lib/sentdm/models/profiles/campaign_list_response.rb +0 -421
  222. data/lib/sentdm/models/profiles/campaign_update_response.rb +0 -420
  223. data/lib/sentdm/models/template_create_response.rb +0 -209
  224. data/lib/sentdm/models/template_retrieve_response.rb +0 -209
  225. data/lib/sentdm/models/template_update_response.rb +0 -209
  226. data/lib/sentdm/models/user_invite_response.rb +0 -201
  227. data/lib/sentdm/models/user_retrieve_response.rb +0 -201
  228. data/lib/sentdm/models/user_update_role_response.rb +0 -201
  229. data/lib/sentdm/models/webhook_create_response.rb +0 -229
  230. data/lib/sentdm/models/webhook_retrieve_response.rb +0 -229
  231. data/lib/sentdm/models/webhook_toggle_status_response.rb +0 -229
  232. data/lib/sentdm/models/webhook_update_response.rb +0 -229
  233. data/rbi/sentdm/models/contact_create_response.rbi +0 -407
  234. data/rbi/sentdm/models/contact_retrieve_message_summary_response.rbi +0 -397
  235. data/rbi/sentdm/models/contact_retrieve_response.rbi +0 -409
  236. data/rbi/sentdm/models/contact_update_response.rbi +0 -407
  237. data/rbi/sentdm/models/conversation_list_messages_response.rbi +0 -843
  238. data/rbi/sentdm/models/conversation_list_response.rbi +0 -819
  239. data/rbi/sentdm/models/profile_create_response.rbi +0 -1226
  240. data/rbi/sentdm/models/profile_retrieve_response.rbi +0 -1230
  241. data/rbi/sentdm/models/profile_update_response.rbi +0 -1226
  242. data/rbi/sentdm/models/profiles/campaign_create_response.rbi +0 -674
  243. data/rbi/sentdm/models/profiles/campaign_list_response.rbi +0 -667
  244. data/rbi/sentdm/models/profiles/campaign_update_response.rbi +0 -674
  245. data/rbi/sentdm/models/template_create_response.rbi +0 -349
  246. data/rbi/sentdm/models/template_retrieve_response.rbi +0 -355
  247. data/rbi/sentdm/models/template_update_response.rbi +0 -349
  248. data/rbi/sentdm/models/user_invite_response.rbi +0 -336
  249. data/rbi/sentdm/models/user_retrieve_response.rbi +0 -336
  250. data/rbi/sentdm/models/user_update_role_response.rbi +0 -341
  251. data/rbi/sentdm/models/webhook_create_response.rbi +0 -361
  252. data/rbi/sentdm/models/webhook_retrieve_response.rbi +0 -363
  253. data/rbi/sentdm/models/webhook_toggle_status_response.rbi +0 -379
  254. data/rbi/sentdm/models/webhook_update_response.rbi +0 -361
  255. data/sig/sentdm/models/contact_create_response.rbs +0 -216
  256. data/sig/sentdm/models/contact_retrieve_message_summary_response.rbs +0 -182
  257. data/sig/sentdm/models/contact_retrieve_response.rbs +0 -216
  258. data/sig/sentdm/models/contact_update_response.rbs +0 -216
  259. data/sig/sentdm/models/conversation_list_messages_response.rbs +0 -404
  260. data/sig/sentdm/models/conversation_list_response.rbs +0 -404
  261. data/sig/sentdm/models/profile_create_response.rbs +0 -559
  262. data/sig/sentdm/models/profile_retrieve_response.rbs +0 -559
  263. data/sig/sentdm/models/profile_update_response.rbs +0 -559
  264. data/sig/sentdm/models/profiles/campaign_create_response.rbs +0 -357
  265. data/sig/sentdm/models/profiles/campaign_list_response.rbs +0 -357
  266. data/sig/sentdm/models/profiles/campaign_update_response.rbs +0 -357
  267. data/sig/sentdm/models/template_create_response.rbs +0 -182
  268. data/sig/sentdm/models/template_retrieve_response.rbs +0 -182
  269. data/sig/sentdm/models/template_update_response.rbs +0 -182
  270. data/sig/sentdm/models/user_invite_response.rbs +0 -177
  271. data/sig/sentdm/models/user_retrieve_response.rbs +0 -177
  272. data/sig/sentdm/models/user_update_role_response.rbs +0 -177
  273. data/sig/sentdm/models/webhook_create_response.rbs +0 -208
  274. data/sig/sentdm/models/webhook_retrieve_response.rbs +0 -208
  275. data/sig/sentdm/models/webhook_toggle_status_response.rbs +0 -208
  276. 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::ContactCreateResponse]
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::Models::ContactCreateResponse,
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::ContactRetrieveResponse]
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::Models::ContactRetrieveResponse,
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::ContactUpdateResponse]
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::Models::ContactUpdateResponse,
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::ContactRetrieveMessageSummaryResponse]
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::Models::ContactRetrieveMessageSummaryResponse,
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::ConversationListResponse]
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::Models::ConversationListResponse,
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::ConversationListMessagesResponse]
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::Models::ConversationListMessagesResponse,
77
+ model: Sentdm::APIResponseOfConversationMessagesList,
78
78
  options: options
79
79
  )
80
80
  end
@@ -28,6 +28,17 @@ module Sentdm
28
28
  # `rcs`. Each channel has a `configured` boolean. Configured channels expose
29
29
  # additional details such as `phone_number`.
30
30
  #
31
+ # **Sending number:** `sending_phone_number` is the account's US SMS sender. It is
32
+ # intentionally the same value as `channels.sms.phone_number` — the two are kept
33
+ # in step, and it is published under both names because `sending_phone_number` is
34
+ # what this value is called on `GET /v3/profiles`. Read either. One difference:
35
+ # `sending_phone_number` is always present, including as `null`, while
36
+ # `channels.sms.phone_number` is omitted when there is no sender.
37
+ #
38
+ # `sending_phone_number_profile_id` names the account that holds that number in
39
+ # inventory — normally this account, and a different one where a number is shared.
40
+ # Both are `null` when the account has no US SMS sender.
41
+ #
31
42
  # @overload retrieve(x_profile_id: nil, request_options: {})
32
43
  #
33
44
  # @param x_profile_id [String] Profile UUID to scope the request to a child profile. Only organization API keys
@@ -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::CampaignCreateParams::Campaign] Body param: Campaign data for create or update operation
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::CampaignCreateResponse]
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::Models::Profiles::CampaignCreateResponse,
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::CampaignUpdateParams::Campaign] Body param: Campaign data for create or update operation
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::CampaignUpdateResponse]
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::Models::Profiles::CampaignUpdateResponse,
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::CampaignListResponse]
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::Models::Profiles::CampaignListResponse,
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::ProfileCreateParams::BillingContact, nil] Body param: Billing contact information for a profile.
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::ProfileCreateParams::Brand, nil] Body param: Brand and KYC data grouped into contact, business, and compliance se
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::ProfileCreateParams::PaymentDetails, nil] Body param: Payment card details for this profile (optional).
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::ProfileCreateResponse]
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::Models::ProfileCreateResponse,
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::ProfileRetrieveResponse]
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::Models::ProfileRetrieveResponse,
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::ProfileUpdateParams::BillingContact, nil] Body param: Billing contact information for a profile.
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::ProfileUpdateParams::Brand, nil] Body param: Brand and KYC data grouped into contact, business, and compliance se
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::ProfileUpdateParams::PaymentDetails, nil] Body param: Payment card details for this profile (optional).
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::ProfileUpdateResponse]
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::Models::ProfileUpdateResponse,
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::TemplateCreateResponse]
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::Models::TemplateCreateResponse,
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::TemplateRetrieveResponse]
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::Models::TemplateRetrieveResponse,
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::TemplateUpdateResponse]
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::Models::TemplateUpdateResponse,
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::UserRetrieveResponse]
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::Models::UserRetrieveResponse,
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::UserInviteResponse]
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::Models::UserInviteResponse,
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::UserUpdateRoleResponse]
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::Models::UserUpdateRoleResponse,
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::WebhookCreateResponse]
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::Models::WebhookCreateResponse,
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::WebhookRetrieveResponse]
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::Models::WebhookRetrieveResponse,
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::WebhookUpdateResponse]
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::Models::WebhookUpdateResponse,
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::WebhookToggleStatusResponse]
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::Models::WebhookToggleStatusResponse,
355
+ model: Sentdm::APIResponseWebhook,
356
356
  options: options
357
357
  )
358
358
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sentdm
4
- VERSION = "0.28.0"
4
+ VERSION = "0.30.0"
5
5
  end