ultracart_api 3.11.26 → 3.11.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ConversationInsertKnowledgeBaseDocumentRequest.md +1 -0
- data/docs/ConversationKnowledgeBaseDocument.md +1 -0
- data/lib/ultracart_api/models/conversation_insert_knowledge_base_document_request.rb +10 -1
- data/lib/ultracart_api/models/conversation_knowledge_base_document.rb +13 -4
- data/lib/ultracart_api/models/order_payment.rb +2 -2
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1e0974216f56310e0cb0191b1ca87bd7ac4afc5955357929666aa76e85650787
|
|
4
|
+
data.tar.gz: 4c0ecbded1164a3d001b3fd617859fe9380e26a10f84c975cb9567c5ddfde286
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74bf842cb8d67ab5fd58255a9d6387ad119ffe987d2f772698c2363863379f8acd378f58a746bd3070291e5a1a16be4f97fd8531cf04ef7aefa11d82b38a6487
|
|
7
|
+
data.tar.gz: 63788204c264bc77dcaaece2136b8c3306defb614a6f807a5c5976b39551a296ff38805a19c50b4d26c1e00a0a38a4da552ac4c699e9957127573f4827158377
|
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.11.
|
|
10
|
+
- Package version: 3.11.27
|
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
|
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.11.
|
|
27
|
+
gem install ./ultracart_api-3.11.27.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.11.
|
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.11.27.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.11.
|
|
35
|
+
gem 'ultracart_api', '~> 3.11.27'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1589,6 +1589,7 @@ Not every change is committed to every SDK.
|
|
|
1589
1589
|
|
|
1590
1590
|
| Version | Date | Comments |
|
|
1591
1591
|
| --: | :-: | --- |
|
|
1592
|
+
| 3.11.27 | 11/06/2025 | conversation ai knowledge base changes |
|
|
1592
1593
|
| 3.11.26 | 10/20/2025 | conversation api bug fixes |
|
|
1593
1594
|
| 3.11.25 | 10/20/2025 | conversation api bug fix for bad url on agent profile kb upload |
|
|
1594
1595
|
| 3.11.24 | 10/20/2025 | new perm flag on conversation virtual agent capabilities |
|
|
@@ -14,11 +14,14 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module UltracartClient
|
|
16
16
|
class ConversationInsertKnowledgeBaseDocumentRequest
|
|
17
|
+
attr_accessor :original_file_name
|
|
18
|
+
|
|
17
19
|
attr_accessor :presigned_url
|
|
18
20
|
|
|
19
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
22
|
def self.attribute_map
|
|
21
23
|
{
|
|
24
|
+
:'original_file_name' => :'original_file_name',
|
|
22
25
|
:'presigned_url' => :'presigned_url'
|
|
23
26
|
}
|
|
24
27
|
end
|
|
@@ -26,6 +29,7 @@ module UltracartClient
|
|
|
26
29
|
# Attribute type mapping.
|
|
27
30
|
def self.swagger_types
|
|
28
31
|
{
|
|
32
|
+
:'original_file_name' => :'String',
|
|
29
33
|
:'presigned_url' => :'String'
|
|
30
34
|
}
|
|
31
35
|
end
|
|
@@ -38,6 +42,10 @@ module UltracartClient
|
|
|
38
42
|
# convert string to symbol for hash key
|
|
39
43
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
40
44
|
|
|
45
|
+
if attributes.has_key?(:'original_file_name')
|
|
46
|
+
self.original_file_name = attributes[:'original_file_name']
|
|
47
|
+
end
|
|
48
|
+
|
|
41
49
|
if attributes.has_key?(:'presigned_url')
|
|
42
50
|
self.presigned_url = attributes[:'presigned_url']
|
|
43
51
|
end
|
|
@@ -61,6 +69,7 @@ module UltracartClient
|
|
|
61
69
|
def ==(o)
|
|
62
70
|
return true if self.equal?(o)
|
|
63
71
|
self.class == o.class &&
|
|
72
|
+
original_file_name == o.original_file_name &&
|
|
64
73
|
presigned_url == o.presigned_url
|
|
65
74
|
end
|
|
66
75
|
|
|
@@ -73,7 +82,7 @@ module UltracartClient
|
|
|
73
82
|
# Calculates hash code according to all attributes.
|
|
74
83
|
# @return [Fixnum] Hash code
|
|
75
84
|
def hash
|
|
76
|
-
[presigned_url].hash
|
|
85
|
+
[original_file_name, presigned_url].hash
|
|
77
86
|
end
|
|
78
87
|
|
|
79
88
|
# Builds the object from hash
|
|
@@ -29,6 +29,8 @@ module UltracartClient
|
|
|
29
29
|
|
|
30
30
|
attr_accessor :s3_key
|
|
31
31
|
|
|
32
|
+
attr_accessor :s3_url
|
|
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
|
:'document_uuid' => :'document_uuid',
|
|
39
41
|
:'metadata' => :'metadata',
|
|
40
42
|
:'mime_type' => :'mime_type',
|
|
41
|
-
:'s3_key' => :'s3_key'
|
|
43
|
+
:'s3_key' => :'s3_key',
|
|
44
|
+
:'s3_url' => :'s3_url'
|
|
42
45
|
}
|
|
43
46
|
end
|
|
44
47
|
|
|
@@ -51,7 +54,8 @@ module UltracartClient
|
|
|
51
54
|
:'document_uuid' => :'String',
|
|
52
55
|
:'metadata' => :'String',
|
|
53
56
|
:'mime_type' => :'String',
|
|
54
|
-
:'s3_key' => :'String'
|
|
57
|
+
:'s3_key' => :'String',
|
|
58
|
+
:'s3_url' => :'String'
|
|
55
59
|
}
|
|
56
60
|
end
|
|
57
61
|
|
|
@@ -90,6 +94,10 @@ module UltracartClient
|
|
|
90
94
|
if attributes.has_key?(:'s3_key')
|
|
91
95
|
self.s3_key = attributes[:'s3_key']
|
|
92
96
|
end
|
|
97
|
+
|
|
98
|
+
if attributes.has_key?(:'s3_url')
|
|
99
|
+
self.s3_url = attributes[:'s3_url']
|
|
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
|
document_uuid == o.document_uuid &&
|
|
117
125
|
metadata == o.metadata &&
|
|
118
126
|
mime_type == o.mime_type &&
|
|
119
|
-
s3_key == o.s3_key
|
|
127
|
+
s3_key == o.s3_key &&
|
|
128
|
+
s3_url == o.s3_url
|
|
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
|
-
[chunk_count, description, document_id, document_uuid, metadata, mime_type, s3_key].hash
|
|
140
|
+
[chunk_count, description, document_id, document_uuid, metadata, mime_type, s3_key, s3_url].hash
|
|
132
141
|
end
|
|
133
142
|
|
|
134
143
|
# Builds the object from hash
|
|
@@ -241,7 +241,7 @@ module UltracartClient
|
|
|
241
241
|
# Check to see if the all the properties in the model are valid
|
|
242
242
|
# @return true if the model is valid
|
|
243
243
|
def valid?
|
|
244
|
-
payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon Pay', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'Crypto', 'eBay', 'eCheck', 'Google Shopping', 'Goldbelly', 'GoHighLevel', 'Insurance', 'Link', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Walmart', 'Shop.com', 'Sezzle', 'Venmo', 'Apple Pay', 'Google Pay', 'Health Benefit Card', 'PayPal Fastlane'])
|
|
244
|
+
payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon Pay', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'Crypto', 'eBay', 'eCheck', 'Google Shopping', 'Goldbelly', 'GoHighLevel', 'Insurance', 'Link', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Walmart', 'Shop.com', 'Sezzle', 'Venmo', 'Apple Pay', 'Google Pay', 'Health Benefit Card', 'PayPal Fastlane', 'Klarna'])
|
|
245
245
|
return false unless payment_method_validator.valid?(@payment_method)
|
|
246
246
|
payment_status_validator = EnumAttributeValidator.new('String', ['Unprocessed', 'Authorized', 'Capture Failed', 'Processed', 'Declined', 'Voided', 'Refunded', 'Skipped'])
|
|
247
247
|
return false unless payment_status_validator.valid?(@payment_status)
|
|
@@ -251,7 +251,7 @@ module UltracartClient
|
|
|
251
251
|
# Custom attribute writer method checking allowed values (enum).
|
|
252
252
|
# @param [Object] payment_method Object to be assigned
|
|
253
253
|
def payment_method=(payment_method)
|
|
254
|
-
validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon Pay', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'Crypto', 'eBay', 'eCheck', 'Google Shopping', 'Goldbelly', 'GoHighLevel', 'Insurance', 'Link', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Walmart', 'Shop.com', 'Sezzle', 'Venmo', 'Apple Pay', 'Google Pay', 'Health Benefit Card', 'PayPal Fastlane'])
|
|
254
|
+
validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon Pay', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'Crypto', 'eBay', 'eCheck', 'Google Shopping', 'Goldbelly', 'GoHighLevel', 'Insurance', 'Link', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Walmart', 'Shop.com', 'Sezzle', 'Venmo', 'Apple Pay', 'Google Pay', 'Health Benefit Card', 'PayPal Fastlane', 'Klarna'])
|
|
255
255
|
unless validator.valid?(payment_method)
|
|
256
256
|
fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
|
|
257
257
|
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.11.
|
|
4
|
+
version: 3.11.27
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|