ultracart_api 3.10.24 → 3.10.25

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18fc0bd98e9f2132e1cbfb34642552e4f801fb8ebfc2842bb62ff578cd610dc8
4
- data.tar.gz: c89f34568f945dcf1b35748cd8c8f8561ae737f21d23a41cb853ad1b70d68d2e
3
+ metadata.gz: 62018a5360eca7ec5b4486ada8cd994c8ac49961de2dd9573647be2813a19d23
4
+ data.tar.gz: 1c75d92c474562d84e62b756679b2053a6abc61cc85142e556aff0a8ffc9b74b
5
5
  SHA512:
6
- metadata.gz: 2ced78c834db64181dd554e22a03699c892969a604a506e4be1825892bd4e5a0b7aeaa8325db035be96a3aacdefa1f4b2710cbf4332b42f0c58f21294e0b88e3
7
- data.tar.gz: 7caed710c21a724291eb3e251acb8b9c19799f4a892b73ba7f54a6d772fc6f7b46b39b40f71b39a0987ecf7bb66b0f97349e09b7ffcce864720c4ee2c41c967c
6
+ metadata.gz: 3113af69817554808e0e47baa6300d832d3821b7f5bc9527533a786182bd064ad286808cc0bca36ad91f4a6438a0b1bc9831aa0497118d010e8946bd93a4523a
7
+ data.tar.gz: 1e1de9bde6fde313c13a5ca9c9185f74dfd203ecba9d58aca6f3f920b34802c697e62fe720c8d6e2fa5be233fa332343f273019023dcb10db44f5e8077961ff9
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 3.10.24
10
+ - Package version: 3.10.25
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-3.10.24.gem
27
+ gem install ./ultracart_api-3.10.25.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.24.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.25.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'ultracart_api', '~> 3.10.24'
35
+ gem 'ultracart_api', '~> 3.10.25'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1159,6 +1159,7 @@ Not every change is committed to every SDK.
1159
1159
 
1160
1160
  | Version | Date | Comments |
1161
1161
  | --: | :-: | --- |
1162
+ | 3.10.25 | 07/25/2022 | conversation development |
1162
1163
  | 3.10.24 | 07/25/2022 | conversations bug fixes |
1163
1164
  | 3.10.23 | 07/25/2022 | conversations - add a websocket message model |
1164
1165
  | 3.10.22 | 07/20/2022 | conversation participant name added |
data/docs/Conversation.md CHANGED
@@ -3,6 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **closed** | **BOOLEAN** | | [optional]
6
7
  **conversation_arn** | **String** | | [optional]
7
8
  **conversation_uuid** | **String** | | [optional]
8
9
  **merchant_id** | **String** | | [optional]
@@ -3,6 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **closed** | **BOOLEAN** | | [optional]
6
7
  **conversation_arn** | **String** | | [optional]
7
8
  **conversation_uuid** | **String** | | [optional]
8
9
  **last_conversation_message_body** | **String** | | [optional]
@@ -4,9 +4,9 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **conversation_uuid** | **String** | Conversation UUID if the websocket message is tied to a specific conversation | [optional]
7
- **event_conversation_closed** | [**Conversation**](Conversation.md) | | [optional]
8
- **event_new_conversation** | [**Conversation**](Conversation.md) | | [optional]
9
- **event_new_message** | [**Conversation**](Conversation.md) | | [optional]
7
+ **event_conversation_closed** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
8
+ **event_new_conversation** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
9
+ **event_new_message** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
10
10
  **event_queue_position** | [**ConversationEventQueuePosition**](ConversationEventQueuePosition.md) | | [optional]
11
11
  **event_type** | **String** | Type of event | [optional]
12
12
  **event_updated_message** | [**ConversationMessage**](ConversationMessage.md) | | [optional]
@@ -14,6 +14,8 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class Conversation
17
+ attr_accessor :closed
18
+
17
19
  attr_accessor :conversation_arn
18
20
 
19
21
  attr_accessor :conversation_uuid
@@ -27,6 +29,7 @@ module UltracartClient
27
29
  # Attribute mapping from ruby-style variable name to JSON key.
28
30
  def self.attribute_map
29
31
  {
32
+ :'closed' => :'closed',
30
33
  :'conversation_arn' => :'conversation_arn',
31
34
  :'conversation_uuid' => :'conversation_uuid',
32
35
  :'merchant_id' => :'merchant_id',
@@ -38,6 +41,7 @@ module UltracartClient
38
41
  # Attribute type mapping.
39
42
  def self.swagger_types
40
43
  {
44
+ :'closed' => :'BOOLEAN',
41
45
  :'conversation_arn' => :'String',
42
46
  :'conversation_uuid' => :'String',
43
47
  :'merchant_id' => :'String',
@@ -54,6 +58,10 @@ module UltracartClient
54
58
  # convert string to symbol for hash key
55
59
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
56
60
 
61
+ if attributes.has_key?(:'closed')
62
+ self.closed = attributes[:'closed']
63
+ end
64
+
57
65
  if attributes.has_key?(:'conversation_arn')
58
66
  self.conversation_arn = attributes[:'conversation_arn']
59
67
  end
@@ -97,6 +105,7 @@ module UltracartClient
97
105
  def ==(o)
98
106
  return true if self.equal?(o)
99
107
  self.class == o.class &&
108
+ closed == o.closed &&
100
109
  conversation_arn == o.conversation_arn &&
101
110
  conversation_uuid == o.conversation_uuid &&
102
111
  merchant_id == o.merchant_id &&
@@ -113,7 +122,7 @@ module UltracartClient
113
122
  # Calculates hash code according to all attributes.
114
123
  # @return [Fixnum] Hash code
115
124
  def hash
116
- [conversation_arn, conversation_uuid, merchant_id, messages, participants].hash
125
+ [closed, conversation_arn, conversation_uuid, merchant_id, messages, participants].hash
117
126
  end
118
127
 
119
128
  # Builds the object from hash
@@ -14,6 +14,8 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class ConversationSummary
17
+ attr_accessor :closed
18
+
17
19
  attr_accessor :conversation_arn
18
20
 
19
21
  attr_accessor :conversation_uuid
@@ -36,6 +38,7 @@ module UltracartClient
36
38
  # Attribute mapping from ruby-style variable name to JSON key.
37
39
  def self.attribute_map
38
40
  {
41
+ :'closed' => :'closed',
39
42
  :'conversation_arn' => :'conversation_arn',
40
43
  :'conversation_uuid' => :'conversation_uuid',
41
44
  :'last_conversation_message_body' => :'last_conversation_message_body',
@@ -51,6 +54,7 @@ module UltracartClient
51
54
  # Attribute type mapping.
52
55
  def self.swagger_types
53
56
  {
57
+ :'closed' => :'BOOLEAN',
54
58
  :'conversation_arn' => :'String',
55
59
  :'conversation_uuid' => :'String',
56
60
  :'last_conversation_message_body' => :'String',
@@ -71,6 +75,10 @@ module UltracartClient
71
75
  # convert string to symbol for hash key
72
76
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
73
77
 
78
+ if attributes.has_key?(:'closed')
79
+ self.closed = attributes[:'closed']
80
+ end
81
+
74
82
  if attributes.has_key?(:'conversation_arn')
75
83
  self.conversation_arn = attributes[:'conversation_arn']
76
84
  end
@@ -126,6 +134,7 @@ module UltracartClient
126
134
  def ==(o)
127
135
  return true if self.equal?(o)
128
136
  self.class == o.class &&
137
+ closed == o.closed &&
129
138
  conversation_arn == o.conversation_arn &&
130
139
  conversation_uuid == o.conversation_uuid &&
131
140
  last_conversation_message_body == o.last_conversation_message_body &&
@@ -146,7 +155,7 @@ module UltracartClient
146
155
  # Calculates hash code according to all attributes.
147
156
  # @return [Fixnum] Hash code
148
157
  def hash
149
- [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
158
+ [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
150
159
  end
151
160
 
152
161
  # Builds the object from hash
@@ -76,9 +76,9 @@ module UltracartClient
76
76
  def self.swagger_types
77
77
  {
78
78
  :'conversation_uuid' => :'String',
79
- :'event_conversation_closed' => :'Conversation',
80
- :'event_new_conversation' => :'Conversation',
81
- :'event_new_message' => :'Conversation',
79
+ :'event_conversation_closed' => :'ConversationSummary',
80
+ :'event_new_conversation' => :'ConversationSummary',
81
+ :'event_new_message' => :'ConversationSummary',
82
82
  :'event_queue_position' => :'ConversationEventQueuePosition',
83
83
  :'event_type' => :'String',
84
84
  :'event_updated_message' => :'ConversationMessage',
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.24'
14
+ VERSION = '3.10.25'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.10.24
4
+ version: 3.10.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart