sentdm 0.31.0 → 0.33.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 +16 -0
- data/README.md +1 -1
- data/lib/sentdm/client.rb +6 -0
- data/lib/sentdm/models/channel_event.rb +78 -0
- data/lib/sentdm/models/channel_event_payload.rb +265 -0
- data/lib/sentdm/models/contact_event.rb +77 -0
- data/lib/sentdm/models/contact_event_payload.rb +172 -0
- data/lib/sentdm/models/conversation_messages_list.rb +125 -4
- data/lib/sentdm/models/inbound_message_event.rb +16 -8
- data/lib/sentdm/models/message_event.rb +16 -8
- data/lib/sentdm/models/message_event_payload.rb +30 -1
- data/lib/sentdm/models/message_retrieve_activities_response.rb +20 -5
- data/lib/sentdm/models/message_retrieve_status_response.rb +133 -6
- data/lib/sentdm/models/message_send_params.rb +67 -3
- data/lib/sentdm/models/message_send_response.rb +13 -4
- data/lib/sentdm/models/template.rb +36 -5
- data/lib/sentdm/models/template_body.rb +102 -12
- data/lib/sentdm/models/template_body_content.rb +35 -3
- data/lib/sentdm/models/template_button.rb +8 -2
- data/lib/sentdm/models/template_button_props.rb +12 -1
- data/lib/sentdm/models/template_definition.rb +14 -2
- data/lib/sentdm/models/template_event.rb +16 -8
- data/lib/sentdm/models/template_event_payload.rb +31 -4
- data/lib/sentdm/models/template_header.rb +91 -3
- data/lib/sentdm/models/template_variable.rb +35 -4
- data/lib/sentdm/models/webhook_list_events_response.rb +332 -9
- data/lib/sentdm/models.rb +8 -0
- data/lib/sentdm/resources/messages.rb +33 -5
- data/lib/sentdm/resources/templates.rb +28 -2
- data/lib/sentdm/version.rb +1 -1
- data/lib/sentdm.rb +5 -1
- data/rbi/sentdm/client.rbi +6 -0
- data/rbi/sentdm/models/channel_event.rbi +128 -0
- data/rbi/sentdm/models/channel_event_payload.rbi +440 -0
- data/rbi/sentdm/models/contact_event.rbi +126 -0
- data/rbi/sentdm/models/contact_event_payload.rbi +254 -0
- data/rbi/sentdm/models/conversation_messages_list.rbi +202 -7
- data/rbi/sentdm/models/inbound_message_event.rbi +18 -10
- data/rbi/sentdm/models/message_event.rbi +18 -10
- data/rbi/sentdm/models/message_event_payload.rbi +34 -0
- data/rbi/sentdm/models/message_retrieve_activities_response.rbi +23 -5
- data/rbi/sentdm/models/message_retrieve_status_response.rbi +214 -9
- data/rbi/sentdm/models/message_send_params.rbi +100 -2
- data/rbi/sentdm/models/message_send_response.rbi +15 -5
- data/rbi/sentdm/models/template.rbi +58 -4
- data/rbi/sentdm/models/template_body.rbi +155 -13
- data/rbi/sentdm/models/template_body_content.rbi +59 -1
- data/rbi/sentdm/models/template_button.rbi +14 -2
- data/rbi/sentdm/models/template_button_props.rbi +22 -0
- data/rbi/sentdm/models/template_definition.rbi +20 -2
- data/rbi/sentdm/models/template_event.rbi +18 -10
- data/rbi/sentdm/models/template_event_payload.rbi +51 -8
- data/rbi/sentdm/models/template_header.rbi +143 -2
- data/rbi/sentdm/models/template_variable.rbi +38 -1
- data/rbi/sentdm/models/webhook_list_events_response.rbi +484 -12
- data/rbi/sentdm/models.rbi +8 -0
- data/rbi/sentdm/resources/messages.rbi +58 -3
- data/rbi/sentdm/resources/templates.rbi +28 -2
- data/sig/sentdm/models/channel_event.rbs +44 -0
- data/sig/sentdm/models/channel_event_payload.rbs +120 -0
- data/sig/sentdm/models/contact_event.rbs +44 -0
- data/sig/sentdm/models/contact_event_payload.rbs +78 -0
- data/sig/sentdm/models/conversation_messages_list.rbs +48 -3
- data/sig/sentdm/models/inbound_message_event.rbs +5 -0
- data/sig/sentdm/models/message_event.rbs +5 -0
- data/sig/sentdm/models/message_event_payload.rbs +15 -0
- data/sig/sentdm/models/message_retrieve_activities_response.rbs +5 -0
- data/sig/sentdm/models/message_retrieve_status_response.rbs +48 -3
- data/sig/sentdm/models/message_send_params.rbs +15 -0
- data/sig/sentdm/models/template.rbs +5 -0
- data/sig/sentdm/models/template_body.rbs +44 -0
- data/sig/sentdm/models/template_event.rbs +5 -0
- data/sig/sentdm/models/template_event_payload.rbs +9 -6
- data/sig/sentdm/models/template_header.rbs +44 -0
- data/sig/sentdm/models/webhook_list_events_response.rbs +147 -0
- data/sig/sentdm/models.rbs +8 -0
- data/sig/sentdm/resources/messages.rbs +3 -0
- metadata +14 -2
|
@@ -4,6 +4,7 @@ module Sentdm
|
|
|
4
4
|
{
|
|
5
5
|
customer_id: String,
|
|
6
6
|
id: String,
|
|
7
|
+
auto_reply_action: String?,
|
|
7
8
|
category: String,
|
|
8
9
|
channels: ::Array[String]?,
|
|
9
10
|
created_at: Time,
|
|
@@ -22,6 +23,8 @@ module Sentdm
|
|
|
22
23
|
|
|
23
24
|
def id=: (String) -> String
|
|
24
25
|
|
|
26
|
+
attr_accessor auto_reply_action: String?
|
|
27
|
+
|
|
25
28
|
attr_reader category: String?
|
|
26
29
|
|
|
27
30
|
def category=: (String) -> String
|
|
@@ -55,6 +58,7 @@ module Sentdm
|
|
|
55
58
|
def initialize: (
|
|
56
59
|
customer_id: String,
|
|
57
60
|
?id: String,
|
|
61
|
+
?auto_reply_action: String?,
|
|
58
62
|
?category: String,
|
|
59
63
|
?channels: ::Array[String]?,
|
|
60
64
|
?created_at: Time,
|
|
@@ -69,6 +73,7 @@ module Sentdm
|
|
|
69
73
|
def to_hash: -> {
|
|
70
74
|
customer_id: String,
|
|
71
75
|
id: String,
|
|
76
|
+
auto_reply_action: String?,
|
|
72
77
|
category: String,
|
|
73
78
|
channels: ::Array[String]?,
|
|
74
79
|
created_at: Time,
|
|
@@ -2,6 +2,7 @@ module Sentdm
|
|
|
2
2
|
module Models
|
|
3
3
|
type template_body =
|
|
4
4
|
{
|
|
5
|
+
mms: Sentdm::TemplateBody::Mms?,
|
|
5
6
|
multi_channel: Sentdm::TemplateBodyContent?,
|
|
6
7
|
rcs: Sentdm::TemplateBodyContent?,
|
|
7
8
|
sms: Sentdm::TemplateBodyContent?,
|
|
@@ -9,6 +10,8 @@ module Sentdm
|
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
class TemplateBody < Sentdm::Internal::Type::BaseModel
|
|
13
|
+
attr_accessor mms: Sentdm::TemplateBody::Mms?
|
|
14
|
+
|
|
12
15
|
attr_accessor multi_channel: Sentdm::TemplateBodyContent?
|
|
13
16
|
|
|
14
17
|
attr_accessor rcs: Sentdm::TemplateBodyContent?
|
|
@@ -18,6 +21,7 @@ module Sentdm
|
|
|
18
21
|
attr_accessor whatsapp: Sentdm::TemplateBodyContent?
|
|
19
22
|
|
|
20
23
|
def initialize: (
|
|
24
|
+
?mms: Sentdm::TemplateBody::Mms?,
|
|
21
25
|
?multi_channel: Sentdm::TemplateBodyContent?,
|
|
22
26
|
?rcs: Sentdm::TemplateBodyContent?,
|
|
23
27
|
?sms: Sentdm::TemplateBodyContent?,
|
|
@@ -25,11 +29,51 @@ module Sentdm
|
|
|
25
29
|
) -> void
|
|
26
30
|
|
|
27
31
|
def to_hash: -> {
|
|
32
|
+
mms: Sentdm::TemplateBody::Mms?,
|
|
28
33
|
multi_channel: Sentdm::TemplateBodyContent?,
|
|
29
34
|
rcs: Sentdm::TemplateBodyContent?,
|
|
30
35
|
sms: Sentdm::TemplateBodyContent?,
|
|
31
36
|
whatsapp: Sentdm::TemplateBodyContent?
|
|
32
37
|
}
|
|
38
|
+
|
|
39
|
+
type mms =
|
|
40
|
+
{ media: ::Array[Sentdm::TemplateBody::Mms::Media]?, subject: String? }
|
|
41
|
+
|
|
42
|
+
class Mms < Sentdm::Models::TemplateBodyContent
|
|
43
|
+
def media: -> ::Array[Sentdm::TemplateBody::Mms::Media]?
|
|
44
|
+
|
|
45
|
+
def media=: (
|
|
46
|
+
::Array[Sentdm::TemplateBody::Mms::Media]? _
|
|
47
|
+
) -> ::Array[Sentdm::TemplateBody::Mms::Media]?
|
|
48
|
+
|
|
49
|
+
def subject: -> String?
|
|
50
|
+
|
|
51
|
+
def subject=: (String? _) -> String?
|
|
52
|
+
|
|
53
|
+
def initialize: (
|
|
54
|
+
?media: ::Array[Sentdm::TemplateBody::Mms::Media]?,
|
|
55
|
+
?subject: String?
|
|
56
|
+
) -> void
|
|
57
|
+
|
|
58
|
+
def to_hash: -> {
|
|
59
|
+
media: ::Array[Sentdm::TemplateBody::Mms::Media]?,
|
|
60
|
+
subject: String?
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
type media = { media_type: String?, url: String }
|
|
64
|
+
|
|
65
|
+
class Media < Sentdm::Internal::Type::BaseModel
|
|
66
|
+
attr_accessor media_type: String?
|
|
67
|
+
|
|
68
|
+
attr_reader url: String?
|
|
69
|
+
|
|
70
|
+
def url=: (String) -> String
|
|
71
|
+
|
|
72
|
+
def initialize: (?media_type: String?, ?url: String) -> void
|
|
73
|
+
|
|
74
|
+
def to_hash: -> { media_type: String?, url: String }
|
|
75
|
+
end
|
|
76
|
+
end
|
|
33
77
|
end
|
|
34
78
|
end
|
|
35
79
|
end
|
|
@@ -5,6 +5,7 @@ module Sentdm
|
|
|
5
5
|
event: String?,
|
|
6
6
|
field: String,
|
|
7
7
|
payload: Sentdm::TemplateEventPayload?,
|
|
8
|
+
request_id: String?,
|
|
8
9
|
timestamp: String
|
|
9
10
|
}
|
|
10
11
|
|
|
@@ -17,6 +18,8 @@ module Sentdm
|
|
|
17
18
|
|
|
18
19
|
attr_accessor payload: Sentdm::TemplateEventPayload?
|
|
19
20
|
|
|
21
|
+
attr_accessor request_id: String?
|
|
22
|
+
|
|
20
23
|
attr_reader timestamp: String?
|
|
21
24
|
|
|
22
25
|
def timestamp=: (String) -> String
|
|
@@ -25,6 +28,7 @@ module Sentdm
|
|
|
25
28
|
?event: String?,
|
|
26
29
|
?field: String,
|
|
27
30
|
?payload: Sentdm::TemplateEventPayload?,
|
|
31
|
+
?request_id: String?,
|
|
28
32
|
?timestamp: String
|
|
29
33
|
) -> void
|
|
30
34
|
|
|
@@ -32,6 +36,7 @@ module Sentdm
|
|
|
32
36
|
event: String?,
|
|
33
37
|
field: String,
|
|
34
38
|
payload: Sentdm::TemplateEventPayload?,
|
|
39
|
+
request_id: String?,
|
|
35
40
|
timestamp: String
|
|
36
41
|
}
|
|
37
42
|
end
|
|
@@ -5,8 +5,9 @@ module Sentdm
|
|
|
5
5
|
status: String,
|
|
6
6
|
whatsapp_template_id: String,
|
|
7
7
|
account_id: String,
|
|
8
|
+
auto_reply_action: String?,
|
|
8
9
|
category: String,
|
|
9
|
-
channel: String
|
|
10
|
+
channel: String?,
|
|
10
11
|
language: String,
|
|
11
12
|
reason: String?,
|
|
12
13
|
template_id: String,
|
|
@@ -22,13 +23,13 @@ module Sentdm
|
|
|
22
23
|
|
|
23
24
|
def account_id=: (String) -> String
|
|
24
25
|
|
|
26
|
+
attr_accessor auto_reply_action: String?
|
|
27
|
+
|
|
25
28
|
attr_reader category: String?
|
|
26
29
|
|
|
27
30
|
def category=: (String) -> String
|
|
28
31
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
def channel=: (String) -> String
|
|
32
|
+
attr_accessor channel: String?
|
|
32
33
|
|
|
33
34
|
attr_reader language: String?
|
|
34
35
|
|
|
@@ -48,8 +49,9 @@ module Sentdm
|
|
|
48
49
|
status: String,
|
|
49
50
|
whatsapp_template_id: String,
|
|
50
51
|
?account_id: String,
|
|
52
|
+
?auto_reply_action: String?,
|
|
51
53
|
?category: String,
|
|
52
|
-
?channel: String
|
|
54
|
+
?channel: String?,
|
|
53
55
|
?language: String,
|
|
54
56
|
?reason: String?,
|
|
55
57
|
?template_id: String,
|
|
@@ -60,8 +62,9 @@ module Sentdm
|
|
|
60
62
|
status: String,
|
|
61
63
|
whatsapp_template_id: String,
|
|
62
64
|
account_id: String,
|
|
65
|
+
auto_reply_action: String?,
|
|
63
66
|
category: String,
|
|
64
|
-
channel: String
|
|
67
|
+
channel: String?,
|
|
65
68
|
language: String,
|
|
66
69
|
reason: String?,
|
|
67
70
|
template_id: String,
|
|
@@ -3,6 +3,9 @@ module Sentdm
|
|
|
3
3
|
type template_header =
|
|
4
4
|
{
|
|
5
5
|
template: String,
|
|
6
|
+
example_url: String?,
|
|
7
|
+
location: Sentdm::TemplateHeader::Location?,
|
|
8
|
+
static_resource: bool,
|
|
6
9
|
type: String?,
|
|
7
10
|
variables: ::Array[Sentdm::TemplateVariable]?
|
|
8
11
|
}
|
|
@@ -10,21 +13,62 @@ module Sentdm
|
|
|
10
13
|
class TemplateHeader < Sentdm::Internal::Type::BaseModel
|
|
11
14
|
attr_accessor template: String
|
|
12
15
|
|
|
16
|
+
attr_accessor example_url: String?
|
|
17
|
+
|
|
18
|
+
attr_accessor location: Sentdm::TemplateHeader::Location?
|
|
19
|
+
|
|
20
|
+
attr_reader static_resource: bool?
|
|
21
|
+
|
|
22
|
+
def static_resource=: (bool) -> bool
|
|
23
|
+
|
|
13
24
|
attr_accessor type: String?
|
|
14
25
|
|
|
15
26
|
attr_accessor variables: ::Array[Sentdm::TemplateVariable]?
|
|
16
27
|
|
|
17
28
|
def initialize: (
|
|
18
29
|
template: String,
|
|
30
|
+
?example_url: String?,
|
|
31
|
+
?location: Sentdm::TemplateHeader::Location?,
|
|
32
|
+
?static_resource: bool,
|
|
19
33
|
?type: String?,
|
|
20
34
|
?variables: ::Array[Sentdm::TemplateVariable]?
|
|
21
35
|
) -> void
|
|
22
36
|
|
|
23
37
|
def to_hash: -> {
|
|
24
38
|
template: String,
|
|
39
|
+
example_url: String?,
|
|
40
|
+
location: Sentdm::TemplateHeader::Location?,
|
|
41
|
+
static_resource: bool,
|
|
25
42
|
type: String?,
|
|
26
43
|
variables: ::Array[Sentdm::TemplateVariable]?
|
|
27
44
|
}
|
|
45
|
+
|
|
46
|
+
type location =
|
|
47
|
+
{ address: String, latitude: String, longitude: String, name: String }
|
|
48
|
+
|
|
49
|
+
class Location < Sentdm::Internal::Type::BaseModel
|
|
50
|
+
attr_accessor address: String
|
|
51
|
+
|
|
52
|
+
attr_accessor latitude: String
|
|
53
|
+
|
|
54
|
+
attr_accessor longitude: String
|
|
55
|
+
|
|
56
|
+
attr_accessor name: String
|
|
57
|
+
|
|
58
|
+
def initialize: (
|
|
59
|
+
address: String,
|
|
60
|
+
latitude: String,
|
|
61
|
+
longitude: String,
|
|
62
|
+
name: String
|
|
63
|
+
) -> void
|
|
64
|
+
|
|
65
|
+
def to_hash: -> {
|
|
66
|
+
address: String,
|
|
67
|
+
latitude: String,
|
|
68
|
+
longitude: String,
|
|
69
|
+
name: String
|
|
70
|
+
}
|
|
71
|
+
end
|
|
28
72
|
end
|
|
29
73
|
end
|
|
30
74
|
end
|
|
@@ -84,10 +84,157 @@ module Sentdm
|
|
|
84
84
|
Sentdm::MessageEvent
|
|
85
85
|
| Sentdm::InboundMessageEvent
|
|
86
86
|
| Sentdm::TemplateEvent
|
|
87
|
+
| Sentdm::ChannelEvent
|
|
88
|
+
| Sentdm::ContactEvent
|
|
89
|
+
| Sentdm::Models::WebhookListEventsResponse::EventData::SentDmServicesCommonServicesWebhooksContractsWebhookEventOfLinkWebhookPayload
|
|
87
90
|
|
|
88
91
|
module EventData
|
|
89
92
|
extend Sentdm::Internal::Type::Union
|
|
90
93
|
|
|
94
|
+
type sent_dm_services_common_services_webhooks_contracts_webhook_event_of_link_webhook_payload =
|
|
95
|
+
{
|
|
96
|
+
event: String?,
|
|
97
|
+
field: String,
|
|
98
|
+
payload: Sentdm::Models::WebhookListEventsResponse::EventData::SentDmServicesCommonServicesWebhooksContractsWebhookEventOfLinkWebhookPayload::Payload?,
|
|
99
|
+
request_id: String?,
|
|
100
|
+
timestamp: String
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
class SentDmServicesCommonServicesWebhooksContractsWebhookEventOfLinkWebhookPayload < Sentdm::Internal::Type::BaseModel
|
|
104
|
+
attr_accessor event: String?
|
|
105
|
+
|
|
106
|
+
attr_reader field: String?
|
|
107
|
+
|
|
108
|
+
def field=: (String) -> String
|
|
109
|
+
|
|
110
|
+
attr_accessor payload: Sentdm::Models::WebhookListEventsResponse::EventData::SentDmServicesCommonServicesWebhooksContractsWebhookEventOfLinkWebhookPayload::Payload?
|
|
111
|
+
|
|
112
|
+
attr_accessor request_id: String?
|
|
113
|
+
|
|
114
|
+
attr_reader timestamp: String?
|
|
115
|
+
|
|
116
|
+
def timestamp=: (String) -> String
|
|
117
|
+
|
|
118
|
+
def initialize: (
|
|
119
|
+
?event: String?,
|
|
120
|
+
?field: String,
|
|
121
|
+
?payload: Sentdm::Models::WebhookListEventsResponse::EventData::SentDmServicesCommonServicesWebhooksContractsWebhookEventOfLinkWebhookPayload::Payload?,
|
|
122
|
+
?request_id: String?,
|
|
123
|
+
?timestamp: String
|
|
124
|
+
) -> void
|
|
125
|
+
|
|
126
|
+
def to_hash: -> {
|
|
127
|
+
event: String?,
|
|
128
|
+
field: String,
|
|
129
|
+
payload: Sentdm::Models::WebhookListEventsResponse::EventData::SentDmServicesCommonServicesWebhooksContractsWebhookEventOfLinkWebhookPayload::Payload?,
|
|
130
|
+
request_id: String?,
|
|
131
|
+
timestamp: String
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
type payload =
|
|
135
|
+
{
|
|
136
|
+
record_id: String,
|
|
137
|
+
access_country: String?,
|
|
138
|
+
access_outcome: String?,
|
|
139
|
+
browser: String?,
|
|
140
|
+
bytes_served: Integer?,
|
|
141
|
+
channel: String?,
|
|
142
|
+
customer_id: String,
|
|
143
|
+
device: String?,
|
|
144
|
+
link_kind: String,
|
|
145
|
+
message_id: String?,
|
|
146
|
+
occurred_at: String,
|
|
147
|
+
reference_key: String?,
|
|
148
|
+
referrer_host: String?,
|
|
149
|
+
request_method: String?,
|
|
150
|
+
sender_profile_id: String?,
|
|
151
|
+
status_code: Integer?,
|
|
152
|
+
traffic_class: String?
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
class Payload < Sentdm::Internal::Type::BaseModel
|
|
156
|
+
attr_accessor record_id: String
|
|
157
|
+
|
|
158
|
+
attr_accessor access_country: String?
|
|
159
|
+
|
|
160
|
+
attr_accessor access_outcome: String?
|
|
161
|
+
|
|
162
|
+
attr_accessor browser: String?
|
|
163
|
+
|
|
164
|
+
attr_accessor bytes_served: Integer?
|
|
165
|
+
|
|
166
|
+
attr_accessor channel: String?
|
|
167
|
+
|
|
168
|
+
attr_reader customer_id: String?
|
|
169
|
+
|
|
170
|
+
def customer_id=: (String) -> String
|
|
171
|
+
|
|
172
|
+
attr_accessor device: String?
|
|
173
|
+
|
|
174
|
+
attr_reader link_kind: String?
|
|
175
|
+
|
|
176
|
+
def link_kind=: (String) -> String
|
|
177
|
+
|
|
178
|
+
attr_accessor message_id: String?
|
|
179
|
+
|
|
180
|
+
attr_reader occurred_at: String?
|
|
181
|
+
|
|
182
|
+
def occurred_at=: (String) -> String
|
|
183
|
+
|
|
184
|
+
attr_accessor reference_key: String?
|
|
185
|
+
|
|
186
|
+
attr_accessor referrer_host: String?
|
|
187
|
+
|
|
188
|
+
attr_accessor request_method: String?
|
|
189
|
+
|
|
190
|
+
attr_accessor sender_profile_id: String?
|
|
191
|
+
|
|
192
|
+
attr_accessor status_code: Integer?
|
|
193
|
+
|
|
194
|
+
attr_accessor traffic_class: String?
|
|
195
|
+
|
|
196
|
+
def initialize: (
|
|
197
|
+
record_id: String,
|
|
198
|
+
?access_country: String?,
|
|
199
|
+
?access_outcome: String?,
|
|
200
|
+
?browser: String?,
|
|
201
|
+
?bytes_served: Integer?,
|
|
202
|
+
?channel: String?,
|
|
203
|
+
?customer_id: String,
|
|
204
|
+
?device: String?,
|
|
205
|
+
?link_kind: String,
|
|
206
|
+
?message_id: String?,
|
|
207
|
+
?occurred_at: String,
|
|
208
|
+
?reference_key: String?,
|
|
209
|
+
?referrer_host: String?,
|
|
210
|
+
?request_method: String?,
|
|
211
|
+
?sender_profile_id: String?,
|
|
212
|
+
?status_code: Integer?,
|
|
213
|
+
?traffic_class: String?
|
|
214
|
+
) -> void
|
|
215
|
+
|
|
216
|
+
def to_hash: -> {
|
|
217
|
+
record_id: String,
|
|
218
|
+
access_country: String?,
|
|
219
|
+
access_outcome: String?,
|
|
220
|
+
browser: String?,
|
|
221
|
+
bytes_served: Integer?,
|
|
222
|
+
channel: String?,
|
|
223
|
+
customer_id: String,
|
|
224
|
+
device: String?,
|
|
225
|
+
link_kind: String,
|
|
226
|
+
message_id: String?,
|
|
227
|
+
occurred_at: String,
|
|
228
|
+
reference_key: String?,
|
|
229
|
+
referrer_host: String?,
|
|
230
|
+
request_method: String?,
|
|
231
|
+
sender_profile_id: String?,
|
|
232
|
+
status_code: Integer?,
|
|
233
|
+
traffic_class: String?
|
|
234
|
+
}
|
|
235
|
+
end
|
|
236
|
+
end
|
|
237
|
+
|
|
91
238
|
def self?.variants: -> ::Array[Sentdm::Models::WebhookListEventsResponse::event_data]
|
|
92
239
|
end
|
|
93
240
|
end
|
data/sig/sentdm/models.rbs
CHANGED
|
@@ -27,10 +27,18 @@ module Sentdm
|
|
|
27
27
|
|
|
28
28
|
class BrandsBrandData = Sentdm::Models::BrandsBrandData
|
|
29
29
|
|
|
30
|
+
class ChannelEvent = Sentdm::Models::ChannelEvent
|
|
31
|
+
|
|
32
|
+
class ChannelEventPayload = Sentdm::Models::ChannelEventPayload
|
|
33
|
+
|
|
30
34
|
class ContactCreateParams = Sentdm::Models::ContactCreateParams
|
|
31
35
|
|
|
32
36
|
class ContactDeleteParams = Sentdm::Models::ContactDeleteParams
|
|
33
37
|
|
|
38
|
+
class ContactEvent = Sentdm::Models::ContactEvent
|
|
39
|
+
|
|
40
|
+
class ContactEventPayload = Sentdm::Models::ContactEventPayload
|
|
41
|
+
|
|
34
42
|
class ContactListParams = Sentdm::Models::ContactListParams
|
|
35
43
|
|
|
36
44
|
class ContactMessageSummary = Sentdm::Models::ContactMessageSummary
|
|
@@ -15,7 +15,10 @@ module Sentdm
|
|
|
15
15
|
|
|
16
16
|
def send_: (
|
|
17
17
|
?channel: ::Array[String]?,
|
|
18
|
+
?media_urls: ::Array[String]?,
|
|
18
19
|
?sandbox: bool,
|
|
20
|
+
?scheduled_at: Time?,
|
|
21
|
+
?subject: String?,
|
|
19
22
|
?template: Sentdm::MessageSendParams::Template?,
|
|
20
23
|
?text: String?,
|
|
21
24
|
?to: ::Array[String],
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sentdm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.33.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sent
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|
|
@@ -88,8 +88,12 @@ files:
|
|
|
88
88
|
- lib/sentdm/models/brand_compliance_info.rb
|
|
89
89
|
- lib/sentdm/models/brand_contact_info.rb
|
|
90
90
|
- lib/sentdm/models/brands_brand_data.rb
|
|
91
|
+
- lib/sentdm/models/channel_event.rb
|
|
92
|
+
- lib/sentdm/models/channel_event_payload.rb
|
|
91
93
|
- lib/sentdm/models/contact_create_params.rb
|
|
92
94
|
- lib/sentdm/models/contact_delete_params.rb
|
|
95
|
+
- lib/sentdm/models/contact_event.rb
|
|
96
|
+
- lib/sentdm/models/contact_event_payload.rb
|
|
93
97
|
- lib/sentdm/models/contact_list_params.rb
|
|
94
98
|
- lib/sentdm/models/contact_message_summary.rb
|
|
95
99
|
- lib/sentdm/models/contact_response.rb
|
|
@@ -231,8 +235,12 @@ files:
|
|
|
231
235
|
- rbi/sentdm/models/brand_compliance_info.rbi
|
|
232
236
|
- rbi/sentdm/models/brand_contact_info.rbi
|
|
233
237
|
- rbi/sentdm/models/brands_brand_data.rbi
|
|
238
|
+
- rbi/sentdm/models/channel_event.rbi
|
|
239
|
+
- rbi/sentdm/models/channel_event_payload.rbi
|
|
234
240
|
- rbi/sentdm/models/contact_create_params.rbi
|
|
235
241
|
- rbi/sentdm/models/contact_delete_params.rbi
|
|
242
|
+
- rbi/sentdm/models/contact_event.rbi
|
|
243
|
+
- rbi/sentdm/models/contact_event_payload.rbi
|
|
236
244
|
- rbi/sentdm/models/contact_list_params.rbi
|
|
237
245
|
- rbi/sentdm/models/contact_message_summary.rbi
|
|
238
246
|
- rbi/sentdm/models/contact_response.rbi
|
|
@@ -373,8 +381,12 @@ files:
|
|
|
373
381
|
- sig/sentdm/models/brand_compliance_info.rbs
|
|
374
382
|
- sig/sentdm/models/brand_contact_info.rbs
|
|
375
383
|
- sig/sentdm/models/brands_brand_data.rbs
|
|
384
|
+
- sig/sentdm/models/channel_event.rbs
|
|
385
|
+
- sig/sentdm/models/channel_event_payload.rbs
|
|
376
386
|
- sig/sentdm/models/contact_create_params.rbs
|
|
377
387
|
- sig/sentdm/models/contact_delete_params.rbs
|
|
388
|
+
- sig/sentdm/models/contact_event.rbs
|
|
389
|
+
- sig/sentdm/models/contact_event_payload.rbs
|
|
378
390
|
- sig/sentdm/models/contact_list_params.rbs
|
|
379
391
|
- sig/sentdm/models/contact_message_summary.rbs
|
|
380
392
|
- sig/sentdm/models/contact_response.rbs
|