sentdm 0.19.0 → 0.20.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 +8 -0
- data/README.md +31 -1
- data/lib/sentdm/internal/type/base_model.rb +5 -5
- data/lib/sentdm/internal/type/enum.rb +25 -0
- data/lib/sentdm/models/api_meta.rb +34 -0
- data/lib/sentdm/models/api_response_of_contact.rb +46 -0
- data/lib/sentdm/models/api_response_of_profile_detail.rb +43 -0
- data/lib/sentdm/models/api_response_of_user.rb +43 -0
- data/lib/sentdm/models/api_response_template.rb +43 -0
- data/lib/sentdm/models/api_response_webhook.rb +43 -0
- data/lib/sentdm/models/billing_contact_info.rb +47 -0
- data/lib/sentdm/models/brands_brand_data.rb +38 -0
- data/lib/sentdm/models/contact_delete_params.rb +2 -16
- data/lib/sentdm/models/contact_list_response.rb +12 -278
- data/lib/sentdm/models/contact_response.rb +126 -0
- data/lib/sentdm/models/destination_country.rb +21 -0
- data/lib/sentdm/models/error_detail.rb +42 -0
- data/lib/sentdm/models/me_retrieve_response.rb +12 -204
- data/lib/sentdm/models/message_retrieve_activities_response.rb +6 -74
- data/lib/sentdm/models/message_retrieve_status_response.rb +6 -74
- data/lib/sentdm/models/message_send_response.rb +6 -74
- data/lib/sentdm/models/mutation_request.rb +20 -0
- data/lib/sentdm/models/number_lookup_response.rb +6 -74
- data/lib/sentdm/models/pagination_meta.rb +80 -0
- data/lib/sentdm/models/payment_details.rb +44 -0
- data/lib/sentdm/models/profile_complete_response.rb +6 -74
- data/lib/sentdm/models/profile_create_params.rb +9 -423
- data/lib/sentdm/models/profile_delete_params.rb +2 -16
- data/lib/sentdm/models/profile_detail.rb +605 -0
- data/lib/sentdm/models/profile_list_response.rb +9 -753
- data/lib/sentdm/models/profile_settings.rb +66 -0
- data/lib/sentdm/models/profile_update_params.rb +9 -423
- data/lib/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rb +45 -0
- data/lib/sentdm/models/profiles/base_dto.rb +32 -0
- data/lib/sentdm/models/profiles/campaign_create_params.rb +3 -165
- data/lib/sentdm/models/profiles/campaign_data.rb +123 -0
- data/lib/sentdm/models/profiles/campaign_delete_params.rb +2 -17
- data/lib/sentdm/models/profiles/campaign_list_response.rb +9 -420
- data/lib/sentdm/models/profiles/campaign_update_params.rb +3 -165
- data/lib/sentdm/models/profiles/messaging_use_case_us.rb +28 -0
- data/lib/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb +29 -0
- data/lib/sentdm/models/profiles/tcr_campaign_with_use_cases.rb +248 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rb +34 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rb +48 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb +38 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rb +81 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb +34 -0
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rb +39 -0
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb +116 -0
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rb +75 -0
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rb +58 -0
- data/lib/sentdm/models/tcr_brand_relationship.rb +18 -0
- data/lib/sentdm/models/tcr_vertical.rb +36 -0
- data/lib/sentdm/models/template.rb +90 -0
- data/lib/sentdm/models/template_body_content.rb +27 -0
- data/lib/sentdm/models/template_create_params.rb +3 -889
- data/lib/sentdm/models/template_definition.rb +66 -0
- data/lib/sentdm/models/template_list_response.rb +12 -242
- data/lib/sentdm/models/template_update_params.rb +3 -889
- data/lib/sentdm/models/template_variable.rb +80 -0
- data/lib/sentdm/models/user_list_response.rb +9 -154
- data/lib/sentdm/models/user_remove_params.rb +2 -16
- data/lib/sentdm/models/user_response.rb +82 -0
- data/lib/sentdm/models/webhook_event_type.rb +45 -0
- data/lib/sentdm/models/webhook_list_event_types_response.rb +9 -118
- data/lib/sentdm/models/webhook_list_events_response.rb +9 -153
- data/lib/sentdm/models/webhook_list_response.rb +12 -247
- data/lib/sentdm/models/webhook_response.rb +95 -0
- data/lib/sentdm/models/webhook_rotate_secret_params.rb +2 -17
- data/lib/sentdm/models/webhook_rotate_secret_response.rb +6 -74
- data/lib/sentdm/models/webhook_test_response.rb +6 -74
- data/lib/sentdm/models.rb +77 -0
- data/lib/sentdm/resources/contacts.rb +6 -6
- 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 +40 -18
- data/rbi/sentdm/models/api_meta.rbi +55 -0
- data/rbi/sentdm/models/api_response_of_contact.rbi +74 -0
- data/rbi/sentdm/models/api_response_of_profile_detail.rbi +74 -0
- data/rbi/sentdm/models/api_response_of_user.rbi +74 -0
- data/rbi/sentdm/models/api_response_template.rbi +74 -0
- data/rbi/sentdm/models/api_response_webhook.rbi +74 -0
- data/rbi/sentdm/models/billing_contact_info.rbi +65 -0
- data/rbi/sentdm/models/brands_brand_data.rbi +104 -0
- data/rbi/sentdm/models/contact_delete_params.rbi +2 -19
- data/rbi/sentdm/models/contact_list_response.rbi +16 -505
- data/rbi/sentdm/models/contact_response.rbi +183 -0
- data/rbi/sentdm/models/destination_country.rbi +32 -0
- data/rbi/sentdm/models/error_detail.rbi +66 -0
- data/rbi/sentdm/models/me_retrieve_response.rbi +16 -335
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +8 -154
- data/rbi/sentdm/models/message_retrieve_status_response.rbi +8 -148
- data/rbi/sentdm/models/message_send_response.rbi +8 -135
- data/rbi/sentdm/models/mutation_request.rbi +32 -0
- data/rbi/sentdm/models/number_lookup_response.rbi +8 -135
- data/rbi/sentdm/models/pagination_meta.rbi +135 -0
- data/rbi/sentdm/models/payment_details.rbi +59 -0
- data/rbi/sentdm/models/profile_complete_response.rbi +8 -137
- data/rbi/sentdm/models/profile_create_params.rbi +12 -810
- data/rbi/sentdm/models/profile_delete_params.rbi +2 -19
- data/rbi/sentdm/models/profile_detail.rbi +874 -0
- data/rbi/sentdm/models/profile_list_response.rbi +14 -1400
- data/rbi/sentdm/models/profile_settings.rbi +86 -0
- data/rbi/sentdm/models/profile_update_params.rbi +12 -810
- data/rbi/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbi +83 -0
- data/rbi/sentdm/models/profiles/base_dto.rbi +53 -0
- data/rbi/sentdm/models/profiles/campaign_create_params.rbi +4 -289
- data/rbi/sentdm/models/profiles/campaign_data.rbi +148 -0
- data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +1 -14
- data/rbi/sentdm/models/profiles/campaign_list_response.rbi +11 -733
- data/rbi/sentdm/models/profiles/campaign_update_params.rbi +4 -289
- data/rbi/sentdm/models/profiles/messaging_use_case_us.rbi +73 -0
- data/rbi/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi +51 -0
- data/rbi/sentdm/models/profiles/tcr_campaign_with_use_cases.rbi +425 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbi +56 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbi +87 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbi +72 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbi +104 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbi +57 -0
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbi +59 -0
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbi +180 -0
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbi +95 -0
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbi +81 -0
- data/rbi/sentdm/models/tcr_brand_relationship.rbi +30 -0
- data/rbi/sentdm/models/tcr_vertical.rbi +41 -0
- data/rbi/sentdm/models/template.rbi +129 -0
- data/rbi/sentdm/models/template_body_content.rbi +43 -0
- data/rbi/sentdm/models/template_create_params.rbi +4 -1701
- data/rbi/sentdm/models/template_definition.rbi +164 -0
- data/rbi/sentdm/models/template_list_response.rbi +16 -454
- data/rbi/sentdm/models/template_update_params.rbi +4 -1701
- data/rbi/sentdm/models/template_variable.rbi +120 -0
- data/rbi/sentdm/models/user_list_response.rbi +14 -271
- data/rbi/sentdm/models/user_remove_params.rbi +2 -19
- data/rbi/sentdm/models/user_response.rbi +118 -0
- data/rbi/sentdm/models/webhook_event_type.rbi +74 -0
- data/rbi/sentdm/models/webhook_list_event_types_response.rbi +12 -247
- data/rbi/sentdm/models/webhook_list_events_response.rbi +12 -314
- data/rbi/sentdm/models/webhook_list_response.rbi +16 -462
- data/rbi/sentdm/models/webhook_response.rbi +140 -0
- data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +1 -14
- data/rbi/sentdm/models/webhook_rotate_secret_response.rbi +8 -148
- data/rbi/sentdm/models/webhook_test_response.rbi +8 -135
- data/rbi/sentdm/models.rbi +77 -0
- data/rbi/sentdm/resources/contacts.rbi +3 -3
- data/rbi/sentdm/resources/profiles/campaigns.rbi +4 -4
- data/rbi/sentdm/resources/profiles.rbi +9 -13
- data/rbi/sentdm/resources/templates.rbi +5 -6
- data/rbi/sentdm/resources/users.rbi +3 -3
- data/rbi/sentdm/resources/webhooks.rbi +4 -4
- data/sig/sentdm/models/api_meta.rbs +27 -0
- data/sig/sentdm/models/api_response_of_contact.rbs +39 -0
- data/sig/sentdm/models/api_response_of_profile_detail.rbs +39 -0
- data/sig/sentdm/models/api_response_of_user.rbs +39 -0
- data/sig/sentdm/models/api_response_template.rbs +39 -0
- data/sig/sentdm/models/api_response_webhook.rbs +39 -0
- data/sig/sentdm/models/billing_contact_info.rbs +30 -0
- data/sig/sentdm/models/brands_brand_data.rbs +30 -0
- data/sig/sentdm/models/contact_delete_params.rbs +6 -10
- data/sig/sentdm/models/contact_list_response.rbs +20 -256
- data/sig/sentdm/models/contact_response.rbs +111 -0
- data/sig/sentdm/models/destination_country.rbs +19 -0
- data/sig/sentdm/models/error_detail.rbs +39 -0
- data/sig/sentdm/models/me_retrieve_response.rbs +18 -176
- data/sig/sentdm/models/message_retrieve_activities_response.rbs +9 -71
- data/sig/sentdm/models/message_retrieve_status_response.rbs +9 -71
- data/sig/sentdm/models/message_send_response.rbs +9 -71
- data/sig/sentdm/models/mutation_request.rbs +15 -0
- data/sig/sentdm/models/number_lookup_response.rbs +9 -71
- data/sig/sentdm/models/pagination_meta.rbs +67 -0
- data/sig/sentdm/models/payment_details.rbs +30 -0
- data/sig/sentdm/models/profile_complete_response.rbs +9 -71
- data/sig/sentdm/models/profile_create_params.rbs +12 -363
- data/sig/sentdm/models/profile_delete_params.rbs +6 -10
- data/sig/sentdm/models/profile_detail.rbs +474 -0
- data/sig/sentdm/models/profile_list_response.rbs +15 -645
- data/sig/sentdm/models/profile_settings.rbs +50 -0
- data/sig/sentdm/models/profile_update_params.rbs +12 -363
- data/sig/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbs +41 -0
- data/sig/sentdm/models/profiles/base_dto.rbs +27 -0
- data/sig/sentdm/models/profiles/campaign_create_params.rbs +4 -138
- data/sig/sentdm/models/profiles/campaign_data.rbs +82 -0
- data/sig/sentdm/models/profiles/campaign_delete_params.rbs +8 -15
- data/sig/sentdm/models/profiles/campaign_list_response.rbs +13 -396
- data/sig/sentdm/models/profiles/campaign_update_params.rbs +4 -138
- data/sig/sentdm/models/profiles/messaging_use_case_us.rbs +40 -0
- data/sig/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs +27 -0
- data/sig/sentdm/models/profiles/tcr_campaign_with_use_cases.rbs +299 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbs +24 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbs +35 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbs +32 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbs +75 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbs +30 -0
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbs +30 -0
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbs +89 -0
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbs +55 -0
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbs +45 -0
- data/sig/sentdm/models/tcr_brand_relationship.rbs +22 -0
- data/sig/sentdm/models/tcr_vertical.rbs +58 -0
- data/sig/sentdm/models/template.rbs +79 -0
- data/sig/sentdm/models/template_body_content.rbs +30 -0
- data/sig/sentdm/models/template_create_params.rbs +6 -853
- data/sig/sentdm/models/template_definition.rbs +45 -0
- data/sig/sentdm/models/template_list_response.rbs +19 -225
- data/sig/sentdm/models/template_update_params.rbs +4 -851
- data/sig/sentdm/models/template_variable.rbs +84 -0
- data/sig/sentdm/models/user_list_response.rbs +15 -151
- data/sig/sentdm/models/user_remove_params.rbs +6 -10
- data/sig/sentdm/models/user_response.rbs +72 -0
- data/sig/sentdm/models/webhook_event_type.rbs +51 -0
- data/sig/sentdm/models/webhook_list_event_types_response.rbs +15 -130
- data/sig/sentdm/models/webhook_list_events_response.rbs +14 -142
- data/sig/sentdm/models/webhook_list_response.rbs +20 -248
- data/sig/sentdm/models/webhook_response.rbs +103 -0
- data/sig/sentdm/models/webhook_rotate_secret_params.rbs +8 -17
- data/sig/sentdm/models/webhook_rotate_secret_response.rbs +9 -71
- data/sig/sentdm/models/webhook_test_response.rbs +9 -71
- data/sig/sentdm/models.rbs +68 -0
- data/sig/sentdm/resources/contacts.rbs +3 -3
- 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 +121 -55
- data/lib/sentdm/models/contact_create_response.rb +0 -236
- data/lib/sentdm/models/contact_retrieve_response.rb +0 -236
- data/lib/sentdm/models/contact_update_response.rb +0 -236
- data/lib/sentdm/models/profile_create_response.rb +0 -781
- data/lib/sentdm/models/profile_retrieve_response.rb +0 -783
- data/lib/sentdm/models/profile_update_response.rb +0 -781
- data/lib/sentdm/models/profiles/campaign_create_response.rb +0 -459
- data/lib/sentdm/models/profiles/campaign_update_response.rb +0 -459
- data/lib/sentdm/models/template_create_response.rb +0 -197
- data/lib/sentdm/models/template_retrieve_response.rb +0 -197
- data/lib/sentdm/models/template_update_response.rb +0 -197
- data/lib/sentdm/models/user_invite_response.rb +0 -189
- data/lib/sentdm/models/user_retrieve_response.rb +0 -189
- data/lib/sentdm/models/user_update_role_response.rb +0 -189
- data/lib/sentdm/models/webhook_create_response.rb +0 -204
- data/lib/sentdm/models/webhook_retrieve_response.rb +0 -204
- data/lib/sentdm/models/webhook_toggle_status_response.rb +0 -204
- data/lib/sentdm/models/webhook_update_response.rb +0 -204
- data/rbi/sentdm/models/contact_create_response.rbi +0 -390
- data/rbi/sentdm/models/contact_retrieve_response.rbi +0 -392
- data/rbi/sentdm/models/contact_update_response.rbi +0 -390
- data/rbi/sentdm/models/profile_create_response.rbi +0 -1439
- data/rbi/sentdm/models/profile_retrieve_response.rbi +0 -1443
- data/rbi/sentdm/models/profile_update_response.rbi +0 -1439
- data/rbi/sentdm/models/profiles/campaign_create_response.rbi +0 -814
- data/rbi/sentdm/models/profiles/campaign_update_response.rbi +0 -814
- data/rbi/sentdm/models/template_create_response.rbi +0 -339
- data/rbi/sentdm/models/template_retrieve_response.rbi +0 -345
- data/rbi/sentdm/models/template_update_response.rbi +0 -339
- data/rbi/sentdm/models/user_invite_response.rbi +0 -323
- data/rbi/sentdm/models/user_retrieve_response.rbi +0 -323
- data/rbi/sentdm/models/user_update_role_response.rbi +0 -328
- data/rbi/sentdm/models/webhook_create_response.rbi +0 -348
- data/rbi/sentdm/models/webhook_retrieve_response.rbi +0 -350
- data/rbi/sentdm/models/webhook_toggle_status_response.rbi +0 -366
- data/rbi/sentdm/models/webhook_update_response.rbi +0 -348
- data/sig/sentdm/models/contact_create_response.rbs +0 -209
- data/sig/sentdm/models/contact_retrieve_response.rbs +0 -209
- data/sig/sentdm/models/contact_update_response.rbs +0 -209
- data/sig/sentdm/models/profile_create_response.rbs +0 -662
- data/sig/sentdm/models/profile_retrieve_response.rbs +0 -662
- data/sig/sentdm/models/profile_update_response.rbs +0 -662
- data/sig/sentdm/models/profiles/campaign_create_response.rbs +0 -424
- data/sig/sentdm/models/profiles/campaign_update_response.rbs +0 -424
- data/sig/sentdm/models/template_create_response.rbs +0 -177
- data/sig/sentdm/models/template_retrieve_response.rbs +0 -177
- data/sig/sentdm/models/template_update_response.rbs +0 -177
- data/sig/sentdm/models/user_invite_response.rbs +0 -170
- data/sig/sentdm/models/user_retrieve_response.rbs +0 -170
- data/sig/sentdm/models/user_update_role_response.rbs +0 -170
- data/sig/sentdm/models/webhook_create_response.rbs +0 -201
- data/sig/sentdm/models/webhook_retrieve_response.rbs +0 -201
- data/sig/sentdm/models/webhook_toggle_status_response.rbs +0 -201
- data/sig/sentdm/models/webhook_update_response.rbs +0 -201
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
module Profiles
|
|
4
|
+
type tcr_campaign_with_use_cases =
|
|
5
|
+
{
|
|
6
|
+
billed_date: Time?,
|
|
7
|
+
brand_id: String?,
|
|
8
|
+
cost: Float?,
|
|
9
|
+
csp_id: String?,
|
|
10
|
+
customer_id: String,
|
|
11
|
+
dca_elections_complete: bool,
|
|
12
|
+
dca_elections_completed_at: Time?,
|
|
13
|
+
description: String,
|
|
14
|
+
help_keywords: String?,
|
|
15
|
+
help_message: String?,
|
|
16
|
+
kyc_submission_form_id: String?,
|
|
17
|
+
message_flow: String?,
|
|
18
|
+
name: String,
|
|
19
|
+
optin_keywords: String?,
|
|
20
|
+
optin_message: String?,
|
|
21
|
+
optout_keywords: String?,
|
|
22
|
+
optout_message: String?,
|
|
23
|
+
privacy_policy_link: String?,
|
|
24
|
+
reseller_id: String?,
|
|
25
|
+
sharing_status: Sentdm::Models::Profiles::TcrCampaignWithUseCases::sharing_status?,
|
|
26
|
+
status: Sentdm::Models::Profiles::TcrCampaignWithUseCases::status?,
|
|
27
|
+
submitted_at: Time?,
|
|
28
|
+
submitted_to_tcr: bool,
|
|
29
|
+
tcr_campaign_id: String?,
|
|
30
|
+
tcr_sync_error: String?,
|
|
31
|
+
telnyx_campaign_id: String?,
|
|
32
|
+
terms_and_conditions_link: String?,
|
|
33
|
+
type: String,
|
|
34
|
+
upstream_cnp_id: String?,
|
|
35
|
+
use_cases: ::Array[Sentdm::Profiles::TcrCampaignWithUseCases::UseCase]
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
class TcrCampaignWithUseCases < Sentdm::Models::Profiles::BaseDto
|
|
39
|
+
def billed_date: -> Time?
|
|
40
|
+
|
|
41
|
+
def billed_date=: (Time? _) -> Time?
|
|
42
|
+
|
|
43
|
+
def brand_id: -> String?
|
|
44
|
+
|
|
45
|
+
def brand_id=: (String? _) -> String?
|
|
46
|
+
|
|
47
|
+
def cost: -> Float?
|
|
48
|
+
|
|
49
|
+
def cost=: (Float? _) -> Float?
|
|
50
|
+
|
|
51
|
+
def csp_id: -> String?
|
|
52
|
+
|
|
53
|
+
def csp_id=: (String? _) -> String?
|
|
54
|
+
|
|
55
|
+
def customer_id: -> String?
|
|
56
|
+
|
|
57
|
+
def customer_id=: (String _) -> String
|
|
58
|
+
|
|
59
|
+
def dca_elections_complete: -> bool?
|
|
60
|
+
|
|
61
|
+
def dca_elections_complete=: (bool _) -> bool
|
|
62
|
+
|
|
63
|
+
def dca_elections_completed_at: -> Time?
|
|
64
|
+
|
|
65
|
+
def dca_elections_completed_at=: (Time? _) -> Time?
|
|
66
|
+
|
|
67
|
+
def description: -> String?
|
|
68
|
+
|
|
69
|
+
def description=: (String _) -> String
|
|
70
|
+
|
|
71
|
+
def help_keywords: -> String?
|
|
72
|
+
|
|
73
|
+
def help_keywords=: (String? _) -> String?
|
|
74
|
+
|
|
75
|
+
def help_message: -> String?
|
|
76
|
+
|
|
77
|
+
def help_message=: (String? _) -> String?
|
|
78
|
+
|
|
79
|
+
def kyc_submission_form_id: -> String?
|
|
80
|
+
|
|
81
|
+
def kyc_submission_form_id=: (String? _) -> String?
|
|
82
|
+
|
|
83
|
+
def message_flow: -> String?
|
|
84
|
+
|
|
85
|
+
def message_flow=: (String? _) -> String?
|
|
86
|
+
|
|
87
|
+
def name: -> String?
|
|
88
|
+
|
|
89
|
+
def name=: (String _) -> String
|
|
90
|
+
|
|
91
|
+
def optin_keywords: -> String?
|
|
92
|
+
|
|
93
|
+
def optin_keywords=: (String? _) -> String?
|
|
94
|
+
|
|
95
|
+
def optin_message: -> String?
|
|
96
|
+
|
|
97
|
+
def optin_message=: (String? _) -> String?
|
|
98
|
+
|
|
99
|
+
def optout_keywords: -> String?
|
|
100
|
+
|
|
101
|
+
def optout_keywords=: (String? _) -> String?
|
|
102
|
+
|
|
103
|
+
def optout_message: -> String?
|
|
104
|
+
|
|
105
|
+
def optout_message=: (String? _) -> String?
|
|
106
|
+
|
|
107
|
+
def privacy_policy_link: -> String?
|
|
108
|
+
|
|
109
|
+
def privacy_policy_link=: (String? _) -> String?
|
|
110
|
+
|
|
111
|
+
def reseller_id: -> String?
|
|
112
|
+
|
|
113
|
+
def reseller_id=: (String? _) -> String?
|
|
114
|
+
|
|
115
|
+
def sharing_status: -> Sentdm::Models::Profiles::TcrCampaignWithUseCases::sharing_status?
|
|
116
|
+
|
|
117
|
+
def sharing_status=: (
|
|
118
|
+
Sentdm::Models::Profiles::TcrCampaignWithUseCases::sharing_status? _
|
|
119
|
+
) -> Sentdm::Models::Profiles::TcrCampaignWithUseCases::sharing_status?
|
|
120
|
+
|
|
121
|
+
def status: -> Sentdm::Models::Profiles::TcrCampaignWithUseCases::status?
|
|
122
|
+
|
|
123
|
+
def status=: (
|
|
124
|
+
Sentdm::Models::Profiles::TcrCampaignWithUseCases::status? _
|
|
125
|
+
) -> Sentdm::Models::Profiles::TcrCampaignWithUseCases::status?
|
|
126
|
+
|
|
127
|
+
def submitted_at: -> Time?
|
|
128
|
+
|
|
129
|
+
def submitted_at=: (Time? _) -> Time?
|
|
130
|
+
|
|
131
|
+
def submitted_to_tcr: -> bool?
|
|
132
|
+
|
|
133
|
+
def submitted_to_tcr=: (bool _) -> bool
|
|
134
|
+
|
|
135
|
+
def tcr_campaign_id: -> String?
|
|
136
|
+
|
|
137
|
+
def tcr_campaign_id=: (String? _) -> String?
|
|
138
|
+
|
|
139
|
+
def tcr_sync_error: -> String?
|
|
140
|
+
|
|
141
|
+
def tcr_sync_error=: (String? _) -> String?
|
|
142
|
+
|
|
143
|
+
def telnyx_campaign_id: -> String?
|
|
144
|
+
|
|
145
|
+
def telnyx_campaign_id=: (String? _) -> String?
|
|
146
|
+
|
|
147
|
+
def terms_and_conditions_link: -> String?
|
|
148
|
+
|
|
149
|
+
def terms_and_conditions_link=: (String? _) -> String?
|
|
150
|
+
|
|
151
|
+
def `type`: -> String?
|
|
152
|
+
|
|
153
|
+
def type=: (String _) -> String
|
|
154
|
+
|
|
155
|
+
def upstream_cnp_id: -> String?
|
|
156
|
+
|
|
157
|
+
def upstream_cnp_id=: (String? _) -> String?
|
|
158
|
+
|
|
159
|
+
def use_cases: -> ::Array[Sentdm::Profiles::TcrCampaignWithUseCases::UseCase]?
|
|
160
|
+
|
|
161
|
+
def use_cases=: (
|
|
162
|
+
::Array[Sentdm::Profiles::TcrCampaignWithUseCases::UseCase] _
|
|
163
|
+
) -> ::Array[Sentdm::Profiles::TcrCampaignWithUseCases::UseCase]
|
|
164
|
+
|
|
165
|
+
def initialize: (
|
|
166
|
+
?billed_date: Time?,
|
|
167
|
+
?brand_id: String?,
|
|
168
|
+
?cost: Float?,
|
|
169
|
+
?csp_id: String?,
|
|
170
|
+
?customer_id: String,
|
|
171
|
+
?dca_elections_complete: bool,
|
|
172
|
+
?dca_elections_completed_at: Time?,
|
|
173
|
+
?description: String,
|
|
174
|
+
?help_keywords: String?,
|
|
175
|
+
?help_message: String?,
|
|
176
|
+
?kyc_submission_form_id: String?,
|
|
177
|
+
?message_flow: String?,
|
|
178
|
+
?name: String,
|
|
179
|
+
?optin_keywords: String?,
|
|
180
|
+
?optin_message: String?,
|
|
181
|
+
?optout_keywords: String?,
|
|
182
|
+
?optout_message: String?,
|
|
183
|
+
?privacy_policy_link: String?,
|
|
184
|
+
?reseller_id: String?,
|
|
185
|
+
?sharing_status: Sentdm::Models::Profiles::TcrCampaignWithUseCases::sharing_status?,
|
|
186
|
+
?status: Sentdm::Models::Profiles::TcrCampaignWithUseCases::status?,
|
|
187
|
+
?submitted_at: Time?,
|
|
188
|
+
?submitted_to_tcr: bool,
|
|
189
|
+
?tcr_campaign_id: String?,
|
|
190
|
+
?tcr_sync_error: String?,
|
|
191
|
+
?telnyx_campaign_id: String?,
|
|
192
|
+
?terms_and_conditions_link: String?,
|
|
193
|
+
?type: String,
|
|
194
|
+
?upstream_cnp_id: String?,
|
|
195
|
+
?use_cases: ::Array[Sentdm::Profiles::TcrCampaignWithUseCases::UseCase]
|
|
196
|
+
) -> void
|
|
197
|
+
|
|
198
|
+
def to_hash: -> {
|
|
199
|
+
billed_date: Time?,
|
|
200
|
+
brand_id: String?,
|
|
201
|
+
cost: Float?,
|
|
202
|
+
csp_id: String?,
|
|
203
|
+
customer_id: String,
|
|
204
|
+
dca_elections_complete: bool,
|
|
205
|
+
dca_elections_completed_at: Time?,
|
|
206
|
+
description: String,
|
|
207
|
+
help_keywords: String?,
|
|
208
|
+
help_message: String?,
|
|
209
|
+
kyc_submission_form_id: String?,
|
|
210
|
+
message_flow: String?,
|
|
211
|
+
name: String,
|
|
212
|
+
optin_keywords: String?,
|
|
213
|
+
optin_message: String?,
|
|
214
|
+
optout_keywords: String?,
|
|
215
|
+
optout_message: String?,
|
|
216
|
+
privacy_policy_link: String?,
|
|
217
|
+
reseller_id: String?,
|
|
218
|
+
sharing_status: Sentdm::Models::Profiles::TcrCampaignWithUseCases::sharing_status?,
|
|
219
|
+
status: Sentdm::Models::Profiles::TcrCampaignWithUseCases::status?,
|
|
220
|
+
submitted_at: Time?,
|
|
221
|
+
submitted_to_tcr: bool,
|
|
222
|
+
tcr_campaign_id: String?,
|
|
223
|
+
tcr_sync_error: String?,
|
|
224
|
+
telnyx_campaign_id: String?,
|
|
225
|
+
terms_and_conditions_link: String?,
|
|
226
|
+
type: String,
|
|
227
|
+
upstream_cnp_id: String?,
|
|
228
|
+
use_cases: ::Array[Sentdm::Profiles::TcrCampaignWithUseCases::UseCase]
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
type sharing_status = :PENDING | :ACCEPTED | :DECLINED
|
|
232
|
+
|
|
233
|
+
module SharingStatus
|
|
234
|
+
extend Sentdm::Internal::Type::Enum
|
|
235
|
+
|
|
236
|
+
PENDING: :PENDING
|
|
237
|
+
ACCEPTED: :ACCEPTED
|
|
238
|
+
DECLINED: :DECLINED
|
|
239
|
+
|
|
240
|
+
def self?.values: -> ::Array[Sentdm::Models::Profiles::TcrCampaignWithUseCases::sharing_status]
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
type status = :SENT_CREATED | :ACTIVE | :EXPIRED
|
|
244
|
+
|
|
245
|
+
module Status
|
|
246
|
+
extend Sentdm::Internal::Type::Enum
|
|
247
|
+
|
|
248
|
+
SENT_CREATED: :SENT_CREATED
|
|
249
|
+
ACTIVE: :ACTIVE
|
|
250
|
+
EXPIRED: :EXPIRED
|
|
251
|
+
|
|
252
|
+
def self?.values: -> ::Array[Sentdm::Models::Profiles::TcrCampaignWithUseCases::status]
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
type use_case =
|
|
256
|
+
{
|
|
257
|
+
campaign_id: String,
|
|
258
|
+
customer_id: String,
|
|
259
|
+
messaging_use_case_us: Sentdm::Models::Profiles::messaging_use_case_us,
|
|
260
|
+
sample_messages: ::Array[String]
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
class UseCase < Sentdm::Models::Profiles::BaseDto
|
|
264
|
+
def campaign_id: -> String?
|
|
265
|
+
|
|
266
|
+
def campaign_id=: (String _) -> String
|
|
267
|
+
|
|
268
|
+
def customer_id: -> String?
|
|
269
|
+
|
|
270
|
+
def customer_id=: (String _) -> String
|
|
271
|
+
|
|
272
|
+
def messaging_use_case_us: -> Sentdm::Models::Profiles::messaging_use_case_us?
|
|
273
|
+
|
|
274
|
+
def messaging_use_case_us=: (
|
|
275
|
+
Sentdm::Models::Profiles::messaging_use_case_us _
|
|
276
|
+
) -> Sentdm::Models::Profiles::messaging_use_case_us
|
|
277
|
+
|
|
278
|
+
def sample_messages: -> ::Array[String]?
|
|
279
|
+
|
|
280
|
+
def sample_messages=: (::Array[String] _) -> ::Array[String]
|
|
281
|
+
|
|
282
|
+
def initialize: (
|
|
283
|
+
?campaign_id: String,
|
|
284
|
+
?customer_id: String,
|
|
285
|
+
?messaging_use_case_us: Sentdm::Models::Profiles::messaging_use_case_us,
|
|
286
|
+
?sample_messages: ::Array[String]
|
|
287
|
+
) -> void
|
|
288
|
+
|
|
289
|
+
def to_hash: -> {
|
|
290
|
+
campaign_id: String,
|
|
291
|
+
customer_id: String,
|
|
292
|
+
messaging_use_case_us: Sentdm::Models::Profiles::messaging_use_case_us,
|
|
293
|
+
sample_messages: ::Array[String]
|
|
294
|
+
}
|
|
295
|
+
end
|
|
296
|
+
end
|
|
297
|
+
end
|
|
298
|
+
end
|
|
299
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type sent_dm_services_common_contracts_poc_os_authentication_config =
|
|
4
|
+
{ add_security_recommendation: bool, code_expiration_minutes: Integer? }
|
|
5
|
+
|
|
6
|
+
class SentDmServicesCommonContractsPocOsAuthenticationConfig < Sentdm::Internal::Type::BaseModel
|
|
7
|
+
attr_reader add_security_recommendation: bool?
|
|
8
|
+
|
|
9
|
+
def add_security_recommendation=: (bool) -> bool
|
|
10
|
+
|
|
11
|
+
attr_accessor code_expiration_minutes: Integer?
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
?add_security_recommendation: bool,
|
|
15
|
+
?code_expiration_minutes: Integer?
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
add_security_recommendation: bool,
|
|
20
|
+
code_expiration_minutes: Integer?
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type sent_dm_services_common_contracts_poc_os_template_body =
|
|
4
|
+
{
|
|
5
|
+
multi_channel: Sentdm::TemplateBodyContent?,
|
|
6
|
+
rcs: Sentdm::TemplateBodyContent?,
|
|
7
|
+
sms: Sentdm::TemplateBodyContent?,
|
|
8
|
+
whatsapp: Sentdm::TemplateBodyContent?
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class SentDmServicesCommonContractsPocOsTemplateBody < Sentdm::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor multi_channel: Sentdm::TemplateBodyContent?
|
|
13
|
+
|
|
14
|
+
attr_accessor rcs: Sentdm::TemplateBodyContent?
|
|
15
|
+
|
|
16
|
+
attr_accessor sms: Sentdm::TemplateBodyContent?
|
|
17
|
+
|
|
18
|
+
attr_accessor whatsapp: Sentdm::TemplateBodyContent?
|
|
19
|
+
|
|
20
|
+
def initialize: (
|
|
21
|
+
?multi_channel: Sentdm::TemplateBodyContent?,
|
|
22
|
+
?rcs: Sentdm::TemplateBodyContent?,
|
|
23
|
+
?sms: Sentdm::TemplateBodyContent?,
|
|
24
|
+
?whatsapp: Sentdm::TemplateBodyContent?
|
|
25
|
+
) -> void
|
|
26
|
+
|
|
27
|
+
def to_hash: -> {
|
|
28
|
+
multi_channel: Sentdm::TemplateBodyContent?,
|
|
29
|
+
rcs: Sentdm::TemplateBodyContent?,
|
|
30
|
+
sms: Sentdm::TemplateBodyContent?,
|
|
31
|
+
whatsapp: Sentdm::TemplateBodyContent?
|
|
32
|
+
}
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type sent_dm_services_common_contracts_poc_os_template_button =
|
|
4
|
+
{
|
|
5
|
+
props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps,
|
|
6
|
+
type: String,
|
|
7
|
+
id: Integer
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class SentDmServicesCommonContractsPocOsTemplateButton < Sentdm::Internal::Type::BaseModel
|
|
11
|
+
attr_accessor props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps
|
|
12
|
+
|
|
13
|
+
attr_accessor type: String
|
|
14
|
+
|
|
15
|
+
attr_reader id: Integer?
|
|
16
|
+
|
|
17
|
+
def id=: (Integer) -> Integer
|
|
18
|
+
|
|
19
|
+
def initialize: (
|
|
20
|
+
props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps,
|
|
21
|
+
type: String,
|
|
22
|
+
?id: Integer
|
|
23
|
+
) -> void
|
|
24
|
+
|
|
25
|
+
def to_hash: -> {
|
|
26
|
+
props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps,
|
|
27
|
+
type: String,
|
|
28
|
+
id: Integer
|
|
29
|
+
}
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type sent_dm_services_common_contracts_poc_os_template_button_props =
|
|
4
|
+
{
|
|
5
|
+
active_for: Integer,
|
|
6
|
+
country_code: String,
|
|
7
|
+
offer_code: String,
|
|
8
|
+
phone_number: String,
|
|
9
|
+
quick_reply_type: String,
|
|
10
|
+
text: String,
|
|
11
|
+
url: String,
|
|
12
|
+
url_type: String,
|
|
13
|
+
autofill_text: String?,
|
|
14
|
+
otp_type: String?,
|
|
15
|
+
package_name: String?,
|
|
16
|
+
signature_hash: String?
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
class SentDmServicesCommonContractsPocOsTemplateButtonProps < Sentdm::Internal::Type::BaseModel
|
|
20
|
+
attr_accessor active_for: Integer
|
|
21
|
+
|
|
22
|
+
attr_accessor country_code: String
|
|
23
|
+
|
|
24
|
+
attr_accessor offer_code: String
|
|
25
|
+
|
|
26
|
+
attr_accessor phone_number: String
|
|
27
|
+
|
|
28
|
+
attr_accessor quick_reply_type: String
|
|
29
|
+
|
|
30
|
+
attr_accessor text: String
|
|
31
|
+
|
|
32
|
+
attr_accessor url: String
|
|
33
|
+
|
|
34
|
+
attr_accessor url_type: String
|
|
35
|
+
|
|
36
|
+
attr_accessor autofill_text: String?
|
|
37
|
+
|
|
38
|
+
attr_accessor otp_type: String?
|
|
39
|
+
|
|
40
|
+
attr_accessor package_name: String?
|
|
41
|
+
|
|
42
|
+
attr_accessor signature_hash: String?
|
|
43
|
+
|
|
44
|
+
def initialize: (
|
|
45
|
+
active_for: Integer,
|
|
46
|
+
country_code: String,
|
|
47
|
+
offer_code: String,
|
|
48
|
+
phone_number: String,
|
|
49
|
+
quick_reply_type: String,
|
|
50
|
+
text: String,
|
|
51
|
+
url: String,
|
|
52
|
+
url_type: String,
|
|
53
|
+
?autofill_text: String?,
|
|
54
|
+
?otp_type: String?,
|
|
55
|
+
?package_name: String?,
|
|
56
|
+
?signature_hash: String?
|
|
57
|
+
) -> void
|
|
58
|
+
|
|
59
|
+
def to_hash: -> {
|
|
60
|
+
active_for: Integer,
|
|
61
|
+
country_code: String,
|
|
62
|
+
offer_code: String,
|
|
63
|
+
phone_number: String,
|
|
64
|
+
quick_reply_type: String,
|
|
65
|
+
text: String,
|
|
66
|
+
url: String,
|
|
67
|
+
url_type: String,
|
|
68
|
+
autofill_text: String?,
|
|
69
|
+
otp_type: String?,
|
|
70
|
+
package_name: String?,
|
|
71
|
+
signature_hash: String?
|
|
72
|
+
}
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type sent_dm_services_common_contracts_poc_os_template_footer =
|
|
4
|
+
{
|
|
5
|
+
template: String,
|
|
6
|
+
type: String?,
|
|
7
|
+
variables: ::Array[Sentdm::TemplateVariable]?
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class SentDmServicesCommonContractsPocOsTemplateFooter < Sentdm::Internal::Type::BaseModel
|
|
11
|
+
attr_accessor template: String
|
|
12
|
+
|
|
13
|
+
attr_accessor type: String?
|
|
14
|
+
|
|
15
|
+
attr_accessor variables: ::Array[Sentdm::TemplateVariable]?
|
|
16
|
+
|
|
17
|
+
def initialize: (
|
|
18
|
+
template: String,
|
|
19
|
+
?type: String?,
|
|
20
|
+
?variables: ::Array[Sentdm::TemplateVariable]?
|
|
21
|
+
) -> void
|
|
22
|
+
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
template: String,
|
|
25
|
+
type: String?,
|
|
26
|
+
variables: ::Array[Sentdm::TemplateVariable]?
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type sent_dm_services_common_contracts_poc_os_template_header =
|
|
4
|
+
{
|
|
5
|
+
template: String,
|
|
6
|
+
type: String?,
|
|
7
|
+
variables: ::Array[Sentdm::TemplateVariable]?
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class SentDmServicesCommonContractsPocOsTemplateHeader < Sentdm::Internal::Type::BaseModel
|
|
11
|
+
attr_accessor template: String
|
|
12
|
+
|
|
13
|
+
attr_accessor type: String?
|
|
14
|
+
|
|
15
|
+
attr_accessor variables: ::Array[Sentdm::TemplateVariable]?
|
|
16
|
+
|
|
17
|
+
def initialize: (
|
|
18
|
+
template: String,
|
|
19
|
+
?type: String?,
|
|
20
|
+
?variables: ::Array[Sentdm::TemplateVariable]?
|
|
21
|
+
) -> void
|
|
22
|
+
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
template: String,
|
|
25
|
+
type: String?,
|
|
26
|
+
variables: ::Array[Sentdm::TemplateVariable]?
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info =
|
|
4
|
+
{
|
|
5
|
+
city: String?,
|
|
6
|
+
country: String?,
|
|
7
|
+
country_of_registration: String?,
|
|
8
|
+
entity_type: Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::entity_type?,
|
|
9
|
+
legal_name: String?,
|
|
10
|
+
postal_code: String?,
|
|
11
|
+
state: String?,
|
|
12
|
+
street: String?,
|
|
13
|
+
tax_id: String?,
|
|
14
|
+
tax_id_type: String?,
|
|
15
|
+
url: String?
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
class SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo < Sentdm::Internal::Type::BaseModel
|
|
19
|
+
attr_accessor city: String?
|
|
20
|
+
|
|
21
|
+
attr_accessor country: String?
|
|
22
|
+
|
|
23
|
+
attr_accessor country_of_registration: String?
|
|
24
|
+
|
|
25
|
+
attr_accessor entity_type: Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::entity_type?
|
|
26
|
+
|
|
27
|
+
attr_accessor legal_name: String?
|
|
28
|
+
|
|
29
|
+
attr_accessor postal_code: String?
|
|
30
|
+
|
|
31
|
+
attr_accessor state: String?
|
|
32
|
+
|
|
33
|
+
attr_accessor street: String?
|
|
34
|
+
|
|
35
|
+
attr_accessor tax_id: String?
|
|
36
|
+
|
|
37
|
+
attr_accessor tax_id_type: String?
|
|
38
|
+
|
|
39
|
+
attr_accessor url: String?
|
|
40
|
+
|
|
41
|
+
def initialize: (
|
|
42
|
+
?city: String?,
|
|
43
|
+
?country: String?,
|
|
44
|
+
?country_of_registration: String?,
|
|
45
|
+
?entity_type: Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::entity_type?,
|
|
46
|
+
?legal_name: String?,
|
|
47
|
+
?postal_code: String?,
|
|
48
|
+
?state: String?,
|
|
49
|
+
?street: String?,
|
|
50
|
+
?tax_id: String?,
|
|
51
|
+
?tax_id_type: String?,
|
|
52
|
+
?url: String?
|
|
53
|
+
) -> void
|
|
54
|
+
|
|
55
|
+
def to_hash: -> {
|
|
56
|
+
city: String?,
|
|
57
|
+
country: String?,
|
|
58
|
+
country_of_registration: String?,
|
|
59
|
+
entity_type: Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::entity_type?,
|
|
60
|
+
legal_name: String?,
|
|
61
|
+
postal_code: String?,
|
|
62
|
+
state: String?,
|
|
63
|
+
street: String?,
|
|
64
|
+
tax_id: String?,
|
|
65
|
+
tax_id_type: String?,
|
|
66
|
+
url: String?
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
type entity_type =
|
|
70
|
+
:PRIVATE_PROFIT
|
|
71
|
+
| :PUBLIC_PROFIT
|
|
72
|
+
| :NON_PROFIT
|
|
73
|
+
| :SOLE_PROPRIETOR
|
|
74
|
+
| :GOVERNMENT
|
|
75
|
+
|
|
76
|
+
module EntityType
|
|
77
|
+
extend Sentdm::Internal::Type::Enum
|
|
78
|
+
|
|
79
|
+
PRIVATE_PROFIT: :PRIVATE_PROFIT
|
|
80
|
+
PUBLIC_PROFIT: :PUBLIC_PROFIT
|
|
81
|
+
NON_PROFIT: :NON_PROFIT
|
|
82
|
+
SOLE_PROPRIETOR: :SOLE_PROPRIETOR
|
|
83
|
+
GOVERNMENT: :GOVERNMENT
|
|
84
|
+
|
|
85
|
+
def self?.values: -> ::Array[Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::entity_type]
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
type sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info =
|
|
4
|
+
{
|
|
5
|
+
brand_relationship: Sentdm::Models::tcr_brand_relationship,
|
|
6
|
+
vertical: Sentdm::Models::tcr_vertical,
|
|
7
|
+
destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
8
|
+
expected_messaging_volume: String?,
|
|
9
|
+
is_tcr_application: bool?,
|
|
10
|
+
notes: String?,
|
|
11
|
+
phone_number_prefix: String?,
|
|
12
|
+
primary_use_case: String?
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
class SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo < Sentdm::Internal::Type::BaseModel
|
|
16
|
+
attr_accessor brand_relationship: Sentdm::Models::tcr_brand_relationship
|
|
17
|
+
|
|
18
|
+
attr_accessor vertical: Sentdm::Models::tcr_vertical
|
|
19
|
+
|
|
20
|
+
attr_accessor destination_countries: ::Array[Sentdm::DestinationCountry]?
|
|
21
|
+
|
|
22
|
+
attr_accessor expected_messaging_volume: String?
|
|
23
|
+
|
|
24
|
+
attr_accessor is_tcr_application: bool?
|
|
25
|
+
|
|
26
|
+
attr_accessor notes: String?
|
|
27
|
+
|
|
28
|
+
attr_accessor phone_number_prefix: String?
|
|
29
|
+
|
|
30
|
+
attr_accessor primary_use_case: String?
|
|
31
|
+
|
|
32
|
+
def initialize: (
|
|
33
|
+
brand_relationship: Sentdm::Models::tcr_brand_relationship,
|
|
34
|
+
vertical: Sentdm::Models::tcr_vertical,
|
|
35
|
+
?destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
36
|
+
?expected_messaging_volume: String?,
|
|
37
|
+
?is_tcr_application: bool?,
|
|
38
|
+
?notes: String?,
|
|
39
|
+
?phone_number_prefix: String?,
|
|
40
|
+
?primary_use_case: String?
|
|
41
|
+
) -> void
|
|
42
|
+
|
|
43
|
+
def to_hash: -> {
|
|
44
|
+
brand_relationship: Sentdm::Models::tcr_brand_relationship,
|
|
45
|
+
vertical: Sentdm::Models::tcr_vertical,
|
|
46
|
+
destination_countries: ::Array[Sentdm::DestinationCountry]?,
|
|
47
|
+
expected_messaging_volume: String?,
|
|
48
|
+
is_tcr_application: bool?,
|
|
49
|
+
notes: String?,
|
|
50
|
+
phone_number_prefix: String?,
|
|
51
|
+
primary_use_case: String?
|
|
52
|
+
}
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|