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,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
module Profiles
|
|
6
|
+
class SentDmServicesEndpointsCustomerApIv3ContractsRequestsCampaignsCampaignUseCaseData < Sentdm::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute messaging_use_case_us
|
|
8
|
+
#
|
|
9
|
+
# @return [Symbol, Sentdm::Models::Profiles::MessagingUseCaseUs]
|
|
10
|
+
required :messaging_use_case_us,
|
|
11
|
+
enum: -> { Sentdm::Profiles::MessagingUseCaseUs },
|
|
12
|
+
api_name: :messagingUseCaseUs
|
|
13
|
+
|
|
14
|
+
# @!attribute sample_messages
|
|
15
|
+
# Sample messages for this use case (1-5 messages, max 1024 characters each)
|
|
16
|
+
#
|
|
17
|
+
# @return [Array<String>]
|
|
18
|
+
required :sample_messages, Sentdm::Internal::Type::ArrayOf[String], api_name: :sampleMessages
|
|
19
|
+
|
|
20
|
+
# @!method initialize(messaging_use_case_us:, sample_messages:)
|
|
21
|
+
# Campaign use case with sample messages
|
|
22
|
+
#
|
|
23
|
+
# @param messaging_use_case_us [Symbol, Sentdm::Models::Profiles::MessagingUseCaseUs]
|
|
24
|
+
#
|
|
25
|
+
# @param sample_messages [Array<String>] Sample messages for this use case (1-5 messages, max 1024 characters each)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
module Profiles
|
|
6
|
+
class TcrCampaignWithUseCases < Sentdm::Models::Profiles::BaseDto
|
|
7
|
+
# @!attribute billed_date
|
|
8
|
+
#
|
|
9
|
+
# @return [Time, nil]
|
|
10
|
+
optional :billed_date, Time, api_name: :billedDate, nil?: true
|
|
11
|
+
|
|
12
|
+
# @!attribute brand_id
|
|
13
|
+
#
|
|
14
|
+
# @return [String, nil]
|
|
15
|
+
optional :brand_id, String, api_name: :brandId, nil?: true
|
|
16
|
+
|
|
17
|
+
# @!attribute cost
|
|
18
|
+
#
|
|
19
|
+
# @return [Float, nil]
|
|
20
|
+
optional :cost, Float, nil?: true
|
|
21
|
+
|
|
22
|
+
# @!attribute csp_id
|
|
23
|
+
#
|
|
24
|
+
# @return [String, nil]
|
|
25
|
+
optional :csp_id, String, api_name: :cspId, nil?: true
|
|
26
|
+
|
|
27
|
+
# @!attribute customer_id
|
|
28
|
+
#
|
|
29
|
+
# @return [String, nil]
|
|
30
|
+
optional :customer_id, String, api_name: :customerId
|
|
31
|
+
|
|
32
|
+
# @!attribute dca_elections_complete
|
|
33
|
+
#
|
|
34
|
+
# @return [Boolean, nil]
|
|
35
|
+
optional :dca_elections_complete, Sentdm::Internal::Type::Boolean, api_name: :dcaElectionsComplete
|
|
36
|
+
|
|
37
|
+
# @!attribute dca_elections_completed_at
|
|
38
|
+
#
|
|
39
|
+
# @return [Time, nil]
|
|
40
|
+
optional :dca_elections_completed_at, Time, api_name: :dcaElectionsCompletedAt, nil?: true
|
|
41
|
+
|
|
42
|
+
# @!attribute description
|
|
43
|
+
#
|
|
44
|
+
# @return [String, nil]
|
|
45
|
+
optional :description, String
|
|
46
|
+
|
|
47
|
+
# @!attribute help_keywords
|
|
48
|
+
#
|
|
49
|
+
# @return [String, nil]
|
|
50
|
+
optional :help_keywords, String, api_name: :helpKeywords, nil?: true
|
|
51
|
+
|
|
52
|
+
# @!attribute help_message
|
|
53
|
+
#
|
|
54
|
+
# @return [String, nil]
|
|
55
|
+
optional :help_message, String, api_name: :helpMessage, nil?: true
|
|
56
|
+
|
|
57
|
+
# @!attribute kyc_submission_form_id
|
|
58
|
+
#
|
|
59
|
+
# @return [String, nil]
|
|
60
|
+
optional :kyc_submission_form_id, String, api_name: :kycSubmissionFormId, nil?: true
|
|
61
|
+
|
|
62
|
+
# @!attribute message_flow
|
|
63
|
+
#
|
|
64
|
+
# @return [String, nil]
|
|
65
|
+
optional :message_flow, String, api_name: :messageFlow, nil?: true
|
|
66
|
+
|
|
67
|
+
# @!attribute name
|
|
68
|
+
#
|
|
69
|
+
# @return [String, nil]
|
|
70
|
+
optional :name, String
|
|
71
|
+
|
|
72
|
+
# @!attribute optin_keywords
|
|
73
|
+
#
|
|
74
|
+
# @return [String, nil]
|
|
75
|
+
optional :optin_keywords, String, api_name: :optinKeywords, nil?: true
|
|
76
|
+
|
|
77
|
+
# @!attribute optin_message
|
|
78
|
+
#
|
|
79
|
+
# @return [String, nil]
|
|
80
|
+
optional :optin_message, String, api_name: :optinMessage, nil?: true
|
|
81
|
+
|
|
82
|
+
# @!attribute optout_keywords
|
|
83
|
+
#
|
|
84
|
+
# @return [String, nil]
|
|
85
|
+
optional :optout_keywords, String, api_name: :optoutKeywords, nil?: true
|
|
86
|
+
|
|
87
|
+
# @!attribute optout_message
|
|
88
|
+
#
|
|
89
|
+
# @return [String, nil]
|
|
90
|
+
optional :optout_message, String, api_name: :optoutMessage, nil?: true
|
|
91
|
+
|
|
92
|
+
# @!attribute privacy_policy_link
|
|
93
|
+
#
|
|
94
|
+
# @return [String, nil]
|
|
95
|
+
optional :privacy_policy_link, String, api_name: :privacyPolicyLink, nil?: true
|
|
96
|
+
|
|
97
|
+
# @!attribute reseller_id
|
|
98
|
+
#
|
|
99
|
+
# @return [String, nil]
|
|
100
|
+
optional :reseller_id, String, api_name: :resellerId, nil?: true
|
|
101
|
+
|
|
102
|
+
# @!attribute sharing_status
|
|
103
|
+
#
|
|
104
|
+
# @return [Symbol, Sentdm::Models::Profiles::TcrCampaignWithUseCases::SharingStatus, nil]
|
|
105
|
+
optional :sharing_status,
|
|
106
|
+
enum: -> { Sentdm::Profiles::TcrCampaignWithUseCases::SharingStatus },
|
|
107
|
+
api_name: :sharingStatus,
|
|
108
|
+
nil?: true
|
|
109
|
+
|
|
110
|
+
# @!attribute status
|
|
111
|
+
#
|
|
112
|
+
# @return [Symbol, Sentdm::Models::Profiles::TcrCampaignWithUseCases::Status, nil]
|
|
113
|
+
optional :status, enum: -> { Sentdm::Profiles::TcrCampaignWithUseCases::Status }, nil?: true
|
|
114
|
+
|
|
115
|
+
# @!attribute submitted_at
|
|
116
|
+
#
|
|
117
|
+
# @return [Time, nil]
|
|
118
|
+
optional :submitted_at, Time, api_name: :submittedAt, nil?: true
|
|
119
|
+
|
|
120
|
+
# @!attribute submitted_to_tcr
|
|
121
|
+
#
|
|
122
|
+
# @return [Boolean, nil]
|
|
123
|
+
optional :submitted_to_tcr, Sentdm::Internal::Type::Boolean, api_name: :submittedToTCR
|
|
124
|
+
|
|
125
|
+
# @!attribute tcr_campaign_id
|
|
126
|
+
#
|
|
127
|
+
# @return [String, nil]
|
|
128
|
+
optional :tcr_campaign_id, String, api_name: :tcrCampaignId, nil?: true
|
|
129
|
+
|
|
130
|
+
# @!attribute tcr_sync_error
|
|
131
|
+
#
|
|
132
|
+
# @return [String, nil]
|
|
133
|
+
optional :tcr_sync_error, String, api_name: :tcrSyncError, nil?: true
|
|
134
|
+
|
|
135
|
+
# @!attribute telnyx_campaign_id
|
|
136
|
+
#
|
|
137
|
+
# @return [String, nil]
|
|
138
|
+
optional :telnyx_campaign_id, String, api_name: :telnyxCampaignId, nil?: true
|
|
139
|
+
|
|
140
|
+
# @!attribute terms_and_conditions_link
|
|
141
|
+
#
|
|
142
|
+
# @return [String, nil]
|
|
143
|
+
optional :terms_and_conditions_link, String, api_name: :termsAndConditionsLink, nil?: true
|
|
144
|
+
|
|
145
|
+
# @!attribute type
|
|
146
|
+
#
|
|
147
|
+
# @return [String, nil]
|
|
148
|
+
optional :type, String
|
|
149
|
+
|
|
150
|
+
# @!attribute upstream_cnp_id
|
|
151
|
+
#
|
|
152
|
+
# @return [String, nil]
|
|
153
|
+
optional :upstream_cnp_id, String, api_name: :upstreamCnpId, nil?: true
|
|
154
|
+
|
|
155
|
+
# @!attribute use_cases
|
|
156
|
+
#
|
|
157
|
+
# @return [Array<Sentdm::Models::Profiles::TcrCampaignWithUseCases::UseCase>, nil]
|
|
158
|
+
optional :use_cases,
|
|
159
|
+
-> { Sentdm::Internal::Type::ArrayOf[Sentdm::Profiles::TcrCampaignWithUseCases::UseCase] },
|
|
160
|
+
api_name: :useCases
|
|
161
|
+
|
|
162
|
+
# @!method initialize(billed_date: nil, brand_id: nil, cost: nil, csp_id: nil, customer_id: nil, dca_elections_complete: nil, dca_elections_completed_at: nil, description: nil, help_keywords: nil, help_message: nil, kyc_submission_form_id: nil, message_flow: nil, name: nil, optin_keywords: nil, optin_message: nil, optout_keywords: nil, optout_message: nil, privacy_policy_link: nil, reseller_id: nil, sharing_status: nil, status: nil, submitted_at: nil, submitted_to_tcr: nil, tcr_campaign_id: nil, tcr_sync_error: nil, telnyx_campaign_id: nil, terms_and_conditions_link: nil, type: nil, upstream_cnp_id: nil, use_cases: nil)
|
|
163
|
+
# @param billed_date [Time, nil]
|
|
164
|
+
# @param brand_id [String, nil]
|
|
165
|
+
# @param cost [Float, nil]
|
|
166
|
+
# @param csp_id [String, nil]
|
|
167
|
+
# @param customer_id [String]
|
|
168
|
+
# @param dca_elections_complete [Boolean]
|
|
169
|
+
# @param dca_elections_completed_at [Time, nil]
|
|
170
|
+
# @param description [String]
|
|
171
|
+
# @param help_keywords [String, nil]
|
|
172
|
+
# @param help_message [String, nil]
|
|
173
|
+
# @param kyc_submission_form_id [String, nil]
|
|
174
|
+
# @param message_flow [String, nil]
|
|
175
|
+
# @param name [String]
|
|
176
|
+
# @param optin_keywords [String, nil]
|
|
177
|
+
# @param optin_message [String, nil]
|
|
178
|
+
# @param optout_keywords [String, nil]
|
|
179
|
+
# @param optout_message [String, nil]
|
|
180
|
+
# @param privacy_policy_link [String, nil]
|
|
181
|
+
# @param reseller_id [String, nil]
|
|
182
|
+
# @param sharing_status [Symbol, Sentdm::Models::Profiles::TcrCampaignWithUseCases::SharingStatus, nil]
|
|
183
|
+
# @param status [Symbol, Sentdm::Models::Profiles::TcrCampaignWithUseCases::Status, nil]
|
|
184
|
+
# @param submitted_at [Time, nil]
|
|
185
|
+
# @param submitted_to_tcr [Boolean]
|
|
186
|
+
# @param tcr_campaign_id [String, nil]
|
|
187
|
+
# @param tcr_sync_error [String, nil]
|
|
188
|
+
# @param telnyx_campaign_id [String, nil]
|
|
189
|
+
# @param terms_and_conditions_link [String, nil]
|
|
190
|
+
# @param type [String]
|
|
191
|
+
# @param upstream_cnp_id [String, nil]
|
|
192
|
+
# @param use_cases [Array<Sentdm::Models::Profiles::TcrCampaignWithUseCases::UseCase>]
|
|
193
|
+
|
|
194
|
+
module SharingStatus
|
|
195
|
+
extend Sentdm::Internal::Type::Enum
|
|
196
|
+
|
|
197
|
+
PENDING = :PENDING
|
|
198
|
+
ACCEPTED = :ACCEPTED
|
|
199
|
+
DECLINED = :DECLINED
|
|
200
|
+
|
|
201
|
+
# @!method self.values
|
|
202
|
+
# @return [Array<Symbol>]
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
module Status
|
|
206
|
+
extend Sentdm::Internal::Type::Enum
|
|
207
|
+
|
|
208
|
+
SENT_CREATED = :SENT_CREATED
|
|
209
|
+
ACTIVE = :ACTIVE
|
|
210
|
+
EXPIRED = :EXPIRED
|
|
211
|
+
|
|
212
|
+
# @!method self.values
|
|
213
|
+
# @return [Array<Symbol>]
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
class UseCase < Sentdm::Models::Profiles::BaseDto
|
|
217
|
+
# @!attribute campaign_id
|
|
218
|
+
#
|
|
219
|
+
# @return [String, nil]
|
|
220
|
+
optional :campaign_id, String, api_name: :campaignId
|
|
221
|
+
|
|
222
|
+
# @!attribute customer_id
|
|
223
|
+
#
|
|
224
|
+
# @return [String, nil]
|
|
225
|
+
optional :customer_id, String, api_name: :customerId
|
|
226
|
+
|
|
227
|
+
# @!attribute messaging_use_case_us
|
|
228
|
+
#
|
|
229
|
+
# @return [Symbol, Sentdm::Models::Profiles::MessagingUseCaseUs, nil]
|
|
230
|
+
optional :messaging_use_case_us,
|
|
231
|
+
enum: -> { Sentdm::Profiles::MessagingUseCaseUs },
|
|
232
|
+
api_name: :messagingUseCaseUs
|
|
233
|
+
|
|
234
|
+
# @!attribute sample_messages
|
|
235
|
+
#
|
|
236
|
+
# @return [Array<String>, nil]
|
|
237
|
+
optional :sample_messages, Sentdm::Internal::Type::ArrayOf[String], api_name: :sampleMessages
|
|
238
|
+
|
|
239
|
+
# @!method initialize(campaign_id: nil, customer_id: nil, messaging_use_case_us: nil, sample_messages: nil)
|
|
240
|
+
# @param campaign_id [String]
|
|
241
|
+
# @param customer_id [String]
|
|
242
|
+
# @param messaging_use_case_us [Symbol, Sentdm::Models::Profiles::MessagingUseCaseUs]
|
|
243
|
+
# @param sample_messages [Array<String>]
|
|
244
|
+
end
|
|
245
|
+
end
|
|
246
|
+
end
|
|
247
|
+
end
|
|
248
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class SentDmServicesCommonContractsPocOsAuthenticationConfig < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute add_security_recommendation
|
|
7
|
+
# Whether to add the security recommendation text: "For your security, do not
|
|
8
|
+
# share this code."
|
|
9
|
+
#
|
|
10
|
+
# @return [Boolean, nil]
|
|
11
|
+
optional :add_security_recommendation,
|
|
12
|
+
Sentdm::Internal::Type::Boolean,
|
|
13
|
+
api_name: :addSecurityRecommendation
|
|
14
|
+
|
|
15
|
+
# @!attribute code_expiration_minutes
|
|
16
|
+
# Code expiration time in minutes (1-90). If set, adds footer: "This code expires
|
|
17
|
+
# in X minutes."
|
|
18
|
+
#
|
|
19
|
+
# @return [Integer, nil]
|
|
20
|
+
optional :code_expiration_minutes, Integer, api_name: :codeExpirationMinutes, nil?: true
|
|
21
|
+
|
|
22
|
+
# @!method initialize(add_security_recommendation: nil, code_expiration_minutes: nil)
|
|
23
|
+
# Some parameter documentations has been truncated, see
|
|
24
|
+
# {Sentdm::Models::SentDmServicesCommonContractsPocOsAuthenticationConfig} for
|
|
25
|
+
# more details.
|
|
26
|
+
#
|
|
27
|
+
# Configuration for AUTHENTICATION category templates
|
|
28
|
+
#
|
|
29
|
+
# @param add_security_recommendation [Boolean] Whether to add the security recommendation text: "For your security, do not shar
|
|
30
|
+
#
|
|
31
|
+
# @param code_expiration_minutes [Integer, nil] Code expiration time in minutes (1-90). If set, adds footer: "This code expires
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class SentDmServicesCommonContractsPocOsTemplateBody < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute multi_channel
|
|
7
|
+
# Content that will be used for all channels (SMS and WhatsApp) unless
|
|
8
|
+
# channel-specific content is provided
|
|
9
|
+
#
|
|
10
|
+
# @return [Sentdm::Models::TemplateBodyContent, nil]
|
|
11
|
+
optional :multi_channel, -> { Sentdm::TemplateBodyContent }, api_name: :multiChannel, nil?: true
|
|
12
|
+
|
|
13
|
+
# @!attribute rcs
|
|
14
|
+
# RCS-specific content that overrides multi-channel content for RCS messages
|
|
15
|
+
#
|
|
16
|
+
# @return [Sentdm::Models::TemplateBodyContent, nil]
|
|
17
|
+
optional :rcs, -> { Sentdm::TemplateBodyContent }, nil?: true
|
|
18
|
+
|
|
19
|
+
# @!attribute sms
|
|
20
|
+
# SMS-specific content that overrides multi-channel content for SMS messages
|
|
21
|
+
#
|
|
22
|
+
# @return [Sentdm::Models::TemplateBodyContent, nil]
|
|
23
|
+
optional :sms, -> { Sentdm::TemplateBodyContent }, nil?: true
|
|
24
|
+
|
|
25
|
+
# @!attribute whatsapp
|
|
26
|
+
# WhatsApp-specific content that overrides multi-channel content for WhatsApp
|
|
27
|
+
# messages
|
|
28
|
+
#
|
|
29
|
+
# @return [Sentdm::Models::TemplateBodyContent, nil]
|
|
30
|
+
optional :whatsapp, -> { Sentdm::TemplateBodyContent }, nil?: true
|
|
31
|
+
|
|
32
|
+
# @!method initialize(multi_channel: nil, rcs: nil, sms: nil, whatsapp: nil)
|
|
33
|
+
# Some parameter documentations has been truncated, see
|
|
34
|
+
# {Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateBody} for more
|
|
35
|
+
# details.
|
|
36
|
+
#
|
|
37
|
+
# Body section of a message template with channel-specific content
|
|
38
|
+
#
|
|
39
|
+
# @param multi_channel [Sentdm::Models::TemplateBodyContent, nil] Content that will be used for all channels (SMS and WhatsApp) unless channel-spe
|
|
40
|
+
#
|
|
41
|
+
# @param rcs [Sentdm::Models::TemplateBodyContent, nil] RCS-specific content that overrides multi-channel content for RCS messages
|
|
42
|
+
#
|
|
43
|
+
# @param sms [Sentdm::Models::TemplateBodyContent, nil] SMS-specific content that overrides multi-channel content for SMS messages
|
|
44
|
+
#
|
|
45
|
+
# @param whatsapp [Sentdm::Models::TemplateBodyContent, nil] WhatsApp-specific content that overrides multi-channel content for WhatsApp mess
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class SentDmServicesCommonContractsPocOsTemplateButton < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute props
|
|
7
|
+
# Properties specific to the button type
|
|
8
|
+
#
|
|
9
|
+
# @return [Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateButtonProps]
|
|
10
|
+
required :props, -> { Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps }
|
|
11
|
+
|
|
12
|
+
# @!attribute type
|
|
13
|
+
# The type of button (e.g., QUICK_REPLY, URL, PHONE_NUMBER, VOICE_CALL, COPY_CODE)
|
|
14
|
+
#
|
|
15
|
+
# @return [String]
|
|
16
|
+
required :type, String
|
|
17
|
+
|
|
18
|
+
# @!attribute id
|
|
19
|
+
# The unique identifier of the button (1-based index)
|
|
20
|
+
#
|
|
21
|
+
# @return [Integer, nil]
|
|
22
|
+
optional :id, Integer
|
|
23
|
+
|
|
24
|
+
# @!method initialize(props:, type:, id: nil)
|
|
25
|
+
# Some parameter documentations has been truncated, see
|
|
26
|
+
# {Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateButton} for more
|
|
27
|
+
# details.
|
|
28
|
+
#
|
|
29
|
+
# Interactive button in a message template
|
|
30
|
+
#
|
|
31
|
+
# @param props [Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateButtonProps] Properties specific to the button type
|
|
32
|
+
#
|
|
33
|
+
# @param type [String] The type of button (e.g., QUICK_REPLY, URL, PHONE_NUMBER, VOICE_CALL, COPY_CODE)
|
|
34
|
+
#
|
|
35
|
+
# @param id [Integer] The unique identifier of the button (1-based index)
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class SentDmServicesCommonContractsPocOsTemplateButtonProps < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute active_for
|
|
7
|
+
#
|
|
8
|
+
# @return [Integer]
|
|
9
|
+
required :active_for, Integer, api_name: :activeFor
|
|
10
|
+
|
|
11
|
+
# @!attribute country_code
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :country_code, String, api_name: :countryCode
|
|
15
|
+
|
|
16
|
+
# @!attribute offer_code
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
required :offer_code, String, api_name: :offerCode
|
|
20
|
+
|
|
21
|
+
# @!attribute phone_number
|
|
22
|
+
#
|
|
23
|
+
# @return [String]
|
|
24
|
+
required :phone_number, String, api_name: :phoneNumber
|
|
25
|
+
|
|
26
|
+
# @!attribute quick_reply_type
|
|
27
|
+
#
|
|
28
|
+
# @return [String]
|
|
29
|
+
required :quick_reply_type, String, api_name: :quickReplyType
|
|
30
|
+
|
|
31
|
+
# @!attribute text
|
|
32
|
+
#
|
|
33
|
+
# @return [String]
|
|
34
|
+
required :text, String
|
|
35
|
+
|
|
36
|
+
# @!attribute url
|
|
37
|
+
#
|
|
38
|
+
# @return [String]
|
|
39
|
+
required :url, String
|
|
40
|
+
|
|
41
|
+
# @!attribute url_type
|
|
42
|
+
#
|
|
43
|
+
# @return [String]
|
|
44
|
+
required :url_type, String, api_name: :urlType
|
|
45
|
+
|
|
46
|
+
# @!attribute autofill_text
|
|
47
|
+
#
|
|
48
|
+
# @return [String, nil]
|
|
49
|
+
optional :autofill_text, String, api_name: :autofillText, nil?: true
|
|
50
|
+
|
|
51
|
+
# @!attribute otp_type
|
|
52
|
+
#
|
|
53
|
+
# @return [String, nil]
|
|
54
|
+
optional :otp_type, String, api_name: :otpType, nil?: true
|
|
55
|
+
|
|
56
|
+
# @!attribute package_name
|
|
57
|
+
#
|
|
58
|
+
# @return [String, nil]
|
|
59
|
+
optional :package_name, String, api_name: :packageName, nil?: true
|
|
60
|
+
|
|
61
|
+
# @!attribute signature_hash
|
|
62
|
+
#
|
|
63
|
+
# @return [String, nil]
|
|
64
|
+
optional :signature_hash, String, api_name: :signatureHash, nil?: true
|
|
65
|
+
|
|
66
|
+
# @!method initialize(active_for:, country_code:, offer_code:, phone_number:, quick_reply_type:, text:, url:, url_type:, autofill_text: nil, otp_type: nil, package_name: nil, signature_hash: nil)
|
|
67
|
+
# @param active_for [Integer]
|
|
68
|
+
# @param country_code [String]
|
|
69
|
+
# @param offer_code [String]
|
|
70
|
+
# @param phone_number [String]
|
|
71
|
+
# @param quick_reply_type [String]
|
|
72
|
+
# @param text [String]
|
|
73
|
+
# @param url [String]
|
|
74
|
+
# @param url_type [String]
|
|
75
|
+
# @param autofill_text [String, nil]
|
|
76
|
+
# @param otp_type [String, nil]
|
|
77
|
+
# @param package_name [String, nil]
|
|
78
|
+
# @param signature_hash [String, nil]
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class SentDmServicesCommonContractsPocOsTemplateFooter < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute template
|
|
7
|
+
# The footer template text with optional variable placeholders
|
|
8
|
+
#
|
|
9
|
+
# @return [String]
|
|
10
|
+
required :template, String
|
|
11
|
+
|
|
12
|
+
# @!attribute type
|
|
13
|
+
# The type of footer (typically "text")
|
|
14
|
+
#
|
|
15
|
+
# @return [String, nil]
|
|
16
|
+
optional :type, String, nil?: true
|
|
17
|
+
|
|
18
|
+
# @!attribute variables
|
|
19
|
+
# List of variables used in the footer template
|
|
20
|
+
#
|
|
21
|
+
# @return [Array<Sentdm::Models::TemplateVariable>, nil]
|
|
22
|
+
optional :variables, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::TemplateVariable] }, nil?: true
|
|
23
|
+
|
|
24
|
+
# @!method initialize(template:, type: nil, variables: nil)
|
|
25
|
+
# Footer section of a message template
|
|
26
|
+
#
|
|
27
|
+
# @param template [String] The footer template text with optional variable placeholders
|
|
28
|
+
#
|
|
29
|
+
# @param type [String, nil] The type of footer (typically "text")
|
|
30
|
+
#
|
|
31
|
+
# @param variables [Array<Sentdm::Models::TemplateVariable>, nil] List of variables used in the footer template
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class SentDmServicesCommonContractsPocOsTemplateHeader < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute template
|
|
7
|
+
# The header template text with optional variable placeholders (e.g., "Welcome to
|
|
8
|
+
# {{0:variable}}")
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :template, String
|
|
12
|
+
|
|
13
|
+
# @!attribute type
|
|
14
|
+
# The type of header (e.g., "text", "image", "video", "document")
|
|
15
|
+
#
|
|
16
|
+
# @return [String, nil]
|
|
17
|
+
optional :type, String, nil?: true
|
|
18
|
+
|
|
19
|
+
# @!attribute variables
|
|
20
|
+
# List of variables used in the header template
|
|
21
|
+
#
|
|
22
|
+
# @return [Array<Sentdm::Models::TemplateVariable>, nil]
|
|
23
|
+
optional :variables, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::TemplateVariable] }, nil?: true
|
|
24
|
+
|
|
25
|
+
# @!method initialize(template:, type: nil, variables: nil)
|
|
26
|
+
# Some parameter documentations has been truncated, see
|
|
27
|
+
# {Sentdm::Models::SentDmServicesCommonContractsPocOsTemplateHeader} for more
|
|
28
|
+
# details.
|
|
29
|
+
#
|
|
30
|
+
# Header section of a message template
|
|
31
|
+
#
|
|
32
|
+
# @param template [String] The header template text with optional variable placeholders (e.g., "Welcome to
|
|
33
|
+
#
|
|
34
|
+
# @param type [String, nil] The type of header (e.g., "text", "image", "video", "document")
|
|
35
|
+
#
|
|
36
|
+
# @param variables [Array<Sentdm::Models::TemplateVariable>, nil] List of variables used in the header template
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Sentdm
|
|
4
|
+
module Models
|
|
5
|
+
class SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo < Sentdm::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute city
|
|
7
|
+
# City
|
|
8
|
+
#
|
|
9
|
+
# @return [String, nil]
|
|
10
|
+
optional :city, String, nil?: true
|
|
11
|
+
|
|
12
|
+
# @!attribute country
|
|
13
|
+
# Country code (e.g., US, CA)
|
|
14
|
+
#
|
|
15
|
+
# @return [String, nil]
|
|
16
|
+
optional :country, String, nil?: true
|
|
17
|
+
|
|
18
|
+
# @!attribute country_of_registration
|
|
19
|
+
# Country where the business is registered
|
|
20
|
+
#
|
|
21
|
+
# @return [String, nil]
|
|
22
|
+
optional :country_of_registration, String, api_name: :countryOfRegistration, nil?: true
|
|
23
|
+
|
|
24
|
+
# @!attribute entity_type
|
|
25
|
+
#
|
|
26
|
+
# @return [Symbol, Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType, nil]
|
|
27
|
+
optional :entity_type,
|
|
28
|
+
enum: -> {
|
|
29
|
+
Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType
|
|
30
|
+
},
|
|
31
|
+
api_name: :entityType,
|
|
32
|
+
nil?: true
|
|
33
|
+
|
|
34
|
+
# @!attribute legal_name
|
|
35
|
+
# Legal business name
|
|
36
|
+
#
|
|
37
|
+
# @return [String, nil]
|
|
38
|
+
optional :legal_name, String, api_name: :legalName, nil?: true
|
|
39
|
+
|
|
40
|
+
# @!attribute postal_code
|
|
41
|
+
# Postal/ZIP code
|
|
42
|
+
#
|
|
43
|
+
# @return [String, nil]
|
|
44
|
+
optional :postal_code, String, api_name: :postalCode, nil?: true
|
|
45
|
+
|
|
46
|
+
# @!attribute state
|
|
47
|
+
# State/province code
|
|
48
|
+
#
|
|
49
|
+
# @return [String, nil]
|
|
50
|
+
optional :state, String, nil?: true
|
|
51
|
+
|
|
52
|
+
# @!attribute street
|
|
53
|
+
# Street address
|
|
54
|
+
#
|
|
55
|
+
# @return [String, nil]
|
|
56
|
+
optional :street, String, nil?: true
|
|
57
|
+
|
|
58
|
+
# @!attribute tax_id
|
|
59
|
+
# Tax ID/EIN number
|
|
60
|
+
#
|
|
61
|
+
# @return [String, nil]
|
|
62
|
+
optional :tax_id, String, api_name: :taxId, nil?: true
|
|
63
|
+
|
|
64
|
+
# @!attribute tax_id_type
|
|
65
|
+
# Type of tax ID (e.g., us_ein, ca_bn)
|
|
66
|
+
#
|
|
67
|
+
# @return [String, nil]
|
|
68
|
+
optional :tax_id_type, String, api_name: :taxIdType, nil?: true
|
|
69
|
+
|
|
70
|
+
# @!attribute url
|
|
71
|
+
# Business website URL
|
|
72
|
+
#
|
|
73
|
+
# @return [String, nil]
|
|
74
|
+
optional :url, String, nil?: true
|
|
75
|
+
|
|
76
|
+
# @!method initialize(city: nil, country: nil, country_of_registration: nil, entity_type: nil, legal_name: nil, postal_code: nil, state: nil, street: nil, tax_id: nil, tax_id_type: nil, url: nil)
|
|
77
|
+
# Business details and address for brand KYC
|
|
78
|
+
#
|
|
79
|
+
# @param city [String, nil] City
|
|
80
|
+
#
|
|
81
|
+
# @param country [String, nil] Country code (e.g., US, CA)
|
|
82
|
+
#
|
|
83
|
+
# @param country_of_registration [String, nil] Country where the business is registered
|
|
84
|
+
#
|
|
85
|
+
# @param entity_type [Symbol, Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo::EntityType, nil]
|
|
86
|
+
#
|
|
87
|
+
# @param legal_name [String, nil] Legal business name
|
|
88
|
+
#
|
|
89
|
+
# @param postal_code [String, nil] Postal/ZIP code
|
|
90
|
+
#
|
|
91
|
+
# @param state [String, nil] State/province code
|
|
92
|
+
#
|
|
93
|
+
# @param street [String, nil] Street address
|
|
94
|
+
#
|
|
95
|
+
# @param tax_id [String, nil] Tax ID/EIN number
|
|
96
|
+
#
|
|
97
|
+
# @param tax_id_type [String, nil] Type of tax ID (e.g., us_ein, ca_bn)
|
|
98
|
+
#
|
|
99
|
+
# @param url [String, nil] Business website URL
|
|
100
|
+
|
|
101
|
+
# @see Sentdm::Models::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo#entity_type
|
|
102
|
+
module EntityType
|
|
103
|
+
extend Sentdm::Internal::Type::Enum
|
|
104
|
+
|
|
105
|
+
PRIVATE_PROFIT = :PRIVATE_PROFIT
|
|
106
|
+
PUBLIC_PROFIT = :PUBLIC_PROFIT
|
|
107
|
+
NON_PROFIT = :NON_PROFIT
|
|
108
|
+
SOLE_PROPRIETOR = :SOLE_PROPRIETOR
|
|
109
|
+
GOVERNMENT = :GOVERNMENT
|
|
110
|
+
|
|
111
|
+
# @!method self.values
|
|
112
|
+
# @return [Array<Symbol>]
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
end
|