UNPKG

zugferd-code-lists

Version:

ZUGFeRD code lists, e.g. languages enum, currencies enum, countries enum, etc.

51 lines (50 loc) 2.2 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/zugferd_2_3_2/hybriddocument.ts var hybriddocument_exports = {}; __export(hybriddocument_exports, { HybridDocument: () => HybridDocument, description: () => description }); module.exports = __toCommonJS(hybriddocument_exports); var HybridDocument = /* @__PURE__ */ ((HybridDocument2) => { HybridDocument2["TheHybridDocumentContainsAnInvoiceOrCreditNote"] = "INVOICE"; HybridDocument2["TheHybridDocumentContainsAnOrder"] = "ORDER"; HybridDocument2["TheHybridDocumentContainsAnOrderResponse"] = "ORDER_RESPONSE"; HybridDocument2["ThyHybridDocumentContainsAnOrderChange"] = "ORDER_CHANGE"; return HybridDocument2; })(HybridDocument || {}); function description(value) { switch (value) { case "INVOICE" /* TheHybridDocumentContainsAnInvoiceOrCreditNote */: return "The hybrid document contains an invoice or credit note"; case "ORDER" /* TheHybridDocumentContainsAnOrder */: return "The hybrid document contains an order"; case "ORDER_RESPONSE" /* TheHybridDocumentContainsAnOrderResponse */: return "The hybrid document contains an order response"; case "ORDER_CHANGE" /* ThyHybridDocumentContainsAnOrderChange */: return "Thy hybrid document contains an order change"; } } // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { HybridDocument, description }); //# sourceMappingURL=hybriddocument.js.map