sib-api-v3-sdk 3.0.0 → 3.0.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 813eff67db9f8ec7fc1484bdcd209c21a2ffa4d3
|
|
4
|
+
data.tar.gz: 5d86fd822b16ddeae5913d0f64e4a4554c91cd17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2882c0e3e2ae0353e9c1f5434309d2b137d48df958122899488e4df0eb2dfc7e06d707e24b46af39f692bfca49239720b475b4095f1c9ac6348e7b51c675575b
|
|
7
|
+
data.tar.gz: 15e284dd693fcf10c847041753eb61a0f3edccd5eb6f1d8b7fddd30661fd776754651889d045c75190fadd54f0d4f953b641b39ae5e8e8f4a1c2115ff5b4f3df
|
|
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**message_id** | **String** | Message ID which generated the event |
|
|
10
10
|
**event** | **String** | Event which occurred |
|
|
11
11
|
**reason** | **String** | Reason of bounce (only available if the event is hardbounce or softbounce) | [optional]
|
|
12
|
-
**tag** | **String** | Tag of the email which generated the event |
|
|
12
|
+
**tag** | **String** | Tag of the email which generated the event | [optional]
|
|
13
13
|
**ip** | **String** | IP from which the user has opened the email or clicked on the link (only available if the event is opened or clicks) | [optional]
|
|
14
14
|
**link** | **String** | The link which is sent to the user (only available if the event is requests or opened or clicks) | [optional]
|
|
15
|
-
**from** | **String** | Sender email from which the emails are sent |
|
|
15
|
+
**from** | **String** | Sender email from which the emails are sent | [optional]
|
|
16
16
|
|
|
17
17
|
|
|
@@ -169,14 +169,6 @@ module SibApiV3Sdk
|
|
|
169
169
|
invalid_properties.push("invalid value for 'event', event cannot be nil.")
|
|
170
170
|
end
|
|
171
171
|
|
|
172
|
-
if @tag.nil?
|
|
173
|
-
invalid_properties.push("invalid value for 'tag', tag cannot be nil.")
|
|
174
|
-
end
|
|
175
|
-
|
|
176
|
-
if @from.nil?
|
|
177
|
-
invalid_properties.push("invalid value for 'from', from cannot be nil.")
|
|
178
|
-
end
|
|
179
|
-
|
|
180
172
|
return invalid_properties
|
|
181
173
|
end
|
|
182
174
|
|
|
@@ -189,8 +181,6 @@ module SibApiV3Sdk
|
|
|
189
181
|
return false if @event.nil?
|
|
190
182
|
event_validator = EnumAttributeValidator.new('String', ["bounces", "hardBounces", "softBounces", "delivered", "spam", "requests", "opened", "clicks", "invalid", "deferred", "blocked"])
|
|
191
183
|
return false unless event_validator.valid?(@event)
|
|
192
|
-
return false if @tag.nil?
|
|
193
|
-
return false if @from.nil?
|
|
194
184
|
return true
|
|
195
185
|
end
|
|
196
186
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sib-api-v3-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SendinBlue Developers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-02-
|
|
11
|
+
date: 2018-02-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|