sentdm 0.18.0 → 0.19.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 (291) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -0
  3. data/README.md +1 -31
  4. data/lib/sentdm/internal/transport/base_client.rb +2 -0
  5. data/lib/sentdm/internal/type/base_model.rb +5 -5
  6. data/lib/sentdm/internal/type/enum.rb +0 -25
  7. data/lib/sentdm/models/contact_create_response.rb +236 -0
  8. data/lib/sentdm/models/contact_delete_params.rb +16 -2
  9. data/lib/sentdm/models/contact_list_response.rb +278 -12
  10. data/lib/sentdm/models/contact_retrieve_response.rb +236 -0
  11. data/lib/sentdm/models/contact_update_params.rb +4 -16
  12. data/lib/sentdm/models/contact_update_response.rb +236 -0
  13. data/lib/sentdm/models/me_retrieve_response.rb +204 -12
  14. data/lib/sentdm/models/message_retrieve_activities_response.rb +74 -6
  15. data/lib/sentdm/models/message_retrieve_status_response.rb +87 -7
  16. data/lib/sentdm/models/message_send_params.rb +2 -2
  17. data/lib/sentdm/models/message_send_response.rb +74 -6
  18. data/lib/sentdm/models/number_lookup_response.rb +74 -6
  19. data/lib/sentdm/models/profile_complete_response.rb +74 -6
  20. data/lib/sentdm/models/profile_create_params.rb +423 -9
  21. data/lib/sentdm/models/profile_create_response.rb +781 -0
  22. data/lib/sentdm/models/profile_delete_params.rb +16 -2
  23. data/lib/sentdm/models/profile_list_response.rb +753 -9
  24. data/lib/sentdm/models/profile_retrieve_response.rb +783 -0
  25. data/lib/sentdm/models/profile_update_params.rb +423 -9
  26. data/lib/sentdm/models/profile_update_response.rb +781 -0
  27. data/lib/sentdm/models/profiles/campaign_create_params.rb +165 -3
  28. data/lib/sentdm/models/profiles/campaign_create_response.rb +459 -0
  29. data/lib/sentdm/models/profiles/campaign_delete_params.rb +17 -2
  30. data/lib/sentdm/models/profiles/campaign_list_response.rb +420 -9
  31. data/lib/sentdm/models/profiles/campaign_update_params.rb +165 -3
  32. data/lib/sentdm/models/profiles/campaign_update_response.rb +459 -0
  33. data/lib/sentdm/models/template_create_params.rb +889 -3
  34. data/lib/sentdm/models/template_create_response.rb +197 -0
  35. data/lib/sentdm/models/template_list_response.rb +242 -12
  36. data/lib/sentdm/models/template_retrieve_response.rb +197 -0
  37. data/lib/sentdm/models/template_update_params.rb +889 -3
  38. data/lib/sentdm/models/template_update_response.rb +197 -0
  39. data/lib/sentdm/models/user_invite_response.rb +189 -0
  40. data/lib/sentdm/models/user_list_response.rb +154 -9
  41. data/lib/sentdm/models/user_remove_params.rb +16 -2
  42. data/lib/sentdm/models/user_retrieve_response.rb +189 -0
  43. data/lib/sentdm/models/user_update_role_response.rb +189 -0
  44. data/lib/sentdm/models/webhook_create_response.rb +204 -0
  45. data/lib/sentdm/models/webhook_list_event_types_response.rb +118 -9
  46. data/lib/sentdm/models/webhook_list_events_response.rb +153 -9
  47. data/lib/sentdm/models/webhook_list_response.rb +247 -12
  48. data/lib/sentdm/models/webhook_retrieve_response.rb +204 -0
  49. data/lib/sentdm/models/webhook_rotate_secret_params.rb +17 -2
  50. data/lib/sentdm/models/webhook_rotate_secret_response.rb +74 -6
  51. data/lib/sentdm/models/webhook_test_response.rb +74 -6
  52. data/lib/sentdm/models/webhook_toggle_status_response.rb +204 -0
  53. data/lib/sentdm/models/webhook_update_response.rb +204 -0
  54. data/lib/sentdm/models.rb +0 -77
  55. data/lib/sentdm/resources/contacts.rb +8 -10
  56. data/lib/sentdm/resources/profiles/campaigns.rb +6 -6
  57. data/lib/sentdm/resources/profiles.rb +12 -12
  58. data/lib/sentdm/resources/templates.rb +8 -8
  59. data/lib/sentdm/resources/users.rb +6 -6
  60. data/lib/sentdm/resources/webhooks.rb +8 -8
  61. data/lib/sentdm/version.rb +1 -1
  62. data/lib/sentdm.rb +18 -40
  63. data/rbi/sentdm/models/contact_create_response.rbi +390 -0
  64. data/rbi/sentdm/models/contact_delete_params.rbi +19 -2
  65. data/rbi/sentdm/models/contact_list_response.rbi +505 -16
  66. data/rbi/sentdm/models/contact_retrieve_response.rbi +392 -0
  67. data/rbi/sentdm/models/contact_update_params.rbi +4 -20
  68. data/rbi/sentdm/models/contact_update_response.rbi +390 -0
  69. data/rbi/sentdm/models/me_retrieve_response.rbi +335 -16
  70. data/rbi/sentdm/models/message_retrieve_activities_response.rbi +154 -8
  71. data/rbi/sentdm/models/message_retrieve_status_response.rbi +171 -11
  72. data/rbi/sentdm/models/message_send_params.rbi +4 -4
  73. data/rbi/sentdm/models/message_send_response.rbi +135 -8
  74. data/rbi/sentdm/models/number_lookup_response.rbi +135 -8
  75. data/rbi/sentdm/models/profile_complete_response.rbi +137 -8
  76. data/rbi/sentdm/models/profile_create_params.rbi +810 -12
  77. data/rbi/sentdm/models/profile_create_response.rbi +1439 -0
  78. data/rbi/sentdm/models/profile_delete_params.rbi +19 -2
  79. data/rbi/sentdm/models/profile_list_response.rbi +1400 -14
  80. data/rbi/sentdm/models/profile_retrieve_response.rbi +1443 -0
  81. data/rbi/sentdm/models/profile_update_params.rbi +810 -12
  82. data/rbi/sentdm/models/profile_update_response.rbi +1439 -0
  83. data/rbi/sentdm/models/profiles/campaign_create_params.rbi +289 -4
  84. data/rbi/sentdm/models/profiles/campaign_create_response.rbi +814 -0
  85. data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +14 -1
  86. data/rbi/sentdm/models/profiles/campaign_list_response.rbi +733 -11
  87. data/rbi/sentdm/models/profiles/campaign_update_params.rbi +289 -4
  88. data/rbi/sentdm/models/profiles/campaign_update_response.rbi +814 -0
  89. data/rbi/sentdm/models/template_create_params.rbi +1701 -4
  90. data/rbi/sentdm/models/template_create_response.rbi +339 -0
  91. data/rbi/sentdm/models/template_list_response.rbi +454 -16
  92. data/rbi/sentdm/models/template_retrieve_response.rbi +345 -0
  93. data/rbi/sentdm/models/template_update_params.rbi +1701 -4
  94. data/rbi/sentdm/models/template_update_response.rbi +339 -0
  95. data/rbi/sentdm/models/user_invite_response.rbi +323 -0
  96. data/rbi/sentdm/models/user_list_response.rbi +271 -14
  97. data/rbi/sentdm/models/user_remove_params.rbi +19 -2
  98. data/rbi/sentdm/models/user_retrieve_response.rbi +323 -0
  99. data/rbi/sentdm/models/user_update_role_response.rbi +328 -0
  100. data/rbi/sentdm/models/webhook_create_response.rbi +348 -0
  101. data/rbi/sentdm/models/webhook_list_event_types_response.rbi +247 -12
  102. data/rbi/sentdm/models/webhook_list_events_response.rbi +314 -12
  103. data/rbi/sentdm/models/webhook_list_response.rbi +462 -16
  104. data/rbi/sentdm/models/webhook_retrieve_response.rbi +350 -0
  105. data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +14 -1
  106. data/rbi/sentdm/models/webhook_rotate_secret_response.rbi +148 -8
  107. data/rbi/sentdm/models/webhook_test_response.rbi +135 -8
  108. data/rbi/sentdm/models/webhook_toggle_status_response.rbi +366 -0
  109. data/rbi/sentdm/models/webhook_update_response.rbi +348 -0
  110. data/rbi/sentdm/models.rbi +0 -77
  111. data/rbi/sentdm/resources/contacts.rbi +5 -12
  112. data/rbi/sentdm/resources/messages.rbi +2 -2
  113. data/rbi/sentdm/resources/profiles/campaigns.rbi +4 -4
  114. data/rbi/sentdm/resources/profiles.rbi +13 -9
  115. data/rbi/sentdm/resources/templates.rbi +6 -5
  116. data/rbi/sentdm/resources/users.rbi +3 -3
  117. data/rbi/sentdm/resources/webhooks.rbi +4 -4
  118. data/sig/sentdm/models/contact_create_response.rbs +209 -0
  119. data/sig/sentdm/models/contact_delete_params.rbs +10 -6
  120. data/sig/sentdm/models/contact_list_response.rbs +256 -20
  121. data/sig/sentdm/models/contact_retrieve_response.rbs +209 -0
  122. data/sig/sentdm/models/contact_update_params.rbs +0 -5
  123. data/sig/sentdm/models/contact_update_response.rbs +209 -0
  124. data/sig/sentdm/models/me_retrieve_response.rbs +176 -18
  125. data/sig/sentdm/models/message_retrieve_activities_response.rbs +71 -9
  126. data/sig/sentdm/models/message_retrieve_status_response.rbs +95 -13
  127. data/sig/sentdm/models/message_send_response.rbs +71 -9
  128. data/sig/sentdm/models/number_lookup_response.rbs +71 -9
  129. data/sig/sentdm/models/profile_complete_response.rbs +71 -9
  130. data/sig/sentdm/models/profile_create_params.rbs +363 -12
  131. data/sig/sentdm/models/profile_create_response.rbs +662 -0
  132. data/sig/sentdm/models/profile_delete_params.rbs +10 -6
  133. data/sig/sentdm/models/profile_list_response.rbs +645 -15
  134. data/sig/sentdm/models/profile_retrieve_response.rbs +662 -0
  135. data/sig/sentdm/models/profile_update_params.rbs +363 -12
  136. data/sig/sentdm/models/profile_update_response.rbs +662 -0
  137. data/sig/sentdm/models/profiles/campaign_create_params.rbs +138 -4
  138. data/sig/sentdm/models/profiles/campaign_create_response.rbs +424 -0
  139. data/sig/sentdm/models/profiles/campaign_delete_params.rbs +15 -8
  140. data/sig/sentdm/models/profiles/campaign_list_response.rbs +396 -13
  141. data/sig/sentdm/models/profiles/campaign_update_params.rbs +138 -4
  142. data/sig/sentdm/models/profiles/campaign_update_response.rbs +424 -0
  143. data/sig/sentdm/models/template_create_params.rbs +853 -6
  144. data/sig/sentdm/models/template_create_response.rbs +177 -0
  145. data/sig/sentdm/models/template_list_response.rbs +225 -19
  146. data/sig/sentdm/models/template_retrieve_response.rbs +177 -0
  147. data/sig/sentdm/models/template_update_params.rbs +851 -4
  148. data/sig/sentdm/models/template_update_response.rbs +177 -0
  149. data/sig/sentdm/models/user_invite_response.rbs +170 -0
  150. data/sig/sentdm/models/user_list_response.rbs +151 -15
  151. data/sig/sentdm/models/user_remove_params.rbs +10 -6
  152. data/sig/sentdm/models/user_retrieve_response.rbs +170 -0
  153. data/sig/sentdm/models/user_update_role_response.rbs +170 -0
  154. data/sig/sentdm/models/webhook_create_response.rbs +201 -0
  155. data/sig/sentdm/models/webhook_list_event_types_response.rbs +130 -15
  156. data/sig/sentdm/models/webhook_list_events_response.rbs +142 -14
  157. data/sig/sentdm/models/webhook_list_response.rbs +248 -20
  158. data/sig/sentdm/models/webhook_retrieve_response.rbs +201 -0
  159. data/sig/sentdm/models/webhook_rotate_secret_params.rbs +17 -8
  160. data/sig/sentdm/models/webhook_rotate_secret_response.rbs +71 -9
  161. data/sig/sentdm/models/webhook_test_response.rbs +71 -9
  162. data/sig/sentdm/models/webhook_toggle_status_response.rbs +201 -0
  163. data/sig/sentdm/models/webhook_update_response.rbs +201 -0
  164. data/sig/sentdm/models.rbs +0 -68
  165. data/sig/sentdm/resources/contacts.rbs +3 -4
  166. data/sig/sentdm/resources/profiles/campaigns.rbs +4 -4
  167. data/sig/sentdm/resources/profiles.rbs +9 -9
  168. data/sig/sentdm/resources/templates.rbs +5 -5
  169. data/sig/sentdm/resources/users.rbs +3 -3
  170. data/sig/sentdm/resources/webhooks.rbs +4 -4
  171. metadata +56 -122
  172. data/lib/sentdm/models/api_meta.rb +0 -34
  173. data/lib/sentdm/models/api_response_of_contact.rb +0 -46
  174. data/lib/sentdm/models/api_response_of_profile_detail.rb +0 -43
  175. data/lib/sentdm/models/api_response_of_user.rb +0 -43
  176. data/lib/sentdm/models/api_response_template.rb +0 -43
  177. data/lib/sentdm/models/api_response_webhook.rb +0 -43
  178. data/lib/sentdm/models/billing_contact_info.rb +0 -47
  179. data/lib/sentdm/models/brands_brand_data.rb +0 -38
  180. data/lib/sentdm/models/contact_response.rb +0 -136
  181. data/lib/sentdm/models/destination_country.rb +0 -21
  182. data/lib/sentdm/models/error_detail.rb +0 -42
  183. data/lib/sentdm/models/mutation_request.rb +0 -20
  184. data/lib/sentdm/models/pagination_meta.rb +0 -80
  185. data/lib/sentdm/models/payment_details.rb +0 -44
  186. data/lib/sentdm/models/profile_detail.rb +0 -605
  187. data/lib/sentdm/models/profile_settings.rb +0 -66
  188. data/lib/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rb +0 -45
  189. data/lib/sentdm/models/profiles/base_dto.rb +0 -32
  190. data/lib/sentdm/models/profiles/campaign_data.rb +0 -123
  191. data/lib/sentdm/models/profiles/messaging_use_case_us.rb +0 -28
  192. data/lib/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb +0 -29
  193. data/lib/sentdm/models/profiles/tcr_campaign_with_use_cases.rb +0 -236
  194. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rb +0 -34
  195. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rb +0 -40
  196. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb +0 -38
  197. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rb +0 -81
  198. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb +0 -34
  199. data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rb +0 -39
  200. data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb +0 -116
  201. data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rb +0 -75
  202. data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rb +0 -58
  203. data/lib/sentdm/models/tcr_brand_relationship.rb +0 -18
  204. data/lib/sentdm/models/tcr_vertical.rb +0 -36
  205. data/lib/sentdm/models/template.rb +0 -90
  206. data/lib/sentdm/models/template_body_content.rb +0 -27
  207. data/lib/sentdm/models/template_definition.rb +0 -66
  208. data/lib/sentdm/models/template_variable.rb +0 -80
  209. data/lib/sentdm/models/user_response.rb +0 -82
  210. data/lib/sentdm/models/webhook_event_type.rb +0 -45
  211. data/lib/sentdm/models/webhook_response.rb +0 -95
  212. data/rbi/sentdm/models/api_meta.rbi +0 -55
  213. data/rbi/sentdm/models/api_response_of_contact.rbi +0 -74
  214. data/rbi/sentdm/models/api_response_of_profile_detail.rbi +0 -74
  215. data/rbi/sentdm/models/api_response_of_user.rbi +0 -74
  216. data/rbi/sentdm/models/api_response_template.rbi +0 -74
  217. data/rbi/sentdm/models/api_response_webhook.rbi +0 -74
  218. data/rbi/sentdm/models/billing_contact_info.rbi +0 -65
  219. data/rbi/sentdm/models/brands_brand_data.rbi +0 -104
  220. data/rbi/sentdm/models/contact_response.rbi +0 -195
  221. data/rbi/sentdm/models/destination_country.rbi +0 -32
  222. data/rbi/sentdm/models/error_detail.rbi +0 -66
  223. data/rbi/sentdm/models/mutation_request.rbi +0 -32
  224. data/rbi/sentdm/models/pagination_meta.rbi +0 -135
  225. data/rbi/sentdm/models/payment_details.rbi +0 -59
  226. data/rbi/sentdm/models/profile_detail.rbi +0 -874
  227. data/rbi/sentdm/models/profile_settings.rbi +0 -86
  228. data/rbi/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbi +0 -83
  229. data/rbi/sentdm/models/profiles/base_dto.rbi +0 -53
  230. data/rbi/sentdm/models/profiles/campaign_data.rbi +0 -148
  231. data/rbi/sentdm/models/profiles/messaging_use_case_us.rbi +0 -73
  232. data/rbi/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi +0 -51
  233. data/rbi/sentdm/models/profiles/tcr_campaign_with_use_cases.rbi +0 -410
  234. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbi +0 -56
  235. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbi +0 -76
  236. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbi +0 -72
  237. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbi +0 -104
  238. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbi +0 -57
  239. data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbi +0 -59
  240. data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbi +0 -180
  241. data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbi +0 -95
  242. data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbi +0 -81
  243. data/rbi/sentdm/models/tcr_brand_relationship.rbi +0 -30
  244. data/rbi/sentdm/models/tcr_vertical.rbi +0 -41
  245. data/rbi/sentdm/models/template.rbi +0 -129
  246. data/rbi/sentdm/models/template_body_content.rbi +0 -43
  247. data/rbi/sentdm/models/template_definition.rbi +0 -164
  248. data/rbi/sentdm/models/template_variable.rbi +0 -120
  249. data/rbi/sentdm/models/user_response.rbi +0 -118
  250. data/rbi/sentdm/models/webhook_event_type.rbi +0 -74
  251. data/rbi/sentdm/models/webhook_response.rbi +0 -140
  252. data/sig/sentdm/models/api_meta.rbs +0 -27
  253. data/sig/sentdm/models/api_response_of_contact.rbs +0 -39
  254. data/sig/sentdm/models/api_response_of_profile_detail.rbs +0 -39
  255. data/sig/sentdm/models/api_response_of_user.rbs +0 -39
  256. data/sig/sentdm/models/api_response_template.rbs +0 -39
  257. data/sig/sentdm/models/api_response_webhook.rbs +0 -39
  258. data/sig/sentdm/models/billing_contact_info.rbs +0 -30
  259. data/sig/sentdm/models/brands_brand_data.rbs +0 -30
  260. data/sig/sentdm/models/contact_response.rbs +0 -116
  261. data/sig/sentdm/models/destination_country.rbs +0 -19
  262. data/sig/sentdm/models/error_detail.rbs +0 -39
  263. data/sig/sentdm/models/mutation_request.rbs +0 -15
  264. data/sig/sentdm/models/pagination_meta.rbs +0 -67
  265. data/sig/sentdm/models/payment_details.rbs +0 -30
  266. data/sig/sentdm/models/profile_detail.rbs +0 -474
  267. data/sig/sentdm/models/profile_settings.rbs +0 -50
  268. data/sig/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbs +0 -41
  269. data/sig/sentdm/models/profiles/base_dto.rbs +0 -27
  270. data/sig/sentdm/models/profiles/campaign_data.rbs +0 -82
  271. data/sig/sentdm/models/profiles/messaging_use_case_us.rbs +0 -40
  272. data/sig/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs +0 -27
  273. data/sig/sentdm/models/profiles/tcr_campaign_with_use_cases.rbs +0 -285
  274. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbs +0 -24
  275. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbs +0 -30
  276. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbs +0 -32
  277. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbs +0 -75
  278. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbs +0 -30
  279. data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbs +0 -30
  280. data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbs +0 -89
  281. data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbs +0 -55
  282. data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbs +0 -45
  283. data/sig/sentdm/models/tcr_brand_relationship.rbs +0 -22
  284. data/sig/sentdm/models/tcr_vertical.rbs +0 -58
  285. data/sig/sentdm/models/template.rbs +0 -79
  286. data/sig/sentdm/models/template_body_content.rbs +0 -30
  287. data/sig/sentdm/models/template_definition.rbs +0 -45
  288. data/sig/sentdm/models/template_variable.rbs +0 -84
  289. data/sig/sentdm/models/user_response.rbs +0 -72
  290. data/sig/sentdm/models/webhook_event_type.rbs +0 -51
  291. data/sig/sentdm/models/webhook_response.rbs +0 -103
@@ -1,474 +0,0 @@
1
- module Sentdm
2
- module Models
3
- type profile_detail =
4
- {
5
- id: String,
6
- allow_contact_sharing: bool,
7
- allow_number_change_during_onboarding: bool?,
8
- allow_template_sharing: bool,
9
- billing_contact: Sentdm::ProfileDetail::BillingContact?,
10
- billing_model: String,
11
- brand: Sentdm::ProfileDetail::Brand?,
12
- created_at: Time,
13
- description: String?,
14
- email: String?,
15
- icon: String?,
16
- inherit_contacts: bool,
17
- inherit_tcr_brand: bool,
18
- inherit_tcr_campaign: bool,
19
- inherit_templates: bool,
20
- name: String,
21
- organization_id: String?,
22
- sending_phone_number: String?,
23
- sending_phone_number_profile_id: String?,
24
- sending_whatsapp_number_profile_id: String?,
25
- short_name: String?,
26
- status: String,
27
- updated_at: Time?,
28
- waba_id: String?,
29
- whatsapp_phone_number: String?
30
- }
31
-
32
- class ProfileDetail < Sentdm::Internal::Type::BaseModel
33
- attr_reader id: String?
34
-
35
- def id=: (String) -> String
36
-
37
- attr_reader allow_contact_sharing: bool?
38
-
39
- def allow_contact_sharing=: (bool) -> bool
40
-
41
- attr_accessor allow_number_change_during_onboarding: bool?
42
-
43
- attr_reader allow_template_sharing: bool?
44
-
45
- def allow_template_sharing=: (bool) -> bool
46
-
47
- attr_accessor billing_contact: Sentdm::ProfileDetail::BillingContact?
48
-
49
- attr_reader billing_model: String?
50
-
51
- def billing_model=: (String) -> String
52
-
53
- attr_accessor brand: Sentdm::ProfileDetail::Brand?
54
-
55
- attr_reader created_at: Time?
56
-
57
- def created_at=: (Time) -> Time
58
-
59
- attr_accessor description: String?
60
-
61
- attr_accessor email: String?
62
-
63
- attr_accessor icon: String?
64
-
65
- attr_reader inherit_contacts: bool?
66
-
67
- def inherit_contacts=: (bool) -> bool
68
-
69
- attr_reader inherit_tcr_brand: bool?
70
-
71
- def inherit_tcr_brand=: (bool) -> bool
72
-
73
- attr_reader inherit_tcr_campaign: bool?
74
-
75
- def inherit_tcr_campaign=: (bool) -> bool
76
-
77
- attr_reader inherit_templates: bool?
78
-
79
- def inherit_templates=: (bool) -> bool
80
-
81
- attr_reader name: String?
82
-
83
- def name=: (String) -> String
84
-
85
- attr_accessor organization_id: String?
86
-
87
- attr_accessor sending_phone_number: String?
88
-
89
- attr_accessor sending_phone_number_profile_id: String?
90
-
91
- attr_accessor sending_whatsapp_number_profile_id: String?
92
-
93
- attr_accessor short_name: String?
94
-
95
- attr_reader status: String?
96
-
97
- def status=: (String) -> String
98
-
99
- attr_accessor updated_at: Time?
100
-
101
- attr_accessor waba_id: String?
102
-
103
- attr_accessor whatsapp_phone_number: String?
104
-
105
- def initialize: (
106
- ?id: String,
107
- ?allow_contact_sharing: bool,
108
- ?allow_number_change_during_onboarding: bool?,
109
- ?allow_template_sharing: bool,
110
- ?billing_contact: Sentdm::ProfileDetail::BillingContact?,
111
- ?billing_model: String,
112
- ?brand: Sentdm::ProfileDetail::Brand?,
113
- ?created_at: Time,
114
- ?description: String?,
115
- ?email: String?,
116
- ?icon: String?,
117
- ?inherit_contacts: bool,
118
- ?inherit_tcr_brand: bool,
119
- ?inherit_tcr_campaign: bool,
120
- ?inherit_templates: bool,
121
- ?name: String,
122
- ?organization_id: String?,
123
- ?sending_phone_number: String?,
124
- ?sending_phone_number_profile_id: String?,
125
- ?sending_whatsapp_number_profile_id: String?,
126
- ?short_name: String?,
127
- ?status: String,
128
- ?updated_at: Time?,
129
- ?waba_id: String?,
130
- ?whatsapp_phone_number: String?
131
- ) -> void
132
-
133
- def to_hash: -> {
134
- id: String,
135
- allow_contact_sharing: bool,
136
- allow_number_change_during_onboarding: bool?,
137
- allow_template_sharing: bool,
138
- billing_contact: Sentdm::ProfileDetail::BillingContact?,
139
- billing_model: String,
140
- brand: Sentdm::ProfileDetail::Brand?,
141
- created_at: Time,
142
- description: String?,
143
- email: String?,
144
- icon: String?,
145
- inherit_contacts: bool,
146
- inherit_tcr_brand: bool,
147
- inherit_tcr_campaign: bool,
148
- inherit_templates: bool,
149
- name: String,
150
- organization_id: String?,
151
- sending_phone_number: String?,
152
- sending_phone_number_profile_id: String?,
153
- sending_whatsapp_number_profile_id: String?,
154
- short_name: String?,
155
- status: String,
156
- updated_at: Time?,
157
- waba_id: String?,
158
- whatsapp_phone_number: String?
159
- }
160
-
161
- type billing_contact =
162
- { address: String?, email: String?, name: String?, phone: String? }
163
-
164
- class BillingContact < Sentdm::Internal::Type::BaseModel
165
- attr_accessor address: String?
166
-
167
- attr_accessor email: String?
168
-
169
- attr_accessor name: String?
170
-
171
- attr_accessor phone: String?
172
-
173
- def initialize: (
174
- ?address: String?,
175
- ?email: String?,
176
- ?name: String?,
177
- ?phone: String?
178
- ) -> void
179
-
180
- def to_hash: -> {
181
- address: String?,
182
- email: String?,
183
- name: String?,
184
- phone: String?
185
- }
186
- end
187
-
188
- type brand =
189
- {
190
- id: String,
191
- business: Sentdm::ProfileDetail::Brand::Business?,
192
- compliance: Sentdm::ProfileDetail::Brand::Compliance?,
193
- contact: Sentdm::ProfileDetail::Brand::Contact?,
194
- created_at: Time,
195
- csp_id: String?,
196
- identity_status: Sentdm::Models::ProfileDetail::Brand::identity_status?,
197
- is_inherited: bool,
198
- status: Sentdm::Models::ProfileDetail::Brand::status?,
199
- submitted_at: Time?,
200
- submitted_to_tcr: bool,
201
- tcr_brand_id: String?,
202
- universal_ein: String?,
203
- updated_at: Time?
204
- }
205
-
206
- class Brand < Sentdm::Internal::Type::BaseModel
207
- attr_reader id: String?
208
-
209
- def id=: (String) -> String
210
-
211
- attr_accessor business: Sentdm::ProfileDetail::Brand::Business?
212
-
213
- attr_accessor compliance: Sentdm::ProfileDetail::Brand::Compliance?
214
-
215
- attr_accessor contact: Sentdm::ProfileDetail::Brand::Contact?
216
-
217
- attr_reader created_at: Time?
218
-
219
- def created_at=: (Time) -> Time
220
-
221
- attr_accessor csp_id: String?
222
-
223
- attr_accessor identity_status: Sentdm::Models::ProfileDetail::Brand::identity_status?
224
-
225
- attr_reader is_inherited: bool?
226
-
227
- def is_inherited=: (bool) -> bool
228
-
229
- attr_accessor status: Sentdm::Models::ProfileDetail::Brand::status?
230
-
231
- attr_accessor submitted_at: Time?
232
-
233
- attr_reader submitted_to_tcr: bool?
234
-
235
- def submitted_to_tcr=: (bool) -> bool
236
-
237
- attr_accessor tcr_brand_id: String?
238
-
239
- attr_accessor universal_ein: String?
240
-
241
- attr_accessor updated_at: Time?
242
-
243
- def initialize: (
244
- ?id: String,
245
- ?business: Sentdm::ProfileDetail::Brand::Business?,
246
- ?compliance: Sentdm::ProfileDetail::Brand::Compliance?,
247
- ?contact: Sentdm::ProfileDetail::Brand::Contact?,
248
- ?created_at: Time,
249
- ?csp_id: String?,
250
- ?identity_status: Sentdm::Models::ProfileDetail::Brand::identity_status?,
251
- ?is_inherited: bool,
252
- ?status: Sentdm::Models::ProfileDetail::Brand::status?,
253
- ?submitted_at: Time?,
254
- ?submitted_to_tcr: bool,
255
- ?tcr_brand_id: String?,
256
- ?universal_ein: String?,
257
- ?updated_at: Time?
258
- ) -> void
259
-
260
- def to_hash: -> {
261
- id: String,
262
- business: Sentdm::ProfileDetail::Brand::Business?,
263
- compliance: Sentdm::ProfileDetail::Brand::Compliance?,
264
- contact: Sentdm::ProfileDetail::Brand::Contact?,
265
- created_at: Time,
266
- csp_id: String?,
267
- identity_status: Sentdm::Models::ProfileDetail::Brand::identity_status?,
268
- is_inherited: bool,
269
- status: Sentdm::Models::ProfileDetail::Brand::status?,
270
- submitted_at: Time?,
271
- submitted_to_tcr: bool,
272
- tcr_brand_id: String?,
273
- universal_ein: String?,
274
- updated_at: Time?
275
- }
276
-
277
- type business =
278
- {
279
- city: String?,
280
- country: String?,
281
- country_of_registration: String?,
282
- entity_type: String?,
283
- legal_name: String?,
284
- postal_code: String?,
285
- state: String?,
286
- street: String?,
287
- tax_id: String?,
288
- tax_id_type: String?,
289
- url: String?
290
- }
291
-
292
- class Business < Sentdm::Internal::Type::BaseModel
293
- attr_accessor city: String?
294
-
295
- attr_accessor country: String?
296
-
297
- attr_accessor country_of_registration: String?
298
-
299
- attr_accessor entity_type: String?
300
-
301
- attr_accessor legal_name: String?
302
-
303
- attr_accessor postal_code: String?
304
-
305
- attr_accessor state: String?
306
-
307
- attr_accessor street: String?
308
-
309
- attr_accessor tax_id: String?
310
-
311
- attr_accessor tax_id_type: String?
312
-
313
- attr_accessor url: String?
314
-
315
- def initialize: (
316
- ?city: String?,
317
- ?country: String?,
318
- ?country_of_registration: String?,
319
- ?entity_type: String?,
320
- ?legal_name: String?,
321
- ?postal_code: String?,
322
- ?state: String?,
323
- ?street: String?,
324
- ?tax_id: String?,
325
- ?tax_id_type: String?,
326
- ?url: String?
327
- ) -> void
328
-
329
- def to_hash: -> {
330
- city: String?,
331
- country: String?,
332
- country_of_registration: String?,
333
- entity_type: String?,
334
- legal_name: String?,
335
- postal_code: String?,
336
- state: String?,
337
- street: String?,
338
- tax_id: String?,
339
- tax_id_type: String?,
340
- url: String?
341
- }
342
- end
343
-
344
- type compliance =
345
- {
346
- brand_relationship: Sentdm::Models::tcr_brand_relationship?,
347
- destination_countries: ::Array[Sentdm::DestinationCountry],
348
- expected_messaging_volume: String?,
349
- is_tcr_application: bool,
350
- notes: String?,
351
- phone_number_prefix: String?,
352
- primary_use_case: String?,
353
- vertical: Sentdm::Models::tcr_vertical?
354
- }
355
-
356
- class Compliance < Sentdm::Internal::Type::BaseModel
357
- attr_accessor brand_relationship: Sentdm::Models::tcr_brand_relationship?
358
-
359
- attr_reader destination_countries: ::Array[Sentdm::DestinationCountry]?
360
-
361
- def destination_countries=: (
362
- ::Array[Sentdm::DestinationCountry]
363
- ) -> ::Array[Sentdm::DestinationCountry]
364
-
365
- attr_accessor expected_messaging_volume: String?
366
-
367
- attr_reader is_tcr_application: bool?
368
-
369
- def is_tcr_application=: (bool) -> bool
370
-
371
- attr_accessor notes: String?
372
-
373
- attr_accessor phone_number_prefix: String?
374
-
375
- attr_accessor primary_use_case: String?
376
-
377
- attr_accessor vertical: Sentdm::Models::tcr_vertical?
378
-
379
- def initialize: (
380
- ?brand_relationship: Sentdm::Models::tcr_brand_relationship?,
381
- ?destination_countries: ::Array[Sentdm::DestinationCountry],
382
- ?expected_messaging_volume: String?,
383
- ?is_tcr_application: bool,
384
- ?notes: String?,
385
- ?phone_number_prefix: String?,
386
- ?primary_use_case: String?,
387
- ?vertical: Sentdm::Models::tcr_vertical?
388
- ) -> void
389
-
390
- def to_hash: -> {
391
- brand_relationship: Sentdm::Models::tcr_brand_relationship?,
392
- destination_countries: ::Array[Sentdm::DestinationCountry],
393
- expected_messaging_volume: String?,
394
- is_tcr_application: bool,
395
- notes: String?,
396
- phone_number_prefix: String?,
397
- primary_use_case: String?,
398
- vertical: Sentdm::Models::tcr_vertical?
399
- }
400
- end
401
-
402
- type contact =
403
- {
404
- business_name: String?,
405
- email: String?,
406
- name: String,
407
- phone: String?,
408
- phone_country_code: String?,
409
- role: String?
410
- }
411
-
412
- class Contact < Sentdm::Internal::Type::BaseModel
413
- attr_accessor business_name: String?
414
-
415
- attr_accessor email: String?
416
-
417
- attr_reader name: String?
418
-
419
- def name=: (String) -> String
420
-
421
- attr_accessor phone: String?
422
-
423
- attr_accessor phone_country_code: String?
424
-
425
- attr_accessor role: String?
426
-
427
- def initialize: (
428
- ?business_name: String?,
429
- ?email: String?,
430
- ?name: String,
431
- ?phone: String?,
432
- ?phone_country_code: String?,
433
- ?role: String?
434
- ) -> void
435
-
436
- def to_hash: -> {
437
- business_name: String?,
438
- email: String?,
439
- name: String,
440
- phone: String?,
441
- phone_country_code: String?,
442
- role: String?
443
- }
444
- end
445
-
446
- type identity_status =
447
- :SELF_DECLARED | :UNVERIFIED | :VERIFIED | :VETTED_VERIFIED
448
-
449
- module IdentityStatus
450
- extend Sentdm::Internal::Type::Enum
451
-
452
- SELF_DECLARED: :SELF_DECLARED
453
- UNVERIFIED: :UNVERIFIED
454
- VERIFIED: :VERIFIED
455
- VETTED_VERIFIED: :VETTED_VERIFIED
456
-
457
- def self?.values: -> ::Array[Sentdm::Models::ProfileDetail::Brand::identity_status]
458
- end
459
-
460
- type status = :ACTIVE | :INACTIVE | :SUSPENDED
461
-
462
- module Status
463
- extend Sentdm::Internal::Type::Enum
464
-
465
- ACTIVE: :ACTIVE
466
- INACTIVE: :INACTIVE
467
- SUSPENDED: :SUSPENDED
468
-
469
- def self?.values: -> ::Array[Sentdm::Models::ProfileDetail::Brand::status]
470
- end
471
- end
472
- end
473
- end
474
- end
@@ -1,50 +0,0 @@
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
@@ -1,41 +0,0 @@
1
- module Sentdm
2
- module Models
3
- module Profiles
4
- type api_response_of_tcr_campaign_with_use_cases =
5
- {
6
- data: Sentdm::Profiles::TcrCampaignWithUseCases?,
7
- error: Sentdm::ErrorDetail?,
8
- meta: Sentdm::APIMeta,
9
- success: bool
10
- }
11
-
12
- class APIResponseOfTcrCampaignWithUseCases < Sentdm::Internal::Type::BaseModel
13
- attr_accessor data: Sentdm::Profiles::TcrCampaignWithUseCases?
14
-
15
- attr_accessor error: Sentdm::ErrorDetail?
16
-
17
- attr_reader meta: Sentdm::APIMeta?
18
-
19
- def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
20
-
21
- attr_reader success: bool?
22
-
23
- def success=: (bool) -> bool
24
-
25
- def initialize: (
26
- ?data: Sentdm::Profiles::TcrCampaignWithUseCases?,
27
- ?error: Sentdm::ErrorDetail?,
28
- ?meta: Sentdm::APIMeta,
29
- ?success: bool
30
- ) -> void
31
-
32
- def to_hash: -> {
33
- data: Sentdm::Profiles::TcrCampaignWithUseCases?,
34
- error: Sentdm::ErrorDetail?,
35
- meta: Sentdm::APIMeta,
36
- success: bool
37
- }
38
- end
39
- end
40
- end
41
- end
@@ -1,27 +0,0 @@
1
- module Sentdm
2
- module Models
3
- module Profiles
4
- type base_dto = { id: String, created_at: Time, updated_at: Time? }
5
-
6
- class BaseDto < Sentdm::Internal::Type::BaseModel
7
- attr_reader id: String?
8
-
9
- def id=: (String) -> String
10
-
11
- attr_reader created_at: Time?
12
-
13
- def created_at=: (Time) -> Time
14
-
15
- attr_accessor updated_at: Time?
16
-
17
- def initialize: (
18
- ?id: String,
19
- ?created_at: Time,
20
- ?updated_at: Time?
21
- ) -> void
22
-
23
- def to_hash: -> { id: String, created_at: Time, updated_at: Time? }
24
- end
25
- end
26
- end
27
- end
@@ -1,82 +0,0 @@
1
- module Sentdm
2
- module Models
3
- module Profiles
4
- type campaign_data =
5
- {
6
- description: String,
7
- name: String,
8
- type: String,
9
- use_cases: ::Array[Sentdm::Profiles::SentDmServicesEndpointsCustomerApIv3ContractsRequestsCampaignsCampaignUseCaseData],
10
- help_keywords: String?,
11
- help_message: String?,
12
- message_flow: String?,
13
- optin_keywords: String?,
14
- optin_message: String?,
15
- optout_keywords: String?,
16
- optout_message: String?,
17
- privacy_policy_link: String?,
18
- terms_and_conditions_link: String?
19
- }
20
-
21
- class CampaignData < Sentdm::Internal::Type::BaseModel
22
- attr_accessor description: String
23
-
24
- attr_accessor name: String
25
-
26
- attr_accessor type: String
27
-
28
- attr_accessor use_cases: ::Array[Sentdm::Profiles::SentDmServicesEndpointsCustomerApIv3ContractsRequestsCampaignsCampaignUseCaseData]
29
-
30
- attr_accessor help_keywords: String?
31
-
32
- attr_accessor help_message: String?
33
-
34
- attr_accessor message_flow: String?
35
-
36
- attr_accessor optin_keywords: String?
37
-
38
- attr_accessor optin_message: String?
39
-
40
- attr_accessor optout_keywords: String?
41
-
42
- attr_accessor optout_message: String?
43
-
44
- attr_accessor privacy_policy_link: String?
45
-
46
- attr_accessor terms_and_conditions_link: String?
47
-
48
- def initialize: (
49
- description: String,
50
- name: String,
51
- type: String,
52
- use_cases: ::Array[Sentdm::Profiles::SentDmServicesEndpointsCustomerApIv3ContractsRequestsCampaignsCampaignUseCaseData],
53
- ?help_keywords: String?,
54
- ?help_message: String?,
55
- ?message_flow: String?,
56
- ?optin_keywords: String?,
57
- ?optin_message: String?,
58
- ?optout_keywords: String?,
59
- ?optout_message: String?,
60
- ?privacy_policy_link: String?,
61
- ?terms_and_conditions_link: String?
62
- ) -> void
63
-
64
- def to_hash: -> {
65
- description: String,
66
- name: String,
67
- type: String,
68
- use_cases: ::Array[Sentdm::Profiles::SentDmServicesEndpointsCustomerApIv3ContractsRequestsCampaignsCampaignUseCaseData],
69
- help_keywords: String?,
70
- help_message: String?,
71
- message_flow: String?,
72
- optin_keywords: String?,
73
- optin_message: String?,
74
- optout_keywords: String?,
75
- optout_message: String?,
76
- privacy_policy_link: String?,
77
- terms_and_conditions_link: String?
78
- }
79
- end
80
- end
81
- end
82
- end
@@ -1,40 +0,0 @@
1
- module Sentdm
2
- module Models
3
- module Profiles
4
- type messaging_use_case_us =
5
- :MARKETING
6
- | :ACCOUNT_NOTIFICATION
7
- | :CUSTOMER_CARE
8
- | :FRAUD_ALERT
9
- | :TWO_FA
10
- | :DELIVERY_NOTIFICATION
11
- | :SECURITY_ALERT
12
- | :M2M
13
- | :MIXED
14
- | :HIGHER_EDUCATION
15
- | :POLLING_VOTING
16
- | :PUBLIC_SERVICE_ANNOUNCEMENT
17
- | :LOW_VOLUME
18
-
19
- module MessagingUseCaseUs
20
- extend Sentdm::Internal::Type::Enum
21
-
22
- MARKETING: :MARKETING
23
- ACCOUNT_NOTIFICATION: :ACCOUNT_NOTIFICATION
24
- CUSTOMER_CARE: :CUSTOMER_CARE
25
- FRAUD_ALERT: :FRAUD_ALERT
26
- TWO_FA: :TWO_FA
27
- DELIVERY_NOTIFICATION: :DELIVERY_NOTIFICATION
28
- SECURITY_ALERT: :SECURITY_ALERT
29
- M2_M: :M2M
30
- MIXED: :MIXED
31
- HIGHER_EDUCATION: :HIGHER_EDUCATION
32
- POLLING_VOTING: :POLLING_VOTING
33
- PUBLIC_SERVICE_ANNOUNCEMENT: :PUBLIC_SERVICE_ANNOUNCEMENT
34
- LOW_VOLUME: :LOW_VOLUME
35
-
36
- def self?.values: -> ::Array[Sentdm::Models::Profiles::messaging_use_case_us]
37
- end
38
- end
39
- end
40
- end