ultracart_api 4.1.23 → 4.1.24
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 +3 -2
- data/docs/ConversationVirtualAgentCapabilities.md +2 -0
- data/docs/CustomerLoyalty.md +6 -0
- data/lib/ultracart_api/models/conversation_virtual_agent_capabilities.rb +11 -1
- data/lib/ultracart_api/models/customer_loyalty.rb +31 -1
- 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: 2f8038af927fbb87cce33b74f55dec578038d9c00da1c4ec8f7a9a535f079ed8
|
|
4
|
+
data.tar.gz: 3d7efd0f8ddef0f7ac94e3fec1456b5de1f66982b4c53fe24a9ad12f0de40b3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e0b3c85aa0020864860ab77825b1bfaac2583d60de473fd8a1a9d69f9fa91802ab8179caaa104245d79066529e7baa388d4121702ad2858c401941e17889ea79
|
|
7
|
+
data.tar.gz: 4711da91c8631cd07f80f323e1bc81c6570f1267b784a598e52817bddb507a3d8071fd257e28111ede7a8d25a50c77d473abeebc4933c827187dad2aed97c8e7
|
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.24
|
|
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.24'
|
|
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.24 | 10/20/2025 | new perm flag on conversation virtual agent capabilities |
|
|
1590
1591
|
| 4.1.23 | 10/14/2025 | CustomerApi.deleteWishlistItem bug fix for bad response type |
|
|
1591
1592
|
| 4.1.22 | 10/06/2025 | added Customer.fax back into object model |
|
|
1592
1593
|
| 4.1.21 | 09/09/2025 | added OrderRestApi.replaceOrderItemMerchantItemId |
|
|
@@ -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,
|
data/docs/CustomerLoyalty.md
CHANGED
|
@@ -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
|
)
|
|
@@ -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
|
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.24
|
|
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-
|
|
11
|
+
date: 2025-10-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|