sentdm 0.1.0 → 0.3.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 (361) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/README.md +96 -39
  4. data/lib/sentdm/client.rb +29 -36
  5. data/lib/sentdm/internal/type/base_model.rb +5 -5
  6. data/lib/sentdm/internal/type/enum.rb +25 -0
  7. data/lib/sentdm/models/api_error.rb +42 -0
  8. data/lib/sentdm/models/api_meta.rb +42 -0
  9. data/lib/sentdm/models/api_response_brand_with_kyc.rb +43 -0
  10. data/lib/sentdm/models/api_response_contact.rb +43 -0
  11. data/lib/sentdm/models/api_response_of_profile_detail.rb +43 -0
  12. data/lib/sentdm/models/api_response_of_user.rb +43 -0
  13. data/lib/sentdm/models/api_response_template.rb +43 -0
  14. data/lib/sentdm/models/api_response_webhook.rb +43 -0
  15. data/lib/sentdm/models/brand_create_params.rb +41 -0
  16. data/lib/sentdm/models/brand_data.rb +237 -0
  17. data/lib/sentdm/models/brand_delete_params.rb +27 -0
  18. data/lib/sentdm/models/brand_list_params.rb +14 -0
  19. data/lib/sentdm/models/brand_list_response.rb +43 -0
  20. data/lib/sentdm/models/brand_update_params.rb +41 -0
  21. data/lib/sentdm/models/brand_with_kyc.rb +335 -0
  22. data/lib/sentdm/models/brands/api_response_tcr_campaign_with_use_cases.rb +45 -0
  23. data/lib/sentdm/models/brands/base_dto.rb +32 -0
  24. data/lib/sentdm/models/brands/campaign_create_params.rb +43 -0
  25. data/lib/sentdm/models/brands/campaign_data.rb +123 -0
  26. data/lib/sentdm/models/brands/campaign_delete_params.rb +36 -0
  27. data/lib/sentdm/models/brands/campaign_list_params.rb +16 -0
  28. data/lib/sentdm/models/brands/campaign_list_response.rb +47 -0
  29. data/lib/sentdm/models/brands/campaign_update_params.rb +50 -0
  30. data/lib/sentdm/models/brands/messaging_use_case_us.rb +28 -0
  31. data/lib/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb +30 -0
  32. data/lib/sentdm/models/brands/tcr_campaign_with_use_cases.rb +236 -0
  33. data/lib/sentdm/models/contact.rb +122 -0
  34. data/lib/sentdm/models/contact_create_params.rb +41 -0
  35. data/lib/sentdm/models/contact_delete_params.rb +27 -0
  36. data/lib/sentdm/models/contact_list_params.rb +28 -5
  37. data/lib/sentdm/models/contact_list_response.rb +46 -21
  38. data/lib/sentdm/models/{message_retrieve_params.rb → contact_retrieve_params.rb} +2 -2
  39. data/lib/sentdm/models/contact_update_params.rb +49 -0
  40. data/lib/sentdm/models/destination_country.rb +21 -0
  41. data/lib/sentdm/models/lookup_retrieve_phone_info_params.rb +14 -0
  42. data/lib/sentdm/models/lookup_retrieve_phone_info_response.rb +104 -0
  43. data/lib/sentdm/models/me_retrieve_params.rb +14 -0
  44. data/lib/sentdm/models/me_retrieve_response.rb +200 -0
  45. data/lib/sentdm/models/message_retrieve_activities_params.rb +14 -0
  46. data/lib/sentdm/models/message_retrieve_activities_response.rb +103 -0
  47. data/lib/sentdm/models/message_retrieve_status_params.rb +14 -0
  48. data/lib/sentdm/models/message_retrieve_status_response.rb +237 -0
  49. data/lib/sentdm/models/message_send_params.rb +88 -0
  50. data/lib/sentdm/models/message_send_response.rb +123 -0
  51. data/lib/sentdm/models/mutation_request.rb +20 -0
  52. data/lib/sentdm/models/pagination_meta.rb +80 -0
  53. data/lib/sentdm/models/profile_complete_params.rb +41 -0
  54. data/lib/sentdm/models/profile_complete_response.rb +8 -0
  55. data/lib/sentdm/models/profile_create_params.rb +122 -0
  56. data/lib/sentdm/models/profile_delete_params.rb +34 -0
  57. data/lib/sentdm/models/profile_detail.rb +200 -0
  58. data/lib/sentdm/models/profile_list_params.rb +14 -0
  59. data/lib/sentdm/models/profile_list_response.rb +57 -0
  60. data/lib/sentdm/models/profile_retrieve_params.rb +14 -0
  61. data/lib/sentdm/models/profile_settings.rb +66 -0
  62. data/lib/sentdm/models/profile_update_params.rb +169 -0
  63. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rb +34 -0
  64. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rb +40 -0
  65. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb +38 -0
  66. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rb +81 -0
  67. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb +34 -0
  68. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rb +39 -0
  69. data/lib/sentdm/models/tcr_brand_relationship.rb +18 -0
  70. data/lib/sentdm/models/tcr_vertical.rb +36 -0
  71. data/lib/sentdm/models/template.rb +90 -0
  72. data/lib/sentdm/models/template_create_params.rb +40 -19
  73. data/lib/sentdm/models/template_definition.rb +15 -255
  74. data/lib/sentdm/models/template_delete_params.rb +22 -1
  75. data/lib/sentdm/models/template_list_params.rb +9 -10
  76. data/lib/sentdm/models/template_list_response.rb +46 -21
  77. data/lib/sentdm/models/template_update_params.rb +73 -0
  78. data/lib/sentdm/models/user_invite_params.rb +57 -0
  79. data/lib/sentdm/models/user_list_params.rb +14 -0
  80. data/lib/sentdm/models/user_list_response.rb +57 -0
  81. data/lib/sentdm/models/user_remove_params.rb +34 -0
  82. data/lib/sentdm/models/user_response.rb +82 -0
  83. data/lib/sentdm/models/user_retrieve_params.rb +14 -0
  84. data/lib/sentdm/models/user_update_role_params.rb +49 -0
  85. data/lib/sentdm/models/webhook_create_params.rb +68 -0
  86. data/lib/sentdm/models/webhook_delete_params.rb +14 -0
  87. data/lib/sentdm/models/webhook_list_event_types_params.rb +14 -0
  88. data/lib/sentdm/models/webhook_list_event_types_response.rb +85 -0
  89. data/lib/sentdm/models/webhook_list_events_params.rb +32 -0
  90. data/lib/sentdm/models/webhook_list_events_response.rb +135 -0
  91. data/lib/sentdm/models/webhook_list_params.rb +38 -0
  92. data/lib/sentdm/models/webhook_list_response.rb +64 -0
  93. data/lib/sentdm/models/webhook_response.rb +87 -0
  94. data/lib/sentdm/models/webhook_retrieve_params.rb +14 -0
  95. data/lib/sentdm/models/webhook_rotate_secret_params.rb +30 -0
  96. data/lib/sentdm/models/webhook_rotate_secret_response.rb +56 -0
  97. data/lib/sentdm/models/webhook_test_params.rb +40 -0
  98. data/lib/sentdm/models/webhook_test_response.rb +62 -0
  99. data/lib/sentdm/models/webhook_toggle_status_params.rb +40 -0
  100. data/lib/sentdm/models/webhook_update_params.rb +68 -0
  101. data/lib/sentdm/models.rb +124 -10
  102. data/lib/sentdm/resources/brands/campaigns.rb +144 -0
  103. data/lib/sentdm/resources/brands.rb +128 -0
  104. data/lib/sentdm/resources/contacts.rb +111 -38
  105. data/lib/sentdm/resources/lookup.rb +35 -0
  106. data/lib/sentdm/resources/me.rb +34 -0
  107. data/lib/sentdm/resources/messages.rb +42 -77
  108. data/lib/sentdm/resources/profiles.rb +254 -0
  109. data/lib/sentdm/resources/templates.rb +94 -45
  110. data/lib/sentdm/resources/users.rb +158 -0
  111. data/lib/sentdm/resources/webhooks.rb +295 -0
  112. data/lib/sentdm/version.rb +1 -1
  113. data/lib/sentdm.rb +94 -14
  114. data/rbi/sentdm/client.rbi +22 -25
  115. data/rbi/sentdm/models/api_error.rbi +66 -0
  116. data/rbi/sentdm/models/api_meta.rbi +69 -0
  117. data/rbi/sentdm/models/api_response_brand_with_kyc.rbi +74 -0
  118. data/rbi/sentdm/models/api_response_contact.rbi +74 -0
  119. data/rbi/sentdm/models/api_response_of_profile_detail.rbi +74 -0
  120. data/rbi/sentdm/models/api_response_of_user.rbi +74 -0
  121. data/rbi/sentdm/models/api_response_template.rbi +74 -0
  122. data/rbi/sentdm/models/api_response_webhook.rbi +74 -0
  123. data/rbi/sentdm/models/brand_create_params.rbi +68 -0
  124. data/rbi/sentdm/models/brand_data.rbi +266 -0
  125. data/rbi/sentdm/models/brand_delete_params.rbi +62 -0
  126. data/rbi/sentdm/models/brand_list_params.rbi +27 -0
  127. data/rbi/sentdm/models/brand_list_response.rbi +71 -0
  128. data/rbi/sentdm/models/brand_update_params.rbi +68 -0
  129. data/rbi/sentdm/models/brand_with_kyc.rbi +398 -0
  130. data/rbi/sentdm/models/brands/api_response_tcr_campaign_with_use_cases.rbi +83 -0
  131. data/rbi/sentdm/models/brands/base_dto.rbi +53 -0
  132. data/rbi/sentdm/models/brands/campaign_create_params.rbi +73 -0
  133. data/rbi/sentdm/models/brands/campaign_data.rbi +148 -0
  134. data/rbi/sentdm/models/brands/campaign_delete_params.rbi +78 -0
  135. data/rbi/sentdm/models/brands/campaign_list_params.rbi +29 -0
  136. data/rbi/sentdm/models/brands/campaign_list_response.rbi +82 -0
  137. data/rbi/sentdm/models/brands/campaign_update_params.rbi +79 -0
  138. data/rbi/sentdm/models/brands/messaging_use_case_us.rbi +69 -0
  139. data/rbi/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi +52 -0
  140. data/rbi/sentdm/models/brands/tcr_campaign_with_use_cases.rbi +404 -0
  141. data/rbi/sentdm/models/contact.rbi +179 -0
  142. data/rbi/sentdm/models/contact_create_params.rbi +68 -0
  143. data/rbi/sentdm/models/contact_delete_params.rbi +62 -0
  144. data/rbi/sentdm/models/contact_list_params.rbi +26 -4
  145. data/rbi/sentdm/models/contact_list_response.rbi +91 -37
  146. data/rbi/sentdm/models/{message_retrieve_params.rbi → contact_retrieve_params.rbi} +2 -2
  147. data/rbi/sentdm/models/contact_update_params.rbi +73 -0
  148. data/rbi/sentdm/models/destination_country.rbi +32 -0
  149. data/rbi/sentdm/models/lookup_retrieve_phone_info_params.rbi +30 -0
  150. data/rbi/sentdm/models/lookup_retrieve_phone_info_response.rbi +183 -0
  151. data/rbi/sentdm/models/me_retrieve_params.rbi +27 -0
  152. data/rbi/sentdm/models/me_retrieve_response.rbi +314 -0
  153. data/rbi/sentdm/models/message_retrieve_activities_params.rbi +30 -0
  154. data/rbi/sentdm/models/message_retrieve_activities_response.rbi +234 -0
  155. data/rbi/sentdm/models/message_retrieve_status_params.rbi +27 -0
  156. data/rbi/sentdm/models/message_retrieve_status_response.rbi +434 -0
  157. data/rbi/sentdm/models/message_send_params.rbi +143 -0
  158. data/rbi/sentdm/models/message_send_response.rbi +231 -0
  159. data/rbi/sentdm/models/mutation_request.rbi +32 -0
  160. data/rbi/sentdm/models/pagination_meta.rbi +135 -0
  161. data/rbi/sentdm/models/profile_complete_params.rbi +65 -0
  162. data/rbi/sentdm/models/profile_complete_response.rbi +8 -0
  163. data/rbi/sentdm/models/profile_create_params.rbi +156 -0
  164. data/rbi/sentdm/models/profile_delete_params.rbi +59 -0
  165. data/rbi/sentdm/models/profile_detail.rbi +273 -0
  166. data/rbi/sentdm/models/profile_list_params.rbi +27 -0
  167. data/rbi/sentdm/models/profile_list_response.rbi +111 -0
  168. data/rbi/sentdm/models/profile_retrieve_params.rbi +27 -0
  169. data/rbi/sentdm/models/profile_settings.rbi +86 -0
  170. data/rbi/sentdm/models/profile_update_params.rbi +196 -0
  171. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbi +56 -0
  172. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbi +76 -0
  173. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbi +79 -0
  174. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbi +104 -0
  175. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbi +60 -0
  176. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbi +62 -0
  177. data/rbi/sentdm/models/tcr_brand_relationship.rbi +30 -0
  178. data/rbi/sentdm/models/tcr_vertical.rbi +41 -0
  179. data/rbi/sentdm/models/template.rbi +129 -0
  180. data/rbi/sentdm/models/template_create_params.rbi +47 -23
  181. data/rbi/sentdm/models/template_definition.rbi +74 -405
  182. data/rbi/sentdm/models/template_delete_params.rbi +36 -5
  183. data/rbi/sentdm/models/template_list_params.rbi +8 -10
  184. data/rbi/sentdm/models/template_list_response.rbi +91 -37
  185. data/rbi/sentdm/models/template_update_params.rbi +105 -0
  186. data/rbi/sentdm/models/user_invite_params.rbi +90 -0
  187. data/rbi/sentdm/models/user_list_params.rbi +27 -0
  188. data/rbi/sentdm/models/user_list_response.rbi +111 -0
  189. data/rbi/sentdm/models/user_remove_params.rbi +59 -0
  190. data/rbi/sentdm/models/user_response.rbi +118 -0
  191. data/rbi/sentdm/models/user_retrieve_params.rbi +27 -0
  192. data/rbi/sentdm/models/user_update_role_params.rbi +79 -0
  193. data/rbi/sentdm/models/webhook_create_params.rbi +102 -0
  194. data/rbi/sentdm/models/webhook_delete_params.rbi +27 -0
  195. data/rbi/sentdm/models/webhook_list_event_types_params.rbi +27 -0
  196. data/rbi/sentdm/models/webhook_list_event_types_response.rbi +206 -0
  197. data/rbi/sentdm/models/webhook_list_events_params.rbi +48 -0
  198. data/rbi/sentdm/models/webhook_list_events_response.rbi +263 -0
  199. data/rbi/sentdm/models/webhook_list_params.rbi +59 -0
  200. data/rbi/sentdm/models/webhook_list_response.rbi +126 -0
  201. data/rbi/sentdm/models/webhook_response.rbi +134 -0
  202. data/rbi/sentdm/models/webhook_retrieve_params.rbi +27 -0
  203. data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +67 -0
  204. data/rbi/sentdm/models/webhook_rotate_secret_response.rbi +112 -0
  205. data/rbi/sentdm/models/webhook_test_params.rbi +66 -0
  206. data/rbi/sentdm/models/webhook_test_response.rbi +111 -0
  207. data/rbi/sentdm/models/webhook_toggle_status_params.rbi +66 -0
  208. data/rbi/sentdm/models/webhook_update_params.rbi +102 -0
  209. data/rbi/sentdm/models.rbi +125 -10
  210. data/rbi/sentdm/resources/brands/campaigns.rbi +108 -0
  211. data/rbi/sentdm/resources/brands.rbi +93 -0
  212. data/rbi/sentdm/resources/contacts.rbi +89 -26
  213. data/rbi/sentdm/resources/lookup.rbi +24 -0
  214. data/rbi/sentdm/resources/me.rbi +23 -0
  215. data/rbi/sentdm/resources/messages.rbi +41 -60
  216. data/rbi/sentdm/resources/profiles.rbi +238 -0
  217. data/rbi/sentdm/resources/templates.rbi +94 -41
  218. data/rbi/sentdm/resources/users.rbi +116 -0
  219. data/rbi/sentdm/resources/webhooks.rbi +218 -0
  220. data/sig/sentdm/client.rbs +9 -8
  221. data/sig/sentdm/models/api_error.rbs +39 -0
  222. data/sig/sentdm/models/api_meta.rbs +41 -0
  223. data/sig/sentdm/models/api_response_brand_with_kyc.rbs +39 -0
  224. data/sig/sentdm/models/api_response_contact.rbs +39 -0
  225. data/sig/sentdm/models/api_response_of_profile_detail.rbs +39 -0
  226. data/sig/sentdm/models/api_response_of_user.rbs +39 -0
  227. data/sig/sentdm/models/api_response_template.rbs +39 -0
  228. data/sig/sentdm/models/api_response_webhook.rbs +39 -0
  229. data/sig/sentdm/models/brand_create_params.rbs +36 -0
  230. data/sig/sentdm/models/brand_data.rbs +164 -0
  231. data/sig/sentdm/models/brand_delete_params.rbs +32 -0
  232. data/sig/sentdm/models/brand_list_params.rbs +14 -0
  233. data/sig/sentdm/models/brand_list_response.rbs +39 -0
  234. data/sig/sentdm/models/brand_update_params.rbs +36 -0
  235. data/sig/sentdm/models/brand_with_kyc.rbs +237 -0
  236. data/sig/sentdm/models/brands/api_response_tcr_campaign_with_use_cases.rbs +41 -0
  237. data/sig/sentdm/models/brands/base_dto.rbs +27 -0
  238. data/sig/sentdm/models/brands/campaign_create_params.rbs +42 -0
  239. data/sig/sentdm/models/brands/campaign_data.rbs +82 -0
  240. data/sig/sentdm/models/brands/campaign_delete_params.rbs +38 -0
  241. data/sig/sentdm/models/brands/campaign_list_params.rbs +17 -0
  242. data/sig/sentdm/models/brands/campaign_list_response.rbs +41 -0
  243. data/sig/sentdm/models/brands/campaign_update_params.rbs +47 -0
  244. data/sig/sentdm/models/brands/messaging_use_case_us.rbs +40 -0
  245. data/sig/sentdm/models/brands/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs +27 -0
  246. data/sig/sentdm/models/brands/tcr_campaign_with_use_cases.rbs +285 -0
  247. data/sig/sentdm/models/{contact_list_item.rbs → contact.rbs} +31 -5
  248. data/sig/sentdm/models/contact_create_params.rbs +38 -0
  249. data/sig/sentdm/models/contact_delete_params.rbs +32 -0
  250. data/sig/sentdm/models/contact_list_params.rbs +19 -1
  251. data/sig/sentdm/models/contact_list_response.rbs +44 -31
  252. data/sig/sentdm/models/{message_retrieve_params.rbs → contact_retrieve_params.rbs} +2 -2
  253. data/sig/sentdm/models/contact_update_params.rbs +45 -0
  254. data/sig/sentdm/models/destination_country.rbs +19 -0
  255. data/sig/sentdm/models/lookup_retrieve_phone_info_params.rbs +15 -0
  256. data/sig/sentdm/models/lookup_retrieve_phone_info_response.rbs +102 -0
  257. data/sig/sentdm/models/me_retrieve_params.rbs +14 -0
  258. data/sig/sentdm/models/me_retrieve_response.rbs +162 -0
  259. data/sig/sentdm/models/message_retrieve_activities_params.rbs +15 -0
  260. data/sig/sentdm/models/message_retrieve_activities_response.rbs +105 -0
  261. data/sig/sentdm/models/message_retrieve_status_params.rbs +15 -0
  262. data/sig/sentdm/models/message_retrieve_status_response.rbs +224 -0
  263. data/sig/sentdm/models/message_send_params.rbs +79 -0
  264. data/sig/sentdm/models/message_send_response.rbs +108 -0
  265. data/sig/sentdm/models/mutation_request.rbs +15 -0
  266. data/sig/sentdm/models/pagination_meta.rbs +67 -0
  267. data/sig/sentdm/models/profile_complete_params.rbs +36 -0
  268. data/sig/sentdm/models/profile_complete_response.rbs +5 -0
  269. data/sig/sentdm/models/profile_create_params.rbs +96 -0
  270. data/sig/sentdm/models/profile_delete_params.rbs +32 -0
  271. data/sig/sentdm/models/profile_detail.rbs +168 -0
  272. data/sig/sentdm/models/profile_list_params.rbs +14 -0
  273. data/sig/sentdm/models/profile_list_response.rbs +53 -0
  274. data/sig/sentdm/models/profile_retrieve_params.rbs +15 -0
  275. data/sig/sentdm/models/profile_settings.rbs +50 -0
  276. data/sig/sentdm/models/profile_update_params.rbs +122 -0
  277. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbs +24 -0
  278. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbs +30 -0
  279. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbs +38 -0
  280. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbs +75 -0
  281. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbs +32 -0
  282. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbs +32 -0
  283. data/sig/sentdm/models/tcr_brand_relationship.rbs +22 -0
  284. data/sig/sentdm/models/tcr_vertical.rbs +58 -0
  285. data/sig/sentdm/models/{template_response.rbs → template.rbs} +18 -31
  286. data/sig/sentdm/models/template_create_params.rbs +29 -6
  287. data/sig/sentdm/models/template_definition.rbs +20 -233
  288. data/sig/sentdm/models/template_delete_params.rbs +18 -3
  289. data/sig/sentdm/models/template_list_response.rbs +44 -31
  290. data/sig/sentdm/models/template_update_params.rbs +62 -0
  291. data/sig/sentdm/models/user_invite_params.rbs +56 -0
  292. data/sig/sentdm/models/user_list_params.rbs +14 -0
  293. data/sig/sentdm/models/user_list_response.rbs +53 -0
  294. data/sig/sentdm/models/user_remove_params.rbs +32 -0
  295. data/sig/sentdm/models/user_response.rbs +72 -0
  296. data/sig/sentdm/models/user_retrieve_params.rbs +15 -0
  297. data/sig/sentdm/models/user_update_role_params.rbs +49 -0
  298. data/sig/sentdm/models/webhook_create_params.rbs +70 -0
  299. data/sig/sentdm/models/webhook_delete_params.rbs +15 -0
  300. data/sig/sentdm/models/webhook_list_event_types_params.rbs +15 -0
  301. data/sig/sentdm/models/webhook_list_event_types_response.rbs +98 -0
  302. data/sig/sentdm/models/webhook_list_events_params.rbs +32 -0
  303. data/sig/sentdm/models/webhook_list_events_response.rbs +146 -0
  304. data/sig/sentdm/models/webhook_list_params.rbs +36 -0
  305. data/sig/sentdm/models/webhook_list_response.rbs +67 -0
  306. data/sig/sentdm/models/webhook_response.rbs +98 -0
  307. data/sig/sentdm/models/webhook_retrieve_params.rbs +15 -0
  308. data/sig/sentdm/models/webhook_rotate_secret_params.rbs +38 -0
  309. data/sig/sentdm/models/webhook_rotate_secret_response.rbs +51 -0
  310. data/sig/sentdm/models/webhook_test_params.rbs +38 -0
  311. data/sig/sentdm/models/webhook_test_response.rbs +55 -0
  312. data/sig/sentdm/models/webhook_toggle_status_params.rbs +38 -0
  313. data/sig/sentdm/models/webhook_update_params.rbs +70 -0
  314. data/sig/sentdm/models.rbs +118 -10
  315. data/sig/sentdm/resources/brands/campaigns.rbs +38 -0
  316. data/sig/sentdm/resources/brands.rbs +34 -0
  317. data/sig/sentdm/resources/contacts.rbs +28 -8
  318. data/sig/sentdm/resources/lookup.rbs +12 -0
  319. data/sig/sentdm/resources/{number_lookup.rbs → me.rbs} +2 -3
  320. data/sig/sentdm/resources/messages.rbs +12 -18
  321. data/sig/sentdm/resources/profiles.rbs +72 -0
  322. data/sig/sentdm/resources/templates.rbs +24 -4
  323. data/sig/sentdm/resources/users.rbs +41 -0
  324. data/sig/sentdm/resources/webhooks.rbs +80 -0
  325. metadata +284 -44
  326. data/lib/sentdm/models/contact_list_item.rb +0 -96
  327. data/lib/sentdm/models/contact_retrieve_by_phone_params.rb +0 -22
  328. data/lib/sentdm/models/contact_retrieve_id_params.rb +0 -22
  329. data/lib/sentdm/models/message_retrieve_response.rb +0 -227
  330. data/lib/sentdm/models/message_send_quick_message_params.rb +0 -34
  331. data/lib/sentdm/models/message_send_to_contact_params.rb +0 -46
  332. data/lib/sentdm/models/message_send_to_phone_params.rb +0 -47
  333. data/lib/sentdm/models/number_lookup_retrieve_params.rb +0 -20
  334. data/lib/sentdm/models/number_lookup_retrieve_response.rb +0 -83
  335. data/lib/sentdm/models/template_response.rb +0 -100
  336. data/lib/sentdm/resources/number_lookup.rb +0 -37
  337. data/lib/sentdm/resources/organizations/users.rb +0 -16
  338. data/lib/sentdm/resources/organizations.rb +0 -18
  339. data/rbi/sentdm/models/contact_list_item.rbi +0 -144
  340. data/rbi/sentdm/models/contact_retrieve_by_phone_params.rbi +0 -40
  341. data/rbi/sentdm/models/contact_retrieve_id_params.rbi +0 -40
  342. data/rbi/sentdm/models/message_retrieve_response.rbi +0 -376
  343. data/rbi/sentdm/models/message_send_quick_message_params.rbi +0 -56
  344. data/rbi/sentdm/models/message_send_to_contact_params.rbi +0 -63
  345. data/rbi/sentdm/models/message_send_to_phone_params.rbi +0 -65
  346. data/rbi/sentdm/models/number_lookup_retrieve_params.rbi +0 -35
  347. data/rbi/sentdm/models/number_lookup_retrieve_response.rbi +0 -132
  348. data/rbi/sentdm/models/template_response.rbi +0 -149
  349. data/rbi/sentdm/resources/number_lookup.rbi +0 -24
  350. data/rbi/sentdm/resources/organizations/users.rbi +0 -14
  351. data/rbi/sentdm/resources/organizations.rbi +0 -15
  352. data/sig/sentdm/models/contact_retrieve_by_phone_params.rbs +0 -23
  353. data/sig/sentdm/models/contact_retrieve_id_params.rbs +0 -20
  354. data/sig/sentdm/models/message_retrieve_response.rbs +0 -188
  355. data/sig/sentdm/models/message_send_quick_message_params.rbs +0 -28
  356. data/sig/sentdm/models/message_send_to_contact_params.rbs +0 -36
  357. data/sig/sentdm/models/message_send_to_phone_params.rbs +0 -36
  358. data/sig/sentdm/models/number_lookup_retrieve_params.rbs +0 -23
  359. data/sig/sentdm/models/number_lookup_retrieve_response.rbs +0 -78
  360. data/sig/sentdm/resources/organizations/users.rbs +0 -9
  361. data/sig/sentdm/resources/organizations.rbs +0 -9
@@ -0,0 +1,96 @@
1
+ module Sentdm
2
+ module Models
3
+ type profile_create_params =
4
+ {
5
+ allow_contact_sharing: bool,
6
+ allow_template_sharing: bool,
7
+ billing_model: String?,
8
+ description: String?,
9
+ icon: String?,
10
+ inherit_contacts: bool?,
11
+ inherit_tcr_brand: bool?,
12
+ inherit_tcr_campaign: bool?,
13
+ inherit_templates: bool?,
14
+ name: String,
15
+ short_name: String?,
16
+ test_mode: bool,
17
+ idempotency_key: String
18
+ }
19
+ & Sentdm::Internal::Type::request_parameters
20
+
21
+ class ProfileCreateParams < Sentdm::Internal::Type::BaseModel
22
+ extend Sentdm::Internal::Type::RequestParameters::Converter
23
+ include Sentdm::Internal::Type::RequestParameters
24
+
25
+ attr_reader allow_contact_sharing: bool?
26
+
27
+ def allow_contact_sharing=: (bool) -> bool
28
+
29
+ attr_reader allow_template_sharing: bool?
30
+
31
+ def allow_template_sharing=: (bool) -> bool
32
+
33
+ attr_accessor billing_model: String?
34
+
35
+ attr_accessor description: String?
36
+
37
+ attr_accessor icon: String?
38
+
39
+ attr_accessor inherit_contacts: bool?
40
+
41
+ attr_accessor inherit_tcr_brand: bool?
42
+
43
+ attr_accessor inherit_tcr_campaign: bool?
44
+
45
+ attr_accessor inherit_templates: bool?
46
+
47
+ attr_reader name: String?
48
+
49
+ def name=: (String) -> String
50
+
51
+ attr_accessor short_name: String?
52
+
53
+ attr_reader test_mode: bool?
54
+
55
+ def test_mode=: (bool) -> bool
56
+
57
+ attr_reader idempotency_key: String?
58
+
59
+ def idempotency_key=: (String) -> String
60
+
61
+ def initialize: (
62
+ ?allow_contact_sharing: bool,
63
+ ?allow_template_sharing: bool,
64
+ ?billing_model: String?,
65
+ ?description: String?,
66
+ ?icon: String?,
67
+ ?inherit_contacts: bool?,
68
+ ?inherit_tcr_brand: bool?,
69
+ ?inherit_tcr_campaign: bool?,
70
+ ?inherit_templates: bool?,
71
+ ?name: String,
72
+ ?short_name: String?,
73
+ ?test_mode: bool,
74
+ ?idempotency_key: String,
75
+ ?request_options: Sentdm::request_opts
76
+ ) -> void
77
+
78
+ def to_hash: -> {
79
+ allow_contact_sharing: bool,
80
+ allow_template_sharing: bool,
81
+ billing_model: String?,
82
+ description: String?,
83
+ icon: String?,
84
+ inherit_contacts: bool?,
85
+ inherit_tcr_brand: bool?,
86
+ inherit_tcr_campaign: bool?,
87
+ inherit_templates: bool?,
88
+ name: String,
89
+ short_name: String?,
90
+ test_mode: bool,
91
+ idempotency_key: String,
92
+ request_options: Sentdm::RequestOptions
93
+ }
94
+ end
95
+ end
96
+ end
@@ -0,0 +1,32 @@
1
+ module Sentdm
2
+ module Models
3
+ type profile_delete_params =
4
+ { body_profile_id: String, test_mode: bool }
5
+ & Sentdm::Internal::Type::request_parameters
6
+
7
+ class ProfileDeleteParams < Sentdm::Internal::Type::BaseModel
8
+ extend Sentdm::Internal::Type::RequestParameters::Converter
9
+ include Sentdm::Internal::Type::RequestParameters
10
+
11
+ attr_reader body_profile_id: String?
12
+
13
+ def body_profile_id=: (String) -> String
14
+
15
+ attr_reader test_mode: bool?
16
+
17
+ def test_mode=: (bool) -> bool
18
+
19
+ def initialize: (
20
+ ?body_profile_id: String,
21
+ ?test_mode: bool,
22
+ ?request_options: Sentdm::request_opts
23
+ ) -> void
24
+
25
+ def to_hash: -> {
26
+ body_profile_id: String,
27
+ test_mode: bool,
28
+ request_options: Sentdm::RequestOptions
29
+ }
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,168 @@
1
+ module Sentdm
2
+ module Models
3
+ type profile_detail =
4
+ {
5
+ id: String,
6
+ created_at: Time,
7
+ description: String?,
8
+ email: String?,
9
+ icon: String?,
10
+ name: String,
11
+ organization_id: String?,
12
+ settings: Sentdm::ProfileDetail::Settings,
13
+ short_name: String?,
14
+ status: String,
15
+ updated_at: Time?
16
+ }
17
+
18
+ class ProfileDetail < Sentdm::Internal::Type::BaseModel
19
+ attr_reader id: String?
20
+
21
+ def id=: (String) -> String
22
+
23
+ attr_reader created_at: Time?
24
+
25
+ def created_at=: (Time) -> Time
26
+
27
+ attr_accessor description: String?
28
+
29
+ attr_accessor email: String?
30
+
31
+ attr_accessor icon: String?
32
+
33
+ attr_reader name: String?
34
+
35
+ def name=: (String) -> String
36
+
37
+ attr_accessor organization_id: String?
38
+
39
+ attr_reader settings: Sentdm::ProfileDetail::Settings?
40
+
41
+ def settings=: (
42
+ Sentdm::ProfileDetail::Settings
43
+ ) -> Sentdm::ProfileDetail::Settings
44
+
45
+ attr_accessor short_name: String?
46
+
47
+ attr_reader status: String?
48
+
49
+ def status=: (String) -> String
50
+
51
+ attr_accessor updated_at: Time?
52
+
53
+ def initialize: (
54
+ ?id: String,
55
+ ?created_at: Time,
56
+ ?description: String?,
57
+ ?email: String?,
58
+ ?icon: String?,
59
+ ?name: String,
60
+ ?organization_id: String?,
61
+ ?settings: Sentdm::ProfileDetail::Settings,
62
+ ?short_name: String?,
63
+ ?status: String,
64
+ ?updated_at: Time?
65
+ ) -> void
66
+
67
+ def to_hash: -> {
68
+ id: String,
69
+ created_at: Time,
70
+ description: String?,
71
+ email: String?,
72
+ icon: String?,
73
+ name: String,
74
+ organization_id: String?,
75
+ settings: Sentdm::ProfileDetail::Settings,
76
+ short_name: String?,
77
+ status: String,
78
+ updated_at: Time?
79
+ }
80
+
81
+ type settings =
82
+ {
83
+ allow_contact_sharing: bool,
84
+ allow_number_change_during_onboarding: bool?,
85
+ allow_template_sharing: bool,
86
+ billing_model: String,
87
+ inherit_contacts: bool,
88
+ inherit_tcr_brand: bool,
89
+ inherit_tcr_campaign: bool,
90
+ inherit_templates: bool,
91
+ sending_phone_number: String?,
92
+ sending_phone_number_profile_id: String?,
93
+ sending_whatsapp_number_profile_id: String?,
94
+ whatsapp_phone_number: String?
95
+ }
96
+
97
+ class Settings < Sentdm::Internal::Type::BaseModel
98
+ attr_reader allow_contact_sharing: bool?
99
+
100
+ def allow_contact_sharing=: (bool) -> bool
101
+
102
+ attr_accessor allow_number_change_during_onboarding: bool?
103
+
104
+ attr_reader allow_template_sharing: bool?
105
+
106
+ def allow_template_sharing=: (bool) -> bool
107
+
108
+ attr_reader billing_model: String?
109
+
110
+ def billing_model=: (String) -> String
111
+
112
+ attr_reader inherit_contacts: bool?
113
+
114
+ def inherit_contacts=: (bool) -> bool
115
+
116
+ attr_reader inherit_tcr_brand: bool?
117
+
118
+ def inherit_tcr_brand=: (bool) -> bool
119
+
120
+ attr_reader inherit_tcr_campaign: bool?
121
+
122
+ def inherit_tcr_campaign=: (bool) -> bool
123
+
124
+ attr_reader inherit_templates: bool?
125
+
126
+ def inherit_templates=: (bool) -> bool
127
+
128
+ attr_accessor sending_phone_number: String?
129
+
130
+ attr_accessor sending_phone_number_profile_id: String?
131
+
132
+ attr_accessor sending_whatsapp_number_profile_id: String?
133
+
134
+ attr_accessor whatsapp_phone_number: String?
135
+
136
+ def initialize: (
137
+ ?allow_contact_sharing: bool,
138
+ ?allow_number_change_during_onboarding: bool?,
139
+ ?allow_template_sharing: bool,
140
+ ?billing_model: String,
141
+ ?inherit_contacts: bool,
142
+ ?inherit_tcr_brand: bool,
143
+ ?inherit_tcr_campaign: bool,
144
+ ?inherit_templates: bool,
145
+ ?sending_phone_number: String?,
146
+ ?sending_phone_number_profile_id: String?,
147
+ ?sending_whatsapp_number_profile_id: String?,
148
+ ?whatsapp_phone_number: String?
149
+ ) -> void
150
+
151
+ def to_hash: -> {
152
+ allow_contact_sharing: bool,
153
+ allow_number_change_during_onboarding: bool?,
154
+ allow_template_sharing: bool,
155
+ billing_model: String,
156
+ inherit_contacts: bool,
157
+ inherit_tcr_brand: bool,
158
+ inherit_tcr_campaign: bool,
159
+ inherit_templates: bool,
160
+ sending_phone_number: String?,
161
+ sending_phone_number_profile_id: String?,
162
+ sending_whatsapp_number_profile_id: String?,
163
+ whatsapp_phone_number: String?
164
+ }
165
+ end
166
+ end
167
+ end
168
+ end
@@ -0,0 +1,14 @@
1
+ module Sentdm
2
+ module Models
3
+ type profile_list_params = { } & Sentdm::Internal::Type::request_parameters
4
+
5
+ class ProfileListParams < Sentdm::Internal::Type::BaseModel
6
+ extend Sentdm::Internal::Type::RequestParameters::Converter
7
+ include Sentdm::Internal::Type::RequestParameters
8
+
9
+ def initialize: (?request_options: Sentdm::request_opts) -> void
10
+
11
+ def to_hash: -> { request_options: Sentdm::RequestOptions }
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,53 @@
1
+ module Sentdm
2
+ module Models
3
+ type profile_list_response =
4
+ {
5
+ data: Sentdm::Models::ProfileListResponse::Data?,
6
+ error: Sentdm::APIError?,
7
+ meta: Sentdm::APIMeta,
8
+ success: bool
9
+ }
10
+
11
+ class ProfileListResponse < Sentdm::Internal::Type::BaseModel
12
+ attr_accessor data: Sentdm::Models::ProfileListResponse::Data?
13
+
14
+ attr_accessor error: Sentdm::APIError?
15
+
16
+ attr_reader meta: Sentdm::APIMeta?
17
+
18
+ def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
19
+
20
+ attr_reader success: bool?
21
+
22
+ def success=: (bool) -> bool
23
+
24
+ def initialize: (
25
+ ?data: Sentdm::Models::ProfileListResponse::Data?,
26
+ ?error: Sentdm::APIError?,
27
+ ?meta: Sentdm::APIMeta,
28
+ ?success: bool
29
+ ) -> void
30
+
31
+ def to_hash: -> {
32
+ data: Sentdm::Models::ProfileListResponse::Data?,
33
+ error: Sentdm::APIError?,
34
+ meta: Sentdm::APIMeta,
35
+ success: bool
36
+ }
37
+
38
+ type data = { profiles: ::Array[Sentdm::ProfileDetail] }
39
+
40
+ class Data < Sentdm::Internal::Type::BaseModel
41
+ attr_reader profiles: ::Array[Sentdm::ProfileDetail]?
42
+
43
+ def profiles=: (
44
+ ::Array[Sentdm::ProfileDetail]
45
+ ) -> ::Array[Sentdm::ProfileDetail]
46
+
47
+ def initialize: (?profiles: ::Array[Sentdm::ProfileDetail]) -> void
48
+
49
+ def to_hash: -> { profiles: ::Array[Sentdm::ProfileDetail] }
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,15 @@
1
+ module Sentdm
2
+ module Models
3
+ type profile_retrieve_params =
4
+ { } & Sentdm::Internal::Type::request_parameters
5
+
6
+ class ProfileRetrieveParams < Sentdm::Internal::Type::BaseModel
7
+ extend Sentdm::Internal::Type::RequestParameters::Converter
8
+ include Sentdm::Internal::Type::RequestParameters
9
+
10
+ def initialize: (?request_options: Sentdm::request_opts) -> void
11
+
12
+ def to_hash: -> { request_options: Sentdm::RequestOptions }
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,50 @@
1
+ module Sentdm
2
+ module Models
3
+ type profile_settings =
4
+ {
5
+ allow_contact_sharing: bool?,
6
+ allow_template_sharing: bool?,
7
+ billing_model: String?,
8
+ inherit_contacts: bool?,
9
+ inherit_tcr_brand: bool?,
10
+ inherit_tcr_campaign: bool?,
11
+ inherit_templates: bool?
12
+ }
13
+
14
+ class ProfileSettings < Sentdm::Internal::Type::BaseModel
15
+ attr_accessor allow_contact_sharing: bool?
16
+
17
+ attr_accessor allow_template_sharing: bool?
18
+
19
+ attr_accessor billing_model: String?
20
+
21
+ attr_accessor inherit_contacts: bool?
22
+
23
+ attr_accessor inherit_tcr_brand: bool?
24
+
25
+ attr_accessor inherit_tcr_campaign: bool?
26
+
27
+ attr_accessor inherit_templates: bool?
28
+
29
+ def initialize: (
30
+ ?allow_contact_sharing: bool?,
31
+ ?allow_template_sharing: bool?,
32
+ ?billing_model: String?,
33
+ ?inherit_contacts: bool?,
34
+ ?inherit_tcr_brand: bool?,
35
+ ?inherit_tcr_campaign: bool?,
36
+ ?inherit_templates: bool?
37
+ ) -> void
38
+
39
+ def to_hash: -> {
40
+ allow_contact_sharing: bool?,
41
+ allow_template_sharing: bool?,
42
+ billing_model: String?,
43
+ inherit_contacts: bool?,
44
+ inherit_tcr_brand: bool?,
45
+ inherit_tcr_campaign: bool?,
46
+ inherit_templates: bool?
47
+ }
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,122 @@
1
+ module Sentdm
2
+ module Models
3
+ type profile_update_params =
4
+ {
5
+ allow_contact_sharing: bool?,
6
+ allow_number_change_during_onboarding: bool?,
7
+ allow_template_sharing: bool?,
8
+ billing_model: String?,
9
+ description: String?,
10
+ icon: String?,
11
+ inherit_contacts: bool?,
12
+ inherit_tcr_brand: bool?,
13
+ inherit_tcr_campaign: bool?,
14
+ inherit_templates: bool?,
15
+ name: String?,
16
+ body_profile_id: String,
17
+ sending_phone_number: String?,
18
+ sending_phone_number_profile_id: String?,
19
+ sending_whatsapp_number_profile_id: String?,
20
+ short_name: String?,
21
+ test_mode: bool,
22
+ whatsapp_phone_number: String?,
23
+ idempotency_key: String
24
+ }
25
+ & Sentdm::Internal::Type::request_parameters
26
+
27
+ class ProfileUpdateParams < Sentdm::Internal::Type::BaseModel
28
+ extend Sentdm::Internal::Type::RequestParameters::Converter
29
+ include Sentdm::Internal::Type::RequestParameters
30
+
31
+ attr_accessor allow_contact_sharing: bool?
32
+
33
+ attr_accessor allow_number_change_during_onboarding: bool?
34
+
35
+ attr_accessor allow_template_sharing: bool?
36
+
37
+ attr_accessor billing_model: String?
38
+
39
+ attr_accessor description: String?
40
+
41
+ attr_accessor icon: String?
42
+
43
+ attr_accessor inherit_contacts: bool?
44
+
45
+ attr_accessor inherit_tcr_brand: bool?
46
+
47
+ attr_accessor inherit_tcr_campaign: bool?
48
+
49
+ attr_accessor inherit_templates: bool?
50
+
51
+ attr_accessor name: String?
52
+
53
+ attr_reader body_profile_id: String?
54
+
55
+ def body_profile_id=: (String) -> String
56
+
57
+ attr_accessor sending_phone_number: String?
58
+
59
+ attr_accessor sending_phone_number_profile_id: String?
60
+
61
+ attr_accessor sending_whatsapp_number_profile_id: String?
62
+
63
+ attr_accessor short_name: String?
64
+
65
+ attr_reader test_mode: bool?
66
+
67
+ def test_mode=: (bool) -> bool
68
+
69
+ attr_accessor whatsapp_phone_number: String?
70
+
71
+ attr_reader idempotency_key: String?
72
+
73
+ def idempotency_key=: (String) -> String
74
+
75
+ def initialize: (
76
+ ?allow_contact_sharing: bool?,
77
+ ?allow_number_change_during_onboarding: bool?,
78
+ ?allow_template_sharing: bool?,
79
+ ?billing_model: String?,
80
+ ?description: String?,
81
+ ?icon: String?,
82
+ ?inherit_contacts: bool?,
83
+ ?inherit_tcr_brand: bool?,
84
+ ?inherit_tcr_campaign: bool?,
85
+ ?inherit_templates: bool?,
86
+ ?name: String?,
87
+ ?body_profile_id: String,
88
+ ?sending_phone_number: String?,
89
+ ?sending_phone_number_profile_id: String?,
90
+ ?sending_whatsapp_number_profile_id: String?,
91
+ ?short_name: String?,
92
+ ?test_mode: bool,
93
+ ?whatsapp_phone_number: String?,
94
+ ?idempotency_key: String,
95
+ ?request_options: Sentdm::request_opts
96
+ ) -> void
97
+
98
+ def to_hash: -> {
99
+ allow_contact_sharing: bool?,
100
+ allow_number_change_during_onboarding: bool?,
101
+ allow_template_sharing: bool?,
102
+ billing_model: String?,
103
+ description: String?,
104
+ icon: String?,
105
+ inherit_contacts: bool?,
106
+ inherit_tcr_brand: bool?,
107
+ inherit_tcr_campaign: bool?,
108
+ inherit_templates: bool?,
109
+ name: String?,
110
+ body_profile_id: String,
111
+ sending_phone_number: String?,
112
+ sending_phone_number_profile_id: String?,
113
+ sending_whatsapp_number_profile_id: String?,
114
+ short_name: String?,
115
+ test_mode: bool,
116
+ whatsapp_phone_number: String?,
117
+ idempotency_key: String,
118
+ request_options: Sentdm::RequestOptions
119
+ }
120
+ end
121
+ end
122
+ end
@@ -0,0 +1,24 @@
1
+ module Sentdm
2
+ module Models
3
+ type sent_dm_services_common_contracts_poc_os_authentication_config =
4
+ { add_security_recommendation: bool, code_expiration_minutes: Integer? }
5
+
6
+ class SentDmServicesCommonContractsPocOsAuthenticationConfig < Sentdm::Internal::Type::BaseModel
7
+ attr_reader add_security_recommendation: bool?
8
+
9
+ def add_security_recommendation=: (bool) -> bool
10
+
11
+ attr_accessor code_expiration_minutes: Integer?
12
+
13
+ def initialize: (
14
+ ?add_security_recommendation: bool,
15
+ ?code_expiration_minutes: Integer?
16
+ ) -> void
17
+
18
+ def to_hash: -> {
19
+ add_security_recommendation: bool,
20
+ code_expiration_minutes: Integer?
21
+ }
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,30 @@
1
+ module Sentdm
2
+ module Models
3
+ type sent_dm_services_common_contracts_poc_os_template_body =
4
+ {
5
+ multi_channel: Sentdm::TemplateBodyContent?,
6
+ sms: Sentdm::TemplateBodyContent?,
7
+ whatsapp: Sentdm::TemplateBodyContent?
8
+ }
9
+
10
+ class SentDmServicesCommonContractsPocOsTemplateBody < Sentdm::Internal::Type::BaseModel
11
+ attr_accessor multi_channel: Sentdm::TemplateBodyContent?
12
+
13
+ attr_accessor sms: Sentdm::TemplateBodyContent?
14
+
15
+ attr_accessor whatsapp: Sentdm::TemplateBodyContent?
16
+
17
+ def initialize: (
18
+ ?multi_channel: Sentdm::TemplateBodyContent?,
19
+ ?sms: Sentdm::TemplateBodyContent?,
20
+ ?whatsapp: Sentdm::TemplateBodyContent?
21
+ ) -> void
22
+
23
+ def to_hash: -> {
24
+ multi_channel: Sentdm::TemplateBodyContent?,
25
+ sms: Sentdm::TemplateBodyContent?,
26
+ whatsapp: Sentdm::TemplateBodyContent?
27
+ }
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,38 @@
1
+ module Sentdm
2
+ module Models
3
+ type sent_dm_services_common_contracts_poc_os_template_button =
4
+ {
5
+ id: Integer,
6
+ props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps,
7
+ type: String
8
+ }
9
+
10
+ class SentDmServicesCommonContractsPocOsTemplateButton < Sentdm::Internal::Type::BaseModel
11
+ attr_reader id: Integer?
12
+
13
+ def id=: (Integer) -> Integer
14
+
15
+ attr_reader props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps?
16
+
17
+ def props=: (
18
+ Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps
19
+ ) -> Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps
20
+
21
+ attr_reader type: String?
22
+
23
+ def type=: (String) -> String
24
+
25
+ def initialize: (
26
+ ?id: Integer,
27
+ ?props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps,
28
+ ?type: String
29
+ ) -> void
30
+
31
+ def to_hash: -> {
32
+ id: Integer,
33
+ props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps,
34
+ type: String
35
+ }
36
+ end
37
+ end
38
+ end