ultracart_api 3.10.37 → 3.10.38

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: 80ef1808819f662db57e52efb4ac83f460d39f72aeea9092c68093b880e86f2d
4
- data.tar.gz: 3bfaedc49043449925965f8b0d81c34e02f0e62785fe19d52a19ea066ce47fb7
3
+ metadata.gz: c9e126c9883f349713b1fd0f02b4d5567039b6d2f0f97fc4f851d41efb67fee9
4
+ data.tar.gz: 37ef0d0c9841e8370a221d8fced1ff3be1a3aac83c2c96a3851f46bf9d322dc2
5
5
  SHA512:
6
- metadata.gz: 27bcd34296d1dc032506c3f0aa01c8f074416b9cdb03ec7a2cc27c8914286a1ddb406ce02c762538afcad5cf32b5f8518c33d0a80ed214da8b8fcd61db0a16ac
7
- data.tar.gz: 3c9c722d3c8393ff6da6a3abc40be1b7ef4a2963c4be6f61ebb5c88e573d542202b39433ba1e57ac4b633fd7f68dfd5d1d18f79057fb73cf7b6b94bafefd9abc
6
+ metadata.gz: f03922d07db66d388c2ab34e5957fa67e793163e84f3795ce4fa97d29ce5a987322911cf0b8e2b4333d66d8f75db3da1188896aa853a5a963995cf965d5be504
7
+ data.tar.gz: 984c0a4995aeb37f338fd6593d404454522a657ff4db1838d15b7f13bfbb997bc6520e60b119d124455bb1b95c60936f1133239f72a0133662ea4f8c4e95ff1c
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.37
10
+ - Package version: 3.10.38
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.37.gem
27
+ gem install ./ultracart_api-3.10.38.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.37.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.38.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.37'
35
+ gem 'ultracart_api', '~> 3.10.38'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -165,6 +165,7 @@ Class | Method | HTTP request | Description
165
165
  *UltracartClient::CustomerApi* | [**get_customers_by_query**](docs/CustomerApi.md#get_customers_by_query) | **POST** /customer/customers/query | Retrieve customers by query
166
166
  *UltracartClient::CustomerApi* | [**get_customers_for_data_tables**](docs/CustomerApi.md#get_customers_for_data_tables) | **POST** /customer/customers/dataTables | Retrieve customers for DataTables plugin
167
167
  *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
168
+ *UltracartClient::CustomerApi* | [**get_magic_link**](docs/CustomerApi.md#get_magic_link) | **PUT** /customer/customers/{customer_profile_oid}/magic_link/{storefront_host_name} | getMagicLink
168
169
  *UltracartClient::CustomerApi* | [**insert_customer**](docs/CustomerApi.md#insert_customer) | **POST** /customer/customers | Insert a customer
169
170
  *UltracartClient::CustomerApi* | [**merge_customer**](docs/CustomerApi.md#merge_customer) | **PUT** /customer/customers/{customer_profile_oid}/merge | Merge customer into this customer
170
171
  *UltracartClient::CustomerApi* | [**search_customer_profile_values**](docs/CustomerApi.md#search_customer_profile_values) | **POST** /customer/search | Searches for all matching values (using POST)
@@ -329,6 +330,7 @@ Class | Method | HTTP request | Description
329
330
  *UltracartClient::StorefrontApi* | [**get_screen_recordings_by_query**](docs/StorefrontApi.md#get_screen_recordings_by_query) | **POST** /storefront/{storefront_oid}/screen_recordings/query | Query screen recordings
330
331
  *UltracartClient::StorefrontApi* | [**get_screen_recordings_by_segment**](docs/StorefrontApi.md#get_screen_recordings_by_segment) | **POST** /storefront/{storefront_oid}/screen_recordings/segments/{screen_recording_segment_oid}/query | Get screen recordings by segment
331
332
  *UltracartClient::StorefrontApi* | [**get_store_front_pricing_tiers**](docs/StorefrontApi.md#get_store_front_pricing_tiers) | **GET** /storefront/pricing_tiers | Retrieve pricing tiers
333
+ *UltracartClient::StorefrontApi* | [**get_store_fronts**](docs/StorefrontApi.md#get_store_fronts) | **GET** /storefront/ | Get storefronts (internal use only for security reasons)
332
334
  *UltracartClient::StorefrontApi* | [**get_thumbnail_parameters**](docs/StorefrontApi.md#get_thumbnail_parameters) | **POST** /storefront/thumbnailParameters | Get thumbnail parameters
333
335
  *UltracartClient::StorefrontApi* | [**get_transaction_email**](docs/StorefrontApi.md#get_transaction_email) | **GET** /storefront/{storefront_oid}/transaction_email/list/{email_id} | Gets a transaction email object
334
336
  *UltracartClient::StorefrontApi* | [**get_transaction_email_list**](docs/StorefrontApi.md#get_transaction_email_list) | **GET** /storefront/{storefront_oid}/transaction_email/list | Gets a list of transaction email names
@@ -661,6 +663,7 @@ Class | Method | HTTP request | Description
661
663
  - [UltracartClient::CustomerLoyalty](docs/CustomerLoyalty.md)
662
664
  - [UltracartClient::CustomerLoyaltyLedger](docs/CustomerLoyaltyLedger.md)
663
665
  - [UltracartClient::CustomerLoyaltyRedemption](docs/CustomerLoyaltyRedemption.md)
666
+ - [UltracartClient::CustomerMagicLinkResponse](docs/CustomerMagicLinkResponse.md)
664
667
  - [UltracartClient::CustomerMergeRequest](docs/CustomerMergeRequest.md)
665
668
  - [UltracartClient::CustomerOrdersSummary](docs/CustomerOrdersSummary.md)
666
669
  - [UltracartClient::CustomerPricingTier](docs/CustomerPricingTier.md)
@@ -1048,6 +1051,8 @@ Class | Method | HTTP request | Description
1048
1051
  - [UltracartClient::SovosConfig](docs/SovosConfig.md)
1049
1052
  - [UltracartClient::StateProvince](docs/StateProvince.md)
1050
1053
  - [UltracartClient::StepWaiting](docs/StepWaiting.md)
1054
+ - [UltracartClient::StoreFront](docs/StoreFront.md)
1055
+ - [UltracartClient::StoreFrontsResponse](docs/StoreFrontsResponse.md)
1051
1056
  - [UltracartClient::TaxCity](docs/TaxCity.md)
1052
1057
  - [UltracartClient::TaxCountry](docs/TaxCountry.md)
1053
1058
  - [UltracartClient::TaxCountryCode](docs/TaxCountryCode.md)
@@ -1173,6 +1178,7 @@ Not every change is committed to every SDK.
1173
1178
 
1174
1179
  | Version | Date | Comments |
1175
1180
  | --: | :-: | --- |
1181
+ | 3.10.38 | 08/12/2022 | internal code to allow merchant login as customer |
1176
1182
  | 3.10.37 | 08/11/2022 | fix entry_dts type on gift certificate ledger |
1177
1183
  | 3.10.36 | 08/10/2022 | conversation event refactoring |
1178
1184
  | 3.10.35 | 08/05/2022 | conversation adjustments for ES integration |
data/docs/CustomerApi.md CHANGED
@@ -16,6 +16,7 @@ Method | HTTP request | Description
16
16
  [**get_customers_by_query**](CustomerApi.md#get_customers_by_query) | **POST** /customer/customers/query | Retrieve customers by query
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
+ [**get_magic_link**](CustomerApi.md#get_magic_link) | **PUT** /customer/customers/{customer_profile_oid}/magic_link/{storefront_host_name} | getMagicLink
19
20
  [**insert_customer**](CustomerApi.md#insert_customer) | **POST** /customer/customers | Insert a customer
20
21
  [**merge_customer**](CustomerApi.md#merge_customer) | **PUT** /customer/customers/{customer_profile_oid}/merge | Merge customer into this customer
21
22
  [**search_customer_profile_values**](CustomerApi.md#search_customer_profile_values) | **POST** /customer/search | Searches for all matching values (using POST)
@@ -703,6 +704,59 @@ Name | Type | Description | Notes
703
704
 
704
705
 
705
706
 
707
+ # **get_magic_link**
708
+ > CustomerMagicLinkResponse get_magic_link(customer_profile_oid, storefront_host_name)
709
+
710
+ getMagicLink
711
+
712
+ Retrieves a magic link to allow a merchant to login as a customer. This method is a PUT call intentionally.
713
+
714
+ ### Example
715
+ ```ruby
716
+ # load the gem
717
+ require 'ultracart_api'
718
+
719
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
720
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
721
+ api_instance = UltracartClient::CustomerApi.new_using_api_key(simple_key, false, false)
722
+
723
+
724
+ customer_profile_oid = 56 # Integer | The customer_profile_oid of the customer.
725
+
726
+ storefront_host_name = 'storefront_host_name_example' # String | The storefront to log into.
727
+
728
+
729
+ begin
730
+ #getMagicLink
731
+ result = api_instance.get_magic_link(customer_profile_oid, storefront_host_name)
732
+ p result
733
+ rescue UltracartClient::ApiError => e
734
+ puts "Exception when calling CustomerApi->get_magic_link: #{e}"
735
+ end
736
+ ```
737
+
738
+ ### Parameters
739
+
740
+ Name | Type | Description | Notes
741
+ ------------- | ------------- | ------------- | -------------
742
+ **customer_profile_oid** | **Integer**| The customer_profile_oid of the customer. |
743
+ **storefront_host_name** | **String**| The storefront to log into. |
744
+
745
+ ### Return type
746
+
747
+ [**CustomerMagicLinkResponse**](CustomerMagicLinkResponse.md)
748
+
749
+ ### Authorization
750
+
751
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
752
+
753
+ ### HTTP request headers
754
+
755
+ - **Content-Type**: application/json; charset=UTF-8
756
+ - **Accept**: application/json
757
+
758
+
759
+
706
760
  # **insert_customer**
707
761
  > CustomerResponse insert_customer(customer, opts)
708
762
 
@@ -0,0 +1,12 @@
1
+ # UltracartClient::CustomerMagicLinkResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **error** | [**Error**](Error.md) | | [optional]
7
+ **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
8
+ **success** | **BOOLEAN** | Indicates if API call was successful | [optional]
9
+ **url** | **String** | URL | [optional]
10
+ **warning** | [**Warning**](Warning.md) | | [optional]
11
+
12
+
@@ -0,0 +1,18 @@
1
+ # UltracartClient::StoreFront
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **host_alias1** | **String** | | [optional]
7
+ **host_alias2** | **String** | | [optional]
8
+ **host_alias3** | **String** | | [optional]
9
+ **host_alias4** | **String** | | [optional]
10
+ **host_alias5** | **String** | | [optional]
11
+ **host_name** | **String** | | [optional]
12
+ **locked** | **BOOLEAN** | | [optional]
13
+ **merchant_id** | **String** | | [optional]
14
+ **redirect_aliases** | **BOOLEAN** | | [optional]
15
+ **storefront_oid** | **Integer** | | [optional]
16
+ **unlock_password** | **String** | | [optional]
17
+
18
+
@@ -0,0 +1,12 @@
1
+ # UltracartClient::StoreFrontsResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **error** | [**Error**](Error.md) | | [optional]
7
+ **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
8
+ **store_fronts** | [**Array<StoreFront>**](StoreFront.md) | | [optional]
9
+ **success** | **BOOLEAN** | Indicates if API call was successful | [optional]
10
+ **warning** | [**Warning**](Warning.md) | | [optional]
11
+
12
+
@@ -105,6 +105,7 @@ Method | HTTP request | Description
105
105
  [**get_screen_recordings_by_query**](StorefrontApi.md#get_screen_recordings_by_query) | **POST** /storefront/{storefront_oid}/screen_recordings/query | Query screen recordings
106
106
  [**get_screen_recordings_by_segment**](StorefrontApi.md#get_screen_recordings_by_segment) | **POST** /storefront/{storefront_oid}/screen_recordings/segments/{screen_recording_segment_oid}/query | Get screen recordings by segment
107
107
  [**get_store_front_pricing_tiers**](StorefrontApi.md#get_store_front_pricing_tiers) | **GET** /storefront/pricing_tiers | Retrieve pricing tiers
108
+ [**get_store_fronts**](StorefrontApi.md#get_store_fronts) | **GET** /storefront/ | Get storefronts (internal use only for security reasons)
108
109
  [**get_thumbnail_parameters**](StorefrontApi.md#get_thumbnail_parameters) | **POST** /storefront/thumbnailParameters | Get thumbnail parameters
109
110
  [**get_transaction_email**](StorefrontApi.md#get_transaction_email) | **GET** /storefront/{storefront_oid}/transaction_email/list/{email_id} | Gets a transaction email object
110
111
  [**get_transaction_email_list**](StorefrontApi.md#get_transaction_email_list) | **GET** /storefront/{storefront_oid}/transaction_email/list | Gets a list of transaction email names
@@ -5324,6 +5325,49 @@ Name | Type | Description | Notes
5324
5325
 
5325
5326
 
5326
5327
 
5328
+ # **get_store_fronts**
5329
+ > StoreFrontsResponse get_store_fronts
5330
+
5331
+ Get storefronts (internal use only for security reasons)
5332
+
5333
+ ### Example
5334
+ ```ruby
5335
+ # load the gem
5336
+ require 'ultracart_api'
5337
+
5338
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5339
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5340
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5341
+
5342
+
5343
+
5344
+ begin
5345
+ #Get storefronts (internal use only for security reasons)
5346
+ result = api_instance.get_store_fronts
5347
+ p result
5348
+ rescue UltracartClient::ApiError => e
5349
+ puts "Exception when calling StorefrontApi->get_store_fronts: #{e}"
5350
+ end
5351
+ ```
5352
+
5353
+ ### Parameters
5354
+ This endpoint does not need any parameter.
5355
+
5356
+ ### Return type
5357
+
5358
+ [**StoreFrontsResponse**](StoreFrontsResponse.md)
5359
+
5360
+ ### Authorization
5361
+
5362
+ [ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
5363
+
5364
+ ### HTTP request headers
5365
+
5366
+ - **Content-Type**: application/json
5367
+ - **Accept**: application/json
5368
+
5369
+
5370
+
5327
5371
  # **get_thumbnail_parameters**
5328
5372
  > ThumbnailParametersResponse get_thumbnail_parameters(thumbnail_parameters)
5329
5373
 
@@ -799,6 +799,67 @@ module UltracartClient
799
799
  end
800
800
  return data, status_code, headers
801
801
  end
802
+ # getMagicLink
803
+ # Retrieves a magic link to allow a merchant to login as a customer. This method is a PUT call intentionally.
804
+ # @param customer_profile_oid The customer_profile_oid of the customer.
805
+ # @param storefront_host_name The storefront to log into.
806
+ # @param [Hash] opts the optional parameters
807
+ # @return [CustomerMagicLinkResponse]
808
+ def get_magic_link(customer_profile_oid, storefront_host_name, opts = {})
809
+ data, _status_code, _headers = get_magic_link_with_http_info(customer_profile_oid, storefront_host_name, opts)
810
+ data
811
+ end
812
+
813
+ # getMagicLink
814
+ # Retrieves a magic link to allow a merchant to login as a customer. This method is a PUT call intentionally.
815
+ # @param customer_profile_oid The customer_profile_oid of the customer.
816
+ # @param storefront_host_name The storefront to log into.
817
+ # @param [Hash] opts the optional parameters
818
+ # @return [Array<(CustomerMagicLinkResponse, Fixnum, Hash)>] CustomerMagicLinkResponse data, response status code and response headers
819
+ def get_magic_link_with_http_info(customer_profile_oid, storefront_host_name, opts = {})
820
+ if @api_client.config.debugging
821
+ @api_client.config.logger.debug 'Calling API: CustomerApi.get_magic_link ...'
822
+ end
823
+ # verify the required parameter 'customer_profile_oid' is set
824
+ if @api_client.config.client_side_validation && customer_profile_oid.nil?
825
+ fail ArgumentError, "Missing the required parameter 'customer_profile_oid' when calling CustomerApi.get_magic_link"
826
+ end
827
+ # verify the required parameter 'storefront_host_name' is set
828
+ if @api_client.config.client_side_validation && storefront_host_name.nil?
829
+ fail ArgumentError, "Missing the required parameter 'storefront_host_name' when calling CustomerApi.get_magic_link"
830
+ end
831
+ # resource path
832
+ local_var_path = '/customer/customers/{customer_profile_oid}/magic_link/{storefront_host_name}'.sub('{' + 'customer_profile_oid' + '}', customer_profile_oid.to_s).sub('{' + 'storefront_host_name' + '}', storefront_host_name.to_s)
833
+
834
+ # query parameters
835
+ query_params = {}
836
+
837
+ # header parameters
838
+ header_params = {}
839
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
840
+ # HTTP header 'Accept' (if needed)
841
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
842
+ # HTTP header 'Content-Type'
843
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
844
+
845
+ # form parameters
846
+ form_params = {}
847
+
848
+ # http body (model)
849
+ post_body = nil
850
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
851
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
852
+ :header_params => header_params,
853
+ :query_params => query_params,
854
+ :form_params => form_params,
855
+ :body => post_body,
856
+ :auth_names => auth_names,
857
+ :return_type => 'CustomerMagicLinkResponse')
858
+ if @api_client.config.debugging
859
+ @api_client.config.logger.debug "API called: CustomerApi#get_magic_link\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
860
+ end
861
+ return data, status_code, headers
862
+ end
802
863
  # Insert a customer
803
864
  # Insert a customer on the UltraCart account.
804
865
  # @param customer Customer to insert
@@ -5898,6 +5898,53 @@ module UltracartClient
5898
5898
  end
5899
5899
  return data, status_code, headers
5900
5900
  end
5901
+ # Get storefronts (internal use only for security reasons)
5902
+ # @param [Hash] opts the optional parameters
5903
+ # @return [StoreFrontsResponse]
5904
+ def get_store_fronts(opts = {})
5905
+ data, _status_code, _headers = get_store_fronts_with_http_info(opts)
5906
+ data
5907
+ end
5908
+
5909
+ # Get storefronts (internal use only for security reasons)
5910
+ # @param [Hash] opts the optional parameters
5911
+ # @return [Array<(StoreFrontsResponse, Fixnum, Hash)>] StoreFrontsResponse data, response status code and response headers
5912
+ def get_store_fronts_with_http_info(opts = {})
5913
+ if @api_client.config.debugging
5914
+ @api_client.config.logger.debug 'Calling API: StorefrontApi.get_store_fronts ...'
5915
+ end
5916
+ # resource path
5917
+ local_var_path = '/storefront/'
5918
+
5919
+ # query parameters
5920
+ query_params = {}
5921
+
5922
+ # header parameters
5923
+ header_params = {}
5924
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
5925
+ # HTTP header 'Accept' (if needed)
5926
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5927
+ # HTTP header 'Content-Type'
5928
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5929
+
5930
+ # form parameters
5931
+ form_params = {}
5932
+
5933
+ # http body (model)
5934
+ post_body = nil
5935
+ auth_names = ['ultraCartBrowserApiKey', 'ultraCartOauth', 'ultraCartSimpleApiKey']
5936
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
5937
+ :header_params => header_params,
5938
+ :query_params => query_params,
5939
+ :form_params => form_params,
5940
+ :body => post_body,
5941
+ :auth_names => auth_names,
5942
+ :return_type => 'StoreFrontsResponse')
5943
+ if @api_client.config.debugging
5944
+ @api_client.config.logger.debug "API called: StorefrontApi#get_store_fronts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5945
+ end
5946
+ return data, status_code, headers
5947
+ end
5901
5948
  # Get thumbnail parameters
5902
5949
  # @param thumbnail_parameters Thumbnail Parameters
5903
5950
  # @param [Hash] opts the optional parameters
@@ -0,0 +1,222 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.15-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module UltracartClient
16
+ class CustomerMagicLinkResponse
17
+ attr_accessor :error
18
+
19
+ attr_accessor :metadata
20
+
21
+ # Indicates if API call was successful
22
+ attr_accessor :success
23
+
24
+ # URL
25
+ attr_accessor :url
26
+
27
+ attr_accessor :warning
28
+
29
+ # Attribute mapping from ruby-style variable name to JSON key.
30
+ def self.attribute_map
31
+ {
32
+ :'error' => :'error',
33
+ :'metadata' => :'metadata',
34
+ :'success' => :'success',
35
+ :'url' => :'url',
36
+ :'warning' => :'warning'
37
+ }
38
+ end
39
+
40
+ # Attribute type mapping.
41
+ def self.swagger_types
42
+ {
43
+ :'error' => :'Error',
44
+ :'metadata' => :'ResponseMetadata',
45
+ :'success' => :'BOOLEAN',
46
+ :'url' => :'String',
47
+ :'warning' => :'Warning'
48
+ }
49
+ end
50
+
51
+ # Initializes the object
52
+ # @param [Hash] attributes Model attributes in the form of hash
53
+ def initialize(attributes = {})
54
+ return unless attributes.is_a?(Hash)
55
+
56
+ # convert string to symbol for hash key
57
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
58
+
59
+ if attributes.has_key?(:'error')
60
+ self.error = attributes[:'error']
61
+ end
62
+
63
+ if attributes.has_key?(:'metadata')
64
+ self.metadata = attributes[:'metadata']
65
+ end
66
+
67
+ if attributes.has_key?(:'success')
68
+ self.success = attributes[:'success']
69
+ end
70
+
71
+ if attributes.has_key?(:'url')
72
+ self.url = attributes[:'url']
73
+ end
74
+
75
+ if attributes.has_key?(:'warning')
76
+ self.warning = attributes[:'warning']
77
+ end
78
+ end
79
+
80
+ # Show invalid properties with the reasons. Usually used together with valid?
81
+ # @return Array for valid properties with the reasons
82
+ def list_invalid_properties
83
+ invalid_properties = Array.new
84
+ invalid_properties
85
+ end
86
+
87
+ # Check to see if the all the properties in the model are valid
88
+ # @return true if the model is valid
89
+ def valid?
90
+ true
91
+ end
92
+
93
+ # Checks equality by comparing each attribute.
94
+ # @param [Object] Object to be compared
95
+ def ==(o)
96
+ return true if self.equal?(o)
97
+ self.class == o.class &&
98
+ error == o.error &&
99
+ metadata == o.metadata &&
100
+ success == o.success &&
101
+ url == o.url &&
102
+ warning == o.warning
103
+ end
104
+
105
+ # @see the `==` method
106
+ # @param [Object] Object to be compared
107
+ def eql?(o)
108
+ self == o
109
+ end
110
+
111
+ # Calculates hash code according to all attributes.
112
+ # @return [Fixnum] Hash code
113
+ def hash
114
+ [error, metadata, success, url, warning].hash
115
+ end
116
+
117
+ # Builds the object from hash
118
+ # @param [Hash] attributes Model attributes in the form of hash
119
+ # @return [Object] Returns the model itself
120
+ def build_from_hash(attributes)
121
+ return nil unless attributes.is_a?(Hash)
122
+ self.class.swagger_types.each_pair do |key, type|
123
+ if type =~ /\AArray<(.*)>/i
124
+ # check to ensure the input is an array given that the attribute
125
+ # is documented as an array but the input is not
126
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
127
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
128
+ end
129
+ elsif !attributes[self.class.attribute_map[key]].nil?
130
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
131
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
132
+ end
133
+
134
+ self
135
+ end
136
+
137
+ # Deserializes the data based on type
138
+ # @param string type Data type
139
+ # @param string value Value to be deserialized
140
+ # @return [Object] Deserialized data
141
+ def _deserialize(type, value)
142
+ case type.to_sym
143
+ when :DateTime
144
+ DateTime.parse(value)
145
+ when :Date
146
+ Date.parse(value)
147
+ when :String
148
+ value.to_s
149
+ when :Integer
150
+ value.to_i
151
+ when :Float
152
+ value.to_f
153
+ when :BOOLEAN
154
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
155
+ true
156
+ else
157
+ false
158
+ end
159
+ when :Object
160
+ # generic object (usually a Hash), return directly
161
+ value
162
+ when /\AArray<(?<inner_type>.+)>\z/
163
+ inner_type = Regexp.last_match[:inner_type]
164
+ value.map { |v| _deserialize(inner_type, v) }
165
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
166
+ k_type = Regexp.last_match[:k_type]
167
+ v_type = Regexp.last_match[:v_type]
168
+ {}.tap do |hash|
169
+ value.each do |k, v|
170
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
171
+ end
172
+ end
173
+ else # model
174
+ temp_model = UltracartClient.const_get(type).new
175
+ temp_model.build_from_hash(value)
176
+ end
177
+ end
178
+
179
+ # Returns the string representation of the object
180
+ # @return [String] String presentation of the object
181
+ def to_s
182
+ to_hash.to_s
183
+ end
184
+
185
+ # to_body is an alias to to_hash (backward compatibility)
186
+ # @return [Hash] Returns the object in the form of hash
187
+ def to_body
188
+ to_hash
189
+ end
190
+
191
+ # Returns the object in the form of hash
192
+ # @return [Hash] Returns the object in the form of hash
193
+ def to_hash
194
+ hash = {}
195
+ self.class.attribute_map.each_pair do |attr, param|
196
+ value = self.send(attr)
197
+ next if value.nil?
198
+ hash[param] = _to_hash(value)
199
+ end
200
+ hash
201
+ end
202
+
203
+ # Outputs non-array value in the form of hash
204
+ # For object, use to_hash. Otherwise, just return the value
205
+ # @param [Object] value Any valid value
206
+ # @return [Hash] Returns the value in the form of hash
207
+ def _to_hash(value)
208
+ if value.is_a?(Array)
209
+ value.compact.map { |v| _to_hash(v) }
210
+ elsif value.is_a?(Hash)
211
+ {}.tap do |hash|
212
+ value.each { |k, v| hash[k] = _to_hash(v) }
213
+ end
214
+ elsif value.respond_to? :to_hash
215
+ value.to_hash
216
+ else
217
+ value
218
+ end
219
+ end
220
+
221
+ end
222
+ end
@@ -0,0 +1,274 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.15-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module UltracartClient
16
+ class StoreFront
17
+ attr_accessor :host_alias1
18
+
19
+ attr_accessor :host_alias2
20
+
21
+ attr_accessor :host_alias3
22
+
23
+ attr_accessor :host_alias4
24
+
25
+ attr_accessor :host_alias5
26
+
27
+ attr_accessor :host_name
28
+
29
+ attr_accessor :locked
30
+
31
+ attr_accessor :merchant_id
32
+
33
+ attr_accessor :redirect_aliases
34
+
35
+ attr_accessor :storefront_oid
36
+
37
+ attr_accessor :unlock_password
38
+
39
+ # Attribute mapping from ruby-style variable name to JSON key.
40
+ def self.attribute_map
41
+ {
42
+ :'host_alias1' => :'host_alias1',
43
+ :'host_alias2' => :'host_alias2',
44
+ :'host_alias3' => :'host_alias3',
45
+ :'host_alias4' => :'host_alias4',
46
+ :'host_alias5' => :'host_alias5',
47
+ :'host_name' => :'host_name',
48
+ :'locked' => :'locked',
49
+ :'merchant_id' => :'merchant_id',
50
+ :'redirect_aliases' => :'redirect_aliases',
51
+ :'storefront_oid' => :'storefront_oid',
52
+ :'unlock_password' => :'unlock_password'
53
+ }
54
+ end
55
+
56
+ # Attribute type mapping.
57
+ def self.swagger_types
58
+ {
59
+ :'host_alias1' => :'String',
60
+ :'host_alias2' => :'String',
61
+ :'host_alias3' => :'String',
62
+ :'host_alias4' => :'String',
63
+ :'host_alias5' => :'String',
64
+ :'host_name' => :'String',
65
+ :'locked' => :'BOOLEAN',
66
+ :'merchant_id' => :'String',
67
+ :'redirect_aliases' => :'BOOLEAN',
68
+ :'storefront_oid' => :'Integer',
69
+ :'unlock_password' => :'String'
70
+ }
71
+ end
72
+
73
+ # Initializes the object
74
+ # @param [Hash] attributes Model attributes in the form of hash
75
+ def initialize(attributes = {})
76
+ return unless attributes.is_a?(Hash)
77
+
78
+ # convert string to symbol for hash key
79
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
80
+
81
+ if attributes.has_key?(:'host_alias1')
82
+ self.host_alias1 = attributes[:'host_alias1']
83
+ end
84
+
85
+ if attributes.has_key?(:'host_alias2')
86
+ self.host_alias2 = attributes[:'host_alias2']
87
+ end
88
+
89
+ if attributes.has_key?(:'host_alias3')
90
+ self.host_alias3 = attributes[:'host_alias3']
91
+ end
92
+
93
+ if attributes.has_key?(:'host_alias4')
94
+ self.host_alias4 = attributes[:'host_alias4']
95
+ end
96
+
97
+ if attributes.has_key?(:'host_alias5')
98
+ self.host_alias5 = attributes[:'host_alias5']
99
+ end
100
+
101
+ if attributes.has_key?(:'host_name')
102
+ self.host_name = attributes[:'host_name']
103
+ end
104
+
105
+ if attributes.has_key?(:'locked')
106
+ self.locked = attributes[:'locked']
107
+ end
108
+
109
+ if attributes.has_key?(:'merchant_id')
110
+ self.merchant_id = attributes[:'merchant_id']
111
+ end
112
+
113
+ if attributes.has_key?(:'redirect_aliases')
114
+ self.redirect_aliases = attributes[:'redirect_aliases']
115
+ end
116
+
117
+ if attributes.has_key?(:'storefront_oid')
118
+ self.storefront_oid = attributes[:'storefront_oid']
119
+ end
120
+
121
+ if attributes.has_key?(:'unlock_password')
122
+ self.unlock_password = attributes[:'unlock_password']
123
+ end
124
+ end
125
+
126
+ # Show invalid properties with the reasons. Usually used together with valid?
127
+ # @return Array for valid properties with the reasons
128
+ def list_invalid_properties
129
+ invalid_properties = Array.new
130
+ invalid_properties
131
+ end
132
+
133
+ # Check to see if the all the properties in the model are valid
134
+ # @return true if the model is valid
135
+ def valid?
136
+ true
137
+ end
138
+
139
+ # Checks equality by comparing each attribute.
140
+ # @param [Object] Object to be compared
141
+ def ==(o)
142
+ return true if self.equal?(o)
143
+ self.class == o.class &&
144
+ host_alias1 == o.host_alias1 &&
145
+ host_alias2 == o.host_alias2 &&
146
+ host_alias3 == o.host_alias3 &&
147
+ host_alias4 == o.host_alias4 &&
148
+ host_alias5 == o.host_alias5 &&
149
+ host_name == o.host_name &&
150
+ locked == o.locked &&
151
+ merchant_id == o.merchant_id &&
152
+ redirect_aliases == o.redirect_aliases &&
153
+ storefront_oid == o.storefront_oid &&
154
+ unlock_password == o.unlock_password
155
+ end
156
+
157
+ # @see the `==` method
158
+ # @param [Object] Object to be compared
159
+ def eql?(o)
160
+ self == o
161
+ end
162
+
163
+ # Calculates hash code according to all attributes.
164
+ # @return [Fixnum] Hash code
165
+ def hash
166
+ [host_alias1, host_alias2, host_alias3, host_alias4, host_alias5, host_name, locked, merchant_id, redirect_aliases, storefront_oid, unlock_password].hash
167
+ end
168
+
169
+ # Builds the object from hash
170
+ # @param [Hash] attributes Model attributes in the form of hash
171
+ # @return [Object] Returns the model itself
172
+ def build_from_hash(attributes)
173
+ return nil unless attributes.is_a?(Hash)
174
+ self.class.swagger_types.each_pair do |key, type|
175
+ if type =~ /\AArray<(.*)>/i
176
+ # check to ensure the input is an array given that the attribute
177
+ # is documented as an array but the input is not
178
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
179
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
180
+ end
181
+ elsif !attributes[self.class.attribute_map[key]].nil?
182
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
183
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
184
+ end
185
+
186
+ self
187
+ end
188
+
189
+ # Deserializes the data based on type
190
+ # @param string type Data type
191
+ # @param string value Value to be deserialized
192
+ # @return [Object] Deserialized data
193
+ def _deserialize(type, value)
194
+ case type.to_sym
195
+ when :DateTime
196
+ DateTime.parse(value)
197
+ when :Date
198
+ Date.parse(value)
199
+ when :String
200
+ value.to_s
201
+ when :Integer
202
+ value.to_i
203
+ when :Float
204
+ value.to_f
205
+ when :BOOLEAN
206
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
207
+ true
208
+ else
209
+ false
210
+ end
211
+ when :Object
212
+ # generic object (usually a Hash), return directly
213
+ value
214
+ when /\AArray<(?<inner_type>.+)>\z/
215
+ inner_type = Regexp.last_match[:inner_type]
216
+ value.map { |v| _deserialize(inner_type, v) }
217
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
218
+ k_type = Regexp.last_match[:k_type]
219
+ v_type = Regexp.last_match[:v_type]
220
+ {}.tap do |hash|
221
+ value.each do |k, v|
222
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
223
+ end
224
+ end
225
+ else # model
226
+ temp_model = UltracartClient.const_get(type).new
227
+ temp_model.build_from_hash(value)
228
+ end
229
+ end
230
+
231
+ # Returns the string representation of the object
232
+ # @return [String] String presentation of the object
233
+ def to_s
234
+ to_hash.to_s
235
+ end
236
+
237
+ # to_body is an alias to to_hash (backward compatibility)
238
+ # @return [Hash] Returns the object in the form of hash
239
+ def to_body
240
+ to_hash
241
+ end
242
+
243
+ # Returns the object in the form of hash
244
+ # @return [Hash] Returns the object in the form of hash
245
+ def to_hash
246
+ hash = {}
247
+ self.class.attribute_map.each_pair do |attr, param|
248
+ value = self.send(attr)
249
+ next if value.nil?
250
+ hash[param] = _to_hash(value)
251
+ end
252
+ hash
253
+ end
254
+
255
+ # Outputs non-array value in the form of hash
256
+ # For object, use to_hash. Otherwise, just return the value
257
+ # @param [Object] value Any valid value
258
+ # @return [Hash] Returns the value in the form of hash
259
+ def _to_hash(value)
260
+ if value.is_a?(Array)
261
+ value.compact.map { |v| _to_hash(v) }
262
+ elsif value.is_a?(Hash)
263
+ {}.tap do |hash|
264
+ value.each { |k, v| hash[k] = _to_hash(v) }
265
+ end
266
+ elsif value.respond_to? :to_hash
267
+ value.to_hash
268
+ else
269
+ value
270
+ end
271
+ end
272
+
273
+ end
274
+ end
@@ -0,0 +1,223 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.15-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module UltracartClient
16
+ class StoreFrontsResponse
17
+ attr_accessor :error
18
+
19
+ attr_accessor :metadata
20
+
21
+ attr_accessor :store_fronts
22
+
23
+ # Indicates if API call was successful
24
+ attr_accessor :success
25
+
26
+ attr_accessor :warning
27
+
28
+ # Attribute mapping from ruby-style variable name to JSON key.
29
+ def self.attribute_map
30
+ {
31
+ :'error' => :'error',
32
+ :'metadata' => :'metadata',
33
+ :'store_fronts' => :'storeFronts',
34
+ :'success' => :'success',
35
+ :'warning' => :'warning'
36
+ }
37
+ end
38
+
39
+ # Attribute type mapping.
40
+ def self.swagger_types
41
+ {
42
+ :'error' => :'Error',
43
+ :'metadata' => :'ResponseMetadata',
44
+ :'store_fronts' => :'Array<StoreFront>',
45
+ :'success' => :'BOOLEAN',
46
+ :'warning' => :'Warning'
47
+ }
48
+ end
49
+
50
+ # Initializes the object
51
+ # @param [Hash] attributes Model attributes in the form of hash
52
+ def initialize(attributes = {})
53
+ return unless attributes.is_a?(Hash)
54
+
55
+ # convert string to symbol for hash key
56
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
57
+
58
+ if attributes.has_key?(:'error')
59
+ self.error = attributes[:'error']
60
+ end
61
+
62
+ if attributes.has_key?(:'metadata')
63
+ self.metadata = attributes[:'metadata']
64
+ end
65
+
66
+ if attributes.has_key?(:'storeFronts')
67
+ if (value = attributes[:'storeFronts']).is_a?(Array)
68
+ self.store_fronts = value
69
+ end
70
+ end
71
+
72
+ if attributes.has_key?(:'success')
73
+ self.success = attributes[:'success']
74
+ end
75
+
76
+ if attributes.has_key?(:'warning')
77
+ self.warning = attributes[:'warning']
78
+ end
79
+ end
80
+
81
+ # Show invalid properties with the reasons. Usually used together with valid?
82
+ # @return Array for valid properties with the reasons
83
+ def list_invalid_properties
84
+ invalid_properties = Array.new
85
+ invalid_properties
86
+ end
87
+
88
+ # Check to see if the all the properties in the model are valid
89
+ # @return true if the model is valid
90
+ def valid?
91
+ true
92
+ end
93
+
94
+ # Checks equality by comparing each attribute.
95
+ # @param [Object] Object to be compared
96
+ def ==(o)
97
+ return true if self.equal?(o)
98
+ self.class == o.class &&
99
+ error == o.error &&
100
+ metadata == o.metadata &&
101
+ store_fronts == o.store_fronts &&
102
+ success == o.success &&
103
+ warning == o.warning
104
+ end
105
+
106
+ # @see the `==` method
107
+ # @param [Object] Object to be compared
108
+ def eql?(o)
109
+ self == o
110
+ end
111
+
112
+ # Calculates hash code according to all attributes.
113
+ # @return [Fixnum] Hash code
114
+ def hash
115
+ [error, metadata, store_fronts, success, warning].hash
116
+ end
117
+
118
+ # Builds the object from hash
119
+ # @param [Hash] attributes Model attributes in the form of hash
120
+ # @return [Object] Returns the model itself
121
+ def build_from_hash(attributes)
122
+ return nil unless attributes.is_a?(Hash)
123
+ self.class.swagger_types.each_pair do |key, type|
124
+ if type =~ /\AArray<(.*)>/i
125
+ # check to ensure the input is an array given that the attribute
126
+ # is documented as an array but the input is not
127
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
128
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
129
+ end
130
+ elsif !attributes[self.class.attribute_map[key]].nil?
131
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
132
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
133
+ end
134
+
135
+ self
136
+ end
137
+
138
+ # Deserializes the data based on type
139
+ # @param string type Data type
140
+ # @param string value Value to be deserialized
141
+ # @return [Object] Deserialized data
142
+ def _deserialize(type, value)
143
+ case type.to_sym
144
+ when :DateTime
145
+ DateTime.parse(value)
146
+ when :Date
147
+ Date.parse(value)
148
+ when :String
149
+ value.to_s
150
+ when :Integer
151
+ value.to_i
152
+ when :Float
153
+ value.to_f
154
+ when :BOOLEAN
155
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
156
+ true
157
+ else
158
+ false
159
+ end
160
+ when :Object
161
+ # generic object (usually a Hash), return directly
162
+ value
163
+ when /\AArray<(?<inner_type>.+)>\z/
164
+ inner_type = Regexp.last_match[:inner_type]
165
+ value.map { |v| _deserialize(inner_type, v) }
166
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
167
+ k_type = Regexp.last_match[:k_type]
168
+ v_type = Regexp.last_match[:v_type]
169
+ {}.tap do |hash|
170
+ value.each do |k, v|
171
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
172
+ end
173
+ end
174
+ else # model
175
+ temp_model = UltracartClient.const_get(type).new
176
+ temp_model.build_from_hash(value)
177
+ end
178
+ end
179
+
180
+ # Returns the string representation of the object
181
+ # @return [String] String presentation of the object
182
+ def to_s
183
+ to_hash.to_s
184
+ end
185
+
186
+ # to_body is an alias to to_hash (backward compatibility)
187
+ # @return [Hash] Returns the object in the form of hash
188
+ def to_body
189
+ to_hash
190
+ end
191
+
192
+ # Returns the object in the form of hash
193
+ # @return [Hash] Returns the object in the form of hash
194
+ def to_hash
195
+ hash = {}
196
+ self.class.attribute_map.each_pair do |attr, param|
197
+ value = self.send(attr)
198
+ next if value.nil?
199
+ hash[param] = _to_hash(value)
200
+ end
201
+ hash
202
+ end
203
+
204
+ # Outputs non-array value in the form of hash
205
+ # For object, use to_hash. Otherwise, just return the value
206
+ # @param [Object] value Any valid value
207
+ # @return [Hash] Returns the value in the form of hash
208
+ def _to_hash(value)
209
+ if value.is_a?(Array)
210
+ value.compact.map { |v| _to_hash(v) }
211
+ elsif value.is_a?(Hash)
212
+ {}.tap do |hash|
213
+ value.each { |k, v| hash[k] = _to_hash(v) }
214
+ end
215
+ elsif value.respond_to? :to_hash
216
+ value.to_hash
217
+ else
218
+ value
219
+ end
220
+ end
221
+
222
+ end
223
+ end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.37'
14
+ VERSION = '3.10.38'
15
15
  end
data/lib/ultracart_api.rb CHANGED
@@ -236,6 +236,7 @@ require 'ultracart_api/models/customer_email_list_changes'
236
236
  require 'ultracart_api/models/customer_loyalty'
237
237
  require 'ultracart_api/models/customer_loyalty_ledger'
238
238
  require 'ultracart_api/models/customer_loyalty_redemption'
239
+ require 'ultracart_api/models/customer_magic_link_response'
239
240
  require 'ultracart_api/models/customer_merge_request'
240
241
  require 'ultracart_api/models/customer_orders_summary'
241
242
  require 'ultracart_api/models/customer_pricing_tier'
@@ -623,6 +624,8 @@ require 'ultracart_api/models/single_sign_on_token_response'
623
624
  require 'ultracart_api/models/sovos_config'
624
625
  require 'ultracart_api/models/state_province'
625
626
  require 'ultracart_api/models/step_waiting'
627
+ require 'ultracart_api/models/store_front'
628
+ require 'ultracart_api/models/store_fronts_response'
626
629
  require 'ultracart_api/models/tax_city'
627
630
  require 'ultracart_api/models/tax_country'
628
631
  require 'ultracart_api/models/tax_country_code'
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.37
4
+ version: 3.10.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-11 00:00:00.000000000 Z
11
+ date: 2022-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -448,6 +448,7 @@ files:
448
448
  - docs/CustomerLoyalty.md
449
449
  - docs/CustomerLoyaltyLedger.md
450
450
  - docs/CustomerLoyaltyRedemption.md
451
+ - docs/CustomerMagicLinkResponse.md
451
452
  - docs/CustomerMergeRequest.md
452
453
  - docs/CustomerOrdersSummary.md
453
454
  - docs/CustomerPricingTier.md
@@ -842,6 +843,8 @@ files:
842
843
  - docs/SsoApi.md
843
844
  - docs/StateProvince.md
844
845
  - docs/StepWaiting.md
846
+ - docs/StoreFront.md
847
+ - docs/StoreFrontsResponse.md
845
848
  - docs/StorefrontApi.md
846
849
  - docs/TaxApi.md
847
850
  - docs/TaxCity.md
@@ -1144,6 +1147,7 @@ files:
1144
1147
  - lib/ultracart_api/models/customer_loyalty.rb
1145
1148
  - lib/ultracart_api/models/customer_loyalty_ledger.rb
1146
1149
  - lib/ultracart_api/models/customer_loyalty_redemption.rb
1150
+ - lib/ultracart_api/models/customer_magic_link_response.rb
1147
1151
  - lib/ultracart_api/models/customer_merge_request.rb
1148
1152
  - lib/ultracart_api/models/customer_orders_summary.rb
1149
1153
  - lib/ultracart_api/models/customer_pricing_tier.rb
@@ -1531,6 +1535,8 @@ files:
1531
1535
  - lib/ultracart_api/models/sovos_config.rb
1532
1536
  - lib/ultracart_api/models/state_province.rb
1533
1537
  - lib/ultracart_api/models/step_waiting.rb
1538
+ - lib/ultracart_api/models/store_front.rb
1539
+ - lib/ultracart_api/models/store_fronts_response.rb
1534
1540
  - lib/ultracart_api/models/tax_city.rb
1535
1541
  - lib/ultracart_api/models/tax_country.rb
1536
1542
  - lib/ultracart_api/models/tax_country_code.rb