ultracart_api 3.10.98 → 3.10.100
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -4
- data/docs/ChannelPartnerShipToPreference.md +1 -0
- data/docs/ConversationDepartment.md +1 -0
- data/docs/ConversationDepartmentMember.md +10 -0
- data/docs/ConversationDepartmentsResponse.md +1 -0
- data/lib/ultracart_api/models/channel_partner_ship_to_preference.rb +26 -1
- data/lib/ultracart_api/models/conversation_department.rb +12 -1
- data/lib/ultracart_api/models/conversation_department_member.rb +202 -0
- data/lib/ultracart_api/models/conversation_departments_response.rb +10 -1
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa3cd13b2b1796aaebb1ce203e4ac7a73af7fb0630ecce7330be57ed12d07fbe
|
4
|
+
data.tar.gz: aa51e0b4b4a39eb265f532bb1d203be3890c5bf6364d39b58abf3da45c4df4c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bb7b52a83f3d97456aa1b0b6b79f1b59bf086f8a033f5dda1d7cf08e34bb6f5c904c1d22c38645e645e76ce76b7ef25cd81389a598f9eb95a53295e82b8ffb0
|
7
|
+
data.tar.gz: 5ea73e27a15deb65597c853d43aabf675e0f107ab15fd4d9cdfbf14820439209ace8039bf4e2f43d8ca9dccaf7ea3db8951172495d05ce8888b7964d2a417679
|
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.
|
10
|
+
- Package version: 3.10.100
|
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.
|
27
|
+
gem install ./ultracart_api-3.10.100.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.100.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.
|
35
|
+
gem 'ultracart_api', '~> 3.10.100'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -619,6 +619,7 @@ Class | Method | HTTP request | Description
|
|
619
619
|
- [UltracartClient::ConversationCannedMessagesResponse](docs/ConversationCannedMessagesResponse.md)
|
620
620
|
- [UltracartClient::ConversationCannedMessagesSearch](docs/ConversationCannedMessagesSearch.md)
|
621
621
|
- [UltracartClient::ConversationDepartment](docs/ConversationDepartment.md)
|
622
|
+
- [UltracartClient::ConversationDepartmentMember](docs/ConversationDepartmentMember.md)
|
622
623
|
- [UltracartClient::ConversationDepartmentResponse](docs/ConversationDepartmentResponse.md)
|
623
624
|
- [UltracartClient::ConversationDepartmentSettings](docs/ConversationDepartmentSettings.md)
|
624
625
|
- [UltracartClient::ConversationDepartmentsResponse](docs/ConversationDepartmentsResponse.md)
|
@@ -1282,6 +1283,8 @@ Not every change is committed to every SDK.
|
|
1282
1283
|
|
1283
1284
|
| Version | Date | Comments |
|
1284
1285
|
| --: | :-: | --- |
|
1286
|
+
| 3.10.100 | 01/18/2023 | conversation dept members |
|
1287
|
+
| 3.10.99 | 01/18/2023 | channel partner ship to pref desc field |
|
1285
1288
|
| 3.10.98 | 01/17/2023 | changed convo webchat constant |
|
1286
1289
|
| 3.10.97 | 01/17/2023 | support for checkout item properties |
|
1287
1290
|
| 3.10.96 | 01/14/2023 | add external_id to the point of sale location object |
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
**additional_kit_component_item_ids** | **Array<String>** | Additional item ids to add as kit components to the order with a zero price. | [optional]
|
7
7
|
**channel_partner_oid** | **Integer** | The channel partner object identifier this preference is associated with | [optional]
|
8
8
|
**channel_partner_ship_to_preference_oid** | **Integer** | Object identifier for the ship to preference | [optional]
|
9
|
+
**description** | **String** | A description that is meaningful to the merchant. | [optional]
|
9
10
|
**merchant_id** | **String** | The merchant id that owns the channel partner | [optional]
|
10
11
|
**return_policy** | **String** | Alternate return policy to print on the packing slip. | [optional]
|
11
12
|
**ship_to_edi_code** | **String** | The ship to EDI code that the preferences are for | [optional]
|
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**conversation_department_oid** | **Integer** | | [optional]
|
7
7
|
**department_name** | **String** | | [optional]
|
8
|
+
**members** | [**Array<ConversationDepartmentMember>**](ConversationDepartmentMember.md) | | [optional]
|
8
9
|
**merchant_id** | **String** | | [optional]
|
9
10
|
**settings** | [**ConversationDepartmentSettings**](ConversationDepartmentSettings.md) | | [optional]
|
10
11
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# UltracartClient::ConversationDepartmentMember
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**member** | **BOOLEAN** | | [optional]
|
7
|
+
**name** | **String** | | [optional]
|
8
|
+
**user_id** | **Integer** | | [optional]
|
9
|
+
|
10
|
+
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
**conversation_departments** | [**Array<ConversationDepartment>**](ConversationDepartment.md) | | [optional]
|
7
7
|
**error** | [**Error**](Error.md) | | [optional]
|
8
8
|
**metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
|
9
|
+
**read_only** | **BOOLEAN** | | [optional]
|
9
10
|
**success** | **BOOLEAN** | Indicates if API call was successful | [optional]
|
10
11
|
**warning** | [**Warning**](Warning.md) | | [optional]
|
11
12
|
|
@@ -23,6 +23,9 @@ module UltracartClient
|
|
23
23
|
# Object identifier for the ship to preference
|
24
24
|
attr_accessor :channel_partner_ship_to_preference_oid
|
25
25
|
|
26
|
+
# A description that is meaningful to the merchant.
|
27
|
+
attr_accessor :description
|
28
|
+
|
26
29
|
# The merchant id that owns the channel partner
|
27
30
|
attr_accessor :merchant_id
|
28
31
|
|
@@ -38,6 +41,7 @@ module UltracartClient
|
|
38
41
|
:'additional_kit_component_item_ids' => :'additional_kit_component_item_ids',
|
39
42
|
:'channel_partner_oid' => :'channel_partner_oid',
|
40
43
|
:'channel_partner_ship_to_preference_oid' => :'channel_partner_ship_to_preference_oid',
|
44
|
+
:'description' => :'description',
|
41
45
|
:'merchant_id' => :'merchant_id',
|
42
46
|
:'return_policy' => :'return_policy',
|
43
47
|
:'ship_to_edi_code' => :'ship_to_edi_code'
|
@@ -50,6 +54,7 @@ module UltracartClient
|
|
50
54
|
:'additional_kit_component_item_ids' => :'Array<String>',
|
51
55
|
:'channel_partner_oid' => :'Integer',
|
52
56
|
:'channel_partner_ship_to_preference_oid' => :'Integer',
|
57
|
+
:'description' => :'String',
|
53
58
|
:'merchant_id' => :'String',
|
54
59
|
:'return_policy' => :'String',
|
55
60
|
:'ship_to_edi_code' => :'String'
|
@@ -78,6 +83,10 @@ module UltracartClient
|
|
78
83
|
self.channel_partner_ship_to_preference_oid = attributes[:'channel_partner_ship_to_preference_oid']
|
79
84
|
end
|
80
85
|
|
86
|
+
if attributes.has_key?(:'description')
|
87
|
+
self.description = attributes[:'description']
|
88
|
+
end
|
89
|
+
|
81
90
|
if attributes.has_key?(:'merchant_id')
|
82
91
|
self.merchant_id = attributes[:'merchant_id']
|
83
92
|
end
|
@@ -95,15 +104,30 @@ module UltracartClient
|
|
95
104
|
# @return Array for valid properties with the reasons
|
96
105
|
def list_invalid_properties
|
97
106
|
invalid_properties = Array.new
|
107
|
+
if !@description.nil? && @description.to_s.length > 100
|
108
|
+
invalid_properties.push('invalid value for "description", the character length must be smaller than or equal to 100.')
|
109
|
+
end
|
110
|
+
|
98
111
|
invalid_properties
|
99
112
|
end
|
100
113
|
|
101
114
|
# Check to see if the all the properties in the model are valid
|
102
115
|
# @return true if the model is valid
|
103
116
|
def valid?
|
117
|
+
return false if !@description.nil? && @description.to_s.length > 100
|
104
118
|
true
|
105
119
|
end
|
106
120
|
|
121
|
+
# Custom attribute writer method with validation
|
122
|
+
# @param [Object] description Value to be assigned
|
123
|
+
def description=(description)
|
124
|
+
if !description.nil? && description.to_s.length > 100
|
125
|
+
fail ArgumentError, 'invalid value for "description", the character length must be smaller than or equal to 100.'
|
126
|
+
end
|
127
|
+
|
128
|
+
@description = description
|
129
|
+
end
|
130
|
+
|
107
131
|
# Checks equality by comparing each attribute.
|
108
132
|
# @param [Object] Object to be compared
|
109
133
|
def ==(o)
|
@@ -112,6 +136,7 @@ module UltracartClient
|
|
112
136
|
additional_kit_component_item_ids == o.additional_kit_component_item_ids &&
|
113
137
|
channel_partner_oid == o.channel_partner_oid &&
|
114
138
|
channel_partner_ship_to_preference_oid == o.channel_partner_ship_to_preference_oid &&
|
139
|
+
description == o.description &&
|
115
140
|
merchant_id == o.merchant_id &&
|
116
141
|
return_policy == o.return_policy &&
|
117
142
|
ship_to_edi_code == o.ship_to_edi_code
|
@@ -126,7 +151,7 @@ module UltracartClient
|
|
126
151
|
# Calculates hash code according to all attributes.
|
127
152
|
# @return [Fixnum] Hash code
|
128
153
|
def hash
|
129
|
-
[additional_kit_component_item_ids, channel_partner_oid, channel_partner_ship_to_preference_oid, merchant_id, return_policy, ship_to_edi_code].hash
|
154
|
+
[additional_kit_component_item_ids, channel_partner_oid, channel_partner_ship_to_preference_oid, description, merchant_id, return_policy, ship_to_edi_code].hash
|
130
155
|
end
|
131
156
|
|
132
157
|
# Builds the object from hash
|
@@ -18,6 +18,8 @@ module UltracartClient
|
|
18
18
|
|
19
19
|
attr_accessor :department_name
|
20
20
|
|
21
|
+
attr_accessor :members
|
22
|
+
|
21
23
|
attr_accessor :merchant_id
|
22
24
|
|
23
25
|
attr_accessor :settings
|
@@ -27,6 +29,7 @@ module UltracartClient
|
|
27
29
|
{
|
28
30
|
:'conversation_department_oid' => :'conversation_department_oid',
|
29
31
|
:'department_name' => :'department_name',
|
32
|
+
:'members' => :'members',
|
30
33
|
:'merchant_id' => :'merchant_id',
|
31
34
|
:'settings' => :'settings'
|
32
35
|
}
|
@@ -37,6 +40,7 @@ module UltracartClient
|
|
37
40
|
{
|
38
41
|
:'conversation_department_oid' => :'Integer',
|
39
42
|
:'department_name' => :'String',
|
43
|
+
:'members' => :'Array<ConversationDepartmentMember>',
|
40
44
|
:'merchant_id' => :'String',
|
41
45
|
:'settings' => :'ConversationDepartmentSettings'
|
42
46
|
}
|
@@ -58,6 +62,12 @@ module UltracartClient
|
|
58
62
|
self.department_name = attributes[:'department_name']
|
59
63
|
end
|
60
64
|
|
65
|
+
if attributes.has_key?(:'members')
|
66
|
+
if (value = attributes[:'members']).is_a?(Array)
|
67
|
+
self.members = value
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
61
71
|
if attributes.has_key?(:'merchant_id')
|
62
72
|
self.merchant_id = attributes[:'merchant_id']
|
63
73
|
end
|
@@ -87,6 +97,7 @@ module UltracartClient
|
|
87
97
|
self.class == o.class &&
|
88
98
|
conversation_department_oid == o.conversation_department_oid &&
|
89
99
|
department_name == o.department_name &&
|
100
|
+
members == o.members &&
|
90
101
|
merchant_id == o.merchant_id &&
|
91
102
|
settings == o.settings
|
92
103
|
end
|
@@ -100,7 +111,7 @@ module UltracartClient
|
|
100
111
|
# Calculates hash code according to all attributes.
|
101
112
|
# @return [Fixnum] Hash code
|
102
113
|
def hash
|
103
|
-
[conversation_department_oid, department_name, merchant_id, settings].hash
|
114
|
+
[conversation_department_oid, department_name, members, merchant_id, settings].hash
|
104
115
|
end
|
105
116
|
|
106
117
|
# Builds the object from hash
|
@@ -0,0 +1,202 @@
|
|
1
|
+
=begin
|
2
|
+
#UltraCart Rest API V2
|
3
|
+
|
4
|
+
#UltraCart REST API Version 2
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0.0
|
7
|
+
Contact: support@ultracart.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.15-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module UltracartClient
|
16
|
+
class ConversationDepartmentMember
|
17
|
+
attr_accessor :member
|
18
|
+
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
attr_accessor :user_id
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
:'member' => :'member',
|
27
|
+
:'name' => :'name',
|
28
|
+
:'user_id' => :'user_id'
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
# Attribute type mapping.
|
33
|
+
def self.swagger_types
|
34
|
+
{
|
35
|
+
:'member' => :'BOOLEAN',
|
36
|
+
:'name' => :'String',
|
37
|
+
:'user_id' => :'Integer'
|
38
|
+
}
|
39
|
+
end
|
40
|
+
|
41
|
+
# Initializes the object
|
42
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
43
|
+
def initialize(attributes = {})
|
44
|
+
return unless attributes.is_a?(Hash)
|
45
|
+
|
46
|
+
# convert string to symbol for hash key
|
47
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
48
|
+
|
49
|
+
if attributes.has_key?(:'member')
|
50
|
+
self.member = attributes[:'member']
|
51
|
+
end
|
52
|
+
|
53
|
+
if attributes.has_key?(:'name')
|
54
|
+
self.name = attributes[:'name']
|
55
|
+
end
|
56
|
+
|
57
|
+
if attributes.has_key?(:'user_id')
|
58
|
+
self.user_id = attributes[:'user_id']
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
63
|
+
# @return Array for valid properties with the reasons
|
64
|
+
def list_invalid_properties
|
65
|
+
invalid_properties = Array.new
|
66
|
+
invalid_properties
|
67
|
+
end
|
68
|
+
|
69
|
+
# Check to see if the all the properties in the model are valid
|
70
|
+
# @return true if the model is valid
|
71
|
+
def valid?
|
72
|
+
true
|
73
|
+
end
|
74
|
+
|
75
|
+
# Checks equality by comparing each attribute.
|
76
|
+
# @param [Object] Object to be compared
|
77
|
+
def ==(o)
|
78
|
+
return true if self.equal?(o)
|
79
|
+
self.class == o.class &&
|
80
|
+
member == o.member &&
|
81
|
+
name == o.name &&
|
82
|
+
user_id == o.user_id
|
83
|
+
end
|
84
|
+
|
85
|
+
# @see the `==` method
|
86
|
+
# @param [Object] Object to be compared
|
87
|
+
def eql?(o)
|
88
|
+
self == o
|
89
|
+
end
|
90
|
+
|
91
|
+
# Calculates hash code according to all attributes.
|
92
|
+
# @return [Fixnum] Hash code
|
93
|
+
def hash
|
94
|
+
[member, name, user_id].hash
|
95
|
+
end
|
96
|
+
|
97
|
+
# Builds the object from hash
|
98
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
99
|
+
# @return [Object] Returns the model itself
|
100
|
+
def build_from_hash(attributes)
|
101
|
+
return nil unless attributes.is_a?(Hash)
|
102
|
+
self.class.swagger_types.each_pair do |key, type|
|
103
|
+
if type =~ /\AArray<(.*)>/i
|
104
|
+
# check to ensure the input is an array given that the attribute
|
105
|
+
# is documented as an array but the input is not
|
106
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
107
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
108
|
+
end
|
109
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
110
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
111
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
112
|
+
end
|
113
|
+
|
114
|
+
self
|
115
|
+
end
|
116
|
+
|
117
|
+
# Deserializes the data based on type
|
118
|
+
# @param string type Data type
|
119
|
+
# @param string value Value to be deserialized
|
120
|
+
# @return [Object] Deserialized data
|
121
|
+
def _deserialize(type, value)
|
122
|
+
case type.to_sym
|
123
|
+
when :DateTime
|
124
|
+
DateTime.parse(value)
|
125
|
+
when :Date
|
126
|
+
Date.parse(value)
|
127
|
+
when :String
|
128
|
+
value.to_s
|
129
|
+
when :Integer
|
130
|
+
value.to_i
|
131
|
+
when :Float
|
132
|
+
value.to_f
|
133
|
+
when :BOOLEAN
|
134
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
135
|
+
true
|
136
|
+
else
|
137
|
+
false
|
138
|
+
end
|
139
|
+
when :Object
|
140
|
+
# generic object (usually a Hash), return directly
|
141
|
+
value
|
142
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
143
|
+
inner_type = Regexp.last_match[:inner_type]
|
144
|
+
value.map { |v| _deserialize(inner_type, v) }
|
145
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
146
|
+
k_type = Regexp.last_match[:k_type]
|
147
|
+
v_type = Regexp.last_match[:v_type]
|
148
|
+
{}.tap do |hash|
|
149
|
+
value.each do |k, v|
|
150
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
else # model
|
154
|
+
temp_model = UltracartClient.const_get(type).new
|
155
|
+
temp_model.build_from_hash(value)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# Returns the string representation of the object
|
160
|
+
# @return [String] String presentation of the object
|
161
|
+
def to_s
|
162
|
+
to_hash.to_s
|
163
|
+
end
|
164
|
+
|
165
|
+
# to_body is an alias to to_hash (backward compatibility)
|
166
|
+
# @return [Hash] Returns the object in the form of hash
|
167
|
+
def to_body
|
168
|
+
to_hash
|
169
|
+
end
|
170
|
+
|
171
|
+
# Returns the object in the form of hash
|
172
|
+
# @return [Hash] Returns the object in the form of hash
|
173
|
+
def to_hash
|
174
|
+
hash = {}
|
175
|
+
self.class.attribute_map.each_pair do |attr, param|
|
176
|
+
value = self.send(attr)
|
177
|
+
next if value.nil?
|
178
|
+
hash[param] = _to_hash(value)
|
179
|
+
end
|
180
|
+
hash
|
181
|
+
end
|
182
|
+
|
183
|
+
# Outputs non-array value in the form of hash
|
184
|
+
# For object, use to_hash. Otherwise, just return the value
|
185
|
+
# @param [Object] value Any valid value
|
186
|
+
# @return [Hash] Returns the value in the form of hash
|
187
|
+
def _to_hash(value)
|
188
|
+
if value.is_a?(Array)
|
189
|
+
value.compact.map { |v| _to_hash(v) }
|
190
|
+
elsif value.is_a?(Hash)
|
191
|
+
{}.tap do |hash|
|
192
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
193
|
+
end
|
194
|
+
elsif value.respond_to? :to_hash
|
195
|
+
value.to_hash
|
196
|
+
else
|
197
|
+
value
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
end
|
202
|
+
end
|
@@ -20,6 +20,8 @@ module UltracartClient
|
|
20
20
|
|
21
21
|
attr_accessor :metadata
|
22
22
|
|
23
|
+
attr_accessor :read_only
|
24
|
+
|
23
25
|
# Indicates if API call was successful
|
24
26
|
attr_accessor :success
|
25
27
|
|
@@ -31,6 +33,7 @@ module UltracartClient
|
|
31
33
|
:'conversation_departments' => :'conversation_departments',
|
32
34
|
:'error' => :'error',
|
33
35
|
:'metadata' => :'metadata',
|
36
|
+
:'read_only' => :'read_only',
|
34
37
|
:'success' => :'success',
|
35
38
|
:'warning' => :'warning'
|
36
39
|
}
|
@@ -42,6 +45,7 @@ module UltracartClient
|
|
42
45
|
:'conversation_departments' => :'Array<ConversationDepartment>',
|
43
46
|
:'error' => :'Error',
|
44
47
|
:'metadata' => :'ResponseMetadata',
|
48
|
+
:'read_only' => :'BOOLEAN',
|
45
49
|
:'success' => :'BOOLEAN',
|
46
50
|
:'warning' => :'Warning'
|
47
51
|
}
|
@@ -69,6 +73,10 @@ module UltracartClient
|
|
69
73
|
self.metadata = attributes[:'metadata']
|
70
74
|
end
|
71
75
|
|
76
|
+
if attributes.has_key?(:'read_only')
|
77
|
+
self.read_only = attributes[:'read_only']
|
78
|
+
end
|
79
|
+
|
72
80
|
if attributes.has_key?(:'success')
|
73
81
|
self.success = attributes[:'success']
|
74
82
|
end
|
@@ -99,6 +107,7 @@ module UltracartClient
|
|
99
107
|
conversation_departments == o.conversation_departments &&
|
100
108
|
error == o.error &&
|
101
109
|
metadata == o.metadata &&
|
110
|
+
read_only == o.read_only &&
|
102
111
|
success == o.success &&
|
103
112
|
warning == o.warning
|
104
113
|
end
|
@@ -112,7 +121,7 @@ module UltracartClient
|
|
112
121
|
# Calculates hash code according to all attributes.
|
113
122
|
# @return [Fixnum] Hash code
|
114
123
|
def hash
|
115
|
-
[conversation_departments, error, metadata, success, warning].hash
|
124
|
+
[conversation_departments, error, metadata, read_only, success, warning].hash
|
116
125
|
end
|
117
126
|
|
118
127
|
# Builds the object from hash
|
data/lib/ultracart_api.rb
CHANGED
@@ -151,6 +151,7 @@ require 'ultracart_api/models/conversation_canned_message_response'
|
|
151
151
|
require 'ultracart_api/models/conversation_canned_messages_response'
|
152
152
|
require 'ultracart_api/models/conversation_canned_messages_search'
|
153
153
|
require 'ultracart_api/models/conversation_department'
|
154
|
+
require 'ultracart_api/models/conversation_department_member'
|
154
155
|
require 'ultracart_api/models/conversation_department_response'
|
155
156
|
require 'ultracart_api/models/conversation_department_settings'
|
156
157
|
require 'ultracart_api/models/conversation_departments_response'
|
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.
|
4
|
+
version: 3.10.100
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -361,6 +361,7 @@ files:
|
|
361
361
|
- docs/ConversationCannedMessagesResponse.md
|
362
362
|
- docs/ConversationCannedMessagesSearch.md
|
363
363
|
- docs/ConversationDepartment.md
|
364
|
+
- docs/ConversationDepartmentMember.md
|
364
365
|
- docs/ConversationDepartmentResponse.md
|
365
366
|
- docs/ConversationDepartmentSettings.md
|
366
367
|
- docs/ConversationDepartmentsResponse.md
|
@@ -1125,6 +1126,7 @@ files:
|
|
1125
1126
|
- lib/ultracart_api/models/conversation_canned_messages_response.rb
|
1126
1127
|
- lib/ultracart_api/models/conversation_canned_messages_search.rb
|
1127
1128
|
- lib/ultracart_api/models/conversation_department.rb
|
1129
|
+
- lib/ultracart_api/models/conversation_department_member.rb
|
1128
1130
|
- lib/ultracart_api/models/conversation_department_response.rb
|
1129
1131
|
- lib/ultracart_api/models/conversation_department_settings.rb
|
1130
1132
|
- lib/ultracart_api/models/conversation_departments_response.rb
|