ultracart_api 4.0.104.rc → 4.0.105.rc

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: f46b8ecfa9f4fa1215427090019e8e29d70fa1b4b1004ab5b86fd7fd8596bf58
4
- data.tar.gz: 242bf11f0c10ed247c7a187f4ab2dfc41579d084c22ed2e6876e95ddff627b9e
3
+ metadata.gz: 7f7174c109c96abdf724420526ec5b0f6a1b6393c9185e94086abaac89f43fba
4
+ data.tar.gz: 74b4401268c2324fc6c70ee31136f44a3a519246364ac0fb7dae6064efd10648
5
5
  SHA512:
6
- metadata.gz: cdef64baca51718c026f1ae10a54095280989a9ae4a47ea4e0ccbf13e6407da083b5da7f8f9d1138e1e517216c69d846b5a86606f0df5d1cace978162f0346af
7
- data.tar.gz: 78938e1c6022e3594402ffaff5d10df088bedda7410e77fd386545ecc377f219b756da6e4bb2645ee7830a1afc35d180e552d742402977ac2a251f91f8584af7
6
+ metadata.gz: dd9c007251df2b16caab791f1421a0918bba30c744c31a573bd3cb961e7359dde4fc8c7c04e465e960bd7b72a55b9b5b15170f4b3c31352a4d647f6d3b70f24e
7
+ data.tar.gz: b5bf856c249b4110d7a3d78129ebcfbc16ab5154fa1372d5d39d648fa8176d546cb4fb5e87abddaff428876b73767e322152853d968605a56a81286589741af6
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.104.rc
10
+ - Package version: 4.0.105.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.104.rc.gem
27
+ gem install ./ultracart_api-4.0.105.rc.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.104.rc.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.105.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.104.rc'
36
+ gem 'ultracart_api', '~> 4.0.105.rc'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1279,6 +1279,7 @@ Not every change is committed to every SDK.
1279
1279
 
1280
1280
  | Version | Date | Comments |
1281
1281
  | --: | :-: | --- |
1282
+ | 4.0.105-RC | 01/03/2023 | conversation events for party leave and join |
1282
1283
  | 4.0.104-RC | 01/03/2023 | order point of sale details |
1283
1284
  | 4.0.103-RC | 12/27/2022 | additional loyalty related coupons |
1284
1285
  | 4.0.102-RC | 12/21/2022 | conversation development |
@@ -10,6 +10,10 @@
10
10
  | **event_conversation_closed** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
11
11
  | **event_new_conversation** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
12
12
  | **event_new_message** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
13
+ | **event_participant_join** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
14
+ | **event_participant_join_participant** | [**ConversationParticipant**](ConversationParticipant.md) | | [optional] |
15
+ | **event_participant_left** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
16
+ | **event_participant_left_participant** | [**ConversationParticipant**](ConversationParticipant.md) | | [optional] |
13
17
  | **event_participant_update** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
14
18
  | **event_queue_position** | [**ConversationEventQueuePosition**](ConversationEventQueuePosition.md) | | [optional] |
15
19
  | **event_queue_status_update** | [**ConversationWebchatQueueStatus**](ConversationWebchatQueueStatus.md) | | [optional] |
@@ -34,6 +38,10 @@ instance = UltracartClient::ConversationWebsocketMessage.new(
34
38
  event_conversation_closed: null,
35
39
  event_new_conversation: null,
36
40
  event_new_message: null,
41
+ event_participant_join: null,
42
+ event_participant_join_participant: null,
43
+ event_participant_left: null,
44
+ event_participant_left_participant: null,
37
45
  event_participant_update: null,
38
46
  event_queue_position: null,
39
47
  event_queue_status_update: null,
@@ -28,6 +28,14 @@ module UltracartClient
28
28
 
29
29
  attr_accessor :event_new_message
30
30
 
31
+ attr_accessor :event_participant_join
32
+
33
+ attr_accessor :event_participant_join_participant
34
+
35
+ attr_accessor :event_participant_left
36
+
37
+ attr_accessor :event_participant_left_participant
38
+
31
39
  attr_accessor :event_participant_update
32
40
 
33
41
  attr_accessor :event_queue_position
@@ -83,6 +91,10 @@ module UltracartClient
83
91
  :'event_conversation_closed' => :'event_conversation_closed',
84
92
  :'event_new_conversation' => :'event_new_conversation',
85
93
  :'event_new_message' => :'event_new_message',
94
+ :'event_participant_join' => :'event_participant_join',
95
+ :'event_participant_join_participant' => :'event_participant_join_participant',
96
+ :'event_participant_left' => :'event_participant_left',
97
+ :'event_participant_left_participant' => :'event_participant_left_participant',
86
98
  :'event_participant_update' => :'event_participant_update',
87
99
  :'event_queue_position' => :'event_queue_position',
88
100
  :'event_queue_status_update' => :'event_queue_status_update',
@@ -111,6 +123,10 @@ module UltracartClient
111
123
  :'event_conversation_closed' => :'ConversationSummary',
112
124
  :'event_new_conversation' => :'ConversationSummary',
113
125
  :'event_new_message' => :'ConversationSummary',
126
+ :'event_participant_join' => :'ConversationSummary',
127
+ :'event_participant_join_participant' => :'ConversationParticipant',
128
+ :'event_participant_left' => :'ConversationSummary',
129
+ :'event_participant_left_participant' => :'ConversationParticipant',
114
130
  :'event_participant_update' => :'ConversationSummary',
115
131
  :'event_queue_position' => :'ConversationEventQueuePosition',
116
132
  :'event_queue_status_update' => :'ConversationWebchatQueueStatus',
@@ -170,6 +186,22 @@ module UltracartClient
170
186
  self.event_new_message = attributes[:'event_new_message']
171
187
  end
172
188
 
189
+ if attributes.key?(:'event_participant_join')
190
+ self.event_participant_join = attributes[:'event_participant_join']
191
+ end
192
+
193
+ if attributes.key?(:'event_participant_join_participant')
194
+ self.event_participant_join_participant = attributes[:'event_participant_join_participant']
195
+ end
196
+
197
+ if attributes.key?(:'event_participant_left')
198
+ self.event_participant_left = attributes[:'event_participant_left']
199
+ end
200
+
201
+ if attributes.key?(:'event_participant_left_participant')
202
+ self.event_participant_left_participant = attributes[:'event_participant_left_participant']
203
+ end
204
+
173
205
  if attributes.key?(:'event_participant_update')
174
206
  self.event_participant_update = attributes[:'event_participant_update']
175
207
  end
@@ -225,7 +257,7 @@ module UltracartClient
225
257
  # Check to see if the all the properties in the model are valid
226
258
  # @return true if the model is valid
227
259
  def valid?
228
- event_type_validator = EnumAttributeValidator.new('String', ["queue position", "webchat start conversation", "conversation closed", "new conversation", "new message", "updated message", "queue status update", "rrweb", "participant update", "read message", "typing", "add coupon", "add item", "webchat context"])
260
+ event_type_validator = EnumAttributeValidator.new('String', ["queue position", "webchat start conversation", "conversation closed", "new conversation", "new message", "updated message", "queue status update", "rrweb", "participant update", "participant join", "participant leave", "read message", "typing", "add coupon", "add item", "webchat context"])
229
261
  return false unless event_type_validator.valid?(@event_type)
230
262
  type_validator = EnumAttributeValidator.new('String', ["message", "event", "ping", "check queue position"])
231
263
  return false unless type_validator.valid?(@type)
@@ -235,7 +267,7 @@ module UltracartClient
235
267
  # Custom attribute writer method checking allowed values (enum).
236
268
  # @param [Object] event_type Object to be assigned
237
269
  def event_type=(event_type)
238
- validator = EnumAttributeValidator.new('String', ["queue position", "webchat start conversation", "conversation closed", "new conversation", "new message", "updated message", "queue status update", "rrweb", "participant update", "read message", "typing", "add coupon", "add item", "webchat context"])
270
+ validator = EnumAttributeValidator.new('String', ["queue position", "webchat start conversation", "conversation closed", "new conversation", "new message", "updated message", "queue status update", "rrweb", "participant update", "participant join", "participant leave", "read message", "typing", "add coupon", "add item", "webchat context"])
239
271
  unless validator.valid?(event_type)
240
272
  fail ArgumentError, "invalid value for \"event_type\", must be one of #{validator.allowable_values}."
241
273
  end
@@ -263,6 +295,10 @@ module UltracartClient
263
295
  event_conversation_closed == o.event_conversation_closed &&
264
296
  event_new_conversation == o.event_new_conversation &&
265
297
  event_new_message == o.event_new_message &&
298
+ event_participant_join == o.event_participant_join &&
299
+ event_participant_join_participant == o.event_participant_join_participant &&
300
+ event_participant_left == o.event_participant_left &&
301
+ event_participant_left_participant == o.event_participant_left_participant &&
266
302
  event_participant_update == o.event_participant_update &&
267
303
  event_queue_position == o.event_queue_position &&
268
304
  event_queue_status_update == o.event_queue_status_update &&
@@ -285,7 +321,7 @@ module UltracartClient
285
321
  # Calculates hash code according to all attributes.
286
322
  # @return [Integer] Hash code
287
323
  def hash
288
- [conversation_uuid, event_add_coupon, event_add_item, event_conversation_closed, event_new_conversation, event_new_message, event_participant_update, event_queue_position, event_queue_status_update, event_read_message, event_rrweb, event_type, event_typing, event_updated_message, event_webchat_context, message, type].hash
324
+ [conversation_uuid, event_add_coupon, event_add_item, event_conversation_closed, event_new_conversation, event_new_message, event_participant_join, event_participant_join_participant, event_participant_left, event_participant_left_participant, event_participant_update, event_queue_position, event_queue_status_update, event_read_message, event_rrweb, event_type, event_typing, event_updated_message, event_webchat_context, message, type].hash
289
325
  end
290
326
 
291
327
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.104.rc'
14
+ VERSION = '4.0.105.rc'
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: 4.0.104.rc
4
+ version: 4.0.105.rc
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart