ultracart_api 4.0.129 → 4.0.131

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: 5293012ec7f9968e2943c0d98f9b26438de29af158a51197cc9be2019da03db3
4
- data.tar.gz: de611ab94d3219c13428d3b7bb524d322802b0502ba25e2850531fff9b97d73c
3
+ metadata.gz: 310eb2e4f012d716f5d328c557965bf9891556f024fddc623f4a08bcb332ee8a
4
+ data.tar.gz: d130a2a42cf386410351c0b75f096e82b85c2367a592c2e9dc80bf0a3027177c
5
5
  SHA512:
6
- metadata.gz: 86906721722d5080fea607ea6cfdc62b630f572c573bb43350f3e9bf475311c5e1845fa359ad031c7c77f6eb86d46ecd934f32bfaba94a1d87837faf9d21b7a8
7
- data.tar.gz: 2ab9d6ba0ac04ffa3c7e2c2d07bff9dd69375066d7954d05dfda59491bce10a1f060ea624ef1a92606e7dafed8341243b78fad7a77135557467d32b4a1ffa18f
6
+ metadata.gz: 0b46fbcb96ac5bc163d86689c3607709566811f8991578569e8776a11ec5c8dc6ce158ed8a1fbef6d607b2dc8f9edda8599f01d7fb9d03bbcbe6aa8fb90b7c08
7
+ data.tar.gz: b6a06d1c987cbb7628a9c0b355d5a62e6e9af250951db337c45b5fac4c1e72e933d36e55e3dae396af4c585500c91f6d39f9b116e969786d1f561b116052397c
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.129
10
+ - Package version: 4.0.131
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.129.gem
27
+ gem install ./ultracart_api-4.0.131.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.129.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.131.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.129'
36
+ gem 'ultracart_api', '~> 4.0.131'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1308,6 +1308,8 @@ Not every change is committed to every SDK.
1308
1308
 
1309
1309
  | Version | Date | Comments |
1310
1310
  | --: | :-: | --- |
1311
+ | 4.0.131 | 02/07/2023 | convo - new event for when a customer joins a queue |
1312
+ | 4.0.130 | 02/06/2023 | convo - add conversation_arn to ConversationWebsocketMessage |
1311
1313
  | 4.0.129 | 02/01/2023 | convo - agent profile get/update methods |
1312
1314
  | 4.0.128 | 01/27/2023 | convo - added event_engage_customer property to message |
1313
1315
  | 4.0.127 | 01/27/2023 | conversations - getLocationsForEngagement method |
@@ -11,6 +11,7 @@
11
11
  | **join_dts** | **String** | Date/time the customer joined the queue | [optional] |
12
12
  | **participant_language_iso_code** | **String** | | [optional] |
13
13
  | **question** | **String** | | [optional] |
14
+ | **queue_name** | **String** | | [optional] |
14
15
 
15
16
  ## Example
16
17
 
@@ -24,7 +25,8 @@ instance = UltracartClient::ConversationWebchatQueueStatusQueueEntry.new(
24
25
  email: null,
25
26
  join_dts: null,
26
27
  participant_language_iso_code: null,
27
- question: null
28
+ question: null,
29
+ queue_name: null
28
30
  )
29
31
  ```
30
32
 
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **conversation_arn** | **String** | Conversation ARN | [optional] |
7
8
  | **conversation_uuid** | **String** | Conversation UUID if the websocket message is tied to a specific conversation | [optional] |
8
9
  | **event_add_coupon** | [**ConversationEventAddCoupon**](ConversationEventAddCoupon.md) | | [optional] |
9
10
  | **event_add_item** | [**ConversationEventAddItem**](ConversationEventAddItem.md) | | [optional] |
@@ -16,6 +17,7 @@
16
17
  | **event_participant_left** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
17
18
  | **event_participant_left_participant** | [**ConversationParticipant**](ConversationParticipant.md) | | [optional] |
18
19
  | **event_participant_update** | [**ConversationSummary**](ConversationSummary.md) | | [optional] |
20
+ | **event_queue_new_member** | [**ConversationWebchatQueueStatusQueueEntry**](ConversationWebchatQueueStatusQueueEntry.md) | | [optional] |
19
21
  | **event_queue_position** | [**ConversationEventQueuePosition**](ConversationEventQueuePosition.md) | | [optional] |
20
22
  | **event_queue_status_update** | [**ConversationWebchatQueueStatus**](ConversationWebchatQueueStatus.md) | | [optional] |
21
23
  | **event_read_message** | [**ConversationEventReadMessage**](ConversationEventReadMessage.md) | | [optional] |
@@ -33,6 +35,7 @@
33
35
  require 'ultracart_api'
34
36
 
35
37
  instance = UltracartClient::ConversationWebsocketMessage.new(
38
+ conversation_arn: null,
36
39
  conversation_uuid: null,
37
40
  event_add_coupon: null,
38
41
  event_add_item: null,
@@ -45,6 +48,7 @@ instance = UltracartClient::ConversationWebsocketMessage.new(
45
48
  event_participant_left: null,
46
49
  event_participant_left_participant: null,
47
50
  event_participant_update: null,
51
+ event_queue_new_member: null,
48
52
  event_queue_position: null,
49
53
  event_queue_status_update: null,
50
54
  event_read_message: null,
@@ -30,6 +30,8 @@ module UltracartClient
30
30
 
31
31
  attr_accessor :question
32
32
 
33
+ attr_accessor :queue_name
34
+
33
35
  # Attribute mapping from ruby-style variable name to JSON key.
34
36
  def self.attribute_map
35
37
  {
@@ -39,7 +41,8 @@ module UltracartClient
39
41
  :'email' => :'email',
40
42
  :'join_dts' => :'join_dts',
41
43
  :'participant_language_iso_code' => :'participant_language_iso_code',
42
- :'question' => :'question'
44
+ :'question' => :'question',
45
+ :'queue_name' => :'queue_name'
43
46
  }
44
47
  end
45
48
 
@@ -57,7 +60,8 @@ module UltracartClient
57
60
  :'email' => :'String',
58
61
  :'join_dts' => :'String',
59
62
  :'participant_language_iso_code' => :'String',
60
- :'question' => :'String'
63
+ :'question' => :'String',
64
+ :'queue_name' => :'String'
61
65
  }
62
66
  end
63
67
 
@@ -109,6 +113,10 @@ module UltracartClient
109
113
  if attributes.key?(:'question')
110
114
  self.question = attributes[:'question']
111
115
  end
116
+
117
+ if attributes.key?(:'queue_name')
118
+ self.queue_name = attributes[:'queue_name']
119
+ end
112
120
  end
113
121
 
114
122
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -135,7 +143,8 @@ module UltracartClient
135
143
  email == o.email &&
136
144
  join_dts == o.join_dts &&
137
145
  participant_language_iso_code == o.participant_language_iso_code &&
138
- question == o.question
146
+ question == o.question &&
147
+ queue_name == o.queue_name
139
148
  end
140
149
 
141
150
  # @see the `==` method
@@ -147,7 +156,7 @@ module UltracartClient
147
156
  # Calculates hash code according to all attributes.
148
157
  # @return [Integer] Hash code
149
158
  def hash
150
- [conversation_participant_arn, conversation_participant_name, conversation_webchat_queue_uuid, email, join_dts, participant_language_iso_code, question].hash
159
+ [conversation_participant_arn, conversation_participant_name, conversation_webchat_queue_uuid, email, join_dts, participant_language_iso_code, question, queue_name].hash
151
160
  end
152
161
 
153
162
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module UltracartClient
17
17
  class ConversationWebsocketMessage
18
+ # Conversation ARN
19
+ attr_accessor :conversation_arn
20
+
18
21
  # Conversation UUID if the websocket message is tied to a specific conversation
19
22
  attr_accessor :conversation_uuid
20
23
 
@@ -40,6 +43,8 @@ module UltracartClient
40
43
 
41
44
  attr_accessor :event_participant_update
42
45
 
46
+ attr_accessor :event_queue_new_member
47
+
43
48
  attr_accessor :event_queue_position
44
49
 
45
50
  attr_accessor :event_queue_status_update
@@ -87,6 +92,7 @@ module UltracartClient
87
92
  # Attribute mapping from ruby-style variable name to JSON key.
88
93
  def self.attribute_map
89
94
  {
95
+ :'conversation_arn' => :'conversation_arn',
90
96
  :'conversation_uuid' => :'conversation_uuid',
91
97
  :'event_add_coupon' => :'event_add_coupon',
92
98
  :'event_add_item' => :'event_add_item',
@@ -99,6 +105,7 @@ module UltracartClient
99
105
  :'event_participant_left' => :'event_participant_left',
100
106
  :'event_participant_left_participant' => :'event_participant_left_participant',
101
107
  :'event_participant_update' => :'event_participant_update',
108
+ :'event_queue_new_member' => :'event_queue_new_member',
102
109
  :'event_queue_position' => :'event_queue_position',
103
110
  :'event_queue_status_update' => :'event_queue_status_update',
104
111
  :'event_read_message' => :'event_read_message',
@@ -120,6 +127,7 @@ module UltracartClient
120
127
  # Attribute type mapping.
121
128
  def self.openapi_types
122
129
  {
130
+ :'conversation_arn' => :'String',
123
131
  :'conversation_uuid' => :'String',
124
132
  :'event_add_coupon' => :'ConversationEventAddCoupon',
125
133
  :'event_add_item' => :'ConversationEventAddItem',
@@ -132,6 +140,7 @@ module UltracartClient
132
140
  :'event_participant_left' => :'ConversationSummary',
133
141
  :'event_participant_left_participant' => :'ConversationParticipant',
134
142
  :'event_participant_update' => :'ConversationSummary',
143
+ :'event_queue_new_member' => :'ConversationWebchatQueueStatusQueueEntry',
135
144
  :'event_queue_position' => :'ConversationEventQueuePosition',
136
145
  :'event_queue_status_update' => :'ConversationWebchatQueueStatus',
137
146
  :'event_read_message' => :'ConversationEventReadMessage',
@@ -166,6 +175,10 @@ module UltracartClient
166
175
  h[k.to_sym] = v
167
176
  }
168
177
 
178
+ if attributes.key?(:'conversation_arn')
179
+ self.conversation_arn = attributes[:'conversation_arn']
180
+ end
181
+
169
182
  if attributes.key?(:'conversation_uuid')
170
183
  self.conversation_uuid = attributes[:'conversation_uuid']
171
184
  end
@@ -214,6 +227,10 @@ module UltracartClient
214
227
  self.event_participant_update = attributes[:'event_participant_update']
215
228
  end
216
229
 
230
+ if attributes.key?(:'event_queue_new_member')
231
+ self.event_queue_new_member = attributes[:'event_queue_new_member']
232
+ end
233
+
217
234
  if attributes.key?(:'event_queue_position')
218
235
  self.event_queue_position = attributes[:'event_queue_position']
219
236
  end
@@ -265,7 +282,7 @@ module UltracartClient
265
282
  # Check to see if the all the properties in the model are valid
266
283
  # @return true if the model is valid
267
284
  def valid?
268
- 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"])
285
+ 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"])
269
286
  return false unless event_type_validator.valid?(@event_type)
270
287
  type_validator = EnumAttributeValidator.new('String', ["message", "event", "ping", "check queue position"])
271
288
  return false unless type_validator.valid?(@type)
@@ -275,7 +292,7 @@ module UltracartClient
275
292
  # Custom attribute writer method checking allowed values (enum).
276
293
  # @param [Object] event_type Object to be assigned
277
294
  def event_type=(event_type)
278
- 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"])
295
+ 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"])
279
296
  unless validator.valid?(event_type)
280
297
  fail ArgumentError, "invalid value for \"event_type\", must be one of #{validator.allowable_values}."
281
298
  end
@@ -297,6 +314,7 @@ module UltracartClient
297
314
  def ==(o)
298
315
  return true if self.equal?(o)
299
316
  self.class == o.class &&
317
+ conversation_arn == o.conversation_arn &&
300
318
  conversation_uuid == o.conversation_uuid &&
301
319
  event_add_coupon == o.event_add_coupon &&
302
320
  event_add_item == o.event_add_item &&
@@ -309,6 +327,7 @@ module UltracartClient
309
327
  event_participant_left == o.event_participant_left &&
310
328
  event_participant_left_participant == o.event_participant_left_participant &&
311
329
  event_participant_update == o.event_participant_update &&
330
+ event_queue_new_member == o.event_queue_new_member &&
312
331
  event_queue_position == o.event_queue_position &&
313
332
  event_queue_status_update == o.event_queue_status_update &&
314
333
  event_read_message == o.event_read_message &&
@@ -330,7 +349,7 @@ module UltracartClient
330
349
  # Calculates hash code according to all attributes.
331
350
  # @return [Integer] Hash code
332
351
  def hash
333
- [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
352
+ [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
334
353
  end
335
354
 
336
355
  # 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.129'
14
+ VERSION = '4.0.131'
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: 4.0.129
4
+ version: 4.0.131
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