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
|
@@ -23,8 +23,8 @@ module Sentdm
|
|
|
23
23
|
# Billing contact information for a profile. Required when billing_model is
|
|
24
24
|
# "profile" or "profile_and_organization".
|
|
25
25
|
#
|
|
26
|
-
# @return [Sentdm::Models::
|
|
27
|
-
optional :billing_contact, -> { Sentdm::
|
|
26
|
+
# @return [Sentdm::Models::BillingContactInfo, nil]
|
|
27
|
+
optional :billing_contact, -> { Sentdm::BillingContactInfo }, nil?: true
|
|
28
28
|
|
|
29
29
|
# @!attribute billing_model
|
|
30
30
|
# Billing model: profile, organization, or profile_and_organization (default:
|
|
@@ -42,8 +42,8 @@ module Sentdm
|
|
|
42
42
|
# @!attribute brand
|
|
43
43
|
# Brand and KYC data grouped into contact, business, and compliance sections
|
|
44
44
|
#
|
|
45
|
-
# @return [Sentdm::Models::
|
|
46
|
-
optional :brand, -> { Sentdm::
|
|
45
|
+
# @return [Sentdm::Models::BrandsBrandData, nil]
|
|
46
|
+
optional :brand, -> { Sentdm::BrandsBrandData }, nil?: true
|
|
47
47
|
|
|
48
48
|
# @!attribute description
|
|
49
49
|
# Profile description (optional)
|
|
@@ -92,8 +92,8 @@ module Sentdm
|
|
|
92
92
|
# "profile_and_organization". These details are not stored on our servers and will
|
|
93
93
|
# be forwarded to the payment processor.
|
|
94
94
|
#
|
|
95
|
-
# @return [Sentdm::Models::
|
|
96
|
-
optional :payment_details, -> { Sentdm::
|
|
95
|
+
# @return [Sentdm::Models::PaymentDetails, nil]
|
|
96
|
+
optional :payment_details, -> { Sentdm::PaymentDetails }, nil?: true
|
|
97
97
|
|
|
98
98
|
# @!attribute sandbox
|
|
99
99
|
# Sandbox flag - when true, the operation is simulated without side effects Useful
|
|
@@ -140,11 +140,11 @@ module Sentdm
|
|
|
140
140
|
#
|
|
141
141
|
# @param allow_template_sharing [Boolean] Whether templates are shared across profiles (default: false)
|
|
142
142
|
#
|
|
143
|
-
# @param billing_contact [Sentdm::Models::
|
|
143
|
+
# @param billing_contact [Sentdm::Models::BillingContactInfo, nil] Billing contact information for a profile.
|
|
144
144
|
#
|
|
145
145
|
# @param billing_model [String, nil] Billing model: profile, organization, or profile_and_organization (default: prof
|
|
146
146
|
#
|
|
147
|
-
# @param brand [Sentdm::Models::
|
|
147
|
+
# @param brand [Sentdm::Models::BrandsBrandData, nil] Brand and KYC data grouped into contact, business, and compliance sections
|
|
148
148
|
#
|
|
149
149
|
# @param description [String, nil] Profile description (optional)
|
|
150
150
|
#
|
|
@@ -160,7 +160,7 @@ module Sentdm
|
|
|
160
160
|
#
|
|
161
161
|
# @param name [String] Profile name (required)
|
|
162
162
|
#
|
|
163
|
-
# @param payment_details [Sentdm::Models::
|
|
163
|
+
# @param payment_details [Sentdm::Models::PaymentDetails, nil] Payment card details for a profile.
|
|
164
164
|
#
|
|
165
165
|
# @param sandbox [Boolean] Sandbox flag - when true, the operation is simulated without side effects
|
|
166
166
|
#
|
|
@@ -174,420 +174,6 @@ module Sentdm
|
|
|
174
174
|
#
|
|
175
175
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}]
|
|
176
176
|
|
|
177
|
-
class BillingContact < Sentdm::Internal::Type::BaseModel
|
|
178
|
-
# @!attribute email
|
|
179
|
-
# Email address where invoices will be sent (required)
|
|
180
|
-
#
|
|
181
|
-
# @return [String]
|
|
182
|
-
required :email, String
|
|
183
|
-
|
|
184
|
-
# @!attribute name
|
|
185
|
-
# Full name of the billing contact or company (required)
|
|
186
|
-
#
|
|
187
|
-
# @return [String]
|
|
188
|
-
required :name, String
|
|
189
|
-
|
|
190
|
-
# @!attribute address
|
|
191
|
-
# Billing address (optional). Free-form text including street, city, state, postal
|
|
192
|
-
# code, and country.
|
|
193
|
-
#
|
|
194
|
-
# @return [String, nil]
|
|
195
|
-
optional :address, String, nil?: true
|
|
196
|
-
|
|
197
|
-
# @!attribute phone
|
|
198
|
-
# Phone number for the billing contact (optional)
|
|
199
|
-
#
|
|
200
|
-
# @return [String, nil]
|
|
201
|
-
optional :phone, String, nil?: true
|
|
202
|
-
|
|
203
|
-
# @!method initialize(email:, name:, address: nil, phone: nil)
|
|
204
|
-
# Some parameter documentations has been truncated, see
|
|
205
|
-
# {Sentdm::Models::ProfileCreateParams::BillingContact} for more details.
|
|
206
|
-
#
|
|
207
|
-
# Billing contact information for a profile. Required when billing_model is
|
|
208
|
-
# "profile" or "profile_and_organization".
|
|
209
|
-
#
|
|
210
|
-
# @param email [String] Email address where invoices will be sent (required)
|
|
211
|
-
#
|
|
212
|
-
# @param name [String] Full name of the billing contact or company (required)
|
|
213
|
-
#
|
|
214
|
-
# @param address [String, nil] Billing address (optional). Free-form text including street, city, state, postal
|
|
215
|
-
#
|
|
216
|
-
# @param phone [String, nil] Phone number for the billing contact (optional)
|
|
217
|
-
end
|
|
218
|
-
|
|
219
|
-
class Brand < Sentdm::Internal::Type::BaseModel
|
|
220
|
-
# @!attribute compliance
|
|
221
|
-
# Compliance and TCR information for brand registration
|
|
222
|
-
#
|
|
223
|
-
# @return [Sentdm::Models::ProfileCreateParams::Brand::Compliance]
|
|
224
|
-
required :compliance, -> { Sentdm::ProfileCreateParams::Brand::Compliance }
|
|
225
|
-
|
|
226
|
-
# @!attribute contact
|
|
227
|
-
# Contact information for brand KYC
|
|
228
|
-
#
|
|
229
|
-
# @return [Sentdm::Models::ProfileCreateParams::Brand::Contact]
|
|
230
|
-
required :contact, -> { Sentdm::ProfileCreateParams::Brand::Contact }
|
|
231
|
-
|
|
232
|
-
# @!attribute business
|
|
233
|
-
# Business details and address for brand KYC
|
|
234
|
-
#
|
|
235
|
-
# @return [Sentdm::Models::ProfileCreateParams::Brand::Business, nil]
|
|
236
|
-
optional :business, -> { Sentdm::ProfileCreateParams::Brand::Business }, nil?: true
|
|
237
|
-
|
|
238
|
-
# @!method initialize(compliance:, contact:, business: nil)
|
|
239
|
-
# Brand and KYC data grouped into contact, business, and compliance sections
|
|
240
|
-
#
|
|
241
|
-
# @param compliance [Sentdm::Models::ProfileCreateParams::Brand::Compliance] Compliance and TCR information for brand registration
|
|
242
|
-
#
|
|
243
|
-
# @param contact [Sentdm::Models::ProfileCreateParams::Brand::Contact] Contact information for brand KYC
|
|
244
|
-
#
|
|
245
|
-
# @param business [Sentdm::Models::ProfileCreateParams::Brand::Business, nil] Business details and address for brand KYC
|
|
246
|
-
|
|
247
|
-
# @see Sentdm::Models::ProfileCreateParams::Brand#compliance
|
|
248
|
-
class Compliance < Sentdm::Internal::Type::BaseModel
|
|
249
|
-
# @!attribute brand_relationship
|
|
250
|
-
#
|
|
251
|
-
# @return [Symbol, Sentdm::Models::ProfileCreateParams::Brand::Compliance::BrandRelationship]
|
|
252
|
-
required :brand_relationship,
|
|
253
|
-
enum: -> { Sentdm::ProfileCreateParams::Brand::Compliance::BrandRelationship },
|
|
254
|
-
api_name: :brandRelationship
|
|
255
|
-
|
|
256
|
-
# @!attribute vertical
|
|
257
|
-
#
|
|
258
|
-
# @return [Symbol, Sentdm::Models::ProfileCreateParams::Brand::Compliance::Vertical]
|
|
259
|
-
required :vertical, enum: -> { Sentdm::ProfileCreateParams::Brand::Compliance::Vertical }
|
|
260
|
-
|
|
261
|
-
# @!attribute destination_countries
|
|
262
|
-
# List of destination countries for messaging
|
|
263
|
-
#
|
|
264
|
-
# @return [Array<Sentdm::Models::ProfileCreateParams::Brand::Compliance::DestinationCountry>, nil]
|
|
265
|
-
optional :destination_countries,
|
|
266
|
-
-> {
|
|
267
|
-
Sentdm::Internal::Type::ArrayOf[Sentdm::ProfileCreateParams::Brand::Compliance::DestinationCountry]
|
|
268
|
-
},
|
|
269
|
-
api_name: :destinationCountries,
|
|
270
|
-
nil?: true
|
|
271
|
-
|
|
272
|
-
# @!attribute expected_messaging_volume
|
|
273
|
-
# Expected daily messaging volume
|
|
274
|
-
#
|
|
275
|
-
# @return [String, nil]
|
|
276
|
-
optional :expected_messaging_volume, String, api_name: :expectedMessagingVolume, nil?: true
|
|
277
|
-
|
|
278
|
-
# @!attribute is_tcr_application
|
|
279
|
-
# Whether this is a TCR (Campaign Registry) application
|
|
280
|
-
#
|
|
281
|
-
# @return [Boolean, nil]
|
|
282
|
-
optional :is_tcr_application,
|
|
283
|
-
Sentdm::Internal::Type::Boolean,
|
|
284
|
-
api_name: :isTcrApplication,
|
|
285
|
-
nil?: true
|
|
286
|
-
|
|
287
|
-
# @!attribute notes
|
|
288
|
-
# Additional notes about the business or use case
|
|
289
|
-
#
|
|
290
|
-
# @return [String, nil]
|
|
291
|
-
optional :notes, String, nil?: true
|
|
292
|
-
|
|
293
|
-
# @!attribute phone_number_prefix
|
|
294
|
-
# Phone number prefix for messaging (e.g., "+1")
|
|
295
|
-
#
|
|
296
|
-
# @return [String, nil]
|
|
297
|
-
optional :phone_number_prefix, String, api_name: :phoneNumberPrefix, nil?: true
|
|
298
|
-
|
|
299
|
-
# @!attribute primary_use_case
|
|
300
|
-
# Primary messaging use case description
|
|
301
|
-
#
|
|
302
|
-
# @return [String, nil]
|
|
303
|
-
optional :primary_use_case, String, api_name: :primaryUseCase, nil?: true
|
|
304
|
-
|
|
305
|
-
# @!method initialize(brand_relationship:, vertical:, destination_countries: nil, expected_messaging_volume: nil, is_tcr_application: nil, notes: nil, phone_number_prefix: nil, primary_use_case: nil)
|
|
306
|
-
# Compliance and TCR information for brand registration
|
|
307
|
-
#
|
|
308
|
-
# @param brand_relationship [Symbol, Sentdm::Models::ProfileCreateParams::Brand::Compliance::BrandRelationship]
|
|
309
|
-
#
|
|
310
|
-
# @param vertical [Symbol, Sentdm::Models::ProfileCreateParams::Brand::Compliance::Vertical]
|
|
311
|
-
#
|
|
312
|
-
# @param destination_countries [Array<Sentdm::Models::ProfileCreateParams::Brand::Compliance::DestinationCountry>, nil] List of destination countries for messaging
|
|
313
|
-
#
|
|
314
|
-
# @param expected_messaging_volume [String, nil] Expected daily messaging volume
|
|
315
|
-
#
|
|
316
|
-
# @param is_tcr_application [Boolean, nil] Whether this is a TCR (Campaign Registry) application
|
|
317
|
-
#
|
|
318
|
-
# @param notes [String, nil] Additional notes about the business or use case
|
|
319
|
-
#
|
|
320
|
-
# @param phone_number_prefix [String, nil] Phone number prefix for messaging (e.g., "+1")
|
|
321
|
-
#
|
|
322
|
-
# @param primary_use_case [String, nil] Primary messaging use case description
|
|
323
|
-
|
|
324
|
-
# @see Sentdm::Models::ProfileCreateParams::Brand::Compliance#brand_relationship
|
|
325
|
-
module BrandRelationship
|
|
326
|
-
extend Sentdm::Internal::Type::Enum
|
|
327
|
-
|
|
328
|
-
BASIC_ACCOUNT = :BASIC_ACCOUNT
|
|
329
|
-
MEDIUM_ACCOUNT = :MEDIUM_ACCOUNT
|
|
330
|
-
LARGE_ACCOUNT = :LARGE_ACCOUNT
|
|
331
|
-
SMALL_ACCOUNT = :SMALL_ACCOUNT
|
|
332
|
-
KEY_ACCOUNT = :KEY_ACCOUNT
|
|
333
|
-
|
|
334
|
-
# @!method self.values
|
|
335
|
-
# @return [Array<Symbol>]
|
|
336
|
-
end
|
|
337
|
-
|
|
338
|
-
# @see Sentdm::Models::ProfileCreateParams::Brand::Compliance#vertical
|
|
339
|
-
module Vertical
|
|
340
|
-
extend Sentdm::Internal::Type::Enum
|
|
341
|
-
|
|
342
|
-
PROFESSIONAL = :PROFESSIONAL
|
|
343
|
-
REAL_ESTATE = :REAL_ESTATE
|
|
344
|
-
HEALTHCARE = :HEALTHCARE
|
|
345
|
-
HUMAN_RESOURCES = :HUMAN_RESOURCES
|
|
346
|
-
ENERGY = :ENERGY
|
|
347
|
-
ENTERTAINMENT = :ENTERTAINMENT
|
|
348
|
-
RETAIL = :RETAIL
|
|
349
|
-
TRANSPORTATION = :TRANSPORTATION
|
|
350
|
-
AGRICULTURE = :AGRICULTURE
|
|
351
|
-
INSURANCE = :INSURANCE
|
|
352
|
-
POSTAL = :POSTAL
|
|
353
|
-
EDUCATION = :EDUCATION
|
|
354
|
-
HOSPITALITY = :HOSPITALITY
|
|
355
|
-
FINANCIAL = :FINANCIAL
|
|
356
|
-
POLITICAL = :POLITICAL
|
|
357
|
-
GAMBLING = :GAMBLING
|
|
358
|
-
LEGAL = :LEGAL
|
|
359
|
-
CONSTRUCTION = :CONSTRUCTION
|
|
360
|
-
NGO = :NGO
|
|
361
|
-
MANUFACTURING = :MANUFACTURING
|
|
362
|
-
GOVERNMENT = :GOVERNMENT
|
|
363
|
-
TECHNOLOGY = :TECHNOLOGY
|
|
364
|
-
COMMUNICATION = :COMMUNICATION
|
|
365
|
-
|
|
366
|
-
# @!method self.values
|
|
367
|
-
# @return [Array<Symbol>]
|
|
368
|
-
end
|
|
369
|
-
|
|
370
|
-
class DestinationCountry < Sentdm::Internal::Type::BaseModel
|
|
371
|
-
# @!attribute id
|
|
372
|
-
#
|
|
373
|
-
# @return [String, nil]
|
|
374
|
-
optional :id, String
|
|
375
|
-
|
|
376
|
-
# @!attribute is_main
|
|
377
|
-
#
|
|
378
|
-
# @return [Boolean, nil]
|
|
379
|
-
optional :is_main, Sentdm::Internal::Type::Boolean, api_name: :isMain
|
|
380
|
-
|
|
381
|
-
# @!method initialize(id: nil, is_main: nil)
|
|
382
|
-
# @param id [String]
|
|
383
|
-
# @param is_main [Boolean]
|
|
384
|
-
end
|
|
385
|
-
end
|
|
386
|
-
|
|
387
|
-
# @see Sentdm::Models::ProfileCreateParams::Brand#contact
|
|
388
|
-
class Contact < Sentdm::Internal::Type::BaseModel
|
|
389
|
-
# @!attribute name
|
|
390
|
-
# Primary contact name (required)
|
|
391
|
-
#
|
|
392
|
-
# @return [String]
|
|
393
|
-
required :name, String
|
|
394
|
-
|
|
395
|
-
# @!attribute business_name
|
|
396
|
-
# Business/brand name
|
|
397
|
-
#
|
|
398
|
-
# @return [String, nil]
|
|
399
|
-
optional :business_name, String, api_name: :businessName, nil?: true
|
|
400
|
-
|
|
401
|
-
# @!attribute email
|
|
402
|
-
# Contact email address
|
|
403
|
-
#
|
|
404
|
-
# @return [String, nil]
|
|
405
|
-
optional :email, String, nil?: true
|
|
406
|
-
|
|
407
|
-
# @!attribute phone
|
|
408
|
-
# Contact phone number in E.164 format
|
|
409
|
-
#
|
|
410
|
-
# @return [String, nil]
|
|
411
|
-
optional :phone, String, nil?: true
|
|
412
|
-
|
|
413
|
-
# @!attribute phone_country_code
|
|
414
|
-
# Contact phone country code (e.g., "1" for US)
|
|
415
|
-
#
|
|
416
|
-
# @return [String, nil]
|
|
417
|
-
optional :phone_country_code, String, api_name: :phoneCountryCode, nil?: true
|
|
418
|
-
|
|
419
|
-
# @!attribute role
|
|
420
|
-
# Contact's role in the business
|
|
421
|
-
#
|
|
422
|
-
# @return [String, nil]
|
|
423
|
-
optional :role, String, nil?: true
|
|
424
|
-
|
|
425
|
-
# @!method initialize(name:, business_name: nil, email: nil, phone: nil, phone_country_code: nil, role: nil)
|
|
426
|
-
# Contact information for brand KYC
|
|
427
|
-
#
|
|
428
|
-
# @param name [String] Primary contact name (required)
|
|
429
|
-
#
|
|
430
|
-
# @param business_name [String, nil] Business/brand name
|
|
431
|
-
#
|
|
432
|
-
# @param email [String, nil] Contact email address
|
|
433
|
-
#
|
|
434
|
-
# @param phone [String, nil] Contact phone number in E.164 format
|
|
435
|
-
#
|
|
436
|
-
# @param phone_country_code [String, nil] Contact phone country code (e.g., "1" for US)
|
|
437
|
-
#
|
|
438
|
-
# @param role [String, nil] Contact's role in the business
|
|
439
|
-
end
|
|
440
|
-
|
|
441
|
-
# @see Sentdm::Models::ProfileCreateParams::Brand#business
|
|
442
|
-
class Business < Sentdm::Internal::Type::BaseModel
|
|
443
|
-
# @!attribute city
|
|
444
|
-
# City
|
|
445
|
-
#
|
|
446
|
-
# @return [String, nil]
|
|
447
|
-
optional :city, String, nil?: true
|
|
448
|
-
|
|
449
|
-
# @!attribute country
|
|
450
|
-
# Country code (e.g., US, CA)
|
|
451
|
-
#
|
|
452
|
-
# @return [String, nil]
|
|
453
|
-
optional :country, String, nil?: true
|
|
454
|
-
|
|
455
|
-
# @!attribute country_of_registration
|
|
456
|
-
# Country where the business is registered
|
|
457
|
-
#
|
|
458
|
-
# @return [String, nil]
|
|
459
|
-
optional :country_of_registration, String, api_name: :countryOfRegistration, nil?: true
|
|
460
|
-
|
|
461
|
-
# @!attribute entity_type
|
|
462
|
-
#
|
|
463
|
-
# @return [Symbol, Sentdm::Models::ProfileCreateParams::Brand::Business::EntityType, nil]
|
|
464
|
-
optional :entity_type,
|
|
465
|
-
enum: -> { Sentdm::ProfileCreateParams::Brand::Business::EntityType },
|
|
466
|
-
api_name: :entityType,
|
|
467
|
-
nil?: true
|
|
468
|
-
|
|
469
|
-
# @!attribute legal_name
|
|
470
|
-
# Legal business name
|
|
471
|
-
#
|
|
472
|
-
# @return [String, nil]
|
|
473
|
-
optional :legal_name, String, api_name: :legalName, nil?: true
|
|
474
|
-
|
|
475
|
-
# @!attribute postal_code
|
|
476
|
-
# Postal/ZIP code
|
|
477
|
-
#
|
|
478
|
-
# @return [String, nil]
|
|
479
|
-
optional :postal_code, String, api_name: :postalCode, nil?: true
|
|
480
|
-
|
|
481
|
-
# @!attribute state
|
|
482
|
-
# State/province code
|
|
483
|
-
#
|
|
484
|
-
# @return [String, nil]
|
|
485
|
-
optional :state, String, nil?: true
|
|
486
|
-
|
|
487
|
-
# @!attribute street
|
|
488
|
-
# Street address
|
|
489
|
-
#
|
|
490
|
-
# @return [String, nil]
|
|
491
|
-
optional :street, String, nil?: true
|
|
492
|
-
|
|
493
|
-
# @!attribute tax_id
|
|
494
|
-
# Tax ID/EIN number
|
|
495
|
-
#
|
|
496
|
-
# @return [String, nil]
|
|
497
|
-
optional :tax_id, String, api_name: :taxId, nil?: true
|
|
498
|
-
|
|
499
|
-
# @!attribute tax_id_type
|
|
500
|
-
# Type of tax ID (e.g., us_ein, ca_bn)
|
|
501
|
-
#
|
|
502
|
-
# @return [String, nil]
|
|
503
|
-
optional :tax_id_type, String, api_name: :taxIdType, nil?: true
|
|
504
|
-
|
|
505
|
-
# @!attribute url
|
|
506
|
-
# Business website URL
|
|
507
|
-
#
|
|
508
|
-
# @return [String, nil]
|
|
509
|
-
optional :url, String, nil?: true
|
|
510
|
-
|
|
511
|
-
# @!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)
|
|
512
|
-
# Business details and address for brand KYC
|
|
513
|
-
#
|
|
514
|
-
# @param city [String, nil] City
|
|
515
|
-
#
|
|
516
|
-
# @param country [String, nil] Country code (e.g., US, CA)
|
|
517
|
-
#
|
|
518
|
-
# @param country_of_registration [String, nil] Country where the business is registered
|
|
519
|
-
#
|
|
520
|
-
# @param entity_type [Symbol, Sentdm::Models::ProfileCreateParams::Brand::Business::EntityType, nil]
|
|
521
|
-
#
|
|
522
|
-
# @param legal_name [String, nil] Legal business name
|
|
523
|
-
#
|
|
524
|
-
# @param postal_code [String, nil] Postal/ZIP code
|
|
525
|
-
#
|
|
526
|
-
# @param state [String, nil] State/province code
|
|
527
|
-
#
|
|
528
|
-
# @param street [String, nil] Street address
|
|
529
|
-
#
|
|
530
|
-
# @param tax_id [String, nil] Tax ID/EIN number
|
|
531
|
-
#
|
|
532
|
-
# @param tax_id_type [String, nil] Type of tax ID (e.g., us_ein, ca_bn)
|
|
533
|
-
#
|
|
534
|
-
# @param url [String, nil] Business website URL
|
|
535
|
-
|
|
536
|
-
# @see Sentdm::Models::ProfileCreateParams::Brand::Business#entity_type
|
|
537
|
-
module EntityType
|
|
538
|
-
extend Sentdm::Internal::Type::Enum
|
|
539
|
-
|
|
540
|
-
PRIVATE_PROFIT = :PRIVATE_PROFIT
|
|
541
|
-
PUBLIC_PROFIT = :PUBLIC_PROFIT
|
|
542
|
-
NON_PROFIT = :NON_PROFIT
|
|
543
|
-
SOLE_PROPRIETOR = :SOLE_PROPRIETOR
|
|
544
|
-
GOVERNMENT = :GOVERNMENT
|
|
545
|
-
|
|
546
|
-
# @!method self.values
|
|
547
|
-
# @return [Array<Symbol>]
|
|
548
|
-
end
|
|
549
|
-
end
|
|
550
|
-
end
|
|
551
|
-
|
|
552
|
-
class PaymentDetails < Sentdm::Internal::Type::BaseModel
|
|
553
|
-
# @!attribute card_number
|
|
554
|
-
# Card number (digits only, 13–19 characters)
|
|
555
|
-
#
|
|
556
|
-
# @return [String]
|
|
557
|
-
required :card_number, String
|
|
558
|
-
|
|
559
|
-
# @!attribute cvc
|
|
560
|
-
# Card security code (3–4 digits)
|
|
561
|
-
#
|
|
562
|
-
# @return [String]
|
|
563
|
-
required :cvc, String
|
|
564
|
-
|
|
565
|
-
# @!attribute expiry
|
|
566
|
-
# Card expiry date in MM/YY format (e.g. "09/27")
|
|
567
|
-
#
|
|
568
|
-
# @return [String]
|
|
569
|
-
required :expiry, String
|
|
570
|
-
|
|
571
|
-
# @!attribute zip_code
|
|
572
|
-
# Billing ZIP / postal code associated with the card
|
|
573
|
-
#
|
|
574
|
-
# @return [String]
|
|
575
|
-
required :zip_code, String
|
|
576
|
-
|
|
577
|
-
# @!method initialize(card_number:, cvc:, expiry:, zip_code:)
|
|
578
|
-
# Payment card details for a profile. Accepted when billing_model is "profile" or
|
|
579
|
-
# "profile_and_organization". These details are not stored on our servers and will
|
|
580
|
-
# be forwarded to the payment processor.
|
|
581
|
-
#
|
|
582
|
-
# @param card_number [String] Card number (digits only, 13–19 characters)
|
|
583
|
-
#
|
|
584
|
-
# @param cvc [String] Card security code (3–4 digits)
|
|
585
|
-
#
|
|
586
|
-
# @param expiry [String] Card expiry date in MM/YY format (e.g. "09/27")
|
|
587
|
-
#
|
|
588
|
-
# @param zip_code [String] Billing ZIP / postal code associated with the card
|
|
589
|
-
end
|
|
590
|
-
|
|
591
177
|
class WhatsappBusinessAccount < Sentdm::Internal::Type::BaseModel
|
|
592
178
|
# @!attribute access_token
|
|
593
179
|
# System User access token with whatsapp_business_messaging and
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Sentdm
|
|
4
4
|
module Models
|
|
5
5
|
# @see Sentdm::Resources::Profiles#delete
|
|
6
|
-
class ProfileDeleteParams < Sentdm::
|
|
6
|
+
class ProfileDeleteParams < Sentdm::Models::MutationRequest
|
|
7
7
|
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Sentdm::Internal::Type::RequestParameters
|
|
9
9
|
|
|
@@ -12,28 +12,14 @@ module Sentdm
|
|
|
12
12
|
# @return [String]
|
|
13
13
|
required :profile_id, String
|
|
14
14
|
|
|
15
|
-
# @!attribute sandbox
|
|
16
|
-
# Sandbox flag - when true, the operation is simulated without side effects Useful
|
|
17
|
-
# for testing integrations without actual execution
|
|
18
|
-
#
|
|
19
|
-
# @return [Boolean, nil]
|
|
20
|
-
optional :sandbox, Sentdm::Internal::Type::Boolean
|
|
21
|
-
|
|
22
15
|
# @!attribute x_profile_id
|
|
23
16
|
#
|
|
24
17
|
# @return [String, nil]
|
|
25
18
|
optional :x_profile_id, String
|
|
26
19
|
|
|
27
|
-
# @!method initialize(profile_id:,
|
|
28
|
-
# Some parameter documentations has been truncated, see
|
|
29
|
-
# {Sentdm::Models::ProfileDeleteParams} for more details.
|
|
30
|
-
#
|
|
20
|
+
# @!method initialize(profile_id:, x_profile_id: nil, request_options: {})
|
|
31
21
|
# @param profile_id [String]
|
|
32
|
-
#
|
|
33
|
-
# @param sandbox [Boolean] Sandbox flag - when true, the operation is simulated without side effects
|
|
34
|
-
#
|
|
35
22
|
# @param x_profile_id [String]
|
|
36
|
-
#
|
|
37
23
|
# @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}]
|
|
38
24
|
end
|
|
39
25
|
end
|