ultracart_api 4.0.41.rc → 4.0.42.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/Conversation.md +2 -0
- data/docs/ConversationSummary.md +2 -0
- data/docs/ConversationWebsocketMessage.md +3 -3
- data/lib/ultracart_api/models/conversation.rb +10 -1
- data/lib/ultracart_api/models/conversation_summary.rb +10 -1
- data/lib/ultracart_api/models/conversation_websocket_message.rb +3 -3
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b1f122135fbc76270b2a27c45e56a8362bcf5b55f831967479862d1b14147fb
|
4
|
+
data.tar.gz: b116767c0f15772031876f7aeb21c1879374775cf4069764f588e43c7115f5f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eca54d9804f18ffc46ce49e0461cd6f7ab80fe755cd932b3927f7bdd6b14fb7f3574c028319a907c8fa18f48b2827e5af0d1781e640c026deedcb33d09c4a058
|
7
|
+
data.tar.gz: 5cb89ab94dee75f60d4875ecb8b0666c9f6664c762d7b2f8d93efced51725aac44c7d9e0df739470f8099b188b22fa5106bf95b1e5d8559bea59b5d1f5e828b1
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 4.0.
|
10
|
+
- Package version: 4.0.42.rc
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./ultracart_api-4.0.
|
27
|
+
gem install ./ultracart_api-4.0.42.rc.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.42.rc.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'ultracart_api', '~> 4.0.
|
36
|
+
gem 'ultracart_api', '~> 4.0.42.rc'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1167,6 +1167,7 @@ Not every change is committed to every SDK.
|
|
1167
1167
|
|
1168
1168
|
| Version | Date | Comments |
|
1169
1169
|
| --: | :-: | --- |
|
1170
|
+
| 4.0.42-RC | 07/25/2022 | conversation development |
|
1170
1171
|
| 4.0.41-RC | 07/25/2022 | conversations bug fixes |
|
1171
1172
|
| 4.0.40-RC | 07/25/2022 | conversations - add a websocket message model |
|
1172
1173
|
| 4.0.39-RC | 07/21/2022 | conversation response types improvements |
|
data/docs/Conversation.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **closed** | **Boolean** | | [optional] |
|
7
8
|
| **conversation_arn** | **String** | | [optional] |
|
8
9
|
| **conversation_uuid** | **String** | | [optional] |
|
9
10
|
| **merchant_id** | **String** | | [optional] |
|
@@ -16,6 +17,7 @@
|
|
16
17
|
require 'ultracart_api'
|
17
18
|
|
18
19
|
instance = UltracartClient::Conversation.new(
|
20
|
+
closed: null,
|
19
21
|
conversation_arn: null,
|
20
22
|
conversation_uuid: null,
|
21
23
|
merchant_id: null,
|
data/docs/ConversationSummary.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **closed** | **Boolean** | | [optional] |
|
7
8
|
| **conversation_arn** | **String** | | [optional] |
|
8
9
|
| **conversation_uuid** | **String** | | [optional] |
|
9
10
|
| **last_conversation_message_body** | **String** | | [optional] |
|
@@ -20,6 +21,7 @@
|
|
20
21
|
require 'ultracart_api'
|
21
22
|
|
22
23
|
instance = UltracartClient::ConversationSummary.new(
|
24
|
+
closed: null,
|
23
25
|
conversation_arn: null,
|
24
26
|
conversation_uuid: null,
|
25
27
|
last_conversation_message_body: null,
|
@@ -5,9 +5,9 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **conversation_uuid** | **String** | Conversation UUID if the websocket message is tied to a specific conversation | [optional] |
|
8
|
-
| **event_conversation_closed** | [**
|
9
|
-
| **event_new_conversation** | [**
|
10
|
-
| **event_new_message** | [**
|
8
|
+
| **event_conversation_closed** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
|
9
|
+
| **event_new_conversation** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
|
10
|
+
| **event_new_message** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
|
11
11
|
| **event_queue_position** | [**ConversationEventQueuePosition**](ConversationEventQueuePosition.md) | | [optional] |
|
12
12
|
| **event_type** | **String** | Type of event | [optional] |
|
13
13
|
| **event_updated_message** | [**ConversationMessage**](ConversationMessage.md) | | [optional] |
|
@@ -15,6 +15,8 @@ require 'time'
|
|
15
15
|
|
16
16
|
module UltracartClient
|
17
17
|
class Conversation
|
18
|
+
attr_accessor :closed
|
19
|
+
|
18
20
|
attr_accessor :conversation_arn
|
19
21
|
|
20
22
|
attr_accessor :conversation_uuid
|
@@ -28,6 +30,7 @@ module UltracartClient
|
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
31
|
def self.attribute_map
|
30
32
|
{
|
33
|
+
:'closed' => :'closed',
|
31
34
|
:'conversation_arn' => :'conversation_arn',
|
32
35
|
:'conversation_uuid' => :'conversation_uuid',
|
33
36
|
:'merchant_id' => :'merchant_id',
|
@@ -44,6 +47,7 @@ module UltracartClient
|
|
44
47
|
# Attribute type mapping.
|
45
48
|
def self.openapi_types
|
46
49
|
{
|
50
|
+
:'closed' => :'Boolean',
|
47
51
|
:'conversation_arn' => :'String',
|
48
52
|
:'conversation_uuid' => :'String',
|
49
53
|
:'merchant_id' => :'String',
|
@@ -73,6 +77,10 @@ module UltracartClient
|
|
73
77
|
h[k.to_sym] = v
|
74
78
|
}
|
75
79
|
|
80
|
+
if attributes.key?(:'closed')
|
81
|
+
self.closed = attributes[:'closed']
|
82
|
+
end
|
83
|
+
|
76
84
|
if attributes.key?(:'conversation_arn')
|
77
85
|
self.conversation_arn = attributes[:'conversation_arn']
|
78
86
|
end
|
@@ -116,6 +124,7 @@ module UltracartClient
|
|
116
124
|
def ==(o)
|
117
125
|
return true if self.equal?(o)
|
118
126
|
self.class == o.class &&
|
127
|
+
closed == o.closed &&
|
119
128
|
conversation_arn == o.conversation_arn &&
|
120
129
|
conversation_uuid == o.conversation_uuid &&
|
121
130
|
merchant_id == o.merchant_id &&
|
@@ -132,7 +141,7 @@ module UltracartClient
|
|
132
141
|
# Calculates hash code according to all attributes.
|
133
142
|
# @return [Integer] Hash code
|
134
143
|
def hash
|
135
|
-
[conversation_arn, conversation_uuid, merchant_id, messages, participants].hash
|
144
|
+
[closed, conversation_arn, conversation_uuid, merchant_id, messages, participants].hash
|
136
145
|
end
|
137
146
|
|
138
147
|
# Builds the object from hash
|
@@ -15,6 +15,8 @@ require 'time'
|
|
15
15
|
|
16
16
|
module UltracartClient
|
17
17
|
class ConversationSummary
|
18
|
+
attr_accessor :closed
|
19
|
+
|
18
20
|
attr_accessor :conversation_arn
|
19
21
|
|
20
22
|
attr_accessor :conversation_uuid
|
@@ -37,6 +39,7 @@ module UltracartClient
|
|
37
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
40
|
def self.attribute_map
|
39
41
|
{
|
42
|
+
:'closed' => :'closed',
|
40
43
|
:'conversation_arn' => :'conversation_arn',
|
41
44
|
:'conversation_uuid' => :'conversation_uuid',
|
42
45
|
:'last_conversation_message_body' => :'last_conversation_message_body',
|
@@ -57,6 +60,7 @@ module UltracartClient
|
|
57
60
|
# Attribute type mapping.
|
58
61
|
def self.openapi_types
|
59
62
|
{
|
63
|
+
:'closed' => :'Boolean',
|
60
64
|
:'conversation_arn' => :'String',
|
61
65
|
:'conversation_uuid' => :'String',
|
62
66
|
:'last_conversation_message_body' => :'String',
|
@@ -90,6 +94,10 @@ module UltracartClient
|
|
90
94
|
h[k.to_sym] = v
|
91
95
|
}
|
92
96
|
|
97
|
+
if attributes.key?(:'closed')
|
98
|
+
self.closed = attributes[:'closed']
|
99
|
+
end
|
100
|
+
|
93
101
|
if attributes.key?(:'conversation_arn')
|
94
102
|
self.conversation_arn = attributes[:'conversation_arn']
|
95
103
|
end
|
@@ -145,6 +153,7 @@ module UltracartClient
|
|
145
153
|
def ==(o)
|
146
154
|
return true if self.equal?(o)
|
147
155
|
self.class == o.class &&
|
156
|
+
closed == o.closed &&
|
148
157
|
conversation_arn == o.conversation_arn &&
|
149
158
|
conversation_uuid == o.conversation_uuid &&
|
150
159
|
last_conversation_message_body == o.last_conversation_message_body &&
|
@@ -165,7 +174,7 @@ module UltracartClient
|
|
165
174
|
# Calculates hash code according to all attributes.
|
166
175
|
# @return [Integer] Hash code
|
167
176
|
def hash
|
168
|
-
[conversation_arn, conversation_uuid, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_message_dts, merchant_id, message_count, unread_messages].hash
|
177
|
+
[closed, conversation_arn, conversation_uuid, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_message_dts, merchant_id, message_count, unread_messages].hash
|
169
178
|
end
|
170
179
|
|
171
180
|
# Builds the object from hash
|
@@ -82,9 +82,9 @@ module UltracartClient
|
|
82
82
|
def self.openapi_types
|
83
83
|
{
|
84
84
|
:'conversation_uuid' => :'String',
|
85
|
-
:'event_conversation_closed' => :'
|
86
|
-
:'event_new_conversation' => :'
|
87
|
-
:'event_new_message' => :'
|
85
|
+
:'event_conversation_closed' => :'ConversationSummary',
|
86
|
+
:'event_new_conversation' => :'ConversationSummary',
|
87
|
+
:'event_new_message' => :'ConversationSummary',
|
88
88
|
:'event_queue_position' => :'ConversationEventQueuePosition',
|
89
89
|
:'event_type' => :'String',
|
90
90
|
:'event_updated_message' => :'ConversationMessage',
|