ultracart_api 3.10.112 → 3.10.114

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: 9d478126dcf8d78557310703d92f65e13e1ef35f7b9ee413ff5b585001a6be78
4
- data.tar.gz: 75fd2e621b8abd3778cb21a0eb24781350cadd545d8ceb52fd66637e2f4b52ee
3
+ metadata.gz: d20d18904ac5b1f783a8dc9790caaa79e1fed34c0e8ee79025bdc51bbd60fc96
4
+ data.tar.gz: 3acb829d50a8dcbc644a5cbfaf4a48e193b34e048b26f745d8a21356af1fdd79
5
5
  SHA512:
6
- metadata.gz: 04aeceb86cf35d50d76e274496353871ad08587b34331828dcd4e25d0ac31f078f28475ad75338b4d0a1928ee6627e918fba385feeab5ffcb6119c22c405b9dd
7
- data.tar.gz: 12ec7862c79f823ea8c49a4244bd0407ed6fd1d7e07bc22faa8c5c1102c67dc333af9d90d15d5d620f94b0c05dcbd94fa29288b6d2d4bb1491158eb4551b40cb
6
+ metadata.gz: 86a4675fc5def14de2fa799c8891fcff2c6e349c70a71dc90b6048fda96885d3b32583e4a157c795b2bf5b2599b00c4b8f19f31a6729ec93b9cdfdafb1446b4a
7
+ data.tar.gz: fe8e97947cfd99c668632876a1635ceaca54c19bb33b4525235b0e130dba0513d077905b9155996f4875c47466360a8d3dbfb3ccbf6616e30ee9711c4a87e799
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.112
10
+ - Package version: 3.10.114
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.112.gem
27
+ gem install ./ultracart_api-3.10.114.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.112.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.114.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.112'
35
+ gem 'ultracart_api', '~> 3.10.114'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1300,6 +1300,8 @@ Not every change is committed to every SDK.
1300
1300
 
1301
1301
  | Version | Date | Comments |
1302
1302
  | --: | :-: | --- |
1303
+ | 3.10.114 | 02/07/2023 | convo - new event for when a customer joins a queue |
1304
+ | 3.10.113 | 02/06/2023 | convo - add conversation_arn to ConversationWebsocketMessage |
1303
1305
  | 3.10.112 | 02/01/2023 | convo - agent profile get/update methods |
1304
1306
  | 3.10.111 | 01/27/2023 | convo - added event_engage_customer property to message |
1305
1307
  | 3.10.110 | 01/27/2023 | conversations - getLocationsForEngagement method |
@@ -10,5 +10,6 @@ Name | Type | Description | Notes
10
10
  **join_dts** | **String** | Date/time the customer joined the queue | [optional]
11
11
  **participant_language_iso_code** | **String** | | [optional]
12
12
  **question** | **String** | | [optional]
13
+ **queue_name** | **String** | | [optional]
13
14
 
14
15
 
@@ -3,6 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **conversation_arn** | **String** | Conversation ARN | [optional]
6
7
  **conversation_uuid** | **String** | Conversation UUID if the websocket message is tied to a specific conversation | [optional]
7
8
  **event_add_coupon** | [**ConversationEventAddCoupon**](ConversationEventAddCoupon.md) | | [optional]
8
9
  **event_add_item** | [**ConversationEventAddItem**](ConversationEventAddItem.md) | | [optional]
@@ -15,6 +16,7 @@ Name | Type | Description | Notes
15
16
  **event_participant_left** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
16
17
  **event_participant_left_participant** | [**ConversationParticipant**](ConversationParticipant.md) | | [optional]
17
18
  **event_participant_update** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
19
+ **event_queue_new_member** | [**ConversationWebchatQueueStatusQueueEntry**](ConversationWebchatQueueStatusQueueEntry.md) | | [optional]
18
20
  **event_queue_position** | [**ConversationEventQueuePosition**](ConversationEventQueuePosition.md) | | [optional]
19
21
  **event_queue_status_update** | [**ConversationWebchatQueueStatus**](ConversationWebchatQueueStatus.md) | | [optional]
20
22
  **event_read_message** | [**ConversationEventReadMessage**](ConversationEventReadMessage.md) | | [optional]
@@ -29,6 +29,8 @@ module UltracartClient
29
29
 
30
30
  attr_accessor :question
31
31
 
32
+ attr_accessor :queue_name
33
+
32
34
  # Attribute mapping from ruby-style variable name to JSON key.
33
35
  def self.attribute_map
34
36
  {
@@ -38,7 +40,8 @@ module UltracartClient
38
40
  :'email' => :'email',
39
41
  :'join_dts' => :'join_dts',
40
42
  :'participant_language_iso_code' => :'participant_language_iso_code',
41
- :'question' => :'question'
43
+ :'question' => :'question',
44
+ :'queue_name' => :'queue_name'
42
45
  }
43
46
  end
44
47
 
@@ -51,7 +54,8 @@ module UltracartClient
51
54
  :'email' => :'String',
52
55
  :'join_dts' => :'String',
53
56
  :'participant_language_iso_code' => :'String',
54
- :'question' => :'String'
57
+ :'question' => :'String',
58
+ :'queue_name' => :'String'
55
59
  }
56
60
  end
57
61
 
@@ -90,6 +94,10 @@ module UltracartClient
90
94
  if attributes.has_key?(:'question')
91
95
  self.question = attributes[:'question']
92
96
  end
97
+
98
+ if attributes.has_key?(:'queue_name')
99
+ self.queue_name = attributes[:'queue_name']
100
+ end
93
101
  end
94
102
 
95
103
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -116,7 +124,8 @@ module UltracartClient
116
124
  email == o.email &&
117
125
  join_dts == o.join_dts &&
118
126
  participant_language_iso_code == o.participant_language_iso_code &&
119
- question == o.question
127
+ question == o.question &&
128
+ queue_name == o.queue_name
120
129
  end
121
130
 
122
131
  # @see the `==` method
@@ -128,7 +137,7 @@ module UltracartClient
128
137
  # Calculates hash code according to all attributes.
129
138
  # @return [Fixnum] Hash code
130
139
  def hash
131
- [conversation_participant_arn, conversation_participant_name, conversation_webchat_queue_uuid, email, join_dts, participant_language_iso_code, question].hash
140
+ [conversation_participant_arn, conversation_participant_name, conversation_webchat_queue_uuid, email, join_dts, participant_language_iso_code, question, queue_name].hash
132
141
  end
133
142
 
134
143
  # Builds the object from hash
@@ -14,6 +14,9 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class ConversationWebsocketMessage
17
+ # Conversation ARN
18
+ attr_accessor :conversation_arn
19
+
17
20
  # Conversation UUID if the websocket message is tied to a specific conversation
18
21
  attr_accessor :conversation_uuid
19
22
 
@@ -39,6 +42,8 @@ module UltracartClient
39
42
 
40
43
  attr_accessor :event_participant_update
41
44
 
45
+ attr_accessor :event_queue_new_member
46
+
42
47
  attr_accessor :event_queue_position
43
48
 
44
49
  attr_accessor :event_queue_status_update
@@ -86,6 +91,7 @@ module UltracartClient
86
91
  # Attribute mapping from ruby-style variable name to JSON key.
87
92
  def self.attribute_map
88
93
  {
94
+ :'conversation_arn' => :'conversation_arn',
89
95
  :'conversation_uuid' => :'conversation_uuid',
90
96
  :'event_add_coupon' => :'event_add_coupon',
91
97
  :'event_add_item' => :'event_add_item',
@@ -98,6 +104,7 @@ module UltracartClient
98
104
  :'event_participant_left' => :'event_participant_left',
99
105
  :'event_participant_left_participant' => :'event_participant_left_participant',
100
106
  :'event_participant_update' => :'event_participant_update',
107
+ :'event_queue_new_member' => :'event_queue_new_member',
101
108
  :'event_queue_position' => :'event_queue_position',
102
109
  :'event_queue_status_update' => :'event_queue_status_update',
103
110
  :'event_read_message' => :'event_read_message',
@@ -114,6 +121,7 @@ module UltracartClient
114
121
  # Attribute type mapping.
115
122
  def self.swagger_types
116
123
  {
124
+ :'conversation_arn' => :'String',
117
125
  :'conversation_uuid' => :'String',
118
126
  :'event_add_coupon' => :'ConversationEventAddCoupon',
119
127
  :'event_add_item' => :'ConversationEventAddItem',
@@ -126,6 +134,7 @@ module UltracartClient
126
134
  :'event_participant_left' => :'ConversationSummary',
127
135
  :'event_participant_left_participant' => :'ConversationParticipant',
128
136
  :'event_participant_update' => :'ConversationSummary',
137
+ :'event_queue_new_member' => :'ConversationWebchatQueueStatusQueueEntry',
129
138
  :'event_queue_position' => :'ConversationEventQueuePosition',
130
139
  :'event_queue_status_update' => :'ConversationWebchatQueueStatus',
131
140
  :'event_read_message' => :'ConversationEventReadMessage',
@@ -147,6 +156,10 @@ module UltracartClient
147
156
  # convert string to symbol for hash key
148
157
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
149
158
 
159
+ if attributes.has_key?(:'conversation_arn')
160
+ self.conversation_arn = attributes[:'conversation_arn']
161
+ end
162
+
150
163
  if attributes.has_key?(:'conversation_uuid')
151
164
  self.conversation_uuid = attributes[:'conversation_uuid']
152
165
  end
@@ -195,6 +208,10 @@ module UltracartClient
195
208
  self.event_participant_update = attributes[:'event_participant_update']
196
209
  end
197
210
 
211
+ if attributes.has_key?(:'event_queue_new_member')
212
+ self.event_queue_new_member = attributes[:'event_queue_new_member']
213
+ end
214
+
198
215
  if attributes.has_key?(:'event_queue_position')
199
216
  self.event_queue_position = attributes[:'event_queue_position']
200
217
  end
@@ -246,7 +263,7 @@ module UltracartClient
246
263
  # Check to see if the all the properties in the model are valid
247
264
  # @return true if the model is valid
248
265
  def valid?
249
- 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 left', 'read message', 'typing', 'add coupon', 'add item', 'webchat context', 'engage customer'])
266
+ 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 left', 'read message', 'typing', 'add coupon', 'add item', 'webchat context', 'engage customer', 'queue new member'])
250
267
  return false unless event_type_validator.valid?(@event_type)
251
268
  type_validator = EnumAttributeValidator.new('String', ['message', 'event', 'ping', 'check queue position'])
252
269
  return false unless type_validator.valid?(@type)
@@ -256,7 +273,7 @@ module UltracartClient
256
273
  # Custom attribute writer method checking allowed values (enum).
257
274
  # @param [Object] event_type Object to be assigned
258
275
  def event_type=(event_type)
259
- 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 left', 'read message', 'typing', 'add coupon', 'add item', 'webchat context', 'engage customer'])
276
+ 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 left', 'read message', 'typing', 'add coupon', 'add item', 'webchat context', 'engage customer', 'queue new member'])
260
277
  unless validator.valid?(event_type)
261
278
  fail ArgumentError, 'invalid value for "event_type", must be one of #{validator.allowable_values}.'
262
279
  end
@@ -278,6 +295,7 @@ module UltracartClient
278
295
  def ==(o)
279
296
  return true if self.equal?(o)
280
297
  self.class == o.class &&
298
+ conversation_arn == o.conversation_arn &&
281
299
  conversation_uuid == o.conversation_uuid &&
282
300
  event_add_coupon == o.event_add_coupon &&
283
301
  event_add_item == o.event_add_item &&
@@ -290,6 +308,7 @@ module UltracartClient
290
308
  event_participant_left == o.event_participant_left &&
291
309
  event_participant_left_participant == o.event_participant_left_participant &&
292
310
  event_participant_update == o.event_participant_update &&
311
+ event_queue_new_member == o.event_queue_new_member &&
293
312
  event_queue_position == o.event_queue_position &&
294
313
  event_queue_status_update == o.event_queue_status_update &&
295
314
  event_read_message == o.event_read_message &&
@@ -311,7 +330,7 @@ module UltracartClient
311
330
  # Calculates hash code according to all attributes.
312
331
  # @return [Fixnum] Hash code
313
332
  def hash
314
- [conversation_uuid, event_add_coupon, event_add_item, event_conversation_closed, event_engage_customer, 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
333
+ [conversation_arn, conversation_uuid, event_add_coupon, event_add_item, event_conversation_closed, event_engage_customer, 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_new_member, 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
315
334
  end
316
335
 
317
336
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.112'
14
+ VERSION = '3.10.114'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.10.112
4
+ version: 3.10.114
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-01 00:00:00.000000000 Z
11
+ date: 2023-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus