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
|
@@ -1,424 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
module Profiles
|
|
4
|
-
type campaign_update_response =
|
|
5
|
-
{
|
|
6
|
-
data: Sentdm::Models::Profiles::CampaignUpdateResponse::Data?,
|
|
7
|
-
error: Sentdm::Models::Profiles::CampaignUpdateResponse::Error?,
|
|
8
|
-
meta: Sentdm::Models::Profiles::CampaignUpdateResponse::Meta,
|
|
9
|
-
success: bool
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
class CampaignUpdateResponse < Sentdm::Internal::Type::BaseModel
|
|
13
|
-
attr_accessor data: Sentdm::Models::Profiles::CampaignUpdateResponse::Data?
|
|
14
|
-
|
|
15
|
-
attr_accessor error: Sentdm::Models::Profiles::CampaignUpdateResponse::Error?
|
|
16
|
-
|
|
17
|
-
attr_reader meta: Sentdm::Models::Profiles::CampaignUpdateResponse::Meta?
|
|
18
|
-
|
|
19
|
-
def meta=: (
|
|
20
|
-
Sentdm::Models::Profiles::CampaignUpdateResponse::Meta
|
|
21
|
-
) -> Sentdm::Models::Profiles::CampaignUpdateResponse::Meta
|
|
22
|
-
|
|
23
|
-
attr_reader success: bool?
|
|
24
|
-
|
|
25
|
-
def success=: (bool) -> bool
|
|
26
|
-
|
|
27
|
-
def initialize: (
|
|
28
|
-
?data: Sentdm::Models::Profiles::CampaignUpdateResponse::Data?,
|
|
29
|
-
?error: Sentdm::Models::Profiles::CampaignUpdateResponse::Error?,
|
|
30
|
-
?meta: Sentdm::Models::Profiles::CampaignUpdateResponse::Meta,
|
|
31
|
-
?success: bool
|
|
32
|
-
) -> void
|
|
33
|
-
|
|
34
|
-
def to_hash: -> {
|
|
35
|
-
data: Sentdm::Models::Profiles::CampaignUpdateResponse::Data?,
|
|
36
|
-
error: Sentdm::Models::Profiles::CampaignUpdateResponse::Error?,
|
|
37
|
-
meta: Sentdm::Models::Profiles::CampaignUpdateResponse::Meta,
|
|
38
|
-
success: bool
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
type data =
|
|
42
|
-
{
|
|
43
|
-
id: String,
|
|
44
|
-
billed_date: Time?,
|
|
45
|
-
brand_id: String?,
|
|
46
|
-
cost: Float?,
|
|
47
|
-
created_at: Time,
|
|
48
|
-
csp_id: String?,
|
|
49
|
-
customer_id: String,
|
|
50
|
-
dca_elections_complete: bool,
|
|
51
|
-
dca_elections_completed_at: Time?,
|
|
52
|
-
description: String,
|
|
53
|
-
help_keywords: String?,
|
|
54
|
-
help_message: String?,
|
|
55
|
-
kyc_submission_form_id: String?,
|
|
56
|
-
message_flow: String?,
|
|
57
|
-
name: String,
|
|
58
|
-
optin_keywords: String?,
|
|
59
|
-
optin_message: String?,
|
|
60
|
-
optout_keywords: String?,
|
|
61
|
-
optout_message: String?,
|
|
62
|
-
privacy_policy_link: String?,
|
|
63
|
-
reseller_id: String?,
|
|
64
|
-
sharing_status: Sentdm::Models::Profiles::CampaignUpdateResponse::Data::sharing_status?,
|
|
65
|
-
status: Sentdm::Models::Profiles::CampaignUpdateResponse::Data::status?,
|
|
66
|
-
submitted_at: Time?,
|
|
67
|
-
submitted_to_tcr: bool,
|
|
68
|
-
tcr_campaign_id: String?,
|
|
69
|
-
tcr_sync_error: String?,
|
|
70
|
-
telnyx_campaign_id: String?,
|
|
71
|
-
terms_and_conditions_link: String?,
|
|
72
|
-
type: String,
|
|
73
|
-
updated_at: Time?,
|
|
74
|
-
upstream_cnp_id: String?,
|
|
75
|
-
use_cases: ::Array[Sentdm::Models::Profiles::CampaignUpdateResponse::Data::UseCase]
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
class Data < Sentdm::Internal::Type::BaseModel
|
|
79
|
-
attr_reader id: String?
|
|
80
|
-
|
|
81
|
-
def id=: (String) -> String
|
|
82
|
-
|
|
83
|
-
attr_accessor billed_date: Time?
|
|
84
|
-
|
|
85
|
-
attr_accessor brand_id: String?
|
|
86
|
-
|
|
87
|
-
attr_accessor cost: Float?
|
|
88
|
-
|
|
89
|
-
attr_reader created_at: Time?
|
|
90
|
-
|
|
91
|
-
def created_at=: (Time) -> Time
|
|
92
|
-
|
|
93
|
-
attr_accessor csp_id: String?
|
|
94
|
-
|
|
95
|
-
attr_reader customer_id: String?
|
|
96
|
-
|
|
97
|
-
def customer_id=: (String) -> String
|
|
98
|
-
|
|
99
|
-
attr_reader dca_elections_complete: bool?
|
|
100
|
-
|
|
101
|
-
def dca_elections_complete=: (bool) -> bool
|
|
102
|
-
|
|
103
|
-
attr_accessor dca_elections_completed_at: Time?
|
|
104
|
-
|
|
105
|
-
attr_reader description: String?
|
|
106
|
-
|
|
107
|
-
def description=: (String) -> String
|
|
108
|
-
|
|
109
|
-
attr_accessor help_keywords: String?
|
|
110
|
-
|
|
111
|
-
attr_accessor help_message: String?
|
|
112
|
-
|
|
113
|
-
attr_accessor kyc_submission_form_id: String?
|
|
114
|
-
|
|
115
|
-
attr_accessor message_flow: String?
|
|
116
|
-
|
|
117
|
-
attr_reader name: String?
|
|
118
|
-
|
|
119
|
-
def name=: (String) -> String
|
|
120
|
-
|
|
121
|
-
attr_accessor optin_keywords: String?
|
|
122
|
-
|
|
123
|
-
attr_accessor optin_message: String?
|
|
124
|
-
|
|
125
|
-
attr_accessor optout_keywords: String?
|
|
126
|
-
|
|
127
|
-
attr_accessor optout_message: String?
|
|
128
|
-
|
|
129
|
-
attr_accessor privacy_policy_link: String?
|
|
130
|
-
|
|
131
|
-
attr_accessor reseller_id: String?
|
|
132
|
-
|
|
133
|
-
attr_accessor sharing_status: Sentdm::Models::Profiles::CampaignUpdateResponse::Data::sharing_status?
|
|
134
|
-
|
|
135
|
-
attr_accessor status: Sentdm::Models::Profiles::CampaignUpdateResponse::Data::status?
|
|
136
|
-
|
|
137
|
-
attr_accessor submitted_at: Time?
|
|
138
|
-
|
|
139
|
-
attr_reader submitted_to_tcr: bool?
|
|
140
|
-
|
|
141
|
-
def submitted_to_tcr=: (bool) -> bool
|
|
142
|
-
|
|
143
|
-
attr_accessor tcr_campaign_id: String?
|
|
144
|
-
|
|
145
|
-
attr_accessor tcr_sync_error: String?
|
|
146
|
-
|
|
147
|
-
attr_accessor telnyx_campaign_id: String?
|
|
148
|
-
|
|
149
|
-
attr_accessor terms_and_conditions_link: String?
|
|
150
|
-
|
|
151
|
-
attr_reader type: String?
|
|
152
|
-
|
|
153
|
-
def type=: (String) -> String
|
|
154
|
-
|
|
155
|
-
attr_accessor updated_at: Time?
|
|
156
|
-
|
|
157
|
-
attr_accessor upstream_cnp_id: String?
|
|
158
|
-
|
|
159
|
-
attr_reader use_cases: ::Array[Sentdm::Models::Profiles::CampaignUpdateResponse::Data::UseCase]?
|
|
160
|
-
|
|
161
|
-
def use_cases=: (
|
|
162
|
-
::Array[Sentdm::Models::Profiles::CampaignUpdateResponse::Data::UseCase]
|
|
163
|
-
) -> ::Array[Sentdm::Models::Profiles::CampaignUpdateResponse::Data::UseCase]
|
|
164
|
-
|
|
165
|
-
def initialize: (
|
|
166
|
-
?id: String,
|
|
167
|
-
?billed_date: Time?,
|
|
168
|
-
?brand_id: String?,
|
|
169
|
-
?cost: Float?,
|
|
170
|
-
?created_at: Time,
|
|
171
|
-
?csp_id: String?,
|
|
172
|
-
?customer_id: String,
|
|
173
|
-
?dca_elections_complete: bool,
|
|
174
|
-
?dca_elections_completed_at: Time?,
|
|
175
|
-
?description: String,
|
|
176
|
-
?help_keywords: String?,
|
|
177
|
-
?help_message: String?,
|
|
178
|
-
?kyc_submission_form_id: String?,
|
|
179
|
-
?message_flow: String?,
|
|
180
|
-
?name: String,
|
|
181
|
-
?optin_keywords: String?,
|
|
182
|
-
?optin_message: String?,
|
|
183
|
-
?optout_keywords: String?,
|
|
184
|
-
?optout_message: String?,
|
|
185
|
-
?privacy_policy_link: String?,
|
|
186
|
-
?reseller_id: String?,
|
|
187
|
-
?sharing_status: Sentdm::Models::Profiles::CampaignUpdateResponse::Data::sharing_status?,
|
|
188
|
-
?status: Sentdm::Models::Profiles::CampaignUpdateResponse::Data::status?,
|
|
189
|
-
?submitted_at: Time?,
|
|
190
|
-
?submitted_to_tcr: bool,
|
|
191
|
-
?tcr_campaign_id: String?,
|
|
192
|
-
?tcr_sync_error: String?,
|
|
193
|
-
?telnyx_campaign_id: String?,
|
|
194
|
-
?terms_and_conditions_link: String?,
|
|
195
|
-
?type: String,
|
|
196
|
-
?updated_at: Time?,
|
|
197
|
-
?upstream_cnp_id: String?,
|
|
198
|
-
?use_cases: ::Array[Sentdm::Models::Profiles::CampaignUpdateResponse::Data::UseCase]
|
|
199
|
-
) -> void
|
|
200
|
-
|
|
201
|
-
def to_hash: -> {
|
|
202
|
-
id: String,
|
|
203
|
-
billed_date: Time?,
|
|
204
|
-
brand_id: String?,
|
|
205
|
-
cost: Float?,
|
|
206
|
-
created_at: Time,
|
|
207
|
-
csp_id: String?,
|
|
208
|
-
customer_id: String,
|
|
209
|
-
dca_elections_complete: bool,
|
|
210
|
-
dca_elections_completed_at: Time?,
|
|
211
|
-
description: String,
|
|
212
|
-
help_keywords: String?,
|
|
213
|
-
help_message: String?,
|
|
214
|
-
kyc_submission_form_id: String?,
|
|
215
|
-
message_flow: String?,
|
|
216
|
-
name: String,
|
|
217
|
-
optin_keywords: String?,
|
|
218
|
-
optin_message: String?,
|
|
219
|
-
optout_keywords: String?,
|
|
220
|
-
optout_message: String?,
|
|
221
|
-
privacy_policy_link: String?,
|
|
222
|
-
reseller_id: String?,
|
|
223
|
-
sharing_status: Sentdm::Models::Profiles::CampaignUpdateResponse::Data::sharing_status?,
|
|
224
|
-
status: Sentdm::Models::Profiles::CampaignUpdateResponse::Data::status?,
|
|
225
|
-
submitted_at: Time?,
|
|
226
|
-
submitted_to_tcr: bool,
|
|
227
|
-
tcr_campaign_id: String?,
|
|
228
|
-
tcr_sync_error: String?,
|
|
229
|
-
telnyx_campaign_id: String?,
|
|
230
|
-
terms_and_conditions_link: String?,
|
|
231
|
-
type: String,
|
|
232
|
-
updated_at: Time?,
|
|
233
|
-
upstream_cnp_id: String?,
|
|
234
|
-
use_cases: ::Array[Sentdm::Models::Profiles::CampaignUpdateResponse::Data::UseCase]
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
type sharing_status = :PENDING | :ACCEPTED | :DECLINED
|
|
238
|
-
|
|
239
|
-
module SharingStatus
|
|
240
|
-
extend Sentdm::Internal::Type::Enum
|
|
241
|
-
|
|
242
|
-
PENDING: :PENDING
|
|
243
|
-
ACCEPTED: :ACCEPTED
|
|
244
|
-
DECLINED: :DECLINED
|
|
245
|
-
|
|
246
|
-
def self?.values: -> ::Array[Sentdm::Models::Profiles::CampaignUpdateResponse::Data::sharing_status]
|
|
247
|
-
end
|
|
248
|
-
|
|
249
|
-
type status = :SENT_CREATED | :ACTIVE | :EXPIRED
|
|
250
|
-
|
|
251
|
-
module Status
|
|
252
|
-
extend Sentdm::Internal::Type::Enum
|
|
253
|
-
|
|
254
|
-
SENT_CREATED: :SENT_CREATED
|
|
255
|
-
ACTIVE: :ACTIVE
|
|
256
|
-
EXPIRED: :EXPIRED
|
|
257
|
-
|
|
258
|
-
def self?.values: -> ::Array[Sentdm::Models::Profiles::CampaignUpdateResponse::Data::status]
|
|
259
|
-
end
|
|
260
|
-
|
|
261
|
-
type use_case =
|
|
262
|
-
{
|
|
263
|
-
id: String,
|
|
264
|
-
campaign_id: String,
|
|
265
|
-
created_at: Time,
|
|
266
|
-
customer_id: String,
|
|
267
|
-
messaging_use_case_us: Sentdm::Models::Profiles::CampaignUpdateResponse::Data::UseCase::messaging_use_case_us,
|
|
268
|
-
sample_messages: ::Array[String],
|
|
269
|
-
updated_at: Time?
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
class UseCase < Sentdm::Internal::Type::BaseModel
|
|
273
|
-
attr_reader id: String?
|
|
274
|
-
|
|
275
|
-
def id=: (String) -> String
|
|
276
|
-
|
|
277
|
-
attr_reader campaign_id: String?
|
|
278
|
-
|
|
279
|
-
def campaign_id=: (String) -> String
|
|
280
|
-
|
|
281
|
-
attr_reader created_at: Time?
|
|
282
|
-
|
|
283
|
-
def created_at=: (Time) -> Time
|
|
284
|
-
|
|
285
|
-
attr_reader customer_id: String?
|
|
286
|
-
|
|
287
|
-
def customer_id=: (String) -> String
|
|
288
|
-
|
|
289
|
-
attr_reader messaging_use_case_us: Sentdm::Models::Profiles::CampaignUpdateResponse::Data::UseCase::messaging_use_case_us?
|
|
290
|
-
|
|
291
|
-
def messaging_use_case_us=: (
|
|
292
|
-
Sentdm::Models::Profiles::CampaignUpdateResponse::Data::UseCase::messaging_use_case_us
|
|
293
|
-
) -> Sentdm::Models::Profiles::CampaignUpdateResponse::Data::UseCase::messaging_use_case_us
|
|
294
|
-
|
|
295
|
-
attr_reader sample_messages: ::Array[String]?
|
|
296
|
-
|
|
297
|
-
def sample_messages=: (::Array[String]) -> ::Array[String]
|
|
298
|
-
|
|
299
|
-
attr_accessor updated_at: Time?
|
|
300
|
-
|
|
301
|
-
def initialize: (
|
|
302
|
-
?id: String,
|
|
303
|
-
?campaign_id: String,
|
|
304
|
-
?created_at: Time,
|
|
305
|
-
?customer_id: String,
|
|
306
|
-
?messaging_use_case_us: Sentdm::Models::Profiles::CampaignUpdateResponse::Data::UseCase::messaging_use_case_us,
|
|
307
|
-
?sample_messages: ::Array[String],
|
|
308
|
-
?updated_at: Time?
|
|
309
|
-
) -> void
|
|
310
|
-
|
|
311
|
-
def to_hash: -> {
|
|
312
|
-
id: String,
|
|
313
|
-
campaign_id: String,
|
|
314
|
-
created_at: Time,
|
|
315
|
-
customer_id: String,
|
|
316
|
-
messaging_use_case_us: Sentdm::Models::Profiles::CampaignUpdateResponse::Data::UseCase::messaging_use_case_us,
|
|
317
|
-
sample_messages: ::Array[String],
|
|
318
|
-
updated_at: Time?
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
type messaging_use_case_us =
|
|
322
|
-
:MARKETING
|
|
323
|
-
| :ACCOUNT_NOTIFICATION
|
|
324
|
-
| :CUSTOMER_CARE
|
|
325
|
-
| :FRAUD_ALERT
|
|
326
|
-
| :TWO_FA
|
|
327
|
-
| :DELIVERY_NOTIFICATION
|
|
328
|
-
| :SECURITY_ALERT
|
|
329
|
-
| :M2M
|
|
330
|
-
| :MIXED
|
|
331
|
-
| :HIGHER_EDUCATION
|
|
332
|
-
| :POLLING_VOTING
|
|
333
|
-
| :PUBLIC_SERVICE_ANNOUNCEMENT
|
|
334
|
-
| :LOW_VOLUME
|
|
335
|
-
|
|
336
|
-
module MessagingUseCaseUs
|
|
337
|
-
extend Sentdm::Internal::Type::Enum
|
|
338
|
-
|
|
339
|
-
MARKETING: :MARKETING
|
|
340
|
-
ACCOUNT_NOTIFICATION: :ACCOUNT_NOTIFICATION
|
|
341
|
-
CUSTOMER_CARE: :CUSTOMER_CARE
|
|
342
|
-
FRAUD_ALERT: :FRAUD_ALERT
|
|
343
|
-
TWO_FA: :TWO_FA
|
|
344
|
-
DELIVERY_NOTIFICATION: :DELIVERY_NOTIFICATION
|
|
345
|
-
SECURITY_ALERT: :SECURITY_ALERT
|
|
346
|
-
M2_M: :M2M
|
|
347
|
-
MIXED: :MIXED
|
|
348
|
-
HIGHER_EDUCATION: :HIGHER_EDUCATION
|
|
349
|
-
POLLING_VOTING: :POLLING_VOTING
|
|
350
|
-
PUBLIC_SERVICE_ANNOUNCEMENT: :PUBLIC_SERVICE_ANNOUNCEMENT
|
|
351
|
-
LOW_VOLUME: :LOW_VOLUME
|
|
352
|
-
|
|
353
|
-
def self?.values: -> ::Array[Sentdm::Models::Profiles::CampaignUpdateResponse::Data::UseCase::messaging_use_case_us]
|
|
354
|
-
end
|
|
355
|
-
end
|
|
356
|
-
end
|
|
357
|
-
|
|
358
|
-
type error =
|
|
359
|
-
{
|
|
360
|
-
code: String,
|
|
361
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
362
|
-
doc_url: String?,
|
|
363
|
-
message: String
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
class Error < Sentdm::Internal::Type::BaseModel
|
|
367
|
-
attr_reader code: String?
|
|
368
|
-
|
|
369
|
-
def code=: (String) -> String
|
|
370
|
-
|
|
371
|
-
attr_accessor details: ::Hash[Symbol, ::Array[String]]?
|
|
372
|
-
|
|
373
|
-
attr_accessor doc_url: String?
|
|
374
|
-
|
|
375
|
-
attr_reader message: String?
|
|
376
|
-
|
|
377
|
-
def message=: (String) -> String
|
|
378
|
-
|
|
379
|
-
def initialize: (
|
|
380
|
-
?code: String,
|
|
381
|
-
?details: ::Hash[Symbol, ::Array[String]]?,
|
|
382
|
-
?doc_url: String?,
|
|
383
|
-
?message: String
|
|
384
|
-
) -> void
|
|
385
|
-
|
|
386
|
-
def to_hash: -> {
|
|
387
|
-
code: String,
|
|
388
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
389
|
-
doc_url: String?,
|
|
390
|
-
message: String
|
|
391
|
-
}
|
|
392
|
-
end
|
|
393
|
-
|
|
394
|
-
type meta = { request_id: String, timestamp: Time, version: String }
|
|
395
|
-
|
|
396
|
-
class Meta < Sentdm::Internal::Type::BaseModel
|
|
397
|
-
attr_reader request_id: String?
|
|
398
|
-
|
|
399
|
-
def request_id=: (String) -> String
|
|
400
|
-
|
|
401
|
-
attr_reader timestamp: Time?
|
|
402
|
-
|
|
403
|
-
def timestamp=: (Time) -> Time
|
|
404
|
-
|
|
405
|
-
attr_reader version: String?
|
|
406
|
-
|
|
407
|
-
def version=: (String) -> String
|
|
408
|
-
|
|
409
|
-
def initialize: (
|
|
410
|
-
?request_id: String,
|
|
411
|
-
?timestamp: Time,
|
|
412
|
-
?version: String
|
|
413
|
-
) -> void
|
|
414
|
-
|
|
415
|
-
def to_hash: -> {
|
|
416
|
-
request_id: String,
|
|
417
|
-
timestamp: Time,
|
|
418
|
-
version: String
|
|
419
|
-
}
|
|
420
|
-
end
|
|
421
|
-
end
|
|
422
|
-
end
|
|
423
|
-
end
|
|
424
|
-
end
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type template_create_response =
|
|
4
|
-
{
|
|
5
|
-
data: Sentdm::Models::TemplateCreateResponse::Data?,
|
|
6
|
-
error: Sentdm::Models::TemplateCreateResponse::Error?,
|
|
7
|
-
meta: Sentdm::Models::TemplateCreateResponse::Meta,
|
|
8
|
-
success: bool
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class TemplateCreateResponse < Sentdm::Internal::Type::BaseModel
|
|
12
|
-
attr_accessor data: Sentdm::Models::TemplateCreateResponse::Data?
|
|
13
|
-
|
|
14
|
-
attr_accessor error: Sentdm::Models::TemplateCreateResponse::Error?
|
|
15
|
-
|
|
16
|
-
attr_reader meta: Sentdm::Models::TemplateCreateResponse::Meta?
|
|
17
|
-
|
|
18
|
-
def meta=: (
|
|
19
|
-
Sentdm::Models::TemplateCreateResponse::Meta
|
|
20
|
-
) -> Sentdm::Models::TemplateCreateResponse::Meta
|
|
21
|
-
|
|
22
|
-
attr_reader success: bool?
|
|
23
|
-
|
|
24
|
-
def success=: (bool) -> bool
|
|
25
|
-
|
|
26
|
-
def initialize: (
|
|
27
|
-
?data: Sentdm::Models::TemplateCreateResponse::Data?,
|
|
28
|
-
?error: Sentdm::Models::TemplateCreateResponse::Error?,
|
|
29
|
-
?meta: Sentdm::Models::TemplateCreateResponse::Meta,
|
|
30
|
-
?success: bool
|
|
31
|
-
) -> void
|
|
32
|
-
|
|
33
|
-
def to_hash: -> {
|
|
34
|
-
data: Sentdm::Models::TemplateCreateResponse::Data?,
|
|
35
|
-
error: Sentdm::Models::TemplateCreateResponse::Error?,
|
|
36
|
-
meta: Sentdm::Models::TemplateCreateResponse::Meta,
|
|
37
|
-
success: bool
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
type data =
|
|
41
|
-
{
|
|
42
|
-
id: String,
|
|
43
|
-
category: String,
|
|
44
|
-
channels: ::Array[String]?,
|
|
45
|
-
created_at: Time,
|
|
46
|
-
is_published: bool,
|
|
47
|
-
language: String,
|
|
48
|
-
name: String,
|
|
49
|
-
status: String,
|
|
50
|
-
updated_at: Time?,
|
|
51
|
-
variables: ::Array[String]?
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
class Data < Sentdm::Internal::Type::BaseModel
|
|
55
|
-
attr_reader id: String?
|
|
56
|
-
|
|
57
|
-
def id=: (String) -> String
|
|
58
|
-
|
|
59
|
-
attr_reader category: String?
|
|
60
|
-
|
|
61
|
-
def category=: (String) -> String
|
|
62
|
-
|
|
63
|
-
attr_accessor channels: ::Array[String]?
|
|
64
|
-
|
|
65
|
-
attr_reader created_at: Time?
|
|
66
|
-
|
|
67
|
-
def created_at=: (Time) -> Time
|
|
68
|
-
|
|
69
|
-
attr_reader is_published: bool?
|
|
70
|
-
|
|
71
|
-
def is_published=: (bool) -> bool
|
|
72
|
-
|
|
73
|
-
attr_reader language: String?
|
|
74
|
-
|
|
75
|
-
def language=: (String) -> String
|
|
76
|
-
|
|
77
|
-
attr_reader name: String?
|
|
78
|
-
|
|
79
|
-
def name=: (String) -> String
|
|
80
|
-
|
|
81
|
-
attr_reader status: String?
|
|
82
|
-
|
|
83
|
-
def status=: (String) -> String
|
|
84
|
-
|
|
85
|
-
attr_accessor updated_at: Time?
|
|
86
|
-
|
|
87
|
-
attr_accessor variables: ::Array[String]?
|
|
88
|
-
|
|
89
|
-
def initialize: (
|
|
90
|
-
?id: String,
|
|
91
|
-
?category: String,
|
|
92
|
-
?channels: ::Array[String]?,
|
|
93
|
-
?created_at: Time,
|
|
94
|
-
?is_published: bool,
|
|
95
|
-
?language: String,
|
|
96
|
-
?name: String,
|
|
97
|
-
?status: String,
|
|
98
|
-
?updated_at: Time?,
|
|
99
|
-
?variables: ::Array[String]?
|
|
100
|
-
) -> void
|
|
101
|
-
|
|
102
|
-
def to_hash: -> {
|
|
103
|
-
id: String,
|
|
104
|
-
category: String,
|
|
105
|
-
channels: ::Array[String]?,
|
|
106
|
-
created_at: Time,
|
|
107
|
-
is_published: bool,
|
|
108
|
-
language: String,
|
|
109
|
-
name: String,
|
|
110
|
-
status: String,
|
|
111
|
-
updated_at: Time?,
|
|
112
|
-
variables: ::Array[String]?
|
|
113
|
-
}
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
type error =
|
|
117
|
-
{
|
|
118
|
-
code: String,
|
|
119
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
120
|
-
doc_url: String?,
|
|
121
|
-
message: String
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
class Error < Sentdm::Internal::Type::BaseModel
|
|
125
|
-
attr_reader code: String?
|
|
126
|
-
|
|
127
|
-
def code=: (String) -> String
|
|
128
|
-
|
|
129
|
-
attr_accessor details: ::Hash[Symbol, ::Array[String]]?
|
|
130
|
-
|
|
131
|
-
attr_accessor doc_url: String?
|
|
132
|
-
|
|
133
|
-
attr_reader message: String?
|
|
134
|
-
|
|
135
|
-
def message=: (String) -> String
|
|
136
|
-
|
|
137
|
-
def initialize: (
|
|
138
|
-
?code: String,
|
|
139
|
-
?details: ::Hash[Symbol, ::Array[String]]?,
|
|
140
|
-
?doc_url: String?,
|
|
141
|
-
?message: String
|
|
142
|
-
) -> void
|
|
143
|
-
|
|
144
|
-
def to_hash: -> {
|
|
145
|
-
code: String,
|
|
146
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
147
|
-
doc_url: String?,
|
|
148
|
-
message: String
|
|
149
|
-
}
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
type meta = { request_id: String, timestamp: Time, version: String }
|
|
153
|
-
|
|
154
|
-
class Meta < Sentdm::Internal::Type::BaseModel
|
|
155
|
-
attr_reader request_id: String?
|
|
156
|
-
|
|
157
|
-
def request_id=: (String) -> String
|
|
158
|
-
|
|
159
|
-
attr_reader timestamp: Time?
|
|
160
|
-
|
|
161
|
-
def timestamp=: (Time) -> Time
|
|
162
|
-
|
|
163
|
-
attr_reader version: String?
|
|
164
|
-
|
|
165
|
-
def version=: (String) -> String
|
|
166
|
-
|
|
167
|
-
def initialize: (
|
|
168
|
-
?request_id: String,
|
|
169
|
-
?timestamp: Time,
|
|
170
|
-
?version: String
|
|
171
|
-
) -> void
|
|
172
|
-
|
|
173
|
-
def to_hash: -> { request_id: String, timestamp: Time, version: String }
|
|
174
|
-
end
|
|
175
|
-
end
|
|
176
|
-
end
|
|
177
|
-
end
|