ultracart_api 3.10.62 → 3.10.64

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: 897aa52e1624e0b694c701c24aa5626564c1cc0b80dff5b49992dc69d47678cd
4
- data.tar.gz: c5c868f75fd1b82fab93fcacb31ceb16c7dcab674dbc1fa87471748e7ce4443d
3
+ metadata.gz: e74b7dd569e12d9dc2fa15dab34cc3c7a51e0def27215ae4db499b3ded4d449f
4
+ data.tar.gz: f25d0248fbbc32b8f176d02bd6ab7c903e79b59e8c2bd21dd21a6701ae85d952
5
5
  SHA512:
6
- metadata.gz: ad671cc73abf0d555f2af954033086fc24739200bfb2a7c3b62b0ace8970c95a6c7a09cd2c9c406d22d8d2e89d02e77f0a9b3baf49183e64d083c3c818ee7473
7
- data.tar.gz: ed94eaa6a5790be0c4136943269eec256d341dd15363f3e02a6526aa65d7f84e671f34ac3885f55c278d6448f87fbe9b5f51b06e3596d9099086c47a117ff865
6
+ metadata.gz: 8b5cc4db4e89400fd95e036f4aad16c948fdc953715cca0dce887b29d9abffad7cf5a108587b60a34d5b86172110fb685fbd6f4de6be69b3b72869df2514c379
7
+ data.tar.gz: a362be05c9cb761584cac40b19d872b9931b9309c91f1a65443db277d6a6903e3247c700130a140e18b70d5bc50453be91cf5a90b5b22b01c0425211ba9aac2c
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.62
10
+ - Package version: 3.10.64
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.62.gem
27
+ gem install ./ultracart_api-3.10.64.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.62.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.64.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.62'
35
+ gem 'ultracart_api', '~> 3.10.64'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1213,6 +1213,8 @@ Not every change is committed to every SDK.
1213
1213
 
1214
1214
  | Version | Date | Comments |
1215
1215
  | --: | :-: | --- |
1216
+ | 3.10.64 | 11/15/2022 | increase order property length to 10k char |
1217
+ | 3.10.63 | 11/14/2022 | conversations - add allowed values for update agent status |
1216
1218
  | 3.10.62 | 11/09/2022 | conversations - add an enum of event typing |
1217
1219
  | 3.10.61 | 11/04/2022 | new coupon type percent based on msrp |
1218
1220
  | 3.10.60 | 10/31/2022 | communication bug fix on dup annonation |
@@ -13,6 +13,8 @@ Name | Type | Description | Notes
13
13
  **link** | [**AffiliateLink**](AffiliateLink.md) | | [optional]
14
14
  **referrer** | **String** | URL that referred the click (Browser Header Referer) | [optional]
15
15
  **referrer_query_string** | **String** | Query string that was on the referrer URL. | [optional]
16
+ **screen_recording_uuid** | **String** | Screen recording UUID | [optional]
16
17
  **sub_id** | **String** | Sub ID value passed on the click | [optional]
18
+ **ucacid** | **String** | UC Analytics Identifier | [optional]
17
19
 
18
20
 
data/docs/Conversation.md CHANGED
@@ -3,6 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **base_language_iso_code** | **String** | The base language iso code for the StoreFront that everything is translated into | [optional]
6
7
  **closed** | **BOOLEAN** | | [optional]
7
8
  **conversation_arn** | **String** | | [optional]
8
9
  **conversation_uuid** | **String** | | [optional]
@@ -3,6 +3,6 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **agent_status** | **String** | | [optional]
6
+ **agent_status** | **String** | Status of the agent | [optional]
7
7
 
8
8
 
data/docs/Webhook.md CHANGED
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **authentication_type** | **String** | The type of authentication this webhook will use when communicating with your server | [optional]
10
10
  **basic_password** | **String** | Basic authentication password | [optional]
11
11
  **basic_username** | **String** | Basic authentication user name | [optional]
12
+ **compress_events** | **BOOLEAN** | Compress events with GZIP then base 64 encode them as a string | [optional]
12
13
  **consecutive_failures** | **Integer** | The number of consecutive failures that have occurred trying to deliver notifications to the target server | [optional]
13
14
  **disabled** | **BOOLEAN** | True if the webhook has been disabled | [optional]
14
15
  **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]
@@ -43,9 +43,15 @@ module UltracartClient
43
43
  # Query string that was on the referrer URL.
44
44
  attr_accessor :referrer_query_string
45
45
 
46
+ # Screen recording UUID
47
+ attr_accessor :screen_recording_uuid
48
+
46
49
  # Sub ID value passed on the click
47
50
  attr_accessor :sub_id
48
51
 
52
+ # UC Analytics Identifier
53
+ attr_accessor :ucacid
54
+
49
55
  # Attribute mapping from ruby-style variable name to JSON key.
50
56
  def self.attribute_map
51
57
  {
@@ -59,7 +65,9 @@ module UltracartClient
59
65
  :'link' => :'link',
60
66
  :'referrer' => :'referrer',
61
67
  :'referrer_query_string' => :'referrer_query_string',
62
- :'sub_id' => :'sub_id'
68
+ :'screen_recording_uuid' => :'screen_recording_uuid',
69
+ :'sub_id' => :'sub_id',
70
+ :'ucacid' => :'ucacid'
63
71
  }
64
72
  end
65
73
 
@@ -76,7 +84,9 @@ module UltracartClient
76
84
  :'link' => :'AffiliateLink',
77
85
  :'referrer' => :'String',
78
86
  :'referrer_query_string' => :'String',
79
- :'sub_id' => :'String'
87
+ :'screen_recording_uuid' => :'String',
88
+ :'sub_id' => :'String',
89
+ :'ucacid' => :'String'
80
90
  }
81
91
  end
82
92
 
@@ -128,9 +138,17 @@ module UltracartClient
128
138
  self.referrer_query_string = attributes[:'referrer_query_string']
129
139
  end
130
140
 
141
+ if attributes.has_key?(:'screen_recording_uuid')
142
+ self.screen_recording_uuid = attributes[:'screen_recording_uuid']
143
+ end
144
+
131
145
  if attributes.has_key?(:'sub_id')
132
146
  self.sub_id = attributes[:'sub_id']
133
147
  end
148
+
149
+ if attributes.has_key?(:'ucacid')
150
+ self.ucacid = attributes[:'ucacid']
151
+ end
134
152
  end
135
153
 
136
154
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -161,7 +179,9 @@ module UltracartClient
161
179
  link == o.link &&
162
180
  referrer == o.referrer &&
163
181
  referrer_query_string == o.referrer_query_string &&
164
- sub_id == o.sub_id
182
+ screen_recording_uuid == o.screen_recording_uuid &&
183
+ sub_id == o.sub_id &&
184
+ ucacid == o.ucacid
165
185
  end
166
186
 
167
187
  # @see the `==` method
@@ -173,7 +193,7 @@ module UltracartClient
173
193
  # Calculates hash code according to all attributes.
174
194
  # @return [Fixnum] Hash code
175
195
  def hash
176
- [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
196
+ [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
177
197
  end
178
198
 
179
199
  # Builds the object from hash
@@ -14,6 +14,9 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class Conversation
17
+ # The base language iso code for the StoreFront that everything is translated into
18
+ attr_accessor :base_language_iso_code
19
+
17
20
  attr_accessor :closed
18
21
 
19
22
  attr_accessor :conversation_arn
@@ -75,6 +78,7 @@ module UltracartClient
75
78
  # Attribute mapping from ruby-style variable name to JSON key.
76
79
  def self.attribute_map
77
80
  {
81
+ :'base_language_iso_code' => :'base_language_iso_code',
78
82
  :'closed' => :'closed',
79
83
  :'conversation_arn' => :'conversation_arn',
80
84
  :'conversation_uuid' => :'conversation_uuid',
@@ -97,6 +101,7 @@ module UltracartClient
97
101
  # Attribute type mapping.
98
102
  def self.swagger_types
99
103
  {
104
+ :'base_language_iso_code' => :'String',
100
105
  :'closed' => :'BOOLEAN',
101
106
  :'conversation_arn' => :'String',
102
107
  :'conversation_uuid' => :'String',
@@ -124,6 +129,10 @@ module UltracartClient
124
129
  # convert string to symbol for hash key
125
130
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
126
131
 
132
+ if attributes.has_key?(:'base_language_iso_code')
133
+ self.base_language_iso_code = attributes[:'base_language_iso_code']
134
+ end
135
+
127
136
  if attributes.has_key?(:'closed')
128
137
  self.closed = attributes[:'closed']
129
138
  end
@@ -223,6 +232,7 @@ module UltracartClient
223
232
  def ==(o)
224
233
  return true if self.equal?(o)
225
234
  self.class == o.class &&
235
+ base_language_iso_code == o.base_language_iso_code &&
226
236
  closed == o.closed &&
227
237
  conversation_arn == o.conversation_arn &&
228
238
  conversation_uuid == o.conversation_uuid &&
@@ -250,7 +260,7 @@ module UltracartClient
250
260
  # Calculates hash code according to all attributes.
251
261
  # @return [Fixnum] Hash code
252
262
  def hash
253
- [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
263
+ [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
254
264
  end
255
265
 
256
266
  # Builds the object from hash
@@ -14,8 +14,31 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class ConversationWebchatQueueStatusUpdateRequest
17
+ # Status of the agent
17
18
  attr_accessor :agent_status
18
19
 
20
+ class EnumAttributeValidator
21
+ attr_reader :datatype
22
+ attr_reader :allowable_values
23
+
24
+ def initialize(datatype, allowable_values)
25
+ @allowable_values = allowable_values.map do |value|
26
+ case datatype.to_s
27
+ when /Integer/i
28
+ value.to_i
29
+ when /Float/i
30
+ value.to_f
31
+ else
32
+ value
33
+ end
34
+ end
35
+ end
36
+
37
+ def valid?(value)
38
+ !value || allowable_values.include?(value)
39
+ end
40
+ end
41
+
19
42
  # Attribute mapping from ruby-style variable name to JSON key.
20
43
  def self.attribute_map
21
44
  {
@@ -53,9 +76,21 @@ module UltracartClient
53
76
  # Check to see if the all the properties in the model are valid
54
77
  # @return true if the model is valid
55
78
  def valid?
79
+ agent_status_validator = EnumAttributeValidator.new('String', ['available', 'busy', 'unavailable'])
80
+ return false unless agent_status_validator.valid?(@agent_status)
56
81
  true
57
82
  end
58
83
 
84
+ # Custom attribute writer method checking allowed values (enum).
85
+ # @param [Object] agent_status Object to be assigned
86
+ def agent_status=(agent_status)
87
+ validator = EnumAttributeValidator.new('String', ['available', 'busy', 'unavailable'])
88
+ unless validator.valid?(agent_status)
89
+ fail ArgumentError, 'invalid value for "agent_status", must be one of #{validator.allowable_values}.'
90
+ end
91
+ @agent_status = agent_status
92
+ end
93
+
59
94
  # Checks equality by comparing each attribute.
60
95
  # @param [Object] Object to be compared
61
96
  def ==(o)
@@ -79,8 +79,8 @@ module UltracartClient
79
79
  invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 100.')
80
80
  end
81
81
 
82
- if !@value.nil? && @value.to_s.length > 3800
83
- invalid_properties.push('invalid value for "value", the character length must be smaller than or equal to 3800.')
82
+ if !@value.nil? && @value.to_s.length > 10000
83
+ invalid_properties.push('invalid value for "value", the character length must be smaller than or equal to 10000.')
84
84
  end
85
85
 
86
86
  invalid_properties
@@ -90,7 +90,7 @@ module UltracartClient
90
90
  # @return true if the model is valid
91
91
  def valid?
92
92
  return false if !@name.nil? && @name.to_s.length > 100
93
- return false if !@value.nil? && @value.to_s.length > 3800
93
+ return false if !@value.nil? && @value.to_s.length > 10000
94
94
  true
95
95
  end
96
96
 
@@ -107,8 +107,8 @@ module UltracartClient
107
107
  # Custom attribute writer method with validation
108
108
  # @param [Object] value Value to be assigned
109
109
  def value=(value)
110
- if !value.nil? && value.to_s.length > 3800
111
- fail ArgumentError, 'invalid value for "value", the character length must be smaller than or equal to 3800.'
110
+ if !value.nil? && value.to_s.length > 10000
111
+ fail ArgumentError, 'invalid value for "value", the character length must be smaller than or equal to 10000.'
112
112
  end
113
113
 
114
114
  @value = value
@@ -31,6 +31,9 @@ module UltracartClient
31
31
  # Basic authentication user name
32
32
  attr_accessor :basic_username
33
33
 
34
+ # Compress events with GZIP then base 64 encode them as a string
35
+ attr_accessor :compress_events
36
+
34
37
  # The number of consecutive failures that have occurred trying to deliver notifications to the target server
35
38
  attr_accessor :consecutive_failures
36
39
 
@@ -98,6 +101,7 @@ module UltracartClient
98
101
  :'authentication_type' => :'authentication_type',
99
102
  :'basic_password' => :'basic_password',
100
103
  :'basic_username' => :'basic_username',
104
+ :'compress_events' => :'compress_events',
101
105
  :'consecutive_failures' => :'consecutive_failures',
102
106
  :'disabled' => :'disabled',
103
107
  :'event_categories' => :'event_categories',
@@ -122,6 +126,7 @@ module UltracartClient
122
126
  :'authentication_type' => :'String',
123
127
  :'basic_password' => :'String',
124
128
  :'basic_username' => :'String',
129
+ :'compress_events' => :'BOOLEAN',
125
130
  :'consecutive_failures' => :'Integer',
126
131
  :'disabled' => :'BOOLEAN',
127
132
  :'event_categories' => :'Array<WebhookEventCategory>',
@@ -169,6 +174,10 @@ module UltracartClient
169
174
  self.basic_username = attributes[:'basic_username']
170
175
  end
171
176
 
177
+ if attributes.has_key?(:'compress_events')
178
+ self.compress_events = attributes[:'compress_events']
179
+ end
180
+
172
181
  if attributes.has_key?(:'consecutive_failures')
173
182
  self.consecutive_failures = attributes[:'consecutive_failures']
174
183
  end
@@ -268,6 +277,7 @@ module UltracartClient
268
277
  authentication_type == o.authentication_type &&
269
278
  basic_password == o.basic_password &&
270
279
  basic_username == o.basic_username &&
280
+ compress_events == o.compress_events &&
271
281
  consecutive_failures == o.consecutive_failures &&
272
282
  disabled == o.disabled &&
273
283
  event_categories == o.event_categories &&
@@ -291,7 +301,7 @@ module UltracartClient
291
301
  # Calculates hash code according to all attributes.
292
302
  # @return [Fixnum] Hash code
293
303
  def hash
294
- [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
304
+ [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
295
305
  end
296
306
 
297
307
  # 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.62'
14
+ VERSION = '3.10.64'
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.62
4
+ version: 3.10.64
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