ultracart_api 3.10.113 → 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: 5a5a7bd247db62f5580c18dc9b59ac736c0a84af3981aa5d6992549197387394
4
- data.tar.gz: a473a82eab4b03d52ca9af3aa886ac2effc9e92d0bcf88f1591c4a4c6e3547a0
3
+ metadata.gz: d20d18904ac5b1f783a8dc9790caaa79e1fed34c0e8ee79025bdc51bbd60fc96
4
+ data.tar.gz: 3acb829d50a8dcbc644a5cbfaf4a48e193b34e048b26f745d8a21356af1fdd79
5
5
  SHA512:
6
- metadata.gz: e3e0a00bbf4c5e6448df2ef7764e29005d6c67f23bf478f7c0aa609306c7a404c5fe1ef0b54f7155c0471642f6624f921f3a9acfd9486d18564508235821c8e9
7
- data.tar.gz: 8d9e81a3eaa0831060ee567d816a4d357d38ab8124cc27683484d272cb720227d2463f0082e7272cf4b784d1b9cb5369476fd990cc4c6704f828253260e92b1b
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.113
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.113.gem
27
+ gem install ./ultracart_api-3.10.114.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.113.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.113'
35
+ gem 'ultracart_api', '~> 3.10.114'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1300,6 +1300,7 @@ 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 |
1303
1304
  | 3.10.113 | 02/06/2023 | convo - add conversation_arn to ConversationWebsocketMessage |
1304
1305
  | 3.10.112 | 02/01/2023 | convo - agent profile get/update methods |
1305
1306
  | 3.10.111 | 01/27/2023 | convo - added event_engage_customer property to message |
@@ -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
 
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
16
16
  **event_participant_left** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
17
17
  **event_participant_left_participant** | [**ConversationParticipant**](ConversationParticipant.md) | | [optional]
18
18
  **event_participant_update** | [**ConversationSummary**](ConversationSummary.md) | | [optional]
19
+ **event_queue_new_member** | [**ConversationWebchatQueueStatusQueueEntry**](ConversationWebchatQueueStatusQueueEntry.md) | | [optional]
19
20
  **event_queue_position** | [**ConversationEventQueuePosition**](ConversationEventQueuePosition.md) | | [optional]
20
21
  **event_queue_status_update** | [**ConversationWebchatQueueStatus**](ConversationWebchatQueueStatus.md) | | [optional]
21
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
@@ -42,6 +42,8 @@ module UltracartClient
42
42
 
43
43
  attr_accessor :event_participant_update
44
44
 
45
+ attr_accessor :event_queue_new_member
46
+
45
47
  attr_accessor :event_queue_position
46
48
 
47
49
  attr_accessor :event_queue_status_update
@@ -102,6 +104,7 @@ module UltracartClient
102
104
  :'event_participant_left' => :'event_participant_left',
103
105
  :'event_participant_left_participant' => :'event_participant_left_participant',
104
106
  :'event_participant_update' => :'event_participant_update',
107
+ :'event_queue_new_member' => :'event_queue_new_member',
105
108
  :'event_queue_position' => :'event_queue_position',
106
109
  :'event_queue_status_update' => :'event_queue_status_update',
107
110
  :'event_read_message' => :'event_read_message',
@@ -131,6 +134,7 @@ module UltracartClient
131
134
  :'event_participant_left' => :'ConversationSummary',
132
135
  :'event_participant_left_participant' => :'ConversationParticipant',
133
136
  :'event_participant_update' => :'ConversationSummary',
137
+ :'event_queue_new_member' => :'ConversationWebchatQueueStatusQueueEntry',
134
138
  :'event_queue_position' => :'ConversationEventQueuePosition',
135
139
  :'event_queue_status_update' => :'ConversationWebchatQueueStatus',
136
140
  :'event_read_message' => :'ConversationEventReadMessage',
@@ -204,6 +208,10 @@ module UltracartClient
204
208
  self.event_participant_update = attributes[:'event_participant_update']
205
209
  end
206
210
 
211
+ if attributes.has_key?(:'event_queue_new_member')
212
+ self.event_queue_new_member = attributes[:'event_queue_new_member']
213
+ end
214
+
207
215
  if attributes.has_key?(:'event_queue_position')
208
216
  self.event_queue_position = attributes[:'event_queue_position']
209
217
  end
@@ -255,7 +263,7 @@ module UltracartClient
255
263
  # Check to see if the all the properties in the model are valid
256
264
  # @return true if the model is valid
257
265
  def valid?
258
- 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'])
259
267
  return false unless event_type_validator.valid?(@event_type)
260
268
  type_validator = EnumAttributeValidator.new('String', ['message', 'event', 'ping', 'check queue position'])
261
269
  return false unless type_validator.valid?(@type)
@@ -265,7 +273,7 @@ module UltracartClient
265
273
  # Custom attribute writer method checking allowed values (enum).
266
274
  # @param [Object] event_type Object to be assigned
267
275
  def event_type=(event_type)
268
- 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'])
269
277
  unless validator.valid?(event_type)
270
278
  fail ArgumentError, 'invalid value for "event_type", must be one of #{validator.allowable_values}.'
271
279
  end
@@ -300,6 +308,7 @@ module UltracartClient
300
308
  event_participant_left == o.event_participant_left &&
301
309
  event_participant_left_participant == o.event_participant_left_participant &&
302
310
  event_participant_update == o.event_participant_update &&
311
+ event_queue_new_member == o.event_queue_new_member &&
303
312
  event_queue_position == o.event_queue_position &&
304
313
  event_queue_status_update == o.event_queue_status_update &&
305
314
  event_read_message == o.event_read_message &&
@@ -321,7 +330,7 @@ module UltracartClient
321
330
  # Calculates hash code according to all attributes.
322
331
  # @return [Fixnum] Hash code
323
332
  def hash
324
- [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_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
325
334
  end
326
335
 
327
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.113'
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.113
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-06 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