ultracart_api 4.0.226 → 4.0.227

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a04688dd66fd6c770680e8aea005e0f0bd6fe584c632a72aea4e9aea51b6ff04
4
- data.tar.gz: 67d6838c5141f29a579323cbfb6fd26097cef6a70f29733b9e9a2f4a9b4962eb
3
+ metadata.gz: ac2366fac2ae6a387c3ca288316a55495125d2f860179af6742755f41a191750
4
+ data.tar.gz: cda25eece20b319afd74cbbbf400fbc8b1b750f5020cd2f64c53d948294fa886
5
5
  SHA512:
6
- metadata.gz: f90479911baeee644673103d6b0b1ff2085d2ed4b012083be51f2512ae1abf13901a11eee4f667235eada4cf542331b1c3a88b90fd70f5cc31f6ed3ad0652aee
7
- data.tar.gz: f1e74794241f8817f4c2175343b499223373f353fb79938fcc4e3ce835946595f340877f5a9a799bd153e9e891fc091482c5a4d8b89924c7f49c0a9de6c4e721
6
+ metadata.gz: 4b552ade3a551cee9b4bf9ded6075d5f44f1e51ff23a3987d4eabf5797efdd7d4fbdadade839f32a7f2e707728b491d26b21f4eca0f24d629fcf87c21cfe4bf9
7
+ data.tar.gz: df91ec48fb312ffb57bd16dffd08d2ce0151b9cf77bca479fcb9c14acf25512196144808fd5fbb97c0311e546f0ca8bff3757eafc6ed09fa6b8f2099cc18d61b
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
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.0.226
10
+ - Package version: 4.0.227
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-4.0.226.gem
27
+ gem install ./ultracart_api-4.0.227.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.226.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.227.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ultracart_api', '~> 4.0.226'
36
+ gem 'ultracart_api', '~> 4.0.227'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -311,7 +311,7 @@ Class | Method | HTTP request | Description
311
311
  *UltracartClient::ItemApi* | [**insert_item**](docs/ItemApi.md#insert_item) | **POST** /item/items | Create an item
312
312
  *UltracartClient::ItemApi* | [**insert_review**](docs/ItemApi.md#insert_review) | **POST** /item/items/{merchant_item_oid}/reviews | Insert a review
313
313
  *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
314
- *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
314
+ *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.
315
315
  *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
316
316
  *UltracartClient::ItemApi* | [**update_item**](docs/ItemApi.md#update_item) | **PUT** /item/items/{merchant_item_oid} | Update an item
317
317
  *UltracartClient::ItemApi* | [**update_items**](docs/ItemApi.md#update_items) | **PUT** /item/items/batch | Update multiple items
@@ -1517,6 +1517,7 @@ Not every change is committed to every SDK.
1517
1517
 
1518
1518
  | Version | Date | Comments |
1519
1519
  | --: | :-: | --- |
1520
+ | 4.0.227 | 06/03/2024 | conversationPbxPhoneNumber - fix serialized name for phone number UUID |
1520
1521
  | 4.0.226 | 05/31/2024 | ItemApi.getInventorySnapshot method |
1521
1522
  | 4.0.225 | 05/30/2024 | add adult sig req. to the merchant item destination markup for items |
1522
1523
  | 4.0.224 | 05/29/2024 | added methods getEmailCommseqRateLimiters, resetEmailCommseqRateLimiters |
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **action** | **String** | Action | [optional] |
8
8
  | **action_target** | **String** | Action target. This is the UUID associated with the configuration object of that particular type. | [optional] |
9
- | **conversation_pbx_time_range_uuid** | **String** | Conversation Pbx Phone Number UUID | [optional] |
9
+ | **conversation_pbx_phone_number_uuid** | **String** | Conversation Pbx Phone Number UUID | [optional] |
10
10
  | **merchant_id** | **String** | Merchant Id | [optional] |
11
11
  | **phone_number** | **String** | Phone number | [optional] |
12
12
 
@@ -18,7 +18,7 @@ require 'ultracart_api'
18
18
  instance = UltracartClient::ConversationPbxPhoneNumber.new(
19
19
  action: null,
20
20
  action_target: null,
21
- conversation_pbx_time_range_uuid: null,
21
+ conversation_pbx_phone_number_uuid: null,
22
22
  merchant_id: null,
23
23
  phone_number: null
24
24
  )
data/docs/ItemApi.md CHANGED
@@ -21,7 +21,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
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 |
@@ -1304,9 +1304,9 @@ nil (empty response body)
1304
1304
 
1305
1305
  > <ItemInventorySnapshotResponse> rest_item_inventory_snapshot_response
1306
1306
 
1307
- Retrieve a list of item inventories
1307
+ Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1308
1308
 
1309
- Retrieves a list of item inventories.
1309
+ Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1310
1310
 
1311
1311
  ### Examples
1312
1312
 
@@ -1324,7 +1324,7 @@ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/
1324
1324
  api = UltracartClient::ItemApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
1325
1325
 
1326
1326
  begin
1327
- # Retrieve a list of item inventories
1327
+ # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1328
1328
  result = api_instance.rest_item_inventory_snapshot_response
1329
1329
  p result
1330
1330
  rescue UltracartClient::ApiError => e
@@ -1340,7 +1340,7 @@ This returns an Array which contains the response data, status code and headers.
1340
1340
 
1341
1341
  ```ruby
1342
1342
  begin
1343
- # Retrieve a list of item inventories
1343
+ # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1344
1344
  data, status_code, headers = api_instance.rest_item_inventory_snapshot_response_with_http_info
1345
1345
  p status_code # => 2xx
1346
1346
  p headers # => { ... }
@@ -18,8 +18,8 @@
18
18
  | **recurring_merchant_item_oid** | **Integer** | Item object identifier to rebill | [optional] |
19
19
  | **repeat_count** | **Integer** | Number of times to rebill. Last step can be null for infinite | [optional] |
20
20
  | **schedule** | **String** | Frequency of the rebill | [optional] |
21
- | **subscribe_email_list_name** | **String** | Email list name to subscribe the customer to when the rebill occurs | [optional] |
22
- | **subscribe_email_list_oid** | **Integer** | Email list identifier to subscribe the customer to when this rebill occurs | [optional] |
21
+ | **subscribe_email_list_name** | **String** | Email list name to subscribe the customer to when the rebill occurs (decommissioned email engine) | [optional] |
22
+ | **subscribe_email_list_oid** | **Integer** | Email list identifier to subscribe the customer to when this rebill occurs (decommissioned email engine) | [optional] |
23
23
  | **type** | **String** | Type of step (item, kit only, loop or pause) | [optional] |
24
24
 
25
25
  ## Example
@@ -1221,8 +1221,8 @@ module UltracartClient
1221
1221
  return data, status_code, headers
1222
1222
  end
1223
1223
 
1224
- # Retrieve a list of item inventories
1225
- # Retrieves a list of item inventories.
1224
+ # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1225
+ # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1226
1226
  # @param [Hash] opts the optional parameters
1227
1227
  # @return [ItemInventorySnapshotResponse]
1228
1228
  def rest_item_inventory_snapshot_response(opts = {})
@@ -1230,8 +1230,8 @@ module UltracartClient
1230
1230
  data
1231
1231
  end
1232
1232
 
1233
- # Retrieve a list of item inventories
1234
- # Retrieves a list of item inventories.
1233
+ # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1234
+ # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1235
1235
  # @param [Hash] opts the optional parameters
1236
1236
  # @return [Array<(ItemInventorySnapshotResponse, Integer, Hash)>] ItemInventorySnapshotResponse data, response status code and response headers
1237
1237
  def rest_item_inventory_snapshot_response_with_http_info(opts = {})
@@ -22,7 +22,7 @@ module UltracartClient
22
22
  attr_accessor :action_target
23
23
 
24
24
  # Conversation Pbx Phone Number UUID
25
- attr_accessor :conversation_pbx_time_range_uuid
25
+ attr_accessor :conversation_pbx_phone_number_uuid
26
26
 
27
27
  # Merchant Id
28
28
  attr_accessor :merchant_id
@@ -57,7 +57,7 @@ module UltracartClient
57
57
  {
58
58
  :'action' => :'action',
59
59
  :'action_target' => :'action_target',
60
- :'conversation_pbx_time_range_uuid' => :'conversation_pbx_time_range_uuid',
60
+ :'conversation_pbx_phone_number_uuid' => :'conversation_pbx_phone_number_uuid',
61
61
  :'merchant_id' => :'merchant_id',
62
62
  :'phone_number' => :'phone_number'
63
63
  }
@@ -73,7 +73,7 @@ module UltracartClient
73
73
  {
74
74
  :'action' => :'String',
75
75
  :'action_target' => :'String',
76
- :'conversation_pbx_time_range_uuid' => :'String',
76
+ :'conversation_pbx_phone_number_uuid' => :'String',
77
77
  :'merchant_id' => :'String',
78
78
  :'phone_number' => :'String'
79
79
  }
@@ -108,8 +108,8 @@ module UltracartClient
108
108
  self.action_target = attributes[:'action_target']
109
109
  end
110
110
 
111
- if attributes.key?(:'conversation_pbx_time_range_uuid')
112
- self.conversation_pbx_time_range_uuid = attributes[:'conversation_pbx_time_range_uuid']
111
+ if attributes.key?(:'conversation_pbx_phone_number_uuid')
112
+ self.conversation_pbx_phone_number_uuid = attributes[:'conversation_pbx_phone_number_uuid']
113
113
  end
114
114
 
115
115
  if attributes.key?(:'merchant_id')
@@ -133,8 +133,8 @@ module UltracartClient
133
133
  invalid_properties.push('invalid value for "action_target", the character length must be smaller than or equal to 50.')
134
134
  end
135
135
 
136
- if !@conversation_pbx_time_range_uuid.nil? && @conversation_pbx_time_range_uuid.to_s.length > 50
137
- invalid_properties.push('invalid value for "conversation_pbx_time_range_uuid", the character length must be smaller than or equal to 50.')
136
+ if !@conversation_pbx_phone_number_uuid.nil? && @conversation_pbx_phone_number_uuid.to_s.length > 50
137
+ invalid_properties.push('invalid value for "conversation_pbx_phone_number_uuid", the character length must be smaller than or equal to 50.')
138
138
  end
139
139
 
140
140
  if !@merchant_id.nil? && @merchant_id.to_s.length > 5
@@ -155,7 +155,7 @@ module UltracartClient
155
155
  return false unless action_validator.valid?(@action)
156
156
  return false if !@action.nil? && @action.to_s.length > 30
157
157
  return false if !@action_target.nil? && @action_target.to_s.length > 50
158
- return false if !@conversation_pbx_time_range_uuid.nil? && @conversation_pbx_time_range_uuid.to_s.length > 50
158
+ return false if !@conversation_pbx_phone_number_uuid.nil? && @conversation_pbx_phone_number_uuid.to_s.length > 50
159
159
  return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
160
160
  return false if !@phone_number.nil? && @phone_number.to_s.length > 50
161
161
  true
@@ -182,13 +182,13 @@ module UltracartClient
182
182
  end
183
183
 
184
184
  # Custom attribute writer method with validation
185
- # @param [Object] conversation_pbx_time_range_uuid Value to be assigned
186
- def conversation_pbx_time_range_uuid=(conversation_pbx_time_range_uuid)
187
- if !conversation_pbx_time_range_uuid.nil? && conversation_pbx_time_range_uuid.to_s.length > 50
188
- fail ArgumentError, 'invalid value for "conversation_pbx_time_range_uuid", the character length must be smaller than or equal to 50.'
185
+ # @param [Object] conversation_pbx_phone_number_uuid Value to be assigned
186
+ def conversation_pbx_phone_number_uuid=(conversation_pbx_phone_number_uuid)
187
+ if !conversation_pbx_phone_number_uuid.nil? && conversation_pbx_phone_number_uuid.to_s.length > 50
188
+ fail ArgumentError, 'invalid value for "conversation_pbx_phone_number_uuid", the character length must be smaller than or equal to 50.'
189
189
  end
190
190
 
191
- @conversation_pbx_time_range_uuid = conversation_pbx_time_range_uuid
191
+ @conversation_pbx_phone_number_uuid = conversation_pbx_phone_number_uuid
192
192
  end
193
193
 
194
194
  # Custom attribute writer method with validation
@@ -218,7 +218,7 @@ module UltracartClient
218
218
  self.class == o.class &&
219
219
  action == o.action &&
220
220
  action_target == o.action_target &&
221
- conversation_pbx_time_range_uuid == o.conversation_pbx_time_range_uuid &&
221
+ conversation_pbx_phone_number_uuid == o.conversation_pbx_phone_number_uuid &&
222
222
  merchant_id == o.merchant_id &&
223
223
  phone_number == o.phone_number
224
224
  end
@@ -232,7 +232,7 @@ module UltracartClient
232
232
  # Calculates hash code according to all attributes.
233
233
  # @return [Integer] Hash code
234
234
  def hash
235
- [action, action_target, conversation_pbx_time_range_uuid, merchant_id, phone_number].hash
235
+ [action, action_target, conversation_pbx_phone_number_uuid, merchant_id, phone_number].hash
236
236
  end
237
237
 
238
238
  # Builds the object from hash
@@ -57,10 +57,10 @@ module UltracartClient
57
57
  # Frequency of the rebill
58
58
  attr_accessor :schedule
59
59
 
60
- # Email list name to subscribe the customer to when the rebill occurs
60
+ # Email list name to subscribe the customer to when the rebill occurs (decommissioned email engine)
61
61
  attr_accessor :subscribe_email_list_name
62
62
 
63
- # Email list identifier to subscribe the customer to when this rebill occurs
63
+ # Email list identifier to subscribe the customer to when this rebill occurs (decommissioned email engine)
64
64
  attr_accessor :subscribe_email_list_oid
65
65
 
66
66
  # Type of step (item, kit only, loop or pause)
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.226'
14
+ VERSION = '4.0.227'
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.0.226
4
+ version: 4.0.227
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-31 00:00:00.000000000 Z
11
+ date: 2024-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus