late-sdk 0.0.942 → 0.0.943
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/docs/GetInboxConversationMessages200ResponseMessagesInnerDeliveryError.md +5 -1
- data/docs/WebhookPayloadMessageDeliveryStatusError.md +5 -1
- data/lib/zernio-sdk/models/get_inbox_conversation_messages200_response_messages_inner_delivery_error.rb +24 -4
- data/lib/zernio-sdk/models/webhook_payload_message_delivery_status_error.rb +22 -2
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +16 -1
- data/spec/models/get_inbox_conversation_messages200_response_messages_inner_delivery_error_spec.rb +12 -0
- data/spec/models/webhook_payload_message_delivery_status_error_spec.rb +12 -0
- data/zernio-sdk-0.0.943.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.942.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4edff1d77b0994441e06e58e8f6ce23ad0ac7e0cba9cd010f418be5780519472
|
|
4
|
+
data.tar.gz: '04439d27b1a6ee30678cfca71e10475408a6789c193d2d5319484bb949d9148e'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70d37d5c9c58d9edbabe3a7fcaa3479a207523be8b151343d1ef1db9a27213dfc1cfe1418977dce2ae1213cde7dd50d81bf7ef2579e94652b573a1c451d4e970
|
|
7
|
+
data.tar.gz: 67041ffa2c8002a17f68dd7fd35f8756f9c6d3b5bb9675a9d98908d25ab87c6daeeb6be2ae44e154d4967c7d023b29499cccc629668d285dc32c7b16108c2e89
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
| **code** | **Integer** | | [optional] |
|
|
8
8
|
| **title** | **String** | | [optional] |
|
|
9
9
|
| **message** | **String** | | [optional] |
|
|
10
|
+
| **details** | **String** | Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS. | [optional] |
|
|
11
|
+
| **href** | **String** | Link to the platform's documentation for `code`, when the platform sent one. | [optional] |
|
|
10
12
|
|
|
11
13
|
## Example
|
|
12
14
|
|
|
@@ -16,7 +18,9 @@ require 'zernio-sdk'
|
|
|
16
18
|
instance = Zernio::GetInboxConversationMessages200ResponseMessagesInnerDeliveryError.new(
|
|
17
19
|
code: null,
|
|
18
20
|
title: null,
|
|
19
|
-
message: null
|
|
21
|
+
message: null,
|
|
22
|
+
details: null,
|
|
23
|
+
href: null
|
|
20
24
|
)
|
|
21
25
|
```
|
|
22
26
|
|
|
@@ -7,7 +7,9 @@
|
|
|
7
7
|
| **code** | **Integer** | | [optional] |
|
|
8
8
|
| **title** | **String** | | [optional] |
|
|
9
9
|
| **message** | **String** | | [optional] |
|
|
10
|
-
| **
|
|
10
|
+
| **details** | **String** | Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS. | [optional] |
|
|
11
|
+
| **href** | **String** | Link to the platform's documentation for `code`, when the platform sent one. | [optional] |
|
|
12
|
+
| **explanation** | **String** | Plain-language translation of `code` (e.g. for 131026, that the recipient has likely opted out of marketing messages while utility templates are unaffected, or for 131031, that Meta restricted the WhatsApp Business Account). Null for unmapped codes; fall back to title/message. | [optional] |
|
|
11
13
|
|
|
12
14
|
## Example
|
|
13
15
|
|
|
@@ -18,6 +20,8 @@ instance = Zernio::WebhookPayloadMessageDeliveryStatusError.new(
|
|
|
18
20
|
code: null,
|
|
19
21
|
title: null,
|
|
20
22
|
message: null,
|
|
23
|
+
details: null,
|
|
24
|
+
href: null,
|
|
21
25
|
explanation: null
|
|
22
26
|
)
|
|
23
27
|
```
|
|
@@ -22,12 +22,20 @@ module Zernio
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :message
|
|
24
24
|
|
|
25
|
+
# Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
|
|
26
|
+
attr_accessor :details
|
|
27
|
+
|
|
28
|
+
# Link to the platform's documentation for `code`, when the platform sent one.
|
|
29
|
+
attr_accessor :href
|
|
30
|
+
|
|
25
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
32
|
def self.attribute_map
|
|
27
33
|
{
|
|
28
34
|
:'code' => :'code',
|
|
29
35
|
:'title' => :'title',
|
|
30
|
-
:'message' => :'message'
|
|
36
|
+
:'message' => :'message',
|
|
37
|
+
:'details' => :'details',
|
|
38
|
+
:'href' => :'href'
|
|
31
39
|
}
|
|
32
40
|
end
|
|
33
41
|
|
|
@@ -46,7 +54,9 @@ module Zernio
|
|
|
46
54
|
{
|
|
47
55
|
:'code' => :'Integer',
|
|
48
56
|
:'title' => :'String',
|
|
49
|
-
:'message' => :'String'
|
|
57
|
+
:'message' => :'String',
|
|
58
|
+
:'details' => :'String',
|
|
59
|
+
:'href' => :'String'
|
|
50
60
|
}
|
|
51
61
|
end
|
|
52
62
|
|
|
@@ -83,6 +93,14 @@ module Zernio
|
|
|
83
93
|
if attributes.key?(:'message')
|
|
84
94
|
self.message = attributes[:'message']
|
|
85
95
|
end
|
|
96
|
+
|
|
97
|
+
if attributes.key?(:'details')
|
|
98
|
+
self.details = attributes[:'details']
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
if attributes.key?(:'href')
|
|
102
|
+
self.href = attributes[:'href']
|
|
103
|
+
end
|
|
86
104
|
end
|
|
87
105
|
|
|
88
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -107,7 +125,9 @@ module Zernio
|
|
|
107
125
|
self.class == o.class &&
|
|
108
126
|
code == o.code &&
|
|
109
127
|
title == o.title &&
|
|
110
|
-
message == o.message
|
|
128
|
+
message == o.message &&
|
|
129
|
+
details == o.details &&
|
|
130
|
+
href == o.href
|
|
111
131
|
end
|
|
112
132
|
|
|
113
133
|
# @see the `==` method
|
|
@@ -119,7 +139,7 @@ module Zernio
|
|
|
119
139
|
# Calculates hash code according to all attributes.
|
|
120
140
|
# @return [Integer] Hash code
|
|
121
141
|
def hash
|
|
122
|
-
[code, title, message].hash
|
|
142
|
+
[code, title, message, details, href].hash
|
|
123
143
|
end
|
|
124
144
|
|
|
125
145
|
# Builds the object from hash
|
|
@@ -22,7 +22,13 @@ module Zernio
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :message
|
|
24
24
|
|
|
25
|
-
#
|
|
25
|
+
# Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS.
|
|
26
|
+
attr_accessor :details
|
|
27
|
+
|
|
28
|
+
# Link to the platform's documentation for `code`, when the platform sent one.
|
|
29
|
+
attr_accessor :href
|
|
30
|
+
|
|
31
|
+
# Plain-language translation of `code` (e.g. for 131026, that the recipient has likely opted out of marketing messages while utility templates are unaffected, or for 131031, that Meta restricted the WhatsApp Business Account). Null for unmapped codes; fall back to title/message.
|
|
26
32
|
attr_accessor :explanation
|
|
27
33
|
|
|
28
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -31,6 +37,8 @@ module Zernio
|
|
|
31
37
|
:'code' => :'code',
|
|
32
38
|
:'title' => :'title',
|
|
33
39
|
:'message' => :'message',
|
|
40
|
+
:'details' => :'details',
|
|
41
|
+
:'href' => :'href',
|
|
34
42
|
:'explanation' => :'explanation'
|
|
35
43
|
}
|
|
36
44
|
end
|
|
@@ -51,6 +59,8 @@ module Zernio
|
|
|
51
59
|
:'code' => :'Integer',
|
|
52
60
|
:'title' => :'String',
|
|
53
61
|
:'message' => :'String',
|
|
62
|
+
:'details' => :'String',
|
|
63
|
+
:'href' => :'String',
|
|
54
64
|
:'explanation' => :'String'
|
|
55
65
|
}
|
|
56
66
|
end
|
|
@@ -90,6 +100,14 @@ module Zernio
|
|
|
90
100
|
self.message = attributes[:'message']
|
|
91
101
|
end
|
|
92
102
|
|
|
103
|
+
if attributes.key?(:'details')
|
|
104
|
+
self.details = attributes[:'details']
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
if attributes.key?(:'href')
|
|
108
|
+
self.href = attributes[:'href']
|
|
109
|
+
end
|
|
110
|
+
|
|
93
111
|
if attributes.key?(:'explanation')
|
|
94
112
|
self.explanation = attributes[:'explanation']
|
|
95
113
|
end
|
|
@@ -118,6 +136,8 @@ module Zernio
|
|
|
118
136
|
code == o.code &&
|
|
119
137
|
title == o.title &&
|
|
120
138
|
message == o.message &&
|
|
139
|
+
details == o.details &&
|
|
140
|
+
href == o.href &&
|
|
121
141
|
explanation == o.explanation
|
|
122
142
|
end
|
|
123
143
|
|
|
@@ -130,7 +150,7 @@ module Zernio
|
|
|
130
150
|
# Calculates hash code according to all attributes.
|
|
131
151
|
# @return [Integer] Hash code
|
|
132
152
|
def hash
|
|
133
|
-
[code, title, message, explanation].hash
|
|
153
|
+
[code, title, message, details, href, explanation].hash
|
|
134
154
|
end
|
|
135
155
|
|
|
136
156
|
# Builds the object from hash
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -4738,12 +4738,20 @@ components:
|
|
|
4738
4738
|
code: { type: integer }
|
|
4739
4739
|
title: { type: string }
|
|
4740
4740
|
message: { type: string }
|
|
4741
|
+
details:
|
|
4742
|
+
type: string
|
|
4743
|
+
description: "Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS."
|
|
4744
|
+
href:
|
|
4745
|
+
type: string
|
|
4746
|
+
format: uri
|
|
4747
|
+
description: "Link to the platform's documentation for `code`, when the platform sent one."
|
|
4741
4748
|
explanation:
|
|
4742
4749
|
type: [string, "null"]
|
|
4743
4750
|
description: |
|
|
4744
4751
|
Plain-language translation of `code` (e.g. for 131026, that the
|
|
4745
4752
|
recipient has likely opted out of marketing messages while utility
|
|
4746
|
-
templates are unaffected
|
|
4753
|
+
templates are unaffected, or for 131031, that Meta restricted the
|
|
4754
|
+
WhatsApp Business Account). Null for unmapped codes; fall back to
|
|
4747
4755
|
title/message.
|
|
4748
4756
|
conversation:
|
|
4749
4757
|
$ref: '#/components/schemas/InboxWebhookConversation'
|
|
@@ -29751,6 +29759,13 @@ paths:
|
|
|
29751
29759
|
code: { type: integer }
|
|
29752
29760
|
title: { type: string }
|
|
29753
29761
|
message: { type: string }
|
|
29762
|
+
details:
|
|
29763
|
+
type: string
|
|
29764
|
+
description: "Platform's extended detail for `code` (WhatsApp: Meta's `error_data.details`), when the platform sent one. Absent on SMS."
|
|
29765
|
+
href:
|
|
29766
|
+
type: string
|
|
29767
|
+
format: uri
|
|
29768
|
+
description: "Link to the platform's documentation for `code`, when the platform sent one."
|
|
29754
29769
|
reactions:
|
|
29755
29770
|
type: array
|
|
29756
29771
|
description: Emoji reactions on this message (WhatsApp / Telegram). At most one per party in a 1:1 thread.
|
data/spec/models/get_inbox_conversation_messages200_response_messages_inner_delivery_error_spec.rb
CHANGED
|
@@ -45,4 +45,16 @@ describe Zernio::GetInboxConversationMessages200ResponseMessagesInnerDeliveryErr
|
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
describe 'test attribute "details"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "href"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
48
60
|
end
|
|
@@ -45,6 +45,18 @@ describe Zernio::WebhookPayloadMessageDeliveryStatusError do
|
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
describe 'test attribute "details"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "href"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
48
60
|
describe 'test attribute "explanation"' do
|
|
49
61
|
it 'should work' do
|
|
50
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.943
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -6400,7 +6400,7 @@ files:
|
|
|
6400
6400
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
6401
6401
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
6402
6402
|
- spec/spec_helper.rb
|
|
6403
|
-
- zernio-sdk-0.0.
|
|
6403
|
+
- zernio-sdk-0.0.943.gem
|
|
6404
6404
|
- zernio-sdk.gemspec
|
|
6405
6405
|
homepage: https://openapi-generator.tech
|
|
6406
6406
|
licenses:
|
data/zernio-sdk-0.0.942.gem
DELETED
|
Binary file
|