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
@@ -13,14 +13,14 @@ module Sentdm
13
13
  # @!attribute error
14
14
  # Error information
15
15
  #
16
- # @return [Sentdm::Models::ErrorDetail, nil]
17
- optional :error, -> { Sentdm::ErrorDetail }, nil?: true
16
+ # @return [Sentdm::Models::ProfileListResponse::Error, nil]
17
+ optional :error, -> { Sentdm::Models::ProfileListResponse::Error }, nil?: true
18
18
 
19
19
  # @!attribute meta
20
20
  # Request and response metadata
21
21
  #
22
- # @return [Sentdm::Models::APIMeta, nil]
23
- optional :meta, -> { Sentdm::APIMeta }
22
+ # @return [Sentdm::Models::ProfileListResponse::Meta, nil]
23
+ optional :meta, -> { Sentdm::Models::ProfileListResponse::Meta }
24
24
 
25
25
  # @!attribute success
26
26
  # Indicates whether the request was successful
@@ -33,9 +33,9 @@ module Sentdm
33
33
  #
34
34
  # @param data [Sentdm::Models::ProfileListResponse::Data, nil] List of profiles response
35
35
  #
36
- # @param error [Sentdm::Models::ErrorDetail, nil] Error information
36
+ # @param error [Sentdm::Models::ProfileListResponse::Error, nil] Error information
37
37
  #
38
- # @param meta [Sentdm::Models::APIMeta] Request and response metadata
38
+ # @param meta [Sentdm::Models::ProfileListResponse::Meta] Request and response metadata
39
39
  #
40
40
  # @param success [Boolean] Indicates whether the request was successful
41
41
 
@@ -44,13 +44,757 @@ module Sentdm
44
44
  # @!attribute profiles
45
45
  # List of profiles in the organization
46
46
  #
47
- # @return [Array<Sentdm::Models::ProfileDetail>, nil]
48
- optional :profiles, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::ProfileDetail] }
47
+ # @return [Array<Sentdm::Models::ProfileListResponse::Data::Profile>, nil]
48
+ optional :profiles,
49
+ -> { Sentdm::Internal::Type::ArrayOf[Sentdm::Models::ProfileListResponse::Data::Profile] }
49
50
 
50
51
  # @!method initialize(profiles: nil)
51
52
  # List of profiles response
52
53
  #
53
- # @param profiles [Array<Sentdm::Models::ProfileDetail>] List of profiles in the organization
54
+ # @param profiles [Array<Sentdm::Models::ProfileListResponse::Data::Profile>] List of profiles in the organization
55
+
56
+ class Profile < Sentdm::Internal::Type::BaseModel
57
+ # @!attribute id
58
+ # Profile unique identifier
59
+ #
60
+ # @return [String, nil]
61
+ optional :id, String
62
+
63
+ # @!attribute allow_contact_sharing
64
+ # Whether contacts are shared across profiles in the organization
65
+ #
66
+ # @return [Boolean, nil]
67
+ optional :allow_contact_sharing, Sentdm::Internal::Type::Boolean
68
+
69
+ # @!attribute allow_number_change_during_onboarding
70
+ # Whether number changes are allowed during onboarding
71
+ #
72
+ # @return [Boolean, nil]
73
+ optional :allow_number_change_during_onboarding, Sentdm::Internal::Type::Boolean, nil?: true
74
+
75
+ # @!attribute allow_template_sharing
76
+ # Whether templates are shared across profiles in the organization
77
+ #
78
+ # @return [Boolean, nil]
79
+ optional :allow_template_sharing, Sentdm::Internal::Type::Boolean
80
+
81
+ # @!attribute billing_contact
82
+ # Billing contact info returned in profile responses
83
+ #
84
+ # @return [Sentdm::Models::ProfileListResponse::Data::Profile::BillingContact, nil]
85
+ optional :billing_contact,
86
+ -> { Sentdm::Models::ProfileListResponse::Data::Profile::BillingContact },
87
+ nil?: true
88
+
89
+ # @!attribute billing_model
90
+ # Billing model: profile, organization, or profile_and_organization
91
+ #
92
+ # @return [String, nil]
93
+ optional :billing_model, String
94
+
95
+ # @!attribute brand
96
+ # Brand response with nested contact, business, and compliance sections — mirrors
97
+ # the request structure.
98
+ #
99
+ # @return [Sentdm::Models::ProfileListResponse::Data::Profile::Brand, nil]
100
+ optional :brand, -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand }, nil?: true
101
+
102
+ # @!attribute created_at
103
+ # When the profile was created
104
+ #
105
+ # @return [Time, nil]
106
+ optional :created_at, Time
107
+
108
+ # @!attribute description
109
+ # Profile description
110
+ #
111
+ # @return [String, nil]
112
+ optional :description, String, nil?: true
113
+
114
+ # @!attribute email
115
+ # Profile email (inherited from organization)
116
+ #
117
+ # @return [String, nil]
118
+ optional :email, String, nil?: true
119
+
120
+ # @!attribute icon
121
+ # Profile icon URL
122
+ #
123
+ # @return [String, nil]
124
+ optional :icon, String, nil?: true
125
+
126
+ # @!attribute inherit_contacts
127
+ # Whether this profile inherits contacts from the organization
128
+ #
129
+ # @return [Boolean, nil]
130
+ optional :inherit_contacts, Sentdm::Internal::Type::Boolean
131
+
132
+ # @!attribute inherit_tcr_brand
133
+ # Whether this profile inherits TCR brand from the organization
134
+ #
135
+ # @return [Boolean, nil]
136
+ optional :inherit_tcr_brand, Sentdm::Internal::Type::Boolean
137
+
138
+ # @!attribute inherit_tcr_campaign
139
+ # Whether this profile inherits TCR campaign from the organization
140
+ #
141
+ # @return [Boolean, nil]
142
+ optional :inherit_tcr_campaign, Sentdm::Internal::Type::Boolean
143
+
144
+ # @!attribute inherit_templates
145
+ # Whether this profile inherits templates from the organization
146
+ #
147
+ # @return [Boolean, nil]
148
+ optional :inherit_templates, Sentdm::Internal::Type::Boolean
149
+
150
+ # @!attribute name
151
+ # Profile name
152
+ #
153
+ # @return [String, nil]
154
+ optional :name, String
155
+
156
+ # @!attribute organization_id
157
+ # Parent organization ID
158
+ #
159
+ # @return [String, nil]
160
+ optional :organization_id, String, nil?: true
161
+
162
+ # @!attribute sending_phone_number
163
+ # Direct SMS phone number
164
+ #
165
+ # @return [String, nil]
166
+ optional :sending_phone_number, String, nil?: true
167
+
168
+ # @!attribute sending_phone_number_profile_id
169
+ # Reference to another profile for SMS/Telnyx configuration
170
+ #
171
+ # @return [String, nil]
172
+ optional :sending_phone_number_profile_id, String, nil?: true
173
+
174
+ # @!attribute sending_whatsapp_number_profile_id
175
+ # Reference to another profile for WhatsApp configuration
176
+ #
177
+ # @return [String, nil]
178
+ optional :sending_whatsapp_number_profile_id, String, nil?: true
179
+
180
+ # @!attribute short_name
181
+ # Profile short name/abbreviation. 3–11 characters: letters, numbers, and spaces
182
+ # only, with at least one letter.
183
+ #
184
+ # @return [String, nil]
185
+ optional :short_name, String, nil?: true
186
+
187
+ # @!attribute status
188
+ # Profile setup status: incomplete, pending_review, approved, rejected
189
+ #
190
+ # @return [String, nil]
191
+ optional :status, String
192
+
193
+ # @!attribute updated_at
194
+ # When the profile was last updated
195
+ #
196
+ # @return [Time, nil]
197
+ optional :updated_at, Time, nil?: true
198
+
199
+ # @!attribute waba_id
200
+ # WhatsApp Business Account ID associated with this profile. Present whether the
201
+ # WABA is inherited from the organization or configured directly.
202
+ #
203
+ # @return [String, nil]
204
+ optional :waba_id, String, nil?: true
205
+
206
+ # @!attribute whatsapp_phone_number
207
+ # Direct WhatsApp phone number
208
+ #
209
+ # @return [String, nil]
210
+ optional :whatsapp_phone_number, String, nil?: true
211
+
212
+ # @!method initialize(id: nil, allow_contact_sharing: nil, allow_number_change_during_onboarding: nil, allow_template_sharing: nil, billing_contact: nil, billing_model: nil, brand: nil, created_at: nil, description: nil, email: nil, icon: nil, inherit_contacts: nil, inherit_tcr_brand: nil, inherit_tcr_campaign: nil, inherit_templates: nil, name: nil, organization_id: nil, sending_phone_number: nil, sending_phone_number_profile_id: nil, sending_whatsapp_number_profile_id: nil, short_name: nil, status: nil, updated_at: nil, waba_id: nil, whatsapp_phone_number: nil)
213
+ # Some parameter documentations has been truncated, see
214
+ # {Sentdm::Models::ProfileListResponse::Data::Profile} for more details.
215
+ #
216
+ # Detailed profile response for v3 API
217
+ #
218
+ # @param id [String] Profile unique identifier
219
+ #
220
+ # @param allow_contact_sharing [Boolean] Whether contacts are shared across profiles in the organization
221
+ #
222
+ # @param allow_number_change_during_onboarding [Boolean, nil] Whether number changes are allowed during onboarding
223
+ #
224
+ # @param allow_template_sharing [Boolean] Whether templates are shared across profiles in the organization
225
+ #
226
+ # @param billing_contact [Sentdm::Models::ProfileListResponse::Data::Profile::BillingContact, nil] Billing contact info returned in profile responses
227
+ #
228
+ # @param billing_model [String] Billing model: profile, organization, or profile_and_organization
229
+ #
230
+ # @param brand [Sentdm::Models::ProfileListResponse::Data::Profile::Brand, nil] Brand response with nested contact, business, and compliance sections — mirrors
231
+ #
232
+ # @param created_at [Time] When the profile was created
233
+ #
234
+ # @param description [String, nil] Profile description
235
+ #
236
+ # @param email [String, nil] Profile email (inherited from organization)
237
+ #
238
+ # @param icon [String, nil] Profile icon URL
239
+ #
240
+ # @param inherit_contacts [Boolean] Whether this profile inherits contacts from the organization
241
+ #
242
+ # @param inherit_tcr_brand [Boolean] Whether this profile inherits TCR brand from the organization
243
+ #
244
+ # @param inherit_tcr_campaign [Boolean] Whether this profile inherits TCR campaign from the organization
245
+ #
246
+ # @param inherit_templates [Boolean] Whether this profile inherits templates from the organization
247
+ #
248
+ # @param name [String] Profile name
249
+ #
250
+ # @param organization_id [String, nil] Parent organization ID
251
+ #
252
+ # @param sending_phone_number [String, nil] Direct SMS phone number
253
+ #
254
+ # @param sending_phone_number_profile_id [String, nil] Reference to another profile for SMS/Telnyx configuration
255
+ #
256
+ # @param sending_whatsapp_number_profile_id [String, nil] Reference to another profile for WhatsApp configuration
257
+ #
258
+ # @param short_name [String, nil] Profile short name/abbreviation. 3–11 characters: letters, numbers, and spaces o
259
+ #
260
+ # @param status [String] Profile setup status: incomplete, pending_review, approved, rejected
261
+ #
262
+ # @param updated_at [Time, nil] When the profile was last updated
263
+ #
264
+ # @param waba_id [String, nil] WhatsApp Business Account ID associated with this profile.
265
+ #
266
+ # @param whatsapp_phone_number [String, nil] Direct WhatsApp phone number
267
+
268
+ # @see Sentdm::Models::ProfileListResponse::Data::Profile#billing_contact
269
+ class BillingContact < Sentdm::Internal::Type::BaseModel
270
+ # @!attribute address
271
+ #
272
+ # @return [String, nil]
273
+ optional :address, String, nil?: true
274
+
275
+ # @!attribute email
276
+ #
277
+ # @return [String, nil]
278
+ optional :email, String, nil?: true
279
+
280
+ # @!attribute name
281
+ #
282
+ # @return [String, nil]
283
+ optional :name, String, nil?: true
284
+
285
+ # @!attribute phone
286
+ #
287
+ # @return [String, nil]
288
+ optional :phone, String, nil?: true
289
+
290
+ # @!method initialize(address: nil, email: nil, name: nil, phone: nil)
291
+ # Billing contact info returned in profile responses
292
+ #
293
+ # @param address [String, nil]
294
+ # @param email [String, nil]
295
+ # @param name [String, nil]
296
+ # @param phone [String, nil]
297
+ end
298
+
299
+ # @see Sentdm::Models::ProfileListResponse::Data::Profile#brand
300
+ class Brand < Sentdm::Internal::Type::BaseModel
301
+ # @!attribute id
302
+ # Unique identifier for the brand
303
+ #
304
+ # @return [String, nil]
305
+ optional :id, String
306
+
307
+ # @!attribute business
308
+ # Business details and address information
309
+ #
310
+ # @return [Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Business, nil]
311
+ optional :business, -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Business }, nil?: true
312
+
313
+ # @!attribute compliance
314
+ # Compliance and TCR-related information
315
+ #
316
+ # @return [Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance, nil]
317
+ optional :compliance,
318
+ -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance },
319
+ nil?: true
320
+
321
+ # @!attribute contact
322
+ # Contact information for the brand
323
+ #
324
+ # @return [Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Contact, nil]
325
+ optional :contact, -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Contact }, nil?: true
326
+
327
+ # @!attribute created_at
328
+ # When the brand was created
329
+ #
330
+ # @return [Time, nil]
331
+ optional :created_at, Time
332
+
333
+ # @!attribute csp_id
334
+ # CSP (Campaign Service Provider) ID
335
+ #
336
+ # @return [String, nil]
337
+ optional :csp_id, String, nil?: true
338
+
339
+ # @!attribute identity_status
340
+ #
341
+ # @return [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::IdentityStatus, nil]
342
+ optional :identity_status,
343
+ enum: -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand::IdentityStatus },
344
+ nil?: true
345
+
346
+ # @!attribute is_inherited
347
+ # Whether this brand is inherited from the parent organization
348
+ #
349
+ # @return [Boolean, nil]
350
+ optional :is_inherited, Sentdm::Internal::Type::Boolean
351
+
352
+ # @!attribute status
353
+ #
354
+ # @return [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Status, nil]
355
+ optional :status,
356
+ enum: -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Status },
357
+ nil?: true
358
+
359
+ # @!attribute submitted_at
360
+ # When the brand was submitted to TCR
361
+ #
362
+ # @return [Time, nil]
363
+ optional :submitted_at, Time, nil?: true
364
+
365
+ # @!attribute submitted_to_tcr
366
+ # Whether this brand has been submitted to TCR
367
+ #
368
+ # @return [Boolean, nil]
369
+ optional :submitted_to_tcr, Sentdm::Internal::Type::Boolean
370
+
371
+ # @!attribute tcr_brand_id
372
+ # TCR brand ID (populated after TCR submission)
373
+ #
374
+ # @return [String, nil]
375
+ optional :tcr_brand_id, String, nil?: true
376
+
377
+ # @!attribute universal_ein
378
+ # Universal EIN from TCR
379
+ #
380
+ # @return [String, nil]
381
+ optional :universal_ein, String, nil?: true
382
+
383
+ # @!attribute updated_at
384
+ # When the brand was last updated
385
+ #
386
+ # @return [Time, nil]
387
+ optional :updated_at, Time, nil?: true
388
+
389
+ # @!method initialize(id: nil, business: nil, compliance: nil, contact: nil, created_at: nil, csp_id: nil, identity_status: nil, is_inherited: nil, status: nil, submitted_at: nil, submitted_to_tcr: nil, tcr_brand_id: nil, universal_ein: nil, updated_at: nil)
390
+ # Brand response with nested contact, business, and compliance sections — mirrors
391
+ # the request structure.
392
+ #
393
+ # @param id [String] Unique identifier for the brand
394
+ #
395
+ # @param business [Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Business, nil] Business details and address information
396
+ #
397
+ # @param compliance [Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance, nil] Compliance and TCR-related information
398
+ #
399
+ # @param contact [Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Contact, nil] Contact information for the brand
400
+ #
401
+ # @param created_at [Time] When the brand was created
402
+ #
403
+ # @param csp_id [String, nil] CSP (Campaign Service Provider) ID
404
+ #
405
+ # @param identity_status [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::IdentityStatus, nil]
406
+ #
407
+ # @param is_inherited [Boolean] Whether this brand is inherited from the parent organization
408
+ #
409
+ # @param status [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Status, nil]
410
+ #
411
+ # @param submitted_at [Time, nil] When the brand was submitted to TCR
412
+ #
413
+ # @param submitted_to_tcr [Boolean] Whether this brand has been submitted to TCR
414
+ #
415
+ # @param tcr_brand_id [String, nil] TCR brand ID (populated after TCR submission)
416
+ #
417
+ # @param universal_ein [String, nil] Universal EIN from TCR
418
+ #
419
+ # @param updated_at [Time, nil] When the brand was last updated
420
+
421
+ # @see Sentdm::Models::ProfileListResponse::Data::Profile::Brand#business
422
+ class Business < Sentdm::Internal::Type::BaseModel
423
+ # @!attribute city
424
+ # City
425
+ #
426
+ # @return [String, nil]
427
+ optional :city, String, nil?: true
428
+
429
+ # @!attribute country
430
+ # Country code (e.g., US, CA)
431
+ #
432
+ # @return [String, nil]
433
+ optional :country, String, nil?: true
434
+
435
+ # @!attribute country_of_registration
436
+ # Country where the business is registered
437
+ #
438
+ # @return [String, nil]
439
+ optional :country_of_registration, String, nil?: true
440
+
441
+ # @!attribute entity_type
442
+ # Business entity type
443
+ #
444
+ # @return [String, nil]
445
+ optional :entity_type, String, nil?: true
446
+
447
+ # @!attribute legal_name
448
+ # Legal business name
449
+ #
450
+ # @return [String, nil]
451
+ optional :legal_name, String, nil?: true
452
+
453
+ # @!attribute postal_code
454
+ # Postal/ZIP code
455
+ #
456
+ # @return [String, nil]
457
+ optional :postal_code, String, nil?: true
458
+
459
+ # @!attribute state
460
+ # State/province code
461
+ #
462
+ # @return [String, nil]
463
+ optional :state, String, nil?: true
464
+
465
+ # @!attribute street
466
+ # Street address
467
+ #
468
+ # @return [String, nil]
469
+ optional :street, String, nil?: true
470
+
471
+ # @!attribute tax_id
472
+ # Tax ID/EIN number
473
+ #
474
+ # @return [String, nil]
475
+ optional :tax_id, String, nil?: true
476
+
477
+ # @!attribute tax_id_type
478
+ # Type of tax ID (e.g., us_ein, ca_bn)
479
+ #
480
+ # @return [String, nil]
481
+ optional :tax_id_type, String, nil?: true
482
+
483
+ # @!attribute url
484
+ # Business website URL
485
+ #
486
+ # @return [String, nil]
487
+ optional :url, String, nil?: true
488
+
489
+ # @!method initialize(city: nil, country: nil, country_of_registration: nil, entity_type: nil, legal_name: nil, postal_code: nil, state: nil, street: nil, tax_id: nil, tax_id_type: nil, url: nil)
490
+ # Business details and address information
491
+ #
492
+ # @param city [String, nil] City
493
+ #
494
+ # @param country [String, nil] Country code (e.g., US, CA)
495
+ #
496
+ # @param country_of_registration [String, nil] Country where the business is registered
497
+ #
498
+ # @param entity_type [String, nil] Business entity type
499
+ #
500
+ # @param legal_name [String, nil] Legal business name
501
+ #
502
+ # @param postal_code [String, nil] Postal/ZIP code
503
+ #
504
+ # @param state [String, nil] State/province code
505
+ #
506
+ # @param street [String, nil] Street address
507
+ #
508
+ # @param tax_id [String, nil] Tax ID/EIN number
509
+ #
510
+ # @param tax_id_type [String, nil] Type of tax ID (e.g., us_ein, ca_bn)
511
+ #
512
+ # @param url [String, nil] Business website URL
513
+ end
514
+
515
+ # @see Sentdm::Models::ProfileListResponse::Data::Profile::Brand#compliance
516
+ class Compliance < Sentdm::Internal::Type::BaseModel
517
+ # @!attribute brand_relationship
518
+ #
519
+ # @return [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::BrandRelationship, nil]
520
+ optional :brand_relationship,
521
+ enum: -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::BrandRelationship },
522
+ nil?: true
523
+
524
+ # @!attribute destination_countries
525
+ # List of destination countries for messaging
526
+ #
527
+ # @return [Array<Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::DestinationCountry>, nil]
528
+ optional :destination_countries,
529
+ -> { Sentdm::Internal::Type::ArrayOf[Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::DestinationCountry] }
530
+
531
+ # @!attribute expected_messaging_volume
532
+ # Expected daily messaging volume
533
+ #
534
+ # @return [String, nil]
535
+ optional :expected_messaging_volume, String, nil?: true
536
+
537
+ # @!attribute is_tcr_application
538
+ # Whether this is a TCR (Campaign Registry) application
539
+ #
540
+ # @return [Boolean, nil]
541
+ optional :is_tcr_application, Sentdm::Internal::Type::Boolean
542
+
543
+ # @!attribute notes
544
+ # Additional notes about the business or use case
545
+ #
546
+ # @return [String, nil]
547
+ optional :notes, String, nil?: true
548
+
549
+ # @!attribute phone_number_prefix
550
+ # Phone number prefix for messaging (e.g., "+1")
551
+ #
552
+ # @return [String, nil]
553
+ optional :phone_number_prefix, String, nil?: true
554
+
555
+ # @!attribute primary_use_case
556
+ # Primary messaging use case description
557
+ #
558
+ # @return [String, nil]
559
+ optional :primary_use_case, String, nil?: true
560
+
561
+ # @!attribute vertical
562
+ #
563
+ # @return [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::Vertical, nil]
564
+ optional :vertical,
565
+ enum: -> { Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::Vertical },
566
+ nil?: true
567
+
568
+ # @!method initialize(brand_relationship: nil, destination_countries: nil, expected_messaging_volume: nil, is_tcr_application: nil, notes: nil, phone_number_prefix: nil, primary_use_case: nil, vertical: nil)
569
+ # Compliance and TCR-related information
570
+ #
571
+ # @param brand_relationship [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::BrandRelationship, nil]
572
+ #
573
+ # @param destination_countries [Array<Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::DestinationCountry>] List of destination countries for messaging
574
+ #
575
+ # @param expected_messaging_volume [String, nil] Expected daily messaging volume
576
+ #
577
+ # @param is_tcr_application [Boolean] Whether this is a TCR (Campaign Registry) application
578
+ #
579
+ # @param notes [String, nil] Additional notes about the business or use case
580
+ #
581
+ # @param phone_number_prefix [String, nil] Phone number prefix for messaging (e.g., "+1")
582
+ #
583
+ # @param primary_use_case [String, nil] Primary messaging use case description
584
+ #
585
+ # @param vertical [Symbol, Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::Vertical, nil]
586
+
587
+ # @see Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance#brand_relationship
588
+ module BrandRelationship
589
+ extend Sentdm::Internal::Type::Enum
590
+
591
+ BASIC_ACCOUNT = :BASIC_ACCOUNT
592
+ MEDIUM_ACCOUNT = :MEDIUM_ACCOUNT
593
+ LARGE_ACCOUNT = :LARGE_ACCOUNT
594
+ SMALL_ACCOUNT = :SMALL_ACCOUNT
595
+ KEY_ACCOUNT = :KEY_ACCOUNT
596
+
597
+ # @!method self.values
598
+ # @return [Array<Symbol>]
599
+ end
600
+
601
+ class DestinationCountry < Sentdm::Internal::Type::BaseModel
602
+ # @!attribute id
603
+ #
604
+ # @return [String, nil]
605
+ optional :id, String
606
+
607
+ # @!attribute is_main
608
+ #
609
+ # @return [Boolean, nil]
610
+ optional :is_main, Sentdm::Internal::Type::Boolean, api_name: :isMain
611
+
612
+ # @!method initialize(id: nil, is_main: nil)
613
+ # @param id [String]
614
+ # @param is_main [Boolean]
615
+ end
616
+
617
+ # @see Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance#vertical
618
+ module Vertical
619
+ extend Sentdm::Internal::Type::Enum
620
+
621
+ PROFESSIONAL = :PROFESSIONAL
622
+ REAL_ESTATE = :REAL_ESTATE
623
+ HEALTHCARE = :HEALTHCARE
624
+ HUMAN_RESOURCES = :HUMAN_RESOURCES
625
+ ENERGY = :ENERGY
626
+ ENTERTAINMENT = :ENTERTAINMENT
627
+ RETAIL = :RETAIL
628
+ TRANSPORTATION = :TRANSPORTATION
629
+ AGRICULTURE = :AGRICULTURE
630
+ INSURANCE = :INSURANCE
631
+ POSTAL = :POSTAL
632
+ EDUCATION = :EDUCATION
633
+ HOSPITALITY = :HOSPITALITY
634
+ FINANCIAL = :FINANCIAL
635
+ POLITICAL = :POLITICAL
636
+ GAMBLING = :GAMBLING
637
+ LEGAL = :LEGAL
638
+ CONSTRUCTION = :CONSTRUCTION
639
+ NGO = :NGO
640
+ MANUFACTURING = :MANUFACTURING
641
+ GOVERNMENT = :GOVERNMENT
642
+ TECHNOLOGY = :TECHNOLOGY
643
+ COMMUNICATION = :COMMUNICATION
644
+
645
+ # @!method self.values
646
+ # @return [Array<Symbol>]
647
+ end
648
+ end
649
+
650
+ # @see Sentdm::Models::ProfileListResponse::Data::Profile::Brand#contact
651
+ class Contact < Sentdm::Internal::Type::BaseModel
652
+ # @!attribute business_name
653
+ # Business/brand name
654
+ #
655
+ # @return [String, nil]
656
+ optional :business_name, String, nil?: true
657
+
658
+ # @!attribute email
659
+ # Contact email address
660
+ #
661
+ # @return [String, nil]
662
+ optional :email, String, nil?: true
663
+
664
+ # @!attribute name
665
+ # Primary contact name
666
+ #
667
+ # @return [String, nil]
668
+ optional :name, String
669
+
670
+ # @!attribute phone
671
+ # Contact phone number in E.164 format
672
+ #
673
+ # @return [String, nil]
674
+ optional :phone, String, nil?: true
675
+
676
+ # @!attribute phone_country_code
677
+ # Contact phone country code (e.g., "1" for US)
678
+ #
679
+ # @return [String, nil]
680
+ optional :phone_country_code, String, nil?: true
681
+
682
+ # @!attribute role
683
+ # Contact's role in the business
684
+ #
685
+ # @return [String, nil]
686
+ optional :role, String, nil?: true
687
+
688
+ # @!method initialize(business_name: nil, email: nil, name: nil, phone: nil, phone_country_code: nil, role: nil)
689
+ # Contact information for the brand
690
+ #
691
+ # @param business_name [String, nil] Business/brand name
692
+ #
693
+ # @param email [String, nil] Contact email address
694
+ #
695
+ # @param name [String] Primary contact name
696
+ #
697
+ # @param phone [String, nil] Contact phone number in E.164 format
698
+ #
699
+ # @param phone_country_code [String, nil] Contact phone country code (e.g., "1" for US)
700
+ #
701
+ # @param role [String, nil] Contact's role in the business
702
+ end
703
+
704
+ # @see Sentdm::Models::ProfileListResponse::Data::Profile::Brand#identity_status
705
+ module IdentityStatus
706
+ extend Sentdm::Internal::Type::Enum
707
+
708
+ SELF_DECLARED = :SELF_DECLARED
709
+ UNVERIFIED = :UNVERIFIED
710
+ VERIFIED = :VERIFIED
711
+ VETTED_VERIFIED = :VETTED_VERIFIED
712
+
713
+ # @!method self.values
714
+ # @return [Array<Symbol>]
715
+ end
716
+
717
+ # @see Sentdm::Models::ProfileListResponse::Data::Profile::Brand#status
718
+ module Status
719
+ extend Sentdm::Internal::Type::Enum
720
+
721
+ ACTIVE = :ACTIVE
722
+ INACTIVE = :INACTIVE
723
+ SUSPENDED = :SUSPENDED
724
+
725
+ # @!method self.values
726
+ # @return [Array<Symbol>]
727
+ end
728
+ end
729
+ end
730
+ end
731
+
732
+ # @see Sentdm::Models::ProfileListResponse#error
733
+ class Error < Sentdm::Internal::Type::BaseModel
734
+ # @!attribute code
735
+ # Machine-readable error code (e.g., "RESOURCE_001")
736
+ #
737
+ # @return [String, nil]
738
+ optional :code, String
739
+
740
+ # @!attribute details
741
+ # Additional validation error details (field-level errors)
742
+ #
743
+ # @return [Hash{Symbol=>Array<String>}, nil]
744
+ optional :details, Sentdm::Internal::Type::HashOf[Sentdm::Internal::Type::ArrayOf[String]], nil?: true
745
+
746
+ # @!attribute doc_url
747
+ # URL to documentation about this error
748
+ #
749
+ # @return [String, nil]
750
+ optional :doc_url, String, nil?: true
751
+
752
+ # @!attribute message
753
+ # Human-readable error message
754
+ #
755
+ # @return [String, nil]
756
+ optional :message, String
757
+
758
+ # @!method initialize(code: nil, details: nil, doc_url: nil, message: nil)
759
+ # Error information
760
+ #
761
+ # @param code [String] Machine-readable error code (e.g., "RESOURCE_001")
762
+ #
763
+ # @param details [Hash{Symbol=>Array<String>}, nil] Additional validation error details (field-level errors)
764
+ #
765
+ # @param doc_url [String, nil] URL to documentation about this error
766
+ #
767
+ # @param message [String] Human-readable error message
768
+ end
769
+
770
+ # @see Sentdm::Models::ProfileListResponse#meta
771
+ class Meta < Sentdm::Internal::Type::BaseModel
772
+ # @!attribute request_id
773
+ # Unique identifier for this request (for tracing and support)
774
+ #
775
+ # @return [String, nil]
776
+ optional :request_id, String
777
+
778
+ # @!attribute timestamp
779
+ # Server timestamp when the response was generated
780
+ #
781
+ # @return [Time, nil]
782
+ optional :timestamp, Time
783
+
784
+ # @!attribute version
785
+ # API version used for this request
786
+ #
787
+ # @return [String, nil]
788
+ optional :version, String
789
+
790
+ # @!method initialize(request_id: nil, timestamp: nil, version: nil)
791
+ # Request and response metadata
792
+ #
793
+ # @param request_id [String] Unique identifier for this request (for tracing and support)
794
+ #
795
+ # @param timestamp [Time] Server timestamp when the response was generated
796
+ #
797
+ # @param version [String] API version used for this request
54
798
  end
55
799
  end
56
800
  end