sentdm 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/README.md +1 -31
- data/lib/sentdm/internal/transport/base_client.rb +2 -0
- data/lib/sentdm/internal/type/base_model.rb +5 -5
- data/lib/sentdm/internal/type/enum.rb +0 -25
- data/lib/sentdm/models/contact_create_response.rb +236 -0
- data/lib/sentdm/models/contact_delete_params.rb +16 -2
- data/lib/sentdm/models/contact_list_response.rb +278 -12
- data/lib/sentdm/models/contact_retrieve_response.rb +236 -0
- data/lib/sentdm/models/contact_update_params.rb +4 -16
- data/lib/sentdm/models/contact_update_response.rb +236 -0
- data/lib/sentdm/models/me_retrieve_response.rb +204 -12
- data/lib/sentdm/models/message_retrieve_activities_response.rb +74 -6
- data/lib/sentdm/models/message_retrieve_status_response.rb +87 -7
- data/lib/sentdm/models/message_send_params.rb +2 -2
- data/lib/sentdm/models/message_send_response.rb +74 -6
- data/lib/sentdm/models/number_lookup_response.rb +74 -6
- data/lib/sentdm/models/profile_complete_response.rb +74 -6
- data/lib/sentdm/models/profile_create_params.rb +423 -9
- data/lib/sentdm/models/profile_create_response.rb +781 -0
- data/lib/sentdm/models/profile_delete_params.rb +16 -2
- data/lib/sentdm/models/profile_list_response.rb +753 -9
- data/lib/sentdm/models/profile_retrieve_response.rb +783 -0
- data/lib/sentdm/models/profile_update_params.rb +423 -9
- data/lib/sentdm/models/profile_update_response.rb +781 -0
- data/lib/sentdm/models/profiles/campaign_create_params.rb +165 -3
- data/lib/sentdm/models/profiles/campaign_create_response.rb +459 -0
- data/lib/sentdm/models/profiles/campaign_delete_params.rb +17 -2
- data/lib/sentdm/models/profiles/campaign_list_response.rb +420 -9
- data/lib/sentdm/models/profiles/campaign_update_params.rb +165 -3
- data/lib/sentdm/models/profiles/campaign_update_response.rb +459 -0
- data/lib/sentdm/models/template_create_params.rb +889 -3
- data/lib/sentdm/models/template_create_response.rb +197 -0
- data/lib/sentdm/models/template_list_response.rb +242 -12
- data/lib/sentdm/models/template_retrieve_response.rb +197 -0
- data/lib/sentdm/models/template_update_params.rb +889 -3
- data/lib/sentdm/models/template_update_response.rb +197 -0
- data/lib/sentdm/models/user_invite_response.rb +189 -0
- data/lib/sentdm/models/user_list_response.rb +154 -9
- data/lib/sentdm/models/user_remove_params.rb +16 -2
- data/lib/sentdm/models/user_retrieve_response.rb +189 -0
- data/lib/sentdm/models/user_update_role_response.rb +189 -0
- data/lib/sentdm/models/webhook_create_response.rb +204 -0
- data/lib/sentdm/models/webhook_list_event_types_response.rb +118 -9
- data/lib/sentdm/models/webhook_list_events_response.rb +153 -9
- data/lib/sentdm/models/webhook_list_response.rb +247 -12
- data/lib/sentdm/models/webhook_retrieve_response.rb +204 -0
- data/lib/sentdm/models/webhook_rotate_secret_params.rb +17 -2
- data/lib/sentdm/models/webhook_rotate_secret_response.rb +74 -6
- data/lib/sentdm/models/webhook_test_response.rb +74 -6
- data/lib/sentdm/models/webhook_toggle_status_response.rb +204 -0
- data/lib/sentdm/models/webhook_update_response.rb +204 -0
- data/lib/sentdm/models.rb +0 -77
- data/lib/sentdm/resources/contacts.rb +8 -10
- data/lib/sentdm/resources/profiles/campaigns.rb +6 -6
- data/lib/sentdm/resources/profiles.rb +12 -12
- data/lib/sentdm/resources/templates.rb +8 -8
- data/lib/sentdm/resources/users.rb +6 -6
- data/lib/sentdm/resources/webhooks.rb +8 -8
- data/lib/sentdm/version.rb +1 -1
- data/lib/sentdm.rb +18 -40
- data/rbi/sentdm/models/contact_create_response.rbi +390 -0
- data/rbi/sentdm/models/contact_delete_params.rbi +19 -2
- data/rbi/sentdm/models/contact_list_response.rbi +505 -16
- data/rbi/sentdm/models/contact_retrieve_response.rbi +392 -0
- data/rbi/sentdm/models/contact_update_params.rbi +4 -20
- data/rbi/sentdm/models/contact_update_response.rbi +390 -0
- data/rbi/sentdm/models/me_retrieve_response.rbi +335 -16
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +154 -8
- data/rbi/sentdm/models/message_retrieve_status_response.rbi +171 -11
- data/rbi/sentdm/models/message_send_params.rbi +4 -4
- data/rbi/sentdm/models/message_send_response.rbi +135 -8
- data/rbi/sentdm/models/number_lookup_response.rbi +135 -8
- data/rbi/sentdm/models/profile_complete_response.rbi +137 -8
- data/rbi/sentdm/models/profile_create_params.rbi +810 -12
- data/rbi/sentdm/models/profile_create_response.rbi +1439 -0
- data/rbi/sentdm/models/profile_delete_params.rbi +19 -2
- data/rbi/sentdm/models/profile_list_response.rbi +1400 -14
- data/rbi/sentdm/models/profile_retrieve_response.rbi +1443 -0
- data/rbi/sentdm/models/profile_update_params.rbi +810 -12
- data/rbi/sentdm/models/profile_update_response.rbi +1439 -0
- data/rbi/sentdm/models/profiles/campaign_create_params.rbi +289 -4
- data/rbi/sentdm/models/profiles/campaign_create_response.rbi +814 -0
- data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +14 -1
- data/rbi/sentdm/models/profiles/campaign_list_response.rbi +733 -11
- data/rbi/sentdm/models/profiles/campaign_update_params.rbi +289 -4
- data/rbi/sentdm/models/profiles/campaign_update_response.rbi +814 -0
- data/rbi/sentdm/models/template_create_params.rbi +1701 -4
- data/rbi/sentdm/models/template_create_response.rbi +339 -0
- data/rbi/sentdm/models/template_list_response.rbi +454 -16
- data/rbi/sentdm/models/template_retrieve_response.rbi +345 -0
- data/rbi/sentdm/models/template_update_params.rbi +1701 -4
- data/rbi/sentdm/models/template_update_response.rbi +339 -0
- data/rbi/sentdm/models/user_invite_response.rbi +323 -0
- data/rbi/sentdm/models/user_list_response.rbi +271 -14
- data/rbi/sentdm/models/user_remove_params.rbi +19 -2
- data/rbi/sentdm/models/user_retrieve_response.rbi +323 -0
- data/rbi/sentdm/models/user_update_role_response.rbi +328 -0
- data/rbi/sentdm/models/webhook_create_response.rbi +348 -0
- data/rbi/sentdm/models/webhook_list_event_types_response.rbi +247 -12
- data/rbi/sentdm/models/webhook_list_events_response.rbi +314 -12
- data/rbi/sentdm/models/webhook_list_response.rbi +462 -16
- data/rbi/sentdm/models/webhook_retrieve_response.rbi +350 -0
- data/rbi/sentdm/models/webhook_rotate_secret_params.rbi +14 -1
- data/rbi/sentdm/models/webhook_rotate_secret_response.rbi +148 -8
- data/rbi/sentdm/models/webhook_test_response.rbi +135 -8
- data/rbi/sentdm/models/webhook_toggle_status_response.rbi +366 -0
- data/rbi/sentdm/models/webhook_update_response.rbi +348 -0
- data/rbi/sentdm/models.rbi +0 -77
- data/rbi/sentdm/resources/contacts.rbi +5 -12
- data/rbi/sentdm/resources/messages.rbi +2 -2
- data/rbi/sentdm/resources/profiles/campaigns.rbi +4 -4
- data/rbi/sentdm/resources/profiles.rbi +13 -9
- data/rbi/sentdm/resources/templates.rbi +6 -5
- data/rbi/sentdm/resources/users.rbi +3 -3
- data/rbi/sentdm/resources/webhooks.rbi +4 -4
- data/sig/sentdm/models/contact_create_response.rbs +209 -0
- data/sig/sentdm/models/contact_delete_params.rbs +10 -6
- data/sig/sentdm/models/contact_list_response.rbs +256 -20
- data/sig/sentdm/models/contact_retrieve_response.rbs +209 -0
- data/sig/sentdm/models/contact_update_params.rbs +0 -5
- data/sig/sentdm/models/contact_update_response.rbs +209 -0
- data/sig/sentdm/models/me_retrieve_response.rbs +176 -18
- data/sig/sentdm/models/message_retrieve_activities_response.rbs +71 -9
- data/sig/sentdm/models/message_retrieve_status_response.rbs +95 -13
- data/sig/sentdm/models/message_send_response.rbs +71 -9
- data/sig/sentdm/models/number_lookup_response.rbs +71 -9
- data/sig/sentdm/models/profile_complete_response.rbs +71 -9
- data/sig/sentdm/models/profile_create_params.rbs +363 -12
- data/sig/sentdm/models/profile_create_response.rbs +662 -0
- data/sig/sentdm/models/profile_delete_params.rbs +10 -6
- data/sig/sentdm/models/profile_list_response.rbs +645 -15
- data/sig/sentdm/models/profile_retrieve_response.rbs +662 -0
- data/sig/sentdm/models/profile_update_params.rbs +363 -12
- data/sig/sentdm/models/profile_update_response.rbs +662 -0
- data/sig/sentdm/models/profiles/campaign_create_params.rbs +138 -4
- data/sig/sentdm/models/profiles/campaign_create_response.rbs +424 -0
- data/sig/sentdm/models/profiles/campaign_delete_params.rbs +15 -8
- data/sig/sentdm/models/profiles/campaign_list_response.rbs +396 -13
- data/sig/sentdm/models/profiles/campaign_update_params.rbs +138 -4
- data/sig/sentdm/models/profiles/campaign_update_response.rbs +424 -0
- data/sig/sentdm/models/template_create_params.rbs +853 -6
- data/sig/sentdm/models/template_create_response.rbs +177 -0
- data/sig/sentdm/models/template_list_response.rbs +225 -19
- data/sig/sentdm/models/template_retrieve_response.rbs +177 -0
- data/sig/sentdm/models/template_update_params.rbs +851 -4
- data/sig/sentdm/models/template_update_response.rbs +177 -0
- data/sig/sentdm/models/user_invite_response.rbs +170 -0
- data/sig/sentdm/models/user_list_response.rbs +151 -15
- data/sig/sentdm/models/user_remove_params.rbs +10 -6
- data/sig/sentdm/models/user_retrieve_response.rbs +170 -0
- data/sig/sentdm/models/user_update_role_response.rbs +170 -0
- data/sig/sentdm/models/webhook_create_response.rbs +201 -0
- data/sig/sentdm/models/webhook_list_event_types_response.rbs +130 -15
- data/sig/sentdm/models/webhook_list_events_response.rbs +142 -14
- data/sig/sentdm/models/webhook_list_response.rbs +248 -20
- data/sig/sentdm/models/webhook_retrieve_response.rbs +201 -0
- data/sig/sentdm/models/webhook_rotate_secret_params.rbs +17 -8
- data/sig/sentdm/models/webhook_rotate_secret_response.rbs +71 -9
- data/sig/sentdm/models/webhook_test_response.rbs +71 -9
- data/sig/sentdm/models/webhook_toggle_status_response.rbs +201 -0
- data/sig/sentdm/models/webhook_update_response.rbs +201 -0
- data/sig/sentdm/models.rbs +0 -68
- data/sig/sentdm/resources/contacts.rbs +3 -4
- data/sig/sentdm/resources/profiles/campaigns.rbs +4 -4
- data/sig/sentdm/resources/profiles.rbs +9 -9
- data/sig/sentdm/resources/templates.rbs +5 -5
- data/sig/sentdm/resources/users.rbs +3 -3
- data/sig/sentdm/resources/webhooks.rbs +4 -4
- metadata +56 -122
- data/lib/sentdm/models/api_meta.rb +0 -34
- data/lib/sentdm/models/api_response_of_contact.rb +0 -46
- data/lib/sentdm/models/api_response_of_profile_detail.rb +0 -43
- data/lib/sentdm/models/api_response_of_user.rb +0 -43
- data/lib/sentdm/models/api_response_template.rb +0 -43
- data/lib/sentdm/models/api_response_webhook.rb +0 -43
- data/lib/sentdm/models/billing_contact_info.rb +0 -47
- data/lib/sentdm/models/brands_brand_data.rb +0 -38
- data/lib/sentdm/models/contact_response.rb +0 -136
- data/lib/sentdm/models/destination_country.rb +0 -21
- data/lib/sentdm/models/error_detail.rb +0 -42
- data/lib/sentdm/models/mutation_request.rb +0 -20
- data/lib/sentdm/models/pagination_meta.rb +0 -80
- data/lib/sentdm/models/payment_details.rb +0 -44
- data/lib/sentdm/models/profile_detail.rb +0 -605
- data/lib/sentdm/models/profile_settings.rb +0 -66
- data/lib/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rb +0 -45
- data/lib/sentdm/models/profiles/base_dto.rb +0 -32
- data/lib/sentdm/models/profiles/campaign_data.rb +0 -123
- data/lib/sentdm/models/profiles/messaging_use_case_us.rb +0 -28
- data/lib/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb +0 -29
- data/lib/sentdm/models/profiles/tcr_campaign_with_use_cases.rb +0 -236
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rb +0 -34
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rb +0 -40
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rb +0 -38
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rb +0 -81
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rb +0 -34
- data/lib/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rb +0 -39
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb +0 -116
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rb +0 -75
- data/lib/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rb +0 -58
- data/lib/sentdm/models/tcr_brand_relationship.rb +0 -18
- data/lib/sentdm/models/tcr_vertical.rb +0 -36
- data/lib/sentdm/models/template.rb +0 -90
- data/lib/sentdm/models/template_body_content.rb +0 -27
- data/lib/sentdm/models/template_definition.rb +0 -66
- data/lib/sentdm/models/template_variable.rb +0 -80
- data/lib/sentdm/models/user_response.rb +0 -82
- data/lib/sentdm/models/webhook_event_type.rb +0 -45
- data/lib/sentdm/models/webhook_response.rb +0 -95
- data/rbi/sentdm/models/api_meta.rbi +0 -55
- data/rbi/sentdm/models/api_response_of_contact.rbi +0 -74
- data/rbi/sentdm/models/api_response_of_profile_detail.rbi +0 -74
- data/rbi/sentdm/models/api_response_of_user.rbi +0 -74
- data/rbi/sentdm/models/api_response_template.rbi +0 -74
- data/rbi/sentdm/models/api_response_webhook.rbi +0 -74
- data/rbi/sentdm/models/billing_contact_info.rbi +0 -65
- data/rbi/sentdm/models/brands_brand_data.rbi +0 -104
- data/rbi/sentdm/models/contact_response.rbi +0 -195
- data/rbi/sentdm/models/destination_country.rbi +0 -32
- data/rbi/sentdm/models/error_detail.rbi +0 -66
- data/rbi/sentdm/models/mutation_request.rbi +0 -32
- data/rbi/sentdm/models/pagination_meta.rbi +0 -135
- data/rbi/sentdm/models/payment_details.rbi +0 -59
- data/rbi/sentdm/models/profile_detail.rbi +0 -874
- data/rbi/sentdm/models/profile_settings.rbi +0 -86
- data/rbi/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbi +0 -83
- data/rbi/sentdm/models/profiles/base_dto.rbi +0 -53
- data/rbi/sentdm/models/profiles/campaign_data.rbi +0 -148
- data/rbi/sentdm/models/profiles/messaging_use_case_us.rbi +0 -73
- data/rbi/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi +0 -51
- data/rbi/sentdm/models/profiles/tcr_campaign_with_use_cases.rbi +0 -410
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbi +0 -56
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbi +0 -76
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbi +0 -72
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbi +0 -104
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbi +0 -57
- data/rbi/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbi +0 -59
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbi +0 -180
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbi +0 -95
- data/rbi/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbi +0 -81
- data/rbi/sentdm/models/tcr_brand_relationship.rbi +0 -30
- data/rbi/sentdm/models/tcr_vertical.rbi +0 -41
- data/rbi/sentdm/models/template.rbi +0 -129
- data/rbi/sentdm/models/template_body_content.rbi +0 -43
- data/rbi/sentdm/models/template_definition.rbi +0 -164
- data/rbi/sentdm/models/template_variable.rbi +0 -120
- data/rbi/sentdm/models/user_response.rbi +0 -118
- data/rbi/sentdm/models/webhook_event_type.rbi +0 -74
- data/rbi/sentdm/models/webhook_response.rbi +0 -140
- data/sig/sentdm/models/api_meta.rbs +0 -27
- data/sig/sentdm/models/api_response_of_contact.rbs +0 -39
- data/sig/sentdm/models/api_response_of_profile_detail.rbs +0 -39
- data/sig/sentdm/models/api_response_of_user.rbs +0 -39
- data/sig/sentdm/models/api_response_template.rbs +0 -39
- data/sig/sentdm/models/api_response_webhook.rbs +0 -39
- data/sig/sentdm/models/billing_contact_info.rbs +0 -30
- data/sig/sentdm/models/brands_brand_data.rbs +0 -30
- data/sig/sentdm/models/contact_response.rbs +0 -116
- data/sig/sentdm/models/destination_country.rbs +0 -19
- data/sig/sentdm/models/error_detail.rbs +0 -39
- data/sig/sentdm/models/mutation_request.rbs +0 -15
- data/sig/sentdm/models/pagination_meta.rbs +0 -67
- data/sig/sentdm/models/payment_details.rbs +0 -30
- data/sig/sentdm/models/profile_detail.rbs +0 -474
- data/sig/sentdm/models/profile_settings.rbs +0 -50
- data/sig/sentdm/models/profiles/api_response_of_tcr_campaign_with_use_cases.rbs +0 -41
- data/sig/sentdm/models/profiles/base_dto.rbs +0 -27
- data/sig/sentdm/models/profiles/campaign_data.rbs +0 -82
- data/sig/sentdm/models/profiles/messaging_use_case_us.rbs +0 -40
- data/sig/sentdm/models/profiles/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs +0 -27
- data/sig/sentdm/models/profiles/tcr_campaign_with_use_cases.rbs +0 -285
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_authentication_config.rbs +0 -24
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_body.rbs +0 -30
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbs +0 -32
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button_props.rbs +0 -75
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_footer.rbs +0 -30
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_header.rbs +0 -30
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbs +0 -89
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbs +0 -55
- data/sig/sentdm/models/sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbs +0 -45
- data/sig/sentdm/models/tcr_brand_relationship.rbs +0 -22
- data/sig/sentdm/models/tcr_vertical.rbs +0 -58
- data/sig/sentdm/models/template.rbs +0 -79
- data/sig/sentdm/models/template_body_content.rbs +0 -30
- data/sig/sentdm/models/template_definition.rbs +0 -45
- data/sig/sentdm/models/template_variable.rbs +0 -84
- data/sig/sentdm/models/user_response.rbs +0 -72
- data/sig/sentdm/models/webhook_event_type.rbs +0 -51
- data/sig/sentdm/models/webhook_response.rbs +0 -103
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type api_response_of_contact =
|
|
4
|
-
{
|
|
5
|
-
data: Sentdm::ContactResponse?,
|
|
6
|
-
error: Sentdm::ErrorDetail?,
|
|
7
|
-
meta: Sentdm::APIMeta,
|
|
8
|
-
success: bool
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class APIResponseOfContact < Sentdm::Internal::Type::BaseModel
|
|
12
|
-
attr_accessor data: Sentdm::ContactResponse?
|
|
13
|
-
|
|
14
|
-
attr_accessor error: Sentdm::ErrorDetail?
|
|
15
|
-
|
|
16
|
-
attr_reader meta: Sentdm::APIMeta?
|
|
17
|
-
|
|
18
|
-
def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
|
|
19
|
-
|
|
20
|
-
attr_reader success: bool?
|
|
21
|
-
|
|
22
|
-
def success=: (bool) -> bool
|
|
23
|
-
|
|
24
|
-
def initialize: (
|
|
25
|
-
?data: Sentdm::ContactResponse?,
|
|
26
|
-
?error: Sentdm::ErrorDetail?,
|
|
27
|
-
?meta: Sentdm::APIMeta,
|
|
28
|
-
?success: bool
|
|
29
|
-
) -> void
|
|
30
|
-
|
|
31
|
-
def to_hash: -> {
|
|
32
|
-
data: Sentdm::ContactResponse?,
|
|
33
|
-
error: Sentdm::ErrorDetail?,
|
|
34
|
-
meta: Sentdm::APIMeta,
|
|
35
|
-
success: bool
|
|
36
|
-
}
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type api_response_of_profile_detail =
|
|
4
|
-
{
|
|
5
|
-
data: Sentdm::ProfileDetail?,
|
|
6
|
-
error: Sentdm::ErrorDetail?,
|
|
7
|
-
meta: Sentdm::APIMeta,
|
|
8
|
-
success: bool
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class APIResponseOfProfileDetail < Sentdm::Internal::Type::BaseModel
|
|
12
|
-
attr_accessor data: Sentdm::ProfileDetail?
|
|
13
|
-
|
|
14
|
-
attr_accessor error: Sentdm::ErrorDetail?
|
|
15
|
-
|
|
16
|
-
attr_reader meta: Sentdm::APIMeta?
|
|
17
|
-
|
|
18
|
-
def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
|
|
19
|
-
|
|
20
|
-
attr_reader success: bool?
|
|
21
|
-
|
|
22
|
-
def success=: (bool) -> bool
|
|
23
|
-
|
|
24
|
-
def initialize: (
|
|
25
|
-
?data: Sentdm::ProfileDetail?,
|
|
26
|
-
?error: Sentdm::ErrorDetail?,
|
|
27
|
-
?meta: Sentdm::APIMeta,
|
|
28
|
-
?success: bool
|
|
29
|
-
) -> void
|
|
30
|
-
|
|
31
|
-
def to_hash: -> {
|
|
32
|
-
data: Sentdm::ProfileDetail?,
|
|
33
|
-
error: Sentdm::ErrorDetail?,
|
|
34
|
-
meta: Sentdm::APIMeta,
|
|
35
|
-
success: bool
|
|
36
|
-
}
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type api_response_of_user =
|
|
4
|
-
{
|
|
5
|
-
data: Sentdm::UserResponse?,
|
|
6
|
-
error: Sentdm::ErrorDetail?,
|
|
7
|
-
meta: Sentdm::APIMeta,
|
|
8
|
-
success: bool
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class APIResponseOfUser < Sentdm::Internal::Type::BaseModel
|
|
12
|
-
attr_accessor data: Sentdm::UserResponse?
|
|
13
|
-
|
|
14
|
-
attr_accessor error: Sentdm::ErrorDetail?
|
|
15
|
-
|
|
16
|
-
attr_reader meta: Sentdm::APIMeta?
|
|
17
|
-
|
|
18
|
-
def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
|
|
19
|
-
|
|
20
|
-
attr_reader success: bool?
|
|
21
|
-
|
|
22
|
-
def success=: (bool) -> bool
|
|
23
|
-
|
|
24
|
-
def initialize: (
|
|
25
|
-
?data: Sentdm::UserResponse?,
|
|
26
|
-
?error: Sentdm::ErrorDetail?,
|
|
27
|
-
?meta: Sentdm::APIMeta,
|
|
28
|
-
?success: bool
|
|
29
|
-
) -> void
|
|
30
|
-
|
|
31
|
-
def to_hash: -> {
|
|
32
|
-
data: Sentdm::UserResponse?,
|
|
33
|
-
error: Sentdm::ErrorDetail?,
|
|
34
|
-
meta: Sentdm::APIMeta,
|
|
35
|
-
success: bool
|
|
36
|
-
}
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type api_response_template =
|
|
4
|
-
{
|
|
5
|
-
data: Sentdm::Template?,
|
|
6
|
-
error: Sentdm::ErrorDetail?,
|
|
7
|
-
meta: Sentdm::APIMeta,
|
|
8
|
-
success: bool
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class APIResponseTemplate < Sentdm::Internal::Type::BaseModel
|
|
12
|
-
attr_accessor data: Sentdm::Template?
|
|
13
|
-
|
|
14
|
-
attr_accessor error: Sentdm::ErrorDetail?
|
|
15
|
-
|
|
16
|
-
attr_reader meta: Sentdm::APIMeta?
|
|
17
|
-
|
|
18
|
-
def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
|
|
19
|
-
|
|
20
|
-
attr_reader success: bool?
|
|
21
|
-
|
|
22
|
-
def success=: (bool) -> bool
|
|
23
|
-
|
|
24
|
-
def initialize: (
|
|
25
|
-
?data: Sentdm::Template?,
|
|
26
|
-
?error: Sentdm::ErrorDetail?,
|
|
27
|
-
?meta: Sentdm::APIMeta,
|
|
28
|
-
?success: bool
|
|
29
|
-
) -> void
|
|
30
|
-
|
|
31
|
-
def to_hash: -> {
|
|
32
|
-
data: Sentdm::Template?,
|
|
33
|
-
error: Sentdm::ErrorDetail?,
|
|
34
|
-
meta: Sentdm::APIMeta,
|
|
35
|
-
success: bool
|
|
36
|
-
}
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type api_response_webhook =
|
|
4
|
-
{
|
|
5
|
-
data: Sentdm::WebhookResponse?,
|
|
6
|
-
error: Sentdm::ErrorDetail?,
|
|
7
|
-
meta: Sentdm::APIMeta,
|
|
8
|
-
success: bool
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class APIResponseWebhook < Sentdm::Internal::Type::BaseModel
|
|
12
|
-
attr_accessor data: Sentdm::WebhookResponse?
|
|
13
|
-
|
|
14
|
-
attr_accessor error: Sentdm::ErrorDetail?
|
|
15
|
-
|
|
16
|
-
attr_reader meta: Sentdm::APIMeta?
|
|
17
|
-
|
|
18
|
-
def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
|
|
19
|
-
|
|
20
|
-
attr_reader success: bool?
|
|
21
|
-
|
|
22
|
-
def success=: (bool) -> bool
|
|
23
|
-
|
|
24
|
-
def initialize: (
|
|
25
|
-
?data: Sentdm::WebhookResponse?,
|
|
26
|
-
?error: Sentdm::ErrorDetail?,
|
|
27
|
-
?meta: Sentdm::APIMeta,
|
|
28
|
-
?success: bool
|
|
29
|
-
) -> void
|
|
30
|
-
|
|
31
|
-
def to_hash: -> {
|
|
32
|
-
data: Sentdm::WebhookResponse?,
|
|
33
|
-
error: Sentdm::ErrorDetail?,
|
|
34
|
-
meta: Sentdm::APIMeta,
|
|
35
|
-
success: bool
|
|
36
|
-
}
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type billing_contact_info =
|
|
4
|
-
{ email: String, name: String, address: String?, phone: String? }
|
|
5
|
-
|
|
6
|
-
class BillingContactInfo < Sentdm::Internal::Type::BaseModel
|
|
7
|
-
attr_accessor email: String
|
|
8
|
-
|
|
9
|
-
attr_accessor name: String
|
|
10
|
-
|
|
11
|
-
attr_accessor address: String?
|
|
12
|
-
|
|
13
|
-
attr_accessor phone: String?
|
|
14
|
-
|
|
15
|
-
def initialize: (
|
|
16
|
-
email: String,
|
|
17
|
-
name: String,
|
|
18
|
-
?address: String?,
|
|
19
|
-
?phone: String?
|
|
20
|
-
) -> void
|
|
21
|
-
|
|
22
|
-
def to_hash: -> {
|
|
23
|
-
email: String,
|
|
24
|
-
name: String,
|
|
25
|
-
address: String?,
|
|
26
|
-
phone: String?
|
|
27
|
-
}
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type brands_brand_data =
|
|
4
|
-
{
|
|
5
|
-
compliance: Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo,
|
|
6
|
-
contact: Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo,
|
|
7
|
-
business: Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo?
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
class BrandsBrandData < Sentdm::Internal::Type::BaseModel
|
|
11
|
-
attr_accessor compliance: Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo
|
|
12
|
-
|
|
13
|
-
attr_accessor contact: Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo
|
|
14
|
-
|
|
15
|
-
attr_accessor business: Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo?
|
|
16
|
-
|
|
17
|
-
def initialize: (
|
|
18
|
-
compliance: Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo,
|
|
19
|
-
contact: Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo,
|
|
20
|
-
?business: Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo?
|
|
21
|
-
) -> void
|
|
22
|
-
|
|
23
|
-
def to_hash: -> {
|
|
24
|
-
compliance: Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandComplianceInfo,
|
|
25
|
-
contact: Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo,
|
|
26
|
-
business: Sentdm::SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandBusinessInfo?
|
|
27
|
-
}
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type contact_response =
|
|
4
|
-
{
|
|
5
|
-
id: String,
|
|
6
|
-
available_channels: String,
|
|
7
|
-
channel_consent: ::Hash[Symbol, String]?,
|
|
8
|
-
country_code: String,
|
|
9
|
-
created_at: Time,
|
|
10
|
-
default_channel: String,
|
|
11
|
-
:format_e164 => String,
|
|
12
|
-
format_international: String,
|
|
13
|
-
format_national: String,
|
|
14
|
-
format_rfc: String,
|
|
15
|
-
is_inherited: bool,
|
|
16
|
-
opt_out: bool,
|
|
17
|
-
phone_number: String,
|
|
18
|
-
region_code: String,
|
|
19
|
-
updated_at: Time?
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
class ContactResponse < Sentdm::Internal::Type::BaseModel
|
|
23
|
-
attr_reader id: String?
|
|
24
|
-
|
|
25
|
-
def id=: (String) -> String
|
|
26
|
-
|
|
27
|
-
attr_reader available_channels: String?
|
|
28
|
-
|
|
29
|
-
def available_channels=: (String) -> String
|
|
30
|
-
|
|
31
|
-
attr_accessor channel_consent: ::Hash[Symbol, String]?
|
|
32
|
-
|
|
33
|
-
attr_reader country_code: String?
|
|
34
|
-
|
|
35
|
-
def country_code=: (String) -> String
|
|
36
|
-
|
|
37
|
-
attr_reader created_at: Time?
|
|
38
|
-
|
|
39
|
-
def created_at=: (Time) -> Time
|
|
40
|
-
|
|
41
|
-
attr_reader default_channel: String?
|
|
42
|
-
|
|
43
|
-
def default_channel=: (String) -> String
|
|
44
|
-
|
|
45
|
-
attr_reader format_e164: String?
|
|
46
|
-
|
|
47
|
-
def format_e164=: (String) -> String
|
|
48
|
-
|
|
49
|
-
attr_reader format_international: String?
|
|
50
|
-
|
|
51
|
-
def format_international=: (String) -> String
|
|
52
|
-
|
|
53
|
-
attr_reader format_national: String?
|
|
54
|
-
|
|
55
|
-
def format_national=: (String) -> String
|
|
56
|
-
|
|
57
|
-
attr_reader format_rfc: String?
|
|
58
|
-
|
|
59
|
-
def format_rfc=: (String) -> String
|
|
60
|
-
|
|
61
|
-
attr_reader is_inherited: bool?
|
|
62
|
-
|
|
63
|
-
def is_inherited=: (bool) -> bool
|
|
64
|
-
|
|
65
|
-
attr_reader opt_out: bool?
|
|
66
|
-
|
|
67
|
-
def opt_out=: (bool) -> bool
|
|
68
|
-
|
|
69
|
-
attr_reader phone_number: String?
|
|
70
|
-
|
|
71
|
-
def phone_number=: (String) -> String
|
|
72
|
-
|
|
73
|
-
attr_reader region_code: String?
|
|
74
|
-
|
|
75
|
-
def region_code=: (String) -> String
|
|
76
|
-
|
|
77
|
-
attr_accessor updated_at: Time?
|
|
78
|
-
|
|
79
|
-
def initialize: (
|
|
80
|
-
?id: String,
|
|
81
|
-
?available_channels: String,
|
|
82
|
-
?channel_consent: ::Hash[Symbol, String]?,
|
|
83
|
-
?country_code: String,
|
|
84
|
-
?created_at: Time,
|
|
85
|
-
?default_channel: String,
|
|
86
|
-
?format_e164: String,
|
|
87
|
-
?format_international: String,
|
|
88
|
-
?format_national: String,
|
|
89
|
-
?format_rfc: String,
|
|
90
|
-
?is_inherited: bool,
|
|
91
|
-
?opt_out: bool,
|
|
92
|
-
?phone_number: String,
|
|
93
|
-
?region_code: String,
|
|
94
|
-
?updated_at: Time?
|
|
95
|
-
) -> void
|
|
96
|
-
|
|
97
|
-
def to_hash: -> {
|
|
98
|
-
id: String,
|
|
99
|
-
available_channels: String,
|
|
100
|
-
channel_consent: ::Hash[Symbol, String]?,
|
|
101
|
-
country_code: String,
|
|
102
|
-
created_at: Time,
|
|
103
|
-
default_channel: String,
|
|
104
|
-
:format_e164 => String,
|
|
105
|
-
format_international: String,
|
|
106
|
-
format_national: String,
|
|
107
|
-
format_rfc: String,
|
|
108
|
-
is_inherited: bool,
|
|
109
|
-
opt_out: bool,
|
|
110
|
-
phone_number: String,
|
|
111
|
-
region_code: String,
|
|
112
|
-
updated_at: Time?
|
|
113
|
-
}
|
|
114
|
-
end
|
|
115
|
-
end
|
|
116
|
-
end
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type destination_country = { id: String, is_main: bool }
|
|
4
|
-
|
|
5
|
-
class DestinationCountry < Sentdm::Internal::Type::BaseModel
|
|
6
|
-
attr_reader id: String?
|
|
7
|
-
|
|
8
|
-
def id=: (String) -> String
|
|
9
|
-
|
|
10
|
-
attr_reader is_main: bool?
|
|
11
|
-
|
|
12
|
-
def is_main=: (bool) -> bool
|
|
13
|
-
|
|
14
|
-
def initialize: (?id: String, ?is_main: bool) -> void
|
|
15
|
-
|
|
16
|
-
def to_hash: -> { id: String, is_main: bool }
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
end
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type error_detail =
|
|
4
|
-
{
|
|
5
|
-
code: String,
|
|
6
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
7
|
-
doc_url: String?,
|
|
8
|
-
message: String
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class ErrorDetail < Sentdm::Internal::Type::BaseModel
|
|
12
|
-
attr_reader code: String?
|
|
13
|
-
|
|
14
|
-
def code=: (String) -> String
|
|
15
|
-
|
|
16
|
-
attr_accessor details: ::Hash[Symbol, ::Array[String]]?
|
|
17
|
-
|
|
18
|
-
attr_accessor doc_url: String?
|
|
19
|
-
|
|
20
|
-
attr_reader message: String?
|
|
21
|
-
|
|
22
|
-
def message=: (String) -> String
|
|
23
|
-
|
|
24
|
-
def initialize: (
|
|
25
|
-
?code: String,
|
|
26
|
-
?details: ::Hash[Symbol, ::Array[String]]?,
|
|
27
|
-
?doc_url: String?,
|
|
28
|
-
?message: String
|
|
29
|
-
) -> void
|
|
30
|
-
|
|
31
|
-
def to_hash: -> {
|
|
32
|
-
code: String,
|
|
33
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
34
|
-
doc_url: String?,
|
|
35
|
-
message: String
|
|
36
|
-
}
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type mutation_request = { sandbox: bool }
|
|
4
|
-
|
|
5
|
-
class MutationRequest < Sentdm::Internal::Type::BaseModel
|
|
6
|
-
attr_reader sandbox: bool?
|
|
7
|
-
|
|
8
|
-
def sandbox=: (bool) -> bool
|
|
9
|
-
|
|
10
|
-
def initialize: (?sandbox: bool) -> void
|
|
11
|
-
|
|
12
|
-
def to_hash: -> { sandbox: bool }
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type pagination_meta =
|
|
4
|
-
{
|
|
5
|
-
cursors: Sentdm::PaginationMeta::Cursors?,
|
|
6
|
-
has_more: bool,
|
|
7
|
-
page: Integer,
|
|
8
|
-
page_size: Integer,
|
|
9
|
-
total_count: Integer,
|
|
10
|
-
total_pages: Integer
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
class PaginationMeta < Sentdm::Internal::Type::BaseModel
|
|
14
|
-
attr_accessor cursors: Sentdm::PaginationMeta::Cursors?
|
|
15
|
-
|
|
16
|
-
attr_reader has_more: bool?
|
|
17
|
-
|
|
18
|
-
def has_more=: (bool) -> bool
|
|
19
|
-
|
|
20
|
-
attr_reader page: Integer?
|
|
21
|
-
|
|
22
|
-
def page=: (Integer) -> Integer
|
|
23
|
-
|
|
24
|
-
attr_reader page_size: Integer?
|
|
25
|
-
|
|
26
|
-
def page_size=: (Integer) -> Integer
|
|
27
|
-
|
|
28
|
-
attr_reader total_count: Integer?
|
|
29
|
-
|
|
30
|
-
def total_count=: (Integer) -> Integer
|
|
31
|
-
|
|
32
|
-
attr_reader total_pages: Integer?
|
|
33
|
-
|
|
34
|
-
def total_pages=: (Integer) -> Integer
|
|
35
|
-
|
|
36
|
-
def initialize: (
|
|
37
|
-
?cursors: Sentdm::PaginationMeta::Cursors?,
|
|
38
|
-
?has_more: bool,
|
|
39
|
-
?page: Integer,
|
|
40
|
-
?page_size: Integer,
|
|
41
|
-
?total_count: Integer,
|
|
42
|
-
?total_pages: Integer
|
|
43
|
-
) -> void
|
|
44
|
-
|
|
45
|
-
def to_hash: -> {
|
|
46
|
-
cursors: Sentdm::PaginationMeta::Cursors?,
|
|
47
|
-
has_more: bool,
|
|
48
|
-
page: Integer,
|
|
49
|
-
page_size: Integer,
|
|
50
|
-
total_count: Integer,
|
|
51
|
-
total_pages: Integer
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
type cursors = { after: String?, before: String? }
|
|
55
|
-
|
|
56
|
-
class Cursors < Sentdm::Internal::Type::BaseModel
|
|
57
|
-
attr_accessor after: String?
|
|
58
|
-
|
|
59
|
-
attr_accessor before: String?
|
|
60
|
-
|
|
61
|
-
def initialize: (?after: String?, ?before: String?) -> void
|
|
62
|
-
|
|
63
|
-
def to_hash: -> { after: String?, before: String? }
|
|
64
|
-
end
|
|
65
|
-
end
|
|
66
|
-
end
|
|
67
|
-
end
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type payment_details =
|
|
4
|
-
{ card_number: String, cvc: String, expiry: String, zip_code: String }
|
|
5
|
-
|
|
6
|
-
class PaymentDetails < Sentdm::Internal::Type::BaseModel
|
|
7
|
-
attr_accessor card_number: String
|
|
8
|
-
|
|
9
|
-
attr_accessor cvc: String
|
|
10
|
-
|
|
11
|
-
attr_accessor expiry: String
|
|
12
|
-
|
|
13
|
-
attr_accessor zip_code: String
|
|
14
|
-
|
|
15
|
-
def initialize: (
|
|
16
|
-
card_number: String,
|
|
17
|
-
cvc: String,
|
|
18
|
-
expiry: String,
|
|
19
|
-
zip_code: String
|
|
20
|
-
) -> void
|
|
21
|
-
|
|
22
|
-
def to_hash: -> {
|
|
23
|
-
card_number: String,
|
|
24
|
-
cvc: String,
|
|
25
|
-
expiry: String,
|
|
26
|
-
zip_code: String
|
|
27
|
-
}
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|