ultracart_api 3.10.209 → 3.10.210
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -5
- data/docs/ConversationPbxPhoneNumber.md +1 -1
- data/docs/ItemApi.md +4 -4
- data/docs/ItemAutoOrderStep.md +2 -2
- data/lib/ultracart_api/api/item_api.rb +4 -4
- data/lib/ultracart_api/models/conversation_pbx_phone_number.rb +15 -15
- data/lib/ultracart_api/models/item_auto_order_step.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: b403a2062b04d6314a96984f128de4de451a802ebdd4b8d6429149a6ae5e2a68
|
4
|
+
data.tar.gz: bfccba20cd04d268f88e2bc991e7a1e4397320aef5f0479686a7227e08bc67b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b55ff67aacd614722052d6ec7c89036a6c028b363e1a25be4a35bdf7f1c00e9dfb1b81d4bd97f8c8d8c65092c8d20e9f619d7c62938b09c3d3bd2cfabac3f4c9
|
7
|
+
data.tar.gz: 8afa6c1c224dbffed8c98aaddb1438a5b216e9de8d43ae4857d59541653943a8511e375975d85857f842f5f801273e7c86fb6897eca51e614306c047dd85ed53
|
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.10.
|
10
|
+
- Package version: 3.10.210
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
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.10.
|
27
|
+
gem install ./ultracart_api-3.10.210.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.210.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.10.
|
35
|
+
gem 'ultracart_api', '~> 3.10.210'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -305,7 +305,7 @@ Class | Method | HTTP request | Description
|
|
305
305
|
*UltracartClient::ItemApi* | [**insert_item**](docs/ItemApi.md#insert_item) | **POST** /item/items | Create an item
|
306
306
|
*UltracartClient::ItemApi* | [**insert_review**](docs/ItemApi.md#insert_review) | **POST** /item/items/{merchant_item_oid}/reviews | Insert a review
|
307
307
|
*UltracartClient::ItemApi* | [**insert_update_item_content_attribute**](docs/ItemApi.md#insert_update_item_content_attribute) | **POST** /item/items/{merchant_item_oid}/content/attributes | Upsert an item content attribute
|
308
|
-
*UltracartClient::ItemApi* | [**rest_item_inventory_snapshot_response**](docs/ItemApi.md#rest_item_inventory_snapshot_response) | **GET** /item/items/inventory_snapshot | Retrieve a list of item inventories
|
308
|
+
*UltracartClient::ItemApi* | [**rest_item_inventory_snapshot_response**](docs/ItemApi.md#rest_item_inventory_snapshot_response) | **GET** /item/items/inventory_snapshot | Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
309
309
|
*UltracartClient::ItemApi* | [**update_digital_item**](docs/ItemApi.md#update_digital_item) | **PUT** /item/digital_library/{digital_item_oid} | Updates a file within the digital library
|
310
310
|
*UltracartClient::ItemApi* | [**update_item**](docs/ItemApi.md#update_item) | **PUT** /item/items/{merchant_item_oid} | Update an item
|
311
311
|
*UltracartClient::ItemApi* | [**update_items**](docs/ItemApi.md#update_items) | **PUT** /item/items/batch | Update multiple items
|
@@ -1509,6 +1509,7 @@ Not every change is committed to every SDK.
|
|
1509
1509
|
|
1510
1510
|
| Version | Date | Comments |
|
1511
1511
|
| --: | :-: | --- |
|
1512
|
+
| 3.10.210 | 06/03/2024 | conversationPbxPhoneNumber - fix serialized name for phone number UUID |
|
1512
1513
|
| 3.10.209 | 05/31/2024 | ItemApi.getInventorySnapshot method |
|
1513
1514
|
| 3.10.208 | 05/30/2024 | add adult sig req. to the merchant item destination markup for items |
|
1514
1515
|
| 3.10.207 | 05/29/2024 | added methods getEmailCommseqRateLimiters, resetEmailCommseqRateLimiters |
|
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**action** | **String** | Action | [optional]
|
7
7
|
**action_target** | **String** | Action target. This is the UUID associated with the configuration object of that particular type. | [optional]
|
8
|
-
**
|
8
|
+
**conversation_pbx_phone_number_uuid** | **String** | Conversation Pbx Phone Number UUID | [optional]
|
9
9
|
**merchant_id** | **String** | Merchant Id | [optional]
|
10
10
|
**phone_number** | **String** | Phone number | [optional]
|
11
11
|
|
data/docs/ItemApi.md
CHANGED
@@ -21,7 +21,7 @@ Method | HTTP request | Description
|
|
21
21
|
[**insert_item**](ItemApi.md#insert_item) | **POST** /item/items | Create an item
|
22
22
|
[**insert_review**](ItemApi.md#insert_review) | **POST** /item/items/{merchant_item_oid}/reviews | Insert a review
|
23
23
|
[**insert_update_item_content_attribute**](ItemApi.md#insert_update_item_content_attribute) | **POST** /item/items/{merchant_item_oid}/content/attributes | Upsert an item content attribute
|
24
|
-
[**rest_item_inventory_snapshot_response**](ItemApi.md#rest_item_inventory_snapshot_response) | **GET** /item/items/inventory_snapshot | Retrieve a list of item inventories
|
24
|
+
[**rest_item_inventory_snapshot_response**](ItemApi.md#rest_item_inventory_snapshot_response) | **GET** /item/items/inventory_snapshot | Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
25
25
|
[**update_digital_item**](ItemApi.md#update_digital_item) | **PUT** /item/digital_library/{digital_item_oid} | Updates a file within the digital library
|
26
26
|
[**update_item**](ItemApi.md#update_item) | **PUT** /item/items/{merchant_item_oid} | Update an item
|
27
27
|
[**update_items**](ItemApi.md#update_items) | **PUT** /item/items/batch | Update multiple items
|
@@ -946,9 +946,9 @@ nil (empty response body)
|
|
946
946
|
# **rest_item_inventory_snapshot_response**
|
947
947
|
> ItemInventorySnapshotResponse rest_item_inventory_snapshot_response
|
948
948
|
|
949
|
-
Retrieve a list of item inventories
|
949
|
+
Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
950
950
|
|
951
|
-
|
951
|
+
Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
952
952
|
|
953
953
|
### Example
|
954
954
|
```ruby
|
@@ -962,7 +962,7 @@ api_instance = UltracartClient::ItemApi.new_using_api_key(simple_key, false, fal
|
|
962
962
|
|
963
963
|
|
964
964
|
begin
|
965
|
-
#Retrieve a list of item inventories
|
965
|
+
#Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
966
966
|
result = api_instance.rest_item_inventory_snapshot_response
|
967
967
|
p result
|
968
968
|
rescue UltracartClient::ApiError => e
|
data/docs/ItemAutoOrderStep.md
CHANGED
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
|
|
17
17
|
**recurring_merchant_item_oid** | **Integer** | Item object identifier to rebill | [optional]
|
18
18
|
**repeat_count** | **Integer** | Number of times to rebill. Last step can be null for infinite | [optional]
|
19
19
|
**schedule** | **String** | Frequency of the rebill | [optional]
|
20
|
-
**subscribe_email_list_name** | **String** | Email list name to subscribe the customer to when the rebill occurs | [optional]
|
21
|
-
**subscribe_email_list_oid** | **Integer** | Email list identifier to subscribe the customer to when this rebill occurs | [optional]
|
20
|
+
**subscribe_email_list_name** | **String** | Email list name to subscribe the customer to when the rebill occurs (decommissioned email engine) | [optional]
|
21
|
+
**subscribe_email_list_oid** | **Integer** | Email list identifier to subscribe the customer to when this rebill occurs (decommissioned email engine) | [optional]
|
22
22
|
**type** | **String** | Type of step (item, kit only, loop or pause) | [optional]
|
23
23
|
|
24
24
|
|
@@ -1044,8 +1044,8 @@ module UltracartClient
|
|
1044
1044
|
end
|
1045
1045
|
return data, status_code, headers
|
1046
1046
|
end
|
1047
|
-
# Retrieve a list of item inventories
|
1048
|
-
#
|
1047
|
+
# Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
1048
|
+
# Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
1049
1049
|
# @param [Hash] opts the optional parameters
|
1050
1050
|
# @return [ItemInventorySnapshotResponse]
|
1051
1051
|
def rest_item_inventory_snapshot_response(opts = {})
|
@@ -1053,8 +1053,8 @@ module UltracartClient
|
|
1053
1053
|
data
|
1054
1054
|
end
|
1055
1055
|
|
1056
|
-
# Retrieve a list of item inventories
|
1057
|
-
#
|
1056
|
+
# Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
1057
|
+
# Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
1058
1058
|
# @param [Hash] opts the optional parameters
|
1059
1059
|
# @return [Array<(ItemInventorySnapshotResponse, Fixnum, Hash)>] ItemInventorySnapshotResponse data, response status code and response headers
|
1060
1060
|
def rest_item_inventory_snapshot_response_with_http_info(opts = {})
|
@@ -21,7 +21,7 @@ module UltracartClient
|
|
21
21
|
attr_accessor :action_target
|
22
22
|
|
23
23
|
# Conversation Pbx Phone Number UUID
|
24
|
-
attr_accessor :
|
24
|
+
attr_accessor :conversation_pbx_phone_number_uuid
|
25
25
|
|
26
26
|
# Merchant Id
|
27
27
|
attr_accessor :merchant_id
|
@@ -56,7 +56,7 @@ module UltracartClient
|
|
56
56
|
{
|
57
57
|
:'action' => :'action',
|
58
58
|
:'action_target' => :'action_target',
|
59
|
-
:'
|
59
|
+
:'conversation_pbx_phone_number_uuid' => :'conversation_pbx_phone_number_uuid',
|
60
60
|
:'merchant_id' => :'merchant_id',
|
61
61
|
:'phone_number' => :'phone_number'
|
62
62
|
}
|
@@ -67,7 +67,7 @@ module UltracartClient
|
|
67
67
|
{
|
68
68
|
:'action' => :'String',
|
69
69
|
:'action_target' => :'String',
|
70
|
-
:'
|
70
|
+
:'conversation_pbx_phone_number_uuid' => :'String',
|
71
71
|
:'merchant_id' => :'String',
|
72
72
|
:'phone_number' => :'String'
|
73
73
|
}
|
@@ -89,8 +89,8 @@ module UltracartClient
|
|
89
89
|
self.action_target = attributes[:'action_target']
|
90
90
|
end
|
91
91
|
|
92
|
-
if attributes.has_key?(:'
|
93
|
-
self.
|
92
|
+
if attributes.has_key?(:'conversation_pbx_phone_number_uuid')
|
93
|
+
self.conversation_pbx_phone_number_uuid = attributes[:'conversation_pbx_phone_number_uuid']
|
94
94
|
end
|
95
95
|
|
96
96
|
if attributes.has_key?(:'merchant_id')
|
@@ -114,8 +114,8 @@ module UltracartClient
|
|
114
114
|
invalid_properties.push('invalid value for "action_target", the character length must be smaller than or equal to 50.')
|
115
115
|
end
|
116
116
|
|
117
|
-
if !@
|
118
|
-
invalid_properties.push('invalid value for "
|
117
|
+
if !@conversation_pbx_phone_number_uuid.nil? && @conversation_pbx_phone_number_uuid.to_s.length > 50
|
118
|
+
invalid_properties.push('invalid value for "conversation_pbx_phone_number_uuid", the character length must be smaller than or equal to 50.')
|
119
119
|
end
|
120
120
|
|
121
121
|
if !@merchant_id.nil? && @merchant_id.to_s.length > 5
|
@@ -136,7 +136,7 @@ module UltracartClient
|
|
136
136
|
return false unless action_validator.valid?(@action)
|
137
137
|
return false if !@action.nil? && @action.to_s.length > 30
|
138
138
|
return false if !@action_target.nil? && @action_target.to_s.length > 50
|
139
|
-
return false if !@
|
139
|
+
return false if !@conversation_pbx_phone_number_uuid.nil? && @conversation_pbx_phone_number_uuid.to_s.length > 50
|
140
140
|
return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
|
141
141
|
return false if !@phone_number.nil? && @phone_number.to_s.length > 50
|
142
142
|
true
|
@@ -163,13 +163,13 @@ module UltracartClient
|
|
163
163
|
end
|
164
164
|
|
165
165
|
# Custom attribute writer method with validation
|
166
|
-
# @param [Object]
|
167
|
-
def
|
168
|
-
if !
|
169
|
-
fail ArgumentError, 'invalid value for "
|
166
|
+
# @param [Object] conversation_pbx_phone_number_uuid Value to be assigned
|
167
|
+
def conversation_pbx_phone_number_uuid=(conversation_pbx_phone_number_uuid)
|
168
|
+
if !conversation_pbx_phone_number_uuid.nil? && conversation_pbx_phone_number_uuid.to_s.length > 50
|
169
|
+
fail ArgumentError, 'invalid value for "conversation_pbx_phone_number_uuid", the character length must be smaller than or equal to 50.'
|
170
170
|
end
|
171
171
|
|
172
|
-
@
|
172
|
+
@conversation_pbx_phone_number_uuid = conversation_pbx_phone_number_uuid
|
173
173
|
end
|
174
174
|
|
175
175
|
# Custom attribute writer method with validation
|
@@ -199,7 +199,7 @@ module UltracartClient
|
|
199
199
|
self.class == o.class &&
|
200
200
|
action == o.action &&
|
201
201
|
action_target == o.action_target &&
|
202
|
-
|
202
|
+
conversation_pbx_phone_number_uuid == o.conversation_pbx_phone_number_uuid &&
|
203
203
|
merchant_id == o.merchant_id &&
|
204
204
|
phone_number == o.phone_number
|
205
205
|
end
|
@@ -213,7 +213,7 @@ module UltracartClient
|
|
213
213
|
# Calculates hash code according to all attributes.
|
214
214
|
# @return [Fixnum] Hash code
|
215
215
|
def hash
|
216
|
-
[action, action_target,
|
216
|
+
[action, action_target, conversation_pbx_phone_number_uuid, merchant_id, phone_number].hash
|
217
217
|
end
|
218
218
|
|
219
219
|
# Builds the object from hash
|
@@ -56,10 +56,10 @@ module UltracartClient
|
|
56
56
|
# Frequency of the rebill
|
57
57
|
attr_accessor :schedule
|
58
58
|
|
59
|
-
# Email list name to subscribe the customer to when the rebill occurs
|
59
|
+
# Email list name to subscribe the customer to when the rebill occurs (decommissioned email engine)
|
60
60
|
attr_accessor :subscribe_email_list_name
|
61
61
|
|
62
|
-
# Email list identifier to subscribe the customer to when this rebill occurs
|
62
|
+
# Email list identifier to subscribe the customer to when this rebill occurs (decommissioned email engine)
|
63
63
|
attr_accessor :subscribe_email_list_oid
|
64
64
|
|
65
65
|
# Type of step (item, kit only, loop or pause)
|
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.10.
|
4
|
+
version: 3.10.210
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|