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
@@ -3,19 +3,21 @@ module Sentdm
3
3
  type profile_list_response =
4
4
  {
5
5
  data: Sentdm::Models::ProfileListResponse::Data?,
6
- error: Sentdm::ErrorDetail?,
7
- meta: Sentdm::APIMeta,
6
+ error: Sentdm::Models::ProfileListResponse::Error?,
7
+ meta: Sentdm::Models::ProfileListResponse::Meta,
8
8
  success: bool
9
9
  }
10
10
 
11
11
  class ProfileListResponse < Sentdm::Internal::Type::BaseModel
12
12
  attr_accessor data: Sentdm::Models::ProfileListResponse::Data?
13
13
 
14
- attr_accessor error: Sentdm::ErrorDetail?
14
+ attr_accessor error: Sentdm::Models::ProfileListResponse::Error?
15
15
 
16
- attr_reader meta: Sentdm::APIMeta?
16
+ attr_reader meta: Sentdm::Models::ProfileListResponse::Meta?
17
17
 
18
- def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
18
+ def meta=: (
19
+ Sentdm::Models::ProfileListResponse::Meta
20
+ ) -> Sentdm::Models::ProfileListResponse::Meta
19
21
 
20
22
  attr_reader success: bool?
21
23
 
@@ -23,30 +25,658 @@ module Sentdm
23
25
 
24
26
  def initialize: (
25
27
  ?data: Sentdm::Models::ProfileListResponse::Data?,
26
- ?error: Sentdm::ErrorDetail?,
27
- ?meta: Sentdm::APIMeta,
28
+ ?error: Sentdm::Models::ProfileListResponse::Error?,
29
+ ?meta: Sentdm::Models::ProfileListResponse::Meta,
28
30
  ?success: bool
29
31
  ) -> void
30
32
 
31
33
  def to_hash: -> {
32
34
  data: Sentdm::Models::ProfileListResponse::Data?,
33
- error: Sentdm::ErrorDetail?,
34
- meta: Sentdm::APIMeta,
35
+ error: Sentdm::Models::ProfileListResponse::Error?,
36
+ meta: Sentdm::Models::ProfileListResponse::Meta,
35
37
  success: bool
36
38
  }
37
39
 
38
- type data = { profiles: ::Array[Sentdm::ProfileDetail] }
40
+ type data =
41
+ {
42
+ profiles: ::Array[Sentdm::Models::ProfileListResponse::Data::Profile]
43
+ }
39
44
 
40
45
  class Data < Sentdm::Internal::Type::BaseModel
41
- attr_reader profiles: ::Array[Sentdm::ProfileDetail]?
46
+ attr_reader profiles: ::Array[Sentdm::Models::ProfileListResponse::Data::Profile]?
42
47
 
43
48
  def profiles=: (
44
- ::Array[Sentdm::ProfileDetail]
45
- ) -> ::Array[Sentdm::ProfileDetail]
49
+ ::Array[Sentdm::Models::ProfileListResponse::Data::Profile]
50
+ ) -> ::Array[Sentdm::Models::ProfileListResponse::Data::Profile]
46
51
 
47
- def initialize: (?profiles: ::Array[Sentdm::ProfileDetail]) -> void
52
+ def initialize: (
53
+ ?profiles: ::Array[Sentdm::Models::ProfileListResponse::Data::Profile]
54
+ ) -> void
48
55
 
49
- def to_hash: -> { profiles: ::Array[Sentdm::ProfileDetail] }
56
+ def to_hash: -> {
57
+ profiles: ::Array[Sentdm::Models::ProfileListResponse::Data::Profile]
58
+ }
59
+
60
+ type profile =
61
+ {
62
+ id: String,
63
+ allow_contact_sharing: bool,
64
+ allow_number_change_during_onboarding: bool?,
65
+ allow_template_sharing: bool,
66
+ billing_contact: Sentdm::Models::ProfileListResponse::Data::Profile::BillingContact?,
67
+ billing_model: String,
68
+ brand: Sentdm::Models::ProfileListResponse::Data::Profile::Brand?,
69
+ created_at: Time,
70
+ description: String?,
71
+ email: String?,
72
+ icon: String?,
73
+ inherit_contacts: bool,
74
+ inherit_tcr_brand: bool,
75
+ inherit_tcr_campaign: bool,
76
+ inherit_templates: bool,
77
+ name: String,
78
+ organization_id: String?,
79
+ sending_phone_number: String?,
80
+ sending_phone_number_profile_id: String?,
81
+ sending_whatsapp_number_profile_id: String?,
82
+ short_name: String?,
83
+ status: String,
84
+ updated_at: Time?,
85
+ waba_id: String?,
86
+ whatsapp_phone_number: String?
87
+ }
88
+
89
+ class Profile < Sentdm::Internal::Type::BaseModel
90
+ attr_reader id: String?
91
+
92
+ def id=: (String) -> String
93
+
94
+ attr_reader allow_contact_sharing: bool?
95
+
96
+ def allow_contact_sharing=: (bool) -> bool
97
+
98
+ attr_accessor allow_number_change_during_onboarding: bool?
99
+
100
+ attr_reader allow_template_sharing: bool?
101
+
102
+ def allow_template_sharing=: (bool) -> bool
103
+
104
+ attr_accessor billing_contact: Sentdm::Models::ProfileListResponse::Data::Profile::BillingContact?
105
+
106
+ attr_reader billing_model: String?
107
+
108
+ def billing_model=: (String) -> String
109
+
110
+ attr_accessor brand: Sentdm::Models::ProfileListResponse::Data::Profile::Brand?
111
+
112
+ attr_reader created_at: Time?
113
+
114
+ def created_at=: (Time) -> Time
115
+
116
+ attr_accessor description: String?
117
+
118
+ attr_accessor email: String?
119
+
120
+ attr_accessor icon: String?
121
+
122
+ attr_reader inherit_contacts: bool?
123
+
124
+ def inherit_contacts=: (bool) -> bool
125
+
126
+ attr_reader inherit_tcr_brand: bool?
127
+
128
+ def inherit_tcr_brand=: (bool) -> bool
129
+
130
+ attr_reader inherit_tcr_campaign: bool?
131
+
132
+ def inherit_tcr_campaign=: (bool) -> bool
133
+
134
+ attr_reader inherit_templates: bool?
135
+
136
+ def inherit_templates=: (bool) -> bool
137
+
138
+ attr_reader name: String?
139
+
140
+ def name=: (String) -> String
141
+
142
+ attr_accessor organization_id: String?
143
+
144
+ attr_accessor sending_phone_number: String?
145
+
146
+ attr_accessor sending_phone_number_profile_id: String?
147
+
148
+ attr_accessor sending_whatsapp_number_profile_id: String?
149
+
150
+ attr_accessor short_name: String?
151
+
152
+ attr_reader status: String?
153
+
154
+ def status=: (String) -> String
155
+
156
+ attr_accessor updated_at: Time?
157
+
158
+ attr_accessor waba_id: String?
159
+
160
+ attr_accessor whatsapp_phone_number: String?
161
+
162
+ def initialize: (
163
+ ?id: String,
164
+ ?allow_contact_sharing: bool,
165
+ ?allow_number_change_during_onboarding: bool?,
166
+ ?allow_template_sharing: bool,
167
+ ?billing_contact: Sentdm::Models::ProfileListResponse::Data::Profile::BillingContact?,
168
+ ?billing_model: String,
169
+ ?brand: Sentdm::Models::ProfileListResponse::Data::Profile::Brand?,
170
+ ?created_at: Time,
171
+ ?description: String?,
172
+ ?email: String?,
173
+ ?icon: String?,
174
+ ?inherit_contacts: bool,
175
+ ?inherit_tcr_brand: bool,
176
+ ?inherit_tcr_campaign: bool,
177
+ ?inherit_templates: bool,
178
+ ?name: String,
179
+ ?organization_id: String?,
180
+ ?sending_phone_number: String?,
181
+ ?sending_phone_number_profile_id: String?,
182
+ ?sending_whatsapp_number_profile_id: String?,
183
+ ?short_name: String?,
184
+ ?status: String,
185
+ ?updated_at: Time?,
186
+ ?waba_id: String?,
187
+ ?whatsapp_phone_number: String?
188
+ ) -> void
189
+
190
+ def to_hash: -> {
191
+ id: String,
192
+ allow_contact_sharing: bool,
193
+ allow_number_change_during_onboarding: bool?,
194
+ allow_template_sharing: bool,
195
+ billing_contact: Sentdm::Models::ProfileListResponse::Data::Profile::BillingContact?,
196
+ billing_model: String,
197
+ brand: Sentdm::Models::ProfileListResponse::Data::Profile::Brand?,
198
+ created_at: Time,
199
+ description: String?,
200
+ email: String?,
201
+ icon: String?,
202
+ inherit_contacts: bool,
203
+ inherit_tcr_brand: bool,
204
+ inherit_tcr_campaign: bool,
205
+ inherit_templates: bool,
206
+ name: String,
207
+ organization_id: String?,
208
+ sending_phone_number: String?,
209
+ sending_phone_number_profile_id: String?,
210
+ sending_whatsapp_number_profile_id: String?,
211
+ short_name: String?,
212
+ status: String,
213
+ updated_at: Time?,
214
+ waba_id: String?,
215
+ whatsapp_phone_number: String?
216
+ }
217
+
218
+ type billing_contact =
219
+ { address: String?, email: String?, name: String?, phone: String? }
220
+
221
+ class BillingContact < Sentdm::Internal::Type::BaseModel
222
+ attr_accessor address: String?
223
+
224
+ attr_accessor email: String?
225
+
226
+ attr_accessor name: String?
227
+
228
+ attr_accessor phone: String?
229
+
230
+ def initialize: (
231
+ ?address: String?,
232
+ ?email: String?,
233
+ ?name: String?,
234
+ ?phone: String?
235
+ ) -> void
236
+
237
+ def to_hash: -> {
238
+ address: String?,
239
+ email: String?,
240
+ name: String?,
241
+ phone: String?
242
+ }
243
+ end
244
+
245
+ type brand =
246
+ {
247
+ id: String,
248
+ business: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Business?,
249
+ compliance: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance?,
250
+ contact: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Contact?,
251
+ created_at: Time,
252
+ csp_id: String?,
253
+ identity_status: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::identity_status?,
254
+ is_inherited: bool,
255
+ status: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::status?,
256
+ submitted_at: Time?,
257
+ submitted_to_tcr: bool,
258
+ tcr_brand_id: String?,
259
+ universal_ein: String?,
260
+ updated_at: Time?
261
+ }
262
+
263
+ class Brand < Sentdm::Internal::Type::BaseModel
264
+ attr_reader id: String?
265
+
266
+ def id=: (String) -> String
267
+
268
+ attr_accessor business: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Business?
269
+
270
+ attr_accessor compliance: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance?
271
+
272
+ attr_accessor contact: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Contact?
273
+
274
+ attr_reader created_at: Time?
275
+
276
+ def created_at=: (Time) -> Time
277
+
278
+ attr_accessor csp_id: String?
279
+
280
+ attr_accessor identity_status: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::identity_status?
281
+
282
+ attr_reader is_inherited: bool?
283
+
284
+ def is_inherited=: (bool) -> bool
285
+
286
+ attr_accessor status: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::status?
287
+
288
+ attr_accessor submitted_at: Time?
289
+
290
+ attr_reader submitted_to_tcr: bool?
291
+
292
+ def submitted_to_tcr=: (bool) -> bool
293
+
294
+ attr_accessor tcr_brand_id: String?
295
+
296
+ attr_accessor universal_ein: String?
297
+
298
+ attr_accessor updated_at: Time?
299
+
300
+ def initialize: (
301
+ ?id: String,
302
+ ?business: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Business?,
303
+ ?compliance: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance?,
304
+ ?contact: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Contact?,
305
+ ?created_at: Time,
306
+ ?csp_id: String?,
307
+ ?identity_status: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::identity_status?,
308
+ ?is_inherited: bool,
309
+ ?status: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::status?,
310
+ ?submitted_at: Time?,
311
+ ?submitted_to_tcr: bool,
312
+ ?tcr_brand_id: String?,
313
+ ?universal_ein: String?,
314
+ ?updated_at: Time?
315
+ ) -> void
316
+
317
+ def to_hash: -> {
318
+ id: String,
319
+ business: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Business?,
320
+ compliance: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance?,
321
+ contact: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Contact?,
322
+ created_at: Time,
323
+ csp_id: String?,
324
+ identity_status: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::identity_status?,
325
+ is_inherited: bool,
326
+ status: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::status?,
327
+ submitted_at: Time?,
328
+ submitted_to_tcr: bool,
329
+ tcr_brand_id: String?,
330
+ universal_ein: String?,
331
+ updated_at: Time?
332
+ }
333
+
334
+ type business =
335
+ {
336
+ city: String?,
337
+ country: String?,
338
+ country_of_registration: String?,
339
+ entity_type: String?,
340
+ legal_name: String?,
341
+ postal_code: String?,
342
+ state: String?,
343
+ street: String?,
344
+ tax_id: String?,
345
+ tax_id_type: String?,
346
+ url: String?
347
+ }
348
+
349
+ class Business < Sentdm::Internal::Type::BaseModel
350
+ attr_accessor city: String?
351
+
352
+ attr_accessor country: String?
353
+
354
+ attr_accessor country_of_registration: String?
355
+
356
+ attr_accessor entity_type: String?
357
+
358
+ attr_accessor legal_name: String?
359
+
360
+ attr_accessor postal_code: String?
361
+
362
+ attr_accessor state: String?
363
+
364
+ attr_accessor street: String?
365
+
366
+ attr_accessor tax_id: String?
367
+
368
+ attr_accessor tax_id_type: String?
369
+
370
+ attr_accessor url: String?
371
+
372
+ def initialize: (
373
+ ?city: String?,
374
+ ?country: String?,
375
+ ?country_of_registration: String?,
376
+ ?entity_type: String?,
377
+ ?legal_name: String?,
378
+ ?postal_code: String?,
379
+ ?state: String?,
380
+ ?street: String?,
381
+ ?tax_id: String?,
382
+ ?tax_id_type: String?,
383
+ ?url: String?
384
+ ) -> void
385
+
386
+ def to_hash: -> {
387
+ city: String?,
388
+ country: String?,
389
+ country_of_registration: String?,
390
+ entity_type: String?,
391
+ legal_name: String?,
392
+ postal_code: String?,
393
+ state: String?,
394
+ street: String?,
395
+ tax_id: String?,
396
+ tax_id_type: String?,
397
+ url: String?
398
+ }
399
+ end
400
+
401
+ type compliance =
402
+ {
403
+ brand_relationship: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::brand_relationship?,
404
+ destination_countries: ::Array[Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::DestinationCountry],
405
+ expected_messaging_volume: String?,
406
+ is_tcr_application: bool,
407
+ notes: String?,
408
+ phone_number_prefix: String?,
409
+ primary_use_case: String?,
410
+ vertical: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::vertical?
411
+ }
412
+
413
+ class Compliance < Sentdm::Internal::Type::BaseModel
414
+ attr_accessor brand_relationship: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::brand_relationship?
415
+
416
+ attr_reader destination_countries: ::Array[Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::DestinationCountry]?
417
+
418
+ def destination_countries=: (
419
+ ::Array[Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::DestinationCountry]
420
+ ) -> ::Array[Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::DestinationCountry]
421
+
422
+ attr_accessor expected_messaging_volume: String?
423
+
424
+ attr_reader is_tcr_application: bool?
425
+
426
+ def is_tcr_application=: (bool) -> bool
427
+
428
+ attr_accessor notes: String?
429
+
430
+ attr_accessor phone_number_prefix: String?
431
+
432
+ attr_accessor primary_use_case: String?
433
+
434
+ attr_accessor vertical: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::vertical?
435
+
436
+ def initialize: (
437
+ ?brand_relationship: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::brand_relationship?,
438
+ ?destination_countries: ::Array[Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::DestinationCountry],
439
+ ?expected_messaging_volume: String?,
440
+ ?is_tcr_application: bool,
441
+ ?notes: String?,
442
+ ?phone_number_prefix: String?,
443
+ ?primary_use_case: String?,
444
+ ?vertical: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::vertical?
445
+ ) -> void
446
+
447
+ def to_hash: -> {
448
+ brand_relationship: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::brand_relationship?,
449
+ destination_countries: ::Array[Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::DestinationCountry],
450
+ expected_messaging_volume: String?,
451
+ is_tcr_application: bool,
452
+ notes: String?,
453
+ phone_number_prefix: String?,
454
+ primary_use_case: String?,
455
+ vertical: Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::vertical?
456
+ }
457
+
458
+ type brand_relationship =
459
+ :BASIC_ACCOUNT
460
+ | :MEDIUM_ACCOUNT
461
+ | :LARGE_ACCOUNT
462
+ | :SMALL_ACCOUNT
463
+ | :KEY_ACCOUNT
464
+
465
+ module BrandRelationship
466
+ extend Sentdm::Internal::Type::Enum
467
+
468
+ BASIC_ACCOUNT: :BASIC_ACCOUNT
469
+ MEDIUM_ACCOUNT: :MEDIUM_ACCOUNT
470
+ LARGE_ACCOUNT: :LARGE_ACCOUNT
471
+ SMALL_ACCOUNT: :SMALL_ACCOUNT
472
+ KEY_ACCOUNT: :KEY_ACCOUNT
473
+
474
+ def self?.values: -> ::Array[Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::brand_relationship]
475
+ end
476
+
477
+ type destination_country = { id: String, is_main: bool }
478
+
479
+ class DestinationCountry < Sentdm::Internal::Type::BaseModel
480
+ attr_reader id: String?
481
+
482
+ def id=: (String) -> String
483
+
484
+ attr_reader is_main: bool?
485
+
486
+ def is_main=: (bool) -> bool
487
+
488
+ def initialize: (?id: String, ?is_main: bool) -> void
489
+
490
+ def to_hash: -> { id: String, is_main: bool }
491
+ end
492
+
493
+ type vertical =
494
+ :PROFESSIONAL
495
+ | :REAL_ESTATE
496
+ | :HEALTHCARE
497
+ | :HUMAN_RESOURCES
498
+ | :ENERGY
499
+ | :ENTERTAINMENT
500
+ | :RETAIL
501
+ | :TRANSPORTATION
502
+ | :AGRICULTURE
503
+ | :INSURANCE
504
+ | :POSTAL
505
+ | :EDUCATION
506
+ | :HOSPITALITY
507
+ | :FINANCIAL
508
+ | :POLITICAL
509
+ | :GAMBLING
510
+ | :LEGAL
511
+ | :CONSTRUCTION
512
+ | :NGO
513
+ | :MANUFACTURING
514
+ | :GOVERNMENT
515
+ | :TECHNOLOGY
516
+ | :COMMUNICATION
517
+
518
+ module Vertical
519
+ extend Sentdm::Internal::Type::Enum
520
+
521
+ PROFESSIONAL: :PROFESSIONAL
522
+ REAL_ESTATE: :REAL_ESTATE
523
+ HEALTHCARE: :HEALTHCARE
524
+ HUMAN_RESOURCES: :HUMAN_RESOURCES
525
+ ENERGY: :ENERGY
526
+ ENTERTAINMENT: :ENTERTAINMENT
527
+ RETAIL: :RETAIL
528
+ TRANSPORTATION: :TRANSPORTATION
529
+ AGRICULTURE: :AGRICULTURE
530
+ INSURANCE: :INSURANCE
531
+ POSTAL: :POSTAL
532
+ EDUCATION: :EDUCATION
533
+ HOSPITALITY: :HOSPITALITY
534
+ FINANCIAL: :FINANCIAL
535
+ POLITICAL: :POLITICAL
536
+ GAMBLING: :GAMBLING
537
+ LEGAL: :LEGAL
538
+ CONSTRUCTION: :CONSTRUCTION
539
+ NGO: :NGO
540
+ MANUFACTURING: :MANUFACTURING
541
+ GOVERNMENT: :GOVERNMENT
542
+ TECHNOLOGY: :TECHNOLOGY
543
+ COMMUNICATION: :COMMUNICATION
544
+
545
+ def self?.values: -> ::Array[Sentdm::Models::ProfileListResponse::Data::Profile::Brand::Compliance::vertical]
546
+ end
547
+ end
548
+
549
+ type contact =
550
+ {
551
+ business_name: String?,
552
+ email: String?,
553
+ name: String,
554
+ phone: String?,
555
+ phone_country_code: String?,
556
+ role: String?
557
+ }
558
+
559
+ class Contact < Sentdm::Internal::Type::BaseModel
560
+ attr_accessor business_name: String?
561
+
562
+ attr_accessor email: String?
563
+
564
+ attr_reader name: String?
565
+
566
+ def name=: (String) -> String
567
+
568
+ attr_accessor phone: String?
569
+
570
+ attr_accessor phone_country_code: String?
571
+
572
+ attr_accessor role: String?
573
+
574
+ def initialize: (
575
+ ?business_name: String?,
576
+ ?email: String?,
577
+ ?name: String,
578
+ ?phone: String?,
579
+ ?phone_country_code: String?,
580
+ ?role: String?
581
+ ) -> void
582
+
583
+ def to_hash: -> {
584
+ business_name: String?,
585
+ email: String?,
586
+ name: String,
587
+ phone: String?,
588
+ phone_country_code: String?,
589
+ role: String?
590
+ }
591
+ end
592
+
593
+ type identity_status =
594
+ :SELF_DECLARED | :UNVERIFIED | :VERIFIED | :VETTED_VERIFIED
595
+
596
+ module IdentityStatus
597
+ extend Sentdm::Internal::Type::Enum
598
+
599
+ SELF_DECLARED: :SELF_DECLARED
600
+ UNVERIFIED: :UNVERIFIED
601
+ VERIFIED: :VERIFIED
602
+ VETTED_VERIFIED: :VETTED_VERIFIED
603
+
604
+ def self?.values: -> ::Array[Sentdm::Models::ProfileListResponse::Data::Profile::Brand::identity_status]
605
+ end
606
+
607
+ type status = :ACTIVE | :INACTIVE | :SUSPENDED
608
+
609
+ module Status
610
+ extend Sentdm::Internal::Type::Enum
611
+
612
+ ACTIVE: :ACTIVE
613
+ INACTIVE: :INACTIVE
614
+ SUSPENDED: :SUSPENDED
615
+
616
+ def self?.values: -> ::Array[Sentdm::Models::ProfileListResponse::Data::Profile::Brand::status]
617
+ end
618
+ end
619
+ end
620
+ end
621
+
622
+ type error =
623
+ {
624
+ code: String,
625
+ details: ::Hash[Symbol, ::Array[String]]?,
626
+ doc_url: String?,
627
+ message: String
628
+ }
629
+
630
+ class Error < Sentdm::Internal::Type::BaseModel
631
+ attr_reader code: String?
632
+
633
+ def code=: (String) -> String
634
+
635
+ attr_accessor details: ::Hash[Symbol, ::Array[String]]?
636
+
637
+ attr_accessor doc_url: String?
638
+
639
+ attr_reader message: String?
640
+
641
+ def message=: (String) -> String
642
+
643
+ def initialize: (
644
+ ?code: String,
645
+ ?details: ::Hash[Symbol, ::Array[String]]?,
646
+ ?doc_url: String?,
647
+ ?message: String
648
+ ) -> void
649
+
650
+ def to_hash: -> {
651
+ code: String,
652
+ details: ::Hash[Symbol, ::Array[String]]?,
653
+ doc_url: String?,
654
+ message: String
655
+ }
656
+ end
657
+
658
+ type meta = { request_id: String, timestamp: Time, version: String }
659
+
660
+ class Meta < Sentdm::Internal::Type::BaseModel
661
+ attr_reader request_id: String?
662
+
663
+ def request_id=: (String) -> String
664
+
665
+ attr_reader timestamp: Time?
666
+
667
+ def timestamp=: (Time) -> Time
668
+
669
+ attr_reader version: String?
670
+
671
+ def version=: (String) -> String
672
+
673
+ def initialize: (
674
+ ?request_id: String,
675
+ ?timestamp: Time,
676
+ ?version: String
677
+ ) -> void
678
+
679
+ def to_hash: -> { request_id: String, timestamp: Time, version: String }
50
680
  end
51
681
  end
52
682
  end