"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.UpdateInvoiceStatusArgsToJSON = exports.UpdateInvoiceStatusArgsFromJSONTyped = exports.UpdateInvoiceStatusArgsFromJSON = exports.UpdateInvoiceStatusArgsStatusEnum = void 0;
const runtime_1 = require("../runtime");
/**
* @export
* @enum {string}
*/
var UpdateInvoiceStatusArgsStatusEnum;
(function (UpdateInvoiceStatusArgsStatusEnum) {
    UpdateInvoiceStatusArgsStatusEnum["Paid"] = "INVOICE_PAID";
    UpdateInvoiceStatusArgsStatusEnum["Voided"] = "INVOICE_VOIDED";
})(UpdateInvoiceStatusArgsStatusEnum = exports.UpdateInvoiceStatusArgsStatusEnum || (exports.UpdateInvoiceStatusArgsStatusEnum = {}));
function UpdateInvoiceStatusArgsFromJSON(json) {
    return UpdateInvoiceStatusArgsFromJSONTyped(json, false);
}
exports.UpdateInvoiceStatusArgsFromJSON = UpdateInvoiceStatusArgsFromJSON;
function UpdateInvoiceStatusArgsFromJSONTyped(json, ignoreDiscriminator) {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
    };
}
exports.UpdateInvoiceStatusArgsFromJSONTyped = UpdateInvoiceStatusArgsFromJSONTyped;
function UpdateInvoiceStatusArgsToJSON(value) {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        'status': value.status,
    };
}
exports.UpdateInvoiceStatusArgsToJSON = UpdateInvoiceStatusArgsToJSON;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVXBkYXRlSW52b2ljZVN0YXR1c0FyZ3MuanMi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