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,57 +0,0 @@
1
- # typed: strong
2
-
3
- module Sentdm
4
- module Models
5
- class SentDmServicesCommonContractsPocOsTemplateFooter < Sentdm::Internal::Type::BaseModel
6
- OrHash =
7
- T.type_alias do
8
- T.any(
9
- Sentdm::SentDmServicesCommonContractsPocOsTemplateFooter,
10
- Sentdm::Internal::AnyHash
11
- )
12
- end
13
-
14
- # The footer template text with optional variable placeholders
15
- sig { returns(String) }
16
- attr_accessor :template
17
-
18
- # The type of footer (typically "text")
19
- sig { returns(T.nilable(String)) }
20
- attr_accessor :type
21
-
22
- # List of variables used in the footer template
23
- sig { returns(T.nilable(T::Array[Sentdm::TemplateVariable])) }
24
- attr_accessor :variables
25
-
26
- # Footer section of a message template
27
- sig do
28
- params(
29
- template: String,
30
- type: T.nilable(String),
31
- variables: T.nilable(T::Array[Sentdm::TemplateVariable::OrHash])
32
- ).returns(T.attached_class)
33
- end
34
- def self.new(
35
- # The footer template text with optional variable placeholders
36
- template:,
37
- # The type of footer (typically "text")
38
- type: nil,
39
- # List of variables used in the footer template
40
- variables: nil
41
- )
42
- end
43
-
44
- sig do
45
- override.returns(
46
- {
47
- template: String,
48
- type: T.nilable(String),
49
- variables: T.nilable(T::Array[Sentdm::TemplateVariable])
50
- }
51
- )
52
- end
53
- def to_hash
54
- end
55
- end
56
- end
57
- end
@@ -1,59 +0,0 @@
1
- # typed: strong
2
-
3
- module Sentdm
4
- module Models
5
- class SentDmServicesCommonContractsPocOsTemplateHeader < Sentdm::Internal::Type::BaseModel
6
- OrHash =
7
- T.type_alias do
8
- T.any(
9
- Sentdm::SentDmServicesCommonContractsPocOsTemplateHeader,
10
- Sentdm::Internal::AnyHash
11
- )
12
- end
13
-
14
- # The header template text with optional variable placeholders (e.g., "Welcome to
15
- # {{0:variable}}")
16
- sig { returns(String) }
17
- attr_accessor :template
18
-
19
- # The type of header (e.g., "text", "image", "video", "document")
20
- sig { returns(T.nilable(String)) }
21
- attr_accessor :type
22
-
23
- # List of variables used in the header template
24
- sig { returns(T.nilable(T::Array[Sentdm::TemplateVariable])) }
25
- attr_accessor :variables
26
-
27
- # Header section of a message template
28
- sig do
29
- params(
30
- template: String,
31
- type: T.nilable(String),
32
- variables: T.nilable(T::Array[Sentdm::TemplateVariable::OrHash])
33
- ).returns(T.attached_class)
34
- end
35
- def self.new(
36
- # The header template text with optional variable placeholders (e.g., "Welcome to
37
- # {{0:variable}}")
38
- template:,
39
- # The type of header (e.g., "text", "image", "video", "document")
40
- type: nil,
41
- # List of variables used in the header template
42
- variables: nil
43
- )
44
- end
45
-
46
- sig do
47
- override.returns(
48
- {
49
- template: String,
50
- type: T.nilable(String),
51
- variables: T.nilable(T::Array[Sentdm::TemplateVariable])
52
- }
53
- )
54
- end
55
- def to_hash
56
- end
57
- end
58
- end
59
- end
@@ -1,180 +0,0 @@
1
- # typed: strong
2
-
3
- module Sentdm
4
- module Models
5
- class SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo < Sentdm::Internal::Type::BaseModel
6
- OrHash =
7
- T.type_alias do
8
- T.any(
9
- Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo,
10
- Sentdm::Internal::AnyHash
11
- )
12
- end
13
-
14
- # City
15
- sig { returns(T.nilable(String)) }
16
- attr_accessor :city
17
-
18
- # Country code (e.g., US, CA)
19
- sig { returns(T.nilable(String)) }
20
- attr_accessor :country
21
-
22
- # Country where the business is registered
23
- sig { returns(T.nilable(String)) }
24
- attr_accessor :country_of_registration
25
-
26
- sig do
27
- returns(
28
- T.nilable(
29
- Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::OrSymbol
30
- )
31
- )
32
- end
33
- attr_accessor :entity_type
34
-
35
- # Legal business name
36
- sig { returns(T.nilable(String)) }
37
- attr_accessor :legal_name
38
-
39
- # Postal/ZIP code
40
- sig { returns(T.nilable(String)) }
41
- attr_accessor :postal_code
42
-
43
- # State/province code
44
- sig { returns(T.nilable(String)) }
45
- attr_accessor :state
46
-
47
- # Street address
48
- sig { returns(T.nilable(String)) }
49
- attr_accessor :street
50
-
51
- # Tax ID/EIN number
52
- sig { returns(T.nilable(String)) }
53
- attr_accessor :tax_id
54
-
55
- # Type of tax ID (e.g., us_ein, ca_bn)
56
- sig { returns(T.nilable(String)) }
57
- attr_accessor :tax_id_type
58
-
59
- # Business website URL
60
- sig { returns(T.nilable(String)) }
61
- attr_accessor :url
62
-
63
- # Business details and address for brand KYC
64
- sig do
65
- params(
66
- city: T.nilable(String),
67
- country: T.nilable(String),
68
- country_of_registration: T.nilable(String),
69
- entity_type:
70
- T.nilable(
71
- Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::OrSymbol
72
- ),
73
- legal_name: T.nilable(String),
74
- postal_code: T.nilable(String),
75
- state: T.nilable(String),
76
- street: T.nilable(String),
77
- tax_id: T.nilable(String),
78
- tax_id_type: T.nilable(String),
79
- url: T.nilable(String)
80
- ).returns(T.attached_class)
81
- end
82
- def self.new(
83
- # City
84
- city: nil,
85
- # Country code (e.g., US, CA)
86
- country: nil,
87
- # Country where the business is registered
88
- country_of_registration: nil,
89
- entity_type: nil,
90
- # Legal business name
91
- legal_name: nil,
92
- # Postal/ZIP code
93
- postal_code: nil,
94
- # State/province code
95
- state: nil,
96
- # Street address
97
- street: nil,
98
- # Tax ID/EIN number
99
- tax_id: nil,
100
- # Type of tax ID (e.g., us_ein, ca_bn)
101
- tax_id_type: nil,
102
- # Business website URL
103
- url: nil
104
- )
105
- end
106
-
107
- sig do
108
- override.returns(
109
- {
110
- city: T.nilable(String),
111
- country: T.nilable(String),
112
- country_of_registration: T.nilable(String),
113
- entity_type:
114
- T.nilable(
115
- Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::OrSymbol
116
- ),
117
- legal_name: T.nilable(String),
118
- postal_code: T.nilable(String),
119
- state: T.nilable(String),
120
- street: T.nilable(String),
121
- tax_id: T.nilable(String),
122
- tax_id_type: T.nilable(String),
123
- url: T.nilable(String)
124
- }
125
- )
126
- end
127
- def to_hash
128
- end
129
-
130
- module EntityType
131
- extend Sentdm::Internal::Type::Enum
132
-
133
- TaggedSymbol =
134
- T.type_alias do
135
- T.all(
136
- Symbol,
137
- Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType
138
- )
139
- end
140
- OrSymbol = T.type_alias { T.any(Symbol, String) }
141
-
142
- PRIVATE_PROFIT =
143
- T.let(
144
- :PRIVATE_PROFIT,
145
- Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::TaggedSymbol
146
- )
147
- PUBLIC_PROFIT =
148
- T.let(
149
- :PUBLIC_PROFIT,
150
- Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::TaggedSymbol
151
- )
152
- NON_PROFIT =
153
- T.let(
154
- :NON_PROFIT,
155
- Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::TaggedSymbol
156
- )
157
- SOLE_PROPRIETOR =
158
- T.let(
159
- :SOLE_PROPRIETOR,
160
- Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::TaggedSymbol
161
- )
162
- GOVERNMENT =
163
- T.let(
164
- :GOVERNMENT,
165
- Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::TaggedSymbol
166
- )
167
-
168
- sig do
169
- override.returns(
170
- T::Array[
171
- Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType::TaggedSymbol
172
- ]
173
- )
174
- end
175
- def self.values
176
- end
177
- end
178
- end
179
- end
180
- end
@@ -1,95 +0,0 @@
1
- # typed: strong
2
-
3
- module Sentdm
4
- module Models
5
- class SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo < Sentdm::Internal::Type::BaseModel
6
- OrHash =
7
- T.type_alias do
8
- T.any(
9
- Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo,
10
- Sentdm::Internal::AnyHash
11
- )
12
- end
13
-
14
- sig { returns(Sentdm::TcrBrandRelationship::OrSymbol) }
15
- attr_accessor :brand_relationship
16
-
17
- sig { returns(Sentdm::TcrVertical::OrSymbol) }
18
- attr_accessor :vertical
19
-
20
- # List of destination countries for messaging
21
- sig { returns(T.nilable(T::Array[Sentdm::DestinationCountry])) }
22
- attr_accessor :destination_countries
23
-
24
- # Expected daily messaging volume
25
- sig { returns(T.nilable(String)) }
26
- attr_accessor :expected_messaging_volume
27
-
28
- # Whether this is a TCR (Campaign Registry) application
29
- sig { returns(T.nilable(T::Boolean)) }
30
- attr_accessor :is_tcr_application
31
-
32
- # Additional notes about the business or use case
33
- sig { returns(T.nilable(String)) }
34
- attr_accessor :notes
35
-
36
- # Phone number prefix for messaging (e.g., "+1")
37
- sig { returns(T.nilable(String)) }
38
- attr_accessor :phone_number_prefix
39
-
40
- # Primary messaging use case description
41
- sig { returns(T.nilable(String)) }
42
- attr_accessor :primary_use_case
43
-
44
- # Compliance and TCR information for brand registration
45
- sig do
46
- params(
47
- brand_relationship: Sentdm::TcrBrandRelationship::OrSymbol,
48
- vertical: Sentdm::TcrVertical::OrSymbol,
49
- destination_countries:
50
- T.nilable(T::Array[Sentdm::DestinationCountry::OrHash]),
51
- expected_messaging_volume: T.nilable(String),
52
- is_tcr_application: T.nilable(T::Boolean),
53
- notes: T.nilable(String),
54
- phone_number_prefix: T.nilable(String),
55
- primary_use_case: T.nilable(String)
56
- ).returns(T.attached_class)
57
- end
58
- def self.new(
59
- brand_relationship:,
60
- vertical:,
61
- # List of destination countries for messaging
62
- destination_countries: nil,
63
- # Expected daily messaging volume
64
- expected_messaging_volume: nil,
65
- # Whether this is a TCR (Campaign Registry) application
66
- is_tcr_application: nil,
67
- # Additional notes about the business or use case
68
- notes: nil,
69
- # Phone number prefix for messaging (e.g., "+1")
70
- phone_number_prefix: nil,
71
- # Primary messaging use case description
72
- primary_use_case: nil
73
- )
74
- end
75
-
76
- sig do
77
- override.returns(
78
- {
79
- brand_relationship: Sentdm::TcrBrandRelationship::OrSymbol,
80
- vertical: Sentdm::TcrVertical::OrSymbol,
81
- destination_countries:
82
- T.nilable(T::Array[Sentdm::DestinationCountry]),
83
- expected_messaging_volume: T.nilable(String),
84
- is_tcr_application: T.nilable(T::Boolean),
85
- notes: T.nilable(String),
86
- phone_number_prefix: T.nilable(String),
87
- primary_use_case: T.nilable(String)
88
- }
89
- )
90
- end
91
- def to_hash
92
- end
93
- end
94
- end
95
- end
@@ -1,81 +0,0 @@
1
- # typed: strong
2
-
3
- module Sentdm
4
- module Models
5
- class SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo < Sentdm::Internal::Type::BaseModel
6
- OrHash =
7
- T.type_alias do
8
- T.any(
9
- Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo,
10
- Sentdm::Internal::AnyHash
11
- )
12
- end
13
-
14
- # Primary contact name (required)
15
- sig { returns(String) }
16
- attr_accessor :name
17
-
18
- # Business/brand name
19
- sig { returns(T.nilable(String)) }
20
- attr_accessor :business_name
21
-
22
- # Contact email address
23
- sig { returns(T.nilable(String)) }
24
- attr_accessor :email
25
-
26
- # Contact phone number in E.164 format
27
- sig { returns(T.nilable(String)) }
28
- attr_accessor :phone
29
-
30
- # Contact phone country code (e.g., "1" for US)
31
- sig { returns(T.nilable(String)) }
32
- attr_accessor :phone_country_code
33
-
34
- # Contact's role in the business
35
- sig { returns(T.nilable(String)) }
36
- attr_accessor :role
37
-
38
- # Contact information for brand KYC
39
- sig do
40
- params(
41
- name: String,
42
- business_name: T.nilable(String),
43
- email: T.nilable(String),
44
- phone: T.nilable(String),
45
- phone_country_code: T.nilable(String),
46
- role: T.nilable(String)
47
- ).returns(T.attached_class)
48
- end
49
- def self.new(
50
- # Primary contact name (required)
51
- name:,
52
- # Business/brand name
53
- business_name: nil,
54
- # Contact email address
55
- email: nil,
56
- # Contact phone number in E.164 format
57
- phone: nil,
58
- # Contact phone country code (e.g., "1" for US)
59
- phone_country_code: nil,
60
- # Contact's role in the business
61
- role: nil
62
- )
63
- end
64
-
65
- sig do
66
- override.returns(
67
- {
68
- name: String,
69
- business_name: T.nilable(String),
70
- email: T.nilable(String),
71
- phone: T.nilable(String),
72
- phone_country_code: T.nilable(String),
73
- role: T.nilable(String)
74
- }
75
- )
76
- end
77
- def to_hash
78
- end
79
- end
80
- end
81
- end
@@ -1,30 +0,0 @@
1
- # typed: strong
2
-
3
- module Sentdm
4
- module Models
5
- module TcrBrandRelationship
6
- extend Sentdm::Internal::Type::Enum
7
-
8
- TaggedSymbol =
9
- T.type_alias { T.all(Symbol, Sentdm::TcrBrandRelationship) }
10
- OrSymbol = T.type_alias { T.any(Symbol, String) }
11
-
12
- BASIC_ACCOUNT =
13
- T.let(:BASIC_ACCOUNT, Sentdm::TcrBrandRelationship::TaggedSymbol)
14
- MEDIUM_ACCOUNT =
15
- T.let(:MEDIUM_ACCOUNT, Sentdm::TcrBrandRelationship::TaggedSymbol)
16
- LARGE_ACCOUNT =
17
- T.let(:LARGE_ACCOUNT, Sentdm::TcrBrandRelationship::TaggedSymbol)
18
- SMALL_ACCOUNT =
19
- T.let(:SMALL_ACCOUNT, Sentdm::TcrBrandRelationship::TaggedSymbol)
20
- KEY_ACCOUNT =
21
- T.let(:KEY_ACCOUNT, Sentdm::TcrBrandRelationship::TaggedSymbol)
22
-
23
- sig do
24
- override.returns(T::Array[Sentdm::TcrBrandRelationship::TaggedSymbol])
25
- end
26
- def self.values
27
- end
28
- end
29
- end
30
- end
@@ -1,41 +0,0 @@
1
- # typed: strong
2
-
3
- module Sentdm
4
- module Models
5
- module TcrVertical
6
- extend Sentdm::Internal::Type::Enum
7
-
8
- TaggedSymbol = T.type_alias { T.all(Symbol, Sentdm::TcrVertical) }
9
- OrSymbol = T.type_alias { T.any(Symbol, String) }
10
-
11
- PROFESSIONAL = T.let(:PROFESSIONAL, Sentdm::TcrVertical::TaggedSymbol)
12
- REAL_ESTATE = T.let(:REAL_ESTATE, Sentdm::TcrVertical::TaggedSymbol)
13
- HEALTHCARE = T.let(:HEALTHCARE, Sentdm::TcrVertical::TaggedSymbol)
14
- HUMAN_RESOURCES =
15
- T.let(:HUMAN_RESOURCES, Sentdm::TcrVertical::TaggedSymbol)
16
- ENERGY = T.let(:ENERGY, Sentdm::TcrVertical::TaggedSymbol)
17
- ENTERTAINMENT = T.let(:ENTERTAINMENT, Sentdm::TcrVertical::TaggedSymbol)
18
- RETAIL = T.let(:RETAIL, Sentdm::TcrVertical::TaggedSymbol)
19
- TRANSPORTATION = T.let(:TRANSPORTATION, Sentdm::TcrVertical::TaggedSymbol)
20
- AGRICULTURE = T.let(:AGRICULTURE, Sentdm::TcrVertical::TaggedSymbol)
21
- INSURANCE = T.let(:INSURANCE, Sentdm::TcrVertical::TaggedSymbol)
22
- POSTAL = T.let(:POSTAL, Sentdm::TcrVertical::TaggedSymbol)
23
- EDUCATION = T.let(:EDUCATION, Sentdm::TcrVertical::TaggedSymbol)
24
- HOSPITALITY = T.let(:HOSPITALITY, Sentdm::TcrVertical::TaggedSymbol)
25
- FINANCIAL = T.let(:FINANCIAL, Sentdm::TcrVertical::TaggedSymbol)
26
- POLITICAL = T.let(:POLITICAL, Sentdm::TcrVertical::TaggedSymbol)
27
- GAMBLING = T.let(:GAMBLING, Sentdm::TcrVertical::TaggedSymbol)
28
- LEGAL = T.let(:LEGAL, Sentdm::TcrVertical::TaggedSymbol)
29
- CONSTRUCTION = T.let(:CONSTRUCTION, Sentdm::TcrVertical::TaggedSymbol)
30
- NGO = T.let(:NGO, Sentdm::TcrVertical::TaggedSymbol)
31
- MANUFACTURING = T.let(:MANUFACTURING, Sentdm::TcrVertical::TaggedSymbol)
32
- GOVERNMENT = T.let(:GOVERNMENT, Sentdm::TcrVertical::TaggedSymbol)
33
- TECHNOLOGY = T.let(:TECHNOLOGY, Sentdm::TcrVertical::TaggedSymbol)
34
- COMMUNICATION = T.let(:COMMUNICATION, Sentdm::TcrVertical::TaggedSymbol)
35
-
36
- sig { override.returns(T::Array[Sentdm::TcrVertical::TaggedSymbol]) }
37
- def self.values
38
- end
39
- end
40
- end
41
- end
@@ -1,129 +0,0 @@
1
- # typed: strong
2
-
3
- module Sentdm
4
- module Models
5
- class Template < Sentdm::Internal::Type::BaseModel
6
- OrHash =
7
- T.type_alias { T.any(Sentdm::Template, Sentdm::Internal::AnyHash) }
8
-
9
- # Unique template identifier
10
- sig { returns(T.nilable(String)) }
11
- attr_reader :id
12
-
13
- sig { params(id: String).void }
14
- attr_writer :id
15
-
16
- # Template category: MARKETING, UTILITY, AUTHENTICATION
17
- sig { returns(T.nilable(String)) }
18
- attr_reader :category
19
-
20
- sig { params(category: String).void }
21
- attr_writer :category
22
-
23
- # Supported channels: sms, whatsapp
24
- sig { returns(T.nilable(T::Array[String])) }
25
- attr_accessor :channels
26
-
27
- # When the template was created
28
- sig { returns(T.nilable(Time)) }
29
- attr_reader :created_at
30
-
31
- sig { params(created_at: Time).void }
32
- attr_writer :created_at
33
-
34
- # Whether the template is published and active
35
- sig { returns(T.nilable(T::Boolean)) }
36
- attr_reader :is_published
37
-
38
- sig { params(is_published: T::Boolean).void }
39
- attr_writer :is_published
40
-
41
- # Template language code (e.g., en_US)
42
- sig { returns(T.nilable(String)) }
43
- attr_reader :language
44
-
45
- sig { params(language: String).void }
46
- attr_writer :language
47
-
48
- # Template display name
49
- sig { returns(T.nilable(String)) }
50
- attr_reader :name
51
-
52
- sig { params(name: String).void }
53
- attr_writer :name
54
-
55
- # Template status: APPROVED, PENDING, REJECTED
56
- sig { returns(T.nilable(String)) }
57
- attr_reader :status
58
-
59
- sig { params(status: String).void }
60
- attr_writer :status
61
-
62
- # When the template was last updated
63
- sig { returns(T.nilable(Time)) }
64
- attr_accessor :updated_at
65
-
66
- # Template variables for personalization
67
- sig { returns(T.nilable(T::Array[String])) }
68
- attr_accessor :variables
69
-
70
- # Template response for v3 API
71
- sig do
72
- params(
73
- id: String,
74
- category: String,
75
- channels: T.nilable(T::Array[String]),
76
- created_at: Time,
77
- is_published: T::Boolean,
78
- language: String,
79
- name: String,
80
- status: String,
81
- updated_at: T.nilable(Time),
82
- variables: T.nilable(T::Array[String])
83
- ).returns(T.attached_class)
84
- end
85
- def self.new(
86
- # Unique template identifier
87
- id: nil,
88
- # Template category: MARKETING, UTILITY, AUTHENTICATION
89
- category: nil,
90
- # Supported channels: sms, whatsapp
91
- channels: nil,
92
- # When the template was created
93
- created_at: nil,
94
- # Whether the template is published and active
95
- is_published: nil,
96
- # Template language code (e.g., en_US)
97
- language: nil,
98
- # Template display name
99
- name: nil,
100
- # Template status: APPROVED, PENDING, REJECTED
101
- status: nil,
102
- # When the template was last updated
103
- updated_at: nil,
104
- # Template variables for personalization
105
- variables: nil
106
- )
107
- end
108
-
109
- sig do
110
- override.returns(
111
- {
112
- id: String,
113
- category: String,
114
- channels: T.nilable(T::Array[String]),
115
- created_at: Time,
116
- is_published: T::Boolean,
117
- language: String,
118
- name: String,
119
- status: String,
120
- updated_at: T.nilable(Time),
121
- variables: T.nilable(T::Array[String])
122
- }
123
- )
124
- end
125
- def to_hash
126
- end
127
- end
128
- end
129
- end