{"version":3,"sources":["jsdelivr-header.js","/npm/@vonage/redact@1.19.0/dist/cjs/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,IAAI,UAAY,OAAO,eACnB,iBAAmB,OAAO,yBAC1B,kBAAoB,OAAO,oBAC3B,aAAe,OAAO,UAAU,eAChC,SAAW,CAAC,EAAQ,KACtB,IAAK,IAAI,KAAQ,EACf,UAAU,EAAQ,EAAM,CAAE,IAAK,EAAI,GAAO,YAAY,GAAO,EAE7D,YAAc,CAAC,EAAI,EAAM,EAAQ,KACnC,GAAI,GAAwB,iBAAT,GAAqC,mBAAT,EAC7C,IAAK,IAAI,KAAO,kBAAkB,GAC3B,aAAa,KAAK,EAAI,IAAQ,IAAQ,GACzC,UAAU,EAAI,EAAK,CAAE,IAAK,IAAM,EAAK,GAAM,aAAc,EAAO,iBAAiB,EAAM,KAAS,EAAK,aAE3G,OAAO,CAAE,EAEP,aAAgB,GAAQ,YAAY,UAAU,CAAC,EAAG,aAAc,CAAE,OAAO,IAAS,GAGlF,cAAgB,CAAC,EACrB,SAAS,cAAe,CACtB,YAAa,IAAM,YACnB,OAAQ,IAAM,OACd,KAAM,IAAM,OAEd,OAAO,QAAU,aAAa,eAG9B,IAAI,YAA8B,CAAE,IAClC,EAAkB,IAAI,MACtB,EAAoB,MAAI,QACxB,EAA4B,cAAI,gBAChC,EAAqB,OAAI,SACzB,EAAwB,UAAI,YACrB,GANyB,CAO/B,aAAe,CAAC,GAGf,KAAuB,CAAE,IAC3B,EAAe,QAAI,UACnB,EAAgB,SAAI,WACb,GAHkB,CAIxB,MAAQ,CAAC,GAGR,qBAAuB,QAAQ,yBAC/B,OAAS,cAAc,qBAAqB,OAI9C,SAAW,qBAAqB,mBAAmB,MASnD,mBAAM,CAAc,SACZ,KAAK,gBACT,GAAG,KAAK,OAAO,gCACf,EAEJ","file":"/npm/@vonage/redact@1.19.0/dist/cjs/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@vonage/redact@1.19.0/dist/cjs/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// lib/index.ts\nvar index_exports = {};\n__export(index_exports, {\n  ProductType: () => ProductType,\n  Redact: () => Redact,\n  Type: () => Type\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// lib/enums/product.ts\nvar ProductType = /* @__PURE__ */ ((ProductType2) => {\n  ProductType2[\"SMS\"] = \"SMS\";\n  ProductType2[\"Voice\"] = \"Voice\";\n  ProductType2[\"NumberInsight\"] = \"NumberInsight\";\n  ProductType2[\"Verify\"] = \"Verify\";\n  ProductType2[\"VerifySDK\"] = \"VerifySDK\";\n  return ProductType2;\n})(ProductType || {});\n\n// lib/enums/type.ts\nvar Type = /* @__PURE__ */ ((Type2) => {\n  Type2[\"INBOUND\"] = \"Inbound\";\n  Type2[\"OUTBOUND\"] = \"Outbound\";\n  return Type2;\n})(Type || {});\n\n// lib/redact.ts\nvar import_server_client = require(\"@vonage/server-client\");\nvar Redact = class extends import_server_client.Client {\n  /**\n     * The authentication type used for Redact API requests.\n     */\n  authType = import_server_client.AuthenticationType.BASIC;\n  /**\n     * Redacts a specific message using the provided parameters.\n     *\n     * @param {TransactionParams} params - Parameters for redacting a message.\n     * @return {Promise<void>} A Promise that resolves when the redaction is successful.\n     *\n     * @throws {Error} If there is an error in processing the redaction request.\n     */\n  async redactMessage(params) {\n    await this.sendPostRequest(\n      `${this.config.apiHost}/v1/redact/transaction`,\n      params\n    );\n  }\n};\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  ProductType,\n  Redact,\n  Type\n});\n"]}