sentdm 0.19.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +31 -1
  4. data/lib/sentdm/internal/type/base_model.rb +5 -5
  5. data/lib/sentdm/internal/type/enum.rb +25 -0
  6. data/lib/sentdm/models/api_meta.rb +34 -0
  7. data/lib/sentdm/models/api_response_of_contact.rb +46 -0
  8. data/lib/sentdm/models/api_response_of_profile_detail.rb +43 -0
  9. data/lib/sentdm/models/api_response_of_user.rb +43 -0
  10. data/lib/sentdm/models/api_response_template.rb +43 -0
  11. data/lib/sentdm/models/api_response_webhook.rb +43 -0
  12. data/lib/sentdm/models/billing_contact_info.rb +47 -0
  13. data/lib/sentdm/models/brands_brand_data.rb +38 -0
  14. data/lib/sentdm/models/contact_delete_params.rb +2 -16
  15. data/lib/sentdm/models/contact_list_response.rb +12 -278
  16. data/lib/sentdm/models/contact_response.rb +126 -0
  17. data/lib/sentdm/models/destination_country.rb +21 -0
  18. data/lib/sentdm/models/error_detail.rb +42 -0
  19. data/lib/sentdm/models/me_retrieve_response.rb +12 -204
  20. data/lib/sentdm/models/message_retrieve_activities_response.rb +6 -74
  21. data/lib/sentdm/models/message_retrieve_status_response.rb +6 -74
  22. data/lib/sentdm/models/message_send_response.rb +6 -74
  23. data/lib/sentdm/models/mutation_request.rb +20 -0
  24. data/lib/sentdm/models/number_lookup_response.rb +6 -74
  25. data/lib/sentdm/models/pagination_meta.rb +80 -0
  26. data/lib/sentdm/models/payment_details.rb +44 -0
  27. data/lib/sentdm/models/profile_complete_response.rb +6 -74
  28. data/lib/sentdm/models/profile_create_params.rb +9 -423
  29. data/lib/sentdm/models/profile_delete_params.rb +2 -16
  30. data/lib/sentdm/models/profile_detail.rb +605 -0
  31. data/lib/sentdm/models/profile_list_response.rb +9 -753
  32. data/lib/sentdm/models/profile_settings.rb +66 -0
  33. data/lib/sentdm/models/profile_update_params.rb +9 -423
  34. data/lib/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rb +45 -0
  35. data/lib/sentdm/models/profiles/base_dto.rb +32 -0
  36. data/lib/sentdm/models/profiles/campaign_create_params.rb +3 -165
  37. data/lib/sentdm/models/profiles/campaign_data.rb +123 -0
  38. data/lib/sentdm/models/profiles/campaign_delete_params.rb +2 -17
  39. data/lib/sentdm/models/profiles/campaign_list_response.rb +9 -420
  40. data/lib/sentdm/models/profiles/campaign_update_params.rb +3 -165
  41. data/lib/sentdm/models/profiles/messaging_use_case_us.rb +28 -0
  42. data/lib/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb +29 -0
  43. data/lib/sentdm/models/profiles/tcr_campaign_with_use_cases.rb +248 -0
  44. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rb +34 -0
  45. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rb +48 -0
  46. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb +38 -0
  47. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rb +81 -0
  48. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb +34 -0
  49. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rb +39 -0
  50. data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb +116 -0
  51. data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rb +75 -0
  52. data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rb +58 -0
  53. data/lib/sentdm/models/tcr_brand_relationship.rb +18 -0
  54. data/lib/sentdm/models/tcr_vertical.rb +36 -0
  55. data/lib/sentdm/models/template.rb +90 -0
  56. data/lib/sentdm/models/template_body_content.rb +27 -0
  57. data/lib/sentdm/models/template_create_params.rb +3 -889
  58. data/lib/sentdm/models/template_definition.rb +66 -0
  59. data/lib/sentdm/models/template_list_response.rb +12 -242
  60. data/lib/sentdm/models/template_update_params.rb +3 -889
  61. data/lib/sentdm/models/template_variable.rb +80 -0
  62. data/lib/sentdm/models/user_list_response.rb +9 -154
  63. data/lib/sentdm/models/user_remove_params.rb +2 -16
  64. data/lib/sentdm/models/user_response.rb +82 -0
  65. data/lib/sentdm/models/webhook_event_type.rb +45 -0
  66. data/lib/sentdm/models/webhook_list_event_types_response.rb +9 -118
  67. data/lib/sentdm/models/webhook_list_events_response.rb +9 -153
  68. data/lib/sentdm/models/webhook_list_response.rb +12 -247
  69. data/lib/sentdm/models/webhook_response.rb +95 -0
  70. data/lib/sentdm/models/webhook_rotate_secret_params.rb +2 -17
  71. data/lib/sentdm/models/webhook_rotate_secret_response.rb +6 -74
  72. data/lib/sentdm/models/webhook_test_response.rb +6 -74
  73. data/lib/sentdm/models.rb +77 -0
  74. data/lib/sentdm/resources/contacts.rb +6 -6
  75. data/lib/sentdm/resources/profiles/campaigns.rb +6 -6
  76. data/lib/sentdm/resources/profiles.rb +12 -12
  77. data/lib/sentdm/resources/templates.rb +8 -8
  78. data/lib/sentdm/resources/users.rb +6 -6
  79. data/lib/sentdm/resources/webhooks.rb +8 -8
  80. data/lib/sentdm/version.rb +1 -1
  81. data/lib/sentdm.rb +40 -18
  82. data/rbi/sentdm/models/api_meta.rbi +55 -0
  83. data/rbi/sentdm/models/api_response_of_contact.rbi +74 -0
  84. data/rbi/sentdm/models/api_response_of_profile_detail.rbi +74 -0
  85. data/rbi/sentdm/models/api_response_of_user.rbi +74 -0
  86. data/rbi/sentdm/models/api_response_template.rbi +74 -0
  87. data/rbi/sentdm/models/api_response_webhook.rbi +74 -0
  88. data/rbi/sentdm/models/billing_contact_info.rbi +65 -0
  89. data/rbi/sentdm/models/brands_brand_data.rbi +104 -0
  90. data/rbi/sentdm/models/contact_delete_params.rbi +2 -19
  91. data/rbi/sentdm/models/contact_list_response.rbi +16 -505
  92. data/rbi/sentdm/models/contact_response.rbi +183 -0
  93. data/rbi/sentdm/models/destination_country.rbi +32 -0
  94. data/rbi/sentdm/models/error_detail.rbi +66 -0
  95. data/rbi/sentdm/models/me_retrieve_response.rbi +16 -335
  96. data/rbi/sentdm/models/message_retrieve_activities_response.rbi +8 -154
  97. data/rbi/sentdm/models/message_retrieve_status_response.rbi +8 -148
  98. data/rbi/sentdm/models/message_send_response.rbi +8 -135
  99. data/rbi/sentdm/models/mutation_request.rbi +32 -0
  100. data/rbi/sentdm/models/number_lookup_response.rbi +8 -135
  101. data/rbi/sentdm/models/pagination_meta.rbi +135 -0
  102. data/rbi/sentdm/models/payment_details.rbi +59 -0
  103. data/rbi/sentdm/models/profile_complete_response.rbi +8 -137
  104. data/rbi/sentdm/models/profile_create_params.rbi +12 -810
  105. data/rbi/sentdm/models/profile_delete_params.rbi +2 -19
  106. data/rbi/sentdm/models/profile_detail.rbi +874 -0
  107. data/rbi/sentdm/models/profile_list_response.rbi +14 -1400
  108. data/rbi/sentdm/models/profile_settings.rbi +86 -0
  109. data/rbi/sentdm/models/profile_update_params.rbi +12 -810
  110. data/rbi/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbi +83 -0
  111. data/rbi/sentdm/models/profiles/base_dto.rbi +53 -0
  112. data/rbi/sentdm/models/profiles/campaign_create_params.rbi +4 -289
  113. data/rbi/sentdm/models/profiles/campaign_data.rbi +148 -0
  114. data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +1 -14
  115. data/rbi/sentdm/models/profiles/campaign_list_response.rbi +11 -733
  116. data/rbi/sentdm/models/profiles/campaign_update_params.rbi +4 -289
  117. data/rbi/sentdm/models/profiles/messaging_use_case_us.rbi +73 -0
  118. data/rbi/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi +51 -0
  119. data/rbi/sentdm/models/profiles/tcr_campaign_with_use_cases.rbi +425 -0
  120. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbi +56 -0
  121. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbi +87 -0
  122. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbi +72 -0
  123. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbi +104 -0
  124. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbi +57 -0
  125. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbi +59 -0
  126. data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbi +180 -0
  127. data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbi +95 -0
  128. data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbi +81 -0
  129. data/rbi/sentdm/models/tcr_brand_relationship.rbi +30 -0
  130. data/rbi/sentdm/models/tcr_vertical.rbi +41 -0
  131. data/rbi/sentdm/models/template.rbi +129 -0
  132. data/rbi/sentdm/models/template_body_content.rbi +43 -0
  133. data/rbi/sentdm/models/template_create_params.rbi +4 -1701
  134. data/rbi/sentdm/models/template_definition.rbi +164 -0
  135. data/rbi/sentdm/models/template_list_response.rbi +16 -454
  136. data/rbi/sentdm/models/template_update_params.rbi +4 -1701
  137. data/rbi/sentdm/models/template_variable.rbi +120 -0
  138. data/rbi/sentdm/models/user_list_response.rbi +14 -271
  139. data/rbi/sentdm/models/user_remove_params.rbi +2 -19
  140. data/rbi/sentdm/models/user_response.rbi +118 -0
  141. data/rbi/sentdm/models/webhook_event_type.rbi +74 -0
  142. data/rbi/sentdm/models/webhook_list_event_types_response.rbi +12 -247
  143. data/rbi/sentdm/models/webhook_list_events_response.rbi +12 -314
  144. data/rbi/sentdm/models/webhook_list_response.rbi +16 -462
  145. data/rbi/sentdm/models/webhook_response.rbi +140 -0
  146. data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +1 -14
  147. data/rbi/sentdm/models/webhook_rotate_secret_response.rbi +8 -148
  148. data/rbi/sentdm/models/webhook_test_response.rbi +8 -135
  149. data/rbi/sentdm/models.rbi +77 -0
  150. data/rbi/sentdm/resources/contacts.rbi +3 -3
  151. data/rbi/sentdm/resources/profiles/campaigns.rbi +4 -4
  152. data/rbi/sentdm/resources/profiles.rbi +9 -13
  153. data/rbi/sentdm/resources/templates.rbi +5 -6
  154. data/rbi/sentdm/resources/users.rbi +3 -3
  155. data/rbi/sentdm/resources/webhooks.rbi +4 -4
  156. data/sig/sentdm/models/api_meta.rbs +27 -0
  157. data/sig/sentdm/models/api_response_of_contact.rbs +39 -0
  158. data/sig/sentdm/models/api_response_of_profile_detail.rbs +39 -0
  159. data/sig/sentdm/models/api_response_of_user.rbs +39 -0
  160. data/sig/sentdm/models/api_response_template.rbs +39 -0
  161. data/sig/sentdm/models/api_response_webhook.rbs +39 -0
  162. data/sig/sentdm/models/billing_contact_info.rbs +30 -0
  163. data/sig/sentdm/models/brands_brand_data.rbs +30 -0
  164. data/sig/sentdm/models/contact_delete_params.rbs +6 -10
  165. data/sig/sentdm/models/contact_list_response.rbs +20 -256
  166. data/sig/sentdm/models/contact_response.rbs +111 -0
  167. data/sig/sentdm/models/destination_country.rbs +19 -0
  168. data/sig/sentdm/models/error_detail.rbs +39 -0
  169. data/sig/sentdm/models/me_retrieve_response.rbs +18 -176
  170. data/sig/sentdm/models/message_retrieve_activities_response.rbs +9 -71
  171. data/sig/sentdm/models/message_retrieve_status_response.rbs +9 -71
  172. data/sig/sentdm/models/message_send_response.rbs +9 -71
  173. data/sig/sentdm/models/mutation_request.rbs +15 -0
  174. data/sig/sentdm/models/number_lookup_response.rbs +9 -71
  175. data/sig/sentdm/models/pagination_meta.rbs +67 -0
  176. data/sig/sentdm/models/payment_details.rbs +30 -0
  177. data/sig/sentdm/models/profile_complete_response.rbs +9 -71
  178. data/sig/sentdm/models/profile_create_params.rbs +12 -363
  179. data/sig/sentdm/models/profile_delete_params.rbs +6 -10
  180. data/sig/sentdm/models/profile_detail.rbs +474 -0
  181. data/sig/sentdm/models/profile_list_response.rbs +15 -645
  182. data/sig/sentdm/models/profile_settings.rbs +50 -0
  183. data/sig/sentdm/models/profile_update_params.rbs +12 -363
  184. data/sig/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbs +41 -0
  185. data/sig/sentdm/models/profiles/base_dto.rbs +27 -0
  186. data/sig/sentdm/models/profiles/campaign_create_params.rbs +4 -138
  187. data/sig/sentdm/models/profiles/campaign_data.rbs +82 -0
  188. data/sig/sentdm/models/profiles/campaign_delete_params.rbs +8 -15
  189. data/sig/sentdm/models/profiles/campaign_list_response.rbs +13 -396
  190. data/sig/sentdm/models/profiles/campaign_update_params.rbs +4 -138
  191. data/sig/sentdm/models/profiles/messaging_use_case_us.rbs +40 -0
  192. data/sig/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs +27 -0
  193. data/sig/sentdm/models/profiles/tcr_campaign_with_use_cases.rbs +299 -0
  194. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbs +24 -0
  195. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbs +35 -0
  196. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbs +32 -0
  197. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbs +75 -0
  198. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbs +30 -0
  199. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbs +30 -0
  200. data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbs +89 -0
  201. data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbs +55 -0
  202. data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbs +45 -0
  203. data/sig/sentdm/models/tcr_brand_relationship.rbs +22 -0
  204. data/sig/sentdm/models/tcr_vertical.rbs +58 -0
  205. data/sig/sentdm/models/template.rbs +79 -0
  206. data/sig/sentdm/models/template_body_content.rbs +30 -0
  207. data/sig/sentdm/models/template_create_params.rbs +6 -853
  208. data/sig/sentdm/models/template_definition.rbs +45 -0
  209. data/sig/sentdm/models/template_list_response.rbs +19 -225
  210. data/sig/sentdm/models/template_update_params.rbs +4 -851
  211. data/sig/sentdm/models/template_variable.rbs +84 -0
  212. data/sig/sentdm/models/user_list_response.rbs +15 -151
  213. data/sig/sentdm/models/user_remove_params.rbs +6 -10
  214. data/sig/sentdm/models/user_response.rbs +72 -0
  215. data/sig/sentdm/models/webhook_event_type.rbs +51 -0
  216. data/sig/sentdm/models/webhook_list_event_types_response.rbs +15 -130
  217. data/sig/sentdm/models/webhook_list_events_response.rbs +14 -142
  218. data/sig/sentdm/models/webhook_list_response.rbs +20 -248
  219. data/sig/sentdm/models/webhook_response.rbs +103 -0
  220. data/sig/sentdm/models/webhook_rotate_secret_params.rbs +8 -17
  221. data/sig/sentdm/models/webhook_rotate_secret_response.rbs +9 -71
  222. data/sig/sentdm/models/webhook_test_response.rbs +9 -71
  223. data/sig/sentdm/models.rbs +68 -0
  224. data/sig/sentdm/resources/contacts.rbs +3 -3
  225. data/sig/sentdm/resources/profiles/campaigns.rbs +4 -4
  226. data/sig/sentdm/resources/profiles.rbs +9 -9
  227. data/sig/sentdm/resources/templates.rbs +5 -5
  228. data/sig/sentdm/resources/users.rbs +3 -3
  229. data/sig/sentdm/resources/webhooks.rbs +4 -4
  230. metadata +121 -55
  231. data/lib/sentdm/models/contact_create_response.rb +0 -236
  232. data/lib/sentdm/models/contact_retrieve_response.rb +0 -236
  233. data/lib/sentdm/models/contact_update_response.rb +0 -236
  234. data/lib/sentdm/models/profile_create_response.rb +0 -781
  235. data/lib/sentdm/models/profile_retrieve_response.rb +0 -783
  236. data/lib/sentdm/models/profile_update_response.rb +0 -781
  237. data/lib/sentdm/models/profiles/campaign_create_response.rb +0 -459
  238. data/lib/sentdm/models/profiles/campaign_update_response.rb +0 -459
  239. data/lib/sentdm/models/template_create_response.rb +0 -197
  240. data/lib/sentdm/models/template_retrieve_response.rb +0 -197
  241. data/lib/sentdm/models/template_update_response.rb +0 -197
  242. data/lib/sentdm/models/user_invite_response.rb +0 -189
  243. data/lib/sentdm/models/user_retrieve_response.rb +0 -189
  244. data/lib/sentdm/models/user_update_role_response.rb +0 -189
  245. data/lib/sentdm/models/webhook_create_response.rb +0 -204
  246. data/lib/sentdm/models/webhook_retrieve_response.rb +0 -204
  247. data/lib/sentdm/models/webhook_toggle_status_response.rb +0 -204
  248. data/lib/sentdm/models/webhook_update_response.rb +0 -204
  249. data/rbi/sentdm/models/contact_create_response.rbi +0 -390
  250. data/rbi/sentdm/models/contact_retrieve_response.rbi +0 -392
  251. data/rbi/sentdm/models/contact_update_response.rbi +0 -390
  252. data/rbi/sentdm/models/profile_create_response.rbi +0 -1439
  253. data/rbi/sentdm/models/profile_retrieve_response.rbi +0 -1443
  254. data/rbi/sentdm/models/profile_update_response.rbi +0 -1439
  255. data/rbi/sentdm/models/profiles/campaign_create_response.rbi +0 -814
  256. data/rbi/sentdm/models/profiles/campaign_update_response.rbi +0 -814
  257. data/rbi/sentdm/models/template_create_response.rbi +0 -339
  258. data/rbi/sentdm/models/template_retrieve_response.rbi +0 -345
  259. data/rbi/sentdm/models/template_update_response.rbi +0 -339
  260. data/rbi/sentdm/models/user_invite_response.rbi +0 -323
  261. data/rbi/sentdm/models/user_retrieve_response.rbi +0 -323
  262. data/rbi/sentdm/models/user_update_role_response.rbi +0 -328
  263. data/rbi/sentdm/models/webhook_create_response.rbi +0 -348
  264. data/rbi/sentdm/models/webhook_retrieve_response.rbi +0 -350
  265. data/rbi/sentdm/models/webhook_toggle_status_response.rbi +0 -366
  266. data/rbi/sentdm/models/webhook_update_response.rbi +0 -348
  267. data/sig/sentdm/models/contact_create_response.rbs +0 -209
  268. data/sig/sentdm/models/contact_retrieve_response.rbs +0 -209
  269. data/sig/sentdm/models/contact_update_response.rbs +0 -209
  270. data/sig/sentdm/models/profile_create_response.rbs +0 -662
  271. data/sig/sentdm/models/profile_retrieve_response.rbs +0 -662
  272. data/sig/sentdm/models/profile_update_response.rbs +0 -662
  273. data/sig/sentdm/models/profiles/campaign_create_response.rbs +0 -424
  274. data/sig/sentdm/models/profiles/campaign_update_response.rbs +0 -424
  275. data/sig/sentdm/models/template_create_response.rbs +0 -177
  276. data/sig/sentdm/models/template_retrieve_response.rbs +0 -177
  277. data/sig/sentdm/models/template_update_response.rbs +0 -177
  278. data/sig/sentdm/models/user_invite_response.rbs +0 -170
  279. data/sig/sentdm/models/user_retrieve_response.rbs +0 -170
  280. data/sig/sentdm/models/user_update_role_response.rbs +0 -170
  281. data/sig/sentdm/models/webhook_create_response.rbs +0 -201
  282. data/sig/sentdm/models/webhook_retrieve_response.rbs +0 -201
  283. data/sig/sentdm/models/webhook_toggle_status_response.rbs +0 -201
  284. data/sig/sentdm/models/webhook_update_response.rbs +0 -201
@@ -13,14 +13,14 @@ module Sentdm
13
13
  # @!attribute error
14
14
  # Error information
15
15
  #
16
- # @return [Sentdm::Models::WebhookRotateSecretResponse::Error, nil]
17
- optional :error, -> { Sentdm::Models::WebhookRotateSecretResponse::Error }, nil?: true
16
+ # @return [Sentdm::Models::ErrorDetail, nil]
17
+ optional :error, -> { Sentdm::ErrorDetail }, nil?: true
18
18
 
19
19
  # @!attribute meta
20
20
  # Request and response metadata
21
21
  #
22
- # @return [Sentdm::Models::WebhookRotateSecretResponse::Meta, nil]
23
- optional :meta, -> { Sentdm::Models::WebhookRotateSecretResponse::Meta }
22
+ # @return [Sentdm::Models::APIMeta, nil]
23
+ optional :meta, -> { Sentdm::APIMeta }
24
24
 
25
25
  # @!attribute success
26
26
  # Indicates whether the request was successful
@@ -33,9 +33,9 @@ module Sentdm
33
33
  #
34
34
  # @param data [Sentdm::Models::WebhookRotateSecretResponse::Data, nil] The response data (null if error)
35
35
  #
36
- # @param error [Sentdm::Models::WebhookRotateSecretResponse::Error, nil] Error information
36
+ # @param error [Sentdm::Models::ErrorDetail, nil] Error information
37
37
  #
38
- # @param meta [Sentdm::Models::WebhookRotateSecretResponse::Meta] Request and response metadata
38
+ # @param meta [Sentdm::Models::APIMeta] Request and response metadata
39
39
  #
40
40
  # @param success [Boolean] Indicates whether the request was successful
41
41
 
@@ -51,74 +51,6 @@ module Sentdm
51
51
  #
52
52
  # @param signing_secret [String]
53
53
  end
54
-
55
- # @see Sentdm::Models::WebhookRotateSecretResponse#error
56
- class Error < Sentdm::Internal::Type::BaseModel
57
- # @!attribute code
58
- # Machine-readable error code (e.g., "RESOURCE_001")
59
- #
60
- # @return [String, nil]
61
- optional :code, String
62
-
63
- # @!attribute details
64
- # Additional validation error details (field-level errors)
65
- #
66
- # @return [Hash{Symbol=>Array<String>}, nil]
67
- optional :details, Sentdm::Internal::Type::HashOf[Sentdm::Internal::Type::ArrayOf[String]], nil?: true
68
-
69
- # @!attribute doc_url
70
- # URL to documentation about this error
71
- #
72
- # @return [String, nil]
73
- optional :doc_url, String, nil?: true
74
-
75
- # @!attribute message
76
- # Human-readable error message
77
- #
78
- # @return [String, nil]
79
- optional :message, String
80
-
81
- # @!method initialize(code: nil, details: nil, doc_url: nil, message: nil)
82
- # Error information
83
- #
84
- # @param code [String] Machine-readable error code (e.g., "RESOURCE_001")
85
- #
86
- # @param details [Hash{Symbol=>Array<String>}, nil] Additional validation error details (field-level errors)
87
- #
88
- # @param doc_url [String, nil] URL to documentation about this error
89
- #
90
- # @param message [String] Human-readable error message
91
- end
92
-
93
- # @see Sentdm::Models::WebhookRotateSecretResponse#meta
94
- class Meta < Sentdm::Internal::Type::BaseModel
95
- # @!attribute request_id
96
- # Unique identifier for this request (for tracing and support)
97
- #
98
- # @return [String, nil]
99
- optional :request_id, String
100
-
101
- # @!attribute timestamp
102
- # Server timestamp when the response was generated
103
- #
104
- # @return [Time, nil]
105
- optional :timestamp, Time
106
-
107
- # @!attribute version
108
- # API version used for this request
109
- #
110
- # @return [String, nil]
111
- optional :version, String
112
-
113
- # @!method initialize(request_id: nil, timestamp: nil, version: nil)
114
- # Request and response metadata
115
- #
116
- # @param request_id [String] Unique identifier for this request (for tracing and support)
117
- #
118
- # @param timestamp [Time] Server timestamp when the response was generated
119
- #
120
- # @param version [String] API version used for this request
121
- end
122
54
  end
123
55
  end
124
56
  end
@@ -13,14 +13,14 @@ module Sentdm
13
13
  # @!attribute error
14
14
  # Error information
15
15
  #
16
- # @return [Sentdm::Models::WebhookTestResponse::Error, nil]
17
- optional :error, -> { Sentdm::Models::WebhookTestResponse::Error }, nil?: true
16
+ # @return [Sentdm::Models::ErrorDetail, nil]
17
+ optional :error, -> { Sentdm::ErrorDetail }, nil?: true
18
18
 
19
19
  # @!attribute meta
20
20
  # Request and response metadata
21
21
  #
22
- # @return [Sentdm::Models::WebhookTestResponse::Meta, nil]
23
- optional :meta, -> { Sentdm::Models::WebhookTestResponse::Meta }
22
+ # @return [Sentdm::Models::APIMeta, nil]
23
+ optional :meta, -> { Sentdm::APIMeta }
24
24
 
25
25
  # @!attribute success
26
26
  # Indicates whether the request was successful
@@ -33,9 +33,9 @@ module Sentdm
33
33
  #
34
34
  # @param data [Sentdm::Models::WebhookTestResponse::Data, nil] The response data (null if error)
35
35
  #
36
- # @param error [Sentdm::Models::WebhookTestResponse::Error, nil] Error information
36
+ # @param error [Sentdm::Models::ErrorDetail, nil] Error information
37
37
  #
38
- # @param meta [Sentdm::Models::WebhookTestResponse::Meta] Request and response metadata
38
+ # @param meta [Sentdm::Models::APIMeta] Request and response metadata
39
39
  #
40
40
  # @param success [Boolean] Indicates whether the request was successful
41
41
 
@@ -57,74 +57,6 @@ module Sentdm
57
57
  # @param message [String]
58
58
  # @param success [Boolean]
59
59
  end
60
-
61
- # @see Sentdm::Models::WebhookTestResponse#error
62
- class Error < Sentdm::Internal::Type::BaseModel
63
- # @!attribute code
64
- # Machine-readable error code (e.g., "RESOURCE_001")
65
- #
66
- # @return [String, nil]
67
- optional :code, String
68
-
69
- # @!attribute details
70
- # Additional validation error details (field-level errors)
71
- #
72
- # @return [Hash{Symbol=>Array<String>}, nil]
73
- optional :details, Sentdm::Internal::Type::HashOf[Sentdm::Internal::Type::ArrayOf[String]], nil?: true
74
-
75
- # @!attribute doc_url
76
- # URL to documentation about this error
77
- #
78
- # @return [String, nil]
79
- optional :doc_url, String, nil?: true
80
-
81
- # @!attribute message
82
- # Human-readable error message
83
- #
84
- # @return [String, nil]
85
- optional :message, String
86
-
87
- # @!method initialize(code: nil, details: nil, doc_url: nil, message: nil)
88
- # Error information
89
- #
90
- # @param code [String] Machine-readable error code (e.g., "RESOURCE_001")
91
- #
92
- # @param details [Hash{Symbol=>Array<String>}, nil] Additional validation error details (field-level errors)
93
- #
94
- # @param doc_url [String, nil] URL to documentation about this error
95
- #
96
- # @param message [String] Human-readable error message
97
- end
98
-
99
- # @see Sentdm::Models::WebhookTestResponse#meta
100
- class Meta < Sentdm::Internal::Type::BaseModel
101
- # @!attribute request_id
102
- # Unique identifier for this request (for tracing and support)
103
- #
104
- # @return [String, nil]
105
- optional :request_id, String
106
-
107
- # @!attribute timestamp
108
- # Server timestamp when the response was generated
109
- #
110
- # @return [Time, nil]
111
- optional :timestamp, Time
112
-
113
- # @!attribute version
114
- # API version used for this request
115
- #
116
- # @return [String, nil]
117
- optional :version, String
118
-
119
- # @!method initialize(request_id: nil, timestamp: nil, version: nil)
120
- # Request and response metadata
121
- #
122
- # @param request_id [String] Unique identifier for this request (for tracing and support)
123
- #
124
- # @param timestamp [Time] Server timestamp when the response was generated
125
- #
126
- # @param version [String] API version used for this request
127
- end
128
60
  end
129
61
  end
130
62
  end
data/lib/sentdm/models.rb CHANGED
@@ -39,16 +39,38 @@ 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
+ APIResponseOfProfileDetail = Sentdm::Models::APIResponseOfProfileDetail
47
+
48
+ APIResponseOfUser = Sentdm::Models::APIResponseOfUser
49
+
50
+ APIResponseTemplate = Sentdm::Models::APIResponseTemplate
51
+
52
+ APIResponseWebhook = Sentdm::Models::APIResponseWebhook
53
+
54
+ BillingContactInfo = Sentdm::Models::BillingContactInfo
55
+
56
+ BrandsBrandData = Sentdm::Models::BrandsBrandData
57
+
42
58
  ContactCreateParams = Sentdm::Models::ContactCreateParams
43
59
 
44
60
  ContactDeleteParams = Sentdm::Models::ContactDeleteParams
45
61
 
46
62
  ContactListParams = Sentdm::Models::ContactListParams
47
63
 
64
+ ContactResponse = Sentdm::Models::ContactResponse
65
+
48
66
  ContactRetrieveParams = Sentdm::Models::ContactRetrieveParams
49
67
 
50
68
  ContactUpdateParams = Sentdm::Models::ContactUpdateParams
51
69
 
70
+ DestinationCountry = Sentdm::Models::DestinationCountry
71
+
72
+ ErrorDetail = Sentdm::Models::ErrorDetail
73
+
52
74
  MeRetrieveParams = Sentdm::Models::MeRetrieveParams
53
75
 
54
76
  MessageRetrieveActivitiesParams = Sentdm::Models::MessageRetrieveActivitiesParams
@@ -57,24 +79,71 @@ module Sentdm
57
79
 
58
80
  MessageSendParams = Sentdm::Models::MessageSendParams
59
81
 
82
+ MutationRequest = Sentdm::Models::MutationRequest
83
+
60
84
  NumberLookupParams = Sentdm::Models::NumberLookupParams
61
85
 
86
+ PaginationMeta = Sentdm::Models::PaginationMeta
87
+
88
+ PaymentDetails = Sentdm::Models::PaymentDetails
89
+
62
90
  ProfileCompleteParams = Sentdm::Models::ProfileCompleteParams
63
91
 
64
92
  ProfileCreateParams = Sentdm::Models::ProfileCreateParams
65
93
 
66
94
  ProfileDeleteParams = Sentdm::Models::ProfileDeleteParams
67
95
 
96
+ ProfileDetail = Sentdm::Models::ProfileDetail
97
+
68
98
  ProfileListParams = Sentdm::Models::ProfileListParams
69
99
 
70
100
  ProfileRetrieveParams = Sentdm::Models::ProfileRetrieveParams
71
101
 
72
102
  Profiles = Sentdm::Models::Profiles
73
103
 
104
+ ProfileSettings = Sentdm::Models::ProfileSettings
105
+
74
106
  ProfileUpdateParams = Sentdm::Models::ProfileUpdateParams
75
107
 
108
+ SentDmServicesCommonContractsPocOsAuthenticationConfig =
109
+ Sentdm::Models::SentDmServicesCommonContractsPocOsAuthenticationConfig
110
+
111
+ SentDmServicesCommonContractsPocOsTemplateBody =
112
+ Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateBody
113
+
114
+ SentDmServicesCommonContractsPocOsTemplateButton =
115
+ Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateButton
116
+
117
+ SentDmServicesCommonContractsPocOsTemplateButtonProps =
118
+ Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateButtonProps
119
+
120
+ SentDmServicesCommonContractsPocOsTemplateFooter =
121
+ Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateFooter
122
+
123
+ SentDmServicesCommonContractsPocOsTemplateHeader =
124
+ Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateHeader
125
+
126
+ SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo =
127
+ Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo
128
+
129
+ SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo =
130
+ Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo
131
+
132
+ SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo =
133
+ Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo
134
+
135
+ TcrBrandRelationship = Sentdm::Models::TcrBrandRelationship
136
+
137
+ TcrVertical = Sentdm::Models::TcrVertical
138
+
139
+ Template = Sentdm::Models::Template
140
+
141
+ TemplateBodyContent = Sentdm::Models::TemplateBodyContent
142
+
76
143
  TemplateCreateParams = Sentdm::Models::TemplateCreateParams
77
144
 
145
+ TemplateDefinition = Sentdm::Models::TemplateDefinition
146
+
78
147
  TemplateDeleteParams = Sentdm::Models::TemplateDeleteParams
79
148
 
80
149
  TemplateListParams = Sentdm::Models::TemplateListParams
@@ -83,12 +152,16 @@ module Sentdm
83
152
 
84
153
  TemplateUpdateParams = Sentdm::Models::TemplateUpdateParams
85
154
 
155
+ TemplateVariable = Sentdm::Models::TemplateVariable
156
+
86
157
  UserInviteParams = Sentdm::Models::UserInviteParams
87
158
 
88
159
  UserListParams = Sentdm::Models::UserListParams
89
160
 
90
161
  UserRemoveParams = Sentdm::Models::UserRemoveParams
91
162
 
163
+ UserResponse = Sentdm::Models::UserResponse
164
+
92
165
  UserRetrieveParams = Sentdm::Models::UserRetrieveParams
93
166
 
94
167
  UserUpdateRoleParams = Sentdm::Models::UserUpdateRoleParams
@@ -97,12 +170,16 @@ module Sentdm
97
170
 
98
171
  WebhookDeleteParams = Sentdm::Models::WebhookDeleteParams
99
172
 
173
+ WebhookEventType = Sentdm::Models::WebhookEventType
174
+
100
175
  WebhookListEventsParams = Sentdm::Models::WebhookListEventsParams
101
176
 
102
177
  WebhookListEventTypesParams = Sentdm::Models::WebhookListEventTypesParams
103
178
 
104
179
  WebhookListParams = Sentdm::Models::WebhookListParams
105
180
 
181
+ WebhookResponse = Sentdm::Models::WebhookResponse
182
+
106
183
  WebhookRetrieveParams = Sentdm::Models::WebhookRetrieveParams
107
184
 
108
185
  WebhookRotateSecretParams = Sentdm::Models::WebhookRotateSecretParams
@@ -22,7 +22,7 @@ module Sentdm
22
22
  #
23
23
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
24
24
  #
25
- # @return [Sentdm::Models::ContactCreateResponse]
25
+ # @return [Sentdm::Models::APIResponseOfContact]
26
26
  #
27
27
  # @see Sentdm::Models::ContactCreateParams
28
28
  def create(params = {})
@@ -33,7 +33,7 @@ module Sentdm
33
33
  path: "v3/contacts",
34
34
  headers: parsed.slice(*header_params.keys).transform_keys(header_params),
35
35
  body: parsed.except(*header_params.keys),
36
- model: Sentdm::Models::ContactCreateResponse,
36
+ model: Sentdm::APIResponseOfContact,
37
37
  options: options
38
38
  )
39
39
  end
@@ -53,7 +53,7 @@ module Sentdm
53
53
  #
54
54
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
55
55
  #
56
- # @return [Sentdm::Models::ContactRetrieveResponse]
56
+ # @return [Sentdm::Models::APIResponseOfContact]
57
57
  #
58
58
  # @see Sentdm::Models::ContactRetrieveParams
59
59
  def retrieve(id, params = {})
@@ -62,7 +62,7 @@ module Sentdm
62
62
  method: :get,
63
63
  path: ["v3/contacts/%1$s", id],
64
64
  headers: parsed.transform_keys(x_profile_id: "x-profile-id"),
65
- model: Sentdm::Models::ContactRetrieveResponse,
65
+ model: Sentdm::APIResponseOfContact,
66
66
  options: options
67
67
  )
68
68
  end
@@ -89,7 +89,7 @@ module Sentdm
89
89
  #
90
90
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
91
91
  #
92
- # @return [Sentdm::Models::ContactUpdateResponse]
92
+ # @return [Sentdm::Models::APIResponseOfContact]
93
93
  #
94
94
  # @see Sentdm::Models::ContactUpdateParams
95
95
  def update(id, params = {})
@@ -100,7 +100,7 @@ module Sentdm
100
100
  path: ["v3/contacts/%1$s", 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::ContactUpdateResponse,
103
+ model: Sentdm::APIResponseOfContact,
104
104
  options: options
105
105
  )
106
106
  end
@@ -15,7 +15,7 @@ module Sentdm
15
15
  #
16
16
  # @param profile_id [String] Path param: Profile ID from route
17
17
  #
18
- # @param campaign [Sentdm::Models::Profiles::CampaignCreateParams::Campaign] Body param: Campaign data for create or update operation
18
+ # @param campaign [Sentdm::Models::Profiles::CampaignData] Body param: Campaign data for create or update operation
19
19
  #
20
20
  # @param sandbox [Boolean] Body param: Sandbox flag - when true, the operation is simulated without side ef
21
21
  #
@@ -25,7 +25,7 @@ module Sentdm
25
25
  #
26
26
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
27
27
  #
28
- # @return [Sentdm::Models::Profiles::CampaignCreateResponse]
28
+ # @return [Sentdm::Models::Profiles::APIResponseOfTcrCampaignWithUseCases]
29
29
  #
30
30
  # @see Sentdm::Models::Profiles::CampaignCreateParams
31
31
  def create(profile_id, params)
@@ -36,7 +36,7 @@ module Sentdm
36
36
  path: ["v3/profiles/%1$s/campaigns", profile_id],
37
37
  headers: parsed.slice(*header_params.keys).transform_keys(header_params),
38
38
  body: parsed.except(*header_params.keys),
39
- model: Sentdm::Models::Profiles::CampaignCreateResponse,
39
+ model: Sentdm::Profiles::APIResponseOfTcrCampaignWithUseCases,
40
40
  options: options
41
41
  )
42
42
  end
@@ -53,7 +53,7 @@ module Sentdm
53
53
  #
54
54
  # @param profile_id [String] Path param: Profile ID from route
55
55
  #
56
- # @param campaign [Sentdm::Models::Profiles::CampaignUpdateParams::Campaign] Body param: Campaign data for create or update operation
56
+ # @param campaign [Sentdm::Models::Profiles::CampaignData] Body param: Campaign data for create or update operation
57
57
  #
58
58
  # @param sandbox [Boolean] Body param: Sandbox flag - when true, the operation is simulated without side ef
59
59
  #
@@ -63,7 +63,7 @@ module Sentdm
63
63
  #
64
64
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
65
65
  #
66
- # @return [Sentdm::Models::Profiles::CampaignUpdateResponse]
66
+ # @return [Sentdm::Models::Profiles::APIResponseOfTcrCampaignWithUseCases]
67
67
  #
68
68
  # @see Sentdm::Models::Profiles::CampaignUpdateParams
69
69
  def update(campaign_id, params)
@@ -78,7 +78,7 @@ module Sentdm
78
78
  path: ["v3/profiles/%1$s/campaigns/%2$s", profile_id, campaign_id],
79
79
  headers: parsed.slice(*header_params.keys).transform_keys(header_params),
80
80
  body: parsed.except(*header_params.keys),
81
- model: Sentdm::Models::Profiles::CampaignUpdateResponse,
81
+ model: Sentdm::Profiles::APIResponseOfTcrCampaignWithUseCases,
82
82
  options: options
83
83
  )
84
84
  end
@@ -54,11 +54,11 @@ module Sentdm
54
54
  #
55
55
  # @param allow_template_sharing [Boolean] Body param: Whether templates are shared across profiles (default: false)
56
56
  #
57
- # @param billing_contact [Sentdm::Models::ProfileCreateParams::BillingContact, nil] Body param: Billing contact information for a profile.
57
+ # @param billing_contact [Sentdm::Models::BillingContactInfo, nil] Body param: Billing contact information for a profile.
58
58
  #
59
59
  # @param billing_model [String, nil] Body param: Billing model: profile, organization, or profile_and_organization (d
60
60
  #
61
- # @param brand [Sentdm::Models::ProfileCreateParams::Brand, nil] Body param: Brand and KYC data grouped into contact, business, and compliance se
61
+ # @param brand [Sentdm::Models::BrandsBrandData, nil] Body param: Brand and KYC data grouped into contact, business, and compliance se
62
62
  #
63
63
  # @param description [String, nil] Body param: Profile description (optional)
64
64
  #
@@ -74,7 +74,7 @@ module Sentdm
74
74
  #
75
75
  # @param name [String] Body param: Profile name (required)
76
76
  #
77
- # @param payment_details [Sentdm::Models::ProfileCreateParams::PaymentDetails, nil] Body param: Payment card details for a profile.
77
+ # @param payment_details [Sentdm::Models::PaymentDetails, nil] Body param: Payment card details for a profile.
78
78
  #
79
79
  # @param sandbox [Boolean] Body param: Sandbox flag - when true, the operation is simulated without side ef
80
80
  #
@@ -88,7 +88,7 @@ module Sentdm
88
88
  #
89
89
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
90
90
  #
91
- # @return [Sentdm::Models::ProfileCreateResponse]
91
+ # @return [Sentdm::Models::APIResponseOfProfileDetail]
92
92
  #
93
93
  # @see Sentdm::Models::ProfileCreateParams
94
94
  def create(params = {})
@@ -99,7 +99,7 @@ module Sentdm
99
99
  path: "v3/profiles",
100
100
  headers: parsed.slice(*header_params.keys).transform_keys(header_params),
101
101
  body: parsed.except(*header_params.keys),
102
- model: Sentdm::Models::ProfileCreateResponse,
102
+ model: Sentdm::APIResponseOfProfileDetail,
103
103
  options: options
104
104
  )
105
105
  end
@@ -119,7 +119,7 @@ module Sentdm
119
119
  #
120
120
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
121
121
  #
122
- # @return [Sentdm::Models::ProfileRetrieveResponse]
122
+ # @return [Sentdm::Models::APIResponseOfProfileDetail]
123
123
  #
124
124
  # @see Sentdm::Models::ProfileRetrieveParams
125
125
  def retrieve(profile_id, params = {})
@@ -128,7 +128,7 @@ module Sentdm
128
128
  method: :get,
129
129
  path: ["v3/profiles/%1$s", profile_id],
130
130
  headers: parsed.transform_keys(x_profile_id: "x-profile-id"),
131
- model: Sentdm::Models::ProfileRetrieveResponse,
131
+ model: Sentdm::APIResponseOfProfileDetail,
132
132
  options: options
133
133
  )
134
134
  end
@@ -165,11 +165,11 @@ module Sentdm
165
165
  #
166
166
  # @param allow_template_sharing [Boolean, nil] Body param: Whether templates are shared across profiles (optional)
167
167
  #
168
- # @param billing_contact [Sentdm::Models::ProfileUpdateParams::BillingContact, nil] Body param: Billing contact information for a profile.
168
+ # @param billing_contact [Sentdm::Models::BillingContactInfo, nil] Body param: Billing contact information for a profile.
169
169
  #
170
170
  # @param billing_model [String, nil] Body param: Billing model: profile, organization, or profile_and_organization (o
171
171
  #
172
- # @param brand [Sentdm::Models::ProfileUpdateParams::Brand, nil] Body param: Brand and KYC data grouped into contact, business, and compliance se
172
+ # @param brand [Sentdm::Models::BrandsBrandData, nil] Body param: Brand and KYC data grouped into contact, business, and compliance se
173
173
  #
174
174
  # @param description [String, nil] Body param: Profile description (optional)
175
175
  #
@@ -185,7 +185,7 @@ module Sentdm
185
185
  #
186
186
  # @param name [String, nil] Body param: Profile name (optional)
187
187
  #
188
- # @param payment_details [Sentdm::Models::ProfileUpdateParams::PaymentDetails, nil] Body param: Payment card details for a profile.
188
+ # @param payment_details [Sentdm::Models::PaymentDetails, nil] Body param: Payment card details for a profile.
189
189
  #
190
190
  # @param sandbox [Boolean] Body param: Sandbox flag - when true, the operation is simulated without side ef
191
191
  #
@@ -205,7 +205,7 @@ module Sentdm
205
205
  #
206
206
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
207
207
  #
208
- # @return [Sentdm::Models::ProfileUpdateResponse]
208
+ # @return [Sentdm::Models::APIResponseOfProfileDetail]
209
209
  #
210
210
  # @see Sentdm::Models::ProfileUpdateParams
211
211
  def update(profile_id, params = {})
@@ -216,7 +216,7 @@ module Sentdm
216
216
  path: ["v3/profiles/%1$s", profile_id],
217
217
  headers: parsed.slice(*header_params.keys).transform_keys(header_params),
218
218
  body: parsed.except(*header_params.keys),
219
- model: Sentdm::Models::ProfileUpdateResponse,
219
+ model: Sentdm::APIResponseOfProfileDetail,
220
220
  options: options
221
221
  )
222
222
  end
@@ -17,7 +17,7 @@ module Sentdm
17
17
  #
18
18
  # @param creation_source [String, nil] Body param: Source of template creation (default: from-api)
19
19
  #
20
- # @param definition [Sentdm::Models::TemplateCreateParams::Definition] Body param: Complete definition of a message template including header, body, fo
20
+ # @param definition [Sentdm::Models::TemplateDefinition] Body param: Complete definition of a message template including header, body, fo
21
21
  #
22
22
  # @param language [String, nil] Body param: Template language code (e.g., en_US) (optional, auto-detected if not
23
23
  #
@@ -31,7 +31,7 @@ module Sentdm
31
31
  #
32
32
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
33
33
  #
34
- # @return [Sentdm::Models::TemplateCreateResponse]
34
+ # @return [Sentdm::Models::APIResponseTemplate]
35
35
  #
36
36
  # @see Sentdm::Models::TemplateCreateParams
37
37
  def create(params = {})
@@ -42,7 +42,7 @@ module Sentdm
42
42
  path: "v3/templates",
43
43
  headers: parsed.slice(*header_params.keys).transform_keys(header_params),
44
44
  body: parsed.except(*header_params.keys),
45
- model: Sentdm::Models::TemplateCreateResponse,
45
+ model: Sentdm::APIResponseTemplate,
46
46
  options: options
47
47
  )
48
48
  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::TemplateRetrieveResponse]
64
+ # @return [Sentdm::Models::APIResponseTemplate]
65
65
  #
66
66
  # @see Sentdm::Models::TemplateRetrieveParams
67
67
  def retrieve(id, params = {})
@@ -70,7 +70,7 @@ module Sentdm
70
70
  method: :get,
71
71
  path: ["v3/templates/%1$s", id],
72
72
  headers: parsed.transform_keys(x_profile_id: "x-profile-id"),
73
- model: Sentdm::Models::TemplateRetrieveResponse,
73
+ model: Sentdm::APIResponseTemplate,
74
74
  options: options
75
75
  )
76
76
  end
@@ -87,7 +87,7 @@ module Sentdm
87
87
  #
88
88
  # @param category [String, nil] Body param: Template category: MARKETING, UTILITY, AUTHENTICATION
89
89
  #
90
- # @param definition [Sentdm::Models::TemplateUpdateParams::Definition, nil] Body param: Complete definition of a message template including header, body, fo
90
+ # @param definition [Sentdm::Models::TemplateDefinition, nil] Body param: Complete definition of a message template including header, body, fo
91
91
  #
92
92
  # @param language [String, nil] Body param: Template language code (e.g., en_US)
93
93
  #
@@ -103,7 +103,7 @@ module Sentdm
103
103
  #
104
104
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
105
105
  #
106
- # @return [Sentdm::Models::TemplateUpdateResponse]
106
+ # @return [Sentdm::Models::APIResponseTemplate]
107
107
  #
108
108
  # @see Sentdm::Models::TemplateUpdateParams
109
109
  def update(id, params = {})
@@ -114,7 +114,7 @@ module Sentdm
114
114
  path: ["v3/templates/%1$s", id],
115
115
  headers: parsed.slice(*header_params.keys).transform_keys(header_params),
116
116
  body: parsed.except(*header_params.keys),
117
- model: Sentdm::Models::TemplateUpdateResponse,
117
+ model: Sentdm::APIResponseTemplate,
118
118
  options: options
119
119
  )
120
120
  end
@@ -18,7 +18,7 @@ module Sentdm
18
18
  #
19
19
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
20
20
  #
21
- # @return [Sentdm::Models::UserRetrieveResponse]
21
+ # @return [Sentdm::Models::APIResponseOfUser]
22
22
  #
23
23
  # @see Sentdm::Models::UserRetrieveParams
24
24
  def retrieve(user_id, params = {})
@@ -27,7 +27,7 @@ module Sentdm
27
27
  method: :get,
28
28
  path: ["v3/users/%1$s", user_id],
29
29
  headers: parsed.transform_keys(x_profile_id: "x-profile-id"),
30
- model: Sentdm::Models::UserRetrieveResponse,
30
+ model: Sentdm::APIResponseOfUser,
31
31
  options: options
32
32
  )
33
33
  end
@@ -82,7 +82,7 @@ module Sentdm
82
82
  #
83
83
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
84
84
  #
85
- # @return [Sentdm::Models::UserInviteResponse]
85
+ # @return [Sentdm::Models::APIResponseOfUser]
86
86
  #
87
87
  # @see Sentdm::Models::UserInviteParams
88
88
  def invite(params = {})
@@ -93,7 +93,7 @@ module Sentdm
93
93
  path: "v3/users",
94
94
  headers: parsed.slice(*header_params.keys).transform_keys(header_params),
95
95
  body: parsed.except(*header_params.keys),
96
- model: Sentdm::Models::UserInviteResponse,
96
+ model: Sentdm::APIResponseOfUser,
97
97
  options: options
98
98
  )
99
99
  end
@@ -150,7 +150,7 @@ module Sentdm
150
150
  #
151
151
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
152
152
  #
153
- # @return [Sentdm::Models::UserUpdateRoleResponse]
153
+ # @return [Sentdm::Models::APIResponseOfUser]
154
154
  #
155
155
  # @see Sentdm::Models::UserUpdateRoleParams
156
156
  def update_role(user_id, params = {})
@@ -161,7 +161,7 @@ module Sentdm
161
161
  path: ["v3/users/%1$s", user_id],
162
162
  headers: parsed.slice(*header_params.keys).transform_keys(header_params),
163
163
  body: parsed.except(*header_params.keys),
164
- model: Sentdm::Models::UserUpdateRoleResponse,
164
+ model: Sentdm::APIResponseOfUser,
165
165
  options: options
166
166
  )
167
167
  end