sentdm 0.28.0 → 0.30.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 +19 -0
- data/README.md +27 -1
- data/lib/sentdm/internal/type/base_model.rb +5 -5
- 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_contact_message_summary.rb +43 -0
- data/lib/sentdm/models/api_response_of_conversation_messages_list.rb +43 -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/brand_business_info.rb +114 -0
- data/lib/sentdm/models/brand_compliance_info.rb +59 -0
- data/lib/sentdm/models/brand_contact_info.rb +58 -0
- data/lib/sentdm/models/brands_brand_data.rb +34 -0
- data/lib/sentdm/models/contact_delete_params.rb +2 -16
- data/lib/sentdm/models/contact_list_response.rb +12 -295
- data/lib/sentdm/models/contact_message_summary.rb +76 -0
- data/lib/sentdm/models/contact_response.rb +139 -0
- data/lib/sentdm/models/conversation_messages_list.rb +245 -0
- data/lib/sentdm/models/error_detail.rb +42 -0
- data/lib/sentdm/models/inbound_message_event_payload.rb +17 -17
- data/lib/sentdm/models/me_retrieve_response.rb +43 -243
- data/lib/sentdm/models/message_event_payload.rb +11 -11
- data/lib/sentdm/models/message_retrieve_activities_response.rb +9 -159
- 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 +84 -0
- data/lib/sentdm/models/payment_details.rb +40 -0
- data/lib/sentdm/models/profile_complete_response.rb +6 -74
- data/lib/sentdm/models/profile_create_params.rb +9 -345
- data/lib/sentdm/models/profile_delete_params.rb +2 -16
- data/lib/sentdm/models/profile_detail.rb +650 -0
- data/lib/sentdm/models/profile_list_response.rb +12 -815
- data/lib/sentdm/models/profile_settings.rb +85 -0
- data/lib/sentdm/models/profile_update_params.rb +9 -345
- data/lib/sentdm/models/profiles/api_response_of_brand_campaign.rb +45 -0
- data/lib/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rb +45 -0
- data/lib/sentdm/models/profiles/brand_campaign.rb +247 -0
- data/lib/sentdm/models/profiles/campaign_create_params.rb +3 -156
- data/lib/sentdm/models/profiles/campaign_data.rb +136 -0
- data/lib/sentdm/models/profiles/campaign_delete_params.rb +2 -17
- data/lib/sentdm/models/profiles/campaign_update_params.rb +3 -156
- data/lib/sentdm/models/profiles/campaign_use_case.rb +71 -0
- data/lib/sentdm/models/profiles/campaign_use_case_data.rb +29 -0
- data/lib/sentdm/models/template.rb +102 -0
- data/lib/sentdm/models/template_event_payload.rb +18 -18
- data/lib/sentdm/models/template_list_response.rb +12 -258
- data/lib/sentdm/models/user_list_response.rb +12 -249
- data/lib/sentdm/models/user_remove_params.rb +2 -16
- data/lib/sentdm/models/user_response.rb +94 -0
- data/lib/sentdm/models/webhook_event_type.rb +45 -0
- data/lib/sentdm/models/webhook_list_event_types_response.rb +12 -203
- data/lib/sentdm/models/webhook_list_events_response.rb +9 -157
- data/lib/sentdm/models/webhook_list_response.rb +12 -276
- data/lib/sentdm/models/webhook_response.rb +120 -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 +52 -0
- data/lib/sentdm/resources/contacts.rb +8 -8
- data/lib/sentdm/resources/conversations.rb +4 -4
- data/lib/sentdm/resources/me.rb +11 -0
- data/lib/sentdm/resources/profiles/campaigns.rb +8 -8
- data/lib/sentdm/resources/profiles.rb +12 -12
- data/lib/sentdm/resources/templates.rb +6 -6
- 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 +32 -22
- 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_contact_message_summary.rbi +79 -0
- data/rbi/sentdm/models/api_response_of_conversation_messages_list.rbi +79 -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/brand_business_info.rbi +162 -0
- data/rbi/sentdm/models/brand_compliance_info.rbi +76 -0
- data/rbi/sentdm/models/brand_contact_info.rbi +78 -0
- data/rbi/sentdm/models/brands_brand_data.rbi +65 -0
- data/rbi/sentdm/models/contact_delete_params.rbi +2 -19
- data/rbi/sentdm/models/contact_list_response.rbi +16 -522
- data/rbi/sentdm/models/contact_message_summary.rbi +144 -0
- data/rbi/sentdm/models/contact_response.rbi +200 -0
- data/rbi/sentdm/models/conversation_messages_list.rbi +419 -0
- data/rbi/sentdm/models/error_detail.rbi +66 -0
- data/rbi/sentdm/models/inbound_message_event_payload.rbi +16 -22
- data/rbi/sentdm/models/me_retrieve_response.rbi +60 -367
- data/rbi/sentdm/models/message_event_payload.rbi +12 -15
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +12 -325
- 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 +56 -0
- data/rbi/sentdm/models/profile_complete_response.rbi +8 -137
- data/rbi/sentdm/models/profile_create_params.rbi +12 -546
- data/rbi/sentdm/models/profile_delete_params.rbi +2 -19
- data/rbi/sentdm/models/profile_detail.rbi +918 -0
- data/rbi/sentdm/models/profile_list_response.rbi +16 -1347
- data/rbi/sentdm/models/profile_settings.rbi +102 -0
- data/rbi/sentdm/models/profile_update_params.rbi +12 -546
- data/rbi/sentdm/models/profiles/api_response_of_brand_campaign.rbi +81 -0
- data/rbi/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rbi +76 -0
- data/rbi/sentdm/models/profiles/brand_campaign.rbi +299 -0
- data/rbi/sentdm/models/profiles/campaign_create_params.rbi +4 -218
- data/rbi/sentdm/models/profiles/campaign_data.rbi +158 -0
- data/rbi/sentdm/models/profiles/campaign_delete_params.rbi +1 -14
- data/rbi/sentdm/models/profiles/campaign_update_params.rbi +4 -218
- data/rbi/sentdm/models/profiles/campaign_use_case.rbi +110 -0
- data/rbi/sentdm/models/profiles/campaign_use_case_data.rbi +51 -0
- data/rbi/sentdm/models/template.rbi +139 -0
- data/rbi/sentdm/models/template_event_payload.rbi +21 -27
- data/rbi/sentdm/models/template_list_response.rbi +16 -464
- data/rbi/sentdm/models/user_list_response.rbi +16 -444
- data/rbi/sentdm/models/user_remove_params.rbi +2 -19
- data/rbi/sentdm/models/user_response.rbi +131 -0
- data/rbi/sentdm/models/webhook_event_type.rbi +74 -0
- data/rbi/sentdm/models/webhook_list_event_types_response.rbi +16 -414
- data/rbi/sentdm/models/webhook_list_events_response.rbi +12 -314
- data/rbi/sentdm/models/webhook_list_response.rbi +16 -475
- data/rbi/sentdm/models/webhook_response.rbi +153 -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 +54 -0
- data/rbi/sentdm/resources/contacts.rbi +4 -4
- data/rbi/sentdm/resources/conversations.rbi +2 -2
- data/rbi/sentdm/resources/me.rbi +11 -0
- data/rbi/sentdm/resources/profiles/campaigns.rbi +5 -5
- data/rbi/sentdm/resources/profiles.rbi +9 -13
- data/rbi/sentdm/resources/templates.rbi +3 -3
- 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_contact_message_summary.rbs +39 -0
- data/sig/sentdm/models/api_response_of_conversation_messages_list.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/brand_business_info.rbs +89 -0
- data/sig/sentdm/models/brand_compliance_info.rbs +45 -0
- data/sig/sentdm/models/brand_contact_info.rbs +45 -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 -263
- data/sig/sentdm/models/contact_message_summary.rbs +84 -0
- data/sig/sentdm/models/contact_response.rbs +118 -0
- data/sig/sentdm/models/conversation_messages_list.rbs +240 -0
- data/sig/sentdm/models/error_detail.rbs +39 -0
- data/sig/sentdm/models/inbound_message_event_payload.rbs +10 -14
- data/sig/sentdm/models/me_retrieve_response.rbs +28 -176
- data/sig/sentdm/models/message_event_payload.rbs +5 -7
- data/sig/sentdm/models/message_retrieve_activities_response.rbs +14 -142
- 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 -263
- data/sig/sentdm/models/profile_delete_params.rbs +6 -10
- data/sig/sentdm/models/profile_detail.rbs +461 -0
- data/sig/sentdm/models/profile_list_response.rbs +20 -606
- data/sig/sentdm/models/profile_settings.rbs +50 -0
- data/sig/sentdm/models/profile_update_params.rbs +12 -263
- data/sig/sentdm/models/profiles/api_response_of_brand_campaign.rbs +41 -0
- data/sig/sentdm/models/profiles/api_response_of_list_of_brand_campaign.rbs +41 -0
- data/sig/sentdm/models/profiles/brand_campaign.rbs +194 -0
- data/sig/sentdm/models/profiles/campaign_create_params.rbs +4 -108
- data/sig/sentdm/models/profiles/campaign_data.rbs +87 -0
- data/sig/sentdm/models/profiles/campaign_delete_params.rbs +8 -15
- data/sig/sentdm/models/profiles/campaign_update_params.rbs +4 -108
- data/sig/sentdm/models/profiles/campaign_use_case.rbs +66 -0
- data/sig/sentdm/models/profiles/campaign_use_case_data.rbs +27 -0
- data/sig/sentdm/models/template.rbs +84 -0
- data/sig/sentdm/models/template_event_payload.rbs +13 -17
- data/sig/sentdm/models/template_list_response.rbs +19 -230
- data/sig/sentdm/models/user_list_response.rbs +20 -224
- data/sig/sentdm/models/user_remove_params.rbs +6 -10
- data/sig/sentdm/models/user_response.rbs +79 -0
- data/sig/sentdm/models/webhook_event_type.rbs +51 -0
- data/sig/sentdm/models/webhook_list_event_types_response.rbs +20 -196
- data/sig/sentdm/models/webhook_list_events_response.rbs +14 -142
- data/sig/sentdm/models/webhook_list_response.rbs +20 -255
- data/sig/sentdm/models/webhook_response.rbs +110 -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 +52 -0
- data/sig/sentdm/resources/contacts.rbs +4 -4
- data/sig/sentdm/resources/conversations.rbs +2 -2
- data/sig/sentdm/resources/profiles/campaigns.rbs +5 -5
- data/sig/sentdm/resources/profiles.rbs +9 -9
- data/sig/sentdm/resources/templates.rbs +3 -3
- data/sig/sentdm/resources/users.rbs +3 -3
- data/sig/sentdm/resources/webhooks.rbs +4 -4
- metadata +98 -68
- data/lib/sentdm/models/contact_create_response.rb +0 -249
- data/lib/sentdm/models/contact_retrieve_message_summary_response.rb +0 -186
- data/lib/sentdm/models/contact_retrieve_response.rb +0 -249
- data/lib/sentdm/models/contact_update_response.rb +0 -249
- data/lib/sentdm/models/conversation_list_messages_response.rb +0 -436
- data/lib/sentdm/models/conversation_list_response.rb +0 -433
- data/lib/sentdm/models/profile_create_response.rb +0 -760
- data/lib/sentdm/models/profile_retrieve_response.rb +0 -762
- data/lib/sentdm/models/profile_update_response.rb +0 -760
- data/lib/sentdm/models/profiles/campaign_create_response.rb +0 -420
- data/lib/sentdm/models/profiles/campaign_list_response.rb +0 -421
- data/lib/sentdm/models/profiles/campaign_update_response.rb +0 -420
- data/lib/sentdm/models/template_create_response.rb +0 -209
- data/lib/sentdm/models/template_retrieve_response.rb +0 -209
- data/lib/sentdm/models/template_update_response.rb +0 -209
- data/lib/sentdm/models/user_invite_response.rb +0 -201
- data/lib/sentdm/models/user_retrieve_response.rb +0 -201
- data/lib/sentdm/models/user_update_role_response.rb +0 -201
- data/lib/sentdm/models/webhook_create_response.rb +0 -229
- data/lib/sentdm/models/webhook_retrieve_response.rb +0 -229
- data/lib/sentdm/models/webhook_toggle_status_response.rb +0 -229
- data/lib/sentdm/models/webhook_update_response.rb +0 -229
- data/rbi/sentdm/models/contact_create_response.rbi +0 -407
- data/rbi/sentdm/models/contact_retrieve_message_summary_response.rbi +0 -397
- data/rbi/sentdm/models/contact_retrieve_response.rbi +0 -409
- data/rbi/sentdm/models/contact_update_response.rbi +0 -407
- data/rbi/sentdm/models/conversation_list_messages_response.rbi +0 -843
- data/rbi/sentdm/models/conversation_list_response.rbi +0 -819
- data/rbi/sentdm/models/profile_create_response.rbi +0 -1226
- data/rbi/sentdm/models/profile_retrieve_response.rbi +0 -1230
- data/rbi/sentdm/models/profile_update_response.rbi +0 -1226
- data/rbi/sentdm/models/profiles/campaign_create_response.rbi +0 -674
- data/rbi/sentdm/models/profiles/campaign_list_response.rbi +0 -667
- data/rbi/sentdm/models/profiles/campaign_update_response.rbi +0 -674
- data/rbi/sentdm/models/template_create_response.rbi +0 -349
- data/rbi/sentdm/models/template_retrieve_response.rbi +0 -355
- data/rbi/sentdm/models/template_update_response.rbi +0 -349
- data/rbi/sentdm/models/user_invite_response.rbi +0 -336
- data/rbi/sentdm/models/user_retrieve_response.rbi +0 -336
- data/rbi/sentdm/models/user_update_role_response.rbi +0 -341
- data/rbi/sentdm/models/webhook_create_response.rbi +0 -361
- data/rbi/sentdm/models/webhook_retrieve_response.rbi +0 -363
- data/rbi/sentdm/models/webhook_toggle_status_response.rbi +0 -379
- data/rbi/sentdm/models/webhook_update_response.rbi +0 -361
- data/sig/sentdm/models/contact_create_response.rbs +0 -216
- data/sig/sentdm/models/contact_retrieve_message_summary_response.rbs +0 -182
- data/sig/sentdm/models/contact_retrieve_response.rbs +0 -216
- data/sig/sentdm/models/contact_update_response.rbs +0 -216
- data/sig/sentdm/models/conversation_list_messages_response.rbs +0 -404
- data/sig/sentdm/models/conversation_list_response.rbs +0 -404
- data/sig/sentdm/models/profile_create_response.rbs +0 -559
- data/sig/sentdm/models/profile_retrieve_response.rbs +0 -559
- data/sig/sentdm/models/profile_update_response.rbs +0 -559
- data/sig/sentdm/models/profiles/campaign_create_response.rbs +0 -357
- data/sig/sentdm/models/profiles/campaign_list_response.rbs +0 -357
- data/sig/sentdm/models/profiles/campaign_update_response.rbs +0 -357
- data/sig/sentdm/models/template_create_response.rbs +0 -182
- data/sig/sentdm/models/template_retrieve_response.rbs +0 -182
- data/sig/sentdm/models/template_update_response.rbs +0 -182
- data/sig/sentdm/models/user_invite_response.rbs +0 -177
- data/sig/sentdm/models/user_retrieve_response.rbs +0 -177
- data/sig/sentdm/models/user_update_role_response.rbs +0 -177
- data/sig/sentdm/models/webhook_create_response.rbs +0 -208
- data/sig/sentdm/models/webhook_retrieve_response.rbs +0 -208
- data/sig/sentdm/models/webhook_toggle_status_response.rbs +0 -208
- data/sig/sentdm/models/webhook_update_response.rbs +0 -208
|
@@ -1,357 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
module Profiles
|
|
4
|
-
type campaign_create_response =
|
|
5
|
-
{
|
|
6
|
-
data: Sentdm::Models::Profiles::CampaignCreateResponse::Data?,
|
|
7
|
-
error: Sentdm::Models::Profiles::CampaignCreateResponse::Error?,
|
|
8
|
-
meta: Sentdm::Models::Profiles::CampaignCreateResponse::Meta,
|
|
9
|
-
success: bool
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
class CampaignCreateResponse < Sentdm::Internal::Type::BaseModel
|
|
13
|
-
attr_accessor data: Sentdm::Models::Profiles::CampaignCreateResponse::Data?
|
|
14
|
-
|
|
15
|
-
attr_accessor error: Sentdm::Models::Profiles::CampaignCreateResponse::Error?
|
|
16
|
-
|
|
17
|
-
attr_reader meta: Sentdm::Models::Profiles::CampaignCreateResponse::Meta?
|
|
18
|
-
|
|
19
|
-
def meta=: (
|
|
20
|
-
Sentdm::Models::Profiles::CampaignCreateResponse::Meta
|
|
21
|
-
) -> Sentdm::Models::Profiles::CampaignCreateResponse::Meta
|
|
22
|
-
|
|
23
|
-
attr_reader success: bool?
|
|
24
|
-
|
|
25
|
-
def success=: (bool) -> bool
|
|
26
|
-
|
|
27
|
-
def initialize: (
|
|
28
|
-
?data: Sentdm::Models::Profiles::CampaignCreateResponse::Data?,
|
|
29
|
-
?error: Sentdm::Models::Profiles::CampaignCreateResponse::Error?,
|
|
30
|
-
?meta: Sentdm::Models::Profiles::CampaignCreateResponse::Meta,
|
|
31
|
-
?success: bool
|
|
32
|
-
) -> void
|
|
33
|
-
|
|
34
|
-
def to_hash: -> {
|
|
35
|
-
data: Sentdm::Models::Profiles::CampaignCreateResponse::Data?,
|
|
36
|
-
error: Sentdm::Models::Profiles::CampaignCreateResponse::Error?,
|
|
37
|
-
meta: Sentdm::Models::Profiles::CampaignCreateResponse::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
|
-
customer_id: String,
|
|
49
|
-
dca_elections_complete: bool?,
|
|
50
|
-
dca_elections_completed_at: Time?,
|
|
51
|
-
description: String,
|
|
52
|
-
has_submission_transaction: bool,
|
|
53
|
-
help_keywords: String?,
|
|
54
|
-
help_message: String?,
|
|
55
|
-
message_flow: String?,
|
|
56
|
-
name: String,
|
|
57
|
-
optin_keywords: String?,
|
|
58
|
-
optin_message: String?,
|
|
59
|
-
optout_keywords: String?,
|
|
60
|
-
optout_message: String?,
|
|
61
|
-
privacy_policy_link: String?,
|
|
62
|
-
status: Sentdm::Models::Profiles::CampaignCreateResponse::Data::status?,
|
|
63
|
-
submitted_at: Time?,
|
|
64
|
-
submitted_to_tcr: bool,
|
|
65
|
-
tcr_campaign_id: String?,
|
|
66
|
-
tcr_sync_error: String?,
|
|
67
|
-
terms_and_conditions_link: String?,
|
|
68
|
-
type: String,
|
|
69
|
-
updated_at: Time?,
|
|
70
|
-
use_cases: ::Array[Sentdm::Models::Profiles::CampaignCreateResponse::Data::UseCase],
|
|
71
|
-
volume: String?
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
class Data < Sentdm::Internal::Type::BaseModel
|
|
75
|
-
attr_reader id: String?
|
|
76
|
-
|
|
77
|
-
def id=: (String) -> String
|
|
78
|
-
|
|
79
|
-
attr_accessor billed_date: Time?
|
|
80
|
-
|
|
81
|
-
attr_accessor brand_id: String?
|
|
82
|
-
|
|
83
|
-
attr_accessor cost: Float?
|
|
84
|
-
|
|
85
|
-
attr_reader created_at: Time?
|
|
86
|
-
|
|
87
|
-
def created_at=: (Time) -> Time
|
|
88
|
-
|
|
89
|
-
attr_reader customer_id: String?
|
|
90
|
-
|
|
91
|
-
def customer_id=: (String) -> String
|
|
92
|
-
|
|
93
|
-
attr_accessor dca_elections_complete: bool?
|
|
94
|
-
|
|
95
|
-
attr_accessor dca_elections_completed_at: Time?
|
|
96
|
-
|
|
97
|
-
attr_reader description: String?
|
|
98
|
-
|
|
99
|
-
def description=: (String) -> String
|
|
100
|
-
|
|
101
|
-
attr_reader has_submission_transaction: bool?
|
|
102
|
-
|
|
103
|
-
def has_submission_transaction=: (bool) -> bool
|
|
104
|
-
|
|
105
|
-
attr_accessor help_keywords: String?
|
|
106
|
-
|
|
107
|
-
attr_accessor help_message: String?
|
|
108
|
-
|
|
109
|
-
attr_accessor message_flow: String?
|
|
110
|
-
|
|
111
|
-
attr_reader name: String?
|
|
112
|
-
|
|
113
|
-
def name=: (String) -> String
|
|
114
|
-
|
|
115
|
-
attr_accessor optin_keywords: String?
|
|
116
|
-
|
|
117
|
-
attr_accessor optin_message: String?
|
|
118
|
-
|
|
119
|
-
attr_accessor optout_keywords: String?
|
|
120
|
-
|
|
121
|
-
attr_accessor optout_message: String?
|
|
122
|
-
|
|
123
|
-
attr_accessor privacy_policy_link: String?
|
|
124
|
-
|
|
125
|
-
attr_accessor status: Sentdm::Models::Profiles::CampaignCreateResponse::Data::status?
|
|
126
|
-
|
|
127
|
-
attr_accessor submitted_at: Time?
|
|
128
|
-
|
|
129
|
-
attr_reader submitted_to_tcr: bool?
|
|
130
|
-
|
|
131
|
-
def submitted_to_tcr=: (bool) -> bool
|
|
132
|
-
|
|
133
|
-
attr_accessor tcr_campaign_id: String?
|
|
134
|
-
|
|
135
|
-
attr_accessor tcr_sync_error: String?
|
|
136
|
-
|
|
137
|
-
attr_accessor terms_and_conditions_link: String?
|
|
138
|
-
|
|
139
|
-
attr_reader type: String?
|
|
140
|
-
|
|
141
|
-
def type=: (String) -> String
|
|
142
|
-
|
|
143
|
-
attr_accessor updated_at: Time?
|
|
144
|
-
|
|
145
|
-
attr_reader use_cases: ::Array[Sentdm::Models::Profiles::CampaignCreateResponse::Data::UseCase]?
|
|
146
|
-
|
|
147
|
-
def use_cases=: (
|
|
148
|
-
::Array[Sentdm::Models::Profiles::CampaignCreateResponse::Data::UseCase]
|
|
149
|
-
) -> ::Array[Sentdm::Models::Profiles::CampaignCreateResponse::Data::UseCase]
|
|
150
|
-
|
|
151
|
-
attr_accessor volume: String?
|
|
152
|
-
|
|
153
|
-
def initialize: (
|
|
154
|
-
?id: String,
|
|
155
|
-
?billed_date: Time?,
|
|
156
|
-
?brand_id: String?,
|
|
157
|
-
?cost: Float?,
|
|
158
|
-
?created_at: Time,
|
|
159
|
-
?customer_id: String,
|
|
160
|
-
?dca_elections_complete: bool?,
|
|
161
|
-
?dca_elections_completed_at: Time?,
|
|
162
|
-
?description: String,
|
|
163
|
-
?has_submission_transaction: bool,
|
|
164
|
-
?help_keywords: String?,
|
|
165
|
-
?help_message: String?,
|
|
166
|
-
?message_flow: String?,
|
|
167
|
-
?name: String,
|
|
168
|
-
?optin_keywords: String?,
|
|
169
|
-
?optin_message: String?,
|
|
170
|
-
?optout_keywords: String?,
|
|
171
|
-
?optout_message: String?,
|
|
172
|
-
?privacy_policy_link: String?,
|
|
173
|
-
?status: Sentdm::Models::Profiles::CampaignCreateResponse::Data::status?,
|
|
174
|
-
?submitted_at: Time?,
|
|
175
|
-
?submitted_to_tcr: bool,
|
|
176
|
-
?tcr_campaign_id: String?,
|
|
177
|
-
?tcr_sync_error: String?,
|
|
178
|
-
?terms_and_conditions_link: String?,
|
|
179
|
-
?type: String,
|
|
180
|
-
?updated_at: Time?,
|
|
181
|
-
?use_cases: ::Array[Sentdm::Models::Profiles::CampaignCreateResponse::Data::UseCase],
|
|
182
|
-
?volume: String?
|
|
183
|
-
) -> void
|
|
184
|
-
|
|
185
|
-
def to_hash: -> {
|
|
186
|
-
id: String,
|
|
187
|
-
billed_date: Time?,
|
|
188
|
-
brand_id: String?,
|
|
189
|
-
cost: Float?,
|
|
190
|
-
created_at: Time,
|
|
191
|
-
customer_id: String,
|
|
192
|
-
dca_elections_complete: bool?,
|
|
193
|
-
dca_elections_completed_at: Time?,
|
|
194
|
-
description: String,
|
|
195
|
-
has_submission_transaction: bool,
|
|
196
|
-
help_keywords: String?,
|
|
197
|
-
help_message: String?,
|
|
198
|
-
message_flow: String?,
|
|
199
|
-
name: String,
|
|
200
|
-
optin_keywords: String?,
|
|
201
|
-
optin_message: String?,
|
|
202
|
-
optout_keywords: String?,
|
|
203
|
-
optout_message: String?,
|
|
204
|
-
privacy_policy_link: String?,
|
|
205
|
-
status: Sentdm::Models::Profiles::CampaignCreateResponse::Data::status?,
|
|
206
|
-
submitted_at: Time?,
|
|
207
|
-
submitted_to_tcr: bool,
|
|
208
|
-
tcr_campaign_id: String?,
|
|
209
|
-
tcr_sync_error: String?,
|
|
210
|
-
terms_and_conditions_link: String?,
|
|
211
|
-
type: String,
|
|
212
|
-
updated_at: Time?,
|
|
213
|
-
use_cases: ::Array[Sentdm::Models::Profiles::CampaignCreateResponse::Data::UseCase],
|
|
214
|
-
volume: String?
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
type status = :SENT_CREATED | :ACTIVE | :EXPIRED
|
|
218
|
-
|
|
219
|
-
module Status
|
|
220
|
-
extend Sentdm::Internal::Type::Enum
|
|
221
|
-
|
|
222
|
-
SENT_CREATED: :SENT_CREATED
|
|
223
|
-
ACTIVE: :ACTIVE
|
|
224
|
-
EXPIRED: :EXPIRED
|
|
225
|
-
|
|
226
|
-
def self?.values: -> ::Array[Sentdm::Models::Profiles::CampaignCreateResponse::Data::status]
|
|
227
|
-
end
|
|
228
|
-
|
|
229
|
-
type use_case =
|
|
230
|
-
{
|
|
231
|
-
id: String,
|
|
232
|
-
campaign_id: String,
|
|
233
|
-
created_at: Time,
|
|
234
|
-
customer_id: String,
|
|
235
|
-
messaging_use_case_us: Sentdm::Models::Profiles::messaging_use_case_us,
|
|
236
|
-
sample_messages: ::Array[String],
|
|
237
|
-
updated_at: Time?
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
class UseCase < Sentdm::Internal::Type::BaseModel
|
|
241
|
-
attr_reader id: String?
|
|
242
|
-
|
|
243
|
-
def id=: (String) -> String
|
|
244
|
-
|
|
245
|
-
attr_reader campaign_id: String?
|
|
246
|
-
|
|
247
|
-
def campaign_id=: (String) -> String
|
|
248
|
-
|
|
249
|
-
attr_reader created_at: Time?
|
|
250
|
-
|
|
251
|
-
def created_at=: (Time) -> Time
|
|
252
|
-
|
|
253
|
-
attr_reader customer_id: String?
|
|
254
|
-
|
|
255
|
-
def customer_id=: (String) -> String
|
|
256
|
-
|
|
257
|
-
attr_reader messaging_use_case_us: Sentdm::Models::Profiles::messaging_use_case_us?
|
|
258
|
-
|
|
259
|
-
def messaging_use_case_us=: (
|
|
260
|
-
Sentdm::Models::Profiles::messaging_use_case_us
|
|
261
|
-
) -> Sentdm::Models::Profiles::messaging_use_case_us
|
|
262
|
-
|
|
263
|
-
attr_reader sample_messages: ::Array[String]?
|
|
264
|
-
|
|
265
|
-
def sample_messages=: (::Array[String]) -> ::Array[String]
|
|
266
|
-
|
|
267
|
-
attr_accessor updated_at: Time?
|
|
268
|
-
|
|
269
|
-
def initialize: (
|
|
270
|
-
?id: String,
|
|
271
|
-
?campaign_id: String,
|
|
272
|
-
?created_at: Time,
|
|
273
|
-
?customer_id: String,
|
|
274
|
-
?messaging_use_case_us: Sentdm::Models::Profiles::messaging_use_case_us,
|
|
275
|
-
?sample_messages: ::Array[String],
|
|
276
|
-
?updated_at: Time?
|
|
277
|
-
) -> void
|
|
278
|
-
|
|
279
|
-
def to_hash: -> {
|
|
280
|
-
id: String,
|
|
281
|
-
campaign_id: String,
|
|
282
|
-
created_at: Time,
|
|
283
|
-
customer_id: String,
|
|
284
|
-
messaging_use_case_us: Sentdm::Models::Profiles::messaging_use_case_us,
|
|
285
|
-
sample_messages: ::Array[String],
|
|
286
|
-
updated_at: Time?
|
|
287
|
-
}
|
|
288
|
-
end
|
|
289
|
-
end
|
|
290
|
-
|
|
291
|
-
type error =
|
|
292
|
-
{
|
|
293
|
-
code: String,
|
|
294
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
295
|
-
doc_url: String?,
|
|
296
|
-
message: String
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
class Error < Sentdm::Internal::Type::BaseModel
|
|
300
|
-
attr_reader code: String?
|
|
301
|
-
|
|
302
|
-
def code=: (String) -> String
|
|
303
|
-
|
|
304
|
-
attr_accessor details: ::Hash[Symbol, ::Array[String]]?
|
|
305
|
-
|
|
306
|
-
attr_accessor doc_url: String?
|
|
307
|
-
|
|
308
|
-
attr_reader message: String?
|
|
309
|
-
|
|
310
|
-
def message=: (String) -> String
|
|
311
|
-
|
|
312
|
-
def initialize: (
|
|
313
|
-
?code: String,
|
|
314
|
-
?details: ::Hash[Symbol, ::Array[String]]?,
|
|
315
|
-
?doc_url: String?,
|
|
316
|
-
?message: String
|
|
317
|
-
) -> void
|
|
318
|
-
|
|
319
|
-
def to_hash: -> {
|
|
320
|
-
code: String,
|
|
321
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
322
|
-
doc_url: String?,
|
|
323
|
-
message: String
|
|
324
|
-
}
|
|
325
|
-
end
|
|
326
|
-
|
|
327
|
-
type meta = { request_id: String, timestamp: Time, version: String }
|
|
328
|
-
|
|
329
|
-
class Meta < Sentdm::Internal::Type::BaseModel
|
|
330
|
-
attr_reader request_id: String?
|
|
331
|
-
|
|
332
|
-
def request_id=: (String) -> String
|
|
333
|
-
|
|
334
|
-
attr_reader timestamp: Time?
|
|
335
|
-
|
|
336
|
-
def timestamp=: (Time) -> Time
|
|
337
|
-
|
|
338
|
-
attr_reader version: String?
|
|
339
|
-
|
|
340
|
-
def version=: (String) -> String
|
|
341
|
-
|
|
342
|
-
def initialize: (
|
|
343
|
-
?request_id: String,
|
|
344
|
-
?timestamp: Time,
|
|
345
|
-
?version: String
|
|
346
|
-
) -> void
|
|
347
|
-
|
|
348
|
-
def to_hash: -> {
|
|
349
|
-
request_id: String,
|
|
350
|
-
timestamp: Time,
|
|
351
|
-
version: String
|
|
352
|
-
}
|
|
353
|
-
end
|
|
354
|
-
end
|
|
355
|
-
end
|
|
356
|
-
end
|
|
357
|
-
end
|
|
@@ -1,357 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
module Profiles
|
|
4
|
-
type campaign_list_response =
|
|
5
|
-
{
|
|
6
|
-
data: ::Array[Sentdm::Models::Profiles::CampaignListResponse::Data]?,
|
|
7
|
-
error: Sentdm::Models::Profiles::CampaignListResponse::Error?,
|
|
8
|
-
meta: Sentdm::Models::Profiles::CampaignListResponse::Meta,
|
|
9
|
-
success: bool
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
class CampaignListResponse < Sentdm::Internal::Type::BaseModel
|
|
13
|
-
attr_accessor data: ::Array[Sentdm::Models::Profiles::CampaignListResponse::Data]?
|
|
14
|
-
|
|
15
|
-
attr_accessor error: Sentdm::Models::Profiles::CampaignListResponse::Error?
|
|
16
|
-
|
|
17
|
-
attr_reader meta: Sentdm::Models::Profiles::CampaignListResponse::Meta?
|
|
18
|
-
|
|
19
|
-
def meta=: (
|
|
20
|
-
Sentdm::Models::Profiles::CampaignListResponse::Meta
|
|
21
|
-
) -> Sentdm::Models::Profiles::CampaignListResponse::Meta
|
|
22
|
-
|
|
23
|
-
attr_reader success: bool?
|
|
24
|
-
|
|
25
|
-
def success=: (bool) -> bool
|
|
26
|
-
|
|
27
|
-
def initialize: (
|
|
28
|
-
?data: ::Array[Sentdm::Models::Profiles::CampaignListResponse::Data]?,
|
|
29
|
-
?error: Sentdm::Models::Profiles::CampaignListResponse::Error?,
|
|
30
|
-
?meta: Sentdm::Models::Profiles::CampaignListResponse::Meta,
|
|
31
|
-
?success: bool
|
|
32
|
-
) -> void
|
|
33
|
-
|
|
34
|
-
def to_hash: -> {
|
|
35
|
-
data: ::Array[Sentdm::Models::Profiles::CampaignListResponse::Data]?,
|
|
36
|
-
error: Sentdm::Models::Profiles::CampaignListResponse::Error?,
|
|
37
|
-
meta: Sentdm::Models::Profiles::CampaignListResponse::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
|
-
customer_id: String,
|
|
49
|
-
dca_elections_complete: bool?,
|
|
50
|
-
dca_elections_completed_at: Time?,
|
|
51
|
-
description: String,
|
|
52
|
-
has_submission_transaction: bool,
|
|
53
|
-
help_keywords: String?,
|
|
54
|
-
help_message: String?,
|
|
55
|
-
message_flow: String?,
|
|
56
|
-
name: String,
|
|
57
|
-
optin_keywords: String?,
|
|
58
|
-
optin_message: String?,
|
|
59
|
-
optout_keywords: String?,
|
|
60
|
-
optout_message: String?,
|
|
61
|
-
privacy_policy_link: String?,
|
|
62
|
-
status: Sentdm::Models::Profiles::CampaignListResponse::Data::status?,
|
|
63
|
-
submitted_at: Time?,
|
|
64
|
-
submitted_to_tcr: bool,
|
|
65
|
-
tcr_campaign_id: String?,
|
|
66
|
-
tcr_sync_error: String?,
|
|
67
|
-
terms_and_conditions_link: String?,
|
|
68
|
-
type: String,
|
|
69
|
-
updated_at: Time?,
|
|
70
|
-
use_cases: ::Array[Sentdm::Models::Profiles::CampaignListResponse::Data::UseCase],
|
|
71
|
-
volume: String?
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
class Data < Sentdm::Internal::Type::BaseModel
|
|
75
|
-
attr_reader id: String?
|
|
76
|
-
|
|
77
|
-
def id=: (String) -> String
|
|
78
|
-
|
|
79
|
-
attr_accessor billed_date: Time?
|
|
80
|
-
|
|
81
|
-
attr_accessor brand_id: String?
|
|
82
|
-
|
|
83
|
-
attr_accessor cost: Float?
|
|
84
|
-
|
|
85
|
-
attr_reader created_at: Time?
|
|
86
|
-
|
|
87
|
-
def created_at=: (Time) -> Time
|
|
88
|
-
|
|
89
|
-
attr_reader customer_id: String?
|
|
90
|
-
|
|
91
|
-
def customer_id=: (String) -> String
|
|
92
|
-
|
|
93
|
-
attr_accessor dca_elections_complete: bool?
|
|
94
|
-
|
|
95
|
-
attr_accessor dca_elections_completed_at: Time?
|
|
96
|
-
|
|
97
|
-
attr_reader description: String?
|
|
98
|
-
|
|
99
|
-
def description=: (String) -> String
|
|
100
|
-
|
|
101
|
-
attr_reader has_submission_transaction: bool?
|
|
102
|
-
|
|
103
|
-
def has_submission_transaction=: (bool) -> bool
|
|
104
|
-
|
|
105
|
-
attr_accessor help_keywords: String?
|
|
106
|
-
|
|
107
|
-
attr_accessor help_message: String?
|
|
108
|
-
|
|
109
|
-
attr_accessor message_flow: String?
|
|
110
|
-
|
|
111
|
-
attr_reader name: String?
|
|
112
|
-
|
|
113
|
-
def name=: (String) -> String
|
|
114
|
-
|
|
115
|
-
attr_accessor optin_keywords: String?
|
|
116
|
-
|
|
117
|
-
attr_accessor optin_message: String?
|
|
118
|
-
|
|
119
|
-
attr_accessor optout_keywords: String?
|
|
120
|
-
|
|
121
|
-
attr_accessor optout_message: String?
|
|
122
|
-
|
|
123
|
-
attr_accessor privacy_policy_link: String?
|
|
124
|
-
|
|
125
|
-
attr_accessor status: Sentdm::Models::Profiles::CampaignListResponse::Data::status?
|
|
126
|
-
|
|
127
|
-
attr_accessor submitted_at: Time?
|
|
128
|
-
|
|
129
|
-
attr_reader submitted_to_tcr: bool?
|
|
130
|
-
|
|
131
|
-
def submitted_to_tcr=: (bool) -> bool
|
|
132
|
-
|
|
133
|
-
attr_accessor tcr_campaign_id: String?
|
|
134
|
-
|
|
135
|
-
attr_accessor tcr_sync_error: String?
|
|
136
|
-
|
|
137
|
-
attr_accessor terms_and_conditions_link: String?
|
|
138
|
-
|
|
139
|
-
attr_reader type: String?
|
|
140
|
-
|
|
141
|
-
def type=: (String) -> String
|
|
142
|
-
|
|
143
|
-
attr_accessor updated_at: Time?
|
|
144
|
-
|
|
145
|
-
attr_reader use_cases: ::Array[Sentdm::Models::Profiles::CampaignListResponse::Data::UseCase]?
|
|
146
|
-
|
|
147
|
-
def use_cases=: (
|
|
148
|
-
::Array[Sentdm::Models::Profiles::CampaignListResponse::Data::UseCase]
|
|
149
|
-
) -> ::Array[Sentdm::Models::Profiles::CampaignListResponse::Data::UseCase]
|
|
150
|
-
|
|
151
|
-
attr_accessor volume: String?
|
|
152
|
-
|
|
153
|
-
def initialize: (
|
|
154
|
-
?id: String,
|
|
155
|
-
?billed_date: Time?,
|
|
156
|
-
?brand_id: String?,
|
|
157
|
-
?cost: Float?,
|
|
158
|
-
?created_at: Time,
|
|
159
|
-
?customer_id: String,
|
|
160
|
-
?dca_elections_complete: bool?,
|
|
161
|
-
?dca_elections_completed_at: Time?,
|
|
162
|
-
?description: String,
|
|
163
|
-
?has_submission_transaction: bool,
|
|
164
|
-
?help_keywords: String?,
|
|
165
|
-
?help_message: String?,
|
|
166
|
-
?message_flow: String?,
|
|
167
|
-
?name: String,
|
|
168
|
-
?optin_keywords: String?,
|
|
169
|
-
?optin_message: String?,
|
|
170
|
-
?optout_keywords: String?,
|
|
171
|
-
?optout_message: String?,
|
|
172
|
-
?privacy_policy_link: String?,
|
|
173
|
-
?status: Sentdm::Models::Profiles::CampaignListResponse::Data::status?,
|
|
174
|
-
?submitted_at: Time?,
|
|
175
|
-
?submitted_to_tcr: bool,
|
|
176
|
-
?tcr_campaign_id: String?,
|
|
177
|
-
?tcr_sync_error: String?,
|
|
178
|
-
?terms_and_conditions_link: String?,
|
|
179
|
-
?type: String,
|
|
180
|
-
?updated_at: Time?,
|
|
181
|
-
?use_cases: ::Array[Sentdm::Models::Profiles::CampaignListResponse::Data::UseCase],
|
|
182
|
-
?volume: String?
|
|
183
|
-
) -> void
|
|
184
|
-
|
|
185
|
-
def to_hash: -> {
|
|
186
|
-
id: String,
|
|
187
|
-
billed_date: Time?,
|
|
188
|
-
brand_id: String?,
|
|
189
|
-
cost: Float?,
|
|
190
|
-
created_at: Time,
|
|
191
|
-
customer_id: String,
|
|
192
|
-
dca_elections_complete: bool?,
|
|
193
|
-
dca_elections_completed_at: Time?,
|
|
194
|
-
description: String,
|
|
195
|
-
has_submission_transaction: bool,
|
|
196
|
-
help_keywords: String?,
|
|
197
|
-
help_message: String?,
|
|
198
|
-
message_flow: String?,
|
|
199
|
-
name: String,
|
|
200
|
-
optin_keywords: String?,
|
|
201
|
-
optin_message: String?,
|
|
202
|
-
optout_keywords: String?,
|
|
203
|
-
optout_message: String?,
|
|
204
|
-
privacy_policy_link: String?,
|
|
205
|
-
status: Sentdm::Models::Profiles::CampaignListResponse::Data::status?,
|
|
206
|
-
submitted_at: Time?,
|
|
207
|
-
submitted_to_tcr: bool,
|
|
208
|
-
tcr_campaign_id: String?,
|
|
209
|
-
tcr_sync_error: String?,
|
|
210
|
-
terms_and_conditions_link: String?,
|
|
211
|
-
type: String,
|
|
212
|
-
updated_at: Time?,
|
|
213
|
-
use_cases: ::Array[Sentdm::Models::Profiles::CampaignListResponse::Data::UseCase],
|
|
214
|
-
volume: String?
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
type status = :SENT_CREATED | :ACTIVE | :EXPIRED
|
|
218
|
-
|
|
219
|
-
module Status
|
|
220
|
-
extend Sentdm::Internal::Type::Enum
|
|
221
|
-
|
|
222
|
-
SENT_CREATED: :SENT_CREATED
|
|
223
|
-
ACTIVE: :ACTIVE
|
|
224
|
-
EXPIRED: :EXPIRED
|
|
225
|
-
|
|
226
|
-
def self?.values: -> ::Array[Sentdm::Models::Profiles::CampaignListResponse::Data::status]
|
|
227
|
-
end
|
|
228
|
-
|
|
229
|
-
type use_case =
|
|
230
|
-
{
|
|
231
|
-
id: String,
|
|
232
|
-
campaign_id: String,
|
|
233
|
-
created_at: Time,
|
|
234
|
-
customer_id: String,
|
|
235
|
-
messaging_use_case_us: Sentdm::Models::Profiles::messaging_use_case_us,
|
|
236
|
-
sample_messages: ::Array[String],
|
|
237
|
-
updated_at: Time?
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
class UseCase < Sentdm::Internal::Type::BaseModel
|
|
241
|
-
attr_reader id: String?
|
|
242
|
-
|
|
243
|
-
def id=: (String) -> String
|
|
244
|
-
|
|
245
|
-
attr_reader campaign_id: String?
|
|
246
|
-
|
|
247
|
-
def campaign_id=: (String) -> String
|
|
248
|
-
|
|
249
|
-
attr_reader created_at: Time?
|
|
250
|
-
|
|
251
|
-
def created_at=: (Time) -> Time
|
|
252
|
-
|
|
253
|
-
attr_reader customer_id: String?
|
|
254
|
-
|
|
255
|
-
def customer_id=: (String) -> String
|
|
256
|
-
|
|
257
|
-
attr_reader messaging_use_case_us: Sentdm::Models::Profiles::messaging_use_case_us?
|
|
258
|
-
|
|
259
|
-
def messaging_use_case_us=: (
|
|
260
|
-
Sentdm::Models::Profiles::messaging_use_case_us
|
|
261
|
-
) -> Sentdm::Models::Profiles::messaging_use_case_us
|
|
262
|
-
|
|
263
|
-
attr_reader sample_messages: ::Array[String]?
|
|
264
|
-
|
|
265
|
-
def sample_messages=: (::Array[String]) -> ::Array[String]
|
|
266
|
-
|
|
267
|
-
attr_accessor updated_at: Time?
|
|
268
|
-
|
|
269
|
-
def initialize: (
|
|
270
|
-
?id: String,
|
|
271
|
-
?campaign_id: String,
|
|
272
|
-
?created_at: Time,
|
|
273
|
-
?customer_id: String,
|
|
274
|
-
?messaging_use_case_us: Sentdm::Models::Profiles::messaging_use_case_us,
|
|
275
|
-
?sample_messages: ::Array[String],
|
|
276
|
-
?updated_at: Time?
|
|
277
|
-
) -> void
|
|
278
|
-
|
|
279
|
-
def to_hash: -> {
|
|
280
|
-
id: String,
|
|
281
|
-
campaign_id: String,
|
|
282
|
-
created_at: Time,
|
|
283
|
-
customer_id: String,
|
|
284
|
-
messaging_use_case_us: Sentdm::Models::Profiles::messaging_use_case_us,
|
|
285
|
-
sample_messages: ::Array[String],
|
|
286
|
-
updated_at: Time?
|
|
287
|
-
}
|
|
288
|
-
end
|
|
289
|
-
end
|
|
290
|
-
|
|
291
|
-
type error =
|
|
292
|
-
{
|
|
293
|
-
code: String,
|
|
294
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
295
|
-
doc_url: String?,
|
|
296
|
-
message: String
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
class Error < Sentdm::Internal::Type::BaseModel
|
|
300
|
-
attr_reader code: String?
|
|
301
|
-
|
|
302
|
-
def code=: (String) -> String
|
|
303
|
-
|
|
304
|
-
attr_accessor details: ::Hash[Symbol, ::Array[String]]?
|
|
305
|
-
|
|
306
|
-
attr_accessor doc_url: String?
|
|
307
|
-
|
|
308
|
-
attr_reader message: String?
|
|
309
|
-
|
|
310
|
-
def message=: (String) -> String
|
|
311
|
-
|
|
312
|
-
def initialize: (
|
|
313
|
-
?code: String,
|
|
314
|
-
?details: ::Hash[Symbol, ::Array[String]]?,
|
|
315
|
-
?doc_url: String?,
|
|
316
|
-
?message: String
|
|
317
|
-
) -> void
|
|
318
|
-
|
|
319
|
-
def to_hash: -> {
|
|
320
|
-
code: String,
|
|
321
|
-
details: ::Hash[Symbol, ::Array[String]]?,
|
|
322
|
-
doc_url: String?,
|
|
323
|
-
message: String
|
|
324
|
-
}
|
|
325
|
-
end
|
|
326
|
-
|
|
327
|
-
type meta = { request_id: String, timestamp: Time, version: String }
|
|
328
|
-
|
|
329
|
-
class Meta < Sentdm::Internal::Type::BaseModel
|
|
330
|
-
attr_reader request_id: String?
|
|
331
|
-
|
|
332
|
-
def request_id=: (String) -> String
|
|
333
|
-
|
|
334
|
-
attr_reader timestamp: Time?
|
|
335
|
-
|
|
336
|
-
def timestamp=: (Time) -> Time
|
|
337
|
-
|
|
338
|
-
attr_reader version: String?
|
|
339
|
-
|
|
340
|
-
def version=: (String) -> String
|
|
341
|
-
|
|
342
|
-
def initialize: (
|
|
343
|
-
?request_id: String,
|
|
344
|
-
?timestamp: Time,
|
|
345
|
-
?version: String
|
|
346
|
-
) -> void
|
|
347
|
-
|
|
348
|
-
def to_hash: -> {
|
|
349
|
-
request_id: String,
|
|
350
|
-
timestamp: Time,
|
|
351
|
-
version: String
|
|
352
|
-
}
|
|
353
|
-
end
|
|
354
|
-
end
|
|
355
|
-
end
|
|
356
|
-
end
|
|
357
|
-
end
|