ultracart_api 4.1.25 → 4.1.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 +4 -2
- data/docs/ConversationInsertKnowledgeBaseDocumentRequest.md +2 -0
- data/docs/ConversationKnowledgeBaseDocument.md +3 -1
- data/docs/ConversationKnowledgeBaseDocumentUploadUrlResponse.md +2 -2
- 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/conversation_knowledge_base_document_upload_url_response.rb +7 -7
- 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: d8bfdcec486300c556f8bb551ccc3a6b30b41b4ccaa66045688feae0b7adab77
|
|
4
|
+
data.tar.gz: d50ac7b393702fac6cab2df753c1535366079116dc71580413611aaefce1cdb0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12a99105c71d62c0c0397344d5fd27369384f968c536f7e82e8f9852f95dbd3f152b840264fb582f09208a2eb446955105ee955aa7bcbfb2e9abd20efd16a270
|
|
7
|
+
data.tar.gz: 822fd06e25224642882a1dd6f82850d5e607ba9dca5d4a7ae6a053d3109f7a101b6f22823a6b6d6621120552a3dd0f8a2e2dd67c513df647c379be93488bc9ad
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Note: Every method has a sample for every language. See https://github.com/Ultr
|
|
|
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.1.
|
|
10
|
+
- Package version: 4.1.27
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
- For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
|
|
|
16
16
|
gemfile:
|
|
17
17
|
|
|
18
18
|
```shell
|
|
19
|
-
gem 'ultracart_api', '4.1.
|
|
19
|
+
gem 'ultracart_api', '4.1.27'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -1587,6 +1587,8 @@ Not every change is committed to every SDK.
|
|
|
1587
1587
|
|
|
1588
1588
|
| Version | Date | Comments |
|
|
1589
1589
|
| --: | :-: | --- |
|
|
1590
|
+
| 4.1.27 | 11/06/2025 | conversation ai knowledge base changes |
|
|
1591
|
+
| 4.1.26 | 10/20/2025 | conversation api bug fixes |
|
|
1590
1592
|
| 4.1.25 | 10/20/2025 | conversation api bug fix for bad url on agent profile kb upload |
|
|
1591
1593
|
| 4.1.24 | 10/20/2025 | new perm flag on conversation virtual agent capabilities |
|
|
1592
1594
|
| 4.1.23 | 10/14/2025 | CustomerApi.deleteWishlistItem bug fix for bad response type |
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **original_file_name** | **String** | | [optional] |
|
|
7
8
|
| **presigned_url** | **String** | | [optional] |
|
|
8
9
|
|
|
9
10
|
## Example
|
|
@@ -12,6 +13,7 @@
|
|
|
12
13
|
require 'ultracart_api'
|
|
13
14
|
|
|
14
15
|
instance = UltracartClient::ConversationInsertKnowledgeBaseDocumentRequest.new(
|
|
16
|
+
original_file_name: null,
|
|
15
17
|
presigned_url: null
|
|
16
18
|
)
|
|
17
19
|
```
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| **metadata** | **String** | | [optional] |
|
|
12
12
|
| **mime_type** | **String** | | [optional] |
|
|
13
13
|
| **s3_key** | **String** | | [optional] |
|
|
14
|
+
| **s3_url** | **String** | | [optional] |
|
|
14
15
|
|
|
15
16
|
## Example
|
|
16
17
|
|
|
@@ -24,7 +25,8 @@ instance = UltracartClient::ConversationKnowledgeBaseDocument.new(
|
|
|
24
25
|
document_uuid: null,
|
|
25
26
|
metadata: null,
|
|
26
27
|
mime_type: null,
|
|
27
|
-
s3_key: null
|
|
28
|
+
s3_key: null,
|
|
29
|
+
s3_url: null
|
|
28
30
|
)
|
|
29
31
|
```
|
|
30
32
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
7
|
+
| **conversation_knowledge_base_document_upload_url** | [**ConversationKnowledgeBaseDocumentUploadUrl**](ConversationKnowledgeBaseDocumentUploadUrl.md) | | [optional] |
|
|
8
8
|
| **error** | [**Error**](Error.md) | | [optional] |
|
|
9
9
|
| **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
|
|
10
10
|
| **success** | **Boolean** | Indicates if API call was successful | [optional] |
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
require 'ultracart_api'
|
|
17
17
|
|
|
18
18
|
instance = UltracartClient::ConversationKnowledgeBaseDocumentUploadUrlResponse.new(
|
|
19
|
-
|
|
19
|
+
conversation_knowledge_base_document_upload_url: null,
|
|
20
20
|
error: null,
|
|
21
21
|
metadata: null,
|
|
22
22
|
success: null,
|
|
@@ -15,11 +15,14 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module UltracartClient
|
|
17
17
|
class ConversationInsertKnowledgeBaseDocumentRequest
|
|
18
|
+
attr_accessor :original_file_name
|
|
19
|
+
|
|
18
20
|
attr_accessor :presigned_url
|
|
19
21
|
|
|
20
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
23
|
def self.attribute_map
|
|
22
24
|
{
|
|
25
|
+
:'original_file_name' => :'original_file_name',
|
|
23
26
|
:'presigned_url' => :'presigned_url'
|
|
24
27
|
}
|
|
25
28
|
end
|
|
@@ -32,6 +35,7 @@ module UltracartClient
|
|
|
32
35
|
# Attribute type mapping.
|
|
33
36
|
def self.openapi_types
|
|
34
37
|
{
|
|
38
|
+
:'original_file_name' => :'String',
|
|
35
39
|
:'presigned_url' => :'String'
|
|
36
40
|
}
|
|
37
41
|
end
|
|
@@ -57,6 +61,10 @@ module UltracartClient
|
|
|
57
61
|
h[k.to_sym] = v
|
|
58
62
|
}
|
|
59
63
|
|
|
64
|
+
if attributes.key?(:'original_file_name')
|
|
65
|
+
self.original_file_name = attributes[:'original_file_name']
|
|
66
|
+
end
|
|
67
|
+
|
|
60
68
|
if attributes.key?(:'presigned_url')
|
|
61
69
|
self.presigned_url = attributes[:'presigned_url']
|
|
62
70
|
end
|
|
@@ -80,6 +88,7 @@ module UltracartClient
|
|
|
80
88
|
def ==(o)
|
|
81
89
|
return true if self.equal?(o)
|
|
82
90
|
self.class == o.class &&
|
|
91
|
+
original_file_name == o.original_file_name &&
|
|
83
92
|
presigned_url == o.presigned_url
|
|
84
93
|
end
|
|
85
94
|
|
|
@@ -92,7 +101,7 @@ module UltracartClient
|
|
|
92
101
|
# Calculates hash code according to all attributes.
|
|
93
102
|
# @return [Integer] Hash code
|
|
94
103
|
def hash
|
|
95
|
-
[presigned_url].hash
|
|
104
|
+
[original_file_name, presigned_url].hash
|
|
96
105
|
end
|
|
97
106
|
|
|
98
107
|
# Builds the object from hash
|
|
@@ -30,6 +30,8 @@ module UltracartClient
|
|
|
30
30
|
|
|
31
31
|
attr_accessor :s3_key
|
|
32
32
|
|
|
33
|
+
attr_accessor :s3_url
|
|
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
|
:'document_uuid' => :'document_uuid',
|
|
40
42
|
:'metadata' => :'metadata',
|
|
41
43
|
:'mime_type' => :'mime_type',
|
|
42
|
-
:'s3_key' => :'s3_key'
|
|
44
|
+
:'s3_key' => :'s3_key',
|
|
45
|
+
:'s3_url' => :'s3_url'
|
|
43
46
|
}
|
|
44
47
|
end
|
|
45
48
|
|
|
@@ -57,7 +60,8 @@ module UltracartClient
|
|
|
57
60
|
:'document_uuid' => :'String',
|
|
58
61
|
:'metadata' => :'String',
|
|
59
62
|
:'mime_type' => :'String',
|
|
60
|
-
:'s3_key' => :'String'
|
|
63
|
+
:'s3_key' => :'String',
|
|
64
|
+
:'s3_url' => :'String'
|
|
61
65
|
}
|
|
62
66
|
end
|
|
63
67
|
|
|
@@ -109,6 +113,10 @@ module UltracartClient
|
|
|
109
113
|
if attributes.key?(:'s3_key')
|
|
110
114
|
self.s3_key = attributes[:'s3_key']
|
|
111
115
|
end
|
|
116
|
+
|
|
117
|
+
if attributes.key?(:'s3_url')
|
|
118
|
+
self.s3_url = attributes[:'s3_url']
|
|
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
|
document_uuid == o.document_uuid &&
|
|
136
144
|
metadata == o.metadata &&
|
|
137
145
|
mime_type == o.mime_type &&
|
|
138
|
-
s3_key == o.s3_key
|
|
146
|
+
s3_key == o.s3_key &&
|
|
147
|
+
s3_url == o.s3_url
|
|
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
|
-
[chunk_count, description, document_id, document_uuid, metadata, mime_type, s3_key].hash
|
|
159
|
+
[chunk_count, description, document_id, document_uuid, metadata, mime_type, s3_key, s3_url].hash
|
|
151
160
|
end
|
|
152
161
|
|
|
153
162
|
# Builds the object from hash
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module UltracartClient
|
|
17
17
|
class ConversationKnowledgeBaseDocumentUploadUrlResponse
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :conversation_knowledge_base_document_upload_url
|
|
19
19
|
|
|
20
20
|
attr_accessor :error
|
|
21
21
|
|
|
@@ -29,7 +29,7 @@ module UltracartClient
|
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
30
|
def self.attribute_map
|
|
31
31
|
{
|
|
32
|
-
:'
|
|
32
|
+
:'conversation_knowledge_base_document_upload_url' => :'conversation_knowledge_base_document_upload_url',
|
|
33
33
|
:'error' => :'error',
|
|
34
34
|
:'metadata' => :'metadata',
|
|
35
35
|
:'success' => :'success',
|
|
@@ -45,7 +45,7 @@ module UltracartClient
|
|
|
45
45
|
# Attribute type mapping.
|
|
46
46
|
def self.openapi_types
|
|
47
47
|
{
|
|
48
|
-
:'
|
|
48
|
+
:'conversation_knowledge_base_document_upload_url' => :'ConversationKnowledgeBaseDocumentUploadUrl',
|
|
49
49
|
:'error' => :'Error',
|
|
50
50
|
:'metadata' => :'ResponseMetadata',
|
|
51
51
|
:'success' => :'Boolean',
|
|
@@ -74,8 +74,8 @@ module UltracartClient
|
|
|
74
74
|
h[k.to_sym] = v
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
if attributes.key?(:'
|
|
78
|
-
self.
|
|
77
|
+
if attributes.key?(:'conversation_knowledge_base_document_upload_url')
|
|
78
|
+
self.conversation_knowledge_base_document_upload_url = attributes[:'conversation_knowledge_base_document_upload_url']
|
|
79
79
|
end
|
|
80
80
|
|
|
81
81
|
if attributes.key?(:'error')
|
|
@@ -113,7 +113,7 @@ module UltracartClient
|
|
|
113
113
|
def ==(o)
|
|
114
114
|
return true if self.equal?(o)
|
|
115
115
|
self.class == o.class &&
|
|
116
|
-
|
|
116
|
+
conversation_knowledge_base_document_upload_url == o.conversation_knowledge_base_document_upload_url &&
|
|
117
117
|
error == o.error &&
|
|
118
118
|
metadata == o.metadata &&
|
|
119
119
|
success == o.success &&
|
|
@@ -129,7 +129,7 @@ module UltracartClient
|
|
|
129
129
|
# Calculates hash code according to all attributes.
|
|
130
130
|
# @return [Integer] Hash code
|
|
131
131
|
def hash
|
|
132
|
-
[
|
|
132
|
+
[conversation_knowledge_base_document_upload_url, error, metadata, success, warning].hash
|
|
133
133
|
end
|
|
134
134
|
|
|
135
135
|
# Builds the object from hash
|
|
@@ -260,7 +260,7 @@ module UltracartClient
|
|
|
260
260
|
# Check to see if the all the properties in the model are valid
|
|
261
261
|
# @return true if the model is valid
|
|
262
262
|
def valid?
|
|
263
|
-
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"])
|
|
263
|
+
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"])
|
|
264
264
|
return false unless payment_method_validator.valid?(@payment_method)
|
|
265
265
|
payment_status_validator = EnumAttributeValidator.new('String', ["Unprocessed", "Authorized", "Capture Failed", "Processed", "Declined", "Voided", "Refunded", "Skipped"])
|
|
266
266
|
return false unless payment_status_validator.valid?(@payment_status)
|
|
@@ -270,7 +270,7 @@ module UltracartClient
|
|
|
270
270
|
# Custom attribute writer method checking allowed values (enum).
|
|
271
271
|
# @param [Object] payment_method Object to be assigned
|
|
272
272
|
def payment_method=(payment_method)
|
|
273
|
-
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"])
|
|
273
|
+
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"])
|
|
274
274
|
unless validator.valid?(payment_method)
|
|
275
275
|
fail ArgumentError, "invalid value for \"payment_method\", must be one of #{validator.allowable_values}."
|
|
276
276
|
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.1.
|
|
4
|
+
version: 4.1.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
|