sentdm 0.25.0 → 0.27.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 +39 -0
- data/README.md +7 -11
- data/lib/sentdm/client.rb +4 -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/{sent_dm_services_common_contracts_poc_os_authentication_config.rb → authentication_config.rb} +2 -3
- data/lib/sentdm/models/{sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rb → brand_business_info.rb} +5 -7
- data/lib/sentdm/models/{sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rb → brand_compliance_info.rb} +2 -10
- data/lib/sentdm/models/{sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rb → brand_contact_info.rb} +1 -1
- data/lib/sentdm/models/brands_brand_data.rb +9 -13
- data/lib/sentdm/models/contact_message_summary.rb +76 -0
- data/lib/sentdm/models/contact_retrieve_message_summary_params.rb +26 -0
- data/lib/sentdm/models/conversation_list_messages_params.rb +38 -0
- data/lib/sentdm/models/conversation_list_params.rb +32 -0
- data/lib/sentdm/models/conversation_messages_list.rb +245 -0
- data/lib/sentdm/models/inbound_message_event.rb +52 -0
- data/lib/sentdm/models/inbound_message_event_payload.rb +81 -0
- data/lib/sentdm/models/message_event.rb +53 -0
- data/lib/sentdm/models/message_event_payload.rb +92 -0
- data/lib/sentdm/models/message_send_response.rb +2 -6
- data/lib/sentdm/models/profile_detail.rb +13 -13
- data/lib/sentdm/models/profile_update_params.rb +2 -2
- data/lib/sentdm/models/profiles/{api_response_of_tcr_campaign_with_use_cases.rb → api_response_of_brand_campaign.rb} +5 -5
- data/lib/sentdm/models/profiles/{campaign_list_response.rb → api_response_of_list_of_brand_campaign.rb} +4 -6
- data/lib/sentdm/models/profiles/{tcr_campaign_with_use_cases.rb → brand_campaign.rb} +63 -111
- data/lib/sentdm/models/profiles/campaign_data.rb +13 -6
- data/lib/sentdm/models/profiles/campaign_use_case.rb +71 -0
- data/lib/sentdm/models/profiles/{sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rb → campaign_use_case_data.rb} +1 -1
- data/lib/sentdm/models/{sent_dm_services_common_contracts_poc_os_template_body.rb → template_body.rb} +2 -3
- data/lib/sentdm/models/{sent_dm_services_common_contracts_poc_os_template_button.rb → template_button.rb} +5 -6
- data/lib/sentdm/models/{sent_dm_services_common_contracts_poc_os_template_button_props.rb → template_button_props.rb} +2 -3
- data/lib/sentdm/models/template_definition.rb +15 -19
- data/lib/sentdm/models/template_event.rb +52 -0
- data/lib/sentdm/models/template_event_payload.rb +88 -0
- data/lib/sentdm/models/{sent_dm_services_common_contracts_poc_os_template_footer.rb → template_footer.rb} +1 -1
- data/lib/sentdm/models/{sent_dm_services_common_contracts_poc_os_template_header.rb → template_header.rb} +2 -3
- data/lib/sentdm/models/webhook_list_events_response.rb +45 -3
- data/lib/sentdm/models.rb +44 -27
- data/lib/sentdm/resources/contacts.rb +30 -0
- data/lib/sentdm/resources/conversations.rb +82 -0
- data/lib/sentdm/resources/messages.rb +6 -1
- data/lib/sentdm/resources/profiles/campaigns.rb +6 -6
- data/lib/sentdm/resources/profiles.rb +34 -22
- data/lib/sentdm/resources/users.rb +3 -3
- data/lib/sentdm/version.rb +1 -1
- data/lib/sentdm.rb +28 -14
- data/rbi/sentdm/client.rbi +3 -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/{sent_dm_services_common_contracts_poc_os_authentication_config.rbi → authentication_config.rbi} +2 -5
- data/rbi/sentdm/models/{sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbi → brand_business_info.rbi} +12 -30
- data/rbi/sentdm/models/{sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbi → brand_compliance_info.rbi} +2 -13
- data/rbi/sentdm/models/{sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbi → brand_contact_info.rbi} +2 -5
- data/rbi/sentdm/models/brands_brand_data.rbi +12 -51
- data/rbi/sentdm/models/contact_message_summary.rbi +144 -0
- data/rbi/sentdm/models/contact_retrieve_message_summary_params.rbi +49 -0
- data/rbi/sentdm/models/conversation_list_messages_params.rbi +65 -0
- data/rbi/sentdm/models/conversation_list_params.rbi +51 -0
- data/rbi/sentdm/models/conversation_messages_list.rbi +419 -0
- data/rbi/sentdm/models/inbound_message_event.rbi +88 -0
- data/rbi/sentdm/models/inbound_message_event_payload.rbi +122 -0
- data/rbi/sentdm/models/message_event.rbi +86 -0
- data/rbi/sentdm/models/message_event_payload.rbi +132 -0
- data/rbi/sentdm/models/message_send_response.rbi +2 -4
- data/rbi/sentdm/models/profile_detail.rbi +10 -12
- data/rbi/sentdm/models/profile_update_params.rbi +2 -2
- data/rbi/sentdm/models/profiles/{api_response_of_tcr_campaign_with_use_cases.rbi → api_response_of_brand_campaign.rbi} +8 -10
- data/rbi/sentdm/models/profiles/{campaign_list_response.rbi → api_response_of_list_of_brand_campaign.rbi} +5 -13
- data/rbi/sentdm/models/profiles/brand_campaign.rbi +299 -0
- data/rbi/sentdm/models/profiles/campaign_data.rbi +16 -18
- data/rbi/sentdm/models/profiles/campaign_use_case.rbi +110 -0
- data/rbi/sentdm/models/profiles/{sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbi → campaign_use_case_data.rbi} +2 -2
- data/rbi/sentdm/models/{sent_dm_services_common_contracts_poc_os_template_body.rbi → template_body.rbi} +2 -7
- data/rbi/sentdm/models/{sent_dm_services_common_contracts_poc_os_template_button.rbi → template_button.rbi} +6 -22
- data/rbi/sentdm/models/{sent_dm_services_common_contracts_poc_os_template_button_props.rbi → template_button_props.rbi} +2 -5
- data/rbi/sentdm/models/template_definition.rbi +19 -87
- data/rbi/sentdm/models/template_event.rbi +84 -0
- data/rbi/sentdm/models/template_event_payload.rbi +131 -0
- data/rbi/sentdm/models/{sent_dm_services_common_contracts_poc_os_template_footer.rbi → template_footer.rbi} +2 -5
- data/rbi/sentdm/models/{sent_dm_services_common_contracts_poc_os_template_header.rbi → template_header.rbi} +2 -5
- data/rbi/sentdm/models/webhook_list_events_response.rbi +60 -4
- data/rbi/sentdm/models.rbi +48 -27
- data/rbi/sentdm/resources/contacts.rbi +20 -0
- data/rbi/sentdm/resources/conversations.rbi +61 -0
- data/rbi/sentdm/resources/messages.rbi +6 -1
- data/rbi/sentdm/resources/profiles/campaigns.rbi +3 -3
- data/rbi/sentdm/resources/profiles.rbi +32 -20
- data/rbi/sentdm/resources/users.rbi +3 -2
- data/sig/sentdm/client.rbs +2 -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/{sent_dm_services_common_contracts_poc_os_authentication_config.rbs → authentication_config.rbs} +2 -2
- data/sig/sentdm/models/{sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_business_info.rbs → brand_business_info.rbs} +7 -7
- data/sig/sentdm/models/{sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_compliance_info.rbs → brand_compliance_info.rbs} +2 -7
- data/sig/sentdm/models/{sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_brands_brand_contact_info.rbs → brand_contact_info.rbs} +2 -2
- data/sig/sentdm/models/brands_brand_data.rbs +12 -12
- data/sig/sentdm/models/contact_message_summary.rbs +84 -0
- data/sig/sentdm/models/contact_retrieve_message_summary_params.rbs +30 -0
- data/sig/sentdm/models/conversation_list_messages_params.rbs +38 -0
- data/sig/sentdm/models/conversation_list_params.rbs +34 -0
- data/sig/sentdm/models/conversation_messages_list.rbs +240 -0
- data/sig/sentdm/models/inbound_message_event.rbs +39 -0
- data/sig/sentdm/models/inbound_message_event_payload.rbs +69 -0
- data/sig/sentdm/models/message_event.rbs +39 -0
- data/sig/sentdm/models/message_event_payload.rbs +72 -0
- data/sig/sentdm/models/profile_detail.rbs +0 -5
- data/sig/sentdm/models/profiles/{campaign_list_response.rbs → api_response_of_brand_campaign.rbs} +6 -6
- data/sig/sentdm/models/profiles/{api_response_of_tcr_campaign_with_use_cases.rbs → api_response_of_list_of_brand_campaign.rbs} +6 -6
- data/sig/sentdm/models/profiles/brand_campaign.rbs +194 -0
- data/sig/sentdm/models/profiles/campaign_data.rbs +12 -7
- data/sig/sentdm/models/profiles/campaign_use_case.rbs +66 -0
- data/sig/sentdm/models/profiles/{sent_dm_services_endpoints_customer_ap_iv3_contracts_requests_campaigns_campaign_use_case_data.rbs → campaign_use_case_data.rbs} +2 -2
- data/sig/sentdm/models/{sent_dm_services_common_contracts_poc_os_template_body.rbs → template_body.rbs} +2 -2
- data/sig/sentdm/models/template_button.rbs +28 -0
- data/sig/sentdm/models/{sent_dm_services_common_contracts_poc_os_template_button_props.rbs → template_button_props.rbs} +2 -2
- data/sig/sentdm/models/template_definition.rbs +20 -20
- data/sig/sentdm/models/template_event.rbs +39 -0
- data/sig/sentdm/models/template_event_payload.rbs +76 -0
- data/sig/sentdm/models/{sent_dm_services_common_contracts_poc_os_template_footer.rbs → template_footer.rbs} +2 -2
- data/sig/sentdm/models/{sent_dm_services_common_contracts_poc_os_template_header.rbs → template_header.rbs} +2 -2
- data/sig/sentdm/models/webhook_list_events_response.rbs +18 -5
- data/sig/sentdm/models.rbs +44 -18
- data/sig/sentdm/resources/contacts.rbs +6 -0
- data/sig/sentdm/resources/conversations.rbs +22 -0
- data/sig/sentdm/resources/profiles/campaigns.rbs +3 -3
- metadata +86 -44
- data/lib/sentdm/models/profiles/base_dto.rb +0 -32
- data/rbi/sentdm/models/profiles/base_dto.rbi +0 -53
- data/rbi/sentdm/models/profiles/tcr_campaign_with_use_cases.rbi +0 -425
- data/sig/sentdm/models/profiles/base_dto.rbs +0 -27
- data/sig/sentdm/models/profiles/tcr_campaign_with_use_cases.rbs +0 -306
- data/sig/sentdm/models/sent_dm_services_common_contracts_poc_os_template_button.rbs +0 -32
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
module Profiles
|
|
4
|
-
type tcr_campaign_with_use_cases =
|
|
5
|
-
{
|
|
6
|
-
description: String,
|
|
7
|
-
name: String,
|
|
8
|
-
type: String,
|
|
9
|
-
billed_date: Time?,
|
|
10
|
-
brand_id: String?,
|
|
11
|
-
cost: Float?,
|
|
12
|
-
csp_id: String?,
|
|
13
|
-
customer_id: String,
|
|
14
|
-
dca_elections_complete: bool?,
|
|
15
|
-
dca_elections_completed_at: Time?,
|
|
16
|
-
has_submission_transaction: bool,
|
|
17
|
-
help_keywords: String?,
|
|
18
|
-
help_message: String?,
|
|
19
|
-
kyc_submission_form_id: String?,
|
|
20
|
-
message_flow: String?,
|
|
21
|
-
optin_keywords: String?,
|
|
22
|
-
optin_message: String?,
|
|
23
|
-
optout_keywords: String?,
|
|
24
|
-
optout_message: String?,
|
|
25
|
-
privacy_policy_link: String?,
|
|
26
|
-
reseller_id: String?,
|
|
27
|
-
sharing_status: Sentdm::Models::Profiles::TcrCampaignWithUseCases::sharing_status?,
|
|
28
|
-
status: Sentdm::Models::Profiles::TcrCampaignWithUseCases::status?,
|
|
29
|
-
submitted_at: Time?,
|
|
30
|
-
submitted_to_tcr: bool,
|
|
31
|
-
tcr_campaign_id: String?,
|
|
32
|
-
tcr_sync_error: String?,
|
|
33
|
-
telnyx_campaign_id: String?,
|
|
34
|
-
terms_and_conditions_link: String?,
|
|
35
|
-
upstream_cnp_id: String?,
|
|
36
|
-
use_cases: ::Array[Sentdm::Profiles::TcrCampaignWithUseCases::UseCase]
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
class TcrCampaignWithUseCases < Sentdm::Models::Profiles::BaseDto
|
|
40
|
-
def description: -> String
|
|
41
|
-
|
|
42
|
-
def description=: (String _) -> String
|
|
43
|
-
|
|
44
|
-
def name: -> String
|
|
45
|
-
|
|
46
|
-
def name=: (String _) -> String
|
|
47
|
-
|
|
48
|
-
def `type`: -> String
|
|
49
|
-
|
|
50
|
-
def type=: (String _) -> String
|
|
51
|
-
|
|
52
|
-
def billed_date: -> Time?
|
|
53
|
-
|
|
54
|
-
def billed_date=: (Time? _) -> Time?
|
|
55
|
-
|
|
56
|
-
def brand_id: -> String?
|
|
57
|
-
|
|
58
|
-
def brand_id=: (String? _) -> String?
|
|
59
|
-
|
|
60
|
-
def cost: -> Float?
|
|
61
|
-
|
|
62
|
-
def cost=: (Float? _) -> Float?
|
|
63
|
-
|
|
64
|
-
def csp_id: -> String?
|
|
65
|
-
|
|
66
|
-
def csp_id=: (String? _) -> String?
|
|
67
|
-
|
|
68
|
-
def customer_id: -> String?
|
|
69
|
-
|
|
70
|
-
def customer_id=: (String _) -> String
|
|
71
|
-
|
|
72
|
-
def dca_elections_complete: -> bool?
|
|
73
|
-
|
|
74
|
-
def dca_elections_complete=: (bool? _) -> bool?
|
|
75
|
-
|
|
76
|
-
def dca_elections_completed_at: -> Time?
|
|
77
|
-
|
|
78
|
-
def dca_elections_completed_at=: (Time? _) -> Time?
|
|
79
|
-
|
|
80
|
-
def has_submission_transaction: -> bool?
|
|
81
|
-
|
|
82
|
-
def has_submission_transaction=: (bool _) -> bool
|
|
83
|
-
|
|
84
|
-
def help_keywords: -> String?
|
|
85
|
-
|
|
86
|
-
def help_keywords=: (String? _) -> String?
|
|
87
|
-
|
|
88
|
-
def help_message: -> String?
|
|
89
|
-
|
|
90
|
-
def help_message=: (String? _) -> String?
|
|
91
|
-
|
|
92
|
-
def kyc_submission_form_id: -> String?
|
|
93
|
-
|
|
94
|
-
def kyc_submission_form_id=: (String? _) -> String?
|
|
95
|
-
|
|
96
|
-
def message_flow: -> String?
|
|
97
|
-
|
|
98
|
-
def message_flow=: (String? _) -> String?
|
|
99
|
-
|
|
100
|
-
def optin_keywords: -> String?
|
|
101
|
-
|
|
102
|
-
def optin_keywords=: (String? _) -> String?
|
|
103
|
-
|
|
104
|
-
def optin_message: -> String?
|
|
105
|
-
|
|
106
|
-
def optin_message=: (String? _) -> String?
|
|
107
|
-
|
|
108
|
-
def optout_keywords: -> String?
|
|
109
|
-
|
|
110
|
-
def optout_keywords=: (String? _) -> String?
|
|
111
|
-
|
|
112
|
-
def optout_message: -> String?
|
|
113
|
-
|
|
114
|
-
def optout_message=: (String? _) -> String?
|
|
115
|
-
|
|
116
|
-
def privacy_policy_link: -> String?
|
|
117
|
-
|
|
118
|
-
def privacy_policy_link=: (String? _) -> String?
|
|
119
|
-
|
|
120
|
-
def reseller_id: -> String?
|
|
121
|
-
|
|
122
|
-
def reseller_id=: (String? _) -> String?
|
|
123
|
-
|
|
124
|
-
def sharing_status: -> Sentdm::Models::Profiles::TcrCampaignWithUseCases::sharing_status?
|
|
125
|
-
|
|
126
|
-
def sharing_status=: (
|
|
127
|
-
Sentdm::Models::Profiles::TcrCampaignWithUseCases::sharing_status? _
|
|
128
|
-
) -> Sentdm::Models::Profiles::TcrCampaignWithUseCases::sharing_status?
|
|
129
|
-
|
|
130
|
-
def status: -> Sentdm::Models::Profiles::TcrCampaignWithUseCases::status?
|
|
131
|
-
|
|
132
|
-
def status=: (
|
|
133
|
-
Sentdm::Models::Profiles::TcrCampaignWithUseCases::status? _
|
|
134
|
-
) -> Sentdm::Models::Profiles::TcrCampaignWithUseCases::status?
|
|
135
|
-
|
|
136
|
-
def submitted_at: -> Time?
|
|
137
|
-
|
|
138
|
-
def submitted_at=: (Time? _) -> Time?
|
|
139
|
-
|
|
140
|
-
def submitted_to_tcr: -> bool?
|
|
141
|
-
|
|
142
|
-
def submitted_to_tcr=: (bool _) -> bool
|
|
143
|
-
|
|
144
|
-
def tcr_campaign_id: -> String?
|
|
145
|
-
|
|
146
|
-
def tcr_campaign_id=: (String? _) -> String?
|
|
147
|
-
|
|
148
|
-
def tcr_sync_error: -> String?
|
|
149
|
-
|
|
150
|
-
def tcr_sync_error=: (String? _) -> String?
|
|
151
|
-
|
|
152
|
-
def telnyx_campaign_id: -> String?
|
|
153
|
-
|
|
154
|
-
def telnyx_campaign_id=: (String? _) -> String?
|
|
155
|
-
|
|
156
|
-
def terms_and_conditions_link: -> String?
|
|
157
|
-
|
|
158
|
-
def terms_and_conditions_link=: (String? _) -> String?
|
|
159
|
-
|
|
160
|
-
def upstream_cnp_id: -> String?
|
|
161
|
-
|
|
162
|
-
def upstream_cnp_id=: (String? _) -> String?
|
|
163
|
-
|
|
164
|
-
def use_cases: -> ::Array[Sentdm::Profiles::TcrCampaignWithUseCases::UseCase]?
|
|
165
|
-
|
|
166
|
-
def use_cases=: (
|
|
167
|
-
::Array[Sentdm::Profiles::TcrCampaignWithUseCases::UseCase] _
|
|
168
|
-
) -> ::Array[Sentdm::Profiles::TcrCampaignWithUseCases::UseCase]
|
|
169
|
-
|
|
170
|
-
def initialize: (
|
|
171
|
-
description: String,
|
|
172
|
-
name: String,
|
|
173
|
-
type: String,
|
|
174
|
-
?billed_date: Time?,
|
|
175
|
-
?brand_id: String?,
|
|
176
|
-
?cost: Float?,
|
|
177
|
-
?csp_id: String?,
|
|
178
|
-
?customer_id: String,
|
|
179
|
-
?dca_elections_complete: bool?,
|
|
180
|
-
?dca_elections_completed_at: Time?,
|
|
181
|
-
?has_submission_transaction: bool,
|
|
182
|
-
?help_keywords: String?,
|
|
183
|
-
?help_message: String?,
|
|
184
|
-
?kyc_submission_form_id: String?,
|
|
185
|
-
?message_flow: String?,
|
|
186
|
-
?optin_keywords: String?,
|
|
187
|
-
?optin_message: String?,
|
|
188
|
-
?optout_keywords: String?,
|
|
189
|
-
?optout_message: String?,
|
|
190
|
-
?privacy_policy_link: String?,
|
|
191
|
-
?reseller_id: String?,
|
|
192
|
-
?sharing_status: Sentdm::Models::Profiles::TcrCampaignWithUseCases::sharing_status?,
|
|
193
|
-
?status: Sentdm::Models::Profiles::TcrCampaignWithUseCases::status?,
|
|
194
|
-
?submitted_at: Time?,
|
|
195
|
-
?submitted_to_tcr: bool,
|
|
196
|
-
?tcr_campaign_id: String?,
|
|
197
|
-
?tcr_sync_error: String?,
|
|
198
|
-
?telnyx_campaign_id: String?,
|
|
199
|
-
?terms_and_conditions_link: String?,
|
|
200
|
-
?upstream_cnp_id: String?,
|
|
201
|
-
?use_cases: ::Array[Sentdm::Profiles::TcrCampaignWithUseCases::UseCase]
|
|
202
|
-
) -> void
|
|
203
|
-
|
|
204
|
-
def to_hash: -> {
|
|
205
|
-
description: String,
|
|
206
|
-
name: String,
|
|
207
|
-
type: String,
|
|
208
|
-
billed_date: Time?,
|
|
209
|
-
brand_id: String?,
|
|
210
|
-
cost: Float?,
|
|
211
|
-
csp_id: String?,
|
|
212
|
-
customer_id: String,
|
|
213
|
-
dca_elections_complete: bool?,
|
|
214
|
-
dca_elections_completed_at: Time?,
|
|
215
|
-
has_submission_transaction: bool,
|
|
216
|
-
help_keywords: String?,
|
|
217
|
-
help_message: String?,
|
|
218
|
-
kyc_submission_form_id: String?,
|
|
219
|
-
message_flow: String?,
|
|
220
|
-
optin_keywords: String?,
|
|
221
|
-
optin_message: String?,
|
|
222
|
-
optout_keywords: String?,
|
|
223
|
-
optout_message: String?,
|
|
224
|
-
privacy_policy_link: String?,
|
|
225
|
-
reseller_id: String?,
|
|
226
|
-
sharing_status: Sentdm::Models::Profiles::TcrCampaignWithUseCases::sharing_status?,
|
|
227
|
-
status: Sentdm::Models::Profiles::TcrCampaignWithUseCases::status?,
|
|
228
|
-
submitted_at: Time?,
|
|
229
|
-
submitted_to_tcr: bool,
|
|
230
|
-
tcr_campaign_id: String?,
|
|
231
|
-
tcr_sync_error: String?,
|
|
232
|
-
telnyx_campaign_id: String?,
|
|
233
|
-
terms_and_conditions_link: String?,
|
|
234
|
-
upstream_cnp_id: String?,
|
|
235
|
-
use_cases: ::Array[Sentdm::Profiles::TcrCampaignWithUseCases::UseCase]
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
type sharing_status = :PENDING | :ACCEPTED | :DECLINED
|
|
239
|
-
|
|
240
|
-
module SharingStatus
|
|
241
|
-
extend Sentdm::Internal::Type::Enum
|
|
242
|
-
|
|
243
|
-
PENDING: :PENDING
|
|
244
|
-
ACCEPTED: :ACCEPTED
|
|
245
|
-
DECLINED: :DECLINED
|
|
246
|
-
|
|
247
|
-
def self?.values: -> ::Array[Sentdm::Models::Profiles::TcrCampaignWithUseCases::sharing_status]
|
|
248
|
-
end
|
|
249
|
-
|
|
250
|
-
type status = :SENT_CREATED | :ACTIVE | :EXPIRED
|
|
251
|
-
|
|
252
|
-
module Status
|
|
253
|
-
extend Sentdm::Internal::Type::Enum
|
|
254
|
-
|
|
255
|
-
SENT_CREATED: :SENT_CREATED
|
|
256
|
-
ACTIVE: :ACTIVE
|
|
257
|
-
EXPIRED: :EXPIRED
|
|
258
|
-
|
|
259
|
-
def self?.values: -> ::Array[Sentdm::Models::Profiles::TcrCampaignWithUseCases::status]
|
|
260
|
-
end
|
|
261
|
-
|
|
262
|
-
type use_case =
|
|
263
|
-
{
|
|
264
|
-
sample_messages: ::Array[String],
|
|
265
|
-
campaign_id: String,
|
|
266
|
-
customer_id: String,
|
|
267
|
-
messaging_use_case_us: Sentdm::Models::Profiles::messaging_use_case_us
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
class UseCase < Sentdm::Models::Profiles::BaseDto
|
|
271
|
-
def sample_messages: -> ::Array[String]
|
|
272
|
-
|
|
273
|
-
def sample_messages=: (::Array[String] _) -> ::Array[String]
|
|
274
|
-
|
|
275
|
-
def campaign_id: -> String?
|
|
276
|
-
|
|
277
|
-
def campaign_id=: (String _) -> String
|
|
278
|
-
|
|
279
|
-
def customer_id: -> String?
|
|
280
|
-
|
|
281
|
-
def customer_id=: (String _) -> String
|
|
282
|
-
|
|
283
|
-
def messaging_use_case_us: -> Sentdm::Models::Profiles::messaging_use_case_us?
|
|
284
|
-
|
|
285
|
-
def messaging_use_case_us=: (
|
|
286
|
-
Sentdm::Models::Profiles::messaging_use_case_us _
|
|
287
|
-
) -> Sentdm::Models::Profiles::messaging_use_case_us
|
|
288
|
-
|
|
289
|
-
def initialize: (
|
|
290
|
-
sample_messages: ::Array[String],
|
|
291
|
-
?campaign_id: String,
|
|
292
|
-
?customer_id: String,
|
|
293
|
-
?messaging_use_case_us: Sentdm::Models::Profiles::messaging_use_case_us
|
|
294
|
-
) -> void
|
|
295
|
-
|
|
296
|
-
def to_hash: -> {
|
|
297
|
-
sample_messages: ::Array[String],
|
|
298
|
-
campaign_id: String,
|
|
299
|
-
customer_id: String,
|
|
300
|
-
messaging_use_case_us: Sentdm::Models::Profiles::messaging_use_case_us
|
|
301
|
-
}
|
|
302
|
-
end
|
|
303
|
-
end
|
|
304
|
-
end
|
|
305
|
-
end
|
|
306
|
-
end
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
module Sentdm
|
|
2
|
-
module Models
|
|
3
|
-
type sent_dm_services_common_contracts_poc_os_template_button =
|
|
4
|
-
{
|
|
5
|
-
props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps,
|
|
6
|
-
type: String,
|
|
7
|
-
id: Integer
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
class SentDmServicesCommonContractsPocOsTemplateButton < Sentdm::Internal::Type::BaseModel
|
|
11
|
-
attr_accessor props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps
|
|
12
|
-
|
|
13
|
-
attr_accessor type: String
|
|
14
|
-
|
|
15
|
-
attr_reader id: Integer?
|
|
16
|
-
|
|
17
|
-
def id=: (Integer) -> Integer
|
|
18
|
-
|
|
19
|
-
def initialize: (
|
|
20
|
-
props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps,
|
|
21
|
-
type: String,
|
|
22
|
-
?id: Integer
|
|
23
|
-
) -> void
|
|
24
|
-
|
|
25
|
-
def to_hash: -> {
|
|
26
|
-
props: Sentdm::SentDmServicesCommonContractsPocOsTemplateButtonProps,
|
|
27
|
-
type: String,
|
|
28
|
-
id: Integer
|
|
29
|
-
}
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|