ultracart_api 4.1.23 → 4.1.25

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: 44bc8be8569bee54c55b590a94864d430c68b3ac0b9595dea7c25f6f9d7d9854
4
- data.tar.gz: e6446c76acbb0ca2ba567b603a90165754e220ddfc8cfac87b94d09ea1655174
3
+ metadata.gz: b2a05885ff3c5a7d07ed7e33b0b6bfea4cee1b710b764298fc9b62450697938b
4
+ data.tar.gz: 11c9f534c2455927dec4deb1abcc8c63ab7e2e170db1de04aed96110786b4b78
5
5
  SHA512:
6
- metadata.gz: c2a5618ccc5029a45537941568cb34fe0a4947cd305e0188165d9d754733c9af348ab3f2920599adfd50ba2adaf90dd796dea02e97e2760e6d1677780653ed0f
7
- data.tar.gz: 2fb8ab2d8dd3ee10ed4ff42e9edbe1489c2306b53628952ee7dedd926efa95b4915637ca7cebadc5ef43851bdf74f4851c81142cb47cb195fd4f9705eb92890f
6
+ metadata.gz: '04943e5336f94bcbf99ae10605bbe77612232903bfcc33c1b26bd8f8b1bdd14340d355a5341c42d06ba5ad152834120a5b6c2bd5b80f3e6f70d28dcd1e20784d'
7
+ data.tar.gz: d31635e14c0fc80e29a0cb57f7266be9dc72cd1b7ef4f70557edd054bad96de992b90711ac3013eb9c7c3d28cf669080040b0d6d017ae47e132d26f56d3672dc
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.23
10
+ - Package version: 4.1.25
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.23'
19
+ gem 'ultracart_api', '4.1.25'
20
20
  ```
21
21
 
22
22
  install:
@@ -153,7 +153,7 @@ Class | Method | HTTP request | Description
153
153
  *UltracartClient::ConversationApi* | [**get_conversation_departments**](docs/ConversationApi.md#get_conversation_departments) | **GET** /conversation/departments | Retrieve a list of departments ordered by name
154
154
  *UltracartClient::ConversationApi* | [**get_conversation_engagement**](docs/ConversationApi.md#get_conversation_engagement) | **GET** /conversation/engagements/{conversation_engagement_oid} | Retrieve an engagement
155
155
  *UltracartClient::ConversationApi* | [**get_conversation_engagements**](docs/ConversationApi.md#get_conversation_engagements) | **GET** /conversation/engagements | Retrieve a list of engagements ordered by name
156
- *UltracartClient::ConversationApi* | [**get_conversation_knowledge_base_document_upload_url**](docs/ConversationApi.md#get_conversation_knowledge_base_document_upload_url) | **GET** /conversation//rest/v2/conversation/agent/profiles/{user_id}/knowledge_base/upload_url/{extension} | Get a pre-signed conversation knowledge base document upload URL
156
+ *UltracartClient::ConversationApi* | [**get_conversation_knowledge_base_document_upload_url**](docs/ConversationApi.md#get_conversation_knowledge_base_document_upload_url) | **GET** /conversation/agent/profiles/{user_id}/knowledge_base/upload_url/{extension} | Get a pre-signed conversation knowledge base document upload URL
157
157
  *UltracartClient::ConversationApi* | [**get_conversation_messages**](docs/ConversationApi.md#get_conversation_messages) | **GET** /conversation/conversations/{conversation_uuid}/messages/{since} | Retrieve conversation messages
158
158
  *UltracartClient::ConversationApi* | [**get_conversation_multimedia_upload_url**](docs/ConversationApi.md#get_conversation_multimedia_upload_url) | **GET** /conversation/upload_url/{extension} | Get a presigned conversation multimedia upload URL
159
159
  *UltracartClient::ConversationApi* | [**get_conversation_pbx_audio_upload_url**](docs/ConversationApi.md#get_conversation_pbx_audio_upload_url) | **GET** /conversation/pbx/audio/upload_url/{extension} | Get a pre-signed conversation multimedia upload URL
@@ -1587,6 +1587,8 @@ Not every change is committed to every SDK.
1587
1587
 
1588
1588
  | Version | Date | Comments |
1589
1589
  | --: | :-: | --- |
1590
+ | 4.1.25 | 10/20/2025 | conversation api bug fix for bad url on agent profile kb upload |
1591
+ | 4.1.24 | 10/20/2025 | new perm flag on conversation virtual agent capabilities |
1590
1592
  | 4.1.23 | 10/14/2025 | CustomerApi.deleteWishlistItem bug fix for bad response type |
1591
1593
  | 4.1.22 | 10/06/2025 | added Customer.fax back into object model |
1592
1594
  | 4.1.21 | 09/09/2025 | added OrderRestApi.replaceOrderItemMerchantItemId |
@@ -28,7 +28,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
28
28
  | [**get_conversation_departments**](ConversationApi.md#get_conversation_departments) | **GET** /conversation/departments | Retrieve a list of departments ordered by name |
29
29
  | [**get_conversation_engagement**](ConversationApi.md#get_conversation_engagement) | **GET** /conversation/engagements/{conversation_engagement_oid} | Retrieve an engagement |
30
30
  | [**get_conversation_engagements**](ConversationApi.md#get_conversation_engagements) | **GET** /conversation/engagements | Retrieve a list of engagements ordered by name |
31
- | [**get_conversation_knowledge_base_document_upload_url**](ConversationApi.md#get_conversation_knowledge_base_document_upload_url) | **GET** /conversation//rest/v2/conversation/agent/profiles/{user_id}/knowledge_base/upload_url/{extension} | Get a pre-signed conversation knowledge base document upload URL |
31
+ | [**get_conversation_knowledge_base_document_upload_url**](ConversationApi.md#get_conversation_knowledge_base_document_upload_url) | **GET** /conversation/agent/profiles/{user_id}/knowledge_base/upload_url/{extension} | Get a pre-signed conversation knowledge base document upload URL |
32
32
  | [**get_conversation_messages**](ConversationApi.md#get_conversation_messages) | **GET** /conversation/conversations/{conversation_uuid}/messages/{since} | Retrieve conversation messages |
33
33
  | [**get_conversation_multimedia_upload_url**](ConversationApi.md#get_conversation_multimedia_upload_url) | **GET** /conversation/upload_url/{extension} | Get a presigned conversation multimedia upload URL |
34
34
  | [**get_conversation_pbx_audio_upload_url**](ConversationApi.md#get_conversation_pbx_audio_upload_url) | **GET** /conversation/pbx/audio/upload_url/{extension} | Get a pre-signed conversation multimedia upload URL |
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **access_storefront_and_item** | **Boolean** | Permission flag to allow this Agent access to the storefront and item information. | [optional] |
7
8
  | **cancel_subscription** | **Boolean** | | [optional] |
8
9
  | **delay_subscription** | **Boolean** | | [optional] |
9
10
  | **lookup_order_information** | **Boolean** | | [optional] |
@@ -25,6 +26,7 @@
25
26
  require 'ultracart_api'
26
27
 
27
28
  instance = UltracartClient::ConversationVirtualAgentCapabilities.new(
29
+ access_storefront_and_item: null,
28
30
  cancel_subscription: null,
29
31
  delay_subscription: null,
30
32
  lookup_order_information: null,
@@ -9,6 +9,9 @@
9
9
  | **internal_gift_certificate_balance** | **String** | Loyalty Cashback / Store credit balance (internal gift certificate balance) | [optional] |
10
10
  | **internal_gift_certificate_oid** | **Integer** | Internal gift certificate oid used to tracking loyalty cashback / store credit. | [optional] |
11
11
  | **ledger_entries** | [**Array<CustomerLoyaltyLedger>**](CustomerLoyaltyLedger.md) | Ledger entries | [optional] |
12
+ | **loyalty_tier_expiration_dts** | **String** | Loyalty tier expiration date (read only because of SDK addition) | [optional] |
13
+ | **loyalty_tier_name** | **String** | Loyalty tier name | [optional] |
14
+ | **loyalty_tier_oid** | **Integer** | Loyalty tier oid (set to zero to remove the tier) | [optional] |
12
15
  | **pending_points** | **Integer** | Pending Points | [optional] |
13
16
  | **redemptions** | [**Array<CustomerLoyaltyRedemption>**](CustomerLoyaltyRedemption.md) | Redemptions | [optional] |
14
17
 
@@ -23,6 +26,9 @@ instance = UltracartClient::CustomerLoyalty.new(
23
26
  internal_gift_certificate_balance: null,
24
27
  internal_gift_certificate_oid: null,
25
28
  ledger_entries: null,
29
+ loyalty_tier_expiration_dts: null,
30
+ loyalty_tier_name: null,
31
+ loyalty_tier_oid: null,
26
32
  pending_points: null,
27
33
  redemptions: null
28
34
  )
@@ -1565,7 +1565,7 @@ module UltracartClient
1565
1565
  fail ArgumentError, "Missing the required parameter 'extension' when calling ConversationApi.get_conversation_knowledge_base_document_upload_url"
1566
1566
  end
1567
1567
  # resource path
1568
- local_var_path = '/conversation//rest/v2/conversation/agent/profiles/{user_id}/knowledge_base/upload_url/{extension}'.sub('{' + 'user_id' + '}', CGI.escape(user_id.to_s)).sub('{' + 'extension' + '}', CGI.escape(extension.to_s))
1568
+ local_var_path = '/conversation/agent/profiles/{user_id}/knowledge_base/upload_url/{extension}'.sub('{' + 'user_id' + '}', CGI.escape(user_id.to_s)).sub('{' + 'extension' + '}', CGI.escape(extension.to_s))
1569
1569
 
1570
1570
  # query parameters
1571
1571
  query_params = opts[:query_params] || {}
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module UltracartClient
17
17
  class ConversationVirtualAgentCapabilities
18
+ # Permission flag to allow this Agent access to the storefront and item information.
19
+ attr_accessor :access_storefront_and_item
20
+
18
21
  attr_accessor :cancel_subscription
19
22
 
20
23
  attr_accessor :delay_subscription
@@ -73,6 +76,7 @@ module UltracartClient
73
76
  # Attribute mapping from ruby-style variable name to JSON key.
74
77
  def self.attribute_map
75
78
  {
79
+ :'access_storefront_and_item' => :'access_storefront_and_item',
76
80
  :'cancel_subscription' => :'cancel_subscription',
77
81
  :'delay_subscription' => :'delay_subscription',
78
82
  :'lookup_order_information' => :'lookup_order_information',
@@ -98,6 +102,7 @@ module UltracartClient
98
102
  # Attribute type mapping.
99
103
  def self.openapi_types
100
104
  {
105
+ :'access_storefront_and_item' => :'Boolean',
101
106
  :'cancel_subscription' => :'Boolean',
102
107
  :'delay_subscription' => :'Boolean',
103
108
  :'lookup_order_information' => :'Boolean',
@@ -136,6 +141,10 @@ module UltracartClient
136
141
  h[k.to_sym] = v
137
142
  }
138
143
 
144
+ if attributes.key?(:'access_storefront_and_item')
145
+ self.access_storefront_and_item = attributes[:'access_storefront_and_item']
146
+ end
147
+
139
148
  if attributes.key?(:'cancel_subscription')
140
149
  self.cancel_subscription = attributes[:'cancel_subscription']
141
150
  end
@@ -225,6 +234,7 @@ module UltracartClient
225
234
  def ==(o)
226
235
  return true if self.equal?(o)
227
236
  self.class == o.class &&
237
+ access_storefront_and_item == o.access_storefront_and_item &&
228
238
  cancel_subscription == o.cancel_subscription &&
229
239
  delay_subscription == o.delay_subscription &&
230
240
  lookup_order_information == o.lookup_order_information &&
@@ -250,7 +260,7 @@ module UltracartClient
250
260
  # Calculates hash code according to all attributes.
251
261
  # @return [Integer] Hash code
252
262
  def hash
253
- [cancel_subscription, delay_subscription, lookup_order_information, lookup_subscription_information, open_support_ticket, open_support_ticket_channel, open_support_ticket_channel_email, open_support_ticket_zoho_desk_department_id, pause_subscription, resume_subscription, transfer_chat_to_live_agent, update_subscription_credit_card, zoho_desk_available, zoho_desk_departments].hash
263
+ [access_storefront_and_item, cancel_subscription, delay_subscription, lookup_order_information, lookup_subscription_information, open_support_ticket, open_support_ticket_channel, open_support_ticket_channel_email, open_support_ticket_zoho_desk_department_id, pause_subscription, resume_subscription, transfer_chat_to_live_agent, update_subscription_credit_card, zoho_desk_available, zoho_desk_departments].hash
254
264
  end
255
265
 
256
266
  # Builds the object from hash
@@ -29,6 +29,15 @@ module UltracartClient
29
29
  # Ledger entries
30
30
  attr_accessor :ledger_entries
31
31
 
32
+ # Loyalty tier expiration date (read only because of SDK addition)
33
+ attr_accessor :loyalty_tier_expiration_dts
34
+
35
+ # Loyalty tier name
36
+ attr_accessor :loyalty_tier_name
37
+
38
+ # Loyalty tier oid (set to zero to remove the tier)
39
+ attr_accessor :loyalty_tier_oid
40
+
32
41
  # Pending Points
33
42
  attr_accessor :pending_points
34
43
 
@@ -43,6 +52,9 @@ module UltracartClient
43
52
  :'internal_gift_certificate_balance' => :'internal_gift_certificate_balance',
44
53
  :'internal_gift_certificate_oid' => :'internal_gift_certificate_oid',
45
54
  :'ledger_entries' => :'ledger_entries',
55
+ :'loyalty_tier_expiration_dts' => :'loyalty_tier_expiration_dts',
56
+ :'loyalty_tier_name' => :'loyalty_tier_name',
57
+ :'loyalty_tier_oid' => :'loyalty_tier_oid',
46
58
  :'pending_points' => :'pending_points',
47
59
  :'redemptions' => :'redemptions'
48
60
  }
@@ -61,6 +73,9 @@ module UltracartClient
61
73
  :'internal_gift_certificate_balance' => :'String',
62
74
  :'internal_gift_certificate_oid' => :'Integer',
63
75
  :'ledger_entries' => :'Array<CustomerLoyaltyLedger>',
76
+ :'loyalty_tier_expiration_dts' => :'String',
77
+ :'loyalty_tier_name' => :'String',
78
+ :'loyalty_tier_oid' => :'Integer',
64
79
  :'pending_points' => :'Integer',
65
80
  :'redemptions' => :'Array<CustomerLoyaltyRedemption>'
66
81
  }
@@ -109,6 +124,18 @@ module UltracartClient
109
124
  end
110
125
  end
111
126
 
127
+ if attributes.key?(:'loyalty_tier_expiration_dts')
128
+ self.loyalty_tier_expiration_dts = attributes[:'loyalty_tier_expiration_dts']
129
+ end
130
+
131
+ if attributes.key?(:'loyalty_tier_name')
132
+ self.loyalty_tier_name = attributes[:'loyalty_tier_name']
133
+ end
134
+
135
+ if attributes.key?(:'loyalty_tier_oid')
136
+ self.loyalty_tier_oid = attributes[:'loyalty_tier_oid']
137
+ end
138
+
112
139
  if attributes.key?(:'pending_points')
113
140
  self.pending_points = attributes[:'pending_points']
114
141
  end
@@ -143,6 +170,9 @@ module UltracartClient
143
170
  internal_gift_certificate_balance == o.internal_gift_certificate_balance &&
144
171
  internal_gift_certificate_oid == o.internal_gift_certificate_oid &&
145
172
  ledger_entries == o.ledger_entries &&
173
+ loyalty_tier_expiration_dts == o.loyalty_tier_expiration_dts &&
174
+ loyalty_tier_name == o.loyalty_tier_name &&
175
+ loyalty_tier_oid == o.loyalty_tier_oid &&
146
176
  pending_points == o.pending_points &&
147
177
  redemptions == o.redemptions
148
178
  end
@@ -156,7 +186,7 @@ module UltracartClient
156
186
  # Calculates hash code according to all attributes.
157
187
  # @return [Integer] Hash code
158
188
  def hash
159
- [current_points, internal_gift_certificate, internal_gift_certificate_balance, internal_gift_certificate_oid, ledger_entries, pending_points, redemptions].hash
189
+ [current_points, internal_gift_certificate, internal_gift_certificate_balance, internal_gift_certificate_oid, ledger_entries, loyalty_tier_expiration_dts, loyalty_tier_name, loyalty_tier_oid, pending_points, redemptions].hash
160
190
  end
161
191
 
162
192
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.1.23'
14
+ VERSION = '4.1.25'
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.23
4
+ version: 4.1.25
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-14 00:00:00.000000000 Z
11
+ date: 2025-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus