ultracart_api 4.0.79.rc → 4.0.81.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: 6ae962712e3604c7a8684032da99081b6fb0cf741c218d4657ffe3d9c8fe478f
4
- data.tar.gz: 6ff2eb1d5949ca9f19606fe592c018db6e9cb30a27d00a6517c0ef9cc8b73053
3
+ metadata.gz: a0106ff3c40b622a61a22a557c044729aa07aa82fa9d5a96e3ae3f0ebd8fc383
4
+ data.tar.gz: 25818287b327abf1f7346ea5e665c07285167a88b22e1c7edd51ba9db1cf4161
5
5
  SHA512:
6
- metadata.gz: 586f5dc4de0cb5374a710249540fafabe930483653dad2162194ecdc4838b21f2d806e6eeb4d1b8e620ae0987045a1d7c0810e0beabb907021b7dc5ffcac0539
7
- data.tar.gz: 65f32ef7bc5b91c3d930bb3709c3c53612b5c471f79d4cf778d982ffb23b9d936893f05478b0def51b0b0dca07684d0d68f07065aa4b00d8be10450da0ea0f2a
6
+ metadata.gz: d0f0916fb5621b603d6184c9ce4644a29f4617489647de7df2471c115bb4c8ca892f079e3e2d0838ebc0eb124050f004cb32616605746c5ece357feaf2421d19
7
+ data.tar.gz: e0f8f2f2c525b91485e44453a10aba86b5f7f2dd33bf022ee4a796cee6e1166d09b8c15f22b27a93b65c0bc70e11672876166b1d0ae484ccf02e52ee0b9062d4
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.79.rc
10
+ - Package version: 4.0.81.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.79.rc.gem
27
+ gem install ./ultracart_api-4.0.81.rc.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.79.rc.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.81.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.79.rc'
36
+ gem 'ultracart_api', '~> 4.0.81.rc'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1222,6 +1222,8 @@ Not every change is committed to every SDK.
1222
1222
 
1223
1223
  | Version | Date | Comments |
1224
1224
  | --: | :-: | --- |
1225
+ | 4.0.81-RC | 11/15/2022 | increase order property length to 10k char |
1226
+ | 4.0.80-RC | 11/14/2022 | conversations - add allowed values for update agent status |
1225
1227
  | 4.0.79-RC | 11/09/2022 | conversations - add an enum of event typing |
1226
1228
  | 4.0.78-RC | 11/04/2022 | new coupon type percent based on msrp |
1227
1229
  | 4.0.77-RC | 10/31/2022 | communication bug fix on dup annonation |
@@ -14,7 +14,9 @@
14
14
  | **link** | [**AffiliateLink**](AffiliateLink.md) | | [optional] |
15
15
  | **referrer** | **String** | URL that referred the click (Browser Header Referer) | [optional] |
16
16
  | **referrer_query_string** | **String** | Query string that was on the referrer URL. | [optional] |
17
+ | **screen_recording_uuid** | **String** | Screen recording UUID | [optional] |
17
18
  | **sub_id** | **String** | Sub ID value passed on the click | [optional] |
19
+ | **ucacid** | **String** | UC Analytics Identifier | [optional] |
18
20
 
19
21
  ## Example
20
22
 
@@ -32,7 +34,9 @@ instance = UltracartClient::AffiliateClick.new(
32
34
  link: null,
33
35
  referrer: null,
34
36
  referrer_query_string: null,
35
- sub_id: null
37
+ screen_recording_uuid: null,
38
+ sub_id: null,
39
+ ucacid: null
36
40
  )
37
41
  ```
38
42
 
data/docs/Conversation.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **base_language_iso_code** | **String** | The base language iso code for the StoreFront that everything is translated into | [optional] |
7
8
  | **closed** | **Boolean** | | [optional] |
8
9
  | **conversation_arn** | **String** | | [optional] |
9
10
  | **conversation_uuid** | **String** | | [optional] |
@@ -27,6 +28,7 @@
27
28
  require 'ultracart_api'
28
29
 
29
30
  instance = UltracartClient::Conversation.new(
31
+ base_language_iso_code: null,
30
32
  closed: null,
31
33
  conversation_arn: null,
32
34
  conversation_uuid: null,
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **agent_status** | **String** | | [optional] |
7
+ | **agent_status** | **String** | Status of the agent | [optional] |
8
8
 
9
9
  ## Example
10
10
 
data/docs/Webhook.md CHANGED
@@ -10,6 +10,7 @@
10
10
  | **authentication_type** | **String** | The type of authentication this webhook will use when communicating with your server | [optional] |
11
11
  | **basic_password** | **String** | Basic authentication password | [optional] |
12
12
  | **basic_username** | **String** | Basic authentication user name | [optional] |
13
+ | **compress_events** | **Boolean** | Compress events with GZIP then base 64 encode them as a string | [optional] |
13
14
  | **consecutive_failures** | **Integer** | The number of consecutive failures that have occurred trying to deliver notifications to the target server | [optional] |
14
15
  | **disabled** | **Boolean** | True if the webhook has been disabled | [optional] |
15
16
  | **event_categories** | [**Array<WebhookEventCategory>**](WebhookEventCategory.md) | The categories of events. Individual events and subscriptions are handled in the child objects. _placeholders parameter effects the population of this on a retrieval. | [optional] |
@@ -35,6 +36,7 @@ instance = UltracartClient::Webhook.new(
35
36
  authentication_type: null,
36
37
  basic_password: null,
37
38
  basic_username: null,
39
+ compress_events: null,
38
40
  consecutive_failures: null,
39
41
  disabled: null,
40
42
  event_categories: null,
@@ -44,9 +44,15 @@ module UltracartClient
44
44
  # Query string that was on the referrer URL.
45
45
  attr_accessor :referrer_query_string
46
46
 
47
+ # Screen recording UUID
48
+ attr_accessor :screen_recording_uuid
49
+
47
50
  # Sub ID value passed on the click
48
51
  attr_accessor :sub_id
49
52
 
53
+ # UC Analytics Identifier
54
+ attr_accessor :ucacid
55
+
50
56
  # Attribute mapping from ruby-style variable name to JSON key.
51
57
  def self.attribute_map
52
58
  {
@@ -60,7 +66,9 @@ module UltracartClient
60
66
  :'link' => :'link',
61
67
  :'referrer' => :'referrer',
62
68
  :'referrer_query_string' => :'referrer_query_string',
63
- :'sub_id' => :'sub_id'
69
+ :'screen_recording_uuid' => :'screen_recording_uuid',
70
+ :'sub_id' => :'sub_id',
71
+ :'ucacid' => :'ucacid'
64
72
  }
65
73
  end
66
74
 
@@ -82,7 +90,9 @@ module UltracartClient
82
90
  :'link' => :'AffiliateLink',
83
91
  :'referrer' => :'String',
84
92
  :'referrer_query_string' => :'String',
85
- :'sub_id' => :'String'
93
+ :'screen_recording_uuid' => :'String',
94
+ :'sub_id' => :'String',
95
+ :'ucacid' => :'String'
86
96
  }
87
97
  end
88
98
 
@@ -147,9 +157,17 @@ module UltracartClient
147
157
  self.referrer_query_string = attributes[:'referrer_query_string']
148
158
  end
149
159
 
160
+ if attributes.key?(:'screen_recording_uuid')
161
+ self.screen_recording_uuid = attributes[:'screen_recording_uuid']
162
+ end
163
+
150
164
  if attributes.key?(:'sub_id')
151
165
  self.sub_id = attributes[:'sub_id']
152
166
  end
167
+
168
+ if attributes.key?(:'ucacid')
169
+ self.ucacid = attributes[:'ucacid']
170
+ end
153
171
  end
154
172
 
155
173
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -180,7 +198,9 @@ module UltracartClient
180
198
  link == o.link &&
181
199
  referrer == o.referrer &&
182
200
  referrer_query_string == o.referrer_query_string &&
183
- sub_id == o.sub_id
201
+ screen_recording_uuid == o.screen_recording_uuid &&
202
+ sub_id == o.sub_id &&
203
+ ucacid == o.ucacid
184
204
  end
185
205
 
186
206
  # @see the `==` method
@@ -192,7 +212,7 @@ module UltracartClient
192
212
  # Calculates hash code according to all attributes.
193
213
  # @return [Integer] Hash code
194
214
  def hash
195
- [affiliate_click_oid, affiliate_link_oid, affiliate_oid, click_dts, ip_address, landing_page, landing_page_query_string, link, referrer, referrer_query_string, sub_id].hash
215
+ [affiliate_click_oid, affiliate_link_oid, affiliate_oid, click_dts, ip_address, landing_page, landing_page_query_string, link, referrer, referrer_query_string, screen_recording_uuid, sub_id, ucacid].hash
196
216
  end
197
217
 
198
218
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module UltracartClient
17
17
  class Conversation
18
+ # The base language iso code for the StoreFront that everything is translated into
19
+ attr_accessor :base_language_iso_code
20
+
18
21
  attr_accessor :closed
19
22
 
20
23
  attr_accessor :conversation_arn
@@ -76,6 +79,7 @@ module UltracartClient
76
79
  # Attribute mapping from ruby-style variable name to JSON key.
77
80
  def self.attribute_map
78
81
  {
82
+ :'base_language_iso_code' => :'base_language_iso_code',
79
83
  :'closed' => :'closed',
80
84
  :'conversation_arn' => :'conversation_arn',
81
85
  :'conversation_uuid' => :'conversation_uuid',
@@ -103,6 +107,7 @@ module UltracartClient
103
107
  # Attribute type mapping.
104
108
  def self.openapi_types
105
109
  {
110
+ :'base_language_iso_code' => :'String',
106
111
  :'closed' => :'Boolean',
107
112
  :'conversation_arn' => :'String',
108
113
  :'conversation_uuid' => :'String',
@@ -143,6 +148,10 @@ module UltracartClient
143
148
  h[k.to_sym] = v
144
149
  }
145
150
 
151
+ if attributes.key?(:'base_language_iso_code')
152
+ self.base_language_iso_code = attributes[:'base_language_iso_code']
153
+ end
154
+
146
155
  if attributes.key?(:'closed')
147
156
  self.closed = attributes[:'closed']
148
157
  end
@@ -242,6 +251,7 @@ module UltracartClient
242
251
  def ==(o)
243
252
  return true if self.equal?(o)
244
253
  self.class == o.class &&
254
+ base_language_iso_code == o.base_language_iso_code &&
245
255
  closed == o.closed &&
246
256
  conversation_arn == o.conversation_arn &&
247
257
  conversation_uuid == o.conversation_uuid &&
@@ -269,7 +279,7 @@ module UltracartClient
269
279
  # Calculates hash code according to all attributes.
270
280
  # @return [Integer] Hash code
271
281
  def hash
272
- [closed, conversation_arn, conversation_uuid, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_interactive_message_dts, last_message_dts, medium, merchant_id, message_count, messages, participants, start_dts, unread_messages, visible].hash
282
+ [base_language_iso_code, closed, conversation_arn, conversation_uuid, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_interactive_message_dts, last_message_dts, medium, merchant_id, message_count, messages, participants, start_dts, unread_messages, visible].hash
273
283
  end
274
284
 
275
285
  # Builds the object from hash
@@ -15,8 +15,31 @@ require 'time'
15
15
 
16
16
  module UltracartClient
17
17
  class ConversationWebchatQueueStatusUpdateRequest
18
+ # Status of the agent
18
19
  attr_accessor :agent_status
19
20
 
21
+ class EnumAttributeValidator
22
+ attr_reader :datatype
23
+ attr_reader :allowable_values
24
+
25
+ def initialize(datatype, allowable_values)
26
+ @allowable_values = allowable_values.map do |value|
27
+ case datatype.to_s
28
+ when /Integer/i
29
+ value.to_i
30
+ when /Float/i
31
+ value.to_f
32
+ else
33
+ value
34
+ end
35
+ end
36
+ end
37
+
38
+ def valid?(value)
39
+ !value || allowable_values.include?(value)
40
+ end
41
+ end
42
+
20
43
  # Attribute mapping from ruby-style variable name to JSON key.
21
44
  def self.attribute_map
22
45
  {
@@ -72,9 +95,21 @@ module UltracartClient
72
95
  # Check to see if the all the properties in the model are valid
73
96
  # @return true if the model is valid
74
97
  def valid?
98
+ agent_status_validator = EnumAttributeValidator.new('String', ["available", "busy", "unavailable"])
99
+ return false unless agent_status_validator.valid?(@agent_status)
75
100
  true
76
101
  end
77
102
 
103
+ # Custom attribute writer method checking allowed values (enum).
104
+ # @param [Object] agent_status Object to be assigned
105
+ def agent_status=(agent_status)
106
+ validator = EnumAttributeValidator.new('String', ["available", "busy", "unavailable"])
107
+ unless validator.valid?(agent_status)
108
+ fail ArgumentError, "invalid value for \"agent_status\", must be one of #{validator.allowable_values}."
109
+ end
110
+ @agent_status = agent_status
111
+ end
112
+
78
113
  # Checks equality by comparing each attribute.
79
114
  # @param [Object] Object to be compared
80
115
  def ==(o)
@@ -98,8 +98,8 @@ module UltracartClient
98
98
  invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 100.')
99
99
  end
100
100
 
101
- if !@value.nil? && @value.to_s.length > 3800
102
- invalid_properties.push('invalid value for "value", the character length must be smaller than or equal to 3800.')
101
+ if !@value.nil? && @value.to_s.length > 10000
102
+ invalid_properties.push('invalid value for "value", the character length must be smaller than or equal to 10000.')
103
103
  end
104
104
 
105
105
  invalid_properties
@@ -109,7 +109,7 @@ module UltracartClient
109
109
  # @return true if the model is valid
110
110
  def valid?
111
111
  return false if !@name.nil? && @name.to_s.length > 100
112
- return false if !@value.nil? && @value.to_s.length > 3800
112
+ return false if !@value.nil? && @value.to_s.length > 10000
113
113
  true
114
114
  end
115
115
 
@@ -126,8 +126,8 @@ module UltracartClient
126
126
  # Custom attribute writer method with validation
127
127
  # @param [Object] value Value to be assigned
128
128
  def value=(value)
129
- if !value.nil? && value.to_s.length > 3800
130
- fail ArgumentError, 'invalid value for "value", the character length must be smaller than or equal to 3800.'
129
+ if !value.nil? && value.to_s.length > 10000
130
+ fail ArgumentError, 'invalid value for "value", the character length must be smaller than or equal to 10000.'
131
131
  end
132
132
 
133
133
  @value = value
@@ -32,6 +32,9 @@ module UltracartClient
32
32
  # Basic authentication user name
33
33
  attr_accessor :basic_username
34
34
 
35
+ # Compress events with GZIP then base 64 encode them as a string
36
+ attr_accessor :compress_events
37
+
35
38
  # The number of consecutive failures that have occurred trying to deliver notifications to the target server
36
39
  attr_accessor :consecutive_failures
37
40
 
@@ -99,6 +102,7 @@ module UltracartClient
99
102
  :'authentication_type' => :'authentication_type',
100
103
  :'basic_password' => :'basic_password',
101
104
  :'basic_username' => :'basic_username',
105
+ :'compress_events' => :'compress_events',
102
106
  :'consecutive_failures' => :'consecutive_failures',
103
107
  :'disabled' => :'disabled',
104
108
  :'event_categories' => :'event_categories',
@@ -128,6 +132,7 @@ module UltracartClient
128
132
  :'authentication_type' => :'String',
129
133
  :'basic_password' => :'String',
130
134
  :'basic_username' => :'String',
135
+ :'compress_events' => :'Boolean',
131
136
  :'consecutive_failures' => :'Integer',
132
137
  :'disabled' => :'Boolean',
133
138
  :'event_categories' => :'Array<WebhookEventCategory>',
@@ -188,6 +193,10 @@ module UltracartClient
188
193
  self.basic_username = attributes[:'basic_username']
189
194
  end
190
195
 
196
+ if attributes.key?(:'compress_events')
197
+ self.compress_events = attributes[:'compress_events']
198
+ end
199
+
191
200
  if attributes.key?(:'consecutive_failures')
192
201
  self.consecutive_failures = attributes[:'consecutive_failures']
193
202
  end
@@ -287,6 +296,7 @@ module UltracartClient
287
296
  authentication_type == o.authentication_type &&
288
297
  basic_password == o.basic_password &&
289
298
  basic_username == o.basic_username &&
299
+ compress_events == o.compress_events &&
290
300
  consecutive_failures == o.consecutive_failures &&
291
301
  disabled == o.disabled &&
292
302
  event_categories == o.event_categories &&
@@ -310,7 +320,7 @@ module UltracartClient
310
320
  # Calculates hash code according to all attributes.
311
321
  # @return [Integer] Hash code
312
322
  def hash
313
- [api_user_oid, api_version, application_profile, authentication_type, basic_password, basic_username, consecutive_failures, disabled, event_categories, iam_access_key, iam_secret_key, maximum_events, maximum_size, merchant_id, next_retry_after, pending, webhook_oid, webhook_url].hash
323
+ [api_user_oid, api_version, application_profile, authentication_type, basic_password, basic_username, compress_events, consecutive_failures, disabled, event_categories, iam_access_key, iam_secret_key, maximum_events, maximum_size, merchant_id, next_retry_after, pending, webhook_oid, webhook_url].hash
314
324
  end
315
325
 
316
326
  # 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.79.rc'
14
+ VERSION = '4.0.81.rc'
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.79.rc
4
+ version: 4.0.81.rc
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-09 00:00:00.000000000 Z
11
+ date: 2022-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus