sentdm 0.47.0 → 0.48.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 +7 -0
- data/README.md +1 -1
- data/lib/sentdm/models/channels/sms/api_response_of_supplied_compliance.rb +67 -0
- data/lib/sentdm/models/channels/sms/ten_dlc_add_campaign_params.rb +161 -0
- data/lib/sentdm/models/channels/sms/ten_dlc_add_numbers_params.rb +65 -0
- data/lib/sentdm/models/channels/sms/ten_dlc_campaign_use_case.rb +56 -0
- data/lib/sentdm/models/channels/sms/ten_dlc_retrieve_compliance_params.rb +24 -0
- data/lib/sentdm/models/channels/sms/ten_dlc_update_campaign_params.rb +168 -0
- data/lib/sentdm/resources/channels/sms/ten_dlc.rb +310 -0
- data/lib/sentdm/resources/channels/sms.rb +31 -0
- data/lib/sentdm/version.rb +1 -1
- data/lib/sentdm.rb +7 -0
- data/rbi/sentdm/models/channels/sms/api_response_of_supplied_compliance.rbi +117 -0
- data/rbi/sentdm/models/channels/sms/ten_dlc_add_campaign_params.rbi +255 -0
- data/rbi/sentdm/models/channels/sms/ten_dlc_add_numbers_params.rbi +100 -0
- data/rbi/sentdm/models/channels/sms/ten_dlc_campaign_use_case.rbi +143 -0
- data/rbi/sentdm/models/channels/sms/ten_dlc_retrieve_compliance_params.rbi +45 -0
- data/rbi/sentdm/models/channels/sms/ten_dlc_update_campaign_params.rbi +264 -0
- data/rbi/sentdm/resources/channels/sms/ten_dlc.rbi +358 -0
- data/rbi/sentdm/resources/channels/sms.rbi +30 -0
- data/sig/sentdm/models/channels/sms/api_response_of_supplied_compliance.rbs +43 -0
- data/sig/sentdm/models/channels/sms/ten_dlc_add_campaign_params.rbs +130 -0
- data/sig/sentdm/models/channels/sms/ten_dlc_add_numbers_params.rbs +54 -0
- data/sig/sentdm/models/channels/sms/ten_dlc_campaign_use_case.rbs +60 -0
- data/sig/sentdm/models/channels/sms/ten_dlc_retrieve_compliance_params.rbs +29 -0
- data/sig/sentdm/models/channels/sms/ten_dlc_update_campaign_params.rbs +137 -0
- data/sig/sentdm/resources/channels/sms/ten_dlc.rbs +64 -0
- data/sig/sentdm/resources/channels/sms.rbs +2 -0
- metadata +22 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
module Channels
|
|
4
|
+
module SMS
|
|
5
|
+
type api_response_of_supplied_compliance =
|
|
6
|
+
{
|
|
7
|
+
data: Sentdm::Channels::SuppliedCompliance?,
|
|
8
|
+
error: Sentdm::ErrorDetail?,
|
|
9
|
+
meta: Sentdm::APIMeta,
|
|
10
|
+
success: bool
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
class APIResponseOfSuppliedCompliance < Sentdm::Internal::Type::BaseModel
|
|
14
|
+
attr_accessor data: Sentdm::Channels::SuppliedCompliance?
|
|
15
|
+
|
|
16
|
+
attr_accessor error: Sentdm::ErrorDetail?
|
|
17
|
+
|
|
18
|
+
attr_reader meta: Sentdm::APIMeta?
|
|
19
|
+
|
|
20
|
+
def meta=: (Sentdm::APIMeta) -> Sentdm::APIMeta
|
|
21
|
+
|
|
22
|
+
attr_reader success: bool?
|
|
23
|
+
|
|
24
|
+
def success=: (bool) -> bool
|
|
25
|
+
|
|
26
|
+
def initialize: (
|
|
27
|
+
?data: Sentdm::Channels::SuppliedCompliance?,
|
|
28
|
+
?error: Sentdm::ErrorDetail?,
|
|
29
|
+
?meta: Sentdm::APIMeta,
|
|
30
|
+
?success: bool
|
|
31
|
+
) -> void
|
|
32
|
+
|
|
33
|
+
def to_hash: -> {
|
|
34
|
+
data: Sentdm::Channels::SuppliedCompliance?,
|
|
35
|
+
error: Sentdm::ErrorDetail?,
|
|
36
|
+
meta: Sentdm::APIMeta,
|
|
37
|
+
success: bool
|
|
38
|
+
}
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
module Channels
|
|
4
|
+
module SMS
|
|
5
|
+
type ten_dlc_add_campaign_params =
|
|
6
|
+
{
|
|
7
|
+
idempotency_key: String,
|
|
8
|
+
description: String,
|
|
9
|
+
help_keywords: String,
|
|
10
|
+
help_message: String,
|
|
11
|
+
message_flow: String,
|
|
12
|
+
opt_in_keywords: String,
|
|
13
|
+
opt_in_message: String,
|
|
14
|
+
opt_out_keywords: String,
|
|
15
|
+
opt_out_message: String,
|
|
16
|
+
privacy_policy_link: String,
|
|
17
|
+
sandbox: bool,
|
|
18
|
+
terms_and_conditions_link: String,
|
|
19
|
+
use_cases: ::Array[Sentdm::Channels::SMS::TenDlcCampaignUseCase],
|
|
20
|
+
volume: String,
|
|
21
|
+
x_profile_id: String
|
|
22
|
+
}
|
|
23
|
+
& Sentdm::Internal::Type::request_parameters
|
|
24
|
+
|
|
25
|
+
class TenDlcAddCampaignParams < Sentdm::Internal::Type::BaseModel
|
|
26
|
+
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
27
|
+
include Sentdm::Internal::Type::RequestParameters
|
|
28
|
+
|
|
29
|
+
attr_accessor idempotency_key: String
|
|
30
|
+
|
|
31
|
+
attr_reader description: String?
|
|
32
|
+
|
|
33
|
+
def description=: (String) -> String
|
|
34
|
+
|
|
35
|
+
attr_reader help_keywords: String?
|
|
36
|
+
|
|
37
|
+
def help_keywords=: (String) -> String
|
|
38
|
+
|
|
39
|
+
attr_reader help_message: String?
|
|
40
|
+
|
|
41
|
+
def help_message=: (String) -> String
|
|
42
|
+
|
|
43
|
+
attr_reader message_flow: String?
|
|
44
|
+
|
|
45
|
+
def message_flow=: (String) -> String
|
|
46
|
+
|
|
47
|
+
attr_reader opt_in_keywords: String?
|
|
48
|
+
|
|
49
|
+
def opt_in_keywords=: (String) -> String
|
|
50
|
+
|
|
51
|
+
attr_reader opt_in_message: String?
|
|
52
|
+
|
|
53
|
+
def opt_in_message=: (String) -> String
|
|
54
|
+
|
|
55
|
+
attr_reader opt_out_keywords: String?
|
|
56
|
+
|
|
57
|
+
def opt_out_keywords=: (String) -> String
|
|
58
|
+
|
|
59
|
+
attr_reader opt_out_message: String?
|
|
60
|
+
|
|
61
|
+
def opt_out_message=: (String) -> String
|
|
62
|
+
|
|
63
|
+
attr_reader privacy_policy_link: String?
|
|
64
|
+
|
|
65
|
+
def privacy_policy_link=: (String) -> String
|
|
66
|
+
|
|
67
|
+
attr_reader sandbox: bool?
|
|
68
|
+
|
|
69
|
+
def sandbox=: (bool) -> bool
|
|
70
|
+
|
|
71
|
+
attr_reader terms_and_conditions_link: String?
|
|
72
|
+
|
|
73
|
+
def terms_and_conditions_link=: (String) -> String
|
|
74
|
+
|
|
75
|
+
attr_reader use_cases: ::Array[Sentdm::Channels::SMS::TenDlcCampaignUseCase]?
|
|
76
|
+
|
|
77
|
+
def use_cases=: (
|
|
78
|
+
::Array[Sentdm::Channels::SMS::TenDlcCampaignUseCase]
|
|
79
|
+
) -> ::Array[Sentdm::Channels::SMS::TenDlcCampaignUseCase]
|
|
80
|
+
|
|
81
|
+
attr_reader volume: String?
|
|
82
|
+
|
|
83
|
+
def volume=: (String) -> String
|
|
84
|
+
|
|
85
|
+
attr_reader x_profile_id: String?
|
|
86
|
+
|
|
87
|
+
def x_profile_id=: (String) -> String
|
|
88
|
+
|
|
89
|
+
def initialize: (
|
|
90
|
+
idempotency_key: String,
|
|
91
|
+
?description: String,
|
|
92
|
+
?help_keywords: String,
|
|
93
|
+
?help_message: String,
|
|
94
|
+
?message_flow: String,
|
|
95
|
+
?opt_in_keywords: String,
|
|
96
|
+
?opt_in_message: String,
|
|
97
|
+
?opt_out_keywords: String,
|
|
98
|
+
?opt_out_message: String,
|
|
99
|
+
?privacy_policy_link: String,
|
|
100
|
+
?sandbox: bool,
|
|
101
|
+
?terms_and_conditions_link: String,
|
|
102
|
+
?use_cases: ::Array[Sentdm::Channels::SMS::TenDlcCampaignUseCase],
|
|
103
|
+
?volume: String,
|
|
104
|
+
?x_profile_id: String,
|
|
105
|
+
?request_options: Sentdm::request_opts
|
|
106
|
+
) -> void
|
|
107
|
+
|
|
108
|
+
def to_hash: -> {
|
|
109
|
+
idempotency_key: String,
|
|
110
|
+
description: String,
|
|
111
|
+
help_keywords: String,
|
|
112
|
+
help_message: String,
|
|
113
|
+
message_flow: String,
|
|
114
|
+
opt_in_keywords: String,
|
|
115
|
+
opt_in_message: String,
|
|
116
|
+
opt_out_keywords: String,
|
|
117
|
+
opt_out_message: String,
|
|
118
|
+
privacy_policy_link: String,
|
|
119
|
+
sandbox: bool,
|
|
120
|
+
terms_and_conditions_link: String,
|
|
121
|
+
use_cases: ::Array[Sentdm::Channels::SMS::TenDlcCampaignUseCase],
|
|
122
|
+
volume: String,
|
|
123
|
+
x_profile_id: String,
|
|
124
|
+
request_options: Sentdm::RequestOptions
|
|
125
|
+
}
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
module Channels
|
|
4
|
+
module SMS
|
|
5
|
+
type ten_dlc_add_numbers_params =
|
|
6
|
+
{
|
|
7
|
+
campaign_id: String,
|
|
8
|
+
numbers: ::Array[Sentdm::Channels::SMSNumberRequest?],
|
|
9
|
+
idempotency_key: String,
|
|
10
|
+
sandbox: bool,
|
|
11
|
+
x_profile_id: String
|
|
12
|
+
}
|
|
13
|
+
& Sentdm::Internal::Type::request_parameters
|
|
14
|
+
|
|
15
|
+
class TenDlcAddNumbersParams < Sentdm::Internal::Type::BaseModel
|
|
16
|
+
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
17
|
+
include Sentdm::Internal::Type::RequestParameters
|
|
18
|
+
|
|
19
|
+
attr_accessor campaign_id: String
|
|
20
|
+
|
|
21
|
+
attr_accessor numbers: ::Array[Sentdm::Channels::SMSNumberRequest?]
|
|
22
|
+
|
|
23
|
+
attr_accessor idempotency_key: String
|
|
24
|
+
|
|
25
|
+
attr_reader sandbox: bool?
|
|
26
|
+
|
|
27
|
+
def sandbox=: (bool) -> bool
|
|
28
|
+
|
|
29
|
+
attr_reader x_profile_id: String?
|
|
30
|
+
|
|
31
|
+
def x_profile_id=: (String) -> String
|
|
32
|
+
|
|
33
|
+
def initialize: (
|
|
34
|
+
campaign_id: String,
|
|
35
|
+
numbers: ::Array[Sentdm::Channels::SMSNumberRequest?],
|
|
36
|
+
idempotency_key: String,
|
|
37
|
+
?sandbox: bool,
|
|
38
|
+
?x_profile_id: String,
|
|
39
|
+
?request_options: Sentdm::request_opts
|
|
40
|
+
) -> void
|
|
41
|
+
|
|
42
|
+
def to_hash: -> {
|
|
43
|
+
campaign_id: String,
|
|
44
|
+
numbers: ::Array[Sentdm::Channels::SMSNumberRequest?],
|
|
45
|
+
idempotency_key: String,
|
|
46
|
+
sandbox: bool,
|
|
47
|
+
x_profile_id: String,
|
|
48
|
+
request_options: Sentdm::RequestOptions
|
|
49
|
+
}
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
module Channels
|
|
4
|
+
module SMS
|
|
5
|
+
type ten_dlc_campaign_use_case =
|
|
6
|
+
{
|
|
7
|
+
sample_messages: ::Array[top],
|
|
8
|
+
use_case: Sentdm::Models::Channels::SMS::TenDlcCampaignUseCase::use_case
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
class TenDlcCampaignUseCase < Sentdm::Internal::Type::BaseModel
|
|
12
|
+
attr_accessor sample_messages: ::Array[top]
|
|
13
|
+
|
|
14
|
+
attr_accessor use_case: Sentdm::Models::Channels::SMS::TenDlcCampaignUseCase::use_case
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
sample_messages: ::Array[top],
|
|
18
|
+
use_case: Sentdm::Models::Channels::SMS::TenDlcCampaignUseCase::use_case
|
|
19
|
+
) -> void
|
|
20
|
+
|
|
21
|
+
def to_hash: -> {
|
|
22
|
+
sample_messages: ::Array[top],
|
|
23
|
+
use_case: Sentdm::Models::Channels::SMS::TenDlcCampaignUseCase::use_case
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
type use_case =
|
|
27
|
+
:MARKETING
|
|
28
|
+
| :ACCOUNT_NOTIFICATION
|
|
29
|
+
| :CUSTOMER_CARE
|
|
30
|
+
| :FRAUD_ALERT
|
|
31
|
+
| :"2FA"
|
|
32
|
+
| :DELIVERY_NOTIFICATION
|
|
33
|
+
| :SECURITY_ALERT
|
|
34
|
+
| :M2M
|
|
35
|
+
| :HIGHER_EDUCATION
|
|
36
|
+
| :POLLING_VOTING
|
|
37
|
+
| :PUBLIC_SERVICE_ANNOUNCEMENT
|
|
38
|
+
|
|
39
|
+
module UseCase
|
|
40
|
+
extend Sentdm::Internal::Type::Enum
|
|
41
|
+
|
|
42
|
+
MARKETING: :MARKETING
|
|
43
|
+
ACCOUNT_NOTIFICATION: :ACCOUNT_NOTIFICATION
|
|
44
|
+
CUSTOMER_CARE: :CUSTOMER_CARE
|
|
45
|
+
FRAUD_ALERT: :FRAUD_ALERT
|
|
46
|
+
USE_CASE_2_FA: :"2FA"
|
|
47
|
+
DELIVERY_NOTIFICATION: :DELIVERY_NOTIFICATION
|
|
48
|
+
SECURITY_ALERT: :SECURITY_ALERT
|
|
49
|
+
M2_M: :M2M
|
|
50
|
+
HIGHER_EDUCATION: :HIGHER_EDUCATION
|
|
51
|
+
POLLING_VOTING: :POLLING_VOTING
|
|
52
|
+
PUBLIC_SERVICE_ANNOUNCEMENT: :PUBLIC_SERVICE_ANNOUNCEMENT
|
|
53
|
+
|
|
54
|
+
def self?.values: -> ::Array[Sentdm::Models::Channels::SMS::TenDlcCampaignUseCase::use_case]
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
module Channels
|
|
4
|
+
module SMS
|
|
5
|
+
type ten_dlc_retrieve_compliance_params =
|
|
6
|
+
{ x_profile_id: String } & Sentdm::Internal::Type::request_parameters
|
|
7
|
+
|
|
8
|
+
class TenDlcRetrieveComplianceParams < Sentdm::Internal::Type::BaseModel
|
|
9
|
+
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Sentdm::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
attr_reader x_profile_id: String?
|
|
13
|
+
|
|
14
|
+
def x_profile_id=: (String) -> String
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
?x_profile_id: String,
|
|
18
|
+
?request_options: Sentdm::request_opts
|
|
19
|
+
) -> void
|
|
20
|
+
|
|
21
|
+
def to_hash: -> {
|
|
22
|
+
x_profile_id: String,
|
|
23
|
+
request_options: Sentdm::RequestOptions
|
|
24
|
+
}
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Models
|
|
3
|
+
module Channels
|
|
4
|
+
module SMS
|
|
5
|
+
type ten_dlc_update_campaign_params =
|
|
6
|
+
{
|
|
7
|
+
campaign_id: String,
|
|
8
|
+
description: String,
|
|
9
|
+
help_keywords: String,
|
|
10
|
+
help_message: String,
|
|
11
|
+
message_flow: String,
|
|
12
|
+
opt_in_keywords: String,
|
|
13
|
+
opt_in_message: String,
|
|
14
|
+
opt_out_keywords: String,
|
|
15
|
+
opt_out_message: String,
|
|
16
|
+
privacy_policy_link: String,
|
|
17
|
+
sandbox: bool,
|
|
18
|
+
terms_and_conditions_link: String,
|
|
19
|
+
use_cases: ::Array[Sentdm::Channels::SMS::TenDlcCampaignUseCase],
|
|
20
|
+
volume: String,
|
|
21
|
+
idempotency_key: String,
|
|
22
|
+
x_profile_id: String
|
|
23
|
+
}
|
|
24
|
+
& Sentdm::Internal::Type::request_parameters
|
|
25
|
+
|
|
26
|
+
class TenDlcUpdateCampaignParams < Sentdm::Internal::Type::BaseModel
|
|
27
|
+
extend Sentdm::Internal::Type::RequestParameters::Converter
|
|
28
|
+
include Sentdm::Internal::Type::RequestParameters
|
|
29
|
+
|
|
30
|
+
attr_accessor campaign_id: String
|
|
31
|
+
|
|
32
|
+
attr_reader description: String?
|
|
33
|
+
|
|
34
|
+
def description=: (String) -> String
|
|
35
|
+
|
|
36
|
+
attr_reader help_keywords: String?
|
|
37
|
+
|
|
38
|
+
def help_keywords=: (String) -> String
|
|
39
|
+
|
|
40
|
+
attr_reader help_message: String?
|
|
41
|
+
|
|
42
|
+
def help_message=: (String) -> String
|
|
43
|
+
|
|
44
|
+
attr_reader message_flow: String?
|
|
45
|
+
|
|
46
|
+
def message_flow=: (String) -> String
|
|
47
|
+
|
|
48
|
+
attr_reader opt_in_keywords: String?
|
|
49
|
+
|
|
50
|
+
def opt_in_keywords=: (String) -> String
|
|
51
|
+
|
|
52
|
+
attr_reader opt_in_message: String?
|
|
53
|
+
|
|
54
|
+
def opt_in_message=: (String) -> String
|
|
55
|
+
|
|
56
|
+
attr_reader opt_out_keywords: String?
|
|
57
|
+
|
|
58
|
+
def opt_out_keywords=: (String) -> String
|
|
59
|
+
|
|
60
|
+
attr_reader opt_out_message: String?
|
|
61
|
+
|
|
62
|
+
def opt_out_message=: (String) -> String
|
|
63
|
+
|
|
64
|
+
attr_reader privacy_policy_link: String?
|
|
65
|
+
|
|
66
|
+
def privacy_policy_link=: (String) -> String
|
|
67
|
+
|
|
68
|
+
attr_reader sandbox: bool?
|
|
69
|
+
|
|
70
|
+
def sandbox=: (bool) -> bool
|
|
71
|
+
|
|
72
|
+
attr_reader terms_and_conditions_link: String?
|
|
73
|
+
|
|
74
|
+
def terms_and_conditions_link=: (String) -> String
|
|
75
|
+
|
|
76
|
+
attr_reader use_cases: ::Array[Sentdm::Channels::SMS::TenDlcCampaignUseCase]?
|
|
77
|
+
|
|
78
|
+
def use_cases=: (
|
|
79
|
+
::Array[Sentdm::Channels::SMS::TenDlcCampaignUseCase]
|
|
80
|
+
) -> ::Array[Sentdm::Channels::SMS::TenDlcCampaignUseCase]
|
|
81
|
+
|
|
82
|
+
attr_reader volume: String?
|
|
83
|
+
|
|
84
|
+
def volume=: (String) -> String
|
|
85
|
+
|
|
86
|
+
attr_reader idempotency_key: String?
|
|
87
|
+
|
|
88
|
+
def idempotency_key=: (String) -> String
|
|
89
|
+
|
|
90
|
+
attr_reader x_profile_id: String?
|
|
91
|
+
|
|
92
|
+
def x_profile_id=: (String) -> String
|
|
93
|
+
|
|
94
|
+
def initialize: (
|
|
95
|
+
campaign_id: String,
|
|
96
|
+
?description: String,
|
|
97
|
+
?help_keywords: String,
|
|
98
|
+
?help_message: String,
|
|
99
|
+
?message_flow: String,
|
|
100
|
+
?opt_in_keywords: String,
|
|
101
|
+
?opt_in_message: String,
|
|
102
|
+
?opt_out_keywords: String,
|
|
103
|
+
?opt_out_message: String,
|
|
104
|
+
?privacy_policy_link: String,
|
|
105
|
+
?sandbox: bool,
|
|
106
|
+
?terms_and_conditions_link: String,
|
|
107
|
+
?use_cases: ::Array[Sentdm::Channels::SMS::TenDlcCampaignUseCase],
|
|
108
|
+
?volume: String,
|
|
109
|
+
?idempotency_key: String,
|
|
110
|
+
?x_profile_id: String,
|
|
111
|
+
?request_options: Sentdm::request_opts
|
|
112
|
+
) -> void
|
|
113
|
+
|
|
114
|
+
def to_hash: -> {
|
|
115
|
+
campaign_id: String,
|
|
116
|
+
description: String,
|
|
117
|
+
help_keywords: String,
|
|
118
|
+
help_message: String,
|
|
119
|
+
message_flow: String,
|
|
120
|
+
opt_in_keywords: String,
|
|
121
|
+
opt_in_message: String,
|
|
122
|
+
opt_out_keywords: String,
|
|
123
|
+
opt_out_message: String,
|
|
124
|
+
privacy_policy_link: String,
|
|
125
|
+
sandbox: bool,
|
|
126
|
+
terms_and_conditions_link: String,
|
|
127
|
+
use_cases: ::Array[Sentdm::Channels::SMS::TenDlcCampaignUseCase],
|
|
128
|
+
volume: String,
|
|
129
|
+
idempotency_key: String,
|
|
130
|
+
x_profile_id: String,
|
|
131
|
+
request_options: Sentdm::RequestOptions
|
|
132
|
+
}
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
end
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
module Sentdm
|
|
2
|
+
module Resources
|
|
3
|
+
class Channels
|
|
4
|
+
class SMS
|
|
5
|
+
class TenDlc
|
|
6
|
+
def add_campaign: (
|
|
7
|
+
idempotency_key: String,
|
|
8
|
+
?description: String,
|
|
9
|
+
?help_keywords: String,
|
|
10
|
+
?help_message: String,
|
|
11
|
+
?message_flow: String,
|
|
12
|
+
?opt_in_keywords: String,
|
|
13
|
+
?opt_in_message: String,
|
|
14
|
+
?opt_out_keywords: String,
|
|
15
|
+
?opt_out_message: String,
|
|
16
|
+
?privacy_policy_link: String,
|
|
17
|
+
?sandbox: bool,
|
|
18
|
+
?terms_and_conditions_link: String,
|
|
19
|
+
?use_cases: ::Array[Sentdm::Channels::SMS::TenDlcCampaignUseCase],
|
|
20
|
+
?volume: String,
|
|
21
|
+
?x_profile_id: String,
|
|
22
|
+
?request_options: Sentdm::request_opts
|
|
23
|
+
) -> Sentdm::Channels::APIResponseOfSMSMarket
|
|
24
|
+
|
|
25
|
+
def add_numbers: (
|
|
26
|
+
campaign_id: String,
|
|
27
|
+
numbers: ::Array[Sentdm::Channels::SMSNumberRequest?],
|
|
28
|
+
idempotency_key: String,
|
|
29
|
+
?sandbox: bool,
|
|
30
|
+
?x_profile_id: String,
|
|
31
|
+
?request_options: Sentdm::request_opts
|
|
32
|
+
) -> Sentdm::Channels::APIResponseOfSMSMarket
|
|
33
|
+
|
|
34
|
+
def retrieve_compliance: (
|
|
35
|
+
?x_profile_id: String,
|
|
36
|
+
?request_options: Sentdm::request_opts
|
|
37
|
+
) -> Sentdm::Channels::SMS::APIResponseOfSuppliedCompliance
|
|
38
|
+
|
|
39
|
+
def update_campaign: (
|
|
40
|
+
String campaign_id,
|
|
41
|
+
?description: String,
|
|
42
|
+
?help_keywords: String,
|
|
43
|
+
?help_message: String,
|
|
44
|
+
?message_flow: String,
|
|
45
|
+
?opt_in_keywords: String,
|
|
46
|
+
?opt_in_message: String,
|
|
47
|
+
?opt_out_keywords: String,
|
|
48
|
+
?opt_out_message: String,
|
|
49
|
+
?privacy_policy_link: String,
|
|
50
|
+
?sandbox: bool,
|
|
51
|
+
?terms_and_conditions_link: String,
|
|
52
|
+
?use_cases: ::Array[Sentdm::Channels::SMS::TenDlcCampaignUseCase],
|
|
53
|
+
?volume: String,
|
|
54
|
+
?idempotency_key: String,
|
|
55
|
+
?x_profile_id: String,
|
|
56
|
+
?request_options: Sentdm::request_opts
|
|
57
|
+
) -> Sentdm::Channels::APIResponseOfSMSMarket
|
|
58
|
+
|
|
59
|
+
def initialize: (client: Sentdm::Client) -> void
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sentdm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.48.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sent
|
|
@@ -142,6 +142,12 @@ files:
|
|
|
142
142
|
- lib/sentdm/models/channels/rc_create_params.rb
|
|
143
143
|
- lib/sentdm/models/channels/rcs_address.rb
|
|
144
144
|
- lib/sentdm/models/channels/rcs_agent.rb
|
|
145
|
+
- lib/sentdm/models/channels/sms/api_response_of_supplied_compliance.rb
|
|
146
|
+
- lib/sentdm/models/channels/sms/ten_dlc_add_campaign_params.rb
|
|
147
|
+
- lib/sentdm/models/channels/sms/ten_dlc_add_numbers_params.rb
|
|
148
|
+
- lib/sentdm/models/channels/sms/ten_dlc_campaign_use_case.rb
|
|
149
|
+
- lib/sentdm/models/channels/sms/ten_dlc_retrieve_compliance_params.rb
|
|
150
|
+
- lib/sentdm/models/channels/sms/ten_dlc_update_campaign_params.rb
|
|
145
151
|
- lib/sentdm/models/channels/sms_create_params.rb
|
|
146
152
|
- lib/sentdm/models/channels/sms_list_params.rb
|
|
147
153
|
- lib/sentdm/models/channels/sms_market.rb
|
|
@@ -367,6 +373,7 @@ files:
|
|
|
367
373
|
- lib/sentdm/resources/channels.rb
|
|
368
374
|
- lib/sentdm/resources/channels/rcs.rb
|
|
369
375
|
- lib/sentdm/resources/channels/sms.rb
|
|
376
|
+
- lib/sentdm/resources/channels/sms/ten_dlc.rb
|
|
370
377
|
- lib/sentdm/resources/channels/voice.rb
|
|
371
378
|
- lib/sentdm/resources/channels/whatsapp.rb
|
|
372
379
|
- lib/sentdm/resources/compliance.rb
|
|
@@ -481,6 +488,12 @@ files:
|
|
|
481
488
|
- rbi/sentdm/models/channels/rc_create_params.rbi
|
|
482
489
|
- rbi/sentdm/models/channels/rcs_address.rbi
|
|
483
490
|
- rbi/sentdm/models/channels/rcs_agent.rbi
|
|
491
|
+
- rbi/sentdm/models/channels/sms/api_response_of_supplied_compliance.rbi
|
|
492
|
+
- rbi/sentdm/models/channels/sms/ten_dlc_add_campaign_params.rbi
|
|
493
|
+
- rbi/sentdm/models/channels/sms/ten_dlc_add_numbers_params.rbi
|
|
494
|
+
- rbi/sentdm/models/channels/sms/ten_dlc_campaign_use_case.rbi
|
|
495
|
+
- rbi/sentdm/models/channels/sms/ten_dlc_retrieve_compliance_params.rbi
|
|
496
|
+
- rbi/sentdm/models/channels/sms/ten_dlc_update_campaign_params.rbi
|
|
484
497
|
- rbi/sentdm/models/channels/sms_create_params.rbi
|
|
485
498
|
- rbi/sentdm/models/channels/sms_list_params.rbi
|
|
486
499
|
- rbi/sentdm/models/channels/sms_market.rbi
|
|
@@ -706,6 +719,7 @@ files:
|
|
|
706
719
|
- rbi/sentdm/resources/channels.rbi
|
|
707
720
|
- rbi/sentdm/resources/channels/rcs.rbi
|
|
708
721
|
- rbi/sentdm/resources/channels/sms.rbi
|
|
722
|
+
- rbi/sentdm/resources/channels/sms/ten_dlc.rbi
|
|
709
723
|
- rbi/sentdm/resources/channels/voice.rbi
|
|
710
724
|
- rbi/sentdm/resources/channels/whatsapp.rbi
|
|
711
725
|
- rbi/sentdm/resources/compliance.rbi
|
|
@@ -819,6 +833,12 @@ files:
|
|
|
819
833
|
- sig/sentdm/models/channels/rc_create_params.rbs
|
|
820
834
|
- sig/sentdm/models/channels/rcs_address.rbs
|
|
821
835
|
- sig/sentdm/models/channels/rcs_agent.rbs
|
|
836
|
+
- sig/sentdm/models/channels/sms/api_response_of_supplied_compliance.rbs
|
|
837
|
+
- sig/sentdm/models/channels/sms/ten_dlc_add_campaign_params.rbs
|
|
838
|
+
- sig/sentdm/models/channels/sms/ten_dlc_add_numbers_params.rbs
|
|
839
|
+
- sig/sentdm/models/channels/sms/ten_dlc_campaign_use_case.rbs
|
|
840
|
+
- sig/sentdm/models/channels/sms/ten_dlc_retrieve_compliance_params.rbs
|
|
841
|
+
- sig/sentdm/models/channels/sms/ten_dlc_update_campaign_params.rbs
|
|
822
842
|
- sig/sentdm/models/channels/sms_create_params.rbs
|
|
823
843
|
- sig/sentdm/models/channels/sms_list_params.rbs
|
|
824
844
|
- sig/sentdm/models/channels/sms_market.rbs
|
|
@@ -1044,6 +1064,7 @@ files:
|
|
|
1044
1064
|
- sig/sentdm/resources/channels.rbs
|
|
1045
1065
|
- sig/sentdm/resources/channels/rcs.rbs
|
|
1046
1066
|
- sig/sentdm/resources/channels/sms.rbs
|
|
1067
|
+
- sig/sentdm/resources/channels/sms/ten_dlc.rbs
|
|
1047
1068
|
- sig/sentdm/resources/channels/voice.rbs
|
|
1048
1069
|
- sig/sentdm/resources/channels/whatsapp.rbs
|
|
1049
1070
|
- sig/sentdm/resources/compliance.rbs
|