sentdm 0.27.0 → 0.28.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 (275) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -0
  3. data/README.md +1 -27
  4. data/lib/sentdm/client.rb +71 -8
  5. data/lib/sentdm/internal/type/base_model.rb +5 -5
  6. data/lib/sentdm/models/contact_create_response.rb +249 -0
  7. data/lib/sentdm/models/contact_delete_params.rb +16 -2
  8. data/lib/sentdm/models/contact_list_response.rb +299 -16
  9. data/lib/sentdm/models/contact_retrieve_message_summary_response.rb +186 -0
  10. data/lib/sentdm/models/contact_retrieve_response.rb +249 -0
  11. data/lib/sentdm/models/contact_update_response.rb +249 -0
  12. data/lib/sentdm/models/conversation_list_messages_response.rb +436 -0
  13. data/lib/sentdm/models/conversation_list_response.rb +433 -0
  14. data/lib/sentdm/models/me_retrieve_response.rb +242 -12
  15. data/lib/sentdm/models/message_retrieve_activities_response.rb +165 -7
  16. data/lib/sentdm/models/message_retrieve_status_response.rb +74 -6
  17. data/lib/sentdm/models/message_send_response.rb +113 -28
  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 +378 -26
  21. data/lib/sentdm/models/profile_create_response.rb +760 -0
  22. data/lib/sentdm/models/profile_delete_params.rb +16 -2
  23. data/lib/sentdm/models/profile_list_response.rb +825 -14
  24. data/lib/sentdm/models/profile_retrieve_response.rb +762 -0
  25. data/lib/sentdm/models/profile_update_params.rb +391 -24
  26. data/lib/sentdm/models/profile_update_response.rb +760 -0
  27. data/lib/sentdm/models/profiles/campaign_create_params.rb +156 -3
  28. data/lib/sentdm/models/profiles/campaign_create_response.rb +420 -0
  29. data/lib/sentdm/models/profiles/campaign_delete_params.rb +17 -2
  30. data/lib/sentdm/models/profiles/campaign_list_response.rb +421 -0
  31. data/lib/sentdm/models/profiles/campaign_update_params.rb +156 -3
  32. data/lib/sentdm/models/profiles/campaign_update_response.rb +420 -0
  33. data/lib/sentdm/models/template_create_response.rb +209 -0
  34. data/lib/sentdm/models/template_list_params.rb +9 -2
  35. data/lib/sentdm/models/template_list_response.rb +262 -16
  36. data/lib/sentdm/models/template_retrieve_response.rb +209 -0
  37. data/lib/sentdm/models/template_update_response.rb +209 -0
  38. data/lib/sentdm/models/user_invite_response.rb +201 -0
  39. data/lib/sentdm/models/user_list_response.rb +259 -14
  40. data/lib/sentdm/models/user_remove_params.rb +16 -2
  41. data/lib/sentdm/models/user_retrieve_response.rb +201 -0
  42. data/lib/sentdm/models/user_update_role_response.rb +201 -0
  43. data/lib/sentdm/models/webhook_create_response.rb +229 -0
  44. data/lib/sentdm/models/webhook_list_event_types_response.rb +213 -13
  45. data/lib/sentdm/models/webhook_list_events_response.rb +162 -13
  46. data/lib/sentdm/models/webhook_list_response.rb +280 -15
  47. data/lib/sentdm/models/webhook_retrieve_response.rb +229 -0
  48. data/lib/sentdm/models/webhook_rotate_secret_params.rb +17 -2
  49. data/lib/sentdm/models/webhook_rotate_secret_response.rb +74 -6
  50. data/lib/sentdm/models/webhook_test_response.rb +74 -6
  51. data/lib/sentdm/models/webhook_toggle_status_response.rb +229 -0
  52. data/lib/sentdm/models/webhook_update_response.rb +229 -0
  53. data/lib/sentdm/models.rb +0 -52
  54. data/lib/sentdm/resources/contacts.rb +30 -13
  55. data/lib/sentdm/resources/conversations.rb +12 -4
  56. data/lib/sentdm/resources/me.rb +6 -1
  57. data/lib/sentdm/resources/messages.rb +11 -1
  58. data/lib/sentdm/resources/numbers.rb +6 -1
  59. data/lib/sentdm/resources/profiles/campaigns.rb +47 -9
  60. data/lib/sentdm/resources/profiles.rb +134 -58
  61. data/lib/sentdm/resources/templates.rb +14 -8
  62. data/lib/sentdm/resources/users.rb +12 -7
  63. data/lib/sentdm/resources/webhooks.rb +19 -9
  64. data/lib/sentdm/version.rb +1 -1
  65. data/lib/sentdm.rb +22 -32
  66. data/rbi/sentdm/client.rbi +71 -8
  67. data/rbi/sentdm/models/contact_create_response.rbi +407 -0
  68. data/rbi/sentdm/models/contact_delete_params.rbi +19 -2
  69. data/rbi/sentdm/models/contact_list_response.rbi +527 -21
  70. data/rbi/sentdm/models/contact_retrieve_message_summary_response.rbi +397 -0
  71. data/rbi/sentdm/models/contact_retrieve_response.rbi +409 -0
  72. data/rbi/sentdm/models/contact_update_response.rbi +407 -0
  73. data/rbi/sentdm/models/conversation_list_messages_response.rbi +843 -0
  74. data/rbi/sentdm/models/conversation_list_response.rbi +819 -0
  75. data/rbi/sentdm/models/me_retrieve_response.rbi +367 -16
  76. data/rbi/sentdm/models/message_retrieve_activities_response.rbi +335 -11
  77. data/rbi/sentdm/models/message_retrieve_status_response.rbi +148 -8
  78. data/rbi/sentdm/models/message_send_response.rbi +178 -32
  79. data/rbi/sentdm/models/number_lookup_response.rbi +135 -8
  80. data/rbi/sentdm/models/profile_complete_response.rbi +137 -8
  81. data/rbi/sentdm/models/profile_create_params.rbi +592 -42
  82. data/rbi/sentdm/models/profile_create_response.rbi +1226 -0
  83. data/rbi/sentdm/models/profile_delete_params.rbi +19 -2
  84. data/rbi/sentdm/models/profile_list_response.rbi +1366 -18
  85. data/rbi/sentdm/models/profile_retrieve_response.rbi +1230 -0
  86. data/rbi/sentdm/models/profile_update_params.rbi +610 -30
  87. data/rbi/sentdm/models/profile_update_response.rbi +1226 -0
  88. data/rbi/sentdm/models/profiles/campaign_create_params.rbi +218 -4
  89. data/rbi/sentdm/models/profiles/campaign_create_response.rbi +674 -0
  90. data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +14 -1
  91. data/rbi/sentdm/models/profiles/campaign_list_response.rbi +667 -0
  92. data/rbi/sentdm/models/profiles/campaign_update_params.rbi +218 -4
  93. data/rbi/sentdm/models/profiles/campaign_update_response.rbi +674 -0
  94. data/rbi/sentdm/models/template_create_response.rbi +349 -0
  95. data/rbi/sentdm/models/template_list_params.rbi +10 -2
  96. data/rbi/sentdm/models/template_list_response.rbi +469 -21
  97. data/rbi/sentdm/models/template_retrieve_response.rbi +355 -0
  98. data/rbi/sentdm/models/template_update_response.rbi +349 -0
  99. data/rbi/sentdm/models/user_invite_response.rbi +336 -0
  100. data/rbi/sentdm/models/user_list_response.rbi +463 -18
  101. data/rbi/sentdm/models/user_remove_params.rbi +19 -2
  102. data/rbi/sentdm/models/user_retrieve_response.rbi +336 -0
  103. data/rbi/sentdm/models/user_update_role_response.rbi +341 -0
  104. data/rbi/sentdm/models/webhook_create_response.rbi +361 -0
  105. data/rbi/sentdm/models/webhook_list_event_types_response.rbi +433 -16
  106. data/rbi/sentdm/models/webhook_list_events_response.rbi +319 -15
  107. data/rbi/sentdm/models/webhook_list_response.rbi +480 -19
  108. data/rbi/sentdm/models/webhook_retrieve_response.rbi +363 -0
  109. data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +14 -1
  110. data/rbi/sentdm/models/webhook_rotate_secret_response.rbi +148 -8
  111. data/rbi/sentdm/models/webhook_test_response.rbi +135 -8
  112. data/rbi/sentdm/models/webhook_toggle_status_response.rbi +379 -0
  113. data/rbi/sentdm/models/webhook_update_response.rbi +361 -0
  114. data/rbi/sentdm/models.rbi +0 -54
  115. data/rbi/sentdm/resources/contacts.rbi +24 -9
  116. data/rbi/sentdm/resources/conversations.rbi +10 -2
  117. data/rbi/sentdm/resources/me.rbi +6 -1
  118. data/rbi/sentdm/resources/messages.rbi +11 -1
  119. data/rbi/sentdm/resources/numbers.rbi +6 -1
  120. data/rbi/sentdm/resources/profiles/campaigns.rbi +36 -6
  121. data/rbi/sentdm/resources/profiles.rbi +174 -66
  122. data/rbi/sentdm/resources/templates.rbi +15 -5
  123. data/rbi/sentdm/resources/users.rbi +9 -4
  124. data/rbi/sentdm/resources/webhooks.rbi +15 -5
  125. data/sig/sentdm/models/contact_create_response.rbs +216 -0
  126. data/sig/sentdm/models/contact_delete_params.rbs +10 -6
  127. data/sig/sentdm/models/contact_list_response.rbs +263 -20
  128. data/sig/sentdm/models/contact_retrieve_message_summary_response.rbs +182 -0
  129. data/sig/sentdm/models/contact_retrieve_response.rbs +216 -0
  130. data/sig/sentdm/models/contact_update_response.rbs +216 -0
  131. data/sig/sentdm/models/conversation_list_messages_response.rbs +404 -0
  132. data/sig/sentdm/models/conversation_list_response.rbs +404 -0
  133. data/sig/sentdm/models/me_retrieve_response.rbs +176 -18
  134. data/sig/sentdm/models/message_retrieve_activities_response.rbs +147 -12
  135. data/sig/sentdm/models/message_retrieve_status_response.rbs +71 -9
  136. data/sig/sentdm/models/message_send_response.rbs +71 -9
  137. data/sig/sentdm/models/number_lookup_response.rbs +71 -9
  138. data/sig/sentdm/models/profile_complete_response.rbs +71 -9
  139. data/sig/sentdm/models/profile_create_params.rbs +271 -24
  140. data/sig/sentdm/models/profile_create_response.rbs +559 -0
  141. data/sig/sentdm/models/profile_delete_params.rbs +10 -6
  142. data/sig/sentdm/models/profile_list_response.rbs +615 -15
  143. data/sig/sentdm/models/profile_retrieve_response.rbs +559 -0
  144. data/sig/sentdm/models/profile_update_params.rbs +263 -12
  145. data/sig/sentdm/models/profile_update_response.rbs +559 -0
  146. data/sig/sentdm/models/profiles/campaign_create_params.rbs +108 -4
  147. data/sig/sentdm/models/profiles/campaign_create_response.rbs +357 -0
  148. data/sig/sentdm/models/profiles/campaign_delete_params.rbs +15 -8
  149. data/sig/sentdm/models/profiles/campaign_list_response.rbs +357 -0
  150. data/sig/sentdm/models/profiles/campaign_update_params.rbs +108 -4
  151. data/sig/sentdm/models/profiles/campaign_update_response.rbs +357 -0
  152. data/sig/sentdm/models/template_create_response.rbs +182 -0
  153. data/sig/sentdm/models/template_list_response.rbs +230 -19
  154. data/sig/sentdm/models/template_retrieve_response.rbs +182 -0
  155. data/sig/sentdm/models/template_update_response.rbs +182 -0
  156. data/sig/sentdm/models/user_invite_response.rbs +177 -0
  157. data/sig/sentdm/models/user_list_response.rbs +233 -15
  158. data/sig/sentdm/models/user_remove_params.rbs +10 -6
  159. data/sig/sentdm/models/user_retrieve_response.rbs +177 -0
  160. data/sig/sentdm/models/user_update_role_response.rbs +177 -0
  161. data/sig/sentdm/models/webhook_create_response.rbs +208 -0
  162. data/sig/sentdm/models/webhook_list_event_types_response.rbs +203 -15
  163. data/sig/sentdm/models/webhook_list_events_response.rbs +142 -14
  164. data/sig/sentdm/models/webhook_list_response.rbs +255 -20
  165. data/sig/sentdm/models/webhook_retrieve_response.rbs +208 -0
  166. data/sig/sentdm/models/webhook_rotate_secret_params.rbs +17 -8
  167. data/sig/sentdm/models/webhook_rotate_secret_response.rbs +71 -9
  168. data/sig/sentdm/models/webhook_test_response.rbs +71 -9
  169. data/sig/sentdm/models/webhook_toggle_status_response.rbs +208 -0
  170. data/sig/sentdm/models/webhook_update_response.rbs +208 -0
  171. data/sig/sentdm/models.rbs +0 -52
  172. data/sig/sentdm/resources/contacts.rbs +4 -4
  173. data/sig/sentdm/resources/conversations.rbs +2 -2
  174. data/sig/sentdm/resources/profiles/campaigns.rbs +5 -5
  175. data/sig/sentdm/resources/profiles.rbs +11 -11
  176. data/sig/sentdm/resources/templates.rbs +3 -3
  177. data/sig/sentdm/resources/users.rbs +3 -3
  178. data/sig/sentdm/resources/webhooks.rbs +4 -4
  179. metadata +68 -98
  180. data/lib/sentdm/models/api_meta.rb +0 -34
  181. data/lib/sentdm/models/api_response_of_contact.rb +0 -46
  182. data/lib/sentdm/models/api_response_of_contact_message_summary.rb +0 -43
  183. data/lib/sentdm/models/api_response_of_conversation_messages_list.rb +0 -43
  184. data/lib/sentdm/models/api_response_of_profile_detail.rb +0 -43
  185. data/lib/sentdm/models/api_response_of_user.rb +0 -43
  186. data/lib/sentdm/models/api_response_template.rb +0 -43
  187. data/lib/sentdm/models/api_response_webhook.rb +0 -43
  188. data/lib/sentdm/models/billing_contact_info.rb +0 -47
  189. data/lib/sentdm/models/brand_business_info.rb +0 -114
  190. data/lib/sentdm/models/brand_compliance_info.rb +0 -67
  191. data/lib/sentdm/models/brand_contact_info.rb +0 -58
  192. data/lib/sentdm/models/brands_brand_data.rb +0 -34
  193. data/lib/sentdm/models/contact_message_summary.rb +0 -76
  194. data/lib/sentdm/models/contact_response.rb +0 -126
  195. data/lib/sentdm/models/conversation_messages_list.rb +0 -245
  196. data/lib/sentdm/models/error_detail.rb +0 -42
  197. data/lib/sentdm/models/mutation_request.rb +0 -20
  198. data/lib/sentdm/models/pagination_meta.rb +0 -80
  199. data/lib/sentdm/models/payment_details.rb +0 -44
  200. data/lib/sentdm/models/profile_detail.rb +0 -605
  201. data/lib/sentdm/models/profile_settings.rb +0 -66
  202. data/lib/sentdm/models/profiles/api_response_of_brand_campaign.rb +0 -45
  203. data/lib/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rb +0 -45
  204. data/lib/sentdm/models/profiles/brand_campaign.rb +0 -247
  205. data/lib/sentdm/models/profiles/campaign_data.rb +0 -130
  206. data/lib/sentdm/models/profiles/campaign_use_case.rb +0 -71
  207. data/lib/sentdm/models/profiles/campaign_use_case_data.rb +0 -29
  208. data/lib/sentdm/models/template.rb +0 -90
  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_contact_message_summary.rbi +0 -79
  215. data/rbi/sentdm/models/api_response_of_conversation_messages_list.rbi +0 -79
  216. data/rbi/sentdm/models/api_response_of_profile_detail.rbi +0 -74
  217. data/rbi/sentdm/models/api_response_of_user.rbi +0 -74
  218. data/rbi/sentdm/models/api_response_template.rbi +0 -74
  219. data/rbi/sentdm/models/api_response_webhook.rbi +0 -74
  220. data/rbi/sentdm/models/billing_contact_info.rbi +0 -65
  221. data/rbi/sentdm/models/brand_business_info.rbi +0 -162
  222. data/rbi/sentdm/models/brand_compliance_info.rbi +0 -84
  223. data/rbi/sentdm/models/brand_contact_info.rbi +0 -78
  224. data/rbi/sentdm/models/brands_brand_data.rbi +0 -65
  225. data/rbi/sentdm/models/contact_message_summary.rbi +0 -144
  226. data/rbi/sentdm/models/contact_response.rbi +0 -183
  227. data/rbi/sentdm/models/conversation_messages_list.rbi +0 -419
  228. data/rbi/sentdm/models/error_detail.rbi +0 -66
  229. data/rbi/sentdm/models/mutation_request.rbi +0 -32
  230. data/rbi/sentdm/models/pagination_meta.rbi +0 -135
  231. data/rbi/sentdm/models/payment_details.rbi +0 -59
  232. data/rbi/sentdm/models/profile_detail.rbi +0 -872
  233. data/rbi/sentdm/models/profile_settings.rbi +0 -86
  234. data/rbi/sentdm/models/profiles/api_response_of_brand_campaign.rbi +0 -81
  235. data/rbi/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rbi +0 -76
  236. data/rbi/sentdm/models/profiles/brand_campaign.rbi +0 -299
  237. data/rbi/sentdm/models/profiles/campaign_data.rbi +0 -146
  238. data/rbi/sentdm/models/profiles/campaign_use_case.rbi +0 -110
  239. data/rbi/sentdm/models/profiles/campaign_use_case_data.rbi +0 -51
  240. data/rbi/sentdm/models/template.rbi +0 -129
  241. data/rbi/sentdm/models/user_response.rbi +0 -118
  242. data/rbi/sentdm/models/webhook_event_type.rbi +0 -74
  243. data/rbi/sentdm/models/webhook_response.rbi +0 -140
  244. data/sig/sentdm/models/api_meta.rbs +0 -27
  245. data/sig/sentdm/models/api_response_of_contact.rbs +0 -39
  246. data/sig/sentdm/models/api_response_of_contact_message_summary.rbs +0 -39
  247. data/sig/sentdm/models/api_response_of_conversation_messages_list.rbs +0 -39
  248. data/sig/sentdm/models/api_response_of_profile_detail.rbs +0 -39
  249. data/sig/sentdm/models/api_response_of_user.rbs +0 -39
  250. data/sig/sentdm/models/api_response_template.rbs +0 -39
  251. data/sig/sentdm/models/api_response_webhook.rbs +0 -39
  252. data/sig/sentdm/models/billing_contact_info.rbs +0 -30
  253. data/sig/sentdm/models/brand_business_info.rbs +0 -89
  254. data/sig/sentdm/models/brand_compliance_info.rbs +0 -50
  255. data/sig/sentdm/models/brand_contact_info.rbs +0 -45
  256. data/sig/sentdm/models/brands_brand_data.rbs +0 -30
  257. data/sig/sentdm/models/contact_message_summary.rbs +0 -84
  258. data/sig/sentdm/models/contact_response.rbs +0 -111
  259. data/sig/sentdm/models/conversation_messages_list.rbs +0 -240
  260. data/sig/sentdm/models/error_detail.rbs +0 -39
  261. data/sig/sentdm/models/mutation_request.rbs +0 -15
  262. data/sig/sentdm/models/pagination_meta.rbs +0 -67
  263. data/sig/sentdm/models/payment_details.rbs +0 -30
  264. data/sig/sentdm/models/profile_detail.rbs +0 -469
  265. data/sig/sentdm/models/profile_settings.rbs +0 -50
  266. data/sig/sentdm/models/profiles/api_response_of_brand_campaign.rbs +0 -41
  267. data/sig/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rbs +0 -41
  268. data/sig/sentdm/models/profiles/brand_campaign.rbs +0 -194
  269. data/sig/sentdm/models/profiles/campaign_data.rbs +0 -87
  270. data/sig/sentdm/models/profiles/campaign_use_case.rbs +0 -66
  271. data/sig/sentdm/models/profiles/campaign_use_case_data.rbs +0 -27
  272. data/sig/sentdm/models/template.rbs +0 -79
  273. data/sig/sentdm/models/user_response.rbs +0 -72
  274. data/sig/sentdm/models/webhook_event_type.rbs +0 -51
  275. data/sig/sentdm/models/webhook_response.rbs +0 -103
@@ -1,872 +0,0 @@
1
- # typed: strong
2
-
3
- module Sentdm
4
- module Models
5
- class ProfileDetail < Sentdm::Internal::Type::BaseModel
6
- OrHash =
7
- T.type_alias { T.any(Sentdm::ProfileDetail, Sentdm::Internal::AnyHash) }
8
-
9
- # Profile unique identifier
10
- sig { returns(T.nilable(String)) }
11
- attr_reader :id
12
-
13
- sig { params(id: String).void }
14
- attr_writer :id
15
-
16
- # Whether contacts are shared across profiles in the organization
17
- sig { returns(T.nilable(T::Boolean)) }
18
- attr_reader :allow_contact_sharing
19
-
20
- sig { params(allow_contact_sharing: T::Boolean).void }
21
- attr_writer :allow_contact_sharing
22
-
23
- # Whether number changes are allowed during onboarding
24
- sig { returns(T.nilable(T::Boolean)) }
25
- attr_accessor :allow_number_change_during_onboarding
26
-
27
- # Whether templates are shared across profiles in the organization
28
- sig { returns(T.nilable(T::Boolean)) }
29
- attr_reader :allow_template_sharing
30
-
31
- sig { params(allow_template_sharing: T::Boolean).void }
32
- attr_writer :allow_template_sharing
33
-
34
- # Billing contact info returned in profile responses
35
- sig { returns(T.nilable(Sentdm::ProfileDetail::BillingContact)) }
36
- attr_reader :billing_contact
37
-
38
- sig do
39
- params(
40
- billing_contact:
41
- T.nilable(Sentdm::ProfileDetail::BillingContact::OrHash)
42
- ).void
43
- end
44
- attr_writer :billing_contact
45
-
46
- # Billing model: profile, organization, or profile_and_organization
47
- sig { returns(T.nilable(String)) }
48
- attr_reader :billing_model
49
-
50
- sig { params(billing_model: String).void }
51
- attr_writer :billing_model
52
-
53
- # Brand response with nested contact, business, and compliance sections — mirrors
54
- # the request structure.
55
- sig { returns(T.nilable(Sentdm::ProfileDetail::Brand)) }
56
- attr_reader :brand
57
-
58
- sig do
59
- params(brand: T.nilable(Sentdm::ProfileDetail::Brand::OrHash)).void
60
- end
61
- attr_writer :brand
62
-
63
- # When the profile was created
64
- sig { returns(T.nilable(Time)) }
65
- attr_reader :created_at
66
-
67
- sig { params(created_at: Time).void }
68
- attr_writer :created_at
69
-
70
- # Profile description
71
- sig { returns(T.nilable(String)) }
72
- attr_accessor :description
73
-
74
- # Profile email (inherited from organization)
75
- sig { returns(T.nilable(String)) }
76
- attr_accessor :email
77
-
78
- # Profile icon URL
79
- sig { returns(T.nilable(String)) }
80
- attr_accessor :icon
81
-
82
- # Whether this profile inherits contacts from the organization
83
- sig { returns(T.nilable(T::Boolean)) }
84
- attr_reader :inherit_contacts
85
-
86
- sig { params(inherit_contacts: T::Boolean).void }
87
- attr_writer :inherit_contacts
88
-
89
- # Whether this profile inherits TCR brand from the organization
90
- sig { returns(T.nilable(T::Boolean)) }
91
- attr_reader :inherit_tcr_brand
92
-
93
- sig { params(inherit_tcr_brand: T::Boolean).void }
94
- attr_writer :inherit_tcr_brand
95
-
96
- # Whether this profile inherits TCR campaign from the organization
97
- sig { returns(T.nilable(T::Boolean)) }
98
- attr_reader :inherit_tcr_campaign
99
-
100
- sig { params(inherit_tcr_campaign: T::Boolean).void }
101
- attr_writer :inherit_tcr_campaign
102
-
103
- # Whether this profile inherits templates from the organization
104
- sig { returns(T.nilable(T::Boolean)) }
105
- attr_reader :inherit_templates
106
-
107
- sig { params(inherit_templates: T::Boolean).void }
108
- attr_writer :inherit_templates
109
-
110
- # Profile name
111
- sig { returns(T.nilable(String)) }
112
- attr_reader :name
113
-
114
- sig { params(name: String).void }
115
- attr_writer :name
116
-
117
- # Parent organization ID
118
- sig { returns(T.nilable(String)) }
119
- attr_accessor :organization_id
120
-
121
- # Direct SMS phone number
122
- sig { returns(T.nilable(String)) }
123
- attr_accessor :sending_phone_number
124
-
125
- # Reference to another profile whose SMS configuration this profile uses
126
- sig { returns(T.nilable(String)) }
127
- attr_accessor :sending_phone_number_profile_id
128
-
129
- # Reference to another profile for WhatsApp configuration
130
- sig { returns(T.nilable(String)) }
131
- attr_accessor :sending_whatsapp_number_profile_id
132
-
133
- # Profile short name/abbreviation. 3–11 characters: letters, numbers, and spaces
134
- # only, with at least one letter.
135
- sig { returns(T.nilable(String)) }
136
- attr_accessor :short_name
137
-
138
- # Profile setup status: incomplete, pending_review, approved, rejected
139
- sig { returns(T.nilable(String)) }
140
- attr_reader :status
141
-
142
- sig { params(status: String).void }
143
- attr_writer :status
144
-
145
- # When the profile was last updated
146
- sig { returns(T.nilable(Time)) }
147
- attr_accessor :updated_at
148
-
149
- # WhatsApp Business Account ID associated with this profile. Present whether the
150
- # WABA is inherited from the organization or configured directly.
151
- sig { returns(T.nilable(String)) }
152
- attr_accessor :waba_id
153
-
154
- # Direct WhatsApp phone number
155
- sig { returns(T.nilable(String)) }
156
- attr_accessor :whatsapp_phone_number
157
-
158
- # Detailed profile response for v3 API
159
- sig do
160
- params(
161
- id: String,
162
- allow_contact_sharing: T::Boolean,
163
- allow_number_change_during_onboarding: T.nilable(T::Boolean),
164
- allow_template_sharing: T::Boolean,
165
- billing_contact:
166
- T.nilable(Sentdm::ProfileDetail::BillingContact::OrHash),
167
- billing_model: String,
168
- brand: T.nilable(Sentdm::ProfileDetail::Brand::OrHash),
169
- created_at: Time,
170
- description: T.nilable(String),
171
- email: T.nilable(String),
172
- icon: T.nilable(String),
173
- inherit_contacts: T::Boolean,
174
- inherit_tcr_brand: T::Boolean,
175
- inherit_tcr_campaign: T::Boolean,
176
- inherit_templates: T::Boolean,
177
- name: String,
178
- organization_id: T.nilable(String),
179
- sending_phone_number: T.nilable(String),
180
- sending_phone_number_profile_id: T.nilable(String),
181
- sending_whatsapp_number_profile_id: T.nilable(String),
182
- short_name: T.nilable(String),
183
- status: String,
184
- updated_at: T.nilable(Time),
185
- waba_id: T.nilable(String),
186
- whatsapp_phone_number: T.nilable(String)
187
- ).returns(T.attached_class)
188
- end
189
- def self.new(
190
- # Profile unique identifier
191
- id: nil,
192
- # Whether contacts are shared across profiles in the organization
193
- allow_contact_sharing: nil,
194
- # Whether number changes are allowed during onboarding
195
- allow_number_change_during_onboarding: nil,
196
- # Whether templates are shared across profiles in the organization
197
- allow_template_sharing: nil,
198
- # Billing contact info returned in profile responses
199
- billing_contact: nil,
200
- # Billing model: profile, organization, or profile_and_organization
201
- billing_model: nil,
202
- # Brand response with nested contact, business, and compliance sections — mirrors
203
- # the request structure.
204
- brand: nil,
205
- # When the profile was created
206
- created_at: nil,
207
- # Profile description
208
- description: nil,
209
- # Profile email (inherited from organization)
210
- email: nil,
211
- # Profile icon URL
212
- icon: nil,
213
- # Whether this profile inherits contacts from the organization
214
- inherit_contacts: nil,
215
- # Whether this profile inherits TCR brand from the organization
216
- inherit_tcr_brand: nil,
217
- # Whether this profile inherits TCR campaign from the organization
218
- inherit_tcr_campaign: nil,
219
- # Whether this profile inherits templates from the organization
220
- inherit_templates: nil,
221
- # Profile name
222
- name: nil,
223
- # Parent organization ID
224
- organization_id: nil,
225
- # Direct SMS phone number
226
- sending_phone_number: nil,
227
- # Reference to another profile whose SMS configuration this profile uses
228
- sending_phone_number_profile_id: nil,
229
- # Reference to another profile for WhatsApp configuration
230
- sending_whatsapp_number_profile_id: nil,
231
- # Profile short name/abbreviation. 3–11 characters: letters, numbers, and spaces
232
- # only, with at least one letter.
233
- short_name: nil,
234
- # Profile setup status: incomplete, pending_review, approved, rejected
235
- status: nil,
236
- # When the profile was last updated
237
- updated_at: nil,
238
- # WhatsApp Business Account ID associated with this profile. Present whether the
239
- # WABA is inherited from the organization or configured directly.
240
- waba_id: nil,
241
- # Direct WhatsApp phone number
242
- whatsapp_phone_number: nil
243
- )
244
- end
245
-
246
- sig do
247
- override.returns(
248
- {
249
- id: String,
250
- allow_contact_sharing: T::Boolean,
251
- allow_number_change_during_onboarding: T.nilable(T::Boolean),
252
- allow_template_sharing: T::Boolean,
253
- billing_contact: T.nilable(Sentdm::ProfileDetail::BillingContact),
254
- billing_model: String,
255
- brand: T.nilable(Sentdm::ProfileDetail::Brand),
256
- created_at: Time,
257
- description: T.nilable(String),
258
- email: T.nilable(String),
259
- icon: T.nilable(String),
260
- inherit_contacts: T::Boolean,
261
- inherit_tcr_brand: T::Boolean,
262
- inherit_tcr_campaign: T::Boolean,
263
- inherit_templates: T::Boolean,
264
- name: String,
265
- organization_id: T.nilable(String),
266
- sending_phone_number: T.nilable(String),
267
- sending_phone_number_profile_id: T.nilable(String),
268
- sending_whatsapp_number_profile_id: T.nilable(String),
269
- short_name: T.nilable(String),
270
- status: String,
271
- updated_at: T.nilable(Time),
272
- waba_id: T.nilable(String),
273
- whatsapp_phone_number: T.nilable(String)
274
- }
275
- )
276
- end
277
- def to_hash
278
- end
279
-
280
- class BillingContact < Sentdm::Internal::Type::BaseModel
281
- OrHash =
282
- T.type_alias do
283
- T.any(
284
- Sentdm::ProfileDetail::BillingContact,
285
- Sentdm::Internal::AnyHash
286
- )
287
- end
288
-
289
- sig { returns(T.nilable(String)) }
290
- attr_accessor :address
291
-
292
- sig { returns(T.nilable(String)) }
293
- attr_accessor :email
294
-
295
- sig { returns(T.nilable(String)) }
296
- attr_accessor :name
297
-
298
- sig { returns(T.nilable(String)) }
299
- attr_accessor :phone
300
-
301
- # Billing contact info returned in profile responses
302
- sig do
303
- params(
304
- address: T.nilable(String),
305
- email: T.nilable(String),
306
- name: T.nilable(String),
307
- phone: T.nilable(String)
308
- ).returns(T.attached_class)
309
- end
310
- def self.new(address: nil, email: nil, name: nil, phone: nil)
311
- end
312
-
313
- sig do
314
- override.returns(
315
- {
316
- address: T.nilable(String),
317
- email: T.nilable(String),
318
- name: T.nilable(String),
319
- phone: T.nilable(String)
320
- }
321
- )
322
- end
323
- def to_hash
324
- end
325
- end
326
-
327
- class Brand < Sentdm::Internal::Type::BaseModel
328
- OrHash =
329
- T.type_alias do
330
- T.any(Sentdm::ProfileDetail::Brand, Sentdm::Internal::AnyHash)
331
- end
332
-
333
- # Unique identifier for the brand
334
- sig { returns(T.nilable(String)) }
335
- attr_reader :id
336
-
337
- sig { params(id: String).void }
338
- attr_writer :id
339
-
340
- # Business details and address information
341
- sig { returns(T.nilable(Sentdm::ProfileDetail::Brand::Business)) }
342
- attr_reader :business
343
-
344
- sig do
345
- params(
346
- business: T.nilable(Sentdm::ProfileDetail::Brand::Business::OrHash)
347
- ).void
348
- end
349
- attr_writer :business
350
-
351
- # Compliance and TCR-related information
352
- sig { returns(T.nilable(Sentdm::ProfileDetail::Brand::Compliance)) }
353
- attr_reader :compliance
354
-
355
- sig do
356
- params(
357
- compliance:
358
- T.nilable(Sentdm::ProfileDetail::Brand::Compliance::OrHash)
359
- ).void
360
- end
361
- attr_writer :compliance
362
-
363
- # Contact information for the brand
364
- sig { returns(T.nilable(Sentdm::ProfileDetail::Brand::Contact)) }
365
- attr_reader :contact
366
-
367
- sig do
368
- params(
369
- contact: T.nilable(Sentdm::ProfileDetail::Brand::Contact::OrHash)
370
- ).void
371
- end
372
- attr_writer :contact
373
-
374
- # When the brand was created
375
- sig { returns(T.nilable(Time)) }
376
- attr_reader :created_at
377
-
378
- sig { params(created_at: Time).void }
379
- attr_writer :created_at
380
-
381
- # Deprecated and scheduled for removal. Identifies the Campaign Service Provider
382
- # that registered the brand, which is Sent, so the value is the same for every
383
- # brand and every account. Nothing on your side can act on it and there is no
384
- # replacement. Stop reading it.
385
- sig { returns(T.nilable(String)) }
386
- attr_accessor :csp_id
387
-
388
- sig do
389
- returns(
390
- T.nilable(
391
- Sentdm::ProfileDetail::Brand::IdentityStatus::TaggedSymbol
392
- )
393
- )
394
- end
395
- attr_accessor :identity_status
396
-
397
- # Whether this brand is inherited from the parent organization
398
- sig { returns(T.nilable(T::Boolean)) }
399
- attr_reader :is_inherited
400
-
401
- sig { params(is_inherited: T::Boolean).void }
402
- attr_writer :is_inherited
403
-
404
- sig do
405
- returns(T.nilable(Sentdm::ProfileDetail::Brand::Status::TaggedSymbol))
406
- end
407
- attr_accessor :status
408
-
409
- # When the brand was submitted to TCR
410
- sig { returns(T.nilable(Time)) }
411
- attr_accessor :submitted_at
412
-
413
- # Whether this brand has been submitted to TCR
414
- sig { returns(T.nilable(T::Boolean)) }
415
- attr_reader :submitted_to_tcr
416
-
417
- sig { params(submitted_to_tcr: T::Boolean).void }
418
- attr_writer :submitted_to_tcr
419
-
420
- # TCR brand ID (populated after TCR submission)
421
- sig { returns(T.nilable(String)) }
422
- attr_accessor :tcr_brand_id
423
-
424
- # Universal EIN from TCR
425
- sig { returns(T.nilable(String)) }
426
- attr_accessor :universal_ein
427
-
428
- # When the brand was last updated
429
- sig { returns(T.nilable(Time)) }
430
- attr_accessor :updated_at
431
-
432
- # Brand response with nested contact, business, and compliance sections — mirrors
433
- # the request structure.
434
- sig do
435
- params(
436
- id: String,
437
- business: T.nilable(Sentdm::ProfileDetail::Brand::Business::OrHash),
438
- compliance:
439
- T.nilable(Sentdm::ProfileDetail::Brand::Compliance::OrHash),
440
- contact: T.nilable(Sentdm::ProfileDetail::Brand::Contact::OrHash),
441
- created_at: Time,
442
- csp_id: T.nilable(String),
443
- identity_status:
444
- T.nilable(Sentdm::ProfileDetail::Brand::IdentityStatus::OrSymbol),
445
- is_inherited: T::Boolean,
446
- status: T.nilable(Sentdm::ProfileDetail::Brand::Status::OrSymbol),
447
- submitted_at: T.nilable(Time),
448
- submitted_to_tcr: T::Boolean,
449
- tcr_brand_id: T.nilable(String),
450
- universal_ein: T.nilable(String),
451
- updated_at: T.nilable(Time)
452
- ).returns(T.attached_class)
453
- end
454
- def self.new(
455
- # Unique identifier for the brand
456
- id: nil,
457
- # Business details and address information
458
- business: nil,
459
- # Compliance and TCR-related information
460
- compliance: nil,
461
- # Contact information for the brand
462
- contact: nil,
463
- # When the brand was created
464
- created_at: nil,
465
- # Deprecated and scheduled for removal. Identifies the Campaign Service Provider
466
- # that registered the brand, which is Sent, so the value is the same for every
467
- # brand and every account. Nothing on your side can act on it and there is no
468
- # replacement. Stop reading it.
469
- csp_id: nil,
470
- identity_status: nil,
471
- # Whether this brand is inherited from the parent organization
472
- is_inherited: nil,
473
- status: nil,
474
- # When the brand was submitted to TCR
475
- submitted_at: nil,
476
- # Whether this brand has been submitted to TCR
477
- submitted_to_tcr: nil,
478
- # TCR brand ID (populated after TCR submission)
479
- tcr_brand_id: nil,
480
- # Universal EIN from TCR
481
- universal_ein: nil,
482
- # When the brand was last updated
483
- updated_at: nil
484
- )
485
- end
486
-
487
- sig do
488
- override.returns(
489
- {
490
- id: String,
491
- business: T.nilable(Sentdm::ProfileDetail::Brand::Business),
492
- compliance: T.nilable(Sentdm::ProfileDetail::Brand::Compliance),
493
- contact: T.nilable(Sentdm::ProfileDetail::Brand::Contact),
494
- created_at: Time,
495
- csp_id: T.nilable(String),
496
- identity_status:
497
- T.nilable(
498
- Sentdm::ProfileDetail::Brand::IdentityStatus::TaggedSymbol
499
- ),
500
- is_inherited: T::Boolean,
501
- status:
502
- T.nilable(Sentdm::ProfileDetail::Brand::Status::TaggedSymbol),
503
- submitted_at: T.nilable(Time),
504
- submitted_to_tcr: T::Boolean,
505
- tcr_brand_id: T.nilable(String),
506
- universal_ein: T.nilable(String),
507
- updated_at: T.nilable(Time)
508
- }
509
- )
510
- end
511
- def to_hash
512
- end
513
-
514
- class Business < Sentdm::Internal::Type::BaseModel
515
- OrHash =
516
- T.type_alias do
517
- T.any(
518
- Sentdm::ProfileDetail::Brand::Business,
519
- Sentdm::Internal::AnyHash
520
- )
521
- end
522
-
523
- # City
524
- sig { returns(T.nilable(String)) }
525
- attr_accessor :city
526
-
527
- # Country code (e.g., US, CA)
528
- sig { returns(T.nilable(String)) }
529
- attr_accessor :country
530
-
531
- # Country where the business is registered
532
- sig { returns(T.nilable(String)) }
533
- attr_accessor :country_of_registration
534
-
535
- # Business entity type
536
- sig { returns(T.nilable(String)) }
537
- attr_accessor :entity_type
538
-
539
- # Legal business name
540
- sig { returns(T.nilable(String)) }
541
- attr_accessor :legal_name
542
-
543
- # Postal/ZIP code
544
- sig { returns(T.nilable(String)) }
545
- attr_accessor :postal_code
546
-
547
- # State/province code
548
- sig { returns(T.nilable(String)) }
549
- attr_accessor :state
550
-
551
- # Street address
552
- sig { returns(T.nilable(String)) }
553
- attr_accessor :street
554
-
555
- # Tax ID/EIN number
556
- sig { returns(T.nilable(String)) }
557
- attr_accessor :tax_id
558
-
559
- # Type of tax ID (e.g., us_ein, ca_bn)
560
- sig { returns(T.nilable(String)) }
561
- attr_accessor :tax_id_type
562
-
563
- # Business website URL
564
- sig { returns(T.nilable(String)) }
565
- attr_accessor :url
566
-
567
- # Business details and address information
568
- sig do
569
- params(
570
- city: T.nilable(String),
571
- country: T.nilable(String),
572
- country_of_registration: T.nilable(String),
573
- entity_type: T.nilable(String),
574
- legal_name: T.nilable(String),
575
- postal_code: T.nilable(String),
576
- state: T.nilable(String),
577
- street: T.nilable(String),
578
- tax_id: T.nilable(String),
579
- tax_id_type: T.nilable(String),
580
- url: T.nilable(String)
581
- ).returns(T.attached_class)
582
- end
583
- def self.new(
584
- # City
585
- city: nil,
586
- # Country code (e.g., US, CA)
587
- country: nil,
588
- # Country where the business is registered
589
- country_of_registration: nil,
590
- # Business entity type
591
- entity_type: nil,
592
- # Legal business name
593
- legal_name: nil,
594
- # Postal/ZIP code
595
- postal_code: nil,
596
- # State/province code
597
- state: nil,
598
- # Street address
599
- street: nil,
600
- # Tax ID/EIN number
601
- tax_id: nil,
602
- # Type of tax ID (e.g., us_ein, ca_bn)
603
- tax_id_type: nil,
604
- # Business website URL
605
- url: nil
606
- )
607
- end
608
-
609
- sig do
610
- override.returns(
611
- {
612
- city: T.nilable(String),
613
- country: T.nilable(String),
614
- country_of_registration: T.nilable(String),
615
- entity_type: T.nilable(String),
616
- legal_name: T.nilable(String),
617
- postal_code: T.nilable(String),
618
- state: T.nilable(String),
619
- street: T.nilable(String),
620
- tax_id: T.nilable(String),
621
- tax_id_type: T.nilable(String),
622
- url: T.nilable(String)
623
- }
624
- )
625
- end
626
- def to_hash
627
- end
628
- end
629
-
630
- class Compliance < Sentdm::Internal::Type::BaseModel
631
- OrHash =
632
- T.type_alias do
633
- T.any(
634
- Sentdm::ProfileDetail::Brand::Compliance,
635
- Sentdm::Internal::AnyHash
636
- )
637
- end
638
-
639
- sig { returns(T.nilable(Sentdm::TcrBrandRelationship::TaggedSymbol)) }
640
- attr_accessor :brand_relationship
641
-
642
- # List of destination countries for messaging
643
- sig { returns(T.nilable(T::Array[Sentdm::DestinationCountry])) }
644
- attr_reader :destination_countries
645
-
646
- sig do
647
- params(
648
- destination_countries:
649
- T::Array[Sentdm::DestinationCountry::OrHash]
650
- ).void
651
- end
652
- attr_writer :destination_countries
653
-
654
- # Whether this is a TCR (Campaign Registry) application
655
- sig { returns(T.nilable(T::Boolean)) }
656
- attr_reader :is_tcr_application
657
-
658
- sig { params(is_tcr_application: T::Boolean).void }
659
- attr_writer :is_tcr_application
660
-
661
- # Additional notes about the business or use case
662
- sig { returns(T.nilable(String)) }
663
- attr_accessor :notes
664
-
665
- # Phone number prefix for messaging (e.g., "+1")
666
- sig { returns(T.nilable(String)) }
667
- attr_accessor :phone_number_prefix
668
-
669
- # Primary messaging use case description
670
- sig { returns(T.nilable(String)) }
671
- attr_accessor :primary_use_case
672
-
673
- sig { returns(T.nilable(Sentdm::TcrVertical::TaggedSymbol)) }
674
- attr_accessor :vertical
675
-
676
- # Compliance and TCR-related information
677
- sig do
678
- params(
679
- brand_relationship:
680
- T.nilable(Sentdm::TcrBrandRelationship::OrSymbol),
681
- destination_countries:
682
- T::Array[Sentdm::DestinationCountry::OrHash],
683
- is_tcr_application: T::Boolean,
684
- notes: T.nilable(String),
685
- phone_number_prefix: T.nilable(String),
686
- primary_use_case: T.nilable(String),
687
- vertical: T.nilable(Sentdm::TcrVertical::OrSymbol)
688
- ).returns(T.attached_class)
689
- end
690
- def self.new(
691
- brand_relationship: nil,
692
- # List of destination countries for messaging
693
- destination_countries: nil,
694
- # Whether this is a TCR (Campaign Registry) application
695
- is_tcr_application: nil,
696
- # Additional notes about the business or use case
697
- notes: nil,
698
- # Phone number prefix for messaging (e.g., "+1")
699
- phone_number_prefix: nil,
700
- # Primary messaging use case description
701
- primary_use_case: nil,
702
- vertical: nil
703
- )
704
- end
705
-
706
- sig do
707
- override.returns(
708
- {
709
- brand_relationship:
710
- T.nilable(Sentdm::TcrBrandRelationship::TaggedSymbol),
711
- destination_countries: T::Array[Sentdm::DestinationCountry],
712
- is_tcr_application: T::Boolean,
713
- notes: T.nilable(String),
714
- phone_number_prefix: T.nilable(String),
715
- primary_use_case: T.nilable(String),
716
- vertical: T.nilable(Sentdm::TcrVertical::TaggedSymbol)
717
- }
718
- )
719
- end
720
- def to_hash
721
- end
722
- end
723
-
724
- class Contact < Sentdm::Internal::Type::BaseModel
725
- OrHash =
726
- T.type_alias do
727
- T.any(
728
- Sentdm::ProfileDetail::Brand::Contact,
729
- Sentdm::Internal::AnyHash
730
- )
731
- end
732
-
733
- # Business/brand name
734
- sig { returns(T.nilable(String)) }
735
- attr_accessor :business_name
736
-
737
- # Contact email address
738
- sig { returns(T.nilable(String)) }
739
- attr_accessor :email
740
-
741
- # Primary contact name
742
- sig { returns(T.nilable(String)) }
743
- attr_reader :name
744
-
745
- sig { params(name: String).void }
746
- attr_writer :name
747
-
748
- # Contact phone number in E.164 format
749
- sig { returns(T.nilable(String)) }
750
- attr_accessor :phone
751
-
752
- # Contact phone country code (e.g., "1" for US)
753
- sig { returns(T.nilable(String)) }
754
- attr_accessor :phone_country_code
755
-
756
- # Contact's role in the business
757
- sig { returns(T.nilable(String)) }
758
- attr_accessor :role
759
-
760
- # Contact information for the brand
761
- sig do
762
- params(
763
- business_name: T.nilable(String),
764
- email: T.nilable(String),
765
- name: String,
766
- phone: T.nilable(String),
767
- phone_country_code: T.nilable(String),
768
- role: T.nilable(String)
769
- ).returns(T.attached_class)
770
- end
771
- def self.new(
772
- # Business/brand name
773
- business_name: nil,
774
- # Contact email address
775
- email: nil,
776
- # Primary contact name
777
- name: nil,
778
- # Contact phone number in E.164 format
779
- phone: nil,
780
- # Contact phone country code (e.g., "1" for US)
781
- phone_country_code: nil,
782
- # Contact's role in the business
783
- role: nil
784
- )
785
- end
786
-
787
- sig do
788
- override.returns(
789
- {
790
- business_name: T.nilable(String),
791
- email: T.nilable(String),
792
- name: String,
793
- phone: T.nilable(String),
794
- phone_country_code: T.nilable(String),
795
- role: T.nilable(String)
796
- }
797
- )
798
- end
799
- def to_hash
800
- end
801
- end
802
-
803
- module IdentityStatus
804
- extend Sentdm::Internal::Type::Enum
805
-
806
- TaggedSymbol =
807
- T.type_alias do
808
- T.all(Symbol, Sentdm::ProfileDetail::Brand::IdentityStatus)
809
- end
810
- OrSymbol = T.type_alias { T.any(Symbol, String) }
811
-
812
- SELF_DECLARED =
813
- T.let(
814
- :SELF_DECLARED,
815
- Sentdm::ProfileDetail::Brand::IdentityStatus::TaggedSymbol
816
- )
817
- UNVERIFIED =
818
- T.let(
819
- :UNVERIFIED,
820
- Sentdm::ProfileDetail::Brand::IdentityStatus::TaggedSymbol
821
- )
822
- VERIFIED =
823
- T.let(
824
- :VERIFIED,
825
- Sentdm::ProfileDetail::Brand::IdentityStatus::TaggedSymbol
826
- )
827
- VETTED_VERIFIED =
828
- T.let(
829
- :VETTED_VERIFIED,
830
- Sentdm::ProfileDetail::Brand::IdentityStatus::TaggedSymbol
831
- )
832
-
833
- sig do
834
- override.returns(
835
- T::Array[
836
- Sentdm::ProfileDetail::Brand::IdentityStatus::TaggedSymbol
837
- ]
838
- )
839
- end
840
- def self.values
841
- end
842
- end
843
-
844
- module Status
845
- extend Sentdm::Internal::Type::Enum
846
-
847
- TaggedSymbol =
848
- T.type_alias { T.all(Symbol, Sentdm::ProfileDetail::Brand::Status) }
849
- OrSymbol = T.type_alias { T.any(Symbol, String) }
850
-
851
- ACTIVE =
852
- T.let(:ACTIVE, Sentdm::ProfileDetail::Brand::Status::TaggedSymbol)
853
- INACTIVE =
854
- T.let(:INACTIVE, Sentdm::ProfileDetail::Brand::Status::TaggedSymbol)
855
- SUSPENDED =
856
- T.let(
857
- :SUSPENDED,
858
- Sentdm::ProfileDetail::Brand::Status::TaggedSymbol
859
- )
860
-
861
- sig do
862
- override.returns(
863
- T::Array[Sentdm::ProfileDetail::Brand::Status::TaggedSymbol]
864
- )
865
- end
866
- def self.values
867
- end
868
- end
869
- end
870
- end
871
- end
872
- end