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,45 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info =
|
|
4
|
-
{
|
|
5
|
-
name: String,
|
|
6
|
-
business_name: String?,
|
|
7
|
-
email: String?,
|
|
8
|
-
phone: String?,
|
|
9
|
-
phone_country_code: String?,
|
|
10
|
-
role: String?
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
class SentDmServicesEndpointsCustomerApIv3ContractsRequestsBrandsBrandContactInfo < Sentdm::Internal::Type::BaseModel
|
|
14
|
-
attr_accessor name: String
|
|
15
|
-
|
|
16
|
-
attr_accessor business_name: String?
|
|
17
|
-
|
|
18
|
-
attr_accessor email: String?
|
|
19
|
-
|
|
20
|
-
attr_accessor phone: String?
|
|
21
|
-
|
|
22
|
-
attr_accessor phone_country_code: String?
|
|
23
|
-
|
|
24
|
-
attr_accessor role: String?
|
|
25
|
-
|
|
26
|
-
def initialize: (
|
|
27
|
-
name: String,
|
|
28
|
-
?business_name: String?,
|
|
29
|
-
?email: String?,
|
|
30
|
-
?phone: String?,
|
|
31
|
-
?phone_country_code: String?,
|
|
32
|
-
?role: String?
|
|
33
|
-
) -> void
|
|
34
|
-
|
|
35
|
-
def to_hash: -> {
|
|
36
|
-
name: String,
|
|
37
|
-
business_name: String?,
|
|
38
|
-
email: String?,
|
|
39
|
-
phone: String?,
|
|
40
|
-
phone_country_code: String?,
|
|
41
|
-
role: String?
|
|
42
|
-
}
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
end
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type tcr_brand_relationship =
|
|
4
|
-
:BASIC_ACCOUNT
|
|
5
|
-
| :MEDIUM_ACCOUNT
|
|
6
|
-
| :LARGE_ACCOUNT
|
|
7
|
-
| :SMALL_ACCOUNT
|
|
8
|
-
| :KEY_ACCOUNT
|
|
9
|
-
|
|
10
|
-
module TcrBrandRelationship
|
|
11
|
-
extend Sentdm::Internal::Type::Enum
|
|
12
|
-
|
|
13
|
-
BASIC_ACCOUNT: :BASIC_ACCOUNT
|
|
14
|
-
MEDIUM_ACCOUNT: :MEDIUM_ACCOUNT
|
|
15
|
-
LARGE_ACCOUNT: :LARGE_ACCOUNT
|
|
16
|
-
SMALL_ACCOUNT: :SMALL_ACCOUNT
|
|
17
|
-
KEY_ACCOUNT: :KEY_ACCOUNT
|
|
18
|
-
|
|
19
|
-
def self?.values: -> ::Array[Sentdm::Models::tcr_brand_relationship]
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
end
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type tcr_vertical =
|
|
4
|
-
:PROFESSIONAL
|
|
5
|
-
| :REAL_ESTATE
|
|
6
|
-
| :HEALTHCARE
|
|
7
|
-
| :HUMAN_RESOURCES
|
|
8
|
-
| :ENERGY
|
|
9
|
-
| :ENTERTAINMENT
|
|
10
|
-
| :RETAIL
|
|
11
|
-
| :TRANSPORTATION
|
|
12
|
-
| :AGRICULTURE
|
|
13
|
-
| :INSURANCE
|
|
14
|
-
| :POSTAL
|
|
15
|
-
| :EDUCATION
|
|
16
|
-
| :HOSPITALITY
|
|
17
|
-
| :FINANCIAL
|
|
18
|
-
| :POLITICAL
|
|
19
|
-
| :GAMBLING
|
|
20
|
-
| :LEGAL
|
|
21
|
-
| :CONSTRUCTION
|
|
22
|
-
| :NGO
|
|
23
|
-
| :MANUFACTURING
|
|
24
|
-
| :GOVERNMENT
|
|
25
|
-
| :TECHNOLOGY
|
|
26
|
-
| :COMMUNICATION
|
|
27
|
-
|
|
28
|
-
module TcrVertical
|
|
29
|
-
extend Sentdm::Internal::Type::Enum
|
|
30
|
-
|
|
31
|
-
PROFESSIONAL: :PROFESSIONAL
|
|
32
|
-
REAL_ESTATE: :REAL_ESTATE
|
|
33
|
-
HEALTHCARE: :HEALTHCARE
|
|
34
|
-
HUMAN_RESOURCES: :HUMAN_RESOURCES
|
|
35
|
-
ENERGY: :ENERGY
|
|
36
|
-
ENTERTAINMENT: :ENTERTAINMENT
|
|
37
|
-
RETAIL: :RETAIL
|
|
38
|
-
TRANSPORTATION: :TRANSPORTATION
|
|
39
|
-
AGRICULTURE: :AGRICULTURE
|
|
40
|
-
INSURANCE: :INSURANCE
|
|
41
|
-
POSTAL: :POSTAL
|
|
42
|
-
EDUCATION: :EDUCATION
|
|
43
|
-
HOSPITALITY: :HOSPITALITY
|
|
44
|
-
FINANCIAL: :FINANCIAL
|
|
45
|
-
POLITICAL: :POLITICAL
|
|
46
|
-
GAMBLING: :GAMBLING
|
|
47
|
-
LEGAL: :LEGAL
|
|
48
|
-
CONSTRUCTION: :CONSTRUCTION
|
|
49
|
-
NGO: :NGO
|
|
50
|
-
MANUFACTURING: :MANUFACTURING
|
|
51
|
-
GOVERNMENT: :GOVERNMENT
|
|
52
|
-
TECHNOLOGY: :TECHNOLOGY
|
|
53
|
-
COMMUNICATION: :COMMUNICATION
|
|
54
|
-
|
|
55
|
-
def self?.values: -> ::Array[Sentdm::Models::tcr_vertical]
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
|
-
end
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type template =
|
|
4
|
-
{
|
|
5
|
-
id: String,
|
|
6
|
-
category: String,
|
|
7
|
-
channels: ::Array[String]?,
|
|
8
|
-
created_at: Time,
|
|
9
|
-
is_published: bool,
|
|
10
|
-
language: String,
|
|
11
|
-
name: String,
|
|
12
|
-
status: String,
|
|
13
|
-
updated_at: Time?,
|
|
14
|
-
variables: ::Array[String]?
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
class Template < Sentdm::Internal::Type::BaseModel
|
|
18
|
-
attr_reader id: String?
|
|
19
|
-
|
|
20
|
-
def id=: (String) -> String
|
|
21
|
-
|
|
22
|
-
attr_reader category: String?
|
|
23
|
-
|
|
24
|
-
def category=: (String) -> String
|
|
25
|
-
|
|
26
|
-
attr_accessor channels: ::Array[String]?
|
|
27
|
-
|
|
28
|
-
attr_reader created_at: Time?
|
|
29
|
-
|
|
30
|
-
def created_at=: (Time) -> Time
|
|
31
|
-
|
|
32
|
-
attr_reader is_published: bool?
|
|
33
|
-
|
|
34
|
-
def is_published=: (bool) -> bool
|
|
35
|
-
|
|
36
|
-
attr_reader language: String?
|
|
37
|
-
|
|
38
|
-
def language=: (String) -> String
|
|
39
|
-
|
|
40
|
-
attr_reader name: String?
|
|
41
|
-
|
|
42
|
-
def name=: (String) -> String
|
|
43
|
-
|
|
44
|
-
attr_reader status: String?
|
|
45
|
-
|
|
46
|
-
def status=: (String) -> String
|
|
47
|
-
|
|
48
|
-
attr_accessor updated_at: Time?
|
|
49
|
-
|
|
50
|
-
attr_accessor variables: ::Array[String]?
|
|
51
|
-
|
|
52
|
-
def initialize: (
|
|
53
|
-
?id: String,
|
|
54
|
-
?category: String,
|
|
55
|
-
?channels: ::Array[String]?,
|
|
56
|
-
?created_at: Time,
|
|
57
|
-
?is_published: bool,
|
|
58
|
-
?language: String,
|
|
59
|
-
?name: String,
|
|
60
|
-
?status: String,
|
|
61
|
-
?updated_at: Time?,
|
|
62
|
-
?variables: ::Array[String]?
|
|
63
|
-
) -> void
|
|
64
|
-
|
|
65
|
-
def to_hash: -> {
|
|
66
|
-
id: String,
|
|
67
|
-
category: String,
|
|
68
|
-
channels: ::Array[String]?,
|
|
69
|
-
created_at: Time,
|
|
70
|
-
is_published: bool,
|
|
71
|
-
language: String,
|
|
72
|
-
name: String,
|
|
73
|
-
status: String,
|
|
74
|
-
updated_at: Time?,
|
|
75
|
-
variables: ::Array[String]?
|
|
76
|
-
}
|
|
77
|
-
end
|
|
78
|
-
end
|
|
79
|
-
end
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type template_body_content =
|
|
4
|
-
{
|
|
5
|
-
template: String,
|
|
6
|
-
type: String?,
|
|
7
|
-
variables: ::Array[Sentdm::TemplateVariable]?
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
class TemplateBodyContent < Sentdm::Internal::Type::BaseModel
|
|
11
|
-
attr_accessor template: String
|
|
12
|
-
|
|
13
|
-
attr_accessor type: String?
|
|
14
|
-
|
|
15
|
-
attr_accessor variables: ::Array[Sentdm::TemplateVariable]?
|
|
16
|
-
|
|
17
|
-
def initialize: (
|
|
18
|
-
template: String,
|
|
19
|
-
?type: String?,
|
|
20
|
-
?variables: ::Array[Sentdm::TemplateVariable]?
|
|
21
|
-
) -> void
|
|
22
|
-
|
|
23
|
-
def to_hash: -> {
|
|
24
|
-
template: String,
|
|
25
|
-
type: String?,
|
|
26
|
-
variables: ::Array[Sentdm::TemplateVariable]?
|
|
27
|
-
}
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type template_definition =
|
|
4
|
-
{
|
|
5
|
-
body: Sentdm::SentDmServicesCommonContractsPocOsTemplateBody,
|
|
6
|
-
authentication_config: Sentdm::SentDmServicesCommonContractsPocOsAuthenticationConfig?,
|
|
7
|
-
buttons: ::Array[Sentdm::SentDmServicesCommonContractsPocOsTemplateButton]?,
|
|
8
|
-
definition_version: String?,
|
|
9
|
-
footer: Sentdm::SentDmServicesCommonContractsPocOsTemplateFooter?,
|
|
10
|
-
header: Sentdm::SentDmServicesCommonContractsPocOsTemplateHeader?
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
class TemplateDefinition < Sentdm::Internal::Type::BaseModel
|
|
14
|
-
attr_accessor body: Sentdm::SentDmServicesCommonContractsPocOsTemplateBody
|
|
15
|
-
|
|
16
|
-
attr_accessor authentication_config: Sentdm::SentDmServicesCommonContractsPocOsAuthenticationConfig?
|
|
17
|
-
|
|
18
|
-
attr_accessor buttons: ::Array[Sentdm::SentDmServicesCommonContractsPocOsTemplateButton]?
|
|
19
|
-
|
|
20
|
-
attr_accessor definition_version: String?
|
|
21
|
-
|
|
22
|
-
attr_accessor footer: Sentdm::SentDmServicesCommonContractsPocOsTemplateFooter?
|
|
23
|
-
|
|
24
|
-
attr_accessor header: Sentdm::SentDmServicesCommonContractsPocOsTemplateHeader?
|
|
25
|
-
|
|
26
|
-
def initialize: (
|
|
27
|
-
body: Sentdm::SentDmServicesCommonContractsPocOsTemplateBody,
|
|
28
|
-
?authentication_config: Sentdm::SentDmServicesCommonContractsPocOsAuthenticationConfig?,
|
|
29
|
-
?buttons: ::Array[Sentdm::SentDmServicesCommonContractsPocOsTemplateButton]?,
|
|
30
|
-
?definition_version: String?,
|
|
31
|
-
?footer: Sentdm::SentDmServicesCommonContractsPocOsTemplateFooter?,
|
|
32
|
-
?header: Sentdm::SentDmServicesCommonContractsPocOsTemplateHeader?
|
|
33
|
-
) -> void
|
|
34
|
-
|
|
35
|
-
def to_hash: -> {
|
|
36
|
-
body: Sentdm::SentDmServicesCommonContractsPocOsTemplateBody,
|
|
37
|
-
authentication_config: Sentdm::SentDmServicesCommonContractsPocOsAuthenticationConfig?,
|
|
38
|
-
buttons: ::Array[Sentdm::SentDmServicesCommonContractsPocOsTemplateButton]?,
|
|
39
|
-
definition_version: String?,
|
|
40
|
-
footer: Sentdm::SentDmServicesCommonContractsPocOsTemplateFooter?,
|
|
41
|
-
header: Sentdm::SentDmServicesCommonContractsPocOsTemplateHeader?
|
|
42
|
-
}
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
end
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type template_variable =
|
|
4
|
-
{
|
|
5
|
-
name: String,
|
|
6
|
-
props: Sentdm::TemplateVariable::Props,
|
|
7
|
-
type: String,
|
|
8
|
-
id: Integer
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class TemplateVariable < Sentdm::Internal::Type::BaseModel
|
|
12
|
-
attr_accessor name: String
|
|
13
|
-
|
|
14
|
-
attr_accessor props: Sentdm::TemplateVariable::Props
|
|
15
|
-
|
|
16
|
-
attr_accessor type: String
|
|
17
|
-
|
|
18
|
-
attr_reader id: Integer?
|
|
19
|
-
|
|
20
|
-
def id=: (Integer) -> Integer
|
|
21
|
-
|
|
22
|
-
def initialize: (
|
|
23
|
-
name: String,
|
|
24
|
-
props: Sentdm::TemplateVariable::Props,
|
|
25
|
-
type: String,
|
|
26
|
-
?id: Integer
|
|
27
|
-
) -> void
|
|
28
|
-
|
|
29
|
-
def to_hash: -> {
|
|
30
|
-
name: String,
|
|
31
|
-
props: Sentdm::TemplateVariable::Props,
|
|
32
|
-
type: String,
|
|
33
|
-
id: Integer
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
type props =
|
|
37
|
-
{
|
|
38
|
-
media_type: String,
|
|
39
|
-
sample: String,
|
|
40
|
-
url: String,
|
|
41
|
-
variable_type: String,
|
|
42
|
-
alt: String?,
|
|
43
|
-
regex: String?,
|
|
44
|
-
short_url: String?
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
class Props < Sentdm::Internal::Type::BaseModel
|
|
48
|
-
attr_accessor media_type: String
|
|
49
|
-
|
|
50
|
-
attr_accessor sample: String
|
|
51
|
-
|
|
52
|
-
attr_accessor url: String
|
|
53
|
-
|
|
54
|
-
attr_accessor variable_type: String
|
|
55
|
-
|
|
56
|
-
attr_accessor alt: String?
|
|
57
|
-
|
|
58
|
-
attr_accessor regex: String?
|
|
59
|
-
|
|
60
|
-
attr_accessor short_url: String?
|
|
61
|
-
|
|
62
|
-
def initialize: (
|
|
63
|
-
media_type: String,
|
|
64
|
-
sample: String,
|
|
65
|
-
url: String,
|
|
66
|
-
variable_type: String,
|
|
67
|
-
?alt: String?,
|
|
68
|
-
?regex: String?,
|
|
69
|
-
?short_url: String?
|
|
70
|
-
) -> void
|
|
71
|
-
|
|
72
|
-
def to_hash: -> {
|
|
73
|
-
media_type: String,
|
|
74
|
-
sample: String,
|
|
75
|
-
url: String,
|
|
76
|
-
variable_type: String,
|
|
77
|
-
alt: String?,
|
|
78
|
-
regex: String?,
|
|
79
|
-
short_url: String?
|
|
80
|
-
}
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
end
|
|
84
|
-
end
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type user_response =
|
|
4
|
-
{
|
|
5
|
-
id: String,
|
|
6
|
-
created_at: Time,
|
|
7
|
-
email: String,
|
|
8
|
-
invited_at: Time?,
|
|
9
|
-
last_login_at: Time?,
|
|
10
|
-
name: String,
|
|
11
|
-
role: String,
|
|
12
|
-
status: String,
|
|
13
|
-
updated_at: Time?
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
class UserResponse < Sentdm::Internal::Type::BaseModel
|
|
17
|
-
attr_reader id: String?
|
|
18
|
-
|
|
19
|
-
def id=: (String) -> String
|
|
20
|
-
|
|
21
|
-
attr_reader created_at: Time?
|
|
22
|
-
|
|
23
|
-
def created_at=: (Time) -> Time
|
|
24
|
-
|
|
25
|
-
attr_reader email: String?
|
|
26
|
-
|
|
27
|
-
def email=: (String) -> String
|
|
28
|
-
|
|
29
|
-
attr_accessor invited_at: Time?
|
|
30
|
-
|
|
31
|
-
attr_accessor last_login_at: Time?
|
|
32
|
-
|
|
33
|
-
attr_reader name: String?
|
|
34
|
-
|
|
35
|
-
def name=: (String) -> String
|
|
36
|
-
|
|
37
|
-
attr_reader role: String?
|
|
38
|
-
|
|
39
|
-
def role=: (String) -> String
|
|
40
|
-
|
|
41
|
-
attr_reader status: String?
|
|
42
|
-
|
|
43
|
-
def status=: (String) -> String
|
|
44
|
-
|
|
45
|
-
attr_accessor updated_at: Time?
|
|
46
|
-
|
|
47
|
-
def initialize: (
|
|
48
|
-
?id: String,
|
|
49
|
-
?created_at: Time,
|
|
50
|
-
?email: String,
|
|
51
|
-
?invited_at: Time?,
|
|
52
|
-
?last_login_at: Time?,
|
|
53
|
-
?name: String,
|
|
54
|
-
?role: String,
|
|
55
|
-
?status: String,
|
|
56
|
-
?updated_at: Time?
|
|
57
|
-
) -> void
|
|
58
|
-
|
|
59
|
-
def to_hash: -> {
|
|
60
|
-
id: String,
|
|
61
|
-
created_at: Time,
|
|
62
|
-
email: String,
|
|
63
|
-
invited_at: Time?,
|
|
64
|
-
last_login_at: Time?,
|
|
65
|
-
name: String,
|
|
66
|
-
role: String,
|
|
67
|
-
status: String,
|
|
68
|
-
updated_at: Time?
|
|
69
|
-
}
|
|
70
|
-
end
|
|
71
|
-
end
|
|
72
|
-
end
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type webhook_event_type =
|
|
4
|
-
{
|
|
5
|
-
description: String?,
|
|
6
|
-
display_name: String,
|
|
7
|
-
event_type: String?,
|
|
8
|
-
is_active: bool,
|
|
9
|
-
name: String,
|
|
10
|
-
sub_types: ::Array[Sentdm::WebhookEventType]?
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
class WebhookEventType < Sentdm::Internal::Type::BaseModel
|
|
14
|
-
attr_accessor description: String?
|
|
15
|
-
|
|
16
|
-
attr_reader display_name: String?
|
|
17
|
-
|
|
18
|
-
def display_name=: (String) -> String
|
|
19
|
-
|
|
20
|
-
attr_accessor event_type: String?
|
|
21
|
-
|
|
22
|
-
attr_reader is_active: bool?
|
|
23
|
-
|
|
24
|
-
def is_active=: (bool) -> bool
|
|
25
|
-
|
|
26
|
-
attr_reader name: String?
|
|
27
|
-
|
|
28
|
-
def name=: (String) -> String
|
|
29
|
-
|
|
30
|
-
attr_accessor sub_types: ::Array[Sentdm::WebhookEventType]?
|
|
31
|
-
|
|
32
|
-
def initialize: (
|
|
33
|
-
?description: String?,
|
|
34
|
-
?display_name: String,
|
|
35
|
-
?event_type: String?,
|
|
36
|
-
?is_active: bool,
|
|
37
|
-
?name: String,
|
|
38
|
-
?sub_types: ::Array[Sentdm::WebhookEventType]?
|
|
39
|
-
) -> void
|
|
40
|
-
|
|
41
|
-
def to_hash: -> {
|
|
42
|
-
description: String?,
|
|
43
|
-
display_name: String,
|
|
44
|
-
event_type: String?,
|
|
45
|
-
is_active: bool,
|
|
46
|
-
name: String,
|
|
47
|
-
sub_types: ::Array[Sentdm::WebhookEventType]?
|
|
48
|
-
}
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
end
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type webhook_response =
|
|
4
|
-
{
|
|
5
|
-
id: String,
|
|
6
|
-
consecutive_failures: Integer,
|
|
7
|
-
created_at: Time,
|
|
8
|
-
display_name: String,
|
|
9
|
-
endpoint_url: String,
|
|
10
|
-
event_filters: ::Hash[Symbol, ::Array[String]]?,
|
|
11
|
-
event_types: ::Array[String],
|
|
12
|
-
is_active: bool,
|
|
13
|
-
last_delivery_attempt_at: Time?,
|
|
14
|
-
last_successful_delivery_at: Time?,
|
|
15
|
-
retry_count: Integer,
|
|
16
|
-
signing_secret: String?,
|
|
17
|
-
timeout_seconds: Integer,
|
|
18
|
-
updated_at: Time?
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
class WebhookResponse < Sentdm::Internal::Type::BaseModel
|
|
22
|
-
attr_reader id: String?
|
|
23
|
-
|
|
24
|
-
def id=: (String) -> String
|
|
25
|
-
|
|
26
|
-
attr_reader consecutive_failures: Integer?
|
|
27
|
-
|
|
28
|
-
def consecutive_failures=: (Integer) -> Integer
|
|
29
|
-
|
|
30
|
-
attr_reader created_at: Time?
|
|
31
|
-
|
|
32
|
-
def created_at=: (Time) -> Time
|
|
33
|
-
|
|
34
|
-
attr_reader display_name: String?
|
|
35
|
-
|
|
36
|
-
def display_name=: (String) -> String
|
|
37
|
-
|
|
38
|
-
attr_reader endpoint_url: String?
|
|
39
|
-
|
|
40
|
-
def endpoint_url=: (String) -> String
|
|
41
|
-
|
|
42
|
-
attr_accessor event_filters: ::Hash[Symbol, ::Array[String]]?
|
|
43
|
-
|
|
44
|
-
attr_reader event_types: ::Array[String]?
|
|
45
|
-
|
|
46
|
-
def event_types=: (::Array[String]) -> ::Array[String]
|
|
47
|
-
|
|
48
|
-
attr_reader is_active: bool?
|
|
49
|
-
|
|
50
|
-
def is_active=: (bool) -> bool
|
|
51
|
-
|
|
52
|
-
attr_accessor last_delivery_attempt_at: Time?
|
|
53
|
-
|
|
54
|
-
attr_accessor last_successful_delivery_at: Time?
|
|
55
|
-
|
|
56
|
-
attr_reader retry_count: Integer?
|
|
57
|
-
|
|
58
|
-
def retry_count=: (Integer) -> Integer
|
|
59
|
-
|
|
60
|
-
attr_accessor signing_secret: String?
|
|
61
|
-
|
|
62
|
-
attr_reader timeout_seconds: Integer?
|
|
63
|
-
|
|
64
|
-
def timeout_seconds=: (Integer) -> Integer
|
|
65
|
-
|
|
66
|
-
attr_accessor updated_at: Time?
|
|
67
|
-
|
|
68
|
-
def initialize: (
|
|
69
|
-
?id: String,
|
|
70
|
-
?consecutive_failures: Integer,
|
|
71
|
-
?created_at: Time,
|
|
72
|
-
?display_name: String,
|
|
73
|
-
?endpoint_url: String,
|
|
74
|
-
?event_filters: ::Hash[Symbol, ::Array[String]]?,
|
|
75
|
-
?event_types: ::Array[String],
|
|
76
|
-
?is_active: bool,
|
|
77
|
-
?last_delivery_attempt_at: Time?,
|
|
78
|
-
?last_successful_delivery_at: Time?,
|
|
79
|
-
?retry_count: Integer,
|
|
80
|
-
?signing_secret: String?,
|
|
81
|
-
?timeout_seconds: Integer,
|
|
82
|
-
?updated_at: Time?
|
|
83
|
-
) -> void
|
|
84
|
-
|
|
85
|
-
def to_hash: -> {
|
|
86
|
-
id: String,
|
|
87
|
-
consecutive_failures: Integer,
|
|
88
|
-
created_at: Time,
|
|
89
|
-
display_name: String,
|
|
90
|
-
endpoint_url: String,
|
|
91
|
-
event_filters: ::Hash[Symbol, ::Array[String]]?,
|
|
92
|
-
event_types: ::Array[String],
|
|
93
|
-
is_active: bool,
|
|
94
|
-
last_delivery_attempt_at: Time?,
|
|
95
|
-
last_successful_delivery_at: Time?,
|
|
96
|
-
retry_count: Integer,
|
|
97
|
-
signing_secret: String?,
|
|
98
|
-
timeout_seconds: Integer,
|
|
99
|
-
updated_at: Time?
|
|
100
|
-
}
|
|
101
|
-
end
|
|
102
|
-
end
|
|
103
|
-
end
|