/*
 * Swagger of Opencellsoft Api
 * @#Introduction
 *
 * The version of the OpenAPI document: 7.3.1-SNAPSHOT
 * Contact: contact@opencellsoft.fr
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package org.openapitools.client.api;

import org.openapitools.client.ApiCallback;
import org.openapitools.client.ApiClient;
import org.openapitools.client.ApiException;
import org.openapitools.client.ApiResponse;
import org.openapitools.client.Configuration;
import org.openapitools.client.Pair;
import org.openapitools.client.ProgressRequestBody;
import org.openapitools.client.ProgressResponseBody;

import com.google.gson.reflect.TypeToken;

import java.io.IOException;


import org.openapitools.client.model.ActionStatus;
import org.openapitools.client.model.GetCustomerAccountConfigurationResponseDto;
import org.openapitools.client.model.GetCustomerConfigurationResponseDto;
import org.openapitools.client.model.GetInvoicingConfigurationResponseDto;
import org.openapitools.client.model.GetProviderResponse;
import org.openapitools.client.model.GetTradingConfigurationResponseDto;
import org.openapitools.client.model.ProviderDto;
import org.openapitools.client.model.ProvidersDto;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ProviderApi {
    private ApiClient localVarApiClient;

    public ProviderApi() {
        this(Configuration.getDefaultApiClient());
    }

    public ProviderApi(ApiClient apiClient) {
        this.localVarApiClient = apiClient;
    }

    public ApiClient getApiClient() {
        return localVarApiClient;
    }

    public void setApiClient(ApiClient apiClient) {
        this.localVarApiClient = apiClient;
    }

    /**
     * Build call for dELETEProviderProviderCode1
     * @param providerCode  providerCode Tenant/provider code  (required)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call dELETEProviderProviderCode1Call(String providerCode, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/provider/{providerCode}"
            .replaceAll("\\{" + "providerCode" + "\\}", localVarApiClient.escapeString(providerCode.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call dELETEProviderProviderCode1ValidateBeforeCall(String providerCode, final ApiCallback _callback) throws ApiException {
        
        // verify the required parameter 'providerCode' is set
        if (providerCode == null) {
            throw new ApiException("Missing the required parameter 'providerCode' when calling dELETEProviderProviderCode1(Async)");
        }
        

        okhttp3.Call localVarCall = dELETEProviderProviderCode1Call(providerCode, _callback);
        return localVarCall;

    }

    /**
     *  Remove a tenant  
     *  Remove a tenant  
     * @param providerCode  providerCode Tenant/provider code  (required)
     * @return ActionStatus
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status  </td><td>  -  </td></tr>
     </table>
     */
    public ActionStatus dELETEProviderProviderCode1(String providerCode) throws ApiException {
        ApiResponse<ActionStatus> localVarResp = dELETEProviderProviderCode1WithHttpInfo(providerCode);
        return localVarResp.getData();
    }

    /**
     *  Remove a tenant  
     *  Remove a tenant  
     * @param providerCode  providerCode Tenant/provider code  (required)
     * @return ApiResponse&lt;ActionStatus&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<ActionStatus> dELETEProviderProviderCode1WithHttpInfo(String providerCode) throws ApiException {
        okhttp3.Call localVarCall = dELETEProviderProviderCode1ValidateBeforeCall(providerCode, null);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Remove a tenant   (asynchronously)
     *  Remove a tenant  
     * @param providerCode  providerCode Tenant/provider code  (required)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call dELETEProviderProviderCode1Async(String providerCode, final ApiCallback<ActionStatus> _callback) throws ApiException {

        okhttp3.Call localVarCall = dELETEProviderProviderCode1ValidateBeforeCall(providerCode, _callback);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gETIBaseVersion17
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status with version number as a message  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETIBaseVersion17Call(final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/provider/version";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call gETIBaseVersion17ValidateBeforeCall(final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = gETIBaseVersion17Call(_callback);
        return localVarCall;

    }

    /**
     *  Get version of application  
     *  Get version of application  
     * @return ActionStatus
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status with version number as a message  </td><td>  -  </td></tr>
     </table>
     */
    public ActionStatus gETIBaseVersion17() throws ApiException {
        ApiResponse<ActionStatus> localVarResp = gETIBaseVersion17WithHttpInfo();
        return localVarResp.getData();
    }

    /**
     *  Get version of application  
     *  Get version of application  
     * @return ApiResponse&lt;ActionStatus&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status with version number as a message  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<ActionStatus> gETIBaseVersion17WithHttpInfo() throws ApiException {
        okhttp3.Call localVarCall = gETIBaseVersion17ValidateBeforeCall(null);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Get version of application   (asynchronously)
     *  Get version of application  
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status with version number as a message  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETIBaseVersion17Async(final ApiCallback<ActionStatus> _callback) throws ApiException {

        okhttp3.Call localVarCall = gETIBaseVersion17ValidateBeforeCall(_callback);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gETProviderFindProviderCF1
     * @param providerCode  providerCode provider&#39;s code  (optional)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  provider if exists  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETProviderFindProviderCF1Call(String providerCode, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/provider/findProviderCF";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        if (providerCode != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("providerCode", providerCode));
        }

        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call gETProviderFindProviderCF1ValidateBeforeCall(String providerCode, final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = gETProviderFindProviderCF1Call(providerCode, _callback);
        return localVarCall;

    }

    /**
     *  Find a provider Cf with a given provider code. 
     *  Find a provider Cf with a given provider code. 
     * @param providerCode  providerCode provider&#39;s code  (optional)
     * @return GetProviderResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  provider if exists  </td><td>  -  </td></tr>
     </table>
     */
    public GetProviderResponse gETProviderFindProviderCF1(String providerCode) throws ApiException {
        ApiResponse<GetProviderResponse> localVarResp = gETProviderFindProviderCF1WithHttpInfo(providerCode);
        return localVarResp.getData();
    }

    /**
     *  Find a provider Cf with a given provider code. 
     *  Find a provider Cf with a given provider code. 
     * @param providerCode  providerCode provider&#39;s code  (optional)
     * @return ApiResponse&lt;GetProviderResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  provider if exists  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<GetProviderResponse> gETProviderFindProviderCF1WithHttpInfo(String providerCode) throws ApiException {
        okhttp3.Call localVarCall = gETProviderFindProviderCF1ValidateBeforeCall(providerCode, null);
        Type localVarReturnType = new TypeToken<GetProviderResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Find a provider Cf with a given provider code.  (asynchronously)
     *  Find a provider Cf with a given provider code. 
     * @param providerCode  providerCode provider&#39;s code  (optional)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  provider if exists  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETProviderFindProviderCF1Async(String providerCode, final ApiCallback<GetProviderResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = gETProviderFindProviderCF1ValidateBeforeCall(providerCode, _callback);
        Type localVarReturnType = new TypeToken<GetProviderResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gETProviderGetCustomerAccountConfiguration1
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  customer account configuration  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETProviderGetCustomerAccountConfiguration1Call(String providerCode, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/provider/getCustomerAccountConfiguration";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        if (providerCode != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("providerCode", providerCode));
        }

        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call gETProviderGetCustomerAccountConfiguration1ValidateBeforeCall(String providerCode, final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = gETProviderGetCustomerAccountConfiguration1Call(providerCode, _callback);
        return localVarCall;

    }

    /**
     *  Returns list of payment method and credit categories.  
     *  Returns list of payment method and credit categories.  
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @return GetCustomerAccountConfigurationResponseDto
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  customer account configuration  </td><td>  -  </td></tr>
     </table>
     */
    public GetCustomerAccountConfigurationResponseDto gETProviderGetCustomerAccountConfiguration1(String providerCode) throws ApiException {
        ApiResponse<GetCustomerAccountConfigurationResponseDto> localVarResp = gETProviderGetCustomerAccountConfiguration1WithHttpInfo(providerCode);
        return localVarResp.getData();
    }

    /**
     *  Returns list of payment method and credit categories.  
     *  Returns list of payment method and credit categories.  
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @return ApiResponse&lt;GetCustomerAccountConfigurationResponseDto&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  customer account configuration  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<GetCustomerAccountConfigurationResponseDto> gETProviderGetCustomerAccountConfiguration1WithHttpInfo(String providerCode) throws ApiException {
        okhttp3.Call localVarCall = gETProviderGetCustomerAccountConfiguration1ValidateBeforeCall(providerCode, null);
        Type localVarReturnType = new TypeToken<GetCustomerAccountConfigurationResponseDto>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Returns list of payment method and credit categories.   (asynchronously)
     *  Returns list of payment method and credit categories.  
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  customer account configuration  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETProviderGetCustomerAccountConfiguration1Async(String providerCode, final ApiCallback<GetCustomerAccountConfigurationResponseDto> _callback) throws ApiException {

        okhttp3.Call localVarCall = gETProviderGetCustomerAccountConfiguration1ValidateBeforeCall(providerCode, _callback);
        Type localVarReturnType = new TypeToken<GetCustomerAccountConfigurationResponseDto>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gETProviderGetCustomerConfiguration1
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  customer configuration  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETProviderGetCustomerConfiguration1Call(String providerCode, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/provider/getCustomerConfiguration";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        if (providerCode != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("providerCode", providerCode));
        }

        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call gETProviderGetCustomerConfiguration1ValidateBeforeCall(String providerCode, final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = gETProviderGetCustomerConfiguration1Call(providerCode, _callback);
        return localVarCall;

    }

    /**
     *  Returns list of customer brands, categories and titles.  
     *  Returns list of customer brands, categories and titles.  
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @return GetCustomerConfigurationResponseDto
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  customer configuration  </td><td>  -  </td></tr>
     </table>
     */
    public GetCustomerConfigurationResponseDto gETProviderGetCustomerConfiguration1(String providerCode) throws ApiException {
        ApiResponse<GetCustomerConfigurationResponseDto> localVarResp = gETProviderGetCustomerConfiguration1WithHttpInfo(providerCode);
        return localVarResp.getData();
    }

    /**
     *  Returns list of customer brands, categories and titles.  
     *  Returns list of customer brands, categories and titles.  
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @return ApiResponse&lt;GetCustomerConfigurationResponseDto&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  customer configuration  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<GetCustomerConfigurationResponseDto> gETProviderGetCustomerConfiguration1WithHttpInfo(String providerCode) throws ApiException {
        okhttp3.Call localVarCall = gETProviderGetCustomerConfiguration1ValidateBeforeCall(providerCode, null);
        Type localVarReturnType = new TypeToken<GetCustomerConfigurationResponseDto>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Returns list of customer brands, categories and titles.   (asynchronously)
     *  Returns list of customer brands, categories and titles.  
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  customer configuration  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETProviderGetCustomerConfiguration1Async(String providerCode, final ApiCallback<GetCustomerConfigurationResponseDto> _callback) throws ApiException {

        okhttp3.Call localVarCall = gETProviderGetCustomerConfiguration1ValidateBeforeCall(providerCode, _callback);
        Type localVarReturnType = new TypeToken<GetCustomerConfigurationResponseDto>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gETProviderGetInvoicingConfiguration1
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  invoicing configuration  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETProviderGetInvoicingConfiguration1Call(String providerCode, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/provider/getInvoicingConfiguration";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        if (providerCode != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("providerCode", providerCode));
        }

        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call gETProviderGetInvoicingConfiguration1ValidateBeforeCall(String providerCode, final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = gETProviderGetInvoicingConfiguration1Call(providerCode, _callback);
        return localVarCall;

    }

    /**
     *  Returns list of invoicing configuration (calendars, taxes, invoice categories, invoice sub categories, billing cycles and termination reasons
     *  Returns list of invoicing configuration (calendars, taxes, invoice categories, invoice sub categories, billing cycles and termination reasons.  
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @return GetInvoicingConfigurationResponseDto
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  invoicing configuration  </td><td>  -  </td></tr>
     </table>
     */
    public GetInvoicingConfigurationResponseDto gETProviderGetInvoicingConfiguration1(String providerCode) throws ApiException {
        ApiResponse<GetInvoicingConfigurationResponseDto> localVarResp = gETProviderGetInvoicingConfiguration1WithHttpInfo(providerCode);
        return localVarResp.getData();
    }

    /**
     *  Returns list of invoicing configuration (calendars, taxes, invoice categories, invoice sub categories, billing cycles and termination reasons
     *  Returns list of invoicing configuration (calendars, taxes, invoice categories, invoice sub categories, billing cycles and termination reasons.  
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @return ApiResponse&lt;GetInvoicingConfigurationResponseDto&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  invoicing configuration  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<GetInvoicingConfigurationResponseDto> gETProviderGetInvoicingConfiguration1WithHttpInfo(String providerCode) throws ApiException {
        okhttp3.Call localVarCall = gETProviderGetInvoicingConfiguration1ValidateBeforeCall(providerCode, null);
        Type localVarReturnType = new TypeToken<GetInvoicingConfigurationResponseDto>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Returns list of invoicing configuration (calendars, taxes, invoice categories, invoice sub categories, billing cycles and termination reasons (asynchronously)
     *  Returns list of invoicing configuration (calendars, taxes, invoice categories, invoice sub categories, billing cycles and termination reasons.  
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  invoicing configuration  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETProviderGetInvoicingConfiguration1Async(String providerCode, final ApiCallback<GetInvoicingConfigurationResponseDto> _callback) throws ApiException {

        okhttp3.Call localVarCall = gETProviderGetInvoicingConfiguration1ValidateBeforeCall(providerCode, _callback);
        Type localVarReturnType = new TypeToken<GetInvoicingConfigurationResponseDto>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gETProviderGetTradingConfiguration1
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  trading configuration.  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETProviderGetTradingConfiguration1Call(String providerCode, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/provider/getTradingConfiguration";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        if (providerCode != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("providerCode", providerCode));
        }

        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call gETProviderGetTradingConfiguration1ValidateBeforeCall(String providerCode, final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = gETProviderGetTradingConfiguration1Call(providerCode, _callback);
        return localVarCall;

    }

    /**
     *  Returns list of trading countries, currencies and languages.  
     *  Returns list of trading countries, currencies and languages.  
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @return GetTradingConfigurationResponseDto
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  trading configuration.  </td><td>  -  </td></tr>
     </table>
     */
    public GetTradingConfigurationResponseDto gETProviderGetTradingConfiguration1(String providerCode) throws ApiException {
        ApiResponse<GetTradingConfigurationResponseDto> localVarResp = gETProviderGetTradingConfiguration1WithHttpInfo(providerCode);
        return localVarResp.getData();
    }

    /**
     *  Returns list of trading countries, currencies and languages.  
     *  Returns list of trading countries, currencies and languages.  
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @return ApiResponse&lt;GetTradingConfigurationResponseDto&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  trading configuration.  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<GetTradingConfigurationResponseDto> gETProviderGetTradingConfiguration1WithHttpInfo(String providerCode) throws ApiException {
        okhttp3.Call localVarCall = gETProviderGetTradingConfiguration1ValidateBeforeCall(providerCode, null);
        Type localVarReturnType = new TypeToken<GetTradingConfigurationResponseDto>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Returns list of trading countries, currencies and languages.   (asynchronously)
     *  Returns list of trading countries, currencies and languages.  
     * @param providerCode  providerCode An optional Provider code. If not passed a current user&#39;s provider will be retrieved  (optional)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  trading configuration.  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETProviderGetTradingConfiguration1Async(String providerCode, final ApiCallback<GetTradingConfigurationResponseDto> _callback) throws ApiException {

        okhttp3.Call localVarCall = gETProviderGetTradingConfiguration1ValidateBeforeCall(providerCode, _callback);
        Type localVarReturnType = new TypeToken<GetTradingConfigurationResponseDto>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gETProviderListTenants1
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  A list of Tenant/provider data  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETProviderListTenants1Call(final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/provider/listTenants";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call gETProviderListTenants1ValidateBeforeCall(final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = gETProviderListTenants1Call(_callback);
        return localVarCall;

    }

    /**
     *  List tenants  
     *  List tenants  
     * @return ProvidersDto
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  A list of Tenant/provider data  </td><td>  -  </td></tr>
     </table>
     */
    public ProvidersDto gETProviderListTenants1() throws ApiException {
        ApiResponse<ProvidersDto> localVarResp = gETProviderListTenants1WithHttpInfo();
        return localVarResp.getData();
    }

    /**
     *  List tenants  
     *  List tenants  
     * @return ApiResponse&lt;ProvidersDto&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  A list of Tenant/provider data  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<ProvidersDto> gETProviderListTenants1WithHttpInfo() throws ApiException {
        okhttp3.Call localVarCall = gETProviderListTenants1ValidateBeforeCall(null);
        Type localVarReturnType = new TypeToken<ProvidersDto>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  List tenants   (asynchronously)
     *  List tenants  
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  A list of Tenant/provider data  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETProviderListTenants1Async(final ApiCallback<ProvidersDto> _callback) throws ApiException {

        okhttp3.Call localVarCall = gETProviderListTenants1ValidateBeforeCall(_callback);
        Type localVarReturnType = new TypeToken<ProvidersDto>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gETProviderSearch1
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Provider information  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETProviderSearch1Call(final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/provider";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call gETProviderSearch1ValidateBeforeCall(final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = gETProviderSearch1Call(_callback);
        return localVarCall;

    }

    /**
     *  Retrieve provider information.  
     *  Retrieve provider information.  
     * @return GetProviderResponse
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Provider information  </td><td>  -  </td></tr>
     </table>
     */
    public GetProviderResponse gETProviderSearch1() throws ApiException {
        ApiResponse<GetProviderResponse> localVarResp = gETProviderSearch1WithHttpInfo();
        return localVarResp.getData();
    }

    /**
     *  Retrieve provider information.  
     *  Retrieve provider information.  
     * @return ApiResponse&lt;GetProviderResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Provider information  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<GetProviderResponse> gETProviderSearch1WithHttpInfo() throws ApiException {
        okhttp3.Call localVarCall = gETProviderSearch1ValidateBeforeCall(null);
        Type localVarReturnType = new TypeToken<GetProviderResponse>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Retrieve provider information.   (asynchronously)
     *  Retrieve provider information.  
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Provider information  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETProviderSearch1Async(final ApiCallback<GetProviderResponse> _callback) throws ApiException {

        okhttp3.Call localVarCall = gETProviderSearch1ValidateBeforeCall(_callback);
        Type localVarReturnType = new TypeToken<GetProviderResponse>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for pOSTProviderCreate1
     * @param providerDto  postData Provider data to be created  (optional)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  action status  </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call pOSTProviderCreate1Call(ProviderDto providerDto, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = providerDto;

        // create path and map variables
        String localVarPath = "/provider";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json", "application/xml"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call pOSTProviderCreate1ValidateBeforeCall(ProviderDto providerDto, final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = pOSTProviderCreate1Call(providerDto, _callback);
        return localVarCall;

    }

    /**
     *  Create provider. Deprecated in v. 4.5. Use updateProvider() instead.  
     *  Create provider. Deprecated in v. 4.5. Use updateProvider() instead.  
     * @param providerDto  postData Provider data to be created  (optional)
     * @return ActionStatus
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  action status  </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ActionStatus pOSTProviderCreate1(ProviderDto providerDto) throws ApiException {
        ApiResponse<ActionStatus> localVarResp = pOSTProviderCreate1WithHttpInfo(providerDto);
        return localVarResp.getData();
    }

    /**
     *  Create provider. Deprecated in v. 4.5. Use updateProvider() instead.  
     *  Create provider. Deprecated in v. 4.5. Use updateProvider() instead.  
     * @param providerDto  postData Provider data to be created  (optional)
     * @return ApiResponse&lt;ActionStatus&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  action status  </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<ActionStatus> pOSTProviderCreate1WithHttpInfo(ProviderDto providerDto) throws ApiException {
        okhttp3.Call localVarCall = pOSTProviderCreate1ValidateBeforeCall(providerDto, null);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Create provider. Deprecated in v. 4.5. Use updateProvider() instead.   (asynchronously)
     *  Create provider. Deprecated in v. 4.5. Use updateProvider() instead.  
     * @param providerDto  postData Provider data to be created  (optional)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  action status  </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call pOSTProviderCreate1Async(ProviderDto providerDto, final ApiCallback<ActionStatus> _callback) throws ApiException {

        okhttp3.Call localVarCall = pOSTProviderCreate1ValidateBeforeCall(providerDto, _callback);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for pOSTProviderCreateOrUpdate1
     * @param providerDto  postData Provider data  (optional)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  action status  </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call pOSTProviderCreateOrUpdate1Call(ProviderDto providerDto, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = providerDto;

        // create path and map variables
        String localVarPath = "/provider/createOrUpdate";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json", "application/xml"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @Deprecated
    @SuppressWarnings("rawtypes")
    private okhttp3.Call pOSTProviderCreateOrUpdate1ValidateBeforeCall(ProviderDto providerDto, final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = pOSTProviderCreateOrUpdate1Call(providerDto, _callback);
        return localVarCall;

    }

    /**
     *  Create or update a provider if it doesn&#39;t exists. Deprecated in v. 4.5. Use updateProvider() instead.  
     *  Create or update a provider if it doesn&#39;t exists. Deprecated in v. 4.5. Use updateProvider() instead.  
     * @param providerDto  postData Provider data  (optional)
     * @return ActionStatus
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  action status  </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ActionStatus pOSTProviderCreateOrUpdate1(ProviderDto providerDto) throws ApiException {
        ApiResponse<ActionStatus> localVarResp = pOSTProviderCreateOrUpdate1WithHttpInfo(providerDto);
        return localVarResp.getData();
    }

    /**
     *  Create or update a provider if it doesn&#39;t exists. Deprecated in v. 4.5. Use updateProvider() instead.  
     *  Create or update a provider if it doesn&#39;t exists. Deprecated in v. 4.5. Use updateProvider() instead.  
     * @param providerDto  postData Provider data  (optional)
     * @return ApiResponse&lt;ActionStatus&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  action status  </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public ApiResponse<ActionStatus> pOSTProviderCreateOrUpdate1WithHttpInfo(ProviderDto providerDto) throws ApiException {
        okhttp3.Call localVarCall = pOSTProviderCreateOrUpdate1ValidateBeforeCall(providerDto, null);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Create or update a provider if it doesn&#39;t exists. Deprecated in v. 4.5. Use updateProvider() instead.   (asynchronously)
     *  Create or update a provider if it doesn&#39;t exists. Deprecated in v. 4.5. Use updateProvider() instead.  
     * @param providerDto  postData Provider data  (optional)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  action status  </td><td>  -  </td></tr>
     </table>
     * @deprecated
     */
    @Deprecated
    public okhttp3.Call pOSTProviderCreateOrUpdate1Async(ProviderDto providerDto, final ApiCallback<ActionStatus> _callback) throws ApiException {

        okhttp3.Call localVarCall = pOSTProviderCreateOrUpdate1ValidateBeforeCall(providerDto, _callback);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for pOSTProviderCreateTenant1
     * @param providerDto  postData Tenant/Provider data  (optional)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call pOSTProviderCreateTenant1Call(ProviderDto providerDto, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = providerDto;

        // create path and map variables
        String localVarPath = "/provider/createTenant";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json", "application/xml"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call pOSTProviderCreateTenant1ValidateBeforeCall(ProviderDto providerDto, final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = pOSTProviderCreateTenant1Call(providerDto, _callback);
        return localVarCall;

    }

    /**
     *  Register a new tenant  
     *  Register a new tenant  
     * @param providerDto  postData Tenant/Provider data  (optional)
     * @return ActionStatus
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status  </td><td>  -  </td></tr>
     </table>
     */
    public ActionStatus pOSTProviderCreateTenant1(ProviderDto providerDto) throws ApiException {
        ApiResponse<ActionStatus> localVarResp = pOSTProviderCreateTenant1WithHttpInfo(providerDto);
        return localVarResp.getData();
    }

    /**
     *  Register a new tenant  
     *  Register a new tenant  
     * @param providerDto  postData Tenant/Provider data  (optional)
     * @return ApiResponse&lt;ActionStatus&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<ActionStatus> pOSTProviderCreateTenant1WithHttpInfo(ProviderDto providerDto) throws ApiException {
        okhttp3.Call localVarCall = pOSTProviderCreateTenant1ValidateBeforeCall(providerDto, null);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Register a new tenant   (asynchronously)
     *  Register a new tenant  
     * @param providerDto  postData Tenant/Provider data  (optional)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call pOSTProviderCreateTenant1Async(ProviderDto providerDto, final ApiCallback<ActionStatus> _callback) throws ApiException {

        okhttp3.Call localVarCall = pOSTProviderCreateTenant1ValidateBeforeCall(providerDto, _callback);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for pUTProviderUpdate1
     * @param providerDto  postData Provider data  (optional)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Request processing status  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call pUTProviderUpdate1Call(ProviderDto providerDto, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = providerDto;

        // create path and map variables
        String localVarPath = "/provider";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json", "application/xml"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call pUTProviderUpdate1ValidateBeforeCall(ProviderDto providerDto, final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = pUTProviderUpdate1Call(providerDto, _callback);
        return localVarCall;

    }

    /**
     *  Update provider.  
     *  Update provider.  
     * @param providerDto  postData Provider data  (optional)
     * @return ActionStatus
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Request processing status  </td><td>  -  </td></tr>
     </table>
     */
    public ActionStatus pUTProviderUpdate1(ProviderDto providerDto) throws ApiException {
        ApiResponse<ActionStatus> localVarResp = pUTProviderUpdate1WithHttpInfo(providerDto);
        return localVarResp.getData();
    }

    /**
     *  Update provider.  
     *  Update provider.  
     * @param providerDto  postData Provider data  (optional)
     * @return ApiResponse&lt;ActionStatus&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Request processing status  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<ActionStatus> pUTProviderUpdate1WithHttpInfo(ProviderDto providerDto) throws ApiException {
        okhttp3.Call localVarCall = pUTProviderUpdate1ValidateBeforeCall(providerDto, null);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Update provider.   (asynchronously)
     *  Update provider.  
     * @param providerDto  postData Provider data  (optional)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Request processing status  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call pUTProviderUpdate1Async(ProviderDto providerDto, final ApiCallback<ActionStatus> _callback) throws ApiException {

        okhttp3.Call localVarCall = pUTProviderUpdate1ValidateBeforeCall(providerDto, _callback);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for pUTProviderUpdateProviderCF1
     * @param providerDto  postData provider to be updated  (optional)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  action status  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call pUTProviderUpdateProviderCF1Call(ProviderDto providerDto, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = providerDto;

        // create path and map variables
        String localVarPath = "/provider/updateProviderCF";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json", "application/xml"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call pUTProviderUpdateProviderCF1ValidateBeforeCall(ProviderDto providerDto, final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = pUTProviderUpdateProviderCF1Call(providerDto, _callback);
        return localVarCall;

    }

    /**
     *  Update a provider CF. 
     *  Update a provider CF. 
     * @param providerDto  postData provider to be updated  (optional)
     * @return ActionStatus
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  action status  </td><td>  -  </td></tr>
     </table>
     */
    public ActionStatus pUTProviderUpdateProviderCF1(ProviderDto providerDto) throws ApiException {
        ApiResponse<ActionStatus> localVarResp = pUTProviderUpdateProviderCF1WithHttpInfo(providerDto);
        return localVarResp.getData();
    }

    /**
     *  Update a provider CF. 
     *  Update a provider CF. 
     * @param providerDto  postData provider to be updated  (optional)
     * @return ApiResponse&lt;ActionStatus&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  action status  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<ActionStatus> pUTProviderUpdateProviderCF1WithHttpInfo(ProviderDto providerDto) throws ApiException {
        okhttp3.Call localVarCall = pUTProviderUpdateProviderCF1ValidateBeforeCall(providerDto, null);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Update a provider CF.  (asynchronously)
     *  Update a provider CF. 
     * @param providerDto  postData provider to be updated  (optional)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  action status  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call pUTProviderUpdateProviderCF1Async(ProviderDto providerDto, final ApiCallback<ActionStatus> _callback) throws ApiException {

        okhttp3.Call localVarCall = pUTProviderUpdateProviderCF1ValidateBeforeCall(providerDto, _callback);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for user70
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td> default response </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call user70Call(final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/provider/user";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call user70ValidateBeforeCall(final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = user70Call(_callback);
        return localVarCall;

    }

    /**
     * 
     * 
     * @return ActionStatus
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td> default response </td><td>  -  </td></tr>
     </table>
     */
    public ActionStatus user70() throws ApiException {
        ApiResponse<ActionStatus> localVarResp = user70WithHttpInfo();
        return localVarResp.getData();
    }

    /**
     * 
     * 
     * @return ApiResponse&lt;ActionStatus&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td> default response </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<ActionStatus> user70WithHttpInfo() throws ApiException {
        okhttp3.Call localVarCall = user70ValidateBeforeCall(null);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  (asynchronously)
     * 
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td> default response </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call user70Async(final ApiCallback<ActionStatus> _callback) throws ApiException {

        okhttp3.Call localVarCall = user70ValidateBeforeCall(_callback);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
}
