ultracart_api 3.10.12 → 3.10.13
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/CustomerApi.md +5 -5
- data/lib/ultracart_api/api/customer_api.rb +6 -6
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 354b5e982d4bdfdeaa19102a54dee545e16d6c60fc45985c5b0b6c40eeda7f88
|
4
|
+
data.tar.gz: 34e497b5654b66f1f8e4df71ca307648f912996beddfeb75e3c7d9033dd375c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fce667d7f13b60589f7010b7bd4a40529aac6fd5456b9532faf9fcde323641fb1614cb794a0899ff1e038f7e3abfb5329c88dfefaed12874cfc46ceb1545c746
|
7
|
+
data.tar.gz: '089df484965f457a301f5f63af85963f43c6d2c8282f82102250f0eaa86f5a413eea22fd37908368795af8cd07ad4e35e4e39aba779c2e66e5ab172bf60b263e'
|
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.13
|
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.13.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.13.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.13'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -171,7 +171,7 @@ Class | Method | HTTP request | Description
|
|
171
171
|
*UltracartClient::CustomerApi* | [**get_customers_for_data_tables**](docs/CustomerApi.md#get_customers_for_data_tables) | **POST** /customer/customers/dataTables | Retrieve customers for DataTables plugin
|
172
172
|
*UltracartClient::CustomerApi* | [**get_email_verification_token**](docs/CustomerApi.md#get_email_verification_token) | **POST** /customer/customers/email_verify/get_token | Create a token that can be used to verify a customer email address
|
173
173
|
*UltracartClient::CustomerApi* | [**insert_customer**](docs/CustomerApi.md#insert_customer) | **POST** /customer/customers | Insert a customer
|
174
|
-
*UltracartClient::CustomerApi* | [**
|
174
|
+
*UltracartClient::CustomerApi* | [**search_customer_profile_values**](docs/CustomerApi.md#search_customer_profile_values) | **POST** /customer/search | Searches for all matching values (using POST)
|
175
175
|
*UltracartClient::CustomerApi* | [**update_customer**](docs/CustomerApi.md#update_customer) | **PUT** /customer/customers/{customer_profile_oid} | Update a customer
|
176
176
|
*UltracartClient::CustomerApi* | [**update_customer_email_lists**](docs/CustomerApi.md#update_customer_email_lists) | **POST** /customer/customers/{customer_profile_oid}/email_lists | Update email list subscriptions for a customer
|
177
177
|
*UltracartClient::CustomerApi* | [**validate_email_verification_token**](docs/CustomerApi.md#validate_email_verification_token) | **POST** /customer/customers/email_verify/validate_token | Validate a token that can be used to verify a customer email address
|
@@ -1180,6 +1180,7 @@ Not every change is committed to every SDK.
|
|
1180
1180
|
|
1181
1181
|
| Version | Date | Comments |
|
1182
1182
|
| --: | :-: | --- |
|
1183
|
+
| 3.10.13 | 06/16/2022 | renamed latest method to avoid conflict between customer profile search and storefront search |
|
1183
1184
|
| 3.10.12 | 06/16/2022 | Customer profile search method to look up tags |
|
1184
1185
|
| 3.10.11 | 06/10/2022 | esp segment 3rd party sync add/remove tag fields |
|
1185
1186
|
| 3.10.10 | 06/06/2022 | storefront communication options for syncing to third party provider list |
|
data/docs/CustomerApi.md
CHANGED
@@ -17,7 +17,7 @@ Method | HTTP request | Description
|
|
17
17
|
[**get_customers_for_data_tables**](CustomerApi.md#get_customers_for_data_tables) | **POST** /customer/customers/dataTables | Retrieve customers for DataTables plugin
|
18
18
|
[**get_email_verification_token**](CustomerApi.md#get_email_verification_token) | **POST** /customer/customers/email_verify/get_token | Create a token that can be used to verify a customer email address
|
19
19
|
[**insert_customer**](CustomerApi.md#insert_customer) | **POST** /customer/customers | Insert a customer
|
20
|
-
[**
|
20
|
+
[**search_customer_profile_values**](CustomerApi.md#search_customer_profile_values) | **POST** /customer/search | Searches for all matching values (using POST)
|
21
21
|
[**update_customer**](CustomerApi.md#update_customer) | **PUT** /customer/customers/{customer_profile_oid} | Update a customer
|
22
22
|
[**update_customer_email_lists**](CustomerApi.md#update_customer_email_lists) | **POST** /customer/customers/{customer_profile_oid}/email_lists | Update email list subscriptions for a customer
|
23
23
|
[**validate_email_verification_token**](CustomerApi.md#validate_email_verification_token) | **POST** /customer/customers/email_verify/validate_token | Validate a token that can be used to verify a customer email address
|
@@ -756,8 +756,8 @@ Name | Type | Description | Notes
|
|
756
756
|
|
757
757
|
|
758
758
|
|
759
|
-
# **
|
760
|
-
> LookupResponse
|
759
|
+
# **search_customer_profile_values**
|
760
|
+
> LookupResponse search_customer_profile_values(lookup_request)
|
761
761
|
|
762
762
|
Searches for all matching values (using POST)
|
763
763
|
|
@@ -776,10 +776,10 @@ lookup_request = UltracartClient::LookupRequest.new # LookupRequest | LookupRequ
|
|
776
776
|
|
777
777
|
begin
|
778
778
|
#Searches for all matching values (using POST)
|
779
|
-
result = api_instance.
|
779
|
+
result = api_instance.search_customer_profile_values(lookup_request)
|
780
780
|
p result
|
781
781
|
rescue UltracartClient::ApiError => e
|
782
|
-
puts "Exception when calling CustomerApi->
|
782
|
+
puts "Exception when calling CustomerApi->search_customer_profile_values: #{e}"
|
783
783
|
end
|
784
784
|
```
|
785
785
|
|
@@ -861,8 +861,8 @@ module UltracartClient
|
|
861
861
|
# @param lookup_request LookupRequest
|
862
862
|
# @param [Hash] opts the optional parameters
|
863
863
|
# @return [LookupResponse]
|
864
|
-
def
|
865
|
-
data, _status_code, _headers =
|
864
|
+
def search_customer_profile_values(lookup_request, opts = {})
|
865
|
+
data, _status_code, _headers = search_customer_profile_values_with_http_info(lookup_request, opts)
|
866
866
|
data
|
867
867
|
end
|
868
868
|
|
@@ -870,13 +870,13 @@ module UltracartClient
|
|
870
870
|
# @param lookup_request LookupRequest
|
871
871
|
# @param [Hash] opts the optional parameters
|
872
872
|
# @return [Array<(LookupResponse, Fixnum, Hash)>] LookupResponse data, response status code and response headers
|
873
|
-
def
|
873
|
+
def search_customer_profile_values_with_http_info(lookup_request, opts = {})
|
874
874
|
if @api_client.config.debugging
|
875
|
-
@api_client.config.logger.debug 'Calling API: CustomerApi.
|
875
|
+
@api_client.config.logger.debug 'Calling API: CustomerApi.search_customer_profile_values ...'
|
876
876
|
end
|
877
877
|
# verify the required parameter 'lookup_request' is set
|
878
878
|
if @api_client.config.client_side_validation && lookup_request.nil?
|
879
|
-
fail ArgumentError, "Missing the required parameter 'lookup_request' when calling CustomerApi.
|
879
|
+
fail ArgumentError, "Missing the required parameter 'lookup_request' when calling CustomerApi.search_customer_profile_values"
|
880
880
|
end
|
881
881
|
# resource path
|
882
882
|
local_var_path = '/customer/search'
|
@@ -906,7 +906,7 @@ module UltracartClient
|
|
906
906
|
:auth_names => auth_names,
|
907
907
|
:return_type => 'LookupResponse')
|
908
908
|
if @api_client.config.debugging
|
909
|
-
@api_client.config.logger.debug "API called: CustomerApi#
|
909
|
+
@api_client.config.logger.debug "API called: CustomerApi#search_customer_profile_values\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
910
910
|
end
|
911
911
|
return data, status_code, headers
|
912
912
|
end
|