"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * Octane API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.CreateVendorAvalaraSettingsArgsToJSON = exports.CreateVendorAvalaraSettingsArgsFromJSONTyped = exports.CreateVendorAvalaraSettingsArgsFromJSON = void 0;
const runtime_1 = require("../runtime");
function CreateVendorAvalaraSettingsArgsFromJSON(json) {
    return CreateVendorAvalaraSettingsArgsFromJSONTyped(json, false);
}
exports.CreateVendorAvalaraSettingsArgsFromJSON = CreateVendorAvalaraSettingsArgsFromJSON;
function CreateVendorAvalaraSettingsArgsFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'enableLogging': !(0, runtime_1.exists)(json, 'enable_logging') ? undefined : json['enable_logging'],
        'sandboxMode': json['sandbox_mode'],
        'taxCode': !(0, runtime_1.exists)(json, 'tax_code') ? undefined : json['tax_code'],
        'password': json['password'],
        'itemCode': !(0, runtime_1.exists)(json, 'item_code') ? undefined : json['item_code'],
        'companyCode': !(0, runtime_1.exists)(json, 'company_code') ? undefined : json['company_code'],
        'enableIntegration': json['enable_integration'],
        'username': json['username'],
        'commitDocuments': !(0, runtime_1.exists)(json, 'commit_documents') ? undefined : json['commit_documents'],
        'itemDescription': !(0, runtime_1.exists)(json, 'item_description') ? undefined : json['item_description'],
    };
}
exports.CreateVendorAvalaraSettingsArgsFromJSONTyped = CreateVendorAvalaraSettingsArgsFromJSONTyped;
function CreateVendorAvalaraSettingsArgsToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'enable_logging': value.enableLogging,
        'sandbox_mode': value.sandboxMode,
        'tax_code': value.taxCode,
        'password': value.password,
        'item_code': value.itemCode,
        'company_code': value.companyCode,
        'enable_integration': value.enableIntegration,
        'username': value.username,
        'commit_documents': value.commitDocuments,
        'item_description': value.itemDescription,
    };
}
exports.CreateVendorAvalaraSettingsArgsToJSON = CreateVendorAvalaraSettingsArgsToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3JlYXRlVmVuZG9yQXZhbGFyYVNldHRpbmdzQXJncy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb2RlZ2VuL21vZGVscy9DcmVhdGVWZW5kb3JBdmFsYXJhU2V0dGluZ3NBcmdzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9CO0FBQ3BCOzs7Ozs7Ozs7O0dBVUc7OztBQUVILHdDQUErQztBQXFFL0MsU0FBZ0IsdUNBQXVDLENBQUMsSUFBUztJQUM3RCxPQUFPLDRDQUE0QyxDQUFDLElBQUksRUFBRSxLQUFLLENBQUMsQ0FBQztBQUNyRSxDQUFDO0FBRkQsMEZBRUM7QUFFRCxTQUFnQiw0Q0FBNEMsQ0FBQyxJQUFTLEVBQUUsbUJBQTRCO0lBQ2hHLElBQUksQ0FBQyxJQUFJLEtBQUssU0FBUyxDQUFDLElBQUksQ0FBQyxJQUFJLEtBQUssSUFBSSxDQUFDLEVBQUU7UUFDekMsT0FBTyxJQUFJLENBQUM7S0FDZjtJQUNELE9BQU87UUFFSCxlQUFlLEVBQUUsQ0FBQyxJQUFBLGdCQUFNLEVBQUMsSUFBSSxFQUFFLGdCQUFnQixDQUFDLENBQUMsQ0FBQyxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLGdCQUFnQixDQUFDO1FBQ3JGLGFBQWEsRUFBRSxJQUFJLENBQUMsY0FBYyxDQUFDO1FBQ25DLFNBQVMsRUFBRSxDQUFDLElBQUEsZ0JBQU0s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