"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.UpdateVendorAvalaraSettingsArgsToJSON = exports.UpdateVendorAvalaraSettingsArgsFromJSONTyped = exports.UpdateVendorAvalaraSettingsArgsFromJSON = void 0;
const runtime_1 = require("../runtime");
function UpdateVendorAvalaraSettingsArgsFromJSON(json) {
    return UpdateVendorAvalaraSettingsArgsFromJSONTyped(json, false);
}
exports.UpdateVendorAvalaraSettingsArgsFromJSON = UpdateVendorAvalaraSettingsArgsFromJSON;
function UpdateVendorAvalaraSettingsArgsFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'enableLogging': !(0, runtime_1.exists)(json, 'enable_logging') ? undefined : json['enable_logging'],
        'taxCode': !(0, runtime_1.exists)(json, 'tax_code') ? undefined : json['tax_code'],
        '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': !(0, runtime_1.exists)(json, 'enable_integration') ? undefined : json['enable_integration'],
        '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.UpdateVendorAvalaraSettingsArgsFromJSONTyped = UpdateVendorAvalaraSettingsArgsFromJSONTyped;
function UpdateVendorAvalaraSettingsArgsToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'enable_logging': value.enableLogging,
        'tax_code': value.taxCode,
        'item_code': value.itemCode,
        'company_code': value.companyCode,
        'enable_integration': value.enableIntegration,
        'commit_documents': value.commitDocuments,
        'item_description': value.itemDescription,
    };
}
exports.UpdateVendorAvalaraSettingsArgsToJSON = UpdateVendorAvalaraSettingsArgsToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVXBkYXRlVmVuZG9yQXZhbGFyYVNldHRpbmdzQXJncy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb2RlZ2VuL21vZGVscy9VcGRhdGVWZW5kb3JBdmFsYXJhU2V0dGluZ3NBcmdzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9CO0FBQ3BCOzs7Ozs7Ozs7O0dBVUc7OztBQUVILHdDQUErQztBQW1EL0MsU0FBZ0IsdUNBQXVDLENBQUMsSUFBUztJQUM3RCxPQUFPLDRDQUE0QyxDQUFDLElBQUksRUFBRSxLQUFLLENBQUMsQ0FBQztBQUNyRSxDQUFDO0FBRkQsMEZBRUM7QUFFRCxTQUFnQiw0Q0FBNEMsQ0FBQyxJQUFTLEVBQUUsbUJBQTRCO0lBQ2hHLElBQUksQ0FBQyxJQUFJLEtBQUssU0FBUyxDQUFDLElBQUksQ0FBQyxJQUFJLEtBQUssSUFBSSxDQUFDLEVBQUU7UUFDekMsT0FBTyxJQUFJLENBQUM7S0FDZjtJQUNELE9BQU87UUFFSCxlQUFlLEVBQUUsQ0FBQyxJQUFBLGdCQUFNLEVBQUMsSUFBSSxFQUFFLGdCQUFnQixDQUFDLENBQUMsQ0FBQyxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLGdCQUFnQixDQUFDO1FBQ3JGLFNBQVMsRUFBRSxDQUFDLElBQUEsZ0JBQU0sRUFBQyxJQUFJLEVBQUUsVUFBVSxDQUFDLENBQUMsQ0FBQyxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUMsSUFB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