ultracart_api 4.1.26 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9c30bd750b5779abca9af6a58bc0b697ec96abaa6eb625a55cff941b0b6d3ca
4
- data.tar.gz: f5f64ecb3abb5413cddb366f0b62d6d5a0a159994e737b4297233d09b74a52a0
3
+ metadata.gz: d8bfdcec486300c556f8bb551ccc3a6b30b41b4ccaa66045688feae0b7adab77
4
+ data.tar.gz: d50ac7b393702fac6cab2df753c1535366079116dc71580413611aaefce1cdb0
5
5
  SHA512:
6
- metadata.gz: 5addb3ed4d2860124300cf2b7a5c0fba053169a7e0d241e4a059b285a81b32c1735b6794e3beffb55f095aa605067c712db85041851d6d29615e52567433f0f4
7
- data.tar.gz: e0af5d0c9e0f1c8775a514b1af8b8e36f721e65f04c8f4aae271128266aab1cbab29e62e1d04c08b496f17c07f9dadf734e7b9aed60c3af4220edf4bd4b3c306
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.26
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.26'
19
+ gem 'ultracart_api', '4.1.27'
20
20
  ```
21
21
 
22
22
  install:
@@ -1587,6 +1587,7 @@ 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 |
1590
1591
  | 4.1.26 | 10/20/2025 | conversation api bug fixes |
1591
1592
  | 4.1.25 | 10/20/2025 | conversation api bug fix for bad url on agent profile kb upload |
1592
1593
  | 4.1.24 | 10/20/2025 | new perm flag on conversation virtual agent capabilities |
@@ -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
 
@@ -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
@@ -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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.1.26'
14
+ VERSION = '4.1.27'
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.1.26
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-10-20 00:00:00.000000000 Z
11
+ date: 2025-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus