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